@angular/material 16.0.0-next.3 → 16.0.0-next.5
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 +10 -5
- package/badge/index.d.ts +1 -1
- package/button/_icon-button-theme.scss +85 -35
- package/button/index.d.ts +52 -11
- package/button-toggle/index.d.ts +2 -2
- package/card/index.d.ts +2 -2
- package/checkbox/index.d.ts +2 -2
- package/chips/index.d.ts +9 -10
- package/core/index.d.ts +7 -7
- package/core/mdc-helpers/_mdc-helpers.scss +31 -3
- package/core/option/_option-theme.scss +3 -2
- package/core/tokens/_token-utils.scss +1 -1
- package/core/tokens/m2/mat/_radio.scss +46 -0
- package/core/tokens/m2/mdc/_dialog.scss +115 -0
- package/core/tokens/m2/mdc/_icon-button.scss +79 -0
- package/core/tokens/m2/mdc/_linear-progress.scss +60 -0
- package/core/tokens/m2/mdc/_radio.scss +94 -0
- package/core/typography/_typography-utils.scss +7 -5
- package/datepicker/index.d.ts +13 -13
- package/dialog/_dialog-theme.scss +5 -37
- package/dialog/index.d.ts +3 -3
- package/divider/index.d.ts +1 -1
- package/esm2020/autocomplete/autocomplete-origin.mjs +6 -6
- package/esm2020/autocomplete/autocomplete-trigger.mjs +24 -12
- package/esm2020/autocomplete/autocomplete.mjs +32 -10
- package/esm2020/autocomplete/module.mjs +4 -4
- package/esm2020/badge/badge-module.mjs +4 -4
- package/esm2020/badge/badge.mjs +3 -3
- package/esm2020/bottom-sheet/bottom-sheet-container.mjs +3 -3
- package/esm2020/bottom-sheet/bottom-sheet-module.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet.mjs +3 -3
- package/esm2020/button/button-base.mjs +39 -14
- package/esm2020/button/button-lazy-loader.mjs +114 -0
- package/esm2020/button/button.mjs +9 -10
- package/esm2020/button/fab.mjs +17 -18
- package/esm2020/button/icon-button.mjs +21 -10
- package/esm2020/button/module.mjs +4 -4
- package/esm2020/button-toggle/button-toggle-module.mjs +4 -4
- package/esm2020/button-toggle/button-toggle.mjs +6 -6
- package/esm2020/card/card.mjs +42 -42
- package/esm2020/card/module.mjs +4 -4
- package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2020/checkbox/checkbox.mjs +8 -8
- package/esm2020/checkbox/module.mjs +8 -8
- package/esm2020/chips/chip-action.mjs +3 -3
- package/esm2020/chips/chip-edit-input.mjs +3 -3
- package/esm2020/chips/chip-grid.mjs +3 -3
- package/esm2020/chips/chip-icons.mjs +9 -9
- package/esm2020/chips/chip-input.mjs +6 -12
- package/esm2020/chips/chip-listbox.mjs +3 -3
- package/esm2020/chips/chip-option.mjs +3 -3
- package/esm2020/chips/chip-row.mjs +3 -3
- package/esm2020/chips/chip-set.mjs +3 -3
- package/esm2020/chips/chip.mjs +3 -3
- package/esm2020/chips/module.mjs +4 -4
- package/esm2020/core/common-behaviors/common-module.mjs +4 -4
- package/esm2020/core/datetime/index.mjs +8 -8
- package/esm2020/core/datetime/native-date-adapter.mjs +3 -3
- package/esm2020/core/error/error-options.mjs +6 -6
- package/esm2020/core/line/line.mjs +7 -7
- package/esm2020/core/option/index.mjs +4 -4
- package/esm2020/core/option/optgroup.mjs +6 -6
- package/esm2020/core/option/option.mjs +7 -7
- package/esm2020/core/ripple/index.mjs +4 -4
- package/esm2020/core/ripple/ripple.mjs +5 -5
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar-body.mjs +5 -5
- package/esm2020/datepicker/calendar.mjs +6 -6
- package/esm2020/datepicker/date-range-input-parts.mjs +9 -9
- package/esm2020/datepicker/date-range-input.mjs +3 -3
- package/esm2020/datepicker/date-range-picker.mjs +3 -3
- package/esm2020/datepicker/date-range-selection-strategy.mjs +3 -3
- package/esm2020/datepicker/date-selection-model.mjs +9 -9
- package/esm2020/datepicker/datepicker-actions.mjs +9 -9
- package/esm2020/datepicker/datepicker-base.mjs +6 -6
- package/esm2020/datepicker/datepicker-input-base.mjs +3 -3
- package/esm2020/datepicker/datepicker-input.mjs +3 -3
- package/esm2020/datepicker/datepicker-intl.mjs +3 -3
- package/esm2020/datepicker/datepicker-module.mjs +4 -4
- package/esm2020/datepicker/datepicker-toggle.mjs +6 -6
- package/esm2020/datepicker/datepicker.mjs +3 -3
- package/esm2020/datepicker/month-view.mjs +3 -3
- package/esm2020/datepicker/multi-year-view.mjs +3 -3
- package/esm2020/datepicker/year-view.mjs +3 -3
- package/esm2020/dialog/dialog-container.mjs +7 -7
- package/esm2020/dialog/dialog-content-directives.mjs +12 -12
- package/esm2020/dialog/dialog.mjs +6 -6
- package/esm2020/dialog/module.mjs +4 -4
- package/esm2020/divider/divider-module.mjs +4 -4
- package/esm2020/divider/divider.mjs +3 -3
- package/esm2020/expansion/accordion.mjs +3 -3
- package/esm2020/expansion/expansion-module.mjs +4 -4
- package/esm2020/expansion/expansion-panel-content.mjs +3 -3
- package/esm2020/expansion/expansion-panel-header.mjs +9 -9
- package/esm2020/expansion/expansion-panel.mjs +6 -6
- package/esm2020/form-field/directives/error.mjs +3 -3
- package/esm2020/form-field/directives/floating-label.mjs +3 -3
- package/esm2020/form-field/directives/hint.mjs +3 -3
- package/esm2020/form-field/directives/label.mjs +3 -3
- package/esm2020/form-field/directives/line-ripple.mjs +3 -3
- package/esm2020/form-field/directives/notched-outline.mjs +3 -3
- package/esm2020/form-field/directives/prefix.mjs +3 -3
- package/esm2020/form-field/directives/suffix.mjs +3 -3
- package/esm2020/form-field/form-field-control.mjs +3 -3
- package/esm2020/form-field/form-field.mjs +3 -3
- package/esm2020/form-field/module.mjs +4 -4
- package/esm2020/grid-list/grid-list-module.mjs +4 -4
- package/esm2020/grid-list/grid-list.mjs +3 -3
- package/esm2020/grid-list/grid-tile.mjs +15 -15
- package/esm2020/icon/icon-module.mjs +4 -4
- package/esm2020/icon/icon-registry.mjs +3 -3
- package/esm2020/icon/icon.mjs +3 -3
- package/esm2020/icon/testing/fake-icon-registry.mjs +7 -7
- package/esm2020/input/input.mjs +3 -3
- package/esm2020/input/module.mjs +4 -4
- package/esm2020/legacy-autocomplete/autocomplete-module.mjs +4 -4
- package/esm2020/legacy-autocomplete/autocomplete-origin.mjs +3 -3
- package/esm2020/legacy-autocomplete/autocomplete-trigger.mjs +3 -3
- package/esm2020/legacy-autocomplete/autocomplete.mjs +3 -3
- package/esm2020/legacy-button/button-module.mjs +4 -4
- package/esm2020/legacy-button/button.mjs +6 -6
- package/esm2020/legacy-card/card-module.mjs +4 -4
- package/esm2020/legacy-card/card.mjs +42 -42
- package/esm2020/legacy-checkbox/checkbox-module.mjs +4 -4
- package/esm2020/legacy-checkbox/checkbox.mjs +3 -3
- package/esm2020/legacy-chips/chip-input.mjs +6 -12
- package/esm2020/legacy-chips/chip-list.mjs +3 -3
- package/esm2020/legacy-chips/chip.mjs +12 -12
- package/esm2020/legacy-chips/chips-module.mjs +4 -4
- package/esm2020/legacy-core/option/index.mjs +4 -4
- package/esm2020/legacy-core/option/optgroup.mjs +3 -3
- package/esm2020/legacy-core/option/option.mjs +3 -3
- package/esm2020/legacy-dialog/dialog-container.mjs +3 -3
- package/esm2020/legacy-dialog/dialog-content-directives.mjs +12 -12
- package/esm2020/legacy-dialog/dialog-module.mjs +4 -4
- package/esm2020/legacy-dialog/dialog.mjs +3 -3
- package/esm2020/legacy-form-field/error.mjs +3 -3
- package/esm2020/legacy-form-field/form-field-module.mjs +4 -4
- package/esm2020/legacy-form-field/form-field.mjs +3 -3
- package/esm2020/legacy-form-field/hint.mjs +3 -3
- package/esm2020/legacy-form-field/label.mjs +3 -3
- package/esm2020/legacy-form-field/placeholder.mjs +3 -3
- package/esm2020/legacy-form-field/prefix.mjs +3 -3
- package/esm2020/legacy-form-field/suffix.mjs +3 -3
- package/esm2020/legacy-input/input-module.mjs +4 -4
- package/esm2020/legacy-input/input.mjs +3 -3
- package/esm2020/legacy-list/list-module.mjs +4 -4
- package/esm2020/legacy-list/list.mjs +18 -18
- package/esm2020/legacy-list/selection-list.mjs +6 -6
- package/esm2020/legacy-menu/menu-content.mjs +3 -3
- package/esm2020/legacy-menu/menu-item.mjs +3 -3
- package/esm2020/legacy-menu/menu-module.mjs +4 -4
- package/esm2020/legacy-menu/menu-trigger.mjs +3 -3
- package/esm2020/legacy-menu/menu.mjs +3 -3
- package/esm2020/legacy-paginator/paginator-module.mjs +4 -4
- package/esm2020/legacy-paginator/paginator.mjs +3 -3
- package/esm2020/legacy-progress-bar/progress-bar-module.mjs +4 -4
- package/esm2020/legacy-progress-bar/progress-bar.mjs +3 -3
- package/esm2020/legacy-progress-spinner/progress-spinner-module.mjs +4 -4
- package/esm2020/legacy-progress-spinner/progress-spinner.mjs +3 -3
- package/esm2020/legacy-radio/radio-module.mjs +4 -4
- package/esm2020/legacy-radio/radio.mjs +6 -6
- package/esm2020/legacy-select/select-module.mjs +4 -4
- package/esm2020/legacy-select/select.mjs +6 -6
- package/esm2020/legacy-slide-toggle/slide-toggle-module.mjs +4 -4
- package/esm2020/legacy-slide-toggle/slide-toggle.mjs +3 -3
- package/esm2020/legacy-slider/slider-module.mjs +4 -4
- package/esm2020/legacy-slider/slider.mjs +3 -3
- package/esm2020/legacy-snack-bar/simple-snack-bar.mjs +3 -3
- package/esm2020/legacy-snack-bar/snack-bar-container.mjs +3 -3
- package/esm2020/legacy-snack-bar/snack-bar-module.mjs +4 -4
- package/esm2020/legacy-snack-bar/snack-bar.mjs +3 -3
- package/esm2020/legacy-table/cell.mjs +21 -21
- package/esm2020/legacy-table/row.mjs +21 -21
- package/esm2020/legacy-table/table-module.mjs +4 -4
- package/esm2020/legacy-table/table.mjs +6 -6
- package/esm2020/legacy-table/text-column.mjs +3 -3
- package/esm2020/legacy-tabs/ink-bar.mjs +3 -3
- package/esm2020/legacy-tabs/tab-body.mjs +6 -6
- package/esm2020/legacy-tabs/tab-content.mjs +3 -3
- package/esm2020/legacy-tabs/tab-group.mjs +3 -3
- package/esm2020/legacy-tabs/tab-header.mjs +3 -3
- package/esm2020/legacy-tabs/tab-label-wrapper.mjs +3 -3
- package/esm2020/legacy-tabs/tab-label.mjs +3 -3
- package/esm2020/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
- package/esm2020/legacy-tabs/tab.mjs +3 -3
- package/esm2020/legacy-tabs/tabs-module.mjs +4 -4
- package/esm2020/legacy-tooltip/tooltip-module.mjs +4 -4
- package/esm2020/legacy-tooltip/tooltip.mjs +9 -11
- package/esm2020/list/action-list.mjs +3 -3
- package/esm2020/list/list-base.mjs +6 -6
- package/esm2020/list/list-item-sections.mjs +18 -18
- package/esm2020/list/list-module.mjs +4 -4
- package/esm2020/list/list-option.mjs +5 -5
- package/esm2020/list/list.mjs +6 -6
- package/esm2020/list/nav-list.mjs +3 -3
- package/esm2020/list/selection-list.mjs +3 -3
- package/esm2020/list/subheader.mjs +3 -3
- package/esm2020/menu/menu-content.mjs +6 -6
- package/esm2020/menu/menu-item.mjs +3 -3
- package/esm2020/menu/menu-trigger.mjs +6 -6
- package/esm2020/menu/menu.mjs +14 -17
- package/esm2020/menu/module.mjs +4 -4
- package/esm2020/paginator/module.mjs +4 -4
- package/esm2020/paginator/paginator-intl.mjs +3 -3
- package/esm2020/paginator/paginator.mjs +6 -6
- package/esm2020/progress-bar/module.mjs +4 -4
- package/esm2020/progress-bar/progress-bar.mjs +4 -4
- package/esm2020/progress-spinner/module.mjs +4 -4
- package/esm2020/progress-spinner/progress-spinner.mjs +3 -3
- package/esm2020/radio/module.mjs +4 -4
- package/esm2020/radio/radio.mjs +14 -14
- package/esm2020/select/module.mjs +4 -4
- package/esm2020/select/select.mjs +52 -13
- package/esm2020/sidenav/drawer.mjs +9 -9
- package/esm2020/sidenav/sidenav-module.mjs +4 -4
- package/esm2020/sidenav/sidenav.mjs +9 -9
- package/esm2020/slide-toggle/module.mjs +8 -8
- package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +3 -3
- package/esm2020/slide-toggle/slide-toggle.mjs +8 -8
- package/esm2020/slider/module.mjs +4 -4
- package/esm2020/slider/slider-input.mjs +6 -6
- package/esm2020/slider/slider-thumb.mjs +3 -3
- package/esm2020/slider/slider.mjs +3 -3
- package/esm2020/snack-bar/module.mjs +4 -4
- package/esm2020/snack-bar/simple-snack-bar.mjs +3 -3
- package/esm2020/snack-bar/snack-bar-container.mjs +6 -6
- package/esm2020/snack-bar/snack-bar-content.mjs +9 -9
- package/esm2020/snack-bar/snack-bar.mjs +6 -6
- package/esm2020/sort/sort-header-intl.mjs +3 -3
- package/esm2020/sort/sort-header.mjs +3 -3
- package/esm2020/sort/sort-module.mjs +4 -4
- package/esm2020/sort/sort.mjs +4 -5
- package/esm2020/stepper/step-content.mjs +3 -3
- package/esm2020/stepper/step-header.mjs +3 -3
- package/esm2020/stepper/step-label.mjs +3 -3
- package/esm2020/stepper/stepper-button.mjs +6 -6
- package/esm2020/stepper/stepper-icon.mjs +3 -3
- package/esm2020/stepper/stepper-intl.mjs +3 -3
- package/esm2020/stepper/stepper-module.mjs +4 -4
- package/esm2020/stepper/stepper.mjs +6 -6
- package/esm2020/table/cell.mjs +21 -21
- package/esm2020/table/module.mjs +4 -4
- package/esm2020/table/row.mjs +21 -21
- package/esm2020/table/table.mjs +6 -6
- package/esm2020/table/text-column.mjs +3 -3
- package/esm2020/tabs/module.mjs +4 -4
- package/esm2020/tabs/paginated-tab-header.mjs +3 -3
- package/esm2020/tabs/tab-body.mjs +9 -9
- package/esm2020/tabs/tab-content.mjs +3 -3
- package/esm2020/tabs/tab-group.mjs +6 -6
- package/esm2020/tabs/tab-header.mjs +6 -6
- package/esm2020/tabs/tab-label-wrapper.mjs +6 -6
- package/esm2020/tabs/tab-label.mjs +3 -3
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +15 -15
- package/esm2020/tabs/tab.mjs +6 -6
- package/esm2020/toolbar/toolbar-module.mjs +4 -4
- package/esm2020/toolbar/toolbar.mjs +6 -6
- package/esm2020/tooltip/module.mjs +4 -4
- package/esm2020/tooltip/tooltip.mjs +27 -19
- package/esm2020/tree/node.mjs +9 -9
- package/esm2020/tree/outlet.mjs +3 -3
- package/esm2020/tree/padding.mjs +3 -3
- package/esm2020/tree/toggle.mjs +3 -3
- package/esm2020/tree/tree-module.mjs +4 -4
- package/esm2020/tree/tree.mjs +4 -4
- package/expansion/index.d.ts +3 -3
- package/fesm2015/autocomplete/testing.mjs +0 -16
- package/fesm2015/autocomplete/testing.mjs.map +1 -1
- package/fesm2015/autocomplete.mjs +64 -81
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/badge/testing.mjs +0 -16
- package/fesm2015/badge/testing.mjs.map +1 -1
- package/fesm2015/badge.mjs +7 -30
- package/fesm2015/badge.mjs.map +1 -1
- package/fesm2015/bottom-sheet/testing.mjs +0 -16
- package/fesm2015/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2015/bottom-sheet.mjs +10 -61
- package/fesm2015/bottom-sheet.mjs.map +1 -1
- package/fesm2015/button/testing.mjs +0 -16
- package/fesm2015/button/testing.mjs.map +1 -1
- package/fesm2015/button-toggle/testing.mjs +0 -16
- package/fesm2015/button-toggle/testing.mjs.map +1 -1
- package/fesm2015/button-toggle.mjs +10 -33
- package/fesm2015/button-toggle.mjs.map +1 -1
- package/fesm2015/button.mjs +198 -86
- package/fesm2015/button.mjs.map +1 -1
- package/fesm2015/card/testing.mjs +0 -16
- package/fesm2015/card/testing.mjs.map +1 -1
- package/fesm2015/card.mjs +46 -76
- package/fesm2015/card.mjs.map +1 -1
- package/fesm2015/checkbox/testing.mjs +0 -16
- package/fesm2015/checkbox/testing.mjs.map +1 -1
- package/fesm2015/checkbox.mjs +18 -62
- package/fesm2015/checkbox.mjs.map +1 -1
- package/fesm2015/chips/testing.mjs +0 -23
- package/fesm2015/chips/testing.mjs.map +1 -1
- package/fesm2015/chips.mjs +42 -148
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core/testing.mjs +0 -16
- package/fesm2015/core/testing.mjs.map +1 -1
- package/fesm2015/core.mjs +61 -247
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker/testing.mjs +0 -16
- package/fesm2015/datepicker/testing.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +83 -239
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog/testing.mjs +0 -23
- package/fesm2015/dialog/testing.mjs.map +1 -1
- package/fesm2015/dialog.mjs +29 -87
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/divider/testing.mjs +0 -16
- package/fesm2015/divider/testing.mjs.map +1 -1
- package/fesm2015/divider.mjs +7 -37
- package/fesm2015/divider.mjs.map +1 -1
- package/fesm2015/expansion/testing.mjs +0 -16
- package/fesm2015/expansion/testing.mjs.map +1 -1
- package/fesm2015/expansion.mjs +25 -83
- package/fesm2015/expansion.mjs.map +1 -1
- package/fesm2015/form-field/testing/control.mjs +0 -15
- package/fesm2015/form-field/testing/control.mjs.map +1 -1
- package/fesm2015/form-field/testing.mjs +1 -15
- package/fesm2015/form-field/testing.mjs.map +1 -1
- package/fesm2015/form-field.mjs +34 -127
- package/fesm2015/form-field.mjs.map +1 -1
- package/fesm2015/grid-list/testing.mjs +0 -16
- package/fesm2015/grid-list/testing.mjs.map +1 -1
- package/fesm2015/grid-list.mjs +22 -79
- package/fesm2015/grid-list.mjs.map +1 -1
- package/fesm2015/icon/testing.mjs +7 -30
- package/fesm2015/icon/testing.mjs.map +1 -1
- package/fesm2015/icon.mjs +10 -54
- package/fesm2015/icon.mjs.map +1 -1
- package/fesm2015/input/testing.mjs +0 -16
- package/fesm2015/input/testing.mjs.map +1 -1
- package/fesm2015/input.mjs +7 -51
- package/fesm2015/input.mjs.map +1 -1
- package/fesm2015/legacy-autocomplete/testing.mjs +0 -16
- package/fesm2015/legacy-autocomplete/testing.mjs.map +1 -1
- package/fesm2015/legacy-autocomplete.mjs +13 -57
- package/fesm2015/legacy-autocomplete.mjs.map +1 -1
- package/fesm2015/legacy-button/testing.mjs +0 -16
- package/fesm2015/legacy-button/testing.mjs.map +1 -1
- package/fesm2015/legacy-button.mjs +10 -33
- package/fesm2015/legacy-button.mjs.map +1 -1
- package/fesm2015/legacy-card/testing.mjs +0 -16
- package/fesm2015/legacy-card/testing.mjs.map +1 -1
- package/fesm2015/legacy-card.mjs +46 -76
- package/fesm2015/legacy-card.mjs.map +1 -1
- package/fesm2015/legacy-checkbox/testing.mjs +0 -16
- package/fesm2015/legacy-checkbox/testing.mjs.map +1 -1
- package/fesm2015/legacy-checkbox.mjs +7 -30
- package/fesm2015/legacy-checkbox.mjs.map +1 -1
- package/fesm2015/legacy-chips/testing.mjs +0 -23
- package/fesm2015/legacy-chips/testing.mjs.map +1 -1
- package/fesm2015/legacy-chips.mjs +24 -74
- package/fesm2015/legacy-chips.mjs.map +1 -1
- package/fesm2015/legacy-core/testing.mjs +0 -16
- package/fesm2015/legacy-core/testing.mjs.map +1 -1
- package/fesm2015/legacy-core.mjs +10 -47
- package/fesm2015/legacy-core.mjs.map +1 -1
- package/fesm2015/legacy-dialog/testing.mjs +0 -30
- package/fesm2015/legacy-dialog/testing.mjs.map +1 -1
- package/fesm2015/legacy-dialog.mjs +22 -80
- package/fesm2015/legacy-dialog.mjs.map +1 -1
- package/fesm2015/legacy-form-field/testing.mjs +0 -23
- package/fesm2015/legacy-form-field/testing.mjs.map +1 -1
- package/fesm2015/legacy-form-field.mjs +25 -90
- package/fesm2015/legacy-form-field.mjs.map +1 -1
- package/fesm2015/legacy-input/testing.mjs +0 -16
- package/fesm2015/legacy-input/testing.mjs.map +1 -1
- package/fesm2015/legacy-input.mjs +7 -37
- package/fesm2015/legacy-input.mjs.map +1 -1
- package/fesm2015/legacy-list/testing.mjs +0 -23
- package/fesm2015/legacy-list/testing.mjs.map +1 -1
- package/fesm2015/legacy-list.mjs +28 -65
- package/fesm2015/legacy-list.mjs.map +1 -1
- package/fesm2015/legacy-menu/testing.mjs +0 -16
- package/fesm2015/legacy-menu/testing.mjs.map +1 -1
- package/fesm2015/legacy-menu.mjs +16 -67
- package/fesm2015/legacy-menu.mjs.map +1 -1
- package/fesm2015/legacy-paginator/testing.mjs +0 -23
- package/fesm2015/legacy-paginator/testing.mjs.map +1 -1
- package/fesm2015/legacy-paginator.mjs +7 -37
- package/fesm2015/legacy-paginator.mjs.map +1 -1
- package/fesm2015/legacy-progress-bar/testing.mjs +0 -16
- package/fesm2015/legacy-progress-bar/testing.mjs.map +1 -1
- package/fesm2015/legacy-progress-bar.mjs +7 -37
- package/fesm2015/legacy-progress-bar.mjs.map +1 -1
- package/fesm2015/legacy-progress-spinner/testing.mjs +0 -16
- package/fesm2015/legacy-progress-spinner/testing.mjs.map +1 -1
- package/fesm2015/legacy-progress-spinner.mjs +7 -36
- package/fesm2015/legacy-progress-spinner.mjs.map +1 -1
- package/fesm2015/legacy-radio/testing.mjs +0 -16
- package/fesm2015/legacy-radio/testing.mjs.map +1 -1
- package/fesm2015/legacy-radio.mjs +10 -33
- package/fesm2015/legacy-radio.mjs.map +1 -1
- package/fesm2015/legacy-select/testing.mjs +0 -16
- package/fesm2015/legacy-select/testing.mjs.map +1 -1
- package/fesm2015/legacy-select.mjs +10 -40
- package/fesm2015/legacy-select.mjs.map +1 -1
- package/fesm2015/legacy-slide-toggle/testing.mjs +0 -16
- package/fesm2015/legacy-slide-toggle/testing.mjs.map +1 -1
- package/fesm2015/legacy-slide-toggle.mjs +7 -37
- package/fesm2015/legacy-slide-toggle.mjs.map +1 -1
- package/fesm2015/legacy-slider/testing.mjs +0 -16
- package/fesm2015/legacy-slider/testing.mjs.map +1 -1
- package/fesm2015/legacy-slider.mjs +7 -30
- package/fesm2015/legacy-slider.mjs.map +1 -1
- package/fesm2015/legacy-snack-bar/testing.mjs +0 -16
- package/fesm2015/legacy-snack-bar/testing.mjs.map +1 -1
- package/fesm2015/legacy-snack-bar.mjs +13 -50
- package/fesm2015/legacy-snack-bar.mjs.map +1 -1
- package/fesm2015/legacy-table/testing.mjs +0 -37
- package/fesm2015/legacy-table/testing.mjs.map +1 -1
- package/fesm2015/legacy-table.mjs +55 -113
- package/fesm2015/legacy-table.mjs.map +1 -1
- package/fesm2015/legacy-tabs/testing.mjs +0 -16
- package/fesm2015/legacy-tabs/testing.mjs.map +1 -1
- package/fesm2015/legacy-tabs.mjs +40 -120
- package/fesm2015/legacy-tabs.mjs.map +1 -1
- package/fesm2015/legacy-tooltip/testing.mjs +0 -23
- package/fesm2015/legacy-tooltip/testing.mjs.map +1 -1
- package/fesm2015/legacy-tooltip.mjs +12 -44
- package/fesm2015/legacy-tooltip.mjs.map +1 -1
- package/fesm2015/list/testing.mjs +0 -23
- package/fesm2015/list/testing.mjs.map +1 -1
- package/fesm2015/list.mjs +51 -137
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/material.mjs +0 -7
- package/fesm2015/material.mjs.map +1 -1
- package/fesm2015/menu/testing.mjs +0 -16
- package/fesm2015/menu/testing.mjs.map +1 -1
- package/fesm2015/menu.mjs +32 -107
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/paginator/testing.mjs +0 -16
- package/fesm2015/paginator/testing.mjs.map +1 -1
- package/fesm2015/paginator.mjs +13 -50
- package/fesm2015/paginator.mjs.map +1 -1
- package/fesm2015/progress-bar/testing.mjs +0 -16
- package/fesm2015/progress-bar/testing.mjs.map +1 -1
- package/fesm2015/progress-bar.mjs +8 -38
- package/fesm2015/progress-bar.mjs.map +1 -1
- package/fesm2015/progress-spinner/testing.mjs +0 -16
- package/fesm2015/progress-spinner/testing.mjs.map +1 -1
- package/fesm2015/progress-spinner.mjs +7 -37
- package/fesm2015/progress-spinner.mjs.map +1 -1
- package/fesm2015/radio/testing.mjs +0 -16
- package/fesm2015/radio/testing.mjs.map +1 -1
- package/fesm2015/radio.mjs +17 -47
- package/fesm2015/radio.mjs.map +1 -1
- package/fesm2015/select/testing.mjs +0 -16
- package/fesm2015/select/testing.mjs.map +1 -1
- package/fesm2015/select.mjs +55 -60
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/sidenav/testing.mjs +0 -30
- package/fesm2015/sidenav/testing.mjs.map +1 -1
- package/fesm2015/sidenav.mjs +22 -59
- package/fesm2015/sidenav.mjs.map +1 -1
- package/fesm2015/slide-toggle/testing.mjs +0 -16
- package/fesm2015/slide-toggle/testing.mjs.map +1 -1
- package/fesm2015/slide-toggle.mjs +18 -62
- package/fesm2015/slide-toggle.mjs.map +1 -1
- package/fesm2015/slider/testing.mjs +0 -16
- package/fesm2015/slider/testing.mjs.map +1 -1
- package/fesm2015/slider.mjs +16 -60
- package/fesm2015/slider.mjs.map +1 -1
- package/fesm2015/snack-bar/testing.mjs +0 -16
- package/fesm2015/snack-bar/testing.mjs.map +1 -1
- package/fesm2015/snack-bar.mjs +28 -93
- package/fesm2015/snack-bar.mjs.map +1 -1
- package/fesm2015/sort/testing.mjs +0 -16
- package/fesm2015/sort/testing.mjs.map +1 -1
- package/fesm2015/sort.mjs +13 -65
- package/fesm2015/sort.mjs.map +1 -1
- package/fesm2015/stepper/testing.mjs +0 -16
- package/fesm2015/stepper/testing.mjs.map +1 -1
- package/fesm2015/stepper.mjs +31 -96
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table/testing.mjs +0 -16
- package/fesm2015/table/testing.mjs.map +1 -1
- package/fesm2015/table.mjs +55 -113
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/tabs/testing.mjs +0 -16
- package/fesm2015/tabs/testing.mjs.map +1 -1
- package/fesm2015/tabs.mjs +61 -168
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2015/toolbar/testing.mjs +0 -16
- package/fesm2015/toolbar/testing.mjs.map +1 -1
- package/fesm2015/toolbar.mjs +10 -33
- package/fesm2015/toolbar.mjs.map +1 -1
- package/fesm2015/tooltip/testing.mjs +0 -16
- package/fesm2015/tooltip/testing.mjs.map +1 -1
- package/fesm2015/tooltip.mjs +30 -59
- package/fesm2015/tooltip.mjs.map +1 -1
- package/fesm2015/tree/testing.mjs +0 -16
- package/fesm2015/tree/testing.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -90
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/autocomplete/testing.mjs +0 -31
- package/fesm2020/autocomplete/testing.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +64 -81
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/badge/testing.mjs +0 -31
- package/fesm2020/badge/testing.mjs.map +1 -1
- package/fesm2020/badge.mjs +7 -37
- package/fesm2020/badge.mjs.map +1 -1
- package/fesm2020/bottom-sheet/testing.mjs +0 -31
- package/fesm2020/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2020/bottom-sheet.mjs +10 -61
- package/fesm2020/bottom-sheet.mjs.map +1 -1
- package/fesm2020/button/testing.mjs +0 -31
- package/fesm2020/button/testing.mjs.map +1 -1
- package/fesm2020/button-toggle/testing.mjs +0 -46
- package/fesm2020/button-toggle/testing.mjs.map +1 -1
- package/fesm2020/button-toggle.mjs +10 -40
- package/fesm2020/button-toggle.mjs.map +1 -1
- package/fesm2020/button.mjs +194 -107
- package/fesm2020/button.mjs.map +1 -1
- package/fesm2020/card/testing.mjs +0 -31
- package/fesm2020/card/testing.mjs.map +1 -1
- package/fesm2020/card.mjs +46 -76
- package/fesm2020/card.mjs.map +1 -1
- package/fesm2020/checkbox/testing.mjs +0 -23
- package/fesm2020/checkbox/testing.mjs.map +1 -1
- package/fesm2020/checkbox.mjs +18 -62
- package/fesm2020/checkbox.mjs.map +1 -1
- package/fesm2020/chips/testing.mjs +0 -94
- package/fesm2020/chips/testing.mjs.map +1 -1
- package/fesm2020/chips.mjs +42 -156
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core/testing.mjs +0 -46
- package/fesm2020/core/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +61 -268
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker/testing.mjs +0 -73
- package/fesm2020/datepicker/testing.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +83 -246
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog/testing.mjs +0 -30
- package/fesm2020/dialog/testing.mjs.map +1 -1
- package/fesm2020/dialog.mjs +29 -94
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/divider/testing.mjs +0 -31
- package/fesm2020/divider/testing.mjs.map +1 -1
- package/fesm2020/divider.mjs +7 -37
- package/fesm2020/divider.mjs.map +1 -1
- package/fesm2020/expansion/testing.mjs +0 -38
- package/fesm2020/expansion/testing.mjs.map +1 -1
- package/fesm2020/expansion.mjs +25 -90
- package/fesm2020/expansion.mjs.map +1 -1
- package/fesm2020/form-field/testing/control.mjs +0 -15
- package/fesm2020/form-field/testing/control.mjs.map +1 -1
- package/fesm2020/form-field/testing.mjs +1 -37
- package/fesm2020/form-field/testing.mjs.map +1 -1
- package/fesm2020/form-field.mjs +34 -134
- package/fesm2020/form-field.mjs.map +1 -1
- package/fesm2020/grid-list/testing.mjs +0 -38
- package/fesm2020/grid-list/testing.mjs.map +1 -1
- package/fesm2020/grid-list.mjs +22 -79
- package/fesm2020/grid-list.mjs.map +1 -1
- package/fesm2020/icon/testing.mjs +7 -45
- package/fesm2020/icon/testing.mjs.map +1 -1
- package/fesm2020/icon.mjs +10 -54
- package/fesm2020/icon.mjs.map +1 -1
- package/fesm2020/input/testing.mjs +0 -53
- package/fesm2020/input/testing.mjs.map +1 -1
- package/fesm2020/input.mjs +7 -51
- package/fesm2020/input.mjs.map +1 -1
- package/fesm2020/legacy-autocomplete/testing.mjs +0 -23
- package/fesm2020/legacy-autocomplete/testing.mjs.map +1 -1
- package/fesm2020/legacy-autocomplete.mjs +13 -57
- package/fesm2020/legacy-autocomplete.mjs.map +1 -1
- package/fesm2020/legacy-button/testing.mjs +0 -23
- package/fesm2020/legacy-button/testing.mjs.map +1 -1
- package/fesm2020/legacy-button.mjs +10 -40
- package/fesm2020/legacy-button.mjs.map +1 -1
- package/fesm2020/legacy-card/testing.mjs +0 -23
- package/fesm2020/legacy-card/testing.mjs.map +1 -1
- package/fesm2020/legacy-card.mjs +46 -76
- package/fesm2020/legacy-card.mjs.map +1 -1
- package/fesm2020/legacy-checkbox/testing.mjs +0 -23
- package/fesm2020/legacy-checkbox/testing.mjs.map +1 -1
- package/fesm2020/legacy-checkbox.mjs +7 -37
- package/fesm2020/legacy-checkbox.mjs.map +1 -1
- package/fesm2020/legacy-chips/testing.mjs +0 -65
- package/fesm2020/legacy-chips/testing.mjs.map +1 -1
- package/fesm2020/legacy-chips.mjs +24 -74
- package/fesm2020/legacy-chips.mjs.map +1 -1
- package/fesm2020/legacy-core/testing.mjs +0 -46
- package/fesm2020/legacy-core/testing.mjs.map +1 -1
- package/fesm2020/legacy-core.mjs +10 -47
- package/fesm2020/legacy-core.mjs.map +1 -1
- package/fesm2020/legacy-dialog/testing.mjs +0 -30
- package/fesm2020/legacy-dialog/testing.mjs.map +1 -1
- package/fesm2020/legacy-dialog.mjs +22 -80
- package/fesm2020/legacy-dialog.mjs.map +1 -1
- package/fesm2020/legacy-form-field/testing.mjs +0 -30
- package/fesm2020/legacy-form-field/testing.mjs.map +1 -1
- package/fesm2020/legacy-form-field.mjs +25 -97
- package/fesm2020/legacy-form-field.mjs.map +1 -1
- package/fesm2020/legacy-input/testing.mjs +0 -16
- package/fesm2020/legacy-input/testing.mjs.map +1 -1
- package/fesm2020/legacy-input.mjs +7 -37
- package/fesm2020/legacy-input.mjs.map +1 -1
- package/fesm2020/legacy-list/testing.mjs +0 -58
- package/fesm2020/legacy-list/testing.mjs.map +1 -1
- package/fesm2020/legacy-list.mjs +28 -65
- package/fesm2020/legacy-list.mjs.map +1 -1
- package/fesm2020/legacy-menu/testing.mjs +0 -23
- package/fesm2020/legacy-menu/testing.mjs.map +1 -1
- package/fesm2020/legacy-menu.mjs +16 -67
- package/fesm2020/legacy-menu.mjs.map +1 -1
- package/fesm2020/legacy-paginator/testing.mjs +0 -23
- package/fesm2020/legacy-paginator/testing.mjs.map +1 -1
- package/fesm2020/legacy-paginator.mjs +7 -37
- package/fesm2020/legacy-paginator.mjs.map +1 -1
- package/fesm2020/legacy-progress-bar/testing.mjs +0 -23
- package/fesm2020/legacy-progress-bar/testing.mjs.map +1 -1
- package/fesm2020/legacy-progress-bar.mjs +7 -37
- package/fesm2020/legacy-progress-bar.mjs.map +1 -1
- package/fesm2020/legacy-progress-spinner/testing.mjs +0 -23
- package/fesm2020/legacy-progress-spinner/testing.mjs.map +1 -1
- package/fesm2020/legacy-progress-spinner.mjs +7 -36
- package/fesm2020/legacy-progress-spinner.mjs.map +1 -1
- package/fesm2020/legacy-radio/testing.mjs +0 -23
- package/fesm2020/legacy-radio/testing.mjs.map +1 -1
- package/fesm2020/legacy-radio.mjs +10 -40
- package/fesm2020/legacy-radio.mjs.map +1 -1
- package/fesm2020/legacy-select/testing.mjs +0 -23
- package/fesm2020/legacy-select/testing.mjs.map +1 -1
- package/fesm2020/legacy-select.mjs +10 -40
- package/fesm2020/legacy-select.mjs.map +1 -1
- package/fesm2020/legacy-slide-toggle/testing.mjs +0 -23
- package/fesm2020/legacy-slide-toggle/testing.mjs.map +1 -1
- package/fesm2020/legacy-slide-toggle.mjs +7 -44
- package/fesm2020/legacy-slide-toggle.mjs.map +1 -1
- package/fesm2020/legacy-slider/testing.mjs +0 -23
- package/fesm2020/legacy-slider/testing.mjs.map +1 -1
- package/fesm2020/legacy-slider.mjs +7 -37
- package/fesm2020/legacy-slider.mjs.map +1 -1
- package/fesm2020/legacy-snack-bar/testing.mjs +0 -23
- package/fesm2020/legacy-snack-bar/testing.mjs.map +1 -1
- package/fesm2020/legacy-snack-bar.mjs +13 -57
- package/fesm2020/legacy-snack-bar.mjs.map +1 -1
- package/fesm2020/legacy-table/testing.mjs +0 -37
- package/fesm2020/legacy-table/testing.mjs.map +1 -1
- package/fesm2020/legacy-table.mjs +55 -113
- package/fesm2020/legacy-table.mjs.map +1 -1
- package/fesm2020/legacy-tabs/testing.mjs +0 -51
- package/fesm2020/legacy-tabs/testing.mjs.map +1 -1
- package/fesm2020/legacy-tabs.mjs +40 -134
- package/fesm2020/legacy-tabs.mjs.map +1 -1
- package/fesm2020/legacy-tooltip/testing.mjs +0 -23
- package/fesm2020/legacy-tooltip/testing.mjs.map +1 -1
- package/fesm2020/legacy-tooltip.mjs +12 -51
- package/fesm2020/legacy-tooltip.mjs.map +1 -1
- package/fesm2020/list/testing.mjs +0 -66
- package/fesm2020/list/testing.mjs.map +1 -1
- package/fesm2020/list.mjs +51 -144
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/material.mjs +0 -7
- package/fesm2020/material.mjs.map +1 -1
- package/fesm2020/menu/testing.mjs +0 -31
- package/fesm2020/menu/testing.mjs.map +1 -1
- package/fesm2020/menu.mjs +32 -115
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/paginator/testing.mjs +0 -31
- package/fesm2020/paginator/testing.mjs.map +1 -1
- package/fesm2020/paginator.mjs +13 -50
- package/fesm2020/paginator.mjs.map +1 -1
- package/fesm2020/progress-bar/testing.mjs +0 -31
- package/fesm2020/progress-bar/testing.mjs.map +1 -1
- package/fesm2020/progress-bar.mjs +8 -38
- package/fesm2020/progress-bar.mjs.map +1 -1
- package/fesm2020/progress-spinner/testing.mjs +0 -31
- package/fesm2020/progress-spinner/testing.mjs.map +1 -1
- package/fesm2020/progress-spinner.mjs +7 -37
- package/fesm2020/progress-spinner.mjs.map +1 -1
- package/fesm2020/radio/testing.mjs +0 -31
- package/fesm2020/radio/testing.mjs.map +1 -1
- package/fesm2020/radio.mjs +17 -47
- package/fesm2020/radio.mjs.map +1 -1
- package/fesm2020/select/testing.mjs +0 -31
- package/fesm2020/select/testing.mjs.map +1 -1
- package/fesm2020/select.mjs +55 -60
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/sidenav/testing.mjs +0 -66
- package/fesm2020/sidenav/testing.mjs.map +1 -1
- package/fesm2020/sidenav.mjs +22 -59
- package/fesm2020/sidenav.mjs.map +1 -1
- package/fesm2020/slide-toggle/testing.mjs +0 -31
- package/fesm2020/slide-toggle/testing.mjs.map +1 -1
- package/fesm2020/slide-toggle.mjs +18 -62
- package/fesm2020/slide-toggle.mjs.map +1 -1
- package/fesm2020/slider/testing.mjs +0 -30
- package/fesm2020/slider/testing.mjs.map +1 -1
- package/fesm2020/slider.mjs +16 -67
- package/fesm2020/slider.mjs.map +1 -1
- package/fesm2020/snack-bar/testing.mjs +0 -31
- package/fesm2020/snack-bar/testing.mjs.map +1 -1
- package/fesm2020/snack-bar.mjs +28 -100
- package/fesm2020/snack-bar.mjs.map +1 -1
- package/fesm2020/sort/testing.mjs +0 -30
- package/fesm2020/sort/testing.mjs.map +1 -1
- package/fesm2020/sort.mjs +13 -80
- package/fesm2020/sort.mjs.map +1 -1
- package/fesm2020/stepper/testing.mjs +0 -37
- package/fesm2020/stepper/testing.mjs.map +1 -1
- package/fesm2020/stepper.mjs +31 -110
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table/testing.mjs +0 -37
- package/fesm2020/table/testing.mjs.map +1 -1
- package/fesm2020/table.mjs +55 -113
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/tabs/testing.mjs +0 -51
- package/fesm2020/tabs/testing.mjs.map +1 -1
- package/fesm2020/tabs.mjs +61 -168
- package/fesm2020/tabs.mjs.map +1 -1
- package/fesm2020/toolbar/testing.mjs +0 -31
- package/fesm2020/toolbar/testing.mjs.map +1 -1
- package/fesm2020/toolbar.mjs +10 -40
- package/fesm2020/toolbar.mjs.map +1 -1
- package/fesm2020/tooltip/testing.mjs +0 -31
- package/fesm2020/tooltip/testing.mjs.map +1 -1
- package/fesm2020/tooltip.mjs +30 -59
- package/fesm2020/tooltip.mjs.map +1 -1
- package/fesm2020/tree/testing.mjs +0 -38
- package/fesm2020/tree/testing.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -90
- package/fesm2020/tree.mjs.map +1 -1
- package/form-field/index.d.ts +7 -7
- package/grid-list/index.d.ts +2 -2
- package/icon/index.d.ts +1 -1
- package/input/index.d.ts +1 -1
- package/legacy-autocomplete/index.d.ts +1 -1
- package/legacy-button/index.d.ts +2 -2
- package/legacy-card/index.d.ts +1 -1
- package/legacy-checkbox/index.d.ts +1 -1
- package/legacy-chips/index.d.ts +4 -5
- package/legacy-core/index.d.ts +1 -1
- package/legacy-dialog/index.d.ts +3 -3
- package/legacy-form-field/index.d.ts +3 -3
- package/legacy-list/index.d.ts +5 -5
- package/legacy-menu/index.d.ts +1 -1
- package/legacy-paginator/index.d.ts +1 -1
- package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +1 -1
- package/legacy-prebuilt-themes/legacy-indigo-pink.css +1 -1
- package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +1 -1
- package/legacy-prebuilt-themes/legacy-purple-green.css +1 -1
- package/legacy-progress-bar/index.d.ts +1 -1
- package/legacy-progress-spinner/index.d.ts +1 -1
- package/legacy-radio/index.d.ts +1 -1
- package/legacy-select/index.d.ts +1 -1
- package/legacy-slide-toggle/index.d.ts +1 -1
- package/legacy-slider/index.d.ts +1 -1
- package/legacy-table/index.d.ts +4 -4
- package/legacy-tabs/index.d.ts +7 -7
- package/legacy-tooltip/index.d.ts +1 -2
- package/list/_list-theme.scss +20 -23
- package/list/index.d.ts +5 -5
- package/menu/index.d.ts +3 -4
- package/package.json +2 -2
- package/paginator/index.d.ts +2 -2
- 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-theme.scss +17 -24
- package/progress-bar/index.d.ts +1 -1
- package/progress-spinner/index.d.ts +1 -1
- package/radio/_radio-theme.scss +33 -17
- package/radio/index.d.ts +3 -3
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/mdc-migration/index_bundled.js +789 -360
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
- package/select/index.d.ts +5 -3
- package/sidenav/index.d.ts +3 -3
- package/slide-toggle/index.d.ts +2 -2
- package/slider/index.d.ts +3 -3
- package/sort/index.d.ts +2 -2
- package/stepper/index.d.ts +6 -6
- package/table/index.d.ts +4 -4
- package/tabs/index.d.ts +14 -14
- package/toolbar/index.d.ts +1 -1
- package/tooltip/index.d.ts +1 -1
- package/tree/index.d.ts +5 -5
- package/radio/_radio-private.scss +0 -60
package/esm2020/tree/outlet.mjs
CHANGED
|
@@ -18,15 +18,15 @@ class MatTreeNodeOutlet {
|
|
|
18
18
|
this._node = _node;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
MatTreeNodeOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
22
|
-
MatTreeNodeOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
21
|
+
MatTreeNodeOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeNodeOutlet, deps: [{ token: i0.ViewContainerRef }, { token: CDK_TREE_NODE_OUTLET_NODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
MatTreeNodeOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatTreeNodeOutlet, selector: "[matTreeNodeOutlet]", providers: [
|
|
23
23
|
{
|
|
24
24
|
provide: CdkTreeNodeOutlet,
|
|
25
25
|
useExisting: MatTreeNodeOutlet,
|
|
26
26
|
},
|
|
27
27
|
], ngImport: i0 });
|
|
28
28
|
export { MatTreeNodeOutlet };
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeNodeOutlet, decorators: [{
|
|
30
30
|
type: Directive,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: '[matTreeNodeOutlet]',
|
package/esm2020/tree/padding.mjs
CHANGED
|
@@ -20,10 +20,10 @@ class MatTreeNodePadding extends CdkTreeNodePadding {
|
|
|
20
20
|
this._setIndentInput(indent);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
MatTreeNodePadding.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
24
|
-
MatTreeNodePadding.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
23
|
+
MatTreeNodePadding.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeNodePadding, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
24
|
+
MatTreeNodePadding.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatTreeNodePadding, selector: "[matTreeNodePadding]", inputs: { level: ["matTreeNodePadding", "level"], indent: ["matTreeNodePaddingIndent", "indent"] }, providers: [{ provide: CdkTreeNodePadding, useExisting: MatTreeNodePadding }], usesInheritance: true, ngImport: i0 });
|
|
25
25
|
export { MatTreeNodePadding };
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeNodePadding, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
29
|
selector: '[matTreeNodePadding]',
|
package/esm2020/tree/toggle.mjs
CHANGED
|
@@ -13,10 +13,10 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
*/
|
|
14
14
|
class MatTreeNodeToggle extends CdkTreeNodeToggle {
|
|
15
15
|
}
|
|
16
|
-
MatTreeNodeToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
17
|
-
MatTreeNodeToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
16
|
+
MatTreeNodeToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeNodeToggle, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
+
MatTreeNodeToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatTreeNodeToggle, selector: "[matTreeNodeToggle]", inputs: { recursive: ["matTreeNodeToggleRecursive", "recursive"] }, providers: [{ provide: CdkTreeNodeToggle, useExisting: MatTreeNodeToggle }], usesInheritance: true, ngImport: i0 });
|
|
18
18
|
export { MatTreeNodeToggle };
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeNodeToggle, decorators: [{
|
|
20
20
|
type: Directive,
|
|
21
21
|
args: [{
|
|
22
22
|
selector: '[matTreeNodeToggle]',
|
|
@@ -25,8 +25,8 @@ const MAT_TREE_DIRECTIVES = [
|
|
|
25
25
|
];
|
|
26
26
|
class MatTreeModule {
|
|
27
27
|
}
|
|
28
|
-
MatTreeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
29
|
-
MatTreeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
28
|
+
MatTreeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
29
|
+
MatTreeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeModule, declarations: [MatNestedTreeNode,
|
|
30
30
|
MatTreeNodeDef,
|
|
31
31
|
MatTreeNodePadding,
|
|
32
32
|
MatTreeNodeToggle,
|
|
@@ -39,9 +39,9 @@ MatTreeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
39
39
|
MatTree,
|
|
40
40
|
MatTreeNode,
|
|
41
41
|
MatTreeNodeOutlet] });
|
|
42
|
-
MatTreeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
42
|
+
MatTreeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeModule, imports: [CdkTreeModule, MatCommonModule, MatCommonModule] });
|
|
43
43
|
export { MatTreeModule };
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTreeModule, decorators: [{
|
|
45
45
|
type: NgModule,
|
|
46
46
|
args: [{
|
|
47
47
|
imports: [CdkTreeModule, MatCommonModule],
|
package/esm2020/tree/tree.mjs
CHANGED
|
@@ -15,10 +15,10 @@ import * as i1 from "./outlet";
|
|
|
15
15
|
*/
|
|
16
16
|
class MatTree extends CdkTree {
|
|
17
17
|
}
|
|
18
|
-
MatTree.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
19
|
-
MatTree.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
18
|
+
MatTree.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTree, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
MatTree.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatTree, selector: "mat-tree", host: { attributes: { "role": "tree" }, classAttribute: "mat-tree" }, providers: [{ provide: CdkTree, useExisting: MatTree }], viewQueries: [{ propertyName: "_nodeOutlet", first: true, predicate: MatTreeNodeOutlet, descendants: true, static: true }], exportAs: ["matTree"], usesInheritance: true, ngImport: i0, template: `<ng-container matTreeNodeOutlet></ng-container>`, isInline: true, styles: [".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"], dependencies: [{ kind: "directive", type: i1.MatTreeNodeOutlet, selector: "[matTreeNodeOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
20
20
|
export { MatTree };
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatTree, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: 'mat-tree', exportAs: 'matTree', template: `<ng-container matTreeNodeOutlet></ng-container>`, host: {
|
|
24
24
|
'class': 'mat-tree',
|
|
@@ -28,4 +28,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
28
28
|
type: ViewChild,
|
|
29
29
|
args: [MatTreeNodeOutlet, { static: true }]
|
|
30
30
|
}] } });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tYXRlcmlhbC90cmVlL3RyZWUudHMiX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GVmYXVsdCxcbiAgcHJvdmlkZXJzOiBbe3Byb3ZpZGU6IENka1RyZWUsIHVzZUV4aXN0aW5nOiBNYXRUcmVlfV0sXG59KVxuZXhwb3J0IGNsYXNzIE1hdFRyZWU8VCwgSyA9IFQ+IGV4dGVuZHMgQ2RrVHJlZTxULCBLPiB7XG4gIC8vIE91dGxldHMgd2l0aGluIHRoZSB0cmVlJ3MgdGVtcGxhdGUgd2hlcmUgdGhlIGRhdGFOb2RlcyB3aWxsIGJlIGluc2VydGVkLlxuICAvLyBXZSBuZWVkIGFuIGluaXRpYWxpemVyIGhlcmUgdG8gYXZvaWQgYSBUUyBlcnJvci4gVGhlIHZhbHVlIHdpbGwgYmUgc2V0IGluIGBuZ0FmdGVyVmlld0luaXRgLlxuICBAVmlld0NoaWxkKE1hdFRyZWVOb2RlT3V0bGV0LCB7c3RhdGljOiB0cnVlfSkgb3ZlcnJpZGUgX25vZGVPdXRsZXQ6IE1hdFRyZWVOb2RlT3V0bGV0O1xufVxuIl19
|
package/expansion/index.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ export declare class MatAccordion extends CdkAccordion implements MatAccordionBa
|
|
|
111
111
|
_handleHeaderFocus(header: MatExpansionPanelHeader): void;
|
|
112
112
|
ngOnDestroy(): void;
|
|
113
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatAccordion, never>;
|
|
114
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAccordion, "mat-accordion", ["matAccordion"], { "multi": "multi"; "hideToggle": "hideToggle"; "displayMode": "displayMode"; "togglePosition": "togglePosition"; }, {}, ["_headers"], never, false, never>;
|
|
114
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAccordion, "mat-accordion", ["matAccordion"], { "multi": { "alias": "multi"; "required": false; }; "hideToggle": { "alias": "hideToggle"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "togglePosition": { "alias": "togglePosition"; "required": false; }; }, {}, ["_headers"], never, false, never>;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
/**
|
|
@@ -221,7 +221,7 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
|
|
|
221
221
|
/** Checks whether the expansion panel's content contains the currently-focused element. */
|
|
222
222
|
_containsFocus(): boolean;
|
|
223
223
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanel, [{ optional: true; skipSelf: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
224
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanel, "mat-expansion-panel", ["matExpansionPanel"], { "disabled": "disabled"; "expanded": "expanded"; "hideToggle": "hideToggle"; "togglePosition": "togglePosition"; }, { "opened": "opened"; "closed": "closed"; "expandedChange": "expandedChange"; "afterExpand": "afterExpand"; "afterCollapse": "afterCollapse"; }, ["_lazyContent"], ["mat-expansion-panel-header", "*", "mat-action-row"], false, never>;
|
|
224
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanel, "mat-expansion-panel", ["matExpansionPanel"], { "disabled": { "alias": "disabled"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "hideToggle": { "alias": "hideToggle"; "required": false; }; "togglePosition": { "alias": "togglePosition"; "required": false; }; }, { "opened": "opened"; "closed": "closed"; "expandedChange": "expandedChange"; "afterExpand": "afterExpand"; "afterCollapse": "afterCollapse"; }, ["_lazyContent"], ["mat-expansion-panel-header", "*", "mat-action-row"], false, never>;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
/**
|
|
@@ -322,7 +322,7 @@ export declare class MatExpansionPanelHeader extends _MatExpansionPanelHeaderMix
|
|
|
322
322
|
ngAfterViewInit(): void;
|
|
323
323
|
ngOnDestroy(): void;
|
|
324
324
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelHeader, [{ host: true; }, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
|
|
325
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanelHeader, "mat-expansion-panel-header", never, { "tabIndex": "tabIndex"; "expandedHeight": "expandedHeight"; "collapsedHeight": "collapsedHeight"; }, {}, never, ["mat-panel-title", "mat-panel-description", "*"], false, never>;
|
|
325
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanelHeader, "mat-expansion-panel-header", never, { "tabIndex": { "alias": "tabIndex"; "required": false; }; "expandedHeight": { "alias": "expandedHeight"; "required": false; }; "collapsedHeight": { "alias": "collapsedHeight"; "required": false; }; }, {}, never, ["mat-panel-title", "mat-panel-description", "*"], false, never>;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
/** @docs-private */
|
|
@@ -127,21 +127,5 @@ class MatAutocompleteHarness extends _MatAutocompleteHarnessBase {
|
|
|
127
127
|
/** The selector for the host element of a `MatAutocomplete` instance. */
|
|
128
128
|
MatAutocompleteHarness.hostSelector = '.mat-mdc-autocomplete-trigger';
|
|
129
129
|
|
|
130
|
-
/**
|
|
131
|
-
* @license
|
|
132
|
-
* Copyright Google LLC All Rights Reserved.
|
|
133
|
-
*
|
|
134
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
135
|
-
* found in the LICENSE file at https://angular.io/license
|
|
136
|
-
*/
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @license
|
|
140
|
-
* Copyright Google LLC All Rights Reserved.
|
|
141
|
-
*
|
|
142
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
143
|
-
* found in the LICENSE file at https://angular.io/license
|
|
144
|
-
*/
|
|
145
|
-
|
|
146
130
|
export { MatAutocompleteHarness, _MatAutocompleteHarnessBase };
|
|
147
131
|
//# sourceMappingURL=testing.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/autocomplete/testing/autocomplete-harness.ts","../../../../../../../src/material/autocomplete/testing/public-api.ts","../../../../../../../src/material/autocomplete/testing/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n BaseHarnessFilters,\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '@angular/material/core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport abstract class _MatAutocompleteHarnessBase<\n OptionType extends ComponentHarnessConstructor<Option> & {\n with: (options?: OptionFilters) => HarnessPredicate<Option>;\n },\n Option extends ComponentHarness & {click(): Promise<void>},\n OptionFilters extends BaseHarnessFilters,\n OptionGroupType extends ComponentHarnessConstructor<OptionGroup> & {\n with: (options?: OptionGroupFilters) => HarnessPredicate<OptionGroup>;\n },\n OptionGroup extends ComponentHarness,\n OptionGroupFilters extends BaseHarnessFilters,\n> extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n protected abstract _prefix: string;\n protected abstract _optionClass: OptionType;\n protected abstract _optionGroupClass: OptionGroupType;\n\n /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionFilters, 'ancestor'>): Promise<Option[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n this._optionClass.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(filters?: Omit<OptionGroupFilters, 'ancestor'>): Promise<OptionGroup[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n this._optionGroupClass.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionGroupFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`${this._prefix}-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n private async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-owns')}`;\n }\n}\n\n/** Harness for interacting with an MDC-based mat-autocomplete in tests. */\nexport class MatAutocompleteHarness extends _MatAutocompleteHarnessBase<\n typeof MatOptionHarness,\n MatOptionHarness,\n OptionHarnessFilters,\n typeof MatOptgroupHarness,\n MatOptgroupHarness,\n OptgroupHarnessFilters\n> {\n protected _prefix = 'mat-mdc';\n protected _optionClass = MatOptionHarness;\n protected _optionGroupClass = MatOptgroupHarness;\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './autocomplete-harness';\nexport * from './autocomplete-harness-filters';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAwBM,MAAgB,2BAWpB,SAAQ,gBAAgB,CAAA;AAX1B,IAAA,WAAA,GAAA;;AAYU,QAAA,IAAA,CAAA,oBAAoB,GAAG,IAAI,CAAC,0BAA0B,EAAE,CAAC;KAkGlE;;IA5FO,QAAQ,GAAA;;AACZ,YAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,CAAS,OAAO,CAAC,CAAC;SACzD,CAAA,CAAA;AAAA,KAAA;;IAGK,UAAU,GAAA;;AACd,YAAA,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;AAC9D,YAAA,OAAO,qBAAqB,CAAC,MA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,CAAA;AAAA,KAAA;;IAGa,iBAAiB,GAAA;;AAC7B,YAAA,OAAO,CAAI,CAAA,EAAA,MAAM,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,WAAW,CAAC,EAAE,CAAC;SAClE,CAAA,CAAA;AAAA,KAAA;AACF,CAAA;AAED;AACA,MAAa,+BAA+B,2BAO3C,CAAA;AAPD,IAAA,WAAA,GAAA;;AAQY,QAAA,IAAO,CAAA,OAAA,GAAG,SAAS,CAAC;AACpB,QAAA,IAAY,CAAA,YAAA,GAAG,gBAAgB,CAAC;AAChC,QAAA,IAAiB,CAAA,iBAAA,GAAG,kBAAkB,CAAC;KAuBlD;AAlBC;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAET,OAAA,GAAsC,EAAE,EAAA;AAExC,QAAA,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC;aACvC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAChD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAC1D;AACA,aAAA,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAO,OAAO,EAAE,QAAQ,KAAI,SAAA,CAAA,IAAA,EAAA,KAAA,CAAA,EAAA,KAAA,CAAA,EAAA,aAAA;YACnE,OAAO,CAAC,MAAM,OAAO,CAAC,UAAU,EAAE,MAAM,QAAQ,CAAC;SAClD,CAAA,CAAC,CAAC;KACN;;AApBD;AACO,sBAAY,CAAA,YAAA,GAAG,+BAAH;;ACtJrB;;;;;;AAMG;;ACNH;;;;;;AAMG;;;;"}
|
|
1
|
+
{"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/autocomplete/testing/autocomplete-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n BaseHarnessFilters,\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '@angular/material/core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport abstract class _MatAutocompleteHarnessBase<\n OptionType extends ComponentHarnessConstructor<Option> & {\n with: (options?: OptionFilters) => HarnessPredicate<Option>;\n },\n Option extends ComponentHarness & {click(): Promise<void>},\n OptionFilters extends BaseHarnessFilters,\n OptionGroupType extends ComponentHarnessConstructor<OptionGroup> & {\n with: (options?: OptionGroupFilters) => HarnessPredicate<OptionGroup>;\n },\n OptionGroup extends ComponentHarness,\n OptionGroupFilters extends BaseHarnessFilters,\n> extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n protected abstract _prefix: string;\n protected abstract _optionClass: OptionType;\n protected abstract _optionGroupClass: OptionGroupType;\n\n /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionFilters, 'ancestor'>): Promise<Option[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n this._optionClass.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(filters?: Omit<OptionGroupFilters, 'ancestor'>): Promise<OptionGroup[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n this._optionGroupClass.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionGroupFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`${this._prefix}-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n private async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-owns')}`;\n }\n}\n\n/** Harness for interacting with an MDC-based mat-autocomplete in tests. */\nexport class MatAutocompleteHarness extends _MatAutocompleteHarnessBase<\n typeof MatOptionHarness,\n MatOptionHarness,\n OptionHarnessFilters,\n typeof MatOptgroupHarness,\n MatOptgroupHarness,\n OptgroupHarnessFilters\n> {\n protected _prefix = 'mat-mdc';\n protected _optionClass = MatOptionHarness;\n protected _optionGroupClass = MatOptgroupHarness;\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n}\n"],"names":[],"mappings":";;;;;AAwBM,MAAgB,2BAWpB,SAAQ,gBAAgB,CAAA;AAX1B,IAAA,WAAA,GAAA;;AAYU,QAAA,IAAA,CAAA,oBAAoB,GAAG,IAAI,CAAC,0BAA0B,EAAE,CAAC;KAkGlE;;IA5FO,QAAQ,GAAA;;AACZ,YAAA,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,WAAW,CAAS,OAAO,CAAC,CAAC;SACzD,CAAA,CAAA;AAAA,KAAA;;IAGK,UAAU,GAAA;;AACd,YAAA,MAAM,QAAQ,GAAG,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;AAC9D,YAAA,OAAO,qBAAqB,CAAC,MAAM,QAAQ,CAAC,CAAC;SAC9C,CAAA,CAAA;AAAA,KAAA;;IAGK,KAAK,GAAA;;YACT,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC;SACpC,CAAA,CAAA;AAAA,KAAA;;IAGK,IAAI,GAAA;;YACR,OAAO,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC;SACnC,CAAA,CAAA;AAAA,KAAA;;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GAAG,SAAS,CAAC;AACpB,QAAA,IAAY,CAAA,YAAA,GAAG,gBAAgB,CAAC;AAChC,QAAA,IAAiB,CAAA,iBAAA,GAAG,kBAAkB,CAAC;KAuBlD;AAlBC;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAET,OAAA,GAAsC,EAAE,EAAA;AAExC,QAAA,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAE,OAAO,CAAC;aACvC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAChD,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAC1D;AACA,aAAA,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAO,OAAO,EAAE,QAAQ,KAAI,SAAA,CAAA,IAAA,EAAA,KAAA,CAAA,EAAA,KAAA,CAAA,EAAA,aAAA;YACnE,OAAO,CAAC,MAAM,OAAO,CAAC,UAAU,EAAE,MAAM,QAAQ,CAAC;SAClD,CAAA,CAAC,CAAC;KACN;;AApBD;AACO,sBAAY,CAAA,YAAA,GAAG,+BAAH;;;;"}
|
|
@@ -21,13 +21,6 @@ import { MAT_FORM_FIELD } from '@angular/material/form-field';
|
|
|
21
21
|
import { startWith, switchMap, take, filter, map, tap, delay } from 'rxjs/operators';
|
|
22
22
|
import * as i2$1 from '@angular/cdk/bidi';
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
* @license
|
|
26
|
-
* Copyright Google LLC All Rights Reserved.
|
|
27
|
-
*
|
|
28
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
29
|
-
* found in the LICENSE file at https://angular.io/license
|
|
30
|
-
*/
|
|
31
24
|
// Animation values come from
|
|
32
25
|
// https://github.com/material-components/material-components-web/blob/master/packages/mdc-menu-surface/_mixins.scss
|
|
33
26
|
// TODO(mmalerba): Ideally find a way to import the values from MDC's code.
|
|
@@ -45,13 +38,6 @@ const panelAnimation = trigger('panelAnimation', [
|
|
|
45
38
|
transition(':leave, visible => hidden', [animate('0.075s linear', style({ opacity: 0 }))]),
|
|
46
39
|
]);
|
|
47
40
|
|
|
48
|
-
/**
|
|
49
|
-
* @license
|
|
50
|
-
* Copyright Google LLC All Rights Reserved.
|
|
51
|
-
*
|
|
52
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
53
|
-
* found in the LICENSE file at https://angular.io/license
|
|
54
|
-
*/
|
|
55
41
|
/**
|
|
56
42
|
* Autocomplete IDs need to be unique across components, so this counter exists outside of
|
|
57
43
|
* the component definition.
|
|
@@ -142,8 +128,6 @@ class _MatAutocompleteBase extends _MatAutocompleteMixinBase {
|
|
|
142
128
|
this._isOpen = false;
|
|
143
129
|
/** Function that maps an option's control value to its display value in the trigger. */
|
|
144
130
|
this.displayWith = null;
|
|
145
|
-
this._autoActiveFirstOption = !!this._defaults.autoActiveFirstOption;
|
|
146
|
-
this._autoSelectActiveOption = !!this._defaults.autoSelectActiveOption;
|
|
147
131
|
/** Event that is emitted whenever an option from the list is selected. */
|
|
148
132
|
this.optionSelected = new EventEmitter();
|
|
149
133
|
/** Event that is emitted when the autocomplete panel is opened. */
|
|
@@ -160,9 +144,13 @@ class _MatAutocompleteBase extends _MatAutocompleteMixinBase {
|
|
|
160
144
|
// wasn't resolved in VoiceOver, and if it has, we can remove this and the `inertGroups`
|
|
161
145
|
// option altogether.
|
|
162
146
|
this.inertGroups = (platform === null || platform === void 0 ? void 0 : platform.SAFARI) || false;
|
|
147
|
+
this._autoActiveFirstOption = !!_defaults.autoActiveFirstOption;
|
|
148
|
+
this._autoSelectActiveOption = !!_defaults.autoSelectActiveOption;
|
|
163
149
|
}
|
|
164
150
|
ngAfterContentInit() {
|
|
165
|
-
this._keyManager = new ActiveDescendantKeyManager(this.options)
|
|
151
|
+
this._keyManager = new ActiveDescendantKeyManager(this.options)
|
|
152
|
+
.withWrap()
|
|
153
|
+
.skipPredicate(this._skipPredicate);
|
|
166
154
|
this._activeOptionChanges = this._keyManager.change.subscribe(index => {
|
|
167
155
|
if (this.isOpen) {
|
|
168
156
|
this.optionActivated.emit({ source: this, option: this.options.toArray()[index] || null });
|
|
@@ -219,10 +207,13 @@ class _MatAutocompleteBase extends _MatAutocompleteMixinBase {
|
|
|
219
207
|
classList['mat-warn'] = this._color === 'warn';
|
|
220
208
|
classList['mat-accent'] = this._color === 'accent';
|
|
221
209
|
}
|
|
210
|
+
_skipPredicate(option) {
|
|
211
|
+
return option.disabled;
|
|
212
|
+
}
|
|
222
213
|
}
|
|
223
|
-
_MatAutocompleteBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
224
|
-
_MatAutocompleteBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
214
|
+
_MatAutocompleteBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: _MatAutocompleteBase, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Directive });
|
|
215
|
+
_MatAutocompleteBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: _MatAutocompleteBase, inputs: { ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], displayWith: "displayWith", autoActiveFirstOption: "autoActiveFirstOption", autoSelectActiveOption: "autoSelectActiveOption", panelWidth: "panelWidth", classList: ["class", "classList"] }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed", optionActivated: "optionActivated" }, viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: _MatAutocompleteBase, decorators: [{
|
|
226
217
|
type: Directive
|
|
227
218
|
}], ctorParameters: function () {
|
|
228
219
|
return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
@@ -285,10 +276,27 @@ class MatAutocomplete extends _MatAutocompleteBase {
|
|
|
285
276
|
}
|
|
286
277
|
}
|
|
287
278
|
}
|
|
279
|
+
// `skipPredicate` determines if key manager should avoid putting a given option in the tab
|
|
280
|
+
// order. Allow disabled list items to receive focus via keyboard to align with WAI ARIA
|
|
281
|
+
// recommendation.
|
|
282
|
+
//
|
|
283
|
+
// Normally WAI ARIA's instructions are to exclude disabled items from the tab order, but it
|
|
284
|
+
// makes a few exceptions for compound widgets.
|
|
285
|
+
//
|
|
286
|
+
// From [Developing a Keyboard Interface](
|
|
287
|
+
// https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/):
|
|
288
|
+
// "For the following composite widget elements, keep them focusable when disabled: Options in a
|
|
289
|
+
// Listbox..."
|
|
290
|
+
//
|
|
291
|
+
// The user can focus disabled options using the keyboard, but the user cannot click disabled
|
|
292
|
+
// options.
|
|
293
|
+
_skipPredicate(_option) {
|
|
294
|
+
return false;
|
|
295
|
+
}
|
|
288
296
|
}
|
|
289
|
-
MatAutocomplete.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
290
|
-
MatAutocomplete.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
297
|
+
MatAutocomplete.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocomplete, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
298
|
+
MatAutocomplete.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatAutocomplete, selector: "mat-autocomplete", inputs: { disableRipple: "disableRipple", hideSingleSelectionIndicator: "hideSingleSelectionIndicator" }, host: { attributes: { "ngSkipHydration": "true" }, classAttribute: "mat-mdc-autocomplete" }, providers: [{ provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatAutocomplete }], queries: [{ propertyName: "optionGroups", predicate: MAT_OPTGROUP, descendants: true }, { propertyName: "options", predicate: MatOption, descendants: true }], exportAs: ["matAutocomplete"], usesInheritance: true, ngImport: i0, template: "<ng-template let-formFieldId=\"id\">\n <div\n class=\"mat-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\n role=\"listbox\"\n [id]=\"id\"\n [ngClass]=\"_classList\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby(formFieldId)\"\n [@panelAnimation]=\"isOpen ? 'visible' : 'hidden'\"\n #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [panelAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocomplete, decorators: [{
|
|
292
300
|
type: Component,
|
|
293
301
|
args: [{ selector: 'mat-autocomplete', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'matAutocomplete', inputs: ['disableRipple'], host: {
|
|
294
302
|
'class': 'mat-mdc-autocomplete',
|
|
@@ -304,13 +312,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
304
312
|
type: Input
|
|
305
313
|
}] } });
|
|
306
314
|
|
|
307
|
-
/**
|
|
308
|
-
* @license
|
|
309
|
-
* Copyright Google LLC All Rights Reserved.
|
|
310
|
-
*
|
|
311
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
312
|
-
* found in the LICENSE file at https://angular.io/license
|
|
313
|
-
*/
|
|
314
315
|
/**
|
|
315
316
|
* Provider that allows the autocomplete to register as a ControlValueAccessor.
|
|
316
317
|
* @docs-private
|
|
@@ -848,15 +849,27 @@ class _MatAutocompleteTriggerBase {
|
|
|
848
849
|
return this._getConnectedElement().nativeElement.getBoundingClientRect().width;
|
|
849
850
|
}
|
|
850
851
|
/**
|
|
851
|
-
*
|
|
852
|
-
*
|
|
852
|
+
* Reset the active item to -1. This is so that pressing arrow keys will activate the correct
|
|
853
|
+
* option.
|
|
854
|
+
*
|
|
855
|
+
* If the consumer opted-in to automatically activatating the first option, activate the first
|
|
856
|
+
* *enabled* option.
|
|
853
857
|
*/
|
|
854
858
|
_resetActiveItem() {
|
|
855
859
|
const autocomplete = this.autocomplete;
|
|
856
860
|
if (autocomplete.autoActiveFirstOption) {
|
|
857
|
-
//
|
|
858
|
-
//
|
|
859
|
-
|
|
861
|
+
// Find the index of the first *enabled* option. Avoid calling `_keyManager.setActiveItem`
|
|
862
|
+
// because it activates the first option that passes the skip predicate, rather than the
|
|
863
|
+
// first *enabled* option.
|
|
864
|
+
let firstEnabledOptionIndex = -1;
|
|
865
|
+
for (let index = 0; index < autocomplete.options.length; index++) {
|
|
866
|
+
const option = autocomplete.options.get(index);
|
|
867
|
+
if (!option.disabled) {
|
|
868
|
+
firstEnabledOptionIndex = index;
|
|
869
|
+
break;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
autocomplete._keyManager.setActiveItem(firstEnabledOptionIndex);
|
|
860
873
|
}
|
|
861
874
|
else {
|
|
862
875
|
autocomplete._keyManager.setActiveItem(-1);
|
|
@@ -928,9 +941,9 @@ class _MatAutocompleteTriggerBase {
|
|
|
928
941
|
overlayRef.outsidePointerEvents().subscribe();
|
|
929
942
|
}
|
|
930
943
|
}
|
|
931
|
-
_MatAutocompleteTriggerBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
932
|
-
_MatAutocompleteTriggerBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
944
|
+
_MatAutocompleteTriggerBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: _MatAutocompleteTriggerBase, deps: [{ token: i0.ElementRef }, { token: i1$1.Overlay }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: MAT_AUTOCOMPLETE_SCROLL_STRATEGY }, { token: i2$1.Directionality, optional: true }, { token: MAT_FORM_FIELD, host: true, optional: true }, { token: DOCUMENT, optional: true }, { token: i3.ViewportRuler }, { token: MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
945
|
+
_MatAutocompleteTriggerBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: _MatAutocompleteTriggerBase, inputs: { autocomplete: ["matAutocomplete", "autocomplete"], position: ["matAutocompletePosition", "position"], connectedTo: ["matAutocompleteConnectedTo", "connectedTo"], autocompleteAttribute: ["autocomplete", "autocompleteAttribute"], autocompleteDisabled: ["matAutocompleteDisabled", "autocompleteDisabled"] }, usesOnChanges: true, ngImport: i0 });
|
|
946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: _MatAutocompleteTriggerBase, decorators: [{
|
|
934
947
|
type: Directive
|
|
935
948
|
}], ctorParameters: function () {
|
|
936
949
|
return [{ type: i0.ElementRef }, { type: i1$1.Overlay }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
@@ -978,9 +991,9 @@ class MatAutocompleteTrigger extends _MatAutocompleteTriggerBase {
|
|
|
978
991
|
this._aboveClass = 'mat-mdc-autocomplete-panel-above';
|
|
979
992
|
}
|
|
980
993
|
}
|
|
981
|
-
MatAutocompleteTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
982
|
-
MatAutocompleteTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
994
|
+
MatAutocompleteTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocompleteTrigger, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
995
|
+
MatAutocompleteTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", host: { listeners: { "focusin": "_handleFocus()", "blur": "_onTouched()", "input": "_handleInput($event)", "keydown": "_handleKeydown($event)", "click": "_handleClick()" }, properties: { "attr.autocomplete": "autocompleteAttribute", "attr.role": "autocompleteDisabled ? null : \"combobox\"", "attr.aria-autocomplete": "autocompleteDisabled ? null : \"list\"", "attr.aria-activedescendant": "(panelOpen && activeOption) ? activeOption.id : null", "attr.aria-expanded": "autocompleteDisabled ? null : panelOpen.toString()", "attr.aria-owns": "(autocompleteDisabled || !panelOpen) ? null : autocomplete?.id", "attr.aria-haspopup": "autocompleteDisabled ? null : \"listbox\"" }, classAttribute: "mat-mdc-autocomplete-trigger" }, providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: ["matAutocompleteTrigger"], usesInheritance: true, ngImport: i0 });
|
|
996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocompleteTrigger, decorators: [{
|
|
984
997
|
type: Directive,
|
|
985
998
|
args: [{
|
|
986
999
|
selector: `input[matAutocomplete], textarea[matAutocomplete]`,
|
|
@@ -1006,13 +1019,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1006
1019
|
}]
|
|
1007
1020
|
}] });
|
|
1008
1021
|
|
|
1009
|
-
/**
|
|
1010
|
-
* @license
|
|
1011
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1012
|
-
*
|
|
1013
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1014
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1015
|
-
*/
|
|
1016
1022
|
/** Base class containing all of the functionality for `MatAutocompleteOrigin`. */
|
|
1017
1023
|
class _MatAutocompleteOriginBase {
|
|
1018
1024
|
constructor(
|
|
@@ -1021,9 +1027,9 @@ class _MatAutocompleteOriginBase {
|
|
|
1021
1027
|
this.elementRef = elementRef;
|
|
1022
1028
|
}
|
|
1023
1029
|
}
|
|
1024
|
-
_MatAutocompleteOriginBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1025
|
-
_MatAutocompleteOriginBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1030
|
+
_MatAutocompleteOriginBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: _MatAutocompleteOriginBase, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1031
|
+
_MatAutocompleteOriginBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: _MatAutocompleteOriginBase, ngImport: i0 });
|
|
1032
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: _MatAutocompleteOriginBase, decorators: [{
|
|
1027
1033
|
type: Directive
|
|
1028
1034
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1029
1035
|
/**
|
|
@@ -1032,9 +1038,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1032
1038
|
*/
|
|
1033
1039
|
class MatAutocompleteOrigin extends _MatAutocompleteOriginBase {
|
|
1034
1040
|
}
|
|
1035
|
-
MatAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1036
|
-
MatAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1041
|
+
MatAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocompleteOrigin, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1042
|
+
MatAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatAutocompleteOrigin, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], usesInheritance: true, ngImport: i0 });
|
|
1043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
|
|
1038
1044
|
type: Directive,
|
|
1039
1045
|
args: [{
|
|
1040
1046
|
selector: '[matAutocompleteOrigin]',
|
|
@@ -1042,26 +1048,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1042
1048
|
}]
|
|
1043
1049
|
}] });
|
|
1044
1050
|
|
|
1045
|
-
/**
|
|
1046
|
-
* @license
|
|
1047
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1048
|
-
*
|
|
1049
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1050
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1051
|
-
*/
|
|
1052
1051
|
class MatAutocompleteModule {
|
|
1053
1052
|
}
|
|
1054
|
-
MatAutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1055
|
-
MatAutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1053
|
+
MatAutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1054
|
+
MatAutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocompleteModule, declarations: [MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteOrigin], imports: [OverlayModule, MatOptionModule, MatCommonModule, CommonModule], exports: [CdkScrollableModule,
|
|
1056
1055
|
MatAutocomplete,
|
|
1057
1056
|
MatOptionModule,
|
|
1058
1057
|
MatCommonModule,
|
|
1059
1058
|
MatAutocompleteTrigger,
|
|
1060
1059
|
MatAutocompleteOrigin] });
|
|
1061
|
-
MatAutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1060
|
+
MatAutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [OverlayModule, MatOptionModule, MatCommonModule, CommonModule, CdkScrollableModule,
|
|
1062
1061
|
MatOptionModule,
|
|
1063
1062
|
MatCommonModule] });
|
|
1064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatAutocompleteModule, decorators: [{
|
|
1065
1064
|
type: NgModule,
|
|
1066
1065
|
args: [{
|
|
1067
1066
|
imports: [OverlayModule, MatOptionModule, MatCommonModule, CommonModule],
|
|
@@ -1078,22 +1077,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1078
1077
|
}]
|
|
1079
1078
|
}] });
|
|
1080
1079
|
|
|
1081
|
-
/**
|
|
1082
|
-
* @license
|
|
1083
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1084
|
-
*
|
|
1085
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1086
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1087
|
-
*/
|
|
1088
|
-
|
|
1089
|
-
/**
|
|
1090
|
-
* @license
|
|
1091
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1092
|
-
*
|
|
1093
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1094
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1095
|
-
*/
|
|
1096
|
-
|
|
1097
1080
|
/**
|
|
1098
1081
|
* Generated bundle index. Do not edit.
|
|
1099
1082
|
*/
|