@angular/material 20.0.0-next.0 → 20.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/_autocomplete-theme.scss +4 -4
- package/autocomplete/index.d.ts +96 -126
- package/autocomplete/testing/index.d.ts +6 -11
- package/badge/_badge-theme.scss +5 -5
- package/badge/index.d.ts +8 -112
- package/badge/testing/index.d.ts +7 -8
- package/badge.d-49a8a74b.d.ts +98 -0
- package/bottom-sheet/_bottom-sheet-theme.scss +3 -3
- package/bottom-sheet/index.d.ts +88 -103
- package/bottom-sheet/testing/index.d.ts +4 -6
- package/button/_button-theme.scss +84 -32
- package/button/_fab-theme.scss +13 -13
- package/button/_icon-button-theme.scss +5 -5
- package/button/index.d.ts +10 -245
- package/button/testing/index.d.ts +13 -10
- package/button-toggle/_button-toggle-theme.scss +8 -8
- package/button-toggle/index.d.ts +12 -285
- package/button-toggle/testing/index.d.ts +38 -37
- package/button-toggle.d-edc8acff.d.ts +257 -0
- package/card/_card-theme.scss +12 -12
- package/card/index.d.ts +80 -117
- package/card/testing/index.d.ts +11 -15
- package/checkbox/_checkbox-theme.scss +10 -10
- package/checkbox/index.d.ts +43 -104
- package/checkbox/testing/index.d.ts +6 -10
- package/chips/_chips-theme.scss +14 -14
- package/chips/index.d.ts +599 -693
- package/chips/testing/index.d.ts +78 -93
- package/common-module.d-0e6515ae.d.ts +43 -0
- package/core/_core-theme.scss +2 -2
- package/core/index.d.ts +50 -979
- package/core/option/_optgroup-theme.scss +2 -2
- package/core/option/_option-theme.scss +4 -4
- package/core/ripple/_ripple-theme.scss +3 -3
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +4 -4
- package/core/testing/index.d.ts +3 -65
- package/core/theming/_color-api-backwards-compatibility.scss +19 -8
- package/core/tokens/_density.scss +3 -0
- package/core/tokens/_token-definition.scss +1 -2
- package/core/tokens/_token-utils.scss +20 -5
- package/core/tokens/m2/_index.scss +2 -0
- package/core/tokens/m2/mat/_tonal-button.scss +110 -0
- package/core/tokens/m3/_index.scss +2 -0
- package/core/tokens/m3/definitions/_index.scss +1 -1
- package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +3 -1
- package/core/tokens/m3/definitions/_md-sys-color.scss +44 -2
- package/core/tokens/m3/definitions/_md-sys-typescale.scss +20 -1
- package/core/tokens/m3/mat/_tonal-button.scss +101 -0
- package/date-adapter.d-c6835d41.d.ts +267 -0
- package/date-range-input-harness.d-549a9f7e.d.ts +278 -0
- package/datepicker/_datepicker-theme.scss +8 -7
- package/datepicker/index.d.ts +1332 -1482
- package/datepicker/testing/index.d.ts +5 -287
- package/dialog/_dialog-theme.scss +6 -6
- package/dialog/index.d.ts +59 -453
- package/dialog/testing/index.d.ts +22 -26
- package/dialog.d-57867441.d.ts +335 -0
- package/divider/_divider-theme.scss +2 -2
- package/divider/index.d.ts +6 -11
- package/divider/testing/index.d.ts +2 -16
- package/divider-harness.d-d34fede4.d.ts +14 -0
- package/error-options.d-448d9046.d.ts +17 -0
- package/expansion/_expansion-theme.scss +4 -4
- package/expansion/index.d.ts +139 -190
- package/expansion/testing/index.d.ts +25 -31
- package/fesm2022/autocomplete/testing.mjs +2 -1
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +56 -32
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +14 -17
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +13 -15
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs +34 -15
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +22 -15
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +14 -395
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +49 -51
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +32 -73
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +51 -46
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/common-module-2d64df09.mjs +42 -0
- package/fesm2022/common-module-2d64df09.mjs.map +1 -0
- package/fesm2022/core/testing.mjs +3 -76
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +38 -1598
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/date-formats-b618acb8.mjs +190 -0
- package/fesm2022/date-formats-b618acb8.mjs.map +1 -0
- package/fesm2022/date-range-input-harness-de70be6a.mjs +467 -0
- package/fesm2022/date-range-input-harness-de70be6a.mjs.map +1 -0
- package/fesm2022/datepicker/testing.mjs +5 -465
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +162 -131
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +12 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +14 -895
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs +2 -17
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider-harness-8099453f.mjs +18 -0
- package/fesm2022/divider-harness-8099453f.mjs.map +1 -0
- package/fesm2022/divider.mjs +10 -12
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/error-options-4a00765e.mjs +29 -0
- package/fesm2022/error-options-4a00765e.mjs.map +1 -0
- package/fesm2022/error-state-8f4ce1af.mjs +37 -0
- package/fesm2022/error-state-8f4ce1af.mjs.map +1 -0
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +30 -32
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs +2 -10
- package/fesm2022/form-field/testing/control.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +7 -6
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field-6d755764.mjs +1076 -0
- package/fesm2022/form-field-6d755764.mjs.map +1 -0
- package/fesm2022/form-field-control-harness-efefd4cf.mjs +11 -0
- package/fesm2022/form-field-control-harness-efefd4cf.mjs.map +1 -0
- package/fesm2022/form-field.mjs +14 -1110
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +30 -173
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +12 -12
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon-button-0850d958.mjs +211 -0
- package/fesm2022/icon-button-0850d958.mjs.map +1 -0
- package/fesm2022/icon-module-3f77a24d.mjs +395 -0
- package/fesm2022/icon-module-3f77a24d.mjs.map +1 -0
- package/fesm2022/icon-registry-13a3b98e.mjs +639 -0
- package/fesm2022/icon-registry-13a3b98e.mjs.map +1 -0
- package/fesm2022/icon.mjs +11 -1016
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/index-1763d3a6.mjs +22 -0
- package/fesm2022/index-1763d3a6.mjs.map +1 -0
- package/fesm2022/index-4bc1d6d3.mjs +20 -0
- package/fesm2022/index-4bc1d6d3.mjs.map +1 -0
- package/fesm2022/input/testing.mjs +5 -113
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input-harness-e68bb132.mjs +115 -0
- package/fesm2022/input-harness-e68bb132.mjs.map +1 -0
- package/fesm2022/input-value-accessor-8a79a24e.mjs +12 -0
- package/fesm2022/input-value-accessor-8a79a24e.mjs.map +1 -0
- package/fesm2022/input.mjs +21 -23
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/internal-form-field-434c4039.mjs +27 -0
- package/fesm2022/internal-form-field-434c4039.mjs.map +1 -0
- package/fesm2022/line-d6afe347.mjs +59 -0
- package/fesm2022/line-d6afe347.mjs.map +1 -0
- package/fesm2022/list/testing.mjs +2 -2
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +59 -56
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +37 -25
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/module-1c16a0a9.mjs +1293 -0
- package/fesm2022/module-1c16a0a9.mjs.map +1 -0
- package/fesm2022/module-47e3be58.mjs +970 -0
- package/fesm2022/module-47e3be58.mjs.map +1 -0
- package/fesm2022/module-a5f9ab72.mjs +875 -0
- package/fesm2022/module-a5f9ab72.mjs.map +1 -0
- package/fesm2022/module-cf951a02.mjs +214 -0
- package/fesm2022/module-cf951a02.mjs.map +1 -0
- package/fesm2022/module-d757bba0.mjs +38 -0
- package/fesm2022/module-d757bba0.mjs.map +1 -0
- package/fesm2022/optgroup-harness-5e66b138.mjs +36 -0
- package/fesm2022/optgroup-harness-5e66b138.mjs.map +1 -0
- package/fesm2022/option-07c3c660.mjs +348 -0
- package/fesm2022/option-07c3c660.mjs.map +1 -0
- package/fesm2022/option-harness-3b7c1106.mjs +46 -0
- package/fesm2022/option-harness-3b7c1106.mjs.map +1 -0
- package/fesm2022/paginator/testing.mjs +4 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +52 -22
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs +0 -4
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +15 -13
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs +0 -4
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +15 -13
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/pseudo-checkbox-af5a4ea4.mjs +52 -0
- package/fesm2022/pseudo-checkbox-af5a4ea4.mjs.map +1 -0
- package/fesm2022/pseudo-checkbox-module-216fae38.mjs +20 -0
- package/fesm2022/pseudo-checkbox-module-216fae38.mjs.map +1 -0
- package/fesm2022/public-api-c5ab57f5.mjs +147 -0
- package/fesm2022/public-api-c5ab57f5.mjs.map +1 -0
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +23 -15
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/ripple-9939d1f5.mjs +639 -0
- package/fesm2022/ripple-9939d1f5.mjs.map +1 -0
- package/fesm2022/ripple-loader-f2078c66.mjs +165 -0
- package/fesm2022/ripple-loader-f2078c66.mjs.map +1 -0
- package/fesm2022/select/testing.mjs +5 -121
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select-harness-69d47123.mjs +123 -0
- package/fesm2022/select-harness-69d47123.mjs.map +1 -0
- package/fesm2022/select.mjs +30 -1311
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +31 -31
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +27 -75
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +27 -23
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +38 -30
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +26 -20
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +52 -39
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/structural-styles-d5ada3b3.mjs +18 -0
- package/fesm2022/structural-styles-d5ada3b3.mjs.map +1 -0
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +58 -60
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +54 -58
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +37 -26
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +13 -15
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +15 -960
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +28 -30
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +16 -16
- package/form-field/index.d.ts +16 -508
- package/form-field/testing/control/index.d.ts +2 -10
- package/form-field/testing/index.d.ts +19 -24
- package/form-field-control-harness.d-2d91f25a.d.ts +10 -0
- package/form-field-control.d-eb86711c.d.ts +62 -0
- package/form-field.d-2edbc094.d.ts +367 -0
- package/grid-list/_grid-list-theme.scss +1 -1
- package/grid-list/index.d.ts +128 -152
- package/grid-list/testing/index.d.ts +39 -44
- package/icon/_icon-theme.scss +2 -2
- package/icon/index.d.ts +9 -470
- package/icon/testing/index.d.ts +41 -44
- package/icon-module.d-aa3bbba0.d.ts +167 -0
- package/icon-registry.d-1dffe9de.d.ts +286 -0
- package/index.d-0536b706.d.ts +11 -0
- package/index.d-37e31cd3.d.ts +13 -0
- package/index.d.ts +2 -3
- package/input/index.d.ts +33 -62
- package/input/testing/index.d.ts +13 -71
- package/input-harness.d-4eecd1d3.d.ts +60 -0
- package/line.d-570a2537.d.ts +25 -0
- package/list/_list-theme.scss +15 -15
- package/list/index.d.ts +155 -244
- package/list/testing/index.d.ts +158 -180
- package/list-option-types.d-8739f903.d.ts +15 -0
- package/menu/_menu-theme.scss +3 -3
- package/menu/index.d.ts +183 -231
- package/menu/testing/index.d.ts +17 -23
- package/module.d-74a721b9.d.ts +326 -0
- package/module.d-792a497c.d.ts +213 -0
- package/module.d-ba05faa6.d.ts +448 -0
- package/module.d-c17c834e.d.ts +18 -0
- package/optgroup-harness.d-7f741f69.d.ts +31 -0
- package/option-harness.d-3d33fc9a.d.ts +34 -0
- package/option-parent.d-559ad5c5.d.ts +19 -0
- package/option.d-6f493d78.d.ts +146 -0
- package/package.json +2 -2
- package/paginator/_paginator-theme.scss +3 -3
- package/paginator/index.d.ts +31 -216
- package/paginator/testing/index.d.ts +14 -15
- package/paginator.d-40b1766e.d.ts +199 -0
- package/palette.d-ec4a617c.d.ts +4 -0
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +2 -2
- package/progress-bar/index.d.ts +40 -59
- package/progress-bar/testing/index.d.ts +7 -10
- package/progress-spinner/_progress-spinner-theme.scss +4 -4
- package/progress-spinner/index.d.ts +8 -110
- package/progress-spinner/testing/index.d.ts +10 -11
- package/progress-spinner.d-1fc040c5.d.ts +96 -0
- package/pseudo-checkbox-module.d-3abc0461.d.ts +44 -0
- package/radio/_radio-theme.scss +12 -12
- package/radio/index.d.ts +151 -170
- package/radio/testing/index.d.ts +61 -67
- package/ripple-loader.d-8aac2988.d.ts +48 -0
- package/ripple.d-2fb57d04.d.ts +255 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
- package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
- package/schematics/ng-generate/theme-color/schema.json +10 -0
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
- package/schematics/ng-update/index_bundled.js +31 -31
- package/select/_select-theme.scss +6 -6
- package/select/index.d.ts +25 -505
- package/select/testing/index.d.ts +5 -67
- package/select-harness.d-7441a7ac.d.ts +63 -0
- package/sidenav/_sidenav-theme.scss +2 -2
- package/sidenav/index.d.ts +49 -92
- package/sidenav/testing/index.d.ts +58 -63
- package/slide-toggle/_slide-toggle-theme.scss +10 -10
- package/slide-toggle/index.d.ts +39 -110
- package/slide-toggle/testing/index.d.ts +17 -21
- package/slider/_slider-theme.scss +10 -10
- package/slider/index.d.ts +281 -328
- package/slider/testing/index.d.ts +42 -47
- package/snack-bar/_snack-bar-theme.scss +4 -4
- package/snack-bar/index.d.ts +152 -185
- package/snack-bar/testing/index.d.ts +7 -9
- package/sort/_sort-theme.scss +3 -3
- package/sort/index.d.ts +61 -169
- package/sort/testing/index.d.ts +22 -25
- package/sort-direction.d-f4ce4649.d.ts +3 -0
- package/sort.d-c2b79a45.d.ts +87 -0
- package/stepper/_stepper-theme.scss +5 -5
- package/stepper/index.d.ts +115 -167
- package/stepper/testing/index.d.ts +43 -52
- package/table/_table-theme.scss +4 -4
- package/table/index.d.ts +97 -156
- package/table/testing/index.d.ts +64 -78
- package/tabs/_tabs-theme.scss +16 -16
- package/tabs/index.d.ts +309 -383
- package/tabs/testing/index.d.ts +67 -76
- package/timepicker/_timepicker-theme.scss +4 -4
- package/timepicker/index.d.ts +127 -160
- package/timepicker/testing/index.d.ts +20 -26
- package/toolbar/_toolbar-theme.scss +4 -4
- package/toolbar/index.d.ts +15 -26
- package/toolbar/testing/index.d.ts +13 -16
- package/tooltip/_tooltip-theme.scss +4 -4
- package/tooltip/index.d.ts +11 -355
- package/tooltip/testing/index.d.ts +7 -10
- package/tree/_tree-theme.scss +3 -3
- package/tree/index.d.ts +117 -163
- package/tree/testing/index.d.ts +52 -58
- /package/core/tokens/m3/definitions/{unused/_md-comp-filled-tonal-button.scss → _md-comp-filled-tonal-button.scss} +0 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken, AfterViewChecked, OnDestroy, ChangeDetectorRef, EventEmitter, ElementRef, QueryList } from '@angular/core';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Injection token that can be used to reference instances of `MatOptgroup`. It serves as
|
|
8
|
+
* alternative token to the actual `MatOptgroup` class which could cause unnecessary
|
|
9
|
+
* retention of the class and its component metadata.
|
|
10
|
+
*/
|
|
11
|
+
declare const MAT_OPTGROUP: InjectionToken<MatOptgroup>;
|
|
12
|
+
/**
|
|
13
|
+
* Component that is used to group instances of `mat-option`.
|
|
14
|
+
*/
|
|
15
|
+
declare class MatOptgroup {
|
|
16
|
+
/** Label for the option group. */
|
|
17
|
+
label: string;
|
|
18
|
+
/** whether the option group is disabled. */
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
/** Unique id for the underlying label. */
|
|
21
|
+
_labelId: string;
|
|
22
|
+
/** Whether the group is in inert a11y mode. */
|
|
23
|
+
_inert: boolean;
|
|
24
|
+
constructor(...args: unknown[]);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatOptgroup, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatOptgroup, "mat-optgroup", ["matOptgroup"], { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*", "mat-option, ng-container"], true, never>;
|
|
27
|
+
static ngAcceptInputType_disabled: unknown;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/** Event object emitted by MatOption when selected or deselected. */
|
|
31
|
+
declare class MatOptionSelectionChange<T = any> {
|
|
32
|
+
/** Reference to the option that emitted the event. */
|
|
33
|
+
source: MatOption<T>;
|
|
34
|
+
/** Whether the change in the option's value was a result of a user action. */
|
|
35
|
+
isUserInput: boolean;
|
|
36
|
+
constructor(
|
|
37
|
+
/** Reference to the option that emitted the event. */
|
|
38
|
+
source: MatOption<T>,
|
|
39
|
+
/** Whether the change in the option's value was a result of a user action. */
|
|
40
|
+
isUserInput?: boolean);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Single option inside of a `<mat-select>` element.
|
|
44
|
+
*/
|
|
45
|
+
declare class MatOption<T = any> implements FocusableOption, AfterViewChecked, OnDestroy {
|
|
46
|
+
private _element;
|
|
47
|
+
_changeDetectorRef: ChangeDetectorRef;
|
|
48
|
+
private _parent;
|
|
49
|
+
group: MatOptgroup | null;
|
|
50
|
+
private _signalDisableRipple;
|
|
51
|
+
private _selected;
|
|
52
|
+
private _active;
|
|
53
|
+
private _disabled;
|
|
54
|
+
private _mostRecentViewValue;
|
|
55
|
+
/** Whether the wrapping component is in multiple selection mode. */
|
|
56
|
+
get multiple(): boolean | null | undefined;
|
|
57
|
+
/** Whether or not the option is currently selected. */
|
|
58
|
+
get selected(): boolean;
|
|
59
|
+
/** The form value of the option. */
|
|
60
|
+
value: T;
|
|
61
|
+
/** The unique ID of the option. */
|
|
62
|
+
id: string;
|
|
63
|
+
/** Whether the option is disabled. */
|
|
64
|
+
get disabled(): boolean;
|
|
65
|
+
set disabled(value: boolean);
|
|
66
|
+
/** Whether ripples for the option are disabled. */
|
|
67
|
+
get disableRipple(): boolean;
|
|
68
|
+
/** Whether to display checkmark for single-selection. */
|
|
69
|
+
get hideSingleSelectionIndicator(): boolean;
|
|
70
|
+
/** Event emitted when the option is selected or deselected. */
|
|
71
|
+
readonly onSelectionChange: EventEmitter<MatOptionSelectionChange<T>>;
|
|
72
|
+
/** Element containing the option's text. */
|
|
73
|
+
_text: ElementRef<HTMLElement> | undefined;
|
|
74
|
+
/** Emits when the state of the option changes and any parents have to be notified. */
|
|
75
|
+
readonly _stateChanges: Subject<void>;
|
|
76
|
+
constructor(...args: unknown[]);
|
|
77
|
+
/**
|
|
78
|
+
* Whether or not the option is currently active and ready to be selected.
|
|
79
|
+
* An active option displays styles as if it is focused, but the
|
|
80
|
+
* focus is actually retained somewhere else. This comes in handy
|
|
81
|
+
* for components like autocomplete where focus must remain on the input.
|
|
82
|
+
*/
|
|
83
|
+
get active(): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* The displayed value of the option. It is necessary to show the selected option in the
|
|
86
|
+
* select's trigger.
|
|
87
|
+
*/
|
|
88
|
+
get viewValue(): string;
|
|
89
|
+
/** Selects the option. */
|
|
90
|
+
select(emitEvent?: boolean): void;
|
|
91
|
+
/** Deselects the option. */
|
|
92
|
+
deselect(emitEvent?: boolean): void;
|
|
93
|
+
/** Sets focus onto this option. */
|
|
94
|
+
focus(_origin?: FocusOrigin, options?: FocusOptions): void;
|
|
95
|
+
/**
|
|
96
|
+
* This method sets display styles on the option to make it appear
|
|
97
|
+
* active. This is used by the ActiveDescendantKeyManager so key
|
|
98
|
+
* events will display the proper options as active on arrow key events.
|
|
99
|
+
*/
|
|
100
|
+
setActiveStyles(): void;
|
|
101
|
+
/**
|
|
102
|
+
* This method removes display styles on the option that made it appear
|
|
103
|
+
* active. This is used by the ActiveDescendantKeyManager so key
|
|
104
|
+
* events will display the proper options as active on arrow key events.
|
|
105
|
+
*/
|
|
106
|
+
setInactiveStyles(): void;
|
|
107
|
+
/** Gets the label to be used when determining whether the option should be focused. */
|
|
108
|
+
getLabel(): string;
|
|
109
|
+
/** Ensures the option is selected when activated from the keyboard. */
|
|
110
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
111
|
+
/**
|
|
112
|
+
* `Selects the option while indicating the selection came from the user. Used to
|
|
113
|
+
* determine if the select's view -> model callback should be invoked.`
|
|
114
|
+
*/
|
|
115
|
+
_selectViaInteraction(): void;
|
|
116
|
+
/** Returns the correct tabindex for the option depending on disabled state. */
|
|
117
|
+
_getTabIndex(): string;
|
|
118
|
+
/** Gets the host DOM element. */
|
|
119
|
+
_getHostElement(): HTMLElement;
|
|
120
|
+
ngAfterViewChecked(): void;
|
|
121
|
+
ngOnDestroy(): void;
|
|
122
|
+
/** Emits the selection change event. */
|
|
123
|
+
private _emitSelectionChangeEvent;
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatOption<any>, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatOption<any>, "mat-option", ["matOption"], { "value": { "alias": "value"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onSelectionChange": "onSelectionChange"; }, never, ["mat-icon", "*"], true, never>;
|
|
126
|
+
static ngAcceptInputType_disabled: unknown;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Counts the amount of option group labels that precede the specified option.
|
|
130
|
+
* @param optionIndex Index of the option at which to start counting.
|
|
131
|
+
* @param options Flat list of all of the options.
|
|
132
|
+
* @param optionGroups Flat list of all of the option groups.
|
|
133
|
+
* @docs-private
|
|
134
|
+
*/
|
|
135
|
+
declare function _countGroupLabelsBeforeOption(optionIndex: number, options: QueryList<MatOption>, optionGroups: QueryList<MatOptgroup>): number;
|
|
136
|
+
/**
|
|
137
|
+
* Determines the position to which to scroll a panel in order for an option to be into view.
|
|
138
|
+
* @param optionOffset Offset of the option from the top of the panel.
|
|
139
|
+
* @param optionHeight Height of the options.
|
|
140
|
+
* @param currentScrollPosition Current scroll position of the panel.
|
|
141
|
+
* @param panelHeight Height of the panel.
|
|
142
|
+
* @docs-private
|
|
143
|
+
*/
|
|
144
|
+
declare function _getOptionScrollPosition(optionOffset: number, optionHeight: number, currentScrollPosition: number, panelHeight: number): number;
|
|
145
|
+
|
|
146
|
+
export { MatOption as M, _countGroupLabelsBeforeOption as _, MatOptgroup as a, MatOptionSelectionChange as b, _getOptionScrollPosition as c, MAT_OPTGROUP as d };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material",
|
|
3
|
-
"version": "20.0.0-next.
|
|
3
|
+
"version": "20.0.0-next.2",
|
|
4
4
|
"description": "Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
}
|
|
354
354
|
},
|
|
355
355
|
"peerDependencies": {
|
|
356
|
-
"@angular/cdk": "20.0.0-next.
|
|
356
|
+
"@angular/cdk": "20.0.0-next.2",
|
|
357
357
|
"@angular/core": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
|
|
358
358
|
"@angular/common": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
|
|
359
359
|
"@angular/forms": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
|
|
21
21
|
} @else {
|
|
22
22
|
@include sass-utils.current-selector-or-root() {
|
|
23
|
-
@include token-utils.create-token-values(
|
|
23
|
+
@include token-utils.create-token-values-mixed(
|
|
24
24
|
tokens-mat-paginator.$prefix,
|
|
25
25
|
tokens-mat-paginator.get-color-tokens($theme)
|
|
26
26
|
);
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
34
34
|
} @else {
|
|
35
35
|
@include sass-utils.current-selector-or-root() {
|
|
36
|
-
@include token-utils.create-token-values(
|
|
36
|
+
@include token-utils.create-token-values-mixed(
|
|
37
37
|
tokens-mat-paginator.$prefix,
|
|
38
38
|
tokens-mat-paginator.get-typography-tokens($theme)
|
|
39
39
|
);
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
55
55
|
} @else {
|
|
56
56
|
@include sass-utils.current-selector-or-root() {
|
|
57
|
-
@include token-utils.create-token-values(
|
|
57
|
+
@include token-utils.create-token-values-mixed(
|
|
58
58
|
tokens-mat-paginator.$prefix,
|
|
59
59
|
tokens-mat-paginator.get-density-tokens($theme)
|
|
60
60
|
);
|
package/paginator/index.d.ts
CHANGED
|
@@ -1,221 +1,36 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
useFactory: typeof MAT_PAGINATOR_INTL_PROVIDER_FACTORY;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/** @docs-private */
|
|
36
|
-
export declare function MAT_PAGINATOR_INTL_PROVIDER_FACTORY(parentIntl: MatPaginatorIntl): MatPaginatorIntl;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Component to provide navigation between paged information. Displays the size of the current
|
|
40
|
-
* page, user-selectable options to change that size, what items are being shown, and
|
|
41
|
-
* navigational button to go to the previous or next page.
|
|
42
|
-
*/
|
|
43
|
-
export declare class MatPaginator implements OnInit, OnDestroy {
|
|
44
|
-
_intl: MatPaginatorIntl;
|
|
45
|
-
private _changeDetectorRef;
|
|
46
|
-
/** If set, styles the "page size" form field with the designated style. */
|
|
47
|
-
_formFieldAppearance?: MatFormFieldAppearance;
|
|
48
|
-
/** ID for the DOM node containing the paginator's items per page label. */
|
|
49
|
-
readonly _pageSizeLabelId: string;
|
|
50
|
-
private _intlChanges;
|
|
51
|
-
private _isInitialized;
|
|
52
|
-
private _initializedStream;
|
|
53
|
-
/**
|
|
54
|
-
* Theme color of the underlying form controls. This API is supported in M2
|
|
55
|
-
* themes only,it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/paginator/styling.
|
|
56
|
-
*
|
|
57
|
-
* For information on applying color variants in M3, see
|
|
58
|
-
* https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
59
|
-
*/
|
|
60
|
-
color: ThemePalette;
|
|
61
|
-
/** The zero-based page index of the displayed list of items. Defaulted to 0. */
|
|
62
|
-
get pageIndex(): number;
|
|
63
|
-
set pageIndex(value: number);
|
|
64
|
-
private _pageIndex;
|
|
65
|
-
/** The length of the total number of items that are being paginated. Defaulted to 0. */
|
|
66
|
-
get length(): number;
|
|
67
|
-
set length(value: number);
|
|
68
|
-
private _length;
|
|
69
|
-
/** Number of items to display on a page. By default set to 50. */
|
|
70
|
-
get pageSize(): number;
|
|
71
|
-
set pageSize(value: number);
|
|
72
|
-
private _pageSize;
|
|
73
|
-
/** The set of provided page size options to display to the user. */
|
|
74
|
-
get pageSizeOptions(): number[];
|
|
75
|
-
set pageSizeOptions(value: number[] | readonly number[]);
|
|
76
|
-
private _pageSizeOptions;
|
|
77
|
-
/** Whether to hide the page size selection UI from the user. */
|
|
78
|
-
hidePageSize: boolean;
|
|
79
|
-
/** Whether to show the first/last buttons UI to the user. */
|
|
80
|
-
showFirstLastButtons: boolean;
|
|
81
|
-
/** Used to configure the underlying `MatSelect` inside the paginator. */
|
|
82
|
-
selectConfig: MatPaginatorSelectConfig;
|
|
83
|
-
/** Whether the paginator is disabled. */
|
|
84
|
-
disabled: boolean;
|
|
85
|
-
/** Event emitted when the paginator changes the page size or page index. */
|
|
86
|
-
readonly page: EventEmitter<PageEvent>;
|
|
87
|
-
/** Displayed set of page size options. Will be sorted and include current page size. */
|
|
88
|
-
_displayedPageSizeOptions: number[];
|
|
89
|
-
/** Emits when the paginator is initialized. */
|
|
90
|
-
initialized: Observable<void>;
|
|
91
|
-
/** Inserted by Angular inject() migration for backwards compatibility */
|
|
92
|
-
constructor(...args: unknown[]);
|
|
93
|
-
ngOnInit(): void;
|
|
94
|
-
ngOnDestroy(): void;
|
|
95
|
-
/** Advances to the next page if it exists. */
|
|
96
|
-
nextPage(): void;
|
|
97
|
-
/** Move back to the previous page if it exists. */
|
|
98
|
-
previousPage(): void;
|
|
99
|
-
/** Move to the first page if not already there. */
|
|
100
|
-
firstPage(): void;
|
|
101
|
-
/** Move to the last page if not already there. */
|
|
102
|
-
lastPage(): void;
|
|
103
|
-
/** Whether there is a previous page. */
|
|
104
|
-
hasPreviousPage(): boolean;
|
|
105
|
-
/** Whether there is a next page. */
|
|
106
|
-
hasNextPage(): boolean;
|
|
107
|
-
/** Calculate the number of pages */
|
|
108
|
-
getNumberOfPages(): number;
|
|
109
|
-
/**
|
|
110
|
-
* Changes the page size so that the first item displayed on the page will still be
|
|
111
|
-
* displayed using the new page size.
|
|
112
|
-
*
|
|
113
|
-
* For example, if the page size is 10 and on the second page (items indexed 10-19) then
|
|
114
|
-
* switching so that the page size is 5 will set the third page as the current page so
|
|
115
|
-
* that the 10th item will still be displayed.
|
|
116
|
-
*/
|
|
117
|
-
_changePageSize(pageSize: number): void;
|
|
118
|
-
/** Checks whether the buttons for going forwards should be disabled. */
|
|
119
|
-
_nextButtonsDisabled(): boolean;
|
|
120
|
-
/** Checks whether the buttons for going backwards should be disabled. */
|
|
121
|
-
_previousButtonsDisabled(): boolean;
|
|
122
|
-
/**
|
|
123
|
-
* Updates the list of page size options to display to the user. Includes making sure that
|
|
124
|
-
* the page size is an option and that the list is sorted.
|
|
125
|
-
*/
|
|
126
|
-
private _updateDisplayedPageSizeOptions;
|
|
127
|
-
/** Emits an event notifying that a change of the paginator's properties has been triggered. */
|
|
128
|
-
private _emitPageEvent;
|
|
129
|
-
/** Navigates to a specific page index. */
|
|
130
|
-
private _navigate;
|
|
131
|
-
/**
|
|
132
|
-
* Callback invoked when one of the navigation buttons is called.
|
|
133
|
-
* @param targetIndex Index to which the paginator should navigate.
|
|
134
|
-
* @param isDisabled Whether the button is disabled.
|
|
135
|
-
*/
|
|
136
|
-
protected _buttonClicked(targetIndex: number, isDisabled: boolean): void;
|
|
137
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginator, never>;
|
|
138
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatPaginator, "mat-paginator", ["matPaginator"], { "color": { "alias": "color"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; "selectConfig": { "alias": "selectConfig"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "page": "page"; }, never, never, true, never>;
|
|
139
|
-
static ngAcceptInputType_pageIndex: unknown;
|
|
140
|
-
static ngAcceptInputType_length: unknown;
|
|
141
|
-
static ngAcceptInputType_pageSize: unknown;
|
|
142
|
-
static ngAcceptInputType_hidePageSize: unknown;
|
|
143
|
-
static ngAcceptInputType_showFirstLastButtons: unknown;
|
|
144
|
-
static ngAcceptInputType_disabled: unknown;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/** Object that can be used to configure the default options for the paginator module. */
|
|
148
|
-
export declare interface MatPaginatorDefaultOptions {
|
|
149
|
-
/** Number of items to display on a page. By default set to 50. */
|
|
150
|
-
pageSize?: number;
|
|
151
|
-
/** The set of provided page size options to display to the user. */
|
|
152
|
-
pageSizeOptions?: number[];
|
|
153
|
-
/** Whether to hide the page size selection UI from the user. */
|
|
154
|
-
hidePageSize?: boolean;
|
|
155
|
-
/** Whether to show the first/last buttons UI to the user. */
|
|
156
|
-
showFirstLastButtons?: boolean;
|
|
157
|
-
/** The default form-field appearance to apply to the page size options selector. */
|
|
158
|
-
formFieldAppearance?: MatFormFieldAppearance;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* To modify the labels and text displayed, create a new instance of MatPaginatorIntl and
|
|
163
|
-
* include it in a custom provider
|
|
164
|
-
*/
|
|
165
|
-
export declare class MatPaginatorIntl {
|
|
166
|
-
/**
|
|
167
|
-
* Stream to emit from when labels are changed. Use this to notify components when the labels have
|
|
168
|
-
* changed after initialization.
|
|
169
|
-
*/
|
|
170
|
-
readonly changes: Subject<void>;
|
|
171
|
-
/** A label for the page size selector. */
|
|
172
|
-
itemsPerPageLabel: string;
|
|
173
|
-
/** A label for the button that increments the current page. */
|
|
174
|
-
nextPageLabel: string;
|
|
175
|
-
/** A label for the button that decrements the current page. */
|
|
176
|
-
previousPageLabel: string;
|
|
177
|
-
/** A label for the button that moves to the first page. */
|
|
178
|
-
firstPageLabel: string;
|
|
179
|
-
/** A label for the button that moves to the last page. */
|
|
180
|
-
lastPageLabel: string;
|
|
181
|
-
/** A label for the range of items within the current page and the length of the whole list. */
|
|
182
|
-
getRangeLabel: (page: number, pageSize: number, length: number) => string;
|
|
183
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatorIntl, never>;
|
|
184
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MatPaginatorIntl>;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export declare class MatPaginatorModule {
|
|
2
|
+
import { n as MatButtonModule } from '../module.d-792a497c.js';
|
|
3
|
+
import { M as MatSelectModule } from '../module.d-ba05faa6.js';
|
|
4
|
+
import { M as MatTooltipModule } from '../module.d-74a721b9.js';
|
|
5
|
+
import { M as MatPaginator } from '../paginator.d-40b1766e.js';
|
|
6
|
+
export { c as MAT_PAGINATOR_DEFAULT_OPTIONS, f as MAT_PAGINATOR_INTL_PROVIDER, e as MAT_PAGINATOR_INTL_PROVIDER_FACTORY, M as MatPaginator, b as MatPaginatorDefaultOptions, d as MatPaginatorIntl, a as MatPaginatorSelectConfig, P as PageEvent } from '../paginator.d-40b1766e.js';
|
|
7
|
+
import '../common-module.d-0e6515ae.js';
|
|
8
|
+
import '@angular/cdk/bidi';
|
|
9
|
+
import '../index.d-0536b706.js';
|
|
10
|
+
import '../ripple.d-2fb57d04.js';
|
|
11
|
+
import '@angular/cdk/platform';
|
|
12
|
+
import '@angular/cdk/a11y';
|
|
13
|
+
import '../palette.d-ec4a617c.js';
|
|
14
|
+
import '../ripple-loader.d-8aac2988.js';
|
|
15
|
+
import '@angular/cdk/overlay';
|
|
16
|
+
import '../index.d-37e31cd3.js';
|
|
17
|
+
import '../pseudo-checkbox-module.d-3abc0461.js';
|
|
18
|
+
import '../option.d-6f493d78.js';
|
|
19
|
+
import 'rxjs';
|
|
20
|
+
import '@angular/cdk/collections';
|
|
21
|
+
import '@angular/cdk/scrolling';
|
|
22
|
+
import '@angular/forms';
|
|
23
|
+
import '../error-options.d-448d9046.js';
|
|
24
|
+
import '../form-field.d-2edbc094.js';
|
|
25
|
+
import '@angular/cdk/coercion';
|
|
26
|
+
import '../form-field-control.d-eb86711c.js';
|
|
27
|
+
import '../module.d-c17c834e.js';
|
|
28
|
+
import '@angular/cdk/observers';
|
|
29
|
+
|
|
30
|
+
declare class MatPaginatorModule {
|
|
188
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatorModule, never>;
|
|
189
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatPaginatorModule, never, [typeof
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatPaginatorModule, never, [typeof MatButtonModule, typeof MatSelectModule, typeof MatTooltipModule, typeof MatPaginator], [typeof MatPaginator]>;
|
|
190
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatPaginatorModule>;
|
|
191
34
|
}
|
|
192
35
|
|
|
193
|
-
|
|
194
|
-
export declare interface MatPaginatorSelectConfig {
|
|
195
|
-
/** Whether to center the active option over the trigger. */
|
|
196
|
-
disableOptionCentering?: boolean;
|
|
197
|
-
/** Classes to be passed to the select panel. */
|
|
198
|
-
panelClass?: string | string[] | Set<string> | {
|
|
199
|
-
[key: string]: any;
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Change event object that is emitted when the user selects a
|
|
205
|
-
* different page size or navigates to another page.
|
|
206
|
-
*/
|
|
207
|
-
export declare class PageEvent {
|
|
208
|
-
/** The current page index. */
|
|
209
|
-
pageIndex: number;
|
|
210
|
-
/**
|
|
211
|
-
* Index of the page that was selected previously.
|
|
212
|
-
* @breaking-change 8.0.0 To be made into a required property.
|
|
213
|
-
*/
|
|
214
|
-
previousPageIndex?: number;
|
|
215
|
-
/** The current page size. */
|
|
216
|
-
pageSize: number;
|
|
217
|
-
/** The current total number of items being paged. */
|
|
218
|
-
length: number;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
export { }
|
|
36
|
+
export { MatPaginatorModule };
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
1
|
+
import * as _angular_cdk_testing from '@angular/cdk/testing';
|
|
2
|
+
import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
|
|
3
|
+
import { M as MatSelectHarness } from '../../select-harness.d-7441a7ac.js';
|
|
4
|
+
import '../../option-harness.d-3d33fc9a.js';
|
|
5
|
+
import '../../optgroup-harness.d-7f741f69.js';
|
|
6
|
+
import '../../form-field-control-harness.d-2d91f25a.js';
|
|
7
|
+
|
|
8
|
+
/** A set of criteria that can be used to filter a list of `MatPaginatorHarness` instances. */
|
|
9
|
+
interface PaginatorHarnessFilters extends BaseHarnessFilters {
|
|
10
|
+
}
|
|
8
11
|
|
|
9
12
|
/** Harness for interacting with a mat-paginator in tests. */
|
|
10
|
-
|
|
13
|
+
declare class MatPaginatorHarness extends ComponentHarness {
|
|
11
14
|
/** Selector used to find paginator instances. */
|
|
12
15
|
static hostSelector: string;
|
|
13
16
|
private _nextButton;
|
|
14
17
|
private _previousButton;
|
|
15
18
|
private _firstPageButton;
|
|
16
19
|
private _lastPageButton;
|
|
17
|
-
_select: AsyncFactoryFn<MatSelectHarness | null>;
|
|
20
|
+
_select: _angular_cdk_testing.AsyncFactoryFn<MatSelectHarness | null>;
|
|
18
21
|
private _pageSizeFallback;
|
|
19
|
-
_rangeLabel: AsyncFactoryFn<TestElement>;
|
|
22
|
+
_rangeLabel: _angular_cdk_testing.AsyncFactoryFn<_angular_cdk_testing.TestElement>;
|
|
20
23
|
/**
|
|
21
24
|
* Gets a `HarnessPredicate` that can be used to search for a paginator with specific attributes.
|
|
22
25
|
* @param options Options for filtering which paginator instances are considered a match.
|
|
@@ -45,8 +48,4 @@ export declare class MatPaginatorHarness extends ComponentHarness {
|
|
|
45
48
|
getRangeLabel(): Promise<string>;
|
|
46
49
|
}
|
|
47
50
|
|
|
48
|
-
|
|
49
|
-
export declare interface PaginatorHarnessFilters extends BaseHarnessFilters {
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export { }
|
|
51
|
+
export { MatPaginatorHarness, type PaginatorHarnessFilters };
|