@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,1351 @@
|
|
|
1
|
+
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
2
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
3
|
+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
4
|
+
import { Platform } from '@angular/cdk/platform';
|
|
5
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
6
|
+
import * as i0 from '@angular/core';
|
|
7
|
+
import { Directive, InjectionToken, inject, Input, ElementRef, NgZone, Renderer2, Component, ChangeDetectionStrategy, ViewEncapsulation, ViewChild, ChangeDetectorRef, viewChild, computed, contentChild, signal, effect, afterRenderEffect, ContentChild, ContentChildren } from '@angular/core';
|
|
8
|
+
import { Subscription, Subject, merge } from 'rxjs';
|
|
9
|
+
import { startWith, map, pairwise, filter, takeUntil } from 'rxjs/operators';
|
|
10
|
+
import { SharedResizeObserver } from '@angular/cdk/observers/private';
|
|
11
|
+
import { _animationsDisabled } from './_animation-chunk.mjs';
|
|
12
|
+
|
|
13
|
+
class MatLabel {
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15
|
+
minVersion: "12.0.0",
|
|
16
|
+
version: "22.0.0-next.1",
|
|
17
|
+
ngImport: i0,
|
|
18
|
+
type: MatLabel,
|
|
19
|
+
deps: [],
|
|
20
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
21
|
+
});
|
|
22
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
23
|
+
minVersion: "14.0.0",
|
|
24
|
+
version: "22.0.0-next.1",
|
|
25
|
+
type: MatLabel,
|
|
26
|
+
isStandalone: true,
|
|
27
|
+
selector: "mat-label",
|
|
28
|
+
ngImport: i0
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
32
|
+
minVersion: "12.0.0",
|
|
33
|
+
version: "22.0.0-next.1",
|
|
34
|
+
ngImport: i0,
|
|
35
|
+
type: MatLabel,
|
|
36
|
+
decorators: [{
|
|
37
|
+
type: Directive,
|
|
38
|
+
args: [{
|
|
39
|
+
selector: 'mat-label'
|
|
40
|
+
}]
|
|
41
|
+
}]
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
const MAT_ERROR = new InjectionToken('MatError');
|
|
45
|
+
class MatError {
|
|
46
|
+
id = inject(_IdGenerator).getId('mat-mdc-error-');
|
|
47
|
+
constructor() {}
|
|
48
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
49
|
+
minVersion: "12.0.0",
|
|
50
|
+
version: "22.0.0-next.1",
|
|
51
|
+
ngImport: i0,
|
|
52
|
+
type: MatError,
|
|
53
|
+
deps: [],
|
|
54
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
55
|
+
});
|
|
56
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
57
|
+
minVersion: "14.0.0",
|
|
58
|
+
version: "22.0.0-next.1",
|
|
59
|
+
type: MatError,
|
|
60
|
+
isStandalone: true,
|
|
61
|
+
selector: "mat-error, [matError]",
|
|
62
|
+
inputs: {
|
|
63
|
+
id: "id"
|
|
64
|
+
},
|
|
65
|
+
host: {
|
|
66
|
+
properties: {
|
|
67
|
+
"id": "id"
|
|
68
|
+
},
|
|
69
|
+
classAttribute: "mat-mdc-form-field-error mat-mdc-form-field-bottom-align"
|
|
70
|
+
},
|
|
71
|
+
providers: [{
|
|
72
|
+
provide: MAT_ERROR,
|
|
73
|
+
useExisting: MatError
|
|
74
|
+
}],
|
|
75
|
+
ngImport: i0
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
79
|
+
minVersion: "12.0.0",
|
|
80
|
+
version: "22.0.0-next.1",
|
|
81
|
+
ngImport: i0,
|
|
82
|
+
type: MatError,
|
|
83
|
+
decorators: [{
|
|
84
|
+
type: Directive,
|
|
85
|
+
args: [{
|
|
86
|
+
selector: 'mat-error, [matError]',
|
|
87
|
+
host: {
|
|
88
|
+
'class': 'mat-mdc-form-field-error mat-mdc-form-field-bottom-align',
|
|
89
|
+
'[id]': 'id'
|
|
90
|
+
},
|
|
91
|
+
providers: [{
|
|
92
|
+
provide: MAT_ERROR,
|
|
93
|
+
useExisting: MatError
|
|
94
|
+
}]
|
|
95
|
+
}]
|
|
96
|
+
}],
|
|
97
|
+
ctorParameters: () => [],
|
|
98
|
+
propDecorators: {
|
|
99
|
+
id: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}]
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
class MatHint {
|
|
106
|
+
align = 'start';
|
|
107
|
+
id = inject(_IdGenerator).getId('mat-mdc-hint-');
|
|
108
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
109
|
+
minVersion: "12.0.0",
|
|
110
|
+
version: "22.0.0-next.1",
|
|
111
|
+
ngImport: i0,
|
|
112
|
+
type: MatHint,
|
|
113
|
+
deps: [],
|
|
114
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
115
|
+
});
|
|
116
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
117
|
+
minVersion: "14.0.0",
|
|
118
|
+
version: "22.0.0-next.1",
|
|
119
|
+
type: MatHint,
|
|
120
|
+
isStandalone: true,
|
|
121
|
+
selector: "mat-hint",
|
|
122
|
+
inputs: {
|
|
123
|
+
align: "align",
|
|
124
|
+
id: "id"
|
|
125
|
+
},
|
|
126
|
+
host: {
|
|
127
|
+
properties: {
|
|
128
|
+
"class.mat-mdc-form-field-hint-end": "align === \"end\"",
|
|
129
|
+
"id": "id",
|
|
130
|
+
"attr.align": "null"
|
|
131
|
+
},
|
|
132
|
+
classAttribute: "mat-mdc-form-field-hint mat-mdc-form-field-bottom-align"
|
|
133
|
+
},
|
|
134
|
+
ngImport: i0
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
138
|
+
minVersion: "12.0.0",
|
|
139
|
+
version: "22.0.0-next.1",
|
|
140
|
+
ngImport: i0,
|
|
141
|
+
type: MatHint,
|
|
142
|
+
decorators: [{
|
|
143
|
+
type: Directive,
|
|
144
|
+
args: [{
|
|
145
|
+
selector: 'mat-hint',
|
|
146
|
+
host: {
|
|
147
|
+
'class': 'mat-mdc-form-field-hint mat-mdc-form-field-bottom-align',
|
|
148
|
+
'[class.mat-mdc-form-field-hint-end]': 'align === "end"',
|
|
149
|
+
'[id]': 'id',
|
|
150
|
+
'[attr.align]': 'null'
|
|
151
|
+
}
|
|
152
|
+
}]
|
|
153
|
+
}],
|
|
154
|
+
propDecorators: {
|
|
155
|
+
align: [{
|
|
156
|
+
type: Input
|
|
157
|
+
}],
|
|
158
|
+
id: [{
|
|
159
|
+
type: Input
|
|
160
|
+
}]
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
const MAT_PREFIX = new InjectionToken('MatPrefix');
|
|
165
|
+
class MatPrefix {
|
|
166
|
+
set _isTextSelector(value) {
|
|
167
|
+
this._isText = true;
|
|
168
|
+
}
|
|
169
|
+
_isText = false;
|
|
170
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
171
|
+
minVersion: "12.0.0",
|
|
172
|
+
version: "22.0.0-next.1",
|
|
173
|
+
ngImport: i0,
|
|
174
|
+
type: MatPrefix,
|
|
175
|
+
deps: [],
|
|
176
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
177
|
+
});
|
|
178
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
179
|
+
minVersion: "14.0.0",
|
|
180
|
+
version: "22.0.0-next.1",
|
|
181
|
+
type: MatPrefix,
|
|
182
|
+
isStandalone: true,
|
|
183
|
+
selector: "[matPrefix], [matIconPrefix], [matTextPrefix]",
|
|
184
|
+
inputs: {
|
|
185
|
+
_isTextSelector: ["matTextPrefix", "_isTextSelector"]
|
|
186
|
+
},
|
|
187
|
+
providers: [{
|
|
188
|
+
provide: MAT_PREFIX,
|
|
189
|
+
useExisting: MatPrefix
|
|
190
|
+
}],
|
|
191
|
+
ngImport: i0
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
195
|
+
minVersion: "12.0.0",
|
|
196
|
+
version: "22.0.0-next.1",
|
|
197
|
+
ngImport: i0,
|
|
198
|
+
type: MatPrefix,
|
|
199
|
+
decorators: [{
|
|
200
|
+
type: Directive,
|
|
201
|
+
args: [{
|
|
202
|
+
selector: '[matPrefix], [matIconPrefix], [matTextPrefix]',
|
|
203
|
+
providers: [{
|
|
204
|
+
provide: MAT_PREFIX,
|
|
205
|
+
useExisting: MatPrefix
|
|
206
|
+
}]
|
|
207
|
+
}]
|
|
208
|
+
}],
|
|
209
|
+
propDecorators: {
|
|
210
|
+
_isTextSelector: [{
|
|
211
|
+
type: Input,
|
|
212
|
+
args: ['matTextPrefix']
|
|
213
|
+
}]
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
const MAT_SUFFIX = new InjectionToken('MatSuffix');
|
|
218
|
+
class MatSuffix {
|
|
219
|
+
set _isTextSelector(value) {
|
|
220
|
+
this._isText = true;
|
|
221
|
+
}
|
|
222
|
+
_isText = false;
|
|
223
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
224
|
+
minVersion: "12.0.0",
|
|
225
|
+
version: "22.0.0-next.1",
|
|
226
|
+
ngImport: i0,
|
|
227
|
+
type: MatSuffix,
|
|
228
|
+
deps: [],
|
|
229
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
230
|
+
});
|
|
231
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
232
|
+
minVersion: "14.0.0",
|
|
233
|
+
version: "22.0.0-next.1",
|
|
234
|
+
type: MatSuffix,
|
|
235
|
+
isStandalone: true,
|
|
236
|
+
selector: "[matSuffix], [matIconSuffix], [matTextSuffix]",
|
|
237
|
+
inputs: {
|
|
238
|
+
_isTextSelector: ["matTextSuffix", "_isTextSelector"]
|
|
239
|
+
},
|
|
240
|
+
providers: [{
|
|
241
|
+
provide: MAT_SUFFIX,
|
|
242
|
+
useExisting: MatSuffix
|
|
243
|
+
}],
|
|
244
|
+
ngImport: i0
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
248
|
+
minVersion: "12.0.0",
|
|
249
|
+
version: "22.0.0-next.1",
|
|
250
|
+
ngImport: i0,
|
|
251
|
+
type: MatSuffix,
|
|
252
|
+
decorators: [{
|
|
253
|
+
type: Directive,
|
|
254
|
+
args: [{
|
|
255
|
+
selector: '[matSuffix], [matIconSuffix], [matTextSuffix]',
|
|
256
|
+
providers: [{
|
|
257
|
+
provide: MAT_SUFFIX,
|
|
258
|
+
useExisting: MatSuffix
|
|
259
|
+
}]
|
|
260
|
+
}]
|
|
261
|
+
}],
|
|
262
|
+
propDecorators: {
|
|
263
|
+
_isTextSelector: [{
|
|
264
|
+
type: Input,
|
|
265
|
+
args: ['matTextSuffix']
|
|
266
|
+
}]
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
|
|
270
|
+
const FLOATING_LABEL_PARENT = new InjectionToken('FloatingLabelParent');
|
|
271
|
+
class MatFormFieldFloatingLabel {
|
|
272
|
+
_elementRef = inject(ElementRef);
|
|
273
|
+
get floating() {
|
|
274
|
+
return this._floating;
|
|
275
|
+
}
|
|
276
|
+
set floating(value) {
|
|
277
|
+
this._floating = value;
|
|
278
|
+
if (this.monitorResize) {
|
|
279
|
+
this._handleResize();
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
_floating = false;
|
|
283
|
+
get monitorResize() {
|
|
284
|
+
return this._monitorResize;
|
|
285
|
+
}
|
|
286
|
+
set monitorResize(value) {
|
|
287
|
+
this._monitorResize = value;
|
|
288
|
+
if (this._monitorResize) {
|
|
289
|
+
this._subscribeToResize();
|
|
290
|
+
} else {
|
|
291
|
+
this._resizeSubscription.unsubscribe();
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
_monitorResize = false;
|
|
295
|
+
_resizeObserver = inject(SharedResizeObserver);
|
|
296
|
+
_ngZone = inject(NgZone);
|
|
297
|
+
_parent = inject(FLOATING_LABEL_PARENT);
|
|
298
|
+
_resizeSubscription = new Subscription();
|
|
299
|
+
constructor() {}
|
|
300
|
+
ngOnDestroy() {
|
|
301
|
+
this._resizeSubscription.unsubscribe();
|
|
302
|
+
}
|
|
303
|
+
getWidth() {
|
|
304
|
+
return estimateScrollWidth(this._elementRef.nativeElement);
|
|
305
|
+
}
|
|
306
|
+
get element() {
|
|
307
|
+
return this._elementRef.nativeElement;
|
|
308
|
+
}
|
|
309
|
+
_handleResize() {
|
|
310
|
+
setTimeout(() => this._parent._handleLabelResized());
|
|
311
|
+
}
|
|
312
|
+
_subscribeToResize() {
|
|
313
|
+
this._resizeSubscription.unsubscribe();
|
|
314
|
+
this._ngZone.runOutsideAngular(() => {
|
|
315
|
+
this._resizeSubscription = this._resizeObserver.observe(this._elementRef.nativeElement, {
|
|
316
|
+
box: 'border-box'
|
|
317
|
+
}).subscribe(() => this._handleResize());
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
321
|
+
minVersion: "12.0.0",
|
|
322
|
+
version: "22.0.0-next.1",
|
|
323
|
+
ngImport: i0,
|
|
324
|
+
type: MatFormFieldFloatingLabel,
|
|
325
|
+
deps: [],
|
|
326
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
327
|
+
});
|
|
328
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
329
|
+
minVersion: "14.0.0",
|
|
330
|
+
version: "22.0.0-next.1",
|
|
331
|
+
type: MatFormFieldFloatingLabel,
|
|
332
|
+
isStandalone: true,
|
|
333
|
+
selector: "label[matFormFieldFloatingLabel]",
|
|
334
|
+
inputs: {
|
|
335
|
+
floating: "floating",
|
|
336
|
+
monitorResize: "monitorResize"
|
|
337
|
+
},
|
|
338
|
+
host: {
|
|
339
|
+
properties: {
|
|
340
|
+
"class.mdc-floating-label--float-above": "floating"
|
|
341
|
+
},
|
|
342
|
+
classAttribute: "mdc-floating-label mat-mdc-floating-label"
|
|
343
|
+
},
|
|
344
|
+
ngImport: i0
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
348
|
+
minVersion: "12.0.0",
|
|
349
|
+
version: "22.0.0-next.1",
|
|
350
|
+
ngImport: i0,
|
|
351
|
+
type: MatFormFieldFloatingLabel,
|
|
352
|
+
decorators: [{
|
|
353
|
+
type: Directive,
|
|
354
|
+
args: [{
|
|
355
|
+
selector: 'label[matFormFieldFloatingLabel]',
|
|
356
|
+
host: {
|
|
357
|
+
'class': 'mdc-floating-label mat-mdc-floating-label',
|
|
358
|
+
'[class.mdc-floating-label--float-above]': 'floating'
|
|
359
|
+
}
|
|
360
|
+
}]
|
|
361
|
+
}],
|
|
362
|
+
ctorParameters: () => [],
|
|
363
|
+
propDecorators: {
|
|
364
|
+
floating: [{
|
|
365
|
+
type: Input
|
|
366
|
+
}],
|
|
367
|
+
monitorResize: [{
|
|
368
|
+
type: Input
|
|
369
|
+
}]
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
function estimateScrollWidth(element) {
|
|
373
|
+
const htmlEl = element;
|
|
374
|
+
if (htmlEl.offsetParent !== null) {
|
|
375
|
+
return htmlEl.scrollWidth;
|
|
376
|
+
}
|
|
377
|
+
const clone = htmlEl.cloneNode(true);
|
|
378
|
+
clone.style.setProperty('position', 'absolute');
|
|
379
|
+
clone.style.setProperty('transform', 'translate(-9999px, -9999px)');
|
|
380
|
+
document.documentElement.appendChild(clone);
|
|
381
|
+
const scrollWidth = clone.scrollWidth;
|
|
382
|
+
clone.remove();
|
|
383
|
+
return scrollWidth;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
const ACTIVATE_CLASS = 'mdc-line-ripple--active';
|
|
387
|
+
const DEACTIVATING_CLASS = 'mdc-line-ripple--deactivating';
|
|
388
|
+
class MatFormFieldLineRipple {
|
|
389
|
+
_elementRef = inject(ElementRef);
|
|
390
|
+
_cleanupTransitionEnd;
|
|
391
|
+
constructor() {
|
|
392
|
+
const ngZone = inject(NgZone);
|
|
393
|
+
const renderer = inject(Renderer2);
|
|
394
|
+
ngZone.runOutsideAngular(() => {
|
|
395
|
+
this._cleanupTransitionEnd = renderer.listen(this._elementRef.nativeElement, 'transitionend', this._handleTransitionEnd);
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
activate() {
|
|
399
|
+
const classList = this._elementRef.nativeElement.classList;
|
|
400
|
+
classList.remove(DEACTIVATING_CLASS);
|
|
401
|
+
classList.add(ACTIVATE_CLASS);
|
|
402
|
+
}
|
|
403
|
+
deactivate() {
|
|
404
|
+
this._elementRef.nativeElement.classList.add(DEACTIVATING_CLASS);
|
|
405
|
+
}
|
|
406
|
+
_handleTransitionEnd = event => {
|
|
407
|
+
const classList = this._elementRef.nativeElement.classList;
|
|
408
|
+
const isDeactivating = classList.contains(DEACTIVATING_CLASS);
|
|
409
|
+
if (event.propertyName === 'opacity' && isDeactivating) {
|
|
410
|
+
classList.remove(ACTIVATE_CLASS, DEACTIVATING_CLASS);
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
ngOnDestroy() {
|
|
414
|
+
this._cleanupTransitionEnd();
|
|
415
|
+
}
|
|
416
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
417
|
+
minVersion: "12.0.0",
|
|
418
|
+
version: "22.0.0-next.1",
|
|
419
|
+
ngImport: i0,
|
|
420
|
+
type: MatFormFieldLineRipple,
|
|
421
|
+
deps: [],
|
|
422
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
423
|
+
});
|
|
424
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
425
|
+
minVersion: "14.0.0",
|
|
426
|
+
version: "22.0.0-next.1",
|
|
427
|
+
type: MatFormFieldLineRipple,
|
|
428
|
+
isStandalone: true,
|
|
429
|
+
selector: "div[matFormFieldLineRipple]",
|
|
430
|
+
host: {
|
|
431
|
+
classAttribute: "mdc-line-ripple"
|
|
432
|
+
},
|
|
433
|
+
ngImport: i0
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
437
|
+
minVersion: "12.0.0",
|
|
438
|
+
version: "22.0.0-next.1",
|
|
439
|
+
ngImport: i0,
|
|
440
|
+
type: MatFormFieldLineRipple,
|
|
441
|
+
decorators: [{
|
|
442
|
+
type: Directive,
|
|
443
|
+
args: [{
|
|
444
|
+
selector: 'div[matFormFieldLineRipple]',
|
|
445
|
+
host: {
|
|
446
|
+
'class': 'mdc-line-ripple'
|
|
447
|
+
}
|
|
448
|
+
}]
|
|
449
|
+
}],
|
|
450
|
+
ctorParameters: () => []
|
|
451
|
+
});
|
|
452
|
+
|
|
453
|
+
class MatFormFieldNotchedOutline {
|
|
454
|
+
_elementRef = inject(ElementRef);
|
|
455
|
+
_ngZone = inject(NgZone);
|
|
456
|
+
open = false;
|
|
457
|
+
_notch;
|
|
458
|
+
ngAfterViewInit() {
|
|
459
|
+
const element = this._elementRef.nativeElement;
|
|
460
|
+
const label = element.querySelector('.mdc-floating-label');
|
|
461
|
+
if (label) {
|
|
462
|
+
element.classList.add('mdc-notched-outline--upgraded');
|
|
463
|
+
if (typeof requestAnimationFrame === 'function') {
|
|
464
|
+
label.style.transitionDuration = '0s';
|
|
465
|
+
this._ngZone.runOutsideAngular(() => {
|
|
466
|
+
requestAnimationFrame(() => label.style.transitionDuration = '');
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
} else {
|
|
470
|
+
element.classList.add('mdc-notched-outline--no-label');
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
_setNotchWidth(labelWidth) {
|
|
474
|
+
const notch = this._notch.nativeElement;
|
|
475
|
+
if (!this.open || !labelWidth) {
|
|
476
|
+
notch.style.width = '';
|
|
477
|
+
} else {
|
|
478
|
+
const NOTCH_ELEMENT_PADDING = 8;
|
|
479
|
+
const NOTCH_ELEMENT_BORDER = 1;
|
|
480
|
+
notch.style.width = `calc(${labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + ${NOTCH_ELEMENT_PADDING + NOTCH_ELEMENT_BORDER}px)`;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
_setMaxWidth(prefixAndSuffixWidth) {
|
|
484
|
+
this._notch.nativeElement.style.setProperty('--mat-form-field-notch-max-width', `calc(100% - ${prefixAndSuffixWidth}px)`);
|
|
485
|
+
}
|
|
486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
487
|
+
minVersion: "12.0.0",
|
|
488
|
+
version: "22.0.0-next.1",
|
|
489
|
+
ngImport: i0,
|
|
490
|
+
type: MatFormFieldNotchedOutline,
|
|
491
|
+
deps: [],
|
|
492
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
493
|
+
});
|
|
494
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
495
|
+
minVersion: "14.0.0",
|
|
496
|
+
version: "22.0.0-next.1",
|
|
497
|
+
type: MatFormFieldNotchedOutline,
|
|
498
|
+
isStandalone: true,
|
|
499
|
+
selector: "div[matFormFieldNotchedOutline]",
|
|
500
|
+
inputs: {
|
|
501
|
+
open: ["matFormFieldNotchedOutlineOpen", "open"]
|
|
502
|
+
},
|
|
503
|
+
host: {
|
|
504
|
+
properties: {
|
|
505
|
+
"class.mdc-notched-outline--notched": "open"
|
|
506
|
+
},
|
|
507
|
+
classAttribute: "mdc-notched-outline"
|
|
508
|
+
},
|
|
509
|
+
viewQueries: [{
|
|
510
|
+
propertyName: "_notch",
|
|
511
|
+
first: true,
|
|
512
|
+
predicate: ["notch"],
|
|
513
|
+
descendants: true
|
|
514
|
+
}],
|
|
515
|
+
ngImport: i0,
|
|
516
|
+
template: "<div class=\"mat-mdc-notch-piece mdc-notched-outline__leading\"></div>\n<div class=\"mat-mdc-notch-piece mdc-notched-outline__notch\" #notch>\n <ng-content></ng-content>\n</div>\n<div class=\"mat-mdc-notch-piece mdc-notched-outline__trailing\"></div>\n",
|
|
517
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
518
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
522
|
+
minVersion: "12.0.0",
|
|
523
|
+
version: "22.0.0-next.1",
|
|
524
|
+
ngImport: i0,
|
|
525
|
+
type: MatFormFieldNotchedOutline,
|
|
526
|
+
decorators: [{
|
|
527
|
+
type: Component,
|
|
528
|
+
args: [{
|
|
529
|
+
selector: 'div[matFormFieldNotchedOutline]',
|
|
530
|
+
host: {
|
|
531
|
+
'class': 'mdc-notched-outline',
|
|
532
|
+
'[class.mdc-notched-outline--notched]': 'open'
|
|
533
|
+
},
|
|
534
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
535
|
+
encapsulation: ViewEncapsulation.None,
|
|
536
|
+
template: "<div class=\"mat-mdc-notch-piece mdc-notched-outline__leading\"></div>\n<div class=\"mat-mdc-notch-piece mdc-notched-outline__notch\" #notch>\n <ng-content></ng-content>\n</div>\n<div class=\"mat-mdc-notch-piece mdc-notched-outline__trailing\"></div>\n"
|
|
537
|
+
}]
|
|
538
|
+
}],
|
|
539
|
+
propDecorators: {
|
|
540
|
+
open: [{
|
|
541
|
+
type: Input,
|
|
542
|
+
args: ['matFormFieldNotchedOutlineOpen']
|
|
543
|
+
}],
|
|
544
|
+
_notch: [{
|
|
545
|
+
type: ViewChild,
|
|
546
|
+
args: ['notch']
|
|
547
|
+
}]
|
|
548
|
+
}
|
|
549
|
+
});
|
|
550
|
+
|
|
551
|
+
class MatFormFieldControl {
|
|
552
|
+
value = null;
|
|
553
|
+
stateChanges;
|
|
554
|
+
id;
|
|
555
|
+
placeholder;
|
|
556
|
+
ngControl = null;
|
|
557
|
+
focused = false;
|
|
558
|
+
empty = false;
|
|
559
|
+
shouldLabelFloat = false;
|
|
560
|
+
required = false;
|
|
561
|
+
disabled = false;
|
|
562
|
+
errorState = false;
|
|
563
|
+
controlType;
|
|
564
|
+
autofilled;
|
|
565
|
+
userAriaDescribedBy;
|
|
566
|
+
disableAutomaticLabeling;
|
|
567
|
+
describedByIds;
|
|
568
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
569
|
+
minVersion: "12.0.0",
|
|
570
|
+
version: "22.0.0-next.1",
|
|
571
|
+
ngImport: i0,
|
|
572
|
+
type: MatFormFieldControl,
|
|
573
|
+
deps: [],
|
|
574
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
575
|
+
});
|
|
576
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
577
|
+
minVersion: "14.0.0",
|
|
578
|
+
version: "22.0.0-next.1",
|
|
579
|
+
type: MatFormFieldControl,
|
|
580
|
+
isStandalone: true,
|
|
581
|
+
ngImport: i0
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
585
|
+
minVersion: "12.0.0",
|
|
586
|
+
version: "22.0.0-next.1",
|
|
587
|
+
ngImport: i0,
|
|
588
|
+
type: MatFormFieldControl,
|
|
589
|
+
decorators: [{
|
|
590
|
+
type: Directive
|
|
591
|
+
}]
|
|
592
|
+
});
|
|
593
|
+
|
|
594
|
+
function getMatFormFieldPlaceholderConflictError() {
|
|
595
|
+
return Error('Placeholder attribute and child element were both specified.');
|
|
596
|
+
}
|
|
597
|
+
function getMatFormFieldDuplicatedHintError(align) {
|
|
598
|
+
return Error(`A hint was already declared for 'align="${align}"'.`);
|
|
599
|
+
}
|
|
600
|
+
function getMatFormFieldMissingControlError() {
|
|
601
|
+
return Error('mat-form-field must contain a MatFormFieldControl.');
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
const MAT_FORM_FIELD = new InjectionToken('MatFormField');
|
|
605
|
+
const MAT_FORM_FIELD_DEFAULT_OPTIONS = new InjectionToken('MAT_FORM_FIELD_DEFAULT_OPTIONS');
|
|
606
|
+
const DEFAULT_APPEARANCE = 'fill';
|
|
607
|
+
const DEFAULT_FLOAT_LABEL = 'auto';
|
|
608
|
+
const DEFAULT_SUBSCRIPT_SIZING = 'fixed';
|
|
609
|
+
const FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM = `translateY(-50%)`;
|
|
610
|
+
class MatFormField {
|
|
611
|
+
_elementRef = inject(ElementRef);
|
|
612
|
+
_changeDetectorRef = inject(ChangeDetectorRef);
|
|
613
|
+
_platform = inject(Platform);
|
|
614
|
+
_idGenerator = inject(_IdGenerator);
|
|
615
|
+
_ngZone = inject(NgZone);
|
|
616
|
+
_defaults = inject(MAT_FORM_FIELD_DEFAULT_OPTIONS, {
|
|
617
|
+
optional: true
|
|
618
|
+
});
|
|
619
|
+
_currentDirection;
|
|
620
|
+
_textField;
|
|
621
|
+
_iconPrefixContainer;
|
|
622
|
+
_textPrefixContainer;
|
|
623
|
+
_iconSuffixContainer;
|
|
624
|
+
_textSuffixContainer;
|
|
625
|
+
_floatingLabel;
|
|
626
|
+
_notchedOutline;
|
|
627
|
+
_lineRipple;
|
|
628
|
+
_iconPrefixContainerSignal = viewChild('iconPrefixContainer', ...(ngDevMode ? [{
|
|
629
|
+
debugName: "_iconPrefixContainerSignal"
|
|
630
|
+
}] : []));
|
|
631
|
+
_textPrefixContainerSignal = viewChild('textPrefixContainer', ...(ngDevMode ? [{
|
|
632
|
+
debugName: "_textPrefixContainerSignal"
|
|
633
|
+
}] : []));
|
|
634
|
+
_iconSuffixContainerSignal = viewChild('iconSuffixContainer', ...(ngDevMode ? [{
|
|
635
|
+
debugName: "_iconSuffixContainerSignal"
|
|
636
|
+
}] : []));
|
|
637
|
+
_textSuffixContainerSignal = viewChild('textSuffixContainer', ...(ngDevMode ? [{
|
|
638
|
+
debugName: "_textSuffixContainerSignal"
|
|
639
|
+
}] : []));
|
|
640
|
+
_prefixSuffixContainers = computed(() => {
|
|
641
|
+
return [this._iconPrefixContainerSignal(), this._textPrefixContainerSignal(), this._iconSuffixContainerSignal(), this._textSuffixContainerSignal()].map(container => container?.nativeElement).filter(e => e !== undefined);
|
|
642
|
+
}, ...(ngDevMode ? [{
|
|
643
|
+
debugName: "_prefixSuffixContainers"
|
|
644
|
+
}] : []));
|
|
645
|
+
_formFieldControl;
|
|
646
|
+
_prefixChildren;
|
|
647
|
+
_suffixChildren;
|
|
648
|
+
_errorChildren;
|
|
649
|
+
_hintChildren;
|
|
650
|
+
_labelChild = contentChild(MatLabel, ...(ngDevMode ? [{
|
|
651
|
+
debugName: "_labelChild"
|
|
652
|
+
}] : []));
|
|
653
|
+
get hideRequiredMarker() {
|
|
654
|
+
return this._hideRequiredMarker;
|
|
655
|
+
}
|
|
656
|
+
set hideRequiredMarker(value) {
|
|
657
|
+
this._hideRequiredMarker = coerceBooleanProperty(value);
|
|
658
|
+
}
|
|
659
|
+
_hideRequiredMarker = false;
|
|
660
|
+
color = 'primary';
|
|
661
|
+
get floatLabel() {
|
|
662
|
+
return this._floatLabel || this._defaults?.floatLabel || DEFAULT_FLOAT_LABEL;
|
|
663
|
+
}
|
|
664
|
+
set floatLabel(value) {
|
|
665
|
+
if (value !== this._floatLabel) {
|
|
666
|
+
this._floatLabel = value;
|
|
667
|
+
this._changeDetectorRef.markForCheck();
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
_floatLabel;
|
|
671
|
+
get appearance() {
|
|
672
|
+
return this._appearanceSignal();
|
|
673
|
+
}
|
|
674
|
+
set appearance(value) {
|
|
675
|
+
const newAppearance = value || this._defaults?.appearance || DEFAULT_APPEARANCE;
|
|
676
|
+
if (typeof ngDevMode === 'undefined' || ngDevMode) {
|
|
677
|
+
if (newAppearance !== 'fill' && newAppearance !== 'outline') {
|
|
678
|
+
throw new Error(`MatFormField: Invalid appearance "${newAppearance}", valid values are "fill" or "outline".`);
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
this._appearanceSignal.set(newAppearance);
|
|
682
|
+
}
|
|
683
|
+
_appearanceSignal = signal(DEFAULT_APPEARANCE, ...(ngDevMode ? [{
|
|
684
|
+
debugName: "_appearanceSignal"
|
|
685
|
+
}] : []));
|
|
686
|
+
get subscriptSizing() {
|
|
687
|
+
return this._subscriptSizing || this._defaults?.subscriptSizing || DEFAULT_SUBSCRIPT_SIZING;
|
|
688
|
+
}
|
|
689
|
+
set subscriptSizing(value) {
|
|
690
|
+
this._subscriptSizing = value || this._defaults?.subscriptSizing || DEFAULT_SUBSCRIPT_SIZING;
|
|
691
|
+
}
|
|
692
|
+
_subscriptSizing = null;
|
|
693
|
+
get hintLabel() {
|
|
694
|
+
return this._hintLabel;
|
|
695
|
+
}
|
|
696
|
+
set hintLabel(value) {
|
|
697
|
+
this._hintLabel = value;
|
|
698
|
+
this._processHints();
|
|
699
|
+
}
|
|
700
|
+
_hintLabel = '';
|
|
701
|
+
_hasIconPrefix = false;
|
|
702
|
+
_hasTextPrefix = false;
|
|
703
|
+
_hasIconSuffix = false;
|
|
704
|
+
_hasTextSuffix = false;
|
|
705
|
+
_labelId = this._idGenerator.getId('mat-mdc-form-field-label-');
|
|
706
|
+
_hintLabelId = this._idGenerator.getId('mat-mdc-hint-');
|
|
707
|
+
_describedByIds;
|
|
708
|
+
get _control() {
|
|
709
|
+
return this._explicitFormFieldControl || this._formFieldControl;
|
|
710
|
+
}
|
|
711
|
+
set _control(value) {
|
|
712
|
+
this._explicitFormFieldControl = value;
|
|
713
|
+
}
|
|
714
|
+
_destroyed = new Subject();
|
|
715
|
+
_isFocused = null;
|
|
716
|
+
_explicitFormFieldControl;
|
|
717
|
+
_previousControl = null;
|
|
718
|
+
_previousControlValidatorFn = null;
|
|
719
|
+
_stateChanges;
|
|
720
|
+
_valueChanges;
|
|
721
|
+
_describedByChanges;
|
|
722
|
+
_outlineLabelOffsetResizeObserver = null;
|
|
723
|
+
_animationsDisabled = _animationsDisabled();
|
|
724
|
+
constructor() {
|
|
725
|
+
const defaults = this._defaults;
|
|
726
|
+
const dir = inject(Directionality);
|
|
727
|
+
if (defaults) {
|
|
728
|
+
if (defaults.appearance) {
|
|
729
|
+
this.appearance = defaults.appearance;
|
|
730
|
+
}
|
|
731
|
+
this._hideRequiredMarker = Boolean(defaults?.hideRequiredMarker);
|
|
732
|
+
if (defaults.color) {
|
|
733
|
+
this.color = defaults.color;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
effect(() => this._currentDirection = dir.valueSignal());
|
|
737
|
+
this._syncOutlineLabelOffset();
|
|
738
|
+
}
|
|
739
|
+
ngAfterViewInit() {
|
|
740
|
+
this._updateFocusState();
|
|
741
|
+
if (!this._animationsDisabled) {
|
|
742
|
+
this._ngZone.runOutsideAngular(() => {
|
|
743
|
+
setTimeout(() => {
|
|
744
|
+
this._elementRef.nativeElement.classList.add('mat-form-field-animations-enabled');
|
|
745
|
+
}, 300);
|
|
746
|
+
});
|
|
747
|
+
}
|
|
748
|
+
this._changeDetectorRef.detectChanges();
|
|
749
|
+
}
|
|
750
|
+
ngAfterContentInit() {
|
|
751
|
+
this._assertFormFieldControl();
|
|
752
|
+
this._initializeSubscript();
|
|
753
|
+
this._initializePrefixAndSuffix();
|
|
754
|
+
}
|
|
755
|
+
ngAfterContentChecked() {
|
|
756
|
+
this._assertFormFieldControl();
|
|
757
|
+
if (this._control !== this._previousControl) {
|
|
758
|
+
this._initializeControl(this._previousControl);
|
|
759
|
+
if (this._control.ngControl && this._control.ngControl.control) {
|
|
760
|
+
this._previousControlValidatorFn = this._control.ngControl.control.validator;
|
|
761
|
+
}
|
|
762
|
+
this._previousControl = this._control;
|
|
763
|
+
}
|
|
764
|
+
if (this._control.ngControl && this._control.ngControl.control) {
|
|
765
|
+
const validatorFn = this._control.ngControl.control.validator;
|
|
766
|
+
if (validatorFn !== this._previousControlValidatorFn) {
|
|
767
|
+
this._changeDetectorRef.markForCheck();
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
ngOnDestroy() {
|
|
772
|
+
this._outlineLabelOffsetResizeObserver?.disconnect();
|
|
773
|
+
this._stateChanges?.unsubscribe();
|
|
774
|
+
this._valueChanges?.unsubscribe();
|
|
775
|
+
this._describedByChanges?.unsubscribe();
|
|
776
|
+
this._destroyed.next();
|
|
777
|
+
this._destroyed.complete();
|
|
778
|
+
}
|
|
779
|
+
getLabelId = computed(() => this._hasFloatingLabel() ? this._labelId : null, ...(ngDevMode ? [{
|
|
780
|
+
debugName: "getLabelId"
|
|
781
|
+
}] : []));
|
|
782
|
+
getConnectedOverlayOrigin() {
|
|
783
|
+
return this._textField || this._elementRef;
|
|
784
|
+
}
|
|
785
|
+
_animateAndLockLabel() {
|
|
786
|
+
if (this._hasFloatingLabel()) {
|
|
787
|
+
this.floatLabel = 'always';
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
_initializeControl(previousControl) {
|
|
791
|
+
const control = this._control;
|
|
792
|
+
const classPrefix = 'mat-mdc-form-field-type-';
|
|
793
|
+
if (previousControl) {
|
|
794
|
+
this._elementRef.nativeElement.classList.remove(classPrefix + previousControl.controlType);
|
|
795
|
+
}
|
|
796
|
+
if (control.controlType) {
|
|
797
|
+
this._elementRef.nativeElement.classList.add(classPrefix + control.controlType);
|
|
798
|
+
}
|
|
799
|
+
this._stateChanges?.unsubscribe();
|
|
800
|
+
this._stateChanges = control.stateChanges.subscribe(() => {
|
|
801
|
+
this._updateFocusState();
|
|
802
|
+
this._changeDetectorRef.markForCheck();
|
|
803
|
+
});
|
|
804
|
+
this._describedByChanges?.unsubscribe();
|
|
805
|
+
this._describedByChanges = control.stateChanges.pipe(startWith([undefined, undefined]), map(() => [control.errorState, control.userAriaDescribedBy]), pairwise(), filter(([[prevErrorState, prevDescribedBy], [currentErrorState, currentDescribedBy]]) => {
|
|
806
|
+
return prevErrorState !== currentErrorState || prevDescribedBy !== currentDescribedBy;
|
|
807
|
+
})).subscribe(() => this._syncDescribedByIds());
|
|
808
|
+
this._valueChanges?.unsubscribe();
|
|
809
|
+
if (control.ngControl && control.ngControl.valueChanges) {
|
|
810
|
+
this._valueChanges = control.ngControl.valueChanges.pipe(takeUntil(this._destroyed)).subscribe(() => this._changeDetectorRef.markForCheck());
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
_checkPrefixAndSuffixTypes() {
|
|
814
|
+
this._hasIconPrefix = !!this._prefixChildren.find(p => !p._isText);
|
|
815
|
+
this._hasTextPrefix = !!this._prefixChildren.find(p => p._isText);
|
|
816
|
+
this._hasIconSuffix = !!this._suffixChildren.find(s => !s._isText);
|
|
817
|
+
this._hasTextSuffix = !!this._suffixChildren.find(s => s._isText);
|
|
818
|
+
}
|
|
819
|
+
_initializePrefixAndSuffix() {
|
|
820
|
+
this._checkPrefixAndSuffixTypes();
|
|
821
|
+
merge(this._prefixChildren.changes, this._suffixChildren.changes).subscribe(() => {
|
|
822
|
+
this._checkPrefixAndSuffixTypes();
|
|
823
|
+
this._changeDetectorRef.markForCheck();
|
|
824
|
+
});
|
|
825
|
+
}
|
|
826
|
+
_initializeSubscript() {
|
|
827
|
+
this._hintChildren.changes.subscribe(() => {
|
|
828
|
+
this._processHints();
|
|
829
|
+
this._changeDetectorRef.markForCheck();
|
|
830
|
+
});
|
|
831
|
+
this._errorChildren.changes.subscribe(() => {
|
|
832
|
+
this._syncDescribedByIds();
|
|
833
|
+
this._changeDetectorRef.markForCheck();
|
|
834
|
+
});
|
|
835
|
+
this._validateHints();
|
|
836
|
+
this._syncDescribedByIds();
|
|
837
|
+
}
|
|
838
|
+
_assertFormFieldControl() {
|
|
839
|
+
if (!this._control && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
840
|
+
throw getMatFormFieldMissingControlError();
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
_updateFocusState() {
|
|
844
|
+
const controlFocused = this._control.focused;
|
|
845
|
+
if (controlFocused && !this._isFocused) {
|
|
846
|
+
this._isFocused = true;
|
|
847
|
+
this._lineRipple?.activate();
|
|
848
|
+
} else if (!controlFocused && (this._isFocused || this._isFocused === null)) {
|
|
849
|
+
this._isFocused = false;
|
|
850
|
+
this._lineRipple?.deactivate();
|
|
851
|
+
}
|
|
852
|
+
this._elementRef.nativeElement.classList.toggle('mat-focused', controlFocused);
|
|
853
|
+
this._textField?.nativeElement.classList.toggle('mdc-text-field--focused', controlFocused);
|
|
854
|
+
}
|
|
855
|
+
_syncOutlineLabelOffset() {
|
|
856
|
+
afterRenderEffect({
|
|
857
|
+
earlyRead: () => {
|
|
858
|
+
if (this._appearanceSignal() !== 'outline') {
|
|
859
|
+
this._outlineLabelOffsetResizeObserver?.disconnect();
|
|
860
|
+
return null;
|
|
861
|
+
}
|
|
862
|
+
if (globalThis.ResizeObserver) {
|
|
863
|
+
this._outlineLabelOffsetResizeObserver ||= new globalThis.ResizeObserver(() => {
|
|
864
|
+
this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset());
|
|
865
|
+
});
|
|
866
|
+
for (const el of this._prefixSuffixContainers()) {
|
|
867
|
+
this._outlineLabelOffsetResizeObserver.observe(el, {
|
|
868
|
+
box: 'border-box'
|
|
869
|
+
});
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
return this._getOutlinedLabelOffset();
|
|
873
|
+
},
|
|
874
|
+
write: labelStyles => this._writeOutlinedLabelStyles(labelStyles())
|
|
875
|
+
});
|
|
876
|
+
}
|
|
877
|
+
_shouldAlwaysFloat() {
|
|
878
|
+
return this.floatLabel === 'always';
|
|
879
|
+
}
|
|
880
|
+
_hasOutline() {
|
|
881
|
+
return this.appearance === 'outline';
|
|
882
|
+
}
|
|
883
|
+
_forceDisplayInfixLabel() {
|
|
884
|
+
return !this._platform.isBrowser && this._prefixChildren.length && !this._shouldLabelFloat();
|
|
885
|
+
}
|
|
886
|
+
_hasFloatingLabel = computed(() => !!this._labelChild(), ...(ngDevMode ? [{
|
|
887
|
+
debugName: "_hasFloatingLabel"
|
|
888
|
+
}] : []));
|
|
889
|
+
_shouldLabelFloat() {
|
|
890
|
+
if (!this._hasFloatingLabel()) {
|
|
891
|
+
return false;
|
|
892
|
+
}
|
|
893
|
+
return this._control.shouldLabelFloat || this._shouldAlwaysFloat();
|
|
894
|
+
}
|
|
895
|
+
_shouldForward(prop) {
|
|
896
|
+
const control = this._control ? this._control.ngControl : null;
|
|
897
|
+
return control && control[prop];
|
|
898
|
+
}
|
|
899
|
+
_getSubscriptMessageType() {
|
|
900
|
+
return this._errorChildren && this._errorChildren.length > 0 && this._control.errorState ? 'error' : 'hint';
|
|
901
|
+
}
|
|
902
|
+
_handleLabelResized() {
|
|
903
|
+
this._refreshOutlineNotchWidth();
|
|
904
|
+
}
|
|
905
|
+
_refreshOutlineNotchWidth() {
|
|
906
|
+
if (!this._hasOutline() || !this._floatingLabel || !this._shouldLabelFloat()) {
|
|
907
|
+
this._notchedOutline?._setNotchWidth(0);
|
|
908
|
+
} else {
|
|
909
|
+
this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth());
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
_processHints() {
|
|
913
|
+
this._validateHints();
|
|
914
|
+
this._syncDescribedByIds();
|
|
915
|
+
}
|
|
916
|
+
_validateHints() {
|
|
917
|
+
if (this._hintChildren && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
918
|
+
let startHint;
|
|
919
|
+
let endHint;
|
|
920
|
+
this._hintChildren.forEach(hint => {
|
|
921
|
+
if (hint.align === 'start') {
|
|
922
|
+
if (startHint || this.hintLabel) {
|
|
923
|
+
throw getMatFormFieldDuplicatedHintError('start');
|
|
924
|
+
}
|
|
925
|
+
startHint = hint;
|
|
926
|
+
} else if (hint.align === 'end') {
|
|
927
|
+
if (endHint) {
|
|
928
|
+
throw getMatFormFieldDuplicatedHintError('end');
|
|
929
|
+
}
|
|
930
|
+
endHint = hint;
|
|
931
|
+
}
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
_syncDescribedByIds() {
|
|
936
|
+
if (this._control) {
|
|
937
|
+
let ids = [];
|
|
938
|
+
if (this._control.userAriaDescribedBy && typeof this._control.userAriaDescribedBy === 'string') {
|
|
939
|
+
ids.push(...this._control.userAriaDescribedBy.split(' '));
|
|
940
|
+
}
|
|
941
|
+
if (this._getSubscriptMessageType() === 'hint') {
|
|
942
|
+
const startHint = this._hintChildren ? this._hintChildren.find(hint => hint.align === 'start') : null;
|
|
943
|
+
const endHint = this._hintChildren ? this._hintChildren.find(hint => hint.align === 'end') : null;
|
|
944
|
+
if (startHint) {
|
|
945
|
+
ids.push(startHint.id);
|
|
946
|
+
} else if (this._hintLabel) {
|
|
947
|
+
ids.push(this._hintLabelId);
|
|
948
|
+
}
|
|
949
|
+
if (endHint) {
|
|
950
|
+
ids.push(endHint.id);
|
|
951
|
+
}
|
|
952
|
+
} else if (this._errorChildren) {
|
|
953
|
+
ids.push(...this._errorChildren.map(error => error.id));
|
|
954
|
+
}
|
|
955
|
+
const existingDescribedBy = this._control.describedByIds;
|
|
956
|
+
let toAssign;
|
|
957
|
+
if (existingDescribedBy) {
|
|
958
|
+
const exclude = this._describedByIds || ids;
|
|
959
|
+
toAssign = ids.concat(existingDescribedBy.filter(id => id && !exclude.includes(id)));
|
|
960
|
+
} else {
|
|
961
|
+
toAssign = ids;
|
|
962
|
+
}
|
|
963
|
+
this._control.setDescribedByIds(toAssign);
|
|
964
|
+
this._describedByIds = ids;
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
_getOutlinedLabelOffset() {
|
|
968
|
+
if (!this._hasOutline() || !this._floatingLabel) {
|
|
969
|
+
return null;
|
|
970
|
+
}
|
|
971
|
+
if (!this._iconPrefixContainer && !this._textPrefixContainer) {
|
|
972
|
+
return ['', null];
|
|
973
|
+
}
|
|
974
|
+
if (!this._isAttachedToDom()) {
|
|
975
|
+
return null;
|
|
976
|
+
}
|
|
977
|
+
const iconPrefixContainer = this._iconPrefixContainer?.nativeElement;
|
|
978
|
+
const textPrefixContainer = this._textPrefixContainer?.nativeElement;
|
|
979
|
+
const iconSuffixContainer = this._iconSuffixContainer?.nativeElement;
|
|
980
|
+
const textSuffixContainer = this._textSuffixContainer?.nativeElement;
|
|
981
|
+
const iconPrefixContainerWidth = iconPrefixContainer?.getBoundingClientRect().width ?? 0;
|
|
982
|
+
const textPrefixContainerWidth = textPrefixContainer?.getBoundingClientRect().width ?? 0;
|
|
983
|
+
const iconSuffixContainerWidth = iconSuffixContainer?.getBoundingClientRect().width ?? 0;
|
|
984
|
+
const textSuffixContainerWidth = textSuffixContainer?.getBoundingClientRect().width ?? 0;
|
|
985
|
+
const negate = this._currentDirection === 'rtl' ? '-1' : '1';
|
|
986
|
+
const prefixWidth = `${iconPrefixContainerWidth + textPrefixContainerWidth}px`;
|
|
987
|
+
const labelOffset = `var(--mat-mdc-form-field-label-offset-x, 0px)`;
|
|
988
|
+
const labelHorizontalOffset = `calc(${negate} * (${prefixWidth} + ${labelOffset}))`;
|
|
989
|
+
const floatingLabelTransform = 'var(--mat-mdc-form-field-label-transform, ' + `${FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM} translateX(${labelHorizontalOffset}))`;
|
|
990
|
+
const notchedOutlineWidth = iconPrefixContainerWidth + textPrefixContainerWidth + iconSuffixContainerWidth + textSuffixContainerWidth;
|
|
991
|
+
return [floatingLabelTransform, notchedOutlineWidth];
|
|
992
|
+
}
|
|
993
|
+
_writeOutlinedLabelStyles(styles) {
|
|
994
|
+
if (styles !== null) {
|
|
995
|
+
const [floatingLabelTransform, notchedOutlineWidth] = styles;
|
|
996
|
+
if (this._floatingLabel) {
|
|
997
|
+
this._floatingLabel.element.style.transform = floatingLabelTransform;
|
|
998
|
+
}
|
|
999
|
+
if (notchedOutlineWidth !== null) {
|
|
1000
|
+
this._notchedOutline?._setMaxWidth(notchedOutlineWidth);
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
_isAttachedToDom() {
|
|
1005
|
+
const element = this._elementRef.nativeElement;
|
|
1006
|
+
if (element.getRootNode) {
|
|
1007
|
+
const rootNode = element.getRootNode();
|
|
1008
|
+
return rootNode && rootNode !== element;
|
|
1009
|
+
}
|
|
1010
|
+
return document.documentElement.contains(element);
|
|
1011
|
+
}
|
|
1012
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1013
|
+
minVersion: "12.0.0",
|
|
1014
|
+
version: "22.0.0-next.1",
|
|
1015
|
+
ngImport: i0,
|
|
1016
|
+
type: MatFormField,
|
|
1017
|
+
deps: [],
|
|
1018
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
1019
|
+
});
|
|
1020
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1021
|
+
minVersion: "17.0.0",
|
|
1022
|
+
version: "22.0.0-next.1",
|
|
1023
|
+
type: MatFormField,
|
|
1024
|
+
isStandalone: true,
|
|
1025
|
+
selector: "mat-form-field",
|
|
1026
|
+
inputs: {
|
|
1027
|
+
hideRequiredMarker: "hideRequiredMarker",
|
|
1028
|
+
color: "color",
|
|
1029
|
+
floatLabel: "floatLabel",
|
|
1030
|
+
appearance: "appearance",
|
|
1031
|
+
subscriptSizing: "subscriptSizing",
|
|
1032
|
+
hintLabel: "hintLabel"
|
|
1033
|
+
},
|
|
1034
|
+
host: {
|
|
1035
|
+
properties: {
|
|
1036
|
+
"class.mat-mdc-form-field-label-always-float": "_shouldAlwaysFloat()",
|
|
1037
|
+
"class.mat-mdc-form-field-has-icon-prefix": "_hasIconPrefix",
|
|
1038
|
+
"class.mat-mdc-form-field-has-icon-suffix": "_hasIconSuffix",
|
|
1039
|
+
"class.mat-form-field-invalid": "_control.errorState",
|
|
1040
|
+
"class.mat-form-field-disabled": "_control.disabled",
|
|
1041
|
+
"class.mat-form-field-autofilled": "_control.autofilled",
|
|
1042
|
+
"class.mat-form-field-appearance-fill": "appearance == \"fill\"",
|
|
1043
|
+
"class.mat-form-field-appearance-outline": "appearance == \"outline\"",
|
|
1044
|
+
"class.mat-form-field-hide-placeholder": "_hasFloatingLabel() && !_shouldLabelFloat()",
|
|
1045
|
+
"class.mat-primary": "color !== \"accent\" && color !== \"warn\"",
|
|
1046
|
+
"class.mat-accent": "color === \"accent\"",
|
|
1047
|
+
"class.mat-warn": "color === \"warn\"",
|
|
1048
|
+
"class.ng-untouched": "_shouldForward(\"untouched\")",
|
|
1049
|
+
"class.ng-touched": "_shouldForward(\"touched\")",
|
|
1050
|
+
"class.ng-pristine": "_shouldForward(\"pristine\")",
|
|
1051
|
+
"class.ng-dirty": "_shouldForward(\"dirty\")",
|
|
1052
|
+
"class.ng-valid": "_shouldForward(\"valid\")",
|
|
1053
|
+
"class.ng-invalid": "_shouldForward(\"invalid\")",
|
|
1054
|
+
"class.ng-pending": "_shouldForward(\"pending\")"
|
|
1055
|
+
},
|
|
1056
|
+
classAttribute: "mat-mdc-form-field"
|
|
1057
|
+
},
|
|
1058
|
+
providers: [{
|
|
1059
|
+
provide: MAT_FORM_FIELD,
|
|
1060
|
+
useExisting: MatFormField
|
|
1061
|
+
}, {
|
|
1062
|
+
provide: FLOATING_LABEL_PARENT,
|
|
1063
|
+
useExisting: MatFormField
|
|
1064
|
+
}],
|
|
1065
|
+
queries: [{
|
|
1066
|
+
propertyName: "_labelChild",
|
|
1067
|
+
first: true,
|
|
1068
|
+
predicate: MatLabel,
|
|
1069
|
+
descendants: true,
|
|
1070
|
+
isSignal: true
|
|
1071
|
+
}, {
|
|
1072
|
+
propertyName: "_formFieldControl",
|
|
1073
|
+
first: true,
|
|
1074
|
+
predicate: MatFormFieldControl,
|
|
1075
|
+
descendants: true
|
|
1076
|
+
}, {
|
|
1077
|
+
propertyName: "_prefixChildren",
|
|
1078
|
+
predicate: MAT_PREFIX,
|
|
1079
|
+
descendants: true
|
|
1080
|
+
}, {
|
|
1081
|
+
propertyName: "_suffixChildren",
|
|
1082
|
+
predicate: MAT_SUFFIX,
|
|
1083
|
+
descendants: true
|
|
1084
|
+
}, {
|
|
1085
|
+
propertyName: "_errorChildren",
|
|
1086
|
+
predicate: MAT_ERROR,
|
|
1087
|
+
descendants: true
|
|
1088
|
+
}, {
|
|
1089
|
+
propertyName: "_hintChildren",
|
|
1090
|
+
predicate: MatHint,
|
|
1091
|
+
descendants: true
|
|
1092
|
+
}],
|
|
1093
|
+
viewQueries: [{
|
|
1094
|
+
propertyName: "_iconPrefixContainerSignal",
|
|
1095
|
+
first: true,
|
|
1096
|
+
predicate: ["iconPrefixContainer"],
|
|
1097
|
+
descendants: true,
|
|
1098
|
+
isSignal: true
|
|
1099
|
+
}, {
|
|
1100
|
+
propertyName: "_textPrefixContainerSignal",
|
|
1101
|
+
first: true,
|
|
1102
|
+
predicate: ["textPrefixContainer"],
|
|
1103
|
+
descendants: true,
|
|
1104
|
+
isSignal: true
|
|
1105
|
+
}, {
|
|
1106
|
+
propertyName: "_iconSuffixContainerSignal",
|
|
1107
|
+
first: true,
|
|
1108
|
+
predicate: ["iconSuffixContainer"],
|
|
1109
|
+
descendants: true,
|
|
1110
|
+
isSignal: true
|
|
1111
|
+
}, {
|
|
1112
|
+
propertyName: "_textSuffixContainerSignal",
|
|
1113
|
+
first: true,
|
|
1114
|
+
predicate: ["textSuffixContainer"],
|
|
1115
|
+
descendants: true,
|
|
1116
|
+
isSignal: true
|
|
1117
|
+
}, {
|
|
1118
|
+
propertyName: "_textField",
|
|
1119
|
+
first: true,
|
|
1120
|
+
predicate: ["textField"],
|
|
1121
|
+
descendants: true
|
|
1122
|
+
}, {
|
|
1123
|
+
propertyName: "_iconPrefixContainer",
|
|
1124
|
+
first: true,
|
|
1125
|
+
predicate: ["iconPrefixContainer"],
|
|
1126
|
+
descendants: true
|
|
1127
|
+
}, {
|
|
1128
|
+
propertyName: "_textPrefixContainer",
|
|
1129
|
+
first: true,
|
|
1130
|
+
predicate: ["textPrefixContainer"],
|
|
1131
|
+
descendants: true
|
|
1132
|
+
}, {
|
|
1133
|
+
propertyName: "_iconSuffixContainer",
|
|
1134
|
+
first: true,
|
|
1135
|
+
predicate: ["iconSuffixContainer"],
|
|
1136
|
+
descendants: true
|
|
1137
|
+
}, {
|
|
1138
|
+
propertyName: "_textSuffixContainer",
|
|
1139
|
+
first: true,
|
|
1140
|
+
predicate: ["textSuffixContainer"],
|
|
1141
|
+
descendants: true
|
|
1142
|
+
}, {
|
|
1143
|
+
propertyName: "_floatingLabel",
|
|
1144
|
+
first: true,
|
|
1145
|
+
predicate: MatFormFieldFloatingLabel,
|
|
1146
|
+
descendants: true
|
|
1147
|
+
}, {
|
|
1148
|
+
propertyName: "_notchedOutline",
|
|
1149
|
+
first: true,
|
|
1150
|
+
predicate: MatFormFieldNotchedOutline,
|
|
1151
|
+
descendants: true
|
|
1152
|
+
}, {
|
|
1153
|
+
propertyName: "_lineRipple",
|
|
1154
|
+
first: true,
|
|
1155
|
+
predicate: MatFormFieldLineRipple,
|
|
1156
|
+
descendants: true
|
|
1157
|
+
}],
|
|
1158
|
+
exportAs: ["matFormField"],
|
|
1159
|
+
ngImport: i0,
|
|
1160
|
+
template: "<ng-template #labelTemplate>\n <!--\n MDC recommends that the text-field is a `<label>` element. This rather complicates the\n setup because it would require every form-field control to explicitly set `aria-labelledby`.\n This is because the `<label>` itself contains more than the actual label (e.g. prefix, suffix\n or other projected content), and screen readers could potentially read out undesired content.\n Excluding elements from being printed out requires them to be marked with `aria-hidden`, or\n the form control is set to a scoped element for the label (using `aria-labelledby`). Both of\n these options seem to complicate the setup because we know exactly what content is rendered\n as part of the label, and we don't want to spend resources on walking through projected content\n to set `aria-hidden`. Nor do we want to set `aria-labelledby` on every form control if we could\n simply link the label to the control using the label `for` attribute.\n -->\n @if (_hasFloatingLabel()) {\n <label\n matFormFieldFloatingLabel\n [floating]=\"_shouldLabelFloat()\"\n [monitorResize]=\"_hasOutline()\"\n [id]=\"_labelId\"\n [attr.for]=\"_control.disableAutomaticLabeling ? null : _control.id\"\n >\n <ng-content select=\"mat-label\"></ng-content>\n <!--\n We set the required marker as a separate element, in order to make it easier to target if\n apps want to override it and to be able to set `aria-hidden` so that screen readers don't\n pick it up.\n -->\n @if (!hideRequiredMarker && _control.required) {\n <span\n aria-hidden=\"true\"\n class=\"mat-mdc-form-field-required-marker mdc-floating-label--required\"\n ></span>\n }\n </label>\n }\n</ng-template>\n\n<div\n class=\"mat-mdc-text-field-wrapper mdc-text-field\"\n #textField\n [class.mdc-text-field--filled]=\"!_hasOutline()\"\n [class.mdc-text-field--outlined]=\"_hasOutline()\"\n [class.mdc-text-field--no-label]=\"!_hasFloatingLabel()\"\n [class.mdc-text-field--disabled]=\"_control.disabled\"\n [class.mdc-text-field--invalid]=\"_control.errorState\"\n (click)=\"_control.onContainerClick($event)\"\n>\n @if (!_hasOutline() && !_control.disabled) {\n <div class=\"mat-mdc-form-field-focus-overlay\"></div>\n }\n <div class=\"mat-mdc-form-field-flex\">\n @if (_hasOutline()) {\n <div matFormFieldNotchedOutline [matFormFieldNotchedOutlineOpen]=\"_shouldLabelFloat()\">\n @if (!_forceDisplayInfixLabel()) {\n <ng-template [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n }\n </div>\n }\n\n @if (_hasIconPrefix) {\n <div class=\"mat-mdc-form-field-icon-prefix\" #iconPrefixContainer>\n <ng-content select=\"[matPrefix], [matIconPrefix]\"></ng-content>\n </div>\n }\n\n @if (_hasTextPrefix) {\n <div class=\"mat-mdc-form-field-text-prefix\" #textPrefixContainer>\n <ng-content select=\"[matTextPrefix]\"></ng-content>\n </div>\n }\n\n <div class=\"mat-mdc-form-field-infix\">\n @if (!_hasOutline() || _forceDisplayInfixLabel()) {\n <ng-template [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n }\n\n <ng-content></ng-content>\n </div>\n\n @if (_hasTextSuffix) {\n <div class=\"mat-mdc-form-field-text-suffix\" #textSuffixContainer>\n <ng-content select=\"[matTextSuffix]\"></ng-content>\n </div>\n }\n\n @if (_hasIconSuffix) {\n <div class=\"mat-mdc-form-field-icon-suffix\" #iconSuffixContainer>\n <ng-content select=\"[matSuffix], [matIconSuffix]\"></ng-content>\n </div>\n }\n </div>\n\n @if (!_hasOutline()) {\n <div matFormFieldLineRipple></div>\n }\n</div>\n\n<div aria-atomic=\"true\" aria-live=\"polite\"\n class=\"mat-mdc-form-field-subscript-wrapper mat-mdc-form-field-bottom-align\"\n [class.mat-mdc-form-field-subscript-dynamic-size]=\"subscriptSizing === 'dynamic'\"\n>\n @let subscriptMessageType = _getSubscriptMessageType();\n\n @switch (subscriptMessageType) {\n @case ('error') {\n <div class=\"mat-mdc-form-field-error-wrapper\">\n <ng-content select=\"mat-error, [matError]\"></ng-content>\n </div>\n }\n\n @case ('hint') {\n <div class=\"mat-mdc-form-field-hint-wrapper\">\n @if (hintLabel) {\n <mat-hint [id]=\"_hintLabelId\">{{hintLabel}}</mat-hint>\n }\n <ng-content select=\"mat-hint:not([align='end'])\"></ng-content>\n <div class=\"mat-mdc-form-field-hint-spacer\"></div>\n <ng-content select=\"mat-hint[align='end']\"></ng-content>\n </div>\n }\n }\n</div>\n",
|
|
1161
|
+
styles: [".mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:\"*\"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:\"\"}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:\"\";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:\"\";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n"],
|
|
1162
|
+
dependencies: [{
|
|
1163
|
+
kind: "directive",
|
|
1164
|
+
type: MatFormFieldFloatingLabel,
|
|
1165
|
+
selector: "label[matFormFieldFloatingLabel]",
|
|
1166
|
+
inputs: ["floating", "monitorResize"]
|
|
1167
|
+
}, {
|
|
1168
|
+
kind: "component",
|
|
1169
|
+
type: MatFormFieldNotchedOutline,
|
|
1170
|
+
selector: "div[matFormFieldNotchedOutline]",
|
|
1171
|
+
inputs: ["matFormFieldNotchedOutlineOpen"]
|
|
1172
|
+
}, {
|
|
1173
|
+
kind: "directive",
|
|
1174
|
+
type: NgTemplateOutlet,
|
|
1175
|
+
selector: "[ngTemplateOutlet]",
|
|
1176
|
+
inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"]
|
|
1177
|
+
}, {
|
|
1178
|
+
kind: "directive",
|
|
1179
|
+
type: MatFormFieldLineRipple,
|
|
1180
|
+
selector: "div[matFormFieldLineRipple]"
|
|
1181
|
+
}, {
|
|
1182
|
+
kind: "directive",
|
|
1183
|
+
type: MatHint,
|
|
1184
|
+
selector: "mat-hint",
|
|
1185
|
+
inputs: ["align", "id"]
|
|
1186
|
+
}],
|
|
1187
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1188
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1189
|
+
});
|
|
1190
|
+
}
|
|
1191
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1192
|
+
minVersion: "12.0.0",
|
|
1193
|
+
version: "22.0.0-next.1",
|
|
1194
|
+
ngImport: i0,
|
|
1195
|
+
type: MatFormField,
|
|
1196
|
+
decorators: [{
|
|
1197
|
+
type: Component,
|
|
1198
|
+
args: [{
|
|
1199
|
+
selector: 'mat-form-field',
|
|
1200
|
+
exportAs: 'matFormField',
|
|
1201
|
+
host: {
|
|
1202
|
+
'class': 'mat-mdc-form-field',
|
|
1203
|
+
'[class.mat-mdc-form-field-label-always-float]': '_shouldAlwaysFloat()',
|
|
1204
|
+
'[class.mat-mdc-form-field-has-icon-prefix]': '_hasIconPrefix',
|
|
1205
|
+
'[class.mat-mdc-form-field-has-icon-suffix]': '_hasIconSuffix',
|
|
1206
|
+
'[class.mat-form-field-invalid]': '_control.errorState',
|
|
1207
|
+
'[class.mat-form-field-disabled]': '_control.disabled',
|
|
1208
|
+
'[class.mat-form-field-autofilled]': '_control.autofilled',
|
|
1209
|
+
'[class.mat-form-field-appearance-fill]': 'appearance == "fill"',
|
|
1210
|
+
'[class.mat-form-field-appearance-outline]': 'appearance == "outline"',
|
|
1211
|
+
'[class.mat-form-field-hide-placeholder]': '_hasFloatingLabel() && !_shouldLabelFloat()',
|
|
1212
|
+
'[class.mat-primary]': 'color !== "accent" && color !== "warn"',
|
|
1213
|
+
'[class.mat-accent]': 'color === "accent"',
|
|
1214
|
+
'[class.mat-warn]': 'color === "warn"',
|
|
1215
|
+
'[class.ng-untouched]': '_shouldForward("untouched")',
|
|
1216
|
+
'[class.ng-touched]': '_shouldForward("touched")',
|
|
1217
|
+
'[class.ng-pristine]': '_shouldForward("pristine")',
|
|
1218
|
+
'[class.ng-dirty]': '_shouldForward("dirty")',
|
|
1219
|
+
'[class.ng-valid]': '_shouldForward("valid")',
|
|
1220
|
+
'[class.ng-invalid]': '_shouldForward("invalid")',
|
|
1221
|
+
'[class.ng-pending]': '_shouldForward("pending")'
|
|
1222
|
+
},
|
|
1223
|
+
encapsulation: ViewEncapsulation.None,
|
|
1224
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1225
|
+
providers: [{
|
|
1226
|
+
provide: MAT_FORM_FIELD,
|
|
1227
|
+
useExisting: MatFormField
|
|
1228
|
+
}, {
|
|
1229
|
+
provide: FLOATING_LABEL_PARENT,
|
|
1230
|
+
useExisting: MatFormField
|
|
1231
|
+
}],
|
|
1232
|
+
imports: [MatFormFieldFloatingLabel, MatFormFieldNotchedOutline, NgTemplateOutlet, MatFormFieldLineRipple, MatHint],
|
|
1233
|
+
template: "<ng-template #labelTemplate>\n <!--\n MDC recommends that the text-field is a `<label>` element. This rather complicates the\n setup because it would require every form-field control to explicitly set `aria-labelledby`.\n This is because the `<label>` itself contains more than the actual label (e.g. prefix, suffix\n or other projected content), and screen readers could potentially read out undesired content.\n Excluding elements from being printed out requires them to be marked with `aria-hidden`, or\n the form control is set to a scoped element for the label (using `aria-labelledby`). Both of\n these options seem to complicate the setup because we know exactly what content is rendered\n as part of the label, and we don't want to spend resources on walking through projected content\n to set `aria-hidden`. Nor do we want to set `aria-labelledby` on every form control if we could\n simply link the label to the control using the label `for` attribute.\n -->\n @if (_hasFloatingLabel()) {\n <label\n matFormFieldFloatingLabel\n [floating]=\"_shouldLabelFloat()\"\n [monitorResize]=\"_hasOutline()\"\n [id]=\"_labelId\"\n [attr.for]=\"_control.disableAutomaticLabeling ? null : _control.id\"\n >\n <ng-content select=\"mat-label\"></ng-content>\n <!--\n We set the required marker as a separate element, in order to make it easier to target if\n apps want to override it and to be able to set `aria-hidden` so that screen readers don't\n pick it up.\n -->\n @if (!hideRequiredMarker && _control.required) {\n <span\n aria-hidden=\"true\"\n class=\"mat-mdc-form-field-required-marker mdc-floating-label--required\"\n ></span>\n }\n </label>\n }\n</ng-template>\n\n<div\n class=\"mat-mdc-text-field-wrapper mdc-text-field\"\n #textField\n [class.mdc-text-field--filled]=\"!_hasOutline()\"\n [class.mdc-text-field--outlined]=\"_hasOutline()\"\n [class.mdc-text-field--no-label]=\"!_hasFloatingLabel()\"\n [class.mdc-text-field--disabled]=\"_control.disabled\"\n [class.mdc-text-field--invalid]=\"_control.errorState\"\n (click)=\"_control.onContainerClick($event)\"\n>\n @if (!_hasOutline() && !_control.disabled) {\n <div class=\"mat-mdc-form-field-focus-overlay\"></div>\n }\n <div class=\"mat-mdc-form-field-flex\">\n @if (_hasOutline()) {\n <div matFormFieldNotchedOutline [matFormFieldNotchedOutlineOpen]=\"_shouldLabelFloat()\">\n @if (!_forceDisplayInfixLabel()) {\n <ng-template [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n }\n </div>\n }\n\n @if (_hasIconPrefix) {\n <div class=\"mat-mdc-form-field-icon-prefix\" #iconPrefixContainer>\n <ng-content select=\"[matPrefix], [matIconPrefix]\"></ng-content>\n </div>\n }\n\n @if (_hasTextPrefix) {\n <div class=\"mat-mdc-form-field-text-prefix\" #textPrefixContainer>\n <ng-content select=\"[matTextPrefix]\"></ng-content>\n </div>\n }\n\n <div class=\"mat-mdc-form-field-infix\">\n @if (!_hasOutline() || _forceDisplayInfixLabel()) {\n <ng-template [ngTemplateOutlet]=\"labelTemplate\"></ng-template>\n }\n\n <ng-content></ng-content>\n </div>\n\n @if (_hasTextSuffix) {\n <div class=\"mat-mdc-form-field-text-suffix\" #textSuffixContainer>\n <ng-content select=\"[matTextSuffix]\"></ng-content>\n </div>\n }\n\n @if (_hasIconSuffix) {\n <div class=\"mat-mdc-form-field-icon-suffix\" #iconSuffixContainer>\n <ng-content select=\"[matSuffix], [matIconSuffix]\"></ng-content>\n </div>\n }\n </div>\n\n @if (!_hasOutline()) {\n <div matFormFieldLineRipple></div>\n }\n</div>\n\n<div aria-atomic=\"true\" aria-live=\"polite\"\n class=\"mat-mdc-form-field-subscript-wrapper mat-mdc-form-field-bottom-align\"\n [class.mat-mdc-form-field-subscript-dynamic-size]=\"subscriptSizing === 'dynamic'\"\n>\n @let subscriptMessageType = _getSubscriptMessageType();\n\n @switch (subscriptMessageType) {\n @case ('error') {\n <div class=\"mat-mdc-form-field-error-wrapper\">\n <ng-content select=\"mat-error, [matError]\"></ng-content>\n </div>\n }\n\n @case ('hint') {\n <div class=\"mat-mdc-form-field-hint-wrapper\">\n @if (hintLabel) {\n <mat-hint [id]=\"_hintLabelId\">{{hintLabel}}</mat-hint>\n }\n <ng-content select=\"mat-hint:not([align='end'])\"></ng-content>\n <div class=\"mat-mdc-form-field-hint-spacer\"></div>\n <ng-content select=\"mat-hint[align='end']\"></ng-content>\n </div>\n }\n }\n</div>\n",
|
|
1234
|
+
styles: [".mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:\"*\"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:\"\"}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:\"\";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:\"\";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n"]
|
|
1235
|
+
}]
|
|
1236
|
+
}],
|
|
1237
|
+
ctorParameters: () => [],
|
|
1238
|
+
propDecorators: {
|
|
1239
|
+
_textField: [{
|
|
1240
|
+
type: ViewChild,
|
|
1241
|
+
args: ['textField']
|
|
1242
|
+
}],
|
|
1243
|
+
_iconPrefixContainer: [{
|
|
1244
|
+
type: ViewChild,
|
|
1245
|
+
args: ['iconPrefixContainer']
|
|
1246
|
+
}],
|
|
1247
|
+
_textPrefixContainer: [{
|
|
1248
|
+
type: ViewChild,
|
|
1249
|
+
args: ['textPrefixContainer']
|
|
1250
|
+
}],
|
|
1251
|
+
_iconSuffixContainer: [{
|
|
1252
|
+
type: ViewChild,
|
|
1253
|
+
args: ['iconSuffixContainer']
|
|
1254
|
+
}],
|
|
1255
|
+
_textSuffixContainer: [{
|
|
1256
|
+
type: ViewChild,
|
|
1257
|
+
args: ['textSuffixContainer']
|
|
1258
|
+
}],
|
|
1259
|
+
_floatingLabel: [{
|
|
1260
|
+
type: ViewChild,
|
|
1261
|
+
args: [MatFormFieldFloatingLabel]
|
|
1262
|
+
}],
|
|
1263
|
+
_notchedOutline: [{
|
|
1264
|
+
type: ViewChild,
|
|
1265
|
+
args: [MatFormFieldNotchedOutline]
|
|
1266
|
+
}],
|
|
1267
|
+
_lineRipple: [{
|
|
1268
|
+
type: ViewChild,
|
|
1269
|
+
args: [MatFormFieldLineRipple]
|
|
1270
|
+
}],
|
|
1271
|
+
_iconPrefixContainerSignal: [{
|
|
1272
|
+
type: i0.ViewChild,
|
|
1273
|
+
args: ['iconPrefixContainer', {
|
|
1274
|
+
isSignal: true
|
|
1275
|
+
}]
|
|
1276
|
+
}],
|
|
1277
|
+
_textPrefixContainerSignal: [{
|
|
1278
|
+
type: i0.ViewChild,
|
|
1279
|
+
args: ['textPrefixContainer', {
|
|
1280
|
+
isSignal: true
|
|
1281
|
+
}]
|
|
1282
|
+
}],
|
|
1283
|
+
_iconSuffixContainerSignal: [{
|
|
1284
|
+
type: i0.ViewChild,
|
|
1285
|
+
args: ['iconSuffixContainer', {
|
|
1286
|
+
isSignal: true
|
|
1287
|
+
}]
|
|
1288
|
+
}],
|
|
1289
|
+
_textSuffixContainerSignal: [{
|
|
1290
|
+
type: i0.ViewChild,
|
|
1291
|
+
args: ['textSuffixContainer', {
|
|
1292
|
+
isSignal: true
|
|
1293
|
+
}]
|
|
1294
|
+
}],
|
|
1295
|
+
_formFieldControl: [{
|
|
1296
|
+
type: ContentChild,
|
|
1297
|
+
args: [MatFormFieldControl]
|
|
1298
|
+
}],
|
|
1299
|
+
_prefixChildren: [{
|
|
1300
|
+
type: ContentChildren,
|
|
1301
|
+
args: [MAT_PREFIX, {
|
|
1302
|
+
descendants: true
|
|
1303
|
+
}]
|
|
1304
|
+
}],
|
|
1305
|
+
_suffixChildren: [{
|
|
1306
|
+
type: ContentChildren,
|
|
1307
|
+
args: [MAT_SUFFIX, {
|
|
1308
|
+
descendants: true
|
|
1309
|
+
}]
|
|
1310
|
+
}],
|
|
1311
|
+
_errorChildren: [{
|
|
1312
|
+
type: ContentChildren,
|
|
1313
|
+
args: [MAT_ERROR, {
|
|
1314
|
+
descendants: true
|
|
1315
|
+
}]
|
|
1316
|
+
}],
|
|
1317
|
+
_hintChildren: [{
|
|
1318
|
+
type: ContentChildren,
|
|
1319
|
+
args: [MatHint, {
|
|
1320
|
+
descendants: true
|
|
1321
|
+
}]
|
|
1322
|
+
}],
|
|
1323
|
+
_labelChild: [{
|
|
1324
|
+
type: i0.ContentChild,
|
|
1325
|
+
args: [i0.forwardRef(() => MatLabel), {
|
|
1326
|
+
isSignal: true
|
|
1327
|
+
}]
|
|
1328
|
+
}],
|
|
1329
|
+
hideRequiredMarker: [{
|
|
1330
|
+
type: Input
|
|
1331
|
+
}],
|
|
1332
|
+
color: [{
|
|
1333
|
+
type: Input
|
|
1334
|
+
}],
|
|
1335
|
+
floatLabel: [{
|
|
1336
|
+
type: Input
|
|
1337
|
+
}],
|
|
1338
|
+
appearance: [{
|
|
1339
|
+
type: Input
|
|
1340
|
+
}],
|
|
1341
|
+
subscriptSizing: [{
|
|
1342
|
+
type: Input
|
|
1343
|
+
}],
|
|
1344
|
+
hintLabel: [{
|
|
1345
|
+
type: Input
|
|
1346
|
+
}]
|
|
1347
|
+
}
|
|
1348
|
+
});
|
|
1349
|
+
|
|
1350
|
+
export { MAT_ERROR, MAT_FORM_FIELD, MAT_FORM_FIELD_DEFAULT_OPTIONS, MAT_PREFIX, MAT_SUFFIX, MatError, MatFormField, MatFormFieldControl, MatHint, MatLabel, MatPrefix, MatSuffix, getMatFormFieldDuplicatedHintError, getMatFormFieldMissingControlError, getMatFormFieldPlaceholderConflictError };
|
|
1351
|
+
//# sourceMappingURL=_form-field-chunk.mjs.map
|