@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
@@ -43,9 +43,9 @@ class MatLegacyPaginator extends _MatPaginatorBase {
43
43
  }
44
44
  }
45
45
  }
46
- MatLegacyPaginator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyPaginator, deps: [{ token: i1.MatPaginatorIntl }, { token: i0.ChangeDetectorRef }, { token: MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
47
- MatLegacyPaginator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MatLegacyPaginator, selector: "mat-paginator", inputs: { disabled: "disabled" }, host: { attributes: { "role": "group" }, classAttribute: "mat-paginator" }, exportAs: ["matPaginator"], usesInheritance: true, ngImport: i0, template: "<div class=\"mat-paginator-outer-container\">\n <div class=\"mat-paginator-container\">\n <div class=\"mat-paginator-page-size\" *ngIf=\"!hidePageSize\">\n <div class=\"mat-paginator-page-size-label\">\n {{_intl.itemsPerPageLabel}}\n </div>\n\n <mat-form-field\n *ngIf=\"_displayedPageSizeOptions.length > 1\"\n [appearance]=\"_formFieldAppearance!\"\n [color]=\"color\"\n class=\"mat-paginator-page-size-select\">\n <mat-select\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n [panelClass]=\"selectConfig.panelClass || ''\"\n [disableOptionCentering]=\"selectConfig.disableOptionCentering\"\n [aria-label]=\"_intl.itemsPerPageLabel\"\n (selectionChange)=\"_changePageSize($event.value)\">\n <mat-option *ngFor=\"let pageSizeOption of _displayedPageSizeOptions\" [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <div\n class=\"mat-paginator-page-size-value\"\n *ngIf=\"_displayedPageSizeOptions.length <= 1\">{{pageSize}}</div>\n </div>\n\n <div class=\"mat-paginator-range-actions\">\n <div class=\"mat-paginator-range-label\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-first\"\n (click)=\"firstPage()\"\n [attr.aria-label]=\"_intl.firstPageLabel\"\n [matTooltip]=\"_intl.firstPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-previous\"\n (click)=\"previousPage()\"\n [attr.aria-label]=\"_intl.previousPageLabel\"\n [matTooltip]=\"_intl.previousPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-next\"\n (click)=\"nextPage()\"\n [attr.aria-label]=\"_intl.nextPageLabel\"\n [matTooltip]=\"_intl.nextPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-last\"\n (click)=\"lastPage()\"\n [attr.aria-label]=\"_intl.lastPageLabel\"\n [matTooltip]=\"_intl.lastPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"/>\n </svg>\n </button>\n </div>\n </div>\n</div>\n", styles: [".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4.MatLegacyFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i5.MatLegacySelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatLegacyOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i7.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyPaginator, decorators: [{
46
+ MatLegacyPaginator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyPaginator, deps: [{ token: i1.MatPaginatorIntl }, { token: i0.ChangeDetectorRef }, { token: MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
47
+ MatLegacyPaginator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0-next.1", type: MatLegacyPaginator, selector: "mat-paginator", inputs: { disabled: "disabled" }, host: { attributes: { "role": "group" }, classAttribute: "mat-paginator" }, exportAs: ["matPaginator"], usesInheritance: true, ngImport: i0, template: "<div class=\"mat-paginator-outer-container\">\n <div class=\"mat-paginator-container\">\n <div class=\"mat-paginator-page-size\" *ngIf=\"!hidePageSize\">\n <div class=\"mat-paginator-page-size-label\">\n {{_intl.itemsPerPageLabel}}\n </div>\n\n <mat-form-field\n *ngIf=\"_displayedPageSizeOptions.length > 1\"\n [appearance]=\"_formFieldAppearance!\"\n [color]=\"color\"\n class=\"mat-paginator-page-size-select\">\n <mat-select\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n [panelClass]=\"selectConfig.panelClass || ''\"\n [disableOptionCentering]=\"selectConfig.disableOptionCentering\"\n [aria-label]=\"_intl.itemsPerPageLabel\"\n (selectionChange)=\"_changePageSize($event.value)\">\n <mat-option *ngFor=\"let pageSizeOption of _displayedPageSizeOptions\" [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <div\n class=\"mat-paginator-page-size-value\"\n *ngIf=\"_displayedPageSizeOptions.length <= 1\">{{pageSize}}</div>\n </div>\n\n <div class=\"mat-paginator-range-actions\">\n <div class=\"mat-paginator-range-label\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-first\"\n (click)=\"firstPage()\"\n [attr.aria-label]=\"_intl.firstPageLabel\"\n [matTooltip]=\"_intl.firstPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-previous\"\n (click)=\"previousPage()\"\n [attr.aria-label]=\"_intl.previousPageLabel\"\n [matTooltip]=\"_intl.previousPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-next\"\n (click)=\"nextPage()\"\n [attr.aria-label]=\"_intl.nextPageLabel\"\n [matTooltip]=\"_intl.nextPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-last\"\n (click)=\"lastPage()\"\n [attr.aria-label]=\"_intl.lastPageLabel\"\n [matTooltip]=\"_intl.lastPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"/>\n </svg>\n </button>\n </div>\n </div>\n</div>\n", styles: [".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4.MatLegacyFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i5.MatLegacySelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i6.MatLegacyOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i7.MatLegacyTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyPaginator, decorators: [{
49
49
  type: Component,
50
50
  args: [{ selector: 'mat-paginator', exportAs: 'matPaginator', inputs: ['disabled'], host: {
51
51
  'class': 'mat-paginator',
@@ -71,18 +71,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
71
71
  */
72
72
  class MatLegacyPaginatorModule {
73
73
  }
74
- MatLegacyPaginatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyPaginatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
75
- MatLegacyPaginatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyPaginatorModule, declarations: [MatLegacyPaginator], imports: [CommonModule,
74
+ MatLegacyPaginatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyPaginatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
75
+ MatLegacyPaginatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyPaginatorModule, declarations: [MatLegacyPaginator], imports: [CommonModule,
76
76
  MatLegacyButtonModule,
77
77
  MatLegacySelectModule,
78
78
  MatLegacyTooltipModule,
79
79
  MatCommonModule], exports: [MatLegacyPaginator] });
80
- MatLegacyPaginatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyPaginatorModule, providers: [MAT_PAGINATOR_INTL_PROVIDER], imports: [CommonModule,
80
+ MatLegacyPaginatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyPaginatorModule, providers: [MAT_PAGINATOR_INTL_PROVIDER], imports: [CommonModule,
81
81
  MatLegacyButtonModule,
82
82
  MatLegacySelectModule,
83
83
  MatLegacyTooltipModule,
84
84
  MatCommonModule] });
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyPaginatorModule, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyPaginatorModule, decorators: [{
86
86
  type: NgModule,
87
87
  args: [{
88
88
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-paginator.mjs","sources":["../../../../../../src/material/legacy-paginator/paginator.ts","../../../../../../src/material/legacy-paginator/paginator.html","../../../../../../src/material/legacy-paginator/paginator-module.ts","../../../../../../src/material/legacy-paginator/public-api.ts","../../../../../../src/material/legacy-paginator/index.ts","../../../../../../src/material/legacy-paginator/legacy-paginator_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 {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n InjectionToken,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\nimport {MatLegacyFormFieldAppearance} from '@angular/material/legacy-form-field';\nimport {_MatPaginatorBase, MatPaginatorIntl} from '@angular/material/paginator';\n\n/**\n * Object that can be used to configure the default options for the paginator module.\n * @deprecated Use `MatPaginatorDefaultOptions` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport interface MatLegacyPaginatorDefaultOptions {\n /** Number of items to display on a page. By default set to 50. */\n pageSize?: number;\n\n /** The set of provided page size options to display to the user. */\n pageSizeOptions?: number[];\n\n /** Whether to hide the page size selection UI from the user. */\n hidePageSize?: boolean;\n\n /** Whether to show the first/last buttons UI to the user. */\n showFirstLastButtons?: boolean;\n\n /** The default form-field appearance to apply to the page size options selector. */\n formFieldAppearance?: MatLegacyFormFieldAppearance;\n}\n\n/**\n * Injection token that can be used to provide the default options for the paginator module.\n * @deprecated Use `MAT_PAGINATOR_DEFAULT_OPTIONS` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport const MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS =\n new InjectionToken<MatLegacyPaginatorDefaultOptions>('MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS');\n\n/**\n * Component to provide navigation between paged information. Displays the size of the current\n * page, user-selectable options to change that size, what items are being shown, and\n * navigational button to go to the previous or next page.\n * @deprecated Use `MatPaginator` from `@angular/material/paginator` 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-paginator',\n exportAs: 'matPaginator',\n templateUrl: 'paginator.html',\n styleUrls: ['paginator.css'],\n inputs: ['disabled'],\n host: {\n 'class': 'mat-paginator',\n 'role': 'group',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatLegacyPaginator extends _MatPaginatorBase<MatLegacyPaginatorDefaultOptions> {\n /** If set, styles the \"page size\" form field with the designated style. */\n _formFieldAppearance?: MatLegacyFormFieldAppearance;\n\n constructor(\n intl: MatPaginatorIntl,\n changeDetectorRef: ChangeDetectorRef,\n @Optional()\n @Inject(MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS)\n defaults?: MatLegacyPaginatorDefaultOptions,\n ) {\n super(intl, changeDetectorRef, defaults);\n\n if (defaults && defaults.formFieldAppearance != null) {\n this._formFieldAppearance = defaults.formFieldAppearance;\n }\n }\n}\n","<div class=\"mat-paginator-outer-container\">\n <div class=\"mat-paginator-container\">\n <div class=\"mat-paginator-page-size\" *ngIf=\"!hidePageSize\">\n <div class=\"mat-paginator-page-size-label\">\n {{_intl.itemsPerPageLabel}}\n </div>\n\n <mat-form-field\n *ngIf=\"_displayedPageSizeOptions.length > 1\"\n [appearance]=\"_formFieldAppearance!\"\n [color]=\"color\"\n class=\"mat-paginator-page-size-select\">\n <mat-select\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n [panelClass]=\"selectConfig.panelClass || ''\"\n [disableOptionCentering]=\"selectConfig.disableOptionCentering\"\n [aria-label]=\"_intl.itemsPerPageLabel\"\n (selectionChange)=\"_changePageSize($event.value)\">\n <mat-option *ngFor=\"let pageSizeOption of _displayedPageSizeOptions\" [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <div\n class=\"mat-paginator-page-size-value\"\n *ngIf=\"_displayedPageSizeOptions.length <= 1\">{{pageSize}}</div>\n </div>\n\n <div class=\"mat-paginator-range-actions\">\n <div class=\"mat-paginator-range-label\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-first\"\n (click)=\"firstPage()\"\n [attr.aria-label]=\"_intl.firstPageLabel\"\n [matTooltip]=\"_intl.firstPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-previous\"\n (click)=\"previousPage()\"\n [attr.aria-label]=\"_intl.previousPageLabel\"\n [matTooltip]=\"_intl.previousPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-next\"\n (click)=\"nextPage()\"\n [attr.aria-label]=\"_intl.nextPageLabel\"\n [matTooltip]=\"_intl.nextPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-last\"\n (click)=\"lastPage()\"\n [attr.aria-label]=\"_intl.lastPageLabel\"\n [matTooltip]=\"_intl.lastPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"/>\n </svg>\n </button>\n </div>\n </div>\n</div>\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 {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatLegacyButtonModule} from '@angular/material/legacy-button';\nimport {MatLegacySelectModule} from '@angular/material/legacy-select';\nimport {MatLegacyTooltipModule} from '@angular/material/legacy-tooltip';\nimport {MatLegacyPaginator} from './paginator';\nimport {MAT_PAGINATOR_INTL_PROVIDER} from '@angular/material/paginator';\n\n/**\n * @deprecated Use `MatPaginatorModule` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [\n CommonModule,\n MatLegacyButtonModule,\n MatLegacySelectModule,\n MatLegacyTooltipModule,\n MatCommonModule,\n ],\n exports: [MatLegacyPaginator],\n declarations: [MatLegacyPaginator],\n providers: [MAT_PAGINATOR_INTL_PROVIDER],\n})\nexport class MatLegacyPaginatorModule {}\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 {MatLegacyPaginatorModule} from './paginator-module';\nexport {\n MatLegacyPaginatorDefaultOptions,\n MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS,\n MatLegacyPaginator,\n} from './paginator';\nexport {\n /**\n * @deprecated Use `MatPaginatorIntl` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatPaginatorIntl as MatLegacyPaginatorIntl,\n\n /**\n * @deprecated Use `MAT_PAGINATOR_INTL_PROVIDER_FACTORY` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_PAGINATOR_INTL_PROVIDER_FACTORY as MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY,\n\n /**\n * @deprecated Use `MAT_PAGINATOR_INTL_PROVIDER` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_PAGINATOR_INTL_PROVIDER as MAT_LEGACY_PAGINATOR_INTL_PROVIDER,\n\n /**\n * @deprecated Use `PageEvent` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n PageEvent as LegacyPageEvent,\n\n /**\n * @deprecated Use `MatPaginatorSelectConfig` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatPaginatorSelectConfig as MatLegacyPaginatorSelectConfig,\n\n /**\n * @deprecated Use `_MatPaginatorBase` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n _MatPaginatorBase as _MatLegacyPaginatorBase,\n} from '@angular/material/paginator';\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;AAoCH;;;;AAIG;MACU,oCAAoC,GAC/C,IAAI,cAAc,CAAmC,sCAAsC,EAAE;AAE/F;;;;;;AAMG;AAcG,MAAO,kBAAmB,SAAQ,iBAAmD,CAAA;AAIzF,IAAA,WAAA,CACE,IAAsB,EACtB,iBAAoC,EAGpC,QAA2C,EAAA;AAE3C,QAAA,KAAK,CAAC,IAAI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G;AAWH;;;AAGG;MAaU,wBAAwB,CAAA;;qHAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;sHAAxB,wBAAwB,EAAA,YAAA,EAAA,CAHpB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAP/B,YAAY;QACZ,qBAAqB;QACrB,qBAAqB;QACrB,sBAAsB;AACtB,QAAA,eAAe,aAEP,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAIjB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,EAFxB,SAAA,EAAA,CAAC,2BAA2B,CAAC,YARtC,YAAY;QACZ,qBAAqB;QACrB,qBAAqB;QACrB,sBAAsB;QACtB,eAAe,CAAA,EAAA,CAAA,CAAA;2FAMN,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAZpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,qBAAqB;wBACrB,qBAAqB;wBACrB,sBAAsB;wBACtB,eAAe;AAChB,qBAAA;oBACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,SAAS,EAAE,CAAC,2BAA2B,CAAC;AACzC,iBAAA,CAAA;;;AChCD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
1
+ {"version":3,"file":"legacy-paginator.mjs","sources":["../../../../../../src/material/legacy-paginator/paginator.ts","../../../../../../src/material/legacy-paginator/paginator.html","../../../../../../src/material/legacy-paginator/paginator-module.ts","../../../../../../src/material/legacy-paginator/public-api.ts","../../../../../../src/material/legacy-paginator/index.ts","../../../../../../src/material/legacy-paginator/legacy-paginator_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 {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n InjectionToken,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\nimport {MatLegacyFormFieldAppearance} from '@angular/material/legacy-form-field';\nimport {_MatPaginatorBase, MatPaginatorIntl} from '@angular/material/paginator';\n\n/**\n * Object that can be used to configure the default options for the paginator module.\n * @deprecated Use `MatPaginatorDefaultOptions` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport interface MatLegacyPaginatorDefaultOptions {\n /** Number of items to display on a page. By default set to 50. */\n pageSize?: number;\n\n /** The set of provided page size options to display to the user. */\n pageSizeOptions?: number[];\n\n /** Whether to hide the page size selection UI from the user. */\n hidePageSize?: boolean;\n\n /** Whether to show the first/last buttons UI to the user. */\n showFirstLastButtons?: boolean;\n\n /** The default form-field appearance to apply to the page size options selector. */\n formFieldAppearance?: MatLegacyFormFieldAppearance;\n}\n\n/**\n * Injection token that can be used to provide the default options for the paginator module.\n * @deprecated Use `MAT_PAGINATOR_DEFAULT_OPTIONS` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport const MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS =\n new InjectionToken<MatLegacyPaginatorDefaultOptions>('MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS');\n\n/**\n * Component to provide navigation between paged information. Displays the size of the current\n * page, user-selectable options to change that size, what items are being shown, and\n * navigational button to go to the previous or next page.\n * @deprecated Use `MatPaginator` from `@angular/material/paginator` 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-paginator',\n exportAs: 'matPaginator',\n templateUrl: 'paginator.html',\n styleUrls: ['paginator.css'],\n inputs: ['disabled'],\n host: {\n 'class': 'mat-paginator',\n 'role': 'group',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatLegacyPaginator extends _MatPaginatorBase<MatLegacyPaginatorDefaultOptions> {\n /** If set, styles the \"page size\" form field with the designated style. */\n _formFieldAppearance?: MatLegacyFormFieldAppearance;\n\n constructor(\n intl: MatPaginatorIntl,\n changeDetectorRef: ChangeDetectorRef,\n @Optional()\n @Inject(MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS)\n defaults?: MatLegacyPaginatorDefaultOptions,\n ) {\n super(intl, changeDetectorRef, defaults);\n\n if (defaults && defaults.formFieldAppearance != null) {\n this._formFieldAppearance = defaults.formFieldAppearance;\n }\n }\n}\n","<div class=\"mat-paginator-outer-container\">\n <div class=\"mat-paginator-container\">\n <div class=\"mat-paginator-page-size\" *ngIf=\"!hidePageSize\">\n <div class=\"mat-paginator-page-size-label\">\n {{_intl.itemsPerPageLabel}}\n </div>\n\n <mat-form-field\n *ngIf=\"_displayedPageSizeOptions.length > 1\"\n [appearance]=\"_formFieldAppearance!\"\n [color]=\"color\"\n class=\"mat-paginator-page-size-select\">\n <mat-select\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n [panelClass]=\"selectConfig.panelClass || ''\"\n [disableOptionCentering]=\"selectConfig.disableOptionCentering\"\n [aria-label]=\"_intl.itemsPerPageLabel\"\n (selectionChange)=\"_changePageSize($event.value)\">\n <mat-option *ngFor=\"let pageSizeOption of _displayedPageSizeOptions\" [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <div\n class=\"mat-paginator-page-size-value\"\n *ngIf=\"_displayedPageSizeOptions.length <= 1\">{{pageSize}}</div>\n </div>\n\n <div class=\"mat-paginator-range-actions\">\n <div class=\"mat-paginator-range-label\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-first\"\n (click)=\"firstPage()\"\n [attr.aria-label]=\"_intl.firstPageLabel\"\n [matTooltip]=\"_intl.firstPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-previous\"\n (click)=\"previousPage()\"\n [attr.aria-label]=\"_intl.previousPageLabel\"\n [matTooltip]=\"_intl.previousPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-next\"\n (click)=\"nextPage()\"\n [attr.aria-label]=\"_intl.nextPageLabel\"\n [matTooltip]=\"_intl.nextPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-last\"\n (click)=\"lastPage()\"\n [attr.aria-label]=\"_intl.lastPageLabel\"\n [matTooltip]=\"_intl.lastPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"/>\n </svg>\n </button>\n </div>\n </div>\n</div>\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 {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatLegacyButtonModule} from '@angular/material/legacy-button';\nimport {MatLegacySelectModule} from '@angular/material/legacy-select';\nimport {MatLegacyTooltipModule} from '@angular/material/legacy-tooltip';\nimport {MatLegacyPaginator} from './paginator';\nimport {MAT_PAGINATOR_INTL_PROVIDER} from '@angular/material/paginator';\n\n/**\n * @deprecated Use `MatPaginatorModule` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [\n CommonModule,\n MatLegacyButtonModule,\n MatLegacySelectModule,\n MatLegacyTooltipModule,\n MatCommonModule,\n ],\n exports: [MatLegacyPaginator],\n declarations: [MatLegacyPaginator],\n providers: [MAT_PAGINATOR_INTL_PROVIDER],\n})\nexport class MatLegacyPaginatorModule {}\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 {MatLegacyPaginatorModule} from './paginator-module';\nexport {\n MatLegacyPaginatorDefaultOptions,\n MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS,\n MatLegacyPaginator,\n} from './paginator';\nexport {\n /**\n * @deprecated Use `MatPaginatorIntl` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatPaginatorIntl as MatLegacyPaginatorIntl,\n\n /**\n * @deprecated Use `MAT_PAGINATOR_INTL_PROVIDER_FACTORY` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_PAGINATOR_INTL_PROVIDER_FACTORY as MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY,\n\n /**\n * @deprecated Use `MAT_PAGINATOR_INTL_PROVIDER` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_PAGINATOR_INTL_PROVIDER as MAT_LEGACY_PAGINATOR_INTL_PROVIDER,\n\n /**\n * @deprecated Use `PageEvent` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n PageEvent as LegacyPageEvent,\n\n /**\n * @deprecated Use `MatPaginatorSelectConfig` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatPaginatorSelectConfig as MatLegacyPaginatorSelectConfig,\n\n /**\n * @deprecated Use `_MatPaginatorBase` from `@angular/material/paginator` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n _MatPaginatorBase as _MatLegacyPaginatorBase,\n} from '@angular/material/paginator';\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;AAoCH;;;;AAIG;MACU,oCAAoC,GAC/C,IAAI,cAAc,CAAmC,sCAAsC,EAAE;AAE/F;;;;;;AAMG;AAcG,MAAO,kBAAmB,SAAQ,iBAAmD,CAAA;AAIzF,IAAA,WAAA,CACE,IAAsB,EACtB,iBA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;0BACR,MAAM;2BAAC,oCAAoC,CAAA;;;AE9EhD;;;;;;AAMG;AAWH;;;AAGG;MAaU,wBAAwB,CAAA;;4HAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;6HAAxB,wBAAwB,EAAA,YAAA,EAAA,CAHpB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAP/B,YAAY;QACZ,qBAAqB;QACrB,qBAAqB;QACrB,sBAAsB;AACtB,QAAA,eAAe,aAEP,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAIjB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,EAFxB,SAAA,EAAA,CAAC,2BAA2B,CAAC,YARtC,YAAY;QACZ,qBAAqB;QACrB,qBAAqB;QACrB,sBAAsB;QACtB,eAAe,CAAA,EAAA,CAAA,CAAA;kGAMN,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAZpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,qBAAqB;wBACrB,qBAAqB;wBACrB,sBAAsB;wBACtB,eAAe;AAChB,qBAAA;oBACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,SAAS,EAAE,CAAC,2BAA2B,CAAC;AACzC,iBAAA,CAAA;;;AChCD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-progress-bar/testing/progress-bar-harness.ts","../../../../../../../src/material/legacy-progress-bar/testing/public-api.ts","../../../../../../../src/material/legacy-progress-bar/testing/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} from '@angular/cdk/coercion';\nimport {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {LegacyProgressBarHarnessFilters} from './progress-bar-harness-filters';\n\n/**\n * Harness for interacting with a standard mat-progress-bar in tests.\n * @deprecated Use `MatProgressBarHarness` from `@angular/material/progress-bar/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyProgressBarHarness extends ComponentHarness {\n /** The selector for the host element of a `MatProgressBar` instance. */\n static hostSelector = '.mat-progress-bar';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatProgressBarHarness` that meets\n * certain criteria.\n * @param options Options for filtering which progress bar instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyProgressBarHarnessFilters = {},\n ): HarnessPredicate<MatLegacyProgressBarHarness> {\n return new HarnessPredicate(MatLegacyProgressBarHarness, options);\n }\n\n /** Gets the progress bar's value. */\n async getValue(): Promise<number | null> {\n const host = await this.host();\n const ariaValue = await host.getAttribute('aria-valuenow');\n return ariaValue ? coerceNumberProperty(ariaValue) : null;\n }\n\n /** Gets the progress bar's mode. */\n async getMode(): Promise<string | null> {\n return (await this.host()).getAttribute('mode');\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {MatLegacyProgressBarHarness} from './progress-bar-harness';\nexport {LegacyProgressBarHarnessFilters} from './progress-bar-harness-filters';\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"],"names":[],"mappings":";;;AAAA;;;;;;AAMG;AAMH;;;;AAIG;AACG,MAAO,2BAA4B,SAAQ,gBAAgB,CAAA;AAI/D;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAA2C,EAAE,EAAA;AAE7C,QAAA,OAAO,IAAI,gBAAgB,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;KACnE;;AAGD,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;QAC/B,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;AAC3D,QAAA,OAAO,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;KAC3D;;AAGD,IAAA,MAAM,OAAO,GAAA;AACX,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;KACjD;;AAzBD;AACO,2BAAY,CAAA,YAAA,GAAG,mBAAmB;;ACnB3C;;;;;;AAMG;;ACNH;;;;;;AAMG;;;;"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-progress-bar/testing/progress-bar-harness.ts","../../../../../../../src/material/legacy-progress-bar/testing/public-api.ts","../../../../../../../src/material/legacy-progress-bar/testing/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} from '@angular/cdk/coercion';\nimport {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {ProgressBarHarnessFilters} from '@angular/material/progress-bar/testing';\n\n/**\n * Harness for interacting with a standard mat-progress-bar in tests.\n * @deprecated Use `MatProgressBarHarness` from `@angular/material/progress-bar/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyProgressBarHarness extends ComponentHarness {\n /** The selector for the host element of a `MatProgressBar` instance. */\n static hostSelector = '.mat-progress-bar';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatProgressBarHarness` that meets\n * certain criteria.\n * @param options Options for filtering which progress bar instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: ProgressBarHarnessFilters = {},\n ): HarnessPredicate<MatLegacyProgressBarHarness> {\n return new HarnessPredicate(MatLegacyProgressBarHarness, options);\n }\n\n /** Gets the progress bar's value. */\n async getValue(): Promise<number | null> {\n const host = await this.host();\n const ariaValue = await host.getAttribute('aria-valuenow');\n return ariaValue ? coerceNumberProperty(ariaValue) : null;\n }\n\n /** Gets the progress bar's mode. */\n async getMode(): Promise<string | null> {\n return (await this.host()).getAttribute('mode');\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {MatLegacyProgressBarHarness} from './progress-bar-harness';\nexport {ProgressBarHarnessFilters as LegacyProgressBarHarnessFilters} from '@angular/material/progress-bar/testing';\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"],"names":[],"mappings":";;;AAAA;;;;;;AAMG;AAMH;;;;AAIG;AACG,MAAO,2BAA4B,SAAQ,gBAAgB,CAAA;AAI/D;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAAqC,EAAE,EAAA;AAEvC,QAAA,OAAO,IAAI,gBAAgB,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;KACnE;;AAGD,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;QAC/B,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;AAC3D,QAAA,OAAO,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;KAC3D;;AAGD,IAAA,MAAM,OAAO,GAAA;AACX,QAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;KACjD;;AAzBD;AACO,2BAAY,CAAA,YAAA,GAAG,mBAAmB;;ACnB3C;;;;;;AAMG;;ACNH;;;;;;AAMG;;;;"}
@@ -1,9 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, ViewChild, Output, NgModule } from '@angular/core';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, ViewChild, Output, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
- import { DOCUMENT, CommonModule } from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
5
  import { mixinColor, MatCommonModule } from '@angular/material/core';
6
6
  import { coerceNumberProperty } from '@angular/cdk/coercion';
7
+ import { MAT_PROGRESS_BAR_LOCATION, MAT_PROGRESS_BAR_DEFAULT_OPTIONS } from '@angular/material/progress-bar';
8
+ export { MAT_PROGRESS_BAR_DEFAULT_OPTIONS as MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS, MAT_PROGRESS_BAR_LOCATION as MAT_LEGACY_PROGRESS_BAR_LOCATION, MAT_PROGRESS_BAR_LOCATION_FACTORY as MAT_LEGACY_PROGRESS_BAR_LOCATION_FACTORY } from '@angular/material/progress-bar';
7
9
  import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
8
10
  import { Subscription, fromEvent } from 'rxjs';
9
11
  import { filter } from 'rxjs/operators';
@@ -15,6 +17,7 @@ import { filter } from 'rxjs/operators';
15
17
  * Use of this source code is governed by an MIT-style license that can be
16
18
  * found in the LICENSE file at https://angular.io/license
17
19
  */
20
+ // TODO(josephperrott): Add ARIA attributes for progress bar "for".
18
21
  // Boilerplate for applying mixins to MatProgressBar.
19
22
  /** @docs-private */
20
23
  const _MatProgressBarBase = mixinColor(class {
@@ -22,34 +25,6 @@ const _MatProgressBarBase = mixinColor(class {
22
25
  this._elementRef = _elementRef;
23
26
  }
24
27
  }, 'primary');
25
- /**
26
- * Injection token used to provide the current location to `MatProgressBar`.
27
- * Used to handle server-side rendering and to stub out during unit tests.
28
- * @docs-private
29
- * @deprecated Use `MAT_PROGRESS_BAR_LOCATION` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
30
- * @breaking-change 17.0.0
31
- */
32
- const MAT_LEGACY_PROGRESS_BAR_LOCATION = new InjectionToken('mat-progress-bar-location', { providedIn: 'root', factory: MAT_LEGACY_PROGRESS_BAR_LOCATION_FACTORY });
33
- /**
34
- * @docs-private
35
- * @deprecated Use `MAT_PROGRESS_BAR_LOCATION_FACTORY` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
36
- * @breaking-change 17.0.0
37
- */
38
- function MAT_LEGACY_PROGRESS_BAR_LOCATION_FACTORY() {
39
- const _document = inject(DOCUMENT);
40
- const _location = _document ? _document.location : null;
41
- return {
42
- // Note that this needs to be a function, rather than a property, because Angular
43
- // will only resolve it once, but we want the current path on each call.
44
- getPathname: () => (_location ? _location.pathname + _location.search : ''),
45
- };
46
- }
47
- /**
48
- * Injection token to be used to override the default options for `mat-progress-bar`.
49
- * @deprecated Use `MAT_PROGRESS_BAR_DEFAULT_OPTIONS` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
50
- * @breaking-change 17.0.0
51
- */
52
- const MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS = new InjectionToken('MAT_PROGRESS_BAR_DEFAULT_OPTIONS');
53
28
  /** Counter used to generate unique IDs for progress bars. */
54
29
  let progressbarId = 0;
55
30
  /**
@@ -168,9 +143,9 @@ class MatLegacyProgressBar extends _MatProgressBarBase {
168
143
  this._animationEndSubscription.unsubscribe();
169
144
  }
170
145
  }
171
- MatLegacyProgressBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressBar, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_LEGACY_PROGRESS_BAR_LOCATION, optional: true }, { token: MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
172
- MatLegacyProgressBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MatLegacyProgressBar, selector: "mat-progress-bar", inputs: { color: "color", value: "value", bufferValue: "bufferValue", mode: "mode" }, outputs: { animationEnd: "animationEnd" }, host: { attributes: { "role": "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "tabindex": "-1" }, properties: { "attr.aria-valuenow": "(mode === \"indeterminate\" || mode === \"query\") ? null : value", "attr.mode": "mode", "class._mat-animation-noopable": "_isNoopAnimation" }, classAttribute: "mat-progress-bar" }, viewQueries: [{ propertyName: "_primaryValueBar", first: true, predicate: ["primaryValueBar"], descendants: true }], exportAs: ["matProgressBar"], usesInheritance: true, ngImport: i0, template: "<!--\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<div aria-hidden=\"true\">\n <svg width=\"100%\" height=\"4\" focusable=\"false\" class=\"mat-progress-bar-background mat-progress-bar-element\">\n <defs>\n <pattern [id]=\"progressbarId\" x=\"4\" y=\"0\" width=\"8\" height=\"4\" patternUnits=\"userSpaceOnUse\">\n <circle cx=\"2\" cy=\"2\" r=\"2\"/>\n </pattern>\n </defs>\n <rect [attr.fill]=\"_rectangleFillValue\" width=\"100%\" height=\"100%\"/>\n </svg>\n <!--\n The background div is named as such because it appears below the other divs and is not sized based\n on values.\n -->\n <div class=\"mat-progress-bar-buffer mat-progress-bar-element\" [ngStyle]=\"_bufferTransform()\"></div>\n <div class=\"mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element\" [ngStyle]=\"_primaryTransform()\" #primaryValueBar></div>\n <div class=\"mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element\"></div>\n</div>\n", styles: [".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:\"\";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressBar, decorators: [{
146
+ MatLegacyProgressBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressBar, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_PROGRESS_BAR_LOCATION, optional: true }, { token: MAT_PROGRESS_BAR_DEFAULT_OPTIONS, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
147
+ MatLegacyProgressBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0-next.1", type: MatLegacyProgressBar, selector: "mat-progress-bar", inputs: { color: "color", value: "value", bufferValue: "bufferValue", mode: "mode" }, outputs: { animationEnd: "animationEnd" }, host: { attributes: { "role": "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "tabindex": "-1" }, properties: { "attr.aria-valuenow": "(mode === \"indeterminate\" || mode === \"query\") ? null : value", "attr.mode": "mode", "class._mat-animation-noopable": "_isNoopAnimation" }, classAttribute: "mat-progress-bar" }, viewQueries: [{ propertyName: "_primaryValueBar", first: true, predicate: ["primaryValueBar"], descendants: true }], exportAs: ["matProgressBar"], usesInheritance: true, ngImport: i0, template: "<!--\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<div aria-hidden=\"true\">\n <svg width=\"100%\" height=\"4\" focusable=\"false\" class=\"mat-progress-bar-background mat-progress-bar-element\">\n <defs>\n <pattern [id]=\"progressbarId\" x=\"4\" y=\"0\" width=\"8\" height=\"4\" patternUnits=\"userSpaceOnUse\">\n <circle cx=\"2\" cy=\"2\" r=\"2\"/>\n </pattern>\n </defs>\n <rect [attr.fill]=\"_rectangleFillValue\" width=\"100%\" height=\"100%\"/>\n </svg>\n <!--\n The background div is named as such because it appears below the other divs and is not sized based\n on values.\n -->\n <div class=\"mat-progress-bar-buffer mat-progress-bar-element\" [ngStyle]=\"_bufferTransform()\"></div>\n <div class=\"mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element\" [ngStyle]=\"_primaryTransform()\" #primaryValueBar></div>\n <div class=\"mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element\"></div>\n</div>\n", styles: [".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:\"\";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressBar, decorators: [{
174
149
  type: Component,
175
150
  args: [{ selector: 'mat-progress-bar', exportAs: 'matProgressBar', host: {
176
151
  'role': 'progressbar',
@@ -193,12 +168,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
193
168
  type: Optional
194
169
  }, {
195
170
  type: Inject,
196
- args: [MAT_LEGACY_PROGRESS_BAR_LOCATION]
171
+ args: [MAT_PROGRESS_BAR_LOCATION]
197
172
  }] }, { type: undefined, decorators: [{
198
173
  type: Optional
199
174
  }, {
200
175
  type: Inject,
201
- args: [MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS]
176
+ args: [MAT_PROGRESS_BAR_DEFAULT_OPTIONS]
202
177
  }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { value: [{
203
178
  type: Input
204
179
  }], bufferValue: [{
@@ -229,10 +204,10 @@ function clamp(v, min = 0, max = 100) {
229
204
  */
230
205
  class MatLegacyProgressBarModule {
231
206
  }
232
- MatLegacyProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
233
- MatLegacyProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressBarModule, declarations: [MatLegacyProgressBar], imports: [CommonModule, MatCommonModule], exports: [MatLegacyProgressBar, MatCommonModule] });
234
- MatLegacyProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressBarModule, imports: [CommonModule, MatCommonModule, MatCommonModule] });
235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressBarModule, decorators: [{
207
+ MatLegacyProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
208
+ MatLegacyProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressBarModule, declarations: [MatLegacyProgressBar], imports: [CommonModule, MatCommonModule], exports: [MatLegacyProgressBar, MatCommonModule] });
209
+ MatLegacyProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressBarModule, imports: [CommonModule, MatCommonModule, MatCommonModule] });
210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressBarModule, decorators: [{
236
211
  type: NgModule,
237
212
  args: [{
238
213
  imports: [CommonModule, MatCommonModule],
@@ -261,5 +236,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
261
236
  * Generated bundle index. Do not edit.
262
237
  */
263
238
 
264
- export { MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS, MAT_LEGACY_PROGRESS_BAR_LOCATION, MAT_LEGACY_PROGRESS_BAR_LOCATION_FACTORY, MatLegacyProgressBar, MatLegacyProgressBarModule };
239
+ export { MatLegacyProgressBar, MatLegacyProgressBarModule };
265
240
  //# sourceMappingURL=legacy-progress-bar.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-progress-bar.mjs","sources":["../../../../../../src/material/legacy-progress-bar/progress-bar.ts","../../../../../../src/material/legacy-progress-bar/progress-bar.html","../../../../../../src/material/legacy-progress-bar/progress-bar-module.ts","../../../../../../src/material/legacy-progress-bar/public-api.ts","../../../../../../src/material/legacy-progress-bar/index.ts","../../../../../../src/material/legacy-progress-bar/legacy-progress-bar_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 */\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {DOCUMENT} from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Inject,\n inject,\n InjectionToken,\n Input,\n NgZone,\n OnDestroy,\n Optional,\n Output,\n ViewChild,\n ViewEncapsulation,\n ChangeDetectorRef,\n} from '@angular/core';\nimport {CanColor, mixinColor, ThemePalette} from '@angular/material/core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {fromEvent, Observable, Subscription} from 'rxjs';\nimport {filter} from 'rxjs/operators';\n\n// TODO(josephperrott): Add ARIA attributes for progress bar \"for\".\n\n/**\n * Last animation end data.\n * @deprecated Use `ProgressAnimationEnd` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport interface LegacyProgressAnimationEnd {\n value: number;\n}\n\n// Boilerplate for applying mixins to MatProgressBar.\n/** @docs-private */\nconst _MatProgressBarBase = mixinColor(\n class {\n constructor(public _elementRef: ElementRef) {}\n },\n 'primary',\n);\n\n/**\n * Injection token used to provide the current location to `MatProgressBar`.\n * Used to handle server-side rendering and to stub out during unit tests.\n * @docs-private\n * @deprecated Use `MAT_PROGRESS_BAR_LOCATION` from `@angular/material/progress-bar` 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_BAR_LOCATION = new InjectionToken<MatLegacyProgressBarLocation>(\n 'mat-progress-bar-location',\n {providedIn: 'root', factory: MAT_LEGACY_PROGRESS_BAR_LOCATION_FACTORY},\n);\n\n/**\n * Stubbed out location for `MatProgressBar`.\n * @docs-private\n * @deprecated Use `MatProgressBarLocation` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport interface MatLegacyProgressBarLocation {\n getPathname: () => string;\n}\n\n/**\n * @docs-private\n * @deprecated Use `MAT_PROGRESS_BAR_LOCATION_FACTORY` from `@angular/material/progress-bar` 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_BAR_LOCATION_FACTORY(): MatLegacyProgressBarLocation {\n const _document = inject(DOCUMENT);\n const _location = _document ? _document.location : null;\n\n return {\n // Note that this needs to be a function, rather than a property, because Angular\n // will only resolve it once, but we want the current path on each call.\n getPathname: () => (_location ? _location.pathname + _location.search : ''),\n };\n}\n\n/**\n * @deprecated Use `ProgressBarMode` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport type LegacyProgressBarMode = 'determinate' | 'indeterminate' | 'buffer' | 'query';\n\n/**\n * Default `mat-progress-bar` options that can be overridden.\n * @deprecated Use `MatProgressBarDefaultOptions` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport interface MatLegacyProgressBarDefaultOptions {\n /** Default color of the progress bar. */\n color?: ThemePalette;\n\n /** Default mode of the progress bar. */\n mode?: LegacyProgressBarMode;\n}\n\n/**\n * Injection token to be used to override the default options for `mat-progress-bar`.\n * @deprecated Use `MAT_PROGRESS_BAR_DEFAULT_OPTIONS` from `@angular/material/progress-bar` 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_BAR_DEFAULT_OPTIONS =\n new InjectionToken<MatLegacyProgressBarDefaultOptions>('MAT_PROGRESS_BAR_DEFAULT_OPTIONS');\n\n/** Counter used to generate unique IDs for progress bars. */\nlet progressbarId = 0;\n\n/**\n * `<mat-progress-bar>` component.\n * @deprecated Use `MatProgressBar` from `@angular/material/progress-bar` 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-bar',\n exportAs: 'matProgressBar',\n host: {\n 'role': 'progressbar',\n 'aria-valuemin': '0',\n 'aria-valuemax': '100',\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 '[attr.aria-valuenow]': '(mode === \"indeterminate\" || mode === \"query\") ? null : value',\n '[attr.mode]': 'mode',\n 'class': 'mat-progress-bar',\n '[class._mat-animation-noopable]': '_isNoopAnimation',\n },\n inputs: ['color'],\n templateUrl: 'progress-bar.html',\n styleUrls: ['progress-bar.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatLegacyProgressBar\n extends _MatProgressBarBase\n implements CanColor, AfterViewInit, OnDestroy\n{\n constructor(\n elementRef: ElementRef,\n private _ngZone: NgZone,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) public _animationMode?: string,\n /**\n * @deprecated `location` parameter to be made required.\n * @breaking-change 8.0.0\n */\n @Optional() @Inject(MAT_LEGACY_PROGRESS_BAR_LOCATION) location?: MatLegacyProgressBarLocation,\n @Optional()\n @Inject(MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS)\n defaults?: MatLegacyProgressBarDefaultOptions,\n /**\n * @deprecated `_changeDetectorRef` parameter to be made required.\n * @breaking-change 11.0.0\n */\n private _changeDetectorRef?: ChangeDetectorRef,\n ) {\n super(elementRef);\n\n // We need to prefix the SVG reference with the current path, otherwise they won't work\n // in Safari if the page has a `<base>` tag. Note that we need quotes inside the `url()`,\n // because named route URLs can contain parentheses (see #12338). Also we don't use `Location`\n // since we can't tell the difference between whether the consumer is using the hash location\n // strategy or not, because `Location` normalizes both `/#/foo/bar` and `/foo/bar` to\n // the same thing.\n const path = location ? location.getPathname().split('#')[0] : '';\n this._rectangleFillValue = `url('${path}#${this.progressbarId}')`;\n this._isNoopAnimation = _animationMode === 'NoopAnimations';\n\n if (defaults) {\n if (defaults.color) {\n this.color = this.defaultColor = defaults.color;\n }\n\n this.mode = defaults.mode || this.mode;\n }\n }\n\n /** Flag that indicates whether NoopAnimations mode is set to true. */\n _isNoopAnimation = false;\n\n /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */\n @Input()\n get value(): number {\n return this._value;\n }\n set value(v: NumberInput) {\n this._value = clamp(coerceNumberProperty(v) || 0);\n\n // @breaking-change 11.0.0 Remove null check for _changeDetectorRef.\n this._changeDetectorRef?.markForCheck();\n }\n private _value: number = 0;\n\n /** Buffer value of the progress bar. Defaults to zero. */\n @Input()\n get bufferValue(): number {\n return this._bufferValue;\n }\n set bufferValue(v: number) {\n this._bufferValue = clamp(v || 0);\n\n // @breaking-change 11.0.0 Remove null check for _changeDetectorRef.\n this._changeDetectorRef?.markForCheck();\n }\n private _bufferValue: number = 0;\n\n @ViewChild('primaryValueBar') _primaryValueBar: ElementRef;\n\n /**\n * Event emitted when animation of the primary progress bar completes. This event will not\n * be emitted when animations are disabled, nor will it be emitted for modes with continuous\n * animations (indeterminate and query).\n */\n @Output() readonly animationEnd = new EventEmitter<LegacyProgressAnimationEnd>();\n\n /** Reference to animation end subscription to be unsubscribed on destroy. */\n private _animationEndSubscription: Subscription = Subscription.EMPTY;\n\n /**\n * Mode of the progress bar.\n *\n * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to\n * 'determinate'.\n * Mirrored to mode attribute.\n */\n @Input() mode: LegacyProgressBarMode = 'determinate';\n\n /** ID of the progress bar. */\n progressbarId = `mat-progress-bar-${progressbarId++}`;\n\n /** Attribute to be used for the `fill` attribute on the internal `rect` element. */\n _rectangleFillValue: string;\n\n /** Gets the current transform value for the progress bar's primary indicator. */\n _primaryTransform() {\n // We use a 3d transform to work around some rendering issues in iOS Safari. See #19328.\n const scale = this.value / 100;\n return {transform: `scale3d(${scale}, 1, 1)`};\n }\n\n /**\n * Gets the current transform value for the progress bar's buffer indicator. Only used if the\n * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.\n */\n _bufferTransform() {\n if (this.mode === 'buffer') {\n // We use a 3d transform to work around some rendering issues in iOS Safari. See #19328.\n const scale = this.bufferValue / 100;\n return {transform: `scale3d(${scale}, 1, 1)`};\n }\n return null;\n }\n\n ngAfterViewInit() {\n // Run outside angular so change detection didn't get triggered on every transition end\n // instead only on the animation that we care about (primary value bar's transitionend)\n this._ngZone.runOutsideAngular(() => {\n const element = this._primaryValueBar.nativeElement;\n\n this._animationEndSubscription = (\n fromEvent(element, 'transitionend') as Observable<TransitionEvent>\n )\n .pipe(filter((e: TransitionEvent) => e.target === element))\n .subscribe(() => {\n if (this.animationEnd.observers.length === 0) {\n return;\n }\n\n if (this.mode === 'determinate' || this.mode === 'buffer') {\n this._ngZone.run(() => this.animationEnd.next({value: this.value}));\n }\n });\n });\n }\n\n ngOnDestroy() {\n this._animationEndSubscription.unsubscribe();\n }\n}\n\n/** Clamps a value to be between two numbers, by default 0 and 100. */\nfunction clamp(v: number, min = 0, max = 100) {\n return Math.max(min, Math.min(max, v));\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<div aria-hidden=\"true\">\n <svg width=\"100%\" height=\"4\" focusable=\"false\" class=\"mat-progress-bar-background mat-progress-bar-element\">\n <defs>\n <pattern [id]=\"progressbarId\" x=\"4\" y=\"0\" width=\"8\" height=\"4\" patternUnits=\"userSpaceOnUse\">\n <circle cx=\"2\" cy=\"2\" r=\"2\"/>\n </pattern>\n </defs>\n <rect [attr.fill]=\"_rectangleFillValue\" width=\"100%\" height=\"100%\"/>\n </svg>\n <!--\n The background div is named as such because it appears below the other divs and is not sized based\n on values.\n -->\n <div class=\"mat-progress-bar-buffer mat-progress-bar-element\" [ngStyle]=\"_bufferTransform()\"></div>\n <div class=\"mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element\" [ngStyle]=\"_primaryTransform()\" #primaryValueBar></div>\n <div class=\"mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element\"></div>\n</div>\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 {CommonModule} from '@angular/common';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatLegacyProgressBar} from './progress-bar';\n\n/**\n * @deprecated Use `MatProgressBarModule` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [CommonModule, MatCommonModule],\n exports: [MatLegacyProgressBar, MatCommonModule],\n declarations: [MatLegacyProgressBar],\n})\nexport class MatLegacyProgressBarModule {}\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 {MatLegacyProgressBarModule} from './progress-bar-module';\nexport {\n LegacyProgressAnimationEnd,\n MAT_LEGACY_PROGRESS_BAR_LOCATION,\n MatLegacyProgressBarLocation,\n MAT_LEGACY_PROGRESS_BAR_LOCATION_FACTORY,\n LegacyProgressBarMode,\n MatLegacyProgressBarDefaultOptions,\n MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS,\n MatLegacyProgressBar,\n} from './progress-bar';\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;AAqCH;AACA;AACA,MAAM,mBAAmB,GAAG,UAAU,CACpC,MAAA;AACE,IAAA,WAAA,CAAmB,WAAuB,EAAA;QAAvB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;KAAI;CAC/C,EACD,SAAS,CACV,CAAC;AAEF;;;;;;AAMG;AACU,MAAA,gCAAgC,GAAG,IAAI,cAAc,CAChE,2BAA2B,EAC3B,EAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,wCAAwC,EAAC,EACvE;AAYF;;;;AAIG;SACa,wCAAwC,GAAA;AACtD,IAAA,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AACnC,IAAA,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC,QAAQ,GAAG,IAAI,CAAC;IAExD,OAAO;;;QAGL,WAAW,EAAE,OAAO,SAAS,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,MAAM,GAAG,EAAE,CAAC;KAC5E,CAAC;AACJ,CAAC;AAqBD;;;;AAIG;MACU,uCAAuC,GAClD,IAAI,cAAc,CAAqC,kCAAkC,EAAE;AAE7F;AACA,IAAI,aAAa,GAAG,CAAC,CAAC;AAEtB;;;;AAIG;AAsBG,MAAO,oBACX,SAAQ,mBAAmB,CAAA;AAG3B,IAAA,WAAA,CACE,UAAsB,EACd,OAAe,EAC2B,cAAuB;AACzE;;;AAGG;AACmD,IAAA,QAAuC,EAG7F,QAA6C;AAC7C;;;AAGG;IACK,kBAAsC,EAAA;QAE9C,KAAK,CAAC,UAAU,CAAC,CAAC;QAhBV,IA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AG,GAAG,EAAA;AAC1C,IAAA,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;AACzC;;AEvSA;;;;;;AAMG;AAOH;;;AAGG;MAMU,0BAA0B,CAAA;;uHAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;wHAA1B,0BAA0B,EAAA,YAAA,EAAA,CAFtB,oBAAoB,CAFzB,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,eAAe,CAAA,EAAA,OAAA,EAAA,CAC7B,oBAAoB,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;AAGpC,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,EAJ3B,OAAA,EAAA,CAAA,YAAY,EAAE,eAAe,EACP,eAAe,CAAA,EAAA,CAAA,CAAA;2FAGpC,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,CAAC;AACxC,oBAAA,OAAO,EAAE,CAAC,oBAAoB,EAAE,eAAe,CAAC;oBAChD,YAAY,EAAE,CAAC,oBAAoB,CAAC;AACrC,iBAAA,CAAA;;;ACrBD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
1
+ {"version":3,"file":"legacy-progress-bar.mjs","sources":["../../../../../../src/material/legacy-progress-bar/progress-bar.ts","../../../../../../src/material/legacy-progress-bar/progress-bar.html","../../../../../../src/material/legacy-progress-bar/progress-bar-module.ts","../../../../../../src/material/legacy-progress-bar/public-api.ts","../../../../../../src/material/legacy-progress-bar/index.ts","../../../../../../src/material/legacy-progress-bar/legacy-progress-bar_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 */\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Inject,\n Input,\n NgZone,\n OnDestroy,\n Optional,\n Output,\n ViewChild,\n ViewEncapsulation,\n ChangeDetectorRef,\n} from '@angular/core';\nimport {CanColor, mixinColor} from '@angular/material/core';\nimport {\n MatProgressBarDefaultOptions,\n MAT_PROGRESS_BAR_DEFAULT_OPTIONS,\n ProgressAnimationEnd,\n ProgressBarMode,\n MAT_PROGRESS_BAR_LOCATION,\n MatProgressBarLocation,\n} from '@angular/material/progress-bar';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {fromEvent, Observable, Subscription} from 'rxjs';\nimport {filter} from 'rxjs/operators';\n\n// TODO(josephperrott): Add ARIA attributes for progress bar \"for\".\n\n// Boilerplate for applying mixins to MatProgressBar.\n/** @docs-private */\nconst _MatProgressBarBase = mixinColor(\n class {\n constructor(public _elementRef: ElementRef) {}\n },\n 'primary',\n);\n\n/** Counter used to generate unique IDs for progress bars. */\nlet progressbarId = 0;\n\n/**\n * `<mat-progress-bar>` component.\n * @deprecated Use `MatProgressBar` from `@angular/material/progress-bar` 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-bar',\n exportAs: 'matProgressBar',\n host: {\n 'role': 'progressbar',\n 'aria-valuemin': '0',\n 'aria-valuemax': '100',\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 '[attr.aria-valuenow]': '(mode === \"indeterminate\" || mode === \"query\") ? null : value',\n '[attr.mode]': 'mode',\n 'class': 'mat-progress-bar',\n '[class._mat-animation-noopable]': '_isNoopAnimation',\n },\n inputs: ['color'],\n templateUrl: 'progress-bar.html',\n styleUrls: ['progress-bar.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatLegacyProgressBar\n extends _MatProgressBarBase\n implements CanColor, AfterViewInit, OnDestroy\n{\n constructor(\n elementRef: ElementRef,\n private _ngZone: NgZone,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) public _animationMode?: string,\n /**\n * @deprecated `location` parameter to be made required.\n * @breaking-change 8.0.0\n */\n @Optional() @Inject(MAT_PROGRESS_BAR_LOCATION) location?: MatProgressBarLocation,\n @Optional()\n @Inject(MAT_PROGRESS_BAR_DEFAULT_OPTIONS)\n defaults?: MatProgressBarDefaultOptions,\n /**\n * @deprecated `_changeDetectorRef` parameter to be made required.\n * @breaking-change 11.0.0\n */\n private _changeDetectorRef?: ChangeDetectorRef,\n ) {\n super(elementRef);\n\n // We need to prefix the SVG reference with the current path, otherwise they won't work\n // in Safari if the page has a `<base>` tag. Note that we need quotes inside the `url()`,\n // because named route URLs can contain parentheses (see #12338). Also we don't use `Location`\n // since we can't tell the difference between whether the consumer is using the hash location\n // strategy or not, because `Location` normalizes both `/#/foo/bar` and `/foo/bar` to\n // the same thing.\n const path = location ? location.getPathname().split('#')[0] : '';\n this._rectangleFillValue = `url('${path}#${this.progressbarId}')`;\n this._isNoopAnimation = _animationMode === 'NoopAnimations';\n\n if (defaults) {\n if (defaults.color) {\n this.color = this.defaultColor = defaults.color;\n }\n\n this.mode = defaults.mode || this.mode;\n }\n }\n\n /** Flag that indicates whether NoopAnimations mode is set to true. */\n _isNoopAnimation = false;\n\n /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */\n @Input()\n get value(): number {\n return this._value;\n }\n set value(v: NumberInput) {\n this._value = clamp(coerceNumberProperty(v) || 0);\n\n // @breaking-change 11.0.0 Remove null check for _changeDetectorRef.\n this._changeDetectorRef?.markForCheck();\n }\n private _value: number = 0;\n\n /** Buffer value of the progress bar. Defaults to zero. */\n @Input()\n get bufferValue(): number {\n return this._bufferValue;\n }\n set bufferValue(v: number) {\n this._bufferValue = clamp(v || 0);\n\n // @breaking-change 11.0.0 Remove null check for _changeDetectorRef.\n this._changeDetectorRef?.markForCheck();\n }\n private _bufferValue: number = 0;\n\n @ViewChild('primaryValueBar') _primaryValueBar: ElementRef;\n\n /**\n * Event emitted when animation of the primary progress bar completes. This event will not\n * be emitted when animations are disabled, nor will it be emitted for modes with continuous\n * animations (indeterminate and query).\n */\n @Output() readonly animationEnd = new EventEmitter<ProgressAnimationEnd>();\n\n /** Reference to animation end subscription to be unsubscribed on destroy. */\n private _animationEndSubscription: Subscription = Subscription.EMPTY;\n\n /**\n * Mode of the progress bar.\n *\n * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to\n * 'determinate'.\n * Mirrored to mode attribute.\n */\n @Input() mode: ProgressBarMode = 'determinate';\n\n /** ID of the progress bar. */\n progressbarId = `mat-progress-bar-${progressbarId++}`;\n\n /** Attribute to be used for the `fill` attribute on the internal `rect` element. */\n _rectangleFillValue: string;\n\n /** Gets the current transform value for the progress bar's primary indicator. */\n _primaryTransform() {\n // We use a 3d transform to work around some rendering issues in iOS Safari. See #19328.\n const scale = this.value / 100;\n return {transform: `scale3d(${scale}, 1, 1)`};\n }\n\n /**\n * Gets the current transform value for the progress bar's buffer indicator. Only used if the\n * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.\n */\n _bufferTransform() {\n if (this.mode === 'buffer') {\n // We use a 3d transform to work around some rendering issues in iOS Safari. See #19328.\n const scale = this.bufferValue / 100;\n return {transform: `scale3d(${scale}, 1, 1)`};\n }\n return null;\n }\n\n ngAfterViewInit() {\n // Run outside angular so change detection didn't get triggered on every transition end\n // instead only on the animation that we care about (primary value bar's transitionend)\n this._ngZone.runOutsideAngular(() => {\n const element = this._primaryValueBar.nativeElement;\n\n this._animationEndSubscription = (\n fromEvent(element, 'transitionend') as Observable<TransitionEvent>\n )\n .pipe(filter((e: TransitionEvent) => e.target === element))\n .subscribe(() => {\n if (this.animationEnd.observers.length === 0) {\n return;\n }\n\n if (this.mode === 'determinate' || this.mode === 'buffer') {\n this._ngZone.run(() => this.animationEnd.next({value: this.value}));\n }\n });\n });\n }\n\n ngOnDestroy() {\n this._animationEndSubscription.unsubscribe();\n }\n}\n\n/** Clamps a value to be between two numbers, by default 0 and 100. */\nfunction clamp(v: number, min = 0, max = 100) {\n return Math.max(min, Math.min(max, v));\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<div aria-hidden=\"true\">\n <svg width=\"100%\" height=\"4\" focusable=\"false\" class=\"mat-progress-bar-background mat-progress-bar-element\">\n <defs>\n <pattern [id]=\"progressbarId\" x=\"4\" y=\"0\" width=\"8\" height=\"4\" patternUnits=\"userSpaceOnUse\">\n <circle cx=\"2\" cy=\"2\" r=\"2\"/>\n </pattern>\n </defs>\n <rect [attr.fill]=\"_rectangleFillValue\" width=\"100%\" height=\"100%\"/>\n </svg>\n <!--\n The background div is named as such because it appears below the other divs and is not sized based\n on values.\n -->\n <div class=\"mat-progress-bar-buffer mat-progress-bar-element\" [ngStyle]=\"_bufferTransform()\"></div>\n <div class=\"mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element\" [ngStyle]=\"_primaryTransform()\" #primaryValueBar></div>\n <div class=\"mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element\"></div>\n</div>\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 {CommonModule} from '@angular/common';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatLegacyProgressBar} from './progress-bar';\n\n/**\n * @deprecated Use `MatProgressBarModule` from `@angular/material/progress-bar` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [CommonModule, MatCommonModule],\n exports: [MatLegacyProgressBar, MatCommonModule],\n declarations: [MatLegacyProgressBar],\n})\nexport class MatLegacyProgressBarModule {}\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 {MatLegacyProgressBarModule} from './progress-bar-module';\nexport {MatLegacyProgressBar} from './progress-bar';\n\nexport {\n MatProgressBarDefaultOptions as MatLegacyProgressBarDefaultOptions,\n MAT_PROGRESS_BAR_DEFAULT_OPTIONS as MAT_LEGACY_PROGRESS_BAR_DEFAULT_OPTIONS,\n ProgressAnimationEnd as LegacyProgressAnimationEnd,\n ProgressBarMode as LegacyProgressBarMode,\n MAT_PROGRESS_BAR_LOCATION as MAT_LEGACY_PROGRESS_BAR_LOCATION,\n MatProgressBarLocation as MatLegacyProgressBarLocation,\n MAT_PROGRESS_BAR_LOCATION_FACTORY as MAT_LEGACY_PROGRESS_BAR_LOCATION_FACTORY,\n} from '@angular/material/progress-bar';\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;AAEA;AACA;AACA,MAAM,mBAAmB,GAAG,UAAU,CACpC,MAAA;AACE,IAAA,WAAA,CAAmB,WAAuB,EAAA;QAAvB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;KAAI;CAC/C,EACD,SAAS,CACV,CAAC;AAEF;AACA,IAAI,aAAa,GAAG,CAAC,CAAC;AAEtB;;;;AAIG;AAsBG,MAAO,oBACX,SAAQ,mBAAmB,CAAA;AAG3B,IAAA,WAAA,CACE,UAAsB,EACd,OAAe,E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y-progress-spinner/testing/progress-spinner-harness.ts","../../../../../../../src/material/legacy-progress-spinner/testing/public-api.ts","../../../../../../../src/material/legacy-progress-spinner/testing/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} from '@angular/cdk/coercion';\nimport {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {LegacyProgressSpinnerMode} from '@angular/material/legacy-progress-spinner';\nimport {LegacyProgressSpinnerHarnessFilters} from './progress-spinner-harness-filters';\n\n/**\n * Harness for interacting with a standard mat-progress-spinner in tests.\n * @deprecated Use `MatProgressSpinnerHarness` from `@angular/material/progress-spinner/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyProgressSpinnerHarness extends ComponentHarness {\n /** The selector for the host element of a Progress Spinner instance. */\n static hostSelector = '.mat-progress-spinner';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatProgressSpinnerHarness` that\n * meets certain criteria.\n * @param options Options for filtering which progress spinner instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyProgressSpinnerHarnessFilters = {},\n ): HarnessPredicate<MatLegacyProgressSpinnerHarness> {\n return new HarnessPredicate(MatLegacyProgressSpinnerHarness, options);\n }\n\n /** Gets the progress spinner's value. */\n async getValue(): Promise<number | null> {\n const host = await this.host();\n const ariaValue = await host.getAttribute('aria-valuenow');\n return ariaValue ? coerceNumberProperty(ariaValue) : null;\n }\n\n /** Gets the progress spinner's mode. */\n async getMode(): Promise<LegacyProgressSpinnerMode> {\n const modeAttr = (await this.host()).getAttribute('mode');\n return (await modeAttr) as LegacyProgressSpinnerMode;\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {MatLegacyProgressSpinnerHarness} from './progress-spinner-harness';\nexport {LegacyProgressSpinnerHarnessFilters} from './progress-spinner-harness-filters';\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"],"names":[],"mappings":";;;AAAA;;;;;;AAMG;AAOH;;;;AAIG;AACG,MAAO,+BAAgC,SAAQ,gBAAgB,CAAA;AAInE;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAA+C,EAAE,EAAA;AAEjD,QAAA,OAAO,IAAI,gBAAgB,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;KACvE;;AAGD,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;QAC/B,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;AAC3D,QAAA,OAAO,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;KAC3D;;AAGD,IAAA,MAAM,OAAO,GAAA;AACX,QAAA,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AAC1D,QAAA,QAAQ,MAAM,QAAQ,EAA+B;KACtD;;AA1BD;AACO,+BAAY,CAAA,YAAA,GAAG,uBAAuB;;ACpB/C;;;;;;AAMG;;ACNH;;;;;;AAMG;;;;"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-progress-spinner/testing/progress-spinner-harness.ts","../../../../../../../src/material/legacy-progress-spinner/testing/public-api.ts","../../../../../../../src/material/legacy-progress-spinner/testing/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} from '@angular/cdk/coercion';\nimport {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {LegacyProgressSpinnerMode} from '@angular/material/legacy-progress-spinner';\nimport {ProgressSpinnerHarnessFilters} from '@angular/material/progress-spinner/testing';\n\n/**\n * Harness for interacting with a standard mat-progress-spinner in tests.\n * @deprecated Use `MatProgressSpinnerHarness` from `@angular/material/progress-spinner/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyProgressSpinnerHarness extends ComponentHarness {\n /** The selector for the host element of a Progress Spinner instance. */\n static hostSelector = '.mat-progress-spinner';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatProgressSpinnerHarness` that\n * meets certain criteria.\n * @param options Options for filtering which progress spinner instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: ProgressSpinnerHarnessFilters = {},\n ): HarnessPredicate<MatLegacyProgressSpinnerHarness> {\n return new HarnessPredicate(MatLegacyProgressSpinnerHarness, options);\n }\n\n /** Gets the progress spinner's value. */\n async getValue(): Promise<number | null> {\n const host = await this.host();\n const ariaValue = await host.getAttribute('aria-valuenow');\n return ariaValue ? coerceNumberProperty(ariaValue) : null;\n }\n\n /** Gets the progress spinner's mode. */\n async getMode(): Promise<LegacyProgressSpinnerMode> {\n const modeAttr = (await this.host()).getAttribute('mode');\n return (await modeAttr) as LegacyProgressSpinnerMode;\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport {MatLegacyProgressSpinnerHarness} from './progress-spinner-harness';\nexport {ProgressSpinnerHarnessFilters as LegacyProgressSpinnerHarnessFilters} from '@angular/material/progress-spinner/testing';\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"],"names":[],"mappings":";;;AAAA;;;;;;AAMG;AAOH;;;;AAIG;AACG,MAAO,+BAAgC,SAAQ,gBAAgB,CAAA;AAInE;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAAyC,EAAE,EAAA;AAE3C,QAAA,OAAO,IAAI,gBAAgB,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;KACvE;;AAGD,IAAA,MAAM,QAAQ,GAAA;AACZ,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;QAC/B,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC;AAC3D,QAAA,OAAO,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;KAC3D;;AAGD,IAAA,MAAM,OAAO,GAAA;AACX,QAAA,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AAC1D,QAAA,QAAQ,MAAM,QAAQ,EAA+B;KACtD;;AA1BD;AACO,+BAAY,CAAA,YAAA,GAAG,uBAAuB;;ACpB/C;;;;;;AAMG;;ACNH;;;;;;AAMG;;;;"}
@@ -5,9 +5,11 @@ import * as i2 from '@angular/cdk/scrolling';
5
5
  import * as i3 from '@angular/common';
6
6
  import { DOCUMENT, CommonModule } from '@angular/common';
7
7
  import * as i0 from '@angular/core';
8
- import { InjectionToken, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, NgModule } from '@angular/core';
8
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, Input, NgModule } from '@angular/core';
9
9
  import { mixinColor, MatCommonModule } from '@angular/material/core';
10
10
  import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
11
+ import { MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS } from '@angular/material/progress-spinner';
12
+ export { MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS as MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS, MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY } from '@angular/material/progress-spinner';
11
13
  import { Subscription } from 'rxjs';
12
14
 
13
15
  /**
@@ -34,23 +36,6 @@ const _MatProgressSpinnerBase = mixinColor(class {
34
36
  this._elementRef = _elementRef;
35
37
  }
36
38
  }, 'primary');
37
- /**
38
- * Injection token to be used to override the default options for `mat-progress-spinner`.
39
- * @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.
40
- * @breaking-change 17.0.0
41
- */
42
- const MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS = new InjectionToken('mat-progress-spinner-default-options', {
43
- providedIn: 'root',
44
- factory: MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY,
45
- });
46
- /**
47
- * @docs-private
48
- * @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.
49
- * @breaking-change 17.0.0
50
- */
51
- function MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY() {
52
- return { diameter: BASE_SIZE };
53
- }
54
39
  // .0001 percentage difference is necessary in order to avoid unwanted animation frames
55
40
  // for example because the animation duration is 4 seconds, .1% accounts to 4ms
56
41
  // which are enough to see the flicker described in
@@ -249,9 +234,9 @@ class MatLegacyProgressSpinner extends _MatProgressSpinnerBase {
249
234
  * than the document head.
250
235
  */
251
236
  MatLegacyProgressSpinner._diameters = new WeakMap();
252
- MatLegacyProgressSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressSpinner, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: DOCUMENT, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS }, { token: i0.ChangeDetectorRef }, { token: i2.ViewportRuler }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
253
- MatLegacyProgressSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MatLegacyProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: { color: "color", diameter: "diameter", strokeWidth: "strokeWidth", mode: "mode", value: "value" }, host: { attributes: { "role": "progressbar", "tabindex": "-1" }, properties: { "class._mat-animation-noopable": "_noopAnimations", "style.width.px": "diameter", "style.height.px": "diameter", "attr.aria-valuemin": "mode === \"determinate\" ? 0 : null", "attr.aria-valuemax": "mode === \"determinate\" ? 100 : null", "attr.aria-valuenow": "mode === \"determinate\" ? value : null", "attr.mode": "mode" }, classAttribute: "mat-progress-spinner mat-spinner" }, exportAs: ["matProgressSpinner"], usesInheritance: true, ngImport: i0, template: "<!--\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", styles: [".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"], dependencies: [{ kind: "directive", type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
254
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressSpinner, decorators: [{
237
+ MatLegacyProgressSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressSpinner, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: DOCUMENT, optional: true }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS }, { token: i0.ChangeDetectorRef }, { token: i2.ViewportRuler }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
238
+ MatLegacyProgressSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0-next.1", type: MatLegacyProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: { color: "color", diameter: "diameter", strokeWidth: "strokeWidth", mode: "mode", value: "value" }, host: { attributes: { "role": "progressbar", "tabindex": "-1" }, properties: { "class._mat-animation-noopable": "_noopAnimations", "style.width.px": "diameter", "style.height.px": "diameter", "attr.aria-valuemin": "mode === \"determinate\" ? 0 : null", "attr.aria-valuemax": "mode === \"determinate\" ? 100 : null", "attr.aria-valuenow": "mode === \"determinate\" ? value : null", "attr.mode": "mode" }, classAttribute: "mat-progress-spinner mat-spinner" }, exportAs: ["matProgressSpinner"], usesInheritance: true, ngImport: i0, template: "<!--\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", styles: [".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}.mat-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}"], dependencies: [{ kind: "directive", type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressSpinner, decorators: [{
255
240
  type: Component,
256
241
  args: [{ selector: 'mat-progress-spinner, mat-spinner', exportAs: 'matProgressSpinner', host: {
257
242
  'role': 'progressbar',
@@ -280,7 +265,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
280
265
  args: [ANIMATION_MODULE_TYPE]
281
266
  }] }, { type: undefined, decorators: [{
282
267
  type: Inject,
283
- args: [MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS]
268
+ args: [MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS]
284
269
  }] }, { type: i0.ChangeDetectorRef }, { type: i2.ViewportRuler }, { type: i0.NgZone }]; }, propDecorators: { diameter: [{
285
270
  type: Input
286
271
  }], strokeWidth: [{
@@ -304,10 +289,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
304
289
  */
305
290
  class MatLegacyProgressSpinnerModule {
306
291
  }
307
- MatLegacyProgressSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
308
- MatLegacyProgressSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressSpinnerModule, declarations: [MatLegacyProgressSpinner], imports: [MatCommonModule, CommonModule], exports: [MatLegacyProgressSpinner, MatCommonModule] });
309
- MatLegacyProgressSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressSpinnerModule, imports: [MatCommonModule, CommonModule, MatCommonModule] });
310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyProgressSpinnerModule, decorators: [{
292
+ MatLegacyProgressSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
293
+ MatLegacyProgressSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressSpinnerModule, declarations: [MatLegacyProgressSpinner], imports: [MatCommonModule, CommonModule], exports: [MatLegacyProgressSpinner, MatCommonModule] });
294
+ MatLegacyProgressSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressSpinnerModule, imports: [MatCommonModule, CommonModule, MatCommonModule] });
295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyProgressSpinnerModule, decorators: [{
311
296
  type: NgModule,
312
297
  args: [{
313
298
  imports: [MatCommonModule, CommonModule],
@@ -343,5 +328,5 @@ const MatLegacySpinner = MatLegacyProgressSpinner;
343
328
  * Generated bundle index. Do not edit.
344
329
  */
345
330
 
346
- export { MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS, MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY, MatLegacyProgressSpinner, MatLegacyProgressSpinnerModule, MatLegacySpinner };
331
+ export { MatLegacyProgressSpinner, MatLegacyProgressSpinnerModule, MatLegacySpinner };
347
332
  //# sourceMappingURL=legacy-progress-spinner.mjs.map