@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/bottom-sheet/index.d.ts
CHANGED
|
@@ -1,85 +1,56 @@
|
|
|
1
|
-
import { CdkDialogContainer } from '@angular/cdk/dialog';
|
|
2
|
-
import { ComponentRef } from '@angular/core';
|
|
3
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
4
|
-
import { DialogRef } from '@angular/cdk/dialog';
|
|
5
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
6
|
-
import { EventEmitter } from '@angular/core';
|
|
7
1
|
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy, EventEmitter, InjectionToken, ViewContainerRef, ComponentRef, TemplateRef } from '@angular/core';
|
|
8
3
|
import * as i1 from '@angular/cdk/dialog';
|
|
9
|
-
import
|
|
4
|
+
import { CdkDialogContainer, DialogRef } from '@angular/cdk/dialog';
|
|
5
|
+
import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
|
|
10
6
|
import * as i3 from '@angular/cdk/portal';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { OnDestroy } from '@angular/core';
|
|
7
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
8
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
14
9
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
15
|
-
import {
|
|
16
|
-
import { ViewContainerRef } from '@angular/core';
|
|
17
|
-
|
|
18
|
-
/** Options for where to set focus to automatically on dialog open */
|
|
19
|
-
export declare type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
|
|
20
|
-
|
|
21
|
-
declare namespace i4 {
|
|
22
|
-
export {
|
|
23
|
-
MatBottomSheetContainer
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/** Injection token that can be used to access the data that was passed in to a bottom sheet. */
|
|
28
|
-
export declare const MAT_BOTTOM_SHEET_DATA: InjectionToken<any>;
|
|
29
|
-
|
|
30
|
-
/** Injection token that can be used to specify default bottom sheet options. */
|
|
31
|
-
export declare const MAT_BOTTOM_SHEET_DEFAULT_OPTIONS: InjectionToken<MatBottomSheetConfig<any>>;
|
|
10
|
+
import { Observable } from 'rxjs';
|
|
32
11
|
|
|
33
12
|
/**
|
|
34
|
-
*
|
|
13
|
+
* Internal component that wraps user-provided bottom sheet content.
|
|
14
|
+
* @docs-private
|
|
35
15
|
*/
|
|
36
|
-
|
|
37
|
-
private
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
16
|
+
declare class MatBottomSheetContainer extends CdkDialogContainer implements OnDestroy {
|
|
17
|
+
private _breakpointSubscription;
|
|
18
|
+
protected _animationsDisabled: boolean;
|
|
19
|
+
/** The state of the bottom sheet animations. */
|
|
20
|
+
_animationState: 'void' | 'visible' | 'hidden';
|
|
21
|
+
/** Emits whenever the state of the animation changes. */
|
|
22
|
+
_animationStateChanged: EventEmitter<{
|
|
23
|
+
toState: "visible" | "hidden";
|
|
24
|
+
phase: "start" | "done";
|
|
25
|
+
}>;
|
|
26
|
+
/** Whether the component has been destroyed. */
|
|
27
|
+
private _destroyed;
|
|
45
28
|
constructor(...args: unknown[]);
|
|
46
|
-
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
* @returns Reference to the newly-opened bottom sheet.
|
|
51
|
-
*/
|
|
52
|
-
open<T, D = any, R = any>(component: ComponentType<T>, config?: MatBottomSheetConfig<D>): MatBottomSheetRef<T, R>;
|
|
53
|
-
/**
|
|
54
|
-
* Opens a bottom sheet containing the given template.
|
|
55
|
-
* @param template TemplateRef to instantiate as the bottom sheet content.
|
|
56
|
-
* @param config Extra configuration options.
|
|
57
|
-
* @returns Reference to the newly-opened bottom sheet.
|
|
58
|
-
*/
|
|
59
|
-
open<T, D = any, R = any>(template: TemplateRef<T>, config?: MatBottomSheetConfig<D>): MatBottomSheetRef<T, R>;
|
|
60
|
-
/**
|
|
61
|
-
* Dismisses the currently-visible bottom sheet.
|
|
62
|
-
* @param result Data to pass to the bottom sheet instance.
|
|
63
|
-
*/
|
|
64
|
-
dismiss<R = any>(result?: R): void;
|
|
29
|
+
/** Begin animation of bottom sheet entrance into view. */
|
|
30
|
+
enter(): void;
|
|
31
|
+
/** Begin animation of the bottom sheet exiting from view. */
|
|
32
|
+
exit(): void;
|
|
65
33
|
ngOnDestroy(): void;
|
|
66
|
-
|
|
67
|
-
|
|
34
|
+
private _simulateAnimation;
|
|
35
|
+
protected _handleAnimationEvent(isStart: boolean, animationName: string): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheetContainer, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatBottomSheetContainer, "mat-bottom-sheet-container", never, {}, {}, never, never, true, never>;
|
|
68
38
|
}
|
|
69
39
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
export declare const matBottomSheetAnimations: {
|
|
76
|
-
readonly bottomSheetState: any;
|
|
77
|
-
};
|
|
40
|
+
declare class MatBottomSheetModule {
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheetModule, never>;
|
|
42
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatBottomSheetModule, never, [typeof i1.DialogModule, typeof MatCommonModule, typeof i3.PortalModule, typeof MatBottomSheetContainer], [typeof MatBottomSheetContainer, typeof MatCommonModule]>;
|
|
43
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatBottomSheetModule>;
|
|
44
|
+
}
|
|
78
45
|
|
|
46
|
+
/** Options for where to set focus to automatically on dialog open */
|
|
47
|
+
type AutoFocusTarget = 'dialog' | 'first-tabbable' | 'first-heading';
|
|
48
|
+
/** Injection token that can be used to access the data that was passed in to a bottom sheet. */
|
|
49
|
+
declare const MAT_BOTTOM_SHEET_DATA: InjectionToken<any>;
|
|
79
50
|
/**
|
|
80
51
|
* Configuration used when opening a bottom sheet.
|
|
81
52
|
*/
|
|
82
|
-
|
|
53
|
+
declare class MatBottomSheetConfig<D = any> {
|
|
83
54
|
/** The view container to place the overlay for the bottom sheet into. */
|
|
84
55
|
viewContainerRef?: ViewContainerRef;
|
|
85
56
|
/** Extra CSS classes to be added to the bottom sheet container. */
|
|
@@ -129,44 +100,10 @@ export declare class MatBottomSheetConfig<D = any> {
|
|
|
129
100
|
maxHeight?: number | string;
|
|
130
101
|
}
|
|
131
102
|
|
|
132
|
-
/**
|
|
133
|
-
* Internal component that wraps user-provided bottom sheet content.
|
|
134
|
-
* @docs-private
|
|
135
|
-
*/
|
|
136
|
-
export declare class MatBottomSheetContainer extends CdkDialogContainer implements OnDestroy {
|
|
137
|
-
private _breakpointSubscription;
|
|
138
|
-
protected _animationsDisabled: boolean;
|
|
139
|
-
/** The state of the bottom sheet animations. */
|
|
140
|
-
_animationState: 'void' | 'visible' | 'hidden';
|
|
141
|
-
/** Emits whenever the state of the animation changes. */
|
|
142
|
-
_animationStateChanged: EventEmitter<{
|
|
143
|
-
toState: "visible" | "hidden";
|
|
144
|
-
phase: "start" | "done";
|
|
145
|
-
}>;
|
|
146
|
-
/** Whether the component has been destroyed. */
|
|
147
|
-
private _destroyed;
|
|
148
|
-
constructor(...args: unknown[]);
|
|
149
|
-
/** Begin animation of bottom sheet entrance into view. */
|
|
150
|
-
enter(): void;
|
|
151
|
-
/** Begin animation of the bottom sheet exiting from view. */
|
|
152
|
-
exit(): void;
|
|
153
|
-
ngOnDestroy(): void;
|
|
154
|
-
private _simulateAnimation;
|
|
155
|
-
protected _handleAnimationEvent(isStart: boolean, animationName: string): void;
|
|
156
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheetContainer, never>;
|
|
157
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatBottomSheetContainer, "mat-bottom-sheet-container", never, {}, {}, never, never, true, never>;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export declare class MatBottomSheetModule {
|
|
161
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheetModule, never>;
|
|
162
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatBottomSheetModule, never, [typeof i1.DialogModule, typeof i2.MatCommonModule, typeof i3.PortalModule, typeof i4.MatBottomSheetContainer], [typeof i4.MatBottomSheetContainer, typeof i2.MatCommonModule]>;
|
|
163
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatBottomSheetModule>;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
103
|
/**
|
|
167
104
|
* Reference to a bottom sheet dispatched from the bottom sheet service.
|
|
168
105
|
*/
|
|
169
|
-
|
|
106
|
+
declare class MatBottomSheetRef<T = any, R = any> {
|
|
170
107
|
private _ref;
|
|
171
108
|
/** Instance of the component making up the content of the bottom sheet. */
|
|
172
109
|
get instance(): T;
|
|
@@ -208,4 +145,52 @@ export declare class MatBottomSheetRef<T = any, R = any> {
|
|
|
208
145
|
keydownEvents(): Observable<KeyboardEvent>;
|
|
209
146
|
}
|
|
210
147
|
|
|
211
|
-
|
|
148
|
+
/** Injection token that can be used to specify default bottom sheet options. */
|
|
149
|
+
declare const MAT_BOTTOM_SHEET_DEFAULT_OPTIONS: InjectionToken<MatBottomSheetConfig<any>>;
|
|
150
|
+
/**
|
|
151
|
+
* Service to trigger Material Design bottom sheets.
|
|
152
|
+
*/
|
|
153
|
+
declare class MatBottomSheet implements OnDestroy {
|
|
154
|
+
private _overlay;
|
|
155
|
+
private _parentBottomSheet;
|
|
156
|
+
private _defaultOptions;
|
|
157
|
+
private _bottomSheetRefAtThisLevel;
|
|
158
|
+
private _dialog;
|
|
159
|
+
/** Reference to the currently opened bottom sheet. */
|
|
160
|
+
get _openedBottomSheetRef(): MatBottomSheetRef<any> | null;
|
|
161
|
+
set _openedBottomSheetRef(value: MatBottomSheetRef<any> | null);
|
|
162
|
+
constructor(...args: unknown[]);
|
|
163
|
+
/**
|
|
164
|
+
* Opens a bottom sheet containing the given component.
|
|
165
|
+
* @param component Type of the component to load into the bottom sheet.
|
|
166
|
+
* @param config Extra configuration options.
|
|
167
|
+
* @returns Reference to the newly-opened bottom sheet.
|
|
168
|
+
*/
|
|
169
|
+
open<T, D = any, R = any>(component: ComponentType<T>, config?: MatBottomSheetConfig<D>): MatBottomSheetRef<T, R>;
|
|
170
|
+
/**
|
|
171
|
+
* Opens a bottom sheet containing the given template.
|
|
172
|
+
* @param template TemplateRef to instantiate as the bottom sheet content.
|
|
173
|
+
* @param config Extra configuration options.
|
|
174
|
+
* @returns Reference to the newly-opened bottom sheet.
|
|
175
|
+
*/
|
|
176
|
+
open<T, D = any, R = any>(template: TemplateRef<T>, config?: MatBottomSheetConfig<D>): MatBottomSheetRef<T, R>;
|
|
177
|
+
/**
|
|
178
|
+
* Dismisses the currently-visible bottom sheet.
|
|
179
|
+
* @param result Data to pass to the bottom sheet instance.
|
|
180
|
+
*/
|
|
181
|
+
dismiss<R = any>(result?: R): void;
|
|
182
|
+
ngOnDestroy(): void;
|
|
183
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatBottomSheet, never>;
|
|
184
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatBottomSheet>;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Animations used by the Material bottom sheet.
|
|
189
|
+
* @deprecated No longer used. Will be removed.
|
|
190
|
+
* @breaking-change 21.0.0
|
|
191
|
+
*/
|
|
192
|
+
declare const matBottomSheetAnimations: {
|
|
193
|
+
readonly bottomSheetState: any;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
export { type AutoFocusTarget, MAT_BOTTOM_SHEET_DATA, MAT_BOTTOM_SHEET_DEFAULT_OPTIONS, MatBottomSheet, MatBottomSheetConfig, MatBottomSheetContainer, MatBottomSheetModule, MatBottomSheetRef, matBottomSheetAnimations };
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
2
|
-
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
3
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
1
|
+
import { BaseHarnessFilters, ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
interface BottomSheetHarnessFilters extends BaseHarnessFilters {
|
|
6
4
|
}
|
|
7
5
|
|
|
8
6
|
/** Harness for interacting with a standard MatBottomSheet in tests. */
|
|
9
|
-
|
|
7
|
+
declare class MatBottomSheetHarness extends ContentContainerComponentHarness<string> {
|
|
10
8
|
static hostSelector: string;
|
|
11
9
|
/**
|
|
12
10
|
* Gets a `HarnessPredicate` that can be used to search for a bottom sheet with
|
|
@@ -24,4 +22,4 @@ export declare class MatBottomSheetHarness extends ContentContainerComponentHarn
|
|
|
24
22
|
dismiss(): Promise<void>;
|
|
25
23
|
}
|
|
26
24
|
|
|
27
|
-
export { }
|
|
25
|
+
export { type BottomSheetHarnessFilters, MatBottomSheetHarness };
|
package/button/index.d.ts
CHANGED
|
@@ -1,245 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
declare namespace i2 {
|
|
13
|
-
export {
|
|
14
|
-
MatButton,
|
|
15
|
-
MatAnchor
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
declare namespace i3 {
|
|
20
|
-
export {
|
|
21
|
-
MAT_FAB_DEFAULT_OPTIONS_FACTORY,
|
|
22
|
-
MatFabDefaultOptions,
|
|
23
|
-
MAT_FAB_DEFAULT_OPTIONS,
|
|
24
|
-
MatFabButton,
|
|
25
|
-
MatMiniFabButton,
|
|
26
|
-
MatFabAnchor,
|
|
27
|
-
MatMiniFabAnchor
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
declare namespace i4 {
|
|
32
|
-
export {
|
|
33
|
-
MatIconButton,
|
|
34
|
-
MatIconAnchor
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/** Injection token that can be used to provide the default options the button component. */
|
|
39
|
-
export declare const MAT_BUTTON_CONFIG: InjectionToken<MatButtonConfig>;
|
|
40
|
-
|
|
41
|
-
/** Injection token to be used to override the default options for FAB. */
|
|
42
|
-
export declare const MAT_FAB_DEFAULT_OPTIONS: InjectionToken<MatFabDefaultOptions>;
|
|
43
|
-
|
|
44
|
-
/** @docs-private */
|
|
45
|
-
export declare function MAT_FAB_DEFAULT_OPTIONS_FACTORY(): MatFabDefaultOptions;
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Material Design button component for anchor elements. Anchor elements are used to provide
|
|
49
|
-
* links for the user to navigate across different routes or pages.
|
|
50
|
-
* See https://material.io/components/buttons
|
|
51
|
-
*
|
|
52
|
-
* The `MatAnchor` class applies to native anchor elements and captures the appearances for
|
|
53
|
-
* "text button", "outlined button", and "contained button" per the Material Design
|
|
54
|
-
* specification. `MatAnchor` additionally captures an additional "flat" appearance, which matches
|
|
55
|
-
* "contained" but without elevation.
|
|
56
|
-
*/
|
|
57
|
-
export declare const MatAnchor: typeof MatButton;
|
|
58
|
-
|
|
59
|
-
export declare type MatAnchor = MatButton;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Material Design button component. Users interact with a button to perform an action.
|
|
63
|
-
* See https://material.io/components/buttons
|
|
64
|
-
*
|
|
65
|
-
* The `MatButton` class applies to native button elements and captures the appearances for
|
|
66
|
-
* "text button", "outlined button", and "contained button" per the Material Design
|
|
67
|
-
* specification. `MatButton` additionally captures an additional "flat" appearance, which matches
|
|
68
|
-
* "contained" but without elevation.
|
|
69
|
-
*/
|
|
70
|
-
export declare class MatButton extends MatButtonBase {
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatButton, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatButton, " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", ["matButton", "matAnchor"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/** Base class for all buttons. */
|
|
76
|
-
declare class MatButtonBase implements AfterViewInit, OnDestroy {
|
|
77
|
-
_elementRef: ElementRef<any>;
|
|
78
|
-
_ngZone: NgZone;
|
|
79
|
-
_animationMode: "NoopAnimations" | "BrowserAnimations" | null;
|
|
80
|
-
private readonly _focusMonitor;
|
|
81
|
-
private _cleanupClick;
|
|
82
|
-
private _renderer;
|
|
83
|
-
/**
|
|
84
|
-
* Handles the lazy creation of the MatButton ripple.
|
|
85
|
-
* Used to improve initial load time of large applications.
|
|
86
|
-
*/
|
|
87
|
-
protected _rippleLoader: MatRippleLoader;
|
|
88
|
-
/** Whether the button is set on an anchor node. */
|
|
89
|
-
protected _isAnchor: boolean;
|
|
90
|
-
/** Whether this button is a FAB. Used to apply the correct class on the ripple. */
|
|
91
|
-
protected _isFab: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Theme color of the button. This API is supported in M2 themes only, it has
|
|
94
|
-
* no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/button/styling.
|
|
95
|
-
*
|
|
96
|
-
* For information on applying color variants in M3, see
|
|
97
|
-
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
98
|
-
*/
|
|
99
|
-
color?: string | null;
|
|
100
|
-
/** Whether the ripple effect is disabled or not. */
|
|
101
|
-
get disableRipple(): boolean;
|
|
102
|
-
set disableRipple(value: any);
|
|
103
|
-
private _disableRipple;
|
|
104
|
-
/** Whether the button is disabled. */
|
|
105
|
-
get disabled(): boolean;
|
|
106
|
-
set disabled(value: any);
|
|
107
|
-
private _disabled;
|
|
108
|
-
/** `aria-disabled` value of the button. */
|
|
109
|
-
ariaDisabled: boolean | undefined;
|
|
110
|
-
/**
|
|
111
|
-
* Natively disabled buttons prevent focus and any pointer events from reaching the button.
|
|
112
|
-
* In some scenarios this might not be desirable, because it can prevent users from finding out
|
|
113
|
-
* why the button is disabled (e.g. via tooltip).
|
|
114
|
-
*
|
|
115
|
-
* Enabling this input will change the button so that it is styled to be disabled and will be
|
|
116
|
-
* marked as `aria-disabled`, but it will allow the button to receive events and focus.
|
|
117
|
-
*
|
|
118
|
-
* Note that by enabling this, you need to set the `tabindex` yourself if the button isn't
|
|
119
|
-
* meant to be tabbable and you have to prevent the button action (e.g. form submissions).
|
|
120
|
-
*/
|
|
121
|
-
disabledInteractive: boolean;
|
|
122
|
-
/** Tab index for the button. */
|
|
123
|
-
tabIndex: number;
|
|
124
|
-
/**
|
|
125
|
-
* Backwards-compatibility input that handles pre-existing `[tabindex]` bindings.
|
|
126
|
-
* @docs-private
|
|
127
|
-
*/
|
|
128
|
-
set _tabindex(value: number);
|
|
129
|
-
constructor(...args: unknown[]);
|
|
130
|
-
ngAfterViewInit(): void;
|
|
131
|
-
ngOnDestroy(): void;
|
|
132
|
-
/** Focuses the button. */
|
|
133
|
-
focus(origin?: FocusOrigin, options?: FocusOptions): void;
|
|
134
|
-
protected _getAriaDisabled(): boolean | null;
|
|
135
|
-
protected _getDisabledAttribute(): true | null;
|
|
136
|
-
private _updateRippleDisabled;
|
|
137
|
-
protected _getTabIndex(): number;
|
|
138
|
-
private _setupAsAnchor;
|
|
139
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonBase, never>;
|
|
140
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonBase, never, never, { "color": { "alias": "color"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaDisabled": { "alias": "aria-disabled"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "_tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, never, true, never>;
|
|
141
|
-
static ngAcceptInputType_disableRipple: unknown;
|
|
142
|
-
static ngAcceptInputType_disabled: unknown;
|
|
143
|
-
static ngAcceptInputType_ariaDisabled: unknown;
|
|
144
|
-
static ngAcceptInputType_disabledInteractive: unknown;
|
|
145
|
-
static ngAcceptInputType_tabIndex: unknown;
|
|
146
|
-
static ngAcceptInputType__tabindex: unknown;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/** Object that can be used to configure the default options for the button component. */
|
|
150
|
-
export declare interface MatButtonConfig {
|
|
151
|
-
/** Whether disabled buttons should be interactive. */
|
|
152
|
-
disabledInteractive?: boolean;
|
|
153
|
-
/** Default palette color to apply to buttons. */
|
|
154
|
-
color?: ThemePalette;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export declare class MatButtonModule {
|
|
158
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonModule, never>;
|
|
159
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatButtonModule, never, [typeof i1.MatCommonModule, typeof i1.MatRippleModule, typeof i2.MatButton, typeof i3.MatMiniFabButton, typeof i4.MatIconButton, typeof i3.MatFabButton], [typeof i1.MatCommonModule, typeof i2.MatButton, typeof i3.MatMiniFabButton, typeof i4.MatIconButton, typeof i3.MatFabButton]>;
|
|
160
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatButtonModule>;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Material Design floating action button (FAB) component for anchor elements. Anchor elements
|
|
165
|
-
* are used to provide links for the user to navigate across different routes or pages.
|
|
166
|
-
* See https://material.io/components/buttons-floating-action-button/
|
|
167
|
-
*
|
|
168
|
-
* The `MatFabAnchor` class has two appearances: normal and extended.
|
|
169
|
-
*/
|
|
170
|
-
export declare const MatFabAnchor: typeof MatFabButton;
|
|
171
|
-
|
|
172
|
-
export declare type MatFabAnchor = MatFabButton;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Material Design floating action button (FAB) component. These buttons represent the primary
|
|
176
|
-
* or most common action for users to interact with.
|
|
177
|
-
* See https://material.io/components/buttons-floating-action-button/
|
|
178
|
-
*
|
|
179
|
-
* The `MatFabButton` class has two appearances: normal and extended.
|
|
180
|
-
*/
|
|
181
|
-
export declare class MatFabButton extends MatButtonBase {
|
|
182
|
-
private _options;
|
|
183
|
-
_isFab: boolean;
|
|
184
|
-
extended: boolean;
|
|
185
|
-
constructor(...args: unknown[]);
|
|
186
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabButton, never>;
|
|
187
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabButton, "button[mat-fab], a[mat-fab]", ["matButton", "matAnchor"], { "extended": { "alias": "extended"; "required": false; }; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
188
|
-
static ngAcceptInputType_extended: unknown;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/** Default FAB options that can be overridden. */
|
|
192
|
-
export declare interface MatFabDefaultOptions {
|
|
193
|
-
/**
|
|
194
|
-
* Default theme color of the button. This API is supported in M2 themes
|
|
195
|
-
* only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/button/styling.
|
|
196
|
-
*
|
|
197
|
-
* For information on applying color variants in M3, see
|
|
198
|
-
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants.
|
|
199
|
-
*/
|
|
200
|
-
color?: ThemePalette;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Material Design icon button component for anchor elements. This button displays a single
|
|
205
|
-
* interaction icon that allows users to navigate across different routes or pages.
|
|
206
|
-
* See https://material.io/develop/web/components/buttons/icon-buttons/
|
|
207
|
-
*/
|
|
208
|
-
export declare const MatIconAnchor: typeof MatIconButton;
|
|
209
|
-
|
|
210
|
-
export declare type MatIconAnchor = MatIconButton;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Material Design icon button component. This type of button displays a single interactive icon for
|
|
214
|
-
* users to perform an action.
|
|
215
|
-
* See https://material.io/develop/web/components/buttons/icon-buttons/
|
|
216
|
-
*/
|
|
217
|
-
export declare class MatIconButton extends MatButtonBase {
|
|
218
|
-
constructor(...args: unknown[]);
|
|
219
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconButton, never>;
|
|
220
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconButton, "button[mat-icon-button], a[mat-icon-button]", ["matButton", "matAnchor"], {}, {}, never, ["*"], true, never>;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* Material Design mini floating action button (FAB) component for anchor elements. Anchor elements
|
|
225
|
-
* are used to provide links for the user to navigate across different routes or pages.
|
|
226
|
-
* See https://material.io/components/buttons-floating-action-button/
|
|
227
|
-
*/
|
|
228
|
-
export declare const MatMiniFabAnchor: typeof MatMiniFabButton;
|
|
229
|
-
|
|
230
|
-
export declare type MatMiniFabAnchor = MatMiniFabButton;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Material Design mini floating action button (FAB) component. These buttons represent the primary
|
|
234
|
-
* or most common action for users to interact with.
|
|
235
|
-
* See https://material.io/components/buttons-floating-action-button/
|
|
236
|
-
*/
|
|
237
|
-
export declare class MatMiniFabButton extends MatButtonBase {
|
|
238
|
-
private _options;
|
|
239
|
-
_isFab: boolean;
|
|
240
|
-
constructor(...args: unknown[]);
|
|
241
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabButton, never>;
|
|
242
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabButton, "button[mat-mini-fab], a[mat-mini-fab]", ["matButton", "matAnchor"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
export { }
|
|
1
|
+
export { M as MAT_BUTTON_CONFIG, e as MAT_FAB_DEFAULT_OPTIONS, f as MAT_FAB_DEFAULT_OPTIONS_FACTORY, c as MatAnchor, b as MatButton, a as MatButtonConfig, m as MatButtonModule, i as MatFabAnchor, g as MatFabButton, d as MatFabDefaultOptions, l as MatIconAnchor, k as MatIconButton, j as MatMiniFabAnchor, h as MatMiniFabButton } from '../module.d-18a67f56.js';
|
|
2
|
+
import '@angular/core';
|
|
3
|
+
import '../common-module.d-0e6515ae.js';
|
|
4
|
+
import '@angular/cdk/bidi';
|
|
5
|
+
import '../index.d-0536b706.js';
|
|
6
|
+
import '../ripple.d-2fb57d04.js';
|
|
7
|
+
import '@angular/cdk/platform';
|
|
8
|
+
import '@angular/cdk/a11y';
|
|
9
|
+
import '../palette.d-ec4a617c.js';
|
|
10
|
+
import '../ripple-loader.d-8aac2988.js';
|
|
@@ -1,10 +1,9 @@
|
|
|
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
|
|
|
3
|
+
/** Possible button appearances. */
|
|
4
|
+
type ButtonVariant = 'basic' | 'raised' | 'flat' | 'icon' | 'stroked' | 'fab' | 'mini-fab';
|
|
6
5
|
/** A set of criteria that can be used to filter a list of button harness instances. */
|
|
7
|
-
|
|
6
|
+
interface ButtonHarnessFilters extends BaseHarnessFilters {
|
|
8
7
|
/** Only find instances whose text matches the given value. */
|
|
9
8
|
text?: string | RegExp;
|
|
10
9
|
/** Only find instances with a variant. */
|
|
@@ -13,11 +12,8 @@ export declare interface ButtonHarnessFilters extends BaseHarnessFilters {
|
|
|
13
12
|
disabled?: boolean;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
/** Possible button appearances. */
|
|
17
|
-
export declare type ButtonVariant = 'basic' | 'raised' | 'flat' | 'icon' | 'stroked' | 'fab' | 'mini-fab';
|
|
18
|
-
|
|
19
15
|
/** Harness for interacting with a mat-button in tests. */
|
|
20
|
-
|
|
16
|
+
declare class MatButtonHarness extends ContentContainerComponentHarness {
|
|
21
17
|
static hostSelector: string;
|
|
22
18
|
/**
|
|
23
19
|
* Gets a `HarnessPredicate` that can be used to search for a button with specific attributes.
|
|
@@ -52,4 +48,4 @@ export declare class MatButtonHarness extends ContentContainerComponentHarness {
|
|
|
52
48
|
getVariant(): Promise<ButtonVariant>;
|
|
53
49
|
}
|
|
54
50
|
|
|
55
|
-
export { }
|
|
51
|
+
export { type ButtonHarnessFilters, type ButtonVariant, MatButtonHarness };
|