@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.
- package/autocomplete/index.d.ts +92 -126
- package/autocomplete/testing/index.d.ts +6 -11
- package/badge/index.d.ts +8 -112
- package/badge/testing/index.d.ts +7 -8
- package/badge.d-49a8a74b.d.ts +98 -0
- package/bottom-sheet/index.d.ts +88 -103
- package/bottom-sheet/testing/index.d.ts +4 -6
- package/button/index.d.ts +10 -245
- package/button/testing/index.d.ts +6 -10
- package/button-toggle/index.d.ts +12 -285
- package/button-toggle/testing/index.d.ts +38 -37
- package/button-toggle.d-edc8acff.d.ts +257 -0
- package/card/index.d.ts +80 -117
- package/card/testing/index.d.ts +11 -15
- package/checkbox/index.d.ts +43 -104
- package/checkbox/testing/index.d.ts +6 -10
- package/chips/index.d.ts +599 -693
- package/chips/testing/index.d.ts +78 -93
- package/common-module.d-0e6515ae.d.ts +43 -0
- package/core/index.d.ts +50 -979
- package/core/testing/index.d.ts +3 -65
- package/date-adapter.d-c6835d41.d.ts +267 -0
- package/date-range-input-harness.d-549a9f7e.d.ts +278 -0
- package/datepicker/index.d.ts +1332 -1482
- package/datepicker/testing/index.d.ts +5 -287
- package/dialog/index.d.ts +59 -453
- package/dialog/testing/index.d.ts +22 -26
- package/dialog.d-57867441.d.ts +335 -0
- package/divider/index.d.ts +6 -11
- package/divider/testing/index.d.ts +2 -16
- package/divider-harness.d-d34fede4.d.ts +14 -0
- package/error-options.d-448d9046.d.ts +17 -0
- package/expansion/index.d.ts +139 -190
- package/expansion/testing/index.d.ts +25 -31
- package/fesm2022/autocomplete/testing.mjs +2 -1
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +53 -32
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +14 -17
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +13 -15
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +22 -15
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +14 -395
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +49 -51
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +32 -73
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +51 -46
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/common-module-2d64df09.mjs +42 -0
- package/fesm2022/common-module-2d64df09.mjs.map +1 -0
- package/fesm2022/core/testing.mjs +3 -76
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +38 -1598
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/date-formats-b618acb8.mjs +190 -0
- package/fesm2022/date-formats-b618acb8.mjs.map +1 -0
- package/fesm2022/date-range-input-harness-ee47cdb0.mjs +467 -0
- package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +1 -0
- package/fesm2022/datepicker/testing.mjs +5 -465
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +159 -128
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +12 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +14 -895
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs +2 -17
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider-harness-3394f29a.mjs +18 -0
- package/fesm2022/divider-harness-3394f29a.mjs.map +1 -0
- package/fesm2022/divider.mjs +10 -12
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/error-options-4a00765e.mjs +29 -0
- package/fesm2022/error-options-4a00765e.mjs.map +1 -0
- package/fesm2022/error-state-8f4ce1af.mjs +37 -0
- package/fesm2022/error-state-8f4ce1af.mjs.map +1 -0
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +30 -32
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs +2 -10
- package/fesm2022/form-field/testing/control.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +7 -6
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field-6d755764.mjs +1076 -0
- package/fesm2022/form-field-6d755764.mjs.map +1 -0
- package/fesm2022/form-field-control-harness-af6fd278.mjs +11 -0
- package/fesm2022/form-field-control-harness-af6fd278.mjs.map +1 -0
- package/fesm2022/form-field.mjs +14 -1110
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +30 -173
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +12 -12
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon-button-47f1b5d9.mjs +248 -0
- package/fesm2022/icon-button-47f1b5d9.mjs.map +1 -0
- package/fesm2022/icon-module-3f77a24d.mjs +395 -0
- package/fesm2022/icon-module-3f77a24d.mjs.map +1 -0
- package/fesm2022/icon-registry-13a3b98e.mjs +639 -0
- package/fesm2022/icon-registry-13a3b98e.mjs.map +1 -0
- package/fesm2022/icon.mjs +11 -1016
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/index-1763d3a6.mjs +22 -0
- package/fesm2022/index-1763d3a6.mjs.map +1 -0
- package/fesm2022/index-4bc1d6d3.mjs +20 -0
- package/fesm2022/index-4bc1d6d3.mjs.map +1 -0
- package/fesm2022/input/testing.mjs +5 -113
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input-harness-ed59decc.mjs +115 -0
- package/fesm2022/input-harness-ed59decc.mjs.map +1 -0
- package/fesm2022/input-value-accessor-8a79a24e.mjs +12 -0
- package/fesm2022/input-value-accessor-8a79a24e.mjs.map +1 -0
- package/fesm2022/input.mjs +21 -23
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/internal-form-field-434c4039.mjs +27 -0
- package/fesm2022/internal-form-field-434c4039.mjs.map +1 -0
- package/fesm2022/line-d6afe347.mjs +59 -0
- package/fesm2022/line-d6afe347.mjs.map +1 -0
- package/fesm2022/list/testing.mjs +2 -2
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +59 -56
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +37 -25
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/module-3bf2775f.mjs +1293 -0
- package/fesm2022/module-3bf2775f.mjs.map +1 -0
- package/fesm2022/module-47e3be58.mjs +970 -0
- package/fesm2022/module-47e3be58.mjs.map +1 -0
- package/fesm2022/module-a5f9ab72.mjs +875 -0
- package/fesm2022/module-a5f9ab72.mjs.map +1 -0
- package/fesm2022/module-d757bba0.mjs +38 -0
- package/fesm2022/module-d757bba0.mjs.map +1 -0
- package/fesm2022/module-df9f7af3.mjs +152 -0
- package/fesm2022/module-df9f7af3.mjs.map +1 -0
- package/fesm2022/optgroup-harness-5e66b138.mjs +36 -0
- package/fesm2022/optgroup-harness-5e66b138.mjs.map +1 -0
- package/fesm2022/option-07c3c660.mjs +348 -0
- package/fesm2022/option-07c3c660.mjs.map +1 -0
- package/fesm2022/option-harness-3b7c1106.mjs +46 -0
- package/fesm2022/option-harness-3b7c1106.mjs.map +1 -0
- package/fesm2022/paginator/testing.mjs +4 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +51 -21
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs +0 -4
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +15 -13
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs +0 -4
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +15 -13
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/pseudo-checkbox-af5a4ea4.mjs +52 -0
- package/fesm2022/pseudo-checkbox-af5a4ea4.mjs.map +1 -0
- package/fesm2022/pseudo-checkbox-module-216fae38.mjs +20 -0
- package/fesm2022/pseudo-checkbox-module-216fae38.mjs.map +1 -0
- package/fesm2022/public-api-c5ab57f5.mjs +147 -0
- package/fesm2022/public-api-c5ab57f5.mjs.map +1 -0
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +23 -15
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/ripple-9939d1f5.mjs +639 -0
- package/fesm2022/ripple-9939d1f5.mjs.map +1 -0
- package/fesm2022/ripple-loader-f2078c66.mjs +165 -0
- package/fesm2022/ripple-loader-f2078c66.mjs.map +1 -0
- package/fesm2022/select/testing.mjs +5 -121
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select-harness-8c55824d.mjs +123 -0
- package/fesm2022/select-harness-8c55824d.mjs.map +1 -0
- package/fesm2022/select.mjs +30 -1311
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +31 -31
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +27 -75
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +22 -21
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +37 -29
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +26 -20
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +52 -39
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/structural-styles-d5ada3b3.mjs +18 -0
- package/fesm2022/structural-styles-d5ada3b3.mjs.map +1 -0
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +58 -60
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +54 -58
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +31 -24
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +13 -15
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +15 -960
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +28 -30
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +16 -508
- package/form-field/testing/control/index.d.ts +2 -10
- package/form-field/testing/index.d.ts +19 -24
- package/form-field-control-harness.d-2d91f25a.d.ts +10 -0
- package/form-field-control.d-eb86711c.d.ts +62 -0
- package/form-field.d-2edbc094.d.ts +367 -0
- package/grid-list/index.d.ts +128 -152
- package/grid-list/testing/index.d.ts +39 -44
- package/icon/index.d.ts +9 -470
- package/icon/testing/index.d.ts +41 -44
- package/icon-module.d-aa3bbba0.d.ts +167 -0
- package/icon-registry.d-1dffe9de.d.ts +286 -0
- package/index.d-0536b706.d.ts +11 -0
- package/index.d-37e31cd3.d.ts +13 -0
- package/index.d.ts +2 -3
- package/input/index.d.ts +33 -62
- package/input/testing/index.d.ts +13 -71
- package/input-harness.d-4eecd1d3.d.ts +60 -0
- package/line.d-570a2537.d.ts +25 -0
- package/list/index.d.ts +155 -244
- package/list/testing/index.d.ts +158 -180
- package/list-option-types.d-8739f903.d.ts +15 -0
- package/menu/index.d.ts +183 -231
- package/menu/testing/index.d.ts +17 -23
- package/module.d-18a67f56.d.ts +206 -0
- package/module.d-74a721b9.d.ts +326 -0
- package/module.d-ba05faa6.d.ts +448 -0
- package/module.d-c17c834e.d.ts +18 -0
- package/optgroup-harness.d-7f741f69.d.ts +31 -0
- package/option-harness.d-3d33fc9a.d.ts +34 -0
- package/option-parent.d-559ad5c5.d.ts +19 -0
- package/option.d-6f493d78.d.ts +146 -0
- package/package.json +2 -2
- package/paginator/index.d.ts +31 -216
- package/paginator/testing/index.d.ts +14 -15
- package/paginator.d-40b1766e.d.ts +199 -0
- package/palette.d-ec4a617c.d.ts +4 -0
- package/progress-bar/index.d.ts +40 -59
- package/progress-bar/testing/index.d.ts +7 -10
- package/progress-spinner/index.d.ts +8 -110
- package/progress-spinner/testing/index.d.ts +10 -11
- package/progress-spinner.d-1fc040c5.d.ts +96 -0
- package/pseudo-checkbox-module.d-3abc0461.d.ts +44 -0
- package/radio/index.d.ts +151 -170
- package/radio/testing/index.d.ts +61 -67
- package/ripple-loader.d-8aac2988.d.ts +48 -0
- package/ripple.d-2fb57d04.d.ts +255 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
- package/schematics/ng-generate/theme-color/schema.json +10 -0
- package/schematics/ng-update/index_bundled.js +31 -31
- package/select/index.d.ts +25 -505
- package/select/testing/index.d.ts +5 -67
- package/select-harness.d-7441a7ac.d.ts +63 -0
- package/sidenav/index.d.ts +49 -92
- package/sidenav/testing/index.d.ts +58 -63
- package/slide-toggle/index.d.ts +39 -110
- package/slide-toggle/testing/index.d.ts +17 -21
- package/slider/index.d.ts +281 -328
- package/slider/testing/index.d.ts +42 -47
- package/snack-bar/index.d.ts +152 -185
- package/snack-bar/testing/index.d.ts +7 -9
- package/sort/index.d.ts +61 -169
- package/sort/testing/index.d.ts +22 -25
- package/sort-direction.d-f4ce4649.d.ts +3 -0
- package/sort.d-c2b79a45.d.ts +87 -0
- package/stepper/index.d.ts +115 -167
- package/stepper/testing/index.d.ts +43 -52
- package/table/index.d.ts +97 -156
- package/table/testing/index.d.ts +64 -78
- package/tabs/index.d.ts +309 -383
- package/tabs/testing/index.d.ts +67 -76
- package/timepicker/index.d.ts +127 -160
- package/timepicker/testing/index.d.ts +20 -26
- package/toolbar/index.d.ts +15 -26
- package/toolbar/testing/index.d.ts +13 -16
- package/tooltip/index.d.ts +11 -355
- package/tooltip/testing/index.d.ts +7 -10
- package/tree/index.d.ts +117 -163
- package/tree/testing/index.d.ts +52 -58
package/card/index.d.ts
CHANGED
|
@@ -1,81 +1,47 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import * as i1 from '@angular/material/core';
|
|
3
2
|
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
|
|
4
|
+
import '@angular/cdk/bidi';
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
MatCard,
|
|
11
|
-
MatCardTitle,
|
|
12
|
-
MatCardTitleGroup,
|
|
13
|
-
MatCardContent,
|
|
14
|
-
MatCardSubtitle,
|
|
15
|
-
MatCardActions,
|
|
16
|
-
MatCardHeader,
|
|
17
|
-
MatCardFooter,
|
|
18
|
-
MatCardImage,
|
|
19
|
-
MatCardSmImage,
|
|
20
|
-
MatCardMdImage,
|
|
21
|
-
MatCardLgImage,
|
|
22
|
-
MatCardXlImage,
|
|
23
|
-
MatCardAvatar
|
|
24
|
-
}
|
|
6
|
+
type MatCardAppearance = 'outlined' | 'raised';
|
|
7
|
+
/** Object that can be used to configure the default options for the card module. */
|
|
8
|
+
interface MatCardConfig {
|
|
9
|
+
/** Default appearance for cards. */
|
|
10
|
+
appearance?: MatCardAppearance;
|
|
25
11
|
}
|
|
26
|
-
|
|
27
12
|
/** Injection token that can be used to provide the default options the card module. */
|
|
28
|
-
|
|
29
|
-
|
|
13
|
+
declare const MAT_CARD_CONFIG: InjectionToken<MatCardConfig>;
|
|
30
14
|
/**
|
|
31
15
|
* Material Design card component. Cards contain content and actions about a single subject.
|
|
32
16
|
* See https://material.io/design/components/cards.html
|
|
33
17
|
*
|
|
34
18
|
* MatCard provides no behaviors, instead serving as a purely visual treatment.
|
|
35
19
|
*/
|
|
36
|
-
|
|
20
|
+
declare class MatCard {
|
|
37
21
|
appearance: MatCardAppearance;
|
|
38
22
|
constructor(...args: unknown[]);
|
|
39
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCard, never>;
|
|
40
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatCard, "mat-card", ["matCard"], { "appearance": { "alias": "appearance"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
41
25
|
}
|
|
42
|
-
|
|
43
26
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* `<mat-card-content>`; any custom action block element may be used in its place.
|
|
27
|
+
* Title of a card, intended for use within `<mat-card>`. This component is an optional
|
|
28
|
+
* convenience for one variety of card title; any custom title element may be used in its place.
|
|
47
29
|
*
|
|
48
|
-
*
|
|
30
|
+
* MatCardTitle provides no behaviors, instead serving as a purely visual treatment.
|
|
49
31
|
*/
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardActions, never>;
|
|
54
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardActions, "mat-card-actions", ["matCardActions"], { "align": { "alias": "align"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
declare class MatCardTitle {
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardTitle, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardTitle, "mat-card-title, [mat-card-title], [matCardTitle]", never, {}, {}, never, never, true, never>;
|
|
55
35
|
}
|
|
56
|
-
|
|
57
|
-
export declare type MatCardAppearance = 'outlined' | 'raised';
|
|
58
|
-
|
|
59
36
|
/**
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* This component is an optional convenience for use with other convenience elements, such as
|
|
64
|
-
* `<mat-card-title>`; any custom media element may be used in its place.
|
|
65
|
-
*
|
|
66
|
-
* MatCardAvatar provides no behaviors, instead serving as a purely visual treatment.
|
|
37
|
+
* Container intended to be used within the `<mat-card>` component. Can contain exactly one
|
|
38
|
+
* `<mat-card-title>`, one `<mat-card-subtitle>` and one content image of any size
|
|
39
|
+
* (e.g. `<img matCardLgImage>`).
|
|
67
40
|
*/
|
|
68
|
-
|
|
69
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
70
|
-
static
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/** Object that can be used to configure the default options for the card module. */
|
|
74
|
-
export declare interface MatCardConfig {
|
|
75
|
-
/** Default appearance for cards. */
|
|
76
|
-
appearance?: MatCardAppearance;
|
|
41
|
+
declare class MatCardTitleGroup {
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardTitleGroup, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCardTitleGroup, "mat-card-title-group", never, {}, {}, never, ["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]", "[mat-card-image], [matCardImage],\n [mat-card-sm-image], [matCardImageSmall],\n [mat-card-md-image], [matCardImageMedium],\n [mat-card-lg-image], [matCardImageLarge],\n [mat-card-xl-image], [matCardImageXLarge]", "*"], true, never>;
|
|
77
44
|
}
|
|
78
|
-
|
|
79
45
|
/**
|
|
80
46
|
* Content of a card, intended for use within `<mat-card>`. This component is an optional
|
|
81
47
|
* convenience for use with other convenience elements, such as `<mat-card-title>`; any custom
|
|
@@ -83,23 +49,34 @@ export declare interface MatCardConfig {
|
|
|
83
49
|
*
|
|
84
50
|
* MatCardContent provides no behaviors, instead serving as a purely visual treatment.
|
|
85
51
|
*/
|
|
86
|
-
|
|
52
|
+
declare class MatCardContent {
|
|
87
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardContent, never>;
|
|
88
54
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardContent, "mat-card-content", never, {}, {}, never, never, true, never>;
|
|
89
55
|
}
|
|
90
|
-
|
|
91
56
|
/**
|
|
92
|
-
*
|
|
57
|
+
* Sub-title of a card, intended for use within `<mat-card>` beneath a `<mat-card-title>`. This
|
|
58
|
+
* component is an optional convenience for use with other convenience elements, such as
|
|
59
|
+
* `<mat-card-title>`.
|
|
60
|
+
*
|
|
61
|
+
* MatCardSubtitle provides no behaviors, instead serving as a purely visual treatment.
|
|
62
|
+
*/
|
|
63
|
+
declare class MatCardSubtitle {
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardSubtitle, never>;
|
|
65
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSubtitle, "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]", never, {}, {}, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Bottom area of a card that contains action buttons, intended for use within `<mat-card>`.
|
|
93
69
|
* This component is an optional convenience for use with other convenience elements, such as
|
|
94
|
-
* `<mat-card-content>`; any custom
|
|
70
|
+
* `<mat-card-content>`; any custom action block element may be used in its place.
|
|
95
71
|
*
|
|
96
|
-
*
|
|
72
|
+
* MatCardActions provides no behaviors, instead serving as a purely visual treatment.
|
|
97
73
|
*/
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
74
|
+
declare class MatCardActions {
|
|
75
|
+
/** Position of the actions inside the card. */
|
|
76
|
+
align: 'start' | 'end';
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardActions, never>;
|
|
78
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardActions, "mat-card-actions", ["matCardActions"], { "align": { "alias": "align"; "required": false; }; }, {}, never, never, true, never>;
|
|
101
79
|
}
|
|
102
|
-
|
|
103
80
|
/**
|
|
104
81
|
* Header region of a card, intended for use within `<mat-card>`. This header captures
|
|
105
82
|
* a card title, subtitle, and avatar. This component is an optional convenience for use with
|
|
@@ -108,11 +85,21 @@ export declare class MatCardFooter {
|
|
|
108
85
|
*
|
|
109
86
|
* MatCardHeader provides no behaviors, instead serving as a purely visual treatment.
|
|
110
87
|
*/
|
|
111
|
-
|
|
88
|
+
declare class MatCardHeader {
|
|
112
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardHeader, never>;
|
|
113
90
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatCardHeader, "mat-card-header", never, {}, {}, never, ["[mat-card-avatar], [matCardAvatar]", "mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]", "*"], true, never>;
|
|
114
91
|
}
|
|
115
|
-
|
|
92
|
+
/**
|
|
93
|
+
* Footer area a card, intended for use within `<mat-card>`.
|
|
94
|
+
* This component is an optional convenience for use with other convenience elements, such as
|
|
95
|
+
* `<mat-card-content>`; any custom footer block element may be used in its place.
|
|
96
|
+
*
|
|
97
|
+
* MatCardFooter provides no behaviors, instead serving as a purely visual treatment.
|
|
98
|
+
*/
|
|
99
|
+
declare class MatCardFooter {
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardFooter, never>;
|
|
101
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardFooter, "mat-card-footer", never, {}, {}, never, never, true, never>;
|
|
102
|
+
}
|
|
116
103
|
/**
|
|
117
104
|
* Primary image content for a card, intended for use within `<mat-card>`. Can be applied to
|
|
118
105
|
* any media element, such as `<img>` or `<picture>`.
|
|
@@ -122,72 +109,48 @@ export declare class MatCardHeader {
|
|
|
122
109
|
*
|
|
123
110
|
* MatCardImage provides no behaviors, instead serving as a purely visual treatment.
|
|
124
111
|
*/
|
|
125
|
-
|
|
112
|
+
declare class MatCardImage {
|
|
126
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardImage, never>;
|
|
127
114
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardImage, "[mat-card-image], [matCardImage]", never, {}, {}, never, never, true, never>;
|
|
128
115
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
static
|
|
133
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardLgImage, "[mat-card-lg-image], [matCardImageLarge]", never, {}, {}, never, never, true, never>;
|
|
116
|
+
/** Same as `MatCardImage`, but small. */
|
|
117
|
+
declare class MatCardSmImage {
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardSmImage, never>;
|
|
119
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSmImage, "[mat-card-sm-image], [matCardImageSmall]", never, {}, {}, never, never, true, never>;
|
|
134
120
|
}
|
|
135
|
-
|
|
136
121
|
/** Same as `MatCardImage`, but medium. */
|
|
137
|
-
|
|
122
|
+
declare class MatCardMdImage {
|
|
138
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardMdImage, never>;
|
|
139
124
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardMdImage, "[mat-card-md-image], [matCardImageMedium]", never, {}, {}, never, never, true, never>;
|
|
140
125
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
144
|
-
static
|
|
145
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatCardModule>;
|
|
126
|
+
/** Same as `MatCardImage`, but large. */
|
|
127
|
+
declare class MatCardLgImage {
|
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardLgImage, never>;
|
|
129
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardLgImage, "[mat-card-lg-image], [matCardImageLarge]", never, {}, {}, never, never, true, never>;
|
|
146
130
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
static
|
|
151
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSmImage, "[mat-card-sm-image], [matCardImageSmall]", never, {}, {}, never, never, true, never>;
|
|
131
|
+
/** Same as `MatCardImage`, but extra-large. */
|
|
132
|
+
declare class MatCardXlImage {
|
|
133
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardXlImage, never>;
|
|
134
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardXlImage, "[mat-card-xl-image], [matCardImageXLarge]", never, {}, {}, never, never, true, never>;
|
|
152
135
|
}
|
|
153
|
-
|
|
154
136
|
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* `<mat-card-title>`.
|
|
137
|
+
* Avatar image content for a card, intended for use within `<mat-card>`. Can be applied to
|
|
138
|
+
* any media element, such as `<img>` or `<picture>`.
|
|
158
139
|
*
|
|
159
|
-
*
|
|
160
|
-
|
|
161
|
-
export declare class MatCardSubtitle {
|
|
162
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardSubtitle, never>;
|
|
163
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSubtitle, "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]", never, {}, {}, never, never, true, never>;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* Title of a card, intended for use within `<mat-card>`. This component is an optional
|
|
168
|
-
* convenience for one variety of card title; any custom title element may be used in its place.
|
|
140
|
+
* This component is an optional convenience for use with other convenience elements, such as
|
|
141
|
+
* `<mat-card-title>`; any custom media element may be used in its place.
|
|
169
142
|
*
|
|
170
|
-
*
|
|
171
|
-
*/
|
|
172
|
-
export declare class MatCardTitle {
|
|
173
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardTitle, never>;
|
|
174
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardTitle, "mat-card-title, [mat-card-title], [matCardTitle]", never, {}, {}, never, never, true, never>;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* Container intended to be used within the `<mat-card>` component. Can contain exactly one
|
|
179
|
-
* `<mat-card-title>`, one `<mat-card-subtitle>` and one content image of any size
|
|
180
|
-
* (e.g. `<img matCardLgImage>`).
|
|
143
|
+
* MatCardAvatar provides no behaviors, instead serving as a purely visual treatment.
|
|
181
144
|
*/
|
|
182
|
-
|
|
183
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
184
|
-
static
|
|
145
|
+
declare class MatCardAvatar {
|
|
146
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardAvatar, never>;
|
|
147
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardAvatar, "[mat-card-avatar], [matCardAvatar]", never, {}, {}, never, never, true, never>;
|
|
185
148
|
}
|
|
186
149
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
static
|
|
190
|
-
static
|
|
150
|
+
declare class MatCardModule {
|
|
151
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardModule, never>;
|
|
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]>;
|
|
153
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatCardModule>;
|
|
191
154
|
}
|
|
192
155
|
|
|
193
|
-
export { }
|
|
156
|
+
export { MAT_CARD_CONFIG, MatCard, MatCardActions, type MatCardAppearance, MatCardAvatar, type MatCardConfig, MatCardContent, MatCardFooter, MatCardHeader, MatCardImage, MatCardLgImage, MatCardMdImage, MatCardModule, MatCardSmImage, MatCardSubtitle, MatCardTitle, MatCardTitleGroup, MatCardXlImage };
|
package/card/testing/index.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
2
|
-
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
3
|
-
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
4
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
1
|
+
import { BaseHarnessFilters, ContentContainerComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
|
|
5
2
|
|
|
6
3
|
/** A set of criteria that can be used to filter a list of `MatCardHarness` instances. */
|
|
7
|
-
|
|
4
|
+
interface CardHarnessFilters extends BaseHarnessFilters {
|
|
8
5
|
/** Only find instances whose text matches the given value. */
|
|
9
6
|
text?: string | RegExp;
|
|
10
7
|
/** Only find instances whose title matches the given value. */
|
|
@@ -13,8 +10,15 @@ export declare interface CardHarnessFilters extends BaseHarnessFilters {
|
|
|
13
10
|
subtitle?: string | RegExp;
|
|
14
11
|
}
|
|
15
12
|
|
|
13
|
+
/** Selectors for different sections of the mat-card that can container user content. */
|
|
14
|
+
declare enum MatCardSection {
|
|
15
|
+
HEADER = ".mat-mdc-card-header",
|
|
16
|
+
CONTENT = ".mat-mdc-card-content",
|
|
17
|
+
ACTIONS = ".mat-mdc-card-actions",
|
|
18
|
+
FOOTER = ".mat-mdc-card-footer"
|
|
19
|
+
}
|
|
16
20
|
/** Harness for interacting with a mat-card in tests. */
|
|
17
|
-
|
|
21
|
+
declare class MatCardHarness extends ContentContainerComponentHarness<MatCardSection> {
|
|
18
22
|
/** The selector for the host element of a `MatCard` instance. */
|
|
19
23
|
static hostSelector: string;
|
|
20
24
|
/**
|
|
@@ -33,12 +37,4 @@ export declare class MatCardHarness extends ContentContainerComponentHarness<Mat
|
|
|
33
37
|
getSubtitleText(): Promise<string>;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
|
-
|
|
37
|
-
export declare enum MatCardSection {
|
|
38
|
-
HEADER = ".mat-mdc-card-header",
|
|
39
|
-
CONTENT = ".mat-mdc-card-content",
|
|
40
|
-
ACTIONS = ".mat-mdc-card-actions",
|
|
41
|
-
FOOTER = ".mat-mdc-card-footer"
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export { }
|
|
40
|
+
export { type CardHarnessFilters, MatCardHarness, MatCardSection };
|
package/checkbox/index.d.ts
CHANGED
|
@@ -1,55 +1,33 @@
|
|
|
1
|
-
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import { CheckboxRequiredValidator } from '@angular/forms';
|
|
4
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
-
import { ElementRef } from '@angular/core';
|
|
6
|
-
import { EventEmitter } from '@angular/core';
|
|
7
1
|
import { FocusableOption } from '@angular/cdk/a11y';
|
|
8
2
|
import * as i0 from '@angular/core';
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import { ThemePalette } from '@angular/material/core';
|
|
15
|
-
import { ValidationErrors } from '@angular/forms';
|
|
16
|
-
import { Validator } from '@angular/forms';
|
|
17
|
-
|
|
18
|
-
declare namespace i1 {
|
|
19
|
-
export {
|
|
20
|
-
MAT_CHECKBOX_REQUIRED_VALIDATOR,
|
|
21
|
-
MatCheckboxRequiredValidator
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
declare namespace i2 {
|
|
26
|
-
export {
|
|
27
|
-
TransitionCheckState,
|
|
28
|
-
MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR,
|
|
29
|
-
MatCheckboxChange,
|
|
30
|
-
MatCheckbox
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated Will stop being exported.
|
|
36
|
-
* @breaking-change 19.0.0
|
|
37
|
-
*/
|
|
38
|
-
export declare const MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR: any;
|
|
39
|
-
|
|
40
|
-
/** Injection token to be used to override the default options for `mat-checkbox`. */
|
|
41
|
-
export declare const MAT_CHECKBOX_DEFAULT_OPTIONS: InjectionToken<MatCheckboxDefaultOptions>;
|
|
42
|
-
|
|
43
|
-
/** @docs-private */
|
|
44
|
-
export declare function MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY(): MatCheckboxDefaultOptions;
|
|
3
|
+
import { AfterViewInit, OnChanges, ElementRef, EventEmitter, SimpleChanges, InjectionToken } from '@angular/core';
|
|
4
|
+
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
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';
|
|
45
8
|
|
|
46
9
|
/**
|
|
47
|
-
*
|
|
48
|
-
* @
|
|
10
|
+
* Represents the different states that require custom transitions between them.
|
|
11
|
+
* @docs-private
|
|
49
12
|
*/
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
13
|
+
declare enum TransitionCheckState {
|
|
14
|
+
/** The initial state of the component before any user interaction. */
|
|
15
|
+
Init = 0,
|
|
16
|
+
/** The state representing the component when it's becoming checked. */
|
|
17
|
+
Checked = 1,
|
|
18
|
+
/** The state representing the component when it's becoming unchecked. */
|
|
19
|
+
Unchecked = 2,
|
|
20
|
+
/** The state representing the component when it's becoming indeterminate. */
|
|
21
|
+
Indeterminate = 3
|
|
22
|
+
}
|
|
23
|
+
/** Change event object emitted by checkbox. */
|
|
24
|
+
declare class MatCheckboxChange {
|
|
25
|
+
/** The source checkbox of the event. */
|
|
26
|
+
source: MatCheckbox;
|
|
27
|
+
/** The new `checked` value of the checkbox. */
|
|
28
|
+
checked: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare class MatCheckbox implements AfterViewInit, OnChanges, ControlValueAccessor, Validator, FocusableOption {
|
|
53
31
|
_elementRef: ElementRef<HTMLElement>;
|
|
54
32
|
private _changeDetectorRef;
|
|
55
33
|
private _ngZone;
|
|
@@ -203,25 +181,8 @@ export declare class MatCheckbox implements AfterViewInit, OnChanges, ControlVal
|
|
|
203
181
|
static ngAcceptInputType_indeterminate: unknown;
|
|
204
182
|
}
|
|
205
183
|
|
|
206
|
-
/** Change event object emitted by checkbox. */
|
|
207
|
-
export declare class MatCheckboxChange {
|
|
208
|
-
/** The source checkbox of the event. */
|
|
209
|
-
source: MatCheckbox;
|
|
210
|
-
/** The new `checked` value of the checkbox. */
|
|
211
|
-
checked: boolean;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* Checkbox click action when user click on input element.
|
|
216
|
-
* noop: Do not toggle checked or indeterminate.
|
|
217
|
-
* check: Only toggle checked status, ignore indeterminate.
|
|
218
|
-
* check-indeterminate: Toggle checked status, set indeterminate to false. Default behavior.
|
|
219
|
-
* undefined: Same as `check-indeterminate`.
|
|
220
|
-
*/
|
|
221
|
-
export declare type MatCheckboxClickAction = 'noop' | 'check' | 'check-indeterminate' | undefined;
|
|
222
|
-
|
|
223
184
|
/** Default `mat-checkbox` options that can be overridden. */
|
|
224
|
-
|
|
185
|
+
interface MatCheckboxDefaultOptions {
|
|
225
186
|
/**
|
|
226
187
|
* Default theme color of the checkbox. This API is supported in M2 themes
|
|
227
188
|
* only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/checkbox/styling.
|
|
@@ -235,49 +196,27 @@ export declare interface MatCheckboxDefaultOptions {
|
|
|
235
196
|
/** Whether disabled checkboxes should be interactive. */
|
|
236
197
|
disabledInteractive?: boolean;
|
|
237
198
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxModule, never>;
|
|
241
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatCheckboxModule, never, [typeof i2.MatCheckbox, typeof i3.MatCommonModule], [typeof i2.MatCheckbox, typeof i3.MatCommonModule]>;
|
|
242
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatCheckboxModule>;
|
|
243
|
-
}
|
|
244
|
-
|
|
199
|
+
/** Injection token to be used to override the default options for `mat-checkbox`. */
|
|
200
|
+
declare const MAT_CHECKBOX_DEFAULT_OPTIONS: InjectionToken<MatCheckboxDefaultOptions>;
|
|
245
201
|
/**
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
* @deprecated No longer used, `MatCheckbox` implements required validation directly.
|
|
251
|
-
* @breaking-change 19.0.0
|
|
202
|
+
* @docs-private
|
|
203
|
+
* @deprecated No longer used, will be removed.
|
|
204
|
+
* @breaking-change 21.0.0
|
|
252
205
|
*/
|
|
253
|
-
|
|
254
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxRequiredValidator, never>;
|
|
255
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCheckboxRequiredValidator, "mat-checkbox[required][formControlName], mat-checkbox[required][formControl], mat-checkbox[required][ngModel]", never, {}, {}, never, never, true, never>;
|
|
256
|
-
}
|
|
257
|
-
|
|
206
|
+
declare function MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY(): MatCheckboxDefaultOptions;
|
|
258
207
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
208
|
+
* Checkbox click action when user click on input element.
|
|
209
|
+
* noop: Do not toggle checked or indeterminate.
|
|
210
|
+
* check: Only toggle checked status, ignore indeterminate.
|
|
211
|
+
* check-indeterminate: Toggle checked status, set indeterminate to false. Default behavior.
|
|
212
|
+
* undefined: Same as `check-indeterminate`.
|
|
261
213
|
*/
|
|
262
|
-
|
|
263
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<_MatCheckboxRequiredValidatorModule, never>;
|
|
264
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<_MatCheckboxRequiredValidatorModule, never, [typeof i1.MatCheckboxRequiredValidator], [typeof i1.MatCheckboxRequiredValidator]>;
|
|
265
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<_MatCheckboxRequiredValidatorModule>;
|
|
266
|
-
}
|
|
214
|
+
type MatCheckboxClickAction = 'noop' | 'check' | 'check-indeterminate' | undefined;
|
|
267
215
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
export declare enum TransitionCheckState {
|
|
273
|
-
/** The initial state of the component before any user interaction. */
|
|
274
|
-
Init = 0,
|
|
275
|
-
/** The state representing the component when it's becoming checked. */
|
|
276
|
-
Checked = 1,
|
|
277
|
-
/** The state representing the component when it's becoming unchecked. */
|
|
278
|
-
Unchecked = 2,
|
|
279
|
-
/** The state representing the component when it's becoming indeterminate. */
|
|
280
|
-
Indeterminate = 3
|
|
216
|
+
declare class MatCheckboxModule {
|
|
217
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxModule, never>;
|
|
218
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatCheckboxModule, never, [typeof MatCheckbox, typeof MatCommonModule], [typeof MatCheckbox, typeof MatCommonModule]>;
|
|
219
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatCheckboxModule>;
|
|
281
220
|
}
|
|
282
221
|
|
|
283
|
-
export { }
|
|
222
|
+
export { MAT_CHECKBOX_DEFAULT_OPTIONS, MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY, MatCheckbox, MatCheckboxChange, type MatCheckboxClickAction, type MatCheckboxDefaultOptions, MatCheckboxModule, TransitionCheckState };
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import
|
|
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 { 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';
|
|
7
3
|
|
|
8
4
|
/** A set of criteria that can be used to filter a list of `MatCheckboxHarness` instances. */
|
|
9
|
-
|
|
5
|
+
interface CheckboxHarnessFilters extends BaseHarnessFilters {
|
|
10
6
|
/** Only find instances whose label matches the given value. */
|
|
11
7
|
label?: string | RegExp;
|
|
12
8
|
/** Only find instances whose name attribute is the given value. */
|
|
@@ -18,9 +14,9 @@ export declare interface CheckboxHarnessFilters extends BaseHarnessFilters {
|
|
|
18
14
|
}
|
|
19
15
|
|
|
20
16
|
/** Harness for interacting with a mat-checkbox in tests. */
|
|
21
|
-
|
|
17
|
+
declare class MatCheckboxHarness extends ComponentHarness {
|
|
22
18
|
static hostSelector: string;
|
|
23
|
-
_input: AsyncFactoryFn<TestElement>;
|
|
19
|
+
_input: _angular_cdk_testing.AsyncFactoryFn<_angular_cdk_testing.TestElement>;
|
|
24
20
|
private _label;
|
|
25
21
|
private _inputContainer;
|
|
26
22
|
/**
|
|
@@ -86,4 +82,4 @@ export declare class MatCheckboxHarness extends ComponentHarness {
|
|
|
86
82
|
uncheck(): Promise<void>;
|
|
87
83
|
}
|
|
88
84
|
|
|
89
|
-
export { }
|
|
85
|
+
export { type CheckboxHarnessFilters, MatCheckboxHarness };
|