@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/tabs/index.d.ts
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import { _AbstractConstructor } from '@angular/material/core';
|
|
2
1
|
import { AfterContentChecked } from '@angular/core';
|
|
3
2
|
import { AfterContentInit } from '@angular/core';
|
|
4
3
|
import { AfterViewInit } from '@angular/core';
|
|
5
4
|
import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
|
|
6
5
|
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
7
6
|
import { BehaviorSubject } from 'rxjs';
|
|
8
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
9
|
-
import { CanColor } from '@angular/material/core';
|
|
10
|
-
import { CanDisable } from '@angular/material/core';
|
|
11
|
-
import { CanDisableRipple } from '@angular/material/core';
|
|
12
7
|
import { CdkPortal } from '@angular/cdk/portal';
|
|
13
8
|
import { CdkPortalOutlet } from '@angular/cdk/portal';
|
|
14
9
|
import { ChangeDetectorRef } from '@angular/core';
|
|
15
10
|
import { ComponentFactoryResolver } from '@angular/core';
|
|
16
|
-
import { _Constructor } from '@angular/material/core';
|
|
17
11
|
import { Direction } from '@angular/cdk/bidi';
|
|
18
12
|
import { Directionality } from '@angular/cdk/bidi';
|
|
19
13
|
import { ElementRef } from '@angular/core';
|
|
@@ -21,16 +15,10 @@ import { EventEmitter } from '@angular/core';
|
|
|
21
15
|
import { FocusableOption } from '@angular/cdk/a11y';
|
|
22
16
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
23
17
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
24
|
-
import { HasTabIndex } from '@angular/material/core';
|
|
25
18
|
import * as i0 from '@angular/core';
|
|
26
|
-
import * as
|
|
27
|
-
import * as i11 from '@angular/cdk/portal';
|
|
28
|
-
import * as i12 from '@angular/cdk/observers';
|
|
29
|
-
import * as i13 from '@angular/cdk/a11y';
|
|
30
|
-
import * as i9 from '@angular/common';
|
|
19
|
+
import * as i1 from '@angular/material/core';
|
|
31
20
|
import { InjectionToken } from '@angular/core';
|
|
32
21
|
import { NgZone } from '@angular/core';
|
|
33
|
-
import { NumberInput } from '@angular/cdk/coercion';
|
|
34
22
|
import { OnChanges } from '@angular/core';
|
|
35
23
|
import { OnDestroy } from '@angular/core';
|
|
36
24
|
import { OnInit } from '@angular/core';
|
|
@@ -47,14 +35,14 @@ import { ThemePalette } from '@angular/material/core';
|
|
|
47
35
|
import { ViewContainerRef } from '@angular/core';
|
|
48
36
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
49
37
|
|
|
50
|
-
declare namespace
|
|
38
|
+
declare namespace i2 {
|
|
51
39
|
export {
|
|
52
40
|
MAT_TAB_CONTENT,
|
|
53
41
|
MatTabContent
|
|
54
42
|
}
|
|
55
43
|
}
|
|
56
44
|
|
|
57
|
-
declare namespace
|
|
45
|
+
declare namespace i3 {
|
|
58
46
|
export {
|
|
59
47
|
MAT_TAB_LABEL,
|
|
60
48
|
MAT_TAB,
|
|
@@ -62,14 +50,14 @@ declare namespace i2 {
|
|
|
62
50
|
}
|
|
63
51
|
}
|
|
64
52
|
|
|
65
|
-
declare namespace
|
|
53
|
+
declare namespace i4 {
|
|
66
54
|
export {
|
|
67
55
|
MAT_TAB_GROUP,
|
|
68
56
|
MatTab
|
|
69
57
|
}
|
|
70
58
|
}
|
|
71
59
|
|
|
72
|
-
declare namespace
|
|
60
|
+
declare namespace i5 {
|
|
73
61
|
export {
|
|
74
62
|
MatTabGroupBaseHeader,
|
|
75
63
|
MatTabHeaderPosition,
|
|
@@ -78,7 +66,7 @@ declare namespace i4 {
|
|
|
78
66
|
}
|
|
79
67
|
}
|
|
80
68
|
|
|
81
|
-
declare namespace
|
|
69
|
+
declare namespace i6 {
|
|
82
70
|
export {
|
|
83
71
|
MatTabNav,
|
|
84
72
|
MatTabLink,
|
|
@@ -86,27 +74,6 @@ declare namespace i5 {
|
|
|
86
74
|
}
|
|
87
75
|
}
|
|
88
76
|
|
|
89
|
-
declare namespace i6 {
|
|
90
|
-
export {
|
|
91
|
-
MatTabBodyPortal,
|
|
92
|
-
MatTabBodyPositionState,
|
|
93
|
-
MatTabBody,
|
|
94
|
-
MatTabBodyOriginState
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare namespace i7 {
|
|
99
|
-
export {
|
|
100
|
-
MatTabLabelWrapper
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
declare namespace i8 {
|
|
105
|
-
export {
|
|
106
|
-
MatTabHeader
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
77
|
/** Injection token for the MatInkBar's Positioner. */
|
|
111
78
|
export declare const _MAT_INK_BAR_POSITIONER: InjectionToken<_MatInkBarPositioner>;
|
|
112
79
|
|
|
@@ -233,12 +200,10 @@ export declare abstract class MatPaginatedTabHeader implements AfterContentCheck
|
|
|
233
200
|
* Whether pagination should be disabled. This can be used to avoid unnecessary
|
|
234
201
|
* layout recalculations if it's known that pagination won't be required.
|
|
235
202
|
*/
|
|
236
|
-
|
|
237
|
-
set disablePagination(value: BooleanInput);
|
|
238
|
-
private _disablePagination;
|
|
203
|
+
disablePagination: boolean;
|
|
239
204
|
/** The index of the active tab. */
|
|
240
205
|
get selectedIndex(): number;
|
|
241
|
-
set selectedIndex(
|
|
206
|
+
set selectedIndex(v: unknown);
|
|
242
207
|
private _selectedIndex;
|
|
243
208
|
/** Event emitted when the option is selected. */
|
|
244
209
|
readonly selectFocusedIndex: EventEmitter<number>;
|
|
@@ -354,6 +319,7 @@ export declare abstract class MatPaginatedTabHeader implements AfterContentCheck
|
|
|
354
319
|
private _scrollTo;
|
|
355
320
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatedTabHeader, [null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
356
321
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatPaginatedTabHeader, never, never, { "disablePagination": { "alias": "disablePagination"; "required": false; }; }, {}, never, never, false, never>;
|
|
322
|
+
static ngAcceptInputType_disablePagination: unknown;
|
|
357
323
|
}
|
|
358
324
|
|
|
359
325
|
/** Item inside a paginated tab header. */
|
|
@@ -361,13 +327,15 @@ declare type MatPaginatedTabHeaderItem = FocusableOption & {
|
|
|
361
327
|
elementRef: ElementRef;
|
|
362
328
|
};
|
|
363
329
|
|
|
364
|
-
export declare class MatTab
|
|
330
|
+
export declare class MatTab implements OnInit, OnChanges, OnDestroy {
|
|
365
331
|
private _viewContainerRef;
|
|
366
332
|
_closestTabGroup: any;
|
|
333
|
+
/** whether the tab is disabled. */
|
|
334
|
+
disabled: boolean;
|
|
367
335
|
/** Content for the tab label given by `<ng-template mat-tab-label>`. */
|
|
368
|
-
private _templateLabel;
|
|
369
336
|
get templateLabel(): MatTabLabel;
|
|
370
337
|
set templateLabel(value: MatTabLabel);
|
|
338
|
+
private _templateLabel;
|
|
371
339
|
/**
|
|
372
340
|
* Template provided in the tab content that will be used if present, used to enable lazy-loading
|
|
373
341
|
*/
|
|
@@ -425,7 +393,8 @@ export declare class MatTab extends _MatTabMixinBase implements CanDisable, OnIn
|
|
|
425
393
|
*/
|
|
426
394
|
private _setTemplateLabelInput;
|
|
427
395
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTab, [null, { optional: true; }]>;
|
|
428
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTab, "mat-tab", ["matTab"], { "disabled": { "alias": "disabled"; "required": false; }; "textLabel": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "bodyClass": { "alias": "bodyClass"; "required": false; }; }, {}, ["templateLabel", "_explicitContent"], ["*"],
|
|
396
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTab, "mat-tab", ["matTab"], { "disabled": { "alias": "disabled"; "required": false; }; "textLabel": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "bodyClass": { "alias": "bodyClass"; "required": false; }; }, {}, ["templateLabel", "_explicitContent"], ["*"], true, never>;
|
|
397
|
+
static ngAcceptInputType_disabled: unknown;
|
|
429
398
|
}
|
|
430
399
|
|
|
431
400
|
/**
|
|
@@ -483,7 +452,7 @@ export declare class MatTabBody implements OnInit, OnDestroy {
|
|
|
483
452
|
*/
|
|
484
453
|
private _computePositionFromOrigin;
|
|
485
454
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabBody, [null, { optional: true; }, null]>;
|
|
486
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabBody, "mat-tab-body", never, { "_content": { "alias": "content"; "required": false; }; "origin": { "alias": "origin"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "preserveContent": { "alias": "preserveContent"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "_onCentering": "_onCentering"; "_beforeCentering": "_beforeCentering"; "_afterLeavingCenter": "_afterLeavingCenter"; "_onCentered": "_onCentered"; }, never, never,
|
|
455
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabBody, "mat-tab-body", never, { "_content": { "alias": "content"; "required": false; }; "origin": { "alias": "origin"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "preserveContent": { "alias": "preserveContent"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "_onCentering": "_onCentering"; "_beforeCentering": "_beforeCentering"; "_afterLeavingCenter": "_afterLeavingCenter"; "_onCentered": "_onCentered"; }, never, never, true, never>;
|
|
487
456
|
}
|
|
488
457
|
|
|
489
458
|
/**
|
|
@@ -510,7 +479,7 @@ export declare class MatTabBodyPortal extends CdkPortalOutlet implements OnInit,
|
|
|
510
479
|
/** Clean up centering subscription. */
|
|
511
480
|
ngOnDestroy(): void;
|
|
512
481
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabBodyPortal, never>;
|
|
513
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabBodyPortal, "[matTabBodyHost]", never, {}, {}, never, never,
|
|
482
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabBodyPortal, "[matTabBodyHost]", never, {}, {}, never, never, true, never>;
|
|
514
483
|
}
|
|
515
484
|
|
|
516
485
|
/**
|
|
@@ -538,7 +507,7 @@ export declare class MatTabContent {
|
|
|
538
507
|
template: TemplateRef<any>;
|
|
539
508
|
constructor(/** Content for the tab. */ template: TemplateRef<any>);
|
|
540
509
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabContent, never>;
|
|
541
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabContent, "[matTabContent]", never, {}, {}, never, never,
|
|
510
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabContent, "[matTabContent]", never, {}, {}, never, never, true, never>;
|
|
542
511
|
}
|
|
543
512
|
|
|
544
513
|
/**
|
|
@@ -546,7 +515,8 @@ export declare class MatTabContent {
|
|
|
546
515
|
* animated ink-bar, keyboard navigation, and screen reader.
|
|
547
516
|
* See: https://material.io/design/components/tabs.html
|
|
548
517
|
*/
|
|
549
|
-
export declare class MatTabGroup
|
|
518
|
+
export declare class MatTabGroup implements AfterContentInit, AfterContentChecked, OnDestroy {
|
|
519
|
+
readonly _elementRef: ElementRef;
|
|
550
520
|
private _changeDetectorRef;
|
|
551
521
|
_animationMode?: string | undefined;
|
|
552
522
|
/**
|
|
@@ -568,27 +538,25 @@ export declare class MatTabGroup extends _MatTabGroupMixinBase implements AfterC
|
|
|
568
538
|
private _tabsSubscription;
|
|
569
539
|
/** Subscription to changes in the tab labels. */
|
|
570
540
|
private _tabLabelSubscription;
|
|
541
|
+
/** Theme color of the tab group. */
|
|
542
|
+
color: ThemePalette;
|
|
571
543
|
/** Whether the ink bar should fit its width to the size of the tab label content. */
|
|
572
544
|
get fitInkBarToContent(): boolean;
|
|
573
|
-
set fitInkBarToContent(
|
|
545
|
+
set fitInkBarToContent(value: boolean);
|
|
574
546
|
private _fitInkBarToContent;
|
|
575
547
|
/** Whether tabs should be stretched to fill the header. */
|
|
576
|
-
|
|
577
|
-
set stretchTabs(v: BooleanInput);
|
|
578
|
-
private _stretchTabs;
|
|
548
|
+
stretchTabs: boolean;
|
|
579
549
|
/** Whether the tab group should grow to the size of the active tab. */
|
|
580
|
-
|
|
581
|
-
set dynamicHeight(value: BooleanInput);
|
|
582
|
-
private _dynamicHeight;
|
|
550
|
+
dynamicHeight: boolean;
|
|
583
551
|
/** The index of the active tab. */
|
|
584
552
|
get selectedIndex(): number | null;
|
|
585
|
-
set selectedIndex(value:
|
|
553
|
+
set selectedIndex(value: number);
|
|
586
554
|
private _selectedIndex;
|
|
587
555
|
/** Position of the tab header. */
|
|
588
556
|
headerPosition: MatTabHeaderPosition;
|
|
589
557
|
/** Duration for the tab animation. Will be normalized to milliseconds if no units are set. */
|
|
590
558
|
get animationDuration(): string;
|
|
591
|
-
set animationDuration(value:
|
|
559
|
+
set animationDuration(value: string | number);
|
|
592
560
|
private _animationDuration;
|
|
593
561
|
/**
|
|
594
562
|
* `tabindex` to be set on the inner element that wraps the tab content. Can be used for improved
|
|
@@ -597,23 +565,21 @@ export declare class MatTabGroup extends _MatTabGroupMixinBase implements AfterC
|
|
|
597
565
|
* Read more at https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-2/tabs.html
|
|
598
566
|
*/
|
|
599
567
|
get contentTabIndex(): number | null;
|
|
600
|
-
set contentTabIndex(value:
|
|
568
|
+
set contentTabIndex(value: number);
|
|
601
569
|
private _contentTabIndex;
|
|
602
570
|
/**
|
|
603
571
|
* Whether pagination should be disabled. This can be used to avoid unnecessary
|
|
604
572
|
* layout recalculations if it's known that pagination won't be required.
|
|
605
573
|
*/
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
574
|
+
disablePagination: boolean;
|
|
575
|
+
/** Whether ripples in the tab group are disabled. */
|
|
576
|
+
disableRipple: boolean;
|
|
609
577
|
/**
|
|
610
578
|
* By default tabs remove their content from the DOM while it's off-screen.
|
|
611
579
|
* Setting this to `true` will keep it in the DOM which will prevent elements
|
|
612
580
|
* like iframes and videos from reloading next time it comes back into the view.
|
|
613
581
|
*/
|
|
614
|
-
|
|
615
|
-
set preserveContent(value: BooleanInput);
|
|
616
|
-
private _preserveContent;
|
|
582
|
+
preserveContent: boolean;
|
|
617
583
|
/** Background color of the tab group. */
|
|
618
584
|
get backgroundColor(): ThemePalette;
|
|
619
585
|
set backgroundColor(value: ThemePalette);
|
|
@@ -627,7 +593,7 @@ export declare class MatTabGroup extends _MatTabGroupMixinBase implements AfterC
|
|
|
627
593
|
/** Event emitted when the tab selection has changed. */
|
|
628
594
|
readonly selectedTabChange: EventEmitter<MatTabChangeEvent>;
|
|
629
595
|
private _groupId;
|
|
630
|
-
constructor(
|
|
596
|
+
constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, defaultConfig?: MatTabsConfig, _animationMode?: string | undefined);
|
|
631
597
|
/**
|
|
632
598
|
* After the content is checked, this component knows what tabs have been defined
|
|
633
599
|
* and what the selected index should be. This is where we can know exactly what position
|
|
@@ -683,7 +649,15 @@ export declare class MatTabGroup extends _MatTabGroupMixinBase implements AfterC
|
|
|
683
649
|
/** Callback for when the focused state of a tab has changed. */
|
|
684
650
|
_tabFocusChanged(focusOrigin: FocusOrigin, index: number): void;
|
|
685
651
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabGroup, [null, null, { optional: true; }, { optional: true; }]>;
|
|
686
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": { "alias": "color"; "required": false; }; "
|
|
652
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": { "alias": "color"; "required": false; }; "fitInkBarToContent": { "alias": "fitInkBarToContent"; "required": false; }; "stretchTabs": { "alias": "mat-stretch-tabs"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "headerPosition": { "alias": "headerPosition"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "contentTabIndex": { "alias": "contentTabIndex"; "required": false; }; "disablePagination": { "alias": "disablePagination"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "preserveContent": { "alias": "preserveContent"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; "focusChange": "focusChange"; "animationDone": "animationDone"; "selectedTabChange": "selectedTabChange"; }, ["_allTabs"], never, true, never>;
|
|
653
|
+
static ngAcceptInputType_fitInkBarToContent: unknown;
|
|
654
|
+
static ngAcceptInputType_stretchTabs: unknown;
|
|
655
|
+
static ngAcceptInputType_dynamicHeight: unknown;
|
|
656
|
+
static ngAcceptInputType_selectedIndex: unknown;
|
|
657
|
+
static ngAcceptInputType_contentTabIndex: unknown;
|
|
658
|
+
static ngAcceptInputType_disablePagination: unknown;
|
|
659
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
660
|
+
static ngAcceptInputType_preserveContent: unknown;
|
|
687
661
|
}
|
|
688
662
|
|
|
689
663
|
/** @docs-private */
|
|
@@ -693,13 +667,6 @@ export declare interface MatTabGroupBaseHeader {
|
|
|
693
667
|
focusIndex: number;
|
|
694
668
|
}
|
|
695
669
|
|
|
696
|
-
/** @docs-private */
|
|
697
|
-
declare const _MatTabGroupMixinBase: _Constructor<CanColor> & _AbstractConstructor<CanColor> & _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple> & {
|
|
698
|
-
new (_elementRef: ElementRef): {
|
|
699
|
-
_elementRef: ElementRef;
|
|
700
|
-
};
|
|
701
|
-
};
|
|
702
|
-
|
|
703
670
|
/**
|
|
704
671
|
* The header of the tab group which displays a list of all the tabs in the tab group. Includes
|
|
705
672
|
* an ink bar that follows the currently selected tab. When the tabs list's width exceeds the
|
|
@@ -716,14 +683,13 @@ export declare class MatTabHeader extends MatPaginatedTabHeader implements After
|
|
|
716
683
|
_previousPaginator: ElementRef<HTMLElement>;
|
|
717
684
|
_inkBar: MatInkBar;
|
|
718
685
|
/** Whether the ripple effect is disabled or not. */
|
|
719
|
-
|
|
720
|
-
set disableRipple(value: BooleanInput);
|
|
721
|
-
private _disableRipple;
|
|
686
|
+
disableRipple: boolean;
|
|
722
687
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
|
|
723
688
|
ngAfterContentInit(): void;
|
|
724
689
|
protected _itemSelected(event: KeyboardEvent): void;
|
|
725
690
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabHeader, [null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
726
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabHeader, "mat-tab-header", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_items"], ["*"],
|
|
691
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabHeader, "mat-tab-header", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_items"], ["*"], true, never>;
|
|
692
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
727
693
|
}
|
|
728
694
|
|
|
729
695
|
/** Possible positions for the tab header. */
|
|
@@ -734,26 +700,29 @@ export declare class MatTabLabel extends CdkPortal {
|
|
|
734
700
|
_closestTab: any;
|
|
735
701
|
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, _closestTab: any);
|
|
736
702
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabLabel, [null, null, { optional: true; }]>;
|
|
737
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabLabel, "[mat-tab-label], [matTabLabel]", never, {}, {}, never, never,
|
|
703
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabLabel, "[mat-tab-label], [matTabLabel]", never, {}, {}, never, never, true, never>;
|
|
738
704
|
}
|
|
739
705
|
|
|
740
706
|
/**
|
|
741
707
|
* Used in the `mat-tab-group` view to display tab labels.
|
|
742
708
|
* @docs-private
|
|
743
709
|
*/
|
|
744
|
-
export declare class MatTabLabelWrapper extends _MatTabLabelWrapperMixinBase
|
|
710
|
+
export declare class MatTabLabelWrapper extends _MatTabLabelWrapperMixinBase {
|
|
745
711
|
elementRef: ElementRef;
|
|
712
|
+
/** Whether the tab is disabled. */
|
|
713
|
+
disabled: boolean;
|
|
746
714
|
constructor(elementRef: ElementRef);
|
|
747
715
|
/** Sets focus on the wrapper element */
|
|
748
716
|
focus(): void;
|
|
749
717
|
getOffsetLeft(): number;
|
|
750
718
|
getOffsetWidth(): number;
|
|
751
719
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabLabelWrapper, never>;
|
|
752
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabLabelWrapper, "[matTabLabelWrapper]", never, { "
|
|
720
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabLabelWrapper, "[matTabLabelWrapper]", never, { "fitInkBarToContent": { "alias": "fitInkBarToContent"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
721
|
+
static ngAcceptInputType_disabled: unknown;
|
|
753
722
|
}
|
|
754
723
|
|
|
755
724
|
/** @docs-private */
|
|
756
|
-
declare const _MatTabLabelWrapperMixinBase:
|
|
725
|
+
declare const _MatTabLabelWrapperMixinBase: {
|
|
757
726
|
new (): {
|
|
758
727
|
elementRef: ElementRef;
|
|
759
728
|
};
|
|
@@ -762,7 +731,7 @@ declare const _MatTabLabelWrapperMixinBase: _Constructor<CanDisable> & _Abstract
|
|
|
762
731
|
/**
|
|
763
732
|
* Link inside a `mat-tab-nav-bar`.
|
|
764
733
|
*/
|
|
765
|
-
export declare class MatTabLink extends _MatTabLinkMixinBase implements AfterViewInit, OnDestroy,
|
|
734
|
+
export declare class MatTabLink extends _MatTabLinkMixinBase implements AfterViewInit, OnDestroy, RippleTarget, FocusableOption {
|
|
766
735
|
private _tabNavBar;
|
|
767
736
|
/** @docs-private */ elementRef: ElementRef;
|
|
768
737
|
private _focusMonitor;
|
|
@@ -771,7 +740,12 @@ export declare class MatTabLink extends _MatTabLinkMixinBase implements AfterVie
|
|
|
771
740
|
protected _isActive: boolean;
|
|
772
741
|
/** Whether the link is active. */
|
|
773
742
|
get active(): boolean;
|
|
774
|
-
set active(value:
|
|
743
|
+
set active(value: boolean);
|
|
744
|
+
/** Whether the tab link is disabled. */
|
|
745
|
+
disabled: boolean;
|
|
746
|
+
/** Whether ripples are disabled on the tab link. */
|
|
747
|
+
disableRipple: boolean;
|
|
748
|
+
tabIndex: number;
|
|
775
749
|
/**
|
|
776
750
|
* Ripple configuration for ripples that are launched on pointer down. The ripple config
|
|
777
751
|
* is set to the global ripple options since we don't have any configurable options for
|
|
@@ -800,20 +774,19 @@ export declare class MatTabLink extends _MatTabLinkMixinBase implements AfterVie
|
|
|
800
774
|
_getRole(): string | null;
|
|
801
775
|
_getTabIndex(): number;
|
|
802
776
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabLink, [null, null, { optional: true; }, { attribute: "tabindex"; }, null, { optional: true; }]>;
|
|
803
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabLink, "[mat-tab-link], [matTabLink]", ["matTabLink"], { "
|
|
777
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabLink, "[mat-tab-link], [matTabLink]", ["matTabLink"], { "active": { "alias": "active"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
778
|
+
static ngAcceptInputType_active: unknown;
|
|
779
|
+
static ngAcceptInputType_disabled: unknown;
|
|
780
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
781
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
804
782
|
}
|
|
805
783
|
|
|
806
|
-
declare const _MatTabLinkMixinBase:
|
|
784
|
+
declare const _MatTabLinkMixinBase: {
|
|
807
785
|
new (): {
|
|
808
786
|
elementRef: ElementRef;
|
|
809
787
|
};
|
|
810
788
|
} & (new (...args: any[]) => MatInkBarItem);
|
|
811
789
|
|
|
812
|
-
/** @docs-private */
|
|
813
|
-
declare const _MatTabMixinBase: _Constructor<CanDisable> & _AbstractConstructor<CanDisable> & {
|
|
814
|
-
new (): {};
|
|
815
|
-
};
|
|
816
|
-
|
|
817
790
|
/**
|
|
818
791
|
* Navigation component matching the styles of the tab group header.
|
|
819
792
|
* Provides anchored navigation with animated ink bar.
|
|
@@ -821,14 +794,12 @@ declare const _MatTabMixinBase: _Constructor<CanDisable> & _AbstractConstructor<
|
|
|
821
794
|
export declare class MatTabNav extends MatPaginatedTabHeader implements AfterContentChecked, AfterContentInit, OnDestroy, AfterViewInit {
|
|
822
795
|
/** Whether the ink bar should fit its width to the size of the tab label content. */
|
|
823
796
|
get fitInkBarToContent(): boolean;
|
|
824
|
-
set fitInkBarToContent(
|
|
797
|
+
set fitInkBarToContent(value: boolean);
|
|
825
798
|
_fitInkBarToContent: BehaviorSubject<boolean>;
|
|
826
799
|
/** Whether tabs should be stretched to fill the header. */
|
|
827
|
-
|
|
828
|
-
set stretchTabs(v: BooleanInput);
|
|
829
|
-
private _stretchTabs;
|
|
800
|
+
stretchTabs: boolean;
|
|
830
801
|
get animationDuration(): string;
|
|
831
|
-
set animationDuration(value:
|
|
802
|
+
set animationDuration(value: string | number);
|
|
832
803
|
private _animationDuration;
|
|
833
804
|
/** Query list of all tab links of the tab navigation. */
|
|
834
805
|
_items: QueryList<MatTabLink>;
|
|
@@ -837,9 +808,7 @@ export declare class MatTabNav extends MatPaginatedTabHeader implements AfterCon
|
|
|
837
808
|
set backgroundColor(value: ThemePalette);
|
|
838
809
|
private _backgroundColor;
|
|
839
810
|
/** Whether the ripple effect is disabled or not. */
|
|
840
|
-
|
|
841
|
-
set disableRipple(value: BooleanInput);
|
|
842
|
-
private _disableRipple;
|
|
811
|
+
disableRipple: boolean;
|
|
843
812
|
/** Theme color of the nav bar. */
|
|
844
813
|
color: ThemePalette;
|
|
845
814
|
/**
|
|
@@ -862,7 +831,10 @@ export declare class MatTabNav extends MatPaginatedTabHeader implements AfterCon
|
|
|
862
831
|
updateActiveLink(): void;
|
|
863
832
|
_getRole(): string | null;
|
|
864
833
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNav, [null, { optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
865
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "
|
|
834
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "fitInkBarToContent": { "alias": "fitInkBarToContent"; "required": false; }; "stretchTabs": { "alias": "mat-stretch-tabs"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "color": { "alias": "color"; "required": false; }; "tabPanel": { "alias": "tabPanel"; "required": false; }; }, {}, ["_items"], ["*"], true, never>;
|
|
835
|
+
static ngAcceptInputType_fitInkBarToContent: unknown;
|
|
836
|
+
static ngAcceptInputType_stretchTabs: unknown;
|
|
837
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
866
838
|
}
|
|
867
839
|
|
|
868
840
|
/**
|
|
@@ -874,7 +846,7 @@ export declare class MatTabNavPanel {
|
|
|
874
846
|
/** Id of the active tab in the nav bar. */
|
|
875
847
|
_activeTabId?: string;
|
|
876
848
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNavPanel, never>;
|
|
877
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNavPanel, "mat-tab-nav-panel", ["matTabNavPanel"], { "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"],
|
|
849
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNavPanel, "mat-tab-nav-panel", ["matTabNavPanel"], { "id": { "alias": "id"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
878
850
|
}
|
|
879
851
|
|
|
880
852
|
/**
|
|
@@ -915,7 +887,7 @@ export declare interface MatTabsConfig {
|
|
|
915
887
|
|
|
916
888
|
export declare class MatTabsModule {
|
|
917
889
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabsModule, never>;
|
|
918
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTabsModule, [typeof i1.
|
|
890
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTabsModule, never, [typeof i1.MatCommonModule, typeof i2.MatTabContent, typeof i3.MatTabLabel, typeof i4.MatTab, typeof i5.MatTabGroup, typeof i6.MatTabNav, typeof i6.MatTabNavPanel, typeof i6.MatTabLink], [typeof i1.MatCommonModule, typeof i2.MatTabContent, typeof i3.MatTabLabel, typeof i4.MatTab, typeof i5.MatTabGroup, typeof i6.MatTabNav, typeof i6.MatTabNavPanel, typeof i6.MatTabLink]>;
|
|
919
891
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatTabsModule>;
|
|
920
892
|
}
|
|
921
893
|
|
package/toolbar/index.d.ts
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { _AbstractConstructor } from '@angular/material/core';
|
|
2
1
|
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import { CanColor } from '@angular/material/core';
|
|
4
|
-
import { _Constructor } from '@angular/material/core';
|
|
5
2
|
import { ElementRef } from '@angular/core';
|
|
6
3
|
import * as i0 from '@angular/core';
|
|
7
|
-
import * as
|
|
4
|
+
import * as i1 from '@angular/material/core';
|
|
8
5
|
import { Platform } from '@angular/cdk/platform';
|
|
9
6
|
import { QueryList } from '@angular/core';
|
|
10
7
|
|
|
11
|
-
declare namespace
|
|
8
|
+
declare namespace i2 {
|
|
12
9
|
export {
|
|
13
10
|
throwToolbarMixedModesError,
|
|
14
11
|
MatToolbarRow,
|
|
@@ -16,37 +13,33 @@ declare namespace i1 {
|
|
|
16
13
|
}
|
|
17
14
|
}
|
|
18
15
|
|
|
19
|
-
export declare class MatToolbar
|
|
16
|
+
export declare class MatToolbar implements AfterViewInit {
|
|
17
|
+
protected _elementRef: ElementRef;
|
|
20
18
|
private _platform;
|
|
19
|
+
/** Palette color of the toolbar. */
|
|
20
|
+
color?: string | null;
|
|
21
21
|
private _document;
|
|
22
22
|
/** Reference to all toolbar row elements that have been projected. */
|
|
23
23
|
_toolbarRows: QueryList<MatToolbarRow>;
|
|
24
|
-
constructor(
|
|
24
|
+
constructor(_elementRef: ElementRef, _platform: Platform, document?: any);
|
|
25
25
|
ngAfterViewInit(): void;
|
|
26
26
|
/**
|
|
27
27
|
* Throws an exception when developers are attempting to combine the different toolbar row modes.
|
|
28
28
|
*/
|
|
29
29
|
private _checkToolbarMixedModes;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbar, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatToolbar, "mat-toolbar", ["matToolbar"], { "color": { "alias": "color"; "required": false; }; }, {}, ["_toolbarRows"], ["*", "mat-toolbar-row"],
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatToolbar, "mat-toolbar", ["matToolbar"], { "color": { "alias": "color"; "required": false; }; }, {}, ["_toolbarRows"], ["*", "mat-toolbar-row"], true, never>;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
/** @docs-private */
|
|
35
|
-
declare const _MatToolbarBase: _Constructor<CanColor> & _AbstractConstructor<CanColor> & {
|
|
36
|
-
new (_elementRef: ElementRef): {
|
|
37
|
-
_elementRef: ElementRef;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
|
|
41
34
|
export declare class MatToolbarModule {
|
|
42
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarModule, never>;
|
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatToolbarModule, [typeof i1.
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatToolbarModule, never, [typeof i1.MatCommonModule, typeof i2.MatToolbar, typeof i2.MatToolbarRow], [typeof i2.MatToolbar, typeof i2.MatToolbarRow, typeof i1.MatCommonModule]>;
|
|
44
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatToolbarModule>;
|
|
45
38
|
}
|
|
46
39
|
|
|
47
40
|
export declare class MatToolbarRow {
|
|
48
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarRow, never>;
|
|
49
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatToolbarRow, "mat-toolbar-row", ["matToolbarRow"], {}, {}, never, never,
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatToolbarRow, "mat-toolbar-row", ["matToolbarRow"], {}, {}, never, never, true, never>;
|
|
50
43
|
}
|
|
51
44
|
|
|
52
45
|
/**
|
|
@@ -22,7 +22,7 @@ export declare class MatToolbarHarness extends ContentContainerComponentHarness<
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/** Selectors for different sections of the mat-toolbar that contain user content. */
|
|
25
|
-
export declare
|
|
25
|
+
export declare enum MatToolbarSection {
|
|
26
26
|
ROW = ".mat-toolbar-row"
|
|
27
27
|
}
|
|
28
28
|
|
package/tooltip/index.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ import { Directionality } from '@angular/cdk/bidi';
|
|
|
8
8
|
import { ElementRef } from '@angular/core';
|
|
9
9
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
11
|
+
import * as i1 from '@angular/cdk/a11y';
|
|
12
|
+
import * as i2 from '@angular/common';
|
|
13
|
+
import * as i3 from '@angular/cdk/overlay';
|
|
14
|
+
import * as i4 from '@angular/material/core';
|
|
15
15
|
import * as i6 from '@angular/cdk/scrolling';
|
|
16
16
|
import { InjectionToken } from '@angular/core';
|
|
17
17
|
import { NgZone } from '@angular/core';
|
|
@@ -33,7 +33,7 @@ import { ViewContainerRef } from '@angular/core';
|
|
|
33
33
|
*/
|
|
34
34
|
export declare function getMatTooltipInvalidPositionError(position: string): Error;
|
|
35
35
|
|
|
36
|
-
declare namespace
|
|
36
|
+
declare namespace i5 {
|
|
37
37
|
export {
|
|
38
38
|
getMatTooltipInvalidPositionError,
|
|
39
39
|
MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY,
|
|
@@ -215,7 +215,7 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
|
|
|
215
215
|
/** Disables the native browser gestures, based on how the tooltip has been configured. */
|
|
216
216
|
private _disableNativeGesturesIfNecessary;
|
|
217
217
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTooltip, [null, null, null, null, null, null, null, null, null, null, { optional: true; }, null]>;
|
|
218
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTooltip, "[matTooltip]", ["matTooltip"], { "position": { "alias": "matTooltipPosition"; "required": false; }; "positionAtOrigin": { "alias": "matTooltipPositionAtOrigin"; "required": false; }; "disabled": { "alias": "matTooltipDisabled"; "required": false; }; "showDelay": { "alias": "matTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "matTooltipHideDelay"; "required": false; }; "touchGestures": { "alias": "matTooltipTouchGestures"; "required": false; }; "message": { "alias": "matTooltip"; "required": false; }; "tooltipClass": { "alias": "matTooltipClass"; "required": false; }; }, {}, never, never,
|
|
218
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTooltip, "[matTooltip]", ["matTooltip"], { "position": { "alias": "matTooltipPosition"; "required": false; }; "positionAtOrigin": { "alias": "matTooltipPositionAtOrigin"; "required": false; }; "disabled": { "alias": "matTooltipDisabled"; "required": false; }; "showDelay": { "alias": "matTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "matTooltipHideDelay"; "required": false; }; "touchGestures": { "alias": "matTooltipTouchGestures"; "required": false; }; "message": { "alias": "matTooltip"; "required": false; }; "tooltipClass": { "alias": "matTooltipClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/**
|
|
@@ -249,7 +249,7 @@ export declare interface MatTooltipDefaultOptions {
|
|
|
249
249
|
|
|
250
250
|
export declare class MatTooltipModule {
|
|
251
251
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTooltipModule, never>;
|
|
252
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTooltipModule, [typeof i1.
|
|
252
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTooltipModule, never, [typeof i1.A11yModule, typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.MatCommonModule, typeof i5.MatTooltip, typeof i5.TooltipComponent], [typeof i5.MatTooltip, typeof i5.TooltipComponent, typeof i4.MatCommonModule, typeof i6.CdkScrollableModule]>;
|
|
253
253
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatTooltipModule>;
|
|
254
254
|
}
|
|
255
255
|
|
|
@@ -345,7 +345,7 @@ export declare class TooltipComponent implements OnDestroy {
|
|
|
345
345
|
/** Toggles the visibility of the tooltip element. */
|
|
346
346
|
private _toggleVisibility;
|
|
347
347
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, [null, null, { optional: true; }]>;
|
|
348
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "mat-tooltip-component", never, {}, {}, never, never,
|
|
348
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "mat-tooltip-component", never, {}, {}, never, never, true, never>;
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
/** Possible positions for a tooltip. */
|