@angular/material 20.0.0-next.0 → 20.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 (305) hide show
  1. package/autocomplete/index.d.ts +92 -126
  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 -245
  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 +43 -104
  16. package/checkbox/testing/index.d.ts +6 -10
  17. package/chips/index.d.ts +599 -693
  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/date-adapter.d-c6835d41.d.ts +267 -0
  23. package/date-range-input-harness.d-549a9f7e.d.ts +278 -0
  24. package/datepicker/index.d.ts +1332 -1482
  25. package/datepicker/testing/index.d.ts +5 -287
  26. package/dialog/index.d.ts +59 -453
  27. package/dialog/testing/index.d.ts +22 -26
  28. package/dialog.d-57867441.d.ts +335 -0
  29. package/divider/index.d.ts +6 -11
  30. package/divider/testing/index.d.ts +2 -16
  31. package/divider-harness.d-d34fede4.d.ts +14 -0
  32. package/error-options.d-448d9046.d.ts +17 -0
  33. package/expansion/index.d.ts +139 -190
  34. package/expansion/testing/index.d.ts +25 -31
  35. package/fesm2022/autocomplete/testing.mjs +2 -1
  36. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  37. package/fesm2022/autocomplete.mjs +53 -32
  38. package/fesm2022/autocomplete.mjs.map +1 -1
  39. package/fesm2022/badge/testing.mjs.map +1 -1
  40. package/fesm2022/badge.mjs +14 -17
  41. package/fesm2022/badge.mjs.map +1 -1
  42. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  43. package/fesm2022/bottom-sheet.mjs +13 -15
  44. package/fesm2022/bottom-sheet.mjs.map +1 -1
  45. package/fesm2022/button/testing.mjs.map +1 -1
  46. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  47. package/fesm2022/button-toggle.mjs +22 -15
  48. package/fesm2022/button-toggle.mjs.map +1 -1
  49. package/fesm2022/button.mjs +14 -395
  50. package/fesm2022/button.mjs.map +1 -1
  51. package/fesm2022/card/testing.mjs.map +1 -1
  52. package/fesm2022/card.mjs +49 -51
  53. package/fesm2022/card.mjs.map +1 -1
  54. package/fesm2022/checkbox/testing.mjs.map +1 -1
  55. package/fesm2022/checkbox.mjs +32 -73
  56. package/fesm2022/checkbox.mjs.map +1 -1
  57. package/fesm2022/chips/testing.mjs.map +1 -1
  58. package/fesm2022/chips.mjs +51 -46
  59. package/fesm2022/chips.mjs.map +1 -1
  60. package/fesm2022/common-module-2d64df09.mjs +42 -0
  61. package/fesm2022/common-module-2d64df09.mjs.map +1 -0
  62. package/fesm2022/core/testing.mjs +3 -76
  63. package/fesm2022/core/testing.mjs.map +1 -1
  64. package/fesm2022/core.mjs +38 -1598
  65. package/fesm2022/core.mjs.map +1 -1
  66. package/fesm2022/date-formats-b618acb8.mjs +190 -0
  67. package/fesm2022/date-formats-b618acb8.mjs.map +1 -0
  68. package/fesm2022/date-range-input-harness-ee47cdb0.mjs +467 -0
  69. package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +1 -0
  70. package/fesm2022/datepicker/testing.mjs +5 -465
  71. package/fesm2022/datepicker/testing.mjs.map +1 -1
  72. package/fesm2022/datepicker.mjs +159 -128
  73. package/fesm2022/datepicker.mjs.map +1 -1
  74. package/fesm2022/dialog/testing.mjs +12 -1
  75. package/fesm2022/dialog/testing.mjs.map +1 -1
  76. package/fesm2022/dialog.mjs +14 -895
  77. package/fesm2022/dialog.mjs.map +1 -1
  78. package/fesm2022/divider/testing.mjs +2 -17
  79. package/fesm2022/divider/testing.mjs.map +1 -1
  80. package/fesm2022/divider-harness-3394f29a.mjs +18 -0
  81. package/fesm2022/divider-harness-3394f29a.mjs.map +1 -0
  82. package/fesm2022/divider.mjs +10 -12
  83. package/fesm2022/divider.mjs.map +1 -1
  84. package/fesm2022/error-options-4a00765e.mjs +29 -0
  85. package/fesm2022/error-options-4a00765e.mjs.map +1 -0
  86. package/fesm2022/error-state-8f4ce1af.mjs +37 -0
  87. package/fesm2022/error-state-8f4ce1af.mjs.map +1 -0
  88. package/fesm2022/expansion/testing.mjs.map +1 -1
  89. package/fesm2022/expansion.mjs +30 -32
  90. package/fesm2022/expansion.mjs.map +1 -1
  91. package/fesm2022/form-field/testing/control.mjs +2 -10
  92. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  93. package/fesm2022/form-field/testing.mjs +7 -6
  94. package/fesm2022/form-field/testing.mjs.map +1 -1
  95. package/fesm2022/form-field-6d755764.mjs +1076 -0
  96. package/fesm2022/form-field-6d755764.mjs.map +1 -0
  97. package/fesm2022/form-field-control-harness-af6fd278.mjs +11 -0
  98. package/fesm2022/form-field-control-harness-af6fd278.mjs.map +1 -0
  99. package/fesm2022/form-field.mjs +14 -1110
  100. package/fesm2022/form-field.mjs.map +1 -1
  101. package/fesm2022/grid-list/testing.mjs +1 -1
  102. package/fesm2022/grid-list/testing.mjs.map +1 -1
  103. package/fesm2022/grid-list.mjs +30 -173
  104. package/fesm2022/grid-list.mjs.map +1 -1
  105. package/fesm2022/icon/testing.mjs +12 -12
  106. package/fesm2022/icon/testing.mjs.map +1 -1
  107. package/fesm2022/icon-button-47f1b5d9.mjs +248 -0
  108. package/fesm2022/icon-button-47f1b5d9.mjs.map +1 -0
  109. package/fesm2022/icon-module-3f77a24d.mjs +395 -0
  110. package/fesm2022/icon-module-3f77a24d.mjs.map +1 -0
  111. package/fesm2022/icon-registry-13a3b98e.mjs +639 -0
  112. package/fesm2022/icon-registry-13a3b98e.mjs.map +1 -0
  113. package/fesm2022/icon.mjs +11 -1016
  114. package/fesm2022/icon.mjs.map +1 -1
  115. package/fesm2022/index-1763d3a6.mjs +22 -0
  116. package/fesm2022/index-1763d3a6.mjs.map +1 -0
  117. package/fesm2022/index-4bc1d6d3.mjs +20 -0
  118. package/fesm2022/index-4bc1d6d3.mjs.map +1 -0
  119. package/fesm2022/input/testing.mjs +5 -113
  120. package/fesm2022/input/testing.mjs.map +1 -1
  121. package/fesm2022/input-harness-ed59decc.mjs +115 -0
  122. package/fesm2022/input-harness-ed59decc.mjs.map +1 -0
  123. package/fesm2022/input-value-accessor-8a79a24e.mjs +12 -0
  124. package/fesm2022/input-value-accessor-8a79a24e.mjs.map +1 -0
  125. package/fesm2022/input.mjs +21 -23
  126. package/fesm2022/input.mjs.map +1 -1
  127. package/fesm2022/internal-form-field-434c4039.mjs +27 -0
  128. package/fesm2022/internal-form-field-434c4039.mjs.map +1 -0
  129. package/fesm2022/line-d6afe347.mjs +59 -0
  130. package/fesm2022/line-d6afe347.mjs.map +1 -0
  131. package/fesm2022/list/testing.mjs +2 -2
  132. package/fesm2022/list/testing.mjs.map +1 -1
  133. package/fesm2022/list.mjs +59 -56
  134. package/fesm2022/list.mjs.map +1 -1
  135. package/fesm2022/menu/testing.mjs.map +1 -1
  136. package/fesm2022/menu.mjs +37 -25
  137. package/fesm2022/menu.mjs.map +1 -1
  138. package/fesm2022/module-3bf2775f.mjs +1293 -0
  139. package/fesm2022/module-3bf2775f.mjs.map +1 -0
  140. package/fesm2022/module-47e3be58.mjs +970 -0
  141. package/fesm2022/module-47e3be58.mjs.map +1 -0
  142. package/fesm2022/module-a5f9ab72.mjs +875 -0
  143. package/fesm2022/module-a5f9ab72.mjs.map +1 -0
  144. package/fesm2022/module-d757bba0.mjs +38 -0
  145. package/fesm2022/module-d757bba0.mjs.map +1 -0
  146. package/fesm2022/module-df9f7af3.mjs +152 -0
  147. package/fesm2022/module-df9f7af3.mjs.map +1 -0
  148. package/fesm2022/optgroup-harness-5e66b138.mjs +36 -0
  149. package/fesm2022/optgroup-harness-5e66b138.mjs.map +1 -0
  150. package/fesm2022/option-07c3c660.mjs +348 -0
  151. package/fesm2022/option-07c3c660.mjs.map +1 -0
  152. package/fesm2022/option-harness-3b7c1106.mjs +46 -0
  153. package/fesm2022/option-harness-3b7c1106.mjs.map +1 -0
  154. package/fesm2022/paginator/testing.mjs +4 -1
  155. package/fesm2022/paginator/testing.mjs.map +1 -1
  156. package/fesm2022/paginator.mjs +51 -21
  157. package/fesm2022/paginator.mjs.map +1 -1
  158. package/fesm2022/progress-bar/testing.mjs +0 -4
  159. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  160. package/fesm2022/progress-bar.mjs +15 -13
  161. package/fesm2022/progress-bar.mjs.map +1 -1
  162. package/fesm2022/progress-spinner/testing.mjs +0 -4
  163. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  164. package/fesm2022/progress-spinner.mjs +15 -13
  165. package/fesm2022/progress-spinner.mjs.map +1 -1
  166. package/fesm2022/pseudo-checkbox-af5a4ea4.mjs +52 -0
  167. package/fesm2022/pseudo-checkbox-af5a4ea4.mjs.map +1 -0
  168. package/fesm2022/pseudo-checkbox-module-216fae38.mjs +20 -0
  169. package/fesm2022/pseudo-checkbox-module-216fae38.mjs.map +1 -0
  170. package/fesm2022/public-api-c5ab57f5.mjs +147 -0
  171. package/fesm2022/public-api-c5ab57f5.mjs.map +1 -0
  172. package/fesm2022/radio/testing.mjs.map +1 -1
  173. package/fesm2022/radio.mjs +23 -15
  174. package/fesm2022/radio.mjs.map +1 -1
  175. package/fesm2022/ripple-9939d1f5.mjs +639 -0
  176. package/fesm2022/ripple-9939d1f5.mjs.map +1 -0
  177. package/fesm2022/ripple-loader-f2078c66.mjs +165 -0
  178. package/fesm2022/ripple-loader-f2078c66.mjs.map +1 -0
  179. package/fesm2022/select/testing.mjs +5 -121
  180. package/fesm2022/select/testing.mjs.map +1 -1
  181. package/fesm2022/select-harness-8c55824d.mjs +123 -0
  182. package/fesm2022/select-harness-8c55824d.mjs.map +1 -0
  183. package/fesm2022/select.mjs +30 -1311
  184. package/fesm2022/select.mjs.map +1 -1
  185. package/fesm2022/sidenav/testing.mjs +1 -1
  186. package/fesm2022/sidenav/testing.mjs.map +1 -1
  187. package/fesm2022/sidenav.mjs +31 -31
  188. package/fesm2022/sidenav.mjs.map +1 -1
  189. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  190. package/fesm2022/slide-toggle.mjs +27 -75
  191. package/fesm2022/slide-toggle.mjs.map +1 -1
  192. package/fesm2022/slider/testing.mjs.map +1 -1
  193. package/fesm2022/slider.mjs +22 -21
  194. package/fesm2022/slider.mjs.map +1 -1
  195. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  196. package/fesm2022/snack-bar.mjs +37 -29
  197. package/fesm2022/snack-bar.mjs.map +1 -1
  198. package/fesm2022/sort/testing.mjs.map +1 -1
  199. package/fesm2022/sort.mjs +26 -20
  200. package/fesm2022/sort.mjs.map +1 -1
  201. package/fesm2022/stepper/testing.mjs.map +1 -1
  202. package/fesm2022/stepper.mjs +52 -39
  203. package/fesm2022/stepper.mjs.map +1 -1
  204. package/fesm2022/structural-styles-d5ada3b3.mjs +18 -0
  205. package/fesm2022/structural-styles-d5ada3b3.mjs.map +1 -0
  206. package/fesm2022/table/testing.mjs.map +1 -1
  207. package/fesm2022/table.mjs +58 -60
  208. package/fesm2022/table.mjs.map +1 -1
  209. package/fesm2022/tabs/testing.mjs.map +1 -1
  210. package/fesm2022/tabs.mjs +54 -58
  211. package/fesm2022/tabs.mjs.map +1 -1
  212. package/fesm2022/timepicker/testing.mjs +1 -1
  213. package/fesm2022/timepicker/testing.mjs.map +1 -1
  214. package/fesm2022/timepicker.mjs +31 -24
  215. package/fesm2022/timepicker.mjs.map +1 -1
  216. package/fesm2022/toolbar/testing.mjs.map +1 -1
  217. package/fesm2022/toolbar.mjs +13 -15
  218. package/fesm2022/toolbar.mjs.map +1 -1
  219. package/fesm2022/tooltip/testing.mjs.map +1 -1
  220. package/fesm2022/tooltip.mjs +15 -960
  221. package/fesm2022/tooltip.mjs.map +1 -1
  222. package/fesm2022/tree/testing.mjs.map +1 -1
  223. package/fesm2022/tree.mjs +28 -30
  224. package/fesm2022/tree.mjs.map +1 -1
  225. package/form-field/index.d.ts +16 -508
  226. package/form-field/testing/control/index.d.ts +2 -10
  227. package/form-field/testing/index.d.ts +19 -24
  228. package/form-field-control-harness.d-2d91f25a.d.ts +10 -0
  229. package/form-field-control.d-eb86711c.d.ts +62 -0
  230. package/form-field.d-2edbc094.d.ts +367 -0
  231. package/grid-list/index.d.ts +128 -152
  232. package/grid-list/testing/index.d.ts +39 -44
  233. package/icon/index.d.ts +9 -470
  234. package/icon/testing/index.d.ts +41 -44
  235. package/icon-module.d-aa3bbba0.d.ts +167 -0
  236. package/icon-registry.d-1dffe9de.d.ts +286 -0
  237. package/index.d-0536b706.d.ts +11 -0
  238. package/index.d-37e31cd3.d.ts +13 -0
  239. package/index.d.ts +2 -3
  240. package/input/index.d.ts +33 -62
  241. package/input/testing/index.d.ts +13 -71
  242. package/input-harness.d-4eecd1d3.d.ts +60 -0
  243. package/line.d-570a2537.d.ts +25 -0
  244. package/list/index.d.ts +155 -244
  245. package/list/testing/index.d.ts +158 -180
  246. package/list-option-types.d-8739f903.d.ts +15 -0
  247. package/menu/index.d.ts +183 -231
  248. package/menu/testing/index.d.ts +17 -23
  249. package/module.d-18a67f56.d.ts +206 -0
  250. package/module.d-74a721b9.d.ts +326 -0
  251. package/module.d-ba05faa6.d.ts +448 -0
  252. package/module.d-c17c834e.d.ts +18 -0
  253. package/optgroup-harness.d-7f741f69.d.ts +31 -0
  254. package/option-harness.d-3d33fc9a.d.ts +34 -0
  255. package/option-parent.d-559ad5c5.d.ts +19 -0
  256. package/option.d-6f493d78.d.ts +146 -0
  257. package/package.json +2 -2
  258. package/paginator/index.d.ts +31 -216
  259. package/paginator/testing/index.d.ts +14 -15
  260. package/paginator.d-40b1766e.d.ts +199 -0
  261. package/palette.d-ec4a617c.d.ts +4 -0
  262. package/progress-bar/index.d.ts +40 -59
  263. package/progress-bar/testing/index.d.ts +7 -10
  264. package/progress-spinner/index.d.ts +8 -110
  265. package/progress-spinner/testing/index.d.ts +10 -11
  266. package/progress-spinner.d-1fc040c5.d.ts +96 -0
  267. package/pseudo-checkbox-module.d-3abc0461.d.ts +44 -0
  268. package/radio/index.d.ts +151 -170
  269. package/radio/testing/index.d.ts +61 -67
  270. package/ripple-loader.d-8aac2988.d.ts +48 -0
  271. package/ripple.d-2fb57d04.d.ts +255 -0
  272. package/schematics/ng-add/index.js +1 -1
  273. package/schematics/ng-add/index.mjs +1 -1
  274. package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
  275. package/schematics/ng-generate/theme-color/schema.json +10 -0
  276. package/schematics/ng-update/index_bundled.js +31 -31
  277. package/select/index.d.ts +25 -505
  278. package/select/testing/index.d.ts +5 -67
  279. package/select-harness.d-7441a7ac.d.ts +63 -0
  280. package/sidenav/index.d.ts +49 -92
  281. package/sidenav/testing/index.d.ts +58 -63
  282. package/slide-toggle/index.d.ts +39 -110
  283. package/slide-toggle/testing/index.d.ts +17 -21
  284. package/slider/index.d.ts +281 -328
  285. package/slider/testing/index.d.ts +42 -47
  286. package/snack-bar/index.d.ts +152 -185
  287. package/snack-bar/testing/index.d.ts +7 -9
  288. package/sort/index.d.ts +61 -169
  289. package/sort/testing/index.d.ts +22 -25
  290. package/sort-direction.d-f4ce4649.d.ts +3 -0
  291. package/sort.d-c2b79a45.d.ts +87 -0
  292. package/stepper/index.d.ts +115 -167
  293. package/stepper/testing/index.d.ts +43 -52
  294. package/table/index.d.ts +97 -156
  295. package/table/testing/index.d.ts +64 -78
  296. package/tabs/index.d.ts +309 -383
  297. package/tabs/testing/index.d.ts +67 -76
  298. package/timepicker/index.d.ts +127 -160
  299. package/timepicker/testing/index.d.ts +20 -26
  300. package/toolbar/index.d.ts +15 -26
  301. package/toolbar/testing/index.d.ts +13 -16
  302. package/tooltip/index.d.ts +11 -355
  303. package/tooltip/testing/index.d.ts +7 -10
  304. package/tree/index.d.ts +117 -163
  305. package/tree/testing/index.d.ts +52 -58
@@ -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 };
@@ -1,116 +1,14 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { M as MatProgressSpinner } from '../progress-spinner.d-1fc040c5.js';
2
+ export { b as MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS, c as MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY, M as MatProgressSpinner, a as MatProgressSpinnerDefaultOptions, d as MatSpinner, P as ProgressSpinnerMode } from '../progress-spinner.d-1fc040c5.js';
2
3
  import * as i0 from '@angular/core';
3
- import * as i2 from '@angular/material/core';
4
- import { InjectionToken } from '@angular/core';
5
- import { ThemePalette } from '@angular/material/core';
4
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
5
+ import '../palette.d-ec4a617c.js';
6
+ import '@angular/cdk/bidi';
6
7
 
7
- declare namespace i1 {
8
- export {
9
- MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY,
10
- ProgressSpinnerMode,
11
- MatProgressSpinnerDefaultOptions,
12
- MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS,
13
- MatProgressSpinner,
14
- MatSpinner
15
- }
16
- }
17
-
18
- /** Injection token to be used to override the default options for `mat-progress-spinner`. */
19
- export declare const MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS: InjectionToken<MatProgressSpinnerDefaultOptions>;
20
-
21
- /** @docs-private */
22
- export declare function MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY(): MatProgressSpinnerDefaultOptions;
23
-
24
- export declare class MatProgressSpinner {
25
- readonly _elementRef: ElementRef<HTMLElement>;
26
- /** Whether the _mat-animation-noopable class should be applied, disabling animations. */
27
- _noopAnimations: boolean;
28
- /**
29
- * Theme color of the progress spinner. This API is supported in M2 themes only, it
30
- * has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-spinner/styling.
31
- *
32
- * For information on applying color variants in M3, see
33
- * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
34
- */
35
- get color(): string | null | undefined;
36
- set color(value: string | null | undefined);
37
- private _color;
38
- private _defaultColor;
39
- /** The element of the determinate spinner. */
40
- _determinateCircle: ElementRef<HTMLElement>;
41
- constructor(...args: unknown[]);
42
- /**
43
- * Mode of the progress bar.
44
- *
45
- * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to
46
- * 'determinate'.
47
- * Mirrored to mode attribute.
48
- */
49
- mode: ProgressSpinnerMode;
50
- /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */
51
- get value(): number;
52
- set value(v: number);
53
- private _value;
54
- /** The diameter of the progress spinner (will set width and height of svg). */
55
- get diameter(): number;
56
- set diameter(size: number);
57
- private _diameter;
58
- /** Stroke width of the progress spinner. */
59
- get strokeWidth(): number;
60
- set strokeWidth(value: number);
61
- private _strokeWidth;
62
- /** The radius of the spinner, adjusted for stroke width. */
63
- _circleRadius(): number;
64
- /** The view box of the spinner's svg element. */
65
- _viewBox(): string;
66
- /** The stroke circumference of the svg circle. */
67
- _strokeCircumference(): number;
68
- /** The dash offset of the svg circle. */
69
- _strokeDashOffset(): number | null;
70
- /** Stroke width of the circle in percent. */
71
- _circleStrokeWidth(): number;
72
- static ɵfac: i0.ɵɵFactoryDeclaration<MatProgressSpinner, never>;
73
- static ɵcmp: i0.ɵɵComponentDeclaration<MatProgressSpinner, "mat-progress-spinner, mat-spinner", ["matProgressSpinner"], { "color": { "alias": "color"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; }, {}, never, never, true, never>;
74
- static ngAcceptInputType_value: unknown;
75
- static ngAcceptInputType_diameter: unknown;
76
- static ngAcceptInputType_strokeWidth: unknown;
77
- }
78
-
79
- /** Default `mat-progress-spinner` options that can be overridden. */
80
- export declare interface MatProgressSpinnerDefaultOptions {
81
- /**
82
- * Default theme color of the progress spinner. This API is supported in M2 themes only, it
83
- * has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-spinner/styling.
84
- *
85
- * For information on applying color variants in M3, see
86
- * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
87
- */
88
- color?: ThemePalette;
89
- /** Diameter of the spinner. */
90
- diameter?: number;
91
- /** Width of the spinner's stroke. */
92
- strokeWidth?: number;
93
- /**
94
- * Whether the animations should be force to be enabled, ignoring if the current environment is
95
- * using NoopAnimationsModule.
96
- */
97
- _forceAnimations?: boolean;
98
- }
99
-
100
- export declare class MatProgressSpinnerModule {
8
+ declare class MatProgressSpinnerModule {
101
9
  static ɵfac: i0.ɵɵFactoryDeclaration<MatProgressSpinnerModule, never>;
102
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatProgressSpinnerModule, never, [typeof i1.MatProgressSpinner, typeof i1.MatProgressSpinner], [typeof i1.MatProgressSpinner, typeof i1.MatProgressSpinner, typeof i2.MatCommonModule]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatProgressSpinnerModule, never, [typeof MatProgressSpinner, typeof MatProgressSpinner], [typeof MatProgressSpinner, typeof MatProgressSpinner, typeof MatCommonModule]>;
103
11
  static ɵinj: i0.ɵɵInjectorDeclaration<MatProgressSpinnerModule>;
104
12
  }
105
13
 
106
- /**
107
- * @deprecated Import Progress Spinner instead. Note that the
108
- * `mat-spinner` selector isn't deprecated.
109
- * @breaking-change 16.0.0
110
- */
111
- export declare const MatSpinner: typeof MatProgressSpinner;
112
-
113
- /** Possible mode for a progress spinner. */
114
- export declare type ProgressSpinnerMode = 'determinate' | 'indeterminate';
115
-
116
- export { }
14
+ export { MatProgressSpinnerModule };
@@ -1,11 +1,14 @@
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';
5
- import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
1
+ import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
2
+ import { P as ProgressSpinnerMode } from '../../progress-spinner.d-1fc040c5.js';
3
+ import '@angular/core';
4
+ import '../../palette.d-ec4a617c.js';
5
+
6
+ /** A set of criteria that can be used to filter a list of `MatProgressSpinnerHarness` instances. */
7
+ interface ProgressSpinnerHarnessFilters extends BaseHarnessFilters {
8
+ }
6
9
 
7
10
  /** Harness for interacting with a MDC based mat-progress-spinner in tests. */
8
- export declare class MatProgressSpinnerHarness extends ComponentHarness {
11
+ declare class MatProgressSpinnerHarness extends ComponentHarness {
9
12
  /** The selector for the host element of a `MatProgressSpinner` instance. */
10
13
  static hostSelector: string;
11
14
  /**
@@ -21,8 +24,4 @@ export declare class MatProgressSpinnerHarness extends ComponentHarness {
21
24
  getMode(): Promise<ProgressSpinnerMode>;
22
25
  }
23
26
 
24
- /** A set of criteria that can be used to filter a list of `MatProgressSpinnerHarness` instances. */
25
- export declare interface ProgressSpinnerHarnessFilters extends BaseHarnessFilters {
26
- }
27
-
28
- export { }
27
+ export { MatProgressSpinnerHarness, type ProgressSpinnerHarnessFilters };
@@ -0,0 +1,96 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, ElementRef } from '@angular/core';
3
+ import { T as ThemePalette } from './palette.d-ec4a617c.js';
4
+
5
+ /** Possible mode for a progress spinner. */
6
+ type ProgressSpinnerMode = 'determinate' | 'indeterminate';
7
+ /** Default `mat-progress-spinner` options that can be overridden. */
8
+ interface MatProgressSpinnerDefaultOptions {
9
+ /**
10
+ * Default theme color of the progress spinner. This API is supported in M2 themes only, it
11
+ * has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-spinner/styling.
12
+ *
13
+ * For information on applying color variants in M3, see
14
+ * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
15
+ */
16
+ color?: ThemePalette;
17
+ /** Diameter of the spinner. */
18
+ diameter?: number;
19
+ /** Width of the spinner's stroke. */
20
+ strokeWidth?: number;
21
+ /**
22
+ * Whether the animations should be force to be enabled, ignoring if the current environment is
23
+ * using NoopAnimationsModule.
24
+ */
25
+ _forceAnimations?: boolean;
26
+ }
27
+ /** Injection token to be used to override the default options for `mat-progress-spinner`. */
28
+ declare const MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS: InjectionToken<MatProgressSpinnerDefaultOptions>;
29
+ /**
30
+ * @docs-private
31
+ * @deprecated No longer used, will be removed.
32
+ * @breaking-change 21.0.0
33
+ */
34
+ declare function MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY(): MatProgressSpinnerDefaultOptions;
35
+ declare class MatProgressSpinner {
36
+ readonly _elementRef: ElementRef<HTMLElement>;
37
+ /** Whether the _mat-animation-noopable class should be applied, disabling animations. */
38
+ _noopAnimations: boolean;
39
+ /**
40
+ * Theme color of the progress spinner. This API is supported in M2 themes only, it
41
+ * has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/progress-spinner/styling.
42
+ *
43
+ * For information on applying color variants in M3, see
44
+ * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
45
+ */
46
+ get color(): string | null | undefined;
47
+ set color(value: string | null | undefined);
48
+ private _color;
49
+ private _defaultColor;
50
+ /** The element of the determinate spinner. */
51
+ _determinateCircle: ElementRef<HTMLElement>;
52
+ constructor(...args: unknown[]);
53
+ /**
54
+ * Mode of the progress bar.
55
+ *
56
+ * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to
57
+ * 'determinate'.
58
+ * Mirrored to mode attribute.
59
+ */
60
+ mode: ProgressSpinnerMode;
61
+ /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */
62
+ get value(): number;
63
+ set value(v: number);
64
+ private _value;
65
+ /** The diameter of the progress spinner (will set width and height of svg). */
66
+ get diameter(): number;
67
+ set diameter(size: number);
68
+ private _diameter;
69
+ /** Stroke width of the progress spinner. */
70
+ get strokeWidth(): number;
71
+ set strokeWidth(value: number);
72
+ private _strokeWidth;
73
+ /** The radius of the spinner, adjusted for stroke width. */
74
+ _circleRadius(): number;
75
+ /** The view box of the spinner's svg element. */
76
+ _viewBox(): string;
77
+ /** The stroke circumference of the svg circle. */
78
+ _strokeCircumference(): number;
79
+ /** The dash offset of the svg circle. */
80
+ _strokeDashOffset(): number | null;
81
+ /** Stroke width of the circle in percent. */
82
+ _circleStrokeWidth(): number;
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatProgressSpinner, never>;
84
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatProgressSpinner, "mat-progress-spinner, mat-spinner", ["matProgressSpinner"], { "color": { "alias": "color"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; }, {}, never, never, true, never>;
85
+ static ngAcceptInputType_value: unknown;
86
+ static ngAcceptInputType_diameter: unknown;
87
+ static ngAcceptInputType_strokeWidth: unknown;
88
+ }
89
+ /**
90
+ * @deprecated Import Progress Spinner instead. Note that the
91
+ * `mat-spinner` selector isn't deprecated.
92
+ * @breaking-change 16.0.0
93
+ */
94
+ declare const MatSpinner: typeof MatProgressSpinner;
95
+
96
+ export { MatProgressSpinner as M, type ProgressSpinnerMode as P, type MatProgressSpinnerDefaultOptions as a, MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS as b, MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY as c, MatSpinner as d };
@@ -0,0 +1,44 @@
1
+ import * as i0 from '@angular/core';
2
+ import { M as MatCommonModule } from './common-module.d-0e6515ae.js';
3
+
4
+ /**
5
+ * Possible states for a pseudo checkbox.
6
+ * @docs-private
7
+ */
8
+ type MatPseudoCheckboxState = 'unchecked' | 'checked' | 'indeterminate';
9
+ /**
10
+ * Component that shows a simplified checkbox without including any kind of "real" checkbox.
11
+ * Meant to be used when the checkbox is purely decorative and a large number of them will be
12
+ * included, such as for the options in a multi-select. Uses no SVGs or complex animations.
13
+ * Note that theming is meant to be handled by the parent element, e.g.
14
+ * `mat-primary .mat-pseudo-checkbox`.
15
+ *
16
+ * Note that this component will be completely invisible to screen-reader users. This is *not*
17
+ * interchangeable with `<mat-checkbox>` and should *not* be used if the user would directly
18
+ * interact with the checkbox. The pseudo-checkbox should only be used as an implementation detail
19
+ * of more complex components that appropriately handle selected / checked state.
20
+ * @docs-private
21
+ */
22
+ declare class MatPseudoCheckbox {
23
+ _animationMode?: "NoopAnimations" | "BrowserAnimations" | null | undefined;
24
+ /** Display state of the checkbox. */
25
+ state: MatPseudoCheckboxState;
26
+ /** Whether the checkbox is disabled. */
27
+ disabled: boolean;
28
+ /**
29
+ * Appearance of the pseudo checkbox. Default appearance of 'full' renders a checkmark/mixedmark
30
+ * indicator inside a square box. 'minimal' appearance only renders the checkmark/mixedmark.
31
+ */
32
+ appearance: 'minimal' | 'full';
33
+ constructor(...args: unknown[]);
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatPseudoCheckbox, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatPseudoCheckbox, "mat-pseudo-checkbox", never, { "state": { "alias": "state"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, never, true, never>;
36
+ }
37
+
38
+ declare class MatPseudoCheckboxModule {
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatPseudoCheckboxModule, never>;
40
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatPseudoCheckboxModule, never, [typeof MatCommonModule, typeof MatPseudoCheckbox], [typeof MatPseudoCheckbox]>;
41
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatPseudoCheckboxModule>;
42
+ }
43
+
44
+ export { MatPseudoCheckboxModule as M, type MatPseudoCheckboxState as a, MatPseudoCheckbox as b };