@angular/material 13.1.0-rc.0 → 13.1.3
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/LICENSE +1 -1
- package/autocomplete/autocomplete-trigger.d.ts +2 -3
- package/autocomplete/autocomplete.d.ts +1 -3
- package/badge/badge.d.ts +2 -5
- package/button/button.d.ts +11 -8
- package/button-toggle/button-toggle.d.ts +5 -13
- package/checkbox/checkbox.d.ts +6 -11
- package/chips/chip-input.d.ts +2 -4
- package/chips/chip-list.d.ts +4 -8
- package/chips/chip.d.ts +5 -11
- package/core/focus-indicators/_focus-indicators.scss +4 -0
- package/core/option/index.d.ts +1 -1
- package/core/option/optgroup.d.ts +0 -2
- package/core/option/option.d.ts +14 -15
- package/core/selection/index.d.ts +8 -8
- package/core/selection/pseudo-checkbox/pseudo-checkbox-module.d.ts +8 -0
- package/core/theming/_palette.scss +1 -1
- package/core/theming/_theming.scss +15 -4
- package/datepicker/date-range-input.d.ts +2 -4
- package/datepicker/datepicker-base.d.ts +4 -8
- package/datepicker/datepicker-input-base.d.ts +2 -4
- package/datepicker/datepicker-toggle.d.ts +1 -2
- package/divider/divider.d.ts +2 -4
- package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
- package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
- package/esm2020/autocomplete/autocomplete-trigger.mjs +20 -18
- package/esm2020/autocomplete/autocomplete.mjs +7 -7
- package/esm2020/badge/badge-module.mjs +5 -5
- package/esm2020/badge/badge.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet-container.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
- package/esm2020/bottom-sheet/bottom-sheet.mjs +4 -4
- package/esm2020/button/button-module.mjs +5 -5
- package/esm2020/button/button.mjs +35 -15
- package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2020/button-toggle/button-toggle.mjs +7 -7
- package/esm2020/card/card-module.mjs +5 -5
- package/esm2020/card/card.mjs +44 -44
- package/esm2020/checkbox/checkbox-module.mjs +9 -9
- package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2020/checkbox/checkbox.mjs +4 -4
- package/esm2020/chips/chip-input.mjs +4 -4
- package/esm2020/chips/chip-list.mjs +4 -4
- package/esm2020/chips/chip.mjs +13 -13
- package/esm2020/chips/chips-module.mjs +5 -5
- package/esm2020/core/common-behaviors/common-module.mjs +7 -11
- package/esm2020/core/common-behaviors/disable-ripple.mjs +1 -1
- package/esm2020/core/common-behaviors/disabled.mjs +1 -1
- package/esm2020/core/datetime/index.mjs +9 -9
- package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
- package/esm2020/core/error/error-options.mjs +7 -7
- package/esm2020/core/line/line.mjs +8 -8
- package/esm2020/core/option/index.mjs +5 -5
- package/esm2020/core/option/optgroup.mjs +14 -7
- package/esm2020/core/option/option.mjs +8 -8
- package/esm2020/core/ripple/index.mjs +5 -5
- package/esm2020/core/ripple/ripple.mjs +4 -4
- package/esm2020/core/selection/index.mjs +2 -18
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +25 -0
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar-body.mjs +5 -5
- package/esm2020/datepicker/calendar.mjs +7 -7
- package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
- package/esm2020/datepicker/date-range-input.mjs +4 -4
- package/esm2020/datepicker/date-range-picker.mjs +4 -4
- package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
- package/esm2020/datepicker/date-selection-model.mjs +10 -10
- package/esm2020/datepicker/datepicker-actions.mjs +10 -10
- package/esm2020/datepicker/datepicker-base.mjs +7 -7
- package/esm2020/datepicker/datepicker-input-base.mjs +4 -4
- package/esm2020/datepicker/datepicker-input.mjs +4 -4
- package/esm2020/datepicker/datepicker-intl.mjs +4 -4
- package/esm2020/datepicker/datepicker-module.mjs +5 -5
- package/esm2020/datepicker/datepicker-toggle.mjs +7 -7
- package/esm2020/datepicker/datepicker.mjs +4 -4
- package/esm2020/datepicker/month-view.mjs +4 -4
- package/esm2020/datepicker/multi-year-view.mjs +4 -4
- package/esm2020/datepicker/year-view.mjs +4 -4
- package/esm2020/dialog/dialog-container.mjs +7 -7
- package/esm2020/dialog/dialog-content-directives.mjs +13 -13
- package/esm2020/dialog/dialog-module.mjs +5 -5
- package/esm2020/dialog/dialog.mjs +7 -7
- package/esm2020/divider/divider-module.mjs +5 -5
- package/esm2020/divider/divider.mjs +4 -4
- package/esm2020/expansion/accordion.mjs +4 -4
- package/esm2020/expansion/expansion-module.mjs +5 -5
- package/esm2020/expansion/expansion-panel-content.mjs +4 -4
- package/esm2020/expansion/expansion-panel-header.mjs +10 -10
- package/esm2020/expansion/expansion-panel.mjs +7 -7
- package/esm2020/form-field/error.mjs +4 -4
- package/esm2020/form-field/form-field-control.mjs +4 -4
- package/esm2020/form-field/form-field-module.mjs +5 -5
- package/esm2020/form-field/form-field.mjs +17 -13
- package/esm2020/form-field/hint.mjs +4 -4
- package/esm2020/form-field/label.mjs +4 -4
- package/esm2020/form-field/placeholder.mjs +4 -4
- package/esm2020/form-field/prefix.mjs +4 -4
- package/esm2020/form-field/suffix.mjs +4 -4
- package/esm2020/grid-list/grid-list-module.mjs +5 -5
- package/esm2020/grid-list/grid-list.mjs +4 -4
- package/esm2020/grid-list/grid-tile.mjs +16 -16
- package/esm2020/icon/icon-module.mjs +5 -5
- package/esm2020/icon/icon-registry.mjs +4 -4
- package/esm2020/icon/icon.mjs +4 -4
- package/esm2020/icon/testing/fake-icon-registry.mjs +8 -8
- package/esm2020/input/input-module.mjs +5 -5
- package/esm2020/input/input.mjs +7 -4
- package/esm2020/list/list-module.mjs +5 -5
- package/esm2020/list/list.mjs +19 -19
- package/esm2020/list/selection-list.mjs +7 -7
- package/esm2020/menu/menu-content.mjs +8 -10
- package/esm2020/menu/menu-item.mjs +7 -20
- package/esm2020/menu/menu-module.mjs +5 -5
- package/esm2020/menu/menu-trigger.mjs +9 -12
- package/esm2020/menu/menu.mjs +11 -7
- package/esm2020/paginator/paginator-intl.mjs +4 -4
- package/esm2020/paginator/paginator-module.mjs +5 -5
- package/esm2020/paginator/paginator.mjs +9 -9
- package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.mjs +21 -11
- package/esm2020/progress-spinner/progress-spinner-module.mjs +5 -5
- package/esm2020/progress-spinner/progress-spinner.mjs +56 -18
- package/esm2020/radio/radio-module.mjs +5 -5
- package/esm2020/radio/radio.mjs +14 -14
- package/esm2020/select/select-module.mjs +5 -5
- package/esm2020/select/select.mjs +14 -11
- package/esm2020/sidenav/drawer.mjs +61 -15
- package/esm2020/sidenav/sidenav-module.mjs +5 -5
- package/esm2020/sidenav/sidenav.mjs +25 -14
- package/esm2020/slide-toggle/slide-toggle-module.mjs +9 -9
- package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
- package/esm2020/slide-toggle/slide-toggle.mjs +4 -4
- package/esm2020/slider/slider-module.mjs +5 -5
- package/esm2020/slider/slider.mjs +14 -6
- package/esm2020/snack-bar/simple-snack-bar.mjs +5 -5
- package/esm2020/snack-bar/snack-bar-container.mjs +4 -4
- package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
- package/esm2020/snack-bar/snack-bar.mjs +28 -14
- package/esm2020/sort/sort-header-intl.mjs +4 -4
- package/esm2020/sort/sort-header.mjs +4 -4
- package/esm2020/sort/sort-module.mjs +5 -5
- package/esm2020/sort/sort.mjs +4 -4
- package/esm2020/stepper/step-content.mjs +4 -4
- package/esm2020/stepper/step-header.mjs +5 -5
- package/esm2020/stepper/step-label.mjs +4 -4
- package/esm2020/stepper/stepper-button.mjs +7 -7
- package/esm2020/stepper/stepper-icon.mjs +4 -4
- package/esm2020/stepper/stepper-intl.mjs +4 -4
- package/esm2020/stepper/stepper-module.mjs +5 -5
- package/esm2020/stepper/stepper.mjs +16 -16
- package/esm2020/table/cell.mjs +22 -22
- package/esm2020/table/row.mjs +22 -22
- package/esm2020/table/table-data-source.mjs +2 -1
- package/esm2020/table/table-module.mjs +5 -5
- package/esm2020/table/table.mjs +9 -9
- package/esm2020/table/text-column.mjs +4 -4
- package/esm2020/tabs/ink-bar.mjs +4 -4
- package/esm2020/tabs/paginated-tab-header.mjs +4 -4
- package/esm2020/tabs/tab-body.mjs +10 -10
- package/esm2020/tabs/tab-content.mjs +4 -4
- package/esm2020/tabs/tab-group.mjs +8 -8
- package/esm2020/tabs/tab-header.mjs +8 -8
- package/esm2020/tabs/tab-label-wrapper.mjs +11 -4
- package/esm2020/tabs/tab-label.mjs +4 -4
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +15 -15
- package/esm2020/tabs/tab.mjs +11 -4
- package/esm2020/tabs/tabs-module.mjs +5 -5
- package/esm2020/toolbar/toolbar-module.mjs +5 -5
- package/esm2020/toolbar/toolbar.mjs +7 -7
- package/esm2020/tooltip/tooltip-module.mjs +5 -5
- package/esm2020/tooltip/tooltip.mjs +40 -33
- package/esm2020/tree/node.mjs +10 -10
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.mjs +4 -11
- package/esm2020/tree/toggle.mjs +4 -4
- package/esm2020/tree/tree-module.mjs +5 -5
- package/esm2020/tree/tree.mjs +4 -4
- package/expansion/accordion.d.ts +1 -2
- package/expansion/expansion-panel-header.d.ts +0 -2
- package/expansion/expansion-panel.d.ts +1 -2
- package/fesm2015/autocomplete.mjs +35 -33
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/badge.mjs +7 -7
- package/fesm2015/badge.mjs.map +1 -1
- package/fesm2015/bottom-sheet.mjs +10 -10
- package/fesm2015/bottom-sheet.mjs.map +1 -1
- package/fesm2015/button-toggle.mjs +10 -10
- package/fesm2015/button-toggle.mjs.map +1 -1
- package/fesm2015/button.mjs +37 -17
- package/fesm2015/button.mjs.map +1 -1
- package/fesm2015/card.mjs +47 -47
- package/fesm2015/card.mjs.map +1 -1
- package/fesm2015/checkbox.mjs +14 -14
- package/fesm2015/checkbox.mjs.map +1 -1
- package/fesm2015/chips.mjs +22 -22
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +79 -69
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +83 -83
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog.mjs +28 -28
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/divider.mjs +7 -7
- package/fesm2015/divider.mjs.map +1 -1
- package/fesm2015/expansion.mjs +25 -25
- package/fesm2015/expansion.mjs.map +1 -1
- package/fesm2015/form-field.mjs +41 -37
- package/fesm2015/form-field.mjs.map +1 -1
- package/fesm2015/grid-list.mjs +22 -22
- package/fesm2015/grid-list.mjs.map +1 -1
- package/fesm2015/icon/testing.mjs +7 -7
- package/fesm2015/icon/testing.mjs.map +1 -1
- package/fesm2015/icon.mjs +10 -10
- package/fesm2015/icon.mjs.map +1 -1
- package/fesm2015/input.mjs +10 -7
- package/fesm2015/input.mjs.map +1 -1
- package/fesm2015/list.mjs +28 -28
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/menu.mjs +36 -48
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/paginator.mjs +15 -15
- package/fesm2015/paginator.mjs.map +1 -1
- package/fesm2015/progress-bar.mjs +25 -13
- package/fesm2015/progress-bar.mjs.map +1 -1
- package/fesm2015/progress-spinner.mjs +58 -20
- package/fesm2015/progress-spinner.mjs.map +1 -1
- package/fesm2015/radio.mjs +16 -16
- package/fesm2015/radio.mjs.map +1 -1
- package/fesm2015/select.mjs +17 -14
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/sidenav.mjs +89 -32
- package/fesm2015/sidenav.mjs.map +1 -1
- package/fesm2015/slide-toggle.mjs +14 -14
- package/fesm2015/slide-toggle.mjs.map +1 -1
- package/fesm2015/slider.mjs +17 -9
- package/fesm2015/slider.mjs.map +1 -1
- package/fesm2015/snack-bar.mjs +41 -25
- package/fesm2015/snack-bar.mjs.map +1 -1
- package/fesm2015/sort.mjs +13 -13
- package/fesm2015/sort.mjs.map +1 -1
- package/fesm2015/stepper.mjs +41 -41
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +58 -57
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/tabs.mjs +73 -59
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2015/toolbar.mjs +10 -10
- package/fesm2015/toolbar.mjs.map +1 -1
- package/fesm2015/tooltip.mjs +43 -36
- package/fesm2015/tooltip.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -32
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +35 -33
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/badge.mjs +7 -7
- package/fesm2020/badge.mjs.map +1 -1
- package/fesm2020/bottom-sheet.mjs +10 -10
- package/fesm2020/bottom-sheet.mjs.map +1 -1
- package/fesm2020/button-toggle.mjs +10 -10
- package/fesm2020/button-toggle.mjs.map +1 -1
- package/fesm2020/button.mjs +37 -17
- package/fesm2020/button.mjs.map +1 -1
- package/fesm2020/card.mjs +47 -47
- package/fesm2020/card.mjs.map +1 -1
- package/fesm2020/checkbox.mjs +14 -14
- package/fesm2020/checkbox.mjs.map +1 -1
- package/fesm2020/chips.mjs +22 -22
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +79 -69
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +83 -83
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog.mjs +28 -28
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/divider.mjs +7 -7
- package/fesm2020/divider.mjs.map +1 -1
- package/fesm2020/expansion.mjs +25 -25
- package/fesm2020/expansion.mjs.map +1 -1
- package/fesm2020/form-field.mjs +41 -37
- package/fesm2020/form-field.mjs.map +1 -1
- package/fesm2020/grid-list.mjs +22 -22
- package/fesm2020/grid-list.mjs.map +1 -1
- package/fesm2020/icon/testing.mjs +7 -7
- package/fesm2020/icon/testing.mjs.map +1 -1
- package/fesm2020/icon.mjs +10 -10
- package/fesm2020/icon.mjs.map +1 -1
- package/fesm2020/input.mjs +10 -7
- package/fesm2020/input.mjs.map +1 -1
- package/fesm2020/list.mjs +28 -28
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/menu.mjs +34 -48
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/paginator.mjs +15 -15
- package/fesm2020/paginator.mjs.map +1 -1
- package/fesm2020/progress-bar.mjs +23 -13
- package/fesm2020/progress-bar.mjs.map +1 -1
- package/fesm2020/progress-spinner.mjs +57 -20
- package/fesm2020/progress-spinner.mjs.map +1 -1
- package/fesm2020/radio.mjs +16 -16
- package/fesm2020/radio.mjs.map +1 -1
- package/fesm2020/select.mjs +17 -14
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/sidenav.mjs +88 -31
- package/fesm2020/sidenav.mjs.map +1 -1
- package/fesm2020/slide-toggle.mjs +14 -14
- package/fesm2020/slide-toggle.mjs.map +1 -1
- package/fesm2020/slider.mjs +17 -9
- package/fesm2020/slider.mjs.map +1 -1
- package/fesm2020/snack-bar.mjs +39 -25
- package/fesm2020/snack-bar.mjs.map +1 -1
- package/fesm2020/sort.mjs +13 -13
- package/fesm2020/sort.mjs.map +1 -1
- package/fesm2020/stepper.mjs +41 -41
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +58 -57
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/tabs.mjs +73 -59
- package/fesm2020/tabs.mjs.map +1 -1
- package/fesm2020/toolbar.mjs +10 -10
- package/fesm2020/toolbar.mjs.map +1 -1
- package/fesm2020/tooltip.mjs +43 -36
- package/fesm2020/tooltip.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -32
- package/fesm2020/tree.mjs.map +1 -1
- package/form-field/form-field.d.ts +1 -2
- package/grid-list/grid-list.d.ts +1 -2
- package/grid-list/grid-tile.d.ts +2 -4
- package/icon/icon.d.ts +1 -2
- package/input/input.d.ts +10 -9
- package/list/_list-theme.scss +4 -3
- package/list/list.d.ts +1 -7
- package/list/selection-list.d.ts +6 -12
- package/menu/menu-content.d.ts +5 -1
- package/menu/menu-item.d.ts +3 -15
- package/menu/menu-trigger.d.ts +6 -2
- package/menu/menu.d.ts +2 -4
- package/package.json +3 -2
- package/paginator/paginator.d.ts +6 -12
- 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/progress-bar.d.ts +14 -5
- package/progress-spinner/progress-spinner.d.ts +23 -14
- package/radio/radio.d.ts +6 -13
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +1 -2
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +1 -2
- package/schematics/ng-update/migrations/theming-api-v12/migration.js +2 -2
- package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +2 -2
- package/schematics/tsconfig.json +1 -0
- package/select/select.d.ts +4 -11
- package/sidenav/drawer.d.ts +22 -14
- package/sidenav/sidenav.d.ts +3 -6
- package/slide-toggle/slide-toggle.d.ts +3 -8
- package/slider/_slider-theme.scss +12 -10
- package/slider/slider.d.ts +8 -18
- package/snack-bar/snack-bar.d.ts +18 -10
- package/sort/sort-header.d.ts +1 -3
- package/sort/sort.d.ts +1 -3
- package/table/_table-flex-styles.scss +0 -9
- package/tabs/_tabs-common.scss +0 -1
- package/tabs/paginated-tab-header.d.ts +1 -2
- package/tabs/tab-group.d.ts +4 -9
- package/tabs/tab-header.d.ts +2 -3
- package/tabs/tab-label-wrapper.d.ts +0 -2
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -9
- package/tabs/tab.d.ts +0 -2
- package/tooltip/tooltip.d.ts +7 -11
- package/tree/node.d.ts +3 -6
- package/tree/padding.d.ts +2 -1
package/LICENSE
CHANGED
|
@@ -106,7 +106,7 @@ export declare abstract class _MatAutocompleteTriggerBase implements ControlValu
|
|
|
106
106
|
* act as a regular input and the user won't be able to open the panel.
|
|
107
107
|
*/
|
|
108
108
|
get autocompleteDisabled(): boolean;
|
|
109
|
-
set autocompleteDisabled(value:
|
|
109
|
+
set autocompleteDisabled(value: BooleanInput);
|
|
110
110
|
constructor(_element: ElementRef<HTMLInputElement>, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _zone: NgZone, _changeDetectorRef: ChangeDetectorRef, scrollStrategy: any, _dir: Directionality, _formField: MatFormField, _document: any, _viewportRuler: ViewportRuler, _defaults?: MatAutocompleteDefaultOptions | undefined);
|
|
111
111
|
/** Class to apply to the panel when it's above the input. */
|
|
112
112
|
protected abstract _aboveClass: string;
|
|
@@ -130,7 +130,7 @@ export declare abstract class _MatAutocompleteTriggerBase implements ControlValu
|
|
|
130
130
|
* when an option is selected, on blur, and when TAB is pressed.
|
|
131
131
|
*/
|
|
132
132
|
get panelClosingActions(): Observable<MatOptionSelectionChange | null>;
|
|
133
|
-
/** Stream of autocomplete
|
|
133
|
+
/** Stream of changes to the selection state of the autocomplete options. */
|
|
134
134
|
readonly optionSelections: Observable<MatOptionSelectionChange>;
|
|
135
135
|
/** The currently active option, coerced to MatOption type. */
|
|
136
136
|
get activeOption(): MatOption | null;
|
|
@@ -190,7 +190,6 @@ export declare abstract class _MatAutocompleteTriggerBase implements ControlValu
|
|
|
190
190
|
private _getWindow;
|
|
191
191
|
/** Scrolls to a particular option in the list. */
|
|
192
192
|
private _scrollToOption;
|
|
193
|
-
static ngAcceptInputType_autocompleteDisabled: BooleanInput;
|
|
194
193
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatAutocompleteTriggerBase, [null, null, null, null, null, null, { optional: true; }, { optional: true; host: true; }, { optional: true; }, null, { optional: true; }]>;
|
|
195
194
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatAutocompleteTriggerBase, never, never, { "autocomplete": "matAutocomplete"; "position": "matAutocompletePosition"; "connectedTo": "matAutocompleteConnectedTo"; "autocompleteAttribute": "autocomplete"; "autocompleteDisabled": "matAutocompleteDisabled"; }, {}, never>;
|
|
196
195
|
}
|
|
@@ -80,7 +80,7 @@ export declare abstract class _MatAutocompleteBase extends _MatAutocompleteMixin
|
|
|
80
80
|
* Can be configured globally through the `MAT_AUTOCOMPLETE_DEFAULT_OPTIONS` token.
|
|
81
81
|
*/
|
|
82
82
|
get autoActiveFirstOption(): boolean;
|
|
83
|
-
set autoActiveFirstOption(value:
|
|
83
|
+
set autoActiveFirstOption(value: BooleanInput);
|
|
84
84
|
private _autoActiveFirstOption;
|
|
85
85
|
/**
|
|
86
86
|
* Specify the width of the autocomplete panel. Can be any CSS sizing value, otherwise it will
|
|
@@ -128,8 +128,6 @@ export declare abstract class _MatAutocompleteBase extends _MatAutocompleteMixin
|
|
|
128
128
|
_getPanelAriaLabelledby(labelId: string | null): string | null;
|
|
129
129
|
/** Sets the autocomplete visibility classes on a classlist based on the panel is visible. */
|
|
130
130
|
private _setVisibilityClasses;
|
|
131
|
-
static ngAcceptInputType_autoActiveFirstOption: BooleanInput;
|
|
132
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
133
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatAutocompleteBase, never>;
|
|
134
132
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatAutocompleteBase, never, never, { "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "displayWith": "displayWith"; "autoActiveFirstOption": "autoActiveFirstOption"; "panelWidth": "panelWidth"; "classList": "class"; }, { "optionSelected": "optionSelected"; "opened": "opened"; "closed": "closed"; "optionActivated": "optionActivated"; }, never>;
|
|
135
133
|
}
|
package/badge/badge.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class MatBadge extends _MatBadgeBase implements OnInit, OnDestroy
|
|
|
31
31
|
private _color;
|
|
32
32
|
/** Whether the badge should overlap its contents or not */
|
|
33
33
|
get overlap(): boolean;
|
|
34
|
-
set overlap(val:
|
|
34
|
+
set overlap(val: BooleanInput);
|
|
35
35
|
private _overlap;
|
|
36
36
|
/**
|
|
37
37
|
* Position the badge should reside.
|
|
@@ -50,7 +50,7 @@ export declare class MatBadge extends _MatBadgeBase implements OnInit, OnDestroy
|
|
|
50
50
|
size: MatBadgeSize;
|
|
51
51
|
/** Whether the badge is hidden. */
|
|
52
52
|
get hidden(): boolean;
|
|
53
|
-
set hidden(val:
|
|
53
|
+
set hidden(val: BooleanInput);
|
|
54
54
|
private _hidden;
|
|
55
55
|
/** Unique id for the badge */
|
|
56
56
|
_id: number;
|
|
@@ -80,9 +80,6 @@ export declare class MatBadge extends _MatBadgeBase implements OnInit, OnDestroy
|
|
|
80
80
|
private _setColor;
|
|
81
81
|
/** Clears any existing badges that might be left over from server-side rendering. */
|
|
82
82
|
private _clearExistingBadges;
|
|
83
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
84
|
-
static ngAcceptInputType_hidden: BooleanInput;
|
|
85
|
-
static ngAcceptInputType_overlap: BooleanInput;
|
|
86
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatBadge, [null, null, null, null, { optional: true; }]>;
|
|
87
84
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatBadge, "[matBadge]", never, { "disabled": "matBadgeDisabled"; "color": "matBadgeColor"; "overlap": "matBadgeOverlap"; "position": "matBadgePosition"; "content": "matBadge"; "description": "matBadgeDescription"; "size": "matBadgeSize"; "hidden": "matBadgeHidden"; }, {}, never>;
|
|
88
85
|
}
|
package/button/button.d.ts
CHANGED
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
import { FocusMonitor, FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
|
|
9
|
-
import {
|
|
10
|
-
import { ElementRef, OnDestroy, AfterViewInit } from '@angular/core';
|
|
9
|
+
import { ElementRef, OnDestroy, AfterViewInit, NgZone } from '@angular/core';
|
|
11
10
|
import { CanColor, CanDisable, CanDisableRipple, MatRipple } from '@angular/material/core';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
13
12
|
declare const _MatButtonBase: import("@angular/material/core")._Constructor<CanColor> & import("@angular/material/core")._AbstractConstructor<CanColor> & import("@angular/material/core")._Constructor<CanDisable> & import("@angular/material/core")._AbstractConstructor<CanDisable> & import("@angular/material/core")._Constructor<CanDisableRipple> & import("@angular/material/core")._AbstractConstructor<CanDisableRipple> & {
|
|
@@ -36,20 +35,24 @@ export declare class MatButton extends _MatButtonBase implements AfterViewInit,
|
|
|
36
35
|
_isRippleDisabled(): boolean;
|
|
37
36
|
/** Gets whether the button has one of the given attributes. */
|
|
38
37
|
_hasHostAttributes(...attributes: string[]): boolean;
|
|
39
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
40
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
41
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButton, [null, null, { optional: true; }]>;
|
|
42
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatButton, "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, ["*"]>;
|
|
43
40
|
}
|
|
44
41
|
/**
|
|
45
42
|
* Material design anchor button.
|
|
46
43
|
*/
|
|
47
|
-
export declare class MatAnchor extends MatButton {
|
|
44
|
+
export declare class MatAnchor extends MatButton implements AfterViewInit, OnDestroy {
|
|
45
|
+
/** @breaking-change 14.0.0 _ngZone will be required. */
|
|
46
|
+
private _ngZone?;
|
|
48
47
|
/** Tabindex of the button. */
|
|
49
48
|
tabIndex: number;
|
|
50
|
-
constructor(focusMonitor: FocusMonitor, elementRef: ElementRef, animationMode: string
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
constructor(focusMonitor: FocusMonitor, elementRef: ElementRef, animationMode: string,
|
|
50
|
+
/** @breaking-change 14.0.0 _ngZone will be required. */
|
|
51
|
+
_ngZone?: NgZone | undefined);
|
|
52
|
+
ngAfterViewInit(): void;
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
_haltDisabledEvents: (event: Event) => void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAnchor, [null, null, { optional: true; }, { optional: true; }]>;
|
|
53
56
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatAnchor, "a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab], a[mat-stroked-button], a[mat-flat-button]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, ["*"]>;
|
|
54
57
|
}
|
|
55
58
|
export {};
|
|
@@ -89,7 +89,7 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
|
|
|
89
89
|
private _name;
|
|
90
90
|
/** Whether the toggle group is vertical. */
|
|
91
91
|
get vertical(): boolean;
|
|
92
|
-
set vertical(value:
|
|
92
|
+
set vertical(value: BooleanInput);
|
|
93
93
|
/** Value of the toggle group. */
|
|
94
94
|
get value(): any;
|
|
95
95
|
set value(newValue: any);
|
|
@@ -103,10 +103,10 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
|
|
|
103
103
|
get selected(): MatButtonToggle | MatButtonToggle[];
|
|
104
104
|
/** Whether multiple button toggles can be selected. */
|
|
105
105
|
get multiple(): boolean;
|
|
106
|
-
set multiple(value:
|
|
106
|
+
set multiple(value: BooleanInput);
|
|
107
107
|
/** Whether multiple button toggle group is disabled. */
|
|
108
108
|
get disabled(): boolean;
|
|
109
|
-
set disabled(value:
|
|
109
|
+
set disabled(value: BooleanInput);
|
|
110
110
|
/** Event emitted when the group's value changes. */
|
|
111
111
|
readonly change: EventEmitter<MatButtonToggleChange>;
|
|
112
112
|
constructor(_changeDetector: ChangeDetectorRef, defaultOptions?: MatButtonToggleDefaultOptions);
|
|
@@ -142,9 +142,6 @@ export declare class MatButtonToggleGroup implements ControlValueAccessor, OnIni
|
|
|
142
142
|
private _selectValue;
|
|
143
143
|
/** Syncs up the group's value with the model and emits the change event. */
|
|
144
144
|
private _updateModelValue;
|
|
145
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
146
|
-
static ngAcceptInputType_multiple: BooleanInput;
|
|
147
|
-
static ngAcceptInputType_vertical: BooleanInput;
|
|
148
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggleGroup, [null, { optional: true; }]>;
|
|
149
146
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonToggleGroup, "mat-button-toggle-group", ["matButtonToggleGroup"], { "appearance": "appearance"; "name": "name"; "vertical": "vertical"; "value": "value"; "multiple": "multiple"; "disabled": "disabled"; }, { "valueChange": "valueChange"; "change": "change"; }, ["_buttonToggles"]>;
|
|
150
147
|
}
|
|
@@ -188,10 +185,10 @@ export declare class MatButtonToggle extends _MatButtonToggleBase implements OnI
|
|
|
188
185
|
private _appearance;
|
|
189
186
|
/** Whether the button is checked. */
|
|
190
187
|
get checked(): boolean;
|
|
191
|
-
set checked(value:
|
|
188
|
+
set checked(value: BooleanInput);
|
|
192
189
|
/** Whether the button is disabled. */
|
|
193
190
|
get disabled(): boolean;
|
|
194
|
-
set disabled(value:
|
|
191
|
+
set disabled(value: BooleanInput);
|
|
195
192
|
private _disabled;
|
|
196
193
|
/** Event emitted when the group value changes. */
|
|
197
194
|
readonly change: EventEmitter<MatButtonToggleChange>;
|
|
@@ -209,11 +206,6 @@ export declare class MatButtonToggle extends _MatButtonToggleBase implements OnI
|
|
|
209
206
|
* update bound properties of the radio button.
|
|
210
207
|
*/
|
|
211
208
|
_markForCheck(): void;
|
|
212
|
-
static ngAcceptInputType_checked: BooleanInput;
|
|
213
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
214
|
-
static ngAcceptInputType_vertical: BooleanInput;
|
|
215
|
-
static ngAcceptInputType_multiple: BooleanInput;
|
|
216
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
217
209
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonToggle, [{ optional: true; }, null, null, null, { attribute: "tabindex"; }, { optional: true; }]>;
|
|
218
210
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatButtonToggle, "mat-button-toggle", ["matButtonToggle"], { "disableRipple": "disableRipple"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "id": "id"; "name": "name"; "value": "value"; "tabIndex": "tabIndex"; "appearance": "appearance"; "checked": "checked"; "disabled": "disabled"; }, { "change": "change"; }, never, ["*"]>;
|
|
219
211
|
}
|
package/checkbox/checkbox.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
9
|
-
import { BooleanInput
|
|
9
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
10
|
import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, AfterViewInit } from '@angular/core';
|
|
11
11
|
import { ControlValueAccessor } from '@angular/forms';
|
|
12
12
|
import { CanColor, CanDisable, CanDisableRipple, HasTabIndex, MatRipple } from '@angular/material/core';
|
|
@@ -77,7 +77,7 @@ export declare class MatCheckbox extends _MatCheckboxBase implements ControlValu
|
|
|
77
77
|
get inputId(): string;
|
|
78
78
|
/** Whether the checkbox is required. */
|
|
79
79
|
get required(): boolean;
|
|
80
|
-
set required(value:
|
|
80
|
+
set required(value: BooleanInput);
|
|
81
81
|
private _required;
|
|
82
82
|
/** Whether the label should appear after or before the checkbox. Defaults to 'after' */
|
|
83
83
|
labelPosition: 'before' | 'after';
|
|
@@ -115,8 +115,8 @@ export declare class MatCheckbox extends _MatCheckboxBase implements ControlValu
|
|
|
115
115
|
* Whether the checkbox is disabled. This fully overrides the implementation provided by
|
|
116
116
|
* mixinDisabled, but the mixin is still required because mixinTabIndex requires it.
|
|
117
117
|
*/
|
|
118
|
-
get disabled():
|
|
119
|
-
set disabled(value:
|
|
118
|
+
get disabled(): boolean;
|
|
119
|
+
set disabled(value: BooleanInput);
|
|
120
120
|
private _disabled;
|
|
121
121
|
/**
|
|
122
122
|
* Whether the checkbox is indeterminate. This is also known as "mixed" mode and can be used to
|
|
@@ -125,9 +125,9 @@ export declare class MatCheckbox extends _MatCheckboxBase implements ControlValu
|
|
|
125
125
|
* set to false.
|
|
126
126
|
*/
|
|
127
127
|
get indeterminate(): boolean;
|
|
128
|
-
set indeterminate(value:
|
|
128
|
+
set indeterminate(value: BooleanInput);
|
|
129
129
|
private _indeterminate;
|
|
130
|
-
_isRippleDisabled():
|
|
130
|
+
_isRippleDisabled(): boolean;
|
|
131
131
|
/** Method being called whenever the label text changes. */
|
|
132
132
|
_onLabelTextChange(): void;
|
|
133
133
|
writeValue(value: any): void;
|
|
@@ -160,11 +160,6 @@ export declare class MatCheckbox extends _MatCheckboxBase implements ControlValu
|
|
|
160
160
|
* server-side rendering.
|
|
161
161
|
*/
|
|
162
162
|
private _syncIndeterminate;
|
|
163
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
164
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
165
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
166
|
-
static ngAcceptInputType_indeterminate: BooleanInput;
|
|
167
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
168
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckbox, [null, null, null, null, { attribute: "tabindex"; }, { optional: true; }, { optional: true; }]>;
|
|
169
164
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatCheckbox, "mat-checkbox", ["matCheckbox"], { "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaDescribedby": "aria-describedby"; "id": "id"; "required": "required"; "labelPosition": "labelPosition"; "name": "name"; "value": "value"; "checked": "checked"; "disabled": "disabled"; "indeterminate": "indeterminate"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*"]>;
|
|
170
165
|
}
|
package/chips/chip-input.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export declare class MatChipInput implements MatChipTextControl, OnChanges, OnDe
|
|
|
45
45
|
* Whether or not the chipEnd event will be emitted when the input is blurred.
|
|
46
46
|
*/
|
|
47
47
|
get addOnBlur(): boolean;
|
|
48
|
-
set addOnBlur(value:
|
|
48
|
+
set addOnBlur(value: BooleanInput);
|
|
49
49
|
_addOnBlur: boolean;
|
|
50
50
|
/**
|
|
51
51
|
* The list of key codes that will trigger a chipEnd event.
|
|
@@ -61,7 +61,7 @@ export declare class MatChipInput implements MatChipTextControl, OnChanges, OnDe
|
|
|
61
61
|
id: string;
|
|
62
62
|
/** Whether the input is disabled. */
|
|
63
63
|
get disabled(): boolean;
|
|
64
|
-
set disabled(value:
|
|
64
|
+
set disabled(value: BooleanInput);
|
|
65
65
|
private _disabled;
|
|
66
66
|
/** Whether the input is empty. */
|
|
67
67
|
get empty(): boolean;
|
|
@@ -89,8 +89,6 @@ export declare class MatChipInput implements MatChipTextControl, OnChanges, OnDe
|
|
|
89
89
|
clear(): void;
|
|
90
90
|
/** Checks whether a keycode is one of the configured separators. */
|
|
91
91
|
private _isSeparatorKey;
|
|
92
|
-
static ngAcceptInputType_addOnBlur: BooleanInput;
|
|
93
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
94
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, never>;
|
|
95
93
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipList": "matChipInputFor"; "addOnBlur": "matChipInputAddOnBlur"; "separatorKeyCodes": "matChipInputSeparatorKeyCodes"; "placeholder": "placeholder"; "id": "id"; "disabled": "disabled"; }, { "chipEnd": "matChipInputTokenEnd"; }, never>;
|
|
96
94
|
}
|
package/chips/chip-list.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ export declare class MatChipList extends _MatChipListBase implements MatFormFiel
|
|
|
95
95
|
errorStateMatcher: ErrorStateMatcher;
|
|
96
96
|
/** Whether the user should be allowed to select multiple chips. */
|
|
97
97
|
get multiple(): boolean;
|
|
98
|
-
set multiple(value:
|
|
98
|
+
set multiple(value: BooleanInput);
|
|
99
99
|
private _multiple;
|
|
100
100
|
/**
|
|
101
101
|
* A function to compare the option values with the selected values. The first argument
|
|
@@ -122,7 +122,7 @@ export declare class MatChipList extends _MatChipListBase implements MatFormFiel
|
|
|
122
122
|
* @docs-private
|
|
123
123
|
*/
|
|
124
124
|
get required(): boolean;
|
|
125
|
-
set required(value:
|
|
125
|
+
set required(value: BooleanInput);
|
|
126
126
|
protected _required: boolean | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* Implemented as part of MatFormFieldControl.
|
|
@@ -148,7 +148,7 @@ export declare class MatChipList extends _MatChipListBase implements MatFormFiel
|
|
|
148
148
|
* @docs-private
|
|
149
149
|
*/
|
|
150
150
|
get disabled(): boolean;
|
|
151
|
-
set disabled(value:
|
|
151
|
+
set disabled(value: BooleanInput);
|
|
152
152
|
protected _disabled: boolean;
|
|
153
153
|
/** Orientation of the chip list. */
|
|
154
154
|
ariaOrientation: 'horizontal' | 'vertical';
|
|
@@ -157,7 +157,7 @@ export declare class MatChipList extends _MatChipListBase implements MatFormFiel
|
|
|
157
157
|
* the selected states for all the chips inside the chip list are always ignored.
|
|
158
158
|
*/
|
|
159
159
|
get selectable(): boolean;
|
|
160
|
-
set selectable(value:
|
|
160
|
+
set selectable(value: BooleanInput);
|
|
161
161
|
protected _selectable: boolean;
|
|
162
162
|
set tabIndex(value: number);
|
|
163
163
|
/** Combined stream of all of the child chips' selection change events. */
|
|
@@ -268,10 +268,6 @@ export declare class MatChipList extends _MatChipListBase implements MatFormFiel
|
|
|
268
268
|
private _hasFocusedChip;
|
|
269
269
|
/** Syncs the list's state with the individual chips. */
|
|
270
270
|
private _syncChipsState;
|
|
271
|
-
static ngAcceptInputType_multiple: BooleanInput;
|
|
272
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
273
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
274
|
-
static ngAcceptInputType_selectable: BooleanInput;
|
|
275
271
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipList, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
|
276
272
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipList, "mat-chip-list", ["matChipList"], { "errorStateMatcher": "errorStateMatcher"; "multiple": "multiple"; "compareWith": "compareWith"; "value": "value"; "required": "required"; "placeholder": "placeholder"; "disabled": "disabled"; "ariaOrientation": "aria-orientation"; "selectable": "selectable"; "tabIndex": "tabIndex"; }, { "change": "change"; "valueChange": "valueChange"; }, ["chips"], ["*"]>;
|
|
277
273
|
}
|
package/chips/chip.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
import { FocusableOption } from '@angular/cdk/a11y';
|
|
9
|
-
import { BooleanInput
|
|
9
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
10
|
import { Platform } from '@angular/cdk/platform';
|
|
11
11
|
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnDestroy } from '@angular/core';
|
|
12
12
|
import { CanColor, CanDisable, CanDisableRipple, HasTabIndex, RippleConfig, RippleGlobalOptions, RippleTarget } from '@angular/material/core';
|
|
@@ -118,7 +118,7 @@ export declare class MatChip extends _MatChipMixinBase implements FocusableOptio
|
|
|
118
118
|
removeIcon: MatChipRemove;
|
|
119
119
|
/** Whether the chip is selected. */
|
|
120
120
|
get selected(): boolean;
|
|
121
|
-
set selected(value:
|
|
121
|
+
set selected(value: BooleanInput);
|
|
122
122
|
protected _selected: boolean;
|
|
123
123
|
/** The value of the chip. Defaults to the content inside `<mat-chip>` tags. */
|
|
124
124
|
get value(): any;
|
|
@@ -131,17 +131,17 @@ export declare class MatChip extends _MatChipMixinBase implements FocusableOptio
|
|
|
131
131
|
* not selectable.
|
|
132
132
|
*/
|
|
133
133
|
get selectable(): boolean;
|
|
134
|
-
set selectable(value:
|
|
134
|
+
set selectable(value: BooleanInput);
|
|
135
135
|
protected _selectable: boolean;
|
|
136
136
|
/** Whether the chip is disabled. */
|
|
137
137
|
get disabled(): boolean;
|
|
138
|
-
set disabled(value:
|
|
138
|
+
set disabled(value: BooleanInput);
|
|
139
139
|
protected _disabled: boolean;
|
|
140
140
|
/**
|
|
141
141
|
* Determines whether or not the chip displays the remove styling and emits (removed) events.
|
|
142
142
|
*/
|
|
143
143
|
get removable(): boolean;
|
|
144
|
-
set removable(value:
|
|
144
|
+
set removable(value: BooleanInput);
|
|
145
145
|
protected _removable: boolean;
|
|
146
146
|
/** Emits when the chip is focused. */
|
|
147
147
|
readonly _onFocus: Subject<MatChipEvent>;
|
|
@@ -181,12 +181,6 @@ export declare class MatChip extends _MatChipMixinBase implements FocusableOptio
|
|
|
181
181
|
_handleKeydown(event: KeyboardEvent): void;
|
|
182
182
|
_blur(): void;
|
|
183
183
|
private _dispatchSelectionChange;
|
|
184
|
-
static ngAcceptInputType_selected: BooleanInput;
|
|
185
|
-
static ngAcceptInputType_selectable: BooleanInput;
|
|
186
|
-
static ngAcceptInputType_removable: BooleanInput;
|
|
187
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
188
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
189
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
190
184
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, [null, null, null, { optional: true; }, null, null, { optional: true; }, { attribute: "tabindex"; }]>;
|
|
191
185
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChip, "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", ["matChip"], { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "selected": "selected"; "value": "value"; "selectable": "selectable"; "disabled": "disabled"; "removable": "removable"; }, { "selectionChange": "selectionChange"; "destroyed": "destroyed"; "removed": "removed"; }, ["avatar", "trailingIcon", "removeIcon"]>;
|
|
192
186
|
}
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
pointer-events: none;
|
|
29
29
|
border: $border-width $border-style transparent;
|
|
30
30
|
border-radius: $border-radius;
|
|
31
|
+
|
|
32
|
+
.cdk-high-contrast-active & {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
// By default, all focus indicators are flush with the bounding box of their
|
package/core/option/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as i2 from "./optgroup";
|
|
|
4
4
|
import * as i3 from "../ripple/index";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "../common-behaviors/common-module";
|
|
7
|
-
import * as i6 from "../selection/
|
|
7
|
+
import * as i6 from "../selection/pseudo-checkbox/pseudo-checkbox-module";
|
|
8
8
|
export declare class MatOptionModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatOptionModule, never>;
|
|
10
10
|
static ɵmod: i0.ɵɵNgModuleDeclaration<MatOptionModule, [typeof i1.MatOption, typeof i2.MatOptgroup], [typeof i3.MatRippleModule, typeof i4.CommonModule, typeof i5.MatCommonModule, typeof i6.MatPseudoCheckboxModule], [typeof i1.MatOption, typeof i2.MatOptgroup]>;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
9
8
|
import { InjectionToken } from '@angular/core';
|
|
10
9
|
import { CanDisable } from '../common-behaviors/disabled';
|
|
11
10
|
import { MatOptionParentComponent } from './option-parent';
|
|
@@ -22,7 +21,6 @@ export declare class _MatOptgroupBase extends _MatOptgroupMixinBase implements C
|
|
|
22
21
|
/** Whether the group is in inert a11y mode. */
|
|
23
22
|
_inert: boolean;
|
|
24
23
|
constructor(parent?: MatOptionParentComponent);
|
|
25
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
26
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatOptgroupBase, [{ optional: true; }]>;
|
|
27
25
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptgroupBase, never, never, { "label": "label"; }, {}, never>;
|
|
28
26
|
}
|
package/core/option/option.d.ts
CHANGED
|
@@ -13,18 +13,18 @@ import { MatOptgroup, _MatOptgroupBase } from './optgroup';
|
|
|
13
13
|
import { MatOptionParentComponent } from './option-parent';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
/** Event object emitted by MatOption when selected or deselected. */
|
|
16
|
-
export declare class MatOptionSelectionChange {
|
|
16
|
+
export declare class MatOptionSelectionChange<T = any> {
|
|
17
17
|
/** Reference to the option that emitted the event. */
|
|
18
|
-
source: _MatOptionBase
|
|
18
|
+
source: _MatOptionBase<T>;
|
|
19
19
|
/** Whether the change in the option's value was a result of a user action. */
|
|
20
20
|
isUserInput: boolean;
|
|
21
21
|
constructor(
|
|
22
22
|
/** Reference to the option that emitted the event. */
|
|
23
|
-
source: _MatOptionBase
|
|
23
|
+
source: _MatOptionBase<T>,
|
|
24
24
|
/** Whether the change in the option's value was a result of a user action. */
|
|
25
25
|
isUserInput?: boolean);
|
|
26
26
|
}
|
|
27
|
-
export declare class _MatOptionBase implements FocusableOption, AfterViewChecked, OnDestroy {
|
|
27
|
+
export declare class _MatOptionBase<T = any> implements FocusableOption, AfterViewChecked, OnDestroy {
|
|
28
28
|
private _element;
|
|
29
29
|
private _changeDetectorRef;
|
|
30
30
|
private _parent;
|
|
@@ -38,16 +38,16 @@ export declare class _MatOptionBase implements FocusableOption, AfterViewChecked
|
|
|
38
38
|
/** Whether or not the option is currently selected. */
|
|
39
39
|
get selected(): boolean;
|
|
40
40
|
/** The form value of the option. */
|
|
41
|
-
value:
|
|
41
|
+
value: T;
|
|
42
42
|
/** The unique ID of the option. */
|
|
43
43
|
id: string;
|
|
44
44
|
/** Whether the option is disabled. */
|
|
45
|
-
get disabled():
|
|
46
|
-
set disabled(value:
|
|
45
|
+
get disabled(): boolean;
|
|
46
|
+
set disabled(value: BooleanInput);
|
|
47
47
|
/** Whether ripples for the option are disabled. */
|
|
48
|
-
get disableRipple(): boolean
|
|
48
|
+
get disableRipple(): boolean;
|
|
49
49
|
/** Event emitted when the option is selected or deselected. */
|
|
50
|
-
readonly onSelectionChange: EventEmitter<MatOptionSelectionChange
|
|
50
|
+
readonly onSelectionChange: EventEmitter<MatOptionSelectionChange<T>>;
|
|
51
51
|
/** Emits when the state of the option changes and any parents have to be notified. */
|
|
52
52
|
readonly _stateChanges: Subject<void>;
|
|
53
53
|
constructor(_element: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef, _parent: MatOptionParentComponent, group: _MatOptgroupBase);
|
|
@@ -105,17 +105,16 @@ export declare class _MatOptionBase implements FocusableOption, AfterViewChecked
|
|
|
105
105
|
ngOnDestroy(): void;
|
|
106
106
|
/** Emits the selection change event. */
|
|
107
107
|
private _emitSelectionChangeEvent;
|
|
108
|
-
static
|
|
109
|
-
static
|
|
110
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptionBase, never, never, { "value": "value"; "id": "id"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never>;
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_MatOptionBase<any>, never>;
|
|
109
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptionBase<any>, never, never, { "value": "value"; "id": "id"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never>;
|
|
111
110
|
}
|
|
112
111
|
/**
|
|
113
112
|
* Single option inside of a `<mat-select>` element.
|
|
114
113
|
*/
|
|
115
|
-
export declare class MatOption extends _MatOptionBase {
|
|
114
|
+
export declare class MatOption<T = any> extends _MatOptionBase<T> {
|
|
116
115
|
constructor(element: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, parent: MatOptionParentComponent, group: MatOptgroup);
|
|
117
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatOption
|
|
118
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatOption
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatOption<any>, [null, null, { optional: true; }, { optional: true; }]>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatOption<any>, "mat-option", ["matOption"], {}, {}, never, ["*"]>;
|
|
119
118
|
}
|
|
120
119
|
/**
|
|
121
120
|
* Counts the amount of option group labels that precede the specified option.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
9
8
|
export * from './pseudo-checkbox/pseudo-checkbox';
|
|
9
|
+
export * from './pseudo-checkbox/pseudo-checkbox-module';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./pseudo-checkbox";
|
|
3
|
+
import * as i2 from "../../common-behaviors/common-module";
|
|
4
|
+
export declare class MatPseudoCheckboxModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatPseudoCheckboxModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatPseudoCheckboxModule, [typeof i1.MatPseudoCheckbox], [typeof i2.MatCommonModule], [typeof i1.MatPseudoCheckbox]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatPseudoCheckboxModule>;
|
|
8
|
+
}
|
|
@@ -705,7 +705,7 @@ $dark-theme-background-palette: (
|
|
|
705
705
|
selected-disabled-button: map.get($grey-palette, 800),
|
|
706
706
|
disabled-button-toggle: black,
|
|
707
707
|
unselected-chip: map.get($grey-palette, 700),
|
|
708
|
-
disabled-list-option:
|
|
708
|
+
disabled-list-option: rgba(white, 0.12),
|
|
709
709
|
tooltip: map.get($grey-palette, 700),
|
|
710
710
|
);
|
|
711
711
|
|
|
@@ -20,6 +20,17 @@ $_emitted-color: () !default;
|
|
|
20
20
|
$_emitted-typography: () !default;
|
|
21
21
|
$_emitted-density: () !default;
|
|
22
22
|
|
|
23
|
+
/// Extracts a color from a palette or throws an error if it doesn't exist.
|
|
24
|
+
/// @param {Map} $palette The palette from which to extract a color.
|
|
25
|
+
/// @param {String | Number} $hue The hue for which to get the color.
|
|
26
|
+
@function _get-color-from-palette($palette, $hue) {
|
|
27
|
+
@if map.has-key($palette, $hue) {
|
|
28
|
+
@return map.get($palette, $hue);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@error 'Hue "' + $hue + '" does not exist in palette. Available hues are: ' + map.keys($palette);
|
|
32
|
+
}
|
|
33
|
+
|
|
23
34
|
/// For a given hue in a palette, return the contrast color from the map of contrast palettes.
|
|
24
35
|
/// @param {Map} $palette The palette from which to extract a color.
|
|
25
36
|
/// @param {String | Number} $hue The hue for which to get a contrast color.
|
|
@@ -40,10 +51,10 @@ $_emitted-density: () !default;
|
|
|
40
51
|
@function define-palette($base-palette, $default: 500, $lighter: 100, $darker: 700,
|
|
41
52
|
$text: $default) {
|
|
42
53
|
$result: map.merge($base-palette, (
|
|
43
|
-
default:
|
|
44
|
-
lighter:
|
|
45
|
-
darker:
|
|
46
|
-
text:
|
|
54
|
+
default: _get-color-from-palette($base-palette, $default),
|
|
55
|
+
lighter: _get-color-from-palette($base-palette, $lighter),
|
|
56
|
+
darker: _get-color-from-palette($base-palette, $darker),
|
|
57
|
+
text: _get-color-from-palette($base-palette, $text),
|
|
47
58
|
|
|
48
59
|
default-contrast: get-contrast-color-from-palette($base-palette, $default),
|
|
49
60
|
lighter-contrast: get-contrast-color-from-palette($base-palette, $lighter),
|
|
@@ -46,7 +46,7 @@ export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRan
|
|
|
46
46
|
private _rangePicker;
|
|
47
47
|
/** Whether the input is required. */
|
|
48
48
|
get required(): boolean;
|
|
49
|
-
set required(value:
|
|
49
|
+
set required(value: BooleanInput);
|
|
50
50
|
private _required;
|
|
51
51
|
/** Function that can be used to filter out dates within the date range picker. */
|
|
52
52
|
get dateFilter(): DateFilterFn<D>;
|
|
@@ -62,7 +62,7 @@ export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRan
|
|
|
62
62
|
private _max;
|
|
63
63
|
/** Whether the input is disabled. */
|
|
64
64
|
get disabled(): boolean;
|
|
65
|
-
set disabled(value:
|
|
65
|
+
set disabled(value: BooleanInput);
|
|
66
66
|
_groupDisabled: boolean;
|
|
67
67
|
/** Whether the input is in an error state. */
|
|
68
68
|
get errorState(): boolean;
|
|
@@ -128,8 +128,6 @@ export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRan
|
|
|
128
128
|
private _revalidate;
|
|
129
129
|
/** Registers the current date selection model with the start/end inputs. */
|
|
130
130
|
private _registerModel;
|
|
131
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
132
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
133
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangeInput<any>, [null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
|
|
134
132
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangeInput<any>, "mat-date-range-input", ["matDateRangeInput"], { "rangePicker": "rangePicker"; "required": "required"; "dateFilter": "dateFilter"; "min": "min"; "max": "max"; "disabled": "disabled"; "separator": "separator"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, {}, ["_startInput", "_endInput"], ["input[matStartDate]", "input[matEndDate]"]>;
|
|
135
133
|
}
|
|
@@ -147,11 +147,11 @@ export declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D
|
|
|
147
147
|
* than a dropdown and elements have more padding to allow for bigger touch targets.
|
|
148
148
|
*/
|
|
149
149
|
get touchUi(): boolean;
|
|
150
|
-
set touchUi(value:
|
|
150
|
+
set touchUi(value: BooleanInput);
|
|
151
151
|
private _touchUi;
|
|
152
152
|
/** Whether the datepicker pop-up should be disabled. */
|
|
153
153
|
get disabled(): boolean;
|
|
154
|
-
set disabled(value:
|
|
154
|
+
set disabled(value: BooleanInput);
|
|
155
155
|
private _disabled;
|
|
156
156
|
/** Preferred position of the datepicker in the X axis. */
|
|
157
157
|
xPosition: DatepickerDropdownPositionX;
|
|
@@ -163,7 +163,7 @@ export declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D
|
|
|
163
163
|
* you provide your own equivalent, if you decide to turn it off.
|
|
164
164
|
*/
|
|
165
165
|
get restoreFocus(): boolean;
|
|
166
|
-
set restoreFocus(value:
|
|
166
|
+
set restoreFocus(value: BooleanInput);
|
|
167
167
|
private _restoreFocus;
|
|
168
168
|
/**
|
|
169
169
|
* Emits selected year in multiyear view.
|
|
@@ -194,7 +194,7 @@ export declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D
|
|
|
194
194
|
private _panelClass;
|
|
195
195
|
/** Whether the calendar is open. */
|
|
196
196
|
get opened(): boolean;
|
|
197
|
-
set opened(value:
|
|
197
|
+
set opened(value: BooleanInput);
|
|
198
198
|
private _opened;
|
|
199
199
|
/** The id for the datepicker calendar. */
|
|
200
200
|
id: string;
|
|
@@ -264,10 +264,6 @@ export declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D
|
|
|
264
264
|
private _setConnectedPositions;
|
|
265
265
|
/** Gets an observable that will emit when the overlay is supposed to be closed. */
|
|
266
266
|
private _getCloseStream;
|
|
267
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
268
|
-
static ngAcceptInputType_opened: BooleanInput;
|
|
269
|
-
static ngAcceptInputType_touchUi: BooleanInput;
|
|
270
|
-
static ngAcceptInputType_restoreFocus: BooleanInput;
|
|
271
267
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerBase<any, any, any>, [null, null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
272
268
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerBase<any, any, any>, never, never, { "calendarHeaderComponent": "calendarHeaderComponent"; "startAt": "startAt"; "startView": "startView"; "color": "color"; "touchUi": "touchUi"; "disabled": "disabled"; "xPosition": "xPosition"; "yPosition": "yPosition"; "restoreFocus": "restoreFocus"; "dateClass": "dateClass"; "panelClass": "panelClass"; "opened": "opened"; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "openedStream": "opened"; "closedStream": "closed"; }, never>;
|
|
273
269
|
}
|