@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
package/table/index.d.ts
CHANGED
|
@@ -1,85 +1,65 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import { CdkCell } from '@angular/cdk/table';
|
|
3
|
-
import { CdkCellDef } from '@angular/cdk/table';
|
|
4
|
-
import { CdkColumnDef } from '@angular/cdk/table';
|
|
5
|
-
import { CdkFooterCell } from '@angular/cdk/table';
|
|
6
|
-
import { CdkFooterCellDef } from '@angular/cdk/table';
|
|
7
|
-
import { CdkFooterRow } from '@angular/cdk/table';
|
|
8
|
-
import { CdkFooterRowDef } from '@angular/cdk/table';
|
|
9
|
-
import { CdkHeaderCell } from '@angular/cdk/table';
|
|
10
|
-
import { CdkHeaderCellDef } from '@angular/cdk/table';
|
|
11
|
-
import { CdkHeaderRow } from '@angular/cdk/table';
|
|
12
|
-
import { CdkHeaderRowDef } from '@angular/cdk/table';
|
|
13
|
-
import { CdkNoDataRow } from '@angular/cdk/table';
|
|
14
|
-
import { CdkRow } from '@angular/cdk/table';
|
|
15
|
-
import { CdkRowDef } from '@angular/cdk/table';
|
|
16
|
-
import { CdkTable } from '@angular/cdk/table';
|
|
17
|
-
import { CdkTextColumn } from '@angular/cdk/table';
|
|
18
|
-
import { DataSource } from '@angular/cdk/collections';
|
|
19
|
-
import * as i0 from '@angular/core';
|
|
20
|
-
import * as i1 from '@angular/material/core';
|
|
21
1
|
import * as i2 from '@angular/cdk/table';
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
MatHeaderCellDef,
|
|
37
|
-
MatFooterCellDef,
|
|
38
|
-
MatColumnDef,
|
|
39
|
-
MatHeaderCell,
|
|
40
|
-
MatFooterCell,
|
|
41
|
-
MatCell
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
declare namespace i5 {
|
|
46
|
-
export {
|
|
47
|
-
MatHeaderRowDef,
|
|
48
|
-
MatFooterRowDef,
|
|
49
|
-
MatRowDef,
|
|
50
|
-
MatHeaderRow,
|
|
51
|
-
MatFooterRow,
|
|
52
|
-
MatRow,
|
|
53
|
-
MatNoDataRow
|
|
54
|
-
}
|
|
55
|
-
}
|
|
2
|
+
import { CdkTable, CdkCellDef, CdkHeaderCellDef, CdkFooterCellDef, CdkColumnDef, CdkHeaderCell, CdkFooterCell, CdkCell, CdkHeaderRowDef, CdkFooterRowDef, CdkRowDef, CdkHeaderRow, CdkFooterRow, CdkRow, CdkNoDataRow, CdkTextColumn } from '@angular/cdk/table';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
|
|
5
|
+
import { Subscription, BehaviorSubject } from 'rxjs';
|
|
6
|
+
import { DataSource } from '@angular/cdk/collections';
|
|
7
|
+
import { M as MatPaginator } from '../paginator.d-40b1766e.js';
|
|
8
|
+
import { a as MatSort } from '../sort.d-c2b79a45.js';
|
|
9
|
+
import '@angular/cdk/bidi';
|
|
10
|
+
import '../palette.d-ec4a617c.js';
|
|
11
|
+
import '../form-field.d-2edbc094.js';
|
|
12
|
+
import '@angular/cdk/coercion';
|
|
13
|
+
import '@angular/forms';
|
|
14
|
+
import '../form-field-control.d-eb86711c.js';
|
|
15
|
+
import '../sort-direction.d-f4ce4649.js';
|
|
56
16
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Enables the recycle view repeater strategy, which reduces rendering latency. Not compatible with
|
|
19
|
+
* tables that animate rows.
|
|
20
|
+
*/
|
|
21
|
+
declare class MatRecycleRows {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatRecycleRows, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRecycleRows, "mat-table[recycleRows], table[mat-table][recycleRows]", never, {}, {}, never, never, true, never>;
|
|
61
24
|
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
25
|
+
declare class MatTable<T> extends CdkTable<T> {
|
|
26
|
+
/** Overrides the sticky CSS class set by the `CdkTable`. */
|
|
27
|
+
protected stickyCssClass: string;
|
|
28
|
+
/** Overrides the need to add position: sticky on every sticky cell element in `CdkTable`. */
|
|
29
|
+
protected needsPositionStickyOnElement: boolean;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatTable<any>, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTable<any>, "mat-table, table[mat-table]", ["matTable"], {}, {}, never, ["caption", "colgroup, col", "*"], true, never>;
|
|
67
32
|
}
|
|
68
33
|
|
|
69
34
|
/**
|
|
70
35
|
* Cell definition for the mat-table.
|
|
71
36
|
* Captures the template of a column's data row cell as well as cell-specific properties.
|
|
72
37
|
*/
|
|
73
|
-
|
|
38
|
+
declare class MatCellDef extends CdkCellDef {
|
|
74
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCellDef, never>;
|
|
75
40
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCellDef, "[matCellDef]", never, {}, {}, never, never, true, never>;
|
|
76
41
|
}
|
|
77
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Header cell definition for the mat-table.
|
|
44
|
+
* Captures the template of a column's header cell and as well as cell-specific properties.
|
|
45
|
+
*/
|
|
46
|
+
declare class MatHeaderCellDef extends CdkHeaderCellDef {
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderCellDef, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatHeaderCellDef, "[matHeaderCellDef]", never, {}, {}, never, never, true, never>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Footer cell definition for the mat-table.
|
|
52
|
+
* Captures the template of a column's footer cell and as well as cell-specific properties.
|
|
53
|
+
*/
|
|
54
|
+
declare class MatFooterCellDef extends CdkFooterCellDef {
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterCellDef, never>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFooterCellDef, "[matFooterCellDef]", never, {}, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
78
58
|
/**
|
|
79
59
|
* Column definition for the mat-table.
|
|
80
60
|
* Defines a set of cells available for a table column.
|
|
81
61
|
*/
|
|
82
|
-
|
|
62
|
+
declare class MatColumnDef extends CdkColumnDef {
|
|
83
63
|
/** Unique name for this column. */
|
|
84
64
|
get name(): string;
|
|
85
65
|
set name(name: string);
|
|
@@ -93,108 +73,89 @@ export declare class MatColumnDef extends CdkColumnDef {
|
|
|
93
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatColumnDef, never>;
|
|
94
74
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatColumnDef, "[matColumnDef]", never, { "name": { "alias": "matColumnDef"; "required": false; }; }, {}, never, never, true, never>;
|
|
95
75
|
}
|
|
96
|
-
|
|
76
|
+
/** Header cell template container that adds the right classes and role. */
|
|
77
|
+
declare class MatHeaderCell extends CdkHeaderCell {
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderCell, never>;
|
|
79
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatHeaderCell, "mat-header-cell, th[mat-header-cell]", never, {}, {}, never, never, true, never>;
|
|
80
|
+
}
|
|
97
81
|
/** Footer cell template container that adds the right classes and role. */
|
|
98
|
-
|
|
82
|
+
declare class MatFooterCell extends CdkFooterCell {
|
|
99
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterCell, never>;
|
|
100
84
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFooterCell, "mat-footer-cell, td[mat-footer-cell]", never, {}, {}, never, never, true, never>;
|
|
101
85
|
}
|
|
86
|
+
/** Cell template container that adds the right classes and role. */
|
|
87
|
+
declare class MatCell extends CdkCell {
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCell, never>;
|
|
89
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCell, "mat-cell, td[mat-cell]", never, {}, {}, never, never, true, never>;
|
|
90
|
+
}
|
|
102
91
|
|
|
103
92
|
/**
|
|
104
|
-
*
|
|
105
|
-
* Captures the
|
|
93
|
+
* Header row definition for the mat-table.
|
|
94
|
+
* Captures the header row's template and other header properties such as the columns to display.
|
|
106
95
|
*/
|
|
107
|
-
|
|
108
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
109
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
/** Footer template container that contains the cell outlet. Adds the right class and role. */
|
|
113
|
-
export declare class MatFooterRow extends CdkFooterRow {
|
|
114
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterRow, never>;
|
|
115
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFooterRow, "mat-footer-row, tr[mat-footer-row]", ["matFooterRow"], {}, {}, never, never, true, never>;
|
|
96
|
+
declare class MatHeaderRowDef extends CdkHeaderRowDef {
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderRowDef, never>;
|
|
98
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatHeaderRowDef, "[matHeaderRowDef]", never, { "columns": { "alias": "matHeaderRowDef"; "required": false; }; "sticky": { "alias": "matHeaderRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
|
|
99
|
+
static ngAcceptInputType_sticky: unknown;
|
|
116
100
|
}
|
|
117
|
-
|
|
118
101
|
/**
|
|
119
102
|
* Footer row definition for the mat-table.
|
|
120
103
|
* Captures the footer row's template and other footer properties such as the columns to display.
|
|
121
104
|
*/
|
|
122
|
-
|
|
105
|
+
declare class MatFooterRowDef extends CdkFooterRowDef {
|
|
123
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterRowDef, never>;
|
|
124
107
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFooterRowDef, "[matFooterRowDef]", never, { "columns": { "alias": "matFooterRowDef"; "required": false; }; "sticky": { "alias": "matFooterRowDefSticky"; "required": false; }; }, {}, never, never, true, never>;
|
|
125
108
|
static ngAcceptInputType_sticky: unknown;
|
|
126
109
|
}
|
|
127
|
-
|
|
128
|
-
/** Header cell template container that adds the right classes and role. */
|
|
129
|
-
export declare class MatHeaderCell extends CdkHeaderCell {
|
|
130
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderCell, never>;
|
|
131
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatHeaderCell, "mat-header-cell, th[mat-header-cell]", never, {}, {}, never, never, true, never>;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
110
|
/**
|
|
135
|
-
*
|
|
136
|
-
* Captures the
|
|
111
|
+
* Data row definition for the mat-table.
|
|
112
|
+
* Captures the data row's template and other properties such as the columns to display and
|
|
113
|
+
* a when predicate that describes when this row should be used.
|
|
137
114
|
*/
|
|
138
|
-
|
|
139
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
140
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
115
|
+
declare class MatRowDef<T> extends CdkRowDef<T> {
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatRowDef<any>, never>;
|
|
117
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRowDef<any>, "[matRowDef]", never, { "columns": { "alias": "matRowDefColumns"; "required": false; }; "when": { "alias": "matRowDefWhen"; "required": false; }; }, {}, never, never, true, never>;
|
|
141
118
|
}
|
|
142
|
-
|
|
143
119
|
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
144
|
-
|
|
120
|
+
declare class MatHeaderRow extends CdkHeaderRow {
|
|
145
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatHeaderRow, never>;
|
|
146
122
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatHeaderRow, "mat-header-row, tr[mat-header-row]", ["matHeaderRow"], {}, {}, never, never, true, never>;
|
|
147
123
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
static
|
|
156
|
-
static
|
|
124
|
+
/** Footer template container that contains the cell outlet. Adds the right class and role. */
|
|
125
|
+
declare class MatFooterRow extends CdkFooterRow {
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatFooterRow, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatFooterRow, "mat-footer-row, tr[mat-footer-row]", ["matFooterRow"], {}, {}, never, never, true, never>;
|
|
128
|
+
}
|
|
129
|
+
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
130
|
+
declare class MatRow extends CdkRow {
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatRow, never>;
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatRow, "mat-row, tr[mat-row]", ["matRow"], {}, {}, never, never, true, never>;
|
|
157
133
|
}
|
|
158
|
-
|
|
159
134
|
/** Row that can be used to display a message when no data is shown in the table. */
|
|
160
|
-
|
|
135
|
+
declare class MatNoDataRow extends CdkNoDataRow {
|
|
161
136
|
_contentClassName: string;
|
|
162
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatNoDataRow, never>;
|
|
163
138
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatNoDataRow, "ng-template[matNoDataRow]", never, {}, {}, never, never, true, never>;
|
|
164
139
|
}
|
|
165
140
|
|
|
166
141
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
176
|
-
export declare class MatRow extends CdkRow {
|
|
177
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatRow, never>;
|
|
178
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatRow, "mat-row, tr[mat-row]", ["matRow"], {}, {}, never, never, true, never>;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Data row definition for the mat-table.
|
|
183
|
-
* Captures the data row's template and other properties such as the columns to display and
|
|
184
|
-
* a when predicate that describes when this row should be used.
|
|
142
|
+
* Column that simply shows text content for the header and row cells. Assumes that the table
|
|
143
|
+
* is using the native table implementation (`<table>`).
|
|
144
|
+
*
|
|
145
|
+
* By default, the name of this column will be the header text and data property accessor.
|
|
146
|
+
* The header text can be overridden with the `headerText` input. Cell values can be overridden with
|
|
147
|
+
* the `dataAccessor` input. Change the text justification to the start or end using the `justify`
|
|
148
|
+
* input.
|
|
185
149
|
*/
|
|
186
|
-
|
|
187
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
188
|
-
static
|
|
150
|
+
declare class MatTextColumn<T> extends CdkTextColumn<T> {
|
|
151
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatTextColumn<any>, never>;
|
|
152
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTextColumn<any>, "mat-text-column", never, {}, {}, never, never, true, never>;
|
|
189
153
|
}
|
|
190
154
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
protected needsPositionStickyOnElement: boolean;
|
|
196
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatTable<any>, never>;
|
|
197
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTable<any>, "mat-table, table[mat-table]", ["matTable"], {}, {}, never, ["caption", "colgroup, col", "*"], true, never>;
|
|
155
|
+
declare class MatTableModule {
|
|
156
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatTableModule, never>;
|
|
157
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTableModule, never, [typeof MatCommonModule, typeof i2.CdkTableModule, typeof MatTable, typeof MatRecycleRows, typeof MatHeaderCellDef, typeof MatHeaderRowDef, typeof MatColumnDef, typeof MatCellDef, typeof MatRowDef, typeof MatFooterCellDef, typeof MatFooterRowDef, typeof MatHeaderCell, typeof MatCell, typeof MatFooterCell, typeof MatHeaderRow, typeof MatRow, typeof MatFooterRow, typeof MatNoDataRow, typeof MatTextColumn], [typeof MatCommonModule, typeof MatTable, typeof MatRecycleRows, typeof MatHeaderCellDef, typeof MatHeaderRowDef, typeof MatColumnDef, typeof MatCellDef, typeof MatRowDef, typeof MatFooterCellDef, typeof MatFooterRowDef, typeof MatHeaderCell, typeof MatCell, typeof MatFooterCell, typeof MatHeaderRow, typeof MatRow, typeof MatFooterRow, typeof MatNoDataRow, typeof MatTextColumn]>;
|
|
158
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatTableModule>;
|
|
198
159
|
}
|
|
199
160
|
|
|
200
161
|
/**
|
|
@@ -210,7 +171,7 @@ export declare class MatTable<T> extends CdkTable<T> {
|
|
|
210
171
|
* interactions. If your app needs to support more advanced use cases, consider implementing your
|
|
211
172
|
* own `DataSource`.
|
|
212
173
|
*/
|
|
213
|
-
|
|
174
|
+
declare class MatTableDataSource<T, P extends MatPaginator = MatPaginator> extends DataSource<T> {
|
|
214
175
|
/** Stream that emits when a new data array is set on the data source. */
|
|
215
176
|
private readonly _data;
|
|
216
177
|
/** Stream emitting render data to the table (depends on ordered data changes). */
|
|
@@ -333,24 +294,4 @@ export declare class MatTableDataSource<T, P extends MatPaginator = MatPaginator
|
|
|
333
294
|
disconnect(): void;
|
|
334
295
|
}
|
|
335
296
|
|
|
336
|
-
export
|
|
337
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatTableModule, never>;
|
|
338
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTableModule, never, [typeof i1.MatCommonModule, typeof i2.CdkTableModule, typeof i3.MatTable, typeof i3.MatRecycleRows, typeof i4.MatHeaderCellDef, typeof i5.MatHeaderRowDef, typeof i4.MatColumnDef, typeof i4.MatCellDef, typeof i5.MatRowDef, typeof i4.MatFooterCellDef, typeof i5.MatFooterRowDef, typeof i4.MatHeaderCell, typeof i4.MatCell, typeof i4.MatFooterCell, typeof i5.MatHeaderRow, typeof i5.MatRow, typeof i5.MatFooterRow, typeof i5.MatNoDataRow, typeof i6.MatTextColumn], [typeof i1.MatCommonModule, typeof i3.MatTable, typeof i3.MatRecycleRows, typeof i4.MatHeaderCellDef, typeof i5.MatHeaderRowDef, typeof i4.MatColumnDef, typeof i4.MatCellDef, typeof i5.MatRowDef, typeof i4.MatFooterCellDef, typeof i5.MatFooterRowDef, typeof i4.MatHeaderCell, typeof i4.MatCell, typeof i4.MatFooterCell, typeof i5.MatHeaderRow, typeof i5.MatRow, typeof i5.MatFooterRow, typeof i5.MatNoDataRow, typeof i6.MatTextColumn]>;
|
|
339
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatTableModule>;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
* Column that simply shows text content for the header and row cells. Assumes that the table
|
|
344
|
-
* is using the native table implementation (`<table>`).
|
|
345
|
-
*
|
|
346
|
-
* By default, the name of this column will be the header text and data property accessor.
|
|
347
|
-
* The header text can be overridden with the `headerText` input. Cell values can be overridden with
|
|
348
|
-
* the `dataAccessor` input. Change the text justification to the start or end using the `justify`
|
|
349
|
-
* input.
|
|
350
|
-
*/
|
|
351
|
-
export declare class MatTextColumn<T> extends CdkTextColumn<T> {
|
|
352
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatTextColumn<any>, never>;
|
|
353
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTextColumn<any>, "mat-text-column", never, {}, {}, never, never, true, never>;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
export { }
|
|
297
|
+
export { MatCell, MatCellDef, MatColumnDef, MatFooterCell, MatFooterCellDef, MatFooterRow, MatFooterRowDef, MatHeaderCell, MatHeaderCellDef, MatHeaderRow, MatHeaderRowDef, MatNoDataRow, MatRecycleRows, MatRow, MatRowDef, MatTable, MatTableDataSource, MatTableModule, MatTextColumn };
|
package/table/testing/index.d.ts
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
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 { HarnessPredicate } from '@angular/cdk/testing';
|
|
1
|
+
import { BaseHarnessFilters, ContentContainerComponentHarness, ComponentHarnessConstructor, HarnessPredicate, ComponentHarness } from '@angular/cdk/testing';
|
|
6
2
|
|
|
7
3
|
/** A set of criteria that can be used to filter a list of cell harness instances. */
|
|
8
|
-
|
|
4
|
+
interface CellHarnessFilters extends BaseHarnessFilters {
|
|
9
5
|
/** Only find instances whose text matches the given value. */
|
|
10
6
|
text?: string | RegExp;
|
|
11
7
|
/** Only find instances whose column name matches the given value. */
|
|
12
8
|
columnName?: string | RegExp;
|
|
13
9
|
}
|
|
10
|
+
/** A set of criteria that can be used to filter a list of row harness instances. */
|
|
11
|
+
interface RowHarnessFilters extends BaseHarnessFilters {
|
|
12
|
+
}
|
|
13
|
+
/** A set of criteria that can be used to filter a list of table harness instances. */
|
|
14
|
+
interface TableHarnessFilters extends BaseHarnessFilters {
|
|
15
|
+
}
|
|
14
16
|
|
|
17
|
+
declare abstract class _MatCellHarnessBase extends ContentContainerComponentHarness {
|
|
18
|
+
/** Gets the cell's text. */
|
|
19
|
+
getText(): Promise<string>;
|
|
20
|
+
/** Gets the name of the column that the cell belongs to. */
|
|
21
|
+
getColumnName(): Promise<string>;
|
|
22
|
+
protected static _getCellPredicate<T extends MatCellHarness>(type: ComponentHarnessConstructor<T>, options: CellHarnessFilters): HarnessPredicate<T>;
|
|
23
|
+
}
|
|
15
24
|
/** Harness for interacting with an Angular Material table cell. */
|
|
16
|
-
|
|
25
|
+
declare class MatCellHarness extends _MatCellHarnessBase {
|
|
17
26
|
/** The selector for the host element of a `MatCellHarness` instance. */
|
|
18
27
|
static hostSelector: string;
|
|
19
28
|
/**
|
|
@@ -23,57 +32,60 @@ export declare class MatCellHarness extends _MatCellHarnessBase {
|
|
|
23
32
|
*/
|
|
24
33
|
static with(options?: CellHarnessFilters): HarnessPredicate<MatCellHarness>;
|
|
25
34
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
getText(): Promise<string>;
|
|
30
|
-
/** Gets the name of the column that the cell belongs to. */
|
|
31
|
-
getColumnName(): Promise<string>;
|
|
32
|
-
protected static _getCellPredicate<T extends MatCellHarness>(type: ComponentHarnessConstructor<T>, options: CellHarnessFilters): HarnessPredicate<T>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/** Harness for interacting with an Angular Material table footer cell. */
|
|
36
|
-
export declare class MatFooterCellHarness extends _MatCellHarnessBase {
|
|
37
|
-
/** The selector for the host element of a `MatFooterCellHarness` instance. */
|
|
35
|
+
/** Harness for interacting with an Angular Material table header cell. */
|
|
36
|
+
declare class MatHeaderCellHarness extends _MatCellHarnessBase {
|
|
37
|
+
/** The selector for the host element of a `MatHeaderCellHarness` instance. */
|
|
38
38
|
static hostSelector: string;
|
|
39
39
|
/**
|
|
40
|
-
* Gets a `HarnessPredicate` that can be used to search for a table
|
|
40
|
+
* Gets a `HarnessPredicate` that can be used to search for a table header cell with specific
|
|
41
41
|
* attributes.
|
|
42
42
|
* @param options Options for narrowing the search
|
|
43
43
|
* @return a `HarnessPredicate` configured with the given options.
|
|
44
44
|
*/
|
|
45
|
-
static with(options?: CellHarnessFilters): HarnessPredicate<
|
|
45
|
+
static with(options?: CellHarnessFilters): HarnessPredicate<MatHeaderCellHarness>;
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
/** The selector for the host element of a `MatFooterRowHarness` instance. */
|
|
47
|
+
/** Harness for interacting with an Angular Material table footer cell. */
|
|
48
|
+
declare class MatFooterCellHarness extends _MatCellHarnessBase {
|
|
49
|
+
/** The selector for the host element of a `MatFooterCellHarness` instance. */
|
|
51
50
|
static hostSelector: string;
|
|
52
|
-
protected _cellHarness: typeof MatFooterCellHarness;
|
|
53
51
|
/**
|
|
54
|
-
* Gets a `HarnessPredicate` that can be used to search for a table footer
|
|
52
|
+
* Gets a `HarnessPredicate` that can be used to search for a table footer cell with specific
|
|
55
53
|
* attributes.
|
|
56
54
|
* @param options Options for narrowing the search
|
|
57
55
|
* @return a `HarnessPredicate` configured with the given options.
|
|
58
56
|
*/
|
|
59
|
-
static with
|
|
57
|
+
static with(options?: CellHarnessFilters): HarnessPredicate<MatFooterCellHarness>;
|
|
60
58
|
}
|
|
61
59
|
|
|
62
|
-
/**
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
/** Text extracted from a table row organized by columns. */
|
|
61
|
+
interface MatRowHarnessColumnsText {
|
|
62
|
+
[columnName: string]: string;
|
|
63
|
+
}
|
|
64
|
+
declare abstract class _MatRowHarnessBase<CellType extends ComponentHarnessConstructor<Cell> & {
|
|
65
|
+
with: (options?: CellHarnessFilters) => HarnessPredicate<Cell>;
|
|
66
|
+
}, Cell extends _MatCellHarnessBase> extends ComponentHarness {
|
|
67
|
+
protected abstract _cellHarness: CellType;
|
|
68
|
+
/** Gets a list of `MatCellHarness` for all cells in the row. */
|
|
69
|
+
getCells(filter?: CellHarnessFilters): Promise<Cell[]>;
|
|
70
|
+
/** Gets the text of the cells in the row. */
|
|
71
|
+
getCellTextByIndex(filter?: CellHarnessFilters): Promise<string[]>;
|
|
72
|
+
/** Gets the text inside the row organized by columns. */
|
|
73
|
+
getCellTextByColumnName(): Promise<MatRowHarnessColumnsText>;
|
|
74
|
+
}
|
|
75
|
+
/** Harness for interacting with an Angular Material table row. */
|
|
76
|
+
declare class MatRowHarness extends _MatRowHarnessBase<typeof MatCellHarness, MatCellHarness> {
|
|
77
|
+
/** The selector for the host element of a `MatRowHarness` instance. */
|
|
65
78
|
static hostSelector: string;
|
|
79
|
+
protected _cellHarness: typeof MatCellHarness;
|
|
66
80
|
/**
|
|
67
|
-
* Gets a `HarnessPredicate` that can be used to search for a table
|
|
68
|
-
* attributes.
|
|
81
|
+
* Gets a `HarnessPredicate` that can be used to search for a table row with specific attributes.
|
|
69
82
|
* @param options Options for narrowing the search
|
|
70
83
|
* @return a `HarnessPredicate` configured with the given options.
|
|
71
84
|
*/
|
|
72
|
-
static with(options?:
|
|
85
|
+
static with<T extends MatRowHarness>(this: ComponentHarnessConstructor<T>, options?: RowHarnessFilters): HarnessPredicate<T>;
|
|
73
86
|
}
|
|
74
|
-
|
|
75
87
|
/** Harness for interacting with an Angular Material table header row. */
|
|
76
|
-
|
|
88
|
+
declare class MatHeaderRowHarness extends _MatRowHarnessBase<typeof MatHeaderCellHarness, MatHeaderCellHarness> {
|
|
77
89
|
/** The selector for the host element of a `MatHeaderRowHarness` instance. */
|
|
78
90
|
static hostSelector: string;
|
|
79
91
|
protected _cellHarness: typeof MatHeaderCellHarness;
|
|
@@ -85,39 +97,30 @@ export declare class MatHeaderRowHarness extends _MatRowHarnessBase<typeof MatHe
|
|
|
85
97
|
*/
|
|
86
98
|
static with<T extends MatHeaderRowHarness>(this: ComponentHarnessConstructor<T>, options?: RowHarnessFilters): HarnessPredicate<T>;
|
|
87
99
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/** The selector for the host element of a `MatRowHarness` instance. */
|
|
100
|
+
/** Harness for interacting with an Angular Material table footer row. */
|
|
101
|
+
declare class MatFooterRowHarness extends _MatRowHarnessBase<typeof MatFooterCellHarness, MatFooterCellHarness> {
|
|
102
|
+
/** The selector for the host element of a `MatFooterRowHarness` instance. */
|
|
92
103
|
static hostSelector: string;
|
|
93
|
-
protected _cellHarness: typeof
|
|
104
|
+
protected _cellHarness: typeof MatFooterCellHarness;
|
|
94
105
|
/**
|
|
95
|
-
* Gets a `HarnessPredicate` that can be used to search for a table row with specific
|
|
106
|
+
* Gets a `HarnessPredicate` that can be used to search for a table footer row cell with specific
|
|
107
|
+
* attributes.
|
|
96
108
|
* @param options Options for narrowing the search
|
|
97
109
|
* @return a `HarnessPredicate` configured with the given options.
|
|
98
110
|
*/
|
|
99
|
-
static with<T extends
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export declare abstract class _MatRowHarnessBase<CellType extends ComponentHarnessConstructor<Cell> & {
|
|
103
|
-
with: (options?: CellHarnessFilters) => HarnessPredicate<Cell>;
|
|
104
|
-
}, Cell extends _MatCellHarnessBase> extends ComponentHarness {
|
|
105
|
-
protected abstract _cellHarness: CellType;
|
|
106
|
-
/** Gets a list of `MatCellHarness` for all cells in the row. */
|
|
107
|
-
getCells(filter?: CellHarnessFilters): Promise<Cell[]>;
|
|
108
|
-
/** Gets the text of the cells in the row. */
|
|
109
|
-
getCellTextByIndex(filter?: CellHarnessFilters): Promise<string[]>;
|
|
110
|
-
/** Gets the text inside the row organized by columns. */
|
|
111
|
-
getCellTextByColumnName(): Promise<MatRowHarnessColumnsText>;
|
|
111
|
+
static with<T extends MatFooterRowHarness>(this: ComponentHarnessConstructor<T>, options?: RowHarnessFilters): HarnessPredicate<T>;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
/** Text extracted from a table
|
|
115
|
-
|
|
116
|
-
[columnName: string]:
|
|
114
|
+
/** Text extracted from a table organized by columns. */
|
|
115
|
+
interface MatTableHarnessColumnsText {
|
|
116
|
+
[columnName: string]: {
|
|
117
|
+
text: string[];
|
|
118
|
+
headerText: string[];
|
|
119
|
+
footerText: string[];
|
|
120
|
+
};
|
|
117
121
|
}
|
|
118
|
-
|
|
119
122
|
/** Harness for interacting with a mat-table in tests. */
|
|
120
|
-
|
|
123
|
+
declare class MatTableHarness extends ContentContainerComponentHarness<string> {
|
|
121
124
|
/** The selector for the host element of a `MatTableHarness` instance. */
|
|
122
125
|
static hostSelector: string;
|
|
123
126
|
_headerRowHarness: typeof MatHeaderRowHarness;
|
|
@@ -141,21 +144,4 @@ export declare class MatTableHarness extends ContentContainerComponentHarness<st
|
|
|
141
144
|
getCellTextByColumnName(): Promise<MatTableHarnessColumnsText>;
|
|
142
145
|
}
|
|
143
146
|
|
|
144
|
-
|
|
145
|
-
export declare interface MatTableHarnessColumnsText {
|
|
146
|
-
[columnName: string]: {
|
|
147
|
-
text: string[];
|
|
148
|
-
headerText: string[];
|
|
149
|
-
footerText: string[];
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/** A set of criteria that can be used to filter a list of row harness instances. */
|
|
154
|
-
export declare interface RowHarnessFilters extends BaseHarnessFilters {
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/** A set of criteria that can be used to filter a list of table harness instances. */
|
|
158
|
-
export declare interface TableHarnessFilters extends BaseHarnessFilters {
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export { }
|
|
147
|
+
export { type CellHarnessFilters, MatCellHarness, MatFooterCellHarness, MatFooterRowHarness, MatHeaderCellHarness, MatHeaderRowHarness, MatRowHarness, type MatRowHarnessColumnsText, MatTableHarness, type MatTableHarnessColumnsText, type RowHarnessFilters, type TableHarnessFilters, _MatCellHarnessBase, _MatRowHarnessBase };
|
package/tabs/_tabs-theme.scss
CHANGED
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
18
18
|
} @else {
|
|
19
19
|
@include sass-utils.current-selector-or-root() {
|
|
20
|
-
@include token-utils.create-token-values(
|
|
20
|
+
@include token-utils.create-token-values-mixed(
|
|
21
21
|
tokens-mdc-secondary-navigation-tab.$prefix,
|
|
22
22
|
tokens-mdc-secondary-navigation-tab.get-unthemable-tokens()
|
|
23
23
|
);
|
|
24
|
-
@include token-utils.create-token-values(
|
|
24
|
+
@include token-utils.create-token-values-mixed(
|
|
25
25
|
tokens-mdc-tab-indicator.$prefix,
|
|
26
26
|
tokens-mdc-tab-indicator.get-unthemable-tokens()
|
|
27
27
|
);
|
|
28
|
-
@include token-utils.create-token-values(
|
|
28
|
+
@include token-utils.create-token-values-mixed(
|
|
29
29
|
tokens-mat-tab-header.$prefix,
|
|
30
30
|
tokens-mat-tab-header.get-unthemable-tokens()
|
|
31
31
|
);
|
|
32
|
-
@include token-utils.create-token-values(
|
|
32
|
+
@include token-utils.create-token-values-mixed(
|
|
33
33
|
tokens-mat-tab-header-with-background.$prefix,
|
|
34
34
|
tokens-mat-tab-header-with-background.get-unthemable-tokens()
|
|
35
35
|
);
|
|
@@ -74,22 +74,22 @@
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
@mixin _background-styles($theme, $palette-name) {
|
|
77
|
-
@include token-utils.create-token-values(
|
|
77
|
+
@include token-utils.create-token-values-mixed(
|
|
78
78
|
tokens-mat-tab-header-with-background.$prefix,
|
|
79
79
|
tokens-mat-tab-header-with-background.get-color-tokens($theme, $palette-name)
|
|
80
80
|
);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
@mixin _palette-styles($theme, $palette-name) {
|
|
84
|
-
@include token-utils.create-token-values(
|
|
84
|
+
@include token-utils.create-token-values-mixed(
|
|
85
85
|
tokens-mdc-secondary-navigation-tab.$prefix,
|
|
86
86
|
tokens-mdc-secondary-navigation-tab.get-color-tokens($theme, $palette-name)
|
|
87
87
|
);
|
|
88
|
-
@include token-utils.create-token-values(
|
|
88
|
+
@include token-utils.create-token-values-mixed(
|
|
89
89
|
tokens-mdc-tab-indicator.$prefix,
|
|
90
90
|
tokens-mdc-tab-indicator.get-color-tokens($theme, $palette-name)
|
|
91
91
|
);
|
|
92
|
-
@include token-utils.create-token-values(
|
|
92
|
+
@include token-utils.create-token-values-mixed(
|
|
93
93
|
tokens-mat-tab-header.$prefix,
|
|
94
94
|
tokens-mat-tab-header.get-color-tokens($theme, $palette-name)
|
|
95
95
|
);
|
|
@@ -102,19 +102,19 @@
|
|
|
102
102
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
103
103
|
} @else {
|
|
104
104
|
.mat-mdc-tab-header {
|
|
105
|
-
@include token-utils.create-token-values(
|
|
105
|
+
@include token-utils.create-token-values-mixed(
|
|
106
106
|
tokens-mdc-secondary-navigation-tab.$prefix,
|
|
107
107
|
tokens-mdc-secondary-navigation-tab.get-typography-tokens($theme)
|
|
108
108
|
);
|
|
109
|
-
@include token-utils.create-token-values(
|
|
109
|
+
@include token-utils.create-token-values-mixed(
|
|
110
110
|
tokens-mdc-tab-indicator.$prefix,
|
|
111
111
|
tokens-mdc-tab-indicator.get-typography-tokens($theme)
|
|
112
112
|
);
|
|
113
|
-
@include token-utils.create-token-values(
|
|
113
|
+
@include token-utils.create-token-values-mixed(
|
|
114
114
|
tokens-mat-tab-header.$prefix,
|
|
115
115
|
tokens-mat-tab-header.get-typography-tokens($theme)
|
|
116
116
|
);
|
|
117
|
-
@include token-utils.create-token-values(
|
|
117
|
+
@include token-utils.create-token-values-mixed(
|
|
118
118
|
tokens-mat-tab-header-with-background.$prefix,
|
|
119
119
|
tokens-mat-tab-header-with-background.get-typography-tokens($theme)
|
|
120
120
|
);
|
|
@@ -129,19 +129,19 @@
|
|
|
129
129
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
130
130
|
} @else {
|
|
131
131
|
.mat-mdc-tab-header {
|
|
132
|
-
@include token-utils.create-token-values(
|
|
132
|
+
@include token-utils.create-token-values-mixed(
|
|
133
133
|
tokens-mdc-secondary-navigation-tab.$prefix,
|
|
134
134
|
tokens-mdc-secondary-navigation-tab.get-density-tokens($theme)
|
|
135
135
|
);
|
|
136
|
-
@include token-utils.create-token-values(
|
|
136
|
+
@include token-utils.create-token-values-mixed(
|
|
137
137
|
tokens-mdc-tab-indicator.$prefix,
|
|
138
138
|
tokens-mdc-tab-indicator.get-density-tokens($theme)
|
|
139
139
|
);
|
|
140
|
-
@include token-utils.create-token-values(
|
|
140
|
+
@include token-utils.create-token-values-mixed(
|
|
141
141
|
tokens-mat-tab-header.$prefix,
|
|
142
142
|
tokens-mat-tab-header.get-density-tokens($theme)
|
|
143
143
|
);
|
|
144
|
-
@include token-utils.create-token-values(
|
|
144
|
+
@include token-utils.create-token-values-mixed(
|
|
145
145
|
tokens-mat-tab-header-with-background.$prefix,
|
|
146
146
|
tokens-mat-tab-header-with-background.get-density-tokens($theme)
|
|
147
147
|
);
|