@angular/material-experimental 14.0.0-next.12 → 14.0.0-next.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/column-resize/index.d.ts +238 -6
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +3 -3
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +3 -3
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +3 -3
- package/esm2020/column-resize/column-resize-module.mjs +12 -12
- package/esm2020/column-resize/overlay-handle.mjs +3 -3
- package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +3 -3
- package/esm2020/column-resize/resizable-directives/resizable.mjs +3 -3
- package/esm2020/column-resize/resize-strategy.mjs +3 -3
- package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +3 -3
- package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +3 -3
- package/esm2020/mdc-autocomplete/autocomplete.mjs +3 -3
- package/esm2020/mdc-autocomplete/module.mjs +5 -5
- package/esm2020/mdc-button/button-base.mjs +6 -6
- package/esm2020/mdc-button/button.mjs +6 -6
- package/esm2020/mdc-button/fab.mjs +12 -12
- package/esm2020/mdc-button/icon-button.mjs +6 -6
- package/esm2020/mdc-button/module.mjs +5 -5
- package/esm2020/mdc-card/card.mjs +42 -42
- package/esm2020/mdc-card/module.mjs +5 -5
- package/esm2020/mdc-checkbox/checkbox.mjs +3 -3
- package/esm2020/mdc-checkbox/module.mjs +5 -5
- package/esm2020/mdc-chips/chip-action.mjs +3 -3
- package/esm2020/mdc-chips/chip-edit-input.mjs +3 -3
- package/esm2020/mdc-chips/chip-grid.mjs +3 -3
- package/esm2020/mdc-chips/chip-icons.mjs +9 -9
- package/esm2020/mdc-chips/chip-input.mjs +3 -3
- package/esm2020/mdc-chips/chip-listbox.mjs +3 -3
- package/esm2020/mdc-chips/chip-option.mjs +3 -3
- package/esm2020/mdc-chips/chip-row.mjs +3 -3
- package/esm2020/mdc-chips/chip-set.mjs +3 -3
- package/esm2020/mdc-chips/chip.mjs +3 -3
- package/esm2020/mdc-chips/module.mjs +6 -6
- package/esm2020/mdc-core/option/index.mjs +5 -5
- package/esm2020/mdc-core/option/optgroup.mjs +3 -3
- package/esm2020/mdc-core/option/option.mjs +3 -3
- package/esm2020/mdc-dialog/dialog-container.mjs +17 -15
- package/esm2020/mdc-dialog/dialog-content-directives.mjs +12 -12
- 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-form-field/directives/error.mjs +3 -3
- package/esm2020/mdc-form-field/directives/floating-label.mjs +3 -3
- package/esm2020/mdc-form-field/directives/hint.mjs +3 -3
- package/esm2020/mdc-form-field/directives/label.mjs +3 -3
- package/esm2020/mdc-form-field/directives/line-ripple.mjs +3 -3
- package/esm2020/mdc-form-field/directives/notched-outline.mjs +3 -3
- package/esm2020/mdc-form-field/directives/prefix.mjs +3 -3
- package/esm2020/mdc-form-field/directives/suffix.mjs +3 -3
- package/esm2020/mdc-form-field/form-field.mjs +3 -3
- package/esm2020/mdc-form-field/module.mjs +5 -5
- package/esm2020/mdc-input/input.mjs +3 -3
- package/esm2020/mdc-input/module.mjs +5 -5
- package/esm2020/mdc-list/action-list.mjs +3 -3
- package/esm2020/mdc-list/interactive-list-base.mjs +3 -3
- package/esm2020/mdc-list/list-base.mjs +6 -6
- package/esm2020/mdc-list/list-item-sections.mjs +18 -18
- package/esm2020/mdc-list/list-option.mjs +3 -3
- package/esm2020/mdc-list/list.mjs +6 -6
- package/esm2020/mdc-list/module.mjs +9 -11
- package/esm2020/mdc-list/nav-list.mjs +3 -3
- package/esm2020/mdc-list/selection-list.mjs +3 -3
- package/esm2020/mdc-list/subheader.mjs +3 -3
- package/esm2020/mdc-menu/directives.mjs +6 -6
- package/esm2020/mdc-menu/menu-item.mjs +3 -3
- package/esm2020/mdc-menu/menu.mjs +3 -3
- package/esm2020/mdc-menu/module.mjs +5 -5
- package/esm2020/mdc-paginator/module.mjs +5 -5
- package/esm2020/mdc-paginator/paginator.mjs +3 -3
- package/esm2020/mdc-progress-bar/module.mjs +4 -4
- package/esm2020/mdc-progress-bar/progress-bar.mjs +3 -3
- package/esm2020/mdc-progress-spinner/module.mjs +5 -5
- package/esm2020/mdc-progress-spinner/progress-spinner.mjs +3 -3
- package/esm2020/mdc-radio/module.mjs +5 -5
- package/esm2020/mdc-radio/radio.mjs +6 -6
- package/esm2020/mdc-select/module.mjs +5 -5
- package/esm2020/mdc-select/select.mjs +6 -6
- package/esm2020/mdc-slide-toggle/module.mjs +5 -5
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +3 -3
- package/esm2020/mdc-slider/global-change-and-input-listener.mjs +3 -3
- package/esm2020/mdc-slider/module.mjs +5 -5
- package/esm2020/mdc-slider/slider.mjs +9 -9
- package/esm2020/mdc-snack-bar/module.mjs +5 -5
- package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +3 -3
- package/esm2020/mdc-snack-bar/snack-bar-container.mjs +31 -18
- package/esm2020/mdc-snack-bar/snack-bar-content.mjs +9 -9
- package/esm2020/mdc-snack-bar/snack-bar.mjs +3 -3
- package/esm2020/mdc-table/cell.mjs +21 -21
- package/esm2020/mdc-table/module.mjs +5 -5
- package/esm2020/mdc-table/row.mjs +21 -21
- package/esm2020/mdc-table/table.mjs +8 -8
- package/esm2020/mdc-table/text-column.mjs +3 -3
- package/esm2020/mdc-tabs/module.mjs +10 -12
- package/esm2020/mdc-tabs/tab-body.mjs +6 -6
- package/esm2020/mdc-tabs/tab-content.mjs +3 -3
- package/esm2020/mdc-tabs/tab-group.mjs +3 -3
- package/esm2020/mdc-tabs/tab-header.mjs +3 -3
- package/esm2020/mdc-tabs/tab-label-wrapper.mjs +3 -3
- package/esm2020/mdc-tabs/tab-label.mjs +3 -3
- package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
- package/esm2020/mdc-tabs/tab.mjs +3 -3
- package/esm2020/mdc-tooltip/module.mjs +5 -5
- package/esm2020/mdc-tooltip/tooltip.mjs +6 -6
- package/esm2020/menubar/menubar-item.mjs +3 -3
- package/esm2020/menubar/menubar-module.mjs +5 -5
- package/esm2020/menubar/menubar.mjs +3 -3
- package/esm2020/popover-edit/lens-directives.mjs +9 -9
- package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
- package/esm2020/popover-edit/table-directives.mjs +12 -12
- package/esm2020/selection/row-selection.mjs +3 -3
- package/esm2020/selection/select-all.mjs +3 -3
- package/esm2020/selection/selection-column.mjs +3 -3
- package/esm2020/selection/selection-module.mjs +5 -5
- package/esm2020/selection/selection-toggle.mjs +3 -3
- package/esm2020/selection/selection.mjs +3 -3
- package/esm2020/version.mjs +1 -1
- package/fesm2015/column-resize.mjs +36 -36
- package/fesm2015/material-experimental.mjs +1 -1
- package/fesm2015/material-experimental.mjs.map +1 -1
- package/fesm2015/mdc-autocomplete.mjs +13 -13
- package/fesm2015/mdc-autocomplete.mjs.map +1 -1
- package/fesm2015/mdc-button.mjs +34 -34
- package/fesm2015/mdc-button.mjs.map +1 -1
- package/fesm2015/mdc-card.mjs +46 -46
- package/fesm2015/mdc-card.mjs.map +1 -1
- package/fesm2015/mdc-checkbox.mjs +7 -7
- package/fesm2015/mdc-checkbox.mjs.map +1 -1
- package/fesm2015/mdc-chips.mjs +41 -41
- package/fesm2015/mdc-chips.mjs.map +1 -1
- package/fesm2015/mdc-core.mjs +10 -10
- package/fesm2015/mdc-core.mjs.map +1 -1
- package/fesm2015/mdc-dialog.mjs +45 -43
- package/fesm2015/mdc-dialog.mjs.map +1 -1
- package/fesm2015/mdc-form-field.mjs +31 -31
- 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.mjs +56 -58
- package/fesm2015/mdc-list.mjs.map +1 -1
- package/fesm2015/mdc-menu.mjs +16 -16
- package/fesm2015/mdc-menu.mjs.map +1 -1
- package/fesm2015/mdc-paginator.mjs +7 -7
- package/fesm2015/mdc-paginator.mjs.map +1 -1
- package/fesm2015/mdc-progress-bar.mjs +7 -7
- package/fesm2015/mdc-progress-spinner.mjs +7 -7
- package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2015/mdc-radio.mjs +10 -10
- package/fesm2015/mdc-radio.mjs.map +1 -1
- package/fesm2015/mdc-select.mjs +10 -10
- package/fesm2015/mdc-select.mjs.map +1 -1
- package/fesm2015/mdc-slide-toggle.mjs +7 -7
- package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2015/mdc-slider.mjs +16 -16
- package/fesm2015/mdc-slider.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar.mjs +49 -36
- package/fesm2015/mdc-snack-bar.mjs.map +1 -1
- package/fesm2015/mdc-table.mjs +57 -57
- package/fesm2015/mdc-table.mjs.map +1 -1
- package/fesm2015/mdc-tabs.mjs +42 -44
- package/fesm2015/mdc-tabs.mjs.map +1 -1
- package/fesm2015/mdc-tooltip.mjs +10 -10
- package/fesm2015/mdc-tooltip.mjs.map +1 -1
- package/fesm2015/menubar.mjs +10 -10
- 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 +19 -19
- package/fesm2015/selection.mjs.map +1 -1
- package/fesm2020/column-resize.mjs +36 -36
- package/fesm2020/material-experimental.mjs +1 -1
- package/fesm2020/material-experimental.mjs.map +1 -1
- package/fesm2020/mdc-autocomplete.mjs +13 -13
- package/fesm2020/mdc-autocomplete.mjs.map +1 -1
- package/fesm2020/mdc-button.mjs +34 -34
- package/fesm2020/mdc-button.mjs.map +1 -1
- package/fesm2020/mdc-card.mjs +46 -46
- package/fesm2020/mdc-card.mjs.map +1 -1
- package/fesm2020/mdc-checkbox.mjs +7 -7
- package/fesm2020/mdc-checkbox.mjs.map +1 -1
- package/fesm2020/mdc-chips.mjs +41 -41
- package/fesm2020/mdc-chips.mjs.map +1 -1
- package/fesm2020/mdc-core.mjs +10 -10
- package/fesm2020/mdc-core.mjs.map +1 -1
- package/fesm2020/mdc-dialog.mjs +45 -43
- package/fesm2020/mdc-dialog.mjs.map +1 -1
- package/fesm2020/mdc-form-field.mjs +31 -31
- 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.mjs +56 -58
- package/fesm2020/mdc-list.mjs.map +1 -1
- package/fesm2020/mdc-menu.mjs +16 -16
- package/fesm2020/mdc-menu.mjs.map +1 -1
- package/fesm2020/mdc-paginator.mjs +7 -7
- package/fesm2020/mdc-paginator.mjs.map +1 -1
- package/fesm2020/mdc-progress-bar.mjs +7 -7
- package/fesm2020/mdc-progress-spinner.mjs +7 -7
- package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2020/mdc-radio.mjs +10 -10
- package/fesm2020/mdc-radio.mjs.map +1 -1
- package/fesm2020/mdc-select.mjs +10 -10
- package/fesm2020/mdc-select.mjs.map +1 -1
- package/fesm2020/mdc-slide-toggle.mjs +7 -7
- package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2020/mdc-slider.mjs +16 -16
- package/fesm2020/mdc-slider.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar.mjs +49 -36
- package/fesm2020/mdc-snack-bar.mjs.map +1 -1
- package/fesm2020/mdc-table.mjs +57 -57
- package/fesm2020/mdc-table.mjs.map +1 -1
- package/fesm2020/mdc-tabs.mjs +42 -44
- package/fesm2020/mdc-tabs.mjs.map +1 -1
- package/fesm2020/mdc-tooltip.mjs +10 -10
- package/fesm2020/mdc-tooltip.mjs.map +1 -1
- package/fesm2020/menubar.mjs +10 -10
- 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 +19 -19
- 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 +31 -8
- package/mdc-button/index.d.ts +217 -5
- package/mdc-button/testing/index.d.ts +40 -8
- package/mdc-card/index.d.ts +191 -5
- package/mdc-card/testing/index.d.ts +44 -8
- package/mdc-checkbox/index.d.ts +200 -8
- package/mdc-checkbox/testing/index.d.ts +27 -8
- package/mdc-chips/index.d.ts +1030 -5
- package/mdc-chips/testing/index.d.ts +225 -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 +436 -5
- package/mdc-form-field/testing/index.d.ts +47 -8
- package/mdc-input/index.d.ts +30 -8
- package/mdc-input/testing/index.d.ts +20 -8
- package/mdc-list/_list-theme.scss +0 -3
- package/mdc-list/index.d.ts +555 -5
- package/mdc-list/testing/index.d.ts +369 -6
- package/mdc-menu/index.d.ts +108 -6
- package/mdc-menu/testing/index.d.ts +39 -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 +21 -8
- package/mdc-progress-spinner/index.d.ts +100 -5
- package/mdc-progress-spinner/testing/index.d.ts +25 -8
- package/mdc-radio/index.d.ts +86 -6
- package/mdc-radio/testing/index.d.ts +42 -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 +144 -8
- package/mdc-slide-toggle/testing/index.d.ts +26 -8
- package/mdc-slider/index.d.ts +426 -5
- package/mdc-slider/testing/index.d.ts +93 -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 +117 -8
- package/mdc-tabs/index.d.ts +353 -6
- package/mdc-tabs/testing/index.d.ts +153 -8
- package/mdc-tooltip/index.d.ts +115 -5
- package/mdc-tooltip/testing/index.d.ts +25 -8
- package/menubar/index.d.ts +42 -6
- package/package.json +31 -31
- 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/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 -80
- 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,28 +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 { InjectionToken } from '@angular/core';
|
|
9
|
-
/**
|
|
10
|
-
* Type describing possible positions of a checkbox in a list option
|
|
11
|
-
* with respect to the list item's text.
|
|
12
|
-
*/
|
|
13
|
-
export declare type MatListOptionCheckboxPosition = 'before' | 'after';
|
|
14
|
-
/**
|
|
15
|
-
* Interface describing a list option. This is used to avoid circular
|
|
16
|
-
* dependencies between the list-option and the styler directives.
|
|
17
|
-
* @docs-private
|
|
18
|
-
*/
|
|
19
|
-
export interface ListOption {
|
|
20
|
-
_getCheckboxPosition(): MatListOptionCheckboxPosition;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Injection token that can be used to reference instances of an `ListOption`. It serves
|
|
24
|
-
* as alternative token to an actual implementation which could result in undesired
|
|
25
|
-
* retention of the class or circular references breaking runtime execution.
|
|
26
|
-
* @docs-private
|
|
27
|
-
*/
|
|
28
|
-
export declare const LIST_OPTION: InjectionToken<ListOption>;
|
|
@@ -1,98 +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 { SelectionModel } from '@angular/cdk/collections';
|
|
10
|
-
import { Platform } from '@angular/cdk/platform';
|
|
11
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
12
|
-
import { RippleGlobalOptions, ThemePalette } from '@angular/material-experimental/mdc-core';
|
|
13
|
-
import { MatListBase, MatListItemBase } from './list-base';
|
|
14
|
-
import { ListOption, MatListOptionCheckboxPosition } from './list-option-types';
|
|
15
|
-
import { MatListItemLine, MatListItemTitle } from './list-item-sections';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
/**
|
|
18
|
-
* Injection token that can be used to reference instances of an `SelectionList`. It serves
|
|
19
|
-
* as alternative token to an actual implementation which would result in circular references.
|
|
20
|
-
* @docs-private
|
|
21
|
-
*/
|
|
22
|
-
export declare const SELECTION_LIST: InjectionToken<SelectionList>;
|
|
23
|
-
/**
|
|
24
|
-
* Interface describing the containing list of an list option. This is used to avoid
|
|
25
|
-
* circular dependencies between the list-option and the selection list.
|
|
26
|
-
* @docs-private
|
|
27
|
-
*/
|
|
28
|
-
export interface SelectionList extends MatListBase {
|
|
29
|
-
multiple: boolean;
|
|
30
|
-
color: ThemePalette;
|
|
31
|
-
selectedOptions: SelectionModel<MatListOption>;
|
|
32
|
-
compareWith: (o1: any, o2: any) => boolean;
|
|
33
|
-
_value: string[] | null;
|
|
34
|
-
_reportValueChange: () => void;
|
|
35
|
-
_onTouched: () => void;
|
|
36
|
-
}
|
|
37
|
-
export declare class MatListOption extends MatListItemBase implements ListOption, OnInit, OnDestroy {
|
|
38
|
-
_selectionList: SelectionList;
|
|
39
|
-
private _changeDetectorRef;
|
|
40
|
-
_lines: QueryList<MatListItemLine>;
|
|
41
|
-
_titles: QueryList<MatListItemTitle>;
|
|
42
|
-
_unscopedContent: ElementRef<HTMLSpanElement>;
|
|
43
|
-
_itemText: ElementRef<HTMLElement>;
|
|
44
|
-
/**
|
|
45
|
-
* Emits when the selected state of the option has changed.
|
|
46
|
-
* Use to facilitate two-data binding to the `selected` property.
|
|
47
|
-
* @docs-private
|
|
48
|
-
*/
|
|
49
|
-
readonly selectedChange: EventEmitter<boolean>;
|
|
50
|
-
/** Whether the label should appear before or after the checkbox. Defaults to 'after' */
|
|
51
|
-
checkboxPosition: MatListOptionCheckboxPosition;
|
|
52
|
-
/** Theme color of the list option. This sets the color of the checkbox. */
|
|
53
|
-
get color(): ThemePalette;
|
|
54
|
-
set color(newValue: ThemePalette);
|
|
55
|
-
private _color;
|
|
56
|
-
/** Value of the option */
|
|
57
|
-
get value(): any;
|
|
58
|
-
set value(newValue: any);
|
|
59
|
-
private _value;
|
|
60
|
-
/** Whether the option is selected. */
|
|
61
|
-
get selected(): boolean;
|
|
62
|
-
set selected(value: BooleanInput);
|
|
63
|
-
private _selected;
|
|
64
|
-
/**
|
|
65
|
-
* This is set to true after the first OnChanges cycle so we don't
|
|
66
|
-
* clear the value of `selected` in the first cycle.
|
|
67
|
-
*/
|
|
68
|
-
private _inputsInitialized;
|
|
69
|
-
constructor(element: ElementRef, ngZone: NgZone, platform: Platform, _selectionList: SelectionList, _changeDetectorRef: ChangeDetectorRef, globalRippleOptions?: RippleGlobalOptions, animationMode?: string);
|
|
70
|
-
ngOnInit(): void;
|
|
71
|
-
ngOnDestroy(): void;
|
|
72
|
-
/** Toggles the selection state of the option. */
|
|
73
|
-
toggle(): void;
|
|
74
|
-
/** Allows for programmatic focusing of the option. */
|
|
75
|
-
focus(): void;
|
|
76
|
-
/** Whether a checkbox is shown at the given position. */
|
|
77
|
-
_hasCheckboxAt(position: MatListOptionCheckboxPosition): boolean;
|
|
78
|
-
/** Whether icons or avatars are shown at the given position. */
|
|
79
|
-
_hasIconsOrAvatarsAt(position: 'before' | 'after'): boolean;
|
|
80
|
-
/** Gets whether the given type of element is projected at the specified position. */
|
|
81
|
-
_hasProjected(type: 'icons' | 'avatars', position: 'before' | 'after'): boolean;
|
|
82
|
-
_handleBlur(): void;
|
|
83
|
-
/** Gets the current position of the checkbox. */
|
|
84
|
-
_getCheckboxPosition(): MatListOptionCheckboxPosition;
|
|
85
|
-
/**
|
|
86
|
-
* Sets the selected state of the option.
|
|
87
|
-
* @returns Whether the value has changed.
|
|
88
|
-
*/
|
|
89
|
-
_setSelected(selected: boolean): boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Notifies Angular that the option needs to be checked in the next change detection run.
|
|
92
|
-
* Mainly used to trigger an update of the list option if the disabled state of the selection
|
|
93
|
-
* list changed.
|
|
94
|
-
*/
|
|
95
|
-
_markForCheck(): void;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListOption, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatListOption, "mat-list-option", ["matListOption"], { "checkboxPosition": "checkboxPosition"; "color": "color"; "value": "value"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, ["_lines", "_titles"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "mat-divider"], false>;
|
|
98
|
-
}
|
package/mdc-list/list.d.ts
DELETED
|
@@ -1,31 +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, QueryList } from '@angular/core';
|
|
10
|
-
import { RippleGlobalOptions } from '@angular/material-experimental/mdc-core';
|
|
11
|
-
import { MatListBase, MatListItemBase } from './list-base';
|
|
12
|
-
import { MatListItemLine, MatListItemMeta, MatListItemTitle } from './list-item-sections';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class MatList extends MatListBase {
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatList, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatList, "mat-list", ["matList"], {}, {}, never, ["*"], false>;
|
|
17
|
-
}
|
|
18
|
-
export declare class MatListItem extends MatListItemBase {
|
|
19
|
-
_lines: QueryList<MatListItemLine>;
|
|
20
|
-
_titles: QueryList<MatListItemTitle>;
|
|
21
|
-
_meta: QueryList<MatListItemMeta>;
|
|
22
|
-
_unscopedContent: ElementRef<HTMLSpanElement>;
|
|
23
|
-
_itemText: ElementRef<HTMLElement>;
|
|
24
|
-
/** Indicates whether an item in a `<mat-nav-list>` is the currently active page. */
|
|
25
|
-
get activated(): boolean;
|
|
26
|
-
set activated(activated: boolean);
|
|
27
|
-
_activated: boolean;
|
|
28
|
-
constructor(element: ElementRef, ngZone: NgZone, listBase: MatListBase, platform: Platform, globalRippleOptions?: RippleGlobalOptions, animationMode?: string);
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItem, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], { "activated": "activated"; }, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"], false>;
|
|
31
|
-
}
|
package/mdc-list/module.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./list";
|
|
3
|
-
import * as i2 from "./action-list";
|
|
4
|
-
import * as i3 from "./nav-list";
|
|
5
|
-
import * as i4 from "./selection-list";
|
|
6
|
-
import * as i5 from "./list-option";
|
|
7
|
-
import * as i6 from "./subheader";
|
|
8
|
-
import * as i7 from "./list-item-sections";
|
|
9
|
-
import * as i8 from "@angular/cdk/observers";
|
|
10
|
-
import * as i9 from "@angular/common";
|
|
11
|
-
import * as i10 from "@angular/material-experimental/mdc-core";
|
|
12
|
-
import * as i11 from "@angular/material/divider";
|
|
13
|
-
export declare class MatListModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatListModule, [typeof i1.MatList, typeof i2.MatActionList, typeof i3.MatNavList, typeof i4.MatSelectionList, typeof i1.MatListItem, typeof i5.MatListOption, typeof i6.MatListSubheaderCssMatStyler, typeof i7.MatListItemAvatar, typeof i7.MatListItemIcon, typeof i7.MatListItemLine, typeof i7.MatListItemTitle, typeof i7.MatListItemMeta], [typeof i8.ObserversModule, typeof i9.CommonModule, typeof i10.MatCommonModule, typeof i10.MatRippleModule, typeof i10.MatPseudoCheckboxModule], [typeof i1.MatList, typeof i2.MatActionList, typeof i3.MatNavList, typeof i4.MatSelectionList, typeof i1.MatListItem, typeof i5.MatListOption, typeof i7.MatListItemAvatar, typeof i7.MatListItemIcon, typeof i6.MatListSubheaderCssMatStyler, typeof i11.MatDividerModule, typeof i7.MatListItemLine, typeof i7.MatListItemTitle, typeof i7.MatListItemMeta]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatListModule>;
|
|
17
|
-
}
|
package/mdc-list/nav-list.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MatListBase } from './list-base';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MatNavList extends MatListBase {
|
|
4
|
-
_isNonInteractive: boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatNavList, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatNavList, "mat-nav-list", ["matNavList"], {}, {}, never, ["*"], false>;
|
|
7
|
-
}
|
package/mdc-list/package.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@angular/material-experimental/mdc-list",
|
|
3
|
-
"fesm2020": "../fesm2020/mdc-list.mjs",
|
|
4
|
-
"fesm2015": "../fesm2015/mdc-list.mjs",
|
|
5
|
-
"esm2020": "../esm2020/mdc-list/mdc-list_public_index.mjs",
|
|
6
|
-
"typings": "./mdc-list_public_index.d.ts",
|
|
7
|
-
"module": "../fesm2015/mdc-list.mjs",
|
|
8
|
-
"es2020": "../fesm2020/mdc-list.mjs"
|
|
9
|
-
}
|
package/mdc-list/public-api.d.ts
DELETED
|
@@ -1,18 +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 './action-list';
|
|
9
|
-
export * from './list';
|
|
10
|
-
export * from './module';
|
|
11
|
-
export * from './nav-list';
|
|
12
|
-
export * from './selection-list';
|
|
13
|
-
export * from './list-option';
|
|
14
|
-
export * from './subheader';
|
|
15
|
-
export * from './list-item-sections';
|
|
16
|
-
export { MatListOptionCheckboxPosition } from './list-option-types';
|
|
17
|
-
export { MatListOption } from './list-option';
|
|
18
|
-
export { MAT_LIST, MAT_NAV_LIST, MAT_SELECTION_LIST_VALUE_ACCESSOR } from '@angular/material/list';
|
|
@@ -1,118 +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 { SelectionModel } from '@angular/cdk/collections';
|
|
10
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
11
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
12
|
-
import { ThemePalette } from '@angular/material-experimental/mdc-core';
|
|
13
|
-
import { MatInteractiveListBase } from './interactive-list-base';
|
|
14
|
-
import { MatListOption, SelectionList } from './list-option';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/** Change event that is being fired whenever the selected state of an option changes. */
|
|
17
|
-
export declare class MatSelectionListChange {
|
|
18
|
-
/** Reference to the selection list that emitted the event. */
|
|
19
|
-
source: MatSelectionList;
|
|
20
|
-
/**
|
|
21
|
-
* Reference to the option that has been changed.
|
|
22
|
-
* @deprecated Use `options` instead, because some events may change more than one option.
|
|
23
|
-
* @breaking-change 12.0.0
|
|
24
|
-
*/
|
|
25
|
-
option: MatListOption;
|
|
26
|
-
/** Reference to the options that have been changed. */
|
|
27
|
-
options: MatListOption[];
|
|
28
|
-
constructor(
|
|
29
|
-
/** Reference to the selection list that emitted the event. */
|
|
30
|
-
source: MatSelectionList,
|
|
31
|
-
/**
|
|
32
|
-
* Reference to the option that has been changed.
|
|
33
|
-
* @deprecated Use `options` instead, because some events may change more than one option.
|
|
34
|
-
* @breaking-change 12.0.0
|
|
35
|
-
*/
|
|
36
|
-
option: MatListOption,
|
|
37
|
-
/** Reference to the options that have been changed. */
|
|
38
|
-
options: MatListOption[]);
|
|
39
|
-
}
|
|
40
|
-
export declare class MatSelectionList extends MatInteractiveListBase<MatListOption> implements SelectionList, ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
41
|
-
private _multiple;
|
|
42
|
-
private _initialized;
|
|
43
|
-
_items: QueryList<MatListOption>;
|
|
44
|
-
/** Emits a change event whenever the selected state of an option changes. */
|
|
45
|
-
readonly selectionChange: EventEmitter<MatSelectionListChange>;
|
|
46
|
-
/** Theme color of the selection list. This sets the checkbox color for all list options. */
|
|
47
|
-
color: ThemePalette;
|
|
48
|
-
/**
|
|
49
|
-
* Function used for comparing an option against the selected value when determining which
|
|
50
|
-
* options should appear as selected. The first argument is the value of an options. The second
|
|
51
|
-
* one is a value from the selected value. A boolean must be returned.
|
|
52
|
-
*/
|
|
53
|
-
compareWith: (o1: any, o2: any) => boolean;
|
|
54
|
-
/** Whether selection is limited to one or multiple items (default multiple). */
|
|
55
|
-
get multiple(): boolean;
|
|
56
|
-
set multiple(value: BooleanInput);
|
|
57
|
-
/** The currently selected options. */
|
|
58
|
-
selectedOptions: SelectionModel<MatListOption>;
|
|
59
|
-
/** View to model callback that should be called whenever the selected options change. */
|
|
60
|
-
private _onChange;
|
|
61
|
-
/** Keeps track of the currently-selected value. */
|
|
62
|
-
_value: string[] | null;
|
|
63
|
-
/** Emits when the list has been destroyed. */
|
|
64
|
-
private _destroyed;
|
|
65
|
-
/** View to model callback that should be called if the list or its options lost focus. */
|
|
66
|
-
_onTouched: () => void;
|
|
67
|
-
/** Whether the list has been destroyed. */
|
|
68
|
-
private _isDestroyed;
|
|
69
|
-
constructor(element: ElementRef<HTMLElement>, document: any);
|
|
70
|
-
ngAfterViewInit(): void;
|
|
71
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
72
|
-
ngOnDestroy(): void;
|
|
73
|
-
/** Focuses the selection list. */
|
|
74
|
-
focus(options?: FocusOptions): void;
|
|
75
|
-
/** Selects all of the options. Returns the options that changed as a result. */
|
|
76
|
-
selectAll(): MatListOption[];
|
|
77
|
-
/** Deselects all of the options. Returns the options that changed as a result. */
|
|
78
|
-
deselectAll(): MatListOption[];
|
|
79
|
-
/** Reports a value change to the ControlValueAccessor */
|
|
80
|
-
_reportValueChange(): void;
|
|
81
|
-
/** Emits a change event if the selected state of an option changed. */
|
|
82
|
-
_emitChangeEvent(options: MatListOption[]): void;
|
|
83
|
-
/** Implemented as part of ControlValueAccessor. */
|
|
84
|
-
writeValue(values: string[]): void;
|
|
85
|
-
/** Implemented as a part of ControlValueAccessor. */
|
|
86
|
-
setDisabledState(isDisabled: boolean): void;
|
|
87
|
-
/** Implemented as part of ControlValueAccessor. */
|
|
88
|
-
registerOnChange(fn: (value: any) => void): void;
|
|
89
|
-
/** Implemented as part of ControlValueAccessor. */
|
|
90
|
-
registerOnTouched(fn: () => void): void;
|
|
91
|
-
/**
|
|
92
|
-
* Resets tabindex for all options and sets tabindex for the first selected option so that
|
|
93
|
-
* it will become active when users tab into the selection-list. This will be a noop if the
|
|
94
|
-
* list is currently focused as otherwise multiple options might become reachable through tab.
|
|
95
|
-
* e.g. A user currently already focused an option. We set tabindex to a new option but the
|
|
96
|
-
* focus on the current option does persist. Pressing `TAB` then might go to the other option
|
|
97
|
-
* that received a tabindex. We can skip the reset here as the MDC foundation resets the
|
|
98
|
-
* tabindex to the first selected option automatically once the current item is blurred.
|
|
99
|
-
*/
|
|
100
|
-
private _resetTabindexForItemsIfBlurred;
|
|
101
|
-
private _watchForSelectionChange;
|
|
102
|
-
private _syncSelectedOptionsWithFoundation;
|
|
103
|
-
/** Sets the selected options based on the specified values. */
|
|
104
|
-
private _setOptionsFromValues;
|
|
105
|
-
/** Returns the values of the selected options. */
|
|
106
|
-
private _getSelectedOptionValues;
|
|
107
|
-
/** Marks all the options to be checked in the next change detection run. */
|
|
108
|
-
private _markOptionsForCheck;
|
|
109
|
-
/**
|
|
110
|
-
* Sets the selected state on all of the options
|
|
111
|
-
* and emits an event if anything changed.
|
|
112
|
-
*/
|
|
113
|
-
private _setAllOptionsSelected;
|
|
114
|
-
/** The option components contained within this selection-list. */
|
|
115
|
-
get options(): QueryList<MatListOption>;
|
|
116
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectionList, never>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatSelectionList, "mat-selection-list", ["matSelectionList"], { "color": "color"; "compareWith": "compareWith"; "multiple": "multiple"; }, { "selectionChange": "selectionChange"; }, ["_items"], ["*"], false>;
|
|
118
|
-
}
|
package/mdc-list/subheader.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Directive whose purpose is to add the mat- CSS styling to this selector.
|
|
4
|
-
* @docs-private
|
|
5
|
-
*/
|
|
6
|
-
export declare class MatListSubheaderCssMatStyler {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatListSubheaderCssMatStyler, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListSubheaderCssMatStyler, "[mat-subheader], [matSubheader]", never, {}, {}, never, never, false>;
|
|
9
|
-
}
|
|
@@ -1,44 +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 { MatListHarnessBase } from './list-harness-base';
|
|
10
|
-
import { ActionListHarnessFilters, ActionListItemHarnessFilters } from './list-harness-filters';
|
|
11
|
-
import { MatListItemHarnessBase } from './list-item-harness-base';
|
|
12
|
-
/** Harness for interacting with a MDC-based action-list in tests. */
|
|
13
|
-
export declare class MatActionListHarness extends MatListHarnessBase<typeof MatActionListItemHarness, MatActionListItemHarness, ActionListItemHarnessFilters> {
|
|
14
|
-
/** The selector for the host element of a `MatActionList` instance. */
|
|
15
|
-
static hostSelector: string;
|
|
16
|
-
/**
|
|
17
|
-
* Gets a `HarnessPredicate` that can be used to search for a `MatActionListHarness` that meets
|
|
18
|
-
* certain criteria.
|
|
19
|
-
* @param options Options for filtering which action list instances are considered a match.
|
|
20
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
21
|
-
*/
|
|
22
|
-
static with(options?: ActionListHarnessFilters): HarnessPredicate<MatActionListHarness>;
|
|
23
|
-
_itemHarness: typeof MatActionListItemHarness;
|
|
24
|
-
}
|
|
25
|
-
/** Harness for interacting with an action list item. */
|
|
26
|
-
export declare class MatActionListItemHarness extends MatListItemHarnessBase {
|
|
27
|
-
/** The selector for the host element of a `MatListItem` instance. */
|
|
28
|
-
static hostSelector: string;
|
|
29
|
-
/**
|
|
30
|
-
* Gets a `HarnessPredicate` that can be used to search for a `MatActionListItemHarness` that
|
|
31
|
-
* meets certain criteria.
|
|
32
|
-
* @param options Options for filtering which action list item instances are considered a match.
|
|
33
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
34
|
-
*/
|
|
35
|
-
static with(options?: ActionListItemHarnessFilters): HarnessPredicate<MatActionListItemHarness>;
|
|
36
|
-
/** Clicks on the action list item. */
|
|
37
|
-
click(): Promise<void>;
|
|
38
|
-
/** Focuses the action list item. */
|
|
39
|
-
focus(): Promise<void>;
|
|
40
|
-
/** Blurs the action list item. */
|
|
41
|
-
blur(): Promise<void>;
|
|
42
|
-
/** Whether the action list item is focused. */
|
|
43
|
-
isFocused(): Promise<boolean>;
|
|
44
|
-
}
|
|
@@ -1,100 +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, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
|
|
9
|
-
import { DividerHarnessFilters, MatDividerHarness } from '@angular/material/divider/testing';
|
|
10
|
-
import { BaseListItemHarnessFilters, SubheaderHarnessFilters } from './list-harness-filters';
|
|
11
|
-
import { MatSubheaderHarness } from './list-item-harness-base';
|
|
12
|
-
/** Represents a section of a list falling under a specific header. */
|
|
13
|
-
export interface ListSection<I> {
|
|
14
|
-
/** The heading for this list section. `undefined` if there is no heading. */
|
|
15
|
-
heading?: string;
|
|
16
|
-
/** The items in this list section. */
|
|
17
|
-
items: I[];
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Shared behavior among the harnesses for the various `MatList` flavors.
|
|
21
|
-
* @template T A constructor type for a list item harness type used by this list harness.
|
|
22
|
-
* @template C The list item harness type that `T` constructs.
|
|
23
|
-
* @template F The filter type used filter list item harness of type `C`.
|
|
24
|
-
* @docs-private
|
|
25
|
-
*/
|
|
26
|
-
export declare abstract class MatListHarnessBase<T extends ComponentHarnessConstructor<C> & {
|
|
27
|
-
with: (options?: F) => HarnessPredicate<C>;
|
|
28
|
-
}, C extends ComponentHarness, F extends BaseListItemHarnessFilters> extends ComponentHarness {
|
|
29
|
-
protected _itemHarness: T;
|
|
30
|
-
/**
|
|
31
|
-
* Gets a list of harnesses representing the items in this list.
|
|
32
|
-
* @param filters Optional filters used to narrow which harnesses are included
|
|
33
|
-
* @return The list of items matching the given filters.
|
|
34
|
-
*/
|
|
35
|
-
getItems(filters?: F): Promise<C[]>;
|
|
36
|
-
/**
|
|
37
|
-
* Gets a list of `ListSection` representing the list items grouped by subheaders. If the list has
|
|
38
|
-
* no subheaders it is represented as a single `ListSection` with an undefined `heading` property.
|
|
39
|
-
* @param filters Optional filters used to narrow which list item harnesses are included
|
|
40
|
-
* @return The list of items matching the given filters, grouped into sections by subheader.
|
|
41
|
-
*/
|
|
42
|
-
getItemsGroupedBySubheader(filters?: F): Promise<ListSection<C>[]>;
|
|
43
|
-
/**
|
|
44
|
-
* Gets a list of sub-lists representing the list items grouped by dividers. If the list has no
|
|
45
|
-
* dividers it is represented as a list with a single sub-list.
|
|
46
|
-
* @param filters Optional filters used to narrow which list item harnesses are included
|
|
47
|
-
* @return The list of items matching the given filters, grouped into sub-lists by divider.
|
|
48
|
-
*/
|
|
49
|
-
getItemsGroupedByDividers(filters?: F): Promise<C[][]>;
|
|
50
|
-
/**
|
|
51
|
-
* Gets a list of harnesses representing all of the items, subheaders, and dividers
|
|
52
|
-
* (in the order they appear in the list). Use `instanceof` to check which type of harness a given
|
|
53
|
-
* item is.
|
|
54
|
-
* @param filters Optional filters used to narrow which list items, subheaders, and dividers are
|
|
55
|
-
* included. A value of `false` for the `item`, `subheader`, or `divider` properties indicates
|
|
56
|
-
* that the respective harness type should be omitted completely.
|
|
57
|
-
* @return The list of harnesses representing the items, subheaders, and dividers matching the
|
|
58
|
-
* given filters.
|
|
59
|
-
*/
|
|
60
|
-
getItemsWithSubheadersAndDividers(filters: {
|
|
61
|
-
item: false;
|
|
62
|
-
subheader: false;
|
|
63
|
-
divider: false;
|
|
64
|
-
}): Promise<[]>;
|
|
65
|
-
getItemsWithSubheadersAndDividers(filters: {
|
|
66
|
-
item?: F | false;
|
|
67
|
-
subheader: false;
|
|
68
|
-
divider: false;
|
|
69
|
-
}): Promise<C[]>;
|
|
70
|
-
getItemsWithSubheadersAndDividers(filters: {
|
|
71
|
-
item: false;
|
|
72
|
-
subheader?: SubheaderHarnessFilters | false;
|
|
73
|
-
divider: false;
|
|
74
|
-
}): Promise<MatSubheaderHarness[]>;
|
|
75
|
-
getItemsWithSubheadersAndDividers(filters: {
|
|
76
|
-
item: false;
|
|
77
|
-
subheader: false;
|
|
78
|
-
divider?: DividerHarnessFilters | false;
|
|
79
|
-
}): Promise<MatDividerHarness[]>;
|
|
80
|
-
getItemsWithSubheadersAndDividers(filters: {
|
|
81
|
-
item?: F | false;
|
|
82
|
-
subheader?: SubheaderHarnessFilters | false;
|
|
83
|
-
divider: false;
|
|
84
|
-
}): Promise<(C | MatSubheaderHarness)[]>;
|
|
85
|
-
getItemsWithSubheadersAndDividers(filters: {
|
|
86
|
-
item?: F | false;
|
|
87
|
-
subheader: false;
|
|
88
|
-
divider?: false | DividerHarnessFilters;
|
|
89
|
-
}): Promise<(C | MatDividerHarness)[]>;
|
|
90
|
-
getItemsWithSubheadersAndDividers(filters: {
|
|
91
|
-
item: false;
|
|
92
|
-
subheader?: false | SubheaderHarnessFilters;
|
|
93
|
-
divider?: false | DividerHarnessFilters;
|
|
94
|
-
}): Promise<(MatSubheaderHarness | MatDividerHarness)[]>;
|
|
95
|
-
getItemsWithSubheadersAndDividers(filters?: {
|
|
96
|
-
item?: F | false;
|
|
97
|
-
subheader?: SubheaderHarnessFilters | false;
|
|
98
|
-
divider?: DividerHarnessFilters | false;
|
|
99
|
-
}): Promise<(C | MatSubheaderHarness | MatDividerHarness)[]>;
|
|
100
|
-
}
|
|
@@ -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 { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
9
|
-
export interface ListHarnessFilters extends BaseHarnessFilters {
|
|
10
|
-
}
|
|
11
|
-
export interface ActionListHarnessFilters extends BaseHarnessFilters {
|
|
12
|
-
}
|
|
13
|
-
export interface NavListHarnessFilters extends BaseHarnessFilters {
|
|
14
|
-
}
|
|
15
|
-
export interface SelectionListHarnessFilters extends BaseHarnessFilters {
|
|
16
|
-
}
|
|
17
|
-
export interface BaseListItemHarnessFilters extends BaseHarnessFilters {
|
|
18
|
-
title?: string | RegExp;
|
|
19
|
-
secondaryText?: string | RegExp | null;
|
|
20
|
-
tertiaryText?: string | RegExp | null;
|
|
21
|
-
fullText?: string | RegExp;
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated Use the `fullText` filter instead.
|
|
24
|
-
* @breaking-change 16.0.0
|
|
25
|
-
*/
|
|
26
|
-
text?: string | RegExp;
|
|
27
|
-
}
|
|
28
|
-
export interface ListItemHarnessFilters extends BaseListItemHarnessFilters {
|
|
29
|
-
}
|
|
30
|
-
export interface ActionListItemHarnessFilters extends BaseListItemHarnessFilters {
|
|
31
|
-
}
|
|
32
|
-
export interface NavListItemHarnessFilters extends BaseListItemHarnessFilters {
|
|
33
|
-
href?: string | RegExp | null;
|
|
34
|
-
}
|
|
35
|
-
export interface ListOptionHarnessFilters extends BaseListItemHarnessFilters {
|
|
36
|
-
selected?: boolean;
|
|
37
|
-
}
|
|
38
|
-
export interface SubheaderHarnessFilters extends BaseHarnessFilters {
|
|
39
|
-
text?: string | RegExp;
|
|
40
|
-
}
|
|
@@ -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 { HarnessPredicate } from '@angular/cdk/testing';
|
|
9
|
-
import { MatListHarnessBase } from './list-harness-base';
|
|
10
|
-
import { ListHarnessFilters, ListItemHarnessFilters } from './list-harness-filters';
|
|
11
|
-
import { MatListItemHarnessBase } from './list-item-harness-base';
|
|
12
|
-
/** Harness for interacting with a MDC-based list in tests. */
|
|
13
|
-
export declare class MatListHarness extends MatListHarnessBase<typeof MatListItemHarness, MatListItemHarness, ListItemHarnessFilters> {
|
|
14
|
-
/** The selector for the host element of a `MatList` instance. */
|
|
15
|
-
static hostSelector: string;
|
|
16
|
-
/**
|
|
17
|
-
* Gets a `HarnessPredicate` that can be used to search for a `MatListHarness` that meets certain
|
|
18
|
-
* criteria.
|
|
19
|
-
* @param options Options for filtering which list instances are considered a match.
|
|
20
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
21
|
-
*/
|
|
22
|
-
static with(options?: ListHarnessFilters): HarnessPredicate<MatListHarness>;
|
|
23
|
-
_itemHarness: typeof MatListItemHarness;
|
|
24
|
-
}
|
|
25
|
-
/** Harness for interacting with a list item. */
|
|
26
|
-
export declare class MatListItemHarness extends MatListItemHarnessBase {
|
|
27
|
-
/** The selector for the host element of a `MatListItem` instance. */
|
|
28
|
-
static hostSelector: string;
|
|
29
|
-
/**
|
|
30
|
-
* Gets a `HarnessPredicate` that can be used to search for a `MatListItemHarness` that meets
|
|
31
|
-
* certain criteria.
|
|
32
|
-
* @param options Options for filtering which list item instances are considered a match.
|
|
33
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
34
|
-
*/
|
|
35
|
-
static with(options?: ListItemHarnessFilters): HarnessPredicate<MatListItemHarness>;
|
|
36
|
-
}
|
|
@@ -1,79 +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, ComponentHarnessConstructor, ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
9
|
-
import { BaseListItemHarnessFilters, SubheaderHarnessFilters } from './list-harness-filters';
|
|
10
|
-
/**
|
|
11
|
-
* Gets a `HarnessPredicate` that applies the given `BaseListItemHarnessFilters` to the given
|
|
12
|
-
* list item harness.
|
|
13
|
-
* @template H The type of list item harness to create a predicate for.
|
|
14
|
-
* @param harnessType A constructor for a list item harness.
|
|
15
|
-
* @param options An instance of `BaseListItemHarnessFilters` to apply.
|
|
16
|
-
* @return A `HarnessPredicate` for the given harness type with the given options applied.
|
|
17
|
-
*/
|
|
18
|
-
export declare function getListItemPredicate<H extends MatListItemHarnessBase>(harnessType: ComponentHarnessConstructor<H>, options: BaseListItemHarnessFilters): HarnessPredicate<H>;
|
|
19
|
-
/** Harness for interacting with a MDC-based list subheader. */
|
|
20
|
-
export declare class MatSubheaderHarness extends ComponentHarness {
|
|
21
|
-
static hostSelector: string;
|
|
22
|
-
static with(options?: SubheaderHarnessFilters): HarnessPredicate<MatSubheaderHarness>;
|
|
23
|
-
/** Gets the full text content of the list item (including text from any font icons). */
|
|
24
|
-
getText(): Promise<string>;
|
|
25
|
-
}
|
|
26
|
-
/** Selectors for the various list item sections that may contain user content. */
|
|
27
|
-
export declare const enum MatListItemSection {
|
|
28
|
-
CONTENT = ".mdc-list-item__content"
|
|
29
|
-
}
|
|
30
|
-
/** Enum describing the possible variants of a list item. */
|
|
31
|
-
export declare const enum MatListItemType {
|
|
32
|
-
ONE_LINE_ITEM = 0,
|
|
33
|
-
TWO_LINE_ITEM = 1,
|
|
34
|
-
THREE_LINE_ITEM = 2
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Shared behavior among the harnesses for the various `MatListItem` flavors.
|
|
38
|
-
* @docs-private
|
|
39
|
-
*/
|
|
40
|
-
export declare abstract class MatListItemHarnessBase extends ContentContainerComponentHarness<MatListItemSection> {
|
|
41
|
-
private _lines;
|
|
42
|
-
private _primaryText;
|
|
43
|
-
private _avatar;
|
|
44
|
-
private _icon;
|
|
45
|
-
private _unscopedTextContent;
|
|
46
|
-
/** Gets the type of the list item, currently describing how many lines there are. */
|
|
47
|
-
getType(): Promise<MatListItemType>;
|
|
48
|
-
/**
|
|
49
|
-
* Gets the full text content of the list item, excluding text
|
|
50
|
-
* from icons and avatars.
|
|
51
|
-
*
|
|
52
|
-
* @deprecated Use the `getFullText` method instead.
|
|
53
|
-
* @breaking-change 16.0.0
|
|
54
|
-
*/
|
|
55
|
-
getText(): Promise<string>;
|
|
56
|
-
/**
|
|
57
|
-
* Gets the full text content of the list item, excluding text
|
|
58
|
-
* from icons and avatars.
|
|
59
|
-
*/
|
|
60
|
-
getFullText(): Promise<string>;
|
|
61
|
-
/** Gets the title of the list item. */
|
|
62
|
-
getTitle(): Promise<string>;
|
|
63
|
-
/** Whether the list item is disabled. */
|
|
64
|
-
isDisabled(): Promise<boolean>;
|
|
65
|
-
/**
|
|
66
|
-
* Gets the secondary line text of the list item. Null if the list item
|
|
67
|
-
* does not have a secondary line.
|
|
68
|
-
*/
|
|
69
|
-
getSecondaryText(): Promise<string | null>;
|
|
70
|
-
/**
|
|
71
|
-
* Gets the tertiary line text of the list item. Null if the list item
|
|
72
|
-
* does not have a tertiary line.
|
|
73
|
-
*/
|
|
74
|
-
getTertiaryText(): Promise<string | null>;
|
|
75
|
-
/** Whether this list item has an avatar. */
|
|
76
|
-
hasAvatar(): Promise<boolean>;
|
|
77
|
-
/** Whether this list item has an icon. */
|
|
78
|
-
hasIcon(): Promise<boolean>;
|
|
79
|
-
}
|