@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,751 @@
|
|
|
1
|
+
import { _IdGenerator, FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
+
import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { forwardRef, InjectionToken, inject, ChangeDetectorRef, EventEmitter, booleanAttribute, Directive, Output, ContentChildren, Input, ElementRef, NgZone, Renderer2, Injector, HostAttributeToken, numberAttribute, afterNextRender, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, NgModule } from '@angular/core';
|
|
5
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
6
|
+
import { _CdkPrivateStyleLoader } from '@angular/cdk/private';
|
|
7
|
+
import { _animationsDisabled } from './_animation-chunk.mjs';
|
|
8
|
+
import { _StructuralStylesLoader } from './_structural-styles-chunk.mjs';
|
|
9
|
+
import { MatRipple } from './_ripple-chunk.mjs';
|
|
10
|
+
import { _MatInternalFormField } from './_internal-form-field-chunk.mjs';
|
|
11
|
+
import { BidiModule } from '@angular/cdk/bidi';
|
|
12
|
+
import { MatRippleModule } from './_ripple-module-chunk.mjs';
|
|
13
|
+
import '@angular/cdk/layout';
|
|
14
|
+
import '@angular/cdk/platform';
|
|
15
|
+
import '@angular/cdk/coercion';
|
|
16
|
+
|
|
17
|
+
class MatRadioChange {
|
|
18
|
+
source;
|
|
19
|
+
value;
|
|
20
|
+
constructor(source, value) {
|
|
21
|
+
this.source = source;
|
|
22
|
+
this.value = value;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
const MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {
|
|
26
|
+
provide: NG_VALUE_ACCESSOR,
|
|
27
|
+
useExisting: forwardRef(() => MatRadioGroup),
|
|
28
|
+
multi: true
|
|
29
|
+
};
|
|
30
|
+
const MAT_RADIO_GROUP = new InjectionToken('MatRadioGroup');
|
|
31
|
+
const MAT_RADIO_DEFAULT_OPTIONS = new InjectionToken('mat-radio-default-options', {
|
|
32
|
+
providedIn: 'root',
|
|
33
|
+
factory: () => ({
|
|
34
|
+
color: 'accent',
|
|
35
|
+
disabledInteractive: false
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
class MatRadioGroup {
|
|
39
|
+
_changeDetector = inject(ChangeDetectorRef);
|
|
40
|
+
_value = null;
|
|
41
|
+
_name = inject(_IdGenerator).getId('mat-radio-group-');
|
|
42
|
+
_selected = null;
|
|
43
|
+
_isInitialized = false;
|
|
44
|
+
_labelPosition = 'after';
|
|
45
|
+
_disabled = false;
|
|
46
|
+
_required = false;
|
|
47
|
+
_buttonChanges;
|
|
48
|
+
_controlValueAccessorChangeFn = () => {};
|
|
49
|
+
onTouched = () => {};
|
|
50
|
+
change = new EventEmitter();
|
|
51
|
+
_radios;
|
|
52
|
+
color;
|
|
53
|
+
get name() {
|
|
54
|
+
return this._name;
|
|
55
|
+
}
|
|
56
|
+
set name(value) {
|
|
57
|
+
this._name = value;
|
|
58
|
+
this._updateRadioButtonNames();
|
|
59
|
+
}
|
|
60
|
+
get labelPosition() {
|
|
61
|
+
return this._labelPosition;
|
|
62
|
+
}
|
|
63
|
+
set labelPosition(v) {
|
|
64
|
+
this._labelPosition = v === 'before' ? 'before' : 'after';
|
|
65
|
+
this._markRadiosForCheck();
|
|
66
|
+
}
|
|
67
|
+
get value() {
|
|
68
|
+
return this._value;
|
|
69
|
+
}
|
|
70
|
+
set value(newValue) {
|
|
71
|
+
if (this._value !== newValue) {
|
|
72
|
+
this._value = newValue;
|
|
73
|
+
this._updateSelectedRadioFromValue();
|
|
74
|
+
this._checkSelectedRadioButton();
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
_checkSelectedRadioButton() {
|
|
78
|
+
if (this._selected && !this._selected.checked) {
|
|
79
|
+
this._selected.checked = true;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
get selected() {
|
|
83
|
+
return this._selected;
|
|
84
|
+
}
|
|
85
|
+
set selected(selected) {
|
|
86
|
+
this._selected = selected;
|
|
87
|
+
this.value = selected ? selected.value : null;
|
|
88
|
+
this._checkSelectedRadioButton();
|
|
89
|
+
}
|
|
90
|
+
get disabled() {
|
|
91
|
+
return this._disabled;
|
|
92
|
+
}
|
|
93
|
+
set disabled(value) {
|
|
94
|
+
this._disabled = value;
|
|
95
|
+
this._markRadiosForCheck();
|
|
96
|
+
}
|
|
97
|
+
get required() {
|
|
98
|
+
return this._required;
|
|
99
|
+
}
|
|
100
|
+
set required(value) {
|
|
101
|
+
this._required = value;
|
|
102
|
+
this._markRadiosForCheck();
|
|
103
|
+
}
|
|
104
|
+
get disabledInteractive() {
|
|
105
|
+
return this._disabledInteractive;
|
|
106
|
+
}
|
|
107
|
+
set disabledInteractive(value) {
|
|
108
|
+
this._disabledInteractive = value;
|
|
109
|
+
this._markRadiosForCheck();
|
|
110
|
+
}
|
|
111
|
+
_disabledInteractive = false;
|
|
112
|
+
constructor() {}
|
|
113
|
+
ngAfterContentInit() {
|
|
114
|
+
this._isInitialized = true;
|
|
115
|
+
this._buttonChanges = this._radios.changes.subscribe(() => {
|
|
116
|
+
if (this.selected && !this._radios.find(radio => radio === this.selected)) {
|
|
117
|
+
this._selected = null;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
ngOnDestroy() {
|
|
122
|
+
this._buttonChanges?.unsubscribe();
|
|
123
|
+
}
|
|
124
|
+
_touch() {
|
|
125
|
+
if (this.onTouched) {
|
|
126
|
+
this.onTouched();
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
_updateRadioButtonNames() {
|
|
130
|
+
if (this._radios) {
|
|
131
|
+
this._radios.forEach(radio => {
|
|
132
|
+
radio.name = this.name;
|
|
133
|
+
radio._markForCheck();
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
_updateSelectedRadioFromValue() {
|
|
138
|
+
const isAlreadySelected = this._selected !== null && this._selected.value === this._value;
|
|
139
|
+
if (this._radios && !isAlreadySelected) {
|
|
140
|
+
this._selected = null;
|
|
141
|
+
this._radios.forEach(radio => {
|
|
142
|
+
radio.checked = this.value === radio.value;
|
|
143
|
+
if (radio.checked) {
|
|
144
|
+
this._selected = radio;
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
_emitChangeEvent() {
|
|
150
|
+
if (this._isInitialized) {
|
|
151
|
+
this.change.emit(new MatRadioChange(this._selected, this._value));
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
_markRadiosForCheck() {
|
|
155
|
+
if (this._radios) {
|
|
156
|
+
this._radios.forEach(radio => radio._markForCheck());
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
writeValue(value) {
|
|
160
|
+
this.value = value;
|
|
161
|
+
this._changeDetector.markForCheck();
|
|
162
|
+
}
|
|
163
|
+
registerOnChange(fn) {
|
|
164
|
+
this._controlValueAccessorChangeFn = fn;
|
|
165
|
+
}
|
|
166
|
+
registerOnTouched(fn) {
|
|
167
|
+
this.onTouched = fn;
|
|
168
|
+
}
|
|
169
|
+
setDisabledState(isDisabled) {
|
|
170
|
+
this.disabled = isDisabled;
|
|
171
|
+
this._changeDetector.markForCheck();
|
|
172
|
+
}
|
|
173
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
174
|
+
minVersion: "12.0.0",
|
|
175
|
+
version: "22.0.0-next.1",
|
|
176
|
+
ngImport: i0,
|
|
177
|
+
type: MatRadioGroup,
|
|
178
|
+
deps: [],
|
|
179
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
180
|
+
});
|
|
181
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
182
|
+
minVersion: "16.1.0",
|
|
183
|
+
version: "22.0.0-next.1",
|
|
184
|
+
type: MatRadioGroup,
|
|
185
|
+
isStandalone: true,
|
|
186
|
+
selector: "mat-radio-group",
|
|
187
|
+
inputs: {
|
|
188
|
+
color: "color",
|
|
189
|
+
name: "name",
|
|
190
|
+
labelPosition: "labelPosition",
|
|
191
|
+
value: "value",
|
|
192
|
+
selected: "selected",
|
|
193
|
+
disabled: ["disabled", "disabled", booleanAttribute],
|
|
194
|
+
required: ["required", "required", booleanAttribute],
|
|
195
|
+
disabledInteractive: ["disabledInteractive", "disabledInteractive", booleanAttribute]
|
|
196
|
+
},
|
|
197
|
+
outputs: {
|
|
198
|
+
change: "change"
|
|
199
|
+
},
|
|
200
|
+
host: {
|
|
201
|
+
attributes: {
|
|
202
|
+
"role": "radiogroup"
|
|
203
|
+
},
|
|
204
|
+
classAttribute: "mat-mdc-radio-group"
|
|
205
|
+
},
|
|
206
|
+
providers: [MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR, {
|
|
207
|
+
provide: MAT_RADIO_GROUP,
|
|
208
|
+
useExisting: MatRadioGroup
|
|
209
|
+
}],
|
|
210
|
+
queries: [{
|
|
211
|
+
propertyName: "_radios",
|
|
212
|
+
predicate: i0.forwardRef(() => MatRadioButton),
|
|
213
|
+
descendants: true
|
|
214
|
+
}],
|
|
215
|
+
exportAs: ["matRadioGroup"],
|
|
216
|
+
ngImport: i0
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
220
|
+
minVersion: "12.0.0",
|
|
221
|
+
version: "22.0.0-next.1",
|
|
222
|
+
ngImport: i0,
|
|
223
|
+
type: MatRadioGroup,
|
|
224
|
+
decorators: [{
|
|
225
|
+
type: Directive,
|
|
226
|
+
args: [{
|
|
227
|
+
selector: 'mat-radio-group',
|
|
228
|
+
exportAs: 'matRadioGroup',
|
|
229
|
+
providers: [MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR, {
|
|
230
|
+
provide: MAT_RADIO_GROUP,
|
|
231
|
+
useExisting: MatRadioGroup
|
|
232
|
+
}],
|
|
233
|
+
host: {
|
|
234
|
+
'role': 'radiogroup',
|
|
235
|
+
'class': 'mat-mdc-radio-group'
|
|
236
|
+
}
|
|
237
|
+
}]
|
|
238
|
+
}],
|
|
239
|
+
ctorParameters: () => [],
|
|
240
|
+
propDecorators: {
|
|
241
|
+
change: [{
|
|
242
|
+
type: Output
|
|
243
|
+
}],
|
|
244
|
+
_radios: [{
|
|
245
|
+
type: ContentChildren,
|
|
246
|
+
args: [forwardRef(() => MatRadioButton), {
|
|
247
|
+
descendants: true
|
|
248
|
+
}]
|
|
249
|
+
}],
|
|
250
|
+
color: [{
|
|
251
|
+
type: Input
|
|
252
|
+
}],
|
|
253
|
+
name: [{
|
|
254
|
+
type: Input
|
|
255
|
+
}],
|
|
256
|
+
labelPosition: [{
|
|
257
|
+
type: Input
|
|
258
|
+
}],
|
|
259
|
+
value: [{
|
|
260
|
+
type: Input
|
|
261
|
+
}],
|
|
262
|
+
selected: [{
|
|
263
|
+
type: Input
|
|
264
|
+
}],
|
|
265
|
+
disabled: [{
|
|
266
|
+
type: Input,
|
|
267
|
+
args: [{
|
|
268
|
+
transform: booleanAttribute
|
|
269
|
+
}]
|
|
270
|
+
}],
|
|
271
|
+
required: [{
|
|
272
|
+
type: Input,
|
|
273
|
+
args: [{
|
|
274
|
+
transform: booleanAttribute
|
|
275
|
+
}]
|
|
276
|
+
}],
|
|
277
|
+
disabledInteractive: [{
|
|
278
|
+
type: Input,
|
|
279
|
+
args: [{
|
|
280
|
+
transform: booleanAttribute
|
|
281
|
+
}]
|
|
282
|
+
}]
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
class MatRadioButton {
|
|
286
|
+
_elementRef = inject(ElementRef);
|
|
287
|
+
_changeDetector = inject(ChangeDetectorRef);
|
|
288
|
+
_focusMonitor = inject(FocusMonitor);
|
|
289
|
+
_radioDispatcher = inject(UniqueSelectionDispatcher);
|
|
290
|
+
_defaultOptions = inject(MAT_RADIO_DEFAULT_OPTIONS, {
|
|
291
|
+
optional: true
|
|
292
|
+
});
|
|
293
|
+
_ngZone = inject(NgZone);
|
|
294
|
+
_renderer = inject(Renderer2);
|
|
295
|
+
_uniqueId = inject(_IdGenerator).getId('mat-radio-');
|
|
296
|
+
_cleanupClick;
|
|
297
|
+
id = this._uniqueId;
|
|
298
|
+
name;
|
|
299
|
+
ariaLabel;
|
|
300
|
+
ariaLabelledby;
|
|
301
|
+
ariaDescribedby;
|
|
302
|
+
disableRipple = false;
|
|
303
|
+
tabIndex = 0;
|
|
304
|
+
get checked() {
|
|
305
|
+
return this._checked;
|
|
306
|
+
}
|
|
307
|
+
set checked(value) {
|
|
308
|
+
if (this._checked !== value) {
|
|
309
|
+
this._checked = value;
|
|
310
|
+
if (value && this.radioGroup && this.radioGroup.value !== this.value) {
|
|
311
|
+
this.radioGroup.selected = this;
|
|
312
|
+
} else if (!value && this.radioGroup && this.radioGroup.value === this.value) {
|
|
313
|
+
this.radioGroup.selected = null;
|
|
314
|
+
}
|
|
315
|
+
if (value) {
|
|
316
|
+
this._radioDispatcher.notify(this.id, this.name);
|
|
317
|
+
}
|
|
318
|
+
this._changeDetector.markForCheck();
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
get value() {
|
|
322
|
+
return this._value;
|
|
323
|
+
}
|
|
324
|
+
set value(value) {
|
|
325
|
+
if (this._value !== value) {
|
|
326
|
+
this._value = value;
|
|
327
|
+
if (this.radioGroup !== null) {
|
|
328
|
+
if (!this.checked) {
|
|
329
|
+
this.checked = this.radioGroup.value === value;
|
|
330
|
+
}
|
|
331
|
+
if (this.checked) {
|
|
332
|
+
this.radioGroup.selected = this;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
get labelPosition() {
|
|
338
|
+
return this._labelPosition || this.radioGroup && this.radioGroup.labelPosition || 'after';
|
|
339
|
+
}
|
|
340
|
+
set labelPosition(value) {
|
|
341
|
+
this._labelPosition = value;
|
|
342
|
+
}
|
|
343
|
+
_labelPosition;
|
|
344
|
+
get disabled() {
|
|
345
|
+
return this._disabled || this.radioGroup !== null && this.radioGroup.disabled;
|
|
346
|
+
}
|
|
347
|
+
set disabled(value) {
|
|
348
|
+
this._setDisabled(value);
|
|
349
|
+
}
|
|
350
|
+
get required() {
|
|
351
|
+
return this._required || this.radioGroup && this.radioGroup.required;
|
|
352
|
+
}
|
|
353
|
+
set required(value) {
|
|
354
|
+
if (value !== this._required) {
|
|
355
|
+
this._changeDetector.markForCheck();
|
|
356
|
+
}
|
|
357
|
+
this._required = value;
|
|
358
|
+
}
|
|
359
|
+
get color() {
|
|
360
|
+
return this._color || this.radioGroup && this.radioGroup.color || this._defaultOptions && this._defaultOptions.color || 'accent';
|
|
361
|
+
}
|
|
362
|
+
set color(newValue) {
|
|
363
|
+
this._color = newValue;
|
|
364
|
+
}
|
|
365
|
+
_color;
|
|
366
|
+
get disabledInteractive() {
|
|
367
|
+
return this._disabledInteractive || this.radioGroup !== null && this.radioGroup.disabledInteractive;
|
|
368
|
+
}
|
|
369
|
+
set disabledInteractive(value) {
|
|
370
|
+
this._disabledInteractive = value;
|
|
371
|
+
}
|
|
372
|
+
_disabledInteractive;
|
|
373
|
+
change = new EventEmitter();
|
|
374
|
+
radioGroup;
|
|
375
|
+
get inputId() {
|
|
376
|
+
return `${this.id || this._uniqueId}-input`;
|
|
377
|
+
}
|
|
378
|
+
_checked = false;
|
|
379
|
+
_disabled = false;
|
|
380
|
+
_required = false;
|
|
381
|
+
_value = null;
|
|
382
|
+
_removeUniqueSelectionListener = () => {};
|
|
383
|
+
_previousTabIndex;
|
|
384
|
+
_inputElement;
|
|
385
|
+
_rippleTrigger;
|
|
386
|
+
_noopAnimations = _animationsDisabled();
|
|
387
|
+
_injector = inject(Injector);
|
|
388
|
+
constructor() {
|
|
389
|
+
inject(_CdkPrivateStyleLoader).load(_StructuralStylesLoader);
|
|
390
|
+
const radioGroup = inject(MAT_RADIO_GROUP, {
|
|
391
|
+
optional: true
|
|
392
|
+
});
|
|
393
|
+
const tabIndex = inject(new HostAttributeToken('tabindex'), {
|
|
394
|
+
optional: true
|
|
395
|
+
});
|
|
396
|
+
this.radioGroup = radioGroup;
|
|
397
|
+
this._disabledInteractive = this._defaultOptions?.disabledInteractive ?? false;
|
|
398
|
+
if (tabIndex) {
|
|
399
|
+
this.tabIndex = numberAttribute(tabIndex, 0);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
focus(options, origin) {
|
|
403
|
+
if (origin) {
|
|
404
|
+
this._focusMonitor.focusVia(this._inputElement, origin, options);
|
|
405
|
+
} else {
|
|
406
|
+
this._inputElement.nativeElement.focus(options);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
_markForCheck() {
|
|
410
|
+
this._changeDetector.markForCheck();
|
|
411
|
+
}
|
|
412
|
+
ngOnInit() {
|
|
413
|
+
if (this.radioGroup) {
|
|
414
|
+
this.checked = this.radioGroup.value === this._value;
|
|
415
|
+
if (this.checked) {
|
|
416
|
+
this.radioGroup.selected = this;
|
|
417
|
+
}
|
|
418
|
+
this.name = this.radioGroup.name;
|
|
419
|
+
}
|
|
420
|
+
this._removeUniqueSelectionListener = this._radioDispatcher.listen((id, name) => {
|
|
421
|
+
if (id !== this.id && name === this.name) {
|
|
422
|
+
this.checked = false;
|
|
423
|
+
}
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
ngDoCheck() {
|
|
427
|
+
this._updateTabIndex();
|
|
428
|
+
}
|
|
429
|
+
ngAfterViewInit() {
|
|
430
|
+
this._updateTabIndex();
|
|
431
|
+
this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {
|
|
432
|
+
if (!focusOrigin && this.radioGroup) {
|
|
433
|
+
this.radioGroup._touch();
|
|
434
|
+
}
|
|
435
|
+
});
|
|
436
|
+
this._ngZone.runOutsideAngular(() => {
|
|
437
|
+
this._cleanupClick = this._renderer.listen(this._inputElement.nativeElement, 'click', this._onInputClick);
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
ngOnDestroy() {
|
|
441
|
+
this._cleanupClick?.();
|
|
442
|
+
this._focusMonitor.stopMonitoring(this._elementRef);
|
|
443
|
+
this._removeUniqueSelectionListener();
|
|
444
|
+
}
|
|
445
|
+
_emitChangeEvent() {
|
|
446
|
+
this.change.emit(new MatRadioChange(this, this._value));
|
|
447
|
+
}
|
|
448
|
+
_isRippleDisabled() {
|
|
449
|
+
return this.disableRipple || this.disabled;
|
|
450
|
+
}
|
|
451
|
+
_onInputInteraction(event) {
|
|
452
|
+
event.stopPropagation();
|
|
453
|
+
if (!this.checked && !this.disabled) {
|
|
454
|
+
const groupValueChanged = this.radioGroup && this.value !== this.radioGroup.value;
|
|
455
|
+
this.checked = true;
|
|
456
|
+
this._emitChangeEvent();
|
|
457
|
+
if (this.radioGroup) {
|
|
458
|
+
this.radioGroup._controlValueAccessorChangeFn(this.value);
|
|
459
|
+
if (groupValueChanged) {
|
|
460
|
+
this.radioGroup._emitChangeEvent();
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
_onTouchTargetClick(event) {
|
|
466
|
+
this._onInputInteraction(event);
|
|
467
|
+
if (!this.disabled || this.disabledInteractive) {
|
|
468
|
+
this._inputElement?.nativeElement.focus();
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
_setDisabled(value) {
|
|
472
|
+
if (this._disabled !== value) {
|
|
473
|
+
this._disabled = value;
|
|
474
|
+
this._changeDetector.markForCheck();
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
_onInputClick = event => {
|
|
478
|
+
if (this.disabled && this.disabledInteractive) {
|
|
479
|
+
event.preventDefault();
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
_updateTabIndex() {
|
|
483
|
+
const group = this.radioGroup;
|
|
484
|
+
let value;
|
|
485
|
+
if (!group || !group.selected || this.disabled) {
|
|
486
|
+
value = this.tabIndex;
|
|
487
|
+
} else {
|
|
488
|
+
value = group.selected === this ? this.tabIndex : -1;
|
|
489
|
+
}
|
|
490
|
+
if (value !== this._previousTabIndex) {
|
|
491
|
+
const input = this._inputElement?.nativeElement;
|
|
492
|
+
if (input) {
|
|
493
|
+
input.setAttribute('tabindex', value + '');
|
|
494
|
+
this._previousTabIndex = value;
|
|
495
|
+
afterNextRender(() => {
|
|
496
|
+
queueMicrotask(() => {
|
|
497
|
+
if (group && group.selected && group.selected !== this && document.activeElement === input) {
|
|
498
|
+
group.selected?._inputElement.nativeElement.focus();
|
|
499
|
+
if (document.activeElement === input) {
|
|
500
|
+
this._inputElement.nativeElement.blur();
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
}, {
|
|
505
|
+
injector: this._injector
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
511
|
+
minVersion: "12.0.0",
|
|
512
|
+
version: "22.0.0-next.1",
|
|
513
|
+
ngImport: i0,
|
|
514
|
+
type: MatRadioButton,
|
|
515
|
+
deps: [],
|
|
516
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
517
|
+
});
|
|
518
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
519
|
+
minVersion: "16.1.0",
|
|
520
|
+
version: "22.0.0-next.1",
|
|
521
|
+
type: MatRadioButton,
|
|
522
|
+
isStandalone: true,
|
|
523
|
+
selector: "mat-radio-button",
|
|
524
|
+
inputs: {
|
|
525
|
+
id: "id",
|
|
526
|
+
name: "name",
|
|
527
|
+
ariaLabel: ["aria-label", "ariaLabel"],
|
|
528
|
+
ariaLabelledby: ["aria-labelledby", "ariaLabelledby"],
|
|
529
|
+
ariaDescribedby: ["aria-describedby", "ariaDescribedby"],
|
|
530
|
+
disableRipple: ["disableRipple", "disableRipple", booleanAttribute],
|
|
531
|
+
tabIndex: ["tabIndex", "tabIndex", value => value == null ? 0 : numberAttribute(value)],
|
|
532
|
+
checked: ["checked", "checked", booleanAttribute],
|
|
533
|
+
value: "value",
|
|
534
|
+
labelPosition: "labelPosition",
|
|
535
|
+
disabled: ["disabled", "disabled", booleanAttribute],
|
|
536
|
+
required: ["required", "required", booleanAttribute],
|
|
537
|
+
color: "color",
|
|
538
|
+
disabledInteractive: ["disabledInteractive", "disabledInteractive", booleanAttribute]
|
|
539
|
+
},
|
|
540
|
+
outputs: {
|
|
541
|
+
change: "change"
|
|
542
|
+
},
|
|
543
|
+
host: {
|
|
544
|
+
listeners: {
|
|
545
|
+
"focus": "_inputElement.nativeElement.focus()"
|
|
546
|
+
},
|
|
547
|
+
properties: {
|
|
548
|
+
"attr.id": "id",
|
|
549
|
+
"class.mat-primary": "color === \"primary\"",
|
|
550
|
+
"class.mat-accent": "color === \"accent\"",
|
|
551
|
+
"class.mat-warn": "color === \"warn\"",
|
|
552
|
+
"class.mat-mdc-radio-checked": "checked",
|
|
553
|
+
"class.mat-mdc-radio-disabled": "disabled",
|
|
554
|
+
"class.mat-mdc-radio-disabled-interactive": "disabledInteractive",
|
|
555
|
+
"class._mat-animation-noopable": "_noopAnimations",
|
|
556
|
+
"attr.tabindex": "null",
|
|
557
|
+
"attr.aria-label": "null",
|
|
558
|
+
"attr.aria-labelledby": "null",
|
|
559
|
+
"attr.aria-describedby": "null"
|
|
560
|
+
},
|
|
561
|
+
classAttribute: "mat-mdc-radio-button"
|
|
562
|
+
},
|
|
563
|
+
viewQueries: [{
|
|
564
|
+
propertyName: "_inputElement",
|
|
565
|
+
first: true,
|
|
566
|
+
predicate: ["input"],
|
|
567
|
+
descendants: true
|
|
568
|
+
}, {
|
|
569
|
+
propertyName: "_rippleTrigger",
|
|
570
|
+
first: true,
|
|
571
|
+
predicate: ["formField"],
|
|
572
|
+
descendants: true,
|
|
573
|
+
read: ElementRef,
|
|
574
|
+
static: true
|
|
575
|
+
}],
|
|
576
|
+
exportAs: ["matRadioButton"],
|
|
577
|
+
ngImport: i0,
|
|
578
|
+
template: "<div mat-internal-form-field [labelPosition]=\"labelPosition\" #formField>\n <div class=\"mdc-radio\" [class.mdc-radio--disabled]=\"disabled\">\n <!-- Render this element first so the input is on top. -->\n <div\n class=\"mat-mdc-radio-touch-target\"\n (click)=\"_onTouchTargetClick($event)\"\n aria-hidden=\"true\"></div>\n <!--\n Note that we set `aria-invalid=\"false\"` on the input, because otherwise some screen readers\n will read out \"required, invalid data\" for each radio button that hasn't been checked.\n An alternate approach is to use `aria-required` instead of `required`, however we have an\n internal check which enforces that elements marked as `aria-required` also have the `required`\n attribute which ends up re-introducing the issue for us.\n -->\n <input #input class=\"mdc-radio__native-control\" type=\"radio\"\n [id]=\"inputId\"\n [checked]=\"checked\"\n [disabled]=\"disabled && !disabledInteractive\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n [required]=\"required\"\n aria-invalid=\"false\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n [attr.aria-disabled]=\"disabled && disabledInteractive ? 'true' : null\"\n (change)=\"_onInputInteraction($event)\">\n <div class=\"mdc-radio__background\" aria-hidden=\"true\">\n <div class=\"mdc-radio__outer-circle\"></div>\n <div class=\"mdc-radio__inner-circle\"></div>\n </div>\n <div mat-ripple class=\"mat-radio-ripple mat-focus-indicator\"\n [matRippleTrigger]=\"_rippleTrigger.nativeElement\"\n [matRippleDisabled]=\"_isRippleDisabled()\"\n [matRippleCentered]=\"true\"\n aria-hidden=\"true\">\n <div class=\"mat-ripple-element mat-radio-persistent-ripple\"></div>\n </div>\n </div>\n <label class=\"mdc-label\" [for]=\"inputId\">\n <ng-content></ng-content>\n </label>\n</div>\n",
|
|
579
|
+
styles: [".mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled])~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:\"\";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-radio-button .mdc-radio__inner-circle{background-color:CanvasText !important}}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button label{cursor:pointer}.mat-mdc-radio-button label:empty{display:none}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple>.mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio>.mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:\"\"}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-radio-touch-target-size, 48px);width:var(--mat-radio-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n"],
|
|
580
|
+
dependencies: [{
|
|
581
|
+
kind: "directive",
|
|
582
|
+
type: MatRipple,
|
|
583
|
+
selector: "[mat-ripple], [matRipple]",
|
|
584
|
+
inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"],
|
|
585
|
+
exportAs: ["matRipple"]
|
|
586
|
+
}, {
|
|
587
|
+
kind: "component",
|
|
588
|
+
type: _MatInternalFormField,
|
|
589
|
+
selector: "div[mat-internal-form-field]",
|
|
590
|
+
inputs: ["labelPosition"]
|
|
591
|
+
}],
|
|
592
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
593
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
597
|
+
minVersion: "12.0.0",
|
|
598
|
+
version: "22.0.0-next.1",
|
|
599
|
+
ngImport: i0,
|
|
600
|
+
type: MatRadioButton,
|
|
601
|
+
decorators: [{
|
|
602
|
+
type: Component,
|
|
603
|
+
args: [{
|
|
604
|
+
selector: 'mat-radio-button',
|
|
605
|
+
host: {
|
|
606
|
+
'class': 'mat-mdc-radio-button',
|
|
607
|
+
'[attr.id]': 'id',
|
|
608
|
+
'[class.mat-primary]': 'color === "primary"',
|
|
609
|
+
'[class.mat-accent]': 'color === "accent"',
|
|
610
|
+
'[class.mat-warn]': 'color === "warn"',
|
|
611
|
+
'[class.mat-mdc-radio-checked]': 'checked',
|
|
612
|
+
'[class.mat-mdc-radio-disabled]': 'disabled',
|
|
613
|
+
'[class.mat-mdc-radio-disabled-interactive]': 'disabledInteractive',
|
|
614
|
+
'[class._mat-animation-noopable]': '_noopAnimations',
|
|
615
|
+
'[attr.tabindex]': 'null',
|
|
616
|
+
'[attr.aria-label]': 'null',
|
|
617
|
+
'[attr.aria-labelledby]': 'null',
|
|
618
|
+
'[attr.aria-describedby]': 'null',
|
|
619
|
+
'(focus)': '_inputElement.nativeElement.focus()'
|
|
620
|
+
},
|
|
621
|
+
exportAs: 'matRadioButton',
|
|
622
|
+
encapsulation: ViewEncapsulation.None,
|
|
623
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
624
|
+
imports: [MatRipple, _MatInternalFormField],
|
|
625
|
+
template: "<div mat-internal-form-field [labelPosition]=\"labelPosition\" #formField>\n <div class=\"mdc-radio\" [class.mdc-radio--disabled]=\"disabled\">\n <!-- Render this element first so the input is on top. -->\n <div\n class=\"mat-mdc-radio-touch-target\"\n (click)=\"_onTouchTargetClick($event)\"\n aria-hidden=\"true\"></div>\n <!--\n Note that we set `aria-invalid=\"false\"` on the input, because otherwise some screen readers\n will read out \"required, invalid data\" for each radio button that hasn't been checked.\n An alternate approach is to use `aria-required` instead of `required`, however we have an\n internal check which enforces that elements marked as `aria-required` also have the `required`\n attribute which ends up re-introducing the issue for us.\n -->\n <input #input class=\"mdc-radio__native-control\" type=\"radio\"\n [id]=\"inputId\"\n [checked]=\"checked\"\n [disabled]=\"disabled && !disabledInteractive\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n [required]=\"required\"\n aria-invalid=\"false\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n [attr.aria-disabled]=\"disabled && disabledInteractive ? 'true' : null\"\n (change)=\"_onInputInteraction($event)\">\n <div class=\"mdc-radio__background\" aria-hidden=\"true\">\n <div class=\"mdc-radio__outer-circle\"></div>\n <div class=\"mdc-radio__inner-circle\"></div>\n </div>\n <div mat-ripple class=\"mat-radio-ripple mat-focus-indicator\"\n [matRippleTrigger]=\"_rippleTrigger.nativeElement\"\n [matRippleDisabled]=\"_isRippleDisabled()\"\n [matRippleCentered]=\"true\"\n aria-hidden=\"true\">\n <div class=\"mat-ripple-element mat-radio-persistent-ripple\"></div>\n </div>\n </div>\n <label class=\"mdc-label\" [for]=\"inputId\">\n <ng-content></ng-content>\n </label>\n</div>\n",
|
|
626
|
+
styles: [".mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:not([disabled])~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:\"\";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-radio-button .mdc-radio__inner-circle{background-color:CanvasText !important}}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button label{cursor:pointer}.mat-mdc-radio-button label:empty{display:none}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple>.mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio>.mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:\"\"}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-radio-touch-target-size, 48px);width:var(--mat-radio-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n"]
|
|
627
|
+
}]
|
|
628
|
+
}],
|
|
629
|
+
ctorParameters: () => [],
|
|
630
|
+
propDecorators: {
|
|
631
|
+
id: [{
|
|
632
|
+
type: Input
|
|
633
|
+
}],
|
|
634
|
+
name: [{
|
|
635
|
+
type: Input
|
|
636
|
+
}],
|
|
637
|
+
ariaLabel: [{
|
|
638
|
+
type: Input,
|
|
639
|
+
args: ['aria-label']
|
|
640
|
+
}],
|
|
641
|
+
ariaLabelledby: [{
|
|
642
|
+
type: Input,
|
|
643
|
+
args: ['aria-labelledby']
|
|
644
|
+
}],
|
|
645
|
+
ariaDescribedby: [{
|
|
646
|
+
type: Input,
|
|
647
|
+
args: ['aria-describedby']
|
|
648
|
+
}],
|
|
649
|
+
disableRipple: [{
|
|
650
|
+
type: Input,
|
|
651
|
+
args: [{
|
|
652
|
+
transform: booleanAttribute
|
|
653
|
+
}]
|
|
654
|
+
}],
|
|
655
|
+
tabIndex: [{
|
|
656
|
+
type: Input,
|
|
657
|
+
args: [{
|
|
658
|
+
transform: value => value == null ? 0 : numberAttribute(value)
|
|
659
|
+
}]
|
|
660
|
+
}],
|
|
661
|
+
checked: [{
|
|
662
|
+
type: Input,
|
|
663
|
+
args: [{
|
|
664
|
+
transform: booleanAttribute
|
|
665
|
+
}]
|
|
666
|
+
}],
|
|
667
|
+
value: [{
|
|
668
|
+
type: Input
|
|
669
|
+
}],
|
|
670
|
+
labelPosition: [{
|
|
671
|
+
type: Input
|
|
672
|
+
}],
|
|
673
|
+
disabled: [{
|
|
674
|
+
type: Input,
|
|
675
|
+
args: [{
|
|
676
|
+
transform: booleanAttribute
|
|
677
|
+
}]
|
|
678
|
+
}],
|
|
679
|
+
required: [{
|
|
680
|
+
type: Input,
|
|
681
|
+
args: [{
|
|
682
|
+
transform: booleanAttribute
|
|
683
|
+
}]
|
|
684
|
+
}],
|
|
685
|
+
color: [{
|
|
686
|
+
type: Input
|
|
687
|
+
}],
|
|
688
|
+
disabledInteractive: [{
|
|
689
|
+
type: Input,
|
|
690
|
+
args: [{
|
|
691
|
+
transform: booleanAttribute
|
|
692
|
+
}]
|
|
693
|
+
}],
|
|
694
|
+
change: [{
|
|
695
|
+
type: Output
|
|
696
|
+
}],
|
|
697
|
+
_inputElement: [{
|
|
698
|
+
type: ViewChild,
|
|
699
|
+
args: ['input']
|
|
700
|
+
}],
|
|
701
|
+
_rippleTrigger: [{
|
|
702
|
+
type: ViewChild,
|
|
703
|
+
args: ['formField', {
|
|
704
|
+
read: ElementRef,
|
|
705
|
+
static: true
|
|
706
|
+
}]
|
|
707
|
+
}]
|
|
708
|
+
}
|
|
709
|
+
});
|
|
710
|
+
|
|
711
|
+
class MatRadioModule {
|
|
712
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
713
|
+
minVersion: "12.0.0",
|
|
714
|
+
version: "22.0.0-next.1",
|
|
715
|
+
ngImport: i0,
|
|
716
|
+
type: MatRadioModule,
|
|
717
|
+
deps: [],
|
|
718
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
719
|
+
});
|
|
720
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
721
|
+
minVersion: "14.0.0",
|
|
722
|
+
version: "22.0.0-next.1",
|
|
723
|
+
ngImport: i0,
|
|
724
|
+
type: MatRadioModule,
|
|
725
|
+
imports: [MatRippleModule, MatRadioGroup, MatRadioButton],
|
|
726
|
+
exports: [BidiModule, MatRadioGroup, MatRadioButton]
|
|
727
|
+
});
|
|
728
|
+
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
729
|
+
minVersion: "12.0.0",
|
|
730
|
+
version: "22.0.0-next.1",
|
|
731
|
+
ngImport: i0,
|
|
732
|
+
type: MatRadioModule,
|
|
733
|
+
imports: [MatRippleModule, MatRadioButton, BidiModule]
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
737
|
+
minVersion: "12.0.0",
|
|
738
|
+
version: "22.0.0-next.1",
|
|
739
|
+
ngImport: i0,
|
|
740
|
+
type: MatRadioModule,
|
|
741
|
+
decorators: [{
|
|
742
|
+
type: NgModule,
|
|
743
|
+
args: [{
|
|
744
|
+
imports: [MatRippleModule, MatRadioGroup, MatRadioButton],
|
|
745
|
+
exports: [BidiModule, MatRadioGroup, MatRadioButton]
|
|
746
|
+
}]
|
|
747
|
+
}]
|
|
748
|
+
});
|
|
749
|
+
|
|
750
|
+
export { MAT_RADIO_DEFAULT_OPTIONS, MAT_RADIO_GROUP, MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR, MatRadioButton, MatRadioChange, MatRadioGroup, MatRadioModule };
|
|
751
|
+
//# sourceMappingURL=radio.mjs.map
|