@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/chips/index.d.ts
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { _AbstractConstructor } from '@angular/material/core';
|
|
2
1
|
import { AfterContentInit } from '@angular/core';
|
|
3
2
|
import { AfterViewInit } from '@angular/core';
|
|
4
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
-
import { CanColor } from '@angular/material/core';
|
|
6
|
-
import { CanDisable } from '@angular/material/core';
|
|
7
|
-
import { CanDisableRipple } from '@angular/material/core';
|
|
8
|
-
import { CanUpdateErrorState } from '@angular/material/core';
|
|
9
3
|
import { ChangeDetectorRef } from '@angular/core';
|
|
10
|
-
import { _Constructor } from '@angular/material/core';
|
|
11
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
12
5
|
import { Directionality } from '@angular/cdk/bidi';
|
|
13
6
|
import { DoCheck } from '@angular/core';
|
|
@@ -17,9 +10,8 @@ import { EventEmitter } from '@angular/core';
|
|
|
17
10
|
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
18
11
|
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
19
12
|
import { FormGroupDirective } from '@angular/forms';
|
|
20
|
-
import { HasTabIndex } from '@angular/material/core';
|
|
21
13
|
import * as i0 from '@angular/core';
|
|
22
|
-
import * as
|
|
14
|
+
import * as i1 from '@angular/material/core';
|
|
23
15
|
import { InjectionToken } from '@angular/core';
|
|
24
16
|
import { MatFormField } from '@angular/material/form-field';
|
|
25
17
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
@@ -36,26 +28,33 @@ import { QueryList } from '@angular/core';
|
|
|
36
28
|
import { RippleGlobalOptions } from '@angular/material/core';
|
|
37
29
|
import { Subject } from 'rxjs';
|
|
38
30
|
|
|
39
|
-
declare namespace
|
|
31
|
+
declare namespace i10 {
|
|
40
32
|
export {
|
|
41
|
-
|
|
33
|
+
MatChipEditedEvent,
|
|
34
|
+
MatChipRow
|
|
42
35
|
}
|
|
43
36
|
}
|
|
44
37
|
|
|
45
|
-
declare namespace
|
|
38
|
+
declare namespace i11 {
|
|
46
39
|
export {
|
|
47
40
|
MatChipSet
|
|
48
41
|
}
|
|
49
42
|
}
|
|
50
43
|
|
|
51
44
|
declare namespace i2 {
|
|
45
|
+
export {
|
|
46
|
+
MatChipAction
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare namespace i3 {
|
|
52
51
|
export {
|
|
53
52
|
MatChipEvent,
|
|
54
53
|
MatChip
|
|
55
54
|
}
|
|
56
55
|
}
|
|
57
56
|
|
|
58
|
-
declare namespace
|
|
57
|
+
declare namespace i4 {
|
|
59
58
|
export {
|
|
60
59
|
MatChipAvatar,
|
|
61
60
|
MatChipTrailingIcon,
|
|
@@ -63,27 +62,27 @@ declare namespace i3 {
|
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
|
|
66
|
-
declare namespace
|
|
65
|
+
declare namespace i5 {
|
|
67
66
|
export {
|
|
68
67
|
MatChipEditInput
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
70
|
|
|
72
|
-
declare namespace
|
|
71
|
+
declare namespace i6 {
|
|
73
72
|
export {
|
|
74
73
|
MatChipGridChange,
|
|
75
74
|
MatChipGrid
|
|
76
75
|
}
|
|
77
76
|
}
|
|
78
77
|
|
|
79
|
-
declare namespace
|
|
78
|
+
declare namespace i7 {
|
|
80
79
|
export {
|
|
81
80
|
MatChipInputEvent,
|
|
82
81
|
MatChipInput
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
84
|
|
|
86
|
-
declare namespace
|
|
85
|
+
declare namespace i8 {
|
|
87
86
|
export {
|
|
88
87
|
MatChipListboxChange,
|
|
89
88
|
MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR,
|
|
@@ -91,20 +90,13 @@ declare namespace i7 {
|
|
|
91
90
|
}
|
|
92
91
|
}
|
|
93
92
|
|
|
94
|
-
declare namespace
|
|
93
|
+
declare namespace i9 {
|
|
95
94
|
export {
|
|
96
95
|
MatChipSelectionChange,
|
|
97
96
|
MatChipOption
|
|
98
97
|
}
|
|
99
98
|
}
|
|
100
99
|
|
|
101
|
-
declare namespace i9 {
|
|
102
|
-
export {
|
|
103
|
-
MatChipEditedEvent,
|
|
104
|
-
MatChipRow
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
100
|
/**
|
|
109
101
|
* Injection token used to avoid a circular dependency between the `MatChip` and `MatChipAction`.
|
|
110
102
|
*/
|
|
@@ -146,8 +138,9 @@ export declare const MAT_CHIPS_DEFAULT_OPTIONS: InjectionToken<MatChipsDefaultOp
|
|
|
146
138
|
*
|
|
147
139
|
* Extended by MatChipOption and MatChipRow for different interaction patterns.
|
|
148
140
|
*/
|
|
149
|
-
export declare class MatChip
|
|
141
|
+
export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit, DoCheck, OnDestroy {
|
|
150
142
|
_changeDetectorRef: ChangeDetectorRef;
|
|
143
|
+
_elementRef: ElementRef<HTMLElement>;
|
|
151
144
|
protected _ngZone: NgZone;
|
|
152
145
|
private _focusMonitor;
|
|
153
146
|
private _globalRippleOptions?;
|
|
@@ -191,18 +184,22 @@ export declare class MatChip extends _MatChipMixinBase implements OnInit, AfterV
|
|
|
191
184
|
get value(): any;
|
|
192
185
|
set value(value: any);
|
|
193
186
|
protected _value: any;
|
|
187
|
+
/** Theme color palette of the chip. */
|
|
188
|
+
color?: string | null;
|
|
194
189
|
/**
|
|
195
190
|
* Determines whether or not the chip displays the remove styling and emits (removed) events.
|
|
196
191
|
*/
|
|
197
|
-
|
|
198
|
-
set removable(value: BooleanInput);
|
|
199
|
-
protected _removable: boolean;
|
|
192
|
+
removable: boolean;
|
|
200
193
|
/**
|
|
201
194
|
* Colors the chip for emphasis as if it were selected.
|
|
202
195
|
*/
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
196
|
+
highlighted: boolean;
|
|
197
|
+
/** Whether the ripple effect is disabled or not. */
|
|
198
|
+
disableRipple: boolean;
|
|
199
|
+
/** Whether the chip is disabled. */
|
|
200
|
+
disabled: boolean;
|
|
201
|
+
/** Tab index of the chip. */
|
|
202
|
+
tabIndex: number;
|
|
206
203
|
/** Emitted when a chip is to be removed. */
|
|
207
204
|
readonly removed: EventEmitter<MatChipEvent>;
|
|
208
205
|
/** Emitted when the chip is destroyed. */
|
|
@@ -229,7 +226,7 @@ export declare class MatChip extends _MatChipMixinBase implements OnInit, AfterV
|
|
|
229
226
|
* Used to improve initial load time of large applications.
|
|
230
227
|
*/
|
|
231
228
|
_rippleLoader: MatRippleLoader;
|
|
232
|
-
constructor(_changeDetectorRef: ChangeDetectorRef,
|
|
229
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, _ngZone: NgZone, _focusMonitor: FocusMonitor, _document: any, animationMode?: string, _globalRippleOptions?: RippleGlobalOptions | undefined, tabIndex?: string);
|
|
233
230
|
ngOnInit(): void;
|
|
234
231
|
ngAfterViewInit(): void;
|
|
235
232
|
ngAfterContentInit(): void;
|
|
@@ -255,17 +252,24 @@ export declare class MatChip extends _MatChipMixinBase implements OnInit, AfterV
|
|
|
255
252
|
_getActions(): MatChipAction[];
|
|
256
253
|
/** Handles interactions with the primary action of the chip. */
|
|
257
254
|
_handlePrimaryActionInteraction(): void;
|
|
255
|
+
/** Gets the tabindex of the chip. */
|
|
256
|
+
_getTabIndex(): number | null;
|
|
258
257
|
/** Starts the focus monitoring process on the chip. */
|
|
259
258
|
private _monitorFocus;
|
|
260
259
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, [null, null, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
|
|
261
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", ["matChip"], { "
|
|
260
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", ["matChip"], { "role": { "alias": "role"; "required": false; }; "id": { "alias": "id"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaDescription": { "alias": "aria-description"; "required": false; }; "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "highlighted": { "alias": "highlighted"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "removed": "removed"; "destroyed": "destroyed"; }, ["leadingIcon", "trailingIcon", "removeIcon", "_allLeadingIcons", "_allTrailingIcons", "_allRemoveIcons"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
261
|
+
static ngAcceptInputType_removable: unknown;
|
|
262
|
+
static ngAcceptInputType_highlighted: unknown;
|
|
263
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
264
|
+
static ngAcceptInputType_disabled: unknown;
|
|
265
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
262
266
|
}
|
|
263
267
|
|
|
264
268
|
/**
|
|
265
269
|
* Section within a chip.
|
|
266
270
|
* @docs-private
|
|
267
271
|
*/
|
|
268
|
-
declare class MatChipAction
|
|
272
|
+
declare class MatChipAction {
|
|
269
273
|
_elementRef: ElementRef<HTMLElement>;
|
|
270
274
|
protected _parentChip: {
|
|
271
275
|
_handlePrimaryActionInteraction(): void;
|
|
@@ -279,8 +283,10 @@ declare class MatChipAction extends _MatChipActionMixinBase implements HasTabInd
|
|
|
279
283
|
_isPrimary: boolean;
|
|
280
284
|
/** Whether the action is disabled. */
|
|
281
285
|
get disabled(): boolean;
|
|
282
|
-
set disabled(value:
|
|
286
|
+
set disabled(value: boolean);
|
|
283
287
|
private _disabled;
|
|
288
|
+
/** Tab index of the action. */
|
|
289
|
+
tabIndex: number;
|
|
284
290
|
/**
|
|
285
291
|
* Private API to allow focusing this chip when it is disabled.
|
|
286
292
|
*/
|
|
@@ -303,19 +309,15 @@ declare class MatChipAction extends _MatChipActionMixinBase implements HasTabInd
|
|
|
303
309
|
_handleClick(event: MouseEvent): void;
|
|
304
310
|
_handleKeydown(event: KeyboardEvent): void;
|
|
305
311
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAction, never>;
|
|
306
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, { "
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
declare abstract class _MatChipActionBase {
|
|
310
|
-
abstract disabled: boolean;
|
|
312
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, { "isInteractive": { "alias": "isInteractive"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "_allowFocusWhenDisabled": { "alias": "_allowFocusWhenDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
313
|
+
static ngAcceptInputType_disabled: unknown;
|
|
314
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
311
315
|
}
|
|
312
316
|
|
|
313
|
-
declare const _MatChipActionMixinBase: _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex> & typeof _MatChipActionBase;
|
|
314
|
-
|
|
315
317
|
/** Avatar image within a chip. */
|
|
316
318
|
export declare class MatChipAvatar {
|
|
317
319
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAvatar, never>;
|
|
318
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAvatar, "mat-chip-avatar, [matChipAvatar]", never, {}, {}, never, never,
|
|
320
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAvatar, "mat-chip-avatar, [matChipAvatar]", never, {}, {}, never, never, true, never>;
|
|
319
321
|
}
|
|
320
322
|
|
|
321
323
|
/** Represents an event fired on an individual `mat-chip` when it is edited. */
|
|
@@ -338,7 +340,7 @@ export declare class MatChipEditInput {
|
|
|
338
340
|
getValue(): string;
|
|
339
341
|
private _moveCursorToEndOfInput;
|
|
340
342
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipEditInput, never>;
|
|
341
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipEditInput, "span[matChipEditInput]", never, {}, {}, never, never,
|
|
343
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipEditInput, "span[matChipEditInput]", never, {}, {}, never, never, true, never>;
|
|
342
344
|
}
|
|
343
345
|
|
|
344
346
|
/** Represents an event fired on an individual `mat-chip`. */
|
|
@@ -351,7 +353,8 @@ export declare interface MatChipEvent {
|
|
|
351
353
|
* An extension of the MatChipSet component used with MatChipRow chips and
|
|
352
354
|
* the matChipInputFor directive.
|
|
353
355
|
*/
|
|
354
|
-
export declare class MatChipGrid extends
|
|
356
|
+
export declare class MatChipGrid extends MatChipSet implements AfterContentInit, AfterViewInit, ControlValueAccessor, DoCheck, MatFormFieldControl<any>, OnDestroy {
|
|
357
|
+
ngControl: NgControl;
|
|
355
358
|
/**
|
|
356
359
|
* Implemented as part of MatFormFieldControl.
|
|
357
360
|
* @docs-private
|
|
@@ -360,6 +363,7 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
360
363
|
/** The chip input to add more chips */
|
|
361
364
|
protected _chipInput: MatChipTextControl;
|
|
362
365
|
protected _defaultRole: string;
|
|
366
|
+
private _errorStateTracker;
|
|
363
367
|
/**
|
|
364
368
|
* List of element ids to propagate to the chipInput's aria-describedby attribute.
|
|
365
369
|
*/
|
|
@@ -379,7 +383,7 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
379
383
|
* @docs-private
|
|
380
384
|
*/
|
|
381
385
|
get disabled(): boolean;
|
|
382
|
-
set disabled(value:
|
|
386
|
+
set disabled(value: boolean);
|
|
383
387
|
/**
|
|
384
388
|
* Implemented as part of MatFormFieldControl.
|
|
385
389
|
* @docs-private
|
|
@@ -404,7 +408,7 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
404
408
|
* @docs-private
|
|
405
409
|
*/
|
|
406
410
|
get required(): boolean;
|
|
407
|
-
set required(value:
|
|
411
|
+
set required(value: boolean);
|
|
408
412
|
protected _required: boolean | undefined;
|
|
409
413
|
/**
|
|
410
414
|
* Implemented as part of MatFormFieldControl.
|
|
@@ -419,7 +423,8 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
419
423
|
set value(value: any);
|
|
420
424
|
protected _value: any[];
|
|
421
425
|
/** An object used to control when error messages are shown. */
|
|
422
|
-
errorStateMatcher: ErrorStateMatcher;
|
|
426
|
+
get errorStateMatcher(): ErrorStateMatcher;
|
|
427
|
+
set errorStateMatcher(value: ErrorStateMatcher);
|
|
423
428
|
/** Combined stream of all of the child chips' blur events. */
|
|
424
429
|
get chipBlurChanges(): Observable<MatChipEvent>;
|
|
425
430
|
/** Emits when the chip grid value has been changed by the user. */
|
|
@@ -431,6 +436,15 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
431
436
|
*/
|
|
432
437
|
readonly valueChange: EventEmitter<any>;
|
|
433
438
|
_chips: QueryList<MatChipRow>;
|
|
439
|
+
/**
|
|
440
|
+
* Emits whenever the component state changes and should cause the parent
|
|
441
|
+
* form-field to update. Implemented as part of `MatFormFieldControl`.
|
|
442
|
+
* @docs-private
|
|
443
|
+
*/
|
|
444
|
+
readonly stateChanges: Subject<void>;
|
|
445
|
+
/** Whether the chip grid is in an error state. */
|
|
446
|
+
get errorState(): boolean;
|
|
447
|
+
set errorState(value: boolean);
|
|
434
448
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, dir: Directionality, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, ngControl: NgControl);
|
|
435
449
|
ngAfterContentInit(): void;
|
|
436
450
|
ngAfterViewInit(): void;
|
|
@@ -473,6 +487,8 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
473
487
|
* @docs-private
|
|
474
488
|
*/
|
|
475
489
|
setDisabledState(isDisabled: boolean): void;
|
|
490
|
+
/** Refreshes the error state of the chip grid. */
|
|
491
|
+
updateErrorState(): void;
|
|
476
492
|
/** When blurred, mark the field as touched when focus moved outside the chip grid. */
|
|
477
493
|
_blur(): void;
|
|
478
494
|
/**
|
|
@@ -489,36 +505,9 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
489
505
|
/** Mark the field as touched */
|
|
490
506
|
private _markAsTouched;
|
|
491
507
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
|
492
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* Boilerplate for applying mixins to MatChipGrid.
|
|
497
|
-
* @docs-private
|
|
498
|
-
*/
|
|
499
|
-
declare class MatChipGridBase extends MatChipSet {
|
|
500
|
-
_defaultErrorStateMatcher: ErrorStateMatcher;
|
|
501
|
-
_parentForm: NgForm;
|
|
502
|
-
_parentFormGroup: FormGroupDirective;
|
|
503
|
-
/**
|
|
504
|
-
* Form control bound to the component.
|
|
505
|
-
* Implemented as part of `MatFormFieldControl`.
|
|
506
|
-
* @docs-private
|
|
507
|
-
*/
|
|
508
|
-
ngControl: NgControl;
|
|
509
|
-
/**
|
|
510
|
-
* Emits whenever the component state changes and should cause the parent
|
|
511
|
-
* form-field to update. Implemented as part of `MatFormFieldControl`.
|
|
512
|
-
* @docs-private
|
|
513
|
-
*/
|
|
514
|
-
readonly stateChanges: Subject<void>;
|
|
515
|
-
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, dir: Directionality, _defaultErrorStateMatcher: ErrorStateMatcher, _parentForm: NgForm, _parentFormGroup: FormGroupDirective,
|
|
516
|
-
/**
|
|
517
|
-
* Form control bound to the component.
|
|
518
|
-
* Implemented as part of `MatFormFieldControl`.
|
|
519
|
-
* @docs-private
|
|
520
|
-
*/
|
|
521
|
-
ngControl: NgControl);
|
|
508
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; }, { "change": "change"; "valueChange": "valueChange"; }, ["_chips"], ["*"], true, never>;
|
|
509
|
+
static ngAcceptInputType_disabled: unknown;
|
|
510
|
+
static ngAcceptInputType_required: unknown;
|
|
522
511
|
}
|
|
523
512
|
|
|
524
513
|
/** Change event object that is emitted when the chip grid value has changed. */
|
|
@@ -534,8 +523,6 @@ export declare class MatChipGridChange {
|
|
|
534
523
|
value: any);
|
|
535
524
|
}
|
|
536
525
|
|
|
537
|
-
declare const _MatChipGridMixinBase: _Constructor<CanUpdateErrorState> & _AbstractConstructor<CanUpdateErrorState> & typeof MatChipGridBase;
|
|
538
|
-
|
|
539
526
|
/**
|
|
540
527
|
* Directive that adds chip-specific behaviors to an input element inside `<mat-form-field>`.
|
|
541
528
|
* May be placed inside or outside of a `<mat-chip-grid>`.
|
|
@@ -546,15 +533,14 @@ export declare class MatChipInput implements MatChipTextControl, AfterContentIni
|
|
|
546
533
|
private _focusLastChipOnBackspace;
|
|
547
534
|
/** Whether the control is focused. */
|
|
548
535
|
focused: boolean;
|
|
549
|
-
_chipGrid: MatChipGrid;
|
|
550
536
|
/** Register input for chip list */
|
|
537
|
+
get chipGrid(): MatChipGrid;
|
|
551
538
|
set chipGrid(value: MatChipGrid);
|
|
539
|
+
private _chipGrid;
|
|
552
540
|
/**
|
|
553
541
|
* Whether or not the chipEnd event will be emitted when the input is blurred.
|
|
554
542
|
*/
|
|
555
|
-
|
|
556
|
-
set addOnBlur(value: BooleanInput);
|
|
557
|
-
_addOnBlur: boolean;
|
|
543
|
+
addOnBlur: boolean;
|
|
558
544
|
/**
|
|
559
545
|
* The list of key codes that will trigger a chipEnd event.
|
|
560
546
|
*
|
|
@@ -569,7 +555,7 @@ export declare class MatChipInput implements MatChipTextControl, AfterContentIni
|
|
|
569
555
|
id: string;
|
|
570
556
|
/** Whether the input is disabled. */
|
|
571
557
|
get disabled(): boolean;
|
|
572
|
-
set disabled(value:
|
|
558
|
+
set disabled(value: boolean);
|
|
573
559
|
private _disabled;
|
|
574
560
|
/** Whether the input is empty. */
|
|
575
561
|
get empty(): boolean;
|
|
@@ -599,7 +585,9 @@ export declare class MatChipInput implements MatChipTextControl, AfterContentIni
|
|
|
599
585
|
/** Checks whether a keycode is one of the configured separators. */
|
|
600
586
|
private _isSeparatorKey;
|
|
601
587
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, [null, null, { optional: true; }]>;
|
|
602
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never,
|
|
588
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
|
|
589
|
+
static ngAcceptInputType_addOnBlur: unknown;
|
|
590
|
+
static ngAcceptInputType_disabled: unknown;
|
|
603
591
|
}
|
|
604
592
|
|
|
605
593
|
/** Represents an input event on a `matChipInput`. */
|
|
@@ -638,7 +626,7 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
|
|
|
638
626
|
private _defaultOptions;
|
|
639
627
|
/** Whether the user should be allowed to select multiple chips. */
|
|
640
628
|
get multiple(): boolean;
|
|
641
|
-
set multiple(value:
|
|
629
|
+
set multiple(value: boolean);
|
|
642
630
|
private _multiple;
|
|
643
631
|
/** The array of selected chips inside the chip listbox. */
|
|
644
632
|
get selected(): MatChipOption[] | MatChipOption;
|
|
@@ -651,7 +639,7 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
|
|
|
651
639
|
* the chips inside the chip listbox are always ignored.
|
|
652
640
|
*/
|
|
653
641
|
get selectable(): boolean;
|
|
654
|
-
set selectable(value:
|
|
642
|
+
set selectable(value: boolean);
|
|
655
643
|
protected _selectable: boolean;
|
|
656
644
|
/**
|
|
657
645
|
* A function to compare the option values with the selected values. The first argument
|
|
@@ -660,12 +648,10 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
|
|
|
660
648
|
*/
|
|
661
649
|
compareWith: (o1: any, o2: any) => boolean;
|
|
662
650
|
/** Whether this chip listbox is required. */
|
|
663
|
-
|
|
664
|
-
set required(value: BooleanInput);
|
|
665
|
-
protected _required: boolean;
|
|
651
|
+
required: boolean;
|
|
666
652
|
/** Whether checkmark indicator for single-selection options is hidden. */
|
|
667
653
|
get hideSingleSelectionIndicator(): boolean;
|
|
668
|
-
set hideSingleSelectionIndicator(value:
|
|
654
|
+
set hideSingleSelectionIndicator(value: boolean);
|
|
669
655
|
private _hideSingleSelectionIndicator;
|
|
670
656
|
/** Combined stream of all of the child chips' selection change events. */
|
|
671
657
|
get chipSelectionChanges(): Observable<MatChipSelectionChange>;
|
|
@@ -733,7 +719,11 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
|
|
|
733
719
|
*/
|
|
734
720
|
protected _skipPredicate(action: MatChipAction): boolean;
|
|
735
721
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipListbox, never>;
|
|
736
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListbox, "mat-chip-listbox", never, { "
|
|
722
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListbox, "mat-chip-listbox", never, { "multiple": { "alias": "multiple"; "required": false; }; "ariaOrientation": { "alias": "aria-orientation"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "change": "change"; }, ["_chips"], ["*"], true, never>;
|
|
723
|
+
static ngAcceptInputType_multiple: unknown;
|
|
724
|
+
static ngAcceptInputType_selectable: unknown;
|
|
725
|
+
static ngAcceptInputType_required: unknown;
|
|
726
|
+
static ngAcceptInputType_hideSingleSelectionIndicator: unknown;
|
|
737
727
|
}
|
|
738
728
|
|
|
739
729
|
/** Change event object that is emitted when the chip listbox value has changed. */
|
|
@@ -749,16 +739,6 @@ export declare class MatChipListboxChange {
|
|
|
749
739
|
value: any);
|
|
750
740
|
}
|
|
751
741
|
|
|
752
|
-
/**
|
|
753
|
-
* Boilerplate for applying mixins to MatChip.
|
|
754
|
-
* @docs-private
|
|
755
|
-
*/
|
|
756
|
-
declare const _MatChipMixinBase: _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex> & _Constructor<CanColor> & _AbstractConstructor<CanColor> & _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple> & _Constructor<CanDisable> & _AbstractConstructor<CanDisable> & {
|
|
757
|
-
new (_elementRef: ElementRef<HTMLElement>): {
|
|
758
|
-
_elementRef: ElementRef<HTMLElement>;
|
|
759
|
-
};
|
|
760
|
-
};
|
|
761
|
-
|
|
762
742
|
/**
|
|
763
743
|
* An extension of the MatChip component that supports chip selection. Used with MatChipListbox.
|
|
764
744
|
*
|
|
@@ -782,11 +762,11 @@ export declare class MatChipOption extends MatChip implements OnInit {
|
|
|
782
762
|
* non-selectable if its parent chip list is not selectable.
|
|
783
763
|
*/
|
|
784
764
|
get selectable(): boolean;
|
|
785
|
-
set selectable(value:
|
|
765
|
+
set selectable(value: boolean);
|
|
786
766
|
protected _selectable: boolean;
|
|
787
767
|
/** Whether the chip is selected. */
|
|
788
768
|
get selected(): boolean;
|
|
789
|
-
set selected(value:
|
|
769
|
+
set selected(value: boolean);
|
|
790
770
|
private _selected;
|
|
791
771
|
/**
|
|
792
772
|
* The ARIA selected applied to the chip. Conforms to WAI ARIA best practices for listbox
|
|
@@ -819,7 +799,9 @@ export declare class MatChipOption extends MatChip implements OnInit {
|
|
|
819
799
|
_hasLeadingGraphic(): boolean;
|
|
820
800
|
_setSelectedState(isSelected: boolean, isUserInput: boolean, emitEvent: boolean): void;
|
|
821
801
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipOption, never>;
|
|
822
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipOption, "mat-basic-chip-option, [mat-basic-chip-option], mat-chip-option, [mat-chip-option]", never, { "
|
|
802
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipOption, "mat-basic-chip-option, [mat-basic-chip-option], mat-chip-option, [mat-chip-option]", never, { "selectable": { "alias": "selectable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
803
|
+
static ngAcceptInputType_selectable: unknown;
|
|
804
|
+
static ngAcceptInputType_selected: unknown;
|
|
823
805
|
}
|
|
824
806
|
|
|
825
807
|
/**
|
|
@@ -842,7 +824,7 @@ export declare class MatChipRemove extends MatChipAction {
|
|
|
842
824
|
_handleClick(event: MouseEvent): void;
|
|
843
825
|
_handleKeydown(event: KeyboardEvent): void;
|
|
844
826
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRemove, never>;
|
|
845
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipRemove, "[matChipRemove]", never, {}, {}, never, never,
|
|
827
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipRemove, "[matChipRemove]", never, {}, {}, never, never, true, never>;
|
|
846
828
|
}
|
|
847
829
|
|
|
848
830
|
/**
|
|
@@ -880,7 +862,7 @@ export declare class MatChipRow extends MatChip implements AfterViewInit {
|
|
|
880
862
|
*/
|
|
881
863
|
private _getEditInput;
|
|
882
864
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, [null, null, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
|
|
883
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", never, { "
|
|
865
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", never, { "editable": { "alias": "editable"; "required": false; }; }, { "edited": "edited"; }, ["contentEditInput"], ["mat-chip-avatar, [matChipAvatar]", "[matChipEditInput]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
884
866
|
}
|
|
885
867
|
|
|
886
868
|
/** Default options, for the chips module, that can be overridden. */
|
|
@@ -913,7 +895,7 @@ export declare class MatChipSelectionChange {
|
|
|
913
895
|
*
|
|
914
896
|
* Extended by MatChipListbox and MatChipGrid for different interaction patterns.
|
|
915
897
|
*/
|
|
916
|
-
export declare class MatChipSet
|
|
898
|
+
export declare class MatChipSet implements AfterViewInit, OnDestroy {
|
|
917
899
|
protected _elementRef: ElementRef<HTMLElement>;
|
|
918
900
|
protected _changeDetectorRef: ChangeDetectorRef;
|
|
919
901
|
private _dir;
|
|
@@ -927,16 +909,20 @@ export declare class MatChipSet extends _MatChipSetMixinBase implements AfterVie
|
|
|
927
909
|
protected _defaultRole: string;
|
|
928
910
|
/** Combined stream of all of the child chips' focus events. */
|
|
929
911
|
get chipFocusChanges(): Observable<MatChipEvent>;
|
|
930
|
-
/** Combined stream of all of the child chips'
|
|
912
|
+
/** Combined stream of all of the child chips' destroy events. */
|
|
931
913
|
get chipDestroyedChanges(): Observable<MatChipEvent>;
|
|
914
|
+
/** Combined stream of all of the child chips' remove events. */
|
|
915
|
+
get chipRemovedChanges(): Observable<MatChipEvent>;
|
|
932
916
|
/** Whether the chip set is disabled. */
|
|
933
917
|
get disabled(): boolean;
|
|
934
|
-
set disabled(value:
|
|
918
|
+
set disabled(value: boolean);
|
|
935
919
|
protected _disabled: boolean;
|
|
936
920
|
/** Whether the chip list contains chips or not. */
|
|
937
921
|
get empty(): boolean;
|
|
938
922
|
/** The ARIA role applied to the chip set. */
|
|
939
923
|
get role(): string | null;
|
|
924
|
+
/** Tabindex of the chip set. */
|
|
925
|
+
tabIndex: number;
|
|
940
926
|
set role(value: string | null);
|
|
941
927
|
private _explicitRole;
|
|
942
928
|
/** Whether any of the chips inside of this chip-set has focus. */
|
|
@@ -993,23 +979,14 @@ export declare class MatChipSet extends _MatChipSetMixinBase implements AfterVie
|
|
|
993
979
|
*/
|
|
994
980
|
private _redirectDestroyedChipFocus;
|
|
995
981
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, [null, null, { optional: true; }]>;
|
|
996
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": { "alias": "disabled"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, {}, ["_chips"], ["*"],
|
|
982
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": { "alias": "disabled"; "required": false; }; "role": { "alias": "role"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, ["_chips"], ["*"], true, never>;
|
|
983
|
+
static ngAcceptInputType_disabled: unknown;
|
|
984
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
997
985
|
}
|
|
998
986
|
|
|
999
|
-
/**
|
|
1000
|
-
* Boilerplate for applying mixins to MatChipSet.
|
|
1001
|
-
* @docs-private
|
|
1002
|
-
*/
|
|
1003
|
-
declare abstract class MatChipSetBase {
|
|
1004
|
-
abstract disabled: boolean;
|
|
1005
|
-
constructor(_elementRef: ElementRef);
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
declare const _MatChipSetMixinBase: _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex> & typeof MatChipSetBase;
|
|
1009
|
-
|
|
1010
987
|
export declare class MatChipsModule {
|
|
1011
988
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipsModule, never>;
|
|
1012
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatChipsModule, [typeof i1.
|
|
989
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatChipsModule, never, [typeof i1.MatCommonModule, typeof i1.MatRippleModule, typeof i2.MatChipAction, typeof i3.MatChip, typeof i4.MatChipAvatar, typeof i5.MatChipEditInput, typeof i6.MatChipGrid, typeof i7.MatChipInput, typeof i8.MatChipListbox, typeof i9.MatChipOption, typeof i4.MatChipRemove, typeof i10.MatChipRow, typeof i11.MatChipSet, typeof i4.MatChipTrailingIcon], [typeof i1.MatCommonModule, typeof i3.MatChip, typeof i4.MatChipAvatar, typeof i5.MatChipEditInput, typeof i6.MatChipGrid, typeof i7.MatChipInput, typeof i8.MatChipListbox, typeof i9.MatChipOption, typeof i4.MatChipRemove, typeof i10.MatChipRow, typeof i11.MatChipSet, typeof i4.MatChipTrailingIcon]>;
|
|
1013
990
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatChipsModule>;
|
|
1014
991
|
}
|
|
1015
992
|
|
|
@@ -1039,7 +1016,7 @@ export declare class MatChipTrailingIcon extends MatChipAction {
|
|
|
1039
1016
|
isInteractive: boolean;
|
|
1040
1017
|
_isPrimary: boolean;
|
|
1041
1018
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipTrailingIcon, never>;
|
|
1042
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipTrailingIcon, "mat-chip-trailing-icon, [matChipTrailingIcon]", never, {}, {}, never, never,
|
|
1019
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipTrailingIcon, "mat-chip-trailing-icon, [matChipTrailingIcon]", never, {}, {}, never, never, true, never>;
|
|
1043
1020
|
}
|
|
1044
1021
|
|
|
1045
1022
|
export { }
|