@angular/material-experimental 14.0.0-next.9 → 14.0.0-rc.2
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/column-resize/index.d.ts +238 -6
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-module.mjs +13 -13
- package/esm2020/column-resize/overlay-handle.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
- package/esm2020/column-resize/resize-strategy.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete.mjs +4 -4
- package/esm2020/mdc-autocomplete/module.mjs +5 -5
- package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +4 -4
- package/esm2020/mdc-button/button-base.mjs +7 -7
- package/esm2020/mdc-button/button.mjs +9 -9
- package/esm2020/mdc-button/fab.mjs +17 -17
- package/esm2020/mdc-button/icon-button.mjs +9 -9
- package/esm2020/mdc-button/module.mjs +5 -5
- package/esm2020/mdc-button/testing/button-harness.mjs +3 -3
- package/esm2020/mdc-card/card.mjs +44 -44
- package/esm2020/mdc-card/module.mjs +5 -5
- package/esm2020/mdc-card/testing/card-harness.mjs +4 -5
- package/esm2020/mdc-checkbox/checkbox.mjs +29 -283
- package/esm2020/mdc-checkbox/module.mjs +5 -5
- package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +2 -2
- package/esm2020/mdc-chips/chip-action.mjs +43 -76
- package/esm2020/mdc-chips/chip-edit-input.mjs +4 -4
- package/esm2020/mdc-chips/chip-grid.mjs +59 -70
- package/esm2020/mdc-chips/chip-icons.mjs +27 -41
- package/esm2020/mdc-chips/chip-input.mjs +5 -8
- package/esm2020/mdc-chips/chip-listbox.mjs +24 -66
- package/esm2020/mdc-chips/chip-option.mjs +41 -86
- package/esm2020/mdc-chips/chip-row.mjs +51 -75
- package/esm2020/mdc-chips/chip-set.mjs +117 -118
- package/esm2020/mdc-chips/chip.mjs +79 -164
- package/esm2020/mdc-chips/module.mjs +7 -7
- package/esm2020/mdc-chips/public-api.mjs +2 -2
- package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +5 -5
- package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +5 -3
- package/esm2020/mdc-chips/testing/chip-harness.mjs +5 -5
- package/esm2020/mdc-chips/testing/chip-input-harness.mjs +5 -5
- package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +5 -3
- package/esm2020/mdc-chips/testing/chip-option-harness.mjs +3 -3
- package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +5 -5
- package/esm2020/mdc-chips/testing/chip-row-harness.mjs +1 -10
- package/esm2020/mdc-chips/testing/chip-set-harness.mjs +5 -3
- package/esm2020/mdc-chips/tokens.mjs +33 -0
- package/esm2020/mdc-core/option/index.mjs +5 -5
- package/esm2020/mdc-core/option/optgroup.mjs +4 -4
- package/esm2020/mdc-core/option/option.mjs +5 -5
- package/esm2020/mdc-core/testing/optgroup-harness.mjs +5 -5
- package/esm2020/mdc-core/testing/option-harness.mjs +4 -5
- package/esm2020/mdc-dialog/dialog-container.mjs +19 -18
- package/esm2020/mdc-dialog/dialog-content-directives.mjs +13 -13
- package/esm2020/mdc-dialog/dialog-ref.mjs +1 -6
- package/esm2020/mdc-dialog/dialog.mjs +12 -7
- package/esm2020/mdc-dialog/module.mjs +8 -7
- package/esm2020/mdc-dialog/public-api.mjs +2 -2
- package/esm2020/mdc-dialog/testing/dialog-harness.mjs +6 -7
- package/esm2020/mdc-form-field/directives/error.mjs +4 -4
- package/esm2020/mdc-form-field/directives/floating-label.mjs +26 -6
- package/esm2020/mdc-form-field/directives/hint.mjs +4 -4
- package/esm2020/mdc-form-field/directives/label.mjs +4 -4
- package/esm2020/mdc-form-field/directives/line-ripple.mjs +32 -11
- package/esm2020/mdc-form-field/directives/notched-outline.mjs +25 -46
- package/esm2020/mdc-form-field/directives/prefix.mjs +4 -4
- package/esm2020/mdc-form-field/directives/suffix.mjs +4 -4
- package/esm2020/mdc-form-field/form-field.mjs +17 -101
- package/esm2020/mdc-form-field/module.mjs +5 -5
- package/esm2020/mdc-form-field/testing/form-field-harness.mjs +4 -4
- package/esm2020/mdc-input/input.mjs +4 -4
- package/esm2020/mdc-input/module.mjs +5 -5
- package/esm2020/mdc-list/action-list.mjs +5 -5
- package/esm2020/mdc-list/list-base.mjs +7 -15
- package/esm2020/mdc-list/list-item-sections.mjs +19 -19
- package/esm2020/mdc-list/list-option.mjs +42 -24
- package/esm2020/mdc-list/list.mjs +8 -8
- package/esm2020/mdc-list/module.mjs +9 -11
- package/esm2020/mdc-list/nav-list.mjs +5 -5
- package/esm2020/mdc-list/selection-list.mjs +124 -124
- package/esm2020/mdc-list/subheader.mjs +4 -4
- package/esm2020/mdc-list/testing/action-list-harness.mjs +7 -7
- package/esm2020/mdc-list/testing/list-harness.mjs +5 -7
- package/esm2020/mdc-list/testing/list-item-harness-base.mjs +6 -6
- package/esm2020/mdc-list/testing/nav-list-harness.mjs +7 -7
- package/esm2020/mdc-list/testing/selection-list-harness.mjs +7 -7
- package/esm2020/mdc-menu/directives.mjs +7 -7
- package/esm2020/mdc-menu/menu-item.mjs +6 -6
- package/esm2020/mdc-menu/menu.mjs +5 -5
- package/esm2020/mdc-menu/module.mjs +5 -5
- package/esm2020/mdc-menu/testing/menu-harness.mjs +5 -7
- package/esm2020/mdc-paginator/module.mjs +5 -5
- package/esm2020/mdc-paginator/paginator.mjs +9 -9
- package/esm2020/mdc-paginator/testing/paginator-harness.mjs +3 -4
- package/esm2020/mdc-progress-bar/module.mjs +5 -5
- package/esm2020/mdc-progress-bar/progress-bar.mjs +8 -5
- package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +5 -3
- package/esm2020/mdc-progress-spinner/module.mjs +5 -5
- package/esm2020/mdc-progress-spinner/progress-spinner.mjs +14 -61
- package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +5 -5
- package/esm2020/mdc-radio/module.mjs +5 -5
- package/esm2020/mdc-radio/radio.mjs +9 -43
- package/esm2020/mdc-radio/testing/radio-harness.mjs +7 -7
- package/esm2020/mdc-select/module.mjs +5 -5
- package/esm2020/mdc-select/select.mjs +11 -12
- package/esm2020/mdc-select/testing/select-harness.mjs +3 -4
- package/esm2020/mdc-slide-toggle/module.mjs +5 -5
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +16 -178
- package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +4 -3
- package/esm2020/mdc-slider/global-change-and-input-listener.mjs +4 -4
- package/esm2020/mdc-slider/module.mjs +5 -5
- package/esm2020/mdc-slider/slider.mjs +14 -14
- package/esm2020/mdc-slider/testing/slider-harness.mjs +6 -7
- package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +5 -6
- package/esm2020/mdc-snack-bar/module.mjs +5 -5
- package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +7 -7
- package/esm2020/mdc-snack-bar/snack-bar-container.mjs +51 -32
- package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
- package/esm2020/mdc-snack-bar/snack-bar.mjs +4 -4
- package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +3 -4
- package/esm2020/mdc-table/cell.mjs +22 -22
- package/esm2020/mdc-table/module.mjs +5 -5
- package/esm2020/mdc-table/row.mjs +22 -22
- package/esm2020/mdc-table/table.mjs +9 -9
- package/esm2020/mdc-table/testing/cell-harness.mjs +8 -8
- package/esm2020/mdc-table/testing/row-harness.mjs +8 -8
- package/esm2020/mdc-table/testing/table-harness.mjs +2 -2
- package/esm2020/mdc-table/text-column.mjs +5 -5
- package/esm2020/mdc-tabs/ink-bar.mjs +93 -114
- package/esm2020/mdc-tabs/module.mjs +10 -12
- package/esm2020/mdc-tabs/tab-body.mjs +7 -7
- package/esm2020/mdc-tabs/tab-content.mjs +4 -4
- package/esm2020/mdc-tabs/tab-group.mjs +13 -13
- package/esm2020/mdc-tabs/tab-header.mjs +5 -5
- package/esm2020/mdc-tabs/tab-label-wrapper.mjs +10 -34
- package/esm2020/mdc-tabs/tab-label.mjs +4 -4
- package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +17 -26
- package/esm2020/mdc-tabs/tab.mjs +4 -4
- package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +4 -5
- package/esm2020/mdc-tabs/testing/tab-harness.mjs +3 -4
- package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +4 -5
- package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +5 -5
- package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +5 -5
- package/esm2020/mdc-tooltip/module.mjs +5 -5
- package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +4 -4
- package/esm2020/mdc-tooltip/tooltip.mjs +8 -8
- package/esm2020/menubar/menubar-item.mjs +8 -8
- package/esm2020/menubar/menubar-module.mjs +6 -6
- package/esm2020/menubar/menubar.mjs +6 -6
- package/esm2020/popover-edit/lens-directives.mjs +10 -10
- package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
- package/esm2020/popover-edit/table-directives.mjs +13 -13
- package/esm2020/selection/row-selection.mjs +4 -4
- package/esm2020/selection/select-all.mjs +4 -4
- package/esm2020/selection/selection-column.mjs +7 -7
- package/esm2020/selection/selection-module.mjs +5 -5
- package/esm2020/selection/selection-toggle.mjs +4 -4
- package/esm2020/selection/selection.mjs +4 -4
- package/esm2020/version.mjs +1 -1
- package/fesm2015/column-resize.mjs +36 -36
- package/fesm2015/column-resize.mjs.map +1 -1
- package/fesm2015/material-experimental.mjs +1 -1
- package/fesm2015/material-experimental.mjs.map +1 -1
- package/fesm2015/mdc-autocomplete/testing.mjs +3 -3
- package/fesm2015/mdc-autocomplete/testing.mjs.map +1 -1
- package/fesm2015/mdc-autocomplete.mjs +13 -13
- package/fesm2015/mdc-autocomplete.mjs.map +1 -1
- package/fesm2015/mdc-button/testing.mjs +1 -1
- package/fesm2015/mdc-button/testing.mjs.map +1 -1
- package/fesm2015/mdc-button.mjs +42 -42
- package/fesm2015/mdc-button.mjs.map +1 -1
- package/fesm2015/mdc-card/testing.mjs +2 -3
- package/fesm2015/mdc-card/testing.mjs.map +1 -1
- package/fesm2015/mdc-card.mjs +47 -47
- package/fesm2015/mdc-card.mjs.map +1 -1
- package/fesm2015/mdc-checkbox/testing.mjs +1 -1
- package/fesm2015/mdc-checkbox/testing.mjs.map +1 -1
- package/fesm2015/mdc-checkbox.mjs +34 -287
- package/fesm2015/mdc-checkbox.mjs.map +1 -1
- package/fesm2015/mdc-chips/testing.mjs +23 -25
- package/fesm2015/mdc-chips/testing.mjs.map +1 -1
- package/fesm2015/mdc-chips.mjs +528 -783
- package/fesm2015/mdc-chips.mjs.map +1 -1
- package/fesm2015/mdc-core/testing.mjs +5 -6
- package/fesm2015/mdc-core/testing.mjs.map +1 -1
- package/fesm2015/mdc-core.mjs +11 -11
- package/fesm2015/mdc-core.mjs.map +1 -1
- package/fesm2015/mdc-dialog/testing.mjs +5 -6
- package/fesm2015/mdc-dialog/testing.mjs.map +1 -1
- package/fesm2015/mdc-dialog.mjs +47 -46
- package/fesm2015/mdc-dialog.mjs.map +1 -1
- package/fesm2015/mdc-form-field/testing.mjs +3 -3
- package/fesm2015/mdc-form-field/testing.mjs.map +1 -1
- package/fesm2015/mdc-form-field.mjs +120 -175
- package/fesm2015/mdc-form-field.mjs.map +1 -1
- package/fesm2015/mdc-input.mjs +7 -7
- package/fesm2015/mdc-input.mjs.map +1 -1
- package/fesm2015/mdc-list/testing.mjs +27 -29
- package/fesm2015/mdc-list/testing.mjs.map +1 -1
- package/fesm2015/mdc-list.mjs +215 -403
- package/fesm2015/mdc-list.mjs.map +1 -1
- package/fesm2015/mdc-menu/testing.mjs +4 -6
- package/fesm2015/mdc-menu/testing.mjs.map +1 -1
- package/fesm2015/mdc-menu.mjs +18 -18
- package/fesm2015/mdc-menu.mjs.map +1 -1
- package/fesm2015/mdc-paginator/testing.mjs +2 -3
- package/fesm2015/mdc-paginator/testing.mjs.map +1 -1
- package/fesm2015/mdc-paginator.mjs +12 -12
- package/fesm2015/mdc-paginator.mjs.map +1 -1
- package/fesm2015/mdc-progress-bar/testing.mjs +3 -1
- package/fesm2015/mdc-progress-bar/testing.mjs.map +1 -1
- package/fesm2015/mdc-progress-bar.mjs +11 -8
- package/fesm2015/mdc-progress-bar.mjs.map +1 -1
- package/fesm2015/mdc-progress-spinner/testing.mjs +3 -3
- package/fesm2015/mdc-progress-spinner/testing.mjs.map +1 -1
- package/fesm2015/mdc-progress-spinner.mjs +17 -64
- package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2015/mdc-radio/testing.mjs +6 -6
- package/fesm2015/mdc-radio/testing.mjs.map +1 -1
- package/fesm2015/mdc-radio.mjs +13 -47
- package/fesm2015/mdc-radio.mjs.map +1 -1
- package/fesm2015/mdc-select/testing.mjs +2 -3
- package/fesm2015/mdc-select/testing.mjs.map +1 -1
- package/fesm2015/mdc-select.mjs +14 -15
- package/fesm2015/mdc-select.mjs.map +1 -1
- package/fesm2015/mdc-slide-toggle/testing.mjs +3 -2
- package/fesm2015/mdc-slide-toggle/testing.mjs.map +1 -1
- package/fesm2015/mdc-slide-toggle.mjs +20 -184
- package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2015/mdc-slider/testing.mjs +7 -9
- package/fesm2015/mdc-slider/testing.mjs.map +1 -1
- package/fesm2015/mdc-slider.mjs +20 -20
- package/fesm2015/mdc-slider.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar/testing.mjs +2 -3
- package/fesm2015/mdc-snack-bar/testing.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar.mjs +75 -56
- package/fesm2015/mdc-snack-bar.mjs.map +1 -1
- package/fesm2015/mdc-table/testing.mjs +15 -15
- package/fesm2015/mdc-table/testing.mjs.map +1 -1
- package/fesm2015/mdc-table.mjs +58 -58
- package/fesm2015/mdc-table.mjs.map +1 -1
- package/fesm2015/mdc-tabs/testing.mjs +12 -15
- package/fesm2015/mdc-tabs/testing.mjs.map +1 -1
- package/fesm2015/mdc-tabs.mjs +151 -205
- package/fesm2015/mdc-tabs.mjs.map +1 -1
- package/fesm2015/mdc-tooltip/testing.mjs +3 -3
- package/fesm2015/mdc-tooltip/testing.mjs.map +1 -1
- package/fesm2015/mdc-tooltip.mjs +11 -11
- package/fesm2015/mdc-tooltip.mjs.map +1 -1
- package/fesm2015/menubar.mjs +15 -15
- package/fesm2015/menubar.mjs.map +1 -1
- package/fesm2015/popover-edit.mjs +25 -25
- package/fesm2015/popover-edit.mjs.map +1 -1
- package/fesm2015/selection.mjs +23 -23
- package/fesm2015/selection.mjs.map +1 -1
- package/fesm2020/column-resize.mjs +36 -36
- package/fesm2020/column-resize.mjs.map +1 -1
- package/fesm2020/material-experimental.mjs +1 -1
- package/fesm2020/material-experimental.mjs.map +1 -1
- package/fesm2020/mdc-autocomplete/testing.mjs +3 -3
- package/fesm2020/mdc-autocomplete/testing.mjs.map +1 -1
- package/fesm2020/mdc-autocomplete.mjs +13 -13
- package/fesm2020/mdc-autocomplete.mjs.map +1 -1
- package/fesm2020/mdc-button/testing.mjs +1 -1
- package/fesm2020/mdc-button/testing.mjs.map +1 -1
- package/fesm2020/mdc-button.mjs +42 -42
- package/fesm2020/mdc-button.mjs.map +1 -1
- package/fesm2020/mdc-card/testing.mjs +2 -3
- package/fesm2020/mdc-card/testing.mjs.map +1 -1
- package/fesm2020/mdc-card.mjs +47 -47
- package/fesm2020/mdc-card.mjs.map +1 -1
- package/fesm2020/mdc-checkbox/testing.mjs +1 -1
- package/fesm2020/mdc-checkbox/testing.mjs.map +1 -1
- package/fesm2020/mdc-checkbox.mjs +34 -287
- package/fesm2020/mdc-checkbox.mjs.map +1 -1
- package/fesm2020/mdc-chips/testing.mjs +23 -25
- package/fesm2020/mdc-chips/testing.mjs.map +1 -1
- package/fesm2020/mdc-chips.mjs +441 -699
- package/fesm2020/mdc-chips.mjs.map +1 -1
- package/fesm2020/mdc-core/testing.mjs +5 -6
- package/fesm2020/mdc-core/testing.mjs.map +1 -1
- package/fesm2020/mdc-core.mjs +11 -11
- package/fesm2020/mdc-core.mjs.map +1 -1
- package/fesm2020/mdc-dialog/testing.mjs +5 -6
- package/fesm2020/mdc-dialog/testing.mjs.map +1 -1
- package/fesm2020/mdc-dialog.mjs +47 -46
- package/fesm2020/mdc-dialog.mjs.map +1 -1
- package/fesm2020/mdc-form-field/testing.mjs +3 -3
- package/fesm2020/mdc-form-field/testing.mjs.map +1 -1
- package/fesm2020/mdc-form-field.mjs +112 -174
- package/fesm2020/mdc-form-field.mjs.map +1 -1
- package/fesm2020/mdc-input.mjs +7 -7
- package/fesm2020/mdc-input.mjs.map +1 -1
- package/fesm2020/mdc-list/testing.mjs +27 -29
- package/fesm2020/mdc-list/testing.mjs.map +1 -1
- package/fesm2020/mdc-list.mjs +214 -392
- package/fesm2020/mdc-list.mjs.map +1 -1
- package/fesm2020/mdc-menu/testing.mjs +4 -6
- package/fesm2020/mdc-menu/testing.mjs.map +1 -1
- package/fesm2020/mdc-menu.mjs +18 -18
- package/fesm2020/mdc-menu.mjs.map +1 -1
- package/fesm2020/mdc-paginator/testing.mjs +2 -3
- package/fesm2020/mdc-paginator/testing.mjs.map +1 -1
- package/fesm2020/mdc-paginator.mjs +12 -12
- package/fesm2020/mdc-paginator.mjs.map +1 -1
- package/fesm2020/mdc-progress-bar/testing.mjs +3 -1
- package/fesm2020/mdc-progress-bar/testing.mjs.map +1 -1
- package/fesm2020/mdc-progress-bar.mjs +11 -8
- package/fesm2020/mdc-progress-bar.mjs.map +1 -1
- package/fesm2020/mdc-progress-spinner/testing.mjs +3 -3
- package/fesm2020/mdc-progress-spinner/testing.mjs.map +1 -1
- package/fesm2020/mdc-progress-spinner.mjs +17 -64
- package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2020/mdc-radio/testing.mjs +6 -6
- package/fesm2020/mdc-radio/testing.mjs.map +1 -1
- package/fesm2020/mdc-radio.mjs +13 -47
- package/fesm2020/mdc-radio.mjs.map +1 -1
- package/fesm2020/mdc-select/testing.mjs +2 -3
- package/fesm2020/mdc-select/testing.mjs.map +1 -1
- package/fesm2020/mdc-select.mjs +14 -15
- package/fesm2020/mdc-select.mjs.map +1 -1
- package/fesm2020/mdc-slide-toggle/testing.mjs +3 -2
- package/fesm2020/mdc-slide-toggle/testing.mjs.map +1 -1
- package/fesm2020/mdc-slide-toggle.mjs +20 -183
- package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2020/mdc-slider/testing.mjs +7 -9
- package/fesm2020/mdc-slider/testing.mjs.map +1 -1
- package/fesm2020/mdc-slider.mjs +20 -20
- package/fesm2020/mdc-slider.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar/testing.mjs +2 -3
- package/fesm2020/mdc-snack-bar/testing.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar.mjs +75 -56
- package/fesm2020/mdc-snack-bar.mjs.map +1 -1
- package/fesm2020/mdc-table/testing.mjs +15 -15
- package/fesm2020/mdc-table/testing.mjs.map +1 -1
- package/fesm2020/mdc-table.mjs +58 -58
- package/fesm2020/mdc-table.mjs.map +1 -1
- package/fesm2020/mdc-tabs/testing.mjs +12 -15
- package/fesm2020/mdc-tabs/testing.mjs.map +1 -1
- package/fesm2020/mdc-tabs.mjs +149 -203
- package/fesm2020/mdc-tabs.mjs.map +1 -1
- package/fesm2020/mdc-tooltip/testing.mjs +3 -3
- package/fesm2020/mdc-tooltip/testing.mjs.map +1 -1
- package/fesm2020/mdc-tooltip.mjs +11 -11
- package/fesm2020/mdc-tooltip.mjs.map +1 -1
- package/fesm2020/menubar.mjs +15 -15
- package/fesm2020/menubar.mjs.map +1 -1
- package/fesm2020/popover-edit.mjs +25 -25
- package/fesm2020/popover-edit.mjs.map +1 -1
- package/fesm2020/selection.mjs +23 -23
- package/fesm2020/selection.mjs.map +1 -1
- package/index.d.ts +6 -8
- package/mdc-autocomplete/index.d.ts +95 -6
- package/mdc-autocomplete/testing/index.d.ts +32 -8
- package/mdc-button/index.d.ts +217 -5
- package/mdc-button/testing/index.d.ts +41 -8
- package/mdc-card/index.d.ts +191 -5
- package/mdc-card/testing/index.d.ts +44 -8
- package/mdc-checkbox/_checkbox-private.scss +10 -3
- package/mdc-checkbox/_checkbox-theme.scss +3 -3
- package/mdc-checkbox/index.d.ts +79 -8
- package/mdc-checkbox/testing/index.d.ts +28 -8
- package/mdc-chips/index.d.ts +970 -5
- package/mdc-chips/testing/index.d.ts +232 -8
- package/mdc-core/index.d.ts +204 -6
- package/mdc-core/testing/index.d.ts +64 -8
- package/mdc-dialog/index.d.ts +215 -6
- package/mdc-dialog/testing/index.d.ts +47 -8
- package/mdc-form-field/index.d.ts +428 -5
- package/mdc-form-field/testing/index.d.ts +48 -8
- package/mdc-input/index.d.ts +30 -8
- package/mdc-input/testing/index.d.ts +20 -8
- package/mdc-list/_list-option-theme.scss +2 -2
- package/mdc-list/_list-theme.scss +3 -6
- package/mdc-list/index.d.ts +531 -5
- package/mdc-list/testing/index.d.ts +367 -6
- package/mdc-menu/index.d.ts +108 -6
- package/mdc-menu/testing/index.d.ts +38 -8
- package/mdc-paginator/index.d.ts +70 -6
- package/mdc-paginator/testing/index.d.ts +30 -8
- package/mdc-progress-bar/index.d.ts +101 -8
- package/mdc-progress-bar/testing/index.d.ts +24 -8
- package/mdc-progress-spinner/index.d.ts +87 -5
- package/mdc-progress-spinner/testing/index.d.ts +26 -8
- package/mdc-radio/_radio-theme.scss +8 -2
- package/mdc-radio/index.d.ts +70 -6
- package/mdc-radio/testing/index.d.ts +43 -8
- package/mdc-select/index.d.ts +108 -5
- package/mdc-select/testing/index.d.ts +28 -8
- package/mdc-slide-toggle/index.d.ts +83 -8
- package/mdc-slide-toggle/testing/index.d.ts +27 -8
- package/mdc-slider/index.d.ts +426 -5
- package/mdc-slider/testing/index.d.ts +92 -8
- package/mdc-snack-bar/index.d.ts +198 -6
- package/mdc-snack-bar/testing/index.d.ts +23 -8
- package/mdc-table/index.d.ts +235 -5
- package/mdc-table/testing/index.d.ts +118 -8
- package/mdc-tabs/index.d.ts +305 -6
- package/mdc-tabs/testing/index.d.ts +151 -8
- package/mdc-theming/prebuilt/deeppurple-amber.css +1 -1
- package/mdc-theming/prebuilt/indigo-pink.css +1 -1
- package/mdc-theming/prebuilt/pink-bluegrey.css +1 -1
- package/mdc-theming/prebuilt/purple-green.css +1 -1
- package/mdc-tooltip/index.d.ts +115 -5
- package/mdc-tooltip/testing/index.d.ts +26 -8
- package/menubar/index.d.ts +42 -6
- package/package.json +79 -79
- package/popover-edit/index.d.ts +99 -6
- package/selection/index.d.ts +137 -5
- package/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -25
- package/column-resize/column-resize-directives/column-resize.d.ts +0 -25
- package/column-resize/column-resize-directives/common.d.ts +0 -20
- package/column-resize/column-resize-directives/default-enabled-column-resize-flex.d.ts +0 -25
- package/column-resize/column-resize-directives/default-enabled-column-resize.d.ts +0 -25
- package/column-resize/column-resize-module.d.ts +0 -25
- package/column-resize/column-resize_public_index.d.ts +0 -4
- package/column-resize/overlay-handle.d.ts +0 -33
- package/column-resize/package.json +0 -9
- package/column-resize/public-api.d.ts +0 -16
- package/column-resize/resizable-directives/common.d.ts +0 -19
- package/column-resize/resizable-directives/default-enabled-resizable.d.ts +0 -37
- package/column-resize/resizable-directives/resizable.d.ts +0 -36
- package/column-resize/resize-strategy.d.ts +0 -22
- package/esm2020/mdc-chips/chip-default-options.mjs +0 -11
- package/esm2020/mdc-chips/emit-event.mjs +0 -27
- package/esm2020/mdc-list/interactive-list-base.mjs +0 -196
- package/mdc-autocomplete/animations.d.ts +0 -9
- package/mdc-autocomplete/autocomplete-origin.d.ts +0 -10
- package/mdc-autocomplete/autocomplete-trigger.d.ts +0 -12
- package/mdc-autocomplete/autocomplete.d.ts +0 -21
- package/mdc-autocomplete/mdc-autocomplete_public_index.d.ts +0 -4
- package/mdc-autocomplete/module.d.ts +0 -13
- package/mdc-autocomplete/package.json +0 -9
- package/mdc-autocomplete/public-api.d.ts +0 -12
- package/mdc-autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
- package/mdc-autocomplete/testing/autocomplete-harness.d.ts +0 -26
- package/mdc-autocomplete/testing/package.json +0 -9
- package/mdc-autocomplete/testing/public-api.d.ts +0 -9
- package/mdc-button/button-base.d.ts +0 -70
- package/mdc-button/button.d.ts +0 -40
- package/mdc-button/fab.d.ts +0 -80
- package/mdc-button/icon-button.d.ts +0 -33
- package/mdc-button/mdc-button_public_index.d.ts +0 -4
- package/mdc-button/module.d.ts +0 -10
- package/mdc-button/package.json +0 -9
- package/mdc-button/public-api.d.ts +0 -11
- package/mdc-button/testing/button-harness.d.ts +0 -41
- package/mdc-button/testing/package.json +0 -9
- package/mdc-button/testing/public-api.d.ts +0 -9
- package/mdc-card/card.d.ts +0 -152
- package/mdc-card/mdc-card_public_index.d.ts +0 -4
- package/mdc-card/module.d.ts +0 -9
- package/mdc-card/package.json +0 -9
- package/mdc-card/public-api.d.ts +0 -9
- package/mdc-card/testing/card-harness-filters.d.ts +0 -17
- package/mdc-card/testing/card-harness.d.ts +0 -36
- package/mdc-card/testing/package.json +0 -9
- package/mdc-card/testing/public-api.d.ts +0 -9
- package/mdc-checkbox/checkbox.d.ts +0 -155
- package/mdc-checkbox/mdc-checkbox_public_index.d.ts +0 -4
- package/mdc-checkbox/module.d.ts +0 -9
- package/mdc-checkbox/package.json +0 -9
- package/mdc-checkbox/public-api.d.ts +0 -15
- package/mdc-checkbox/testing/checkbox-harness.d.ts +0 -26
- package/mdc-checkbox/testing/package.json +0 -9
- package/mdc-checkbox/testing/public-api.d.ts +0 -9
- package/mdc-chips/chip-action.d.ts +0 -40
- package/mdc-chips/chip-default-options.d.ts +0 -15
- package/mdc-chips/chip-edit-input.d.ts +0 -25
- package/mdc-chips/chip-grid.d.ts +0 -211
- package/mdc-chips/chip-icons.d.ts +0 -73
- package/mdc-chips/chip-input.d.ts +0 -95
- package/mdc-chips/chip-listbox.d.ts +0 -152
- package/mdc-chips/chip-option.d.ts +0 -81
- package/mdc-chips/chip-row.d.ts +0 -62
- package/mdc-chips/chip-set.d.ts +0 -113
- package/mdc-chips/chip-text-control.d.ts +0 -22
- package/mdc-chips/chip.d.ts +0 -139
- package/mdc-chips/emit-event.d.ts +0 -16
- package/mdc-chips/mdc-chips_public_index.d.ts +0 -4
- package/mdc-chips/module.d.ts +0 -18
- package/mdc-chips/package.json +0 -9
- package/mdc-chips/public-api.d.ts +0 -19
- package/mdc-chips/testing/chip-avatar-harness.d.ts +0 -20
- package/mdc-chips/testing/chip-grid-harness.d.ts +0 -29
- package/mdc-chips/testing/chip-harness-filters.d.ts +0 -34
- package/mdc-chips/testing/chip-harness.d.ts +0 -36
- package/mdc-chips/testing/chip-input-harness.d.ts +0 -47
- package/mdc-chips/testing/chip-listbox-harness.d.ts +0 -38
- package/mdc-chips/testing/chip-option-harness.d.ts +0 -27
- package/mdc-chips/testing/chip-remove-harness.d.ts +0 -22
- package/mdc-chips/testing/chip-row-harness.d.ts +0 -22
- package/mdc-chips/testing/chip-set-harness.d.ts +0 -20
- package/mdc-chips/testing/package.json +0 -9
- package/mdc-chips/testing/public-api.d.ts +0 -17
- package/mdc-core/mdc-core_public_index.d.ts +0 -4
- package/mdc-core/option/index.d.ts +0 -13
- package/mdc-core/option/optgroup.d.ts +0 -9
- package/mdc-core/option/option.d.ts +0 -19
- package/mdc-core/package.json +0 -9
- package/mdc-core/public-api.d.ts +0 -9
- package/mdc-core/testing/optgroup-harness-filters.d.ts +0 -11
- package/mdc-core/testing/optgroup-harness.d.ts +0 -33
- package/mdc-core/testing/option-harness-filters.d.ts +0 -12
- package/mdc-core/testing/option-harness.d.ts +0 -35
- package/mdc-core/testing/package.json +0 -9
- package/mdc-core/testing/public-api.d.ts +0 -11
- package/mdc-dialog/dialog-container.d.ts +0 -53
- package/mdc-dialog/dialog-content-directives.d.ts +0 -64
- package/mdc-dialog/dialog-ref.d.ts +0 -16
- package/mdc-dialog/dialog.d.ts +0 -45
- package/mdc-dialog/mdc-dialog_public_index.d.ts +0 -4
- package/mdc-dialog/module.d.ts +0 -11
- package/mdc-dialog/package.json +0 -9
- package/mdc-dialog/public-api.d.ts +0 -13
- package/mdc-dialog/testing/dialog-harness.d.ts +0 -30
- package/mdc-dialog/testing/dialog-opener.d.ts +0 -18
- package/mdc-dialog/testing/package.json +0 -9
- package/mdc-dialog/testing/public-api.d.ts +0 -10
- package/mdc-form-field/directives/error.d.ts +0 -22
- package/mdc-form-field/directives/floating-label.d.ts +0 -34
- package/mdc-form-field/directives/hint.d.ts +0 -10
- package/mdc-form-field/directives/label.d.ts +0 -6
- package/mdc-form-field/directives/line-ripple.d.ts +0 -24
- package/mdc-form-field/directives/notched-outline.d.ts +0 -37
- package/mdc-form-field/directives/prefix.d.ts +0 -22
- package/mdc-form-field/directives/suffix.d.ts +0 -22
- package/mdc-form-field/form-field.d.ts +0 -212
- package/mdc-form-field/mdc-form-field_public_index.d.ts +0 -4
- package/mdc-form-field/module.d.ts +0 -18
- package/mdc-form-field/package.json +0 -9
- package/mdc-form-field/public-api.d.ts +0 -15
- package/mdc-form-field/testing/form-field-harness.d.ts +0 -41
- package/mdc-form-field/testing/package.json +0 -9
- package/mdc-form-field/testing/public-api.d.ts +0 -10
- package/mdc-input/input.d.ts +0 -6
- package/mdc-input/mdc-input_public_index.d.ts +0 -4
- package/mdc-input/module.d.ts +0 -10
- package/mdc-input/package.json +0 -9
- package/mdc-input/public-api.d.ts +0 -10
- package/mdc-input/testing/package.json +0 -9
- package/mdc-input/testing/public-api.d.ts +0 -8
- package/mdc-list/action-list.d.ts +0 -7
- package/mdc-list/interactive-list-base.d.ts +0 -41
- package/mdc-list/list-base.d.ts +0 -120
- package/mdc-list/list-item-sections.d.ts +0 -77
- package/mdc-list/list-option-types.d.ts +0 -28
- package/mdc-list/list-option.d.ts +0 -98
- package/mdc-list/list.d.ts +0 -31
- package/mdc-list/mdc-list_public_index.d.ts +0 -4
- package/mdc-list/module.d.ts +0 -17
- package/mdc-list/nav-list.d.ts +0 -7
- package/mdc-list/package.json +0 -9
- package/mdc-list/public-api.d.ts +0 -18
- package/mdc-list/selection-list.d.ts +0 -118
- package/mdc-list/subheader.d.ts +0 -9
- package/mdc-list/testing/action-list-harness.d.ts +0 -44
- package/mdc-list/testing/list-harness-base.d.ts +0 -100
- package/mdc-list/testing/list-harness-filters.d.ts +0 -40
- package/mdc-list/testing/list-harness.d.ts +0 -36
- package/mdc-list/testing/list-item-harness-base.d.ts +0 -79
- package/mdc-list/testing/nav-list-harness.d.ts +0 -46
- package/mdc-list/testing/package.json +0 -9
- package/mdc-list/testing/public-api.d.ts +0 -13
- package/mdc-list/testing/selection-list-harness.d.ts +0 -74
- package/mdc-menu/directives.d.ts +0 -12
- package/mdc-menu/mdc-menu_public_index.d.ts +0 -4
- package/mdc-menu/menu-item.d.ts +0 -9
- package/mdc-menu/menu.d.ts +0 -22
- package/mdc-menu/module.d.ts +0 -13
- package/mdc-menu/package.json +0 -9
- package/mdc-menu/public-api.d.ts +0 -12
- package/mdc-menu/testing/menu-harness.d.ts +0 -35
- package/mdc-menu/testing/package.json +0 -9
- package/mdc-menu/testing/public-api.d.ts +0 -9
- package/mdc-paginator/mdc-paginator_public_index.d.ts +0 -4
- package/mdc-paginator/module.d.ts +0 -11
- package/mdc-paginator/package.json +0 -9
- package/mdc-paginator/paginator.d.ts +0 -40
- package/mdc-paginator/public-api.d.ts +0 -10
- package/mdc-paginator/testing/package.json +0 -9
- package/mdc-paginator/testing/paginator-harness.d.ts +0 -29
- package/mdc-paginator/testing/public-api.d.ts +0 -9
- package/mdc-progress-bar/mdc-progress-bar_public_index.d.ts +0 -4
- package/mdc-progress-bar/module.d.ts +0 -8
- package/mdc-progress-bar/package.json +0 -9
- package/mdc-progress-bar/progress-bar.d.ts +0 -67
- package/mdc-progress-bar/public-api.d.ts +0 -10
- package/mdc-progress-bar/testing/package.json +0 -9
- package/mdc-progress-bar/testing/progress-bar-harness.d.ts +0 -22
- package/mdc-progress-bar/testing/public-api.d.ts +0 -9
- package/mdc-progress-bar/testing/testing_public_index.d.ts +0 -4
- package/mdc-progress-spinner/mdc-progress-spinner_public_index.d.ts +0 -4
- package/mdc-progress-spinner/module.d.ts +0 -9
- package/mdc-progress-spinner/package.json +0 -9
- package/mdc-progress-spinner/progress-spinner.d.ts +0 -77
- package/mdc-progress-spinner/public-api.d.ts +0 -10
- package/mdc-progress-spinner/testing/package.json +0 -9
- package/mdc-progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
- package/mdc-progress-spinner/testing/public-api.d.ts +0 -9
- package/mdc-progress-spinner/testing/testing_public_index.d.ts +0 -4
- package/mdc-radio/mdc-radio_public_index.d.ts +0 -4
- package/mdc-radio/module.d.ts +0 -9
- package/mdc-radio/package.json +0 -9
- package/mdc-radio/public-api.d.ts +0 -10
- package/mdc-radio/radio.d.ts +0 -53
- package/mdc-radio/testing/package.json +0 -9
- package/mdc-radio/testing/public-api.d.ts +0 -9
- package/mdc-radio/testing/radio-harness.d.ts +0 -36
- package/mdc-select/mdc-select_public_index.d.ts +0 -4
- package/mdc-select/module.d.ts +0 -12
- package/mdc-select/package.json +0 -9
- package/mdc-select/public-api.d.ts +0 -11
- package/mdc-select/select-animations.d.ts +0 -23
- package/mdc-select/select-errors.d.ts +0 -26
- package/mdc-select/select.d.ts +0 -54
- package/mdc-select/testing/package.json +0 -9
- package/mdc-select/testing/public-api.d.ts +0 -9
- package/mdc-select/testing/select-harness-filters.d.ts +0 -11
- package/mdc-select/testing/select-harness.d.ts +0 -25
- package/mdc-slide-toggle/mdc-slide-toggle_public_index.d.ts +0 -4
- package/mdc-slide-toggle/module.d.ts +0 -10
- package/mdc-slide-toggle/package.json +0 -9
- package/mdc-slide-toggle/public-api.d.ts +0 -11
- package/mdc-slide-toggle/slide-toggle-config.d.ts +0 -18
- package/mdc-slide-toggle/slide-toggle.d.ts +0 -107
- package/mdc-slide-toggle/testing/package.json +0 -9
- package/mdc-slide-toggle/testing/public-api.d.ts +0 -9
- package/mdc-slide-toggle/testing/slide-toggle-harness.d.ts +0 -25
- package/mdc-slider/global-change-and-input-listener.d.ts +0 -29
- package/mdc-slider/mdc-slider_public_index.d.ts +0 -4
- package/mdc-slider/module.d.ts +0 -9
- package/mdc-slider/package.json +0 -9
- package/mdc-slider/public-api.d.ts +0 -9
- package/mdc-slider/slider.d.ts +0 -373
- package/mdc-slider/testing/package.json +0 -9
- package/mdc-slider/testing/public-api.d.ts +0 -10
- package/mdc-slider/testing/slider-harness-filters.d.ts +0 -23
- package/mdc-slider/testing/slider-harness.d.ts +0 -35
- package/mdc-slider/testing/slider-thumb-harness.d.ts +0 -52
- package/mdc-snack-bar/mdc-snack-bar_public_index.d.ts +0 -4
- package/mdc-snack-bar/module.d.ts +0 -14
- package/mdc-snack-bar/package.json +0 -9
- package/mdc-snack-bar/public-api.d.ts +0 -13
- package/mdc-snack-bar/simple-snack-bar.d.ts +0 -19
- package/mdc-snack-bar/snack-bar-container.d.ts +0 -79
- package/mdc-snack-bar/snack-bar-content.d.ts +0 -16
- package/mdc-snack-bar/snack-bar.d.ts +0 -26
- package/mdc-snack-bar/testing/package.json +0 -9
- package/mdc-snack-bar/testing/public-api.d.ts +0 -9
- package/mdc-snack-bar/testing/snack-bar-harness.d.ts +0 -24
- package/mdc-table/cell.d.ts +0 -59
- package/mdc-table/mdc-table_public_index.d.ts +0 -4
- package/mdc-table/module.d.ts +0 -12
- package/mdc-table/package.json +0 -9
- package/mdc-table/public-api.d.ts +0 -14
- package/mdc-table/row.d.ts +0 -55
- package/mdc-table/table-data-source.d.ts +0 -23
- package/mdc-table/table.d.ts +0 -27
- package/mdc-table/testing/cell-harness.d.ts +0 -44
- package/mdc-table/testing/package.json +0 -9
- package/mdc-table/testing/public-api.d.ts +0 -11
- package/mdc-table/testing/row-harness.d.ts +0 -48
- package/mdc-table/testing/table-harness.d.ts +0 -24
- package/mdc-table/text-column.d.ts +0 -22
- package/mdc-tabs/ink-bar.d.ts +0 -72
- package/mdc-tabs/mdc-tabs_public_index.d.ts +0 -4
- package/mdc-tabs/module.d.ts +0 -19
- package/mdc-tabs/package.json +0 -9
- package/mdc-tabs/public-api.d.ts +0 -18
- package/mdc-tabs/tab-body.d.ts +0 -31
- package/mdc-tabs/tab-content.d.ts +0 -7
- package/mdc-tabs/tab-group.d.ts +0 -34
- package/mdc-tabs/tab-header.d.ts +0 -35
- package/mdc-tabs/tab-label-wrapper.d.ts +0 -28
- package/mdc-tabs/tab-label.d.ts +0 -7
- package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -68
- package/mdc-tabs/tab.d.ts +0 -22
- package/mdc-tabs/testing/package.json +0 -9
- package/mdc-tabs/testing/public-api.d.ts +0 -12
- package/mdc-tabs/testing/tab-group-harness.d.ts +0 -35
- package/mdc-tabs/testing/tab-harness-filters.d.ts +0 -29
- package/mdc-tabs/testing/tab-harness.d.ts +0 -38
- package/mdc-tabs/testing/tab-link-harness.d.ts +0 -29
- package/mdc-tabs/testing/tab-nav-bar-harness.d.ts +0 -38
- package/mdc-tabs/testing/tab-nav-panel-harness.d.ts +0 -23
- package/mdc-tooltip/mdc-tooltip_public_index.d.ts +0 -4
- package/mdc-tooltip/module.d.ts +0 -12
- package/mdc-tooltip/package.json +0 -9
- package/mdc-tooltip/public-api.d.ts +0 -11
- package/mdc-tooltip/testing/package.json +0 -9
- package/mdc-tooltip/testing/public-api.d.ts +0 -9
- package/mdc-tooltip/testing/tooltip-harness.d.ts +0 -24
- package/mdc-tooltip/tooltip-animations.d.ts +0 -15
- package/mdc-tooltip/tooltip.d.ts +0 -52
- package/menubar/menubar-item.d.ts +0 -12
- package/menubar/menubar-module.d.ts +0 -9
- package/menubar/menubar.d.ts +0 -10
- package/menubar/menubar_public_index.d.ts +0 -4
- package/menubar/package.json +0 -9
- package/menubar/public-api.d.ts +0 -10
- package/popover-edit/lens-directives.d.ts +0 -22
- package/popover-edit/package.json +0 -9
- package/popover-edit/popover-edit-module.d.ts +0 -10
- package/popover-edit/popover-edit_public_index.d.ts +0 -4
- package/popover-edit/public-api.d.ts +0 -10
- package/popover-edit/table-directives.d.ts +0 -41
- package/public-api.d.ts +0 -8
- package/selection/package.json +0 -9
- package/selection/public-api.d.ts +0 -13
- package/selection/row-selection.d.ts +0 -22
- package/selection/select-all.d.ts +0 -23
- package/selection/selection-column.d.ts +0 -34
- package/selection/selection-module.d.ts +0 -14
- package/selection/selection-toggle.d.ts +0 -25
- package/selection/selection.d.ts +0 -22
- package/selection/selection_public_index.d.ts +0 -4
- package/version.d.ts +0 -10
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { DOCUMENT } from '@angular/common';
|
|
9
|
-
import { Directive, ElementRef, Inject } from '@angular/core';
|
|
10
|
-
import { MDCListFoundation } from '@material/list';
|
|
11
|
-
import { Subscription } from 'rxjs';
|
|
12
|
-
import { startWith } from 'rxjs/operators';
|
|
13
|
-
import { MatListBase } from './list-base';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/** @docs-private */
|
|
16
|
-
export class MatInteractiveListBase extends MatListBase {
|
|
17
|
-
constructor(_element, document) {
|
|
18
|
-
super();
|
|
19
|
-
this._element = _element;
|
|
20
|
-
this._itemsArr = [];
|
|
21
|
-
this._subscriptions = new Subscription();
|
|
22
|
-
this._document = document;
|
|
23
|
-
this._isNonInteractive = false;
|
|
24
|
-
}
|
|
25
|
-
_handleKeydown(event) {
|
|
26
|
-
const index = this._indexForElement(event.target);
|
|
27
|
-
this._foundation.handleKeydown(event, this._elementAtIndex(index) === event.target, index);
|
|
28
|
-
}
|
|
29
|
-
_handleClick(event) {
|
|
30
|
-
// The `isCheckboxAlreadyUpdatedInAdapter` parameter can always be `false` as it only has an
|
|
31
|
-
// effect if the list is recognized as checkbox selection list. For such lists, we would
|
|
32
|
-
// always want to toggle the checkbox on list item click. MDC added this parameter so that
|
|
33
|
-
// they can avoid dispatching a fake `change` event when the checkbox is directly clicked
|
|
34
|
-
// for the list item. We don't need this as we do not have an underlying native checkbox
|
|
35
|
-
// that is reachable by users through interaction.
|
|
36
|
-
// https://github.com/material-components/material-components-web/blob/08ca4d0ec5f359bc3a20bd2a302fa6b733b5e135/packages/mdc-list/component.ts#L308-L310
|
|
37
|
-
this._foundation.handleClick(this._indexForElement(event.target),
|
|
38
|
-
/* isCheckboxAlreadyUpdatedInAdapter */ false, event);
|
|
39
|
-
}
|
|
40
|
-
_handleFocusin(event) {
|
|
41
|
-
const itemIndex = this._indexForElement(event.target);
|
|
42
|
-
const tabIndex = this._itemsArr[itemIndex]?._hostElement.tabIndex;
|
|
43
|
-
// If the newly focused item is not the designated item that should have received focus
|
|
44
|
-
// first through keyboard interaction, the tabindex of the previously designated list item
|
|
45
|
-
// needs to be cleared, so that only one list item is reachable through tab key at any time.
|
|
46
|
-
// MDC sets a tabindex for the newly focused item, so we do not need to set a tabindex for it.
|
|
47
|
-
// Workaround for: https://github.com/material-components/material-components-web/issues/6363.
|
|
48
|
-
if (tabIndex === undefined || tabIndex === -1) {
|
|
49
|
-
this._clearTabindexForAllItems();
|
|
50
|
-
}
|
|
51
|
-
this._foundation.handleFocusIn(itemIndex);
|
|
52
|
-
}
|
|
53
|
-
_handleFocusout(event) {
|
|
54
|
-
this._foundation.handleFocusOut(this._indexForElement(event.target));
|
|
55
|
-
}
|
|
56
|
-
_initWithAdapter(adapter) {
|
|
57
|
-
this._adapter = adapter;
|
|
58
|
-
this._foundation = new MDCListFoundation(adapter);
|
|
59
|
-
}
|
|
60
|
-
ngAfterViewInit() {
|
|
61
|
-
if ((typeof ngDevMode === 'undefined' || ngDevMode) && !this._foundation) {
|
|
62
|
-
throw Error('MDC list foundation not initialized for Angular Material list.');
|
|
63
|
-
}
|
|
64
|
-
this._foundation.init();
|
|
65
|
-
this._watchListItems();
|
|
66
|
-
// Enable typeahead and focus wrapping for interactive lists.
|
|
67
|
-
this._foundation.setHasTypeahead(true);
|
|
68
|
-
this._foundation.setWrapFocus(true);
|
|
69
|
-
}
|
|
70
|
-
ngOnDestroy() {
|
|
71
|
-
this._foundation.destroy();
|
|
72
|
-
this._subscriptions.unsubscribe();
|
|
73
|
-
}
|
|
74
|
-
_watchListItems() {
|
|
75
|
-
this._subscriptions.add(this._items.changes.pipe(startWith(null)).subscribe(() => {
|
|
76
|
-
this._itemsArr = this._items.toArray();
|
|
77
|
-
// Whenever the items change, the foundation needs to be notified through the `layout`
|
|
78
|
-
// method. It caches items for the typeahead and detects the list type based on the items.
|
|
79
|
-
this._foundation.layout();
|
|
80
|
-
// The list items changed, so we reset the tabindex for all items and
|
|
81
|
-
// designate one list item that will be reachable through tab.
|
|
82
|
-
this._resetTabindexToFirstSelectedOrFocusedItem();
|
|
83
|
-
}));
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Clears the tabindex of all items so that no items are reachable through tab key.
|
|
87
|
-
* MDC intends to always have only one tabbable item that will receive focus first.
|
|
88
|
-
* This first item is selected by MDC automatically on blur or by manually invoking
|
|
89
|
-
* the `setTabindexToFirstSelectedOrFocusedItem` method.
|
|
90
|
-
*/
|
|
91
|
-
_clearTabindexForAllItems() {
|
|
92
|
-
for (let items of this._itemsArr) {
|
|
93
|
-
items._hostElement.setAttribute('tabindex', '-1');
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Resets tabindex for all options and sets tabindex for the first selected option or
|
|
98
|
-
* previously focused item so that an item can be reached when users tab into the list.
|
|
99
|
-
*/
|
|
100
|
-
_resetTabindexToFirstSelectedOrFocusedItem() {
|
|
101
|
-
this._clearTabindexForAllItems();
|
|
102
|
-
// MDC does not expose the method for setting the tabindex to the first selected
|
|
103
|
-
// or previously focused item. We can still access the method as private class
|
|
104
|
-
// members are accessible in the transpiled JavaScript. Tracked upstream with:
|
|
105
|
-
// TODO: https://github.com/material-components/material-components-web/issues/6375
|
|
106
|
-
this._foundation.setTabindexToFirstSelectedOrFocusedItem();
|
|
107
|
-
}
|
|
108
|
-
_elementAtIndex(index) {
|
|
109
|
-
return this._itemsArr[index]?._hostElement;
|
|
110
|
-
}
|
|
111
|
-
_indexForElement(element) {
|
|
112
|
-
return element ? this._itemsArr.findIndex(i => i._hostElement.contains(element)) : -1;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
MatInteractiveListBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatInteractiveListBase, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
116
|
-
MatInteractiveListBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: MatInteractiveListBase, host: { listeners: { "keydown": "_handleKeydown($event)", "click": "_handleClick($event)", "focusin": "_handleFocusin($event)", "focusout": "_handleFocusout($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: MatInteractiveListBase, decorators: [{
|
|
118
|
-
type: Directive,
|
|
119
|
-
args: [{
|
|
120
|
-
host: {
|
|
121
|
-
'(keydown)': '_handleKeydown($event)',
|
|
122
|
-
'(click)': '_handleClick($event)',
|
|
123
|
-
'(focusin)': '_handleFocusin($event)',
|
|
124
|
-
'(focusout)': '_handleFocusout($event)',
|
|
125
|
-
},
|
|
126
|
-
}]
|
|
127
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
128
|
-
type: Inject,
|
|
129
|
-
args: [DOCUMENT]
|
|
130
|
-
}] }]; } });
|
|
131
|
-
// TODO: replace with class once material-components-web/pull/6256 is available.
|
|
132
|
-
/** Gets an instance of `MDcListAdapter` for the given interactive list. */
|
|
133
|
-
export function getInteractiveListAdapter(list) {
|
|
134
|
-
return {
|
|
135
|
-
getListItemCount() {
|
|
136
|
-
return list._items.length;
|
|
137
|
-
},
|
|
138
|
-
listItemAtIndexHasClass(index, className) {
|
|
139
|
-
const element = list._elementAtIndex(index);
|
|
140
|
-
return element ? element.classList.contains(className) : false;
|
|
141
|
-
},
|
|
142
|
-
addClassForElementIndex(index, className) {
|
|
143
|
-
list._elementAtIndex(index)?.classList.add(className);
|
|
144
|
-
},
|
|
145
|
-
removeClassForElementIndex(index, className) {
|
|
146
|
-
list._elementAtIndex(index)?.classList.remove(className);
|
|
147
|
-
},
|
|
148
|
-
getAttributeForElementIndex(index, attr) {
|
|
149
|
-
const element = list._elementAtIndex(index);
|
|
150
|
-
return element ? element.getAttribute(attr) : null;
|
|
151
|
-
},
|
|
152
|
-
setAttributeForElementIndex(index, attr, value) {
|
|
153
|
-
list._elementAtIndex(index)?.setAttribute(attr, value);
|
|
154
|
-
},
|
|
155
|
-
getFocusedElementIndex() {
|
|
156
|
-
return list._indexForElement(list._document?.activeElement);
|
|
157
|
-
},
|
|
158
|
-
isFocusInsideList() {
|
|
159
|
-
return list._element.nativeElement.contains(list._document?.activeElement);
|
|
160
|
-
},
|
|
161
|
-
isRootFocused() {
|
|
162
|
-
return list._element.nativeElement === list._document?.activeElement;
|
|
163
|
-
},
|
|
164
|
-
focusItemAtIndex(index) {
|
|
165
|
-
list._elementAtIndex(index)?.focus();
|
|
166
|
-
},
|
|
167
|
-
// Gets the text for a list item for the typeahead
|
|
168
|
-
getPrimaryTextAtIndex(index) {
|
|
169
|
-
return list._itemsArr[index]._getItemLabel();
|
|
170
|
-
},
|
|
171
|
-
// MDC uses this method to disable focusable children of list items. However, we believe that
|
|
172
|
-
// this is not an accessible pattern and should be avoided, therefore we intentionally do not
|
|
173
|
-
// implement this method. In addition, implementing this would require violating Angular
|
|
174
|
-
// Material's general principle of not having components modify DOM elements they do not own.
|
|
175
|
-
// A user who feels they really need this feature can simply listen to the `(focus)` and
|
|
176
|
-
// `(blur)` events on the list item and enable/disable focus on the children themselves as
|
|
177
|
-
// appropriate.
|
|
178
|
-
setTabIndexForListItemChildren() { },
|
|
179
|
-
// The following methods have a dummy implementation in the base class because they are only
|
|
180
|
-
// applicable to certain types of lists. They should be implemented for the concrete classes
|
|
181
|
-
// where they are applicable.
|
|
182
|
-
hasCheckboxAtIndex() {
|
|
183
|
-
return false;
|
|
184
|
-
},
|
|
185
|
-
hasRadioAtIndex(index) {
|
|
186
|
-
return false;
|
|
187
|
-
},
|
|
188
|
-
setCheckedCheckboxOrRadioAtIndex(index, checked) { },
|
|
189
|
-
isCheckboxCheckedAtIndex(index) {
|
|
190
|
-
return false;
|
|
191
|
-
},
|
|
192
|
-
notifySelectionChange() { },
|
|
193
|
-
notifyAction() { },
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJhY3RpdmUtbGlzdC1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21hdGVyaWFsLWV4cGVyaW1lbnRhbC9tZGMtbGlzdC9pbnRlcmFjdGl2ZS1saXN0LWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0F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
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
9
|
-
export declare const panelAnimation: AnimationTriggerMetadata;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { _MatAutocompleteOriginBase } from '@angular/material/autocomplete';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Directive applied to an element to make it usable
|
|
5
|
-
* as a connection point for an autocomplete panel.
|
|
6
|
-
*/
|
|
7
|
-
export declare class MatAutocompleteOrigin extends _MatAutocompleteOriginBase {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteOrigin, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteOrigin, "[matAutocompleteOrigin]", ["matAutocompleteOrigin"], {}, {}, never>;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { _MatAutocompleteTriggerBase } from '@angular/material/autocomplete';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Provider that allows the autocomplete to register as a ControlValueAccessor.
|
|
5
|
-
* @docs-private
|
|
6
|
-
*/
|
|
7
|
-
export declare const MAT_AUTOCOMPLETE_VALUE_ACCESSOR: any;
|
|
8
|
-
export declare class MatAutocompleteTrigger extends _MatAutocompleteTriggerBase {
|
|
9
|
-
protected _aboveClass: string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteTrigger, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteTrigger, "input[matAutocomplete], textarea[matAutocomplete]", ["matAutocompleteTrigger"], {}, {}, never>;
|
|
12
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { QueryList } from '@angular/core';
|
|
9
|
-
import { MatOptgroup, MatOption } from '@angular/material-experimental/mdc-core';
|
|
10
|
-
import { _MatAutocompleteBase } from '@angular/material/autocomplete';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class MatAutocomplete extends _MatAutocompleteBase {
|
|
13
|
-
/** Reference to all option groups within the autocomplete. */
|
|
14
|
-
optionGroups: QueryList<MatOptgroup>;
|
|
15
|
-
/** Reference to all options within the autocomplete. */
|
|
16
|
-
options: QueryList<MatOption>;
|
|
17
|
-
protected _visibleClass: string;
|
|
18
|
-
protected _hiddenClass: string;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocomplete, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatAutocomplete, "mat-autocomplete", ["matAutocomplete"], { "disableRipple": "disableRipple"; }, {}, ["optionGroups", "options"], ["*"]>;
|
|
21
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./autocomplete";
|
|
3
|
-
import * as i2 from "./autocomplete-trigger";
|
|
4
|
-
import * as i3 from "./autocomplete-origin";
|
|
5
|
-
import * as i4 from "@angular/cdk/overlay";
|
|
6
|
-
import * as i5 from "@angular/material-experimental/mdc-core";
|
|
7
|
-
import * as i6 from "@angular/common";
|
|
8
|
-
import * as i7 from "@angular/cdk/scrolling";
|
|
9
|
-
export declare class MatAutocompleteModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatAutocompleteModule, [typeof i1.MatAutocomplete, typeof i2.MatAutocompleteTrigger, typeof i3.MatAutocompleteOrigin], [typeof i4.OverlayModule, typeof i5.MatOptionModule, typeof i5.MatCommonModule, typeof i6.CommonModule], [typeof i7.CdkScrollableModule, typeof i1.MatAutocomplete, typeof i5.MatOptionModule, typeof i5.MatCommonModule, typeof i2.MatAutocompleteTrigger, typeof i3.MatAutocompleteOrigin]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatAutocompleteModule>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/material-experimental/mdc-autocomplete",
|
|
3
|
-
"fesm2020": "../fesm2020/mdc-autocomplete.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/mdc-autocomplete.mjs",
|
|
5
|
-
"esm2020": "../esm2020/mdc-autocomplete/mdc-autocomplete_public_index.mjs",
|
|
6
|
-
"typings": "./mdc-autocomplete_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/mdc-autocomplete.mjs",
|
|
8
|
-
"es2020": "../fesm2020/mdc-autocomplete.mjs"
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export * from './module';
|
|
9
|
-
export * from './autocomplete';
|
|
10
|
-
export * from './autocomplete-origin';
|
|
11
|
-
export * from './autocomplete-trigger';
|
|
12
|
-
export { getMatAutocompleteMissingPanelError, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY, MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER, MatAutocompleteActivatedEvent, MatAutocompleteDefaultOptions, MatAutocompleteSelectedEvent, } from '@angular/material/autocomplete';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
9
|
-
/** A set of criteria that can be used to filter a list of `MatAutocompleteHarness` instances. */
|
|
10
|
-
export interface AutocompleteHarnessFilters extends BaseHarnessFilters {
|
|
11
|
-
/** Only find instances whose associated input element matches the given value. */
|
|
12
|
-
value?: string | RegExp;
|
|
13
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
9
|
-
import { MatOptgroupHarness, MatOptionHarness, OptgroupHarnessFilters, OptionHarnessFilters } from '@angular/material-experimental/mdc-core/testing';
|
|
10
|
-
import { _MatAutocompleteHarnessBase } from '@angular/material/autocomplete/testing';
|
|
11
|
-
import { AutocompleteHarnessFilters } from './autocomplete-harness-filters';
|
|
12
|
-
/** Harness for interacting with an MDC-based mat-autocomplete in tests. */
|
|
13
|
-
export declare class MatAutocompleteHarness extends _MatAutocompleteHarnessBase<typeof MatOptionHarness, MatOptionHarness, OptionHarnessFilters, typeof MatOptgroupHarness, MatOptgroupHarness, OptgroupHarnessFilters> {
|
|
14
|
-
protected _prefix: string;
|
|
15
|
-
protected _optionClass: typeof MatOptionHarness;
|
|
16
|
-
protected _optionGroupClass: typeof MatOptgroupHarness;
|
|
17
|
-
/** The selector for the host element of a `MatAutocomplete` instance. */
|
|
18
|
-
static hostSelector: string;
|
|
19
|
-
/**
|
|
20
|
-
* Gets a `HarnessPredicate` that can be used to search for a `MatAutocompleteHarness` that meets
|
|
21
|
-
* certain criteria.
|
|
22
|
-
* @param options Options for filtering which autocomplete instances are considered a match.
|
|
23
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
24
|
-
*/
|
|
25
|
-
static with(options?: AutocompleteHarnessFilters): HarnessPredicate<MatAutocompleteHarness>;
|
|
26
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/material-experimental/mdc-autocomplete/testing",
|
|
3
|
-
"fesm2020": "../../fesm2020/mdc-autocomplete/testing.mjs",
|
|
4
|
-
"fesm2015": "../../fesm2015/mdc-autocomplete/testing.mjs",
|
|
5
|
-
"esm2020": "../../esm2020/mdc-autocomplete/testing/index.mjs",
|
|
6
|
-
"typings": "./index.d.ts",
|
|
7
|
-
"module": "../../fesm2015/mdc-autocomplete/testing.mjs",
|
|
8
|
-
"es2020": "../../fesm2020/mdc-autocomplete/testing.mjs"
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export * from './autocomplete-harness';
|
|
9
|
-
export * from './autocomplete-harness-filters';
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { Platform } from '@angular/cdk/platform';
|
|
9
|
-
import { ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
10
|
-
import { CanColor, CanDisable, CanDisableRipple, MatRipple } from '@angular/material-experimental/mdc-core';
|
|
11
|
-
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/** Inputs common to all buttons. */
|
|
14
|
-
export declare const MAT_BUTTON_INPUTS: string[];
|
|
15
|
-
/** Shared host configuration for all buttons */
|
|
16
|
-
export declare const MAT_BUTTON_HOST: {
|
|
17
|
-
'[attr.disabled]': string;
|
|
18
|
-
'[class._mat-animation-noopable]': string;
|
|
19
|
-
'[class.mat-unthemed]': string;
|
|
20
|
-
'[class.mat-mdc-button-base]': string;
|
|
21
|
-
};
|
|
22
|
-
/** @docs-private */
|
|
23
|
-
export declare const _MatButtonMixin: import("@angular/material-experimental/mdc-core")._Constructor<CanColor> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<CanColor> & import("@angular/material-experimental/mdc-core")._Constructor<CanDisable> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<CanDisable> & import("@angular/material-experimental/mdc-core")._Constructor<CanDisableRipple> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<CanDisableRipple> & {
|
|
24
|
-
new (_elementRef: ElementRef): {
|
|
25
|
-
_elementRef: ElementRef;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
/** Base class for all buttons. */
|
|
29
|
-
export declare class MatButtonBase extends _MatButtonMixin implements CanDisable, CanColor, CanDisableRipple {
|
|
30
|
-
_platform: Platform;
|
|
31
|
-
_ngZone: NgZone;
|
|
32
|
-
_animationMode?: string | undefined;
|
|
33
|
-
/** Whether this button is a FAB. Used to apply the correct class on the ripple. */
|
|
34
|
-
_isFab: boolean;
|
|
35
|
-
/** Whether this button is an icon button. Used to apply the correct class on the ripple. */
|
|
36
|
-
_isIconButton: boolean;
|
|
37
|
-
/** Reference to the MatRipple instance of the button. */
|
|
38
|
-
ripple: MatRipple;
|
|
39
|
-
constructor(elementRef: ElementRef, _platform: Platform, _ngZone: NgZone, _animationMode?: string | undefined);
|
|
40
|
-
/** Focuses the button. */
|
|
41
|
-
focus(_origin?: FocusOrigin, options?: FocusOptions): void;
|
|
42
|
-
/** Gets whether the button has one of the given attributes. */
|
|
43
|
-
private _hasHostAttributes;
|
|
44
|
-
_isRippleDisabled(): boolean;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonBase, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonBase, never, never, {}, {}, never>;
|
|
47
|
-
}
|
|
48
|
-
/** Shared inputs by buttons using the `<a>` tag */
|
|
49
|
-
export declare const MAT_ANCHOR_INPUTS: string[];
|
|
50
|
-
/** Shared host configuration for buttons using the `<a>` tag. */
|
|
51
|
-
export declare const MAT_ANCHOR_HOST: {
|
|
52
|
-
'[attr.disabled]': string;
|
|
53
|
-
'[class._mat-animation-noopable]': string;
|
|
54
|
-
'[attr.tabindex]': string;
|
|
55
|
-
'[attr.aria-disabled]': string;
|
|
56
|
-
'[class.mat-unthemed]': string;
|
|
57
|
-
'[class.mat-mdc-button-base]': string;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Anchor button base.
|
|
61
|
-
*/
|
|
62
|
-
export declare class MatAnchorBase extends MatButtonBase implements OnInit, OnDestroy {
|
|
63
|
-
tabIndex: number;
|
|
64
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
65
|
-
ngOnInit(): void;
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
|
-
_haltDisabledEvents: (event: Event) => void;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAnchorBase, never>;
|
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAnchorBase, never, never, {}, {}, never>;
|
|
70
|
-
}
|
package/mdc-button/button.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { Platform } from '@angular/cdk/platform';
|
|
9
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
10
|
-
import { MatAnchorBase, MatButtonBase } from './button-base';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Material Design button component. Users interact with a button to perform an action.
|
|
14
|
-
* See https://material.io/components/buttons
|
|
15
|
-
*
|
|
16
|
-
* The `MatButton` class applies to native button elements and captures the appearances for
|
|
17
|
-
* "text button", "outlined button", and "contained button" per the Material Design
|
|
18
|
-
* specification. `MatButton` additionally captures an additional "flat" appearance, which matches
|
|
19
|
-
* "contained" but without elevation.
|
|
20
|
-
*/
|
|
21
|
-
export declare class MatButton extends MatButtonBase {
|
|
22
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatButton, [null, null, null, { optional: true; }]>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatButton, " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Material Design button component for anchor elements. Anchor elements are used to provide
|
|
28
|
-
* links for the user to navigate across different routes or pages.
|
|
29
|
-
* See https://material.io/components/buttons
|
|
30
|
-
*
|
|
31
|
-
* The `MatAnchor` class applies to native anchor elements and captures the appearances for
|
|
32
|
-
* "text button", "outlined button", and "contained button" per the Material Design
|
|
33
|
-
* specification. `MatAnchor` additionally captures an additional "flat" appearance, which matches
|
|
34
|
-
* "contained" but without elevation.
|
|
35
|
-
*/
|
|
36
|
-
export declare class MatAnchor extends MatAnchorBase {
|
|
37
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatAnchor, [null, null, null, { optional: true; }]>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatAnchor, "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
40
|
-
}
|
package/mdc-button/fab.d.ts
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { Platform } from '@angular/cdk/platform';
|
|
9
|
-
import { ElementRef, InjectionToken, NgZone } from '@angular/core';
|
|
10
|
-
import { MatAnchor } from './button';
|
|
11
|
-
import { MatButtonBase } from './button-base';
|
|
12
|
-
import { ThemePalette } from '@angular/material-experimental/mdc-core';
|
|
13
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/** Default FAB options that can be overridden. */
|
|
16
|
-
export interface MatFabDefaultOptions {
|
|
17
|
-
color?: ThemePalette;
|
|
18
|
-
}
|
|
19
|
-
/** Injection token to be used to override the default options for FAB. */
|
|
20
|
-
export declare const MAT_FAB_DEFAULT_OPTIONS: InjectionToken<MatFabDefaultOptions>;
|
|
21
|
-
/** @docs-private */
|
|
22
|
-
export declare function MAT_FAB_DEFAULT_OPTIONS_FACTORY(): MatFabDefaultOptions;
|
|
23
|
-
/**
|
|
24
|
-
* Material Design floating action button (FAB) component. These buttons represent the primary
|
|
25
|
-
* or most common action for users to interact with.
|
|
26
|
-
* See https://material.io/components/buttons-floating-action-button/
|
|
27
|
-
*
|
|
28
|
-
* The `MatFabButton` class has two appearances: normal and extended.
|
|
29
|
-
*/
|
|
30
|
-
export declare class MatFabButton extends MatButtonBase {
|
|
31
|
-
private _options?;
|
|
32
|
-
_isFab: boolean;
|
|
33
|
-
get extended(): boolean;
|
|
34
|
-
set extended(value: BooleanInput);
|
|
35
|
-
private _extended;
|
|
36
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabButton, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabButton, "button[mat-fab]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "extended": "extended"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Material Design mini floating action button (FAB) component. These buttons represent the primary
|
|
42
|
-
* or most common action for users to interact with.
|
|
43
|
-
* See https://material.io/components/buttons-floating-action-button/
|
|
44
|
-
*/
|
|
45
|
-
export declare class MatMiniFabButton extends MatButtonBase {
|
|
46
|
-
private _options?;
|
|
47
|
-
_isFab: boolean;
|
|
48
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabButton, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabButton, "button[mat-mini-fab]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Material Design floating action button (FAB) component for anchor elements. Anchor elements
|
|
54
|
-
* are used to provide links for the user to navigate across different routes or pages.
|
|
55
|
-
* See https://material.io/components/buttons-floating-action-button/
|
|
56
|
-
*
|
|
57
|
-
* The `MatFabAnchor` class has two appearances: normal and extended.
|
|
58
|
-
*/
|
|
59
|
-
export declare class MatFabAnchor extends MatAnchor {
|
|
60
|
-
private _options?;
|
|
61
|
-
_isFab: boolean;
|
|
62
|
-
get extended(): boolean;
|
|
63
|
-
set extended(value: BooleanInput);
|
|
64
|
-
private _extended;
|
|
65
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabAnchor, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabAnchor, "a[mat-fab]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; "extended": "extended"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Material Design mini floating action button (FAB) component for anchor elements. Anchor elements
|
|
71
|
-
* are used to provide links for the user to navigate across different routes or pages.
|
|
72
|
-
* See https://material.io/components/buttons-floating-action-button/
|
|
73
|
-
*/
|
|
74
|
-
export declare class MatMiniFabAnchor extends MatAnchor {
|
|
75
|
-
private _options?;
|
|
76
|
-
_isFab: boolean;
|
|
77
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
78
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabAnchor, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabAnchor, "a[mat-mini-fab]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
80
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { Platform } from '@angular/cdk/platform';
|
|
9
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
10
|
-
import { MatAnchorBase, MatButtonBase } from './button-base';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Material Design icon button component. This type of button displays a single interactive icon for
|
|
14
|
-
* users to perform an action.
|
|
15
|
-
* See https://material.io/develop/web/components/buttons/icon-buttons/
|
|
16
|
-
*/
|
|
17
|
-
export declare class MatIconButton extends MatButtonBase {
|
|
18
|
-
_isIconButton: boolean;
|
|
19
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconButton, [null, null, null, { optional: true; }]>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconButton, "button[mat-icon-button]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Material Design icon button component for anchor elements. This button displays a single
|
|
25
|
-
* interaction icon that allows users to navigate across different routes or pages.
|
|
26
|
-
* See https://material.io/develop/web/components/buttons/icon-buttons/
|
|
27
|
-
*/
|
|
28
|
-
export declare class MatIconAnchor extends MatAnchorBase {
|
|
29
|
-
_isIconButton: boolean;
|
|
30
|
-
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconAnchor, [null, null, null, { optional: true; }]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconAnchor, "a[mat-icon-button]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
33
|
-
}
|