@angular/material 16.1.0-next.1 → 16.1.0-rc.0
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/_index.scss +7 -4
- package/_token-theming.scss +2 -0
- package/autocomplete/index.d.ts +6 -6
- package/badge/index.d.ts +1 -1
- package/bottom-sheet/index.d.ts +1 -1
- package/button/_button-base.import.scss +2 -2
- package/button/_icon-button-theme.scss +0 -1
- package/button/index.d.ts +10 -10
- package/button-toggle/index.d.ts +2 -2
- package/card/_card-theme.import.scss +1 -1
- package/card/_card-theme.scss +11 -0
- package/card/index.d.ts +14 -14
- package/checkbox/_checkbox-theme.import.scss +1 -1
- package/checkbox/_checkbox-theme.scss +9 -0
- package/checkbox/index.d.ts +3 -3
- package/chips/index.d.ts +12 -12
- package/core/index.d.ts +7 -7
- package/core/mdc-helpers/_mdc-helpers.scss +13 -28
- package/core/style/_sass-utils.scss +32 -2
- package/core/tokens/_token-utils.scss +3 -12
- package/core/tokens/m2/_index.scss +84 -0
- package/core/tokens/m2/mat/_card.scss +17 -16
- package/core/tokens/m2/mat/_radio.scss +6 -5
- package/core/tokens/m2/mat/_snack-bar.scss +6 -5
- package/core/tokens/m2/mat/_tab-header-with-background.scss +6 -5
- package/core/tokens/m2/mat/_tab-header.scss +2 -1
- package/core/tokens/m2/mdc/_checkbox.scss +39 -38
- package/core/tokens/m2/mdc/_chip.scss +2 -2
- package/core/tokens/m2/mdc/_circular-progress.scss +5 -8
- package/core/tokens/m2/mdc/_dialog.scss +6 -7
- package/core/tokens/m2/mdc/_elevated-card.scss +2 -1
- package/core/tokens/m2/mdc/_icon-button.scss +5 -13
- package/core/tokens/m2/mdc/_linear-progress.scss +9 -11
- package/core/tokens/m2/mdc/_list.scss +102 -101
- package/core/tokens/m2/mdc/_outlined-card.scss +2 -1
- package/core/tokens/m2/mdc/_plain-tooltip.scss +6 -9
- package/core/tokens/m2/mdc/_radio.scss +6 -7
- package/core/tokens/m2/mdc/_snack-bar.scss +6 -8
- package/core/tokens/m2/mdc/_tab-indicator.scss +6 -6
- package/core/tokens/m2/mdc/_tab.scss +6 -6
- package/core/typography/_all-typography.scss +1 -154
- package/core/typography/_typography.scss +162 -0
- package/datepicker/index.d.ts +21 -21
- package/dialog/index.d.ts +6 -6
- package/divider/index.d.ts +1 -1
- package/esm2022/autocomplete/autocomplete-origin.mjs +9 -11
- package/esm2022/autocomplete/autocomplete-trigger.mjs +9 -11
- package/esm2022/autocomplete/autocomplete.mjs +9 -11
- package/esm2022/autocomplete/module.mjs +6 -7
- package/esm2022/autocomplete/testing/autocomplete-harness.mjs +2 -3
- package/esm2022/badge/badge-module.mjs +6 -7
- package/esm2022/badge/badge.mjs +5 -6
- package/esm2022/badge/testing/badge-harness.mjs +2 -3
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +5 -6
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +6 -7
- package/esm2022/bottom-sheet/bottom-sheet.mjs +5 -6
- package/esm2022/bottom-sheet/testing/bottom-sheet-harness.mjs +2 -3
- package/esm2022/button/button-base.mjs +9 -11
- package/esm2022/button/button-lazy-loader.mjs +5 -6
- package/esm2022/button/button.mjs +9 -11
- package/esm2022/button/fab.mjs +17 -21
- package/esm2022/button/icon-button.mjs +9 -11
- package/esm2022/button/module.mjs +6 -7
- package/esm2022/button/testing/button-harness.mjs +2 -3
- package/esm2022/button-toggle/button-toggle-module.mjs +6 -7
- package/esm2022/button-toggle/button-toggle.mjs +9 -11
- package/esm2022/button-toggle/testing/button-toggle-group-harness.mjs +2 -3
- package/esm2022/button-toggle/testing/button-toggle-harness.mjs +2 -3
- package/esm2022/card/card.mjs +57 -71
- package/esm2022/card/module.mjs +6 -7
- package/esm2022/card/testing/card-harness.mjs +2 -3
- package/esm2022/checkbox/checkbox-required-validator.mjs +5 -6
- package/esm2022/checkbox/checkbox.mjs +9 -11
- package/esm2022/checkbox/module.mjs +11 -13
- package/esm2022/checkbox/testing/checkbox-harness.mjs +2 -3
- package/esm2022/chips/chip-action.mjs +5 -6
- package/esm2022/chips/chip-edit-input.mjs +5 -6
- package/esm2022/chips/chip-grid.mjs +7 -8
- package/esm2022/chips/chip-icons.mjs +13 -16
- package/esm2022/chips/chip-input.mjs +5 -6
- package/esm2022/chips/chip-listbox.mjs +7 -8
- package/esm2022/chips/chip-option.mjs +5 -6
- package/esm2022/chips/chip-row.mjs +5 -6
- package/esm2022/chips/chip-set.mjs +7 -8
- package/esm2022/chips/chip.mjs +5 -6
- package/esm2022/chips/module.mjs +6 -7
- package/esm2022/chips/testing/chip-avatar-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-edit-input-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-grid-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-input-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-listbox-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-option-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-remove-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-row-harness.mjs +2 -3
- package/esm2022/chips/testing/chip-set-harness.mjs +2 -3
- package/esm2022/core/animation/animation.mjs +3 -5
- package/esm2022/core/common-behaviors/common-module.mjs +6 -7
- package/esm2022/core/datetime/index.mjs +11 -13
- package/esm2022/core/datetime/native-date-adapter.mjs +5 -6
- package/esm2022/core/error/error-options.mjs +9 -11
- package/esm2022/core/line/line.mjs +10 -12
- package/esm2022/core/option/index.mjs +6 -7
- package/esm2022/core/option/optgroup.mjs +10 -12
- package/esm2022/core/option/option.mjs +9 -11
- package/esm2022/core/ripple/index.mjs +6 -7
- package/esm2022/core/ripple/ripple-renderer.mjs +2 -3
- package/esm2022/core/ripple/ripple.mjs +5 -6
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +6 -7
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -6
- package/esm2022/core/testing/optgroup-harness.mjs +2 -3
- package/esm2022/core/testing/option-harness.mjs +2 -3
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +5 -6
- package/esm2022/datepicker/calendar.mjs +9 -11
- package/esm2022/datepicker/date-range-input-parts.mjs +12 -14
- package/esm2022/datepicker/date-range-input.mjs +5 -6
- package/esm2022/datepicker/date-range-picker.mjs +5 -6
- package/esm2022/datepicker/date-range-selection-strategy.mjs +5 -6
- package/esm2022/datepicker/date-selection-model.mjs +13 -16
- package/esm2022/datepicker/datepicker-actions.mjs +13 -16
- package/esm2022/datepicker/datepicker-base.mjs +9 -11
- package/esm2022/datepicker/datepicker-input-base.mjs +5 -6
- package/esm2022/datepicker/datepicker-input.mjs +5 -6
- package/esm2022/datepicker/datepicker-intl.mjs +5 -6
- package/esm2022/datepicker/datepicker-module.mjs +6 -7
- package/esm2022/datepicker/datepicker-toggle.mjs +9 -11
- package/esm2022/datepicker/datepicker.mjs +5 -6
- package/esm2022/datepicker/month-view.mjs +5 -6
- package/esm2022/datepicker/multi-year-view.mjs +5 -6
- package/esm2022/datepicker/testing/calendar-cell-harness.mjs +2 -3
- package/esm2022/datepicker/testing/calendar-harness.mjs +2 -3
- package/esm2022/datepicker/testing/date-range-input-harness.mjs +4 -7
- package/esm2022/datepicker/testing/datepicker-input-harness.mjs +2 -3
- package/esm2022/datepicker/testing/datepicker-toggle-harness.mjs +2 -3
- package/esm2022/datepicker/year-view.mjs +5 -6
- package/esm2022/dialog/dialog-container.mjs +9 -11
- package/esm2022/dialog/dialog-content-directives.mjs +17 -21
- package/esm2022/dialog/dialog.mjs +9 -11
- package/esm2022/dialog/module.mjs +6 -7
- package/esm2022/dialog/testing/dialog-harness.mjs +2 -3
- package/esm2022/dialog/testing/dialog-opener.mjs +5 -7
- package/esm2022/divider/divider-module.mjs +6 -7
- package/esm2022/divider/divider.mjs +5 -6
- package/esm2022/divider/testing/divider-harness.mjs +2 -3
- package/esm2022/expansion/accordion.mjs +5 -6
- package/esm2022/expansion/expansion-module.mjs +6 -7
- package/esm2022/expansion/expansion-panel-content.mjs +5 -6
- package/esm2022/expansion/expansion-panel-header.mjs +13 -16
- package/esm2022/expansion/expansion-panel.mjs +9 -11
- package/esm2022/expansion/testing/accordion-harness.mjs +2 -3
- package/esm2022/expansion/testing/expansion-harness.mjs +2 -3
- package/esm2022/form-field/directives/error.mjs +5 -6
- package/esm2022/form-field/directives/floating-label.mjs +5 -6
- package/esm2022/form-field/directives/hint.mjs +5 -6
- package/esm2022/form-field/directives/label.mjs +5 -6
- package/esm2022/form-field/directives/line-ripple.mjs +5 -6
- package/esm2022/form-field/directives/notched-outline.mjs +5 -6
- package/esm2022/form-field/directives/prefix.mjs +5 -6
- package/esm2022/form-field/directives/suffix.mjs +5 -6
- package/esm2022/form-field/form-field-control.mjs +5 -6
- package/esm2022/form-field/form-field.mjs +5 -6
- package/esm2022/form-field/module.mjs +6 -7
- package/esm2022/form-field/testing/error-harness.mjs +2 -3
- package/esm2022/form-field/testing/form-field-harness.mjs +2 -3
- package/esm2022/grid-list/grid-list-module.mjs +6 -7
- package/esm2022/grid-list/grid-list.mjs +5 -6
- package/esm2022/grid-list/grid-tile.mjs +21 -26
- package/esm2022/grid-list/testing/grid-list-harness.mjs +2 -3
- package/esm2022/grid-list/testing/grid-tile-harness.mjs +2 -3
- package/esm2022/icon/icon-module.mjs +6 -7
- package/esm2022/icon/icon-registry.mjs +5 -6
- package/esm2022/icon/icon.mjs +5 -6
- package/esm2022/icon/testing/fake-icon-registry.mjs +10 -12
- package/esm2022/icon/testing/icon-harness.mjs +2 -3
- package/esm2022/input/input.mjs +5 -6
- package/esm2022/input/module.mjs +6 -7
- package/esm2022/input/testing/input-harness.mjs +2 -3
- package/esm2022/input/testing/native-option-harness.mjs +2 -3
- package/esm2022/input/testing/native-select-harness.mjs +2 -3
- package/esm2022/legacy-autocomplete/autocomplete-module.mjs +6 -7
- package/esm2022/legacy-autocomplete/autocomplete-origin.mjs +5 -6
- package/esm2022/legacy-autocomplete/autocomplete-trigger.mjs +5 -6
- package/esm2022/legacy-autocomplete/autocomplete.mjs +5 -6
- package/esm2022/legacy-autocomplete/testing/autocomplete-harness.mjs +2 -3
- package/esm2022/legacy-button/button-module.mjs +6 -7
- package/esm2022/legacy-button/button.mjs +9 -11
- package/esm2022/legacy-button/testing/button-harness.mjs +2 -3
- package/esm2022/legacy-card/card-module.mjs +6 -7
- package/esm2022/legacy-card/card.mjs +57 -71
- package/esm2022/legacy-card/testing/card-harness.mjs +2 -3
- package/esm2022/legacy-checkbox/checkbox-module.mjs +6 -7
- package/esm2022/legacy-checkbox/checkbox.mjs +5 -6
- package/esm2022/legacy-checkbox/testing/checkbox-harness.mjs +2 -3
- package/esm2022/legacy-chips/chip-input.mjs +5 -6
- package/esm2022/legacy-chips/chip-list.mjs +5 -6
- package/esm2022/legacy-chips/chip.mjs +17 -21
- package/esm2022/legacy-chips/chips-module.mjs +6 -7
- package/esm2022/legacy-chips/testing/chip-avatar-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-input-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-list-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-listbox-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-option-harness.mjs +2 -3
- package/esm2022/legacy-chips/testing/chip-remove-harness.mjs +2 -3
- package/esm2022/legacy-core/option/index.mjs +6 -7
- package/esm2022/legacy-core/option/optgroup.mjs +5 -6
- package/esm2022/legacy-core/option/option.mjs +5 -6
- package/esm2022/legacy-core/testing/optgroup-harness.mjs +2 -3
- package/esm2022/legacy-core/testing/option-harness.mjs +2 -3
- package/esm2022/legacy-dialog/dialog-container.mjs +5 -6
- package/esm2022/legacy-dialog/dialog-content-directives.mjs +17 -21
- package/esm2022/legacy-dialog/dialog-module.mjs +6 -7
- package/esm2022/legacy-dialog/dialog.mjs +5 -6
- package/esm2022/legacy-dialog/testing/dialog-harness.mjs +2 -3
- package/esm2022/legacy-dialog/testing/dialog-opener.mjs +3 -5
- package/esm2022/legacy-form-field/error.mjs +5 -6
- package/esm2022/legacy-form-field/form-field-module.mjs +6 -7
- package/esm2022/legacy-form-field/form-field.mjs +5 -6
- package/esm2022/legacy-form-field/hint.mjs +5 -6
- package/esm2022/legacy-form-field/label.mjs +5 -6
- package/esm2022/legacy-form-field/placeholder.mjs +5 -6
- package/esm2022/legacy-form-field/prefix.mjs +5 -6
- package/esm2022/legacy-form-field/suffix.mjs +5 -6
- package/esm2022/legacy-form-field/testing/error-harness.mjs +2 -3
- package/esm2022/legacy-form-field/testing/form-field-harness.mjs +2 -3
- package/esm2022/legacy-input/input-module.mjs +6 -7
- package/esm2022/legacy-input/input.mjs +5 -6
- package/esm2022/legacy-list/list-module.mjs +6 -7
- package/esm2022/legacy-list/list.mjs +25 -31
- package/esm2022/legacy-list/selection-list.mjs +9 -11
- package/esm2022/legacy-list/testing/action-list-harness.mjs +3 -5
- package/esm2022/legacy-list/testing/list-harness.mjs +3 -5
- package/esm2022/legacy-list/testing/list-item-harness-base.mjs +2 -3
- package/esm2022/legacy-list/testing/nav-list-harness.mjs +3 -5
- package/esm2022/legacy-list/testing/selection-list-harness.mjs +3 -5
- package/esm2022/legacy-menu/menu-content.mjs +5 -6
- package/esm2022/legacy-menu/menu-item.mjs +5 -6
- package/esm2022/legacy-menu/menu-module.mjs +6 -7
- package/esm2022/legacy-menu/menu-trigger.mjs +5 -6
- package/esm2022/legacy-menu/menu.mjs +5 -6
- package/esm2022/legacy-menu/testing/menu-harness.mjs +3 -5
- package/esm2022/legacy-paginator/paginator-module.mjs +6 -7
- package/esm2022/legacy-paginator/paginator.mjs +5 -6
- package/esm2022/legacy-paginator/testing/paginator-harness.mjs +2 -3
- package/esm2022/legacy-progress-bar/progress-bar-module.mjs +6 -7
- package/esm2022/legacy-progress-bar/progress-bar.mjs +5 -6
- package/esm2022/legacy-progress-bar/testing/progress-bar-harness.mjs +2 -3
- package/esm2022/legacy-progress-spinner/progress-spinner-module.mjs +6 -7
- package/esm2022/legacy-progress-spinner/progress-spinner.mjs +5 -6
- package/esm2022/legacy-progress-spinner/testing/progress-spinner-harness.mjs +2 -3
- package/esm2022/legacy-radio/radio-module.mjs +6 -7
- package/esm2022/legacy-radio/radio.mjs +9 -11
- package/esm2022/legacy-radio/testing/radio-harness.mjs +3 -5
- package/esm2022/legacy-select/public-api.mjs +2 -2
- package/esm2022/legacy-select/select-module.mjs +6 -7
- package/esm2022/legacy-select/select.mjs +9 -11
- package/esm2022/legacy-select/testing/select-harness.mjs +2 -3
- package/esm2022/legacy-slide-toggle/slide-toggle-module.mjs +6 -7
- package/esm2022/legacy-slide-toggle/slide-toggle.mjs +5 -6
- package/esm2022/legacy-slide-toggle/testing/slide-toggle-harness.mjs +2 -3
- package/esm2022/legacy-slider/slider-module.mjs +6 -7
- package/esm2022/legacy-slider/slider.mjs +5 -6
- package/esm2022/legacy-slider/testing/slider-harness.mjs +2 -3
- package/esm2022/legacy-snack-bar/simple-snack-bar.mjs +5 -6
- package/esm2022/legacy-snack-bar/snack-bar-container.mjs +5 -6
- package/esm2022/legacy-snack-bar/snack-bar-module.mjs +6 -7
- package/esm2022/legacy-snack-bar/snack-bar.mjs +5 -6
- package/esm2022/legacy-snack-bar/testing/snack-bar-harness.mjs +2 -3
- package/esm2022/legacy-table/cell.mjs +29 -36
- package/esm2022/legacy-table/row.mjs +29 -36
- package/esm2022/legacy-table/table-module.mjs +6 -7
- package/esm2022/legacy-table/table.mjs +9 -11
- package/esm2022/legacy-table/testing/cell-harness.mjs +4 -7
- package/esm2022/legacy-table/testing/row-harness.mjs +4 -7
- package/esm2022/legacy-table/testing/table-harness.mjs +2 -3
- package/esm2022/legacy-table/text-column.mjs +5 -6
- package/esm2022/legacy-tabs/ink-bar.mjs +5 -6
- package/esm2022/legacy-tabs/tab-body.mjs +9 -11
- package/esm2022/legacy-tabs/tab-content.mjs +5 -6
- package/esm2022/legacy-tabs/tab-group.mjs +5 -6
- package/esm2022/legacy-tabs/tab-header.mjs +5 -6
- package/esm2022/legacy-tabs/tab-label-wrapper.mjs +5 -6
- package/esm2022/legacy-tabs/tab-label.mjs +5 -6
- package/esm2022/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +13 -16
- package/esm2022/legacy-tabs/tab.mjs +5 -6
- package/esm2022/legacy-tabs/tabs-module.mjs +6 -7
- package/esm2022/legacy-tabs/testing/tab-group-harness.mjs +2 -3
- package/esm2022/legacy-tabs/testing/tab-harness.mjs +2 -3
- package/esm2022/legacy-tabs/testing/tab-link-harness.mjs +2 -3
- package/esm2022/legacy-tabs/testing/tab-nav-bar-harness.mjs +2 -3
- package/esm2022/legacy-tabs/testing/tab-nav-panel-harness.mjs +2 -3
- package/esm2022/legacy-tooltip/testing/tooltip-harness.mjs +2 -3
- package/esm2022/legacy-tooltip/tooltip-module.mjs +6 -7
- package/esm2022/legacy-tooltip/tooltip.mjs +9 -11
- package/esm2022/list/action-list.mjs +5 -6
- package/esm2022/list/list-base.mjs +11 -11
- package/esm2022/list/list-item-sections.mjs +25 -31
- package/esm2022/list/list-module.mjs +6 -7
- package/esm2022/list/list-option.mjs +5 -6
- package/esm2022/list/list.mjs +9 -11
- package/esm2022/list/nav-list.mjs +5 -6
- package/esm2022/list/selection-list.mjs +5 -6
- package/esm2022/list/subheader.mjs +5 -6
- package/esm2022/list/testing/action-list-harness.mjs +3 -5
- package/esm2022/list/testing/list-harness.mjs +3 -5
- package/esm2022/list/testing/list-item-harness-base.mjs +2 -3
- package/esm2022/list/testing/nav-list-harness.mjs +3 -5
- package/esm2022/list/testing/selection-list-harness.mjs +3 -5
- package/esm2022/menu/menu-content.mjs +9 -11
- package/esm2022/menu/menu-item.mjs +5 -6
- package/esm2022/menu/menu-trigger.mjs +9 -11
- package/esm2022/menu/menu.mjs +9 -11
- package/esm2022/menu/module.mjs +6 -7
- package/esm2022/menu/testing/menu-harness.mjs +3 -5
- package/esm2022/paginator/module.mjs +6 -7
- package/esm2022/paginator/paginator-intl.mjs +5 -6
- package/esm2022/paginator/paginator.mjs +9 -11
- package/esm2022/paginator/testing/paginator-harness.mjs +2 -3
- package/esm2022/progress-bar/module.mjs +6 -7
- package/esm2022/progress-bar/progress-bar.mjs +6 -7
- package/esm2022/progress-bar/testing/progress-bar-harness.mjs +2 -3
- package/esm2022/progress-spinner/module.mjs +6 -7
- package/esm2022/progress-spinner/progress-spinner.mjs +5 -6
- package/esm2022/progress-spinner/testing/progress-spinner-harness.mjs +2 -3
- package/esm2022/radio/module.mjs +6 -7
- package/esm2022/radio/radio.mjs +17 -21
- package/esm2022/radio/testing/radio-harness.mjs +3 -5
- package/esm2022/select/module.mjs +6 -7
- package/esm2022/select/select.mjs +36 -28
- package/esm2022/select/testing/select-harness.mjs +2 -3
- package/esm2022/sidenav/drawer.mjs +13 -16
- package/esm2022/sidenav/sidenav-module.mjs +6 -7
- package/esm2022/sidenav/sidenav.mjs +13 -16
- package/esm2022/sidenav/testing/drawer-container-harness.mjs +2 -3
- package/esm2022/sidenav/testing/drawer-content-harness.mjs +2 -3
- package/esm2022/sidenav/testing/drawer-harness.mjs +2 -3
- package/esm2022/sidenav/testing/sidenav-container-harness.mjs +2 -3
- package/esm2022/sidenav/testing/sidenav-content-harness.mjs +2 -3
- package/esm2022/sidenav/testing/sidenav-harness.mjs +2 -3
- package/esm2022/slide-toggle/module.mjs +11 -13
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +5 -6
- package/esm2022/slide-toggle/slide-toggle.mjs +9 -11
- package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +2 -3
- package/esm2022/slider/module.mjs +6 -7
- package/esm2022/slider/slider-input.mjs +30 -20
- package/esm2022/slider/slider-thumb.mjs +9 -7
- package/esm2022/slider/slider.mjs +7 -19
- package/esm2022/slider/testing/slider-harness.mjs +2 -3
- package/esm2022/slider/testing/slider-thumb-harness.mjs +2 -3
- package/esm2022/snack-bar/module.mjs +6 -7
- package/esm2022/snack-bar/simple-snack-bar.mjs +5 -6
- package/esm2022/snack-bar/snack-bar-container.mjs +9 -11
- package/esm2022/snack-bar/snack-bar-content.mjs +13 -16
- package/esm2022/snack-bar/snack-bar.mjs +9 -11
- package/esm2022/snack-bar/testing/snack-bar-harness.mjs +2 -3
- package/esm2022/sort/sort-header-intl.mjs +5 -6
- package/esm2022/sort/sort-header.mjs +5 -6
- package/esm2022/sort/sort-module.mjs +6 -7
- package/esm2022/sort/sort.mjs +5 -6
- package/esm2022/sort/testing/sort-harness.mjs +2 -3
- package/esm2022/sort/testing/sort-header-harness.mjs +2 -3
- package/esm2022/stepper/step-content.mjs +5 -6
- package/esm2022/stepper/step-header.mjs +5 -6
- package/esm2022/stepper/step-label.mjs +5 -6
- package/esm2022/stepper/stepper-button.mjs +9 -11
- package/esm2022/stepper/stepper-icon.mjs +5 -6
- package/esm2022/stepper/stepper-intl.mjs +5 -6
- package/esm2022/stepper/stepper-module.mjs +6 -7
- package/esm2022/stepper/stepper.mjs +9 -11
- package/esm2022/stepper/testing/step-harness.mjs +2 -3
- package/esm2022/stepper/testing/stepper-button-harnesses.mjs +3 -5
- package/esm2022/stepper/testing/stepper-harness.mjs +2 -3
- package/esm2022/table/cell.mjs +29 -36
- package/esm2022/table/module.mjs +6 -7
- package/esm2022/table/row.mjs +30 -37
- package/esm2022/table/table.mjs +9 -11
- package/esm2022/table/testing/cell-harness.mjs +4 -7
- package/esm2022/table/testing/row-harness.mjs +4 -7
- package/esm2022/table/testing/table-harness.mjs +2 -3
- package/esm2022/table/text-column.mjs +5 -6
- package/esm2022/tabs/module.mjs +6 -7
- package/esm2022/tabs/paginated-tab-header.mjs +5 -6
- package/esm2022/tabs/tab-body.mjs +13 -16
- package/esm2022/tabs/tab-content.mjs +5 -6
- package/esm2022/tabs/tab-group.mjs +11 -13
- package/esm2022/tabs/tab-header.mjs +9 -11
- package/esm2022/tabs/tab-label-wrapper.mjs +9 -11
- package/esm2022/tabs/tab-label.mjs +5 -6
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +24 -27
- package/esm2022/tabs/tab.mjs +9 -11
- package/esm2022/tabs/testing/tab-group-harness.mjs +2 -3
- package/esm2022/tabs/testing/tab-harness.mjs +2 -3
- package/esm2022/tabs/testing/tab-link-harness.mjs +2 -3
- package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +2 -3
- package/esm2022/tabs/testing/tab-nav-panel-harness.mjs +2 -3
- package/esm2022/toolbar/testing/toolbar-harness.mjs +2 -3
- package/esm2022/toolbar/toolbar-module.mjs +6 -7
- package/esm2022/toolbar/toolbar.mjs +9 -11
- package/esm2022/tooltip/module.mjs +6 -7
- package/esm2022/tooltip/testing/tooltip-harness.mjs +2 -3
- package/esm2022/tooltip/tooltip.mjs +17 -21
- package/esm2022/tree/node.mjs +13 -16
- package/esm2022/tree/outlet.mjs +5 -6
- package/esm2022/tree/padding.mjs +5 -6
- package/esm2022/tree/testing/node-harness.mjs +2 -3
- package/esm2022/tree/testing/tree-harness.mjs +2 -3
- package/esm2022/tree/toggle.mjs +5 -6
- package/esm2022/tree/tree-module.mjs +6 -7
- package/esm2022/tree/tree.mjs +5 -6
- package/expansion/index.d.ts +7 -7
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +22 -22
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +7 -7
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +37 -37
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +17 -17
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +46 -46
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +60 -60
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +82 -82
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +2 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +28 -28
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +34 -34
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/legacy-autocomplete/testing.mjs.map +1 -1
- package/fesm2022/legacy-autocomplete.mjs +13 -13
- package/fesm2022/legacy-autocomplete.mjs.map +1 -1
- package/fesm2022/legacy-button/testing.mjs.map +1 -1
- package/fesm2022/legacy-button.mjs +10 -10
- package/fesm2022/legacy-button.mjs.map +1 -1
- package/fesm2022/legacy-card/testing.mjs.map +1 -1
- package/fesm2022/legacy-card.mjs +46 -46
- package/fesm2022/legacy-card.mjs.map +1 -1
- package/fesm2022/legacy-checkbox/testing.mjs.map +1 -1
- package/fesm2022/legacy-checkbox.mjs +7 -7
- package/fesm2022/legacy-checkbox.mjs.map +1 -1
- package/fesm2022/legacy-chips/testing.mjs.map +1 -1
- package/fesm2022/legacy-chips.mjs +22 -22
- package/fesm2022/legacy-chips.mjs.map +1 -1
- package/fesm2022/legacy-core/testing.mjs.map +1 -1
- package/fesm2022/legacy-core.mjs +10 -10
- package/fesm2022/legacy-core.mjs.map +1 -1
- package/fesm2022/legacy-dialog/testing.mjs.map +1 -1
- package/fesm2022/legacy-dialog.mjs +22 -22
- package/fesm2022/legacy-dialog.mjs.map +1 -1
- package/fesm2022/legacy-form-field/testing.mjs.map +1 -1
- package/fesm2022/legacy-form-field.mjs +25 -25
- package/fesm2022/legacy-form-field.mjs.map +1 -1
- package/fesm2022/legacy-input.mjs +7 -7
- package/fesm2022/legacy-input.mjs.map +1 -1
- package/fesm2022/legacy-list/testing.mjs.map +1 -1
- package/fesm2022/legacy-list.mjs +28 -28
- package/fesm2022/legacy-list.mjs.map +1 -1
- package/fesm2022/legacy-menu/testing.mjs.map +1 -1
- package/fesm2022/legacy-menu.mjs +16 -16
- package/fesm2022/legacy-menu.mjs.map +1 -1
- package/fesm2022/legacy-paginator/testing.mjs.map +1 -1
- package/fesm2022/legacy-paginator.mjs +7 -7
- package/fesm2022/legacy-paginator.mjs.map +1 -1
- package/fesm2022/legacy-progress-bar/testing.mjs.map +1 -1
- package/fesm2022/legacy-progress-bar.mjs +7 -7
- package/fesm2022/legacy-progress-bar.mjs.map +1 -1
- package/fesm2022/legacy-progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/legacy-progress-spinner.mjs +7 -7
- package/fesm2022/legacy-progress-spinner.mjs.map +1 -1
- package/fesm2022/legacy-radio/testing.mjs.map +1 -1
- package/fesm2022/legacy-radio.mjs +10 -10
- package/fesm2022/legacy-radio.mjs.map +1 -1
- package/fesm2022/legacy-select/testing.mjs.map +1 -1
- package/fesm2022/legacy-select.mjs +10 -10
- package/fesm2022/legacy-select.mjs.map +1 -1
- package/fesm2022/legacy-slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/legacy-slide-toggle.mjs +7 -7
- package/fesm2022/legacy-slide-toggle.mjs.map +1 -1
- package/fesm2022/legacy-slider/testing.mjs.map +1 -1
- package/fesm2022/legacy-slider.mjs +7 -7
- package/fesm2022/legacy-slider.mjs.map +1 -1
- package/fesm2022/legacy-snack-bar/testing.mjs.map +1 -1
- package/fesm2022/legacy-snack-bar.mjs +13 -13
- package/fesm2022/legacy-snack-bar.mjs.map +1 -1
- package/fesm2022/legacy-table/testing.mjs.map +1 -1
- package/fesm2022/legacy-table.mjs +55 -55
- package/fesm2022/legacy-table.mjs.map +1 -1
- package/fesm2022/legacy-tabs/testing.mjs.map +1 -1
- package/fesm2022/legacy-tabs.mjs +40 -40
- package/fesm2022/legacy-tabs.mjs.map +1 -1
- package/fesm2022/legacy-tooltip/testing.mjs.map +1 -1
- package/fesm2022/legacy-tooltip.mjs +10 -10
- package/fesm2022/legacy-tooltip.mjs.map +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +51 -49
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +25 -25
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +13 -13
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +8 -8
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +16 -16
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +36 -25
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +17 -17
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +43 -39
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +28 -28
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +56 -56
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +66 -64
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +16 -16
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +10 -10
- package/grid-list/index.d.ts +6 -6
- package/icon/index.d.ts +1 -1
- package/input/index.d.ts +1 -1
- package/legacy-autocomplete/index.d.ts +3 -3
- package/legacy-button/index.d.ts +2 -2
- package/legacy-card/index.d.ts +14 -14
- package/legacy-checkbox/index.d.ts +1 -1
- package/legacy-chips/index.d.ts +6 -6
- package/legacy-core/index.d.ts +2 -2
- package/legacy-dialog/index.d.ts +5 -5
- package/legacy-form-field/index.d.ts +7 -7
- package/legacy-input/index.d.ts +1 -1
- package/legacy-list/index.d.ts +8 -8
- package/legacy-menu/index.d.ts +4 -4
- package/legacy-paginator/index.d.ts +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 +2 -2
- package/legacy-select/index.d.ts +9 -4
- package/legacy-slide-toggle/index.d.ts +1 -1
- package/legacy-slider/index.d.ts +1 -1
- package/legacy-snack-bar/index.d.ts +2 -2
- package/legacy-table/index.d.ts +17 -17
- package/legacy-tabs/index.d.ts +12 -12
- package/legacy-tooltip/index.d.ts +2 -2
- package/list/index.d.ts +15 -15
- package/menu/index.d.ts +7 -7
- package/package.json +49 -49
- package/paginator/index.d.ts +2 -2
- package/progress-bar/index.d.ts +1 -1
- package/progress-spinner/index.d.ts +1 -1
- package/radio/index.d.ts +4 -4
- 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 +263 -95
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +4 -4
- package/schematics/ng-update/index_bundled.js +25 -25
- package/select/index.d.ts +15 -7
- package/sidenav/index.d.ts +6 -6
- package/slide-toggle/index.d.ts +3 -3
- package/slider/index.d.ts +14 -5
- package/snack-bar/index.d.ts +6 -6
- package/sort/index.d.ts +2 -2
- package/stepper/index.d.ts +8 -8
- package/table/index.d.ts +18 -18
- package/tabs/_tabs-common.scss +5 -0
- package/tabs/_tabs-theme.scss +0 -1
- package/tabs/index.d.ts +19 -19
- package/toolbar/index.d.ts +2 -2
- package/tooltip/index.d.ts +4 -4
- package/tree/index.d.ts +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/legacy-chips/testing/chip-avatar-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-remove-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-input-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-list-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-option-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-listbox-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 {HarnessPredicate, ComponentHarness} from '@angular/cdk/testing';\nimport {LegacyChipAvatarHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip avatar in tests.\n * @deprecated Use `MatChipAvatarHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipAvatarHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-avatar';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipAvatarHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipAvatarHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipAvatarHarness> {\n return new HarnessPredicate(MatLegacyChipAvatarHarness, options);\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\nimport {HarnessPredicate, ComponentHarness} from '@angular/cdk/testing';\nimport {LegacyChipRemoveHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip remove button in tests.\n * @deprecated Use `MatChipRemoveHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipRemoveHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-remove';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipRemoveHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipRemoveHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipRemoveHarness> {\n return new HarnessPredicate(MatLegacyChipRemoveHarness, options);\n }\n\n /** Clicks the remove button. */\n async click(): Promise<void> {\n return (await this.host()).click();\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\nimport {ContentContainerComponentHarness, HarnessPredicate, TestKey} from '@angular/cdk/testing';\nimport {MatLegacyChipAvatarHarness} from './chip-avatar-harness';\nimport {\n LegacyChipAvatarHarnessFilters,\n LegacyChipHarnessFilters,\n LegacyChipRemoveHarnessFilters,\n} from './chip-harness-filters';\nimport {MatLegacyChipRemoveHarness} from './chip-remove-harness';\n\n/**\n * Harness for interacting with a standard selectable Angular Material chip in tests.\n * @deprecated Use `MatChipHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipHarness extends ContentContainerComponentHarness {\n /** The selector for the host element of a `MatChip` instance. */\n static hostSelector = '.mat-chip';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: LegacyChipHarnessFilters = {}): HarnessPredicate<MatLegacyChipHarness> {\n return new HarnessPredicate(MatLegacyChipHarness, options)\n .addOption('text', options.text, (harness, label) =>\n HarnessPredicate.stringMatches(harness.getText(), label),\n )\n .addOption(\n 'selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n /** Gets the text of the chip. */\n async getText(): Promise<string> {\n return (await this.host()).text({\n exclude: '.mat-chip-avatar, .mat-chip-trailing-icon, .mat-icon',\n });\n }\n\n /**\n * Whether the chip is selected.\n * @deprecated Use `MatChipOptionHarness.isSelected` instead.\n * @breaking-change 12.0.0\n */\n async isSelected(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-selected');\n }\n\n /** Whether the chip is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-disabled');\n }\n\n /**\n * Selects the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.select` instead.\n * @breaking-change 12.0.0\n */\n async select(): Promise<void> {\n if (!(await this.isSelected())) {\n await this.toggle();\n }\n }\n\n /**\n * Deselects the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.deselect` instead.\n * @breaking-change 12.0.0\n */\n async deselect(): Promise<void> {\n if (await this.isSelected()) {\n await this.toggle();\n }\n }\n\n /**\n * Toggles the selected state of the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.toggle` instead.\n * @breaking-change 12.0.0\n */\n async toggle(): Promise<void> {\n return (await this.host()).sendKeys(' ');\n }\n\n /** Removes the given chip. Only applies if it's removable. */\n async remove(): Promise<void> {\n await (await this.host()).sendKeys(TestKey.DELETE);\n }\n\n /**\n * Gets the remove button inside of a chip.\n * @param filter Optionally filters which remove buttons are included.\n */\n async getRemoveButton(\n filter: LegacyChipRemoveHarnessFilters = {},\n ): Promise<MatLegacyChipRemoveHarness> {\n return this.locatorFor(MatLegacyChipRemoveHarness.with(filter))();\n }\n\n /**\n * Gets the avatar inside a chip.\n * @param filter Optionally filters which avatars are included.\n */\n async getAvatar(\n filter: LegacyChipAvatarHarnessFilters = {},\n ): Promise<MatLegacyChipAvatarHarness | null> {\n return this.locatorForOptional(MatLegacyChipAvatarHarness.with(filter))();\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\nimport {HarnessPredicate, ComponentHarness, TestKey} from '@angular/cdk/testing';\nimport {LegacyChipInputHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip inputs in tests.\n * @deprecated Use `MatChipInputHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipInputHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-input';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipInputHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipInputHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipInputHarness> {\n return new HarnessPredicate(MatLegacyChipInputHarness, options)\n .addOption('value', options.value, async (harness, value) => {\n return (await harness.getValue()) === value;\n })\n .addOption('placeholder', options.placeholder, async (harness, placeholder) => {\n return (await harness.getPlaceholder()) === placeholder;\n });\n }\n\n /** Whether the input is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).getProperty('disabled')!;\n }\n\n /** Whether the input is required. */\n async isRequired(): Promise<boolean> {\n return (await this.host()).getProperty('required')!;\n }\n\n /** Gets the value of the input. */\n async getValue(): Promise<string> {\n // The \"value\" property of the native input is never undefined.\n return (await (await this.host()).getProperty('value'))!;\n }\n\n /** Gets the placeholder of the input. */\n async getPlaceholder(): Promise<string> {\n return await (await this.host()).getProperty('placeholder');\n }\n\n /**\n * Focuses the input and returns a promise that indicates when the\n * action is complete.\n */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /**\n * Blurs the input and returns a promise that indicates when the\n * action is complete.\n */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /**\n * Sets the value of the input. The value will be set by simulating\n * keypresses that correspond to the given value.\n */\n async setValue(newValue: string): Promise<void> {\n const inputEl = await this.host();\n await inputEl.clear();\n\n // We don't want to send keys for the value if the value is an empty\n // string in order to clear the value. Sending keys with an empty string\n // still results in unnecessary focus events.\n if (newValue) {\n await inputEl.sendKeys(newValue);\n }\n }\n\n /** Sends a chip separator key to the input element. */\n async sendSeparatorKey(key: TestKey | string): Promise<void> {\n const inputEl = await this.host();\n return inputEl.sendKeys(key);\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\nimport {ComponentHarness, HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatLegacyChipHarness} from './chip-harness';\nimport {MatLegacyChipInputHarness} from './chip-input-harness';\nimport {\n LegacyChipListHarnessFilters,\n LegacyChipHarnessFilters,\n LegacyChipInputHarnessFilters,\n} from './chip-harness-filters';\n\n/**\n * Base class for chip list harnesses.\n * @deprecated Use `class` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport abstract class _MatChipListHarnessBase extends ComponentHarness {\n /** Gets whether the chip list is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-disabled')) === 'true';\n }\n\n /** Gets whether the chip list is required. */\n async isRequired(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-required')) === 'true';\n }\n\n /** Gets whether the chip list is invalid. */\n async isInvalid(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-invalid')) === 'true';\n }\n\n /** Gets whether the chip list is in multi selection mode. */\n async isMultiple(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-multiselectable')) === 'true';\n }\n\n /** Gets whether the orientation of the chip list. */\n async getOrientation(): Promise<'horizontal' | 'vertical'> {\n const orientation = await (await this.host()).getAttribute('aria-orientation');\n return orientation === 'vertical' ? 'vertical' : 'horizontal';\n }\n}\n\n/**\n * Harness for interacting with a standard chip list in tests.\n * @deprecated Use `MatChipListHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipListHarness extends _MatChipListHarnessBase {\n /** The selector for the host element of a `MatChipList` instance. */\n static hostSelector = '.mat-chip-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipListHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipListHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipListHarness> {\n return new HarnessPredicate(MatLegacyChipListHarness, options);\n }\n\n /**\n * Gets the list of chips inside the chip list.\n * @param filter Optionally filters which chips are included.\n */\n async getChips(filter: LegacyChipHarnessFilters = {}): Promise<MatLegacyChipHarness[]> {\n return this.locatorForAll(MatLegacyChipHarness.with(filter))();\n }\n\n /**\n * Selects a chip inside the chip list.\n * @param filter An optional filter to apply to the child chips.\n * All the chips matching the filter will be selected.\n * @deprecated Use `MatChipListboxHarness.selectChips` instead.\n * @breaking-change 12.0.0\n */\n async selectChips(filter: LegacyChipHarnessFilters = {}): Promise<void> {\n const chips = await this.getChips(filter);\n if (!chips.length) {\n throw Error(`Cannot find chip matching filter ${JSON.stringify(filter)}`);\n }\n await parallel(() => chips.map(chip => chip.select()));\n }\n\n /**\n * Gets the `MatChipInput` inside the chip list.\n * @param filter Optionally filters which chip input is included.\n */\n async getInput(filter: LegacyChipInputHarnessFilters = {}): Promise<MatLegacyChipInputHarness> {\n // The input isn't required to be a descendant of the chip list so we have to look it up by id.\n const inputId = await (await this.host()).getAttribute('data-mat-chip-input');\n\n if (!inputId) {\n throw Error(`Chip list is not associated with an input`);\n }\n\n return this.documentRootLocatorFactory().locatorFor(\n MatLegacyChipInputHarness.with({...filter, selector: `#${inputId}`}),\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\nimport {HarnessPredicate} from '@angular/cdk/testing';\nimport {MatLegacyChipHarness} from './chip-harness';\nimport {LegacyChipOptionHarnessFilters} from './chip-harness-filters';\n\n/**\n * @deprecated Use `MatChipOptionHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipOptionHarness extends MatLegacyChipHarness {\n /** The selector for the host element of a selectable chip instance. */\n static override hostSelector = '.mat-chip';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipOptionHarness`\n * that meets certain criteria.\n * @param options Options for filtering which chip instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static override with(\n options: LegacyChipOptionHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipOptionHarness> {\n return new HarnessPredicate(MatLegacyChipOptionHarness, options)\n .addOption('text', options.text, (harness, label) =>\n HarnessPredicate.stringMatches(harness.getText(), label),\n )\n .addOption(\n 'selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n /** Whether the chip is selected. */\n override async isSelected(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-selected');\n }\n\n /** Selects the given chip. Only applies if it's selectable. */\n override async select(): Promise<void> {\n if (!(await this.isSelected())) {\n await this.toggle();\n }\n }\n\n /** Deselects the given chip. Only applies if it's selectable. */\n override async deselect(): Promise<void> {\n if (await this.isSelected()) {\n await this.toggle();\n }\n }\n\n /** Toggles the selected state of the given chip. */\n override async toggle(): Promise<void> {\n return (await this.host()).sendKeys(' ');\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\nimport {HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatLegacyChipOptionHarness} from './chip-option-harness';\nimport {\n LegacyChipListboxHarnessFilters,\n LegacyChipOptionHarnessFilters,\n} from './chip-harness-filters';\nimport {_MatChipListHarnessBase} from './chip-list-harness';\n\n/**\n * Harness for interacting with a standard selectable chip list in tests.\n * @deprecated Use `MatChipListboxHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipListboxHarness extends _MatChipListHarnessBase {\n /** The selector for the host element of a `MatChipList` instance. */\n static hostSelector = '.mat-chip-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipListHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipListboxHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipListboxHarness> {\n return new HarnessPredicate(MatLegacyChipListboxHarness, options);\n }\n\n /**\n * Gets the list of chips inside the chip list.\n * @param filter Optionally filters which chips are included.\n */\n async getChips(\n filter: LegacyChipOptionHarnessFilters = {},\n ): Promise<MatLegacyChipOptionHarness[]> {\n return this.locatorForAll(MatLegacyChipOptionHarness.with(filter))();\n }\n\n /**\n * Selects a chip inside the chip list.\n * @param filter An optional filter to apply to the child chips.\n * All the chips matching the filter will be selected.\n */\n async selectChips(filter: LegacyChipOptionHarnessFilters = {}): Promise<void> {\n const chips = await this.getChips(filter);\n if (!chips.length) {\n throw Error(`Cannot find chip matching filter ${JSON.stringify(filter)}`);\n }\n await parallel(() => chips.map(chip => chip.select()));\n }\n}\n"],"names":[],"mappings":";;AAWA;;;;AAIG;AACH,MAAa,0BAA2B,SAAQ,gBAAgB,CAAA;aACvD,IAAY,CAAA,YAAA,GAAG,kBAAkB,CAAC,EAAA;AAEzC;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAA0C,EAAE,EAAA;AAE5C,QAAA,OAAO,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ip-avatar-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-remove-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-input-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-list-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-option-harness.ts","../../../../../../../src/material/legacy-chips/testing/chip-listbox-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 {HarnessPredicate, ComponentHarness} from '@angular/cdk/testing';\nimport {LegacyChipAvatarHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip avatar in tests.\n * @deprecated Use `MatChipAvatarHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipAvatarHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-avatar';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipAvatarHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipAvatarHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipAvatarHarness> {\n return new HarnessPredicate(MatLegacyChipAvatarHarness, options);\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\nimport {HarnessPredicate, ComponentHarness} from '@angular/cdk/testing';\nimport {LegacyChipRemoveHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip remove button in tests.\n * @deprecated Use `MatChipRemoveHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipRemoveHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-remove';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipRemoveHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipRemoveHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipRemoveHarness> {\n return new HarnessPredicate(MatLegacyChipRemoveHarness, options);\n }\n\n /** Clicks the remove button. */\n async click(): Promise<void> {\n return (await this.host()).click();\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\nimport {ContentContainerComponentHarness, HarnessPredicate, TestKey} from '@angular/cdk/testing';\nimport {MatLegacyChipAvatarHarness} from './chip-avatar-harness';\nimport {\n LegacyChipAvatarHarnessFilters,\n LegacyChipHarnessFilters,\n LegacyChipRemoveHarnessFilters,\n} from './chip-harness-filters';\nimport {MatLegacyChipRemoveHarness} from './chip-remove-harness';\n\n/**\n * Harness for interacting with a standard selectable Angular Material chip in tests.\n * @deprecated Use `MatChipHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipHarness extends ContentContainerComponentHarness {\n /** The selector for the host element of a `MatChip` instance. */\n static hostSelector = '.mat-chip';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: LegacyChipHarnessFilters = {}): HarnessPredicate<MatLegacyChipHarness> {\n return new HarnessPredicate(MatLegacyChipHarness, options)\n .addOption('text', options.text, (harness, label) =>\n HarnessPredicate.stringMatches(harness.getText(), label),\n )\n .addOption(\n 'selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n /** Gets the text of the chip. */\n async getText(): Promise<string> {\n return (await this.host()).text({\n exclude: '.mat-chip-avatar, .mat-chip-trailing-icon, .mat-icon',\n });\n }\n\n /**\n * Whether the chip is selected.\n * @deprecated Use `MatChipOptionHarness.isSelected` instead.\n * @breaking-change 12.0.0\n */\n async isSelected(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-selected');\n }\n\n /** Whether the chip is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-disabled');\n }\n\n /**\n * Selects the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.select` instead.\n * @breaking-change 12.0.0\n */\n async select(): Promise<void> {\n if (!(await this.isSelected())) {\n await this.toggle();\n }\n }\n\n /**\n * Deselects the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.deselect` instead.\n * @breaking-change 12.0.0\n */\n async deselect(): Promise<void> {\n if (await this.isSelected()) {\n await this.toggle();\n }\n }\n\n /**\n * Toggles the selected state of the given chip. Only applies if it's selectable.\n * @deprecated Use `MatChipOptionHarness.toggle` instead.\n * @breaking-change 12.0.0\n */\n async toggle(): Promise<void> {\n return (await this.host()).sendKeys(' ');\n }\n\n /** Removes the given chip. Only applies if it's removable. */\n async remove(): Promise<void> {\n await (await this.host()).sendKeys(TestKey.DELETE);\n }\n\n /**\n * Gets the remove button inside of a chip.\n * @param filter Optionally filters which remove buttons are included.\n */\n async getRemoveButton(\n filter: LegacyChipRemoveHarnessFilters = {},\n ): Promise<MatLegacyChipRemoveHarness> {\n return this.locatorFor(MatLegacyChipRemoveHarness.with(filter))();\n }\n\n /**\n * Gets the avatar inside a chip.\n * @param filter Optionally filters which avatars are included.\n */\n async getAvatar(\n filter: LegacyChipAvatarHarnessFilters = {},\n ): Promise<MatLegacyChipAvatarHarness | null> {\n return this.locatorForOptional(MatLegacyChipAvatarHarness.with(filter))();\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\nimport {HarnessPredicate, ComponentHarness, TestKey} from '@angular/cdk/testing';\nimport {LegacyChipInputHarnessFilters} from './chip-harness-filters';\n\n/**\n * Harness for interacting with a standard Material chip inputs in tests.\n * @deprecated Use `MatChipInputHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipInputHarness extends ComponentHarness {\n static hostSelector = '.mat-chip-input';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipInputHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipInputHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipInputHarness> {\n return new HarnessPredicate(MatLegacyChipInputHarness, options)\n .addOption('value', options.value, async (harness, value) => {\n return (await harness.getValue()) === value;\n })\n .addOption('placeholder', options.placeholder, async (harness, placeholder) => {\n return (await harness.getPlaceholder()) === placeholder;\n });\n }\n\n /** Whether the input is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).getProperty('disabled')!;\n }\n\n /** Whether the input is required. */\n async isRequired(): Promise<boolean> {\n return (await this.host()).getProperty('required')!;\n }\n\n /** Gets the value of the input. */\n async getValue(): Promise<string> {\n // The \"value\" property of the native input is never undefined.\n return (await (await this.host()).getProperty('value'))!;\n }\n\n /** Gets the placeholder of the input. */\n async getPlaceholder(): Promise<string> {\n return await (await this.host()).getProperty('placeholder');\n }\n\n /**\n * Focuses the input and returns a promise that indicates when the\n * action is complete.\n */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /**\n * Blurs the input and returns a promise that indicates when the\n * action is complete.\n */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /**\n * Sets the value of the input. The value will be set by simulating\n * keypresses that correspond to the given value.\n */\n async setValue(newValue: string): Promise<void> {\n const inputEl = await this.host();\n await inputEl.clear();\n\n // We don't want to send keys for the value if the value is an empty\n // string in order to clear the value. Sending keys with an empty string\n // still results in unnecessary focus events.\n if (newValue) {\n await inputEl.sendKeys(newValue);\n }\n }\n\n /** Sends a chip separator key to the input element. */\n async sendSeparatorKey(key: TestKey | string): Promise<void> {\n const inputEl = await this.host();\n return inputEl.sendKeys(key);\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\nimport {ComponentHarness, HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatLegacyChipHarness} from './chip-harness';\nimport {MatLegacyChipInputHarness} from './chip-input-harness';\nimport {\n LegacyChipListHarnessFilters,\n LegacyChipHarnessFilters,\n LegacyChipInputHarnessFilters,\n} from './chip-harness-filters';\n\n/**\n * Base class for chip list harnesses.\n * @deprecated Use `class` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport abstract class _MatChipListHarnessBase extends ComponentHarness {\n /** Gets whether the chip list is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-disabled')) === 'true';\n }\n\n /** Gets whether the chip list is required. */\n async isRequired(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-required')) === 'true';\n }\n\n /** Gets whether the chip list is invalid. */\n async isInvalid(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-invalid')) === 'true';\n }\n\n /** Gets whether the chip list is in multi selection mode. */\n async isMultiple(): Promise<boolean> {\n return (await (await this.host()).getAttribute('aria-multiselectable')) === 'true';\n }\n\n /** Gets whether the orientation of the chip list. */\n async getOrientation(): Promise<'horizontal' | 'vertical'> {\n const orientation = await (await this.host()).getAttribute('aria-orientation');\n return orientation === 'vertical' ? 'vertical' : 'horizontal';\n }\n}\n\n/**\n * Harness for interacting with a standard chip list in tests.\n * @deprecated Use `MatChipListHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipListHarness extends _MatChipListHarnessBase {\n /** The selector for the host element of a `MatChipList` instance. */\n static hostSelector = '.mat-chip-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipListHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipListHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipListHarness> {\n return new HarnessPredicate(MatLegacyChipListHarness, options);\n }\n\n /**\n * Gets the list of chips inside the chip list.\n * @param filter Optionally filters which chips are included.\n */\n async getChips(filter: LegacyChipHarnessFilters = {}): Promise<MatLegacyChipHarness[]> {\n return this.locatorForAll(MatLegacyChipHarness.with(filter))();\n }\n\n /**\n * Selects a chip inside the chip list.\n * @param filter An optional filter to apply to the child chips.\n * All the chips matching the filter will be selected.\n * @deprecated Use `MatChipListboxHarness.selectChips` instead.\n * @breaking-change 12.0.0\n */\n async selectChips(filter: LegacyChipHarnessFilters = {}): Promise<void> {\n const chips = await this.getChips(filter);\n if (!chips.length) {\n throw Error(`Cannot find chip matching filter ${JSON.stringify(filter)}`);\n }\n await parallel(() => chips.map(chip => chip.select()));\n }\n\n /**\n * Gets the `MatChipInput` inside the chip list.\n * @param filter Optionally filters which chip input is included.\n */\n async getInput(filter: LegacyChipInputHarnessFilters = {}): Promise<MatLegacyChipInputHarness> {\n // The input isn't required to be a descendant of the chip list so we have to look it up by id.\n const inputId = await (await this.host()).getAttribute('data-mat-chip-input');\n\n if (!inputId) {\n throw Error(`Chip list is not associated with an input`);\n }\n\n return this.documentRootLocatorFactory().locatorFor(\n MatLegacyChipInputHarness.with({...filter, selector: `#${inputId}`}),\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\nimport {HarnessPredicate} from '@angular/cdk/testing';\nimport {MatLegacyChipHarness} from './chip-harness';\nimport {LegacyChipOptionHarnessFilters} from './chip-harness-filters';\n\n/**\n * @deprecated Use `MatChipOptionHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipOptionHarness extends MatLegacyChipHarness {\n /** The selector for the host element of a selectable chip instance. */\n static override hostSelector = '.mat-chip';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipOptionHarness`\n * that meets certain criteria.\n * @param options Options for filtering which chip instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static override with(\n options: LegacyChipOptionHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipOptionHarness> {\n return new HarnessPredicate(MatLegacyChipOptionHarness, options)\n .addOption('text', options.text, (harness, label) =>\n HarnessPredicate.stringMatches(harness.getText(), label),\n )\n .addOption(\n 'selected',\n options.selected,\n async (harness, selected) => (await harness.isSelected()) === selected,\n );\n }\n\n /** Whether the chip is selected. */\n override async isSelected(): Promise<boolean> {\n return (await this.host()).hasClass('mat-chip-selected');\n }\n\n /** Selects the given chip. Only applies if it's selectable. */\n override async select(): Promise<void> {\n if (!(await this.isSelected())) {\n await this.toggle();\n }\n }\n\n /** Deselects the given chip. Only applies if it's selectable. */\n override async deselect(): Promise<void> {\n if (await this.isSelected()) {\n await this.toggle();\n }\n }\n\n /** Toggles the selected state of the given chip. */\n override async toggle(): Promise<void> {\n return (await this.host()).sendKeys(' ');\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\nimport {HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatLegacyChipOptionHarness} from './chip-option-harness';\nimport {\n LegacyChipListboxHarnessFilters,\n LegacyChipOptionHarnessFilters,\n} from './chip-harness-filters';\nimport {_MatChipListHarnessBase} from './chip-list-harness';\n\n/**\n * Harness for interacting with a standard selectable chip list in tests.\n * @deprecated Use `MatChipListboxHarness` from `@angular/material/chips/testing` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport class MatLegacyChipListboxHarness extends _MatChipListHarnessBase {\n /** The selector for the host element of a `MatChipList` instance. */\n static hostSelector = '.mat-chip-list';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatChipListHarness` that meets\n * certain criteria.\n * @param options Options for filtering which chip list instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(\n options: LegacyChipListboxHarnessFilters = {},\n ): HarnessPredicate<MatLegacyChipListboxHarness> {\n return new HarnessPredicate(MatLegacyChipListboxHarness, options);\n }\n\n /**\n * Gets the list of chips inside the chip list.\n * @param filter Optionally filters which chips are included.\n */\n async getChips(\n filter: LegacyChipOptionHarnessFilters = {},\n ): Promise<MatLegacyChipOptionHarness[]> {\n return this.locatorForAll(MatLegacyChipOptionHarness.with(filter))();\n }\n\n /**\n * Selects a chip inside the chip list.\n * @param filter An optional filter to apply to the child chips.\n * All the chips matching the filter will be selected.\n */\n async selectChips(filter: LegacyChipOptionHarnessFilters = {}): Promise<void> {\n const chips = await this.getChips(filter);\n if (!chips.length) {\n throw Error(`Cannot find chip matching filter ${JSON.stringify(filter)}`);\n }\n await parallel(() => chips.map(chip => chip.select()));\n }\n}\n"],"names":[],"mappings":";;AAWA;;;;AAIG;AACG,MAAO,0BAA2B,SAAQ,gBAAgB,CAAA;aACvD,IAAY,CAAA,YAAA,GAAG,kBAAkB,CAAC,EAAA;AAEzC;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CACT,OAAA,GAA0C,EAAE,EAAA;AAE5C,QAAA,OAAO,IAAI,gBAAgB,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;KAClE;;;AClBH;;;;AAIG;AACG,MAAO,0BAA2B,SAAQ,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{ this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
77
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
77
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.3", type: MatLegacyChipAvatar, selector: "mat-chip-avatar, [matChipAvatar]", host: { classAttribute: "mat-chip-avatar" }, providers: [{ provide: MAT_LEGACY_CHIP_AVATAR, useExisting: MatLegacyChipAvatar }], ngImport: i0 }); }
|
|
78
78
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipAvatar, decorators: [{
|
|
80
80
|
type: Directive,
|
|
81
81
|
args: [{
|
|
82
82
|
selector: 'mat-chip-avatar, [matChipAvatar]',
|
|
@@ -91,10 +91,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
91
91
|
* @breaking-change 17.0.0
|
|
92
92
|
*/
|
|
93
93
|
class MatLegacyChipTrailingIcon {
|
|
94
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
95
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
94
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipTrailingIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
95
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.3", type: MatLegacyChipTrailingIcon, selector: "mat-chip-trailing-icon, [matChipTrailingIcon]", host: { classAttribute: "mat-chip-trailing-icon" }, providers: [{ provide: MAT_LEGACY_CHIP_TRAILING_ICON, useExisting: MatLegacyChipTrailingIcon }], ngImport: i0 }); }
|
|
96
96
|
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipTrailingIcon, decorators: [{
|
|
98
98
|
type: Directive,
|
|
99
99
|
args: [{
|
|
100
100
|
selector: 'mat-chip-trailing-icon, [matChipTrailingIcon]',
|
|
@@ -327,10 +327,10 @@ class MatLegacyChip extends _MatChipMixinBase {
|
|
|
327
327
|
selected: this._selected,
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
331
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
330
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChip, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.Platform }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: i0.ChangeDetectorRef }, { token: DOCUMENT }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
331
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.3", type: MatLegacyChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: { color: "color", disableRipple: "disableRipple", tabIndex: "tabIndex", role: "role", selected: "selected", value: "value", selectable: "selectable", disabled: "disabled", removable: "removable" }, outputs: { selectionChange: "selectionChange", destroyed: "destroyed", removed: "removed" }, host: { listeners: { "click": "_handleClick($event)", "keydown": "_handleKeydown($event)", "focus": "focus()", "blur": "_blur()" }, properties: { "attr.tabindex": "disabled ? null : tabIndex", "attr.role": "role", "class.mat-chip-selected": "selected", "class.mat-chip-with-avatar": "avatar", "class.mat-chip-with-trailing-icon": "trailingIcon || removeIcon", "class.mat-chip-disabled": "disabled", "class._mat-animation-noopable": "_animationsDisabled", "attr.disabled": "disabled || null", "attr.aria-disabled": "disabled.toString()", "attr.aria-selected": "ariaSelected" }, classAttribute: "mat-chip mat-focus-indicator" }, queries: [{ propertyName: "avatar", first: true, predicate: MAT_LEGACY_CHIP_AVATAR, descendants: true }, { propertyName: "trailingIcon", first: true, predicate: MAT_LEGACY_CHIP_TRAILING_ICON, descendants: true }, { propertyName: "removeIcon", first: true, predicate: MAT_LEGACY_CHIP_REMOVE, descendants: true }], exportAs: ["matChip"], usesInheritance: true, ngImport: i0 }); }
|
|
332
332
|
}
|
|
333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChip, decorators: [{
|
|
334
334
|
type: Directive,
|
|
335
335
|
args: [{
|
|
336
336
|
selector: `mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]`,
|
|
@@ -435,10 +435,10 @@ class MatLegacyChipRemove {
|
|
|
435
435
|
event.stopPropagation();
|
|
436
436
|
event.preventDefault();
|
|
437
437
|
}
|
|
438
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
439
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
438
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipRemove, deps: [{ token: MatLegacyChip }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
439
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.3", type: MatLegacyChipRemove, selector: "[matChipRemove]", host: { listeners: { "click": "_handleClick($event)" }, classAttribute: "mat-chip-remove mat-chip-trailing-icon" }, providers: [{ provide: MAT_LEGACY_CHIP_REMOVE, useExisting: MatLegacyChipRemove }], ngImport: i0 }); }
|
|
440
440
|
}
|
|
441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipRemove, decorators: [{
|
|
442
442
|
type: Directive,
|
|
443
443
|
args: [{
|
|
444
444
|
selector: '[matChipRemove]',
|
|
@@ -1081,10 +1081,10 @@ class MatLegacyChipList extends _MatChipListBase {
|
|
|
1081
1081
|
});
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
1085
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.
|
|
1084
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.Directionality, optional: true }, { token: i2.NgForm, optional: true }, { token: i2.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: i2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1085
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0-next.3", type: MatLegacyChipList, selector: "mat-chip-list", inputs: { role: "role", userAriaDescribedBy: ["aria-describedby", "userAriaDescribedBy"], errorStateMatcher: "errorStateMatcher", multiple: "multiple", compareWith: "compareWith", value: "value", required: "required", placeholder: "placeholder", disabled: "disabled", ariaOrientation: ["aria-orientation", "ariaOrientation"], selectable: "selectable", tabIndex: "tabIndex" }, outputs: { change: "change", valueChange: "valueChange" }, host: { attributes: { "ngSkipHydration": "" }, listeners: { "focus": "focus()", "blur": "_blur()", "keydown": "_keydown($event)" }, properties: { "attr.tabindex": "disabled ? null : _tabIndex", "attr.aria-required": "role ? required : null", "attr.aria-disabled": "disabled.toString()", "attr.aria-invalid": "errorState", "attr.aria-multiselectable": "multiple", "attr.role": "role", "class.mat-chip-list-disabled": "disabled", "class.mat-chip-list-invalid": "errorState", "class.mat-chip-list-required": "required", "attr.aria-orientation": "ariaOrientation", "id": "_uid" }, classAttribute: "mat-chip-list" }, providers: [{ provide: MatLegacyFormFieldControl, useExisting: MatLegacyChipList }], queries: [{ propertyName: "chips", predicate: MatLegacyChip, descendants: true }], exportAs: ["matChipList"], usesInheritance: true, ngImport: i0, template: `<div class="mat-chip-list-wrapper"><ng-content></ng-content></div>`, isInline: true, styles: [".mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:\"\";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1086
1086
|
}
|
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
1087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipList, decorators: [{
|
|
1088
1088
|
type: Component,
|
|
1089
1089
|
args: [{ selector: 'mat-chip-list', template: `<div class="mat-chip-list-wrapper"><ng-content></ng-content></div>`, exportAs: 'matChipList', host: {
|
|
1090
1090
|
'[attr.tabindex]': 'disabled ? null : _tabIndex',
|
|
@@ -1293,10 +1293,10 @@ class MatLegacyChipInput {
|
|
|
1293
1293
|
_isSeparatorKey(event) {
|
|
1294
1294
|
return !hasModifierKey(event) && new Set(this.separatorKeyCodes).has(event.keyCode);
|
|
1295
1295
|
}
|
|
1296
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
1297
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.
|
|
1296
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipInput, deps: [{ token: i0.ElementRef }, { token: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1297
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0-next.3", type: MatLegacyChipInput, selector: "input[matChipInputFor]", inputs: { chipList: ["matChipInputFor", "chipList"], addOnBlur: ["matChipInputAddOnBlur", "addOnBlur"], separatorKeyCodes: ["matChipInputSeparatorKeyCodes", "separatorKeyCodes"], placeholder: "placeholder", id: "id", disabled: "disabled" }, outputs: { chipEnd: "matChipInputTokenEnd" }, host: { listeners: { "keydown": "_keydown($event)", "keyup": "_keyup($event)", "blur": "_blur()", "focus": "_focus()", "input": "_onInput()" }, properties: { "id": "id", "attr.disabled": "disabled || null", "attr.placeholder": "placeholder || null", "attr.aria-invalid": "_chipList && _chipList.ngControl ? _chipList.ngControl.invalid : null", "attr.aria-required": "_chipList && _chipList.required || null" }, classAttribute: "mat-chip-input mat-input-element" }, exportAs: ["matChipInput", "matChipInputFor"], usesOnChanges: true, ngImport: i0 }); }
|
|
1298
1298
|
}
|
|
1299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
1299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipInput, decorators: [{
|
|
1300
1300
|
type: Directive,
|
|
1301
1301
|
args: [{
|
|
1302
1302
|
selector: 'input[matChipInputFor]',
|
|
@@ -1351,8 +1351,8 @@ const CHIP_DECLARATIONS = [
|
|
|
1351
1351
|
* @breaking-change 17.0.0
|
|
1352
1352
|
*/
|
|
1353
1353
|
class MatLegacyChipsModule {
|
|
1354
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.
|
|
1355
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.
|
|
1354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1355
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipsModule, declarations: [MatLegacyChipList,
|
|
1356
1356
|
MatLegacyChip,
|
|
1357
1357
|
MatLegacyChipInput,
|
|
1358
1358
|
MatLegacyChipRemove,
|
|
@@ -1363,7 +1363,7 @@ class MatLegacyChipsModule {
|
|
|
1363
1363
|
MatLegacyChipRemove,
|
|
1364
1364
|
MatLegacyChipAvatar,
|
|
1365
1365
|
MatLegacyChipTrailingIcon] }); }
|
|
1366
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.
|
|
1366
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipsModule, providers: [
|
|
1367
1367
|
ErrorStateMatcher,
|
|
1368
1368
|
{
|
|
1369
1369
|
provide: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS,
|
|
@@ -1373,7 +1373,7 @@ class MatLegacyChipsModule {
|
|
|
1373
1373
|
},
|
|
1374
1374
|
], imports: [MatCommonModule] }); }
|
|
1375
1375
|
}
|
|
1376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.
|
|
1376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0-next.3", ngImport: i0, type: MatLegacyChipsModule, decorators: [{
|
|
1377
1377
|
type: NgModule,
|
|
1378
1378
|
args: [{
|
|
1379
1379
|
imports: [MatCommonModule],
|