@angular/material 14.0.0-next.2 → 14.0.0-next.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/autocomplete-trigger.d.ts +14 -3
- package/autocomplete/autocomplete.d.ts +7 -1
- package/button-toggle/_button-toggle-theme.scss +14 -2
- package/checkbox/_checkbox-theme.scss +7 -1
- package/chips/chip-list.d.ts +20 -5
- package/chips/chip.d.ts +3 -1
- package/core/common-behaviors/error-state.d.ts +1 -2
- package/core/datetime/index.d.ts +1 -2
- package/core/ripple/index.d.ts +1 -2
- package/core/ripple/ripple-ref.d.ts +2 -1
- package/core/ripple/ripple-renderer.d.ts +9 -2
- package/core/theming/_theming.scss +9 -0
- package/datepicker/calendar-body.d.ts +12 -3
- package/datepicker/date-range-input-parts.d.ts +4 -1
- package/datepicker/month-view.d.ts +18 -0
- package/datepicker/multi-year-view.d.ts +18 -0
- package/datepicker/year-view.d.ts +18 -0
- package/dialog/dialog-content-directives.d.ts +5 -1
- package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
- package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
- package/esm2020/autocomplete/autocomplete-trigger.mjs +72 -38
- package/esm2020/autocomplete/autocomplete.mjs +18 -8
- package/esm2020/badge/badge-module.mjs +5 -5
- package/esm2020/badge/badge.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet-container.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
- package/esm2020/bottom-sheet/bottom-sheet.mjs +4 -4
- package/esm2020/button/button-module.mjs +5 -5
- package/esm2020/button/button.mjs +7 -7
- package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2020/button-toggle/button-toggle.mjs +8 -8
- package/esm2020/card/card-module.mjs +5 -5
- package/esm2020/card/card.mjs +43 -43
- package/esm2020/checkbox/checkbox-module.mjs +9 -9
- package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2020/checkbox/checkbox.mjs +6 -4
- package/esm2020/chips/chip-input.mjs +4 -4
- package/esm2020/chips/chip-list.mjs +33 -8
- package/esm2020/chips/chip.mjs +18 -14
- package/esm2020/chips/chips-module.mjs +5 -5
- package/esm2020/core/common-behaviors/common-module.mjs +5 -5
- package/esm2020/core/common-behaviors/error-state.mjs +1 -8
- package/esm2020/core/datetime/index.mjs +9 -11
- package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
- package/esm2020/core/error/error-options.mjs +7 -7
- package/esm2020/core/line/line.mjs +8 -8
- package/esm2020/core/option/index.mjs +5 -5
- package/esm2020/core/option/optgroup.mjs +7 -7
- package/esm2020/core/option/option.mjs +7 -7
- package/esm2020/core/ripple/index.mjs +6 -7
- package/esm2020/core/ripple/ripple-ref.mjs +5 -2
- package/esm2020/core/ripple/ripple-renderer.mjs +88 -47
- package/esm2020/core/ripple/ripple.mjs +4 -4
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar-body.mjs +27 -5
- package/esm2020/datepicker/calendar.mjs +13 -13
- package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
- package/esm2020/datepicker/date-range-input.mjs +4 -4
- package/esm2020/datepicker/date-range-picker.mjs +4 -4
- package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
- package/esm2020/datepicker/date-selection-model.mjs +10 -10
- package/esm2020/datepicker/datepicker-actions.mjs +10 -10
- package/esm2020/datepicker/datepicker-base.mjs +7 -7
- package/esm2020/datepicker/datepicker-input-base.mjs +12 -7
- package/esm2020/datepicker/datepicker-input.mjs +4 -4
- package/esm2020/datepicker/datepicker-intl.mjs +4 -4
- package/esm2020/datepicker/datepicker-module.mjs +5 -5
- package/esm2020/datepicker/datepicker-toggle.mjs +7 -7
- package/esm2020/datepicker/datepicker.mjs +4 -4
- package/esm2020/datepicker/month-view.mjs +36 -9
- package/esm2020/datepicker/multi-year-view.mjs +42 -10
- package/esm2020/datepicker/year-view.mjs +41 -10
- package/esm2020/dialog/dialog-container.mjs +8 -8
- package/esm2020/dialog/dialog-content-directives.mjs +27 -15
- package/esm2020/dialog/dialog-module.mjs +5 -5
- package/esm2020/dialog/dialog.mjs +8 -8
- package/esm2020/divider/divider-module.mjs +5 -5
- package/esm2020/divider/divider.mjs +4 -4
- package/esm2020/expansion/accordion.mjs +4 -4
- package/esm2020/expansion/expansion-module.mjs +5 -5
- package/esm2020/expansion/expansion-panel-base.mjs +14 -0
- package/esm2020/expansion/expansion-panel-content.mjs +14 -7
- package/esm2020/expansion/expansion-panel-header.mjs +10 -10
- package/esm2020/expansion/expansion-panel.mjs +11 -8
- package/esm2020/expansion/public-api.mjs +2 -1
- package/esm2020/form-field/error.mjs +4 -4
- package/esm2020/form-field/form-field-control.mjs +4 -4
- package/esm2020/form-field/form-field-module.mjs +5 -5
- package/esm2020/form-field/form-field.mjs +16 -11
- package/esm2020/form-field/hint.mjs +4 -4
- package/esm2020/form-field/label.mjs +4 -4
- package/esm2020/form-field/placeholder.mjs +4 -4
- package/esm2020/form-field/prefix.mjs +4 -4
- package/esm2020/form-field/suffix.mjs +4 -4
- package/esm2020/grid-list/grid-list-module.mjs +5 -5
- package/esm2020/grid-list/grid-list.mjs +4 -4
- package/esm2020/grid-list/grid-tile.mjs +16 -16
- package/esm2020/icon/icon-module.mjs +5 -5
- package/esm2020/icon/icon-registry.mjs +12 -14
- package/esm2020/icon/icon.mjs +30 -20
- package/esm2020/icon/testing/fake-icon-registry.mjs +9 -9
- package/esm2020/input/input-module.mjs +5 -5
- package/esm2020/input/input.mjs +16 -6
- package/esm2020/list/list-module.mjs +5 -5
- package/esm2020/list/list.mjs +19 -19
- package/esm2020/list/selection-list.mjs +7 -7
- package/esm2020/menu/menu-content.mjs +7 -7
- package/esm2020/menu/menu-errors.mjs +1 -12
- package/esm2020/menu/menu-item.mjs +8 -4
- package/esm2020/menu/menu-module.mjs +5 -5
- package/esm2020/menu/menu-trigger.mjs +73 -66
- package/esm2020/menu/menu.mjs +35 -14
- package/esm2020/paginator/paginator-intl.mjs +4 -4
- package/esm2020/paginator/paginator-module.mjs +5 -5
- package/esm2020/paginator/paginator.mjs +12 -8
- package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.mjs +4 -4
- package/esm2020/progress-spinner/progress-spinner-module.mjs +8 -8
- package/esm2020/progress-spinner/progress-spinner.mjs +13 -50
- package/esm2020/progress-spinner/public-api.mjs +10 -2
- package/esm2020/radio/radio-module.mjs +5 -5
- package/esm2020/radio/radio.mjs +14 -14
- package/esm2020/select/select-module.mjs +5 -5
- package/esm2020/select/select.mjs +25 -13
- package/esm2020/sidenav/drawer.mjs +12 -12
- package/esm2020/sidenav/sidenav-module.mjs +7 -8
- package/esm2020/sidenav/sidenav.mjs +12 -12
- package/esm2020/slide-toggle/slide-toggle-module.mjs +9 -9
- package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
- package/esm2020/slide-toggle/slide-toggle.mjs +4 -4
- package/esm2020/slider/slider-module.mjs +5 -5
- package/esm2020/slider/slider.mjs +4 -4
- package/esm2020/snack-bar/simple-snack-bar.mjs +4 -4
- package/esm2020/snack-bar/snack-bar-container.mjs +4 -4
- package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
- package/esm2020/snack-bar/snack-bar.mjs +7 -7
- package/esm2020/sort/sort-header-intl.mjs +4 -4
- package/esm2020/sort/sort-header.mjs +16 -8
- package/esm2020/sort/sort-module.mjs +5 -5
- package/esm2020/sort/sort.mjs +4 -4
- package/esm2020/stepper/step-content.mjs +4 -4
- package/esm2020/stepper/step-header.mjs +4 -4
- package/esm2020/stepper/step-label.mjs +4 -4
- package/esm2020/stepper/stepper-button.mjs +7 -7
- package/esm2020/stepper/stepper-icon.mjs +4 -4
- package/esm2020/stepper/stepper-intl.mjs +4 -4
- package/esm2020/stepper/stepper-module.mjs +6 -10
- package/esm2020/stepper/stepper.mjs +12 -62
- package/esm2020/table/cell.mjs +22 -22
- package/esm2020/table/row.mjs +22 -22
- package/esm2020/table/table-module.mjs +5 -5
- package/esm2020/table/table.mjs +7 -7
- package/esm2020/table/text-column.mjs +4 -4
- package/esm2020/tabs/ink-bar.mjs +4 -4
- package/esm2020/tabs/paginated-tab-header.mjs +16 -10
- package/esm2020/tabs/tab-body.mjs +10 -10
- package/esm2020/tabs/tab-content.mjs +4 -4
- package/esm2020/tabs/tab-group.mjs +31 -7
- package/esm2020/tabs/tab-header.mjs +8 -8
- package/esm2020/tabs/tab-label-wrapper.mjs +4 -4
- package/esm2020/tabs/tab-label.mjs +4 -4
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +16 -16
- package/esm2020/tabs/tab.mjs +4 -4
- package/esm2020/tabs/tabs-module.mjs +5 -5
- package/esm2020/toolbar/toolbar-module.mjs +5 -5
- package/esm2020/toolbar/toolbar.mjs +7 -7
- package/esm2020/tooltip/tooltip-module.mjs +5 -5
- package/esm2020/tooltip/tooltip.mjs +41 -18
- package/esm2020/tree/node.mjs +10 -10
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.mjs +4 -4
- package/esm2020/tree/toggle.mjs +4 -4
- package/esm2020/tree/tree-module.mjs +5 -5
- package/esm2020/tree/tree.mjs +4 -4
- package/expansion/expansion-panel-base.d.ts +22 -0
- package/expansion/expansion-panel-content.d.ts +4 -2
- package/expansion/public-api.d.ts +1 -0
- package/fesm2015/autocomplete.mjs +100 -55
- 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 +11 -11
- 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 +16 -14
- package/fesm2015/checkbox.mjs.map +1 -1
- package/fesm2015/chips.mjs +56 -27
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +153 -116
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +224 -107
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog.mjs +44 -32
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/divider.mjs +7 -7
- package/fesm2015/divider.mjs.map +1 -1
- package/fesm2015/expansion.mjs +53 -30
- package/fesm2015/expansion.mjs.map +1 -1
- package/fesm2015/form-field.mjs +41 -35
- 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 +8 -8
- package/fesm2015/icon/testing.mjs.map +1 -1
- package/fesm2015/icon.mjs +44 -36
- package/fesm2015/icon.mjs.map +1 -1
- package/fesm2015/input.mjs +19 -9
- package/fesm2015/input.mjs.map +1 -1
- package/fesm2015/list.mjs +28 -28
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/menu.mjs +124 -99
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/paginator.mjs +18 -14
- 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 +30 -62
- package/fesm2015/progress-spinner.mjs.map +1 -1
- package/fesm2015/radio.mjs +17 -17
- package/fesm2015/radio.mjs.map +1 -1
- package/fesm2015/select.mjs +28 -16
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/sidenav.mjs +29 -30
- package/fesm2015/sidenav.mjs.map +1 -1
- package/fesm2015/slide-toggle.mjs +14 -14
- package/fesm2015/slide-toggle.mjs.map +1 -1
- package/fesm2015/slider.mjs +7 -7
- package/fesm2015/slider.mjs.map +1 -1
- package/fesm2015/snack-bar.mjs +16 -16
- package/fesm2015/snack-bar.mjs.map +1 -1
- package/fesm2015/sort.mjs +128 -120
- package/fesm2015/sort.mjs.map +1 -1
- package/fesm2015/stepper.mjs +37 -90
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +55 -55
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/tabs.mjs +95 -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 +46 -21
- package/fesm2015/tooltip.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -25
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +99 -55
- 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 +11 -11
- 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 +16 -14
- package/fesm2020/checkbox.mjs.map +1 -1
- package/fesm2020/chips.mjs +56 -27
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +153 -116
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +224 -107
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog.mjs +44 -32
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/divider.mjs +7 -7
- package/fesm2020/divider.mjs.map +1 -1
- package/fesm2020/expansion.mjs +51 -30
- package/fesm2020/expansion.mjs.map +1 -1
- package/fesm2020/form-field.mjs +40 -35
- 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 +8 -8
- package/fesm2020/icon/testing.mjs.map +1 -1
- package/fesm2020/icon.mjs +44 -36
- package/fesm2020/icon.mjs.map +1 -1
- package/fesm2020/input.mjs +19 -9
- package/fesm2020/input.mjs.map +1 -1
- package/fesm2020/list.mjs +28 -28
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/menu.mjs +120 -99
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/paginator.mjs +18 -14
- 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 +30 -60
- package/fesm2020/progress-spinner.mjs.map +1 -1
- package/fesm2020/radio.mjs +17 -17
- package/fesm2020/radio.mjs.map +1 -1
- package/fesm2020/select.mjs +28 -16
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/sidenav.mjs +29 -30
- package/fesm2020/sidenav.mjs.map +1 -1
- package/fesm2020/slide-toggle.mjs +14 -14
- package/fesm2020/slide-toggle.mjs.map +1 -1
- package/fesm2020/slider.mjs +7 -7
- package/fesm2020/slider.mjs.map +1 -1
- package/fesm2020/snack-bar.mjs +16 -16
- package/fesm2020/snack-bar.mjs.map +1 -1
- package/fesm2020/sort.mjs +24 -16
- package/fesm2020/sort.mjs.map +1 -1
- package/fesm2020/stepper.mjs +37 -90
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +55 -55
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/tabs.mjs +95 -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 +44 -21
- package/fesm2020/tooltip.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -25
- package/fesm2020/tree.mjs.map +1 -1
- package/form-field/form-field.d.ts +9 -5
- package/icon/icon-registry.d.ts +7 -9
- package/icon/icon.d.ts +12 -3
- package/icon/testing/fake-icon-registry.d.ts +1 -1
- package/input/input.d.ts +11 -1
- package/menu/menu-errors.d.ts +0 -5
- package/menu/menu-item.d.ts +3 -2
- package/menu/menu-trigger.d.ts +21 -11
- package/menu/menu.d.ts +7 -2
- package/package.json +7 -7
- package/paginator/paginator.d.ts +12 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-spinner/progress-spinner-module.d.ts +1 -1
- package/progress-spinner/progress-spinner.d.ts +4 -19
- package/progress-spinner/public-api.d.ts +8 -1
- package/schematics/migration.json +5 -0
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-add/schema.d.ts +2 -2
- package/schematics/ng-add/schema.js +1 -1
- package/schematics/ng-add/schema.json +12 -4
- package/schematics/ng-add/schema.mjs +1 -1
- package/schematics/ng-add/setup-project.js +7 -5
- package/schematics/ng-add/setup-project.mjs +7 -5
- package/schematics/ng-update/data/constructor-checks.js +5 -1
- package/schematics/ng-update/data/constructor-checks.mjs +5 -1
- package/schematics/ng-update/index.d.ts +2 -0
- package/schematics/ng-update/index.js +7 -2
- package/schematics/ng-update/index.mjs +7 -2
- package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +4 -4
- package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +4 -4
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +13 -13
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +13 -13
- package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.js +2 -13
- package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.mjs +2 -13
- package/select/select.d.ts +11 -0
- package/sidenav/sidenav-module.d.ts +2 -3
- package/sort/sort-header.d.ts +4 -4
- package/sort/sort.d.ts +4 -0
- package/stepper/stepper-module.d.ts +1 -1
- package/stepper/stepper.d.ts +2 -35
- package/tabs/paginated-tab-header.d.ts +4 -2
- package/tabs/tab-group.d.ts +6 -2
- package/tooltip/tooltip.d.ts +13 -1
|
@@ -11,7 +11,7 @@ import { Overlay, ScrollStrategy } from '@angular/cdk/overlay';
|
|
|
11
11
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
12
12
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, InjectionToken, NgZone, OnDestroy, ViewContainerRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
13
13
|
import { ControlValueAccessor } from '@angular/forms';
|
|
14
|
-
import {
|
|
14
|
+
import { _MatOptionBase, MatOptionSelectionChange } from '@angular/material/core';
|
|
15
15
|
import { MatFormField } from '@angular/material/form-field';
|
|
16
16
|
import { Observable } from 'rxjs';
|
|
17
17
|
import { _MatAutocompleteBase, MatAutocompleteDefaultOptions } from './autocomplete';
|
|
@@ -70,6 +70,13 @@ export declare abstract class _MatAutocompleteTriggerBase implements ControlValu
|
|
|
70
70
|
* comes back.
|
|
71
71
|
*/
|
|
72
72
|
private _canOpenOnNextFocus;
|
|
73
|
+
/** Value inside the input before we auto-selected an option. */
|
|
74
|
+
private _valueBeforeAutoSelection;
|
|
75
|
+
/**
|
|
76
|
+
* Current option that we have auto-selected as the user is navigating,
|
|
77
|
+
* but which hasn't been propagated to the model value yet.
|
|
78
|
+
*/
|
|
79
|
+
private _pendingAutoselectedOption;
|
|
73
80
|
/** Stream of keyboard events that can close the panel. */
|
|
74
81
|
private readonly _closeKeyEventStream;
|
|
75
82
|
/**
|
|
@@ -133,7 +140,7 @@ export declare abstract class _MatAutocompleteTriggerBase implements ControlValu
|
|
|
133
140
|
/** Stream of changes to the selection state of the autocomplete options. */
|
|
134
141
|
readonly optionSelections: Observable<MatOptionSelectionChange>;
|
|
135
142
|
/** The currently active option, coerced to MatOption type. */
|
|
136
|
-
get activeOption():
|
|
143
|
+
get activeOption(): _MatOptionBase | null;
|
|
137
144
|
/** Stream of clicks outside of the autocomplete panel. */
|
|
138
145
|
private _getOutsideClickStream;
|
|
139
146
|
writeValue(value: any): void;
|
|
@@ -143,6 +150,7 @@ export declare abstract class _MatAutocompleteTriggerBase implements ControlValu
|
|
|
143
150
|
_handleKeydown(event: KeyboardEvent): void;
|
|
144
151
|
_handleInput(event: KeyboardEvent): void;
|
|
145
152
|
_handleFocus(): void;
|
|
153
|
+
_handleClick(): void;
|
|
146
154
|
/**
|
|
147
155
|
* In "auto" mode, the label will animate down as soon as focus is lost.
|
|
148
156
|
* This causes the value to jump when selecting an option with the mouse.
|
|
@@ -159,7 +167,8 @@ export declare abstract class _MatAutocompleteTriggerBase implements ControlValu
|
|
|
159
167
|
private _subscribeToClosingActions;
|
|
160
168
|
/** Destroys the autocomplete suggestion panel. */
|
|
161
169
|
private _destroyPanel;
|
|
162
|
-
private
|
|
170
|
+
private _assignOptionValue;
|
|
171
|
+
private _updateNativeInputValue;
|
|
163
172
|
/**
|
|
164
173
|
* This method closes the panel, and if a value is specified, also sets the associated
|
|
165
174
|
* control to that value. It will also mark the control as dirty if this interaction
|
|
@@ -190,6 +199,8 @@ export declare abstract class _MatAutocompleteTriggerBase implements ControlValu
|
|
|
190
199
|
private _getWindow;
|
|
191
200
|
/** Scrolls to a particular option in the list. */
|
|
192
201
|
private _scrollToOption;
|
|
202
|
+
/** Handles keyboard events coming from the overlay panel. */
|
|
203
|
+
private _handleOverlayEvents;
|
|
193
204
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatAutocompleteTriggerBase, [null, null, null, null, null, null, { optional: true; }, { optional: true; host: true; }, { optional: true; }, null, { optional: true; }]>;
|
|
194
205
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatAutocompleteTriggerBase, never, never, { "autocomplete": "matAutocomplete"; "position": "matAutocompletePosition"; "connectedTo": "matAutocompleteConnectedTo"; "autocompleteAttribute": "autocomplete"; "autocompleteDisabled": "matAutocompleteDisabled"; }, {}, never>;
|
|
195
206
|
}
|
|
@@ -38,6 +38,8 @@ declare const _MatAutocompleteMixinBase: import("@angular/material/core")._Const
|
|
|
38
38
|
export interface MatAutocompleteDefaultOptions {
|
|
39
39
|
/** Whether the first option should be highlighted when an autocomplete panel is opened. */
|
|
40
40
|
autoActiveFirstOption?: boolean;
|
|
41
|
+
/** Whether the active option should be selected as the user is navigating. */
|
|
42
|
+
autoSelectActiveOption?: boolean;
|
|
41
43
|
/** Class or list of classes to be applied to the autocomplete's overlay panel. */
|
|
42
44
|
overlayPanelClass?: string | string[];
|
|
43
45
|
}
|
|
@@ -82,6 +84,10 @@ export declare abstract class _MatAutocompleteBase extends _MatAutocompleteMixin
|
|
|
82
84
|
get autoActiveFirstOption(): boolean;
|
|
83
85
|
set autoActiveFirstOption(value: BooleanInput);
|
|
84
86
|
private _autoActiveFirstOption;
|
|
87
|
+
/** Whether the active option should be selected as the user is navigating. */
|
|
88
|
+
get autoSelectActiveOption(): boolean;
|
|
89
|
+
set autoSelectActiveOption(value: BooleanInput);
|
|
90
|
+
private _autoSelectActiveOption;
|
|
85
91
|
/**
|
|
86
92
|
* Specify the width of the autocomplete panel. Can be any CSS sizing value, otherwise it will
|
|
87
93
|
* match the width of its host.
|
|
@@ -129,7 +135,7 @@ export declare abstract class _MatAutocompleteBase extends _MatAutocompleteMixin
|
|
|
129
135
|
/** Sets the autocomplete visibility classes on a classlist based on the panel is visible. */
|
|
130
136
|
private _setVisibilityClasses;
|
|
131
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatAutocompleteBase, never>;
|
|
132
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatAutocompleteBase, never, never, { "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "displayWith": "displayWith"; "autoActiveFirstOption": "autoActiveFirstOption"; "panelWidth": "panelWidth"; "classList": "class"; }, { "optionSelected": "optionSelected"; "opened": "opened"; "closed": "closed"; "optionActivated": "optionActivated"; }, never>;
|
|
138
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatAutocompleteBase, never, never, { "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "displayWith": "displayWith"; "autoActiveFirstOption": "autoActiveFirstOption"; "autoSelectActiveOption": "autoSelectActiveOption"; "panelWidth": "panelWidth"; "classList": "class"; }, { "optionSelected": "optionSelected"; "opened": "opened"; "closed": "closed"; "optionActivated": "optionActivated"; }, never>;
|
|
133
139
|
}
|
|
134
140
|
export declare class MatAutocomplete extends _MatAutocompleteBase {
|
|
135
141
|
/** Reference to all option groups within the autocomplete. */
|
|
@@ -11,15 +11,27 @@
|
|
|
11
11
|
$foreground: map.get($config, foreground);
|
|
12
12
|
$background: map.get($config, background);
|
|
13
13
|
$divider-color: theming.get-color-from-palette($foreground, divider);
|
|
14
|
+
$theme-divider-color: map.get($foreground, divider);
|
|
15
|
+
|
|
16
|
+
// By default the theme usually has an rgba color for the dividers, which can
|
|
17
|
+
// stack up with the background of a button toggle. This can cause the border
|
|
18
|
+
// of a selected toggle to look different from an deselected one. We use a solid
|
|
19
|
+
// color to ensure that the border always stays the same.
|
|
20
|
+
$divider-color: if(type-of($theme-divider-color) == color,
|
|
21
|
+
theming.private-rgba-to-hex($theme-divider-color, map.get($background, card)),
|
|
22
|
+
$theme-divider-color
|
|
23
|
+
);
|
|
14
24
|
|
|
15
25
|
.mat-button-toggle-standalone,
|
|
16
26
|
.mat-button-toggle-group {
|
|
17
|
-
@include private.private-theme-elevation(2, $config);
|
|
27
|
+
@include private.private-theme-overridable-elevation(2, $config);
|
|
18
28
|
}
|
|
19
29
|
|
|
20
30
|
.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,
|
|
21
31
|
.mat-button-toggle-group-appearance-standard {
|
|
22
|
-
|
|
32
|
+
&:not([class*='mat-elevation-z']) {
|
|
33
|
+
box-shadow: none;
|
|
34
|
+
}
|
|
23
35
|
}
|
|
24
36
|
|
|
25
37
|
.mat-button-toggle {
|
|
@@ -32,6 +32,12 @@
|
|
|
32
32
|
fill: $checkbox-mark-color;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
.mat-checkbox-label {
|
|
36
|
+
// Explicitly set the text color since the checkbox may be
|
|
37
|
+
// inside an overlay that doesn't have the proper theme text color.
|
|
38
|
+
color: theming.get-color-from-palette($foreground, 'text');
|
|
39
|
+
}
|
|
40
|
+
|
|
35
41
|
.mat-checkbox-checkmark-path {
|
|
36
42
|
// !important is needed here because a stroke must be set as an
|
|
37
43
|
// attribute on the SVG in order for line animation to work properly.
|
|
@@ -71,7 +77,7 @@
|
|
|
71
77
|
}
|
|
72
78
|
|
|
73
79
|
.mat-checkbox-label {
|
|
74
|
-
color: theming.get-color-from-palette($foreground,
|
|
80
|
+
color: theming.get-color-from-palette($foreground, disabled);
|
|
75
81
|
}
|
|
76
82
|
}
|
|
77
83
|
|
package/chips/chip-list.d.ts
CHANGED
|
@@ -13,17 +13,27 @@ import { AfterContentInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter,
|
|
|
13
13
|
import { ControlValueAccessor, FormGroupDirective, NgControl, NgForm } from '@angular/forms';
|
|
14
14
|
import { CanUpdateErrorState, ErrorStateMatcher } from '@angular/material/core';
|
|
15
15
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
16
|
-
import { Observable } from 'rxjs';
|
|
16
|
+
import { Observable, Subject } from 'rxjs';
|
|
17
17
|
import { MatChip, MatChipEvent, MatChipSelectionChange } from './chip';
|
|
18
18
|
import { MatChipTextControl } from './chip-text-control';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
/** @docs-private */
|
|
21
21
|
declare const _MatChipListBase: import("@angular/material/core")._Constructor<CanUpdateErrorState> & import("@angular/material/core")._AbstractConstructor<CanUpdateErrorState> & {
|
|
22
22
|
new (_defaultErrorStateMatcher: ErrorStateMatcher, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, ngControl: NgControl): {
|
|
23
|
+
/**
|
|
24
|
+
* Emits whenever the component state changes and should cause the parent
|
|
25
|
+
* form-field to update. Implemented as part of `MatFormFieldControl`.
|
|
26
|
+
* @docs-private
|
|
27
|
+
*/
|
|
28
|
+
readonly stateChanges: Subject<void>;
|
|
23
29
|
_defaultErrorStateMatcher: ErrorStateMatcher;
|
|
24
30
|
_parentForm: NgForm;
|
|
25
31
|
_parentFormGroup: FormGroupDirective;
|
|
26
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Form control bound to the component.
|
|
34
|
+
* Implemented as part of `MatFormFieldControl`.
|
|
35
|
+
* @docs-private
|
|
36
|
+
*/
|
|
27
37
|
ngControl: NgControl;
|
|
28
38
|
};
|
|
29
39
|
};
|
|
@@ -71,8 +81,6 @@ export declare class MatChipList extends _MatChipListBase implements MatFormFiel
|
|
|
71
81
|
protected _chipInput: MatChipTextControl;
|
|
72
82
|
/** Uid of the chip list */
|
|
73
83
|
_uid: string;
|
|
74
|
-
/** The aria-describedby attribute on the chip list for improved a11y. */
|
|
75
|
-
_ariaDescribedby: string;
|
|
76
84
|
/** Tab index for the chip list. */
|
|
77
85
|
_tabIndex: number;
|
|
78
86
|
/**
|
|
@@ -91,6 +99,13 @@ export declare class MatChipList extends _MatChipListBase implements MatFormFiel
|
|
|
91
99
|
get selected(): MatChip[] | MatChip;
|
|
92
100
|
/** The ARIA role applied to the chip list. */
|
|
93
101
|
get role(): string | null;
|
|
102
|
+
set role(role: string | null);
|
|
103
|
+
private _explicitRole?;
|
|
104
|
+
/**
|
|
105
|
+
* Implemented as part of MatFormFieldControl.
|
|
106
|
+
* @docs-private
|
|
107
|
+
*/
|
|
108
|
+
userAriaDescribedBy: string;
|
|
94
109
|
/** An object used to control when error messages are shown. */
|
|
95
110
|
errorStateMatcher: ErrorStateMatcher;
|
|
96
111
|
/** Whether the user should be allowed to select multiple chips. */
|
|
@@ -269,6 +284,6 @@ export declare class MatChipList extends _MatChipListBase implements MatFormFiel
|
|
|
269
284
|
/** Syncs the list's state with the individual chips. */
|
|
270
285
|
private _syncChipsState;
|
|
271
286
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipList, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
|
272
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipList, "mat-chip-list", ["matChipList"], { "errorStateMatcher": "errorStateMatcher"; "multiple": "multiple"; "compareWith": "compareWith"; "value": "value"; "required": "required"; "placeholder": "placeholder"; "disabled": "disabled"; "ariaOrientation": "aria-orientation"; "selectable": "selectable"; "tabIndex": "tabIndex"; }, { "change": "change"; "valueChange": "valueChange"; }, ["chips"], ["*"]>;
|
|
287
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipList, "mat-chip-list", ["matChipList"], { "role": "role"; "userAriaDescribedBy": "aria-describedby"; "errorStateMatcher": "errorStateMatcher"; "multiple": "multiple"; "compareWith": "compareWith"; "value": "value"; "required": "required"; "placeholder": "placeholder"; "disabled": "disabled"; "ariaOrientation": "aria-orientation"; "selectable": "selectable"; "tabIndex": "tabIndex"; }, { "change": "change"; "valueChange": "valueChange"; }, ["chips"], ["*"]>;
|
|
273
288
|
}
|
|
274
289
|
export {};
|
package/chips/chip.d.ts
CHANGED
|
@@ -116,6 +116,8 @@ export declare class MatChip extends _MatChipMixinBase implements FocusableOptio
|
|
|
116
116
|
trailingIcon: MatChipTrailingIcon;
|
|
117
117
|
/** The chip's remove toggler. */
|
|
118
118
|
removeIcon: MatChipRemove;
|
|
119
|
+
/** ARIA role that should be applied to the chip. */
|
|
120
|
+
role: string;
|
|
119
121
|
/** Whether the chip is selected. */
|
|
120
122
|
get selected(): boolean;
|
|
121
123
|
set selected(value: BooleanInput);
|
|
@@ -182,7 +184,7 @@ export declare class MatChip extends _MatChipMixinBase implements FocusableOptio
|
|
|
182
184
|
_blur(): void;
|
|
183
185
|
private _dispatchSelectionChange;
|
|
184
186
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, [null, null, null, { optional: true; }, null, null, { optional: true; }, { attribute: "tabindex"; }]>;
|
|
185
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChip, "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", ["matChip"], { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "selected": "selected"; "value": "value"; "selectable": "selectable"; "disabled": "disabled"; "removable": "removable"; }, { "selectionChange": "selectionChange"; "destroyed": "destroyed"; "removed": "removed"; }, ["avatar", "trailingIcon", "removeIcon"]>;
|
|
187
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChip, "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", ["matChip"], { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "role": "role"; "selected": "selected"; "value": "value"; "selectable": "selectable"; "disabled": "disabled"; "removable": "removable"; }, { "selectionChange": "selectionChange"; "destroyed": "destroyed"; "removed": "removed"; }, ["avatar", "trailingIcon", "removeIcon"]>;
|
|
186
188
|
}
|
|
187
189
|
/**
|
|
188
190
|
* Applies proper (click) support and adds styling for use with the Material Design "cancel" icon
|
|
@@ -11,8 +11,6 @@ import { ErrorStateMatcher } from '../error/error-options';
|
|
|
11
11
|
import { AbstractConstructor, Constructor } from './constructor';
|
|
12
12
|
/** @docs-private */
|
|
13
13
|
export interface CanUpdateErrorState {
|
|
14
|
-
/** Emits whenever the component state changes. */
|
|
15
|
-
readonly stateChanges: Subject<void>;
|
|
16
14
|
/** Updates the error state based on the provided error state matcher. */
|
|
17
15
|
updateErrorState(): void;
|
|
18
16
|
/** Whether the component is in an error state. */
|
|
@@ -27,6 +25,7 @@ export interface HasErrorState {
|
|
|
27
25
|
_parentForm: NgForm;
|
|
28
26
|
_defaultErrorStateMatcher: ErrorStateMatcher;
|
|
29
27
|
ngControl: NgControl;
|
|
28
|
+
stateChanges: Subject<void>;
|
|
30
29
|
}
|
|
31
30
|
/**
|
|
32
31
|
* Mixin to augment a directive with updateErrorState method.
|
package/core/datetime/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/cdk/platform";
|
|
3
2
|
export * from './date-adapter';
|
|
4
3
|
export * from './date-formats';
|
|
5
4
|
export * from './native-date-adapter';
|
|
6
5
|
export * from './native-date-formats';
|
|
7
6
|
export declare class NativeDateModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeDateModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDateModule, never,
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDateModule, never, never, never>;
|
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<NativeDateModule>;
|
|
11
10
|
}
|
|
12
11
|
export declare class MatNativeDateModule {
|
package/core/ripple/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./ripple";
|
|
3
3
|
import * as i2 from "../common-behaviors/common-module";
|
|
4
|
-
import * as i3 from "@angular/cdk/platform";
|
|
5
4
|
export * from './ripple';
|
|
6
5
|
export * from './ripple-ref';
|
|
7
6
|
export * from './ripple-renderer';
|
|
8
7
|
export declare class MatRippleModule {
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRippleModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatRippleModule, [typeof i1.MatRipple], [typeof i2.MatCommonModule
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatRippleModule, [typeof i1.MatRipple], [typeof i2.MatCommonModule], [typeof i1.MatRipple, typeof i2.MatCommonModule]>;
|
|
11
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatRippleModule>;
|
|
12
11
|
}
|
|
@@ -39,6 +39,7 @@ export declare class RippleRef {
|
|
|
39
39
|
element: HTMLElement;
|
|
40
40
|
/** Ripple configuration used for the ripple. */
|
|
41
41
|
config: RippleConfig;
|
|
42
|
+
_animationForciblyDisabledThroughCss: boolean;
|
|
42
43
|
/** Current state of the ripple. */
|
|
43
44
|
state: RippleState;
|
|
44
45
|
constructor(_renderer: {
|
|
@@ -47,7 +48,7 @@ export declare class RippleRef {
|
|
|
47
48
|
/** Reference to the ripple HTML element. */
|
|
48
49
|
element: HTMLElement,
|
|
49
50
|
/** Ripple configuration used for the ripple. */
|
|
50
|
-
config: RippleConfig);
|
|
51
|
+
config: RippleConfig, _animationForciblyDisabledThroughCss?: boolean);
|
|
51
52
|
/** Fades out the ripple element. */
|
|
52
53
|
fadeOut(): void;
|
|
53
54
|
}
|
|
@@ -77,14 +77,21 @@ export declare class RippleRenderer implements EventListenerObject {
|
|
|
77
77
|
* @docs-private
|
|
78
78
|
*/
|
|
79
79
|
handleEvent(event: Event): void;
|
|
80
|
+
/** Method that will be called if the fade-in or fade-in transition completed. */
|
|
81
|
+
private _finishRippleTransition;
|
|
82
|
+
/**
|
|
83
|
+
* Starts the fade-out transition of the given ripple if it's not persistent and the pointer
|
|
84
|
+
* is not held down anymore.
|
|
85
|
+
*/
|
|
86
|
+
private _startFadeOutTransition;
|
|
87
|
+
/** Destroys the given ripple by removing it from the DOM and updating its state. */
|
|
88
|
+
private _destroyRipple;
|
|
80
89
|
/** Function being called whenever the trigger is being pressed using mouse. */
|
|
81
90
|
private _onMousedown;
|
|
82
91
|
/** Function being called whenever the trigger is being pressed using touch. */
|
|
83
92
|
private _onTouchStart;
|
|
84
93
|
/** Function being called whenever the trigger is being released. */
|
|
85
94
|
private _onPointerUp;
|
|
86
|
-
/** Runs a timeout outside of the Angular zone to avoid triggering the change detection. */
|
|
87
|
-
private _runTimeoutOutsideZone;
|
|
88
95
|
/** Registers event listeners for a given list of events. */
|
|
89
96
|
private _registerEvents;
|
|
90
97
|
/** Removes previously registered event listeners from the trigger element. */
|
|
@@ -437,3 +437,12 @@ $_emitted-density: () !default;
|
|
|
437
437
|
color: $theme-or-color-config
|
|
438
438
|
));
|
|
439
439
|
}
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
// Approximates an rgba color into a solid hex color, given a background color.
|
|
443
|
+
@function private-rgba-to-hex($color, $background-color) {
|
|
444
|
+
// We convert the rgba color into a solid one by taking the opacity from the rgba
|
|
445
|
+
// value and using it to determine the percentage of the background to put
|
|
446
|
+
// into foreground when mixing the colors together.
|
|
447
|
+
@return mix($background-color, rgba($color, 1), (1 - opacity($color)) * 100%);
|
|
448
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import { ElementRef, EventEmitter, NgZone, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
8
|
+
import { ElementRef, EventEmitter, NgZone, OnChanges, SimpleChanges, OnDestroy, AfterViewChecked } from '@angular/core';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/** Extra CSS classes that can be associated with a calendar cell. */
|
|
11
11
|
export declare type MatCalendarCellCssClasses = string | string[] | Set<string> | {
|
|
@@ -36,7 +36,7 @@ export interface MatCalendarUserEvent<D> {
|
|
|
36
36
|
* An internal component used to display calendar data in a table.
|
|
37
37
|
* @docs-private
|
|
38
38
|
*/
|
|
39
|
-
export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
39
|
+
export declare class MatCalendarBody implements OnChanges, OnDestroy, AfterViewChecked {
|
|
40
40
|
private _elementRef;
|
|
41
41
|
private _ngZone;
|
|
42
42
|
/**
|
|
@@ -44,6 +44,10 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
44
44
|
* We need a flag like this, because some browsers fire focus events asynchronously.
|
|
45
45
|
*/
|
|
46
46
|
private _skipNextFocus;
|
|
47
|
+
/**
|
|
48
|
+
* Used to focus the active cell after change detection has run.
|
|
49
|
+
*/
|
|
50
|
+
private _focusActiveCellAfterViewChecked;
|
|
47
51
|
/** The label for the table. (e.g. "Jan 2017"). */
|
|
48
52
|
label: string;
|
|
49
53
|
/** The cells to display in the table. */
|
|
@@ -60,6 +64,7 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
60
64
|
numCols: number;
|
|
61
65
|
/** The cell number of the active cell in the table. */
|
|
62
66
|
activeCell: number;
|
|
67
|
+
ngAfterViewChecked(): void;
|
|
63
68
|
/** Whether a range is being selected. */
|
|
64
69
|
isRange: boolean;
|
|
65
70
|
/**
|
|
@@ -79,6 +84,7 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
79
84
|
readonly selectedValueChange: EventEmitter<MatCalendarUserEvent<number>>;
|
|
80
85
|
/** Emits when the preview has changed as a result of a user action. */
|
|
81
86
|
readonly previewChange: EventEmitter<MatCalendarUserEvent<MatCalendarCell<any> | null>>;
|
|
87
|
+
readonly activeDateChange: EventEmitter<MatCalendarUserEvent<number>>;
|
|
82
88
|
/** The number of blank cells to put at the beginning for the first row. */
|
|
83
89
|
_firstRowOffset: number;
|
|
84
90
|
/** Padding for the individual date cells. */
|
|
@@ -88,6 +94,7 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
88
94
|
constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
|
|
89
95
|
/** Called when a cell is clicked. */
|
|
90
96
|
_cellClicked(cell: MatCalendarCell, event: MouseEvent): void;
|
|
97
|
+
_emitActiveDateChange(cell: MatCalendarCell, event: FocusEvent): void;
|
|
91
98
|
/** Returns whether a cell should be marked as selected. */
|
|
92
99
|
_isSelected(value: number): boolean;
|
|
93
100
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -96,6 +103,8 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
96
103
|
_isActiveCell(rowIndex: number, colIndex: number): boolean;
|
|
97
104
|
/** Focuses the active cell after the microtask queue is empty. */
|
|
98
105
|
_focusActiveCell(movePreview?: boolean): void;
|
|
106
|
+
/** Focuses the active cell after change detection has run and the microtask queue is empty. */
|
|
107
|
+
_scheduleFocusActiveCellAfterViewChecked(): void;
|
|
99
108
|
/** Gets whether a value is the start of the main range. */
|
|
100
109
|
_isRangeStart(value: number): boolean;
|
|
101
110
|
/** Gets whether a value is the end of the main range. */
|
|
@@ -142,5 +151,5 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
142
151
|
/** Finds the MatCalendarCell that corresponds to a DOM node. */
|
|
143
152
|
private _getCellFromElement;
|
|
144
153
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendarBody, never>;
|
|
145
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarBody, "[mat-calendar-body]", ["matCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "startValue": "startValue"; "endValue": "endValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "isRange": "isRange"; "cellAspectRatio": "cellAspectRatio"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; "previewStart": "previewStart"; "previewEnd": "previewEnd"; }, { "selectedValueChange": "selectedValueChange"; "previewChange": "previewChange"; }, never, never>;
|
|
154
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarBody, "[mat-calendar-body]", ["matCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "startValue": "startValue"; "endValue": "endValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "isRange": "isRange"; "cellAspectRatio": "cellAspectRatio"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; "previewStart": "previewStart"; "previewEnd": "previewEnd"; }, { "selectedValueChange": "selectedValueChange"; "previewChange": "previewChange"; "activeDateChange": "activeDateChange"; }, never, never>;
|
|
146
155
|
}
|
|
@@ -41,7 +41,10 @@ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBa
|
|
|
41
41
|
private _injector;
|
|
42
42
|
_parentForm: NgForm;
|
|
43
43
|
_parentFormGroup: FormGroupDirective;
|
|
44
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* Form control bound to this input part.
|
|
46
|
+
* @docs-private
|
|
47
|
+
*/
|
|
45
48
|
ngControl: NgControl;
|
|
46
49
|
/** @docs-private */
|
|
47
50
|
abstract updateErrorState(): void;
|
|
@@ -85,6 +85,17 @@ export declare class MatMonthView<D> implements AfterContentInit, OnChanges, OnD
|
|
|
85
85
|
ngOnDestroy(): void;
|
|
86
86
|
/** Handles when a new date is selected. */
|
|
87
87
|
_dateSelected(event: MatCalendarUserEvent<number>): void;
|
|
88
|
+
/**
|
|
89
|
+
* Takes the index of a calendar body cell wrapped in in an event as argument. For the date that
|
|
90
|
+
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
91
|
+
* that date.
|
|
92
|
+
*
|
|
93
|
+
* This fucntion is used to match each component's model of the active date with the calendar
|
|
94
|
+
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
95
|
+
* parent's value asynchonously via the `activeDateChange` event. The child component receives an
|
|
96
|
+
* updated value asynchronously via the `activeCell` Input.
|
|
97
|
+
*/
|
|
98
|
+
_updateActiveDate(event: MatCalendarUserEvent<number>): void;
|
|
88
99
|
/** Handles keydown events on the calendar body when calendar is in month view. */
|
|
89
100
|
_handleCalendarBodyKeydown(event: KeyboardEvent): void;
|
|
90
101
|
/** Handles keyup events on the calendar body when calendar is in month view. */
|
|
@@ -93,8 +104,15 @@ export declare class MatMonthView<D> implements AfterContentInit, OnChanges, OnD
|
|
|
93
104
|
_init(): void;
|
|
94
105
|
/** Focuses the active cell after the microtask queue is empty. */
|
|
95
106
|
_focusActiveCell(movePreview?: boolean): void;
|
|
107
|
+
/** Focuses the active cell after change detection has run and the microtask queue is empty. */
|
|
108
|
+
_focusActiveCellAfterViewChecked(): void;
|
|
96
109
|
/** Called when the user has activated a new cell and the preview needs to be updated. */
|
|
97
110
|
_previewChanged({ event, value: cell }: MatCalendarUserEvent<MatCalendarCell<D> | null>): void;
|
|
111
|
+
/**
|
|
112
|
+
* Takes a day of the month and returns a new date in the same month and year as the currently
|
|
113
|
+
* active date. The returned date will have the same day of the month as the argument date.
|
|
114
|
+
*/
|
|
115
|
+
private _getDateFromDayOfMonth;
|
|
98
116
|
/** Initializes the weekdays. */
|
|
99
117
|
private _initWeekdays;
|
|
100
118
|
/** Creates MatCalendarCells for the dates in this month. */
|
|
@@ -58,6 +58,17 @@ export declare class MatMultiYearView<D> implements AfterContentInit, OnDestroy
|
|
|
58
58
|
_init(): void;
|
|
59
59
|
/** Handles when a new year is selected. */
|
|
60
60
|
_yearSelected(event: MatCalendarUserEvent<number>): void;
|
|
61
|
+
/**
|
|
62
|
+
* Takes the index of a calendar body cell wrapped in in an event as argument. For the date that
|
|
63
|
+
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
64
|
+
* that date.
|
|
65
|
+
*
|
|
66
|
+
* This fucntion is used to match each component's model of the active date with the calendar
|
|
67
|
+
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
68
|
+
* parent's value asynchonously via the `activeDateChange` event. The child component receives an
|
|
69
|
+
* updated value asynchronously via the `activeCell` Input.
|
|
70
|
+
*/
|
|
71
|
+
_updateActiveDate(event: MatCalendarUserEvent<number>): void;
|
|
61
72
|
/** Handles keydown events on the calendar body when calendar is in multi-year view. */
|
|
62
73
|
_handleCalendarBodyKeydown(event: KeyboardEvent): void;
|
|
63
74
|
/** Handles keyup events on the calendar body when calendar is in multi-year view. */
|
|
@@ -65,6 +76,13 @@ export declare class MatMultiYearView<D> implements AfterContentInit, OnDestroy
|
|
|
65
76
|
_getActiveCell(): number;
|
|
66
77
|
/** Focuses the active cell after the microtask queue is empty. */
|
|
67
78
|
_focusActiveCell(): void;
|
|
79
|
+
/** Focuses the active cell after change detection has run and the microtask queue is empty. */
|
|
80
|
+
_focusActiveCellAfterViewChecked(): void;
|
|
81
|
+
/**
|
|
82
|
+
* Takes a year and returns a new date on the same day and month as the currently active date
|
|
83
|
+
* The returned date will have the same year as the argument date.
|
|
84
|
+
*/
|
|
85
|
+
private _getDateFromYear;
|
|
68
86
|
/** Creates an MatCalendarCell for the given year. */
|
|
69
87
|
private _createCellForYear;
|
|
70
88
|
/** Whether the given year is enabled. */
|
|
@@ -60,6 +60,17 @@ export declare class MatYearView<D> implements AfterContentInit, OnDestroy {
|
|
|
60
60
|
ngOnDestroy(): void;
|
|
61
61
|
/** Handles when a new month is selected. */
|
|
62
62
|
_monthSelected(event: MatCalendarUserEvent<number>): void;
|
|
63
|
+
/**
|
|
64
|
+
* Takes the index of a calendar body cell wrapped in in an event as argument. For the date that
|
|
65
|
+
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
66
|
+
* that date.
|
|
67
|
+
*
|
|
68
|
+
* This fucntion is used to match each component's model of the active date with the calendar
|
|
69
|
+
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
70
|
+
* parent's value asynchonously via the `activeDateChange` event. The child component receives an
|
|
71
|
+
* updated value asynchronously via the `activeCell` Input.
|
|
72
|
+
*/
|
|
73
|
+
_updateActiveDate(event: MatCalendarUserEvent<number>): void;
|
|
63
74
|
/** Handles keydown events on the calendar body when calendar is in year view. */
|
|
64
75
|
_handleCalendarBodyKeydown(event: KeyboardEvent): void;
|
|
65
76
|
/** Handles keyup events on the calendar body when calendar is in year view. */
|
|
@@ -68,11 +79,18 @@ export declare class MatYearView<D> implements AfterContentInit, OnDestroy {
|
|
|
68
79
|
_init(): void;
|
|
69
80
|
/** Focuses the active cell after the microtask queue is empty. */
|
|
70
81
|
_focusActiveCell(): void;
|
|
82
|
+
/** Schedules the matCalendarBody to focus the active cell after change detection has run */
|
|
83
|
+
_focusActiveCellAfterViewChecked(): void;
|
|
71
84
|
/**
|
|
72
85
|
* Gets the month in this year that the given Date falls on.
|
|
73
86
|
* Returns null if the given Date is in another year.
|
|
74
87
|
*/
|
|
75
88
|
private _getMonthInCurrentYear;
|
|
89
|
+
/**
|
|
90
|
+
* Takes a month and returns a new date in the same day and year as the currently active date.
|
|
91
|
+
* The returned date will have the same month as the argument date.
|
|
92
|
+
*/
|
|
93
|
+
private _getDateFromMonth;
|
|
76
94
|
/** Creates an MatCalendarCell for the given month. */
|
|
77
95
|
private _createCellForMonth;
|
|
78
96
|
/** Whether the given month is enabled. */
|
|
@@ -67,6 +67,10 @@ export declare class MatDialogContent {
|
|
|
67
67
|
* Stays fixed to the bottom when scrolling.
|
|
68
68
|
*/
|
|
69
69
|
export declare class MatDialogActions {
|
|
70
|
+
/**
|
|
71
|
+
* Horizontal alignment of action buttons.
|
|
72
|
+
*/
|
|
73
|
+
align?: 'start' | 'center' | 'end';
|
|
70
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogActions, never>;
|
|
71
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogActions, "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", never, {}, {}, never>;
|
|
75
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogActions, "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", never, { "align": "align"; }, {}, never>;
|
|
72
76
|
}
|
|
@@ -16,17 +16,17 @@ import { MatAutocompleteOrigin } from './autocomplete-origin';
|
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export class MatAutocompleteModule {
|
|
18
18
|
}
|
|
19
|
-
MatAutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
MatAutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
19
|
+
MatAutocompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.4", ngImport: i0, type: MatAutocompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
+
MatAutocompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.4", ngImport: i0, type: MatAutocompleteModule, declarations: [MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteOrigin], imports: [OverlayModule, MatOptionModule, MatCommonModule, CommonModule], exports: [MatAutocomplete,
|
|
21
21
|
MatAutocompleteTrigger,
|
|
22
22
|
MatAutocompleteOrigin,
|
|
23
23
|
CdkScrollableModule,
|
|
24
24
|
MatOptionModule,
|
|
25
25
|
MatCommonModule] });
|
|
26
|
-
MatAutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
26
|
+
MatAutocompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.4", ngImport: i0, type: MatAutocompleteModule, providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [[OverlayModule, MatOptionModule, MatCommonModule, CommonModule], CdkScrollableModule,
|
|
27
27
|
MatOptionModule,
|
|
28
28
|
MatCommonModule] });
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.4", ngImport: i0, type: MatAutocompleteModule, decorators: [{
|
|
30
30
|
type: NgModule,
|
|
31
31
|
args: [{
|
|
32
32
|
imports: [OverlayModule, MatOptionModule, MatCommonModule, CommonModule],
|
|
@@ -42,4 +42,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
42
42
|
providers: [MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER],
|
|
43
43
|
}]
|
|
44
44
|
}] });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBs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ementRef = elementRef;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
_MatAutocompleteOriginBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
_MatAutocompleteOriginBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
_MatAutocompleteOriginBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.4", ngImport: i0, type: _MatAutocompleteOriginBase, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
_MatAutocompleteOriginBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.4", type: _MatAutocompleteOriginBase, ngImport: i0 });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.4", ngImport: i0, type: _MatAutocompleteOriginBase, decorators: [{
|
|
21
21
|
type: Directive
|
|
22
22
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
23
23
|
/**
|
|
@@ -26,13 +26,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
|
|
|
26
26
|
*/
|
|
27
27
|
export class MatAutocompleteOrigin extends _MatAutocompleteOriginBase {
|
|
28
28
|
}
|
|
29
|
-
MatAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
MatAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
MatAutocompleteOrigin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.4", ngImport: i0, type: MatAutocompleteOrigin, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
30
|
+
MatAutocompleteOrigin.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.4", type: MatAutocompleteOrigin, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], usesInheritance: true, ngImport: i0 });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.4", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
|
|
32
32
|
type: Directive,
|
|
33
33
|
args: [{
|
|
34
34
|
selector: '[matAutocompleteOrigin]',
|
|
35
35
|
exportAs: 'matAutocompleteOrigin',
|
|
36
36
|
}]
|
|
37
37
|
}] });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLW9yaWdpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tYXRlcmlhbC9hdXRvY29tcGxldGUvYXV0b2NvbXBsZXRlLW9yaWdpbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsU0FBUyxFQUFFLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFFcEQsa0ZBQWtGO0FBRWxGLE1BQU0sT0FBZ0IsMEJBQTBCO0lBQzlDO0lBQ0Usa0VBQWtFO0lBQzNELFVBQW1DO1FBQW5DLGVBQVUsR0FBVixVQUFVLENBQXlCO0lBQ3pDLENBQUM7OzhIQUpnQiwwQkFBMEI7a0hBQTFCLDBCQUEwQjtrR0FBMUIsMEJBQTBCO2tCQUQvQyxTQUFTOztBQVFWOzs7R0FHRztBQUtILE1BQU0sT0FBTyxxQkFBc0IsU0FBUSwwQkFBMEI7O3lIQUF4RCxxQkFB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