@angular/material 14.0.0-next.12 → 14.0.0-next.13
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 +436 -6
- package/autocomplete/testing/index.d.ts +71 -8
- package/badge/index.d.ts +107 -8
- package/badge/testing/index.d.ts +36 -8
- package/bottom-sheet/index.d.ts +266 -6
- package/bottom-sheet/testing/index.d.ts +27 -8
- package/button/index.d.ts +77 -6
- package/button/testing/index.d.ts +44 -8
- package/button-toggle/index.d.ts +245 -6
- package/button-toggle/testing/index.d.ts +91 -8
- package/card/index.d.ts +165 -5
- package/card/testing/index.d.ts +44 -8
- package/checkbox/index.d.ts +246 -6
- package/checkbox/testing/index.d.ts +91 -8
- package/chips/index.d.ts +650 -5
- package/chips/testing/index.d.ts +256 -8
- package/core/index.d.ts +1079 -5
- package/core/testing/index.d.ts +64 -8
- package/core/theming/_theming.scss +1 -1
- package/datepicker/index.d.ts +1782 -6
- package/datepicker/testing/index.d.ts +307 -8
- package/dialog/index.d.ts +489 -6
- package/dialog/testing/index.d.ts +97 -8
- package/divider/index.d.ts +30 -8
- package/divider/testing/index.d.ts +16 -8
- package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
- package/esm2020/autocomplete/autocomplete-origin.mjs +6 -6
- package/esm2020/autocomplete/autocomplete-trigger.mjs +6 -6
- package/esm2020/autocomplete/autocomplete.mjs +8 -8
- package/esm2020/autocomplete/testing/autocomplete-harness.mjs +5 -1
- package/esm2020/badge/badge-module.mjs +5 -5
- 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 +5 -5
- package/esm2020/bottom-sheet/bottom-sheet.mjs +3 -3
- package/esm2020/button/button-module.mjs +5 -5
- package/esm2020/button/button.mjs +6 -6
- package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2020/button-toggle/button-toggle.mjs +6 -6
- package/esm2020/card/card-module.mjs +5 -5
- package/esm2020/card/card.mjs +42 -42
- package/esm2020/checkbox/checkbox-module.mjs +9 -9
- package/esm2020/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2020/checkbox/checkbox.mjs +3 -3
- package/esm2020/chips/chip-input.mjs +3 -3
- package/esm2020/chips/chip-list.mjs +3 -3
- package/esm2020/chips/chip.mjs +12 -12
- package/esm2020/chips/chips-module.mjs +6 -6
- package/esm2020/core/common-behaviors/common-module.mjs +5 -5
- package/esm2020/core/datetime/index.mjs +9 -9
- 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 +8 -8
- package/esm2020/core/option/index.mjs +5 -5
- package/esm2020/core/option/optgroup.mjs +6 -6
- package/esm2020/core/option/option.mjs +6 -6
- package/esm2020/core/ripple/index.mjs +5 -5
- package/esm2020/core/ripple/ripple.mjs +3 -3
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar-body.mjs +3 -3
- 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 +10 -12
- 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 +33 -215
- package/esm2020/dialog/dialog-content-directives.mjs +14 -14
- package/esm2020/dialog/dialog-module.mjs +8 -7
- package/esm2020/dialog/dialog-ref.mjs +25 -57
- package/esm2020/dialog/dialog.mjs +74 -197
- package/esm2020/divider/divider-module.mjs +5 -5
- package/esm2020/divider/divider.mjs +3 -3
- package/esm2020/expansion/accordion.mjs +3 -3
- package/esm2020/expansion/expansion-module.mjs +5 -5
- 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/error.mjs +3 -3
- package/esm2020/form-field/form-field-control.mjs +3 -3
- package/esm2020/form-field/form-field-module.mjs +5 -5
- package/esm2020/form-field/form-field.mjs +3 -3
- package/esm2020/form-field/hint.mjs +3 -3
- package/esm2020/form-field/label.mjs +3 -3
- package/esm2020/form-field/placeholder.mjs +3 -3
- package/esm2020/form-field/prefix.mjs +3 -3
- package/esm2020/form-field/suffix.mjs +3 -3
- package/esm2020/grid-list/grid-list-module.mjs +5 -5
- package/esm2020/grid-list/grid-list.mjs +3 -3
- package/esm2020/grid-list/grid-tile.mjs +15 -15
- package/esm2020/icon/icon-module.mjs +5 -5
- 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-module.mjs +5 -5
- package/esm2020/input/input.mjs +3 -3
- package/esm2020/list/list-module.mjs +5 -5
- package/esm2020/list/list.mjs +18 -18
- package/esm2020/list/selection-list.mjs +6 -6
- package/esm2020/menu/menu-content.mjs +7 -7
- package/esm2020/menu/menu-item.mjs +4 -4
- package/esm2020/menu/menu-module.mjs +5 -5
- package/esm2020/menu/menu-trigger.mjs +7 -7
- package/esm2020/menu/menu.mjs +7 -7
- package/esm2020/paginator/paginator-intl.mjs +3 -3
- package/esm2020/paginator/paginator-module.mjs +5 -5
- package/esm2020/paginator/paginator.mjs +6 -6
- package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.mjs +3 -3
- package/esm2020/progress-spinner/progress-spinner-module.mjs +5 -5
- package/esm2020/progress-spinner/progress-spinner.mjs +3 -3
- package/esm2020/radio/radio-module.mjs +5 -5
- package/esm2020/radio/radio.mjs +12 -12
- package/esm2020/select/select-module.mjs +5 -5
- package/esm2020/select/select.mjs +9 -9
- package/esm2020/sidenav/drawer.mjs +9 -9
- package/esm2020/sidenav/sidenav-module.mjs +5 -5
- package/esm2020/sidenav/sidenav.mjs +9 -9
- package/esm2020/slide-toggle/slide-toggle-module.mjs +12 -14
- package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +3 -3
- package/esm2020/slide-toggle/slide-toggle.mjs +3 -3
- package/esm2020/slider/slider-module.mjs +5 -5
- package/esm2020/slider/slider.mjs +3 -3
- package/esm2020/snack-bar/simple-snack-bar.mjs +3 -3
- package/esm2020/snack-bar/snack-bar-container.mjs +3 -3
- package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
- package/esm2020/snack-bar/snack-bar-ref.mjs +2 -3
- 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 +5 -5
- package/esm2020/sort/sort.mjs +3 -3
- 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 +11 -13
- package/esm2020/stepper/stepper.mjs +6 -6
- package/esm2020/table/cell.mjs +21 -21
- package/esm2020/table/row.mjs +21 -21
- package/esm2020/table/table-module.mjs +5 -5
- package/esm2020/table/table.mjs +6 -6
- package/esm2020/table/text-column.mjs +3 -3
- package/esm2020/tabs/ink-bar.mjs +3 -3
- 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 +3 -3
- 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 +3 -3
- package/esm2020/tabs/tabs-module.mjs +10 -12
- package/esm2020/toolbar/toolbar-module.mjs +5 -5
- package/esm2020/toolbar/toolbar.mjs +6 -6
- package/esm2020/tooltip/tooltip-module.mjs +5 -5
- package/esm2020/tooltip/tooltip.mjs +12 -12
- 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 +5 -5
- package/esm2020/tree/tree.mjs +3 -3
- package/expansion/index.d.ts +343 -5
- package/expansion/testing/index.d.ts +106 -8
- package/fesm2015/autocomplete/testing.mjs +6 -0
- package/fesm2015/autocomplete/testing.mjs.map +1 -1
- package/fesm2015/autocomplete.mjs +23 -23
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/badge.mjs +7 -7
- package/fesm2015/badge.mjs.map +1 -1
- package/fesm2015/bottom-sheet.mjs +10 -10
- package/fesm2015/bottom-sheet.mjs.map +1 -1
- package/fesm2015/button-toggle.mjs +10 -10
- package/fesm2015/button-toggle.mjs.map +1 -1
- package/fesm2015/button.mjs +10 -10
- package/fesm2015/button.mjs.map +1 -1
- package/fesm2015/card.mjs +46 -46
- package/fesm2015/card.mjs.map +1 -1
- package/fesm2015/checkbox.mjs +14 -14
- package/fesm2015/checkbox.mjs.map +1 -1
- package/fesm2015/chips.mjs +23 -23
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +59 -59
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +87 -89
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog.mjs +140 -483
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/divider.mjs +7 -7
- package/fesm2015/divider.mjs.map +1 -1
- package/fesm2015/expansion.mjs +25 -25
- package/fesm2015/expansion.mjs.map +1 -1
- package/fesm2015/form-field.mjs +28 -28
- package/fesm2015/form-field.mjs.map +1 -1
- package/fesm2015/grid-list.mjs +22 -22
- package/fesm2015/grid-list.mjs.map +1 -1
- package/fesm2015/icon/testing.mjs +7 -7
- package/fesm2015/icon.mjs +10 -10
- package/fesm2015/icon.mjs.map +1 -1
- package/fesm2015/input.mjs +7 -7
- package/fesm2015/input.mjs.map +1 -1
- package/fesm2015/list.mjs +28 -28
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/menu.mjs +25 -25
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/paginator.mjs +13 -13
- package/fesm2015/paginator.mjs.map +1 -1
- package/fesm2015/progress-bar.mjs +7 -7
- package/fesm2015/progress-bar.mjs.map +1 -1
- package/fesm2015/progress-spinner.mjs +7 -7
- package/fesm2015/progress-spinner.mjs.map +1 -1
- package/fesm2015/radio.mjs +16 -16
- package/fesm2015/radio.mjs.map +1 -1
- package/fesm2015/select.mjs +13 -13
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/sidenav.mjs +22 -22
- package/fesm2015/sidenav.mjs.map +1 -1
- package/fesm2015/slide-toggle.mjs +17 -19
- package/fesm2015/slide-toggle.mjs.map +1 -1
- package/fesm2015/slider.mjs +7 -7
- package/fesm2015/slider.mjs.map +1 -1
- package/fesm2015/snack-bar.mjs +17 -18
- package/fesm2015/snack-bar.mjs.map +1 -1
- package/fesm2015/sort.mjs +13 -13
- package/fesm2015/sort.mjs.map +1 -1
- package/fesm2015/stepper.mjs +37 -39
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +55 -55
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/tabs.mjs +63 -65
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2015/toolbar.mjs +10 -10
- package/fesm2015/toolbar.mjs.map +1 -1
- package/fesm2015/tooltip.mjs +16 -16
- package/fesm2015/tooltip.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -25
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/autocomplete/testing.mjs +4 -0
- package/fesm2020/autocomplete/testing.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +23 -23
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/badge.mjs +7 -7
- package/fesm2020/badge.mjs.map +1 -1
- package/fesm2020/bottom-sheet.mjs +10 -10
- package/fesm2020/bottom-sheet.mjs.map +1 -1
- package/fesm2020/button-toggle.mjs +10 -10
- package/fesm2020/button-toggle.mjs.map +1 -1
- package/fesm2020/button.mjs +10 -10
- package/fesm2020/button.mjs.map +1 -1
- package/fesm2020/card.mjs +46 -46
- package/fesm2020/card.mjs.map +1 -1
- package/fesm2020/checkbox.mjs +14 -14
- package/fesm2020/checkbox.mjs.map +1 -1
- package/fesm2020/chips.mjs +23 -23
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +59 -59
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +87 -89
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog.mjs +143 -481
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/divider.mjs +7 -7
- package/fesm2020/divider.mjs.map +1 -1
- package/fesm2020/expansion.mjs +25 -25
- package/fesm2020/expansion.mjs.map +1 -1
- package/fesm2020/form-field.mjs +28 -28
- package/fesm2020/form-field.mjs.map +1 -1
- package/fesm2020/grid-list.mjs +22 -22
- package/fesm2020/grid-list.mjs.map +1 -1
- package/fesm2020/icon/testing.mjs +7 -7
- package/fesm2020/icon.mjs +10 -10
- package/fesm2020/icon.mjs.map +1 -1
- package/fesm2020/input.mjs +7 -7
- package/fesm2020/input.mjs.map +1 -1
- package/fesm2020/list.mjs +28 -28
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/menu.mjs +25 -25
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/paginator.mjs +13 -13
- package/fesm2020/paginator.mjs.map +1 -1
- package/fesm2020/progress-bar.mjs +7 -7
- package/fesm2020/progress-bar.mjs.map +1 -1
- package/fesm2020/progress-spinner.mjs +7 -7
- package/fesm2020/progress-spinner.mjs.map +1 -1
- package/fesm2020/radio.mjs +16 -16
- package/fesm2020/radio.mjs.map +1 -1
- package/fesm2020/select.mjs +13 -13
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/sidenav.mjs +22 -22
- package/fesm2020/sidenav.mjs.map +1 -1
- package/fesm2020/slide-toggle.mjs +17 -19
- package/fesm2020/slide-toggle.mjs.map +1 -1
- package/fesm2020/slider.mjs +7 -7
- package/fesm2020/slider.mjs.map +1 -1
- package/fesm2020/snack-bar.mjs +17 -18
- package/fesm2020/snack-bar.mjs.map +1 -1
- package/fesm2020/sort.mjs +13 -13
- package/fesm2020/sort.mjs.map +1 -1
- package/fesm2020/stepper.mjs +37 -39
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +55 -55
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/tabs.mjs +63 -65
- package/fesm2020/tabs.mjs.map +1 -1
- package/fesm2020/toolbar.mjs +10 -10
- package/fesm2020/toolbar.mjs.map +1 -1
- package/fesm2020/tooltip.mjs +16 -16
- package/fesm2020/tooltip.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -25
- package/fesm2020/tree.mjs.map +1 -1
- package/form-field/index.d.ts +401 -5
- package/form-field/testing/control/index.d.ts +8 -6
- package/form-field/testing/index.d.ts +127 -8
- package/grid-list/index.d.ts +232 -5
- package/grid-list/testing/index.d.ts +86 -8
- package/icon/index.d.ts +443 -5
- package/icon/testing/index.d.ts +81 -6
- package/index.d.ts +3 -7
- package/input/index.d.ts +209 -6
- package/input/testing/index.d.ts +129 -8
- package/list/index.d.ts +369 -6
- package/list/testing/index.d.ts +329 -6
- package/menu/index.d.ts +618 -6
- package/menu/testing/index.d.ts +115 -8
- package/package.json +38 -38
- package/paginator/index.d.ts +224 -6
- package/paginator/testing/index.d.ts +65 -8
- package/progress-bar/index.d.ts +147 -6
- package/progress-bar/testing/index.d.ts +26 -8
- package/progress-spinner/index.d.ts +138 -6
- package/progress-spinner/testing/index.d.ts +27 -8
- package/radio/index.d.ts +305 -6
- package/radio/testing/index.d.ts +130 -8
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/select/index.d.ts +534 -5
- package/select/testing/index.d.ts +79 -8
- package/sidenav/index.d.ts +395 -5
- package/sidenav/testing/index.d.ts +124 -6
- package/slide-toggle/index.d.ts +173 -5
- package/slide-toggle/testing/index.d.ts +77 -8
- package/slider/index.d.ts +289 -6
- package/slider/testing/index.d.ts +60 -8
- package/snack-bar/index.d.ts +372 -6
- package/snack-bar/testing/index.d.ts +72 -8
- package/sort/index.d.ts +326 -5
- package/sort/testing/index.d.ts +50 -8
- package/stepper/index.d.ts +288 -6
- package/stepper/testing/index.d.ts +142 -6
- package/table/index.d.ts +382 -5
- package/table/testing/index.d.ts +178 -8
- package/tabs/index.d.ts +963 -5
- package/tabs/testing/index.d.ts +153 -8
- package/toolbar/index.d.ts +56 -6
- package/toolbar/testing/index.d.ts +35 -8
- package/tooltip/index.d.ts +362 -5
- package/tooltip/testing/index.d.ts +42 -8
- package/tree/index.d.ts +243 -5
- package/tree/testing/index.d.ts +122 -8
- package/autocomplete/autocomplete-module.d.ts +0 -13
- package/autocomplete/autocomplete-origin.d.ts +0 -27
- package/autocomplete/autocomplete-trigger.d.ts +0 -211
- package/autocomplete/autocomplete.d.ts +0 -150
- package/autocomplete/autocomplete_public_index.d.ts +0 -4
- package/autocomplete/package.json +0 -9
- package/autocomplete/public-api.d.ts +0 -11
- package/autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
- package/autocomplete/testing/autocomplete-harness.d.ts +0 -61
- package/autocomplete/testing/package.json +0 -9
- package/autocomplete/testing/public-api.d.ts +0 -9
- package/badge/badge-module.d.ts +0 -9
- package/badge/badge.d.ts +0 -86
- package/badge/badge_public_index.d.ts +0 -4
- package/badge/package.json +0 -9
- package/badge/public-api.d.ts +0 -9
- package/badge/testing/badge-harness-filters.d.ts +0 -11
- package/badge/testing/badge-harness.d.ts +0 -34
- package/badge/testing/package.json +0 -9
- package/badge/testing/public-api.d.ts +0 -9
- package/bottom-sheet/bottom-sheet-animations.d.ts +0 -12
- package/bottom-sheet/bottom-sheet-config.d.ts +0 -54
- package/bottom-sheet/bottom-sheet-container.d.ts +0 -87
- package/bottom-sheet/bottom-sheet-module.d.ts +0 -10
- package/bottom-sheet/bottom-sheet-ref.d.ts +0 -51
- package/bottom-sheet/bottom-sheet.d.ts +0 -59
- package/bottom-sheet/bottom-sheet_public_index.d.ts +0 -4
- package/bottom-sheet/package.json +0 -9
- package/bottom-sheet/public-api.d.ts +0 -13
- package/bottom-sheet/testing/bottom-sheet-harness-filters.d.ts +0 -10
- package/bottom-sheet/testing/bottom-sheet-harness.d.ts +0 -27
- package/bottom-sheet/testing/package.json +0 -9
- package/bottom-sheet/testing/public-api.d.ts +0 -9
- package/button/button-module.d.ts +0 -8
- package/button/button.d.ts +0 -58
- package/button/button_public_index.d.ts +0 -4
- package/button/package.json +0 -9
- package/button/public-api.d.ts +0 -9
- package/button/testing/button-harness-filters.d.ts +0 -13
- package/button/testing/button-harness.d.ts +0 -41
- package/button/testing/package.json +0 -9
- package/button/testing/public-api.d.ts +0 -9
- package/button-toggle/button-toggle-module.d.ts +0 -8
- package/button-toggle/button-toggle.d.ts +0 -212
- package/button-toggle/button-toggle_public_index.d.ts +0 -4
- package/button-toggle/package.json +0 -9
- package/button-toggle/public-api.d.ts +0 -9
- package/button-toggle/testing/button-toggle-group-harness-filters.d.ts +0 -11
- package/button-toggle/testing/button-toggle-group-harness.d.ts +0 -35
- package/button-toggle/testing/button-toggle-harness-filters.d.ts +0 -17
- package/button-toggle/testing/button-toggle-harness.d.ts +0 -56
- package/button-toggle/testing/package.json +0 -9
- package/button-toggle/testing/public-api.d.ts +0 -11
- package/card/card-module.d.ts +0 -8
- package/card/card.d.ts +0 -126
- package/card/card_public_index.d.ts +0 -4
- package/card/package.json +0 -9
- package/card/public-api.d.ts +0 -9
- package/card/testing/card-harness-filters.d.ts +0 -17
- package/card/testing/card-harness.d.ts +0 -36
- package/card/testing/package.json +0 -9
- package/card/testing/public-api.d.ts +0 -9
- package/checkbox/checkbox-config.d.ts +0 -28
- package/checkbox/checkbox-module.d.ts +0 -16
- package/checkbox/checkbox-required-validator.d.ts +0 -20
- package/checkbox/checkbox.d.ts +0 -166
- package/checkbox/checkbox_public_index.d.ts +0 -4
- package/checkbox/package.json +0 -9
- package/checkbox/public-api.d.ts +0 -11
- package/checkbox/testing/checkbox-harness-filters.d.ts +0 -17
- package/checkbox/testing/checkbox-harness.d.ts +0 -81
- package/checkbox/testing/package.json +0 -9
- package/checkbox/testing/public-api.d.ts +0 -9
- package/chips/chip-default-options.d.ts +0 -15
- package/chips/chip-input.d.ts +0 -91
- package/chips/chip-list.d.ts +0 -289
- package/chips/chip-text-control.d.ts +0 -20
- package/chips/chip.d.ts +0 -208
- package/chips/chips-module.d.ts +0 -10
- package/chips/chips_public_index.d.ts +0 -4
- package/chips/package.json +0 -9
- package/chips/public-api.d.ts +0 -12
- package/chips/testing/chip-avatar-harness.d.ts +0 -20
- package/chips/testing/chip-harness-filters.d.ts +0 -43
- package/chips/testing/chip-harness.d.ts +0 -63
- package/chips/testing/chip-input-harness.d.ts +0 -47
- package/chips/testing/chip-list-harness.d.ts +0 -54
- package/chips/testing/chip-listbox-harness.d.ts +0 -34
- package/chips/testing/chip-option-harness.d.ts +0 -29
- package/chips/testing/chip-remove-harness.d.ts +0 -22
- package/chips/testing/package.json +0 -9
- package/chips/testing/public-api.d.ts +0 -14
- package/core/animation/animation.d.ts +0 -20
- package/core/common-behaviors/color.d.ts +0 -26
- package/core/common-behaviors/common-module.d.ts +0 -44
- package/core/common-behaviors/constructor.d.ts +0 -14
- package/core/common-behaviors/disable-ripple.d.ts +0 -17
- package/core/common-behaviors/disabled.d.ts +0 -17
- package/core/common-behaviors/error-state.d.ts +0 -35
- package/core/common-behaviors/index.d.ts +0 -15
- package/core/common-behaviors/initialized.d.ts +0 -30
- package/core/common-behaviors/tabindex.d.ts +0 -20
- package/core/core_public_index.d.ts +0 -4
- package/core/datetime/date-adapter.d.ts +0 -215
- package/core/datetime/date-formats.d.ts +0 -21
- package/core/datetime/index.d.ts +0 -15
- package/core/datetime/native-date-adapter.d.ts +0 -74
- package/core/datetime/native-date-formats.d.ts +0 -9
- package/core/error/error-options.d.ts +0 -14
- package/core/line/line.d.ts +0 -29
- package/core/option/index.d.ts +0 -15
- package/core/option/optgroup.d.ts +0 -40
- package/core/option/option-parent.d.ts +0 -22
- package/core/option/option.d.ts +0 -135
- package/core/package.json +0 -9
- package/core/public-api.d.ts +0 -16
- package/core/ripple/index.d.ts +0 -11
- package/core/ripple/ripple-ref.d.ts +0 -54
- package/core/ripple/ripple-renderer.d.ts +0 -105
- package/core/ripple/ripple.d.ts +0 -113
- package/core/selection/index.d.ts +0 -9
- package/core/selection/pseudo-checkbox/pseudo-checkbox-module.d.ts +0 -8
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +0 -29
- package/core/testing/optgroup-harness-filters.d.ts +0 -11
- package/core/testing/optgroup-harness.d.ts +0 -33
- package/core/testing/option-harness-filters.d.ts +0 -12
- package/core/testing/option-harness.d.ts +0 -35
- package/core/testing/package.json +0 -9
- package/core/testing/public-api.d.ts +0 -11
- package/core/version.d.ts +0 -10
- package/datepicker/calendar-body.d.ts +0 -176
- package/datepicker/calendar.d.ts +0 -156
- package/datepicker/date-range-input-parts.d.ts +0 -108
- package/datepicker/date-range-input.d.ts +0 -133
- package/datepicker/date-range-picker.d.ts +0 -17
- package/datepicker/date-range-selection-strategy.d.ts +0 -48
- package/datepicker/date-selection-model.d.ts +0 -139
- package/datepicker/datepicker-actions.d.ts +0 -40
- package/datepicker/datepicker-animations.d.ts +0 -16
- package/datepicker/datepicker-base.d.ts +0 -272
- package/datepicker/datepicker-errors.d.ts +0 -9
- package/datepicker/datepicker-input-base.d.ts +0 -136
- package/datepicker/datepicker-input.d.ts +0 -67
- package/datepicker/datepicker-intl.d.ts +0 -36
- package/datepicker/datepicker-module.d.ts +0 -26
- package/datepicker/datepicker-toggle.d.ts +0 -47
- package/datepicker/datepicker.d.ts +0 -7
- package/datepicker/datepicker_public_index.d.ts +0 -4
- package/datepicker/month-view.d.ts +0 -139
- package/datepicker/multi-year-view.d.ts +0 -103
- package/datepicker/package.json +0 -9
- package/datepicker/public-api.d.ts +0 -26
- package/datepicker/testing/calendar-cell-harness.d.ts +0 -64
- package/datepicker/testing/calendar-harness.d.ts +0 -53
- package/datepicker/testing/date-range-input-harness.d.ts +0 -59
- package/datepicker/testing/datepicker-harness-filters.d.ts +0 -45
- package/datepicker/testing/datepicker-input-harness-base.d.ts +0 -44
- package/datepicker/testing/datepicker-input-harness.d.ts +0 -36
- package/datepicker/testing/datepicker-toggle-harness.d.ts +0 -28
- package/datepicker/testing/datepicker-trigger-harness-base.d.ts +0 -44
- package/datepicker/testing/package.json +0 -9
- package/datepicker/testing/public-api.d.ts +0 -13
- package/datepicker/year-view.d.ts +0 -114
- package/dialog/dialog-animations.d.ts +0 -25
- package/dialog/dialog-config.d.ts +0 -105
- package/dialog/dialog-container.d.ts +0 -137
- package/dialog/dialog-content-directives.d.ts +0 -76
- package/dialog/dialog-module.d.ts +0 -11
- package/dialog/dialog-ref.d.ts +0 -101
- package/dialog/dialog.d.ts +0 -154
- package/dialog/dialog_public_index.d.ts +0 -4
- package/dialog/package.json +0 -9
- package/dialog/public-api.d.ts +0 -14
- package/dialog/testing/dialog-harness-filters.d.ts +0 -11
- package/dialog/testing/dialog-harness.d.ts +0 -58
- package/dialog/testing/dialog-opener.d.ts +0 -33
- package/dialog/testing/package.json +0 -9
- package/dialog/testing/public-api.d.ts +0 -10
- package/divider/divider-module.d.ts +0 -8
- package/divider/divider.d.ts +0 -14
- package/divider/divider_public_index.d.ts +0 -4
- package/divider/package.json +0 -9
- package/divider/public-api.d.ts +0 -9
- package/divider/testing/divider-harness-filters.d.ts +0 -10
- package/divider/testing/divider-harness.d.ts +0 -16
- package/divider/testing/package.json +0 -9
- package/divider/testing/public-api.d.ts +0 -9
- package/expansion/accordion-base.d.ts +0 -34
- package/expansion/accordion.d.ts +0 -45
- package/expansion/expansion-animations.d.ts +0 -36
- package/expansion/expansion-module.d.ts +0 -14
- package/expansion/expansion-panel-base.d.ts +0 -22
- package/expansion/expansion-panel-content.d.ts +0 -21
- package/expansion/expansion-panel-header.d.ts +0 -83
- package/expansion/expansion-panel.d.ts +0 -96
- package/expansion/expansion_public_index.d.ts +0 -4
- package/expansion/package.json +0 -9
- package/expansion/public-api.d.ts +0 -15
- package/expansion/testing/accordion-harness.d.ts +0 -25
- package/expansion/testing/expansion-harness-filters.d.ts +0 -17
- package/expansion/testing/expansion-harness.d.ts +0 -79
- package/expansion/testing/package.json +0 -9
- package/expansion/testing/public-api.d.ts +0 -10
- package/form-field/error.d.ts +0 -22
- package/form-field/form-field-animations.d.ts +0 -15
- package/form-field/form-field-control.d.ts +0 -60
- package/form-field/form-field-errors.d.ts +0 -13
- package/form-field/form-field-module.d.ts +0 -16
- package/form-field/form-field.d.ts +0 -189
- package/form-field/form-field_public_index.d.ts +0 -4
- package/form-field/hint.d.ts +0 -27
- package/form-field/label.d.ts +0 -6
- package/form-field/package.json +0 -9
- package/form-field/placeholder.d.ts +0 -11
- package/form-field/prefix.d.ts +0 -20
- package/form-field/public-api.d.ts +0 -18
- package/form-field/suffix.d.ts +0 -20
- package/form-field/testing/control/form-field-control-harness.d.ts +0 -14
- package/form-field/testing/control/package.json +0 -9
- package/form-field/testing/form-field-harness-filters.d.ts +0 -15
- package/form-field/testing/form-field-harness.d.ts +0 -114
- package/form-field/testing/package.json +0 -9
- package/form-field/testing/public-api.d.ts +0 -10
- package/grid-list/grid-list-base.d.ts +0 -22
- package/grid-list/grid-list-module.d.ts +0 -9
- package/grid-list/grid-list.d.ts +0 -63
- package/grid-list/grid-list_public_index.d.ts +0 -4
- package/grid-list/grid-tile.d.ts +0 -64
- package/grid-list/package.json +0 -9
- package/grid-list/public-api.d.ts +0 -12
- package/grid-list/testing/grid-list-harness-filters.d.ts +0 -18
- package/grid-list/testing/grid-list-harness.d.ts +0 -41
- package/grid-list/testing/grid-tile-harness.d.ts +0 -43
- package/grid-list/testing/package.json +0 -9
- package/grid-list/testing/public-api.d.ts +0 -10
- package/grid-list/tile-coordinator.d.ts +0 -79
- package/grid-list/tile-styler.d.ts +0 -134
- package/icon/fake-svgs.d.ts +0 -23
- package/icon/icon-module.d.ts +0 -8
- package/icon/icon-registry.d.ts +0 -262
- package/icon/icon.d.ts +0 -147
- package/icon/icon_public_index.d.ts +0 -4
- package/icon/package.json +0 -9
- package/icon/public-api.d.ts +0 -10
- package/icon/testing/fake-icon-registry.d.ts +0 -46
- package/icon/testing/icon-harness-filters.d.ts +0 -22
- package/icon/testing/icon-harness.d.ts +0 -29
- package/icon/testing/package.json +0 -9
- package/icon/testing/public-api.d.ts +0 -10
- package/icon/testing/testing_public_index.d.ts +0 -4
- package/icon/trusted-types.d.ts +0 -37
- package/input/input-errors.d.ts +0 -9
- package/input/input-module.d.ts +0 -10
- package/input/input-value-accessor.d.ts +0 -17
- package/input/input.d.ts +0 -174
- package/input/input_public_index.d.ts +0 -4
- package/input/package.json +0 -9
- package/input/public-api.d.ts +0 -11
- package/input/testing/input-harness-filters.d.ts +0 -15
- package/input/testing/input-harness.d.ts +0 -57
- package/input/testing/native-option-harness.d.ts +0 -29
- package/input/testing/native-select-harness-filters.d.ts +0 -17
- package/input/testing/native-select-harness.d.ts +0 -45
- package/input/testing/package.json +0 -9
- package/input/testing/public-api.d.ts +0 -12
- package/list/list-module.d.ts +0 -11
- package/list/list.d.ts +0 -99
- package/list/list_public_index.d.ts +0 -4
- package/list/package.json +0 -9
- package/list/public-api.d.ts +0 -10
- package/list/selection-list.d.ts +0 -226
- package/list/testing/action-list-harness.d.ts +0 -44
- package/list/testing/list-harness-base.d.ts +0 -100
- package/list/testing/list-harness-filters.d.ts +0 -32
- package/list/testing/list-harness.d.ts +0 -36
- package/list/testing/list-item-harness-base.d.ts +0 -48
- package/list/testing/nav-list-harness.d.ts +0 -46
- package/list/testing/package.json +0 -9
- package/list/testing/public-api.d.ts +0 -13
- package/list/testing/selection-list-harness.d.ts +0 -74
- package/menu/menu-animations.d.ts +0 -30
- package/menu/menu-content.d.ts +0 -47
- package/menu/menu-errors.d.ts +0 -25
- package/menu/menu-item.d.ts +0 -61
- package/menu/menu-module.d.ts +0 -14
- package/menu/menu-panel.d.ts +0 -49
- package/menu/menu-positions.d.ts +0 -9
- package/menu/menu-trigger.d.ts +0 -180
- package/menu/menu.d.ts +0 -207
- package/menu/menu_public_index.d.ts +0 -4
- package/menu/package.json +0 -9
- package/menu/public-api.d.ts +0 -15
- package/menu/testing/menu-harness-filters.d.ts +0 -20
- package/menu/testing/menu-harness.d.ts +0 -98
- package/menu/testing/package.json +0 -9
- package/menu/testing/public-api.d.ts +0 -9
- package/paginator/package.json +0 -9
- package/paginator/paginator-intl.d.ts +0 -43
- package/paginator/paginator-module.d.ts +0 -12
- package/paginator/paginator.d.ts +0 -157
- package/paginator/paginator_public_index.d.ts +0 -4
- package/paginator/public-api.d.ts +0 -10
- package/paginator/testing/package.json +0 -9
- package/paginator/testing/paginator-harness-filters.d.ts +0 -11
- package/paginator/testing/paginator-harness.d.ts +0 -61
- package/paginator/testing/public-api.d.ts +0 -9
- package/progress-bar/package.json +0 -9
- package/progress-bar/progress-bar-module.d.ts +0 -9
- package/progress-bar/progress-bar.d.ts +0 -116
- package/progress-bar/progress-bar_public_index.d.ts +0 -4
- package/progress-bar/public-api.d.ts +0 -9
- package/progress-bar/testing/package.json +0 -9
- package/progress-bar/testing/progress-bar-harness-filters.d.ts +0 -11
- package/progress-bar/testing/progress-bar-harness.d.ts +0 -25
- package/progress-bar/testing/public-api.d.ts +0 -9
- package/progress-spinner/package.json +0 -9
- package/progress-spinner/progress-spinner-module.d.ts +0 -9
- package/progress-spinner/progress-spinner.d.ts +0 -107
- package/progress-spinner/progress-spinner_public_index.d.ts +0 -4
- package/progress-spinner/public-api.d.ts +0 -16
- package/progress-spinner/testing/package.json +0 -9
- package/progress-spinner/testing/progress-spinner-harness-filters.d.ts +0 -11
- package/progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
- package/progress-spinner/testing/public-api.d.ts +0 -9
- package/radio/package.json +0 -9
- package/radio/public-api.d.ts +0 -9
- package/radio/radio-module.d.ts +0 -8
- package/radio/radio.d.ts +0 -265
- package/radio/radio_public_index.d.ts +0 -4
- package/radio/testing/package.json +0 -9
- package/radio/testing/public-api.d.ts +0 -9
- package/radio/testing/radio-harness-filters.d.ts +0 -22
- package/radio/testing/radio-harness.d.ts +0 -111
- package/select/package.json +0 -9
- package/select/public-api.d.ts +0 -10
- package/select/select-animations.d.ts +0 -19
- package/select/select-errors.d.ts +0 -26
- package/select/select-module.d.ts +0 -12
- package/select/select.d.ts +0 -455
- package/select/select_public_index.d.ts +0 -4
- package/select/testing/package.json +0 -9
- package/select/testing/public-api.d.ts +0 -9
- package/select/testing/select-harness-filters.d.ts +0 -11
- package/select/testing/select-harness.d.ts +0 -73
- package/sidenav/drawer-animations.d.ts +0 -15
- package/sidenav/drawer.d.ts +0 -299
- package/sidenav/package.json +0 -9
- package/sidenav/public-api.d.ts +0 -11
- package/sidenav/sidenav-module.d.ts +0 -11
- package/sidenav/sidenav.d.ts +0 -45
- package/sidenav/sidenav_public_index.d.ts +0 -4
- package/sidenav/testing/drawer-container-harness.d.ts +0 -30
- package/sidenav/testing/drawer-content-harness.d.ts +0 -21
- package/sidenav/testing/drawer-harness-filters.d.ts +0 -19
- package/sidenav/testing/drawer-harness.d.ts +0 -33
- package/sidenav/testing/package.json +0 -9
- package/sidenav/testing/public-api.d.ts +0 -14
- package/sidenav/testing/sidenav-container-harness.d.ts +0 -30
- package/sidenav/testing/sidenav-content-harness.d.ts +0 -21
- package/sidenav/testing/sidenav-harness.d.ts +0 -24
- package/slide-toggle/package.json +0 -9
- package/slide-toggle/public-api.d.ts +0 -11
- package/slide-toggle/slide-toggle-config.d.ts +0 -18
- package/slide-toggle/slide-toggle-module.d.ts +0 -16
- package/slide-toggle/slide-toggle-required-validator.d.ts +0 -23
- package/slide-toggle/slide-toggle.d.ts +0 -109
- package/slide-toggle/slide-toggle_public_index.d.ts +0 -4
- package/slide-toggle/testing/package.json +0 -9
- package/slide-toggle/testing/public-api.d.ts +0 -9
- package/slide-toggle/testing/slide-toggle-harness-filters.d.ts +0 -19
- package/slide-toggle/testing/slide-toggle-harness.d.ts +0 -65
- package/slider/package.json +0 -9
- package/slider/public-api.d.ts +0 -9
- package/slider/slider-module.d.ts +0 -9
- package/slider/slider.d.ts +0 -267
- package/slider/slider_public_index.d.ts +0 -4
- package/slider/testing/package.json +0 -9
- package/slider/testing/public-api.d.ts +0 -9
- package/slider/testing/slider-harness-filters.d.ts +0 -11
- package/slider/testing/slider-harness.d.ts +0 -59
- package/snack-bar/package.json +0 -9
- package/snack-bar/public-api.d.ts +0 -14
- package/snack-bar/simple-snack-bar.d.ts +0 -33
- package/snack-bar/snack-bar-animations.d.ts +0 -15
- package/snack-bar/snack-bar-config.d.ts +0 -45
- package/snack-bar/snack-bar-container.d.ts +0 -101
- package/snack-bar/snack-bar-module.d.ts +0 -13
- package/snack-bar/snack-bar-ref.d.ts +0 -64
- package/snack-bar/snack-bar.d.ts +0 -107
- package/snack-bar/snack-bar_public_index.d.ts +0 -4
- package/snack-bar/testing/package.json +0 -9
- package/snack-bar/testing/public-api.d.ts +0 -9
- package/snack-bar/testing/snack-bar-harness-filters.d.ts +0 -11
- package/snack-bar/testing/snack-bar-harness.d.ts +0 -71
- package/sort/package.json +0 -9
- package/sort/public-api.d.ts +0 -13
- package/sort/sort-animations.d.ts +0 -20
- package/sort/sort-direction.d.ts +0 -8
- package/sort/sort-errors.d.ts +0 -15
- package/sort/sort-header-intl.d.ts +0 -31
- package/sort/sort-header.d.ts +0 -166
- package/sort/sort-module.d.ts +0 -10
- package/sort/sort.d.ts +0 -93
- package/sort/sort_public_index.d.ts +0 -4
- package/sort/testing/package.json +0 -9
- package/sort/testing/public-api.d.ts +0 -10
- package/sort/testing/sort-harness-filters.d.ts +0 -15
- package/sort/testing/sort-harness.d.ts +0 -24
- package/sort/testing/sort-header-harness.d.ts +0 -30
- package/stepper/package.json +0 -9
- package/stepper/public-api.d.ts +0 -17
- package/stepper/step-content.d.ts +0 -18
- package/stepper/step-header.d.ts +0 -66
- package/stepper/step-label.d.ts +0 -6
- package/stepper/stepper-animations.d.ts +0 -18
- package/stepper/stepper-button.d.ts +0 -19
- package/stepper/stepper-icon.d.ts +0 -30
- package/stepper/stepper-intl.d.ts +0 -34
- package/stepper/stepper-module.d.ts +0 -18
- package/stepper/stepper.d.ts +0 -80
- package/stepper/stepper_public_index.d.ts +0 -4
- package/stepper/testing/package.json +0 -9
- package/stepper/testing/public-api.d.ts +0 -11
- package/stepper/testing/step-harness-filters.d.ts +0 -37
- package/stepper/testing/step-harness.d.ts +0 -52
- package/stepper/testing/stepper-button-harnesses.d.ts +0 -41
- package/stepper/testing/stepper-harness.d.ts +0 -35
- package/table/cell.d.ts +0 -59
- package/table/package.json +0 -9
- package/table/public-api.d.ts +0 -13
- package/table/row.d.ts +0 -55
- package/table/table-data-source.d.ts +0 -169
- package/table/table-module.d.ts +0 -12
- package/table/table.d.ts +0 -28
- package/table/table_public_index.d.ts +0 -4
- package/table/testing/cell-harness.d.ts +0 -49
- package/table/testing/package.json +0 -9
- package/table/testing/public-api.d.ts +0 -11
- package/table/testing/row-harness.d.ts +0 -66
- package/table/testing/table-harness-filters.d.ts +0 -21
- package/table/testing/table-harness.d.ts +0 -58
- package/table/text-column.d.ts +0 -22
- package/tabs/ink-bar.d.ts +0 -49
- package/tabs/package.json +0 -9
- package/tabs/paginated-tab-header.d.ts +0 -196
- package/tabs/public-api.d.ts +0 -20
- package/tabs/tab-body.d.ts +0 -116
- package/tabs/tab-config.d.ts +0 -35
- package/tabs/tab-content.d.ts +0 -22
- package/tabs/tab-group.d.ts +0 -183
- package/tabs/tab-header.d.ts +0 -49
- package/tabs/tab-label-wrapper.d.ts +0 -29
- package/tabs/tab-label.d.ts +0 -28
- package/tabs/tab-nav-bar/index.d.ts +0 -8
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -134
- package/tabs/tab.d.ts +0 -89
- package/tabs/tabs-animations.d.ts +0 -15
- package/tabs/tabs-module.d.ts +0 -20
- package/tabs/tabs_public_index.d.ts +0 -4
- package/tabs/testing/package.json +0 -9
- package/tabs/testing/public-api.d.ts +0 -12
- package/tabs/testing/tab-group-harness.d.ts +0 -35
- package/tabs/testing/tab-harness-filters.d.ts +0 -29
- package/tabs/testing/tab-harness.d.ts +0 -38
- package/tabs/testing/tab-link-harness.d.ts +0 -29
- package/tabs/testing/tab-nav-bar-harness.d.ts +0 -38
- package/tabs/testing/tab-nav-panel-harness.d.ts +0 -23
- package/toolbar/package.json +0 -9
- package/toolbar/public-api.d.ts +0 -9
- package/toolbar/testing/package.json +0 -9
- package/toolbar/testing/public-api.d.ts +0 -9
- package/toolbar/testing/toolbar-harness-filters.d.ts +0 -13
- package/toolbar/testing/toolbar-harness.d.ts +0 -31
- package/toolbar/toolbar-module.d.ts +0 -8
- package/toolbar/toolbar.d.ts +0 -41
- package/toolbar/toolbar_public_index.d.ts +0 -4
- package/tooltip/package.json +0 -9
- package/tooltip/public-api.d.ts +0 -10
- package/tooltip/testing/package.json +0 -9
- package/tooltip/testing/public-api.d.ts +0 -9
- package/tooltip/testing/tooltip-harness-filters.d.ts +0 -11
- package/tooltip/testing/tooltip-harness.d.ts +0 -38
- package/tooltip/tooltip-animations.d.ts +0 -15
- package/tooltip/tooltip-module.d.ts +0 -12
- package/tooltip/tooltip.d.ts +0 -299
- package/tooltip/tooltip_public_index.d.ts +0 -4
- package/tree/data-source/flat-data-source.d.ts +0 -83
- package/tree/data-source/nested-data-source.d.ts +0 -25
- package/tree/node.d.ts +0 -53
- package/tree/outlet.d.ts +0 -21
- package/tree/package.json +0 -9
- package/tree/padding.d.ts +0 -23
- package/tree/public-api.d.ts +0 -15
- package/tree/testing/node-harness.d.ts +0 -35
- package/tree/testing/package.json +0 -9
- package/tree/testing/public-api.d.ts +0 -10
- package/tree/testing/tree-harness-filters.d.ts +0 -22
- package/tree/testing/tree-harness.d.ts +0 -79
- package/tree/toggle.d.ts +0 -16
- package/tree/tree-module.d.ts +0 -13
- package/tree/tree.d.ts +0 -18
- package/tree/tree_public_index.d.ts +0 -4
package/select/index.d.ts
CHANGED
|
@@ -1,8 +1,537 @@
|
|
|
1
|
+
import { _AbstractConstructor } from '@angular/material/core';
|
|
2
|
+
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
3
|
+
import { AfterContentInit } from '@angular/core';
|
|
4
|
+
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
5
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
6
|
+
import { CanDisable } from '@angular/material/core';
|
|
7
|
+
import { CanDisableRipple } from '@angular/material/core';
|
|
8
|
+
import { CanUpdateErrorState } from '@angular/material/core';
|
|
9
|
+
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
|
|
10
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
11
|
+
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
12
|
+
import { _Constructor } from '@angular/material/core';
|
|
13
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
14
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
15
|
+
import { DoCheck } from '@angular/core';
|
|
16
|
+
import { ElementRef } from '@angular/core';
|
|
17
|
+
import { ErrorStateMatcher } from '@angular/material/core';
|
|
18
|
+
import { EventEmitter } from '@angular/core';
|
|
19
|
+
import { FormGroupDirective } from '@angular/forms';
|
|
20
|
+
import { HasTabIndex } from '@angular/material/core';
|
|
21
|
+
import * as i0 from '@angular/core';
|
|
22
|
+
import * as i2 from '@angular/common';
|
|
23
|
+
import * as i3 from '@angular/cdk/overlay';
|
|
24
|
+
import * as i4 from '@angular/material/core';
|
|
25
|
+
import * as i5 from '@angular/cdk/scrolling';
|
|
26
|
+
import * as i6 from '@angular/material/form-field';
|
|
27
|
+
import { InjectionToken } from '@angular/core';
|
|
28
|
+
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
29
|
+
import { MatFormField } from '@angular/material/form-field';
|
|
30
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
31
|
+
import { MatOptgroup } from '@angular/material/core';
|
|
32
|
+
import { MatOption } from '@angular/material/core';
|
|
33
|
+
import { _MatOptionBase } from '@angular/material/core';
|
|
34
|
+
import { MatOptionSelectionChange } from '@angular/material/core';
|
|
35
|
+
import { NgControl } from '@angular/forms';
|
|
36
|
+
import { NgForm } from '@angular/forms';
|
|
37
|
+
import { NgZone } from '@angular/core';
|
|
38
|
+
import { NumberInput } from '@angular/cdk/coercion';
|
|
39
|
+
import { Observable } from 'rxjs';
|
|
40
|
+
import { OnChanges } from '@angular/core';
|
|
41
|
+
import { OnDestroy } from '@angular/core';
|
|
42
|
+
import { OnInit } from '@angular/core';
|
|
43
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
44
|
+
import { QueryList } from '@angular/core';
|
|
45
|
+
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
46
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
47
|
+
import { SimpleChanges } from '@angular/core';
|
|
48
|
+
import { Subject } from 'rxjs';
|
|
49
|
+
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
50
|
+
|
|
51
|
+
declare namespace i1 {
|
|
52
|
+
export {
|
|
53
|
+
MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY,
|
|
54
|
+
SELECT_PANEL_MAX_HEIGHT,
|
|
55
|
+
SELECT_PANEL_PADDING_X,
|
|
56
|
+
SELECT_PANEL_INDENT_PADDING_X,
|
|
57
|
+
SELECT_ITEM_HEIGHT_EM,
|
|
58
|
+
SELECT_MULTIPLE_PANEL_PADDING_X,
|
|
59
|
+
SELECT_PANEL_VIEWPORT_PADDING,
|
|
60
|
+
MAT_SELECT_SCROLL_STRATEGY,
|
|
61
|
+
MatSelectConfig,
|
|
62
|
+
MAT_SELECT_CONFIG,
|
|
63
|
+
MAT_SELECT_SCROLL_STRATEGY_PROVIDER,
|
|
64
|
+
MatSelectChange,
|
|
65
|
+
MAT_SELECT_TRIGGER,
|
|
66
|
+
MatSelectTrigger,
|
|
67
|
+
_MatSelectBase,
|
|
68
|
+
MatSelect
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** Injection token that can be used to provide the default options the select module. */
|
|
73
|
+
export declare const MAT_SELECT_CONFIG: InjectionToken<MatSelectConfig>;
|
|
74
|
+
|
|
75
|
+
/** Injection token that determines the scroll handling while a select is open. */
|
|
76
|
+
export declare const MAT_SELECT_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
77
|
+
|
|
78
|
+
/** @docs-private */
|
|
79
|
+
export declare const MAT_SELECT_SCROLL_STRATEGY_PROVIDER: {
|
|
80
|
+
provide: InjectionToken<() => ScrollStrategy>;
|
|
81
|
+
deps: (typeof Overlay)[];
|
|
82
|
+
useFactory: typeof MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/** @docs-private */
|
|
86
|
+
export declare function MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => ScrollStrategy;
|
|
87
|
+
|
|
1
88
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
89
|
+
* Injection token that can be used to reference instances of `MatSelectTrigger`. It serves as
|
|
90
|
+
* alternative token to the actual `MatSelectTrigger` class which could cause unnecessary
|
|
91
|
+
* retention of the class and its directive metadata.
|
|
92
|
+
*/
|
|
93
|
+
export declare const MAT_SELECT_TRIGGER: InjectionToken<MatSelectTrigger>;
|
|
94
|
+
|
|
95
|
+
export declare class MatSelect extends _MatSelectBase<MatSelectChange> implements OnInit {
|
|
96
|
+
/** The scroll position of the overlay panel, calculated to center the selected option. */
|
|
97
|
+
private _scrollTop;
|
|
98
|
+
/** The last measured value for the trigger's client bounding rect. */
|
|
99
|
+
_triggerRect: ClientRect;
|
|
100
|
+
/** The cached font-size of the trigger element. */
|
|
101
|
+
_triggerFontSize: number;
|
|
102
|
+
/** The value of the select panel's transform-origin property. */
|
|
103
|
+
_transformOrigin: string;
|
|
104
|
+
/**
|
|
105
|
+
* The y-offset of the overlay panel in relation to the trigger's top start corner.
|
|
106
|
+
* This must be adjusted to align the selected option text over the trigger text.
|
|
107
|
+
* when the panel opens. Will change based on the y-position of the selected option.
|
|
108
|
+
*/
|
|
109
|
+
_offsetY: number;
|
|
110
|
+
options: QueryList<MatOption>;
|
|
111
|
+
optionGroups: QueryList<MatOptgroup>;
|
|
112
|
+
customTrigger: MatSelectTrigger;
|
|
113
|
+
_positions: ConnectedPosition[];
|
|
114
|
+
/**
|
|
115
|
+
* Calculates the scroll position of the select's overlay panel.
|
|
116
|
+
*
|
|
117
|
+
* Attempts to center the selected option in the panel. If the option is
|
|
118
|
+
* too high or too low in the panel to be scrolled to the center, it clamps the
|
|
119
|
+
* scroll position to the min or max scroll positions respectively.
|
|
120
|
+
*/
|
|
121
|
+
_calculateOverlayScroll(selectedIndex: number, scrollBuffer: number, maxScroll: number): number;
|
|
122
|
+
ngOnInit(): void;
|
|
123
|
+
open(): void;
|
|
124
|
+
/** Scrolls the active option into view. */
|
|
125
|
+
protected _scrollOptionIntoView(index: number): void;
|
|
126
|
+
protected _positioningSettled(): void;
|
|
127
|
+
protected _panelDoneAnimating(isOpen: boolean): void;
|
|
128
|
+
protected _getChangeEvent(value: any): MatSelectChange;
|
|
129
|
+
/**
|
|
130
|
+
* Sets the x-offset of the overlay panel in relation to the trigger's top start corner.
|
|
131
|
+
* This must be adjusted to align the selected option text over the trigger text when
|
|
132
|
+
* the panel opens. Will change based on LTR or RTL text direction. Note that the offset
|
|
133
|
+
* can't be calculated until the panel has been attached, because we need to know the
|
|
134
|
+
* content width in order to constrain the panel within the viewport.
|
|
135
|
+
*/
|
|
136
|
+
private _calculateOverlayOffsetX;
|
|
137
|
+
/**
|
|
138
|
+
* Calculates the y-offset of the select's overlay panel in relation to the
|
|
139
|
+
* top start corner of the trigger. It has to be adjusted in order for the
|
|
140
|
+
* selected option to be aligned over the trigger when the panel opens.
|
|
141
|
+
*/
|
|
142
|
+
private _calculateOverlayOffsetY;
|
|
143
|
+
/**
|
|
144
|
+
* Checks that the attempted overlay position will fit within the viewport.
|
|
145
|
+
* If it will not fit, tries to adjust the scroll position and the associated
|
|
146
|
+
* y-offset so the panel can open fully on-screen. If it still won't fit,
|
|
147
|
+
* sets the offset back to 0 to allow the fallback position to take over.
|
|
148
|
+
*/
|
|
149
|
+
private _checkOverlayWithinViewport;
|
|
150
|
+
/** Adjusts the overlay panel up to fit in the viewport. */
|
|
151
|
+
private _adjustPanelUp;
|
|
152
|
+
/** Adjusts the overlay panel down to fit in the viewport. */
|
|
153
|
+
private _adjustPanelDown;
|
|
154
|
+
/** Calculates the scroll position and x- and y-offsets of the overlay panel. */
|
|
155
|
+
private _calculateOverlayPosition;
|
|
156
|
+
/** Sets the transform origin point based on the selected option. */
|
|
157
|
+
private _getOriginBasedOnOption;
|
|
158
|
+
/** Calculates the height of the select's options. */
|
|
159
|
+
private _getItemHeight;
|
|
160
|
+
/** Calculates the amount of items in the select. This includes options and group labels. */
|
|
161
|
+
private _getItemCount;
|
|
162
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelect, never>;
|
|
163
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatSelect, "mat-select", ["matSelect"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; }, {}, ["customTrigger", "options", "optionGroups"], ["mat-select-trigger", "*"], false>;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* The following are all the animations for the mat-select component, with each
|
|
168
|
+
* const containing the metadata for one animation.
|
|
4
169
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
170
|
+
* The values below match the implementation of the AngularJS Material mat-select animation.
|
|
171
|
+
* @docs-private
|
|
172
|
+
*/
|
|
173
|
+
export declare const matSelectAnimations: {
|
|
174
|
+
readonly transformPanelWrap: AnimationTriggerMetadata;
|
|
175
|
+
readonly transformPanel: AnimationTriggerMetadata;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
/** Base class with all of the `MatSelect` functionality. */
|
|
179
|
+
export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase implements AfterContentInit, OnChanges, OnDestroy, OnInit, DoCheck, ControlValueAccessor, CanDisable, HasTabIndex, MatFormFieldControl<any>, CanUpdateErrorState, CanDisableRipple {
|
|
180
|
+
protected _viewportRuler: ViewportRuler;
|
|
181
|
+
protected _changeDetectorRef: ChangeDetectorRef;
|
|
182
|
+
protected _ngZone: NgZone;
|
|
183
|
+
private _dir;
|
|
184
|
+
protected _parentFormField: MatFormField;
|
|
185
|
+
private _liveAnnouncer;
|
|
186
|
+
private _defaultOptions?;
|
|
187
|
+
/** All of the defined select options. */
|
|
188
|
+
abstract options: QueryList<_MatOptionBase>;
|
|
189
|
+
/** All of the defined groups of options. */
|
|
190
|
+
abstract optionGroups: QueryList<MatOptgroup>;
|
|
191
|
+
/** User-supplied override of the trigger element. */
|
|
192
|
+
abstract customTrigger: {};
|
|
193
|
+
/**
|
|
194
|
+
* This position config ensures that the top "start" corner of the overlay
|
|
195
|
+
* is aligned with with the top "start" of the origin by default (overlapping
|
|
196
|
+
* the trigger completely). If the panel cannot fit below the trigger, it
|
|
197
|
+
* will fall back to a position above the trigger.
|
|
198
|
+
*/
|
|
199
|
+
abstract _positions: ConnectedPosition[];
|
|
200
|
+
/** Scrolls a particular option into the view. */
|
|
201
|
+
protected abstract _scrollOptionIntoView(index: number): void;
|
|
202
|
+
/** Called when the panel has been opened and the overlay has settled on its final position. */
|
|
203
|
+
protected abstract _positioningSettled(): void;
|
|
204
|
+
/** Creates a change event object that should be emitted by the select. */
|
|
205
|
+
protected abstract _getChangeEvent(value: any): C;
|
|
206
|
+
/** Factory function used to create a scroll strategy for this select. */
|
|
207
|
+
private _scrollStrategyFactory;
|
|
208
|
+
/** Whether or not the overlay panel is open. */
|
|
209
|
+
private _panelOpen;
|
|
210
|
+
/** Comparison function to specify which option is displayed. Defaults to object equality. */
|
|
211
|
+
private _compareWith;
|
|
212
|
+
/** Unique id for this input. */
|
|
213
|
+
private _uid;
|
|
214
|
+
/** Current `ariar-labelledby` value for the select trigger. */
|
|
215
|
+
private _triggerAriaLabelledBy;
|
|
216
|
+
/**
|
|
217
|
+
* Keeps track of the previous form control assigned to the select.
|
|
218
|
+
* Used to detect if it has changed.
|
|
219
|
+
*/
|
|
220
|
+
private _previousControl;
|
|
221
|
+
/** Emits whenever the component is destroyed. */
|
|
222
|
+
protected readonly _destroy: Subject<void>;
|
|
223
|
+
/**
|
|
224
|
+
* Implemented as part of MatFormFieldControl.
|
|
225
|
+
* @docs-private
|
|
226
|
+
*/
|
|
227
|
+
userAriaDescribedBy: string;
|
|
228
|
+
/** Deals with the selection logic. */
|
|
229
|
+
_selectionModel: SelectionModel<MatOption>;
|
|
230
|
+
/** Manages keyboard events for options in the panel. */
|
|
231
|
+
_keyManager: ActiveDescendantKeyManager<MatOption>;
|
|
232
|
+
/** `View -> model callback called when value changes` */
|
|
233
|
+
_onChange: (value: any) => void;
|
|
234
|
+
/** `View -> model callback called when select has been touched` */
|
|
235
|
+
_onTouched: () => void;
|
|
236
|
+
/** ID for the DOM node containing the select's value. */
|
|
237
|
+
_valueId: string;
|
|
238
|
+
/** Emits when the panel element is finished transforming in. */
|
|
239
|
+
readonly _panelDoneAnimatingStream: Subject<string>;
|
|
240
|
+
/** Strategy that will be used to handle scrolling while the select panel is open. */
|
|
241
|
+
_scrollStrategy: ScrollStrategy;
|
|
242
|
+
_overlayPanelClass: string | string[];
|
|
243
|
+
/** Whether the select is focused. */
|
|
244
|
+
get focused(): boolean;
|
|
245
|
+
private _focused;
|
|
246
|
+
/** A name for this control that can be used by `mat-form-field`. */
|
|
247
|
+
controlType: string;
|
|
248
|
+
/** Trigger that opens the select. */
|
|
249
|
+
trigger: ElementRef;
|
|
250
|
+
/** Panel containing the select options. */
|
|
251
|
+
panel: ElementRef;
|
|
252
|
+
/** Overlay pane containing the options. */
|
|
253
|
+
protected _overlayDir: CdkConnectedOverlay;
|
|
254
|
+
/** Classes to be passed to the select panel. Supports the same syntax as `ngClass`. */
|
|
255
|
+
panelClass: string | string[] | Set<string> | {
|
|
256
|
+
[key: string]: any;
|
|
257
|
+
};
|
|
258
|
+
/** Placeholder to be shown if no value has been selected. */
|
|
259
|
+
get placeholder(): string;
|
|
260
|
+
set placeholder(value: string);
|
|
261
|
+
private _placeholder;
|
|
262
|
+
/** Whether the component is required. */
|
|
263
|
+
get required(): boolean;
|
|
264
|
+
set required(value: BooleanInput);
|
|
265
|
+
private _required;
|
|
266
|
+
/** Whether the user should be allowed to select multiple options. */
|
|
267
|
+
get multiple(): boolean;
|
|
268
|
+
set multiple(value: BooleanInput);
|
|
269
|
+
private _multiple;
|
|
270
|
+
/** Whether to center the active option over the trigger. */
|
|
271
|
+
get disableOptionCentering(): boolean;
|
|
272
|
+
set disableOptionCentering(value: BooleanInput);
|
|
273
|
+
private _disableOptionCentering;
|
|
274
|
+
/**
|
|
275
|
+
* Function to compare the option values with the selected values. The first argument
|
|
276
|
+
* is a value from an option. The second is a value from the selection. A boolean
|
|
277
|
+
* should be returned.
|
|
278
|
+
*/
|
|
279
|
+
get compareWith(): (o1: any, o2: any) => boolean;
|
|
280
|
+
set compareWith(fn: (o1: any, o2: any) => boolean);
|
|
281
|
+
/** Value of the select control. */
|
|
282
|
+
get value(): any;
|
|
283
|
+
set value(newValue: any);
|
|
284
|
+
private _value;
|
|
285
|
+
/** Aria label of the select. */
|
|
286
|
+
ariaLabel: string;
|
|
287
|
+
/** Input that can be used to specify the `aria-labelledby` attribute. */
|
|
288
|
+
ariaLabelledby: string;
|
|
289
|
+
/** Object used to control when error messages are shown. */
|
|
290
|
+
errorStateMatcher: ErrorStateMatcher;
|
|
291
|
+
/** Time to wait in milliseconds after the last keystroke before moving focus to an item. */
|
|
292
|
+
get typeaheadDebounceInterval(): number;
|
|
293
|
+
set typeaheadDebounceInterval(value: NumberInput);
|
|
294
|
+
private _typeaheadDebounceInterval;
|
|
295
|
+
/**
|
|
296
|
+
* Function used to sort the values in a select in multiple mode.
|
|
297
|
+
* Follows the same logic as `Array.prototype.sort`.
|
|
298
|
+
*/
|
|
299
|
+
sortComparator: (a: MatOption, b: MatOption, options: MatOption[]) => number;
|
|
300
|
+
/** Unique id of the element. */
|
|
301
|
+
get id(): string;
|
|
302
|
+
set id(value: string);
|
|
303
|
+
private _id;
|
|
304
|
+
/** Combined stream of all of the child options' change events. */
|
|
305
|
+
readonly optionSelectionChanges: Observable<MatOptionSelectionChange>;
|
|
306
|
+
/** Event emitted when the select panel has been toggled. */
|
|
307
|
+
readonly openedChange: EventEmitter<boolean>;
|
|
308
|
+
/** Event emitted when the select has been opened. */
|
|
309
|
+
readonly _openedStream: Observable<void>;
|
|
310
|
+
/** Event emitted when the select has been closed. */
|
|
311
|
+
readonly _closedStream: Observable<void>;
|
|
312
|
+
/** Event emitted when the selected value has been changed by the user. */
|
|
313
|
+
readonly selectionChange: EventEmitter<C>;
|
|
314
|
+
/**
|
|
315
|
+
* Event that emits whenever the raw value of the select changes. This is here primarily
|
|
316
|
+
* to facilitate the two-way binding for the `value` input.
|
|
317
|
+
* @docs-private
|
|
318
|
+
*/
|
|
319
|
+
readonly valueChange: EventEmitter<any>;
|
|
320
|
+
constructor(_viewportRuler: ViewportRuler, _changeDetectorRef: ChangeDetectorRef, _ngZone: NgZone, _defaultErrorStateMatcher: ErrorStateMatcher, elementRef: ElementRef, _dir: Directionality, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _parentFormField: MatFormField, ngControl: NgControl, tabIndex: string, scrollStrategyFactory: any, _liveAnnouncer: LiveAnnouncer, _defaultOptions?: MatSelectConfig | undefined);
|
|
321
|
+
ngOnInit(): void;
|
|
322
|
+
ngAfterContentInit(): void;
|
|
323
|
+
ngDoCheck(): void;
|
|
324
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
325
|
+
ngOnDestroy(): void;
|
|
326
|
+
/** Toggles the overlay panel open or closed. */
|
|
327
|
+
toggle(): void;
|
|
328
|
+
/** Opens the overlay panel. */
|
|
329
|
+
open(): void;
|
|
330
|
+
/** Closes the overlay panel and focuses the host element. */
|
|
331
|
+
close(): void;
|
|
332
|
+
/**
|
|
333
|
+
* Sets the select's value. Part of the ControlValueAccessor interface
|
|
334
|
+
* required to integrate with Angular's core forms API.
|
|
335
|
+
*
|
|
336
|
+
* @param value New value to be written to the model.
|
|
337
|
+
*/
|
|
338
|
+
writeValue(value: any): void;
|
|
339
|
+
/**
|
|
340
|
+
* Saves a callback function to be invoked when the select's value
|
|
341
|
+
* changes from user input. Part of the ControlValueAccessor interface
|
|
342
|
+
* required to integrate with Angular's core forms API.
|
|
343
|
+
*
|
|
344
|
+
* @param fn Callback to be triggered when the value changes.
|
|
345
|
+
*/
|
|
346
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
347
|
+
/**
|
|
348
|
+
* Saves a callback function to be invoked when the select is blurred
|
|
349
|
+
* by the user. Part of the ControlValueAccessor interface required
|
|
350
|
+
* to integrate with Angular's core forms API.
|
|
351
|
+
*
|
|
352
|
+
* @param fn Callback to be triggered when the component has been touched.
|
|
353
|
+
*/
|
|
354
|
+
registerOnTouched(fn: () => {}): void;
|
|
355
|
+
/**
|
|
356
|
+
* Disables the select. Part of the ControlValueAccessor interface required
|
|
357
|
+
* to integrate with Angular's core forms API.
|
|
358
|
+
*
|
|
359
|
+
* @param isDisabled Sets whether the component is disabled.
|
|
360
|
+
*/
|
|
361
|
+
setDisabledState(isDisabled: boolean): void;
|
|
362
|
+
/** Whether or not the overlay panel is open. */
|
|
363
|
+
get panelOpen(): boolean;
|
|
364
|
+
/** The currently selected option. */
|
|
365
|
+
get selected(): MatOption | MatOption[];
|
|
366
|
+
/** The value displayed in the trigger. */
|
|
367
|
+
get triggerValue(): string;
|
|
368
|
+
/** Whether the element is in RTL mode. */
|
|
369
|
+
_isRtl(): boolean;
|
|
370
|
+
/** Handles all keydown events on the select. */
|
|
371
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
372
|
+
/** Handles keyboard events while the select is closed. */
|
|
373
|
+
private _handleClosedKeydown;
|
|
374
|
+
/** Handles keyboard events when the selected is open. */
|
|
375
|
+
private _handleOpenKeydown;
|
|
376
|
+
_onFocus(): void;
|
|
377
|
+
/**
|
|
378
|
+
* Calls the touched callback only if the panel is closed. Otherwise, the trigger will
|
|
379
|
+
* "blur" to the panel when it opens, causing a false positive.
|
|
380
|
+
*/
|
|
381
|
+
_onBlur(): void;
|
|
382
|
+
/**
|
|
383
|
+
* Callback that is invoked when the overlay panel has been attached.
|
|
384
|
+
*/
|
|
385
|
+
_onAttached(): void;
|
|
386
|
+
/** Returns the theme to be used on the panel. */
|
|
387
|
+
_getPanelTheme(): string;
|
|
388
|
+
/** Whether the select has a value. */
|
|
389
|
+
get empty(): boolean;
|
|
390
|
+
private _initializeSelection;
|
|
391
|
+
/**
|
|
392
|
+
* Sets the selected option based on a value. If no option can be
|
|
393
|
+
* found with the designated value, the select trigger is cleared.
|
|
394
|
+
*/
|
|
395
|
+
private _setSelectionByValue;
|
|
396
|
+
/**
|
|
397
|
+
* Finds and selects and option based on its value.
|
|
398
|
+
* @returns Option that has the corresponding value.
|
|
399
|
+
*/
|
|
400
|
+
private _selectOptionByValue;
|
|
401
|
+
/** Assigns a specific value to the select. Returns whether the value has changed. */
|
|
402
|
+
private _assignValue;
|
|
403
|
+
/** Sets up a key manager to listen to keyboard events on the overlay panel. */
|
|
404
|
+
private _initKeyManager;
|
|
405
|
+
/** Drops current option subscriptions and IDs and resets from scratch. */
|
|
406
|
+
private _resetOptions;
|
|
407
|
+
/** Invoked when an option is clicked. */
|
|
408
|
+
private _onSelect;
|
|
409
|
+
/** Sorts the selected values in the selected based on their order in the panel. */
|
|
410
|
+
private _sortValues;
|
|
411
|
+
/** Emits change event to set the model value. */
|
|
412
|
+
private _propagateChanges;
|
|
413
|
+
/**
|
|
414
|
+
* Highlights the selected item. If no option is selected, it will highlight
|
|
415
|
+
* the first item instead.
|
|
416
|
+
*/
|
|
417
|
+
private _highlightCorrectOption;
|
|
418
|
+
/** Whether the panel is allowed to open. */
|
|
419
|
+
protected _canOpen(): boolean;
|
|
420
|
+
/** Focuses the select element. */
|
|
421
|
+
focus(options?: FocusOptions): void;
|
|
422
|
+
/** Gets the aria-labelledby for the select panel. */
|
|
423
|
+
_getPanelAriaLabelledby(): string | null;
|
|
424
|
+
/** Determines the `aria-activedescendant` to be set on the host. */
|
|
425
|
+
_getAriaActiveDescendant(): string | null;
|
|
426
|
+
/** Gets the aria-labelledby of the select component trigger. */
|
|
427
|
+
private _getTriggerAriaLabelledby;
|
|
428
|
+
/** Called when the overlay panel is done animating. */
|
|
429
|
+
protected _panelDoneAnimating(isOpen: boolean): void;
|
|
430
|
+
/**
|
|
431
|
+
* Implemented as part of MatFormFieldControl.
|
|
432
|
+
* @docs-private
|
|
433
|
+
*/
|
|
434
|
+
setDescribedByIds(ids: string[]): void;
|
|
435
|
+
/**
|
|
436
|
+
* Implemented as part of MatFormFieldControl.
|
|
437
|
+
* @docs-private
|
|
438
|
+
*/
|
|
439
|
+
onContainerClick(): void;
|
|
440
|
+
/**
|
|
441
|
+
* Implemented as part of MatFormFieldControl.
|
|
442
|
+
* @docs-private
|
|
443
|
+
*/
|
|
444
|
+
get shouldLabelFloat(): boolean;
|
|
445
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_MatSelectBase<any>, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { attribute: "tabindex"; }, null, null, { optional: true; }]>;
|
|
446
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatSelectBase<any>, never, never, { "userAriaDescribedBy": "aria-describedby"; "panelClass": "panelClass"; "placeholder": "placeholder"; "required": "required"; "multiple": "multiple"; "disableOptionCentering": "disableOptionCentering"; "compareWith": "compareWith"; "value": "value"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "errorStateMatcher": "errorStateMatcher"; "typeaheadDebounceInterval": "typeaheadDebounceInterval"; "sortComparator": "sortComparator"; "id": "id"; }, { "openedChange": "openedChange"; "_openedStream": "opened"; "_closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, never, never, false>;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/** Change event object that is emitted when the select value has changed. */
|
|
450
|
+
export declare class MatSelectChange {
|
|
451
|
+
/** Reference to the select that emitted the change event. */
|
|
452
|
+
source: MatSelect;
|
|
453
|
+
/** Current value of the select that emitted the event. */
|
|
454
|
+
value: any;
|
|
455
|
+
constructor(
|
|
456
|
+
/** Reference to the select that emitted the change event. */
|
|
457
|
+
source: MatSelect,
|
|
458
|
+
/** Current value of the select that emitted the event. */
|
|
459
|
+
value: any);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/** Object that can be used to configure the default options for the select module. */
|
|
463
|
+
export declare interface MatSelectConfig {
|
|
464
|
+
/** Whether option centering should be disabled. */
|
|
465
|
+
disableOptionCentering?: boolean;
|
|
466
|
+
/** Time to wait in milliseconds after the last keystroke before moving focus to an item. */
|
|
467
|
+
typeaheadDebounceInterval?: number;
|
|
468
|
+
/** Class or list of classes to be applied to the menu's overlay panel. */
|
|
469
|
+
overlayPanelClass?: string | string[];
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
/** @docs-private */
|
|
473
|
+
declare const _MatSelectMixinBase: _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple> & _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex> & _Constructor<CanDisable> & _AbstractConstructor<CanDisable> & _Constructor<CanUpdateErrorState> & _AbstractConstructor<CanUpdateErrorState> & {
|
|
474
|
+
new (_elementRef: ElementRef, _defaultErrorStateMatcher: ErrorStateMatcher, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl): {
|
|
475
|
+
/**
|
|
476
|
+
* Emits whenever the component state changes and should cause the parent
|
|
477
|
+
* form-field to update. Implemented as part of `MatFormFieldControl`.
|
|
478
|
+
* @docs-private
|
|
479
|
+
*/
|
|
480
|
+
readonly stateChanges: Subject<void>;
|
|
481
|
+
_elementRef: ElementRef;
|
|
482
|
+
_defaultErrorStateMatcher: ErrorStateMatcher;
|
|
483
|
+
_parentForm: NgForm;
|
|
484
|
+
_parentFormGroup: FormGroupDirective;
|
|
485
|
+
/**
|
|
486
|
+
* Form control bound to the component.
|
|
487
|
+
* Implemented as part of `MatFormFieldControl`.
|
|
488
|
+
* @docs-private
|
|
489
|
+
*/
|
|
490
|
+
ngControl: NgControl;
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
export declare class MatSelectModule {
|
|
495
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectModule, never>;
|
|
496
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSelectModule, [typeof i1.MatSelect, typeof i1.MatSelectTrigger], [typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.MatOptionModule, typeof i4.MatCommonModule], [typeof i5.CdkScrollableModule, typeof i6.MatFormFieldModule, typeof i1.MatSelect, typeof i1.MatSelectTrigger, typeof i4.MatOptionModule, typeof i4.MatCommonModule]>;
|
|
497
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatSelectModule>;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Allows the user to customize the trigger that is displayed when the select has a value.
|
|
502
|
+
*/
|
|
503
|
+
export declare class MatSelectTrigger {
|
|
504
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectTrigger, never>;
|
|
505
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelectTrigger, "mat-select-trigger", never, {}, {}, never, never, false>;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/** The height of the select items in `em` units. */
|
|
509
|
+
declare const SELECT_ITEM_HEIGHT_EM = 3;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Distance between the panel edge and the option text in
|
|
513
|
+
* multi-selection mode.
|
|
514
|
+
*
|
|
515
|
+
* Calculated as:
|
|
516
|
+
* (SELECT_PANEL_PADDING_X * 1.5) + 16 = 40
|
|
517
|
+
* The padding is multiplied by 1.5 because the checkbox's margin is half the padding.
|
|
518
|
+
* The checkbox width is 16px.
|
|
519
|
+
*/
|
|
520
|
+
declare const SELECT_MULTIPLE_PANEL_PADDING_X: number;
|
|
521
|
+
|
|
522
|
+
/** The panel's x axis padding if it is indented (e.g. there is an option group). */
|
|
523
|
+
declare const SELECT_PANEL_INDENT_PADDING_X: number;
|
|
524
|
+
|
|
525
|
+
/** The max height of the select's overlay panel. */
|
|
526
|
+
declare const SELECT_PANEL_MAX_HEIGHT = 256;
|
|
527
|
+
|
|
528
|
+
/** The panel's padding on the x-axis. */
|
|
529
|
+
declare const SELECT_PANEL_PADDING_X = 16;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* The select panel will only "fit" inside the viewport if it is positioned at
|
|
533
|
+
* this value or more away from the viewport boundary.
|
|
7
534
|
*/
|
|
8
|
-
|
|
535
|
+
declare const SELECT_PANEL_VIEWPORT_PADDING = 8;
|
|
536
|
+
|
|
537
|
+
export { }
|
|
@@ -1,8 +1,79 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
2
|
+
import { ComponentHarness } from '@angular/cdk/testing';
|
|
3
|
+
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
4
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
5
|
+
import { MatFormFieldControlHarness } from '@angular/material/form-field/testing/control';
|
|
6
|
+
import { MatOptgroupHarness } from '@angular/material/core/testing';
|
|
7
|
+
import { MatOptionHarness } from '@angular/material/core/testing';
|
|
8
|
+
import { OptgroupHarnessFilters } from '@angular/material/core/testing';
|
|
9
|
+
import { OptionHarnessFilters } from '@angular/material/core/testing';
|
|
10
|
+
|
|
11
|
+
/** Harness for interacting with a standard mat-select in tests. */
|
|
12
|
+
export declare class MatSelectHarness extends _MatSelectHarnessBase<typeof MatOptionHarness, MatOptionHarness, OptionHarnessFilters, typeof MatOptgroupHarness, MatOptgroupHarness, OptgroupHarnessFilters> {
|
|
13
|
+
static hostSelector: string;
|
|
14
|
+
protected _prefix: string;
|
|
15
|
+
protected _optionClass: typeof MatOptionHarness;
|
|
16
|
+
protected _optionGroupClass: typeof MatOptgroupHarness;
|
|
17
|
+
/**
|
|
18
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatSelectHarness` that meets
|
|
19
|
+
* certain criteria.
|
|
20
|
+
* @param options Options for filtering which select instances are considered a match.
|
|
21
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
22
|
+
*/
|
|
23
|
+
static with(options?: SelectHarnessFilters): HarnessPredicate<MatSelectHarness>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export declare abstract class _MatSelectHarnessBase<OptionType extends ComponentHarnessConstructor<Option> & {
|
|
27
|
+
with: (options?: OptionFilters) => HarnessPredicate<Option>;
|
|
28
|
+
}, Option extends ComponentHarness & {
|
|
29
|
+
click(): Promise<void>;
|
|
30
|
+
}, OptionFilters extends BaseHarnessFilters, OptionGroupType extends ComponentHarnessConstructor<OptionGroup> & {
|
|
31
|
+
with: (options?: OptionGroupFilters) => HarnessPredicate<OptionGroup>;
|
|
32
|
+
}, OptionGroup extends ComponentHarness, OptionGroupFilters extends BaseHarnessFilters> extends MatFormFieldControlHarness {
|
|
33
|
+
protected abstract _prefix: string;
|
|
34
|
+
protected abstract _optionClass: OptionType;
|
|
35
|
+
protected abstract _optionGroupClass: OptionGroupType;
|
|
36
|
+
private _documentRootLocator;
|
|
37
|
+
private _backdrop;
|
|
38
|
+
/** Gets a boolean promise indicating if the select is disabled. */
|
|
39
|
+
isDisabled(): Promise<boolean>;
|
|
40
|
+
/** Gets a boolean promise indicating if the select is valid. */
|
|
41
|
+
isValid(): Promise<boolean>;
|
|
42
|
+
/** Gets a boolean promise indicating if the select is required. */
|
|
43
|
+
isRequired(): Promise<boolean>;
|
|
44
|
+
/** Gets a boolean promise indicating if the select is empty (no value is selected). */
|
|
45
|
+
isEmpty(): Promise<boolean>;
|
|
46
|
+
/** Gets a boolean promise indicating if the select is in multi-selection mode. */
|
|
47
|
+
isMultiple(): Promise<boolean>;
|
|
48
|
+
/** Gets a promise for the select's value text. */
|
|
49
|
+
getValueText(): Promise<string>;
|
|
50
|
+
/** Focuses the select and returns a void promise that indicates when the action is complete. */
|
|
51
|
+
focus(): Promise<void>;
|
|
52
|
+
/** Blurs the select and returns a void promise that indicates when the action is complete. */
|
|
53
|
+
blur(): Promise<void>;
|
|
54
|
+
/** Whether the select is focused. */
|
|
55
|
+
isFocused(): Promise<boolean>;
|
|
56
|
+
/** Gets the options inside the select panel. */
|
|
57
|
+
getOptions(filter?: Omit<OptionFilters, 'ancestor'>): Promise<Option[]>;
|
|
58
|
+
/** Gets the groups of options inside the panel. */
|
|
59
|
+
getOptionGroups(filter?: Omit<OptionGroupFilters, 'ancestor'>): Promise<OptionGroup[]>;
|
|
60
|
+
/** Gets whether the select is open. */
|
|
61
|
+
isOpen(): Promise<boolean>;
|
|
62
|
+
/** Opens the select's panel. */
|
|
63
|
+
open(): Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* Clicks the options that match the passed-in filter. If the select is in multi-selection
|
|
66
|
+
* mode all options will be clicked, otherwise the harness will pick the first matching option.
|
|
67
|
+
*/
|
|
68
|
+
clickOptions(filter?: OptionFilters): Promise<void>;
|
|
69
|
+
/** Closes the select's panel. */
|
|
70
|
+
close(): Promise<void>;
|
|
71
|
+
/** Gets the selector that should be used to find this select's panel. */
|
|
72
|
+
private _getPanelSelector;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** A set of criteria that can be used to filter a list of `MatSelectHarness` instances. */
|
|
76
|
+
export declare interface SelectHarnessFilters extends BaseHarnessFilters {
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export { }
|