@angular/material 19.2.2 → 19.2.4

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 (308) hide show
  1. package/autocomplete/index.d.ts +90 -124
  2. package/autocomplete/testing/index.d.ts +6 -11
  3. package/badge/index.d.ts +8 -112
  4. package/badge/testing/index.d.ts +7 -8
  5. package/badge.d-49a8a74b.d.ts +98 -0
  6. package/bottom-sheet/index.d.ts +88 -103
  7. package/bottom-sheet/testing/index.d.ts +4 -6
  8. package/button/index.d.ts +10 -259
  9. package/button/testing/index.d.ts +6 -10
  10. package/button-toggle/index.d.ts +12 -285
  11. package/button-toggle/testing/index.d.ts +38 -37
  12. package/button-toggle.d-edc8acff.d.ts +257 -0
  13. package/card/index.d.ts +80 -117
  14. package/card/testing/index.d.ts +11 -15
  15. package/checkbox/index.d.ts +57 -86
  16. package/checkbox/testing/index.d.ts +6 -10
  17. package/chips/index.d.ts +598 -692
  18. package/chips/testing/index.d.ts +78 -93
  19. package/common-module.d-0e6515ae.d.ts +43 -0
  20. package/core/index.d.ts +50 -979
  21. package/core/testing/index.d.ts +3 -65
  22. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +3 -1
  23. package/core/tokens/m3/definitions/_md-sys-color.scss +44 -2
  24. package/core/tokens/m3/definitions/_md-sys-typescale.scss +20 -1
  25. package/date-adapter.d-c6835d41.d.ts +267 -0
  26. package/date-range-input-harness.d-549a9f7e.d.ts +278 -0
  27. package/datepicker/index.d.ts +1436 -1586
  28. package/datepicker/testing/index.d.ts +5 -287
  29. package/dialog/index.d.ts +59 -459
  30. package/dialog/testing/index.d.ts +22 -26
  31. package/dialog.d-7187c941.d.ts +357 -0
  32. package/divider/index.d.ts +6 -11
  33. package/divider/testing/index.d.ts +2 -16
  34. package/divider-harness.d-d34fede4.d.ts +14 -0
  35. package/error-options.d-448d9046.d.ts +17 -0
  36. package/expansion/index.d.ts +139 -190
  37. package/expansion/testing/index.d.ts +25 -31
  38. package/fesm2022/autocomplete/testing.mjs +2 -1
  39. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  40. package/fesm2022/autocomplete.mjs +38 -18
  41. package/fesm2022/autocomplete.mjs.map +1 -1
  42. package/fesm2022/badge/testing.mjs.map +1 -1
  43. package/fesm2022/badge.mjs +4 -7
  44. package/fesm2022/badge.mjs.map +1 -1
  45. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  46. package/fesm2022/bottom-sheet.mjs +3 -5
  47. package/fesm2022/bottom-sheet.mjs.map +1 -1
  48. package/fesm2022/button/testing.mjs.map +1 -1
  49. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  50. package/fesm2022/button-toggle.mjs +12 -5
  51. package/fesm2022/button-toggle.mjs.map +1 -1
  52. package/fesm2022/button.mjs +14 -481
  53. package/fesm2022/button.mjs.map +1 -1
  54. package/fesm2022/card/testing.mjs.map +1 -1
  55. package/fesm2022/card.mjs +3 -5
  56. package/fesm2022/card.mjs.map +1 -1
  57. package/fesm2022/checkbox/testing.mjs.map +1 -1
  58. package/fesm2022/checkbox.mjs +12 -6
  59. package/fesm2022/checkbox.mjs.map +1 -1
  60. package/fesm2022/chips/testing.mjs.map +1 -1
  61. package/fesm2022/chips.mjs +11 -6
  62. package/fesm2022/chips.mjs.map +1 -1
  63. package/fesm2022/common-module-a39ee957.mjs +42 -0
  64. package/fesm2022/common-module-a39ee957.mjs.map +1 -0
  65. package/fesm2022/core/testing.mjs +3 -76
  66. package/fesm2022/core/testing.mjs.map +1 -1
  67. package/fesm2022/core.mjs +27 -1587
  68. package/fesm2022/core.mjs.map +1 -1
  69. package/fesm2022/date-formats-b618acb8.mjs +190 -0
  70. package/fesm2022/date-formats-b618acb8.mjs.map +1 -0
  71. package/fesm2022/date-range-input-harness-ee47cdb0.mjs +467 -0
  72. package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +1 -0
  73. package/fesm2022/datepicker/testing.mjs +5 -465
  74. package/fesm2022/datepicker/testing.mjs.map +1 -1
  75. package/fesm2022/datepicker.mjs +64 -30
  76. package/fesm2022/datepicker.mjs.map +1 -1
  77. package/fesm2022/dialog/testing.mjs +12 -1
  78. package/fesm2022/dialog/testing.mjs.map +1 -1
  79. package/fesm2022/dialog.mjs +14 -901
  80. package/fesm2022/dialog.mjs.map +1 -1
  81. package/fesm2022/divider/testing.mjs +2 -17
  82. package/fesm2022/divider/testing.mjs.map +1 -1
  83. package/fesm2022/divider-harness-3394f29a.mjs +18 -0
  84. package/fesm2022/divider-harness-3394f29a.mjs.map +1 -0
  85. package/fesm2022/divider.mjs +3 -5
  86. package/fesm2022/divider.mjs.map +1 -1
  87. package/fesm2022/error-options-aca21924.mjs +29 -0
  88. package/fesm2022/error-options-aca21924.mjs.map +1 -0
  89. package/fesm2022/error-state-8f4ce1af.mjs +37 -0
  90. package/fesm2022/error-state-8f4ce1af.mjs.map +1 -0
  91. package/fesm2022/expansion/testing.mjs.map +1 -1
  92. package/fesm2022/expansion.mjs +5 -7
  93. package/fesm2022/expansion.mjs.map +1 -1
  94. package/fesm2022/form-field/testing/control.mjs +2 -10
  95. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  96. package/fesm2022/form-field/testing.mjs +7 -6
  97. package/fesm2022/form-field/testing.mjs.map +1 -1
  98. package/fesm2022/form-field-50ec956f.mjs +1076 -0
  99. package/fesm2022/form-field-50ec956f.mjs.map +1 -0
  100. package/fesm2022/form-field-control-harness-af6fd278.mjs +11 -0
  101. package/fesm2022/form-field-control-harness-af6fd278.mjs.map +1 -0
  102. package/fesm2022/form-field.mjs +14 -1110
  103. package/fesm2022/form-field.mjs.map +1 -1
  104. package/fesm2022/grid-list/testing.mjs +1 -1
  105. package/fesm2022/grid-list/testing.mjs.map +1 -1
  106. package/fesm2022/grid-list.mjs +8 -151
  107. package/fesm2022/grid-list.mjs.map +1 -1
  108. package/fesm2022/icon/testing.mjs +5 -5
  109. package/fesm2022/icon/testing.mjs.map +1 -1
  110. package/fesm2022/icon-button-655c4ed3.mjs +275 -0
  111. package/fesm2022/icon-button-655c4ed3.mjs.map +1 -0
  112. package/fesm2022/icon-module-881c6455.mjs +395 -0
  113. package/fesm2022/icon-module-881c6455.mjs.map +1 -0
  114. package/fesm2022/icon-registry-e1064d47.mjs +639 -0
  115. package/fesm2022/icon-registry-e1064d47.mjs.map +1 -0
  116. package/fesm2022/icon.mjs +11 -1016
  117. package/fesm2022/icon.mjs.map +1 -1
  118. package/fesm2022/index-2f2536d6.mjs +22 -0
  119. package/fesm2022/index-2f2536d6.mjs.map +1 -0
  120. package/fesm2022/index-a36e3c7c.mjs +20 -0
  121. package/fesm2022/index-a36e3c7c.mjs.map +1 -0
  122. package/fesm2022/input/testing.mjs +5 -113
  123. package/fesm2022/input/testing.mjs.map +1 -1
  124. package/fesm2022/input-harness-ed59decc.mjs +115 -0
  125. package/fesm2022/input-harness-ed59decc.mjs.map +1 -0
  126. package/fesm2022/input-value-accessor-8a79a24e.mjs +12 -0
  127. package/fesm2022/input-value-accessor-8a79a24e.mjs.map +1 -0
  128. package/fesm2022/input.mjs +14 -16
  129. package/fesm2022/input.mjs.map +1 -1
  130. package/fesm2022/internal-form-field-5960ea2e.mjs +27 -0
  131. package/fesm2022/internal-form-field-5960ea2e.mjs.map +1 -0
  132. package/fesm2022/line-11b0093d.mjs +59 -0
  133. package/fesm2022/line-11b0093d.mjs.map +1 -0
  134. package/fesm2022/list/testing.mjs +2 -2
  135. package/fesm2022/list/testing.mjs.map +1 -1
  136. package/fesm2022/list.mjs +10 -7
  137. package/fesm2022/list.mjs.map +1 -1
  138. package/fesm2022/menu/testing.mjs.map +1 -1
  139. package/fesm2022/menu.mjs +20 -8
  140. package/fesm2022/menu.mjs.map +1 -1
  141. package/fesm2022/module-0776ab9b.mjs +38 -0
  142. package/fesm2022/module-0776ab9b.mjs.map +1 -0
  143. package/fesm2022/module-087ecec3.mjs +970 -0
  144. package/fesm2022/module-087ecec3.mjs.map +1 -0
  145. package/fesm2022/module-6b33072b.mjs +218 -0
  146. package/fesm2022/module-6b33072b.mjs.map +1 -0
  147. package/fesm2022/module-b0a3e0af.mjs +1293 -0
  148. package/fesm2022/module-b0a3e0af.mjs.map +1 -0
  149. package/fesm2022/module-b3de5709.mjs +899 -0
  150. package/fesm2022/module-b3de5709.mjs.map +1 -0
  151. package/fesm2022/optgroup-harness-5e66b138.mjs +36 -0
  152. package/fesm2022/optgroup-harness-5e66b138.mjs.map +1 -0
  153. package/fesm2022/option-cb353f7a.mjs +348 -0
  154. package/fesm2022/option-cb353f7a.mjs.map +1 -0
  155. package/fesm2022/option-harness-3b7c1106.mjs +46 -0
  156. package/fesm2022/option-harness-3b7c1106.mjs.map +1 -0
  157. package/fesm2022/paginator/testing.mjs +4 -1
  158. package/fesm2022/paginator/testing.mjs.map +1 -1
  159. package/fesm2022/paginator.mjs +43 -13
  160. package/fesm2022/paginator.mjs.map +1 -1
  161. package/fesm2022/progress-bar/testing.mjs +0 -4
  162. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  163. package/fesm2022/progress-bar.mjs +8 -6
  164. package/fesm2022/progress-bar.mjs.map +1 -1
  165. package/fesm2022/progress-spinner/testing.mjs +0 -4
  166. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  167. package/fesm2022/progress-spinner.mjs +8 -6
  168. package/fesm2022/progress-spinner.mjs.map +1 -1
  169. package/fesm2022/pseudo-checkbox-4a60d45e.mjs +52 -0
  170. package/fesm2022/pseudo-checkbox-4a60d45e.mjs.map +1 -0
  171. package/fesm2022/pseudo-checkbox-module-31a58606.mjs +20 -0
  172. package/fesm2022/pseudo-checkbox-module-31a58606.mjs.map +1 -0
  173. package/fesm2022/public-api-c5ab57f5.mjs +147 -0
  174. package/fesm2022/public-api-c5ab57f5.mjs.map +1 -0
  175. package/fesm2022/radio/testing.mjs.map +1 -1
  176. package/fesm2022/radio.mjs +13 -5
  177. package/fesm2022/radio.mjs.map +1 -1
  178. package/fesm2022/ripple-5bdada85.mjs +639 -0
  179. package/fesm2022/ripple-5bdada85.mjs.map +1 -0
  180. package/fesm2022/ripple-loader-dabcd93d.mjs +165 -0
  181. package/fesm2022/ripple-loader-dabcd93d.mjs.map +1 -0
  182. package/fesm2022/select/testing.mjs +5 -121
  183. package/fesm2022/select/testing.mjs.map +1 -1
  184. package/fesm2022/select-harness-8c55824d.mjs +123 -0
  185. package/fesm2022/select-harness-8c55824d.mjs.map +1 -0
  186. package/fesm2022/select.mjs +30 -1284
  187. package/fesm2022/select.mjs.map +1 -1
  188. package/fesm2022/sidenav/testing.mjs +1 -1
  189. package/fesm2022/sidenav/testing.mjs.map +1 -1
  190. package/fesm2022/sidenav.mjs +9 -9
  191. package/fesm2022/sidenav.mjs.map +1 -1
  192. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  193. package/fesm2022/slide-toggle.mjs +7 -5
  194. package/fesm2022/slide-toggle.mjs.map +1 -1
  195. package/fesm2022/slider/testing.mjs.map +1 -1
  196. package/fesm2022/slider.mjs +6 -5
  197. package/fesm2022/slider.mjs.map +1 -1
  198. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  199. package/fesm2022/snack-bar.mjs +15 -7
  200. package/fesm2022/snack-bar.mjs.map +1 -1
  201. package/fesm2022/sort/testing.mjs.map +1 -1
  202. package/fesm2022/sort.mjs +13 -7
  203. package/fesm2022/sort.mjs.map +1 -1
  204. package/fesm2022/stepper/testing.mjs.map +1 -1
  205. package/fesm2022/stepper.mjs +21 -8
  206. package/fesm2022/stepper.mjs.map +1 -1
  207. package/fesm2022/structural-styles-326dcb39.mjs +18 -0
  208. package/fesm2022/structural-styles-326dcb39.mjs.map +1 -0
  209. package/fesm2022/table/testing.mjs.map +1 -1
  210. package/fesm2022/table.mjs +3 -5
  211. package/fesm2022/table.mjs.map +1 -1
  212. package/fesm2022/tabs/testing.mjs.map +1 -1
  213. package/fesm2022/tabs.mjs +11 -15
  214. package/fesm2022/tabs.mjs.map +1 -1
  215. package/fesm2022/timepicker/testing.mjs +1 -1
  216. package/fesm2022/timepicker/testing.mjs.map +1 -1
  217. package/fesm2022/timepicker.mjs +20 -10
  218. package/fesm2022/timepicker.mjs.map +1 -1
  219. package/fesm2022/toolbar/testing.mjs.map +1 -1
  220. package/fesm2022/toolbar.mjs +3 -5
  221. package/fesm2022/toolbar.mjs.map +1 -1
  222. package/fesm2022/tooltip/testing.mjs.map +1 -1
  223. package/fesm2022/tooltip.mjs +15 -960
  224. package/fesm2022/tooltip.mjs.map +1 -1
  225. package/fesm2022/tree/testing.mjs.map +1 -1
  226. package/fesm2022/tree.mjs +3 -5
  227. package/fesm2022/tree.mjs.map +1 -1
  228. package/form-field/index.d.ts +16 -508
  229. package/form-field/testing/control/index.d.ts +2 -10
  230. package/form-field/testing/index.d.ts +19 -24
  231. package/form-field-control-harness.d-2d91f25a.d.ts +10 -0
  232. package/form-field-control.d-eb86711c.d.ts +62 -0
  233. package/form-field.d-2edbc094.d.ts +367 -0
  234. package/grid-list/index.d.ts +128 -152
  235. package/grid-list/testing/index.d.ts +39 -44
  236. package/icon/index.d.ts +9 -470
  237. package/icon/testing/index.d.ts +41 -44
  238. package/icon-module.d-aa3bbba0.d.ts +167 -0
  239. package/icon-registry.d-1dffe9de.d.ts +286 -0
  240. package/index.d-0536b706.d.ts +11 -0
  241. package/index.d-37e31cd3.d.ts +13 -0
  242. package/index.d.ts +2 -3
  243. package/input/index.d.ts +33 -62
  244. package/input/testing/index.d.ts +13 -71
  245. package/input-harness.d-4eecd1d3.d.ts +60 -0
  246. package/line.d-570a2537.d.ts +25 -0
  247. package/list/index.d.ts +155 -244
  248. package/list/testing/index.d.ts +158 -180
  249. package/list-option-types.d-8739f903.d.ts +15 -0
  250. package/menu/index.d.ts +183 -231
  251. package/menu/testing/index.d.ts +17 -23
  252. package/module.d-74a721b9.d.ts +326 -0
  253. package/module.d-ba05faa6.d.ts +448 -0
  254. package/module.d-c17c834e.d.ts +18 -0
  255. package/module.d-f490a6d4.d.ts +224 -0
  256. package/optgroup-harness.d-7f741f69.d.ts +31 -0
  257. package/option-harness.d-3d33fc9a.d.ts +34 -0
  258. package/option-parent.d-559ad5c5.d.ts +19 -0
  259. package/option.d-6f493d78.d.ts +146 -0
  260. package/package.json +2 -2
  261. package/paginator/index.d.ts +31 -216
  262. package/paginator/testing/index.d.ts +14 -15
  263. package/paginator.d-40b1766e.d.ts +199 -0
  264. package/palette.d-ec4a617c.d.ts +4 -0
  265. package/progress-bar/index.d.ts +40 -59
  266. package/progress-bar/testing/index.d.ts +7 -10
  267. package/progress-spinner/index.d.ts +8 -110
  268. package/progress-spinner/testing/index.d.ts +10 -11
  269. package/progress-spinner.d-1fc040c5.d.ts +96 -0
  270. package/pseudo-checkbox-module.d-3abc0461.d.ts +44 -0
  271. package/radio/index.d.ts +151 -170
  272. package/radio/testing/index.d.ts +61 -67
  273. package/ripple-loader.d-8aac2988.d.ts +48 -0
  274. package/ripple.d-2fb57d04.d.ts +255 -0
  275. package/schematics/ng-add/index.js +1 -1
  276. package/schematics/ng-add/index.mjs +1 -1
  277. package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
  278. package/schematics/ng-generate/theme-color/schema.json +10 -0
  279. package/schematics/ng-update/index_bundled.js +31 -31
  280. package/select/index.d.ts +25 -500
  281. package/select/testing/index.d.ts +5 -67
  282. package/select-harness.d-7441a7ac.d.ts +63 -0
  283. package/sidenav/index.d.ts +49 -92
  284. package/sidenav/testing/index.d.ts +58 -63
  285. package/slide-toggle/index.d.ts +53 -85
  286. package/slide-toggle/testing/index.d.ts +17 -21
  287. package/slider/index.d.ts +281 -328
  288. package/slider/testing/index.d.ts +42 -47
  289. package/snack-bar/index.d.ts +152 -185
  290. package/snack-bar/testing/index.d.ts +7 -9
  291. package/sort/index.d.ts +61 -169
  292. package/sort/testing/index.d.ts +22 -25
  293. package/sort-direction.d-f4ce4649.d.ts +3 -0
  294. package/sort.d-c2b79a45.d.ts +87 -0
  295. package/stepper/index.d.ts +115 -167
  296. package/stepper/testing/index.d.ts +43 -52
  297. package/table/index.d.ts +97 -156
  298. package/table/testing/index.d.ts +64 -78
  299. package/tabs/index.d.ts +309 -383
  300. package/tabs/testing/index.d.ts +67 -76
  301. package/timepicker/index.d.ts +126 -159
  302. package/timepicker/testing/index.d.ts +20 -26
  303. package/toolbar/index.d.ts +15 -26
  304. package/toolbar/testing/index.d.ts +13 -16
  305. package/tooltip/index.d.ts +11 -355
  306. package/tooltip/testing/index.d.ts +7 -10
  307. package/tree/index.d.ts +117 -163
  308. package/tree/testing/index.d.ts +52 -58
@@ -1,221 +1,36 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import * as i0 from '@angular/core';
3
- import * as i1 from '@angular/material/button';
4
- import * as i2 from '@angular/material/select';
5
- import * as i3 from '@angular/material/tooltip';
6
- import { InjectionToken } from '@angular/core';
7
- import { MatFormFieldAppearance } from '@angular/material/form-field';
8
- import { Observable } from 'rxjs';
9
- import { OnDestroy } from '@angular/core';
10
- import { OnInit } from '@angular/core';
11
- import { Optional } from '@angular/core';
12
- import { Subject } from 'rxjs';
13
- import { ThemePalette } from '@angular/material/core';
14
-
15
- declare namespace i4 {
16
- export {
17
- MatPaginatorSelectConfig,
18
- PageEvent,
19
- MatPaginatorDefaultOptions,
20
- MAT_PAGINATOR_DEFAULT_OPTIONS,
21
- MatPaginator
22
- }
23
- }
24
-
25
- /** Injection token that can be used to provide the default options for the paginator module. */
26
- export declare const MAT_PAGINATOR_DEFAULT_OPTIONS: InjectionToken<MatPaginatorDefaultOptions>;
27
-
28
- /** @docs-private */
29
- export declare const MAT_PAGINATOR_INTL_PROVIDER: {
30
- provide: typeof MatPaginatorIntl;
31
- deps: Optional[][];
32
- useFactory: typeof MAT_PAGINATOR_INTL_PROVIDER_FACTORY;
33
- };
34
-
35
- /** @docs-private */
36
- export declare function MAT_PAGINATOR_INTL_PROVIDER_FACTORY(parentIntl: MatPaginatorIntl): MatPaginatorIntl;
37
-
38
- /**
39
- * Component to provide navigation between paged information. Displays the size of the current
40
- * page, user-selectable options to change that size, what items are being shown, and
41
- * navigational button to go to the previous or next page.
42
- */
43
- export declare class MatPaginator implements OnInit, OnDestroy {
44
- _intl: MatPaginatorIntl;
45
- private _changeDetectorRef;
46
- /** If set, styles the "page size" form field with the designated style. */
47
- _formFieldAppearance?: MatFormFieldAppearance;
48
- /** ID for the DOM node containing the paginator's items per page label. */
49
- readonly _pageSizeLabelId: string;
50
- private _intlChanges;
51
- private _isInitialized;
52
- private _initializedStream;
53
- /**
54
- * Theme color of the underlying form controls. This API is supported in M2
55
- * themes only,it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/paginator/styling.
56
- *
57
- * For information on applying color variants in M3, see
58
- * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
59
- */
60
- color: ThemePalette;
61
- /** The zero-based page index of the displayed list of items. Defaulted to 0. */
62
- get pageIndex(): number;
63
- set pageIndex(value: number);
64
- private _pageIndex;
65
- /** The length of the total number of items that are being paginated. Defaulted to 0. */
66
- get length(): number;
67
- set length(value: number);
68
- private _length;
69
- /** Number of items to display on a page. By default set to 50. */
70
- get pageSize(): number;
71
- set pageSize(value: number);
72
- private _pageSize;
73
- /** The set of provided page size options to display to the user. */
74
- get pageSizeOptions(): number[];
75
- set pageSizeOptions(value: number[] | readonly number[]);
76
- private _pageSizeOptions;
77
- /** Whether to hide the page size selection UI from the user. */
78
- hidePageSize: boolean;
79
- /** Whether to show the first/last buttons UI to the user. */
80
- showFirstLastButtons: boolean;
81
- /** Used to configure the underlying `MatSelect` inside the paginator. */
82
- selectConfig: MatPaginatorSelectConfig;
83
- /** Whether the paginator is disabled. */
84
- disabled: boolean;
85
- /** Event emitted when the paginator changes the page size or page index. */
86
- readonly page: EventEmitter<PageEvent>;
87
- /** Displayed set of page size options. Will be sorted and include current page size. */
88
- _displayedPageSizeOptions: number[];
89
- /** Emits when the paginator is initialized. */
90
- initialized: Observable<void>;
91
- /** Inserted by Angular inject() migration for backwards compatibility */
92
- constructor(...args: unknown[]);
93
- ngOnInit(): void;
94
- ngOnDestroy(): void;
95
- /** Advances to the next page if it exists. */
96
- nextPage(): void;
97
- /** Move back to the previous page if it exists. */
98
- previousPage(): void;
99
- /** Move to the first page if not already there. */
100
- firstPage(): void;
101
- /** Move to the last page if not already there. */
102
- lastPage(): void;
103
- /** Whether there is a previous page. */
104
- hasPreviousPage(): boolean;
105
- /** Whether there is a next page. */
106
- hasNextPage(): boolean;
107
- /** Calculate the number of pages */
108
- getNumberOfPages(): number;
109
- /**
110
- * Changes the page size so that the first item displayed on the page will still be
111
- * displayed using the new page size.
112
- *
113
- * For example, if the page size is 10 and on the second page (items indexed 10-19) then
114
- * switching so that the page size is 5 will set the third page as the current page so
115
- * that the 10th item will still be displayed.
116
- */
117
- _changePageSize(pageSize: number): void;
118
- /** Checks whether the buttons for going forwards should be disabled. */
119
- _nextButtonsDisabled(): boolean;
120
- /** Checks whether the buttons for going backwards should be disabled. */
121
- _previousButtonsDisabled(): boolean;
122
- /**
123
- * Updates the list of page size options to display to the user. Includes making sure that
124
- * the page size is an option and that the list is sorted.
125
- */
126
- private _updateDisplayedPageSizeOptions;
127
- /** Emits an event notifying that a change of the paginator's properties has been triggered. */
128
- private _emitPageEvent;
129
- /** Navigates to a specific page index. */
130
- private _navigate;
131
- /**
132
- * Callback invoked when one of the navigation buttons is called.
133
- * @param targetIndex Index to which the paginator should navigate.
134
- * @param isDisabled Whether the button is disabled.
135
- */
136
- protected _buttonClicked(targetIndex: number, isDisabled: boolean): void;
137
- static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginator, never>;
138
- static ɵcmp: i0.ɵɵComponentDeclaration<MatPaginator, "mat-paginator", ["matPaginator"], { "color": { "alias": "color"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; "selectConfig": { "alias": "selectConfig"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "page": "page"; }, never, never, true, never>;
139
- static ngAcceptInputType_pageIndex: unknown;
140
- static ngAcceptInputType_length: unknown;
141
- static ngAcceptInputType_pageSize: unknown;
142
- static ngAcceptInputType_hidePageSize: unknown;
143
- static ngAcceptInputType_showFirstLastButtons: unknown;
144
- static ngAcceptInputType_disabled: unknown;
145
- }
146
-
147
- /** Object that can be used to configure the default options for the paginator module. */
148
- export declare interface MatPaginatorDefaultOptions {
149
- /** Number of items to display on a page. By default set to 50. */
150
- pageSize?: number;
151
- /** The set of provided page size options to display to the user. */
152
- pageSizeOptions?: number[];
153
- /** Whether to hide the page size selection UI from the user. */
154
- hidePageSize?: boolean;
155
- /** Whether to show the first/last buttons UI to the user. */
156
- showFirstLastButtons?: boolean;
157
- /** The default form-field appearance to apply to the page size options selector. */
158
- formFieldAppearance?: MatFormFieldAppearance;
159
- }
160
-
161
- /**
162
- * To modify the labels and text displayed, create a new instance of MatPaginatorIntl and
163
- * include it in a custom provider
164
- */
165
- export declare class MatPaginatorIntl {
166
- /**
167
- * Stream to emit from when labels are changed. Use this to notify components when the labels have
168
- * changed after initialization.
169
- */
170
- readonly changes: Subject<void>;
171
- /** A label for the page size selector. */
172
- itemsPerPageLabel: string;
173
- /** A label for the button that increments the current page. */
174
- nextPageLabel: string;
175
- /** A label for the button that decrements the current page. */
176
- previousPageLabel: string;
177
- /** A label for the button that moves to the first page. */
178
- firstPageLabel: string;
179
- /** A label for the button that moves to the last page. */
180
- lastPageLabel: string;
181
- /** A label for the range of items within the current page and the length of the whole list. */
182
- getRangeLabel: (page: number, pageSize: number, length: number) => string;
183
- static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatorIntl, never>;
184
- static ɵprov: i0.ɵɵInjectableDeclaration<MatPaginatorIntl>;
185
- }
186
-
187
- export declare class MatPaginatorModule {
2
+ import { m as MatButtonModule } from '../module.d-f490a6d4.js';
3
+ import { M as MatSelectModule } from '../module.d-ba05faa6.js';
4
+ import { M as MatTooltipModule } from '../module.d-74a721b9.js';
5
+ import { M as MatPaginator } from '../paginator.d-40b1766e.js';
6
+ export { c as MAT_PAGINATOR_DEFAULT_OPTIONS, f as MAT_PAGINATOR_INTL_PROVIDER, e as MAT_PAGINATOR_INTL_PROVIDER_FACTORY, M as MatPaginator, b as MatPaginatorDefaultOptions, d as MatPaginatorIntl, a as MatPaginatorSelectConfig, P as PageEvent } from '../paginator.d-40b1766e.js';
7
+ import '../common-module.d-0e6515ae.js';
8
+ import '@angular/cdk/bidi';
9
+ import '../index.d-0536b706.js';
10
+ import '../ripple.d-2fb57d04.js';
11
+ import '@angular/cdk/platform';
12
+ import '@angular/cdk/a11y';
13
+ import '../palette.d-ec4a617c.js';
14
+ import '../ripple-loader.d-8aac2988.js';
15
+ import '@angular/cdk/overlay';
16
+ import '../index.d-37e31cd3.js';
17
+ import '../pseudo-checkbox-module.d-3abc0461.js';
18
+ import '../option.d-6f493d78.js';
19
+ import 'rxjs';
20
+ import '@angular/cdk/collections';
21
+ import '@angular/cdk/scrolling';
22
+ import '@angular/forms';
23
+ import '../error-options.d-448d9046.js';
24
+ import '../form-field.d-2edbc094.js';
25
+ import '@angular/cdk/coercion';
26
+ import '../form-field-control.d-eb86711c.js';
27
+ import '../module.d-c17c834e.js';
28
+ import '@angular/cdk/observers';
29
+
30
+ declare class MatPaginatorModule {
188
31
  static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatorModule, never>;
189
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatPaginatorModule, never, [typeof i1.MatButtonModule, typeof i2.MatSelectModule, typeof i3.MatTooltipModule, typeof i4.MatPaginator], [typeof i4.MatPaginator]>;
32
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatPaginatorModule, never, [typeof MatButtonModule, typeof MatSelectModule, typeof MatTooltipModule, typeof MatPaginator], [typeof MatPaginator]>;
190
33
  static ɵinj: i0.ɵɵInjectorDeclaration<MatPaginatorModule>;
191
34
  }
192
35
 
193
- /** Object that can used to configure the underlying `MatSelect` inside a `MatPaginator`. */
194
- export declare interface MatPaginatorSelectConfig {
195
- /** Whether to center the active option over the trigger. */
196
- disableOptionCentering?: boolean;
197
- /** Classes to be passed to the select panel. */
198
- panelClass?: string | string[] | Set<string> | {
199
- [key: string]: any;
200
- };
201
- }
202
-
203
- /**
204
- * Change event object that is emitted when the user selects a
205
- * different page size or navigates to another page.
206
- */
207
- export declare class PageEvent {
208
- /** The current page index. */
209
- pageIndex: number;
210
- /**
211
- * Index of the page that was selected previously.
212
- * @breaking-change 8.0.0 To be made into a required property.
213
- */
214
- previousPageIndex?: number;
215
- /** The current page size. */
216
- pageSize: number;
217
- /** The current total number of items being paged. */
218
- length: number;
219
- }
220
-
221
- export { }
36
+ export { MatPaginatorModule };
@@ -1,22 +1,25 @@
1
- import { AsyncFactoryFn } from '@angular/cdk/testing';
2
- import { BaseHarnessFilters } from '@angular/cdk/testing';
3
- import { ComponentHarness } from '@angular/cdk/testing';
4
- import { ComponentHarnessConstructor } from '@angular/cdk/testing';
5
- import { HarnessPredicate } from '@angular/cdk/testing';
6
- import { MatSelectHarness } from '@angular/material/select/testing';
7
- import { TestElement } from '@angular/cdk/testing';
1
+ import * as _angular_cdk_testing from '@angular/cdk/testing';
2
+ import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
3
+ import { M as MatSelectHarness } from '../../select-harness.d-7441a7ac.js';
4
+ import '../../option-harness.d-3d33fc9a.js';
5
+ import '../../optgroup-harness.d-7f741f69.js';
6
+ import '../../form-field-control-harness.d-2d91f25a.js';
7
+
8
+ /** A set of criteria that can be used to filter a list of `MatPaginatorHarness` instances. */
9
+ interface PaginatorHarnessFilters extends BaseHarnessFilters {
10
+ }
8
11
 
9
12
  /** Harness for interacting with a mat-paginator in tests. */
10
- export declare class MatPaginatorHarness extends ComponentHarness {
13
+ declare class MatPaginatorHarness extends ComponentHarness {
11
14
  /** Selector used to find paginator instances. */
12
15
  static hostSelector: string;
13
16
  private _nextButton;
14
17
  private _previousButton;
15
18
  private _firstPageButton;
16
19
  private _lastPageButton;
17
- _select: AsyncFactoryFn<MatSelectHarness | null>;
20
+ _select: _angular_cdk_testing.AsyncFactoryFn<MatSelectHarness | null>;
18
21
  private _pageSizeFallback;
19
- _rangeLabel: AsyncFactoryFn<TestElement>;
22
+ _rangeLabel: _angular_cdk_testing.AsyncFactoryFn<_angular_cdk_testing.TestElement>;
20
23
  /**
21
24
  * Gets a `HarnessPredicate` that can be used to search for a paginator with specific attributes.
22
25
  * @param options Options for filtering which paginator instances are considered a match.
@@ -45,8 +48,4 @@ export declare class MatPaginatorHarness extends ComponentHarness {
45
48
  getRangeLabel(): Promise<string>;
46
49
  }
47
50
 
48
- /** A set of criteria that can be used to filter a list of `MatPaginatorHarness` instances. */
49
- export declare interface PaginatorHarnessFilters extends BaseHarnessFilters {
50
- }
51
-
52
- export { }
51
+ export { MatPaginatorHarness, type PaginatorHarnessFilters };
@@ -0,0 +1,199 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Optional, InjectionToken, OnInit, OnDestroy, EventEmitter } from '@angular/core';
3
+ import { T as ThemePalette } from './palette.d-ec4a617c.js';
4
+ import { Subject, Observable } from 'rxjs';
5
+ import { g as MatFormFieldAppearance } from './form-field.d-2edbc094.js';
6
+
7
+ /**
8
+ * To modify the labels and text displayed, create a new instance of MatPaginatorIntl and
9
+ * include it in a custom provider
10
+ */
11
+ declare class MatPaginatorIntl {
12
+ /**
13
+ * Stream to emit from when labels are changed. Use this to notify components when the labels have
14
+ * changed after initialization.
15
+ */
16
+ readonly changes: Subject<void>;
17
+ /** A label for the page size selector. */
18
+ itemsPerPageLabel: string;
19
+ /** A label for the button that increments the current page. */
20
+ nextPageLabel: string;
21
+ /** A label for the button that decrements the current page. */
22
+ previousPageLabel: string;
23
+ /** A label for the button that moves to the first page. */
24
+ firstPageLabel: string;
25
+ /** A label for the button that moves to the last page. */
26
+ lastPageLabel: string;
27
+ /** A label for the range of items within the current page and the length of the whole list. */
28
+ getRangeLabel: (page: number, pageSize: number, length: number) => string;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatorIntl, never>;
30
+ static ɵprov: i0.ɵɵInjectableDeclaration<MatPaginatorIntl>;
31
+ }
32
+ /**
33
+ * @docs-private
34
+ * @deprecated No longer used, will be removed.
35
+ * @breaking-change 21.0.0
36
+ */
37
+ declare function MAT_PAGINATOR_INTL_PROVIDER_FACTORY(parentIntl: MatPaginatorIntl): MatPaginatorIntl;
38
+ /**
39
+ * @docs-private
40
+ * @deprecated No longer used, will be removed.
41
+ * @breaking-change 21.0.0
42
+ */
43
+ declare const MAT_PAGINATOR_INTL_PROVIDER: {
44
+ provide: typeof MatPaginatorIntl;
45
+ deps: Optional[][];
46
+ useFactory: typeof MAT_PAGINATOR_INTL_PROVIDER_FACTORY;
47
+ };
48
+
49
+ /** Object that can used to configure the underlying `MatSelect` inside a `MatPaginator`. */
50
+ interface MatPaginatorSelectConfig {
51
+ /** Whether to center the active option over the trigger. */
52
+ disableOptionCentering?: boolean;
53
+ /** Classes to be passed to the select panel. */
54
+ panelClass?: string | string[] | Set<string> | {
55
+ [key: string]: any;
56
+ };
57
+ }
58
+ /**
59
+ * Change event object that is emitted when the user selects a
60
+ * different page size or navigates to another page.
61
+ */
62
+ declare class PageEvent {
63
+ /** The current page index. */
64
+ pageIndex: number;
65
+ /**
66
+ * Index of the page that was selected previously.
67
+ * @breaking-change 8.0.0 To be made into a required property.
68
+ */
69
+ previousPageIndex?: number;
70
+ /** The current page size. */
71
+ pageSize: number;
72
+ /** The current total number of items being paged. */
73
+ length: number;
74
+ }
75
+ /** Object that can be used to configure the default options for the paginator module. */
76
+ interface MatPaginatorDefaultOptions {
77
+ /** Number of items to display on a page. By default set to 50. */
78
+ pageSize?: number;
79
+ /** The set of provided page size options to display to the user. */
80
+ pageSizeOptions?: number[];
81
+ /** Whether to hide the page size selection UI from the user. */
82
+ hidePageSize?: boolean;
83
+ /** Whether to show the first/last buttons UI to the user. */
84
+ showFirstLastButtons?: boolean;
85
+ /** The default form-field appearance to apply to the page size options selector. */
86
+ formFieldAppearance?: MatFormFieldAppearance;
87
+ }
88
+ /** Injection token that can be used to provide the default options for the paginator module. */
89
+ declare const MAT_PAGINATOR_DEFAULT_OPTIONS: InjectionToken<MatPaginatorDefaultOptions>;
90
+ /**
91
+ * Component to provide navigation between paged information. Displays the size of the current
92
+ * page, user-selectable options to change that size, what items are being shown, and
93
+ * navigational button to go to the previous or next page.
94
+ */
95
+ declare class MatPaginator implements OnInit, OnDestroy {
96
+ _intl: MatPaginatorIntl;
97
+ private _changeDetectorRef;
98
+ /** If set, styles the "page size" form field with the designated style. */
99
+ _formFieldAppearance?: MatFormFieldAppearance;
100
+ /** ID for the DOM node containing the paginator's items per page label. */
101
+ readonly _pageSizeLabelId: string;
102
+ private _intlChanges;
103
+ private _isInitialized;
104
+ private _initializedStream;
105
+ /**
106
+ * Theme color of the underlying form controls. This API is supported in M2
107
+ * themes only,it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/paginator/styling.
108
+ *
109
+ * For information on applying color variants in M3, see
110
+ * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
111
+ */
112
+ color: ThemePalette;
113
+ /** The zero-based page index of the displayed list of items. Defaulted to 0. */
114
+ get pageIndex(): number;
115
+ set pageIndex(value: number);
116
+ private _pageIndex;
117
+ /** The length of the total number of items that are being paginated. Defaulted to 0. */
118
+ get length(): number;
119
+ set length(value: number);
120
+ private _length;
121
+ /** Number of items to display on a page. By default set to 50. */
122
+ get pageSize(): number;
123
+ set pageSize(value: number);
124
+ private _pageSize;
125
+ /** The set of provided page size options to display to the user. */
126
+ get pageSizeOptions(): number[];
127
+ set pageSizeOptions(value: number[] | readonly number[]);
128
+ private _pageSizeOptions;
129
+ /** Whether to hide the page size selection UI from the user. */
130
+ hidePageSize: boolean;
131
+ /** Whether to show the first/last buttons UI to the user. */
132
+ showFirstLastButtons: boolean;
133
+ /** Used to configure the underlying `MatSelect` inside the paginator. */
134
+ selectConfig: MatPaginatorSelectConfig;
135
+ /** Whether the paginator is disabled. */
136
+ disabled: boolean;
137
+ /** Event emitted when the paginator changes the page size or page index. */
138
+ readonly page: EventEmitter<PageEvent>;
139
+ /** Displayed set of page size options. Will be sorted and include current page size. */
140
+ _displayedPageSizeOptions: number[];
141
+ /** Emits when the paginator is initialized. */
142
+ initialized: Observable<void>;
143
+ /** Inserted by Angular inject() migration for backwards compatibility */
144
+ constructor(...args: unknown[]);
145
+ ngOnInit(): void;
146
+ ngOnDestroy(): void;
147
+ /** Advances to the next page if it exists. */
148
+ nextPage(): void;
149
+ /** Move back to the previous page if it exists. */
150
+ previousPage(): void;
151
+ /** Move to the first page if not already there. */
152
+ firstPage(): void;
153
+ /** Move to the last page if not already there. */
154
+ lastPage(): void;
155
+ /** Whether there is a previous page. */
156
+ hasPreviousPage(): boolean;
157
+ /** Whether there is a next page. */
158
+ hasNextPage(): boolean;
159
+ /** Calculate the number of pages */
160
+ getNumberOfPages(): number;
161
+ /**
162
+ * Changes the page size so that the first item displayed on the page will still be
163
+ * displayed using the new page size.
164
+ *
165
+ * For example, if the page size is 10 and on the second page (items indexed 10-19) then
166
+ * switching so that the page size is 5 will set the third page as the current page so
167
+ * that the 10th item will still be displayed.
168
+ */
169
+ _changePageSize(pageSize: number): void;
170
+ /** Checks whether the buttons for going forwards should be disabled. */
171
+ _nextButtonsDisabled(): boolean;
172
+ /** Checks whether the buttons for going backwards should be disabled. */
173
+ _previousButtonsDisabled(): boolean;
174
+ /**
175
+ * Updates the list of page size options to display to the user. Includes making sure that
176
+ * the page size is an option and that the list is sorted.
177
+ */
178
+ private _updateDisplayedPageSizeOptions;
179
+ /** Emits an event notifying that a change of the paginator's properties has been triggered. */
180
+ private _emitPageEvent;
181
+ /** Navigates to a specific page index. */
182
+ private _navigate;
183
+ /**
184
+ * Callback invoked when one of the navigation buttons is called.
185
+ * @param targetIndex Index to which the paginator should navigate.
186
+ * @param isDisabled Whether the button is disabled.
187
+ */
188
+ protected _buttonClicked(targetIndex: number, isDisabled: boolean): void;
189
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginator, never>;
190
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatPaginator, "mat-paginator", ["matPaginator"], { "color": { "alias": "color"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; "selectConfig": { "alias": "selectConfig"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "page": "page"; }, never, never, true, never>;
191
+ static ngAcceptInputType_pageIndex: unknown;
192
+ static ngAcceptInputType_length: unknown;
193
+ static ngAcceptInputType_pageSize: unknown;
194
+ static ngAcceptInputType_hidePageSize: unknown;
195
+ static ngAcceptInputType_showFirstLastButtons: unknown;
196
+ static ngAcceptInputType_disabled: unknown;
197
+ }
198
+
199
+ export { MatPaginator as M, PageEvent as P, type MatPaginatorSelectConfig as a, type MatPaginatorDefaultOptions as b, MAT_PAGINATOR_DEFAULT_OPTIONS as c, MatPaginatorIntl as d, MAT_PAGINATOR_INTL_PROVIDER_FACTORY as e, MAT_PAGINATOR_INTL_PROVIDER as f };
@@ -0,0 +1,4 @@
1
+ /** Possible color palette values. */
2
+ type ThemePalette = 'primary' | 'accent' | 'warn' | undefined;
3
+
4
+ export type { ThemePalette as T };
@@ -1,39 +1,49 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { ElementRef } from '@angular/core';
3
- import { EventEmitter } from '@angular/core';
4
1
  import * as i0 from '@angular/core';
5
- import * as i2 from '@angular/material/core';
6
- import { InjectionToken } from '@angular/core';
7
- import { OnDestroy } from '@angular/core';
8
- import { ThemePalette } from '@angular/material/core';
2
+ import { InjectionToken, AfterViewInit, OnDestroy, ElementRef, EventEmitter } from '@angular/core';
3
+ import { T as ThemePalette } from '../palette.d-ec4a617c.js';
4
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
5
+ import '@angular/cdk/bidi';
9
6
 
10
- declare namespace i1 {
11
- export {
12
- MAT_PROGRESS_BAR_LOCATION_FACTORY,
13
- ProgressAnimationEnd,
14
- MatProgressBarDefaultOptions,
15
- MAT_PROGRESS_BAR_DEFAULT_OPTIONS,
16
- MAT_PROGRESS_BAR_LOCATION,
17
- MatProgressBarLocation,
18
- ProgressBarMode,
19
- MatProgressBar
20
- }
7
+ /** Last animation end data. */
8
+ interface ProgressAnimationEnd {
9
+ value: number;
10
+ }
11
+ /** Default `mat-progress-bar` options that can be overridden. */
12
+ interface MatProgressBarDefaultOptions {
13
+ /**
14
+ * Default theme color of the progress bar. This API is supported in M2 themes only,
15
+ * it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-bar/styling.
16
+ *
17
+ * For information on applying color variants in M3, see
18
+ * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
19
+ */
20
+ color?: ThemePalette;
21
+ /** Default mode of the progress bar. */
22
+ mode?: ProgressBarMode;
21
23
  }
22
-
23
24
  /** Injection token to be used to override the default options for `mat-progress-bar`. */
24
- export declare const MAT_PROGRESS_BAR_DEFAULT_OPTIONS: InjectionToken<MatProgressBarDefaultOptions>;
25
-
25
+ declare const MAT_PROGRESS_BAR_DEFAULT_OPTIONS: InjectionToken<MatProgressBarDefaultOptions>;
26
26
  /**
27
27
  * Injection token used to provide the current location to `MatProgressBar`.
28
28
  * Used to handle server-side rendering and to stub out during unit tests.
29
29
  * @docs-private
30
30
  */
31
- export declare const MAT_PROGRESS_BAR_LOCATION: InjectionToken<MatProgressBarLocation>;
32
-
33
- /** @docs-private */
34
- export declare function MAT_PROGRESS_BAR_LOCATION_FACTORY(): MatProgressBarLocation;
35
-
36
- export declare class MatProgressBar implements AfterViewInit, OnDestroy {
31
+ declare const MAT_PROGRESS_BAR_LOCATION: InjectionToken<MatProgressBarLocation>;
32
+ /**
33
+ * Stubbed out location for `MatProgressBar`.
34
+ * @docs-private
35
+ */
36
+ interface MatProgressBarLocation {
37
+ getPathname: () => string;
38
+ }
39
+ /**
40
+ * @docs-private
41
+ * @deprecated No longer used, will be removed.
42
+ * @breaking-change 21.0.0
43
+ */
44
+ declare function MAT_PROGRESS_BAR_LOCATION_FACTORY(): MatProgressBarLocation;
45
+ type ProgressBarMode = 'determinate' | 'indeterminate' | 'buffer' | 'query';
46
+ declare class MatProgressBar implements AfterViewInit, OnDestroy {
37
47
  readonly _elementRef: ElementRef<HTMLElement>;
38
48
  private _ngZone;
39
49
  private _changeDetectorRef;
@@ -94,39 +104,10 @@ export declare class MatProgressBar implements AfterViewInit, OnDestroy {
94
104
  static ngAcceptInputType_bufferValue: unknown;
95
105
  }
96
106
 
97
- /** Default `mat-progress-bar` options that can be overridden. */
98
- export declare interface MatProgressBarDefaultOptions {
99
- /**
100
- * Default theme color of the progress bar. This API is supported in M2 themes only,
101
- * it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-bar/styling.
102
- *
103
- * For information on applying color variants in M3, see
104
- * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
105
- */
106
- color?: ThemePalette;
107
- /** Default mode of the progress bar. */
108
- mode?: ProgressBarMode;
109
- }
110
-
111
- /**
112
- * Stubbed out location for `MatProgressBar`.
113
- * @docs-private
114
- */
115
- export declare interface MatProgressBarLocation {
116
- getPathname: () => string;
117
- }
118
-
119
- export declare class MatProgressBarModule {
107
+ declare class MatProgressBarModule {
120
108
  static ɵfac: i0.ɵɵFactoryDeclaration<MatProgressBarModule, never>;
121
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatProgressBarModule, never, [typeof i1.MatProgressBar], [typeof i1.MatProgressBar, typeof i2.MatCommonModule]>;
109
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatProgressBarModule, never, [typeof MatProgressBar], [typeof MatProgressBar, typeof MatCommonModule]>;
122
110
  static ɵinj: i0.ɵɵInjectorDeclaration<MatProgressBarModule>;
123
111
  }
124
112
 
125
- /** Last animation end data. */
126
- export declare interface ProgressAnimationEnd {
127
- value: number;
128
- }
129
-
130
- export declare type ProgressBarMode = 'determinate' | 'indeterminate' | 'buffer' | 'query';
131
-
132
- export { }
113
+ export { MAT_PROGRESS_BAR_DEFAULT_OPTIONS, MAT_PROGRESS_BAR_LOCATION, MAT_PROGRESS_BAR_LOCATION_FACTORY, MatProgressBar, type MatProgressBarDefaultOptions, type MatProgressBarLocation, MatProgressBarModule, type ProgressAnimationEnd, type ProgressBarMode };
@@ -1,10 +1,11 @@
1
- import { BaseHarnessFilters } from '@angular/cdk/testing';
2
- import { ComponentHarness } from '@angular/cdk/testing';
3
- import { ComponentHarnessConstructor } from '@angular/cdk/testing';
4
- import { HarnessPredicate } from '@angular/cdk/testing';
1
+ import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
2
+
3
+ /** A set of criteria that can be used to filter a list of `MatProgressBarHarness` instances. */
4
+ interface ProgressBarHarnessFilters extends BaseHarnessFilters {
5
+ }
5
6
 
6
7
  /** Harness for interacting with a `mat-progress-bar` in tests. */
7
- export declare class MatProgressBarHarness extends ComponentHarness {
8
+ declare class MatProgressBarHarness extends ComponentHarness {
8
9
  static hostSelector: string;
9
10
  /**
10
11
  * Gets a `HarnessPredicate` that can be used to search for a progress bar with specific
@@ -19,8 +20,4 @@ export declare class MatProgressBarHarness extends ComponentHarness {
19
20
  getMode(): Promise<string | null>;
20
21
  }
21
22
 
22
- /** A set of criteria that can be used to filter a list of `MatProgressBarHarness` instances. */
23
- export declare interface ProgressBarHarnessFilters extends BaseHarnessFilters {
24
- }
25
-
26
- export { }
23
+ export { MatProgressBarHarness, type ProgressBarHarnessFilters };