@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,81 +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 { BooleanInput } from '@angular/cdk/coercion';
|
|
9
|
-
import { EventEmitter, AfterViewInit, OnInit } from '@angular/core';
|
|
10
|
-
import { ActionInteractionEvent } from '@material/chips';
|
|
11
|
-
import { MatChip } from './chip';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/** Event object emitted by MatChipOption when selected or deselected. */
|
|
14
|
-
export declare class MatChipSelectionChange {
|
|
15
|
-
/** Reference to the chip that emitted the event. */
|
|
16
|
-
source: MatChipOption;
|
|
17
|
-
/** Whether the chip that emitted the event is selected. */
|
|
18
|
-
selected: boolean;
|
|
19
|
-
/** Whether the selection change was a result of a user interaction. */
|
|
20
|
-
isUserInput: boolean;
|
|
21
|
-
constructor(
|
|
22
|
-
/** Reference to the chip that emitted the event. */
|
|
23
|
-
source: MatChipOption,
|
|
24
|
-
/** Whether the chip that emitted the event is selected. */
|
|
25
|
-
selected: boolean,
|
|
26
|
-
/** Whether the selection change was a result of a user interaction. */
|
|
27
|
-
isUserInput?: boolean);
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* An extension of the MatChip component that supports chip selection.
|
|
31
|
-
* Used with MatChipListbox.
|
|
32
|
-
*/
|
|
33
|
-
export declare class MatChipOption extends MatChip implements OnInit, AfterViewInit {
|
|
34
|
-
/** Whether the component is done initializing. */
|
|
35
|
-
private _isInitialized;
|
|
36
|
-
/**
|
|
37
|
-
* Selected state that was assigned before the component was initializing
|
|
38
|
-
* and which needs to be synced back up with the foundation.
|
|
39
|
-
*/
|
|
40
|
-
private _pendingSelectedState;
|
|
41
|
-
/** Whether the chip list is selectable. */
|
|
42
|
-
chipListSelectable: boolean;
|
|
43
|
-
/** Whether the chip list is in multi-selection mode. */
|
|
44
|
-
_chipListMultiple: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Whether or not the chip is selectable.
|
|
47
|
-
*
|
|
48
|
-
* When a chip is not selectable, changes to its selected state are always
|
|
49
|
-
* ignored. By default an option chip is selectable, and it becomes
|
|
50
|
-
* non-selectable if its parent chip list is not selectable.
|
|
51
|
-
*/
|
|
52
|
-
get selectable(): boolean;
|
|
53
|
-
set selectable(value: BooleanInput);
|
|
54
|
-
protected _selectable: boolean;
|
|
55
|
-
/** Whether the chip is selected. */
|
|
56
|
-
get selected(): boolean;
|
|
57
|
-
set selected(value: BooleanInput);
|
|
58
|
-
/** The ARIA selected applied to the chip. */
|
|
59
|
-
get ariaSelected(): string | null;
|
|
60
|
-
/** The unstyled chip selector for this component. */
|
|
61
|
-
protected basicChipAttrName: string;
|
|
62
|
-
/** Emitted when the chip is selected or deselected. */
|
|
63
|
-
readonly selectionChange: EventEmitter<MatChipSelectionChange>;
|
|
64
|
-
ngOnInit(): void;
|
|
65
|
-
ngAfterViewInit(): void;
|
|
66
|
-
/** Selects the chip. */
|
|
67
|
-
select(): void;
|
|
68
|
-
/** Deselects the chip. */
|
|
69
|
-
deselect(): void;
|
|
70
|
-
/** Selects this chip and emits userInputSelection event */
|
|
71
|
-
selectViaInteraction(): void;
|
|
72
|
-
/** Toggles the current selected state of this chip. */
|
|
73
|
-
toggleSelected(isUserInput?: boolean): boolean;
|
|
74
|
-
/** Resets the state of the chip when it loses focus. */
|
|
75
|
-
_blur(): void;
|
|
76
|
-
protected _onChipInteraction(event: ActionInteractionEvent): void;
|
|
77
|
-
_hasLeadingGraphic(): import("@angular/material-experimental/mdc-chips").MatChipAvatar;
|
|
78
|
-
private _setSelectedState;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipOption, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipOption, "mat-basic-chip-option, mat-chip-option", never, { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "selectable": "selectable"; "selected": "selected"; }, { "selectionChange": "selectionChange"; }, never, ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"]>;
|
|
81
|
-
}
|
package/mdc-chips/chip-row.d.ts
DELETED
|
@@ -1,62 +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 { Directionality } from '@angular/cdk/bidi';
|
|
9
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
10
|
-
import { RippleGlobalOptions } from '@angular/material-experimental/mdc-core';
|
|
11
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
12
|
-
import { MatChip, MatChipEvent } from './chip';
|
|
13
|
-
import { MatChipEditInput } from './chip-edit-input';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
/** Represents an event fired on an individual `mat-chip` when it is edited. */
|
|
16
|
-
export interface MatChipEditedEvent extends MatChipEvent {
|
|
17
|
-
/** The final edit value. */
|
|
18
|
-
value: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* An extension of the MatChip component used with MatChipGrid and
|
|
22
|
-
* the matChipInputFor directive.
|
|
23
|
-
*/
|
|
24
|
-
export declare class MatChipRow extends MatChip implements AfterViewInit {
|
|
25
|
-
protected basicChipAttrName: string;
|
|
26
|
-
editable: boolean;
|
|
27
|
-
/** Emitted when the chip is edited. */
|
|
28
|
-
readonly edited: EventEmitter<MatChipEditedEvent>;
|
|
29
|
-
/** The default chip edit input that is used if none is projected into this chip row. */
|
|
30
|
-
defaultEditInput?: MatChipEditInput;
|
|
31
|
-
/** The projected chip edit input. */
|
|
32
|
-
contentEditInput?: MatChipEditInput;
|
|
33
|
-
_isEditing: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Timeout used to give some time between `focusin` and `focusout`
|
|
36
|
-
* in order to determine whether focus has left the chip.
|
|
37
|
-
*/
|
|
38
|
-
private _focusoutTimeout;
|
|
39
|
-
constructor(changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef, ngZone: NgZone, focusMonitor: FocusMonitor, _document: any, dir: Directionality, animationMode?: string, globalRippleOptions?: RippleGlobalOptions, tabIndex?: string);
|
|
40
|
-
_hasTrailingIcon(): boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Emits a blur event when one of the gridcells loses focus, unless focus moved
|
|
43
|
-
* to the other gridcell.
|
|
44
|
-
*/
|
|
45
|
-
_focusout(): void;
|
|
46
|
-
/** Records that the chip has focus when one of the gridcells is focused. */
|
|
47
|
-
_focusin(): void;
|
|
48
|
-
/** Sends focus to the first gridcell when the user clicks anywhere inside the chip. */
|
|
49
|
-
_mousedown(event: MouseEvent): void;
|
|
50
|
-
/** Handles custom key presses. */
|
|
51
|
-
_keydown(event: KeyboardEvent): void;
|
|
52
|
-
_doubleclick(): void;
|
|
53
|
-
private _startEditing;
|
|
54
|
-
private _onEditFinish;
|
|
55
|
-
/**
|
|
56
|
-
* Gets the projected chip edit input, or the default input if none is projected in. One of these
|
|
57
|
-
* two values is guaranteed to be defined.
|
|
58
|
-
*/
|
|
59
|
-
private _getEditInput;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, mat-basic-chip-row", never, { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "editable": "editable"; }, { "edited": "edited"; }, ["contentEditInput"], ["mat-chip-avatar, [matChipAvatar]", "*", "[matChipEditInput]", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"]>;
|
|
62
|
-
}
|
package/mdc-chips/chip-set.d.ts
DELETED
|
@@ -1,113 +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 { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
9
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
|
11
|
-
import { HasTabIndex } from '@angular/material-experimental/mdc-core';
|
|
12
|
-
import { MDCChipSetFoundation, MDCChipSetAdapter } from '@material/chips';
|
|
13
|
-
import { Observable, Subject } from 'rxjs';
|
|
14
|
-
import { MatChip, MatChipEvent } from './chip';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/**
|
|
17
|
-
* Boilerplate for applying mixins to MatChipSet.
|
|
18
|
-
* @docs-private
|
|
19
|
-
*/
|
|
20
|
-
declare abstract class MatChipSetBase {
|
|
21
|
-
abstract disabled: boolean;
|
|
22
|
-
constructor(_elementRef: ElementRef);
|
|
23
|
-
}
|
|
24
|
-
declare const _MatChipSetMixinBase: import("@angular/material-experimental/mdc-core")._Constructor<HasTabIndex> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<HasTabIndex> & typeof MatChipSetBase;
|
|
25
|
-
/**
|
|
26
|
-
* Basic container component for the MatChip component.
|
|
27
|
-
*
|
|
28
|
-
* Extended by MatChipListbox and MatChipGrid for different interaction patterns.
|
|
29
|
-
*/
|
|
30
|
-
export declare class MatChipSet extends _MatChipSetMixinBase implements AfterContentInit, AfterViewInit, HasTabIndex, OnDestroy {
|
|
31
|
-
private _liveAnnouncer;
|
|
32
|
-
private _document;
|
|
33
|
-
protected _elementRef: ElementRef<HTMLElement>;
|
|
34
|
-
protected _changeDetectorRef: ChangeDetectorRef;
|
|
35
|
-
/**
|
|
36
|
-
* When a chip is destroyed, we store the index of the destroyed chip until the chips
|
|
37
|
-
* query list notifies about the update. This is necessary because we cannot determine an
|
|
38
|
-
* appropriate chip that should receive focus until the array of chips updated completely.
|
|
39
|
-
*/
|
|
40
|
-
protected _lastDestroyedChipIndex: number | null;
|
|
41
|
-
/** The MDC foundation containing business logic for MDC chip-set. */
|
|
42
|
-
protected _chipSetFoundation: MDCChipSetFoundation;
|
|
43
|
-
/** Subject that emits when the component has been destroyed. */
|
|
44
|
-
protected _destroyed: Subject<void>;
|
|
45
|
-
/** Role to use if it hasn't been overwritten by the user. */
|
|
46
|
-
protected _defaultRole: string;
|
|
47
|
-
/** Combined stream of all of the child chips' remove events. */
|
|
48
|
-
get chipDestroyedChanges(): Observable<MatChipEvent>;
|
|
49
|
-
/**
|
|
50
|
-
* Implementation of the MDC chip-set adapter interface.
|
|
51
|
-
* These methods are called by the chip set foundation.
|
|
52
|
-
*/
|
|
53
|
-
protected _chipSetAdapter: MDCChipSetAdapter;
|
|
54
|
-
/**
|
|
55
|
-
* Map from class to whether the class is enabled.
|
|
56
|
-
* Enabled classes are set on the MDC chip-set div.
|
|
57
|
-
*/
|
|
58
|
-
_mdcClasses: {
|
|
59
|
-
[key: string]: boolean;
|
|
60
|
-
};
|
|
61
|
-
/** Whether the chip set is disabled. */
|
|
62
|
-
get disabled(): boolean;
|
|
63
|
-
set disabled(value: BooleanInput);
|
|
64
|
-
protected _disabled: boolean;
|
|
65
|
-
/** Whether the chip list contains chips or not. */
|
|
66
|
-
get empty(): boolean;
|
|
67
|
-
/** The ARIA role applied to the chip set. */
|
|
68
|
-
get role(): string | null;
|
|
69
|
-
set role(value: string | null);
|
|
70
|
-
private _explicitRole;
|
|
71
|
-
/** Whether any of the chips inside of this chip-set has focus. */
|
|
72
|
-
get focused(): boolean;
|
|
73
|
-
/** The chips that are part of this chip set. */
|
|
74
|
-
_chips: QueryList<MatChip>;
|
|
75
|
-
constructor(_liveAnnouncer: LiveAnnouncer, _document: any, _elementRef: ElementRef<HTMLElement>, _changeDetectorRef: ChangeDetectorRef);
|
|
76
|
-
ngAfterViewInit(): void;
|
|
77
|
-
ngAfterContentInit(): void;
|
|
78
|
-
ngOnDestroy(): void;
|
|
79
|
-
/** Checks whether any of the chips is focused. */
|
|
80
|
-
protected _hasFocusedChip(): boolean;
|
|
81
|
-
/** Syncs the chip-set's state with the individual chips. */
|
|
82
|
-
protected _syncChipsState(): void;
|
|
83
|
-
/** Dummy method for subclasses to override. Base chip set cannot be focused. */
|
|
84
|
-
focus(): void;
|
|
85
|
-
/**
|
|
86
|
-
* Utility to ensure all indexes are valid.
|
|
87
|
-
*
|
|
88
|
-
* @param index The index to be checked.
|
|
89
|
-
* @returns True if the index is valid for our list of chips.
|
|
90
|
-
*/
|
|
91
|
-
protected _isValidIndex(index: number): boolean;
|
|
92
|
-
/** Checks whether an event comes from inside a chip element. */
|
|
93
|
-
protected _originatesFromChip(event: Event): boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Removes the `tabindex` from the chip grid and resets it back afterwards, allowing the
|
|
96
|
-
* user to tab out of it. This prevents the grid from capturing focus and redirecting
|
|
97
|
-
* it back to the first chip, creating a focus trap, if it user tries to tab away.
|
|
98
|
-
*/
|
|
99
|
-
protected _allowFocusEscape(): void;
|
|
100
|
-
/**
|
|
101
|
-
* Gets a stream of events from all the chips within the set.
|
|
102
|
-
* The stream will automatically incorporate any newly-added chips.
|
|
103
|
-
*/
|
|
104
|
-
protected _getChipStream<T, C extends MatChip = MatChip>(mappingFunction: (chip: C) => Observable<T>): Observable<T>;
|
|
105
|
-
protected _checkForClassInHierarchy(event: Event, className: string): boolean;
|
|
106
|
-
private _chipFoundation;
|
|
107
|
-
private _handleChipAnimation;
|
|
108
|
-
private _handleChipInteraction;
|
|
109
|
-
private _handleChipNavigation;
|
|
110
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, never>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": "disabled"; "role": "role"; }, {}, ["_chips"], ["*"]>;
|
|
112
|
-
}
|
|
113
|
-
export {};
|
|
@@ -1,22 +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
|
-
/** Interface for a text control that is used to drive interaction with a mat-chip-list. */
|
|
9
|
-
export interface MatChipTextControl {
|
|
10
|
-
/** Unique identifier for the text control. */
|
|
11
|
-
id: string;
|
|
12
|
-
/** The text control's placeholder text. */
|
|
13
|
-
placeholder: string;
|
|
14
|
-
/** Whether the text control has browser focus. */
|
|
15
|
-
focused: boolean;
|
|
16
|
-
/** Whether the text control is empty. */
|
|
17
|
-
empty: boolean;
|
|
18
|
-
/** Focuses the text control. */
|
|
19
|
-
focus(): void;
|
|
20
|
-
/** Sets the list of ids the input is described by. */
|
|
21
|
-
setDescribedByIds(ids: string[]): void;
|
|
22
|
-
}
|
package/mdc-chips/chip.d.ts
DELETED
|
@@ -1,139 +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 { Directionality } from '@angular/cdk/bidi';
|
|
9
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
11
|
-
import { CanColor, CanDisable, CanDisableRipple, HasTabIndex, MatRipple, RippleGlobalOptions } from '@angular/material-experimental/mdc-core';
|
|
12
|
-
import { MDCChipFoundation, MDCChipAdapter, MDCChipActionType, MDCChipActionFoundation, ActionInteractionEvent } from '@material/chips';
|
|
13
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
14
|
-
import { Subject } from 'rxjs';
|
|
15
|
-
import { MatChipAvatar, MatChipTrailingIcon, MatChipRemove } from './chip-icons';
|
|
16
|
-
import { MatChipAction } from './chip-action';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
/** Represents an event fired on an individual `mat-chip`. */
|
|
19
|
-
export interface MatChipEvent {
|
|
20
|
-
/** The chip the event was fired on. */
|
|
21
|
-
chip: MatChip;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Boilerplate for applying mixins to MatChip.
|
|
25
|
-
* @docs-private
|
|
26
|
-
*/
|
|
27
|
-
declare abstract class MatChipBase {
|
|
28
|
-
_elementRef: ElementRef;
|
|
29
|
-
abstract disabled: boolean;
|
|
30
|
-
constructor(_elementRef: ElementRef);
|
|
31
|
-
}
|
|
32
|
-
declare const _MatChipMixinBase: import("@angular/material-experimental/mdc-core")._Constructor<HasTabIndex> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<HasTabIndex> & import("@angular/material-experimental/mdc-core")._Constructor<CanColor> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<CanColor> & import("@angular/material-experimental/mdc-core")._Constructor<CanDisableRipple> & import("@angular/material-experimental/mdc-core")._AbstractConstructor<CanDisableRipple> & typeof MatChipBase;
|
|
33
|
-
/**
|
|
34
|
-
* Material design styled Chip base component. Used inside the MatChipSet component.
|
|
35
|
-
*
|
|
36
|
-
* Extended by MatChipOption and MatChipRow for different interaction patterns.
|
|
37
|
-
*/
|
|
38
|
-
export declare class MatChip extends _MatChipMixinBase implements AfterViewInit, CanColor, CanDisableRipple, CanDisable, HasTabIndex, OnDestroy {
|
|
39
|
-
_changeDetectorRef: ChangeDetectorRef;
|
|
40
|
-
protected _ngZone: NgZone;
|
|
41
|
-
private _focusMonitor;
|
|
42
|
-
private _dir;
|
|
43
|
-
private _globalRippleOptions?;
|
|
44
|
-
protected _document: Document;
|
|
45
|
-
/** Whether the ripple is centered on the chip. */
|
|
46
|
-
readonly _isRippleCentered = false;
|
|
47
|
-
/** Emits when the chip is focused. */
|
|
48
|
-
readonly _onFocus: Subject<MatChipEvent>;
|
|
49
|
-
/** Emits when the chip is blurred. */
|
|
50
|
-
readonly _onBlur: Subject<MatChipEvent>;
|
|
51
|
-
/** Whether this chip is a basic (unstyled) chip. */
|
|
52
|
-
readonly _isBasicChip: boolean;
|
|
53
|
-
/** Role for the root of the chip. */
|
|
54
|
-
role: string | null;
|
|
55
|
-
/** Whether the chip has focus. */
|
|
56
|
-
protected _hasFocusInternal: boolean;
|
|
57
|
-
/** Whether moving focus into the chip is pending. */
|
|
58
|
-
private _pendingFocus;
|
|
59
|
-
/** Whether animations for the chip are enabled. */
|
|
60
|
-
_animationsDisabled: boolean;
|
|
61
|
-
_hasFocus(): boolean;
|
|
62
|
-
/** A unique id for the chip. If none is supplied, it will be auto-generated. */
|
|
63
|
-
id: string;
|
|
64
|
-
/** ARIA label for the content of the chip. */
|
|
65
|
-
ariaLabel: string | null;
|
|
66
|
-
get disabled(): boolean;
|
|
67
|
-
set disabled(value: BooleanInput);
|
|
68
|
-
protected _disabled: boolean;
|
|
69
|
-
private _textElement;
|
|
70
|
-
/**
|
|
71
|
-
* The value of the chip. Defaults to the content inside
|
|
72
|
-
* the `mat-mdc-chip-action-label` element.
|
|
73
|
-
*/
|
|
74
|
-
get value(): any;
|
|
75
|
-
set value(value: any);
|
|
76
|
-
protected _value: any;
|
|
77
|
-
/**
|
|
78
|
-
* Determines whether or not the chip displays the remove styling and emits (removed) events.
|
|
79
|
-
*/
|
|
80
|
-
get removable(): boolean;
|
|
81
|
-
set removable(value: BooleanInput);
|
|
82
|
-
protected _removable: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Colors the chip for emphasis as if it were selected.
|
|
85
|
-
*/
|
|
86
|
-
get highlighted(): boolean;
|
|
87
|
-
set highlighted(value: BooleanInput);
|
|
88
|
-
protected _highlighted: boolean;
|
|
89
|
-
/** Emitted when a chip is to be removed. */
|
|
90
|
-
readonly removed: EventEmitter<MatChipEvent>;
|
|
91
|
-
/** Emitted when the chip is destroyed. */
|
|
92
|
-
readonly destroyed: EventEmitter<MatChipEvent>;
|
|
93
|
-
/** The MDC foundation containing business logic for MDC chip. */
|
|
94
|
-
_chipFoundation: MDCChipFoundation;
|
|
95
|
-
/** The unstyled chip selector for this component. */
|
|
96
|
-
protected basicChipAttrName: string;
|
|
97
|
-
/** The chip's leading icon. */
|
|
98
|
-
leadingIcon: MatChipAvatar;
|
|
99
|
-
/** The chip's trailing icon. */
|
|
100
|
-
trailingIcon: MatChipTrailingIcon;
|
|
101
|
-
/** The chip's trailing remove icon. */
|
|
102
|
-
removeIcon: MatChipRemove;
|
|
103
|
-
/** Reference to the MatRipple instance of the chip. */
|
|
104
|
-
ripple: MatRipple;
|
|
105
|
-
/** Action receiving the primary set of user interactions. */
|
|
106
|
-
primaryAction: MatChipAction;
|
|
107
|
-
/**
|
|
108
|
-
* Implementation of the MDC chip adapter interface.
|
|
109
|
-
* These methods are called by the chip foundation.
|
|
110
|
-
*/
|
|
111
|
-
protected _chipAdapter: MDCChipAdapter;
|
|
112
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _ngZone: NgZone, _focusMonitor: FocusMonitor, _document: any, _dir: Directionality, animationMode?: string, _globalRippleOptions?: RippleGlobalOptions | undefined, tabIndex?: string);
|
|
113
|
-
ngAfterViewInit(): void;
|
|
114
|
-
ngOnDestroy(): void;
|
|
115
|
-
/**
|
|
116
|
-
* Allows for programmatic removal of the chip.
|
|
117
|
-
*
|
|
118
|
-
* Informs any listeners of the removal request. Does not remove the chip from the DOM.
|
|
119
|
-
*/
|
|
120
|
-
remove(): void;
|
|
121
|
-
/** Sets whether the given CSS class should be applied to the MDC chip. */
|
|
122
|
-
private _setMdcClass;
|
|
123
|
-
/** Whether or not the ripple should be disabled. */
|
|
124
|
-
_isRippleDisabled(): boolean;
|
|
125
|
-
_getAction(type: MDCChipActionType): MDCChipActionFoundation | undefined;
|
|
126
|
-
_getFoundation(): MDCChipFoundation;
|
|
127
|
-
_hasTrailingIcon(): boolean;
|
|
128
|
-
/** Allows for programmatic focusing of the chip. */
|
|
129
|
-
focus(): void;
|
|
130
|
-
/** Overridden by MatChipOption. */
|
|
131
|
-
protected _onChipInteraction(event: ActionInteractionEvent): void;
|
|
132
|
-
private _handleActionInteraction;
|
|
133
|
-
private _handleActionNavigation;
|
|
134
|
-
private _handleTransitionend;
|
|
135
|
-
private _handleAnimationend;
|
|
136
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
|
|
137
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, mat-chip", ["matChip"], { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "role": "role"; "id": "id"; "ariaLabel": "aria-label"; "disabled": "disabled"; "value": "value"; "removable": "removable"; "highlighted": "highlighted"; }, { "removed": "removed"; "destroyed": "destroyed"; }, ["leadingIcon", "trailingIcon", "removeIcon"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"]>;
|
|
138
|
-
}
|
|
139
|
-
export {};
|
|
@@ -1,16 +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
|
-
/**
|
|
9
|
-
* Emits a custom event from an element.
|
|
10
|
-
* @param element Element from which to emit the event.
|
|
11
|
-
* @param _document Document that the element is placed in.
|
|
12
|
-
* @param eventName Name of the event.
|
|
13
|
-
* @param data Data attached to the event.
|
|
14
|
-
* @param shouldBubble Whether the event should bubble.
|
|
15
|
-
*/
|
|
16
|
-
export declare function emitCustomEvent<T>(element: HTMLElement, _document: Document, eventName: string, data: T, shouldBubble: boolean): void;
|
package/mdc-chips/module.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./chip-action";
|
|
3
|
-
import * as i2 from "./chip";
|
|
4
|
-
import * as i3 from "./chip-icons";
|
|
5
|
-
import * as i4 from "./chip-edit-input";
|
|
6
|
-
import * as i5 from "./chip-grid";
|
|
7
|
-
import * as i6 from "./chip-input";
|
|
8
|
-
import * as i7 from "./chip-listbox";
|
|
9
|
-
import * as i8 from "./chip-option";
|
|
10
|
-
import * as i9 from "./chip-row";
|
|
11
|
-
import * as i10 from "./chip-set";
|
|
12
|
-
import * as i11 from "@angular/material-experimental/mdc-core";
|
|
13
|
-
import * as i12 from "@angular/common";
|
|
14
|
-
export declare class MatChipsModule {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipsModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatChipsModule, [typeof i1.MatChipAction, typeof i2.MatChip, typeof i3.MatChipAvatar, typeof i4.MatChipEditInput, typeof i5.MatChipGrid, typeof i6.MatChipInput, typeof i7.MatChipListbox, typeof i8.MatChipOption, typeof i3.MatChipRemove, typeof i9.MatChipRow, typeof i10.MatChipSet, typeof i3.MatChipTrailingIcon], [typeof i11.MatCommonModule, typeof i12.CommonModule, typeof i11.MatRippleModule], [typeof i11.MatCommonModule, typeof i2.MatChip, typeof i3.MatChipAvatar, typeof i4.MatChipEditInput, typeof i5.MatChipGrid, typeof i6.MatChipInput, typeof i7.MatChipListbox, typeof i8.MatChipOption, typeof i3.MatChipRemove, typeof i9.MatChipRow, typeof i10.MatChipSet, typeof i3.MatChipTrailingIcon]>;
|
|
17
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatChipsModule>;
|
|
18
|
-
}
|
package/mdc-chips/package.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/material-experimental/mdc-chips",
|
|
3
|
-
"fesm2020": "../fesm2020/mdc-chips.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/mdc-chips.mjs",
|
|
5
|
-
"esm2020": "../esm2020/mdc-chips/mdc-chips_public_index.mjs",
|
|
6
|
-
"typings": "./mdc-chips_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/mdc-chips.mjs",
|
|
8
|
-
"es2020": "../fesm2020/mdc-chips.mjs"
|
|
9
|
-
}
|
|
@@ -1,19 +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 './chip';
|
|
9
|
-
export * from './chip-option';
|
|
10
|
-
export * from './chip-row';
|
|
11
|
-
export * from './chip-set';
|
|
12
|
-
export * from './chip-listbox';
|
|
13
|
-
export * from './chip-grid';
|
|
14
|
-
export * from './module';
|
|
15
|
-
export * from './chip-input';
|
|
16
|
-
export * from './chip-default-options';
|
|
17
|
-
export * from './chip-icons';
|
|
18
|
-
export * from './chip-text-control';
|
|
19
|
-
export * from './chip-edit-input';
|
|
@@ -1,20 +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, ComponentHarness } from '@angular/cdk/testing';
|
|
9
|
-
import { ChipAvatarHarnessFilters } from './chip-harness-filters';
|
|
10
|
-
/** Harness for interacting with a standard Material chip avatar in tests. */
|
|
11
|
-
export declare class MatChipAvatarHarness extends ComponentHarness {
|
|
12
|
-
static hostSelector: string;
|
|
13
|
-
/**
|
|
14
|
-
* Gets a `HarnessPredicate` that can be used to search for a `MatChipAvatarHarness` that meets
|
|
15
|
-
* certain criteria.
|
|
16
|
-
* @param options Options for filtering which input instances are considered a match.
|
|
17
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
18
|
-
*/
|
|
19
|
-
static with(options?: ChipAvatarHarnessFilters): HarnessPredicate<MatChipAvatarHarness>;
|
|
20
|
-
}
|
|
@@ -1,29 +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 { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
9
|
-
import { ChipGridHarnessFilters, ChipInputHarnessFilters, ChipRowHarnessFilters } from './chip-harness-filters';
|
|
10
|
-
import { MatChipInputHarness } from './chip-input-harness';
|
|
11
|
-
import { MatChipRowHarness } from './chip-row-harness';
|
|
12
|
-
/** Harness for interacting with a mat-chip-grid in tests. */
|
|
13
|
-
export declare class MatChipGridHarness extends ComponentHarness {
|
|
14
|
-
static hostSelector: string;
|
|
15
|
-
/**
|
|
16
|
-
* Gets a `HarnessPredicate` that can be used to search for a chip grid with specific attributes.
|
|
17
|
-
*/
|
|
18
|
-
static with(options?: ChipGridHarnessFilters): HarnessPredicate<MatChipGridHarness>;
|
|
19
|
-
/** Gets whether the chip grid is disabled. */
|
|
20
|
-
isDisabled(): Promise<boolean>;
|
|
21
|
-
/** Gets whether the chip grid is required. */
|
|
22
|
-
isRequired(): Promise<boolean>;
|
|
23
|
-
/** Gets whether the chip grid is invalid. */
|
|
24
|
-
isInvalid(): Promise<boolean>;
|
|
25
|
-
/** Gets promise of the harnesses for the chip rows. */
|
|
26
|
-
getRows(filter?: ChipRowHarnessFilters): Promise<MatChipRowHarness[]>;
|
|
27
|
-
/** Gets promise of the chip text input harness. */
|
|
28
|
-
getInput(filter?: ChipInputHarnessFilters): Promise<MatChipInputHarness | null>;
|
|
29
|
-
}
|
|
@@ -1,34 +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
|
-
export interface ChipHarnessFilters extends BaseHarnessFilters {
|
|
10
|
-
/** Only find instances whose text matches the given value. */
|
|
11
|
-
text?: string | RegExp;
|
|
12
|
-
}
|
|
13
|
-
export interface ChipInputHarnessFilters extends BaseHarnessFilters {
|
|
14
|
-
/** Filters based on the value of the input. */
|
|
15
|
-
value?: string | RegExp;
|
|
16
|
-
/** Filters based on the placeholder text of the input. */
|
|
17
|
-
placeholder?: string | RegExp;
|
|
18
|
-
}
|
|
19
|
-
export interface ChipListboxHarnessFilters extends BaseHarnessFilters {
|
|
20
|
-
}
|
|
21
|
-
export interface ChipOptionHarnessFilters extends ChipHarnessFilters {
|
|
22
|
-
/** Only find chip instances whose selected state matches the given value. */
|
|
23
|
-
selected?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface ChipGridHarnessFilters extends BaseHarnessFilters {
|
|
26
|
-
}
|
|
27
|
-
export interface ChipRowHarnessFilters extends ChipHarnessFilters {
|
|
28
|
-
}
|
|
29
|
-
export interface ChipSetHarnessFilters extends BaseHarnessFilters {
|
|
30
|
-
}
|
|
31
|
-
export interface ChipRemoveHarnessFilters extends BaseHarnessFilters {
|
|
32
|
-
}
|
|
33
|
-
export interface ChipAvatarHarnessFilters extends BaseHarnessFilters {
|
|
34
|
-
}
|
|
@@ -1,36 +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 { ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
9
|
-
import { MatChipAvatarHarness } from './chip-avatar-harness';
|
|
10
|
-
import { ChipAvatarHarnessFilters, ChipHarnessFilters, ChipRemoveHarnessFilters } from './chip-harness-filters';
|
|
11
|
-
import { MatChipRemoveHarness } from './chip-remove-harness';
|
|
12
|
-
/** Harness for interacting with a mat-chip in tests. */
|
|
13
|
-
export declare class MatChipHarness extends ContentContainerComponentHarness {
|
|
14
|
-
protected _primaryAction: import("@angular/cdk/testing").AsyncFactoryFn<import("@angular/cdk/testing").TestElement>;
|
|
15
|
-
static hostSelector: string;
|
|
16
|
-
/**
|
|
17
|
-
* Gets a `HarnessPredicate` that can be used to search for a chip with specific attributes.
|
|
18
|
-
*/
|
|
19
|
-
static with<T extends typeof MatChipHarness>(this: T, options?: ChipHarnessFilters): HarnessPredicate<InstanceType<T>>;
|
|
20
|
-
/** Gets a promise for the text content the option. */
|
|
21
|
-
getText(): Promise<string>;
|
|
22
|
-
/** Whether the chip is disabled. */
|
|
23
|
-
isDisabled(): Promise<boolean>;
|
|
24
|
-
/** Delete a chip from the set. */
|
|
25
|
-
remove(): Promise<void>;
|
|
26
|
-
/**
|
|
27
|
-
* Gets the remove button inside of a chip.
|
|
28
|
-
* @param filter Optionally filters which chips are included.
|
|
29
|
-
*/
|
|
30
|
-
getRemoveButton(filter?: ChipRemoveHarnessFilters): Promise<MatChipRemoveHarness>;
|
|
31
|
-
/**
|
|
32
|
-
* Gets the avatar inside a chip.
|
|
33
|
-
* @param filter Optionally filters which avatars are included.
|
|
34
|
-
*/
|
|
35
|
-
getAvatar(filter?: ChipAvatarHarnessFilters): Promise<MatChipAvatarHarness | null>;
|
|
36
|
-
}
|