@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
package/types/chips.d.ts
ADDED
|
@@ -0,0 +1,993 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, OnInit, AfterViewInit, AfterContentInit, DoCheck, OnDestroy, ChangeDetectorRef, NgZone, QueryList, EventEmitter, Injector, InjectionToken, OnChanges } from '@angular/core';
|
|
3
|
+
import { Subject, Observable } from 'rxjs';
|
|
4
|
+
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
5
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
6
|
+
import { ErrorStateMatcher } from './_error-options-chunk.js';
|
|
7
|
+
import { MatFormFieldControl } from './_form-field-control-chunk.js';
|
|
8
|
+
import { MatRippleModule } from './_ripple-module-chunk.js';
|
|
9
|
+
import { ModifierKey } from '@angular/cdk/keycodes';
|
|
10
|
+
import * as i2 from '@angular/cdk/bidi';
|
|
11
|
+
import './_ripple-chunk.js';
|
|
12
|
+
import '@angular/cdk/platform';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A non-interactive section of a chip.
|
|
16
|
+
* @docs-private
|
|
17
|
+
*/
|
|
18
|
+
declare class MatChipContent {
|
|
19
|
+
_elementRef: ElementRef<HTMLElement>;
|
|
20
|
+
protected _parentChip: {
|
|
21
|
+
_handlePrimaryActionInteraction(): void;
|
|
22
|
+
remove(): void;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
_edit(): void;
|
|
25
|
+
_isEditing?: boolean;
|
|
26
|
+
};
|
|
27
|
+
/** Whether this is the primary action in the chip. */
|
|
28
|
+
_isPrimary: boolean;
|
|
29
|
+
/** Whether this is the leading action in the chip. */
|
|
30
|
+
_isLeading: boolean;
|
|
31
|
+
/** Whether the action is disabled. */
|
|
32
|
+
get disabled(): boolean;
|
|
33
|
+
set disabled(value: boolean);
|
|
34
|
+
private _disabled;
|
|
35
|
+
/** Tab index of the action. */
|
|
36
|
+
tabIndex: number;
|
|
37
|
+
/**
|
|
38
|
+
* Private API to allow focusing this chip when it is disabled.
|
|
39
|
+
*/
|
|
40
|
+
_allowFocusWhenDisabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Determine the value of the disabled attribute for this chip action.
|
|
43
|
+
*/
|
|
44
|
+
protected _getDisabledAttribute(): string | null;
|
|
45
|
+
constructor(...args: unknown[]);
|
|
46
|
+
focus(): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipContent, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipContent, "[matChipContent]", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "_allowFocusWhenDisabled": { "alias": "_allowFocusWhenDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
|
+
static ngAcceptInputType_disabled: unknown;
|
|
50
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Interactive section of a chip.
|
|
54
|
+
* @docs-private
|
|
55
|
+
*/
|
|
56
|
+
declare class MatChipAction extends MatChipContent {
|
|
57
|
+
/**
|
|
58
|
+
* Determine the value of the tabindex attribute for this chip action.
|
|
59
|
+
*/
|
|
60
|
+
protected _getTabindex(): string | null;
|
|
61
|
+
_handleClick(event: MouseEvent): void;
|
|
62
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAction, never>;
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, {}, {}, never, never, true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** Avatar image within a chip. */
|
|
68
|
+
declare class MatChipAvatar {
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAvatar, never>;
|
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAvatar, "mat-chip-avatar, [matChipAvatar]", never, {}, {}, never, never, true, never>;
|
|
71
|
+
}
|
|
72
|
+
/** Non-interactive trailing icon in a chip. */
|
|
73
|
+
declare class MatChipTrailingIcon extends MatChipContent {
|
|
74
|
+
_isPrimary: boolean;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipTrailingIcon, never>;
|
|
76
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipTrailingIcon, "mat-chip-trailing-icon, [matChipTrailingIcon]", never, {}, {}, never, never, true, never>;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Directive to edit the parent chip when the leading action icon is clicked or
|
|
80
|
+
* when the ENTER key is pressed on it.
|
|
81
|
+
*
|
|
82
|
+
* Recommended for use with the Material Design "edit" icon
|
|
83
|
+
* available at https://material.io/icons/#ic_edit.
|
|
84
|
+
*
|
|
85
|
+
* Example:
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
* <mat-chip>
|
|
89
|
+
* <button matChipEdit aria-label="Edit">
|
|
90
|
+
* <mat-icon>edit</mat-icon>
|
|
91
|
+
* </button>
|
|
92
|
+
* </mat-chip>
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
declare class MatChipEdit extends MatChipAction {
|
|
96
|
+
_isPrimary: boolean;
|
|
97
|
+
_isLeading: boolean;
|
|
98
|
+
_handleClick(event: MouseEvent): void;
|
|
99
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipEdit, never>;
|
|
101
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipEdit, "[matChipEdit]", never, {}, {}, never, never, true, never>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Directive to remove the parent chip when the trailing icon is clicked or
|
|
105
|
+
* when the ENTER key is pressed on it.
|
|
106
|
+
*
|
|
107
|
+
* Recommended for use with the Material Design "cancel" icon
|
|
108
|
+
* available at https://material.io/icons/#ic_cancel.
|
|
109
|
+
*
|
|
110
|
+
* Example:
|
|
111
|
+
*
|
|
112
|
+
* ```
|
|
113
|
+
* <mat-chip>
|
|
114
|
+
* <mat-icon matChipRemove>cancel</mat-icon>
|
|
115
|
+
* </mat-chip>
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
declare class MatChipRemove extends MatChipAction {
|
|
119
|
+
_isPrimary: boolean;
|
|
120
|
+
_handleClick(event: MouseEvent): void;
|
|
121
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRemove, never>;
|
|
123
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipRemove, "[matChipRemove]", never, {}, {}, never, never, true, never>;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** Represents an event fired on an individual `mat-chip`. */
|
|
127
|
+
interface MatChipEvent {
|
|
128
|
+
/** The chip the event was fired on. */
|
|
129
|
+
chip: MatChip;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Material design styled Chip base component. Used inside the MatChipSet component.
|
|
133
|
+
*
|
|
134
|
+
* Extended by MatChipOption and MatChipRow for different interaction patterns.
|
|
135
|
+
*/
|
|
136
|
+
declare class MatChip implements OnInit, AfterViewInit, AfterContentInit, DoCheck, OnDestroy {
|
|
137
|
+
_changeDetectorRef: ChangeDetectorRef;
|
|
138
|
+
_elementRef: ElementRef<HTMLElement>;
|
|
139
|
+
private readonly _tagName;
|
|
140
|
+
protected _ngZone: NgZone;
|
|
141
|
+
private _focusMonitor;
|
|
142
|
+
private _globalRippleOptions;
|
|
143
|
+
protected _document: Document;
|
|
144
|
+
/** Emits when the chip is focused. */
|
|
145
|
+
readonly _onFocus: Subject<MatChipEvent>;
|
|
146
|
+
/** Emits when the chip is blurred. */
|
|
147
|
+
readonly _onBlur: Subject<MatChipEvent>;
|
|
148
|
+
/** Whether this chip is a basic (unstyled) chip. */
|
|
149
|
+
_isBasicChip: boolean;
|
|
150
|
+
/** Role for the root of the chip. */
|
|
151
|
+
role: string | null;
|
|
152
|
+
/** Whether the chip has focus. */
|
|
153
|
+
private _hasFocusInternal;
|
|
154
|
+
/** Whether moving focus into the chip is pending. */
|
|
155
|
+
private _pendingFocus;
|
|
156
|
+
/** Subscription to changes in the chip's actions. */
|
|
157
|
+
private _actionChanges;
|
|
158
|
+
/** Whether animations for the chip are enabled. */
|
|
159
|
+
_animationsDisabled: boolean;
|
|
160
|
+
/** All avatars present in the chip. */
|
|
161
|
+
protected _allLeadingIcons: QueryList<MatChipAvatar>;
|
|
162
|
+
/** All trailing icons present in the chip. */
|
|
163
|
+
protected _allTrailingIcons: QueryList<MatChipTrailingIcon>;
|
|
164
|
+
/** All edit icons present in the chip. */
|
|
165
|
+
protected _allEditIcons: QueryList<MatChipEdit>;
|
|
166
|
+
/** All remove icons present in the chip. */
|
|
167
|
+
protected _allRemoveIcons: QueryList<MatChipRemove>;
|
|
168
|
+
_hasFocus(): boolean;
|
|
169
|
+
/** A unique id for the chip. If none is supplied, it will be auto-generated. */
|
|
170
|
+
id: string;
|
|
171
|
+
/** ARIA label for the content of the chip. */
|
|
172
|
+
ariaLabel: string | null;
|
|
173
|
+
/** ARIA description for the content of the chip. */
|
|
174
|
+
ariaDescription: string | null;
|
|
175
|
+
/** Whether the chip list is disabled. */
|
|
176
|
+
_chipListDisabled: boolean;
|
|
177
|
+
/** Whether the chip was focused when it was removed. */
|
|
178
|
+
_hadFocusOnRemove: boolean;
|
|
179
|
+
private _textElement;
|
|
180
|
+
/**
|
|
181
|
+
* The value of the chip. Defaults to the content inside
|
|
182
|
+
* the `mat-mdc-chip-action-label` element.
|
|
183
|
+
*/
|
|
184
|
+
get value(): any;
|
|
185
|
+
set value(value: any);
|
|
186
|
+
protected _value: any;
|
|
187
|
+
/**
|
|
188
|
+
* Theme color of the chip. This API is supported in M2 themes only, it has no
|
|
189
|
+
* effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/chips/styling.
|
|
190
|
+
*
|
|
191
|
+
* For information on applying color variants in M3, see
|
|
192
|
+
* https://material.angular.dev/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
193
|
+
*/
|
|
194
|
+
color?: string | null;
|
|
195
|
+
/**
|
|
196
|
+
* Determines whether or not the chip displays the remove styling and emits (removed) events.
|
|
197
|
+
*/
|
|
198
|
+
removable: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* Colors the chip for emphasis as if it were selected.
|
|
201
|
+
*/
|
|
202
|
+
highlighted: boolean;
|
|
203
|
+
/** Whether the ripple effect is disabled or not. */
|
|
204
|
+
disableRipple: boolean;
|
|
205
|
+
/** Whether the chip is disabled. */
|
|
206
|
+
get disabled(): boolean;
|
|
207
|
+
set disabled(value: boolean);
|
|
208
|
+
private _disabled;
|
|
209
|
+
/** Emitted when a chip is to be removed. */
|
|
210
|
+
readonly removed: EventEmitter<MatChipEvent>;
|
|
211
|
+
/** Emitted when the chip is destroyed. */
|
|
212
|
+
readonly destroyed: EventEmitter<MatChipEvent>;
|
|
213
|
+
/** The unstyled chip selector for this component. */
|
|
214
|
+
protected basicChipAttrName: string;
|
|
215
|
+
/** The chip's leading icon. */
|
|
216
|
+
leadingIcon: MatChipAvatar;
|
|
217
|
+
/** The chip's leading edit icon. */
|
|
218
|
+
editIcon: MatChipEdit;
|
|
219
|
+
/** The chip's trailing icon. */
|
|
220
|
+
trailingIcon: MatChipTrailingIcon;
|
|
221
|
+
/** The chip's trailing remove icon. */
|
|
222
|
+
removeIcon: MatChipRemove;
|
|
223
|
+
/** Action receiving the primary set of user interactions. */
|
|
224
|
+
primaryAction: MatChipAction;
|
|
225
|
+
/**
|
|
226
|
+
* Handles the lazy creation of the MatChip ripple.
|
|
227
|
+
* Used to improve initial load time of large applications.
|
|
228
|
+
*/
|
|
229
|
+
private _rippleLoader;
|
|
230
|
+
protected _injector: Injector;
|
|
231
|
+
constructor(...args: unknown[]);
|
|
232
|
+
ngOnInit(): void;
|
|
233
|
+
ngAfterViewInit(): void;
|
|
234
|
+
ngAfterContentInit(): void;
|
|
235
|
+
ngDoCheck(): void;
|
|
236
|
+
ngOnDestroy(): void;
|
|
237
|
+
/**
|
|
238
|
+
* Allows for programmatic removal of the chip.
|
|
239
|
+
*
|
|
240
|
+
* Informs any listeners of the removal request. Does not remove the chip from the DOM.
|
|
241
|
+
*/
|
|
242
|
+
remove(): void;
|
|
243
|
+
/** Whether or not the ripple should be disabled. */
|
|
244
|
+
_isRippleDisabled(): boolean;
|
|
245
|
+
/** Returns whether the chip has a trailing icon. */
|
|
246
|
+
_hasTrailingIcon(): boolean;
|
|
247
|
+
/** Handles keyboard events on the chip. */
|
|
248
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
249
|
+
/** Allows for programmatic focusing of the chip. */
|
|
250
|
+
focus(): void;
|
|
251
|
+
/** Gets the action that contains a specific target node. */
|
|
252
|
+
_getSourceAction(target: Node): MatChipAction | undefined;
|
|
253
|
+
/** Gets all of the actions within the chip. */
|
|
254
|
+
_getActions(): MatChipAction[];
|
|
255
|
+
/** Handles interactions with the primary action of the chip. */
|
|
256
|
+
_handlePrimaryActionInteraction(): void;
|
|
257
|
+
/** Returns whether the chip has any interactive actions. */
|
|
258
|
+
_hasInteractiveActions(): boolean;
|
|
259
|
+
/** Handles interactions with the edit action of the chip. */
|
|
260
|
+
_edit(event: Event): void;
|
|
261
|
+
/** Starts the focus monitoring process on the chip. */
|
|
262
|
+
private _monitorFocus;
|
|
263
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, never>;
|
|
264
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", ["matChip"], { "role": { "alias": "role"; "required": false; }; "id": { "alias": "id"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaDescription": { "alias": "aria-description"; "required": false; }; "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "highlighted": { "alias": "highlighted"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "removed": "removed"; "destroyed": "destroyed"; }, ["leadingIcon", "editIcon", "trailingIcon", "removeIcon", "_allLeadingIcons", "_allTrailingIcons", "_allEditIcons", "_allRemoveIcons"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
265
|
+
static ngAcceptInputType_removable: unknown;
|
|
266
|
+
static ngAcceptInputType_highlighted: unknown;
|
|
267
|
+
static ngAcceptInputType_disableRipple: unknown;
|
|
268
|
+
static ngAcceptInputType_disabled: unknown;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/** Event object emitted by MatChipOption when selected or deselected. */
|
|
272
|
+
declare class MatChipSelectionChange {
|
|
273
|
+
/** Reference to the chip that emitted the event. */
|
|
274
|
+
source: MatChipOption;
|
|
275
|
+
/** Whether the chip that emitted the event is selected. */
|
|
276
|
+
selected: boolean;
|
|
277
|
+
/** Whether the selection change was a result of a user interaction. */
|
|
278
|
+
isUserInput: boolean;
|
|
279
|
+
constructor(
|
|
280
|
+
/** Reference to the chip that emitted the event. */
|
|
281
|
+
source: MatChipOption,
|
|
282
|
+
/** Whether the chip that emitted the event is selected. */
|
|
283
|
+
selected: boolean,
|
|
284
|
+
/** Whether the selection change was a result of a user interaction. */
|
|
285
|
+
isUserInput?: boolean);
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* An extension of the MatChip component that supports chip selection. Used with MatChipListbox.
|
|
289
|
+
*
|
|
290
|
+
* Unlike other chips, the user can focus on disabled chip options inside a MatChipListbox. The
|
|
291
|
+
* user cannot click disabled chips.
|
|
292
|
+
*/
|
|
293
|
+
declare class MatChipOption extends MatChip implements OnInit {
|
|
294
|
+
/** Default chip options. */
|
|
295
|
+
private _defaultOptions;
|
|
296
|
+
/** Whether the chip list is selectable. */
|
|
297
|
+
chipListSelectable: boolean;
|
|
298
|
+
/** Whether the chip list is in multi-selection mode. */
|
|
299
|
+
_chipListMultiple: boolean;
|
|
300
|
+
/** Whether the chip list hides single-selection indicator. */
|
|
301
|
+
_chipListHideSingleSelectionIndicator: boolean;
|
|
302
|
+
/**
|
|
303
|
+
* Whether or not the chip is selectable.
|
|
304
|
+
*
|
|
305
|
+
* When a chip is not selectable, changes to its selected state are always
|
|
306
|
+
* ignored. By default an option chip is selectable, and it becomes
|
|
307
|
+
* non-selectable if its parent chip list is not selectable.
|
|
308
|
+
*/
|
|
309
|
+
get selectable(): boolean;
|
|
310
|
+
set selectable(value: boolean);
|
|
311
|
+
protected _selectable: boolean;
|
|
312
|
+
/** Whether the chip is selected. */
|
|
313
|
+
get selected(): boolean;
|
|
314
|
+
set selected(value: boolean);
|
|
315
|
+
private _selected;
|
|
316
|
+
/**
|
|
317
|
+
* The ARIA selected applied to the chip. Conforms to WAI ARIA best practices for listbox
|
|
318
|
+
* interaction patterns.
|
|
319
|
+
*
|
|
320
|
+
* From [WAI ARIA Listbox authoring practices guide](
|
|
321
|
+
* https://www.w3.org/WAI/ARIA/apg/patterns/listbox/):
|
|
322
|
+
* "If any options are selected, each selected option has either aria-selected or aria-checked
|
|
323
|
+
* set to true. All options that are selectable but not selected have either aria-selected or
|
|
324
|
+
* aria-checked set to false."
|
|
325
|
+
*
|
|
326
|
+
* Set `aria-selected="false"` on not-selected listbox options that are selectable to fix
|
|
327
|
+
* VoiceOver reading every option as "selected" (#25736).
|
|
328
|
+
*/
|
|
329
|
+
get ariaSelected(): string | null;
|
|
330
|
+
/** The unstyled chip selector for this component. */
|
|
331
|
+
protected basicChipAttrName: string;
|
|
332
|
+
/** Emitted when the chip is selected or deselected. */
|
|
333
|
+
readonly selectionChange: EventEmitter<MatChipSelectionChange>;
|
|
334
|
+
ngOnInit(): void;
|
|
335
|
+
/** Selects the chip. */
|
|
336
|
+
select(): void;
|
|
337
|
+
/** Deselects the chip. */
|
|
338
|
+
deselect(): void;
|
|
339
|
+
/** Selects this chip and emits userInputSelection event */
|
|
340
|
+
selectViaInteraction(): void;
|
|
341
|
+
/** Toggles the current selected state of this chip. */
|
|
342
|
+
toggleSelected(isUserInput?: boolean): boolean;
|
|
343
|
+
_handlePrimaryActionInteraction(): void;
|
|
344
|
+
_hasLeadingGraphic(): boolean;
|
|
345
|
+
_setSelectedState(isSelected: boolean, isUserInput: boolean, emitEvent: boolean): void;
|
|
346
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipOption, never>;
|
|
347
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipOption, "mat-basic-chip-option, [mat-basic-chip-option], mat-chip-option, [mat-chip-option]", never, { "selectable": { "alias": "selectable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
348
|
+
static ngAcceptInputType_selectable: unknown;
|
|
349
|
+
static ngAcceptInputType_selected: unknown;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* A directive that makes a span editable and exposes functions to modify and retrieve the
|
|
354
|
+
* element's contents.
|
|
355
|
+
*/
|
|
356
|
+
declare class MatChipEditInput {
|
|
357
|
+
private readonly _elementRef;
|
|
358
|
+
private readonly _document;
|
|
359
|
+
constructor(...args: unknown[]);
|
|
360
|
+
initialize(initialValue: string): void;
|
|
361
|
+
getNativeElement(): HTMLElement;
|
|
362
|
+
setValue(value: string): void;
|
|
363
|
+
getValue(): string;
|
|
364
|
+
private _moveCursorToEndOfInput;
|
|
365
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipEditInput, never>;
|
|
366
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipEditInput, "span[matChipEditInput]", never, {}, {}, never, never, true, never>;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/** Represents an event fired on an individual `mat-chip` when it is edited. */
|
|
370
|
+
interface MatChipEditedEvent extends MatChipEvent {
|
|
371
|
+
/** The final edit value. */
|
|
372
|
+
value: string;
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* An extension of the MatChip component used with MatChipGrid and
|
|
376
|
+
* the matChipInputFor directive.
|
|
377
|
+
*/
|
|
378
|
+
declare class MatChipRow extends MatChip implements AfterViewInit, OnDestroy {
|
|
379
|
+
protected basicChipAttrName: string;
|
|
380
|
+
private _renderer;
|
|
381
|
+
private _cleanupMousedown;
|
|
382
|
+
/**
|
|
383
|
+
* The editing action has to be triggered in a timeout. While we're waiting on it, a blur
|
|
384
|
+
* event might occur which will interrupt the editing. This flag is used to avoid interruptions
|
|
385
|
+
* while the editing action is being initialized.
|
|
386
|
+
*/
|
|
387
|
+
private _editStartPending;
|
|
388
|
+
editable: boolean;
|
|
389
|
+
/** Emitted when the chip is edited. */
|
|
390
|
+
readonly edited: EventEmitter<MatChipEditedEvent>;
|
|
391
|
+
/** The default chip edit input that is used if none is projected into this chip row. */
|
|
392
|
+
defaultEditInput?: MatChipEditInput;
|
|
393
|
+
/** The projected chip edit input. */
|
|
394
|
+
contentEditInput?: MatChipEditInput;
|
|
395
|
+
/**
|
|
396
|
+
* Set on a mousedown when the chip is already focused via mouse or keyboard.
|
|
397
|
+
*
|
|
398
|
+
* This allows us to ensure chip is already focused when deciding whether to enter the
|
|
399
|
+
* edit mode on a subsequent click. Otherwise, the chip appears focused when handling the
|
|
400
|
+
* first click event.
|
|
401
|
+
*/
|
|
402
|
+
private _alreadyFocused;
|
|
403
|
+
_isEditing: boolean;
|
|
404
|
+
constructor(...args: unknown[]);
|
|
405
|
+
ngAfterViewInit(): void;
|
|
406
|
+
ngOnDestroy(): void;
|
|
407
|
+
protected _hasLeadingActionIcon(): boolean;
|
|
408
|
+
_hasTrailingIcon(): boolean;
|
|
409
|
+
/** Sends focus to the first gridcell when the user clicks anywhere inside the chip. */
|
|
410
|
+
_handleFocus(): void;
|
|
411
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
412
|
+
_handleClick(event: MouseEvent): void;
|
|
413
|
+
_handleDoubleclick(event: MouseEvent): void;
|
|
414
|
+
_edit(): void;
|
|
415
|
+
private _startEditing;
|
|
416
|
+
private _onEditFinish;
|
|
417
|
+
_isRippleDisabled(): boolean;
|
|
418
|
+
/**
|
|
419
|
+
* Gets the projected chip edit input, or the default input if none is projected in. One of these
|
|
420
|
+
* two values is guaranteed to be defined.
|
|
421
|
+
*/
|
|
422
|
+
private _getEditInput;
|
|
423
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, never>;
|
|
424
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", never, { "editable": { "alias": "editable"; "required": false; }; }, { "edited": "edited"; }, ["contentEditInput"], ["[matChipEdit]", "mat-chip-avatar, [matChipAvatar]", "[matChipEditInput]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Basic container component for the MatChip component.
|
|
429
|
+
*
|
|
430
|
+
* Extended by MatChipListbox and MatChipGrid for different interaction patterns.
|
|
431
|
+
*/
|
|
432
|
+
declare class MatChipSet implements AfterViewInit, OnDestroy {
|
|
433
|
+
protected _elementRef: ElementRef<HTMLElement>;
|
|
434
|
+
protected _changeDetectorRef: ChangeDetectorRef;
|
|
435
|
+
private _dir;
|
|
436
|
+
/** Index of the last destroyed chip that had focus. */
|
|
437
|
+
private _lastDestroyedFocusedChipIndex;
|
|
438
|
+
/** Used to manage focus within the chip list. */
|
|
439
|
+
protected _keyManager: FocusKeyManager<MatChipAction>;
|
|
440
|
+
/** Subject that emits when the component has been destroyed. */
|
|
441
|
+
protected _destroyed: Subject<void>;
|
|
442
|
+
/** Role to use if it hasn't been overwritten by the user. */
|
|
443
|
+
protected _defaultRole: string;
|
|
444
|
+
/** Combined stream of all of the child chips' focus events. */
|
|
445
|
+
get chipFocusChanges(): Observable<MatChipEvent>;
|
|
446
|
+
/** Combined stream of all of the child chips' destroy events. */
|
|
447
|
+
get chipDestroyedChanges(): Observable<MatChipEvent>;
|
|
448
|
+
/** Combined stream of all of the child chips' remove events. */
|
|
449
|
+
get chipRemovedChanges(): Observable<MatChipEvent>;
|
|
450
|
+
/** Whether the chip set is disabled. */
|
|
451
|
+
get disabled(): boolean;
|
|
452
|
+
set disabled(value: boolean);
|
|
453
|
+
protected _disabled: boolean;
|
|
454
|
+
/** Whether the chip list contains chips or not. */
|
|
455
|
+
get empty(): boolean;
|
|
456
|
+
/** The ARIA role applied to the chip set. */
|
|
457
|
+
get role(): string | null;
|
|
458
|
+
/** Tabindex of the chip set. */
|
|
459
|
+
tabIndex: number;
|
|
460
|
+
set role(value: string | null);
|
|
461
|
+
private _explicitRole;
|
|
462
|
+
/** Whether any of the chips inside of this chip-set has focus. */
|
|
463
|
+
get focused(): boolean;
|
|
464
|
+
/** The chips that are part of this chip set. */
|
|
465
|
+
_chips: QueryList<MatChip>;
|
|
466
|
+
/** Flat list of all the actions contained within the chips. */
|
|
467
|
+
_chipActions: QueryList<MatChipAction>;
|
|
468
|
+
constructor(...args: unknown[]);
|
|
469
|
+
ngAfterViewInit(): void;
|
|
470
|
+
ngOnDestroy(): void;
|
|
471
|
+
/** Checks whether any of the chips is focused. */
|
|
472
|
+
protected _hasFocusedChip(): boolean;
|
|
473
|
+
/** Syncs the chip-set's state with the individual chips. */
|
|
474
|
+
protected _syncChipsState(): void;
|
|
475
|
+
/** Dummy method for subclasses to override. Base chip set cannot be focused. */
|
|
476
|
+
focus(): void;
|
|
477
|
+
/** Handles keyboard events on the chip set. */
|
|
478
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
479
|
+
/**
|
|
480
|
+
* Utility to ensure all indexes are valid.
|
|
481
|
+
*
|
|
482
|
+
* @param index The index to be checked.
|
|
483
|
+
* @returns True if the index is valid for our list of chips.
|
|
484
|
+
*/
|
|
485
|
+
protected _isValidIndex(index: number): boolean;
|
|
486
|
+
/**
|
|
487
|
+
* Removes the `tabindex` from the chip set and resets it back afterwards, allowing the
|
|
488
|
+
* user to tab out of it. This prevents the set from capturing focus and redirecting
|
|
489
|
+
* it back to the first chip, creating a focus trap, if it user tries to tab away.
|
|
490
|
+
*/
|
|
491
|
+
protected _allowFocusEscape(): void;
|
|
492
|
+
/**
|
|
493
|
+
* Gets a stream of events from all the chips within the set.
|
|
494
|
+
* The stream will automatically incorporate any newly-added chips.
|
|
495
|
+
*/
|
|
496
|
+
protected _getChipStream<T, C extends MatChip = MatChip>(mappingFunction: (chip: C) => Observable<T>): Observable<T>;
|
|
497
|
+
/** Checks whether an event comes from inside a chip element. */
|
|
498
|
+
protected _originatesFromChip(event: Event): boolean;
|
|
499
|
+
/** Sets up the chip set's focus management logic. */
|
|
500
|
+
private _setUpFocusManagement;
|
|
501
|
+
/**
|
|
502
|
+
* Determines if key manager should avoid putting a given chip action in the tab index. Skip
|
|
503
|
+
* non-interactive and disabled actions since the user can't do anything with them.
|
|
504
|
+
*/
|
|
505
|
+
protected _skipPredicate(action: MatChipContent): boolean;
|
|
506
|
+
/** Listens to changes in the chip set and syncs up the state of the individual chips. */
|
|
507
|
+
private _trackChipSetChanges;
|
|
508
|
+
/** Starts tracking the destroyed chips in order to capture the focused one. */
|
|
509
|
+
private _trackDestroyedFocusedChip;
|
|
510
|
+
/**
|
|
511
|
+
* Finds the next appropriate chip to move focus to,
|
|
512
|
+
* if the currently-focused chip is destroyed.
|
|
513
|
+
*/
|
|
514
|
+
private _redirectDestroyedChipFocus;
|
|
515
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, never>;
|
|
516
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": { "alias": "disabled"; "required": false; }; "role": { "alias": "role"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, ["_chips"], ["*"], true, never>;
|
|
517
|
+
static ngAcceptInputType_disabled: unknown;
|
|
518
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/** Change event object that is emitted when the chip listbox value has changed. */
|
|
522
|
+
declare class MatChipListboxChange {
|
|
523
|
+
/** Chip listbox that emitted the event. */
|
|
524
|
+
source: MatChipListbox;
|
|
525
|
+
/** Value of the chip listbox when the event was emitted. */
|
|
526
|
+
value: any;
|
|
527
|
+
constructor(
|
|
528
|
+
/** Chip listbox that emitted the event. */
|
|
529
|
+
source: MatChipListbox,
|
|
530
|
+
/** Value of the chip listbox when the event was emitted. */
|
|
531
|
+
value: any);
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Provider Expression that allows mat-chip-listbox to register as a ControlValueAccessor.
|
|
535
|
+
* This allows it to support [(ngModel)].
|
|
536
|
+
* @docs-private
|
|
537
|
+
*/
|
|
538
|
+
declare const MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR: any;
|
|
539
|
+
/**
|
|
540
|
+
* An extension of the MatChipSet component that supports chip selection.
|
|
541
|
+
* Used with MatChipOption chips.
|
|
542
|
+
*/
|
|
543
|
+
declare class MatChipListbox extends MatChipSet implements AfterContentInit, OnDestroy, ControlValueAccessor {
|
|
544
|
+
/**
|
|
545
|
+
* Function when touched. Set as part of ControlValueAccessor implementation.
|
|
546
|
+
* @docs-private
|
|
547
|
+
*/
|
|
548
|
+
_onTouched: () => void;
|
|
549
|
+
/**
|
|
550
|
+
* Function when changed. Set as part of ControlValueAccessor implementation.
|
|
551
|
+
* @docs-private
|
|
552
|
+
*/
|
|
553
|
+
_onChange: (value: any) => void;
|
|
554
|
+
protected _defaultRole: string;
|
|
555
|
+
/** Default chip options. */
|
|
556
|
+
private _defaultOptions;
|
|
557
|
+
/** Whether the user should be allowed to select multiple chips. */
|
|
558
|
+
get multiple(): boolean;
|
|
559
|
+
set multiple(value: boolean);
|
|
560
|
+
private _multiple;
|
|
561
|
+
/** The array of selected chips inside the chip listbox. */
|
|
562
|
+
get selected(): MatChipOption[] | MatChipOption;
|
|
563
|
+
/** Orientation of the chip list. */
|
|
564
|
+
ariaOrientation: 'horizontal' | 'vertical';
|
|
565
|
+
/**
|
|
566
|
+
* Whether or not this chip listbox is selectable.
|
|
567
|
+
*
|
|
568
|
+
* When a chip listbox is not selectable, the selected states for all
|
|
569
|
+
* the chips inside the chip listbox are always ignored.
|
|
570
|
+
*/
|
|
571
|
+
get selectable(): boolean;
|
|
572
|
+
set selectable(value: boolean);
|
|
573
|
+
protected _selectable: boolean;
|
|
574
|
+
/**
|
|
575
|
+
* A function to compare the option values with the selected values. The first argument
|
|
576
|
+
* is a value from an option. The second is a value from the selection. A boolean
|
|
577
|
+
* should be returned.
|
|
578
|
+
*/
|
|
579
|
+
compareWith: (o1: any, o2: any) => boolean;
|
|
580
|
+
/** Whether this chip listbox is required. */
|
|
581
|
+
required: boolean;
|
|
582
|
+
/** Whether checkmark indicator for single-selection options is hidden. */
|
|
583
|
+
get hideSingleSelectionIndicator(): boolean;
|
|
584
|
+
set hideSingleSelectionIndicator(value: boolean);
|
|
585
|
+
private _hideSingleSelectionIndicator;
|
|
586
|
+
/** Combined stream of all of the child chips' selection change events. */
|
|
587
|
+
get chipSelectionChanges(): Observable<MatChipSelectionChange>;
|
|
588
|
+
/** Combined stream of all of the child chips' blur events. */
|
|
589
|
+
get chipBlurChanges(): Observable<MatChipEvent>;
|
|
590
|
+
/** The value of the listbox, which is the combined value of the selected chips. */
|
|
591
|
+
get value(): any;
|
|
592
|
+
set value(value: any);
|
|
593
|
+
protected _value: any;
|
|
594
|
+
/** Event emitted when the selected chip listbox value has been changed by the user. */
|
|
595
|
+
readonly change: EventEmitter<MatChipListboxChange>;
|
|
596
|
+
_chips: QueryList<MatChipOption>;
|
|
597
|
+
ngAfterContentInit(): void;
|
|
598
|
+
/**
|
|
599
|
+
* Focuses the first selected chip in this chip listbox, or the first non-disabled chip when there
|
|
600
|
+
* are no selected chips.
|
|
601
|
+
*/
|
|
602
|
+
focus(): void;
|
|
603
|
+
/**
|
|
604
|
+
* Implemented as part of ControlValueAccessor.
|
|
605
|
+
* @docs-private
|
|
606
|
+
*/
|
|
607
|
+
writeValue(value: any): void;
|
|
608
|
+
/**
|
|
609
|
+
* Implemented as part of ControlValueAccessor.
|
|
610
|
+
* @docs-private
|
|
611
|
+
*/
|
|
612
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
613
|
+
/**
|
|
614
|
+
* Implemented as part of ControlValueAccessor.
|
|
615
|
+
* @docs-private
|
|
616
|
+
*/
|
|
617
|
+
registerOnTouched(fn: () => void): void;
|
|
618
|
+
/**
|
|
619
|
+
* Implemented as part of ControlValueAccessor.
|
|
620
|
+
* @docs-private
|
|
621
|
+
*/
|
|
622
|
+
setDisabledState(isDisabled: boolean): void;
|
|
623
|
+
/** Selects all chips with value. */
|
|
624
|
+
_setSelectionByValue(value: any, isUserInput?: boolean): void;
|
|
625
|
+
/** When blurred, marks the field as touched when focus moved outside the chip listbox. */
|
|
626
|
+
_blur(): void;
|
|
627
|
+
_keydown(event: KeyboardEvent): void;
|
|
628
|
+
/** Marks the field as touched */
|
|
629
|
+
private _markAsTouched;
|
|
630
|
+
/** Emits change event to set the model value. */
|
|
631
|
+
private _propagateChanges;
|
|
632
|
+
/**
|
|
633
|
+
* Deselects every chip in the listbox.
|
|
634
|
+
* @param skip Chip that should not be deselected.
|
|
635
|
+
*/
|
|
636
|
+
private _clearSelection;
|
|
637
|
+
/**
|
|
638
|
+
* Finds and selects the chip based on its value.
|
|
639
|
+
* @returns Chip that has the corresponding value.
|
|
640
|
+
*/
|
|
641
|
+
private _selectValue;
|
|
642
|
+
/** Syncs the chip-listbox selection state with the individual chips. */
|
|
643
|
+
private _syncListboxProperties;
|
|
644
|
+
/** Returns the first selected chip in this listbox, or undefined if no chips are selected. */
|
|
645
|
+
private _getFirstSelectedChip;
|
|
646
|
+
/**
|
|
647
|
+
* Determines if key manager should avoid putting a given chip action in the tab index. Skip
|
|
648
|
+
* non-interactive actions since the user can't do anything with them.
|
|
649
|
+
*/
|
|
650
|
+
protected _skipPredicate(action: MatChipAction): boolean;
|
|
651
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipListbox, never>;
|
|
652
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListbox, "mat-chip-listbox", never, { "multiple": { "alias": "multiple"; "required": false; }; "ariaOrientation": { "alias": "aria-orientation"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hideSingleSelectionIndicator": { "alias": "hideSingleSelectionIndicator"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "change": "change"; }, ["_chips"], ["*"], true, never>;
|
|
653
|
+
static ngAcceptInputType_multiple: unknown;
|
|
654
|
+
static ngAcceptInputType_selectable: unknown;
|
|
655
|
+
static ngAcceptInputType_required: unknown;
|
|
656
|
+
static ngAcceptInputType_hideSingleSelectionIndicator: unknown;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/** Interface for a text control that is used to drive interaction with a mat-chip-grid. */
|
|
660
|
+
interface MatChipTextControl {
|
|
661
|
+
/** Unique identifier for the text control. */
|
|
662
|
+
id: string;
|
|
663
|
+
/** The text control's placeholder text. */
|
|
664
|
+
placeholder: string;
|
|
665
|
+
/** Whether the text control has browser focus. */
|
|
666
|
+
focused: boolean;
|
|
667
|
+
/** Whether the text control is empty. */
|
|
668
|
+
empty: boolean;
|
|
669
|
+
/** Focuses the text control. */
|
|
670
|
+
focus(): void;
|
|
671
|
+
/** Gets the list of ids the input is described by. */
|
|
672
|
+
readonly describedByIds?: string[];
|
|
673
|
+
/** Sets the list of ids the input is described by. */
|
|
674
|
+
setDescribedByIds(ids: string[]): void;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/** Change event object that is emitted when the chip grid value has changed. */
|
|
678
|
+
declare class MatChipGridChange {
|
|
679
|
+
/** Chip grid that emitted the event. */
|
|
680
|
+
source: MatChipGrid;
|
|
681
|
+
/** Value of the chip grid when the event was emitted. */
|
|
682
|
+
value: any;
|
|
683
|
+
constructor(
|
|
684
|
+
/** Chip grid that emitted the event. */
|
|
685
|
+
source: MatChipGrid,
|
|
686
|
+
/** Value of the chip grid when the event was emitted. */
|
|
687
|
+
value: any);
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* An extension of the MatChipSet component used with MatChipRow chips and
|
|
691
|
+
* the matChipInputFor directive.
|
|
692
|
+
*/
|
|
693
|
+
declare class MatChipGrid extends MatChipSet implements AfterContentInit, AfterViewInit, ControlValueAccessor, DoCheck, MatFormFieldControl<any>, OnDestroy {
|
|
694
|
+
ngControl: NgControl;
|
|
695
|
+
/**
|
|
696
|
+
* Implemented as part of MatFormFieldControl.
|
|
697
|
+
* @docs-private
|
|
698
|
+
*/
|
|
699
|
+
readonly controlType: string;
|
|
700
|
+
/** The chip input to add more chips */
|
|
701
|
+
protected _chipInput?: MatChipTextControl;
|
|
702
|
+
protected _defaultRole: string;
|
|
703
|
+
private _errorStateTracker;
|
|
704
|
+
private _uid;
|
|
705
|
+
/**
|
|
706
|
+
* List of element ids to propagate to the chipInput's aria-describedby attribute.
|
|
707
|
+
*/
|
|
708
|
+
private _ariaDescribedbyIds;
|
|
709
|
+
/**
|
|
710
|
+
* Function when touched. Set as part of ControlValueAccessor implementation.
|
|
711
|
+
* @docs-private
|
|
712
|
+
*/
|
|
713
|
+
_onTouched: () => void;
|
|
714
|
+
/**
|
|
715
|
+
* Function when changed. Set as part of ControlValueAccessor implementation.
|
|
716
|
+
* @docs-private
|
|
717
|
+
*/
|
|
718
|
+
_onChange: (value: any) => void;
|
|
719
|
+
/**
|
|
720
|
+
* Implemented as part of MatFormFieldControl.
|
|
721
|
+
* @docs-private
|
|
722
|
+
*/
|
|
723
|
+
get disabled(): boolean;
|
|
724
|
+
set disabled(value: boolean);
|
|
725
|
+
/**
|
|
726
|
+
* Implemented as part of MatFormFieldControl.
|
|
727
|
+
* @docs-private
|
|
728
|
+
*/
|
|
729
|
+
get id(): string;
|
|
730
|
+
/**
|
|
731
|
+
* Implemented as part of MatFormFieldControl.
|
|
732
|
+
* @docs-private
|
|
733
|
+
*/
|
|
734
|
+
get empty(): boolean;
|
|
735
|
+
/**
|
|
736
|
+
* Implemented as part of MatFormFieldControl.
|
|
737
|
+
* @docs-private
|
|
738
|
+
*/
|
|
739
|
+
get placeholder(): string;
|
|
740
|
+
set placeholder(value: string);
|
|
741
|
+
protected _placeholder: string;
|
|
742
|
+
/** Whether any chips or the matChipInput inside of this chip-grid has focus. */
|
|
743
|
+
get focused(): boolean;
|
|
744
|
+
/**
|
|
745
|
+
* Implemented as part of MatFormFieldControl.
|
|
746
|
+
* @docs-private
|
|
747
|
+
*/
|
|
748
|
+
get required(): boolean;
|
|
749
|
+
set required(value: boolean);
|
|
750
|
+
protected _required: boolean | undefined;
|
|
751
|
+
/**
|
|
752
|
+
* Implemented as part of MatFormFieldControl.
|
|
753
|
+
* @docs-private
|
|
754
|
+
*/
|
|
755
|
+
get shouldLabelFloat(): boolean;
|
|
756
|
+
/**
|
|
757
|
+
* Implemented as part of MatFormFieldControl.
|
|
758
|
+
* @docs-private
|
|
759
|
+
*/
|
|
760
|
+
get value(): any;
|
|
761
|
+
set value(value: any);
|
|
762
|
+
protected _value: any[];
|
|
763
|
+
/** An object used to control when error messages are shown. */
|
|
764
|
+
get errorStateMatcher(): ErrorStateMatcher;
|
|
765
|
+
set errorStateMatcher(value: ErrorStateMatcher);
|
|
766
|
+
/** Combined stream of all of the child chips' blur events. */
|
|
767
|
+
get chipBlurChanges(): Observable<MatChipEvent>;
|
|
768
|
+
/** Emits when the chip grid value has been changed by the user. */
|
|
769
|
+
readonly change: EventEmitter<MatChipGridChange>;
|
|
770
|
+
/**
|
|
771
|
+
* Emits whenever the raw value of the chip-grid changes. This is here primarily
|
|
772
|
+
* to facilitate the two-way binding for the `value` input.
|
|
773
|
+
* @docs-private
|
|
774
|
+
*/
|
|
775
|
+
readonly valueChange: EventEmitter<any>;
|
|
776
|
+
_chips: QueryList<MatChipRow>;
|
|
777
|
+
/**
|
|
778
|
+
* Emits whenever the component state changes and should cause the parent
|
|
779
|
+
* form-field to update. Implemented as part of `MatFormFieldControl`.
|
|
780
|
+
* @docs-private
|
|
781
|
+
*/
|
|
782
|
+
readonly stateChanges: Subject<void>;
|
|
783
|
+
/** Whether the chip grid is in an error state. */
|
|
784
|
+
get errorState(): boolean;
|
|
785
|
+
set errorState(value: boolean);
|
|
786
|
+
constructor(...args: unknown[]);
|
|
787
|
+
ngAfterContentInit(): void;
|
|
788
|
+
ngDoCheck(): void;
|
|
789
|
+
ngOnDestroy(): void;
|
|
790
|
+
/** Associates an HTML input element with this chip grid. */
|
|
791
|
+
registerInput(inputElement: MatChipTextControl): void;
|
|
792
|
+
/**
|
|
793
|
+
* Implemented as part of MatFormFieldControl.
|
|
794
|
+
* @docs-private
|
|
795
|
+
*/
|
|
796
|
+
onContainerClick(event: MouseEvent): void;
|
|
797
|
+
/**
|
|
798
|
+
* Focuses the first chip in this chip grid, or the associated input when there
|
|
799
|
+
* are no eligible chips.
|
|
800
|
+
*/
|
|
801
|
+
focus(): void;
|
|
802
|
+
/**
|
|
803
|
+
* Implemented as part of MatFormFieldControl.
|
|
804
|
+
* @docs-private
|
|
805
|
+
*/
|
|
806
|
+
get describedByIds(): string[];
|
|
807
|
+
/**
|
|
808
|
+
* Implemented as part of MatFormFieldControl.
|
|
809
|
+
* @docs-private
|
|
810
|
+
*/
|
|
811
|
+
setDescribedByIds(ids: string[]): void;
|
|
812
|
+
/**
|
|
813
|
+
* Implemented as part of ControlValueAccessor.
|
|
814
|
+
* @docs-private
|
|
815
|
+
*/
|
|
816
|
+
writeValue(value: any): void;
|
|
817
|
+
/**
|
|
818
|
+
* Implemented as part of ControlValueAccessor.
|
|
819
|
+
* @docs-private
|
|
820
|
+
*/
|
|
821
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
822
|
+
/**
|
|
823
|
+
* Implemented as part of ControlValueAccessor.
|
|
824
|
+
* @docs-private
|
|
825
|
+
*/
|
|
826
|
+
registerOnTouched(fn: () => void): void;
|
|
827
|
+
/**
|
|
828
|
+
* Implemented as part of ControlValueAccessor.
|
|
829
|
+
* @docs-private
|
|
830
|
+
*/
|
|
831
|
+
setDisabledState(isDisabled: boolean): void;
|
|
832
|
+
/** Refreshes the error state of the chip grid. */
|
|
833
|
+
updateErrorState(): void;
|
|
834
|
+
/** When blurred, mark the field as touched when focus moved outside the chip grid. */
|
|
835
|
+
_blur(): void;
|
|
836
|
+
/**
|
|
837
|
+
* Removes the `tabindex` from the chip grid and resets it back afterwards, allowing the
|
|
838
|
+
* user to tab out of it. This prevents the grid from capturing focus and redirecting
|
|
839
|
+
* it back to the first chip, creating a focus trap, if it user tries to tab away.
|
|
840
|
+
*/
|
|
841
|
+
protected _allowFocusEscape(): void;
|
|
842
|
+
/** Handles custom keyboard events. */
|
|
843
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
844
|
+
_focusLastChip(): void;
|
|
845
|
+
/** Emits change event to set the model value. */
|
|
846
|
+
private _propagateChanges;
|
|
847
|
+
/** Mark the field as touched */
|
|
848
|
+
private _markAsTouched;
|
|
849
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, never>;
|
|
850
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; }, { "change": "change"; "valueChange": "valueChange"; }, ["_chips"], ["*"], true, never>;
|
|
851
|
+
static ngAcceptInputType_disabled: unknown;
|
|
852
|
+
static ngAcceptInputType_required: unknown;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/** Key that can be used as a separator between chips. */
|
|
856
|
+
interface SeparatorKey {
|
|
857
|
+
keyCode: number;
|
|
858
|
+
modifiers: readonly ModifierKey[];
|
|
859
|
+
}
|
|
860
|
+
/** Default options, for the chips module, that can be overridden. */
|
|
861
|
+
interface MatChipsDefaultOptions {
|
|
862
|
+
/** The list of key codes that will trigger a chipEnd event. */
|
|
863
|
+
separatorKeyCodes: readonly (number | SeparatorKey)[] | ReadonlySet<number | SeparatorKey>;
|
|
864
|
+
/** Whether icon indicators should be hidden for single-selection. */
|
|
865
|
+
hideSingleSelectionIndicator?: boolean;
|
|
866
|
+
/** Whether the chip input should be interactive while disabled by default. */
|
|
867
|
+
inputDisabledInteractive?: boolean;
|
|
868
|
+
}
|
|
869
|
+
/** Injection token to be used to override the default options for the chips module. */
|
|
870
|
+
declare const MAT_CHIPS_DEFAULT_OPTIONS: InjectionToken<MatChipsDefaultOptions>;
|
|
871
|
+
/**
|
|
872
|
+
* Injection token that can be used to reference instances of `MatChipAvatar`. It serves as
|
|
873
|
+
* alternative token to the actual `MatChipAvatar` class which could cause unnecessary
|
|
874
|
+
* retention of the class and its directive metadata.
|
|
875
|
+
*/
|
|
876
|
+
declare const MAT_CHIP_AVATAR: InjectionToken<unknown>;
|
|
877
|
+
/**
|
|
878
|
+
* Injection token that can be used to reference instances of `MatChipTrailingIcon`. It serves as
|
|
879
|
+
* alternative token to the actual `MatChipTrailingIcon` class which could cause unnecessary
|
|
880
|
+
* retention of the class and its directive metadata.
|
|
881
|
+
*/
|
|
882
|
+
declare const MAT_CHIP_TRAILING_ICON: InjectionToken<unknown>;
|
|
883
|
+
/**
|
|
884
|
+
* Injection token that can be used to reference instances of `MatChipEdit`. It serves as
|
|
885
|
+
* alternative token to the actual `MatChipEdit` class which could cause unnecessary
|
|
886
|
+
* retention of the class and its directive metadata.
|
|
887
|
+
*/
|
|
888
|
+
declare const MAT_CHIP_EDIT: InjectionToken<unknown>;
|
|
889
|
+
/**
|
|
890
|
+
* Injection token that can be used to reference instances of `MatChipRemove`. It serves as
|
|
891
|
+
* alternative token to the actual `MatChipRemove` class which could cause unnecessary
|
|
892
|
+
* retention of the class and its directive metadata.
|
|
893
|
+
*/
|
|
894
|
+
declare const MAT_CHIP_REMOVE: InjectionToken<unknown>;
|
|
895
|
+
/**
|
|
896
|
+
* Injection token used to avoid a circular dependency between the `MatChip` and `MatChipAction`.
|
|
897
|
+
*/
|
|
898
|
+
declare const MAT_CHIP: InjectionToken<unknown>;
|
|
899
|
+
|
|
900
|
+
/** Represents an input event on a `matChipInput`. */
|
|
901
|
+
interface MatChipInputEvent {
|
|
902
|
+
/**
|
|
903
|
+
* The native `<input>` element that the event is being fired for.
|
|
904
|
+
* @deprecated Use `MatChipInputEvent#chipInput.inputElement` instead.
|
|
905
|
+
* @breaking-change 13.0.0 This property will be removed.
|
|
906
|
+
*/
|
|
907
|
+
input: HTMLInputElement;
|
|
908
|
+
/** The value of the input. */
|
|
909
|
+
value: string;
|
|
910
|
+
/** Reference to the chip input that emitted the event. */
|
|
911
|
+
chipInput: MatChipInput;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* Directive that adds chip-specific behaviors to an input element inside `<mat-form-field>`.
|
|
915
|
+
* May be placed inside or outside of a `<mat-chip-grid>`.
|
|
916
|
+
*/
|
|
917
|
+
declare class MatChipInput implements MatChipTextControl, OnChanges, OnDestroy {
|
|
918
|
+
protected _elementRef: ElementRef<HTMLInputElement>;
|
|
919
|
+
/** Whether the control is focused. */
|
|
920
|
+
focused: boolean;
|
|
921
|
+
/** Register input for chip list */
|
|
922
|
+
get chipGrid(): MatChipGrid;
|
|
923
|
+
set chipGrid(value: MatChipGrid);
|
|
924
|
+
protected _chipGrid: MatChipGrid;
|
|
925
|
+
/**
|
|
926
|
+
* Whether or not the chipEnd event will be emitted when the input is blurred.
|
|
927
|
+
*/
|
|
928
|
+
addOnBlur: boolean;
|
|
929
|
+
/**
|
|
930
|
+
* The list of key codes that will trigger a chipEnd event.
|
|
931
|
+
*
|
|
932
|
+
* Defaults to `[ENTER]`.
|
|
933
|
+
*/
|
|
934
|
+
separatorKeyCodes: readonly (number | SeparatorKey)[] | ReadonlySet<number | SeparatorKey>;
|
|
935
|
+
/** Emitted when a chip is to be added. */
|
|
936
|
+
readonly chipEnd: EventEmitter<MatChipInputEvent>;
|
|
937
|
+
/** The input's placeholder text. */
|
|
938
|
+
placeholder: string;
|
|
939
|
+
/** Unique id for the input. */
|
|
940
|
+
id: string;
|
|
941
|
+
/** Whether the input is disabled. */
|
|
942
|
+
get disabled(): boolean;
|
|
943
|
+
set disabled(value: boolean);
|
|
944
|
+
private _disabled;
|
|
945
|
+
/** Whether the input is readonly. */
|
|
946
|
+
readonly: boolean;
|
|
947
|
+
/** Whether the input should remain interactive when it is disabled. */
|
|
948
|
+
disabledInteractive: boolean;
|
|
949
|
+
/** Whether the input is empty. */
|
|
950
|
+
get empty(): boolean;
|
|
951
|
+
/** The native input element to which this directive is attached. */
|
|
952
|
+
readonly inputElement: HTMLInputElement;
|
|
953
|
+
constructor(...args: unknown[]);
|
|
954
|
+
ngOnChanges(): void;
|
|
955
|
+
ngOnDestroy(): void;
|
|
956
|
+
/** Utility method to make host definition/tests more clear. */
|
|
957
|
+
_keydown(event: KeyboardEvent): void;
|
|
958
|
+
/** Checks to see if the blur should emit the (chipEnd) event. */
|
|
959
|
+
_blur(): void;
|
|
960
|
+
_focus(): void;
|
|
961
|
+
/** Checks to see if the (chipEnd) event needs to be emitted. */
|
|
962
|
+
_emitChipEnd(event?: KeyboardEvent): void;
|
|
963
|
+
_onInput(): void;
|
|
964
|
+
/** Focuses the input. */
|
|
965
|
+
focus(): void;
|
|
966
|
+
/** Clears the input */
|
|
967
|
+
clear(): void;
|
|
968
|
+
/**
|
|
969
|
+
* Implemented as part of MatChipTextControl.
|
|
970
|
+
* @docs-private
|
|
971
|
+
*/
|
|
972
|
+
get describedByIds(): string[];
|
|
973
|
+
setDescribedByIds(ids: string[]): void;
|
|
974
|
+
/** Checks whether a keycode is one of the configured separators. */
|
|
975
|
+
private _isSeparatorKey;
|
|
976
|
+
/** Gets the value to set on the `readonly` attribute. */
|
|
977
|
+
protected _getReadonlyAttribute(): string | null;
|
|
978
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, never>;
|
|
979
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabledInteractive": { "alias": "matChipInputDisabledInteractive"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
|
|
980
|
+
static ngAcceptInputType_addOnBlur: unknown;
|
|
981
|
+
static ngAcceptInputType_disabled: unknown;
|
|
982
|
+
static ngAcceptInputType_readonly: unknown;
|
|
983
|
+
static ngAcceptInputType_disabledInteractive: unknown;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
declare class MatChipsModule {
|
|
987
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipsModule, never>;
|
|
988
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatChipsModule, never, [typeof MatRippleModule, typeof MatChipAction, typeof MatChip, typeof MatChipAvatar, typeof MatChipEdit, typeof MatChipEditInput, typeof MatChipGrid, typeof MatChipInput, typeof MatChipListbox, typeof MatChipOption, typeof MatChipRemove, typeof MatChipRow, typeof MatChipSet, typeof MatChipTrailingIcon], [typeof i2.BidiModule, typeof MatChip, typeof MatChipAvatar, typeof MatChipEdit, typeof MatChipEditInput, typeof MatChipGrid, typeof MatChipInput, typeof MatChipListbox, typeof MatChipOption, typeof MatChipRemove, typeof MatChipRow, typeof MatChipSet, typeof MatChipTrailingIcon]>;
|
|
989
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatChipsModule>;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export { MAT_CHIP, MAT_CHIPS_DEFAULT_OPTIONS, MAT_CHIP_AVATAR, MAT_CHIP_EDIT, MAT_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR, MAT_CHIP_REMOVE, MAT_CHIP_TRAILING_ICON, MatChip, MatChipAvatar, MatChipEdit, MatChipEditInput, MatChipGrid, MatChipGridChange, MatChipInput, MatChipListbox, MatChipListboxChange, MatChipOption, MatChipRemove, MatChipRow, MatChipSelectionChange, MatChipSet, MatChipTrailingIcon, MatChipsModule };
|
|
993
|
+
export type { MatChipEditedEvent, MatChipEvent, MatChipInputEvent, MatChipTextControl, MatChipsDefaultOptions, SeparatorKey };
|