@angular/material 19.2.3 → 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 (262) hide show
  1. package/autocomplete/index.d.ts +12 -5
  2. package/autocomplete/testing/index.d.ts +2 -1
  3. package/badge/index.d.ts +7 -98
  4. package/badge/testing/index.d.ts +3 -1
  5. package/badge.d-49a8a74b.d.ts +98 -0
  6. package/bottom-sheet/index.d.ts +2 -2
  7. package/button/index.d.ts +10 -220
  8. package/button-toggle/index.d.ts +10 -257
  9. package/button-toggle/testing/index.d.ts +4 -1
  10. package/button-toggle.d-edc8acff.d.ts +257 -0
  11. package/card/index.d.ts +3 -2
  12. package/checkbox/index.d.ts +4 -3
  13. package/chips/index.d.ts +8 -4
  14. package/common-module.d-0e6515ae.d.ts +43 -0
  15. package/core/index.d.ts +21 -846
  16. package/core/testing/index.d.ts +3 -61
  17. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +3 -1
  18. package/core/tokens/m3/definitions/_md-sys-color.scss +44 -2
  19. package/core/tokens/m3/definitions/_md-sys-typescale.scss +20 -1
  20. package/date-adapter.d-c6835d41.d.ts +267 -0
  21. package/date-range-input-harness.d-549a9f7e.d.ts +278 -0
  22. package/datepicker/index.d.ts +18 -12
  23. package/datepicker/testing/index.d.ts +5 -277
  24. package/dialog/index.d.ts +12 -360
  25. package/dialog/testing/index.d.ts +6 -1
  26. package/dialog.d-7187c941.d.ts +357 -0
  27. package/divider/index.d.ts +3 -2
  28. package/divider/testing/index.d.ts +2 -14
  29. package/divider-harness.d-d34fede4.d.ts +14 -0
  30. package/error-options.d-448d9046.d.ts +17 -0
  31. package/expansion/index.d.ts +3 -2
  32. package/fesm2022/autocomplete/testing.mjs +2 -1
  33. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  34. package/fesm2022/autocomplete.mjs +14 -3
  35. package/fesm2022/autocomplete.mjs.map +1 -1
  36. package/fesm2022/badge/testing.mjs.map +1 -1
  37. package/fesm2022/badge.mjs +2 -1
  38. package/fesm2022/badge.mjs.map +1 -1
  39. package/fesm2022/bottom-sheet.mjs +3 -1
  40. package/fesm2022/bottom-sheet.mjs.map +1 -1
  41. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  42. package/fesm2022/button-toggle.mjs +7 -1
  43. package/fesm2022/button-toggle.mjs.map +1 -1
  44. package/fesm2022/button.mjs +14 -481
  45. package/fesm2022/button.mjs.map +1 -1
  46. package/fesm2022/card.mjs +3 -1
  47. package/fesm2022/card.mjs.map +1 -1
  48. package/fesm2022/checkbox.mjs +7 -1
  49. package/fesm2022/checkbox.mjs.map +1 -1
  50. package/fesm2022/chips.mjs +11 -2
  51. package/fesm2022/chips.mjs.map +1 -1
  52. package/fesm2022/common-module-a39ee957.mjs +42 -0
  53. package/fesm2022/common-module-a39ee957.mjs.map +1 -0
  54. package/fesm2022/core/testing.mjs +3 -76
  55. package/fesm2022/core/testing.mjs.map +1 -1
  56. package/fesm2022/core.mjs +27 -1587
  57. package/fesm2022/core.mjs.map +1 -1
  58. package/fesm2022/date-formats-b618acb8.mjs +190 -0
  59. package/fesm2022/date-formats-b618acb8.mjs.map +1 -0
  60. package/fesm2022/date-range-input-harness-ee47cdb0.mjs +467 -0
  61. package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +1 -0
  62. package/fesm2022/datepicker/testing.mjs +5 -465
  63. package/fesm2022/datepicker/testing.mjs.map +1 -1
  64. package/fesm2022/datepicker.mjs +23 -13
  65. package/fesm2022/datepicker.mjs.map +1 -1
  66. package/fesm2022/dialog/testing.mjs +12 -1
  67. package/fesm2022/dialog/testing.mjs.map +1 -1
  68. package/fesm2022/dialog.mjs +14 -897
  69. package/fesm2022/dialog.mjs.map +1 -1
  70. package/fesm2022/divider/testing.mjs +2 -17
  71. package/fesm2022/divider/testing.mjs.map +1 -1
  72. package/fesm2022/divider-harness-3394f29a.mjs +18 -0
  73. package/fesm2022/divider-harness-3394f29a.mjs.map +1 -0
  74. package/fesm2022/divider.mjs +3 -1
  75. package/fesm2022/divider.mjs.map +1 -1
  76. package/fesm2022/error-options-aca21924.mjs +29 -0
  77. package/fesm2022/error-options-aca21924.mjs.map +1 -0
  78. package/fesm2022/error-state-8f4ce1af.mjs +37 -0
  79. package/fesm2022/error-state-8f4ce1af.mjs.map +1 -0
  80. package/fesm2022/expansion.mjs +3 -1
  81. package/fesm2022/expansion.mjs.map +1 -1
  82. package/fesm2022/form-field/testing/control.mjs +2 -10
  83. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  84. package/fesm2022/form-field/testing.mjs +7 -4
  85. package/fesm2022/form-field/testing.mjs.map +1 -1
  86. package/fesm2022/form-field-50ec956f.mjs +1076 -0
  87. package/fesm2022/form-field-50ec956f.mjs.map +1 -0
  88. package/fesm2022/form-field-control-harness-af6fd278.mjs +11 -0
  89. package/fesm2022/form-field-control-harness-af6fd278.mjs.map +1 -0
  90. package/fesm2022/form-field.mjs +14 -1106
  91. package/fesm2022/form-field.mjs.map +1 -1
  92. package/fesm2022/grid-list/testing.mjs +1 -1
  93. package/fesm2022/grid-list/testing.mjs.map +1 -1
  94. package/fesm2022/grid-list.mjs +8 -147
  95. package/fesm2022/grid-list.mjs.map +1 -1
  96. package/fesm2022/icon/testing.mjs +5 -1
  97. package/fesm2022/icon/testing.mjs.map +1 -1
  98. package/fesm2022/icon-button-655c4ed3.mjs +275 -0
  99. package/fesm2022/icon-button-655c4ed3.mjs.map +1 -0
  100. package/fesm2022/icon-module-881c6455.mjs +395 -0
  101. package/fesm2022/icon-module-881c6455.mjs.map +1 -0
  102. package/fesm2022/icon-registry-e1064d47.mjs +639 -0
  103. package/fesm2022/icon-registry-e1064d47.mjs.map +1 -0
  104. package/fesm2022/icon.mjs +11 -1024
  105. package/fesm2022/icon.mjs.map +1 -1
  106. package/fesm2022/index-2f2536d6.mjs +22 -0
  107. package/fesm2022/index-2f2536d6.mjs.map +1 -0
  108. package/fesm2022/index-a36e3c7c.mjs +20 -0
  109. package/fesm2022/index-a36e3c7c.mjs.map +1 -0
  110. package/fesm2022/input/testing.mjs +5 -113
  111. package/fesm2022/input/testing.mjs.map +1 -1
  112. package/fesm2022/input-harness-ed59decc.mjs +115 -0
  113. package/fesm2022/input-harness-ed59decc.mjs.map +1 -0
  114. package/fesm2022/input-value-accessor-8a79a24e.mjs +12 -0
  115. package/fesm2022/input-value-accessor-8a79a24e.mjs.map +1 -0
  116. package/fesm2022/input.mjs +14 -12
  117. package/fesm2022/input.mjs.map +1 -1
  118. package/fesm2022/internal-form-field-5960ea2e.mjs +27 -0
  119. package/fesm2022/internal-form-field-5960ea2e.mjs.map +1 -0
  120. package/fesm2022/line-11b0093d.mjs +59 -0
  121. package/fesm2022/line-11b0093d.mjs.map +1 -0
  122. package/fesm2022/list/testing.mjs +1 -1
  123. package/fesm2022/list/testing.mjs.map +1 -1
  124. package/fesm2022/list.mjs +8 -1
  125. package/fesm2022/list.mjs.map +1 -1
  126. package/fesm2022/menu.mjs +5 -1
  127. package/fesm2022/menu.mjs.map +1 -1
  128. package/fesm2022/module-0776ab9b.mjs +38 -0
  129. package/fesm2022/module-0776ab9b.mjs.map +1 -0
  130. package/fesm2022/module-087ecec3.mjs +970 -0
  131. package/fesm2022/module-087ecec3.mjs.map +1 -0
  132. package/fesm2022/module-6b33072b.mjs +218 -0
  133. package/fesm2022/module-6b33072b.mjs.map +1 -0
  134. package/fesm2022/module-b0a3e0af.mjs +1293 -0
  135. package/fesm2022/module-b0a3e0af.mjs.map +1 -0
  136. package/fesm2022/module-b3de5709.mjs +899 -0
  137. package/fesm2022/module-b3de5709.mjs.map +1 -0
  138. package/fesm2022/optgroup-harness-5e66b138.mjs +36 -0
  139. package/fesm2022/optgroup-harness-5e66b138.mjs.map +1 -0
  140. package/fesm2022/option-cb353f7a.mjs +348 -0
  141. package/fesm2022/option-cb353f7a.mjs.map +1 -0
  142. package/fesm2022/option-harness-3b7c1106.mjs +46 -0
  143. package/fesm2022/option-harness-3b7c1106.mjs.map +1 -0
  144. package/fesm2022/paginator/testing.mjs +4 -1
  145. package/fesm2022/paginator/testing.mjs.map +1 -1
  146. package/fesm2022/paginator.mjs +33 -7
  147. package/fesm2022/paginator.mjs.map +1 -1
  148. package/fesm2022/progress-bar.mjs +3 -1
  149. package/fesm2022/progress-bar.mjs.map +1 -1
  150. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  151. package/fesm2022/progress-spinner.mjs +3 -1
  152. package/fesm2022/progress-spinner.mjs.map +1 -1
  153. package/fesm2022/pseudo-checkbox-4a60d45e.mjs +52 -0
  154. package/fesm2022/pseudo-checkbox-4a60d45e.mjs.map +1 -0
  155. package/fesm2022/pseudo-checkbox-module-31a58606.mjs +20 -0
  156. package/fesm2022/pseudo-checkbox-module-31a58606.mjs.map +1 -0
  157. package/fesm2022/public-api-c5ab57f5.mjs +147 -0
  158. package/fesm2022/public-api-c5ab57f5.mjs.map +1 -0
  159. package/fesm2022/radio.mjs +8 -1
  160. package/fesm2022/radio.mjs.map +1 -1
  161. package/fesm2022/ripple-5bdada85.mjs +639 -0
  162. package/fesm2022/ripple-5bdada85.mjs.map +1 -0
  163. package/fesm2022/ripple-loader-dabcd93d.mjs +165 -0
  164. package/fesm2022/ripple-loader-dabcd93d.mjs.map +1 -0
  165. package/fesm2022/select/testing.mjs +5 -121
  166. package/fesm2022/select/testing.mjs.map +1 -1
  167. package/fesm2022/select-harness-8c55824d.mjs +123 -0
  168. package/fesm2022/select-harness-8c55824d.mjs.map +1 -0
  169. package/fesm2022/select.mjs +30 -1288
  170. package/fesm2022/select.mjs.map +1 -1
  171. package/fesm2022/sidenav.mjs +1 -1
  172. package/fesm2022/sidenav.mjs.map +1 -1
  173. package/fesm2022/slide-toggle.mjs +7 -1
  174. package/fesm2022/slide-toggle.mjs.map +1 -1
  175. package/fesm2022/slider.mjs +6 -1
  176. package/fesm2022/slider.mjs.map +1 -1
  177. package/fesm2022/snack-bar.mjs +10 -2
  178. package/fesm2022/snack-bar.mjs.map +1 -1
  179. package/fesm2022/sort/testing.mjs.map +1 -1
  180. package/fesm2022/sort.mjs +3 -1
  181. package/fesm2022/sort.mjs.map +1 -1
  182. package/fesm2022/stepper.mjs +11 -2
  183. package/fesm2022/stepper.mjs.map +1 -1
  184. package/fesm2022/structural-styles-326dcb39.mjs +18 -0
  185. package/fesm2022/structural-styles-326dcb39.mjs.map +1 -0
  186. package/fesm2022/table.mjs +3 -1
  187. package/fesm2022/table.mjs.map +1 -1
  188. package/fesm2022/tabs.mjs +4 -1
  189. package/fesm2022/tabs.mjs.map +1 -1
  190. package/fesm2022/timepicker/testing.mjs +1 -1
  191. package/fesm2022/timepicker/testing.mjs.map +1 -1
  192. package/fesm2022/timepicker.mjs +19 -5
  193. package/fesm2022/timepicker.mjs.map +1 -1
  194. package/fesm2022/toolbar.mjs +3 -1
  195. package/fesm2022/toolbar.mjs.map +1 -1
  196. package/fesm2022/tooltip.mjs +15 -968
  197. package/fesm2022/tooltip.mjs.map +1 -1
  198. package/fesm2022/tree.mjs +3 -1
  199. package/fesm2022/tree.mjs.map +1 -1
  200. package/form-field/index.d.ts +12 -437
  201. package/form-field/testing/control/index.d.ts +2 -10
  202. package/form-field/testing/index.d.ts +7 -5
  203. package/form-field-control-harness.d-2d91f25a.d.ts +10 -0
  204. package/form-field-control.d-eb86711c.d.ts +62 -0
  205. package/form-field.d-2edbc094.d.ts +367 -0
  206. package/grid-list/index.d.ts +5 -3
  207. package/icon/index.d.ts +9 -449
  208. package/icon/testing/index.d.ts +3 -1
  209. package/icon-module.d-aa3bbba0.d.ts +167 -0
  210. package/icon-registry.d-1dffe9de.d.ts +286 -0
  211. package/index.d-0536b706.d.ts +11 -0
  212. package/index.d-37e31cd3.d.ts +13 -0
  213. package/input/index.d.ts +11 -6
  214. package/input/testing/index.d.ts +4 -59
  215. package/input-harness.d-4eecd1d3.d.ts +60 -0
  216. package/line.d-570a2537.d.ts +25 -0
  217. package/list/index.d.ts +13 -19
  218. package/list/testing/index.d.ts +2 -2
  219. package/list-option-types.d-8739f903.d.ts +15 -0
  220. package/menu/index.d.ts +6 -3
  221. package/module.d-74a721b9.d.ts +326 -0
  222. package/module.d-ba05faa6.d.ts +448 -0
  223. package/module.d-c17c834e.d.ts +18 -0
  224. package/module.d-f490a6d4.d.ts +224 -0
  225. package/optgroup-harness.d-7f741f69.d.ts +31 -0
  226. package/option-harness.d-3d33fc9a.d.ts +34 -0
  227. package/option-parent.d-559ad5c5.d.ts +19 -0
  228. package/option.d-6f493d78.d.ts +146 -0
  229. package/package.json +2 -2
  230. package/paginator/index.d.ts +29 -201
  231. package/paginator/testing/index.d.ts +4 -1
  232. package/paginator.d-40b1766e.d.ts +199 -0
  233. package/palette.d-ec4a617c.d.ts +4 -0
  234. package/progress-bar/index.d.ts +4 -3
  235. package/progress-spinner/index.d.ts +7 -96
  236. package/progress-spinner/testing/index.d.ts +3 -1
  237. package/progress-spinner.d-1fc040c5.d.ts +96 -0
  238. package/pseudo-checkbox-module.d-3abc0461.d.ts +44 -0
  239. package/radio/index.d.ts +7 -3
  240. package/ripple-loader.d-8aac2988.d.ts +48 -0
  241. package/ripple.d-2fb57d04.d.ts +255 -0
  242. package/schematics/ng-add/index.js +1 -1
  243. package/schematics/ng-add/index.mjs +1 -1
  244. package/select/index.d.ts +24 -446
  245. package/select/testing/index.d.ts +5 -62
  246. package/select-harness.d-7441a7ac.d.ts +63 -0
  247. package/sidenav/index.d.ts +4 -3
  248. package/slide-toggle/index.d.ts +4 -3
  249. package/slider/index.d.ts +6 -3
  250. package/snack-bar/index.d.ts +8 -3
  251. package/sort/index.d.ts +10 -88
  252. package/sort/testing/index.d.ts +1 -1
  253. package/sort-direction.d-f4ce4649.d.ts +3 -0
  254. package/sort.d-c2b79a45.d.ts +87 -0
  255. package/stepper/index.d.ts +9 -4
  256. package/table/index.d.ts +11 -4
  257. package/tabs/index.d.ts +5 -3
  258. package/timepicker/index.d.ts +6 -3
  259. package/timepicker/testing/index.d.ts +1 -1
  260. package/toolbar/index.d.ts +3 -2
  261. package/tooltip/index.d.ts +10 -325
  262. package/tree/index.d.ts +3 -2
@@ -1,264 +1,17 @@
1
- import { Direction } from '@angular/cdk/bidi';
1
+ import { M as MatButtonToggleGroup, a as MatButtonToggle } from '../button-toggle.d-edc8acff.js';
2
+ export { d as MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, f as MAT_BUTTON_TOGGLE_GROUP, e as MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, g as MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, a as MatButtonToggle, b as MatButtonToggleAppearance, h as MatButtonToggleChange, c as MatButtonToggleDefaultOptions, M as MatButtonToggleGroup, T as ToggleType } from '../button-toggle.d-edc8acff.js';
2
3
  import * as i0 from '@angular/core';
3
- import { InjectionToken, OnInit, AfterContentInit, QueryList, EventEmitter, AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
4
- import { ControlValueAccessor } from '@angular/forms';
5
- import * as i1 from '@angular/material/core';
6
-
7
- /**
8
- * @deprecated No longer used.
9
- * @breaking-change 11.0.0
10
- */
11
- type ToggleType = 'checkbox' | 'radio';
12
- /** Possible appearance styles for the button toggle. */
13
- type MatButtonToggleAppearance = 'legacy' | 'standard';
14
- /**
15
- * Represents the default options for the button toggle that can be configured
16
- * using the `MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS` injection token.
17
- */
18
- interface MatButtonToggleDefaultOptions {
19
- /**
20
- * Default appearance to be used by button toggles. Can be overridden by explicitly
21
- * setting an appearance on a button toggle or group.
22
- */
23
- appearance?: MatButtonToggleAppearance;
24
- /** Whether icon indicators should be hidden for single-selection button toggle groups. */
25
- hideSingleSelectionIndicator?: boolean;
26
- /** Whether icon indicators should be hidden for multiple-selection button toggle groups. */
27
- hideMultipleSelectionIndicator?: boolean;
28
- /** Whether disabled toggle buttons should be interactive. */
29
- disabledInteractive?: boolean;
30
- }
31
- /**
32
- * Injection token that can be used to configure the
33
- * default options for all button toggles within an app.
34
- */
35
- declare const MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS: InjectionToken<MatButtonToggleDefaultOptions>;
36
- /**
37
- * @docs-private
38
- * @deprecated No longer used, will be removed.
39
- * @breaking-change 21.0.0
40
- */
41
- declare function MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY(): MatButtonToggleDefaultOptions;
42
- /**
43
- * Injection token that can be used to reference instances of `MatButtonToggleGroup`.
44
- * It serves as alternative token to the actual `MatButtonToggleGroup` class which
45
- * could cause unnecessary retention of the class and its component metadata.
46
- */
47
- declare const MAT_BUTTON_TOGGLE_GROUP: InjectionToken<MatButtonToggleGroup>;
48
- /**
49
- * Provider Expression that allows mat-button-toggle-group to register as a ControlValueAccessor.
50
- * This allows it to support [(ngModel)].
51
- * @docs-private
52
- */
53
- declare const MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR: any;
54
- /** Change event object emitted by button toggle. */
55
- declare class MatButtonToggleChange {
56
- /** The button toggle that emits the event. */
57
- source: MatButtonToggle;
58
- /** The value assigned to the button toggle. */
59
- value: any;
60
- constructor(
61
- /** The button toggle that emits the event. */
62
- source: MatButtonToggle,
63
- /** The value assigned to the button toggle. */
64
- value: any);
65
- }
66
- /** Exclusive selection button toggle group that behaves like a radio-button group. */
67
- declare class MatButtonToggleGroup implements ControlValueAccessor, OnInit, AfterContentInit {
68
- private _changeDetector;
69
- private _dir;
70
- private _multiple;
71
- private _disabled;
72
- private _disabledInteractive;
73
- private _selectionModel;
74
- /**
75
- * Reference to the raw value that the consumer tried to assign. The real
76
- * value will exclude any values from this one that don't correspond to a
77
- * toggle. Useful for the cases where the value is assigned before the toggles
78
- * have been initialized or at the same that they're being swapped out.
79
- */
80
- private _rawValue;
81
- /**
82
- * The method to be called in order to update ngModel.
83
- * Now `ngModel` binding is not supported in multiple selection mode.
84
- */
85
- _controlValueAccessorChangeFn: (value: any) => void;
86
- /** onTouch function registered via registerOnTouch (ControlValueAccessor). */
87
- _onTouched: () => any;
88
- /** Child button toggle buttons. */
89
- _buttonToggles: QueryList<MatButtonToggle>;
90
- /** The appearance for all the buttons in the group. */
91
- appearance: MatButtonToggleAppearance;
92
- /** `name` attribute for the underlying `input` element. */
93
- get name(): string;
94
- set name(value: string);
95
- private _name;
96
- /** Whether the toggle group is vertical. */
97
- vertical: boolean;
98
- /** Value of the toggle group. */
99
- get value(): any;
100
- set value(newValue: any);
101
- /**
102
- * Event that emits whenever the value of the group changes.
103
- * Used to facilitate two-way data binding.
104
- * @docs-private
105
- */
106
- readonly valueChange: EventEmitter<any>;
107
- /** Selected button toggles in the group. */
108
- get selected(): MatButtonToggle | MatButtonToggle[];
109
- /** Whether multiple button toggles can be selected. */
110
- get multiple(): boolean;
111
- set multiple(value: boolean);
112
- /** Whether multiple button toggle group is disabled. */
113
- get disabled(): boolean;
114
- set disabled(value: boolean);
115
- /** Whether buttons in the group should be interactive while they're disabled. */
116
- get disabledInteractive(): boolean;
117
- set disabledInteractive(value: boolean);
118
- /** The layout direction of the toggle button group. */
119
- get dir(): Direction;
120
- /** Event emitted when the group's value changes. */
121
- readonly change: EventEmitter<MatButtonToggleChange>;
122
- /** Whether checkmark indicator for single-selection button toggle groups is hidden. */
123
- get hideSingleSelectionIndicator(): boolean;
124
- set hideSingleSelectionIndicator(value: boolean);
125
- private _hideSingleSelectionIndicator;
126
- /** Whether checkmark indicator for multiple-selection button toggle groups is hidden. */
127
- get hideMultipleSelectionIndicator(): boolean;
128
- set hideMultipleSelectionIndicator(value: boolean);
129
- private _hideMultipleSelectionIndicator;
130
- constructor(...args: unknown[]);
131
- ngOnInit(): void;
132
- ngAfterContentInit(): void;
133
- /**
134
- * Sets the model value. Implemented as part of ControlValueAccessor.
135
- * @param value Value to be set to the model.
136
- */
137
- writeValue(value: any): void;
138
- registerOnChange(fn: (value: any) => void): void;
139
- registerOnTouched(fn: any): void;
140
- setDisabledState(isDisabled: boolean): void;
141
- /** Handle keydown event calling to single-select button toggle. */
142
- protected _keydown(event: KeyboardEvent): void;
143
- /** Dispatch change event with current selection and group value. */
144
- _emitChangeEvent(toggle: MatButtonToggle): void;
145
- /**
146
- * Syncs a button toggle's selected state with the model value.
147
- * @param toggle Toggle to be synced.
148
- * @param select Whether the toggle should be selected.
149
- * @param isUserInput Whether the change was a result of a user interaction.
150
- * @param deferEvents Whether to defer emitting the change events.
151
- */
152
- _syncButtonToggle(toggle: MatButtonToggle, select: boolean, isUserInput?: boolean, deferEvents?: boolean): void;
153
- /** Checks whether a button toggle is selected. */
154
- _isSelected(toggle: MatButtonToggle): boolean;
155
- /** Determines whether a button toggle should be checked on init. */
156
- _isPrechecked(toggle: MatButtonToggle): boolean;
157
- /** Initializes the tabindex attribute using the radio pattern. */
158
- private _initializeTabIndex;
159
- /** Obtain the subsequent toggle to which the focus shifts. */
160
- private _getNextButton;
161
- /** Updates the selection state of the toggles in the group based on a value. */
162
- private _setSelectionByValue;
163
- /** Clears the selected toggles. */
164
- private _clearSelection;
165
- /** Selects a value if there's a toggle that corresponds to it. */
166
- private _selectValue;
167
- /** Syncs up the group's value with the model and emits the change event. */
168
- private _updateModelValue;
169
- /** Marks all of the child button toggles to be checked. */
170
- private _markButtonsForCheck;
171
- static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleGroup, never>;
172
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonToggleGroup, "mat-button-toggle-group", ["matButtonToggleGroup"], { "appearance": { "alias": "appearance"; "required": false; }; "name": { "alias": "name"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "value": { "alias": "value"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "hideMultipleSelectionIndicator": { "alias": "hideMultipleSelectionIndicator"; "required": false; }; }, { "valueChange": "valueChange"; "change": "change"; }, ["_buttonToggles"], never, true, never>;
173
- static ngAcceptInputType_vertical: unknown;
174
- static ngAcceptInputType_multiple: unknown;
175
- static ngAcceptInputType_disabled: unknown;
176
- static ngAcceptInputType_disabledInteractive: unknown;
177
- static ngAcceptInputType_hideSingleSelectionIndicator: unknown;
178
- static ngAcceptInputType_hideMultipleSelectionIndicator: unknown;
179
- }
180
- /** Single button inside of a toggle group. */
181
- declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy {
182
- private _changeDetectorRef;
183
- private _elementRef;
184
- private _focusMonitor;
185
- private _idGenerator;
186
- private _animationMode;
187
- private _checked;
188
- /**
189
- * Attached to the aria-label attribute of the host element. In most cases, aria-labelledby will
190
- * take precedence so this may be omitted.
191
- */
192
- ariaLabel: string;
193
- /**
194
- * Users can specify the `aria-labelledby` attribute which will be forwarded to the input element
195
- */
196
- ariaLabelledby: string | null;
197
- /** Underlying native `button` element. */
198
- _buttonElement: ElementRef<HTMLButtonElement>;
199
- /** The parent button toggle group (exclusive selection). Optional. */
200
- buttonToggleGroup: MatButtonToggleGroup;
201
- /** Unique ID for the underlying `button` element. */
202
- get buttonId(): string;
203
- /** The unique ID for this button toggle. */
204
- id: string;
205
- /** HTML's 'name' attribute used to group radios for unique selection. */
206
- name: string;
207
- /** MatButtonToggleGroup reads this to assign its own value. */
208
- value: any;
209
- /** Tabindex of the toggle. */
210
- get tabIndex(): number | null;
211
- set tabIndex(value: number | null);
212
- private _tabIndex;
213
- /** Whether ripples are disabled on the button toggle. */
214
- disableRipple: boolean;
215
- /** The appearance style of the button. */
216
- get appearance(): MatButtonToggleAppearance;
217
- set appearance(value: MatButtonToggleAppearance);
218
- private _appearance;
219
- /** Whether the button is checked. */
220
- get checked(): boolean;
221
- set checked(value: boolean);
222
- /** Whether the button is disabled. */
223
- get disabled(): boolean;
224
- set disabled(value: boolean);
225
- private _disabled;
226
- /** Whether the button should remain interactive when it is disabled. */
227
- get disabledInteractive(): boolean;
228
- set disabledInteractive(value: boolean);
229
- private _disabledInteractive;
230
- /** Event emitted when the group value changes. */
231
- readonly change: EventEmitter<MatButtonToggleChange>;
232
- constructor(...args: unknown[]);
233
- ngOnInit(): void;
234
- ngAfterViewInit(): void;
235
- ngOnDestroy(): void;
236
- /** Focuses the button. */
237
- focus(options?: FocusOptions): void;
238
- /** Checks the button toggle due to an interaction with the underlying native button. */
239
- _onButtonClick(): void;
240
- /**
241
- * Marks the button toggle as needing checking for change detection.
242
- * This method is exposed because the parent button toggle group will directly
243
- * update bound properties of the radio button.
244
- */
245
- _markForCheck(): void;
246
- /** Gets the name that should be assigned to the inner DOM node. */
247
- _getButtonName(): string | null;
248
- /** Whether the toggle is in single selection mode. */
249
- isSingleSelector(): boolean;
250
- static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggle, never>;
251
- static ɵcmp: i0.ɵɵComponentDeclaration<MatButtonToggle, "mat-button-toggle", ["matButtonToggle"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
252
- static ngAcceptInputType_disableRipple: unknown;
253
- static ngAcceptInputType_checked: unknown;
254
- static ngAcceptInputType_disabled: unknown;
255
- static ngAcceptInputType_disabledInteractive: unknown;
256
- }
4
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
5
+ import { M as MatRippleModule } from '../index.d-0536b706.js';
6
+ import '@angular/cdk/bidi';
7
+ import '@angular/forms';
8
+ import '../ripple.d-2fb57d04.js';
9
+ import '@angular/cdk/platform';
257
10
 
258
11
  declare class MatButtonToggleModule {
259
12
  static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleModule, never>;
260
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatButtonToggleModule, never, [typeof i1.MatCommonModule, typeof i1.MatRippleModule, typeof MatButtonToggleGroup, typeof MatButtonToggle], [typeof i1.MatCommonModule, typeof MatButtonToggleGroup, typeof MatButtonToggle]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatButtonToggleModule, never, [typeof MatCommonModule, typeof MatRippleModule, typeof MatButtonToggleGroup, typeof MatButtonToggle], [typeof MatCommonModule, typeof MatButtonToggleGroup, typeof MatButtonToggle]>;
261
14
  static ɵinj: i0.ɵɵInjectorDeclaration<MatButtonToggleModule>;
262
15
  }
263
16
 
264
- export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP, MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, MatButtonToggle, type MatButtonToggleAppearance, MatButtonToggleChange, type MatButtonToggleDefaultOptions, MatButtonToggleGroup, MatButtonToggleModule, type ToggleType };
17
+ export { MatButtonToggleModule };
@@ -1,5 +1,8 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
2
- import { MatButtonToggleAppearance } from '@angular/material/button-toggle';
2
+ import { b as MatButtonToggleAppearance } from '../../button-toggle.d-edc8acff.js';
3
+ import '@angular/cdk/bidi';
4
+ import '@angular/core';
5
+ import '@angular/forms';
3
6
 
4
7
  /** Criteria that can be used to filter a list of `MatButtonToggleHarness` instances. */
5
8
  interface ButtonToggleHarnessFilters extends BaseHarnessFilters {
@@ -0,0 +1,257 @@
1
+ import { Direction } from '@angular/cdk/bidi';
2
+ import * as i0 from '@angular/core';
3
+ import { InjectionToken, OnInit, AfterContentInit, QueryList, EventEmitter, AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
4
+ import { ControlValueAccessor } from '@angular/forms';
5
+
6
+ /**
7
+ * @deprecated No longer used.
8
+ * @breaking-change 11.0.0
9
+ */
10
+ type ToggleType = 'checkbox' | 'radio';
11
+ /** Possible appearance styles for the button toggle. */
12
+ type MatButtonToggleAppearance = 'legacy' | 'standard';
13
+ /**
14
+ * Represents the default options for the button toggle that can be configured
15
+ * using the `MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS` injection token.
16
+ */
17
+ interface MatButtonToggleDefaultOptions {
18
+ /**
19
+ * Default appearance to be used by button toggles. Can be overridden by explicitly
20
+ * setting an appearance on a button toggle or group.
21
+ */
22
+ appearance?: MatButtonToggleAppearance;
23
+ /** Whether icon indicators should be hidden for single-selection button toggle groups. */
24
+ hideSingleSelectionIndicator?: boolean;
25
+ /** Whether icon indicators should be hidden for multiple-selection button toggle groups. */
26
+ hideMultipleSelectionIndicator?: boolean;
27
+ /** Whether disabled toggle buttons should be interactive. */
28
+ disabledInteractive?: boolean;
29
+ }
30
+ /**
31
+ * Injection token that can be used to configure the
32
+ * default options for all button toggles within an app.
33
+ */
34
+ declare const MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS: InjectionToken<MatButtonToggleDefaultOptions>;
35
+ /**
36
+ * @docs-private
37
+ * @deprecated No longer used, will be removed.
38
+ * @breaking-change 21.0.0
39
+ */
40
+ declare function MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY(): MatButtonToggleDefaultOptions;
41
+ /**
42
+ * Injection token that can be used to reference instances of `MatButtonToggleGroup`.
43
+ * It serves as alternative token to the actual `MatButtonToggleGroup` class which
44
+ * could cause unnecessary retention of the class and its component metadata.
45
+ */
46
+ declare const MAT_BUTTON_TOGGLE_GROUP: InjectionToken<MatButtonToggleGroup>;
47
+ /**
48
+ * Provider Expression that allows mat-button-toggle-group to register as a ControlValueAccessor.
49
+ * This allows it to support [(ngModel)].
50
+ * @docs-private
51
+ */
52
+ declare const MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR: any;
53
+ /** Change event object emitted by button toggle. */
54
+ declare class MatButtonToggleChange {
55
+ /** The button toggle that emits the event. */
56
+ source: MatButtonToggle;
57
+ /** The value assigned to the button toggle. */
58
+ value: any;
59
+ constructor(
60
+ /** The button toggle that emits the event. */
61
+ source: MatButtonToggle,
62
+ /** The value assigned to the button toggle. */
63
+ value: any);
64
+ }
65
+ /** Exclusive selection button toggle group that behaves like a radio-button group. */
66
+ declare class MatButtonToggleGroup implements ControlValueAccessor, OnInit, AfterContentInit {
67
+ private _changeDetector;
68
+ private _dir;
69
+ private _multiple;
70
+ private _disabled;
71
+ private _disabledInteractive;
72
+ private _selectionModel;
73
+ /**
74
+ * Reference to the raw value that the consumer tried to assign. The real
75
+ * value will exclude any values from this one that don't correspond to a
76
+ * toggle. Useful for the cases where the value is assigned before the toggles
77
+ * have been initialized or at the same that they're being swapped out.
78
+ */
79
+ private _rawValue;
80
+ /**
81
+ * The method to be called in order to update ngModel.
82
+ * Now `ngModel` binding is not supported in multiple selection mode.
83
+ */
84
+ _controlValueAccessorChangeFn: (value: any) => void;
85
+ /** onTouch function registered via registerOnTouch (ControlValueAccessor). */
86
+ _onTouched: () => any;
87
+ /** Child button toggle buttons. */
88
+ _buttonToggles: QueryList<MatButtonToggle>;
89
+ /** The appearance for all the buttons in the group. */
90
+ appearance: MatButtonToggleAppearance;
91
+ /** `name` attribute for the underlying `input` element. */
92
+ get name(): string;
93
+ set name(value: string);
94
+ private _name;
95
+ /** Whether the toggle group is vertical. */
96
+ vertical: boolean;
97
+ /** Value of the toggle group. */
98
+ get value(): any;
99
+ set value(newValue: any);
100
+ /**
101
+ * Event that emits whenever the value of the group changes.
102
+ * Used to facilitate two-way data binding.
103
+ * @docs-private
104
+ */
105
+ readonly valueChange: EventEmitter<any>;
106
+ /** Selected button toggles in the group. */
107
+ get selected(): MatButtonToggle | MatButtonToggle[];
108
+ /** Whether multiple button toggles can be selected. */
109
+ get multiple(): boolean;
110
+ set multiple(value: boolean);
111
+ /** Whether multiple button toggle group is disabled. */
112
+ get disabled(): boolean;
113
+ set disabled(value: boolean);
114
+ /** Whether buttons in the group should be interactive while they're disabled. */
115
+ get disabledInteractive(): boolean;
116
+ set disabledInteractive(value: boolean);
117
+ /** The layout direction of the toggle button group. */
118
+ get dir(): Direction;
119
+ /** Event emitted when the group's value changes. */
120
+ readonly change: EventEmitter<MatButtonToggleChange>;
121
+ /** Whether checkmark indicator for single-selection button toggle groups is hidden. */
122
+ get hideSingleSelectionIndicator(): boolean;
123
+ set hideSingleSelectionIndicator(value: boolean);
124
+ private _hideSingleSelectionIndicator;
125
+ /** Whether checkmark indicator for multiple-selection button toggle groups is hidden. */
126
+ get hideMultipleSelectionIndicator(): boolean;
127
+ set hideMultipleSelectionIndicator(value: boolean);
128
+ private _hideMultipleSelectionIndicator;
129
+ constructor(...args: unknown[]);
130
+ ngOnInit(): void;
131
+ ngAfterContentInit(): void;
132
+ /**
133
+ * Sets the model value. Implemented as part of ControlValueAccessor.
134
+ * @param value Value to be set to the model.
135
+ */
136
+ writeValue(value: any): void;
137
+ registerOnChange(fn: (value: any) => void): void;
138
+ registerOnTouched(fn: any): void;
139
+ setDisabledState(isDisabled: boolean): void;
140
+ /** Handle keydown event calling to single-select button toggle. */
141
+ protected _keydown(event: KeyboardEvent): void;
142
+ /** Dispatch change event with current selection and group value. */
143
+ _emitChangeEvent(toggle: MatButtonToggle): void;
144
+ /**
145
+ * Syncs a button toggle's selected state with the model value.
146
+ * @param toggle Toggle to be synced.
147
+ * @param select Whether the toggle should be selected.
148
+ * @param isUserInput Whether the change was a result of a user interaction.
149
+ * @param deferEvents Whether to defer emitting the change events.
150
+ */
151
+ _syncButtonToggle(toggle: MatButtonToggle, select: boolean, isUserInput?: boolean, deferEvents?: boolean): void;
152
+ /** Checks whether a button toggle is selected. */
153
+ _isSelected(toggle: MatButtonToggle): boolean;
154
+ /** Determines whether a button toggle should be checked on init. */
155
+ _isPrechecked(toggle: MatButtonToggle): boolean;
156
+ /** Initializes the tabindex attribute using the radio pattern. */
157
+ private _initializeTabIndex;
158
+ /** Obtain the subsequent toggle to which the focus shifts. */
159
+ private _getNextButton;
160
+ /** Updates the selection state of the toggles in the group based on a value. */
161
+ private _setSelectionByValue;
162
+ /** Clears the selected toggles. */
163
+ private _clearSelection;
164
+ /** Selects a value if there's a toggle that corresponds to it. */
165
+ private _selectValue;
166
+ /** Syncs up the group's value with the model and emits the change event. */
167
+ private _updateModelValue;
168
+ /** Marks all of the child button toggles to be checked. */
169
+ private _markButtonsForCheck;
170
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleGroup, never>;
171
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonToggleGroup, "mat-button-toggle-group", ["matButtonToggleGroup"], { "appearance": { "alias": "appearance"; "required": false; }; "name": { "alias": "name"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "value": { "alias": "value"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "hideMultipleSelectionIndicator": { "alias": "hideMultipleSelectionIndicator"; "required": false; }; }, { "valueChange": "valueChange"; "change": "change"; }, ["_buttonToggles"], never, true, never>;
172
+ static ngAcceptInputType_vertical: unknown;
173
+ static ngAcceptInputType_multiple: unknown;
174
+ static ngAcceptInputType_disabled: unknown;
175
+ static ngAcceptInputType_disabledInteractive: unknown;
176
+ static ngAcceptInputType_hideSingleSelectionIndicator: unknown;
177
+ static ngAcceptInputType_hideMultipleSelectionIndicator: unknown;
178
+ }
179
+ /** Single button inside of a toggle group. */
180
+ declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy {
181
+ private _changeDetectorRef;
182
+ private _elementRef;
183
+ private _focusMonitor;
184
+ private _idGenerator;
185
+ private _animationMode;
186
+ private _checked;
187
+ /**
188
+ * Attached to the aria-label attribute of the host element. In most cases, aria-labelledby will
189
+ * take precedence so this may be omitted.
190
+ */
191
+ ariaLabel: string;
192
+ /**
193
+ * Users can specify the `aria-labelledby` attribute which will be forwarded to the input element
194
+ */
195
+ ariaLabelledby: string | null;
196
+ /** Underlying native `button` element. */
197
+ _buttonElement: ElementRef<HTMLButtonElement>;
198
+ /** The parent button toggle group (exclusive selection). Optional. */
199
+ buttonToggleGroup: MatButtonToggleGroup;
200
+ /** Unique ID for the underlying `button` element. */
201
+ get buttonId(): string;
202
+ /** The unique ID for this button toggle. */
203
+ id: string;
204
+ /** HTML's 'name' attribute used to group radios for unique selection. */
205
+ name: string;
206
+ /** MatButtonToggleGroup reads this to assign its own value. */
207
+ value: any;
208
+ /** Tabindex of the toggle. */
209
+ get tabIndex(): number | null;
210
+ set tabIndex(value: number | null);
211
+ private _tabIndex;
212
+ /** Whether ripples are disabled on the button toggle. */
213
+ disableRipple: boolean;
214
+ /** The appearance style of the button. */
215
+ get appearance(): MatButtonToggleAppearance;
216
+ set appearance(value: MatButtonToggleAppearance);
217
+ private _appearance;
218
+ /** Whether the button is checked. */
219
+ get checked(): boolean;
220
+ set checked(value: boolean);
221
+ /** Whether the button is disabled. */
222
+ get disabled(): boolean;
223
+ set disabled(value: boolean);
224
+ private _disabled;
225
+ /** Whether the button should remain interactive when it is disabled. */
226
+ get disabledInteractive(): boolean;
227
+ set disabledInteractive(value: boolean);
228
+ private _disabledInteractive;
229
+ /** Event emitted when the group value changes. */
230
+ readonly change: EventEmitter<MatButtonToggleChange>;
231
+ constructor(...args: unknown[]);
232
+ ngOnInit(): void;
233
+ ngAfterViewInit(): void;
234
+ ngOnDestroy(): void;
235
+ /** Focuses the button. */
236
+ focus(options?: FocusOptions): void;
237
+ /** Checks the button toggle due to an interaction with the underlying native button. */
238
+ _onButtonClick(): void;
239
+ /**
240
+ * Marks the button toggle as needing checking for change detection.
241
+ * This method is exposed because the parent button toggle group will directly
242
+ * update bound properties of the radio button.
243
+ */
244
+ _markForCheck(): void;
245
+ /** Gets the name that should be assigned to the inner DOM node. */
246
+ _getButtonName(): string | null;
247
+ /** Whether the toggle is in single selection mode. */
248
+ isSingleSelector(): boolean;
249
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggle, never>;
250
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatButtonToggle, "mat-button-toggle", ["matButtonToggle"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
251
+ static ngAcceptInputType_disableRipple: unknown;
252
+ static ngAcceptInputType_checked: unknown;
253
+ static ngAcceptInputType_disabled: unknown;
254
+ static ngAcceptInputType_disabledInteractive: unknown;
255
+ }
256
+
257
+ export { MatButtonToggleGroup as M, type ToggleType as T, MatButtonToggle as a, type MatButtonToggleAppearance as b, type MatButtonToggleDefaultOptions as c, MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS as d, MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY as e, MAT_BUTTON_TOGGLE_GROUP as f, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR as g, MatButtonToggleChange as h };
package/card/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken } from '@angular/core';
3
- import * as i1 from '@angular/material/core';
3
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
4
+ import '@angular/cdk/bidi';
4
5
 
5
6
  type MatCardAppearance = 'outlined' | 'raised';
6
7
  /** Object that can be used to configure the default options for the card module. */
@@ -148,7 +149,7 @@ declare class MatCardAvatar {
148
149
 
149
150
  declare class MatCardModule {
150
151
  static ɵfac: i0.ɵɵFactoryDeclaration<MatCardModule, never>;
151
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatCardModule, never, [typeof i1.MatCommonModule, typeof MatCard, typeof MatCardActions, typeof MatCardAvatar, typeof MatCardContent, typeof MatCardFooter, typeof MatCardHeader, typeof MatCardImage, typeof MatCardLgImage, typeof MatCardMdImage, typeof MatCardSmImage, typeof MatCardSubtitle, typeof MatCardTitle, typeof MatCardTitleGroup, typeof MatCardXlImage], [typeof MatCard, typeof MatCardActions, typeof MatCardAvatar, typeof MatCardContent, typeof MatCardFooter, typeof MatCardHeader, typeof MatCardImage, typeof MatCardLgImage, typeof MatCardMdImage, typeof MatCardSmImage, typeof MatCardSubtitle, typeof MatCardTitle, typeof MatCardTitleGroup, typeof MatCardXlImage, typeof i1.MatCommonModule]>;
152
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatCardModule, never, [typeof MatCommonModule, typeof MatCard, typeof MatCardActions, typeof MatCardAvatar, typeof MatCardContent, typeof MatCardFooter, typeof MatCardHeader, typeof MatCardImage, typeof MatCardLgImage, typeof MatCardMdImage, typeof MatCardSmImage, typeof MatCardSubtitle, typeof MatCardTitle, typeof MatCardTitleGroup, typeof MatCardXlImage], [typeof MatCard, typeof MatCardActions, typeof MatCardAvatar, typeof MatCardContent, typeof MatCardFooter, typeof MatCardHeader, typeof MatCardImage, typeof MatCardLgImage, typeof MatCardMdImage, typeof MatCardSmImage, typeof MatCardSubtitle, typeof MatCardTitle, typeof MatCardTitleGroup, typeof MatCardXlImage, typeof MatCommonModule]>;
152
153
  static ɵinj: i0.ɵɵInjectorDeclaration<MatCardModule>;
153
154
  }
154
155
 
@@ -2,8 +2,9 @@ import { FocusableOption } from '@angular/cdk/a11y';
2
2
  import * as i0 from '@angular/core';
3
3
  import { AfterViewInit, OnChanges, ElementRef, EventEmitter, SimpleChanges, InjectionToken, Provider } from '@angular/core';
4
4
  import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, CheckboxRequiredValidator } from '@angular/forms';
5
- import * as i1 from '@angular/material/core';
6
- import { ThemePalette } from '@angular/material/core';
5
+ import { T as ThemePalette } from '../palette.d-ec4a617c.js';
6
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
7
+ import '@angular/cdk/bidi';
7
8
 
8
9
  /**
9
10
  * Represents the different states that require custom transitions between them.
@@ -246,7 +247,7 @@ declare class _MatCheckboxRequiredValidatorModule {
246
247
  }
247
248
  declare class MatCheckboxModule {
248
249
  static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxModule, never>;
249
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatCheckboxModule, never, [typeof MatCheckbox, typeof i1.MatCommonModule], [typeof MatCheckbox, typeof i1.MatCommonModule]>;
250
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatCheckboxModule, never, [typeof MatCheckbox, typeof MatCommonModule], [typeof MatCheckbox, typeof MatCommonModule]>;
250
251
  static ɵinj: i0.ɵɵInjectorDeclaration<MatCheckboxModule>;
251
252
  }
252
253
 
package/chips/index.d.ts CHANGED
@@ -3,9 +3,13 @@ import { ElementRef, OnInit, AfterViewInit, AfterContentInit, DoCheck, OnDestroy
3
3
  import { Subject, Observable } from 'rxjs';
4
4
  import { FocusKeyManager } from '@angular/cdk/a11y';
5
5
  import { ControlValueAccessor, NgControl } from '@angular/forms';
6
- import * as i1 from '@angular/material/core';
7
- import { ErrorStateMatcher } from '@angular/material/core';
8
- import { MatFormFieldControl } from '@angular/material/form-field';
6
+ import { E as ErrorStateMatcher } from '../error-options.d-448d9046.js';
7
+ import { M as MatFormFieldControl } from '../form-field-control.d-eb86711c.js';
8
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
9
+ import { M as MatRippleModule } from '../index.d-0536b706.js';
10
+ import '@angular/cdk/bidi';
11
+ import '../ripple.d-2fb57d04.js';
12
+ import '@angular/cdk/platform';
9
13
 
10
14
  /**
11
15
  * Section within a chip.
@@ -863,7 +867,7 @@ declare class MatChipInput implements MatChipTextControl, OnChanges, OnDestroy {
863
867
 
864
868
  declare class MatChipsModule {
865
869
  static ɵfac: i0.ɵɵFactoryDeclaration<MatChipsModule, never>;
866
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatChipsModule, never, [typeof i1.MatCommonModule, typeof i1.MatRippleModule, typeof MatChipAction, typeof MatChip, typeof MatChipAvatar, typeof MatChipEditInput, typeof MatChipGrid, typeof MatChipInput, typeof MatChipListbox, typeof MatChipOption, typeof MatChipRemove, typeof MatChipRow, typeof MatChipSet, typeof MatChipTrailingIcon], [typeof i1.MatCommonModule, typeof MatChip, typeof MatChipAvatar, typeof MatChipEditInput, typeof MatChipGrid, typeof MatChipInput, typeof MatChipListbox, typeof MatChipOption, typeof MatChipRemove, typeof MatChipRow, typeof MatChipSet, typeof MatChipTrailingIcon]>;
870
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatChipsModule, never, [typeof MatCommonModule, typeof MatRippleModule, typeof MatChipAction, typeof MatChip, typeof MatChipAvatar, typeof MatChipEditInput, typeof MatChipGrid, typeof MatChipInput, typeof MatChipListbox, typeof MatChipOption, typeof MatChipRemove, typeof MatChipRow, typeof MatChipSet, typeof MatChipTrailingIcon], [typeof MatCommonModule, typeof MatChip, typeof MatChipAvatar, typeof MatChipEditInput, typeof MatChipGrid, typeof MatChipInput, typeof MatChipListbox, typeof MatChipOption, typeof MatChipRemove, typeof MatChipRow, typeof MatChipSet, typeof MatChipTrailingIcon]>;
867
871
  static ɵinj: i0.ɵɵInjectorDeclaration<MatChipsModule>;
868
872
  }
869
873
 
@@ -0,0 +1,43 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken } from '@angular/core';
3
+ import * as i1 from '@angular/cdk/bidi';
4
+
5
+ /**
6
+ * Injection token that configures whether the Material sanity checks are enabled.
7
+ * @deprecated No longer used and will be removed.
8
+ * @breaking-change 21.0.0
9
+ */
10
+ declare const MATERIAL_SANITY_CHECKS: InjectionToken<SanityChecks>;
11
+ /**
12
+ * Possible sanity checks that can be enabled. If set to
13
+ * true/false, all checks will be enabled/disabled.
14
+ * @deprecated No longer used and will be removed.
15
+ * @breaking-change 21.0.0
16
+ */
17
+ type SanityChecks = boolean | GranularSanityChecks;
18
+ /**
19
+ * Object that can be used to configure the sanity checks granularly.
20
+ * @deprecated No longer used and will be removed.
21
+ * @breaking-change 21.0.0
22
+ */
23
+ interface GranularSanityChecks {
24
+ doctype: boolean;
25
+ theme: boolean;
26
+ version: boolean;
27
+ }
28
+ /**
29
+ * Module that captures anything that should be loaded and/or run for *all* Angular Material
30
+ * components. This includes Bidi, etc.
31
+ *
32
+ * This module should be imported to each top-level component module (e.g., MatTabsModule).
33
+ * @deprecated No longer used and will be removed.
34
+ * @breaking-change 21.0.0
35
+ */
36
+ declare class MatCommonModule {
37
+ constructor(...args: any[]);
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCommonModule, never>;
39
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatCommonModule, never, [typeof i1.BidiModule], [typeof i1.BidiModule]>;
40
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatCommonModule>;
41
+ }
42
+
43
+ export { type GranularSanityChecks as G, MatCommonModule as M, type SanityChecks as S, MATERIAL_SANITY_CHECKS as a };