@angular/material-experimental 14.0.0-next.10 → 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 +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-button/button-base.mjs +7 -7
- package/esm2020/mdc-button/button.mjs +7 -7
- package/esm2020/mdc-button/fab.mjs +13 -13
- package/esm2020/mdc-button/icon-button.mjs +7 -7
- package/esm2020/mdc-button/module.mjs +5 -5
- package/esm2020/mdc-card/card.mjs +43 -43
- package/esm2020/mdc-card/module.mjs +5 -5
- package/esm2020/mdc-checkbox/checkbox.mjs +4 -4
- package/esm2020/mdc-checkbox/module.mjs +5 -5
- package/esm2020/mdc-chips/chip-action.mjs +4 -4
- package/esm2020/mdc-chips/chip-edit-input.mjs +4 -4
- package/esm2020/mdc-chips/chip-grid.mjs +4 -4
- package/esm2020/mdc-chips/chip-icons.mjs +10 -10
- package/esm2020/mdc-chips/chip-input.mjs +4 -4
- package/esm2020/mdc-chips/chip-listbox.mjs +4 -4
- package/esm2020/mdc-chips/chip-option.mjs +7 -7
- package/esm2020/mdc-chips/chip-row.mjs +4 -4
- package/esm2020/mdc-chips/chip-set.mjs +4 -4
- package/esm2020/mdc-chips/chip.mjs +7 -7
- package/esm2020/mdc-chips/module.mjs +6 -6
- 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 +4 -4
- package/esm2020/mdc-dialog/dialog-container.mjs +17 -15
- 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-form-field/directives/error.mjs +4 -4
- package/esm2020/mdc-form-field/directives/floating-label.mjs +4 -4
- 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 +4 -4
- package/esm2020/mdc-form-field/directives/notched-outline.mjs +4 -4
- 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 +10 -10
- package/esm2020/mdc-form-field/module.mjs +5 -5
- package/esm2020/mdc-input/input.mjs +4 -4
- package/esm2020/mdc-input/module.mjs +5 -5
- package/esm2020/mdc-list/action-list.mjs +4 -4
- package/esm2020/mdc-list/interactive-list-base.mjs +4 -4
- package/esm2020/mdc-list/list-base.mjs +7 -7
- package/esm2020/mdc-list/list-item-sections.mjs +19 -19
- package/esm2020/mdc-list/list-option.mjs +7 -7
- package/esm2020/mdc-list/list.mjs +7 -7
- package/esm2020/mdc-list/module.mjs +9 -11
- package/esm2020/mdc-list/nav-list.mjs +4 -4
- package/esm2020/mdc-list/selection-list.mjs +4 -4
- package/esm2020/mdc-list/subheader.mjs +4 -4
- package/esm2020/mdc-menu/directives.mjs +7 -7
- package/esm2020/mdc-menu/menu-item.mjs +6 -6
- package/esm2020/mdc-menu/menu.mjs +4 -4
- package/esm2020/mdc-menu/module.mjs +5 -5
- package/esm2020/mdc-paginator/module.mjs +5 -5
- package/esm2020/mdc-paginator/paginator.mjs +9 -9
- package/esm2020/mdc-progress-bar/module.mjs +5 -5
- package/esm2020/mdc-progress-bar/progress-bar.mjs +4 -4
- package/esm2020/mdc-progress-spinner/module.mjs +5 -5
- package/esm2020/mdc-progress-spinner/progress-spinner.mjs +4 -4
- package/esm2020/mdc-radio/module.mjs +5 -5
- package/esm2020/mdc-radio/radio.mjs +7 -7
- package/esm2020/mdc-select/module.mjs +5 -5
- package/esm2020/mdc-select/select.mjs +10 -11
- package/esm2020/mdc-slide-toggle/module.mjs +5 -5
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +4 -4
- 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 +12 -12
- 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 +50 -31
- package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
- package/esm2020/mdc-snack-bar/snack-bar.mjs +4 -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/text-column.mjs +5 -5
- 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 +12 -12
- package/esm2020/mdc-tabs/tab-header.mjs +4 -4
- package/esm2020/mdc-tabs/tab-label-wrapper.mjs +4 -4
- package/esm2020/mdc-tabs/tab-label.mjs +4 -4
- package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +10 -10
- package/esm2020/mdc-tabs/tab.mjs +4 -4
- package/esm2020/mdc-tooltip/module.mjs +5 -5
- package/esm2020/mdc-tooltip/tooltip.mjs +7 -7
- package/esm2020/menubar/menubar-item.mjs +5 -5
- package/esm2020/menubar/menubar-module.mjs +6 -6
- package/esm2020/menubar/menubar.mjs +5 -5
- 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.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 +44 -44
- 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 +33 -33
- 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 +58 -60
- package/fesm2015/mdc-list.mjs.map +1 -1
- package/fesm2015/mdc-menu.mjs +17 -17
- package/fesm2015/mdc-menu.mjs.map +1 -1
- package/fesm2015/mdc-paginator.mjs +12 -12
- package/fesm2015/mdc-paginator.mjs.map +1 -1
- package/fesm2015/mdc-progress-bar.mjs +7 -7
- package/fesm2015/mdc-progress-bar.mjs.map +1 -1
- 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 +13 -14
- 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 +18 -18
- package/fesm2015/mdc-slider.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar.mjs +74 -55
- package/fesm2015/mdc-snack-bar.mjs.map +1 -1
- package/fesm2015/mdc-table.mjs +58 -58
- package/fesm2015/mdc-table.mjs.map +1 -1
- package/fesm2015/mdc-tabs.mjs +45 -47
- 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 +11 -11
- 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.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 +44 -44
- 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 +33 -33
- 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 +58 -60
- package/fesm2020/mdc-list.mjs.map +1 -1
- package/fesm2020/mdc-menu.mjs +17 -17
- package/fesm2020/mdc-menu.mjs.map +1 -1
- package/fesm2020/mdc-paginator.mjs +12 -12
- package/fesm2020/mdc-paginator.mjs.map +1 -1
- package/fesm2020/mdc-progress-bar.mjs +7 -7
- package/fesm2020/mdc-progress-bar.mjs.map +1 -1
- 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 +13 -14
- 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 +18 -18
- package/fesm2020/mdc-slider.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar.mjs +74 -55
- package/fesm2020/mdc-snack-bar.mjs.map +1 -1
- package/fesm2020/mdc-table.mjs +58 -58
- package/fesm2020/mdc-table.mjs.map +1 -1
- package/fesm2020/mdc-tabs.mjs +45 -47
- 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 +11 -11
- 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 +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 +33 -33
- 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 -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,8 +1,371 @@
|
|
|
1
|
+
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
2
|
+
import { ComponentHarness } from '@angular/cdk/testing';
|
|
3
|
+
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
4
|
+
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
5
|
+
import { DividerHarnessFilters } from '@angular/material/divider/testing';
|
|
6
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
7
|
+
import { MatDividerHarness } from '@angular/material/divider/testing';
|
|
8
|
+
import { MatListOptionCheckboxPosition } from '@angular/material-experimental/mdc-list';
|
|
9
|
+
|
|
10
|
+
export declare interface ActionListHarnessFilters extends BaseHarnessFilters {
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export declare interface ActionListItemHarnessFilters extends BaseListItemHarnessFilters {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export declare interface BaseListItemHarnessFilters extends BaseHarnessFilters {
|
|
17
|
+
title?: string | RegExp;
|
|
18
|
+
secondaryText?: string | RegExp | null;
|
|
19
|
+
tertiaryText?: string | RegExp | null;
|
|
20
|
+
fullText?: string | RegExp;
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use the `fullText` filter instead.
|
|
23
|
+
* @breaking-change 16.0.0
|
|
24
|
+
*/
|
|
25
|
+
text?: string | RegExp;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export declare interface ListHarnessFilters extends BaseHarnessFilters {
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export declare interface ListItemHarnessFilters extends BaseListItemHarnessFilters {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export declare interface ListOptionHarnessFilters extends BaseListItemHarnessFilters {
|
|
35
|
+
selected?: boolean;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** Represents a section of a list falling under a specific header. */
|
|
39
|
+
declare interface ListSection<I> {
|
|
40
|
+
/** The heading for this list section. `undefined` if there is no heading. */
|
|
41
|
+
heading?: string;
|
|
42
|
+
/** The items in this list section. */
|
|
43
|
+
items: I[];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** Harness for interacting with a MDC-based action-list in tests. */
|
|
47
|
+
export declare class MatActionListHarness extends MatListHarnessBase<typeof MatActionListItemHarness, MatActionListItemHarness, ActionListItemHarnessFilters> {
|
|
48
|
+
/** The selector for the host element of a `MatActionList` instance. */
|
|
49
|
+
static hostSelector: string;
|
|
50
|
+
/**
|
|
51
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatActionListHarness` that meets
|
|
52
|
+
* certain criteria.
|
|
53
|
+
* @param options Options for filtering which action list instances are considered a match.
|
|
54
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
55
|
+
*/
|
|
56
|
+
static with(options?: ActionListHarnessFilters): HarnessPredicate<MatActionListHarness>;
|
|
57
|
+
_itemHarness: typeof MatActionListItemHarness;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** Harness for interacting with an action list item. */
|
|
61
|
+
export declare class MatActionListItemHarness extends MatListItemHarnessBase {
|
|
62
|
+
/** The selector for the host element of a `MatListItem` instance. */
|
|
63
|
+
static hostSelector: string;
|
|
64
|
+
/**
|
|
65
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatActionListItemHarness` that
|
|
66
|
+
* meets certain criteria.
|
|
67
|
+
* @param options Options for filtering which action list item instances are considered a match.
|
|
68
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
69
|
+
*/
|
|
70
|
+
static with(options?: ActionListItemHarnessFilters): HarnessPredicate<MatActionListItemHarness>;
|
|
71
|
+
/** Clicks on the action list item. */
|
|
72
|
+
click(): Promise<void>;
|
|
73
|
+
/** Focuses the action list item. */
|
|
74
|
+
focus(): Promise<void>;
|
|
75
|
+
/** Blurs the action list item. */
|
|
76
|
+
blur(): Promise<void>;
|
|
77
|
+
/** Whether the action list item is focused. */
|
|
78
|
+
isFocused(): Promise<boolean>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/** Harness for interacting with a MDC-based list in tests. */
|
|
82
|
+
export declare class MatListHarness extends MatListHarnessBase<typeof MatListItemHarness, MatListItemHarness, ListItemHarnessFilters> {
|
|
83
|
+
/** The selector for the host element of a `MatList` instance. */
|
|
84
|
+
static hostSelector: string;
|
|
85
|
+
/**
|
|
86
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatListHarness` that meets certain
|
|
87
|
+
* criteria.
|
|
88
|
+
* @param options Options for filtering which list instances are considered a match.
|
|
89
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
90
|
+
*/
|
|
91
|
+
static with(options?: ListHarnessFilters): HarnessPredicate<MatListHarness>;
|
|
92
|
+
_itemHarness: typeof MatListItemHarness;
|
|
93
|
+
}
|
|
94
|
+
|
|
1
95
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
96
|
+
* Shared behavior among the harnesses for the various `MatList` flavors.
|
|
97
|
+
* @template T A constructor type for a list item harness type used by this list harness.
|
|
98
|
+
* @template C The list item harness type that `T` constructs.
|
|
99
|
+
* @template F The filter type used filter list item harness of type `C`.
|
|
100
|
+
* @docs-private
|
|
7
101
|
*/
|
|
8
|
-
|
|
102
|
+
declare abstract class MatListHarnessBase<T extends ComponentHarnessConstructor<C> & {
|
|
103
|
+
with: (options?: F) => HarnessPredicate<C>;
|
|
104
|
+
}, C extends ComponentHarness, F extends BaseListItemHarnessFilters> extends ComponentHarness {
|
|
105
|
+
protected _itemHarness: T;
|
|
106
|
+
/**
|
|
107
|
+
* Gets a list of harnesses representing the items in this list.
|
|
108
|
+
* @param filters Optional filters used to narrow which harnesses are included
|
|
109
|
+
* @return The list of items matching the given filters.
|
|
110
|
+
*/
|
|
111
|
+
getItems(filters?: F): Promise<C[]>;
|
|
112
|
+
/**
|
|
113
|
+
* Gets a list of `ListSection` representing the list items grouped by subheaders. If the list has
|
|
114
|
+
* no subheaders it is represented as a single `ListSection` with an undefined `heading` property.
|
|
115
|
+
* @param filters Optional filters used to narrow which list item harnesses are included
|
|
116
|
+
* @return The list of items matching the given filters, grouped into sections by subheader.
|
|
117
|
+
*/
|
|
118
|
+
getItemsGroupedBySubheader(filters?: F): Promise<ListSection<C>[]>;
|
|
119
|
+
/**
|
|
120
|
+
* Gets a list of sub-lists representing the list items grouped by dividers. If the list has no
|
|
121
|
+
* dividers it is represented as a list with a single sub-list.
|
|
122
|
+
* @param filters Optional filters used to narrow which list item harnesses are included
|
|
123
|
+
* @return The list of items matching the given filters, grouped into sub-lists by divider.
|
|
124
|
+
*/
|
|
125
|
+
getItemsGroupedByDividers(filters?: F): Promise<C[][]>;
|
|
126
|
+
/**
|
|
127
|
+
* Gets a list of harnesses representing all of the items, subheaders, and dividers
|
|
128
|
+
* (in the order they appear in the list). Use `instanceof` to check which type of harness a given
|
|
129
|
+
* item is.
|
|
130
|
+
* @param filters Optional filters used to narrow which list items, subheaders, and dividers are
|
|
131
|
+
* included. A value of `false` for the `item`, `subheader`, or `divider` properties indicates
|
|
132
|
+
* that the respective harness type should be omitted completely.
|
|
133
|
+
* @return The list of harnesses representing the items, subheaders, and dividers matching the
|
|
134
|
+
* given filters.
|
|
135
|
+
*/
|
|
136
|
+
getItemsWithSubheadersAndDividers(filters: {
|
|
137
|
+
item: false;
|
|
138
|
+
subheader: false;
|
|
139
|
+
divider: false;
|
|
140
|
+
}): Promise<[]>;
|
|
141
|
+
getItemsWithSubheadersAndDividers(filters: {
|
|
142
|
+
item?: F | false;
|
|
143
|
+
subheader: false;
|
|
144
|
+
divider: false;
|
|
145
|
+
}): Promise<C[]>;
|
|
146
|
+
getItemsWithSubheadersAndDividers(filters: {
|
|
147
|
+
item: false;
|
|
148
|
+
subheader?: SubheaderHarnessFilters | false;
|
|
149
|
+
divider: false;
|
|
150
|
+
}): Promise<MatSubheaderHarness[]>;
|
|
151
|
+
getItemsWithSubheadersAndDividers(filters: {
|
|
152
|
+
item: false;
|
|
153
|
+
subheader: false;
|
|
154
|
+
divider?: DividerHarnessFilters | false;
|
|
155
|
+
}): Promise<MatDividerHarness[]>;
|
|
156
|
+
getItemsWithSubheadersAndDividers(filters: {
|
|
157
|
+
item?: F | false;
|
|
158
|
+
subheader?: SubheaderHarnessFilters | false;
|
|
159
|
+
divider: false;
|
|
160
|
+
}): Promise<(C | MatSubheaderHarness)[]>;
|
|
161
|
+
getItemsWithSubheadersAndDividers(filters: {
|
|
162
|
+
item?: F | false;
|
|
163
|
+
subheader: false;
|
|
164
|
+
divider?: false | DividerHarnessFilters;
|
|
165
|
+
}): Promise<(C | MatDividerHarness)[]>;
|
|
166
|
+
getItemsWithSubheadersAndDividers(filters: {
|
|
167
|
+
item: false;
|
|
168
|
+
subheader?: false | SubheaderHarnessFilters;
|
|
169
|
+
divider?: false | DividerHarnessFilters;
|
|
170
|
+
}): Promise<(MatSubheaderHarness | MatDividerHarness)[]>;
|
|
171
|
+
getItemsWithSubheadersAndDividers(filters?: {
|
|
172
|
+
item?: F | false;
|
|
173
|
+
subheader?: SubheaderHarnessFilters | false;
|
|
174
|
+
divider?: DividerHarnessFilters | false;
|
|
175
|
+
}): Promise<(C | MatSubheaderHarness | MatDividerHarness)[]>;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** Harness for interacting with a list item. */
|
|
179
|
+
export declare class MatListItemHarness extends MatListItemHarnessBase {
|
|
180
|
+
/** The selector for the host element of a `MatListItem` instance. */
|
|
181
|
+
static hostSelector: string;
|
|
182
|
+
/**
|
|
183
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatListItemHarness` that meets
|
|
184
|
+
* certain criteria.
|
|
185
|
+
* @param options Options for filtering which list item instances are considered a match.
|
|
186
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
187
|
+
*/
|
|
188
|
+
static with(options?: ListItemHarnessFilters): HarnessPredicate<MatListItemHarness>;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Shared behavior among the harnesses for the various `MatListItem` flavors.
|
|
193
|
+
* @docs-private
|
|
194
|
+
*/
|
|
195
|
+
declare abstract class MatListItemHarnessBase extends ContentContainerComponentHarness<MatListItemSection> {
|
|
196
|
+
private _lines;
|
|
197
|
+
private _primaryText;
|
|
198
|
+
private _avatar;
|
|
199
|
+
private _icon;
|
|
200
|
+
private _unscopedTextContent;
|
|
201
|
+
/** Gets the type of the list item, currently describing how many lines there are. */
|
|
202
|
+
getType(): Promise<MatListItemType>;
|
|
203
|
+
/**
|
|
204
|
+
* Gets the full text content of the list item, excluding text
|
|
205
|
+
* from icons and avatars.
|
|
206
|
+
*
|
|
207
|
+
* @deprecated Use the `getFullText` method instead.
|
|
208
|
+
* @breaking-change 16.0.0
|
|
209
|
+
*/
|
|
210
|
+
getText(): Promise<string>;
|
|
211
|
+
/**
|
|
212
|
+
* Gets the full text content of the list item, excluding text
|
|
213
|
+
* from icons and avatars.
|
|
214
|
+
*/
|
|
215
|
+
getFullText(): Promise<string>;
|
|
216
|
+
/** Gets the title of the list item. */
|
|
217
|
+
getTitle(): Promise<string>;
|
|
218
|
+
/** Whether the list item is disabled. */
|
|
219
|
+
isDisabled(): Promise<boolean>;
|
|
220
|
+
/**
|
|
221
|
+
* Gets the secondary line text of the list item. Null if the list item
|
|
222
|
+
* does not have a secondary line.
|
|
223
|
+
*/
|
|
224
|
+
getSecondaryText(): Promise<string | null>;
|
|
225
|
+
/**
|
|
226
|
+
* Gets the tertiary line text of the list item. Null if the list item
|
|
227
|
+
* does not have a tertiary line.
|
|
228
|
+
*/
|
|
229
|
+
getTertiaryText(): Promise<string | null>;
|
|
230
|
+
/** Whether this list item has an avatar. */
|
|
231
|
+
hasAvatar(): Promise<boolean>;
|
|
232
|
+
/** Whether this list item has an icon. */
|
|
233
|
+
hasIcon(): Promise<boolean>;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** Selectors for the various list item sections that may contain user content. */
|
|
237
|
+
export declare const enum MatListItemSection {
|
|
238
|
+
CONTENT = ".mdc-list-item__content"
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/** Enum describing the possible variants of a list item. */
|
|
242
|
+
export declare const enum MatListItemType {
|
|
243
|
+
ONE_LINE_ITEM = 0,
|
|
244
|
+
TWO_LINE_ITEM = 1,
|
|
245
|
+
THREE_LINE_ITEM = 2
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/** Harness for interacting with a MDC-based list option. */
|
|
249
|
+
export declare class MatListOptionHarness extends MatListItemHarnessBase {
|
|
250
|
+
/** The selector for the host element of a `MatListOption` instance. */
|
|
251
|
+
static hostSelector: string;
|
|
252
|
+
/**
|
|
253
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatListOptionHarness` that
|
|
254
|
+
* meets certain criteria.
|
|
255
|
+
* @param options Options for filtering which list option instances are considered a match.
|
|
256
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
257
|
+
*/
|
|
258
|
+
static with(options?: ListOptionHarnessFilters): HarnessPredicate<MatListOptionHarness>;
|
|
259
|
+
private _beforeCheckbox;
|
|
260
|
+
/** Gets the position of the checkbox relative to the list option content. */
|
|
261
|
+
getCheckboxPosition(): Promise<MatListOptionCheckboxPosition>;
|
|
262
|
+
/** Whether the list option is selected. */
|
|
263
|
+
isSelected(): Promise<boolean>;
|
|
264
|
+
/** Focuses the list option. */
|
|
265
|
+
focus(): Promise<void>;
|
|
266
|
+
/** Blurs the list option. */
|
|
267
|
+
blur(): Promise<void>;
|
|
268
|
+
/** Whether the list option is focused. */
|
|
269
|
+
isFocused(): Promise<boolean>;
|
|
270
|
+
/** Toggles the checked state of the checkbox. */
|
|
271
|
+
toggle(): Promise<void>;
|
|
272
|
+
/**
|
|
273
|
+
* Puts the list option in a checked state by toggling it if it is currently
|
|
274
|
+
* unchecked, or doing nothing if it is already checked.
|
|
275
|
+
*/
|
|
276
|
+
select(): Promise<void>;
|
|
277
|
+
/**
|
|
278
|
+
* Puts the list option in an unchecked state by toggling it if it is currently
|
|
279
|
+
* checked, or doing nothing if it is already unchecked.
|
|
280
|
+
*/
|
|
281
|
+
deselect(): Promise<void>;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** Harness for interacting with a MDC-based mat-nav-list in tests. */
|
|
285
|
+
export declare class MatNavListHarness extends MatListHarnessBase<typeof MatNavListItemHarness, MatNavListItemHarness, NavListItemHarnessFilters> {
|
|
286
|
+
/** The selector for the host element of a `MatNavList` instance. */
|
|
287
|
+
static hostSelector: string;
|
|
288
|
+
/**
|
|
289
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatNavListHarness` that meets
|
|
290
|
+
* certain criteria.
|
|
291
|
+
* @param options Options for filtering which nav list instances are considered a match.
|
|
292
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
293
|
+
*/
|
|
294
|
+
static with(options?: NavListHarnessFilters): HarnessPredicate<MatNavListHarness>;
|
|
295
|
+
_itemHarness: typeof MatNavListItemHarness;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/** Harness for interacting with a MDC-based nav-list item. */
|
|
299
|
+
export declare class MatNavListItemHarness extends MatListItemHarnessBase {
|
|
300
|
+
/** The selector for the host element of a `MatListItem` instance. */
|
|
301
|
+
static hostSelector: string;
|
|
302
|
+
/**
|
|
303
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatNavListItemHarness` that
|
|
304
|
+
* meets certain criteria.
|
|
305
|
+
* @param options Options for filtering which nav list item instances are considered a match.
|
|
306
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
307
|
+
*/
|
|
308
|
+
static with(options?: NavListItemHarnessFilters): HarnessPredicate<MatNavListItemHarness>;
|
|
309
|
+
/** Gets the href for this nav list item. */
|
|
310
|
+
getHref(): Promise<string | null>;
|
|
311
|
+
/** Clicks on the nav list item. */
|
|
312
|
+
click(): Promise<void>;
|
|
313
|
+
/** Focuses the nav list item. */
|
|
314
|
+
focus(): Promise<void>;
|
|
315
|
+
/** Blurs the nav list item. */
|
|
316
|
+
blur(): Promise<void>;
|
|
317
|
+
/** Whether the nav list item is focused. */
|
|
318
|
+
isFocused(): Promise<boolean>;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/** Harness for interacting with a MDC_based selection-list in tests. */
|
|
322
|
+
export declare class MatSelectionListHarness extends MatListHarnessBase<typeof MatListOptionHarness, MatListOptionHarness, ListOptionHarnessFilters> {
|
|
323
|
+
/** The selector for the host element of a `MatSelectionList` instance. */
|
|
324
|
+
static hostSelector: string;
|
|
325
|
+
/**
|
|
326
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatSelectionListHarness` that meets
|
|
327
|
+
* certain criteria.
|
|
328
|
+
* @param options Options for filtering which selection list instances are considered a match.
|
|
329
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
330
|
+
*/
|
|
331
|
+
static with(options?: SelectionListHarnessFilters): HarnessPredicate<MatSelectionListHarness>;
|
|
332
|
+
_itemHarness: typeof MatListOptionHarness;
|
|
333
|
+
/** Whether the selection list is disabled. */
|
|
334
|
+
isDisabled(): Promise<boolean>;
|
|
335
|
+
/**
|
|
336
|
+
* Selects all items matching any of the given filters.
|
|
337
|
+
* @param filters Filters that specify which items should be selected.
|
|
338
|
+
*/
|
|
339
|
+
selectItems(...filters: ListOptionHarnessFilters[]): Promise<void>;
|
|
340
|
+
/**
|
|
341
|
+
* Deselects all items matching any of the given filters.
|
|
342
|
+
* @param filters Filters that specify which items should be deselected.
|
|
343
|
+
*/
|
|
344
|
+
deselectItems(...filters: ListItemHarnessFilters[]): Promise<void>;
|
|
345
|
+
/** Gets all items matching the given list of filters. */
|
|
346
|
+
private _getItems;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/** Harness for interacting with a MDC-based list subheader. */
|
|
350
|
+
export declare class MatSubheaderHarness extends ComponentHarness {
|
|
351
|
+
static hostSelector: string;
|
|
352
|
+
static with(options?: SubheaderHarnessFilters): HarnessPredicate<MatSubheaderHarness>;
|
|
353
|
+
/** Gets the full text content of the list item (including text from any font icons). */
|
|
354
|
+
getText(): Promise<string>;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export declare interface NavListHarnessFilters extends BaseHarnessFilters {
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export declare interface NavListItemHarnessFilters extends BaseListItemHarnessFilters {
|
|
361
|
+
href?: string | RegExp | null;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export declare interface SelectionListHarnessFilters extends BaseHarnessFilters {
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export declare interface SubheaderHarnessFilters extends BaseHarnessFilters {
|
|
368
|
+
text?: string | RegExp;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export { }
|
package/mdc-menu/index.d.ts
CHANGED
|
@@ -1,8 +1,110 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { fadeInItems } from '@angular/material/menu';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import * as i4 from '@angular/common';
|
|
5
|
+
import * as i5 from '@angular/material-experimental/mdc-core';
|
|
6
|
+
import * as i6 from '@angular/cdk/overlay';
|
|
7
|
+
import * as i7 from '@angular/cdk/scrolling';
|
|
8
|
+
import { MAT_MENU_CONTENT } from '@angular/material/menu';
|
|
9
|
+
import { MAT_MENU_DEFAULT_OPTIONS } from '@angular/material/menu';
|
|
10
|
+
import { MAT_MENU_PANEL } from '@angular/material/menu';
|
|
11
|
+
import { MAT_MENU_SCROLL_STRATEGY } from '@angular/material/menu';
|
|
12
|
+
import { matMenuAnimations } from '@angular/material/menu';
|
|
13
|
+
import { _MatMenuBase } from '@angular/material/menu';
|
|
14
|
+
import { _MatMenuContentBase } from '@angular/material/menu';
|
|
15
|
+
import { MatMenuDefaultOptions } from '@angular/material/menu';
|
|
16
|
+
import { MatMenuItem as MatMenuItem_2 } from '@angular/material/menu';
|
|
17
|
+
import { MatMenuPanel } from '@angular/material/menu';
|
|
18
|
+
import { _MatMenuTriggerBase } from '@angular/material/menu';
|
|
19
|
+
import { MenuPositionX } from '@angular/material/menu';
|
|
20
|
+
import { MenuPositionY } from '@angular/material/menu';
|
|
21
|
+
import { NgZone } from '@angular/core';
|
|
22
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
23
|
+
import { Provider } from '@angular/core';
|
|
24
|
+
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
25
|
+
import { transformMenu } from '@angular/material/menu';
|
|
26
|
+
|
|
27
|
+
export { fadeInItems }
|
|
28
|
+
|
|
29
|
+
declare namespace i1 {
|
|
30
|
+
export {
|
|
31
|
+
MAT_MENU_SCROLL_STRATEGY_FACTORY,
|
|
32
|
+
MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER,
|
|
33
|
+
MatMenu
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare namespace i2 {
|
|
38
|
+
export {
|
|
39
|
+
MatMenuItem
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare namespace i3 {
|
|
44
|
+
export {
|
|
45
|
+
MatMenuTrigger,
|
|
46
|
+
MatMenuContent
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { MAT_MENU_CONTENT }
|
|
51
|
+
|
|
52
|
+
export { MAT_MENU_DEFAULT_OPTIONS }
|
|
53
|
+
|
|
54
|
+
export { MAT_MENU_PANEL }
|
|
55
|
+
|
|
56
|
+
export { MAT_MENU_SCROLL_STRATEGY }
|
|
57
|
+
|
|
58
|
+
/** @docs-private */
|
|
59
|
+
declare function MAT_MENU_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
|
|
60
|
+
|
|
61
|
+
/** @docs-private */
|
|
62
|
+
declare const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER: Provider;
|
|
63
|
+
|
|
64
|
+
export declare class MatMenu extends _MatMenuBase {
|
|
65
|
+
protected _elevationPrefix: string;
|
|
66
|
+
protected _baseElevation: number;
|
|
67
|
+
constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, defaultOptions: MatMenuDefaultOptions);
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenu, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenu, "mat-menu", ["matMenu"], {}, {}, never, ["*"], false>;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export { matMenuAnimations }
|
|
73
|
+
|
|
74
|
+
/** Menu content that will be rendered lazily once the menu is opened. */
|
|
75
|
+
export declare class MatMenuContent extends _MatMenuContentBase {
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuContent, never>;
|
|
77
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuContent, "ng-template[matMenuContent]", never, {}, {}, never, never, false>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export { MatMenuDefaultOptions }
|
|
81
|
+
|
|
1
82
|
/**
|
|
2
|
-
*
|
|
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
|
|
83
|
+
* Single item inside of a `mat-menu`. Provides the menu item styling and accessibility treatment.
|
|
7
84
|
*/
|
|
8
|
-
export
|
|
85
|
+
export declare class MatMenuItem extends MatMenuItem_2 {
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuItem, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenuItem, "[mat-menu-item]", ["matMenuItem"], { "disabled": "disabled"; "disableRipple": "disableRipple"; }, {}, never, ["mat-icon", "*"], false>;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export declare class MatMenuModule {
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuModule, never>;
|
|
92
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatMenuModule, [typeof i1.MatMenu, typeof i2.MatMenuItem, typeof i3.MatMenuContent, typeof i3.MatMenuTrigger], [typeof i4.CommonModule, typeof i5.MatRippleModule, typeof i5.MatCommonModule, typeof i6.OverlayModule], [typeof i7.CdkScrollableModule, typeof i1.MatMenu, typeof i5.MatCommonModule, typeof i2.MatMenuItem, typeof i3.MatMenuContent, typeof i3.MatMenuTrigger]>;
|
|
93
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatMenuModule>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export { MatMenuPanel }
|
|
97
|
+
|
|
98
|
+
/** Directive applied to an element that should trigger a `mat-menu`. */
|
|
99
|
+
export declare class MatMenuTrigger extends _MatMenuTriggerBase {
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuTrigger, never>;
|
|
101
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuTrigger, "[mat-menu-trigger-for], [matMenuTriggerFor]", ["matMenuTrigger"], {}, {}, never, never, false>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export { MenuPositionX }
|
|
105
|
+
|
|
106
|
+
export { MenuPositionY }
|
|
107
|
+
|
|
108
|
+
export { transformMenu }
|
|
109
|
+
|
|
110
|
+
export { }
|
|
@@ -1,8 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
export
|
|
1
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { _MatMenuHarnessBase } from '@angular/material/menu/testing';
|
|
3
|
+
import { _MatMenuItemHarnessBase } from '@angular/material/menu/testing';
|
|
4
|
+
import { MenuHarnessFilters } from '@angular/material/menu/testing';
|
|
5
|
+
import { MenuItemHarnessFilters } from '@angular/material/menu/testing';
|
|
6
|
+
|
|
7
|
+
/** Harness for interacting with an MDC-based mat-menu in tests. */
|
|
8
|
+
export declare class MatMenuHarness extends _MatMenuHarnessBase<typeof MatMenuItemHarness, MatMenuItemHarness, MenuItemHarnessFilters> {
|
|
9
|
+
/** The selector for the host element of a `MatMenu` instance. */
|
|
10
|
+
static hostSelector: string;
|
|
11
|
+
protected _itemClass: typeof MatMenuItemHarness;
|
|
12
|
+
/**
|
|
13
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatMenuHarness` that meets certain
|
|
14
|
+
* criteria.
|
|
15
|
+
* @param options Options for filtering which menu instances are considered a match.
|
|
16
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
17
|
+
*/
|
|
18
|
+
static with(options?: MenuHarnessFilters): HarnessPredicate<MatMenuHarness>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** Harness for interacting with an MDC-based mat-menu-item in tests. */
|
|
22
|
+
export declare class MatMenuItemHarness extends _MatMenuItemHarnessBase<typeof MatMenuHarness, MatMenuHarness> {
|
|
23
|
+
/** The selector for the host element of a `MatMenuItem` instance. */
|
|
24
|
+
static hostSelector: string;
|
|
25
|
+
protected _menuClass: typeof MatMenuHarness;
|
|
26
|
+
/**
|
|
27
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatMenuItemHarness` that meets
|
|
28
|
+
* certain criteria.
|
|
29
|
+
* @param options Options for filtering which menu item instances are considered a match.
|
|
30
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
31
|
+
*/
|
|
32
|
+
static with(options?: MenuItemHarnessFilters): HarnessPredicate<MatMenuItemHarness>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { MenuHarnessFilters }
|
|
36
|
+
|
|
37
|
+
export { MenuItemHarnessFilters }
|
|
38
|
+
|
|
39
|
+
export { }
|
package/mdc-paginator/index.d.ts
CHANGED
|
@@ -1,8 +1,72 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/common';
|
|
4
|
+
import * as i3 from '@angular/material-experimental/mdc-button';
|
|
5
|
+
import * as i4 from '@angular/material-experimental/mdc-select';
|
|
6
|
+
import * as i5 from '@angular/material-experimental/mdc-tooltip';
|
|
7
|
+
import { InjectionToken } from '@angular/core';
|
|
8
|
+
import { MAT_PAGINATOR_INTL_PROVIDER } from '@angular/material/paginator';
|
|
9
|
+
import { MAT_PAGINATOR_INTL_PROVIDER_FACTORY } from '@angular/material/paginator';
|
|
10
|
+
import { MatFormFieldAppearance } from '@angular/material-experimental/mdc-form-field';
|
|
11
|
+
import { _MatPaginatorBase } from '@angular/material/paginator';
|
|
12
|
+
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
13
|
+
import { MatPaginatorSelectConfig } from '@angular/material/paginator';
|
|
14
|
+
import { PageEvent } from '@angular/material/paginator';
|
|
15
|
+
|
|
16
|
+
declare namespace i1 {
|
|
17
|
+
export {
|
|
18
|
+
MatPaginatorDefaultOptions,
|
|
19
|
+
MAT_PAGINATOR_DEFAULT_OPTIONS,
|
|
20
|
+
MatPaginator
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Injection token that can be used to provide the default options for the paginator module. */
|
|
25
|
+
export declare const MAT_PAGINATOR_DEFAULT_OPTIONS: InjectionToken<MatPaginatorDefaultOptions>;
|
|
26
|
+
|
|
27
|
+
export { MAT_PAGINATOR_INTL_PROVIDER }
|
|
28
|
+
|
|
29
|
+
export { MAT_PAGINATOR_INTL_PROVIDER_FACTORY }
|
|
30
|
+
|
|
1
31
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
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
|
|
32
|
+
* Component to provide navigation between paged information. Displays the size of the current
|
|
33
|
+
* page, user-selectable options to change that size, what items are being shown, and
|
|
34
|
+
* navigational button to go to the previous or next page.
|
|
7
35
|
*/
|
|
8
|
-
export
|
|
36
|
+
export declare class MatPaginator extends _MatPaginatorBase<MatPaginatorDefaultOptions> {
|
|
37
|
+
/** If set, styles the "page size" form field with the designated style. */
|
|
38
|
+
_formFieldAppearance?: MatFormFieldAppearance;
|
|
39
|
+
/** ID for the DOM node containing the pagiators's items per page label. */
|
|
40
|
+
readonly _pageSizeLabelId: string;
|
|
41
|
+
constructor(intl: MatPaginatorIntl, changeDetectorRef: ChangeDetectorRef, defaults?: MatPaginatorDefaultOptions);
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginator, [null, null, { optional: true; }]>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatPaginator, "mat-paginator", ["matPaginator"], { "disabled": "disabled"; }, {}, never, never, false>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** Object that can be used to configure the default options for the paginator module. */
|
|
47
|
+
export declare interface MatPaginatorDefaultOptions {
|
|
48
|
+
/** Number of items to display on a page. By default set to 50. */
|
|
49
|
+
pageSize?: number;
|
|
50
|
+
/** The set of provided page size options to display to the user. */
|
|
51
|
+
pageSizeOptions?: number[];
|
|
52
|
+
/** Whether to hide the page size selection UI from the user. */
|
|
53
|
+
hidePageSize?: boolean;
|
|
54
|
+
/** Whether to show the first/last buttons UI to the user. */
|
|
55
|
+
showFirstLastButtons?: boolean;
|
|
56
|
+
/** The default form-field appearance to apply to the page size options selector. */
|
|
57
|
+
formFieldAppearance?: MatFormFieldAppearance;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { MatPaginatorIntl }
|
|
61
|
+
|
|
62
|
+
export declare class MatPaginatorModule {
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatorModule, never>;
|
|
64
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatPaginatorModule, [typeof i1.MatPaginator], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatSelectModule, typeof i5.MatTooltipModule], [typeof i1.MatPaginator]>;
|
|
65
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatPaginatorModule>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { MatPaginatorSelectConfig }
|
|
69
|
+
|
|
70
|
+
export { PageEvent }
|
|
71
|
+
|
|
72
|
+
export { }
|
|
@@ -1,8 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { AsyncFactoryFn } from '@angular/cdk/testing';
|
|
2
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
3
|
+
import { _MatPaginatorHarnessBase } from '@angular/material/paginator/testing';
|
|
4
|
+
import { MatSelectHarness } from '@angular/material-experimental/mdc-select/testing';
|
|
5
|
+
import { PaginatorHarnessFilters } from '@angular/material/paginator/testing';
|
|
6
|
+
import { TestElement } from '@angular/cdk/testing';
|
|
7
|
+
|
|
8
|
+
/** Harness for interacting with an MDC-based mat-paginator in tests. */
|
|
9
|
+
export declare class MatPaginatorHarness extends _MatPaginatorHarnessBase {
|
|
10
|
+
/** Selector used to find paginator instances. */
|
|
11
|
+
static hostSelector: string;
|
|
12
|
+
protected _nextButton: AsyncFactoryFn<TestElement>;
|
|
13
|
+
protected _previousButton: AsyncFactoryFn<TestElement>;
|
|
14
|
+
protected _firstPageButton: AsyncFactoryFn<TestElement | null>;
|
|
15
|
+
protected _lastPageButton: AsyncFactoryFn<TestElement | null>;
|
|
16
|
+
protected _select: AsyncFactoryFn<MatSelectHarness | null>;
|
|
17
|
+
protected _pageSizeFallback: AsyncFactoryFn<TestElement>;
|
|
18
|
+
protected _rangeLabel: AsyncFactoryFn<TestElement>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatPaginatorHarness` that meets
|
|
21
|
+
* certain criteria.
|
|
22
|
+
* @param options Options for filtering which paginator instances are considered a match.
|
|
23
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
24
|
+
*/
|
|
25
|
+
static with(options?: PaginatorHarnessFilters): HarnessPredicate<MatPaginatorHarness>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { PaginatorHarnessFilters }
|
|
29
|
+
|
|
30
|
+
export { }
|