@angular/material 13.1.0 → 13.1.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/autocomplete-trigger.d.ts +1 -2
- package/autocomplete/autocomplete.d.ts +1 -3
- package/badge/badge.d.ts +2 -5
- package/button/button.d.ts +0 -3
- package/button-toggle/button-toggle.d.ts +5 -13
- package/checkbox/checkbox.d.ts +6 -11
- package/chips/chip-input.d.ts +2 -4
- package/chips/chip-list.d.ts +4 -8
- package/chips/chip.d.ts +5 -11
- package/core/option/optgroup.d.ts +0 -2
- package/core/option/option.d.ts +3 -4
- package/datepicker/date-range-input.d.ts +2 -4
- package/datepicker/datepicker-base.d.ts +4 -8
- package/datepicker/datepicker-input-base.d.ts +2 -4
- package/datepicker/datepicker-toggle.d.ts +1 -2
- package/divider/divider.d.ts +2 -4
- package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
- package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
- package/esm2020/autocomplete/autocomplete-trigger.mjs +7 -7
- package/esm2020/autocomplete/autocomplete.mjs +7 -7
- package/esm2020/badge/badge-module.mjs +5 -5
- package/esm2020/badge/badge.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet-container.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
- package/esm2020/bottom-sheet/bottom-sheet.mjs +4 -4
- package/esm2020/button/button-module.mjs +5 -5
- package/esm2020/button/button.mjs +7 -7
- package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2020/button-toggle/button-toggle.mjs +7 -7
- package/esm2020/card/card-module.mjs +5 -5
- package/esm2020/card/card.mjs +43 -43
- package/esm2020/checkbox/checkbox-module.mjs +9 -9
- package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2020/checkbox/checkbox.mjs +4 -4
- package/esm2020/chips/chip-input.mjs +4 -4
- package/esm2020/chips/chip-list.mjs +4 -4
- package/esm2020/chips/chip.mjs +13 -13
- package/esm2020/chips/chips-module.mjs +5 -5
- package/esm2020/core/common-behaviors/common-module.mjs +6 -6
- package/esm2020/core/common-behaviors/disable-ripple.mjs +1 -1
- package/esm2020/core/common-behaviors/disabled.mjs +1 -1
- package/esm2020/core/datetime/index.mjs +9 -9
- package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
- package/esm2020/core/error/error-options.mjs +7 -7
- package/esm2020/core/line/line.mjs +8 -8
- package/esm2020/core/option/index.mjs +5 -5
- package/esm2020/core/option/optgroup.mjs +14 -7
- package/esm2020/core/option/option.mjs +8 -8
- package/esm2020/core/ripple/index.mjs +5 -5
- package/esm2020/core/ripple/ripple.mjs +4 -4
- package/esm2020/core/selection/index.mjs +5 -5
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar-body.mjs +4 -4
- package/esm2020/datepicker/calendar.mjs +7 -7
- package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
- package/esm2020/datepicker/date-range-input.mjs +4 -4
- package/esm2020/datepicker/date-range-picker.mjs +4 -4
- package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
- package/esm2020/datepicker/date-selection-model.mjs +10 -10
- package/esm2020/datepicker/datepicker-actions.mjs +10 -10
- package/esm2020/datepicker/datepicker-base.mjs +7 -7
- package/esm2020/datepicker/datepicker-input-base.mjs +4 -4
- package/esm2020/datepicker/datepicker-input.mjs +4 -4
- package/esm2020/datepicker/datepicker-intl.mjs +4 -4
- package/esm2020/datepicker/datepicker-module.mjs +5 -5
- package/esm2020/datepicker/datepicker-toggle.mjs +7 -7
- package/esm2020/datepicker/datepicker.mjs +4 -4
- package/esm2020/datepicker/month-view.mjs +4 -4
- package/esm2020/datepicker/multi-year-view.mjs +4 -4
- package/esm2020/datepicker/year-view.mjs +4 -4
- package/esm2020/dialog/dialog-container.mjs +7 -7
- package/esm2020/dialog/dialog-content-directives.mjs +13 -13
- package/esm2020/dialog/dialog-module.mjs +5 -5
- package/esm2020/dialog/dialog.mjs +7 -7
- package/esm2020/divider/divider-module.mjs +5 -5
- package/esm2020/divider/divider.mjs +4 -4
- package/esm2020/expansion/accordion.mjs +4 -4
- package/esm2020/expansion/expansion-module.mjs +5 -5
- package/esm2020/expansion/expansion-panel-content.mjs +4 -4
- package/esm2020/expansion/expansion-panel-header.mjs +10 -10
- package/esm2020/expansion/expansion-panel.mjs +7 -7
- package/esm2020/form-field/error.mjs +4 -4
- package/esm2020/form-field/form-field-control.mjs +4 -4
- package/esm2020/form-field/form-field-module.mjs +5 -5
- package/esm2020/form-field/form-field.mjs +4 -4
- package/esm2020/form-field/hint.mjs +4 -4
- package/esm2020/form-field/label.mjs +4 -4
- package/esm2020/form-field/placeholder.mjs +4 -4
- package/esm2020/form-field/prefix.mjs +4 -4
- package/esm2020/form-field/suffix.mjs +4 -4
- package/esm2020/grid-list/grid-list-module.mjs +5 -5
- package/esm2020/grid-list/grid-list.mjs +4 -4
- package/esm2020/grid-list/grid-tile.mjs +16 -16
- package/esm2020/icon/icon-module.mjs +5 -5
- package/esm2020/icon/icon-registry.mjs +4 -4
- package/esm2020/icon/icon.mjs +4 -4
- package/esm2020/icon/testing/fake-icon-registry.mjs +8 -8
- package/esm2020/input/input-module.mjs +5 -5
- package/esm2020/input/input.mjs +4 -4
- package/esm2020/list/list-module.mjs +5 -5
- package/esm2020/list/list.mjs +19 -19
- package/esm2020/list/selection-list.mjs +7 -7
- package/esm2020/menu/menu-content.mjs +7 -7
- package/esm2020/menu/menu-item.mjs +4 -4
- package/esm2020/menu/menu-module.mjs +5 -5
- package/esm2020/menu/menu-trigger.mjs +7 -7
- package/esm2020/menu/menu.mjs +7 -7
- package/esm2020/paginator/paginator-intl.mjs +4 -4
- package/esm2020/paginator/paginator-module.mjs +5 -5
- package/esm2020/paginator/paginator.mjs +9 -9
- package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.mjs +4 -4
- package/esm2020/progress-spinner/progress-spinner-module.mjs +5 -5
- package/esm2020/progress-spinner/progress-spinner.mjs +7 -7
- package/esm2020/radio/radio-module.mjs +5 -5
- package/esm2020/radio/radio.mjs +14 -14
- package/esm2020/select/select-module.mjs +5 -5
- package/esm2020/select/select.mjs +10 -10
- package/esm2020/sidenav/drawer.mjs +11 -11
- package/esm2020/sidenav/sidenav-module.mjs +5 -5
- package/esm2020/sidenav/sidenav.mjs +10 -10
- package/esm2020/slide-toggle/slide-toggle-module.mjs +9 -9
- package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
- package/esm2020/slide-toggle/slide-toggle.mjs +4 -4
- package/esm2020/slider/slider-module.mjs +5 -5
- package/esm2020/slider/slider.mjs +4 -4
- package/esm2020/snack-bar/simple-snack-bar.mjs +4 -4
- package/esm2020/snack-bar/snack-bar-container.mjs +4 -4
- package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
- package/esm2020/snack-bar/snack-bar.mjs +4 -4
- package/esm2020/sort/sort-header-intl.mjs +4 -4
- package/esm2020/sort/sort-header.mjs +4 -4
- package/esm2020/sort/sort-module.mjs +5 -5
- package/esm2020/sort/sort.mjs +4 -4
- package/esm2020/stepper/step-content.mjs +4 -4
- package/esm2020/stepper/step-header.mjs +5 -5
- package/esm2020/stepper/step-label.mjs +4 -4
- package/esm2020/stepper/stepper-button.mjs +7 -7
- package/esm2020/stepper/stepper-icon.mjs +4 -4
- package/esm2020/stepper/stepper-intl.mjs +4 -4
- package/esm2020/stepper/stepper-module.mjs +5 -5
- package/esm2020/stepper/stepper.mjs +16 -16
- package/esm2020/table/cell.mjs +22 -22
- package/esm2020/table/row.mjs +22 -22
- package/esm2020/table/table-module.mjs +5 -5
- package/esm2020/table/table.mjs +7 -7
- package/esm2020/table/text-column.mjs +4 -4
- package/esm2020/tabs/ink-bar.mjs +4 -4
- package/esm2020/tabs/paginated-tab-header.mjs +4 -4
- package/esm2020/tabs/tab-body.mjs +10 -10
- package/esm2020/tabs/tab-content.mjs +4 -4
- package/esm2020/tabs/tab-group.mjs +8 -8
- package/esm2020/tabs/tab-header.mjs +8 -8
- package/esm2020/tabs/tab-label-wrapper.mjs +11 -4
- package/esm2020/tabs/tab-label.mjs +4 -4
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +15 -15
- package/esm2020/tabs/tab.mjs +11 -4
- package/esm2020/tabs/tabs-module.mjs +5 -5
- package/esm2020/toolbar/toolbar-module.mjs +5 -5
- package/esm2020/toolbar/toolbar.mjs +7 -7
- package/esm2020/tooltip/tooltip-module.mjs +5 -5
- package/esm2020/tooltip/tooltip.mjs +30 -18
- package/esm2020/tree/node.mjs +10 -10
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.mjs +4 -11
- package/esm2020/tree/toggle.mjs +4 -4
- package/esm2020/tree/tree-module.mjs +5 -5
- package/esm2020/tree/tree.mjs +4 -4
- package/expansion/accordion.d.ts +1 -2
- package/expansion/expansion-panel-header.d.ts +0 -2
- package/expansion/expansion-panel.d.ts +1 -2
- package/fesm2015/autocomplete.mjs +22 -22
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/badge.mjs +7 -7
- package/fesm2015/badge.mjs.map +1 -1
- package/fesm2015/bottom-sheet.mjs +10 -10
- package/fesm2015/bottom-sheet.mjs.map +1 -1
- package/fesm2015/button-toggle.mjs +10 -10
- package/fesm2015/button-toggle.mjs.map +1 -1
- package/fesm2015/button.mjs +10 -10
- package/fesm2015/button.mjs.map +1 -1
- package/fesm2015/card.mjs +46 -46
- package/fesm2015/card.mjs.map +1 -1
- package/fesm2015/checkbox.mjs +14 -14
- package/fesm2015/checkbox.mjs.map +1 -1
- package/fesm2015/chips.mjs +22 -22
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +68 -61
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +82 -82
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog.mjs +28 -28
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/divider.mjs +7 -7
- package/fesm2015/divider.mjs.map +1 -1
- package/fesm2015/expansion.mjs +25 -25
- package/fesm2015/expansion.mjs.map +1 -1
- package/fesm2015/form-field.mjs +28 -28
- package/fesm2015/form-field.mjs.map +1 -1
- package/fesm2015/grid-list.mjs +22 -22
- package/fesm2015/grid-list.mjs.map +1 -1
- package/fesm2015/icon/testing.mjs +7 -7
- package/fesm2015/icon/testing.mjs.map +1 -1
- package/fesm2015/icon.mjs +10 -10
- package/fesm2015/icon.mjs.map +1 -1
- package/fesm2015/input.mjs +7 -7
- package/fesm2015/input.mjs.map +1 -1
- package/fesm2015/list.mjs +28 -28
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/menu.mjs +25 -25
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/paginator.mjs +15 -15
- package/fesm2015/paginator.mjs.map +1 -1
- package/fesm2015/progress-bar.mjs +7 -7
- package/fesm2015/progress-bar.mjs.map +1 -1
- package/fesm2015/progress-spinner.mjs +10 -10
- package/fesm2015/progress-spinner.mjs.map +1 -1
- package/fesm2015/radio.mjs +16 -16
- package/fesm2015/radio.mjs.map +1 -1
- package/fesm2015/select.mjs +13 -13
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/sidenav.mjs +23 -23
- package/fesm2015/sidenav.mjs.map +1 -1
- package/fesm2015/slide-toggle.mjs +14 -14
- package/fesm2015/slide-toggle.mjs.map +1 -1
- package/fesm2015/slider.mjs +7 -7
- package/fesm2015/slider.mjs.map +1 -1
- package/fesm2015/snack-bar.mjs +13 -13
- package/fesm2015/snack-bar.mjs.map +1 -1
- package/fesm2015/sort.mjs +13 -13
- package/fesm2015/sort.mjs.map +1 -1
- package/fesm2015/stepper.mjs +41 -41
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +55 -55
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/tabs.mjs +73 -59
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2015/toolbar.mjs +10 -10
- package/fesm2015/toolbar.mjs.map +1 -1
- package/fesm2015/tooltip.mjs +33 -21
- package/fesm2015/tooltip.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -32
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +22 -22
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/badge.mjs +7 -7
- package/fesm2020/badge.mjs.map +1 -1
- package/fesm2020/bottom-sheet.mjs +10 -10
- package/fesm2020/bottom-sheet.mjs.map +1 -1
- package/fesm2020/button-toggle.mjs +10 -10
- package/fesm2020/button-toggle.mjs.map +1 -1
- package/fesm2020/button.mjs +10 -10
- package/fesm2020/button.mjs.map +1 -1
- package/fesm2020/card.mjs +46 -46
- package/fesm2020/card.mjs.map +1 -1
- package/fesm2020/checkbox.mjs +14 -14
- package/fesm2020/checkbox.mjs.map +1 -1
- package/fesm2020/chips.mjs +22 -22
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +68 -61
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +82 -82
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog.mjs +28 -28
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/divider.mjs +7 -7
- package/fesm2020/divider.mjs.map +1 -1
- package/fesm2020/expansion.mjs +25 -25
- package/fesm2020/expansion.mjs.map +1 -1
- package/fesm2020/form-field.mjs +28 -28
- package/fesm2020/form-field.mjs.map +1 -1
- package/fesm2020/grid-list.mjs +22 -22
- package/fesm2020/grid-list.mjs.map +1 -1
- package/fesm2020/icon/testing.mjs +7 -7
- package/fesm2020/icon/testing.mjs.map +1 -1
- package/fesm2020/icon.mjs +10 -10
- package/fesm2020/icon.mjs.map +1 -1
- package/fesm2020/input.mjs +7 -7
- package/fesm2020/input.mjs.map +1 -1
- package/fesm2020/list.mjs +28 -28
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/menu.mjs +25 -25
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/paginator.mjs +15 -15
- package/fesm2020/paginator.mjs.map +1 -1
- package/fesm2020/progress-bar.mjs +7 -7
- package/fesm2020/progress-bar.mjs.map +1 -1
- package/fesm2020/progress-spinner.mjs +10 -10
- package/fesm2020/progress-spinner.mjs.map +1 -1
- package/fesm2020/radio.mjs +16 -16
- package/fesm2020/radio.mjs.map +1 -1
- package/fesm2020/select.mjs +13 -13
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/sidenav.mjs +23 -23
- package/fesm2020/sidenav.mjs.map +1 -1
- package/fesm2020/slide-toggle.mjs +14 -14
- package/fesm2020/slide-toggle.mjs.map +1 -1
- package/fesm2020/slider.mjs +7 -7
- package/fesm2020/slider.mjs.map +1 -1
- package/fesm2020/snack-bar.mjs +13 -13
- package/fesm2020/snack-bar.mjs.map +1 -1
- package/fesm2020/sort.mjs +13 -13
- package/fesm2020/sort.mjs.map +1 -1
- package/fesm2020/stepper.mjs +41 -41
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +55 -55
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/tabs.mjs +73 -59
- package/fesm2020/tabs.mjs.map +1 -1
- package/fesm2020/toolbar.mjs +10 -10
- package/fesm2020/toolbar.mjs.map +1 -1
- package/fesm2020/tooltip.mjs +33 -21
- package/fesm2020/tooltip.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -32
- package/fesm2020/tree.mjs.map +1 -1
- package/form-field/form-field.d.ts +1 -2
- package/grid-list/grid-list.d.ts +1 -2
- package/grid-list/grid-tile.d.ts +2 -4
- package/icon/icon.d.ts +1 -2
- package/input/input.d.ts +4 -8
- package/list/list.d.ts +1 -7
- package/list/selection-list.d.ts +6 -12
- package/menu/menu-item.d.ts +0 -3
- package/menu/menu.d.ts +2 -4
- package/package.json +2 -2
- package/paginator/paginator.d.ts +5 -11
- package/progress-bar/progress-bar.d.ts +1 -2
- package/progress-spinner/progress-spinner.d.ts +3 -6
- package/radio/radio.d.ts +6 -13
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-update/migrations/theming-api-v12/migration.js +2 -2
- package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +2 -2
- package/select/select.d.ts +4 -11
- package/sidenav/drawer.d.ts +6 -11
- package/sidenav/sidenav.d.ts +3 -6
- package/slide-toggle/slide-toggle.d.ts +3 -8
- package/slider/slider.d.ts +8 -18
- package/sort/sort-header.d.ts +1 -3
- package/sort/sort.d.ts +1 -3
- package/tabs/_tabs-common.scss +0 -1
- package/tabs/paginated-tab-header.d.ts +1 -2
- package/tabs/tab-group.d.ts +4 -9
- package/tabs/tab-header.d.ts +2 -3
- package/tabs/tab-label-wrapper.d.ts +0 -2
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -9
- package/tabs/tab.d.ts +0 -2
- package/tooltip/tooltip.d.ts +7 -6
- package/tree/node.d.ts +3 -6
- package/tree/padding.d.ts +2 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
9
|
-
import { BooleanInput
|
|
9
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
10
|
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
11
11
|
import { ControlValueAccessor } from '@angular/forms';
|
|
12
12
|
import { CanColor, CanDisable, CanDisableRipple, HasTabIndex } from '@angular/material/core';
|
|
@@ -62,10 +62,10 @@ export declare class MatSlideToggle extends _MatSlideToggleBase implements OnDes
|
|
|
62
62
|
ariaDescribedby: string;
|
|
63
63
|
/** Whether the slide-toggle is required. */
|
|
64
64
|
get required(): boolean;
|
|
65
|
-
set required(value:
|
|
65
|
+
set required(value: BooleanInput);
|
|
66
66
|
/** Whether the slide-toggle element is checked or not. */
|
|
67
67
|
get checked(): boolean;
|
|
68
|
-
set checked(value:
|
|
68
|
+
set checked(value: BooleanInput);
|
|
69
69
|
/** An event will be dispatched each time the slide-toggle changes its value. */
|
|
70
70
|
readonly change: EventEmitter<MatSlideToggleChange>;
|
|
71
71
|
/**
|
|
@@ -103,11 +103,6 @@ export declare class MatSlideToggle extends _MatSlideToggleBase implements OnDes
|
|
|
103
103
|
private _emitChangeEvent;
|
|
104
104
|
/** Method being called whenever the label text changes. */
|
|
105
105
|
_onLabelTextChange(): void;
|
|
106
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
107
|
-
static ngAcceptInputType_checked: BooleanInput;
|
|
108
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
109
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
110
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
111
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggle, [null, null, null, { attribute: "tabindex"; }, null, { optional: true; }]>;
|
|
112
107
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSlideToggle, "mat-slide-toggle", ["matSlideToggle"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; "name": "name"; "id": "id"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaDescribedby": "aria-describedby"; "required": "required"; "checked": "checked"; }, { "change": "change"; "toggleChange": "toggleChange"; }, never, ["*"]>;
|
|
113
108
|
}
|
package/slider/slider.d.ts
CHANGED
|
@@ -43,34 +43,34 @@ export declare class MatSlider extends _MatSliderBase implements ControlValueAcc
|
|
|
43
43
|
_animationMode?: string | undefined;
|
|
44
44
|
/** Whether the slider is inverted. */
|
|
45
45
|
get invert(): boolean;
|
|
46
|
-
set invert(value:
|
|
46
|
+
set invert(value: BooleanInput);
|
|
47
47
|
private _invert;
|
|
48
48
|
/** The maximum value that the slider can have. */
|
|
49
49
|
get max(): number;
|
|
50
|
-
set max(v:
|
|
50
|
+
set max(v: NumberInput);
|
|
51
51
|
private _max;
|
|
52
52
|
/** The minimum value that the slider can have. */
|
|
53
53
|
get min(): number;
|
|
54
|
-
set min(v:
|
|
54
|
+
set min(v: NumberInput);
|
|
55
55
|
private _min;
|
|
56
56
|
/** The values at which the thumb will snap. */
|
|
57
57
|
get step(): number;
|
|
58
|
-
set step(v:
|
|
58
|
+
set step(v: NumberInput);
|
|
59
59
|
private _step;
|
|
60
60
|
/** Whether or not to show the thumb label. */
|
|
61
61
|
get thumbLabel(): boolean;
|
|
62
|
-
set thumbLabel(value:
|
|
62
|
+
set thumbLabel(value: BooleanInput);
|
|
63
63
|
private _thumbLabel;
|
|
64
64
|
/**
|
|
65
65
|
* How often to show ticks. Relative to the step so that a tick always appears on a step.
|
|
66
66
|
* Ex: Tick interval of 4 with a step of 3 will draw a tick every 4 steps (every 12 values).
|
|
67
67
|
*/
|
|
68
68
|
get tickInterval(): 'auto' | number;
|
|
69
|
-
set tickInterval(value: 'auto' |
|
|
69
|
+
set tickInterval(value: 'auto' | NumberInput);
|
|
70
70
|
private _tickInterval;
|
|
71
71
|
/** Value of the slider. */
|
|
72
72
|
get value(): number;
|
|
73
|
-
set value(v:
|
|
73
|
+
set value(v: NumberInput);
|
|
74
74
|
private _value;
|
|
75
75
|
/**
|
|
76
76
|
* Function that will be used to format the value before it is displayed
|
|
@@ -82,7 +82,7 @@ export declare class MatSlider extends _MatSliderBase implements ControlValueAcc
|
|
|
82
82
|
valueText: string;
|
|
83
83
|
/** Whether the slider is vertical. */
|
|
84
84
|
get vertical(): boolean;
|
|
85
|
-
set vertical(value:
|
|
85
|
+
set vertical(value: BooleanInput);
|
|
86
86
|
private _vertical;
|
|
87
87
|
/** Event emitted when the slider value has changed. */
|
|
88
88
|
readonly change: EventEmitter<MatSliderChange>;
|
|
@@ -261,16 +261,6 @@ export declare class MatSlider extends _MatSliderBase implements ControlValueAcc
|
|
|
261
261
|
* @param isDisabled
|
|
262
262
|
*/
|
|
263
263
|
setDisabledState(isDisabled: boolean): void;
|
|
264
|
-
static ngAcceptInputType_invert: BooleanInput;
|
|
265
|
-
static ngAcceptInputType_max: NumberInput;
|
|
266
|
-
static ngAcceptInputType_min: NumberInput;
|
|
267
|
-
static ngAcceptInputType_step: NumberInput;
|
|
268
|
-
static ngAcceptInputType_thumbLabel: BooleanInput;
|
|
269
|
-
static ngAcceptInputType_tickInterval: NumberInput;
|
|
270
|
-
static ngAcceptInputType_value: NumberInput;
|
|
271
|
-
static ngAcceptInputType_vertical: BooleanInput;
|
|
272
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
273
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
274
264
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSlider, [null, null, null, { optional: true; }, { attribute: "tabindex"; }, null, null, { optional: true; }]>;
|
|
275
265
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSlider, "mat-slider", ["matSlider"], { "disabled": "disabled"; "color": "color"; "tabIndex": "tabIndex"; "invert": "invert"; "max": "max"; "min": "min"; "step": "step"; "thumbLabel": "thumbLabel"; "tickInterval": "tickInterval"; "value": "value"; "displayWith": "displayWith"; "valueText": "valueText"; "vertical": "vertical"; }, { "change": "change"; "input": "input"; "valueChange": "valueChange"; }, never, never>;
|
|
276
266
|
}
|
package/sort/sort-header.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ export declare class MatSortHeader extends _MatSortHeaderBase implements CanDisa
|
|
|
102
102
|
private _sortActionDescription;
|
|
103
103
|
/** Overrides the disable clear value of the containing MatSort for this MatSortable. */
|
|
104
104
|
get disableClear(): boolean;
|
|
105
|
-
set disableClear(v:
|
|
105
|
+
set disableClear(v: BooleanInput);
|
|
106
106
|
private _disableClear;
|
|
107
107
|
constructor(
|
|
108
108
|
/**
|
|
@@ -160,8 +160,6 @@ export declare class MatSortHeader extends _MatSortHeaderBase implements CanDisa
|
|
|
160
160
|
private _updateSortActionDescription;
|
|
161
161
|
/** Handles changes in the sorting state. */
|
|
162
162
|
private _handleStateChanges;
|
|
163
|
-
static ngAcceptInputType_disableClear: BooleanInput;
|
|
164
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
165
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSortHeader, [null, null, { optional: true; }, { optional: true; }, null, null, { optional: true; }]>;
|
|
166
164
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSortHeader, "[mat-sort-header]", ["matSortHeader"], { "disabled": "disabled"; "id": "mat-sort-header"; "arrowPosition": "arrowPosition"; "start": "start"; "sortActionDescription": "sortActionDescription"; "disableClear": "disableClear"; }, {}, never, ["*"]>;
|
|
167
165
|
}
|
package/sort/sort.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare class MatSort extends _MatSortBase implements CanDisable, HasInit
|
|
|
61
61
|
* May be overriden by the MatSortable's disable clear input.
|
|
62
62
|
*/
|
|
63
63
|
get disableClear(): boolean;
|
|
64
|
-
set disableClear(v:
|
|
64
|
+
set disableClear(v: BooleanInput);
|
|
65
65
|
private _disableClear;
|
|
66
66
|
/** Event emitted when the user changes either the active sort or sort direction. */
|
|
67
67
|
readonly sortChange: EventEmitter<Sort>;
|
|
@@ -83,8 +83,6 @@ export declare class MatSort extends _MatSortBase implements CanDisable, HasInit
|
|
|
83
83
|
ngOnInit(): void;
|
|
84
84
|
ngOnChanges(): void;
|
|
85
85
|
ngOnDestroy(): void;
|
|
86
|
-
static ngAcceptInputType_disableClear: BooleanInput;
|
|
87
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
88
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSort, [{ optional: true; }]>;
|
|
89
87
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSort, "[matSort]", ["matSort"], { "disabled": "matSortDisabled"; "active": "matSortActive"; "start": "matSortStart"; "direction": "matSortDirection"; "disableClear": "matSortDisableClear"; }, { "sortChange": "matSortChange"; }, never>;
|
|
90
88
|
}
|
package/tabs/_tabs-common.scss
CHANGED
|
@@ -77,7 +77,7 @@ export declare abstract class MatPaginatedTabHeader implements AfterContentCheck
|
|
|
77
77
|
disablePagination: boolean;
|
|
78
78
|
/** The index of the active tab. */
|
|
79
79
|
get selectedIndex(): number;
|
|
80
|
-
set selectedIndex(value:
|
|
80
|
+
set selectedIndex(value: NumberInput);
|
|
81
81
|
private _selectedIndex;
|
|
82
82
|
/** Event emitted when the option is selected. */
|
|
83
83
|
readonly selectFocusedIndex: EventEmitter<number>;
|
|
@@ -189,7 +189,6 @@ export declare abstract class MatPaginatedTabHeader implements AfterContentCheck
|
|
|
189
189
|
* @returns Information on the current scroll distance and the maximum.
|
|
190
190
|
*/
|
|
191
191
|
private _scrollTo;
|
|
192
|
-
static ngAcceptInputType_selectedIndex: NumberInput;
|
|
193
192
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatedTabHeader, [null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
194
193
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatPaginatedTabHeader, never, never, { "disablePagination": "disablePagination"; }, {}, never>;
|
|
195
194
|
}
|
package/tabs/tab-group.d.ts
CHANGED
|
@@ -57,17 +57,17 @@ export declare abstract class _MatTabGroupBase extends _MatTabGroupMixinBase imp
|
|
|
57
57
|
private _tabLabelSubscription;
|
|
58
58
|
/** Whether the tab group should grow to the size of the active tab. */
|
|
59
59
|
get dynamicHeight(): boolean;
|
|
60
|
-
set dynamicHeight(value:
|
|
60
|
+
set dynamicHeight(value: BooleanInput);
|
|
61
61
|
private _dynamicHeight;
|
|
62
62
|
/** The index of the active tab. */
|
|
63
63
|
get selectedIndex(): number | null;
|
|
64
|
-
set selectedIndex(value:
|
|
64
|
+
set selectedIndex(value: NumberInput);
|
|
65
65
|
private _selectedIndex;
|
|
66
66
|
/** Position of the tab header. */
|
|
67
67
|
headerPosition: MatTabHeaderPosition;
|
|
68
68
|
/** Duration for the tab animation. Will be normalized to milliseconds if no units are set. */
|
|
69
69
|
get animationDuration(): string;
|
|
70
|
-
set animationDuration(value:
|
|
70
|
+
set animationDuration(value: NumberInput);
|
|
71
71
|
private _animationDuration;
|
|
72
72
|
/**
|
|
73
73
|
* `tabindex` to be set on the inner element that wraps the tab content. Can be used for improved
|
|
@@ -76,7 +76,7 @@ export declare abstract class _MatTabGroupBase extends _MatTabGroupMixinBase imp
|
|
|
76
76
|
* Read more at https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-2/tabs.html
|
|
77
77
|
*/
|
|
78
78
|
get contentTabIndex(): number | null;
|
|
79
|
-
set contentTabIndex(value:
|
|
79
|
+
set contentTabIndex(value: NumberInput);
|
|
80
80
|
private _contentTabIndex;
|
|
81
81
|
/**
|
|
82
82
|
* Whether pagination should be disabled. This can be used to avoid unnecessary
|
|
@@ -143,11 +143,6 @@ export declare abstract class _MatTabGroupBase extends _MatTabGroupMixinBase imp
|
|
|
143
143
|
_getTabIndex(tab: MatTab, idx: number): number | null;
|
|
144
144
|
/** Callback for when the focused state of a tab has changed. */
|
|
145
145
|
_tabFocusChanged(focusOrigin: FocusOrigin, index: number): void;
|
|
146
|
-
static ngAcceptInputType_dynamicHeight: BooleanInput;
|
|
147
|
-
static ngAcceptInputType_animationDuration: NumberInput;
|
|
148
|
-
static ngAcceptInputType_selectedIndex: NumberInput;
|
|
149
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
150
|
-
static ngAcceptInputType_contentTabIndex: NumberInput;
|
|
151
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatTabGroupBase, [null, null, { optional: true; }, { optional: true; }]>;
|
|
152
147
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatTabGroupBase, never, never, { "dynamicHeight": "dynamicHeight"; "selectedIndex": "selectedIndex"; "headerPosition": "headerPosition"; "animationDuration": "animationDuration"; "contentTabIndex": "contentTabIndex"; "disablePagination": "disablePagination"; "backgroundColor": "backgroundColor"; }, { "selectedIndexChange": "selectedIndexChange"; "focusChange": "focusChange"; "animationDone": "animationDone"; "selectedTabChange": "selectedTabChange"; }, never>;
|
|
153
148
|
}
|
package/tabs/tab-header.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ import * as i0 from "@angular/core";
|
|
|
20
20
|
*/
|
|
21
21
|
export declare abstract class _MatTabHeaderBase extends MatPaginatedTabHeader implements AfterContentChecked, AfterContentInit, AfterViewInit, OnDestroy {
|
|
22
22
|
/** Whether the ripple effect is disabled or not. */
|
|
23
|
-
get disableRipple():
|
|
24
|
-
set disableRipple(value:
|
|
23
|
+
get disableRipple(): boolean;
|
|
24
|
+
set disableRipple(value: BooleanInput);
|
|
25
25
|
private _disableRipple;
|
|
26
26
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
|
|
27
27
|
protected _itemSelected(event: KeyboardEvent): void;
|
|
@@ -44,7 +44,6 @@ export declare class MatTabHeader extends _MatTabHeaderBase {
|
|
|
44
44
|
_nextPaginator: ElementRef<HTMLElement>;
|
|
45
45
|
_previousPaginator: ElementRef<HTMLElement>;
|
|
46
46
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
|
|
47
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
48
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabHeader, [null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
49
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabHeader, "mat-tab-header", never, { "selectedIndex": "selectedIndex"; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_items"], ["*"]>;
|
|
50
49
|
}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
9
8
|
import { ElementRef } from '@angular/core';
|
|
10
9
|
import { CanDisable } from '@angular/material/core';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
@@ -24,7 +23,6 @@ export declare class MatTabLabelWrapper extends _MatTabLabelWrapperBase implemen
|
|
|
24
23
|
focus(): void;
|
|
25
24
|
getOffsetLeft(): number;
|
|
26
25
|
getOffsetWidth(): number;
|
|
27
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
28
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabLabelWrapper, never>;
|
|
29
27
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabLabelWrapper, "[matTabLabelWrapper]", never, { "disabled": "disabled"; }, {}, never>;
|
|
30
28
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { FocusableOption, FocusMonitor } from '@angular/cdk/a11y';
|
|
9
9
|
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { BooleanInput
|
|
10
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
11
11
|
import { Platform } from '@angular/cdk/platform';
|
|
12
12
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
13
13
|
import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, QueryList } from '@angular/core';
|
|
@@ -29,8 +29,8 @@ export declare abstract class _MatTabNavBase extends MatPaginatedTabHeader imple
|
|
|
29
29
|
set backgroundColor(value: ThemePalette);
|
|
30
30
|
private _backgroundColor;
|
|
31
31
|
/** Whether the ripple effect is disabled or not. */
|
|
32
|
-
get disableRipple():
|
|
33
|
-
set disableRipple(value:
|
|
32
|
+
get disableRipple(): boolean;
|
|
33
|
+
set disableRipple(value: BooleanInput);
|
|
34
34
|
private _disableRipple;
|
|
35
35
|
/** Theme color of the nav bar. */
|
|
36
36
|
color: ThemePalette;
|
|
@@ -55,7 +55,6 @@ export declare class MatTabNav extends _MatTabNavBase {
|
|
|
55
55
|
_nextPaginator: ElementRef<HTMLElement>;
|
|
56
56
|
_previousPaginator: ElementRef<HTMLElement>;
|
|
57
57
|
constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, platform: Platform, animationMode?: string);
|
|
58
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
59
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNav, [null, { optional: true; }, null, null, null, null, { optional: true; }]>;
|
|
60
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "color": "color"; }, {}, ["_items"], ["*"]>;
|
|
61
60
|
}
|
|
@@ -71,7 +70,7 @@ export declare class _MatTabLinkBase extends _MatTabLinkMixinBase implements Aft
|
|
|
71
70
|
protected _isActive: boolean;
|
|
72
71
|
/** Whether the link is active. */
|
|
73
72
|
get active(): boolean;
|
|
74
|
-
set active(value:
|
|
73
|
+
set active(value: BooleanInput);
|
|
75
74
|
/**
|
|
76
75
|
* Ripple configuration for ripples that are launched on pointer down. The ripple config
|
|
77
76
|
* is set to the global ripple options since we don't have any configurable options for
|
|
@@ -91,10 +90,6 @@ export declare class _MatTabLinkBase extends _MatTabLinkMixinBase implements Aft
|
|
|
91
90
|
ngAfterViewInit(): void;
|
|
92
91
|
ngOnDestroy(): void;
|
|
93
92
|
_handleFocus(): void;
|
|
94
|
-
static ngAcceptInputType_active: BooleanInput;
|
|
95
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
96
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
97
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
98
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatTabLinkBase, [null, null, { optional: true; }, { attribute: "tabindex"; }, null, { optional: true; }]>;
|
|
99
94
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatTabLinkBase, never, never, { "active": "active"; }, {}, never>;
|
|
100
95
|
}
|
package/tabs/tab.d.ts
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
9
8
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
10
9
|
import { OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, ViewContainerRef, InjectionToken } from '@angular/core';
|
|
11
10
|
import { CanDisable } from '@angular/material/core';
|
|
@@ -74,7 +73,6 @@ export declare class MatTab extends _MatTabBase implements OnInit, CanDisable, O
|
|
|
74
73
|
* @docs-private
|
|
75
74
|
*/
|
|
76
75
|
protected _setTemplateLabelInput(value: MatTabLabel | undefined): void;
|
|
77
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
78
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTab, [null, { optional: true; }]>;
|
|
79
77
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTab, "mat-tab", ["matTab"], { "disabled": "disabled"; "textLabel": "label"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, {}, ["templateLabel", "_explicitContent"], ["*"]>;
|
|
80
78
|
}
|
package/tooltip/tooltip.d.ts
CHANGED
|
@@ -90,11 +90,15 @@ export declare abstract class _MatTooltipBase<T extends _TooltipComponentBase> i
|
|
|
90
90
|
set position(value: TooltipPosition);
|
|
91
91
|
/** Disables the display of the tooltip. */
|
|
92
92
|
get disabled(): boolean;
|
|
93
|
-
set disabled(value:
|
|
93
|
+
set disabled(value: BooleanInput);
|
|
94
94
|
/** The default delay in ms before showing the tooltip after show is called */
|
|
95
|
-
showDelay: number;
|
|
95
|
+
get showDelay(): number;
|
|
96
|
+
set showDelay(value: NumberInput);
|
|
97
|
+
private _showDelay;
|
|
96
98
|
/** The default delay in ms before hiding the tooltip after hide is called */
|
|
97
|
-
hideDelay: number;
|
|
99
|
+
get hideDelay(): number;
|
|
100
|
+
set hideDelay(value: NumberInput);
|
|
101
|
+
private _hideDelay;
|
|
98
102
|
/**
|
|
99
103
|
* How touch gestures should be handled by the tooltip. On touch devices the tooltip directive
|
|
100
104
|
* uses a long press gesture to show and hide, however it can conflict with the native browser
|
|
@@ -186,9 +190,6 @@ export declare abstract class _MatTooltipBase<T extends _TooltipComponentBase> i
|
|
|
186
190
|
private _wheelListener;
|
|
187
191
|
/** Disables the native browser gestures, based on how the tooltip has been configured. */
|
|
188
192
|
private _disableNativeGesturesIfNecessary;
|
|
189
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
190
|
-
static ngAcceptInputType_hideDelay: NumberInput;
|
|
191
|
-
static ngAcceptInputType_showDelay: NumberInput;
|
|
192
193
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatTooltipBase<any>, never>;
|
|
193
194
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatTooltipBase<any>, never, never, { "position": "matTooltipPosition"; "disabled": "matTooltipDisabled"; "showDelay": "matTooltipShowDelay"; "hideDelay": "matTooltipHideDelay"; "touchGestures": "matTooltipTouchGestures"; "message": "matTooltip"; "tooltipClass": "matTooltipClass"; }, {}, never>;
|
|
194
195
|
}
|
package/tree/node.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { CdkNestedTreeNode, CdkTree, CdkTreeNode, CdkTreeNodeDef } from '@angular/cdk/tree';
|
|
9
9
|
import { AfterContentInit, ElementRef, IterableDiffers, OnDestroy, OnInit } from '@angular/core';
|
|
10
10
|
import { CanDisable, HasTabIndex } from '@angular/material/core';
|
|
11
|
-
import { BooleanInput
|
|
11
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
declare const _MatTreeNodeBase: import("@angular/material/core")._Constructor<HasTabIndex> & import("@angular/material/core")._AbstractConstructor<HasTabIndex> & import("@angular/material/core")._Constructor<CanDisable> & import("@angular/material/core")._AbstractConstructor<CanDisable> & typeof CdkTreeNode;
|
|
14
14
|
/**
|
|
@@ -18,8 +18,6 @@ export declare class MatTreeNode<T, K = T> extends _MatTreeNodeBase<T, K> implem
|
|
|
18
18
|
constructor(elementRef: ElementRef<HTMLElement>, tree: CdkTree<T, K>, tabIndex: string);
|
|
19
19
|
ngOnInit(): void;
|
|
20
20
|
ngOnDestroy(): void;
|
|
21
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
22
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
23
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTreeNode<any, any>, [null, null, { attribute: "tabindex"; }]>;
|
|
24
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTreeNode<any, any>, "mat-tree-node", ["matTreeNode"], { "role": "role"; "disabled": "disabled"; "tabIndex": "tabIndex"; }, {}, never>;
|
|
25
23
|
}
|
|
@@ -38,8 +36,8 @@ export declare class MatTreeNodeDef<T> extends CdkTreeNodeDef<T> {
|
|
|
38
36
|
export declare class MatNestedTreeNode<T, K = T> extends CdkNestedTreeNode<T, K> implements AfterContentInit, OnDestroy, OnInit {
|
|
39
37
|
node: T;
|
|
40
38
|
/** Whether the node is disabled. */
|
|
41
|
-
get disabled():
|
|
42
|
-
set disabled(value:
|
|
39
|
+
get disabled(): boolean;
|
|
40
|
+
set disabled(value: BooleanInput);
|
|
43
41
|
private _disabled;
|
|
44
42
|
/** Tabindex for the node. */
|
|
45
43
|
get tabIndex(): number;
|
|
@@ -49,7 +47,6 @@ export declare class MatNestedTreeNode<T, K = T> extends CdkNestedTreeNode<T, K>
|
|
|
49
47
|
ngOnInit(): void;
|
|
50
48
|
ngAfterContentInit(): void;
|
|
51
49
|
ngOnDestroy(): void;
|
|
52
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
53
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatNestedTreeNode<any, any>, [null, null, null, { attribute: "tabindex"; }]>;
|
|
54
51
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatNestedTreeNode<any, any>, "mat-nested-tree-node", ["matNestedTreeNode"], { "role": "role"; "disabled": "disabled"; "tabIndex": "tabIndex"; "node": "matNestedTreeNode"; }, {}, never>;
|
|
55
52
|
}
|
package/tree/padding.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
+
import { NumberInput } from '@angular/cdk/coercion';
|
|
8
9
|
import { CdkTreeNodePadding } from '@angular/cdk/tree';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
@@ -13,7 +14,7 @@ import * as i0 from "@angular/core";
|
|
|
13
14
|
export declare class MatTreeNodePadding<T, K = T> extends CdkTreeNodePadding<T, K> {
|
|
14
15
|
/** The level of depth of the tree node. The padding will be `level * indent` pixels. */
|
|
15
16
|
get level(): number;
|
|
16
|
-
set level(value:
|
|
17
|
+
set level(value: NumberInput);
|
|
17
18
|
/** The indent for each level. Default number 40px from material design menu sub-menu spec. */
|
|
18
19
|
get indent(): number | string;
|
|
19
20
|
set indent(indent: number | string);
|