@depup/angular__material 21.2.2-depup.19
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/LICENSE +21 -0
- package/README.md +31 -0
- package/_index.scss +145 -0
- package/autocomplete/_autocomplete-theme.scss +76 -0
- package/autocomplete/_m2-autocomplete.scss +19 -0
- package/autocomplete/_m3-autocomplete.scss +26 -0
- package/badge/_badge-theme.scss +106 -0
- package/badge/_m2-badge.scss +73 -0
- package/badge/_m3-badge.scss +52 -0
- package/bottom-sheet/_bottom-sheet-theme.scss +76 -0
- package/bottom-sheet/_m2-bottom-sheet.scss +24 -0
- package/bottom-sheet/_m3-bottom-sheet.scss +25 -0
- package/button/_button-theme.scss +113 -0
- package/button/_fab-theme.scss +111 -0
- package/button/_icon-button-theme.scss +136 -0
- package/button/_m2-button.scss +194 -0
- package/button/_m2-fab.scss +101 -0
- package/button/_m2-icon-button.scss +59 -0
- package/button/_m3-button.scss +170 -0
- package/button/_m3-fab.scss +92 -0
- package/button/_m3-icon-button.scss +54 -0
- package/button-toggle/_button-toggle-theme.scss +93 -0
- package/button-toggle/_m2-button-toggle.scss +68 -0
- package/button-toggle/_m3-button-toggle.scss +72 -0
- package/card/_card-theme.scss +76 -0
- package/card/_m2-card.scss +39 -0
- package/card/_m3-card.scss +44 -0
- package/changes.json +10 -0
- package/checkbox/_checkbox-theme.scss +105 -0
- package/checkbox/_m2-checkbox.scss +78 -0
- package/checkbox/_m3-checkbox.scss +68 -0
- package/chips/_chips-theme.scss +115 -0
- package/chips/_m2-chip.scss +85 -0
- package/chips/_m3-chip.scss +81 -0
- package/core/_core-theme.scss +125 -0
- package/core/_core.scss +50 -0
- package/core/_m2-app.scss +24 -0
- package/core/_m3-app.scss +44 -0
- package/core/color/_all-color.scss +17 -0
- package/core/density/private/_all-density.scss +78 -0
- package/core/focus-indicators/_private.scss +126 -0
- package/core/m2/_index.scss +52 -0
- package/core/m2/_palette.scss +748 -0
- package/core/m2/_theming.scss +340 -0
- package/core/m2/_typography-utils.scss +81 -0
- package/core/m2/_typography.scss +388 -0
- package/core/option/_m2-optgroup.scss +21 -0
- package/core/option/_m2-option.scss +38 -0
- package/core/option/_m3-optgroup.scss +25 -0
- package/core/option/_m3-option.scss +37 -0
- package/core/option/_optgroup-theme.scss +76 -0
- package/core/option/_option-theme.scss +103 -0
- package/core/ripple/_m2-ripple.scss +17 -0
- package/core/ripple/_m3-ripple.scss +17 -0
- package/core/ripple/_ripple-theme.scss +75 -0
- package/core/ripple/_ripple.scss +56 -0
- package/core/selection/pseudo-checkbox/_m2-pseudo-checkbox.scss +32 -0
- package/core/selection/pseudo-checkbox/_m3-pseudo-checkbox.scss +34 -0
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-common.scss +86 -0
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +110 -0
- package/core/style/_checkbox-common.scss +11 -0
- package/core/style/_elevation.scss +208 -0
- package/core/style/_layout-common.scss +8 -0
- package/core/style/_private.scss +27 -0
- package/core/style/_sass-utils.scss +57 -0
- package/core/style/_validation.scss +52 -0
- package/core/style/_variables.scss +44 -0
- package/core/style/_vendor-prefixes.scss +56 -0
- package/core/theming/_all-theme.scss +168 -0
- package/core/theming/_color-api-backwards-compatibility.scss +159 -0
- package/core/theming/_config-validation.scss +174 -0
- package/core/theming/_definition.scss +141 -0
- package/core/theming/_inspection.scss +289 -0
- package/core/theming/_m2-inspection.scss +243 -0
- package/core/theming/_palettes.scss +1036 -0
- package/core/theming/_theming.scss +193 -0
- package/core/theming/_validation.scss +5 -0
- package/core/tokens/_classes.scss +398 -0
- package/core/tokens/_m2-utils.scss +25 -0
- package/core/tokens/_m3-tokens.scss +126 -0
- package/core/tokens/_m3-utils.scss +36 -0
- package/core/tokens/_system.scss +398 -0
- package/core/tokens/_token-utils.scss +119 -0
- package/core/tokens/m2/_index.scss +6 -0
- package/core/tokens/m2/_md-sys-color-internal.scss +11 -0
- package/core/tokens/m2/_md-sys-color.scss +123 -0
- package/core/tokens/m2/_md-sys-elevation.scss +10 -0
- package/core/tokens/m2/_md-sys-motion.scss +30 -0
- package/core/tokens/m2/_md-sys-shape.scss +16 -0
- package/core/tokens/m2/_md-sys-state.scss +8 -0
- package/core/tokens/m2/_md-sys-typescale.scss +68 -0
- package/core/tokens/m3/_index.scss +7 -0
- package/core/tokens/m3/_md-sys-color-internal.scss +11 -0
- package/core/tokens/m3/_md-sys-color.scss +118 -0
- package/core/tokens/m3/_md-sys-elevation.scss +15 -0
- package/core/tokens/m3/_md-sys-motion.scss +35 -0
- package/core/tokens/m3/_md-sys-shape.scss +21 -0
- package/core/tokens/m3/_md-sys-state.scss +13 -0
- package/core/tokens/m3/_md-sys-typescale-internal.scss +5 -0
- package/core/tokens/m3/_md-sys-typescale.scss +114 -0
- package/core/tokens/m3/_theme.scss +35 -0
- package/core/typography/_all-typography.scss +104 -0
- package/core/typography/_typography-utils.scss +31 -0
- package/core/typography/_typography.scss +269 -0
- package/core/typography/_versioning.scss +90 -0
- package/datepicker/_datepicker-theme.scss +132 -0
- package/datepicker/_m2-datepicker.scss +81 -0
- package/datepicker/_m3-datepicker.scss +74 -0
- package/dialog/_dialog-legacy-padding.scss +31 -0
- package/dialog/_dialog-theme.scss +76 -0
- package/dialog/_m2-dialog.scss +43 -0
- package/dialog/_m3-dialog.scss +47 -0
- package/divider/_divider-theme.scss +75 -0
- package/divider/_m2-divider.scss +17 -0
- package/divider/_m3-divider.scss +19 -0
- package/expansion/_expansion-theme.scss +76 -0
- package/expansion/_m2-expansion.scss +64 -0
- package/expansion/_m3-expansion.scss +61 -0
- package/fesm2022/_animation-chunk.mjs +22 -0
- package/fesm2022/_animation-chunk.mjs.map +1 -0
- package/fesm2022/_date-formats-chunk.mjs +86 -0
- package/fesm2022/_date-formats-chunk.mjs.map +1 -0
- package/fesm2022/_date-range-input-harness-chunk.mjs +322 -0
- package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -0
- package/fesm2022/_error-options-chunk.mjs +66 -0
- package/fesm2022/_error-options-chunk.mjs.map +1 -0
- package/fesm2022/_error-state-chunk.mjs +30 -0
- package/fesm2022/_error-state-chunk.mjs.map +1 -0
- package/fesm2022/_form-field-chunk.mjs +1351 -0
- package/fesm2022/_form-field-chunk.mjs.map +1 -0
- package/fesm2022/_icon-button-chunk.mjs +268 -0
- package/fesm2022/_icon-button-chunk.mjs.map +1 -0
- package/fesm2022/_icon-registry-chunk.mjs +368 -0
- package/fesm2022/_icon-registry-chunk.mjs.map +1 -0
- package/fesm2022/_input-harness-chunk.mjs +67 -0
- package/fesm2022/_input-harness-chunk.mjs.map +1 -0
- package/fesm2022/_input-value-accessor-chunk.mjs +6 -0
- package/fesm2022/_input-value-accessor-chunk.mjs.map +1 -0
- package/fesm2022/_internal-form-field-chunk.mjs +67 -0
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -0
- package/fesm2022/_line-chunk.mjs +99 -0
- package/fesm2022/_line-chunk.mjs.map +1 -0
- package/fesm2022/_option-chunk.mjs +385 -0
- package/fesm2022/_option-chunk.mjs.map +1 -0
- package/fesm2022/_option-harness-chunk.mjs +30 -0
- package/fesm2022/_option-harness-chunk.mjs.map +1 -0
- package/fesm2022/_option-module-chunk.mjs +48 -0
- package/fesm2022/_option-module-chunk.mjs.map +1 -0
- package/fesm2022/_pseudo-checkbox-chunk.mjs +88 -0
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -0
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +46 -0
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -0
- package/fesm2022/_public-api-chunk.mjs +84 -0
- package/fesm2022/_public-api-chunk.mjs.map +1 -0
- package/fesm2022/_ripple-chunk.mjs +544 -0
- package/fesm2022/_ripple-chunk.mjs.map +1 -0
- package/fesm2022/_ripple-loader-chunk.mjs +144 -0
- package/fesm2022/_ripple-loader-chunk.mjs.map +1 -0
- package/fesm2022/_ripple-module-chunk.mjs +46 -0
- package/fesm2022/_ripple-module-chunk.mjs.map +1 -0
- package/fesm2022/_structural-styles-chunk.mjs +45 -0
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -0
- package/fesm2022/_tooltip-chunk.mjs +848 -0
- package/fesm2022/_tooltip-chunk.mjs.map +1 -0
- package/fesm2022/autocomplete-testing.mjs +75 -0
- package/fesm2022/autocomplete-testing.mjs.map +1 -0
- package/fesm2022/autocomplete.mjs +1068 -0
- package/fesm2022/autocomplete.mjs.map +1 -0
- package/fesm2022/badge-testing.mjs +48 -0
- package/fesm2022/badge-testing.mjs.map +1 -0
- package/fesm2022/badge.mjs +357 -0
- package/fesm2022/badge.mjs.map +1 -0
- package/fesm2022/bottom-sheet-testing.mjs +17 -0
- package/fesm2022/bottom-sheet-testing.mjs.map +1 -0
- package/fesm2022/bottom-sheet.mjs +390 -0
- package/fesm2022/bottom-sheet.mjs.map +1 -0
- package/fesm2022/button-testing.mjs +81 -0
- package/fesm2022/button-testing.mjs.map +1 -0
- package/fesm2022/button-toggle-testing.mjs +87 -0
- package/fesm2022/button-toggle-testing.mjs.map +1 -0
- package/fesm2022/button-toggle.mjs +789 -0
- package/fesm2022/button-toggle.mjs.map +1 -0
- package/fesm2022/button.mjs +308 -0
- package/fesm2022/button.mjs.map +1 -0
- package/fesm2022/card-testing.mjs +29 -0
- package/fesm2022/card-testing.mjs.map +1 -0
- package/fesm2022/card.mjs +615 -0
- package/fesm2022/card.mjs.map +1 -0
- package/fesm2022/checkbox-testing.mjs +79 -0
- package/fesm2022/checkbox-testing.mjs.map +1 -0
- package/fesm2022/checkbox.mjs +551 -0
- package/fesm2022/checkbox.mjs.map +1 -0
- package/fesm2022/chips-testing.mjs +239 -0
- package/fesm2022/chips-testing.mjs.map +1 -0
- package/fesm2022/chips.mjs +2663 -0
- package/fesm2022/chips.mjs.map +1 -0
- package/fesm2022/core-testing.mjs +22 -0
- package/fesm2022/core-testing.mjs.map +1 -0
- package/fesm2022/core.mjs +408 -0
- package/fesm2022/core.mjs.map +1 -0
- package/fesm2022/datepicker-testing.mjs +26 -0
- package/fesm2022/datepicker-testing.mjs.map +1 -0
- package/fesm2022/datepicker.mjs +5015 -0
- package/fesm2022/datepicker.mjs.map +1 -0
- package/fesm2022/dialog-testing.mjs +123 -0
- package/fesm2022/dialog-testing.mjs.map +1 -0
- package/fesm2022/dialog.mjs +873 -0
- package/fesm2022/dialog.mjs.map +1 -0
- package/fesm2022/divider-testing.mjs +17 -0
- package/fesm2022/divider-testing.mjs.map +1 -0
- package/fesm2022/divider.mjs +132 -0
- package/fesm2022/divider.mjs.map +1 -0
- package/fesm2022/expansion-testing.mjs +87 -0
- package/fesm2022/expansion-testing.mjs.map +1 -0
- package/fesm2022/expansion.mjs +749 -0
- package/fesm2022/expansion.mjs.map +1 -0
- package/fesm2022/form-field-testing-control.mjs +24 -0
- package/fesm2022/form-field-testing-control.mjs.map +1 -0
- package/fesm2022/form-field-testing.mjs +135 -0
- package/fesm2022/form-field-testing.mjs.map +1 -0
- package/fesm2022/form-field.mjs +57 -0
- package/fesm2022/form-field.mjs.map +1 -0
- package/fesm2022/grid-list-testing.mjs +80 -0
- package/fesm2022/grid-list-testing.mjs.map +1 -0
- package/fesm2022/grid-list.mjs +604 -0
- package/fesm2022/grid-list.mjs.map +1 -0
- package/fesm2022/icon-testing.mjs +172 -0
- package/fesm2022/icon-testing.mjs.map +1 -0
- package/fesm2022/icon.mjs +366 -0
- package/fesm2022/icon.mjs.map +1 -0
- package/fesm2022/input-testing.mjs +73 -0
- package/fesm2022/input-testing.mjs.map +1 -0
- package/fesm2022/input.mjs +495 -0
- package/fesm2022/input.mjs.map +1 -0
- package/fesm2022/list-testing.mjs +295 -0
- package/fesm2022/list-testing.mjs.map +1 -0
- package/fesm2022/list.mjs +1604 -0
- package/fesm2022/list.mjs.map +1 -0
- package/fesm2022/material.mjs +4 -0
- package/fesm2022/material.mjs.map +1 -0
- package/fesm2022/menu-testing.mjs +174 -0
- package/fesm2022/menu-testing.mjs.map +1 -0
- package/fesm2022/menu.mjs +1421 -0
- package/fesm2022/menu.mjs.map +1 -0
- package/fesm2022/paginator-testing.mjs +69 -0
- package/fesm2022/paginator-testing.mjs.map +1 -0
- package/fesm2022/paginator.mjs +445 -0
- package/fesm2022/paginator.mjs.map +1 -0
- package/fesm2022/progress-bar-testing.mjs +20 -0
- package/fesm2022/progress-bar-testing.mjs.map +1 -0
- package/fesm2022/progress-bar.mjs +247 -0
- package/fesm2022/progress-bar.mjs.map +1 -0
- package/fesm2022/progress-spinner-testing.mjs +21 -0
- package/fesm2022/progress-spinner-testing.mjs.map +1 -0
- package/fesm2022/progress-spinner.mjs +258 -0
- package/fesm2022/progress-spinner.mjs.map +1 -0
- package/fesm2022/radio-testing.mjs +143 -0
- package/fesm2022/radio-testing.mjs.map +1 -0
- package/fesm2022/radio.mjs +751 -0
- package/fesm2022/radio.mjs.map +1 -0
- package/fesm2022/select-testing.mjs +92 -0
- package/fesm2022/select-testing.mjs.map +1 -0
- package/fesm2022/select.mjs +1181 -0
- package/fesm2022/select.mjs.map +1 -0
- package/fesm2022/sidenav-testing.mjs +80 -0
- package/fesm2022/sidenav-testing.mjs.map +1 -0
- package/fesm2022/sidenav.mjs +1151 -0
- package/fesm2022/sidenav.mjs.map +1 -0
- package/fesm2022/slide-toggle-testing.mjs +68 -0
- package/fesm2022/slide-toggle-testing.mjs.map +1 -0
- package/fesm2022/slide-toggle.mjs +403 -0
- package/fesm2022/slide-toggle.mjs.map +1 -0
- package/fesm2022/slider-testing.mjs +105 -0
- package/fesm2022/slider-testing.mjs.map +1 -0
- package/fesm2022/slider.mjs +1720 -0
- package/fesm2022/slider.mjs.map +1 -0
- package/fesm2022/snack-bar-testing.mjs +47 -0
- package/fesm2022/snack-bar-testing.mjs.map +1 -0
- package/fesm2022/snack-bar.mjs +820 -0
- package/fesm2022/snack-bar.mjs.map +1 -0
- package/fesm2022/sort-testing.mjs +55 -0
- package/fesm2022/sort-testing.mjs.map +1 -0
- package/fesm2022/sort.mjs +470 -0
- package/fesm2022/sort.mjs.map +1 -0
- package/fesm2022/stepper-testing.mjs +99 -0
- package/fesm2022/stepper-testing.mjs.map +1 -0
- package/fesm2022/stepper.mjs +900 -0
- package/fesm2022/stepper.mjs.map +1 -0
- package/fesm2022/table-testing.mjs +152 -0
- package/fesm2022/table-testing.mjs.map +1 -0
- package/fesm2022/table.mjs +1151 -0
- package/fesm2022/table.mjs.map +1 -0
- package/fesm2022/tabs-testing.mjs +144 -0
- package/fesm2022/tabs-testing.mjs.map +1 -0
- package/fesm2022/tabs.mjs +2435 -0
- package/fesm2022/tabs.mjs.map +1 -0
- package/fesm2022/timepicker-testing.mjs +128 -0
- package/fesm2022/timepicker-testing.mjs.map +1 -0
- package/fesm2022/timepicker.mjs +1284 -0
- package/fesm2022/timepicker.mjs.map +1 -0
- package/fesm2022/toolbar-testing.mjs +26 -0
- package/fesm2022/toolbar-testing.mjs.map +1 -0
- package/fesm2022/toolbar.mjs +182 -0
- package/fesm2022/toolbar.mjs.map +1 -0
- package/fesm2022/tooltip-testing.mjs +48 -0
- package/fesm2022/tooltip-testing.mjs.map +1 -0
- package/fesm2022/tooltip.mjs +58 -0
- package/fesm2022/tooltip.mjs.map +1 -0
- package/fesm2022/tree-testing.mjs +104 -0
- package/fesm2022/tree-testing.mjs.map +1 -0
- package/fesm2022/tree.mjs +681 -0
- package/fesm2022/tree.mjs.map +1 -0
- package/form-field/_form-field-theme.scss +96 -0
- package/form-field/_m2-form-field.scss +226 -0
- package/form-field/_m3-form-field.scss +137 -0
- package/grid-list/_grid-list-theme.scss +76 -0
- package/grid-list/_m2-grid-list.scss +21 -0
- package/grid-list/_m3-grid-list.scss +20 -0
- package/icon/_icon-theme.scss +109 -0
- package/icon/_m2-icon.scss +15 -0
- package/icon/_m3-icon.scss +21 -0
- package/input/_input-theme.scss +36 -0
- package/list/_list-theme.scss +201 -0
- package/list/_m2-list.scss +92 -0
- package/list/_m3-list.scss +93 -0
- package/menu/_m2-menu.scss +44 -0
- package/menu/_m3-menu.scss +42 -0
- package/menu/_menu-theme.scss +76 -0
- package/package.json +404 -0
- package/paginator/_m2-paginator.scss +69 -0
- package/paginator/_m3-paginator.scss +46 -0
- package/paginator/_paginator-theme.scss +76 -0
- package/prebuilt-themes/azure-blue.css +1 -0
- package/prebuilt-themes/cyan-orange.css +1 -0
- package/prebuilt-themes/deeppurple-amber.css +1 -0
- package/prebuilt-themes/indigo-pink.css +1 -0
- package/prebuilt-themes/magenta-violet.css +1 -0
- package/prebuilt-themes/pink-bluegrey.css +1 -0
- package/prebuilt-themes/purple-green.css +1 -0
- package/prebuilt-themes/rose-red.css +1 -0
- package/progress-bar/_m2-progress-bar.scss +36 -0
- package/progress-bar/_m3-progress-bar.scss +29 -0
- package/progress-bar/_progress-bar-theme.scss +93 -0
- package/progress-spinner/_m2-progress-spinner.scss +25 -0
- package/progress-spinner/_m3-progress-spinner.scss +27 -0
- package/progress-spinner/_progress-spinner-theme.scss +95 -0
- package/radio/_m2-radio.scss +67 -0
- package/radio/_m3-radio.scss +65 -0
- package/radio/_radio-theme.scss +102 -0
- package/schematics/collection.json +55 -0
- package/schematics/migration.json +15 -0
- package/schematics/ng-add/fonts/material-fonts.d.ts +11 -0
- package/schematics/ng-add/fonts/material-fonts.js +41 -0
- package/schematics/ng-add/fonts/material-fonts.js.map +1 -0
- package/schematics/ng-add/index.d.ts +17 -0
- package/schematics/ng-add/index.js +54 -0
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/package-config.d.ts +12 -0
- package/schematics/ng-add/package-config.js +51 -0
- package/schematics/ng-add/package-config.js.map +1 -0
- package/schematics/ng-add/schema.d.ts +15 -0
- package/schematics/ng-add/schema.js +10 -0
- package/schematics/ng-add/schema.js.map +1 -0
- package/schematics/ng-add/schema.json +43 -0
- package/schematics/ng-add/setup-project.d.ts +15 -0
- package/schematics/ng-add/setup-project.js +36 -0
- package/schematics/ng-add/setup-project.js.map +1 -0
- package/schematics/ng-add/theming/create-theme.d.ts +9 -0
- package/schematics/ng-add/theming/create-theme.js +58 -0
- package/schematics/ng-add/theming/create-theme.js.map +1 -0
- package/schematics/ng-add/theming/theming.d.ts +11 -0
- package/schematics/ng-add/theming/theming.js +133 -0
- package/schematics/ng-add/theming/theming.js.map +1 -0
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +27 -0
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +99 -0
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +38 -0
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +118 -0
- package/schematics/ng-generate/address-form/index.d.ts +14 -0
- package/schematics/ng-generate/address-form/index.js +43 -0
- package/schematics/ng-generate/address-form/index.js.map +1 -0
- package/schematics/ng-generate/address-form/schema.d.ts +10 -0
- package/schematics/ng-generate/address-form/schema.js +10 -0
- package/schematics/ng-generate/address-form/schema.js.map +1 -0
- package/schematics/ng-generate/address-form/schema.json +100 -0
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +21 -0
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +26 -0
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +36 -0
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +56 -0
- package/schematics/ng-generate/dashboard/index.d.ts +14 -0
- package/schematics/ng-generate/dashboard/index.js +42 -0
- package/schematics/ng-generate/dashboard/index.js.map +1 -0
- package/schematics/ng-generate/dashboard/schema.d.ts +10 -0
- package/schematics/ng-generate/dashboard/schema.js +10 -0
- package/schematics/ng-generate/dashboard/schema.js.map +1 -0
- package/schematics/ng-generate/dashboard/schema.json +100 -0
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +17 -0
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +28 -0
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +36 -0
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +42 -0
- package/schematics/ng-generate/navigation/index.d.ts +14 -0
- package/schematics/ng-generate/navigation/index.js +42 -0
- package/schematics/ng-generate/navigation/index.js.map +1 -0
- package/schematics/ng-generate/navigation/schema.d.ts +10 -0
- package/schematics/ng-generate/navigation/schema.js +10 -0
- package/schematics/ng-generate/navigation/schema.js.map +1 -0
- package/schematics/ng-generate/navigation/schema.json +105 -0
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__-datasource.ts.template +111 -0
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +3 -0
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +26 -0
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +32 -0
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +36 -0
- package/schematics/ng-generate/table/index.d.ts +14 -0
- package/schematics/ng-generate/table/index.js +40 -0
- package/schematics/ng-generate/table/index.js.map +1 -0
- package/schematics/ng-generate/table/schema.d.ts +10 -0
- package/schematics/ng-generate/table/schema.js +10 -0
- package/schematics/ng-generate/table/schema.js.map +1 -0
- package/schematics/ng-generate/table/schema.json +100 -0
- package/schematics/ng-generate/theme-color/index_bundled.js +6561 -0
- package/schematics/ng-generate/theme-color/index_bundled.js.map +6 -0
- package/schematics/ng-generate/theme-color/schema.json +55 -0
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +4 -0
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +22 -0
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +32 -0
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +93 -0
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/example-data.ts.template +47 -0
- package/schematics/ng-generate/tree/index.d.ts +14 -0
- package/schematics/ng-generate/tree/index.js +40 -0
- package/schematics/ng-generate/tree/index.js.map +1 -0
- package/schematics/ng-generate/tree/schema.d.ts +10 -0
- package/schematics/ng-generate/tree/schema.js +10 -0
- package/schematics/ng-generate/tree/schema.js.map +1 -0
- package/schematics/ng-generate/tree/schema.json +100 -0
- package/schematics/ng-update/index_bundled.js +204 -0
- package/schematics/ng-update/index_bundled.js.map +6 -0
- package/schematics/package.json +3 -0
- package/select/_m2-select.scss +49 -0
- package/select/_m3-select.scss +54 -0
- package/select/_select-theme.scss +99 -0
- package/sidenav/_m2-sidenav.scss +48 -0
- package/sidenav/_m3-sidenav.scss +26 -0
- package/sidenav/_sidenav-theme.scss +75 -0
- package/slide-toggle/_m2-slide-toggle.scss +134 -0
- package/slide-toggle/_m3-slide-toggle.scss +133 -0
- package/slide-toggle/_slide-toggle-theme.scss +119 -0
- package/slider/_m2-slider.scss +73 -0
- package/slider/_m3-slider.scss +69 -0
- package/slider/_slider-theme.scss +103 -0
- package/snack-bar/_m2-snack-bar.scss +24 -0
- package/snack-bar/_m3-snack-bar.scss +26 -0
- package/snack-bar/_snack-bar-theme.scss +77 -0
- package/sort/_m2-sort.scss +16 -0
- package/sort/_m3-sort.scss +20 -0
- package/sort/_sort-theme.scss +76 -0
- package/stepper/_m2-stepper.scss +65 -0
- package/stepper/_m3-stepper.scss +66 -0
- package/stepper/_stepper-theme.scss +102 -0
- package/table/_m2-table.scss +63 -0
- package/table/_m3-table.scss +52 -0
- package/table/_table-theme.scss +76 -0
- package/tabs/_m2-tabs.scss +68 -0
- package/tabs/_m3-tabs.scss +58 -0
- package/tabs/_tabs-theme.scss +131 -0
- package/timepicker/_m2-timepicker.scss +19 -0
- package/timepicker/_m3-timepicker.scss +21 -0
- package/timepicker/_timepicker-theme.scss +81 -0
- package/toolbar/_m2-toolbar.scss +43 -0
- package/toolbar/_m3-toolbar.scss +41 -0
- package/toolbar/_toolbar-theme.scss +114 -0
- package/tooltip/_m2-tooltip.scss +24 -0
- package/tooltip/_m3-tooltip.scss +25 -0
- package/tooltip/_tooltip-theme.scss +76 -0
- package/tree/_m2-tree.scss +30 -0
- package/tree/_m3-tree.scss +37 -0
- package/tree/_tree-theme.scss +76 -0
- package/types/_badge-chunk.d.ts +100 -0
- package/types/_button-toggle-chunk.d.ts +252 -0
- package/types/_date-adapter-chunk.d.ts +261 -0
- package/types/_date-range-input-harness-chunk.d.ts +284 -0
- package/types/_dialog-chunk.d.ts +336 -0
- package/types/_error-options-chunk.d.ts +17 -0
- package/types/_form-field-chunk.d.ts +375 -0
- package/types/_form-field-control-chunk.d.ts +64 -0
- package/types/_form-field-control-harness-chunk.d.ts +20 -0
- package/types/_form-field-module-chunk.d.ts +18 -0
- package/types/_icon-module-chunk.d.ts +162 -0
- package/types/_icon-registry-chunk.d.ts +271 -0
- package/types/_input-harness-chunk.d.ts +61 -0
- package/types/_line-chunk.d.ts +25 -0
- package/types/_list-option-types-chunk.d.ts +15 -0
- package/types/_option-chunk.d.ts +146 -0
- package/types/_option-harness-chunk.d.ts +35 -0
- package/types/_option-module-chunk.d.ts +13 -0
- package/types/_option-parent-chunk.d.ts +20 -0
- package/types/_paginator-chunk.d.ts +184 -0
- package/types/_palette-chunk.d.ts +4 -0
- package/types/_progress-spinner-chunk.d.ts +91 -0
- package/types/_pseudo-checkbox-module-chunk.d.ts +45 -0
- package/types/_ripple-chunk.d.ts +256 -0
- package/types/_ripple-loader-chunk.d.ts +48 -0
- package/types/_ripple-module-chunk.d.ts +11 -0
- package/types/_sort-chunk.d.ts +88 -0
- package/types/_sort-direction-chunk.d.ts +3 -0
- package/types/_tooltip-chunk.d.ts +315 -0
- package/types/autocomplete-testing.d.ts +53 -0
- package/types/autocomplete.d.ts +420 -0
- package/types/badge-testing.d.ts +36 -0
- package/types/badge.d.ts +14 -0
- package/types/bottom-sheet-testing.d.ts +26 -0
- package/types/bottom-sheet.d.ts +192 -0
- package/types/button-testing.d.ts +70 -0
- package/types/button-toggle-testing.d.ts +97 -0
- package/types/button-toggle.d.ts +16 -0
- package/types/button.d.ts +210 -0
- package/types/card-testing.d.ts +41 -0
- package/types/card.d.ts +156 -0
- package/types/checkbox-testing.d.ts +86 -0
- package/types/checkbox.d.ts +216 -0
- package/types/chips-testing.d.ts +270 -0
- package/types/chips.d.ts +993 -0
- package/types/core-testing.d.ts +32 -0
- package/types/core.d.ts +185 -0
- package/types/datepicker-testing.d.ts +25 -0
- package/types/datepicker.d.ts +1746 -0
- package/types/dialog-testing.d.ts +83 -0
- package/types/dialog.d.ts +84 -0
- package/types/divider-testing.d.ts +15 -0
- package/types/divider.d.ts +24 -0
- package/types/expansion-testing.d.ts +101 -0
- package/types/expansion.d.ts +258 -0
- package/types/form-field-testing-control.d.ts +13 -0
- package/types/form-field-testing.d.ts +127 -0
- package/types/form-field.d.ts +19 -0
- package/types/grid-list-testing.d.ts +82 -0
- package/types/grid-list.d.ts +207 -0
- package/types/icon-testing.d.ts +81 -0
- package/types/icon.d.ts +8 -0
- package/types/input-testing.d.ts +73 -0
- package/types/input.d.ts +208 -0
- package/types/list-testing.d.ts +354 -0
- package/types/list.d.ts +516 -0
- package/types/material.d.ts +3 -0
- package/types/menu-testing.d.ts +141 -0
- package/types/menu.d.ts +547 -0
- package/types/paginator-testing.d.ts +51 -0
- package/types/paginator.d.ts +36 -0
- package/types/progress-bar-testing.d.ts +24 -0
- package/types/progress-bar.d.ts +106 -0
- package/types/progress-spinner-testing.d.ts +28 -0
- package/types/progress-spinner.d.ts +13 -0
- package/types/radio-testing.d.ts +109 -0
- package/types/radio.d.ts +295 -0
- package/types/select-testing.d.ts +63 -0
- package/types/select.d.ts +448 -0
- package/types/sidenav-testing.d.ts +122 -0
- package/types/sidenav.d.ts +335 -0
- package/types/slide-toggle-testing.d.ts +66 -0
- package/types/slide-toggle.d.ts +151 -0
- package/types/slider-testing.d.ts +90 -0
- package/types/slider.d.ts +662 -0
- package/types/snack-bar-testing.d.ts +64 -0
- package/types/snack-bar.d.ts +328 -0
- package/types/sort-testing.d.ts +48 -0
- package/types/sort.d.ts +126 -0
- package/types/stepper-testing.d.ts +136 -0
- package/types/stepper.d.ts +225 -0
- package/types/table-testing.d.ts +174 -0
- package/types/table.d.ts +302 -0
- package/types/tabs-testing.d.ts +145 -0
- package/types/tabs.d.ts +890 -0
- package/types/timepicker-testing.d.ts +108 -0
- package/types/timepicker.d.ts +318 -0
- package/types/toolbar-testing.d.ts +33 -0
- package/types/toolbar.d.ts +44 -0
- package/types/tooltip-testing.d.ts +35 -0
- package/types/tooltip.d.ts +17 -0
- package/types/tree-testing.d.ts +119 -0
- package/types/tree.d.ts +233 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as _angular_cdk_testing from '@angular/cdk/testing';
|
|
2
|
+
import { BaseHarnessFilters, ContentContainerComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
|
|
3
|
+
import { DialogRole, MatDialog, MatDialogConfig, MatDialogRef } from './_dialog-chunk.js';
|
|
4
|
+
import { ComponentType } from '@angular/cdk/overlay';
|
|
5
|
+
import { OnDestroy } from '@angular/core';
|
|
6
|
+
import '@angular/cdk/bidi';
|
|
7
|
+
import '@angular/cdk/dialog';
|
|
8
|
+
import '@angular/cdk/a11y';
|
|
9
|
+
import 'rxjs';
|
|
10
|
+
import '@angular/cdk/portal';
|
|
11
|
+
|
|
12
|
+
/** A set of criteria that can be used to filter a list of `MatDialogHarness` instances. */
|
|
13
|
+
interface DialogHarnessFilters extends BaseHarnessFilters {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** Selectors for different sections of the mat-dialog that can contain user content. */
|
|
17
|
+
declare enum MatDialogSection {
|
|
18
|
+
TITLE = ".mat-mdc-dialog-title",
|
|
19
|
+
CONTENT = ".mat-mdc-dialog-content",
|
|
20
|
+
ACTIONS = ".mat-mdc-dialog-actions"
|
|
21
|
+
}
|
|
22
|
+
/** Harness for interacting with a standard `MatDialog` in tests. */
|
|
23
|
+
declare class MatDialogHarness extends ContentContainerComponentHarness<MatDialogSection | string> {
|
|
24
|
+
/** The selector for the host element of a `MatDialog` instance. */
|
|
25
|
+
static hostSelector: string;
|
|
26
|
+
/**
|
|
27
|
+
* Gets a `HarnessPredicate` that can be used to search for a dialog with specific attributes.
|
|
28
|
+
* @param options Options for filtering which dialog instances are considered a match.
|
|
29
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
30
|
+
*/
|
|
31
|
+
static with<T extends MatDialogHarness>(this: ComponentHarnessConstructor<T>, options?: DialogHarnessFilters): HarnessPredicate<T>;
|
|
32
|
+
protected _title: () => Promise<_angular_cdk_testing.TestElement | null>;
|
|
33
|
+
protected _content: () => Promise<_angular_cdk_testing.TestElement | null>;
|
|
34
|
+
protected _actions: () => Promise<_angular_cdk_testing.TestElement | null>;
|
|
35
|
+
/** Gets the id of the dialog. */
|
|
36
|
+
getId(): Promise<string | null>;
|
|
37
|
+
/** Gets the role of the dialog. */
|
|
38
|
+
getRole(): Promise<DialogRole | null>;
|
|
39
|
+
/** Gets the value of the dialog's "aria-label" attribute. */
|
|
40
|
+
getAriaLabel(): Promise<string | null>;
|
|
41
|
+
/** Gets the value of the dialog's "aria-labelledby" attribute. */
|
|
42
|
+
getAriaLabelledby(): Promise<string | null>;
|
|
43
|
+
/** Gets the value of the dialog's "aria-describedby" attribute. */
|
|
44
|
+
getAriaDescribedby(): Promise<string | null>;
|
|
45
|
+
/**
|
|
46
|
+
* Closes the dialog by pressing escape.
|
|
47
|
+
*
|
|
48
|
+
* Note: this method does nothing if `disableClose` has been set to `true` for the dialog.
|
|
49
|
+
*/
|
|
50
|
+
close(): Promise<void>;
|
|
51
|
+
/** Gets the dialog's text. */
|
|
52
|
+
getText(): Promise<string>;
|
|
53
|
+
/** Gets the dialog's title text. This only works if the dialog is using mat-dialog-title. */
|
|
54
|
+
getTitleText(): Promise<string>;
|
|
55
|
+
/** Gets the dialog's content text. This only works if the dialog is using mat-dialog-content. */
|
|
56
|
+
getContentText(): Promise<string>;
|
|
57
|
+
/** Gets the dialog's actions text. This only works if the dialog is using mat-dialog-actions. */
|
|
58
|
+
getActionsText(): Promise<string>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** Test component that immediately opens a dialog when bootstrapped. */
|
|
62
|
+
declare class MatTestDialogOpener<T = unknown, R = unknown> implements OnDestroy {
|
|
63
|
+
dialog: MatDialog;
|
|
64
|
+
/** Component that should be opened with the MatDialog `open` method. */
|
|
65
|
+
protected static component: ComponentType<unknown> | undefined;
|
|
66
|
+
/** Config that should be provided to the MatDialog `open` method. */
|
|
67
|
+
protected static config: MatDialogConfig | undefined;
|
|
68
|
+
/** MatDialogRef returned from the MatDialog `open` method. */
|
|
69
|
+
dialogRef: MatDialogRef<T, R>;
|
|
70
|
+
/** Data passed to the `MatDialog` close method. */
|
|
71
|
+
closedResult: R | undefined;
|
|
72
|
+
private readonly _afterClosedSubscription;
|
|
73
|
+
private readonly _ngZone;
|
|
74
|
+
/** Static method that prepares this class to open the provided component. */
|
|
75
|
+
static withComponent<T = unknown, R = unknown>(component: ComponentType<T>, config?: MatDialogConfig): ComponentType<MatTestDialogOpener<T, R>>;
|
|
76
|
+
constructor(...args: unknown[]);
|
|
77
|
+
ngOnDestroy(): void;
|
|
78
|
+
}
|
|
79
|
+
declare class MatTestDialogOpenerModule {
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export { MatDialogHarness, MatDialogSection, MatTestDialogOpener, MatTestDialogOpenerModule };
|
|
83
|
+
export type { DialogHarnessFilters };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { MatDialogRef, MatDialogContainer } from './_dialog-chunk.js';
|
|
2
|
+
export { AutoFocusTarget, DialogPosition, DialogRole, MAT_DIALOG_DATA, MAT_DIALOG_DEFAULT_OPTIONS, MAT_DIALOG_SCROLL_STRATEGY, MatDialog, MatDialogConfig, MatDialogState, _closeDialogVia } from './_dialog-chunk.js';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
5
|
+
import * as i1 from '@angular/cdk/scrolling';
|
|
6
|
+
import * as i1$1 from '@angular/cdk/dialog';
|
|
7
|
+
import * as i2 from '@angular/cdk/overlay';
|
|
8
|
+
import * as i2$1 from '@angular/cdk/portal';
|
|
9
|
+
import * as i2$2 from '@angular/cdk/bidi';
|
|
10
|
+
import '@angular/cdk/a11y';
|
|
11
|
+
import 'rxjs';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Button that will close the current dialog.
|
|
15
|
+
*/
|
|
16
|
+
declare class MatDialogClose implements OnInit, OnChanges {
|
|
17
|
+
dialogRef: MatDialogRef<any, any>;
|
|
18
|
+
private _elementRef;
|
|
19
|
+
private _dialog;
|
|
20
|
+
/** Screen-reader label for the button. */
|
|
21
|
+
ariaLabel: string;
|
|
22
|
+
/** Default to "button" to prevents accidental form submits. */
|
|
23
|
+
type: 'submit' | 'button' | 'reset';
|
|
24
|
+
/** Dialog close input. */
|
|
25
|
+
dialogResult: any;
|
|
26
|
+
_matDialogClose: any;
|
|
27
|
+
constructor(...args: unknown[]);
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
_onButtonClick(event: MouseEvent): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogClose, "[mat-dialog-close], [matDialogClose]", ["matDialogClose"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dialogResult": { "alias": "mat-dialog-close"; "required": false; }; "_matDialogClose": { "alias": "matDialogClose"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
declare abstract class MatDialogLayoutSection implements OnInit, OnDestroy {
|
|
35
|
+
protected _dialogRef: MatDialogRef<any, any>;
|
|
36
|
+
private _elementRef;
|
|
37
|
+
private _dialog;
|
|
38
|
+
constructor(...args: unknown[]);
|
|
39
|
+
protected abstract _onAdd(): void;
|
|
40
|
+
protected abstract _onRemove(): void;
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
ngOnDestroy(): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogLayoutSection, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogLayoutSection, never, never, {}, {}, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Title of a dialog element. Stays fixed to the top of the dialog when scrolling.
|
|
48
|
+
*/
|
|
49
|
+
declare class MatDialogTitle extends MatDialogLayoutSection {
|
|
50
|
+
id: string;
|
|
51
|
+
protected _onAdd(): void;
|
|
52
|
+
protected _onRemove(): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogTitle, never>;
|
|
54
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogTitle, "[mat-dialog-title], [matDialogTitle]", ["matDialogTitle"], { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Scrollable content container of a dialog.
|
|
58
|
+
*/
|
|
59
|
+
declare class MatDialogContent {
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContent, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogContent, "[mat-dialog-content], mat-dialog-content, [matDialogContent]", never, {}, {}, never, never, true, [{ directive: typeof i1.CdkScrollable; inputs: {}; outputs: {}; }]>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Container for the bottom action buttons in a dialog.
|
|
65
|
+
* Stays fixed to the bottom when scrolling.
|
|
66
|
+
*/
|
|
67
|
+
declare class MatDialogActions extends MatDialogLayoutSection {
|
|
68
|
+
/**
|
|
69
|
+
* Horizontal alignment of action buttons.
|
|
70
|
+
*/
|
|
71
|
+
align?: 'start' | 'center' | 'end';
|
|
72
|
+
protected _onAdd(): void;
|
|
73
|
+
protected _onRemove(): void;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogActions, never>;
|
|
75
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogActions, "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", never, { "align": { "alias": "align"; "required": false; }; }, {}, never, never, true, never>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare class MatDialogModule {
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogModule, never>;
|
|
80
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDialogModule, never, [typeof i1$1.DialogModule, typeof i2.OverlayModule, typeof i2$1.PortalModule, typeof MatDialogContainer, typeof MatDialogClose, typeof MatDialogTitle, typeof MatDialogActions, typeof MatDialogContent], [typeof i2$2.BidiModule, typeof MatDialogContainer, typeof MatDialogClose, typeof MatDialogTitle, typeof MatDialogActions, typeof MatDialogContent]>;
|
|
81
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatDialogModule>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export { MatDialogActions, MatDialogClose, MatDialogContainer, MatDialogContent, MatDialogModule, MatDialogRef, MatDialogTitle };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
|
|
3
|
+
interface DividerHarnessFilters extends BaseHarnessFilters {
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/** Harness for interacting with a `mat-divider`. */
|
|
7
|
+
declare class MatDividerHarness extends ComponentHarness {
|
|
8
|
+
static hostSelector: string;
|
|
9
|
+
static with(options?: DividerHarnessFilters): HarnessPredicate<MatDividerHarness>;
|
|
10
|
+
getOrientation(): Promise<'horizontal' | 'vertical'>;
|
|
11
|
+
isInset(): Promise<boolean>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { MatDividerHarness };
|
|
15
|
+
export type { DividerHarnessFilters };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/cdk/bidi';
|
|
4
|
+
|
|
5
|
+
declare class MatDivider {
|
|
6
|
+
/** Whether the divider is vertically aligned. */
|
|
7
|
+
get vertical(): boolean;
|
|
8
|
+
set vertical(value: BooleanInput);
|
|
9
|
+
private _vertical;
|
|
10
|
+
/** Whether the divider is an inset divider. */
|
|
11
|
+
get inset(): boolean;
|
|
12
|
+
set inset(value: BooleanInput);
|
|
13
|
+
private _inset;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDivider, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDivider, "mat-divider", never, { "vertical": { "alias": "vertical"; "required": false; }; "inset": { "alias": "inset"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class MatDividerModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatDividerModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDividerModule, never, [typeof MatDivider], [typeof MatDivider, typeof i2.BidiModule]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatDividerModule>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { MatDivider, MatDividerModule };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { BaseHarnessFilters, ContentContainerComponentHarness, HarnessPredicate, HarnessLoader, ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
+
|
|
3
|
+
interface AccordionHarnessFilters extends BaseHarnessFilters {
|
|
4
|
+
}
|
|
5
|
+
interface ExpansionPanelHarnessFilters extends BaseHarnessFilters {
|
|
6
|
+
title?: string | RegExp | null;
|
|
7
|
+
description?: string | RegExp | null;
|
|
8
|
+
content?: string | RegExp;
|
|
9
|
+
expanded?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** Selectors for the various `mat-expansion-panel` sections that may contain user content. */
|
|
14
|
+
declare enum MatExpansionPanelSection {
|
|
15
|
+
HEADER = ".mat-expansion-panel-header",
|
|
16
|
+
TITLE = ".mat-expansion-panel-header-title",
|
|
17
|
+
DESCRIPTION = ".mat-expansion-panel-header-description",
|
|
18
|
+
CONTENT = ".mat-expansion-panel-content"
|
|
19
|
+
}
|
|
20
|
+
/** Harness for interacting with a standard mat-expansion-panel in tests. */
|
|
21
|
+
declare class MatExpansionPanelHarness extends ContentContainerComponentHarness<MatExpansionPanelSection> {
|
|
22
|
+
static hostSelector: string;
|
|
23
|
+
private _header;
|
|
24
|
+
private _title;
|
|
25
|
+
private _description;
|
|
26
|
+
private _expansionIndicator;
|
|
27
|
+
private _content;
|
|
28
|
+
/**
|
|
29
|
+
* Gets a `HarnessPredicate` that can be used to search for an expansion-panel
|
|
30
|
+
* with specific attributes.
|
|
31
|
+
* @param options Options for narrowing the search:
|
|
32
|
+
* - `title` finds an expansion-panel with a specific title text.
|
|
33
|
+
* - `description` finds an expansion-panel with a specific description text.
|
|
34
|
+
* - `expanded` finds an expansion-panel that is currently expanded.
|
|
35
|
+
* - `disabled` finds an expansion-panel that is disabled.
|
|
36
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
37
|
+
*/
|
|
38
|
+
static with(options?: ExpansionPanelHarnessFilters): HarnessPredicate<MatExpansionPanelHarness>;
|
|
39
|
+
/** Whether the panel is expanded. */
|
|
40
|
+
isExpanded(): Promise<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Gets the title text of the panel.
|
|
43
|
+
* @returns Title text or `null` if no title is set up.
|
|
44
|
+
*/
|
|
45
|
+
getTitle(): Promise<string | null>;
|
|
46
|
+
/**
|
|
47
|
+
* Gets the description text of the panel.
|
|
48
|
+
* @returns Description text or `null` if no description is set up.
|
|
49
|
+
*/
|
|
50
|
+
getDescription(): Promise<string | null>;
|
|
51
|
+
/** Whether the panel is disabled. */
|
|
52
|
+
isDisabled(): Promise<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* Toggles the expanded state of the panel by clicking on the panel
|
|
55
|
+
* header. This method will not work if the panel is disabled.
|
|
56
|
+
*/
|
|
57
|
+
toggle(): Promise<void>;
|
|
58
|
+
/** Expands the expansion panel if collapsed. */
|
|
59
|
+
expand(): Promise<void>;
|
|
60
|
+
/** Collapses the expansion panel if expanded. */
|
|
61
|
+
collapse(): Promise<void>;
|
|
62
|
+
/** Gets the text content of the panel. */
|
|
63
|
+
getTextContent(): Promise<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Gets a `HarnessLoader` that can be used to load harnesses for
|
|
66
|
+
* components within the panel's content area.
|
|
67
|
+
* @deprecated Use either `getChildLoader(MatExpansionPanelSection.CONTENT)`, `getHarness` or
|
|
68
|
+
* `getAllHarnesses` instead.
|
|
69
|
+
* @breaking-change 12.0.0
|
|
70
|
+
*/
|
|
71
|
+
getHarnessLoaderForContent(): Promise<HarnessLoader>;
|
|
72
|
+
/** Focuses the panel. */
|
|
73
|
+
focus(): Promise<void>;
|
|
74
|
+
/** Blurs the panel. */
|
|
75
|
+
blur(): Promise<void>;
|
|
76
|
+
/** Whether the panel is focused. */
|
|
77
|
+
isFocused(): Promise<boolean>;
|
|
78
|
+
/** Whether the panel has a toggle indicator displayed. */
|
|
79
|
+
hasToggleIndicator(): Promise<boolean>;
|
|
80
|
+
/** Gets the position of the toggle indicator. */
|
|
81
|
+
getToggleIndicatorPosition(): Promise<'before' | 'after'>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/** Harness for interacting with a standard mat-accordion in tests. */
|
|
85
|
+
declare class MatAccordionHarness extends ComponentHarness {
|
|
86
|
+
static hostSelector: string;
|
|
87
|
+
/**
|
|
88
|
+
* Gets a `HarnessPredicate` that can be used to search for an accordion
|
|
89
|
+
* with specific attributes.
|
|
90
|
+
* @param options Options for narrowing the search.
|
|
91
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
92
|
+
*/
|
|
93
|
+
static with(options?: AccordionHarnessFilters): HarnessPredicate<MatAccordionHarness>;
|
|
94
|
+
/** Gets all expansion panels which are part of the accordion. */
|
|
95
|
+
getExpansionPanels(filter?: ExpansionPanelHarnessFilters): Promise<MatExpansionPanelHarness[]>;
|
|
96
|
+
/** Whether the accordion allows multiple expanded panels simultaneously. */
|
|
97
|
+
isMulti(): Promise<boolean>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export { MatAccordionHarness, MatExpansionPanelHarness, MatExpansionPanelSection };
|
|
101
|
+
export type { AccordionHarnessFilters, ExpansionPanelHarnessFilters };
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, TemplateRef, AfterContentInit, OnChanges, OnDestroy, EventEmitter, ElementRef, SimpleChanges, AfterViewInit, QueryList } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/cdk/accordion';
|
|
4
|
+
import { CdkAccordion, CdkAccordionItem } from '@angular/cdk/accordion';
|
|
5
|
+
import * as i2 from '@angular/cdk/portal';
|
|
6
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
7
|
+
import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
|
|
8
|
+
import { Subject } from 'rxjs';
|
|
9
|
+
import * as i2$1 from '@angular/cdk/bidi';
|
|
10
|
+
|
|
11
|
+
/** MatAccordion's display modes. */
|
|
12
|
+
type MatAccordionDisplayMode = 'default' | 'flat';
|
|
13
|
+
/** MatAccordion's toggle positions. */
|
|
14
|
+
type MatAccordionTogglePosition = 'before' | 'after';
|
|
15
|
+
/**
|
|
16
|
+
* Base interface for a `MatAccordion`.
|
|
17
|
+
* @docs-private
|
|
18
|
+
*/
|
|
19
|
+
interface MatAccordionBase extends CdkAccordion {
|
|
20
|
+
/** Whether the expansion indicator should be hidden. */
|
|
21
|
+
hideToggle: boolean;
|
|
22
|
+
/** Display mode used for all expansion panels in the accordion. */
|
|
23
|
+
displayMode: MatAccordionDisplayMode;
|
|
24
|
+
/** The position of the expansion indicator. */
|
|
25
|
+
togglePosition: MatAccordionTogglePosition;
|
|
26
|
+
/** Handles keyboard events coming in from the panel headers. */
|
|
27
|
+
_handleHeaderKeydown: (event: KeyboardEvent) => void;
|
|
28
|
+
/** Handles focus events on the panel headers. */
|
|
29
|
+
_handleHeaderFocus: (header: any) => void;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Token used to provide a `MatAccordion` to `MatExpansionPanel`.
|
|
33
|
+
* Used primarily to avoid circular imports between `MatAccordion` and `MatExpansionPanel`.
|
|
34
|
+
*/
|
|
35
|
+
declare const MAT_ACCORDION: InjectionToken<MatAccordionBase>;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Base interface for a `MatExpansionPanel`.
|
|
39
|
+
* @docs-private
|
|
40
|
+
*/
|
|
41
|
+
interface MatExpansionPanelBase extends CdkAccordionItem {
|
|
42
|
+
/** Whether the toggle indicator should be hidden. */
|
|
43
|
+
hideToggle: boolean;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Token used to provide a `MatExpansionPanel` to `MatExpansionPanelContent`.
|
|
47
|
+
* Used to avoid circular imports between `MatExpansionPanel` and `MatExpansionPanelContent`.
|
|
48
|
+
*/
|
|
49
|
+
declare const MAT_EXPANSION_PANEL: InjectionToken<MatExpansionPanelBase>;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Expansion panel content that will be rendered lazily
|
|
53
|
+
* after the panel is opened for the first time.
|
|
54
|
+
*/
|
|
55
|
+
declare class MatExpansionPanelContent {
|
|
56
|
+
_template: TemplateRef<any>;
|
|
57
|
+
_expansionPanel: MatExpansionPanelBase | null;
|
|
58
|
+
constructor(...args: unknown[]);
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelContent, never>;
|
|
60
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatExpansionPanelContent, "ng-template[matExpansionPanelContent]", never, {}, {}, never, never, true, never>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** MatExpansionPanel's states. */
|
|
64
|
+
type MatExpansionPanelState = 'expanded' | 'collapsed';
|
|
65
|
+
/**
|
|
66
|
+
* Object that can be used to override the default options
|
|
67
|
+
* for all of the expansion panels in a module.
|
|
68
|
+
*/
|
|
69
|
+
interface MatExpansionPanelDefaultOptions {
|
|
70
|
+
/** Height of the header while the panel is expanded. */
|
|
71
|
+
expandedHeight: string;
|
|
72
|
+
/** Height of the header while the panel is collapsed. */
|
|
73
|
+
collapsedHeight: string;
|
|
74
|
+
/** Whether the toggle indicator should be hidden. */
|
|
75
|
+
hideToggle: boolean;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Injection token that can be used to configure the default
|
|
79
|
+
* options for the expansion panel component.
|
|
80
|
+
*/
|
|
81
|
+
declare const MAT_EXPANSION_PANEL_DEFAULT_OPTIONS: InjectionToken<MatExpansionPanelDefaultOptions>;
|
|
82
|
+
/**
|
|
83
|
+
* This component can be used as a single element to show expandable content, or as one of
|
|
84
|
+
* multiple children of an element with the MatAccordion directive attached.
|
|
85
|
+
*/
|
|
86
|
+
declare class MatExpansionPanel extends CdkAccordionItem implements AfterContentInit, OnChanges, OnDestroy {
|
|
87
|
+
private _viewContainerRef;
|
|
88
|
+
private readonly _animationsDisabled;
|
|
89
|
+
private _document;
|
|
90
|
+
private _ngZone;
|
|
91
|
+
private _elementRef;
|
|
92
|
+
private _renderer;
|
|
93
|
+
private _cleanupTransitionEnd;
|
|
94
|
+
/** Whether the toggle indicator should be hidden. */
|
|
95
|
+
get hideToggle(): boolean;
|
|
96
|
+
set hideToggle(value: boolean);
|
|
97
|
+
private _hideToggle;
|
|
98
|
+
/** The position of the expansion indicator. */
|
|
99
|
+
get togglePosition(): MatAccordionTogglePosition;
|
|
100
|
+
set togglePosition(value: MatAccordionTogglePosition);
|
|
101
|
+
private _togglePosition;
|
|
102
|
+
/** An event emitted after the body's expansion animation happens. */
|
|
103
|
+
readonly afterExpand: EventEmitter<void>;
|
|
104
|
+
/** An event emitted after the body's collapse animation happens. */
|
|
105
|
+
readonly afterCollapse: EventEmitter<void>;
|
|
106
|
+
/** Stream that emits for changes in `@Input` properties. */
|
|
107
|
+
readonly _inputChanges: Subject<{
|
|
108
|
+
[propName: string]: i0.SimpleChange<any>;
|
|
109
|
+
}>;
|
|
110
|
+
/** Optionally defined accordion the expansion panel belongs to. */
|
|
111
|
+
accordion: MatAccordionBase;
|
|
112
|
+
/** Content that will be rendered lazily. */
|
|
113
|
+
_lazyContent: MatExpansionPanelContent;
|
|
114
|
+
/** Element containing the panel's user-provided content. */
|
|
115
|
+
_body: ElementRef<HTMLElement>;
|
|
116
|
+
/** Element wrapping the panel body. */
|
|
117
|
+
protected _bodyWrapper: ElementRef<HTMLElement> | undefined;
|
|
118
|
+
/** Portal holding the user's content. */
|
|
119
|
+
_portal: TemplatePortal;
|
|
120
|
+
/** ID for the associated header element. Used for a11y labelling. */
|
|
121
|
+
_headerId: string;
|
|
122
|
+
constructor(...args: unknown[]);
|
|
123
|
+
/** Determines whether the expansion panel should have spacing between it and its siblings. */
|
|
124
|
+
_hasSpacing(): boolean;
|
|
125
|
+
/** Gets the expanded state string. */
|
|
126
|
+
_getExpandedState(): MatExpansionPanelState;
|
|
127
|
+
/** Toggles the expanded state of the expansion panel. */
|
|
128
|
+
toggle(): void;
|
|
129
|
+
/** Sets the expanded state of the expansion panel to false. */
|
|
130
|
+
close(): void;
|
|
131
|
+
/** Sets the expanded state of the expansion panel to true. */
|
|
132
|
+
open(): void;
|
|
133
|
+
ngAfterContentInit(): void;
|
|
134
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
135
|
+
ngOnDestroy(): void;
|
|
136
|
+
/** Checks whether the expansion panel's content contains the currently-focused element. */
|
|
137
|
+
_containsFocus(): boolean;
|
|
138
|
+
private _transitionEndListener;
|
|
139
|
+
protected _setupAnimationEvents(): void;
|
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanel, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanel, "mat-expansion-panel", ["matExpansionPanel"], { "hideToggle": { "alias": "hideToggle"; "required": false; }; "togglePosition": { "alias": "togglePosition"; "required": false; }; }, { "afterExpand": "afterExpand"; "afterCollapse": "afterCollapse"; }, ["_lazyContent"], ["mat-expansion-panel-header", "*", "mat-action-row"], true, never>;
|
|
142
|
+
static ngAcceptInputType_hideToggle: unknown;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Actions of a `<mat-expansion-panel>`.
|
|
146
|
+
*/
|
|
147
|
+
declare class MatExpansionPanelActionRow {
|
|
148
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelActionRow, never>;
|
|
149
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatExpansionPanelActionRow, "mat-action-row", never, {}, {}, never, never, true, never>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Header element of a `<mat-expansion-panel>`.
|
|
154
|
+
*/
|
|
155
|
+
declare class MatExpansionPanelHeader implements AfterViewInit, OnDestroy, FocusableOption {
|
|
156
|
+
panel: MatExpansionPanel;
|
|
157
|
+
private _element;
|
|
158
|
+
private _focusMonitor;
|
|
159
|
+
private _changeDetectorRef;
|
|
160
|
+
private _parentChangeSubscription;
|
|
161
|
+
constructor(...args: unknown[]);
|
|
162
|
+
/** Height of the header while the panel is expanded. */
|
|
163
|
+
expandedHeight: string;
|
|
164
|
+
/** Height of the header while the panel is collapsed. */
|
|
165
|
+
collapsedHeight: string;
|
|
166
|
+
/** Tab index of the header. */
|
|
167
|
+
tabIndex: number;
|
|
168
|
+
/**
|
|
169
|
+
* Whether the associated panel is disabled. Implemented as a part of `FocusableOption`.
|
|
170
|
+
* @docs-private
|
|
171
|
+
*/
|
|
172
|
+
get disabled(): boolean;
|
|
173
|
+
/** Toggles the expanded state of the panel. */
|
|
174
|
+
_toggle(): void;
|
|
175
|
+
/** Gets whether the panel is expanded. */
|
|
176
|
+
_isExpanded(): boolean;
|
|
177
|
+
/** Gets the expanded state string of the panel. */
|
|
178
|
+
_getExpandedState(): string;
|
|
179
|
+
/** Gets the panel id. */
|
|
180
|
+
_getPanelId(): string;
|
|
181
|
+
/** Gets the toggle position for the header. */
|
|
182
|
+
_getTogglePosition(): MatAccordionTogglePosition;
|
|
183
|
+
/** Gets whether the expand indicator should be shown. */
|
|
184
|
+
_showToggle(): boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Gets the current height of the header. Null if no custom height has been
|
|
187
|
+
* specified, and if the default height from the stylesheet should be used.
|
|
188
|
+
*/
|
|
189
|
+
_getHeaderHeight(): string | null;
|
|
190
|
+
/** Handle keydown event calling to toggle() if appropriate. */
|
|
191
|
+
_keydown(event: KeyboardEvent): void;
|
|
192
|
+
/**
|
|
193
|
+
* Focuses the panel header. Implemented as a part of `FocusableOption`.
|
|
194
|
+
* @param origin Origin of the action that triggered the focus.
|
|
195
|
+
* @docs-private
|
|
196
|
+
*/
|
|
197
|
+
focus(origin?: FocusOrigin, options?: FocusOptions): void;
|
|
198
|
+
ngAfterViewInit(): void;
|
|
199
|
+
ngOnDestroy(): void;
|
|
200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelHeader, never>;
|
|
201
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanelHeader, "mat-expansion-panel-header", never, { "expandedHeight": { "alias": "expandedHeight"; "required": false; }; "collapsedHeight": { "alias": "collapsedHeight"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["mat-panel-title", "mat-panel-description", "*"], true, never>;
|
|
202
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Description element of a `<mat-expansion-panel-header>`.
|
|
206
|
+
*/
|
|
207
|
+
declare class MatExpansionPanelDescription {
|
|
208
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelDescription, never>;
|
|
209
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatExpansionPanelDescription, "mat-panel-description", never, {}, {}, never, never, true, never>;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Title element of a `<mat-expansion-panel-header>`.
|
|
213
|
+
*/
|
|
214
|
+
declare class MatExpansionPanelTitle {
|
|
215
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelTitle, never>;
|
|
216
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatExpansionPanelTitle, "mat-panel-title", never, {}, {}, never, never, true, never>;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Directive for a Material Design Accordion.
|
|
221
|
+
*/
|
|
222
|
+
declare class MatAccordion extends CdkAccordion implements MatAccordionBase, AfterContentInit, OnDestroy {
|
|
223
|
+
private _keyManager;
|
|
224
|
+
/** Headers belonging to this accordion. */
|
|
225
|
+
private _ownHeaders;
|
|
226
|
+
/** All headers inside the accordion. Includes headers inside nested accordions. */
|
|
227
|
+
_headers: QueryList<MatExpansionPanelHeader>;
|
|
228
|
+
/** Whether the expansion indicator should be hidden. */
|
|
229
|
+
hideToggle: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Display mode used for all expansion panels in the accordion. Currently two display
|
|
232
|
+
* modes exist:
|
|
233
|
+
* default - a gutter-like spacing is placed around any expanded panel, placing the expanded
|
|
234
|
+
* panel at a different elevation from the rest of the accordion.
|
|
235
|
+
* flat - no spacing is placed around expanded panels, showing all panels at the same
|
|
236
|
+
* elevation.
|
|
237
|
+
*/
|
|
238
|
+
displayMode: MatAccordionDisplayMode;
|
|
239
|
+
/** The position of the expansion indicator. */
|
|
240
|
+
togglePosition: MatAccordionTogglePosition;
|
|
241
|
+
ngAfterContentInit(): void;
|
|
242
|
+
/** Handles keyboard events coming in from the panel headers. */
|
|
243
|
+
_handleHeaderKeydown(event: KeyboardEvent): void;
|
|
244
|
+
_handleHeaderFocus(header: MatExpansionPanelHeader): void;
|
|
245
|
+
ngOnDestroy(): void;
|
|
246
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatAccordion, never>;
|
|
247
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAccordion, "mat-accordion", ["matAccordion"], { "hideToggle": { "alias": "hideToggle"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "togglePosition": { "alias": "togglePosition"; "required": false; }; }, {}, ["_headers"], never, true, never>;
|
|
248
|
+
static ngAcceptInputType_hideToggle: unknown;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
declare class MatExpansionModule {
|
|
252
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionModule, never>;
|
|
253
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatExpansionModule, never, [typeof i1.CdkAccordionModule, typeof i2.PortalModule, typeof MatAccordion, typeof MatExpansionPanel, typeof MatExpansionPanelActionRow, typeof MatExpansionPanelHeader, typeof MatExpansionPanelTitle, typeof MatExpansionPanelDescription, typeof MatExpansionPanelContent], [typeof i2$1.BidiModule, typeof MatAccordion, typeof MatExpansionPanel, typeof MatExpansionPanelActionRow, typeof MatExpansionPanelHeader, typeof MatExpansionPanelTitle, typeof MatExpansionPanelDescription, typeof MatExpansionPanelContent]>;
|
|
254
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatExpansionModule>;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export { MAT_ACCORDION, MAT_EXPANSION_PANEL, MAT_EXPANSION_PANEL_DEFAULT_OPTIONS, MatAccordion, MatExpansionModule, MatExpansionPanel, MatExpansionPanelActionRow, MatExpansionPanelContent, MatExpansionPanelDescription, MatExpansionPanelHeader, MatExpansionPanelTitle };
|
|
258
|
+
export type { MatAccordionBase, MatAccordionDisplayMode, MatAccordionTogglePosition, MatExpansionPanelDefaultOptions, MatExpansionPanelState };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { MatFormFieldControlHarness, MatFormFieldControlHarnessBase } from './_form-field-control-harness-chunk.js';
|
|
2
|
+
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A set of criteria shared by any class derived from `MatFormFieldControlHarness`, that can be
|
|
6
|
+
* used to filter a list of those components.
|
|
7
|
+
*/
|
|
8
|
+
interface MatFormFieldControlHarnessFilters extends BaseHarnessFilters {
|
|
9
|
+
/** Filters based on the text of the form field's floating label. */
|
|
10
|
+
label?: string | RegExp;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type { MatFormFieldControlHarnessFilters };
|