@angular/material 17.0.2 → 17.1.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 +14 -10
- package/badge/index.d.ts +5 -5
- package/bottom-sheet/index.d.ts +6 -6
- package/button/_fab-theme.scss +65 -32
- package/button/_icon-button-theme.scss +91 -54
- package/button/index.d.ts +13 -13
- package/button-toggle/index.d.ts +5 -5
- package/card/index.d.ts +18 -18
- package/card/testing/index.d.ts +1 -1
- package/checkbox/index.d.ts +7 -7
- package/chips/index.d.ts +103 -126
- package/core/index.d.ts +51 -32
- package/core/tokens/m2/_index.scss +10 -0
- package/datepicker/index.d.ts +109 -109
- package/datepicker/testing/index.d.ts +1 -1
- package/dialog/index.d.ts +1 -1
- package/dialog/testing/index.d.ts +1 -1
- package/divider/index.d.ts +4 -4
- package/esm2022/autocomplete/autocomplete-origin.mjs +3 -2
- package/esm2022/autocomplete/autocomplete-trigger.mjs +11 -4
- package/esm2022/autocomplete/autocomplete.mjs +4 -4
- package/esm2022/autocomplete/module.mjs +21 -5
- package/esm2022/autocomplete/public-api.mjs +3 -1
- package/esm2022/badge/badge-module.mjs +3 -4
- package/esm2022/badge/badge.mjs +3 -2
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +4 -4
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +6 -5
- package/esm2022/bottom-sheet/bottom-sheet.mjs +3 -4
- package/esm2022/button/button.mjs +5 -5
- package/esm2022/button/fab.mjs +9 -9
- package/esm2022/button/icon-button.mjs +5 -5
- package/esm2022/button/module.mjs +14 -10
- package/esm2022/button-toggle/button-toggle-module.mjs +3 -4
- package/esm2022/button-toggle/button-toggle.mjs +6 -5
- package/esm2022/card/card.mjs +29 -18
- package/esm2022/card/module.mjs +4 -5
- package/esm2022/card/testing/card-harness.mjs +9 -1
- package/esm2022/checkbox/checkbox-required-validator.mjs +4 -2
- package/esm2022/checkbox/checkbox.mjs +31 -17
- package/esm2022/checkbox/module.mjs +5 -6
- package/esm2022/chips/chip-action.mjs +15 -13
- package/esm2022/chips/chip-edit-input.mjs +3 -2
- package/esm2022/chips/chip-grid.mjs +41 -40
- package/esm2022/chips/chip-icons.mjs +7 -4
- package/esm2022/chips/chip-input.mjs +15 -17
- package/esm2022/chips/chip-listbox.mjs +20 -23
- package/esm2022/chips/chip-option.mjs +13 -12
- package/esm2022/chips/chip-row.mjs +6 -7
- package/esm2022/chips/chip-set.mjs +20 -19
- package/esm2022/chips/chip.mjs +50 -44
- package/esm2022/chips/module.mjs +4 -5
- package/esm2022/chips/tokens.mjs +8 -2
- package/esm2022/core/common-behaviors/error-state.mjs +50 -11
- package/esm2022/core/common-behaviors/index.mjs +2 -2
- package/esm2022/core/line/line.mjs +5 -5
- package/esm2022/core/option/index.mjs +3 -4
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option.mjs +7 -7
- package/esm2022/core/ripple/index.mjs +3 -4
- package/esm2022/core/ripple/ripple-ref.mjs +10 -2
- package/esm2022/core/ripple/ripple-renderer.mjs +11 -11
- package/esm2022/core/ripple/ripple.mjs +3 -2
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +3 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +4 -4
- package/esm2022/datepicker/calendar.mjs +8 -12
- package/esm2022/datepicker/date-range-input-parts.mjs +35 -14
- package/esm2022/datepicker/date-range-input.mjs +13 -13
- package/esm2022/datepicker/date-range-picker.mjs +3 -2
- package/esm2022/datepicker/datepicker-actions.mjs +7 -5
- package/esm2022/datepicker/datepicker-base.mjs +57 -62
- package/esm2022/datepicker/datepicker-input-base.mjs +8 -7
- package/esm2022/datepicker/datepicker-input.mjs +3 -2
- package/esm2022/datepicker/datepicker-module.mjs +15 -13
- package/esm2022/datepicker/datepicker-toggle.mjs +10 -10
- package/esm2022/datepicker/datepicker.mjs +3 -2
- package/esm2022/datepicker/month-view.mjs +3 -4
- package/esm2022/datepicker/multi-year-view.mjs +3 -4
- package/esm2022/datepicker/testing/calendar-harness.mjs +11 -4
- package/esm2022/datepicker/year-view.mjs +3 -4
- package/esm2022/dialog/dialog-container.mjs +5 -6
- package/esm2022/dialog/dialog-ref.mjs +10 -4
- package/esm2022/dialog/module.mjs +2 -2
- package/esm2022/dialog/testing/dialog-harness.mjs +11 -4
- package/esm2022/dialog/testing/dialog-opener.mjs +3 -3
- package/esm2022/dialog/testing/public-api.mjs +2 -2
- package/esm2022/divider/divider-module.mjs +3 -4
- package/esm2022/divider/divider.mjs +3 -3
- package/esm2022/expansion/accordion.mjs +8 -13
- package/esm2022/expansion/expansion-module.mjs +14 -7
- package/esm2022/expansion/expansion-panel-content.mjs +3 -2
- package/esm2022/expansion/expansion-panel-header.mjs +18 -16
- package/esm2022/expansion/expansion-panel.mjs +11 -11
- package/esm2022/expansion/testing/expansion-harness.mjs +14 -6
- package/esm2022/form-field/directives/error.mjs +3 -2
- package/esm2022/form-field/directives/floating-label.mjs +3 -2
- package/esm2022/form-field/directives/hint.mjs +3 -2
- package/esm2022/form-field/directives/label.mjs +3 -2
- package/esm2022/form-field/directives/line-ripple.mjs +3 -2
- package/esm2022/form-field/directives/notched-outline.mjs +3 -3
- package/esm2022/form-field/directives/prefix.mjs +3 -2
- package/esm2022/form-field/directives/suffix.mjs +3 -2
- package/esm2022/form-field/form-field.mjs +12 -11
- package/esm2022/form-field/module.mjs +14 -16
- package/esm2022/grid-list/grid-list-module.mjs +13 -9
- package/esm2022/grid-list/grid-list.mjs +3 -3
- package/esm2022/grid-list/grid-tile.mjs +11 -8
- package/esm2022/grid-list/testing/grid-tile-harness.mjs +9 -3
- package/esm2022/grid-list/tile-coordinator.mjs +1 -1
- package/esm2022/icon/icon-module.mjs +3 -4
- package/esm2022/icon/icon.mjs +25 -29
- package/esm2022/icon/testing/icon-harness-filters.mjs +7 -2
- package/esm2022/icon/testing/icon-harness.mjs +4 -3
- package/esm2022/input/input.mjs +26 -28
- package/esm2022/input/module.mjs +3 -4
- package/esm2022/input/public-api.mjs +3 -1
- package/esm2022/list/action-list.mjs +3 -3
- package/esm2022/list/list-base.mjs +5 -3
- package/esm2022/list/list-item-sections.mjs +13 -7
- package/esm2022/list/list-module.mjs +12 -13
- package/esm2022/list/list-option.mjs +6 -6
- package/esm2022/list/list.mjs +6 -6
- package/esm2022/list/nav-list.mjs +3 -3
- package/esm2022/list/selection-list.mjs +3 -3
- package/esm2022/list/subheader.mjs +3 -2
- package/esm2022/list/testing/list-item-harness-base.mjs +18 -6
- package/esm2022/list/testing/public-api.mjs +2 -2
- package/esm2022/menu/menu-content.mjs +3 -2
- package/esm2022/menu/menu-item.mjs +4 -4
- package/esm2022/menu/menu-trigger.mjs +10 -3
- package/esm2022/menu/menu.mjs +4 -4
- package/esm2022/menu/module.mjs +23 -5
- package/esm2022/paginator/module.mjs +4 -5
- package/esm2022/paginator/paginator.mjs +37 -41
- package/esm2022/progress-bar/module.mjs +3 -3
- package/esm2022/progress-bar/progress-bar.mjs +25 -20
- package/esm2022/progress-spinner/module.mjs +3 -4
- package/esm2022/progress-spinner/progress-spinner.mjs +35 -34
- package/esm2022/radio/module.mjs +3 -4
- package/esm2022/radio/radio.mjs +42 -35
- package/esm2022/select/module.mjs +19 -5
- package/esm2022/select/public-api.mjs +5 -1
- package/esm2022/select/select.mjs +83 -66
- package/esm2022/sidenav/drawer.mjs +7 -6
- package/esm2022/sidenav/sidenav-module.mjs +12 -8
- package/esm2022/sidenav/sidenav.mjs +7 -6
- package/esm2022/slide-toggle/module.mjs +15 -7
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +3 -2
- package/esm2022/slide-toggle/slide-toggle.mjs +4 -4
- package/esm2022/slider/module.mjs +17 -5
- package/esm2022/slider/slider-input.mjs +26 -23
- package/esm2022/slider/slider-interface.mjs +16 -1
- package/esm2022/slider/slider-thumb.mjs +8 -9
- package/esm2022/slider/slider.mjs +74 -73
- package/esm2022/slider/testing/slider-harness-filters.mjs +7 -2
- package/esm2022/slider/testing/slider-harness.mjs +4 -3
- package/esm2022/slider/testing/slider-thumb-harness.mjs +3 -2
- package/esm2022/snack-bar/module.mjs +2 -2
- package/esm2022/snack-bar/simple-snack-bar.mjs +4 -6
- package/esm2022/snack-bar/snack-bar-container.mjs +5 -6
- package/esm2022/snack-bar/snack-bar-ref.mjs +1 -1
- package/esm2022/sort/sort-header.mjs +17 -25
- package/esm2022/sort/sort-module.mjs +3 -4
- package/esm2022/sort/sort.mjs +13 -19
- package/esm2022/stepper/step-content.mjs +3 -2
- package/esm2022/stepper/step-header.mjs +11 -16
- package/esm2022/stepper/step-label.mjs +3 -2
- package/esm2022/stepper/stepper-button.mjs +5 -3
- package/esm2022/stepper/stepper-icon.mjs +3 -2
- package/esm2022/stepper/stepper-module.mjs +14 -13
- package/esm2022/stepper/stepper.mjs +11 -13
- package/esm2022/stepper/testing/step-harness-filters.mjs +7 -2
- package/esm2022/stepper/testing/stepper-harness.mjs +4 -3
- package/esm2022/table/cell.mjs +15 -8
- package/esm2022/table/module.mjs +4 -5
- package/esm2022/table/row.mjs +19 -10
- package/esm2022/table/table.mjs +7 -7
- package/esm2022/table/text-column.mjs +6 -4
- package/esm2022/tabs/module.mjs +8 -41
- package/esm2022/tabs/paginated-tab-header.mjs +12 -18
- package/esm2022/tabs/tab-body.mjs +6 -4
- package/esm2022/tabs/tab-content.mjs +3 -2
- package/esm2022/tabs/tab-group.mjs +69 -78
- package/esm2022/tabs/tab-header.mjs +10 -16
- package/esm2022/tabs/tab-label-wrapper.mjs +13 -8
- package/esm2022/tabs/tab-label.mjs +3 -2
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +51 -45
- package/esm2022/tabs/tab.mjs +12 -12
- package/esm2022/toolbar/testing/toolbar-harness.mjs +7 -2
- package/esm2022/toolbar/toolbar-module.mjs +3 -4
- package/esm2022/toolbar/toolbar.mjs +14 -18
- package/esm2022/tooltip/module.mjs +3 -4
- package/esm2022/tooltip/tooltip.mjs +14 -8
- package/esm2022/tree/node.mjs +24 -21
- package/esm2022/tree/outlet.mjs +3 -2
- package/esm2022/tree/padding.mjs +12 -4
- package/esm2022/tree/toggle.mjs +3 -2
- package/esm2022/tree/tree-module.mjs +4 -5
- package/esm2022/tree/tree.mjs +3 -4
- package/expansion/_expansion-theme.scss +56 -22
- package/expansion/index.d.ts +25 -33
- package/expansion/testing/index.d.ts +1 -1
- package/fesm2022/autocomplete.mjs +39 -15
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +4 -4
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +21 -22
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +7 -8
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +29 -25
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs +9 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +31 -21
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +38 -23
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +179 -156
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +87 -42
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs +11 -4
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +183 -156
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +13 -6
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +15 -10
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +4 -5
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs +14 -6
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +51 -44
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +38 -25
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs +9 -3
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +24 -17
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +10 -3
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +27 -31
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +28 -30
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs +18 -6
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +44 -38
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +42 -18
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +39 -47
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +27 -21
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +37 -37
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +43 -37
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +102 -70
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +23 -17
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +19 -11
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs +11 -4
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +133 -102
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +13 -15
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +29 -42
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs +10 -3
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +42 -43
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +44 -26
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +594 -621
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs +7 -2
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +16 -20
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +15 -10
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +36 -30
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +33 -45
- package/grid-list/index.d.ts +10 -10
- package/grid-list/testing/index.d.ts +1 -1
- package/icon/index.d.ts +14 -20
- package/icon/testing/index.d.ts +1 -1
- package/input/index.d.ts +33 -32
- package/list/index.d.ts +36 -36
- package/list/testing/index.d.ts +2 -2
- package/menu/index.d.ts +12 -12
- package/package.json +7 -7
- package/paginator/index.d.ts +21 -22
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-bar/index.d.ts +14 -17
- package/progress-spinner/index.d.ts +18 -19
- package/radio/index.d.ts +25 -27
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-generate/mdc-migration/index_bundled.js +11 -4
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +3 -3
- package/select/index.d.ts +66 -49
- package/sidenav/index.d.ts +11 -11
- package/slide-toggle/index.d.ts +6 -6
- package/slider/index.d.ts +38 -38
- package/slider/testing/index.d.ts +1 -1
- package/sort/index.d.ts +19 -24
- package/stepper/index.d.ts +33 -43
- package/stepper/testing/index.d.ts +1 -1
- package/table/index.d.ts +24 -24
- package/tabs/index.d.ts +75 -103
- package/toolbar/index.d.ts +10 -17
- package/toolbar/testing/index.d.ts +1 -1
- package/tooltip/index.d.ts +8 -8
- package/tree/index.d.ts +26 -28
package/radio/index.d.ts
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { _AbstractConstructor } from '@angular/material/core';
|
|
2
1
|
import { AfterContentInit } from '@angular/core';
|
|
3
2
|
import { AfterViewInit } from '@angular/core';
|
|
4
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
-
import { CanDisableRipple } from '@angular/material/core';
|
|
6
3
|
import { ChangeDetectorRef } from '@angular/core';
|
|
7
|
-
import { _Constructor } from '@angular/material/core';
|
|
8
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
9
5
|
import { DoCheck } from '@angular/core';
|
|
10
6
|
import { ElementRef } from '@angular/core';
|
|
11
7
|
import { EventEmitter } from '@angular/core';
|
|
12
8
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
13
9
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
14
|
-
import { HasTabIndex } from '@angular/material/core';
|
|
15
10
|
import * as i0 from '@angular/core';
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
11
|
+
import * as i1 from '@angular/material/core';
|
|
12
|
+
import * as i2 from '@angular/common';
|
|
18
13
|
import { InjectionToken } from '@angular/core';
|
|
19
14
|
import { OnDestroy } from '@angular/core';
|
|
20
15
|
import { OnInit } from '@angular/core';
|
|
@@ -22,7 +17,7 @@ import { QueryList } from '@angular/core';
|
|
|
22
17
|
import { ThemePalette } from '@angular/material/core';
|
|
23
18
|
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
|
24
19
|
|
|
25
|
-
declare namespace
|
|
20
|
+
declare namespace i3 {
|
|
26
21
|
export {
|
|
27
22
|
MAT_RADIO_DEFAULT_OPTIONS_FACTORY,
|
|
28
23
|
MatRadioChange,
|
|
@@ -53,7 +48,8 @@ export declare const MAT_RADIO_GROUP: InjectionToken<MatRadioGroup>;
|
|
|
53
48
|
*/
|
|
54
49
|
export declare const MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR: any;
|
|
55
50
|
|
|
56
|
-
export declare class MatRadioButton
|
|
51
|
+
export declare class MatRadioButton implements OnInit, AfterViewInit, DoCheck, OnDestroy {
|
|
52
|
+
protected _elementRef: ElementRef;
|
|
57
53
|
private _changeDetector;
|
|
58
54
|
private _focusMonitor;
|
|
59
55
|
private _radioDispatcher;
|
|
@@ -69,9 +65,13 @@ export declare class MatRadioButton extends _MatRadioButtonMixinBase implements
|
|
|
69
65
|
ariaLabelledby: string;
|
|
70
66
|
/** The 'aria-describedby' attribute is read after the element's label and field type. */
|
|
71
67
|
ariaDescribedby: string;
|
|
68
|
+
/** Whether ripples are disabled inside the radio button */
|
|
69
|
+
disableRipple: boolean;
|
|
70
|
+
/** Tabindex of the radio button. */
|
|
71
|
+
tabIndex: number;
|
|
72
72
|
/** Whether this radio button is checked. */
|
|
73
73
|
get checked(): boolean;
|
|
74
|
-
set checked(value:
|
|
74
|
+
set checked(value: boolean);
|
|
75
75
|
/** The value of this radio button. */
|
|
76
76
|
get value(): any;
|
|
77
77
|
set value(value: any);
|
|
@@ -81,10 +81,10 @@ export declare class MatRadioButton extends _MatRadioButtonMixinBase implements
|
|
|
81
81
|
private _labelPosition;
|
|
82
82
|
/** Whether the radio button is disabled. */
|
|
83
83
|
get disabled(): boolean;
|
|
84
|
-
set disabled(value:
|
|
84
|
+
set disabled(value: boolean);
|
|
85
85
|
/** Whether the radio button is required. */
|
|
86
86
|
get required(): boolean;
|
|
87
|
-
set required(value:
|
|
87
|
+
set required(value: boolean);
|
|
88
88
|
/** Theme color of the radio button. */
|
|
89
89
|
get color(): ThemePalette;
|
|
90
90
|
set color(newValue: ThemePalette);
|
|
@@ -115,7 +115,7 @@ export declare class MatRadioButton extends _MatRadioButtonMixinBase implements
|
|
|
115
115
|
_inputElement: ElementRef<HTMLInputElement>;
|
|
116
116
|
/** Whether animations are disabled. */
|
|
117
117
|
_noopAnimations: boolean;
|
|
118
|
-
constructor(radioGroup: MatRadioGroup,
|
|
118
|
+
constructor(radioGroup: MatRadioGroup, _elementRef: ElementRef, _changeDetector: ChangeDetectorRef, _focusMonitor: FocusMonitor, _radioDispatcher: UniqueSelectionDispatcher, animationMode?: string, _providerOverride?: MatRadioDefaultOptions | undefined, tabIndex?: string);
|
|
119
119
|
/** Focuses the radio button. */
|
|
120
120
|
focus(options?: FocusOptions, origin?: FocusOrigin): void;
|
|
121
121
|
/**
|
|
@@ -141,18 +141,14 @@ export declare class MatRadioButton extends _MatRadioButtonMixinBase implements
|
|
|
141
141
|
/** Gets the tabindex for the underlying input element. */
|
|
142
142
|
private _updateTabIndex;
|
|
143
143
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRadioButton, [{ optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
|
|
144
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatRadioButton, "mat-radio-button", ["matRadioButton"], { "
|
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatRadioButton, "mat-radio-button", ["matRadioButton"], { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
145
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
146
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
147
|
+
static ngAcceptInputType_checked: unknown;
|
|
148
|
+
static ngAcceptInputType_disabled: unknown;
|
|
149
|
+
static ngAcceptInputType_required: unknown;
|
|
145
150
|
}
|
|
146
151
|
|
|
147
|
-
/** @docs-private */
|
|
148
|
-
declare abstract class MatRadioButtonBase {
|
|
149
|
-
_elementRef: ElementRef;
|
|
150
|
-
abstract disabled: boolean;
|
|
151
|
-
constructor(_elementRef: ElementRef);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
declare const _MatRadioButtonMixinBase: _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple> & _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex> & typeof MatRadioButtonBase;
|
|
155
|
-
|
|
156
152
|
/** Change event object emitted by radio button and radio group. */
|
|
157
153
|
export declare class MatRadioChange {
|
|
158
154
|
/** The radio button that emits the change event. */
|
|
@@ -231,10 +227,10 @@ export declare class MatRadioGroup implements AfterContentInit, OnDestroy, Contr
|
|
|
231
227
|
set selected(selected: MatRadioButton | null);
|
|
232
228
|
/** Whether the radio group is disabled */
|
|
233
229
|
get disabled(): boolean;
|
|
234
|
-
set disabled(value:
|
|
230
|
+
set disabled(value: boolean);
|
|
235
231
|
/** Whether the radio group is required */
|
|
236
232
|
get required(): boolean;
|
|
237
|
-
set required(value:
|
|
233
|
+
set required(value: boolean);
|
|
238
234
|
constructor(_changeDetector: ChangeDetectorRef);
|
|
239
235
|
/**
|
|
240
236
|
* Initialize properties once content children are available.
|
|
@@ -276,12 +272,14 @@ export declare class MatRadioGroup implements AfterContentInit, OnDestroy, Contr
|
|
|
276
272
|
*/
|
|
277
273
|
setDisabledState(isDisabled: boolean): void;
|
|
278
274
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRadioGroup, never>;
|
|
279
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRadioGroup, "mat-radio-group", ["matRadioGroup"], { "color": { "alias": "color"; "required": false; }; "name": { "alias": "name"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, ["_radios"], never,
|
|
275
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRadioGroup, "mat-radio-group", ["matRadioGroup"], { "color": { "alias": "color"; "required": false; }; "name": { "alias": "name"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, ["_radios"], never, true, never>;
|
|
276
|
+
static ngAcceptInputType_disabled: unknown;
|
|
277
|
+
static ngAcceptInputType_required: unknown;
|
|
280
278
|
}
|
|
281
279
|
|
|
282
280
|
export declare class MatRadioModule {
|
|
283
281
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRadioModule, never>;
|
|
284
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatRadioModule, [typeof i1.
|
|
282
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatRadioModule, never, [typeof i1.MatCommonModule, typeof i2.CommonModule, typeof i1.MatRippleModule, typeof i3.MatRadioGroup, typeof i3.MatRadioButton], [typeof i1.MatCommonModule, typeof i3.MatRadioGroup, typeof i3.MatRadioButton]>;
|
|
285
283
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatRadioModule>;
|
|
286
284
|
}
|
|
287
285
|
|
|
@@ -18,7 +18,7 @@ const package_config_1 = require("./package-config");
|
|
|
18
18
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
19
19
|
* the default for Angular framework dependencies in CLI projects.
|
|
20
20
|
*/
|
|
21
|
-
const fallbackMaterialVersionRange = `~17.0.
|
|
21
|
+
const fallbackMaterialVersionRange = `~17.1.0-next.1`;
|
|
22
22
|
/**
|
|
23
23
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
24
24
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -33,7 +33,7 @@ function default_1(options) {
|
|
|
33
33
|
// have the same version tag if possible.
|
|
34
34
|
const ngCoreVersionTag = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/core');
|
|
35
35
|
const materialVersionRange = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/material');
|
|
36
|
-
const angularDependencyVersion = ngCoreVersionTag || `^17.0.0 || ^18.0.0`;
|
|
36
|
+
const angularDependencyVersion = ngCoreVersionTag || `^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0`;
|
|
37
37
|
// The CLI inserts `@angular/material` into the `package.json` before this schematic runs.
|
|
38
38
|
// This means that we do not need to insert Angular Material into `package.json` files again.
|
|
39
39
|
// In some cases though, it could happen that this schematic runs outside of the CLI `ng add`
|
|
@@ -18,7 +18,7 @@ const package_config_1 = require("./package-config");
|
|
|
18
18
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
19
19
|
* the default for Angular framework dependencies in CLI projects.
|
|
20
20
|
*/
|
|
21
|
-
const fallbackMaterialVersionRange = `~17.0.
|
|
21
|
+
const fallbackMaterialVersionRange = `~17.1.0-next.1`;
|
|
22
22
|
/**
|
|
23
23
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
24
24
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -33,7 +33,7 @@ function default_1(options) {
|
|
|
33
33
|
// have the same version tag if possible.
|
|
34
34
|
const ngCoreVersionTag = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/core');
|
|
35
35
|
const materialVersionRange = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/material');
|
|
36
|
-
const angularDependencyVersion = ngCoreVersionTag || `^17.0.0 || ^18.0.0`;
|
|
36
|
+
const angularDependencyVersion = ngCoreVersionTag || `^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0`;
|
|
37
37
|
// The CLI inserts `@angular/material` into the `package.json` before this schematic runs.
|
|
38
38
|
// This means that we do not need to insert Angular Material into `package.json` files again.
|
|
39
39
|
// In some cases though, it could happen that this schematic runs outside of the CLI `ng add`
|
|
@@ -31906,6 +31906,13 @@ var FormFieldTemplateMigrator = class extends TemplateMigrator {
|
|
|
31906
31906
|
};
|
|
31907
31907
|
|
|
31908
31908
|
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/slider/slider-template.js
|
|
31909
|
+
var BindingType;
|
|
31910
|
+
(function(BindingType2) {
|
|
31911
|
+
BindingType2[BindingType2["INPUT"] = 0] = "INPUT";
|
|
31912
|
+
BindingType2[BindingType2["OUTPUT"] = 1] = "OUTPUT";
|
|
31913
|
+
BindingType2[BindingType2["ATTRIBUTE"] = 2] = "ATTRIBUTE";
|
|
31914
|
+
BindingType2[BindingType2["TWO_WAY_BINDING"] = 3] = "TWO_WAY_BINDING";
|
|
31915
|
+
})(BindingType || (BindingType = {}));
|
|
31909
31916
|
var SliderTemplateMigrator = class extends TemplateMigrator {
|
|
31910
31917
|
getUpdates(ast) {
|
|
31911
31918
|
const updates = [];
|
|
@@ -31996,12 +32003,12 @@ var SliderTemplateMigrator = class extends TemplateMigrator {
|
|
|
31996
32003
|
return inputs.concat(outputs).concat(attributes).concat(twoWayBindings);
|
|
31997
32004
|
}
|
|
31998
32005
|
_getTwoWayBindings(inputs, outputs) {
|
|
31999
|
-
return inputs.filter((input) => outputs.some((output) => output.name === input.name)).map((input) => __spreadProps(__spreadValues({}, input), { type:
|
|
32006
|
+
return inputs.filter((input) => outputs.some((output) => output.name === input.name)).map((input) => __spreadProps(__spreadValues({}, input), { type: BindingType.TWO_WAY_BINDING }));
|
|
32000
32007
|
}
|
|
32001
32008
|
_getOutputs(node) {
|
|
32002
32009
|
return node.outputs.map((output) => ({
|
|
32003
32010
|
node: output,
|
|
32004
|
-
type:
|
|
32011
|
+
type: BindingType.OUTPUT,
|
|
32005
32012
|
name: node.sourceSpan.start.file.content.slice(output.keySpan.start.offset, output.keySpan.end.offset),
|
|
32006
32013
|
value: node.sourceSpan.start.file.content.slice(output.handlerSpan.start.offset, output.handlerSpan.end.offset)
|
|
32007
32014
|
}));
|
|
@@ -32009,7 +32016,7 @@ var SliderTemplateMigrator = class extends TemplateMigrator {
|
|
|
32009
32016
|
_getInputs(node) {
|
|
32010
32017
|
return node.inputs.map((input) => ({
|
|
32011
32018
|
node: input,
|
|
32012
|
-
type:
|
|
32019
|
+
type: BindingType.INPUT,
|
|
32013
32020
|
name: node.sourceSpan.start.file.content.slice(input.keySpan.start.offset, input.keySpan.end.offset),
|
|
32014
32021
|
value: node.sourceSpan.start.file.content.slice(input.value.sourceSpan.start, input.value.sourceSpan.end)
|
|
32015
32022
|
}));
|
|
@@ -32017,7 +32024,7 @@ var SliderTemplateMigrator = class extends TemplateMigrator {
|
|
|
32017
32024
|
_getAttributes(node) {
|
|
32018
32025
|
return node.attributes.map((attribute2) => ({
|
|
32019
32026
|
node: attribute2,
|
|
32020
|
-
type:
|
|
32027
|
+
type: BindingType.ATTRIBUTE,
|
|
32021
32028
|
name: attribute2.name,
|
|
32022
32029
|
value: attribute2.value
|
|
32023
32030
|
}));
|