@angular/material 13.0.0-next.4 → 13.0.0-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autocomplete/autocomplete-module.d.ts +11 -7
- package/autocomplete/autocomplete-origin.d.ts +5 -0
- package/autocomplete/autocomplete-trigger.d.ts +5 -0
- package/autocomplete/autocomplete.d.ts +6 -1
- package/autocomplete/package.json +5 -5
- package/autocomplete/testing/package.json +5 -5
- package/badge/badge-module.d.ts +7 -7
- package/badge/badge.d.ts +19 -15
- package/badge/package.json +5 -5
- package/badge/testing/package.json +5 -5
- package/bottom-sheet/bottom-sheet-container.d.ts +6 -3
- package/bottom-sheet/bottom-sheet-module.d.ts +8 -7
- package/bottom-sheet/bottom-sheet.d.ts +3 -7
- package/bottom-sheet/package.json +5 -5
- package/bottom-sheet/testing/package.json +5 -5
- package/button/button-module.d.ts +6 -7
- package/button/button.d.ts +6 -1
- package/button/package.json +5 -5
- package/button/testing/package.json +5 -5
- package/button-toggle/button-toggle-module.d.ts +6 -7
- package/button-toggle/button-toggle.d.ts +6 -1
- package/button-toggle/package.json +5 -5
- package/button-toggle/testing/package.json +5 -5
- package/card/card-module.d.ts +6 -7
- package/card/card.d.ts +29 -7
- package/card/package.json +5 -5
- package/card/testing/package.json +5 -5
- package/checkbox/checkbox-module.d.ts +11 -7
- package/checkbox/checkbox-required-validator.d.ts +3 -0
- package/checkbox/checkbox.d.ts +4 -1
- package/checkbox/package.json +5 -5
- package/checkbox/testing/package.json +5 -5
- package/chips/chip-input.d.ts +3 -0
- package/chips/chip-list.d.ts +4 -1
- package/chips/chip.d.ts +10 -1
- package/chips/chips-module.d.ts +8 -7
- package/chips/package.json +5 -5
- package/chips/testing/package.json +5 -5
- package/core/common-behaviors/color.d.ts +2 -6
- package/core/common-behaviors/common-module.d.ts +5 -4
- package/core/common-behaviors/disable-ripple.d.ts +2 -6
- package/core/common-behaviors/disabled.d.ts +2 -6
- package/core/common-behaviors/error-state.d.ts +2 -6
- package/core/common-behaviors/index.d.ts +7 -6
- package/core/common-behaviors/initialized.d.ts +2 -6
- package/core/common-behaviors/tabindex.d.ts +2 -6
- package/core/datetime/index.d.ts +8 -7
- package/core/datetime/native-date-adapter.d.ts +3 -0
- package/core/error/error-options.d.ts +5 -7
- package/core/index.d.ts +0 -1
- package/core/line/line.d.ts +7 -0
- package/core/option/index.d.ts +10 -7
- package/core/option/optgroup.d.ts +6 -1
- package/core/option/option.d.ts +5 -0
- package/core/package.json +5 -5
- package/core/ripple/index.d.ts +7 -7
- package/core/ripple/ripple.d.ts +3 -0
- package/core/selection/index.d.ts +6 -7
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +3 -7
- package/core/testing/package.json +5 -5
- package/core/typography/_typography.scss +7 -2
- package/datepicker/_datepicker-theme.scss +1 -4
- package/datepicker/calendar-body.d.ts +3 -0
- package/datepicker/calendar.d.ts +5 -0
- package/datepicker/date-range-input-parts.d.ts +8 -1
- package/datepicker/date-range-input.d.ts +3 -0
- package/datepicker/date-range-picker.d.ts +3 -7
- package/datepicker/date-range-selection-strategy.d.ts +3 -0
- package/datepicker/date-selection-model.d.ts +7 -0
- package/datepicker/datepicker-actions.d.ts +7 -0
- package/datepicker/datepicker-base.d.ts +7 -12
- package/datepicker/datepicker-input-base.d.ts +3 -0
- package/datepicker/datepicker-input.d.ts +3 -0
- package/datepicker/datepicker-intl.d.ts +3 -7
- package/datepicker/datepicker-module.d.ts +24 -7
- package/datepicker/datepicker-toggle.d.ts +5 -0
- package/datepicker/datepicker.d.ts +3 -7
- package/datepicker/index.d.ts +0 -4
- package/datepicker/month-view.d.ts +3 -7
- package/datepicker/multi-year-view.d.ts +3 -7
- package/datepicker/package.json +5 -5
- package/datepicker/testing/package.json +5 -5
- package/datepicker/year-view.d.ts +3 -7
- package/dialog/dialog-container.d.ts +5 -0
- package/dialog/dialog-content-directives.d.ts +9 -0
- package/dialog/dialog-module.d.ts +9 -7
- package/dialog/dialog.d.ts +5 -7
- package/dialog/package.json +5 -5
- package/dialog/testing/dialog-harness.d.ts +14 -11
- package/dialog/testing/package.json +5 -5
- package/divider/divider-module.d.ts +6 -7
- package/divider/divider.d.ts +3 -7
- package/divider/package.json +5 -5
- package/divider/testing/package.json +5 -5
- package/esm2020/autocomplete/autocomplete-module.mjs +58 -0
- package/esm2020/autocomplete/autocomplete-origin.mjs +38 -0
- package/esm2020/autocomplete/autocomplete-trigger.mjs +651 -0
- package/esm2020/autocomplete/autocomplete.mjs +216 -0
- package/{esm2015/autocomplete/index.js → esm2020/autocomplete/index.mjs} +0 -0
- package/{esm2015/autocomplete/public-api.js → esm2020/autocomplete/public-api.mjs} +0 -0
- package/{esm2015/autocomplete/testing/autocomplete-harness-filters.js → esm2020/autocomplete/testing/autocomplete-harness-filters.mjs} +0 -0
- package/esm2020/autocomplete/testing/autocomplete-harness.mjs +101 -0
- package/{esm2015/autocomplete/testing/index.js → esm2020/autocomplete/testing/index.mjs} +0 -0
- package/{esm2015/autocomplete/testing/public-api.js → esm2020/autocomplete/testing/public-api.mjs} +0 -0
- package/esm2020/badge/badge-module.mjs +33 -0
- package/esm2020/badge/badge.mjs +228 -0
- package/{esm2015/badge/index.js → esm2020/badge/index.mjs} +0 -0
- package/{esm2015/badge/public-api.js → esm2020/badge/public-api.mjs} +0 -0
- package/{esm2015/badge/testing/badge-harness-filters.js → esm2020/badge/testing/badge-harness-filters.mjs} +0 -0
- package/esm2020/badge/testing/badge-harness.mjs +72 -0
- package/{esm2015/badge/testing/index.js → esm2020/badge/testing/index.mjs} +0 -0
- package/{esm2015/badge/testing/public-api.js → esm2020/badge/testing/public-api.mjs} +0 -0
- package/{esm2015/bottom-sheet/bottom-sheet-animations.js → esm2020/bottom-sheet/bottom-sheet-animations.mjs} +0 -0
- package/{esm2015/bottom-sheet/bottom-sheet-config.js → esm2020/bottom-sheet/bottom-sheet-config.mjs} +0 -0
- package/esm2020/bottom-sheet/bottom-sheet-container.mjs +230 -0
- package/esm2020/bottom-sheet/bottom-sheet-module.mjs +38 -0
- package/esm2020/bottom-sheet/bottom-sheet-ref.mjs +91 -0
- package/esm2020/bottom-sheet/bottom-sheet.mjs +172 -0
- package/{esm2015/bottom-sheet/index.js → esm2020/bottom-sheet/index.mjs} +0 -0
- package/{esm2015/bottom-sheet/public-api.js → esm2020/bottom-sheet/public-api.mjs} +0 -0
- package/{esm2015/bottom-sheet/testing/bottom-sheet-harness-filters.js → esm2020/bottom-sheet/testing/bottom-sheet-harness-filters.mjs} +0 -0
- package/esm2020/bottom-sheet/testing/bottom-sheet-harness.mjs +35 -0
- package/{esm2015/bottom-sheet/testing/index.js → esm2020/bottom-sheet/testing/index.mjs} +0 -0
- package/{esm2015/bottom-sheet/testing/public-api.js → esm2020/bottom-sheet/testing/public-api.mjs} +0 -0
- package/esm2020/button/button-module.mjs +42 -0
- package/esm2020/button/button.mjs +153 -0
- package/{esm2015/button/index.js → esm2020/button/index.mjs} +0 -0
- package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
- package/{esm2015/button/testing/button-harness-filters.js → esm2020/button/testing/button-harness-filters.mjs} +0 -0
- package/esm2020/button/testing/button-harness.mjs +51 -0
- package/{esm2015/button/testing/index.js → esm2020/button/testing/index.mjs} +0 -0
- package/{esm2015/button/testing/public-api.js → esm2020/button/testing/public-api.mjs} +0 -0
- package/esm2020/button-toggle/button-toggle-module.mjs +25 -0
- package/esm2020/button-toggle/button-toggle.mjs +470 -0
- package/{esm2015/button-toggle/index.js → esm2020/button-toggle/index.mjs} +0 -0
- package/{esm2015/button-toggle/public-api.js → esm2020/button-toggle/public-api.mjs} +0 -0
- package/{esm2015/button-toggle/testing/button-toggle-group-harness-filters.js → esm2020/button-toggle/testing/button-toggle-group-harness-filters.mjs} +0 -0
- package/esm2020/button-toggle/testing/button-toggle-group-harness.mjs +45 -0
- package/{esm2015/button-toggle/testing/button-toggle-harness-filters.js → esm2020/button-toggle/testing/button-toggle-harness-filters.mjs} +0 -0
- package/esm2020/button-toggle/testing/button-toggle-harness.mjs +98 -0
- package/{esm2015/button-toggle/testing/index.js → esm2020/button-toggle/testing/index.mjs} +0 -0
- package/{esm2015/button-toggle/testing/public-api.js → esm2020/button-toggle/testing/public-api.mjs} +0 -0
- package/esm2020/card/card-module.mjs +61 -0
- package/esm2020/card/card.mjs +247 -0
- package/{esm2015/card/index.js → esm2020/card/index.mjs} +0 -0
- package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
- package/{esm2015/card/testing/card-harness-filters.js → esm2020/card/testing/card-harness-filters.mjs} +0 -0
- package/esm2020/card/testing/card-harness.mjs +43 -0
- package/{esm2015/card/testing/index.js → esm2020/card/testing/index.mjs} +0 -0
- package/{esm2015/card/testing/public-api.js → esm2020/card/testing/public-api.mjs} +0 -0
- package/{esm2015/checkbox/checkbox-config.js → esm2020/checkbox/checkbox-config.mjs} +0 -0
- package/esm2020/checkbox/checkbox-module.mjs +46 -0
- package/esm2020/checkbox/checkbox-required-validator.mjs +33 -0
- package/esm2020/checkbox/checkbox.mjs +403 -0
- package/{esm2015/checkbox/index.js → esm2020/checkbox/index.mjs} +0 -0
- package/{esm2015/checkbox/public-api.js → esm2020/checkbox/public-api.mjs} +0 -0
- package/{esm2015/checkbox/testing/checkbox-harness-filters.js → esm2020/checkbox/testing/checkbox-harness-filters.mjs} +0 -0
- package/esm2020/checkbox/testing/checkbox-harness.mjs +123 -0
- package/{esm2015/checkbox/testing/index.js → esm2020/checkbox/testing/index.mjs} +0 -0
- package/{esm2015/checkbox/testing/public-api.js → esm2020/checkbox/testing/public-api.mjs} +0 -0
- package/{esm2015/chips/chip-default-options.js → esm2020/chips/chip-default-options.mjs} +0 -0
- package/esm2020/chips/chip-input.mjs +192 -0
- package/esm2020/chips/chip-list.mjs +673 -0
- package/{esm2015/chips/chip-text-control.js → esm2020/chips/chip-text-control.mjs} +0 -0
- package/esm2020/chips/chip.mjs +415 -0
- package/esm2020/chips/chips-module.mjs +64 -0
- package/{esm2015/chips/index.js → esm2020/chips/index.mjs} +0 -0
- package/{esm2015/chips/public-api.js → esm2020/chips/public-api.mjs} +0 -0
- package/{esm2015/chips/testing/chip-avatar-harness.js → esm2020/chips/testing/chip-avatar-harness.mjs} +0 -0
- package/{esm2015/chips/testing/chip-harness-filters.js → esm2020/chips/testing/chip-harness-filters.mjs} +0 -0
- package/esm2020/chips/testing/chip-harness.mjs +91 -0
- package/esm2020/chips/testing/chip-input-harness.mjs +82 -0
- package/esm2020/chips/testing/chip-list-harness.mjs +82 -0
- package/esm2020/chips/testing/chip-listbox-harness.mjs +44 -0
- package/esm2020/chips/testing/chip-option-harness.mjs +45 -0
- package/esm2020/chips/testing/chip-remove-harness.mjs +26 -0
- package/{esm2015/chips/testing/index.js → esm2020/chips/testing/index.mjs} +0 -0
- package/{esm2015/chips/testing/public-api.js → esm2020/chips/testing/public-api.mjs} +0 -0
- package/{esm2015/core/animation/animation.js → esm2020/core/animation/animation.mjs} +0 -0
- package/esm2020/core/common-behaviors/color.mjs +31 -0
- package/esm2020/core/common-behaviors/common-module.mjs +122 -0
- package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
- package/esm2020/core/common-behaviors/disable-ripple.mjs +20 -0
- package/esm2020/core/common-behaviors/disabled.mjs +19 -0
- package/esm2020/core/common-behaviors/error-state.mjs +36 -0
- package/esm2020/core/common-behaviors/index.mjs +15 -0
- package/esm2020/core/common-behaviors/initialized.mjs +58 -0
- package/esm2020/core/common-behaviors/tabindex.mjs +23 -0
- package/{esm2015/core/datetime/date-adapter.js → esm2020/core/datetime/date-adapter.mjs} +0 -0
- package/{esm2015/core/datetime/date-formats.js → esm2020/core/datetime/date-formats.mjs} +0 -0
- package/esm2020/core/datetime/index.mjs +47 -0
- package/esm2020/core/datetime/native-date-adapter.mjs +218 -0
- package/{esm2015/core/datetime/native-date-formats.js → esm2020/core/datetime/native-date-formats.mjs} +0 -0
- package/esm2020/core/error/error-options.mjs +33 -0
- package/esm2020/core/index.mjs +5 -0
- package/esm2020/core/line/line.mjs +64 -0
- package/esm2020/core/option/index.mjs +32 -0
- package/esm2020/core/option/optgroup.mjs +73 -0
- package/{esm2015/core/option/option-parent.js → esm2020/core/option/option-parent.mjs} +0 -0
- package/esm2020/core/option/option.mjs +276 -0
- package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
- package/esm2020/core/ripple/index.mjs +29 -0
- package/{esm2015/core/ripple/ripple-ref.js → esm2020/core/ripple/ripple-ref.mjs} +0 -0
- package/esm2020/core/ripple/ripple-renderer.mjs +261 -0
- package/esm2020/core/ripple/ripple.mjs +152 -0
- package/esm2020/core/selection/index.mjs +26 -0
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +54 -0
- package/{esm2015/core/testing/index.js → esm2020/core/testing/index.mjs} +0 -0
- package/{esm2015/core/testing/optgroup-harness-filters.js → esm2020/core/testing/optgroup-harness-filters.mjs} +0 -0
- package/esm2020/core/testing/optgroup-harness.mjs +44 -0
- package/{esm2015/core/testing/option-harness-filters.js → esm2020/core/testing/option-harness-filters.mjs} +0 -0
- package/esm2020/core/testing/option-harness.mjs +54 -0
- package/{esm2015/core/testing/public-api.js → esm2020/core/testing/public-api.mjs} +0 -0
- package/esm2020/core/version.mjs +11 -0
- package/esm2020/datepicker/calendar-body.mjs +298 -0
- package/esm2020/datepicker/calendar.mjs +354 -0
- package/esm2020/datepicker/date-range-input-parts.mjs +342 -0
- package/esm2020/datepicker/date-range-input.mjs +331 -0
- package/esm2020/datepicker/date-range-picker.mjs +48 -0
- package/esm2020/datepicker/date-range-selection-strategy.mjs +59 -0
- package/esm2020/datepicker/date-selection-model.mjs +187 -0
- package/esm2020/datepicker/datepicker-actions.mjs +89 -0
- package/{esm2015/datepicker/datepicker-animations.js → esm2020/datepicker/datepicker-animations.mjs} +0 -0
- package/esm2020/datepicker/datepicker-base.mjs +549 -0
- package/{esm2015/datepicker/datepicker-errors.js → esm2020/datepicker/datepicker-errors.mjs} +0 -0
- package/esm2020/datepicker/datepicker-input-base.mjs +298 -0
- package/esm2020/datepicker/datepicker-input.mjs +183 -0
- package/esm2020/datepicker/datepicker-intl.mjs +53 -0
- package/esm2020/datepicker/datepicker-module.mjs +148 -0
- package/esm2020/datepicker/datepicker-toggle.mjs +113 -0
- package/esm2020/datepicker/datepicker.mjs +37 -0
- package/esm2020/datepicker/index.mjs +5 -0
- package/esm2020/datepicker/month-view.mjs +364 -0
- package/esm2020/datepicker/multi-year-view.mjs +289 -0
- package/{esm2015/datepicker/public-api.js → esm2020/datepicker/public-api.mjs} +0 -0
- package/esm2020/datepicker/testing/calendar-cell-harness.mjs +138 -0
- package/esm2020/datepicker/testing/calendar-harness.mjs +76 -0
- package/esm2020/datepicker/testing/date-range-input-harness.mjs +99 -0
- package/{esm2015/datepicker/testing/datepicker-harness-filters.js → esm2020/datepicker/testing/datepicker-harness-filters.mjs} +0 -0
- package/esm2020/datepicker/testing/datepicker-input-harness-base.mjs +81 -0
- package/esm2020/datepicker/testing/datepicker-input-harness.mjs +58 -0
- package/esm2020/datepicker/testing/datepicker-toggle-harness.mjs +41 -0
- package/esm2020/datepicker/testing/datepicker-trigger-harness-base.mjs +65 -0
- package/{esm2015/datepicker/testing/index.js → esm2020/datepicker/testing/index.mjs} +0 -0
- package/{esm2015/datepicker/testing/public-api.js → esm2020/datepicker/testing/public-api.mjs} +0 -0
- package/esm2020/datepicker/year-view.mjs +281 -0
- package/{esm2015/dialog/dialog-animations.js → esm2020/dialog/dialog-animations.mjs} +0 -0
- package/{esm2015/dialog/dialog-config.js → esm2020/dialog/dialog-config.mjs} +0 -0
- package/esm2020/dialog/dialog-container.mjs +282 -0
- package/esm2020/dialog/dialog-content-directives.mjs +172 -0
- package/esm2020/dialog/dialog-module.mjs +69 -0
- package/esm2020/dialog/dialog-ref.mjs +196 -0
- package/esm2020/dialog/dialog.mjs +358 -0
- package/{esm2015/dialog/index.js → esm2020/dialog/index.mjs} +0 -0
- package/{esm2015/dialog/public-api.js → esm2020/dialog/public-api.mjs} +0 -0
- package/{esm2015/dialog/testing/dialog-harness-filters.js → esm2020/dialog/testing/dialog-harness-filters.mjs} +0 -0
- package/esm2020/dialog/testing/dialog-harness.mjs +83 -0
- package/{esm2015/dialog/testing/index.js → esm2020/dialog/testing/index.mjs} +0 -0
- package/{esm2015/dialog/testing/public-api.js → esm2020/dialog/testing/public-api.mjs} +0 -0
- package/esm2020/divider/divider-module.mjs +25 -0
- package/esm2020/divider/divider.mjs +40 -0
- package/{esm2015/divider/index.js → esm2020/divider/index.mjs} +0 -0
- package/{esm2015/divider/public-api.js → esm2020/divider/public-api.mjs} +0 -0
- package/{esm2015/divider/testing/divider-harness-filters.js → esm2020/divider/testing/divider-harness-filters.mjs} +0 -0
- package/esm2020/divider/testing/divider-harness.mjs +22 -0
- package/{esm2015/divider/testing/index.js → esm2020/divider/testing/index.mjs} +0 -0
- package/{esm2015/divider/testing/public-api.js → esm2020/divider/testing/public-api.mjs} +0 -0
- package/{esm2015/expansion/accordion-base.js → esm2020/expansion/accordion-base.mjs} +0 -0
- package/esm2020/expansion/accordion.mjs +93 -0
- package/{esm2015/expansion/expansion-animations.js → esm2020/expansion/expansion-animations.mjs} +0 -0
- package/esm2020/expansion/expansion-module.mjs +59 -0
- package/esm2020/expansion/expansion-panel-content.mjs +27 -0
- package/esm2020/expansion/expansion-panel-header.mjs +226 -0
- package/esm2020/expansion/expansion-panel.mjs +195 -0
- package/{esm2015/expansion/index.js → esm2020/expansion/index.mjs} +0 -0
- package/{esm2015/expansion/public-api.js → esm2020/expansion/public-api.mjs} +0 -0
- package/esm2020/expansion/testing/accordion-harness.mjs +31 -0
- package/{esm2015/expansion/testing/expansion-harness-filters.js → esm2020/expansion/testing/expansion-harness-filters.mjs} +0 -0
- package/esm2020/expansion/testing/expansion-harness.mjs +120 -0
- package/{esm2015/expansion/testing/index.js → esm2020/expansion/testing/index.mjs} +0 -0
- package/{esm2015/expansion/testing/public-api.js → esm2020/expansion/testing/public-api.mjs} +0 -0
- package/esm2020/form-field/error.mjs +47 -0
- package/{esm2015/form-field/form-field-animations.js → esm2020/form-field/form-field-animations.mjs} +0 -0
- package/esm2020/form-field/form-field-control.mjs +11 -0
- package/{esm2015/form-field/form-field-errors.js → esm2020/form-field/form-field-errors.mjs} +0 -0
- package/esm2020/form-field/form-field-module.mjs +73 -0
- package/esm2020/form-field/form-field.mjs +510 -0
- package/esm2020/form-field/hint.mjs +49 -0
- package/{esm2015/form-field/index.js → esm2020/form-field/index.mjs} +0 -0
- package/esm2020/form-field/label.mjs +21 -0
- package/esm2020/form-field/placeholder.mjs +26 -0
- package/esm2020/form-field/prefix.mjs +28 -0
- package/{esm2015/form-field/public-api.js → esm2020/form-field/public-api.mjs} +0 -0
- package/esm2020/form-field/suffix.mjs +28 -0
- package/{esm2015/form-field/testing/control/form-field-control-harness.js → esm2020/form-field/testing/control/form-field-control-harness.mjs} +0 -0
- package/{esm2015/form-field/testing/control/index.js → esm2020/form-field/testing/control/index.mjs} +0 -0
- package/{esm2015/form-field/testing/form-field-harness-filters.js → esm2020/form-field/testing/form-field-harness-filters.mjs} +0 -0
- package/esm2020/form-field/testing/form-field-harness.mjs +181 -0
- package/{esm2015/form-field/testing/index.js → esm2020/form-field/testing/index.mjs} +0 -0
- package/{esm2015/form-field/testing/public-api.js → esm2020/form-field/testing/public-api.mjs} +0 -0
- package/{esm2015/grid-list/grid-list-base.js → esm2020/grid-list/grid-list-base.mjs} +0 -0
- package/esm2020/grid-list/grid-list-module.mjs +55 -0
- package/esm2020/grid-list/grid-list.mjs +135 -0
- package/esm2020/grid-list/grid-tile.mjs +117 -0
- package/esm2020/grid-list/index.mjs +5 -0
- package/{esm2015/grid-list/public-api.js → esm2020/grid-list/public-api.mjs} +0 -0
- package/{esm2015/grid-list/testing/grid-list-harness-filters.js → esm2020/grid-list/testing/grid-list-harness-filters.mjs} +0 -0
- package/esm2020/grid-list/testing/grid-list-harness.mjs +72 -0
- package/esm2020/grid-list/testing/grid-tile-harness.mjs +65 -0
- package/{esm2015/grid-list/testing/index.js → esm2020/grid-list/testing/index.mjs} +0 -0
- package/{esm2015/grid-list/testing/public-api.js → esm2020/grid-list/testing/public-api.mjs} +0 -0
- package/{esm2015/grid-list/tile-coordinator.js → esm2020/grid-list/tile-coordinator.mjs} +0 -0
- package/{esm2015/grid-list/tile-styler.js → esm2020/grid-list/tile-styler.mjs} +0 -0
- package/{esm2015/icon/fake-svgs.js → esm2020/icon/fake-svgs.mjs} +0 -0
- package/esm2020/icon/icon-module.mjs +25 -0
- package/esm2020/icon/icon-registry.mjs +582 -0
- package/esm2020/icon/icon.mjs +357 -0
- package/{esm2015/icon/index.js → esm2020/icon/index.mjs} +0 -0
- package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
- package/esm2020/icon/testing/fake-icon-registry.mjs +92 -0
- package/{esm2015/icon/testing/icon-harness-filters.js → esm2020/icon/testing/icon-harness-filters.mjs} +0 -0
- package/esm2020/icon/testing/icon-harness.mjs +54 -0
- package/{esm2015/icon/testing/index.js → esm2020/icon/testing/index.mjs} +0 -0
- package/{esm2015/icon/testing/public-api.js → esm2020/icon/testing/public-api.mjs} +0 -0
- package/esm2020/icon/trusted-types.mjs +43 -0
- package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- package/{esm2015/input/index.js → esm2020/input/index.mjs} +0 -0
- package/{esm2015/input/input-errors.js → esm2020/input/input-errors.mjs} +0 -0
- package/esm2020/input/input-module.mjs +51 -0
- package/{esm2015/input/input-value-accessor.js → esm2020/input/input-value-accessor.mjs} +0 -0
- package/esm2020/input/input.mjs +428 -0
- package/esm2020/input/public-api.mjs +12 -0
- package/{esm2015/input/testing/index.js → esm2020/input/testing/index.mjs} +0 -0
- package/{esm2015/input/testing/input-harness-filters.js → esm2020/input/testing/input-harness-filters.mjs} +0 -0
- package/esm2020/input/testing/input-harness.mjs +113 -0
- package/esm2020/input/testing/native-option-harness.mjs +42 -0
- package/{esm2015/input/testing/native-select-harness-filters.js → esm2020/input/testing/native-select-harness-filters.mjs} +0 -0
- package/esm2020/input/testing/native-select-harness.mjs +79 -0
- package/{esm2015/input/testing/public-api.js → esm2020/input/testing/public-api.mjs} +0 -0
- package/{esm2015/list/index.js → esm2020/list/index.mjs} +0 -0
- package/esm2020/list/list-module.mjs +71 -0
- package/esm2020/list/list.mjs +216 -0
- package/{esm2015/list/public-api.js → esm2020/list/public-api.mjs} +0 -0
- package/esm2020/list/selection-list.mjs +612 -0
- package/esm2020/list/testing/action-list-harness.mjs +59 -0
- package/{esm2015/list/testing/index.js → esm2020/list/testing/index.mjs} +0 -0
- package/esm2020/list/testing/list-harness-base.mjs +88 -0
- package/{esm2015/list/testing/list-harness-filters.js → esm2020/list/testing/list-harness-filters.mjs} +0 -0
- package/{esm2015/list/testing/list-harness.js → esm2020/list/testing/list-harness.mjs} +0 -0
- package/esm2020/list/testing/list-item-harness-base.mjs +72 -0
- package/esm2020/list/testing/nav-list-harness.mjs +64 -0
- package/{esm2015/list/testing/public-api.js → esm2020/list/testing/public-api.mjs} +0 -0
- package/esm2020/list/testing/selection-list-harness.mjs +125 -0
- package/esm2020/menu/index.mjs +5 -0
- package/{esm2015/menu/menu-animations.js → esm2020/menu/menu-animations.mjs} +0 -0
- package/esm2020/menu/menu-content.mjs +97 -0
- package/{esm2015/menu/menu-errors.js → esm2020/menu/menu-errors.mjs} +0 -0
- package/esm2020/menu/menu-item.mjs +164 -0
- package/esm2020/menu/menu-module.mjs +58 -0
- package/{esm2015/menu/menu-panel.js → esm2020/menu/menu-panel.mjs} +0 -0
- package/{esm2015/menu/menu-positions.js → esm2020/menu/menu-positions.mjs} +0 -0
- package/esm2020/menu/menu-trigger.mjs +540 -0
- package/esm2020/menu/menu.mjs +401 -0
- package/esm2020/menu/public-api.mjs +16 -0
- package/{esm2015/menu/testing/index.js → esm2020/menu/testing/index.mjs} +0 -0
- package/{esm2015/menu/testing/menu-harness-filters.js → esm2020/menu/testing/menu-harness-filters.mjs} +0 -0
- package/esm2020/menu/testing/menu-harness.mjs +183 -0
- package/{esm2015/menu/testing/public-api.js → esm2020/menu/testing/public-api.mjs} +0 -0
- package/{esm2015/paginator/index.js → esm2020/paginator/index.mjs} +0 -0
- package/esm2020/paginator/paginator-intl.mjs +64 -0
- package/esm2020/paginator/paginator-module.mjs +47 -0
- package/esm2020/paginator/paginator.mjs +268 -0
- package/{esm2015/paginator/public-api.js → esm2020/paginator/public-api.mjs} +0 -0
- package/{esm2015/paginator/testing/index.js → esm2020/paginator/testing/index.mjs} +0 -0
- package/{esm2015/paginator/testing/paginator-harness-filters.js → esm2020/paginator/testing/paginator-harness-filters.mjs} +0 -0
- package/esm2020/paginator/testing/paginator-harness.mjs +91 -0
- package/{esm2015/paginator/testing/public-api.js → esm2020/paginator/testing/public-api.mjs} +0 -0
- package/{esm2015/progress-bar/index.js → esm2020/progress-bar/index.mjs} +0 -0
- package/esm2020/progress-bar/progress-bar-module.mjs +26 -0
- package/esm2020/progress-bar/progress-bar.mjs +187 -0
- package/{esm2015/progress-bar/public-api.js → esm2020/progress-bar/public-api.mjs} +0 -0
- package/{esm2015/progress-bar/testing/index.js → esm2020/progress-bar/testing/index.mjs} +0 -0
- package/{esm2015/progress-bar/testing/progress-bar-harness-filters.js → esm2020/progress-bar/testing/progress-bar-harness-filters.mjs} +0 -0
- package/esm2020/progress-bar/testing/progress-bar-harness.mjs +34 -0
- package/{esm2015/progress-bar/testing/public-api.js → esm2020/progress-bar/testing/public-api.mjs} +0 -0
- package/{esm2015/progress-spinner/index.js → esm2020/progress-spinner/index.mjs} +0 -0
- package/esm2020/progress-spinner/progress-spinner-module.mjs +36 -0
- package/esm2020/progress-spinner/progress-spinner.mjs +280 -0
- package/{esm2015/progress-spinner/public-api.js → esm2020/progress-spinner/public-api.mjs} +0 -0
- package/{esm2015/progress-spinner/testing/index.js → esm2020/progress-spinner/testing/index.mjs} +0 -0
- package/{esm2015/progress-spinner/testing/progress-spinner-harness-filters.js → esm2020/progress-spinner/testing/progress-spinner-harness-filters.mjs} +0 -0
- package/esm2020/progress-spinner/testing/progress-spinner-harness.mjs +35 -0
- package/{esm2015/progress-spinner/testing/public-api.js → esm2020/progress-spinner/testing/public-api.mjs} +0 -0
- package/{esm2015/radio/index.js → esm2020/radio/index.mjs} +0 -0
- package/{esm2015/radio/public-api.js → esm2020/radio/public-api.mjs} +0 -0
- package/esm2020/radio/radio-module.mjs +25 -0
- package/esm2020/radio/radio.mjs +570 -0
- package/{esm2015/radio/testing/index.js → esm2020/radio/testing/index.mjs} +0 -0
- package/{esm2015/radio/testing/public-api.js → esm2020/radio/testing/public-api.mjs} +0 -0
- package/{esm2015/radio/testing/radio-harness-filters.js → esm2020/radio/testing/radio-harness-filters.mjs} +0 -0
- package/esm2020/radio/testing/radio-harness.mjs +231 -0
- package/{esm2015/select/index.js → esm2020/select/index.mjs} +0 -0
- package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
- package/{esm2015/select/select-animations.js → esm2020/select/select-animations.mjs} +0 -0
- package/{esm2015/select/select-errors.js → esm2020/select/select-errors.mjs} +0 -0
- package/esm2020/select/select-module.mjs +58 -0
- package/esm2020/select/select.mjs +1188 -0
- package/{esm2015/select/testing/index.js → esm2020/select/testing/index.mjs} +0 -0
- package/{esm2015/select/testing/public-api.js → esm2020/select/testing/public-api.mjs} +0 -0
- package/{esm2015/select/testing/select-harness-filters.js → esm2020/select/testing/select-harness-filters.mjs} +0 -0
- package/esm2020/select/testing/select-harness.mjs +130 -0
- package/{esm2015/sidenav/drawer-animations.js → esm2020/sidenav/drawer-animations.mjs} +0 -0
- package/esm2020/sidenav/drawer.mjs +788 -0
- package/esm2020/sidenav/index.mjs +5 -0
- package/{esm2015/sidenav/public-api.js → esm2020/sidenav/public-api.mjs} +0 -0
- package/esm2020/sidenav/sidenav-module.mjs +71 -0
- package/esm2020/sidenav/sidenav.mjs +115 -0
- package/esm2020/sidenav/testing/drawer-container-harness.mjs +36 -0
- package/{esm2015/sidenav/testing/drawer-content-harness.js → esm2020/sidenav/testing/drawer-content-harness.mjs} +0 -0
- package/{esm2015/sidenav/testing/drawer-harness-filters.js → esm2020/sidenav/testing/drawer-harness-filters.mjs} +0 -0
- package/esm2020/sidenav/testing/drawer-harness.mjs +50 -0
- package/{esm2015/sidenav/testing/index.js → esm2020/sidenav/testing/index.mjs} +0 -0
- package/{esm2015/sidenav/testing/public-api.js → esm2020/sidenav/testing/public-api.mjs} +0 -0
- package/esm2020/sidenav/testing/sidenav-container-harness.mjs +36 -0
- package/{esm2015/sidenav/testing/sidenav-content-harness.js → esm2020/sidenav/testing/sidenav-content-harness.mjs} +0 -0
- package/esm2020/sidenav/testing/sidenav-harness.mjs +29 -0
- package/{esm2015/slide-toggle/index.js → esm2020/slide-toggle/index.mjs} +0 -0
- package/{esm2015/slide-toggle/public-api.js → esm2020/slide-toggle/public-api.mjs} +0 -0
- package/{esm2015/slide-toggle/slide-toggle-config.js → esm2020/slide-toggle/slide-toggle-config.mjs} +0 -0
- package/esm2020/slide-toggle/slide-toggle-module.mjs +57 -0
- package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +36 -0
- package/esm2020/slide-toggle/slide-toggle.mjs +253 -0
- package/{esm2015/slide-toggle/testing/index.js → esm2020/slide-toggle/testing/index.mjs} +0 -0
- package/{esm2015/slide-toggle/testing/public-api.js → esm2020/slide-toggle/testing/public-api.mjs} +0 -0
- package/{esm2015/slide-toggle/testing/slide-toggle-harness-filters.js → esm2020/slide-toggle/testing/slide-toggle-harness-filters.mjs} +0 -0
- package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +110 -0
- package/{esm2015/slider/index.js → esm2020/slider/index.mjs} +0 -0
- package/{esm2015/slider/public-api.js → esm2020/slider/public-api.mjs} +0 -0
- package/esm2020/slider/slider-module.mjs +26 -0
- package/esm2020/slider/slider.mjs +801 -0
- package/{esm2015/slider/testing/index.js → esm2020/slider/testing/index.mjs} +0 -0
- package/{esm2015/slider/testing/public-api.js → esm2020/slider/testing/public-api.mjs} +0 -0
- package/{esm2015/slider/testing/slider-harness-filters.js → esm2020/slider/testing/slider-harness-filters.mjs} +0 -0
- package/esm2020/slider/testing/slider-harness.mjs +114 -0
- package/{esm2015/snack-bar/index.js → esm2020/snack-bar/index.mjs} +0 -0
- package/{esm2015/snack-bar/public-api.js → esm2020/snack-bar/public-api.mjs} +0 -0
- package/esm2020/snack-bar/simple-snack-bar.mjs +44 -0
- package/{esm2015/snack-bar/snack-bar-animations.js → esm2020/snack-bar/snack-bar-animations.mjs} +0 -0
- package/{esm2015/snack-bar/snack-bar-config.js → esm2020/snack-bar/snack-bar-config.mjs} +0 -0
- package/esm2020/snack-bar/snack-bar-container.mjs +205 -0
- package/esm2020/snack-bar/snack-bar-module.mjs +47 -0
- package/esm2020/snack-bar/snack-bar-ref.mjs +90 -0
- package/esm2020/snack-bar/snack-bar.mjs +265 -0
- package/{esm2015/snack-bar/testing/index.js → esm2020/snack-bar/testing/index.mjs} +0 -0
- package/{esm2015/snack-bar/testing/public-api.js → esm2020/snack-bar/testing/public-api.mjs} +0 -0
- package/{esm2015/snack-bar/testing/snack-bar-harness-filters.js → esm2020/snack-bar/testing/snack-bar-harness-filters.mjs} +0 -0
- package/esm2020/snack-bar/testing/snack-bar-harness.mjs +118 -0
- package/{esm2015/sort/index.js → esm2020/sort/index.mjs} +0 -0
- package/{esm2015/sort/public-api.js → esm2020/sort/public-api.mjs} +0 -0
- package/{esm2015/sort/sort-animations.js → esm2020/sort/sort-animations.mjs} +0 -0
- package/{esm2015/sort/sort-direction.js → esm2020/sort/sort-direction.mjs} +0 -0
- package/{esm2015/sort/sort-errors.js → esm2020/sort/sort-errors.mjs} +0 -0
- package/esm2020/sort/sort-header-intl.mjs +43 -0
- package/esm2020/sort/sort-header.mjs +275 -0
- package/esm2020/sort/sort-module.mjs +29 -0
- package/esm2020/sort/sort.mjs +154 -0
- package/{esm2015/sort/testing/index.js → esm2020/sort/testing/index.mjs} +0 -0
- package/{esm2015/sort/testing/public-api.js → esm2020/sort/testing/public-api.mjs} +0 -0
- package/{esm2015/sort/testing/sort-harness-filters.js → esm2020/sort/testing/sort-harness-filters.mjs} +0 -0
- package/esm2020/sort/testing/sort-harness.mjs +36 -0
- package/esm2020/sort/testing/sort-header-harness.mjs +56 -0
- package/{esm2015/stepper/index.js → esm2020/stepper/index.mjs} +0 -0
- package/{esm2015/stepper/public-api.js → esm2020/stepper/public-api.mjs} +0 -0
- package/esm2020/stepper/step-content.mjs +26 -0
- package/esm2020/stepper/step-header.mjs +110 -0
- package/esm2020/stepper/step-label.mjs +21 -0
- package/{esm2015/stepper/stepper-animations.js → esm2020/stepper/stepper-animations.mjs} +0 -0
- package/esm2020/stepper/stepper-button.mjs +43 -0
- package/esm2020/stepper/stepper-icon.mjs +29 -0
- package/esm2020/stepper/stepper-intl.mjs +43 -0
- package/esm2020/stepper/stepper-module.mjs +97 -0
- package/esm2020/stepper/stepper.mjs +213 -0
- package/{esm2015/stepper/testing/index.js → esm2020/stepper/testing/index.mjs} +0 -0
- package/{esm2015/stepper/testing/public-api.js → esm2020/stepper/testing/public-api.mjs} +0 -0
- package/{esm2015/stepper/testing/step-harness-filters.js → esm2020/stepper/testing/step-harness-filters.mjs} +0 -0
- package/esm2020/stepper/testing/step-harness.mjs +90 -0
- package/esm2020/stepper/testing/stepper-button-harnesses.mjs +50 -0
- package/esm2020/stepper/testing/stepper-harness.mjs +50 -0
- package/esm2020/table/cell.mjs +139 -0
- package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
- package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
- package/esm2020/table/row.mjs +139 -0
- package/esm2020/table/table-data-source.mjs +310 -0
- package/esm2020/table/table-module.mjs +101 -0
- package/esm2020/table/table.mjs +71 -0
- package/esm2020/table/testing/cell-harness.mjs +72 -0
- package/{esm2015/table/testing/index.js → esm2020/table/testing/index.mjs} +0 -0
- package/{esm2015/table/testing/public-api.js → esm2020/table/testing/public-api.mjs} +0 -0
- package/esm2020/table/testing/row-harness.mjs +84 -0
- package/{esm2015/table/testing/table-harness-filters.js → esm2020/table/testing/table-harness-filters.mjs} +0 -0
- package/esm2020/table/testing/table-harness.mjs +88 -0
- package/esm2020/table/text-column.mjs +58 -0
- package/esm2020/tabs/index.mjs +5 -0
- package/esm2020/tabs/ink-bar.mjs +93 -0
- package/esm2020/tabs/paginated-tab-header.mjs +480 -0
- package/esm2020/tabs/public-api.mjs +20 -0
- package/esm2020/tabs/tab-body.mjs +214 -0
- package/{esm2015/tabs/tab-config.js → esm2020/tabs/tab-config.mjs} +0 -0
- package/esm2020/tabs/tab-content.mjs +32 -0
- package/esm2020/tabs/tab-group.mjs +382 -0
- package/esm2020/tabs/tab-header.mjs +101 -0
- package/esm2020/tabs/tab-label-wrapper.mjs +41 -0
- package/esm2020/tabs/tab-label.mjs +43 -0
- package/{esm2015/tabs/tab-nav-bar/index.js → esm2020/tabs/tab-nav-bar/index.mjs} +0 -0
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +263 -0
- package/esm2020/tabs/tab.mjs +106 -0
- package/{esm2015/tabs/tabs-animations.js → esm2020/tabs/tabs-animations.mjs} +0 -0
- package/esm2020/tabs/tabs-module.mjs +93 -0
- package/{esm2015/tabs/testing/index.js → esm2020/tabs/testing/index.mjs} +0 -0
- package/{esm2015/tabs/testing/public-api.js → esm2020/tabs/testing/public-api.mjs} +0 -0
- package/esm2020/tabs/testing/tab-group-harness.mjs +58 -0
- package/{esm2015/tabs/testing/tab-harness-filters.js → esm2020/tabs/testing/tab-harness-filters.mjs} +0 -0
- package/esm2020/tabs/testing/tab-harness.mjs +66 -0
- package/esm2020/tabs/testing/tab-link-harness.mjs +42 -0
- package/esm2020/tabs/testing/tab-nav-bar-harness.mjs +54 -0
- package/{esm2015/toolbar/index.js → esm2020/toolbar/index.mjs} +0 -0
- package/{esm2015/toolbar/public-api.js → esm2020/toolbar/public-api.mjs} +0 -0
- package/{esm2015/toolbar/testing/index.js → esm2020/toolbar/testing/index.mjs} +0 -0
- package/{esm2015/toolbar/testing/public-api.js → esm2020/toolbar/testing/public-api.mjs} +0 -0
- package/{esm2015/toolbar/testing/toolbar-harness-filters.js → esm2020/toolbar/testing/toolbar-harness-filters.mjs} +0 -0
- package/esm2020/toolbar/testing/toolbar-harness.mjs +40 -0
- package/esm2020/toolbar/toolbar-module.mjs +25 -0
- package/esm2020/toolbar/toolbar.mjs +88 -0
- package/{esm2015/tooltip/index.js → esm2020/tooltip/index.mjs} +0 -0
- package/{esm2015/tooltip/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
- package/{esm2015/tooltip/testing/index.js → esm2020/tooltip/testing/index.mjs} +0 -0
- package/{esm2015/tooltip/testing/public-api.js → esm2020/tooltip/testing/public-api.mjs} +0 -0
- package/{esm2015/tooltip/testing/tooltip-harness-filters.js → esm2020/tooltip/testing/tooltip-harness-filters.mjs} +0 -0
- package/esm2020/tooltip/testing/tooltip-harness.mjs +57 -0
- package/{esm2015/tooltip/tooltip-animations.js → esm2020/tooltip/tooltip-animations.mjs} +0 -0
- package/esm2020/tooltip/tooltip-module.mjs +44 -0
- package/esm2020/tooltip/tooltip.mjs +739 -0
- package/{esm2015/tree/data-source/flat-data-source.js → esm2020/tree/data-source/flat-data-source.mjs} +0 -0
- package/{esm2015/tree/data-source/nested-data-source.js → esm2020/tree/data-source/nested-data-source.mjs} +0 -0
- package/{esm2015/tree/index.js → esm2020/tree/index.mjs} +0 -0
- package/esm2020/tree/node.mjs +143 -0
- package/esm2020/tree/outlet.mjs +41 -0
- package/esm2020/tree/padding.mjs +37 -0
- package/{esm2015/tree/public-api.js → esm2020/tree/public-api.mjs} +0 -0
- package/{esm2015/tree/testing/index.js → esm2020/tree/testing/index.mjs} +0 -0
- package/esm2020/tree/testing/node-harness.mjs +69 -0
- package/{esm2015/tree/testing/public-api.js → esm2020/tree/testing/public-api.mjs} +0 -0
- package/{esm2015/tree/testing/tree-harness-filters.js → esm2020/tree/testing/tree-harness-filters.mjs} +0 -0
- package/esm2020/tree/testing/tree-harness.mjs +123 -0
- package/esm2020/tree/toggle.mjs +36 -0
- package/esm2020/tree/tree-module.mjs +51 -0
- package/esm2020/tree/tree.mjs +37 -0
- package/expansion/accordion.d.ts +3 -0
- package/expansion/expansion-module.d.ts +12 -7
- package/expansion/expansion-panel-content.d.ts +3 -0
- package/expansion/expansion-panel-header.d.ts +8 -1
- package/expansion/expansion-panel.d.ts +5 -0
- package/expansion/package.json +5 -5
- package/expansion/testing/package.json +5 -5
- package/fesm2015/autocomplete/testing.mjs +132 -0
- package/fesm2015/autocomplete/testing.mjs.map +1 -0
- package/fesm2015/autocomplete.mjs +958 -0
- package/fesm2015/autocomplete.mjs.map +1 -0
- package/fesm2015/badge/testing.mjs +97 -0
- package/fesm2015/badge/testing.mjs.map +1 -0
- package/fesm2015/badge.mjs +266 -0
- package/fesm2015/badge.mjs.map +1 -0
- package/fesm2015/bottom-sheet/testing.mjs +52 -0
- package/fesm2015/bottom-sheet/testing.mjs.map +1 -0
- package/fesm2015/bottom-sheet.mjs +596 -0
- package/fesm2015/bottom-sheet.mjs.map +1 -0
- package/fesm2015/button/testing.mjs +76 -0
- package/fesm2015/button/testing.mjs.map +1 -0
- package/fesm2015/button-toggle/testing.mjs +181 -0
- package/fesm2015/button-toggle/testing.mjs.map +1 -0
- package/fesm2015/button-toggle.mjs +502 -0
- package/fesm2015/button-toggle.mjs.map +1 -0
- package/fesm2015/button.mjs +202 -0
- package/fesm2015/button.mjs.map +1 -0
- package/fesm2015/card/testing.mjs +64 -0
- package/fesm2015/card/testing.mjs.map +1 -0
- package/fesm2015/card.mjs +322 -0
- package/fesm2015/card.mjs.map +1 -0
- package/fesm2015/checkbox/testing.mjs +168 -0
- package/fesm2015/checkbox/testing.mjs.map +1 -0
- package/fesm2015/checkbox.mjs +503 -0
- package/fesm2015/checkbox.mjs.map +1 -0
- package/fesm2015/chips/testing.mjs +423 -0
- package/fesm2015/chips/testing.mjs.map +1 -0
- package/fesm2015/chips.mjs +1354 -0
- package/fesm2015/chips.mjs.map +1 -0
- package/fesm2015/core/testing.mjs +120 -0
- package/fesm2015/core/testing.mjs.map +1 -0
- package/fesm2015/core.mjs +1719 -0
- package/fesm2015/core.mjs.map +1 -0
- package/fesm2015/datepicker/testing.mjs +635 -0
- package/fesm2015/datepicker/testing.mjs.map +1 -0
- package/fesm2015/datepicker.mjs +3948 -0
- package/fesm2015/datepicker.mjs.map +1 -0
- package/fesm2015/dialog/testing.mjs +119 -0
- package/fesm2015/dialog/testing.mjs.map +1 -0
- package/fesm2015/dialog.mjs +1155 -0
- package/fesm2015/dialog.mjs.map +1 -0
- package/fesm2015/divider/testing.mjs +39 -0
- package/fesm2015/divider/testing.mjs.map +1 -0
- package/fesm2015/divider.mjs +77 -0
- package/fesm2015/divider.mjs.map +1 -0
- package/fesm2015/expansion/testing.mjs +187 -0
- package/fesm2015/expansion/testing.mjs.map +1 -0
- package/fesm2015/expansion.mjs +641 -0
- package/fesm2015/expansion.mjs.map +1 -0
- package/fesm2015/form-field/testing/control.mjs +26 -0
- package/fesm2015/form-field/testing/control.mjs.map +1 -0
- package/fesm2015/form-field/testing.mjs +231 -0
- package/fesm2015/form-field/testing.mjs.map +1 -0
- package/fesm2015/form-field.mjs +814 -0
- package/fesm2015/form-field.mjs.map +1 -0
- package/fesm2015/grid-list/testing.mjs +161 -0
- package/fesm2015/grid-list/testing.mjs.map +1 -0
- package/fesm2015/grid-list.mjs +700 -0
- package/fesm2015/grid-list.mjs.map +1 -0
- package/fesm2015/icon/testing.mjs +163 -0
- package/fesm2015/icon/testing.mjs.map +1 -0
- package/fesm2015/icon.mjs +1016 -0
- package/fesm2015/icon.mjs.map +1 -0
- package/fesm2015/input/testing.mjs +281 -0
- package/fesm2015/input/testing.mjs.map +1 -0
- package/fesm2015/input.mjs +515 -0
- package/fesm2015/input.mjs.map +1 -0
- package/fesm2015/list/testing.mjs +486 -0
- package/fesm2015/list/testing.mjs.map +1 -0
- package/fesm2015/list.mjs +908 -0
- package/fesm2015/list.mjs.map +1 -0
- package/fesm2015/material.mjs +16 -0
- package/fesm2015/material.mjs.map +1 -0
- package/fesm2015/menu/testing.mjs +235 -0
- package/fesm2015/menu/testing.mjs.map +1 -0
- package/fesm2015/menu.mjs +1363 -0
- package/fesm2015/menu.mjs.map +1 -0
- package/fesm2015/paginator/testing.mjs +118 -0
- package/fesm2015/paginator/testing.mjs.map +1 -0
- package/fesm2015/paginator.mjs +387 -0
- package/fesm2015/paginator.mjs.map +1 -0
- package/fesm2015/progress-bar/testing.mjs +51 -0
- package/fesm2015/progress-bar/testing.mjs.map +1 -0
- package/fesm2015/progress-bar.mjs +225 -0
- package/fesm2015/progress-bar.mjs.map +1 -0
- package/fesm2015/progress-spinner/testing.mjs +52 -0
- package/fesm2015/progress-spinner/testing.mjs.map +1 -0
- package/fesm2015/progress-spinner.mjs +330 -0
- package/fesm2015/progress-spinner.mjs.map +1 -0
- package/fesm2015/radio/testing.mjs +284 -0
- package/fesm2015/radio/testing.mjs.map +1 -0
- package/fesm2015/radio.mjs +599 -0
- package/fesm2015/radio.mjs.map +1 -0
- package/fesm2015/select/testing.mjs +169 -0
- package/fesm2015/select/testing.mjs.map +1 -0
- package/fesm2015/select.mjs +1346 -0
- package/fesm2015/select.mjs.map +1 -0
- package/fesm2015/sidenav/testing.mjs +195 -0
- package/fesm2015/sidenav/testing.mjs.map +1 -0
- package/fesm2015/sidenav.mjs +1013 -0
- package/fesm2015/sidenav.mjs.map +1 -0
- package/fesm2015/slide-toggle/testing.mjs +151 -0
- package/fesm2015/slide-toggle/testing.mjs.map +1 -0
- package/fesm2015/slide-toggle.mjs +359 -0
- package/fesm2015/slide-toggle.mjs.map +1 -0
- package/fesm2015/slider/testing.mjs +153 -0
- package/fesm2015/slider/testing.mjs.map +1 -0
- package/fesm2015/slider.mjs +830 -0
- package/fesm2015/slider.mjs.map +1 -0
- package/fesm2015/snack-bar/testing.mjs +153 -0
- package/fesm2015/snack-bar/testing.mjs.map +1 -0
- package/fesm2015/snack-bar.mjs +698 -0
- package/fesm2015/snack-bar.mjs.map +1 -0
- package/fesm2015/sort/testing.mjs +110 -0
- package/fesm2015/sort/testing.mjs.map +1 -0
- package/fesm2015/sort.mjs +605 -0
- package/fesm2015/sort.mjs.map +1 -0
- package/fesm2015/stepper/testing.mjs +216 -0
- package/fesm2015/stepper/testing.mjs.map +1 -0
- package/fesm2015/stepper.mjs +579 -0
- package/fesm2015/stepper.mjs.map +1 -0
- package/fesm2015/table/testing.mjs +259 -0
- package/fesm2015/table/testing.mjs.map +1 -0
- package/fesm2015/table.mjs +817 -0
- package/fesm2015/table.mjs.map +1 -0
- package/fesm2015/tabs/testing.mjs +245 -0
- package/fesm2015/tabs/testing.mjs.map +1 -0
- package/fesm2015/tabs.mjs +1846 -0
- package/fesm2015/tabs.mjs.map +1 -0
- package/fesm2015/toolbar/testing.mjs +59 -0
- package/fesm2015/toolbar/testing.mjs.map +1 -0
- package/fesm2015/toolbar.mjs +118 -0
- package/fesm2015/toolbar.mjs.map +1 -0
- package/fesm2015/tooltip/testing.mjs +80 -0
- package/fesm2015/tooltip/testing.mjs.map +1 -0
- package/fesm2015/tooltip.mjs +820 -0
- package/fesm2015/tooltip.mjs.map +1 -0
- package/fesm2015/tree/testing.mjs +215 -0
- package/fesm2015/tree/testing.mjs.map +1 -0
- package/fesm2015/tree.mjs +520 -0
- package/fesm2015/tree.mjs.map +1 -0
- package/fesm2020/autocomplete/testing.mjs +128 -0
- package/fesm2020/autocomplete/testing.mjs.map +1 -0
- package/fesm2020/autocomplete.mjs +958 -0
- package/fesm2020/autocomplete.mjs.map +1 -0
- package/fesm2020/badge/testing.mjs +99 -0
- package/fesm2020/badge/testing.mjs.map +1 -0
- package/fesm2020/badge.mjs +271 -0
- package/fesm2020/badge.mjs.map +1 -0
- package/fesm2020/bottom-sheet/testing.mjs +62 -0
- package/fesm2020/bottom-sheet/testing.mjs.map +1 -0
- package/fesm2020/bottom-sheet.mjs +592 -0
- package/fesm2020/bottom-sheet.mjs.map +1 -0
- package/fesm2020/button/testing.mjs +78 -0
- package/fesm2020/button/testing.mjs.map +1 -0
- package/fesm2020/button-toggle/testing.mjs +176 -0
- package/fesm2020/button-toggle/testing.mjs.map +1 -0
- package/fesm2020/button-toggle.mjs +505 -0
- package/fesm2020/button-toggle.mjs.map +1 -0
- package/fesm2020/button.mjs +205 -0
- package/fesm2020/button.mjs.map +1 -0
- package/fesm2020/card/testing.mjs +70 -0
- package/fesm2020/card/testing.mjs.map +1 -0
- package/fesm2020/card.mjs +320 -0
- package/fesm2020/card.mjs.map +1 -0
- package/fesm2020/checkbox/testing.mjs +150 -0
- package/fesm2020/checkbox/testing.mjs.map +1 -0
- package/fesm2020/checkbox.mjs +507 -0
- package/fesm2020/checkbox.mjs.map +1 -0
- package/fesm2020/chips/testing.mjs +398 -0
- package/fesm2020/chips/testing.mjs.map +1 -0
- package/fesm2020/chips.mjs +1346 -0
- package/fesm2020/chips.mjs.map +1 -0
- package/fesm2020/core/testing.mjs +131 -0
- package/fesm2020/core/testing.mjs.map +1 -0
- package/fesm2020/core.mjs +1731 -0
- package/fesm2020/core.mjs.map +1 -0
- package/fesm2020/datepicker/testing.mjs +572 -0
- package/fesm2020/datepicker/testing.mjs.map +1 -0
- package/fesm2020/datepicker.mjs +3921 -0
- package/fesm2020/datepicker.mjs.map +1 -0
- package/fesm2020/dialog/testing.mjs +110 -0
- package/fesm2020/dialog/testing.mjs.map +1 -0
- package/fesm2020/dialog.mjs +1147 -0
- package/fesm2020/dialog.mjs.map +1 -0
- package/fesm2020/divider/testing.mjs +49 -0
- package/fesm2020/divider/testing.mjs.map +1 -0
- package/fesm2020/divider.mjs +77 -0
- package/fesm2020/divider.mjs.map +1 -0
- package/fesm2020/expansion/testing.mjs +176 -0
- package/fesm2020/expansion/testing.mjs.map +1 -0
- package/fesm2020/expansion.mjs +644 -0
- package/fesm2020/expansion.mjs.map +1 -0
- package/fesm2020/form-field/testing/control.mjs +26 -0
- package/fesm2020/form-field/testing/control.mjs.map +1 -0
- package/fesm2020/form-field/testing.mjs +209 -0
- package/fesm2020/form-field/testing.mjs.map +1 -0
- package/fesm2020/form-field.mjs +817 -0
- package/fesm2020/form-field.mjs.map +1 -0
- package/fesm2020/grid-list/testing.mjs +162 -0
- package/fesm2020/grid-list/testing.mjs.map +1 -0
- package/fesm2020/grid-list.mjs +696 -0
- package/fesm2020/grid-list.mjs.map +1 -0
- package/fesm2020/icon/testing.mjs +169 -0
- package/fesm2020/icon/testing.mjs.map +1 -0
- package/fesm2020/icon.mjs +1010 -0
- package/fesm2020/icon.mjs.map +1 -0
- package/fesm2020/input/testing.mjs +265 -0
- package/fesm2020/input/testing.mjs.map +1 -0
- package/fesm2020/input.mjs +512 -0
- package/fesm2020/input.mjs.map +1 -0
- package/fesm2020/list/testing.mjs +464 -0
- package/fesm2020/list/testing.mjs.map +1 -0
- package/fesm2020/list.mjs +901 -0
- package/fesm2020/list.mjs.map +1 -0
- package/fesm2020/material.mjs +16 -0
- package/fesm2020/material.mjs.map +1 -0
- package/fesm2020/menu/testing.mjs +210 -0
- package/fesm2020/menu/testing.mjs.map +1 -0
- package/fesm2020/menu.mjs +1365 -0
- package/fesm2020/menu.mjs.map +1 -0
- package/fesm2020/paginator/testing.mjs +118 -0
- package/fesm2020/paginator/testing.mjs.map +1 -0
- package/fesm2020/paginator.mjs +385 -0
- package/fesm2020/paginator.mjs.map +1 -0
- package/fesm2020/progress-bar/testing.mjs +61 -0
- package/fesm2020/progress-bar/testing.mjs.map +1 -0
- package/fesm2020/progress-bar.mjs +223 -0
- package/fesm2020/progress-bar.mjs.map +1 -0
- package/fesm2020/progress-spinner/testing.mjs +62 -0
- package/fesm2020/progress-spinner/testing.mjs.map +1 -0
- package/fesm2020/progress-spinner.mjs +326 -0
- package/fesm2020/progress-spinner.mjs.map +1 -0
- package/fesm2020/radio/testing.mjs +258 -0
- package/fesm2020/radio/testing.mjs.map +1 -0
- package/fesm2020/radio.mjs +604 -0
- package/fesm2020/radio.mjs.map +1 -0
- package/fesm2020/select/testing.mjs +157 -0
- package/fesm2020/select/testing.mjs.map +1 -0
- package/fesm2020/select.mjs +1338 -0
- package/fesm2020/select.mjs.map +1 -0
- package/fesm2020/sidenav/testing.mjs +214 -0
- package/fesm2020/sidenav/testing.mjs.map +1 -0
- package/fesm2020/sidenav.mjs +1004 -0
- package/fesm2020/sidenav.mjs.map +1 -0
- package/fesm2020/slide-toggle/testing.mjs +137 -0
- package/fesm2020/slide-toggle/testing.mjs.map +1 -0
- package/fesm2020/slide-toggle.mjs +364 -0
- package/fesm2020/slide-toggle.mjs.map +1 -0
- package/fesm2020/slider/testing.mjs +133 -0
- package/fesm2020/slider/testing.mjs.map +1 -0
- package/fesm2020/slider.mjs +835 -0
- package/fesm2020/slider.mjs.map +1 -0
- package/fesm2020/snack-bar/testing.mjs +145 -0
- package/fesm2020/snack-bar/testing.mjs.map +1 -0
- package/fesm2020/snack-bar.mjs +701 -0
- package/fesm2020/snack-bar.mjs.map +1 -0
- package/fesm2020/sort/testing.mjs +109 -0
- package/fesm2020/sort/testing.mjs.map +1 -0
- package/fesm2020/sort.mjs +609 -0
- package/fesm2020/sort.mjs.map +1 -0
- package/fesm2020/stepper/testing.mjs +206 -0
- package/fesm2020/stepper/testing.mjs.map +1 -0
- package/fesm2020/stepper.mjs +589 -0
- package/fesm2020/stepper.mjs.map +1 -0
- package/fesm2020/table/testing.mjs +259 -0
- package/fesm2020/table/testing.mjs.map +1 -0
- package/fesm2020/table.mjs +814 -0
- package/fesm2020/table.mjs.map +1 -0
- package/fesm2020/tabs/testing.mjs +234 -0
- package/fesm2020/tabs/testing.mjs.map +1 -0
- package/fesm2020/tabs.mjs +1829 -0
- package/fesm2020/tabs.mjs.map +1 -0
- package/fesm2020/toolbar/testing.mjs +67 -0
- package/fesm2020/toolbar/testing.mjs.map +1 -0
- package/fesm2020/toolbar.mjs +123 -0
- package/fesm2020/toolbar.mjs.map +1 -0
- package/fesm2020/tooltip/testing.mjs +84 -0
- package/fesm2020/tooltip/testing.mjs.map +1 -0
- package/fesm2020/tooltip.mjs +815 -0
- package/fesm2020/tooltip.mjs.map +1 -0
- package/fesm2020/tree/testing.mjs +217 -0
- package/fesm2020/tree/testing.mjs.map +1 -0
- package/fesm2020/tree.mjs +514 -0
- package/fesm2020/tree.mjs.map +1 -0
- package/form-field/error.d.ts +3 -0
- package/form-field/form-field-control.d.ts +3 -0
- package/form-field/form-field-module.d.ts +14 -7
- package/form-field/form-field.d.ts +4 -1
- package/form-field/hint.d.ts +3 -0
- package/form-field/label.d.ts +3 -7
- package/form-field/package.json +5 -5
- package/form-field/placeholder.d.ts +3 -7
- package/form-field/prefix.d.ts +3 -0
- package/form-field/suffix.d.ts +3 -0
- package/form-field/testing/control/package.json +5 -5
- package/form-field/testing/package.json +5 -5
- package/grid-list/grid-list-module.d.ts +7 -7
- package/grid-list/grid-list.d.ts +3 -0
- package/grid-list/grid-tile.d.ts +11 -0
- package/grid-list/index.d.ts +0 -1
- package/grid-list/package.json +5 -5
- package/grid-list/testing/package.json +5 -5
- package/icon/icon-module.d.ts +6 -7
- package/icon/icon-registry.d.ts +3 -7
- package/icon/icon.d.ts +4 -1
- package/icon/package.json +5 -5
- package/icon/testing/fake-icon-registry.d.ts +6 -0
- package/icon/testing/package.json +5 -5
- package/input/input-module.d.ts +8 -7
- package/input/input.d.ts +4 -1
- package/input/package.json +5 -5
- package/input/public-api.d.ts +0 -1
- package/input/testing/package.json +5 -5
- package/list/list-module.d.ts +9 -7
- package/list/list.d.ts +15 -2
- package/list/package.json +5 -5
- package/list/selection-list.d.ts +7 -2
- package/list/testing/package.json +5 -5
- package/menu/index.d.ts +0 -2
- package/menu/menu-content.d.ts +11 -11
- package/menu/menu-item.d.ts +4 -1
- package/menu/menu-module.d.ts +12 -13
- package/menu/menu-trigger.d.ts +12 -2
- package/menu/menu.d.ts +5 -0
- package/menu/package.json +5 -5
- package/menu/public-api.d.ts +1 -1
- package/menu/testing/package.json +5 -5
- package/package.json +612 -8
- package/paginator/package.json +5 -5
- package/paginator/paginator-intl.d.ts +3 -0
- package/paginator/paginator-module.d.ts +10 -7
- package/paginator/paginator.d.ts +6 -1
- package/paginator/testing/package.json +5 -5
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-bar/package.json +5 -5
- package/progress-bar/progress-bar-module.d.ts +7 -7
- package/progress-bar/progress-bar.d.ts +4 -1
- package/progress-bar/testing/package.json +5 -5
- package/progress-spinner/package.json +5 -5
- package/progress-spinner/progress-spinner-module.d.ts +7 -0
- package/progress-spinner/progress-spinner.d.ts +6 -1
- package/progress-spinner/testing/package.json +5 -5
- package/radio/package.json +5 -5
- package/radio/radio-module.d.ts +6 -7
- package/radio/radio.d.ts +10 -1
- package/radio/testing/package.json +5 -5
- package/schematics/ng-add/fonts/material-fonts.js +8 -17
- package/schematics/ng-add/fonts/material-fonts.mjs +8 -17
- package/schematics/ng-add/index.js +8 -8
- package/schematics/ng-add/index.mjs +8 -8
- package/schematics/ng-add/setup-project.js +23 -32
- package/schematics/ng-add/setup-project.mjs +23 -32
- package/schematics/ng-add/theming/create-custom-theme.js +2 -2
- package/schematics/ng-add/theming/create-custom-theme.mjs +2 -2
- package/schematics/ng-add/theming/theming.js +35 -46
- package/schematics/ng-add/theming/theming.mjs +35 -46
- package/schematics/ng-generate/address-form/index.js +13 -22
- package/schematics/ng-generate/address-form/index.mjs +13 -22
- package/schematics/ng-generate/dashboard/index.js +13 -22
- package/schematics/ng-generate/dashboard/index.mjs +13 -22
- package/schematics/ng-generate/navigation/index.js +13 -22
- package/schematics/ng-generate/navigation/index.mjs +13 -22
- package/schematics/ng-generate/table/index.js +10 -19
- package/schematics/ng-generate/table/index.mjs +10 -19
- package/schematics/ng-generate/tree/index.js +10 -19
- package/schematics/ng-generate/tree/index.mjs +10 -19
- package/schematics/ng-update/data/constructor-checks.js +5 -1
- package/schematics/ng-update/data/constructor-checks.mjs +5 -1
- package/schematics/ng-update/index.js +9 -9
- package/schematics/ng-update/index.mjs +9 -9
- package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +24 -24
- package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +24 -24
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +5 -5
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +5 -5
- package/schematics/ng-update/migrations/misc-checks/misc-class-inheritance.js +2 -2
- package/schematics/ng-update/migrations/misc-checks/misc-class-inheritance.mjs +2 -2
- package/schematics/ng-update/migrations/misc-checks/misc-imports.js +2 -2
- package/schematics/ng-update/migrations/misc-checks/misc-imports.mjs +2 -2
- package/schematics/ng-update/migrations/misc-checks/misc-template.js +4 -4
- package/schematics/ng-update/migrations/misc-checks/misc-template.mjs +4 -4
- package/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.js +7 -7
- package/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.mjs +7 -7
- package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.js +2 -3
- package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.mjs +2 -3
- package/schematics/ng-update/migrations/theming-api-v12/migration.d.ts +6 -6
- package/schematics/ng-update/migrations/theming-api-v12/migration.js +12 -12
- package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +12 -12
- package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.js +3 -3
- package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.mjs +3 -3
- package/schematics/ng-update/typescript/module-specifiers.js +3 -3
- package/schematics/ng-update/typescript/module-specifiers.mjs +3 -3
- package/schematics/package.json +3 -0
- package/schematics/paths.js +3 -3
- package/schematics/paths.mjs +3 -3
- package/select/package.json +5 -5
- package/select/select-module.d.ts +10 -7
- package/select/select.d.ts +8 -1
- package/select/testing/package.json +5 -5
- package/sidenav/drawer.d.ts +7 -0
- package/sidenav/index.d.ts +0 -1
- package/sidenav/package.json +5 -5
- package/sidenav/sidenav-module.d.ts +10 -0
- package/sidenav/sidenav.d.ts +7 -0
- package/sidenav/testing/package.json +5 -5
- package/slide-toggle/package.json +5 -5
- package/slide-toggle/slide-toggle-module.d.ts +11 -7
- package/slide-toggle/slide-toggle-required-validator.d.ts +3 -0
- package/slide-toggle/slide-toggle.d.ts +4 -1
- package/slide-toggle/testing/package.json +5 -5
- package/slider/package.json +5 -5
- package/slider/slider-module.d.ts +7 -7
- package/slider/slider.d.ts +4 -1
- package/slider/testing/package.json +5 -5
- package/snack-bar/package.json +5 -5
- package/snack-bar/simple-snack-bar.d.ts +3 -7
- package/snack-bar/snack-bar-container.d.ts +3 -0
- package/snack-bar/snack-bar-module.d.ts +11 -7
- package/snack-bar/snack-bar.d.ts +3 -0
- package/snack-bar/testing/package.json +5 -5
- package/snack-bar/testing/snack-bar-harness.d.ts +8 -9
- package/sort/package.json +5 -5
- package/sort/sort-header-intl.d.ts +3 -0
- package/sort/sort-header.d.ts +4 -1
- package/sort/sort-module.d.ts +8 -7
- package/sort/sort.d.ts +4 -1
- package/sort/testing/package.json +5 -5
- package/stepper/package.json +5 -5
- package/stepper/step-content.d.ts +3 -0
- package/stepper/step-header.d.ts +6 -1
- package/stepper/step-label.d.ts +3 -7
- package/stepper/stepper-button.d.ts +5 -0
- package/stepper/stepper-icon.d.ts +3 -0
- package/stepper/stepper-intl.d.ts +7 -0
- package/stepper/stepper-module.d.ts +16 -7
- package/stepper/stepper.d.ts +11 -0
- package/stepper/testing/package.json +5 -5
- package/table/cell.d.ts +15 -7
- package/table/package.json +5 -5
- package/table/row.d.ts +15 -0
- package/table/table-module.d.ts +10 -7
- package/table/table.d.ts +5 -0
- package/table/testing/package.json +5 -5
- package/table/text-column.d.ts +3 -0
- package/tabs/index.d.ts +0 -4
- package/tabs/ink-bar.d.ts +3 -0
- package/tabs/package.json +5 -5
- package/tabs/paginated-tab-header.d.ts +3 -0
- package/tabs/public-api.d.ts +1 -1
- package/tabs/tab-body.d.ts +7 -0
- package/tabs/tab-content.d.ts +3 -0
- package/tabs/tab-group.d.ts +6 -1
- package/tabs/tab-header.d.ts +5 -0
- package/tabs/tab-label-wrapper.d.ts +4 -1
- package/tabs/tab-label.d.ts +11 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +10 -1
- package/tabs/tab.d.ts +5 -2
- package/tabs/tabs-module.d.ts +18 -7
- package/tabs/testing/package.json +5 -5
- package/toolbar/package.json +5 -5
- package/toolbar/testing/package.json +5 -5
- package/toolbar/toolbar-module.d.ts +6 -7
- package/toolbar/toolbar.d.ts +6 -1
- package/tooltip/package.json +5 -5
- package/tooltip/testing/package.json +5 -5
- package/tooltip/tooltip-module.d.ts +10 -7
- package/tooltip/tooltip.d.ts +11 -2
- package/tree/node.d.ts +8 -1
- package/tree/outlet.d.ts +3 -0
- package/tree/package.json +5 -5
- package/tree/padding.d.ts +3 -0
- package/tree/testing/package.json +5 -5
- package/tree/toggle.d.ts +3 -7
- package/tree/tree-module.d.ts +11 -7
- package/tree/tree.d.ts +3 -0
- package/autocomplete/index.metadata.json +0 -1
- package/badge/index.metadata.json +0 -1
- package/bottom-sheet/index.metadata.json +0 -1
- package/bundles/material-autocomplete-testing.umd.js +0 -564
- package/bundles/material-autocomplete-testing.umd.js.map +0 -1
- package/bundles/material-autocomplete.umd.js +0 -1266
- package/bundles/material-autocomplete.umd.js.map +0 -1
- package/bundles/material-badge-testing.umd.js +0 -474
- package/bundles/material-badge-testing.umd.js.map +0 -1
- package/bundles/material-badge.umd.js +0 -606
- package/bundles/material-badge.umd.js.map +0 -1
- package/bundles/material-bottom-sheet-testing.umd.js +0 -396
- package/bundles/material-bottom-sheet-testing.umd.js.map +0 -1
- package/bundles/material-bottom-sheet.umd.js +0 -955
- package/bundles/material-bottom-sheet.umd.js.map +0 -1
- package/bundles/material-button-testing.umd.js +0 -444
- package/bundles/material-button-testing.umd.js.map +0 -1
- package/bundles/material-button-toggle-testing.umd.js +0 -628
- package/bundles/material-button-toggle-testing.umd.js.map +0 -1
- package/bundles/material-button-toggle.umd.js +0 -850
- package/bundles/material-button-toggle.umd.js.map +0 -1
- package/bundles/material-button.umd.js +0 -545
- package/bundles/material-button.umd.js.map +0 -1
- package/bundles/material-card-testing.umd.js +0 -408
- package/bundles/material-card-testing.umd.js.map +0 -1
- package/bundles/material-card.umd.js +0 -337
- package/bundles/material-card.umd.js.map +0 -1
- package/bundles/material-checkbox-testing.umd.js +0 -615
- package/bundles/material-checkbox-testing.umd.js.map +0 -1
- package/bundles/material-checkbox.umd.js +0 -829
- package/bundles/material-checkbox.umd.js.map +0 -1
- package/bundles/material-chips-testing.umd.js +0 -1023
- package/bundles/material-chips-testing.umd.js.map +0 -1
- package/bundles/material-chips.umd.js +0 -1753
- package/bundles/material-chips.umd.js.map +0 -1
- package/bundles/material-core-testing.umd.js +0 -518
- package/bundles/material-core-testing.umd.js.map +0 -1
- package/bundles/material-core.umd.js +0 -2186
- package/bundles/material-core.umd.js.map +0 -1
- package/bundles/material-datepicker-testing.umd.js +0 -1366
- package/bundles/material-datepicker-testing.umd.js.map +0 -1
- package/bundles/material-datepicker.umd.js +0 -4344
- package/bundles/material-datepicker.umd.js.map +0 -1
- package/bundles/material-dialog-testing.umd.js +0 -500
- package/bundles/material-dialog-testing.umd.js.map +0 -1
- package/bundles/material-dialog.umd.js +0 -1487
- package/bundles/material-dialog.umd.js.map +0 -1
- package/bundles/material-divider-testing.umd.js +0 -380
- package/bundles/material-divider-testing.umd.js.map +0 -1
- package/bundles/material-divider.umd.js +0 -95
- package/bundles/material-divider.umd.js.map +0 -1
- package/bundles/material-expansion-testing.umd.js +0 -627
- package/bundles/material-expansion-testing.umd.js.map +0 -1
- package/bundles/material-expansion.umd.js +0 -949
- package/bundles/material-expansion.umd.js.map +0 -1
- package/bundles/material-form-field-testing-control.umd.js +0 -350
- package/bundles/material-form-field-testing-control.umd.js.map +0 -1
- package/bundles/material-form-field-testing.umd.js +0 -708
- package/bundles/material-form-field-testing.umd.js.map +0 -1
- package/bundles/material-form-field.umd.js +0 -1131
- package/bundles/material-form-field.umd.js.map +0 -1
- package/bundles/material-grid-list-testing.umd.js +0 -566
- package/bundles/material-grid-list-testing.umd.js.map +0 -1
- package/bundles/material-grid-list.umd.js +0 -1070
- package/bundles/material-grid-list.umd.js.map +0 -1
- package/bundles/material-icon-testing.umd.js +0 -527
- package/bundles/material-icon-testing.umd.js.map +0 -1
- package/bundles/material-icon.umd.js +0 -1391
- package/bundles/material-icon.umd.js.map +0 -1
- package/bundles/material-input-testing.umd.js +0 -806
- package/bundles/material-input-testing.umd.js.map +0 -1
- package/bundles/material-input.umd.js +0 -875
- package/bundles/material-input.umd.js.map +0 -1
- package/bundles/material-list-testing.umd.js +0 -1092
- package/bundles/material-list-testing.umd.js.map +0 -1
- package/bundles/material-list.umd.js +0 -1284
- package/bundles/material-list.umd.js.map +0 -1
- package/bundles/material-menu-testing.umd.js +0 -722
- package/bundles/material-menu-testing.umd.js.map +0 -1
- package/bundles/material-menu.umd.js +0 -1661
- package/bundles/material-menu.umd.js.map +0 -1
- package/bundles/material-paginator-testing.umd.js +0 -504
- package/bundles/material-paginator-testing.umd.js.map +0 -1
- package/bundles/material-paginator.umd.js +0 -746
- package/bundles/material-paginator.umd.js.map +0 -1
- package/bundles/material-progress-bar-testing.umd.js +0 -395
- package/bundles/material-progress-bar-testing.umd.js.map +0 -1
- package/bundles/material-progress-bar.umd.js +0 -546
- package/bundles/material-progress-bar.umd.js.map +0 -1
- package/bundles/material-progress-spinner-testing.umd.js +0 -399
- package/bundles/material-progress-spinner-testing.umd.js.map +0 -1
- package/bundles/material-progress-spinner.umd.js +0 -631
- package/bundles/material-progress-spinner.umd.js.map +0 -1
- package/bundles/material-radio-testing.umd.js +0 -812
- package/bundles/material-radio-testing.umd.js.map +0 -1
- package/bundles/material-radio.umd.js +0 -971
- package/bundles/material-radio.umd.js.map +0 -1
- package/bundles/material-select-testing.umd.js +0 -620
- package/bundles/material-select-testing.umd.js.map +0 -1
- package/bundles/material-select.umd.js +0 -1665
- package/bundles/material-select.umd.js.map +0 -1
- package/bundles/material-sidenav-testing.umd.js +0 -603
- package/bundles/material-sidenav-testing.umd.js.map +0 -1
- package/bundles/material-sidenav.umd.js +0 -1368
- package/bundles/material-sidenav.umd.js.map +0 -1
- package/bundles/material-slide-toggle-testing.umd.js +0 -582
- package/bundles/material-slide-toggle-testing.umd.js.map +0 -1
- package/bundles/material-slide-toggle.umd.js +0 -670
- package/bundles/material-slide-toggle.umd.js.map +0 -1
- package/bundles/material-slider-testing.umd.js +0 -587
- package/bundles/material-slider-testing.umd.js.map +0 -1
- package/bundles/material-slider.umd.js +0 -1186
- package/bundles/material-slider.umd.js.map +0 -1
- package/bundles/material-snack-bar-testing.umd.js +0 -554
- package/bundles/material-snack-bar-testing.umd.js.map +0 -1
- package/bundles/material-snack-bar.umd.js +0 -1076
- package/bundles/material-snack-bar.umd.js.map +0 -1
- package/bundles/material-sort-testing.umd.js +0 -493
- package/bundles/material-sort-testing.umd.js.map +0 -1
- package/bundles/material-sort.umd.js +0 -943
- package/bundles/material-sort.umd.js.map +0 -1
- package/bundles/material-stepper-testing.umd.js +0 -703
- package/bundles/material-stepper-testing.umd.js.map +0 -1
- package/bundles/material-stepper.umd.js +0 -893
- package/bundles/material-stepper.umd.js.map +0 -1
- package/bundles/material-table-testing.umd.js +0 -700
- package/bundles/material-table-testing.umd.js.map +0 -1
- package/bundles/material-table.umd.js +0 -1121
- package/bundles/material-table.umd.js.map +0 -1
- package/bundles/material-tabs-testing.umd.js +0 -744
- package/bundles/material-tabs-testing.umd.js.map +0 -1
- package/bundles/material-tabs.umd.js +0 -2169
- package/bundles/material-tabs.umd.js.map +0 -1
- package/bundles/material-toolbar-testing.umd.js +0 -406
- package/bundles/material-toolbar-testing.umd.js.map +0 -1
- package/bundles/material-toolbar.umd.js +0 -454
- package/bundles/material-toolbar.umd.js.map +0 -1
- package/bundles/material-tooltip-testing.umd.js +0 -460
- package/bundles/material-tooltip-testing.umd.js.map +0 -1
- package/bundles/material-tooltip.umd.js +0 -1170
- package/bundles/material-tooltip.umd.js.map +0 -1
- package/bundles/material-tree-testing.umd.js +0 -636
- package/bundles/material-tree-testing.umd.js.map +0 -1
- package/bundles/material-tree.umd.js +0 -837
- package/bundles/material-tree.umd.js.map +0 -1
- package/bundles/material.umd.js +0 -26
- package/bundles/material.umd.js.map +0 -1
- package/button/index.metadata.json +0 -1
- package/button-toggle/index.metadata.json +0 -1
- package/card/index.metadata.json +0 -1
- package/checkbox/index.metadata.json +0 -1
- package/chips/index.metadata.json +0 -1
- package/core/index.metadata.json +0 -1
- package/datepicker/index.metadata.json +0 -1
- package/dialog/index.metadata.json +0 -1
- package/divider/index.metadata.json +0 -1
- package/esm2015/autocomplete/autocomplete-module.js +0 -38
- package/esm2015/autocomplete/autocomplete-origin.js +0 -35
- package/esm2015/autocomplete/autocomplete-trigger.js +0 -627
- package/esm2015/autocomplete/autocomplete.externs.js +0 -6
- package/esm2015/autocomplete/autocomplete.js +0 -202
- package/esm2015/autocomplete/testing/autocomplete-harness.js +0 -120
- package/esm2015/autocomplete/testing/testing.externs.js +0 -0
- package/esm2015/badge/badge-module.js +0 -24
- package/esm2015/badge/badge.externs.js +0 -6
- package/esm2015/badge/badge.js +0 -230
- package/esm2015/badge/testing/badge-harness.js +0 -85
- package/esm2015/badge/testing/testing.externs.js +0 -0
- package/esm2015/bottom-sheet/bottom-sheet-container.js +0 -253
- package/esm2015/bottom-sheet/bottom-sheet-module.js +0 -27
- package/esm2015/bottom-sheet/bottom-sheet-ref.js +0 -91
- package/esm2015/bottom-sheet/bottom-sheet.externs.js +0 -6
- package/esm2015/bottom-sheet/bottom-sheet.js +0 -167
- package/esm2015/bottom-sheet/testing/bottom-sheet-harness.js +0 -40
- package/esm2015/bottom-sheet/testing/testing.externs.js +0 -0
- package/esm2015/button/button-module.js +0 -30
- package/esm2015/button/button.externs.js +0 -6
- package/esm2015/button/button.js +0 -163
- package/esm2015/button/testing/button-harness.js +0 -64
- package/esm2015/button/testing/testing.externs.js +0 -0
- package/esm2015/button-toggle/button-toggle-module.js +0 -20
- package/esm2015/button-toggle/button-toggle.externs.js +0 -6
- package/esm2015/button-toggle/button-toggle.js +0 -441
- package/esm2015/button-toggle/testing/button-toggle-group-harness.js +0 -54
- package/esm2015/button-toggle/testing/button-toggle-harness.js +0 -125
- package/esm2015/button-toggle/testing/testing.externs.js +0 -0
- package/esm2015/card/card-module.js +0 -40
- package/esm2015/card/card.externs.js +0 -6
- package/esm2015/card/card.js +0 -223
- package/esm2015/card/testing/card-harness.js +0 -52
- package/esm2015/card/testing/testing.externs.js +0 -0
- package/esm2015/checkbox/checkbox-module.js +0 -34
- package/esm2015/checkbox/checkbox-required-validator.js +0 -29
- package/esm2015/checkbox/checkbox.externs.js +0 -6
- package/esm2015/checkbox/checkbox.js +0 -385
- package/esm2015/checkbox/testing/checkbox-harness.js +0 -156
- package/esm2015/checkbox/testing/testing.externs.js +0 -0
- package/esm2015/chips/chip-input.js +0 -180
- package/esm2015/chips/chip-list.js +0 -663
- package/esm2015/chips/chip.js +0 -394
- package/esm2015/chips/chips-module.js +0 -43
- package/esm2015/chips/chips.externs.js +0 -6
- package/esm2015/chips/testing/chip-harness.js +0 -110
- package/esm2015/chips/testing/chip-input-harness.js +0 -101
- package/esm2015/chips/testing/chip-list-harness.js +0 -99
- package/esm2015/chips/testing/chip-listbox-harness.js +0 -49
- package/esm2015/chips/testing/chip-option-harness.js +0 -54
- package/esm2015/chips/testing/chip-remove-harness.js +0 -29
- package/esm2015/chips/testing/testing.externs.js +0 -0
- package/esm2015/core/common-behaviors/color.js +0 -31
- package/esm2015/core/common-behaviors/common-module.js +0 -122
- package/esm2015/core/common-behaviors/disable-ripple.js +0 -20
- package/esm2015/core/common-behaviors/disabled.js +0 -19
- package/esm2015/core/common-behaviors/error-state.js +0 -36
- package/esm2015/core/common-behaviors/index.js +0 -15
- package/esm2015/core/common-behaviors/initialized.js +0 -58
- package/esm2015/core/common-behaviors/tabindex.js +0 -23
- package/esm2015/core/core.externs.js +0 -6
- package/esm2015/core/datetime/index.js +0 -38
- package/esm2015/core/datetime/native-date-adapter.js +0 -213
- package/esm2015/core/error/error-options.js +0 -29
- package/esm2015/core/index.js +0 -6
- package/esm2015/core/line/line.js +0 -57
- package/esm2015/core/option/index.js +0 -27
- package/esm2015/core/option/optgroup.js +0 -84
- package/esm2015/core/option/option.js +0 -274
- package/esm2015/core/ripple/index.js +0 -24
- package/esm2015/core/ripple/ripple-renderer.js +0 -261
- package/esm2015/core/ripple/ripple.js +0 -128
- package/esm2015/core/selection/index.js +0 -21
- package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +0 -55
- package/esm2015/core/testing/optgroup-harness.js +0 -51
- package/esm2015/core/testing/option-harness.js +0 -67
- package/esm2015/core/testing/testing.externs.js +0 -0
- package/esm2015/core/version.js +0 -11
- package/esm2015/datepicker/calendar-body.js +0 -291
- package/esm2015/datepicker/calendar.js +0 -330
- package/esm2015/datepicker/date-range-input-parts.js +0 -315
- package/esm2015/datepicker/date-range-input.js +0 -316
- package/esm2015/datepicker/date-range-picker.js +0 -40
- package/esm2015/datepicker/date-range-selection-strategy.js +0 -58
- package/esm2015/datepicker/date-selection-model.js +0 -189
- package/esm2015/datepicker/datepicker-actions.js +0 -89
- package/esm2015/datepicker/datepicker-base.js +0 -542
- package/esm2015/datepicker/datepicker-input-base.js +0 -290
- package/esm2015/datepicker/datepicker-input.js +0 -164
- package/esm2015/datepicker/datepicker-intl.js +0 -51
- package/esm2015/datepicker/datepicker-module.js +0 -93
- package/esm2015/datepicker/datepicker-toggle.js +0 -104
- package/esm2015/datepicker/datepicker.externs.js +0 -6
- package/esm2015/datepicker/datepicker.js +0 -30
- package/esm2015/datepicker/index.js +0 -9
- package/esm2015/datepicker/month-view.js +0 -344
- package/esm2015/datepicker/multi-year-view.js +0 -280
- package/esm2015/datepicker/testing/calendar-cell-harness.js +0 -181
- package/esm2015/datepicker/testing/calendar-harness.js +0 -91
- package/esm2015/datepicker/testing/date-range-input-harness.js +0 -116
- package/esm2015/datepicker/testing/datepicker-input-harness-base.js +0 -102
- package/esm2015/datepicker/testing/datepicker-input-harness.js +0 -69
- package/esm2015/datepicker/testing/datepicker-toggle-harness.js +0 -48
- package/esm2015/datepicker/testing/datepicker-trigger-harness-base.js +0 -77
- package/esm2015/datepicker/testing/testing.externs.js +0 -0
- package/esm2015/datepicker/year-view.js +0 -268
- package/esm2015/dialog/dialog-container.js +0 -295
- package/esm2015/dialog/dialog-content-directives.js +0 -159
- package/esm2015/dialog/dialog-module.js +0 -46
- package/esm2015/dialog/dialog-ref.js +0 -196
- package/esm2015/dialog/dialog.externs.js +0 -6
- package/esm2015/dialog/dialog.js +0 -353
- package/esm2015/dialog/testing/dialog-harness.js +0 -103
- package/esm2015/dialog/testing/testing.externs.js +0 -0
- package/esm2015/divider/divider-module.js +0 -20
- package/esm2015/divider/divider.externs.js +0 -6
- package/esm2015/divider/divider.js +0 -43
- package/esm2015/divider/testing/divider-harness.js +0 -27
- package/esm2015/divider/testing/testing.externs.js +0 -0
- package/esm2015/expansion/accordion.js +0 -83
- package/esm2015/expansion/expansion-module.js +0 -42
- package/esm2015/expansion/expansion-panel-content.js +0 -26
- package/esm2015/expansion/expansion-panel-header.js +0 -214
- package/esm2015/expansion/expansion-panel.js +0 -186
- package/esm2015/expansion/expansion.externs.js +0 -6
- package/esm2015/expansion/testing/accordion-harness.js +0 -36
- package/esm2015/expansion/testing/expansion-harness.js +0 -149
- package/esm2015/expansion/testing/testing.externs.js +0 -0
- package/esm2015/form-field/error.js +0 -45
- package/esm2015/form-field/form-field-control.js +0 -15
- package/esm2015/form-field/form-field-module.js +0 -49
- package/esm2015/form-field/form-field.externs.js +0 -6
- package/esm2015/form-field/form-field.js +0 -482
- package/esm2015/form-field/hint.js +0 -45
- package/esm2015/form-field/label.js +0 -17
- package/esm2015/form-field/placeholder.js +0 -22
- package/esm2015/form-field/prefix.js +0 -24
- package/esm2015/form-field/suffix.js +0 -24
- package/esm2015/form-field/testing/control/control.externs.js +0 -0
- package/esm2015/form-field/testing/form-field-harness.js +0 -218
- package/esm2015/form-field/testing/testing.externs.js +0 -0
- package/esm2015/grid-list/grid-list-module.js +0 -37
- package/esm2015/grid-list/grid-list.externs.js +0 -6
- package/esm2015/grid-list/grid-list.js +0 -135
- package/esm2015/grid-list/grid-tile.js +0 -116
- package/esm2015/grid-list/index.js +0 -6
- package/esm2015/grid-list/testing/grid-list-harness.js +0 -79
- package/esm2015/grid-list/testing/grid-tile-harness.js +0 -80
- package/esm2015/grid-list/testing/testing.externs.js +0 -0
- package/esm2015/icon/icon-module.js +0 -20
- package/esm2015/icon/icon-registry.js +0 -581
- package/esm2015/icon/icon.externs.js +0 -6
- package/esm2015/icon/icon.js +0 -362
- package/esm2015/icon/testing/fake-icon-registry.js +0 -85
- package/esm2015/icon/testing/icon-harness.js +0 -63
- package/esm2015/icon/testing/testing.externs.js +0 -6
- package/esm2015/icon/trusted-types.js +0 -44
- package/esm2015/input/autosize.js +0 -44
- package/esm2015/input/input-module.js +0 -35
- package/esm2015/input/input.externs.js +0 -6
- package/esm2015/input/input.js +0 -395
- package/esm2015/input/public-api.js +0 -13
- package/esm2015/input/testing/input-harness.js +0 -138
- package/esm2015/input/testing/native-option-harness.js +0 -51
- package/esm2015/input/testing/native-select-harness.js +0 -100
- package/esm2015/input/testing/testing.externs.js +0 -0
- package/esm2015/list/list-module.js +0 -45
- package/esm2015/list/list.externs.js +0 -6
- package/esm2015/list/list.js +0 -218
- package/esm2015/list/selection-list.js +0 -608
- package/esm2015/list/testing/action-list-harness.js +0 -68
- package/esm2015/list/testing/list-harness-base.js +0 -97
- package/esm2015/list/testing/list-item-harness-base.js +0 -85
- package/esm2015/list/testing/nav-list-harness.js +0 -75
- package/esm2015/list/testing/selection-list-harness.js +0 -152
- package/esm2015/list/testing/testing.externs.js +0 -0
- package/esm2015/material.externs.js +0 -0
- package/esm2015/menu/index.js +0 -7
- package/esm2015/menu/menu-content.js +0 -92
- package/esm2015/menu/menu-item.js +0 -164
- package/esm2015/menu/menu-module.js +0 -49
- package/esm2015/menu/menu-trigger.js +0 -493
- package/esm2015/menu/menu.externs.js +0 -6
- package/esm2015/menu/menu.js +0 -381
- package/esm2015/menu/public-api.js +0 -16
- package/esm2015/menu/testing/menu-harness.js +0 -223
- package/esm2015/menu/testing/testing.externs.js +0 -0
- package/esm2015/paginator/paginator-intl.js +0 -62
- package/esm2015/paginator/paginator-module.js +0 -32
- package/esm2015/paginator/paginator.externs.js +0 -6
- package/esm2015/paginator/paginator.js +0 -263
- package/esm2015/paginator/testing/paginator-harness.js +0 -106
- package/esm2015/paginator/testing/testing.externs.js +0 -0
- package/esm2015/progress-bar/progress-bar-module.js +0 -21
- package/esm2015/progress-bar/progress-bar.externs.js +0 -6
- package/esm2015/progress-bar/progress-bar.js +0 -179
- package/esm2015/progress-bar/testing/progress-bar-harness.js +0 -39
- package/esm2015/progress-bar/testing/testing.externs.js +0 -0
- package/esm2015/progress-spinner/progress-spinner-module.js +0 -28
- package/esm2015/progress-spinner/progress-spinner.externs.js +0 -6
- package/esm2015/progress-spinner/progress-spinner.js +0 -274
- package/esm2015/progress-spinner/testing/progress-spinner-harness.js +0 -40
- package/esm2015/progress-spinner/testing/testing.externs.js +0 -0
- package/esm2015/radio/radio-module.js +0 -20
- package/esm2015/radio/radio.externs.js +0 -6
- package/esm2015/radio/radio.js +0 -546
- package/esm2015/radio/testing/radio-harness.js +0 -272
- package/esm2015/radio/testing/testing.externs.js +0 -0
- package/esm2015/select/select-module.js +0 -37
- package/esm2015/select/select.externs.js +0 -6
- package/esm2015/select/select.js +0 -1138
- package/esm2015/select/testing/select-harness.js +0 -157
- package/esm2015/select/testing/testing.externs.js +0 -0
- package/esm2015/sidenav/drawer.js +0 -766
- package/esm2015/sidenav/index.js +0 -6
- package/esm2015/sidenav/sidenav-module.js +0 -45
- package/esm2015/sidenav/sidenav.externs.js +0 -6
- package/esm2015/sidenav/sidenav.js +0 -118
- package/esm2015/sidenav/testing/drawer-container-harness.js +0 -41
- package/esm2015/sidenav/testing/drawer-harness.js +0 -57
- package/esm2015/sidenav/testing/sidenav-container-harness.js +0 -41
- package/esm2015/sidenav/testing/sidenav-harness.js +0 -32
- package/esm2015/sidenav/testing/testing.externs.js +0 -0
- package/esm2015/slide-toggle/slide-toggle-module.js +0 -40
- package/esm2015/slide-toggle/slide-toggle-required-validator.js +0 -32
- package/esm2015/slide-toggle/slide-toggle.externs.js +0 -6
- package/esm2015/slide-toggle/slide-toggle.js +0 -236
- package/esm2015/slide-toggle/testing/slide-toggle-harness.js +0 -139
- package/esm2015/slide-toggle/testing/testing.externs.js +0 -0
- package/esm2015/slider/slider-module.js +0 -21
- package/esm2015/slider/slider.externs.js +0 -6
- package/esm2015/slider/slider.js +0 -788
- package/esm2015/slider/testing/slider-harness.js +0 -141
- package/esm2015/slider/testing/testing.externs.js +0 -0
- package/esm2015/snack-bar/simple-snack-bar.js +0 -45
- package/esm2015/snack-bar/snack-bar-container.js +0 -224
- package/esm2015/snack-bar/snack-bar-module.js +0 -32
- package/esm2015/snack-bar/snack-bar-ref.js +0 -90
- package/esm2015/snack-bar/snack-bar.externs.js +0 -6
- package/esm2015/snack-bar/snack-bar.js +0 -265
- package/esm2015/snack-bar/testing/snack-bar-harness.js +0 -142
- package/esm2015/snack-bar/testing/testing.externs.js +0 -0
- package/esm2015/sort/sort-header-intl.js +0 -41
- package/esm2015/sort/sort-header.js +0 -268
- package/esm2015/sort/sort-module.js +0 -24
- package/esm2015/sort/sort.externs.js +0 -6
- package/esm2015/sort/sort.js +0 -140
- package/esm2015/sort/testing/sort-harness.js +0 -41
- package/esm2015/sort/testing/sort-header-harness.js +0 -67
- package/esm2015/sort/testing/testing.externs.js +0 -0
- package/esm2015/stepper/step-content.js +0 -25
- package/esm2015/stepper/step-header.js +0 -108
- package/esm2015/stepper/step-label.js +0 -17
- package/esm2015/stepper/stepper-button.js +0 -36
- package/esm2015/stepper/stepper-icon.js +0 -28
- package/esm2015/stepper/stepper-intl.js +0 -37
- package/esm2015/stepper/stepper-module.js +0 -61
- package/esm2015/stepper/stepper.externs.js +0 -6
- package/esm2015/stepper/stepper.js +0 -187
- package/esm2015/stepper/testing/step-harness.js +0 -111
- package/esm2015/stepper/testing/stepper-button-harnesses.js +0 -55
- package/esm2015/stepper/testing/stepper-harness.js +0 -57
- package/esm2015/stepper/testing/testing.externs.js +0 -0
- package/esm2015/table/cell.js +0 -114
- package/esm2015/table/row.js +0 -116
- package/esm2015/table/table-data-source.js +0 -312
- package/esm2015/table/table-module.js +0 -50
- package/esm2015/table/table.externs.js +0 -6
- package/esm2015/table/table.js +0 -63
- package/esm2015/table/testing/cell-harness.js +0 -77
- package/esm2015/table/testing/row-harness.js +0 -91
- package/esm2015/table/testing/table-harness.js +0 -99
- package/esm2015/table/testing/testing.externs.js +0 -0
- package/esm2015/table/text-column.js +0 -44
- package/esm2015/tabs/index.js +0 -9
- package/esm2015/tabs/ink-bar.js +0 -87
- package/esm2015/tabs/paginated-tab-header.js +0 -477
- package/esm2015/tabs/public-api.js +0 -20
- package/esm2015/tabs/tab-body.js +0 -212
- package/esm2015/tabs/tab-content.js +0 -31
- package/esm2015/tabs/tab-group.js +0 -357
- package/esm2015/tabs/tab-header.js +0 -94
- package/esm2015/tabs/tab-label-wrapper.js +0 -47
- package/esm2015/tabs/tab-label.js +0 -25
- package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +0 -241
- package/esm2015/tabs/tab.js +0 -106
- package/esm2015/tabs/tabs-module.js +0 -60
- package/esm2015/tabs/tabs.externs.js +0 -6
- package/esm2015/tabs/testing/tab-group-harness.js +0 -65
- package/esm2015/tabs/testing/tab-harness.js +0 -85
- package/esm2015/tabs/testing/tab-link-harness.js +0 -51
- package/esm2015/tabs/testing/tab-nav-bar-harness.js +0 -61
- package/esm2015/tabs/testing/testing.externs.js +0 -0
- package/esm2015/toolbar/testing/testing.externs.js +0 -0
- package/esm2015/toolbar/testing/toolbar-harness.js +0 -47
- package/esm2015/toolbar/toolbar-module.js +0 -20
- package/esm2015/toolbar/toolbar.externs.js +0 -6
- package/esm2015/toolbar/toolbar.js +0 -91
- package/esm2015/tooltip/testing/testing.externs.js +0 -0
- package/esm2015/tooltip/testing/tooltip-harness.js +0 -68
- package/esm2015/tooltip/tooltip-module.js +0 -31
- package/esm2015/tooltip/tooltip.externs.js +0 -6
- package/esm2015/tooltip/tooltip.js +0 -737
- package/esm2015/tree/node.js +0 -131
- package/esm2015/tree/outlet.js +0 -33
- package/esm2015/tree/padding.js +0 -31
- package/esm2015/tree/testing/node-harness.js +0 -84
- package/esm2015/tree/testing/testing.externs.js +0 -0
- package/esm2015/tree/testing/tree-harness.js +0 -129
- package/esm2015/tree/toggle.js +0 -32
- package/esm2015/tree/tree-module.js +0 -34
- package/esm2015/tree/tree.externs.js +0 -6
- package/esm2015/tree/tree.js +0 -43
- package/expansion/index.metadata.json +0 -1
- package/fesm2015/autocomplete/testing.js +0 -147
- package/fesm2015/autocomplete/testing.js.map +0 -1
- package/fesm2015/autocomplete.js +0 -901
- package/fesm2015/autocomplete.js.map +0 -1
- package/fesm2015/badge/testing.js +0 -112
- package/fesm2015/badge/testing.js.map +0 -1
- package/fesm2015/badge.js +0 -265
- package/fesm2015/badge.js.map +0 -1
- package/fesm2015/bottom-sheet/testing.js +0 -67
- package/fesm2015/bottom-sheet/testing.js.map +0 -1
- package/fesm2015/bottom-sheet.js +0 -603
- package/fesm2015/bottom-sheet.js.map +0 -1
- package/fesm2015/button/testing.js +0 -91
- package/fesm2015/button/testing.js.map +0 -1
- package/fesm2015/button-toggle/testing.js +0 -211
- package/fesm2015/button-toggle/testing.js.map +0 -1
- package/fesm2015/button-toggle.js +0 -473
- package/fesm2015/button-toggle.js.map +0 -1
- package/fesm2015/button.js +0 -205
- package/fesm2015/button.js.map +0 -1
- package/fesm2015/card/testing.js +0 -79
- package/fesm2015/card/testing.js.map +0 -1
- package/fesm2015/card.js +0 -276
- package/fesm2015/card.js.map +0 -1
- package/fesm2015/checkbox/testing.js +0 -183
- package/fesm2015/checkbox/testing.js.map +0 -1
- package/fesm2015/checkbox.js +0 -476
- package/fesm2015/checkbox.js.map +0 -1
- package/fesm2015/chips/testing.js +0 -465
- package/fesm2015/chips/testing.js.map +0 -1
- package/fesm2015/chips.js +0 -1286
- package/fesm2015/chips.js.map +0 -1
- package/fesm2015/core/testing.js +0 -150
- package/fesm2015/core/testing.js.map +0 -1
- package/fesm2015/core.js +0 -1692
- package/fesm2015/core.js.map +0 -1
- package/fesm2015/datepicker/testing.js +0 -692
- package/fesm2015/datepicker/testing.js.map +0 -1
- package/fesm2015/datepicker.js +0 -3745
- package/fesm2015/datepicker.js.map +0 -1
- package/fesm2015/dialog/testing.js +0 -130
- package/fesm2015/dialog/testing.js.map +0 -1
- package/fesm2015/dialog.js +0 -1127
- package/fesm2015/dialog.js.map +0 -1
- package/fesm2015/divider/testing.js +0 -54
- package/fesm2015/divider/testing.js.map +0 -1
- package/fesm2015/divider.js +0 -76
- package/fesm2015/divider.js.map +0 -1
- package/fesm2015/expansion/testing.js +0 -209
- package/fesm2015/expansion/testing.js.map +0 -1
- package/fesm2015/expansion.js +0 -600
- package/fesm2015/expansion.js.map +0 -1
- package/fesm2015/form-field/testing/control.js +0 -26
- package/fesm2015/form-field/testing/control.js.map +0 -1
- package/fesm2015/form-field/testing.js +0 -246
- package/fesm2015/form-field/testing.js.map +0 -1
- package/fesm2015/form-field.js +0 -757
- package/fesm2015/form-field.js.map +0 -1
- package/fesm2015/grid-list/testing.js +0 -183
- package/fesm2015/grid-list/testing.js.map +0 -1
- package/fesm2015/grid-list.js +0 -680
- package/fesm2015/grid-list.js.map +0 -1
- package/fesm2015/icon/testing.js +0 -171
- package/fesm2015/icon/testing.js.map +0 -1
- package/fesm2015/icon.js +0 -1012
- package/fesm2015/icon.js.map +0 -1
- package/fesm2015/input/testing.js +0 -318
- package/fesm2015/input/testing.js.map +0 -1
- package/fesm2015/input.js +0 -506
- package/fesm2015/input.js.map +0 -1
- package/fesm2015/list/testing.js +0 -529
- package/fesm2015/list/testing.js.map +0 -1
- package/fesm2015/list.js +0 -876
- package/fesm2015/list.js.map +0 -1
- package/fesm2015/material.js +0 -16
- package/fesm2015/material.js.map +0 -1
- package/fesm2015/menu/testing.js +0 -250
- package/fesm2015/menu/testing.js.map +0 -1
- package/fesm2015/menu.js +0 -1292
- package/fesm2015/menu.js.map +0 -1
- package/fesm2015/paginator/testing.js +0 -133
- package/fesm2015/paginator/testing.js.map +0 -1
- package/fesm2015/paginator.js +0 -366
- package/fesm2015/paginator.js.map +0 -1
- package/fesm2015/progress-bar/testing.js +0 -66
- package/fesm2015/progress-bar/testing.js.map +0 -1
- package/fesm2015/progress-bar.js +0 -211
- package/fesm2015/progress-bar.js.map +0 -1
- package/fesm2015/progress-spinner/testing.js +0 -67
- package/fesm2015/progress-spinner/testing.js.map +0 -1
- package/fesm2015/progress-spinner.js +0 -313
- package/fesm2015/progress-spinner.js.map +0 -1
- package/fesm2015/radio/testing.js +0 -299
- package/fesm2015/radio/testing.js.map +0 -1
- package/fesm2015/radio.js +0 -578
- package/fesm2015/radio.js.map +0 -1
- package/fesm2015/select/testing.js +0 -184
- package/fesm2015/select/testing.js.map +0 -1
- package/fesm2015/select.js +0 -1269
- package/fesm2015/select.js.map +0 -1
- package/fesm2015/sidenav/testing.js +0 -231
- package/fesm2015/sidenav/testing.js.map +0 -1
- package/fesm2015/sidenav.js +0 -965
- package/fesm2015/sidenav.js.map +0 -1
- package/fesm2015/slide-toggle/testing.js +0 -166
- package/fesm2015/slide-toggle/testing.js.map +0 -1
- package/fesm2015/slide-toggle.js +0 -329
- package/fesm2015/slide-toggle.js.map +0 -1
- package/fesm2015/slider/testing.js +0 -160
- package/fesm2015/slider/testing.js.map +0 -1
- package/fesm2015/slider.js +0 -820
- package/fesm2015/slider.js.map +0 -1
- package/fesm2015/snack-bar/testing.js +0 -169
- package/fesm2015/snack-bar/testing.js.map +0 -1
- package/fesm2015/snack-bar.js +0 -713
- package/fesm2015/snack-bar.js.map +0 -1
- package/fesm2015/sort/testing.js +0 -124
- package/fesm2015/sort/testing.js.map +0 -1
- package/fesm2015/sort.js +0 -587
- package/fesm2015/sort.js.map +0 -1
- package/fesm2015/stepper/testing.js +0 -237
- package/fesm2015/stepper/testing.js.map +0 -1
- package/fesm2015/stepper.js +0 -519
- package/fesm2015/stepper.js.map +0 -1
- package/fesm2015/table/testing.js +0 -280
- package/fesm2015/table/testing.js.map +0 -1
- package/fesm2015/table.js +0 -701
- package/fesm2015/table.js.map +0 -1
- package/fesm2015/tabs/testing.js +0 -273
- package/fesm2015/tabs/testing.js.map +0 -1
- package/fesm2015/tabs.js +0 -1746
- package/fesm2015/tabs.js.map +0 -1
- package/fesm2015/toolbar/testing.js +0 -74
- package/fesm2015/toolbar/testing.js.map +0 -1
- package/fesm2015/toolbar.js +0 -123
- package/fesm2015/toolbar.js.map +0 -1
- package/fesm2015/tooltip/testing.js +0 -95
- package/fesm2015/tooltip/testing.js.map +0 -1
- package/fesm2015/tooltip.js +0 -802
- package/fesm2015/tooltip.js.map +0 -1
- package/fesm2015/tree/testing.js +0 -237
- package/fesm2015/tree/testing.js.map +0 -1
- package/fesm2015/tree.js +0 -479
- package/fesm2015/tree.js.map +0 -1
- package/form-field/index.metadata.json +0 -1
- package/grid-list/index.metadata.json +0 -1
- package/icon/index.metadata.json +0 -1
- package/icon/testing/index.metadata.json +0 -1
- package/input/autosize.d.ts +0 -23
- package/input/index.metadata.json +0 -1
- package/list/index.metadata.json +0 -1
- package/menu/index.metadata.json +0 -1
- package/paginator/index.metadata.json +0 -1
- package/progress-bar/index.metadata.json +0 -1
- package/progress-spinner/index.metadata.json +0 -1
- package/radio/index.metadata.json +0 -1
- package/select/index.metadata.json +0 -1
- package/sidenav/index.metadata.json +0 -1
- package/slide-toggle/index.metadata.json +0 -1
- package/slider/index.metadata.json +0 -1
- package/snack-bar/index.metadata.json +0 -1
- package/sort/index.metadata.json +0 -1
- package/stepper/index.metadata.json +0 -1
- package/table/index.metadata.json +0 -1
- package/tabs/index.metadata.json +0 -1
- package/toolbar/index.metadata.json +0 -1
- package/tooltip/index.metadata.json +0 -1
- package/tree/index.metadata.json +0 -1
|
@@ -1,1131 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/observers'), require('@angular/common'), require('@angular/core'), require('@angular/material/core'), require('@angular/cdk/bidi'), require('@angular/cdk/coercion'), require('rxjs'), require('rxjs/operators'), require('@angular/animations'), require('@angular/cdk/platform'), require('@angular/platform-browser/animations')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@angular/material/form-field', ['exports', '@angular/cdk/observers', '@angular/common', '@angular/core', '@angular/material/core', '@angular/cdk/bidi', '@angular/cdk/coercion', 'rxjs', 'rxjs/operators', '@angular/animations', '@angular/cdk/platform', '@angular/platform-browser/animations'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.formField = {}), global.ng.cdk.observers, global.ng.common, global.ng.core, global.ng.material.core, global.ng.cdk.bidi, global.ng.cdk.coercion, global.rxjs, global.rxjs.operators, global.ng.animations, global.ng.cdk.platform, global.ng.platformBrowser.animations));
|
|
5
|
-
}(this, (function (exports, observers, common, core, core$1, bidi, coercion, rxjs, operators, animations, platform, animations$1) { 'use strict';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @license
|
|
9
|
-
* Copyright Google LLC All Rights Reserved.
|
|
10
|
-
*
|
|
11
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
12
|
-
* found in the LICENSE file at https://angular.io/license
|
|
13
|
-
*/
|
|
14
|
-
var nextUniqueId$2 = 0;
|
|
15
|
-
/**
|
|
16
|
-
* Injection token that can be used to reference instances of `MatError`. It serves as
|
|
17
|
-
* alternative token to the actual `MatError` class which could cause unnecessary
|
|
18
|
-
* retention of the class and its directive metadata.
|
|
19
|
-
*/
|
|
20
|
-
var MAT_ERROR = new core.InjectionToken('MatError');
|
|
21
|
-
/** Single error message to be shown underneath the form field. */
|
|
22
|
-
var MatError = /** @class */ (function () {
|
|
23
|
-
function MatError(ariaLive, elementRef) {
|
|
24
|
-
this.id = "mat-error-" + nextUniqueId$2++;
|
|
25
|
-
// If no aria-live value is set add 'polite' as a default. This is preferred over setting
|
|
26
|
-
// role='alert' so that screen readers do not interrupt the current task to read this aloud.
|
|
27
|
-
if (!ariaLive) {
|
|
28
|
-
elementRef.nativeElement.setAttribute('aria-live', 'polite');
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return MatError;
|
|
32
|
-
}());
|
|
33
|
-
MatError.decorators = [
|
|
34
|
-
{ type: core.Directive, args: [{
|
|
35
|
-
selector: 'mat-error',
|
|
36
|
-
host: {
|
|
37
|
-
'class': 'mat-error',
|
|
38
|
-
'[attr.id]': 'id',
|
|
39
|
-
'aria-atomic': 'true',
|
|
40
|
-
},
|
|
41
|
-
providers: [{ provide: MAT_ERROR, useExisting: MatError }],
|
|
42
|
-
},] }
|
|
43
|
-
];
|
|
44
|
-
MatError.ctorParameters = function () { return [
|
|
45
|
-
{ type: String, decorators: [{ type: core.Attribute, args: ['aria-live',] }] },
|
|
46
|
-
{ type: core.ElementRef }
|
|
47
|
-
]; };
|
|
48
|
-
MatError.propDecorators = {
|
|
49
|
-
id: [{ type: core.Input }]
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/*! *****************************************************************************
|
|
53
|
-
Copyright (c) Microsoft Corporation.
|
|
54
|
-
|
|
55
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
56
|
-
purpose with or without fee is hereby granted.
|
|
57
|
-
|
|
58
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
59
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
60
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
61
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
62
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
63
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
64
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
65
|
-
***************************************************************************** */
|
|
66
|
-
/* global Reflect, Promise */
|
|
67
|
-
var extendStatics = function (d, b) {
|
|
68
|
-
extendStatics = Object.setPrototypeOf ||
|
|
69
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
70
|
-
function (d, b) { for (var p in b)
|
|
71
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
72
|
-
d[p] = b[p]; };
|
|
73
|
-
return extendStatics(d, b);
|
|
74
|
-
};
|
|
75
|
-
function __extends(d, b) {
|
|
76
|
-
if (typeof b !== "function" && b !== null)
|
|
77
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
78
|
-
extendStatics(d, b);
|
|
79
|
-
function __() { this.constructor = d; }
|
|
80
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
81
|
-
}
|
|
82
|
-
var __assign = function () {
|
|
83
|
-
__assign = Object.assign || function __assign(t) {
|
|
84
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
85
|
-
s = arguments[i];
|
|
86
|
-
for (var p in s)
|
|
87
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
88
|
-
t[p] = s[p];
|
|
89
|
-
}
|
|
90
|
-
return t;
|
|
91
|
-
};
|
|
92
|
-
return __assign.apply(this, arguments);
|
|
93
|
-
};
|
|
94
|
-
function __rest(s, e) {
|
|
95
|
-
var t = {};
|
|
96
|
-
for (var p in s)
|
|
97
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
98
|
-
t[p] = s[p];
|
|
99
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
100
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
101
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
102
|
-
t[p[i]] = s[p[i]];
|
|
103
|
-
}
|
|
104
|
-
return t;
|
|
105
|
-
}
|
|
106
|
-
function __decorate(decorators, target, key, desc) {
|
|
107
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
108
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
109
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
110
|
-
else
|
|
111
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
112
|
-
if (d = decorators[i])
|
|
113
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
114
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
115
|
-
}
|
|
116
|
-
function __param(paramIndex, decorator) {
|
|
117
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
118
|
-
}
|
|
119
|
-
function __metadata(metadataKey, metadataValue) {
|
|
120
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
121
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
122
|
-
}
|
|
123
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
124
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
125
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
126
|
-
function fulfilled(value) { try {
|
|
127
|
-
step(generator.next(value));
|
|
128
|
-
}
|
|
129
|
-
catch (e) {
|
|
130
|
-
reject(e);
|
|
131
|
-
} }
|
|
132
|
-
function rejected(value) { try {
|
|
133
|
-
step(generator["throw"](value));
|
|
134
|
-
}
|
|
135
|
-
catch (e) {
|
|
136
|
-
reject(e);
|
|
137
|
-
} }
|
|
138
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
139
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
function __generator(thisArg, body) {
|
|
143
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
144
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
145
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
146
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
147
|
-
function step(op) {
|
|
148
|
-
if (f)
|
|
149
|
-
throw new TypeError("Generator is already executing.");
|
|
150
|
-
while (_)
|
|
151
|
-
try {
|
|
152
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
153
|
-
return t;
|
|
154
|
-
if (y = 0, t)
|
|
155
|
-
op = [op[0] & 2, t.value];
|
|
156
|
-
switch (op[0]) {
|
|
157
|
-
case 0:
|
|
158
|
-
case 1:
|
|
159
|
-
t = op;
|
|
160
|
-
break;
|
|
161
|
-
case 4:
|
|
162
|
-
_.label++;
|
|
163
|
-
return { value: op[1], done: false };
|
|
164
|
-
case 5:
|
|
165
|
-
_.label++;
|
|
166
|
-
y = op[1];
|
|
167
|
-
op = [0];
|
|
168
|
-
continue;
|
|
169
|
-
case 7:
|
|
170
|
-
op = _.ops.pop();
|
|
171
|
-
_.trys.pop();
|
|
172
|
-
continue;
|
|
173
|
-
default:
|
|
174
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
175
|
-
_ = 0;
|
|
176
|
-
continue;
|
|
177
|
-
}
|
|
178
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
179
|
-
_.label = op[1];
|
|
180
|
-
break;
|
|
181
|
-
}
|
|
182
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
183
|
-
_.label = t[1];
|
|
184
|
-
t = op;
|
|
185
|
-
break;
|
|
186
|
-
}
|
|
187
|
-
if (t && _.label < t[2]) {
|
|
188
|
-
_.label = t[2];
|
|
189
|
-
_.ops.push(op);
|
|
190
|
-
break;
|
|
191
|
-
}
|
|
192
|
-
if (t[2])
|
|
193
|
-
_.ops.pop();
|
|
194
|
-
_.trys.pop();
|
|
195
|
-
continue;
|
|
196
|
-
}
|
|
197
|
-
op = body.call(thisArg, _);
|
|
198
|
-
}
|
|
199
|
-
catch (e) {
|
|
200
|
-
op = [6, e];
|
|
201
|
-
y = 0;
|
|
202
|
-
}
|
|
203
|
-
finally {
|
|
204
|
-
f = t = 0;
|
|
205
|
-
}
|
|
206
|
-
if (op[0] & 5)
|
|
207
|
-
throw op[1];
|
|
208
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
212
|
-
if (k2 === undefined)
|
|
213
|
-
k2 = k;
|
|
214
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
215
|
-
}) : (function (o, m, k, k2) {
|
|
216
|
-
if (k2 === undefined)
|
|
217
|
-
k2 = k;
|
|
218
|
-
o[k2] = m[k];
|
|
219
|
-
});
|
|
220
|
-
function __exportStar(m, o) {
|
|
221
|
-
for (var p in m)
|
|
222
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
223
|
-
__createBinding(o, m, p);
|
|
224
|
-
}
|
|
225
|
-
function __values(o) {
|
|
226
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
227
|
-
if (m)
|
|
228
|
-
return m.call(o);
|
|
229
|
-
if (o && typeof o.length === "number")
|
|
230
|
-
return {
|
|
231
|
-
next: function () {
|
|
232
|
-
if (o && i >= o.length)
|
|
233
|
-
o = void 0;
|
|
234
|
-
return { value: o && o[i++], done: !o };
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
238
|
-
}
|
|
239
|
-
function __read(o, n) {
|
|
240
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
241
|
-
if (!m)
|
|
242
|
-
return o;
|
|
243
|
-
var i = m.call(o), r, ar = [], e;
|
|
244
|
-
try {
|
|
245
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
246
|
-
ar.push(r.value);
|
|
247
|
-
}
|
|
248
|
-
catch (error) {
|
|
249
|
-
e = { error: error };
|
|
250
|
-
}
|
|
251
|
-
finally {
|
|
252
|
-
try {
|
|
253
|
-
if (r && !r.done && (m = i["return"]))
|
|
254
|
-
m.call(i);
|
|
255
|
-
}
|
|
256
|
-
finally {
|
|
257
|
-
if (e)
|
|
258
|
-
throw e.error;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
return ar;
|
|
262
|
-
}
|
|
263
|
-
/** @deprecated */
|
|
264
|
-
function __spread() {
|
|
265
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
266
|
-
ar = ar.concat(__read(arguments[i]));
|
|
267
|
-
return ar;
|
|
268
|
-
}
|
|
269
|
-
/** @deprecated */
|
|
270
|
-
function __spreadArrays() {
|
|
271
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
272
|
-
s += arguments[i].length;
|
|
273
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
274
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
275
|
-
r[k] = a[j];
|
|
276
|
-
return r;
|
|
277
|
-
}
|
|
278
|
-
function __spreadArray(to, from, pack) {
|
|
279
|
-
if (pack || arguments.length === 2)
|
|
280
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
281
|
-
if (ar || !(i in from)) {
|
|
282
|
-
if (!ar)
|
|
283
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
284
|
-
ar[i] = from[i];
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
return to.concat(ar || from);
|
|
288
|
-
}
|
|
289
|
-
function __await(v) {
|
|
290
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
291
|
-
}
|
|
292
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
293
|
-
if (!Symbol.asyncIterator)
|
|
294
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
295
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
296
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
297
|
-
function verb(n) { if (g[n])
|
|
298
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
299
|
-
function resume(n, v) { try {
|
|
300
|
-
step(g[n](v));
|
|
301
|
-
}
|
|
302
|
-
catch (e) {
|
|
303
|
-
settle(q[0][3], e);
|
|
304
|
-
} }
|
|
305
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
306
|
-
function fulfill(value) { resume("next", value); }
|
|
307
|
-
function reject(value) { resume("throw", value); }
|
|
308
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
309
|
-
resume(q[0][0], q[0][1]); }
|
|
310
|
-
}
|
|
311
|
-
function __asyncDelegator(o) {
|
|
312
|
-
var i, p;
|
|
313
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
314
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
315
|
-
}
|
|
316
|
-
function __asyncValues(o) {
|
|
317
|
-
if (!Symbol.asyncIterator)
|
|
318
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
319
|
-
var m = o[Symbol.asyncIterator], i;
|
|
320
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
321
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
322
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
323
|
-
}
|
|
324
|
-
function __makeTemplateObject(cooked, raw) {
|
|
325
|
-
if (Object.defineProperty) {
|
|
326
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
327
|
-
}
|
|
328
|
-
else {
|
|
329
|
-
cooked.raw = raw;
|
|
330
|
-
}
|
|
331
|
-
return cooked;
|
|
332
|
-
}
|
|
333
|
-
;
|
|
334
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
335
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
336
|
-
}) : function (o, v) {
|
|
337
|
-
o["default"] = v;
|
|
338
|
-
};
|
|
339
|
-
function __importStar(mod) {
|
|
340
|
-
if (mod && mod.__esModule)
|
|
341
|
-
return mod;
|
|
342
|
-
var result = {};
|
|
343
|
-
if (mod != null)
|
|
344
|
-
for (var k in mod)
|
|
345
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
346
|
-
__createBinding(result, mod, k);
|
|
347
|
-
__setModuleDefault(result, mod);
|
|
348
|
-
return result;
|
|
349
|
-
}
|
|
350
|
-
function __importDefault(mod) {
|
|
351
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
352
|
-
}
|
|
353
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
354
|
-
if (kind === "a" && !f)
|
|
355
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
356
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
357
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
358
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
359
|
-
}
|
|
360
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
361
|
-
if (kind === "m")
|
|
362
|
-
throw new TypeError("Private method is not writable");
|
|
363
|
-
if (kind === "a" && !f)
|
|
364
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
365
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
366
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
367
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* @license
|
|
372
|
-
* Copyright Google LLC All Rights Reserved.
|
|
373
|
-
*
|
|
374
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
375
|
-
* found in the LICENSE file at https://angular.io/license
|
|
376
|
-
*/
|
|
377
|
-
/**
|
|
378
|
-
* Animations used by the MatFormField.
|
|
379
|
-
* @docs-private
|
|
380
|
-
*/
|
|
381
|
-
var matFormFieldAnimations = {
|
|
382
|
-
/** Animation that transitions the form field's error and hint messages. */
|
|
383
|
-
transitionMessages: animations.trigger('transitionMessages', [
|
|
384
|
-
// TODO(mmalerba): Use angular animations for label animation as well.
|
|
385
|
-
animations.state('enter', animations.style({ opacity: 1, transform: 'translateY(0%)' })),
|
|
386
|
-
animations.transition('void => enter', [
|
|
387
|
-
animations.style({ opacity: 0, transform: 'translateY(-5px)' }),
|
|
388
|
-
animations.animate('300ms cubic-bezier(0.55, 0, 0.55, 0.2)'),
|
|
389
|
-
]),
|
|
390
|
-
])
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* @license
|
|
395
|
-
* Copyright Google LLC All Rights Reserved.
|
|
396
|
-
*
|
|
397
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
398
|
-
* found in the LICENSE file at https://angular.io/license
|
|
399
|
-
*/
|
|
400
|
-
/** An interface which allows a control to work inside of a `MatFormField`. */
|
|
401
|
-
var MatFormFieldControl = /** @class */ (function () {
|
|
402
|
-
function MatFormFieldControl() {
|
|
403
|
-
}
|
|
404
|
-
return MatFormFieldControl;
|
|
405
|
-
}());
|
|
406
|
-
MatFormFieldControl.decorators = [
|
|
407
|
-
{ type: core.Directive }
|
|
408
|
-
];
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* @license
|
|
412
|
-
* Copyright Google LLC All Rights Reserved.
|
|
413
|
-
*
|
|
414
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
415
|
-
* found in the LICENSE file at https://angular.io/license
|
|
416
|
-
*/
|
|
417
|
-
/** @docs-private */
|
|
418
|
-
function getMatFormFieldPlaceholderConflictError() {
|
|
419
|
-
return Error('Placeholder attribute and child element were both specified.');
|
|
420
|
-
}
|
|
421
|
-
/** @docs-private */
|
|
422
|
-
function getMatFormFieldDuplicatedHintError(align) {
|
|
423
|
-
return Error("A hint was already declared for 'align=\"" + align + "\"'.");
|
|
424
|
-
}
|
|
425
|
-
/** @docs-private */
|
|
426
|
-
function getMatFormFieldMissingControlError() {
|
|
427
|
-
return Error('mat-form-field must contain a MatFormFieldControl.');
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* @license
|
|
432
|
-
* Copyright Google LLC All Rights Reserved.
|
|
433
|
-
*
|
|
434
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
435
|
-
* found in the LICENSE file at https://angular.io/license
|
|
436
|
-
*/
|
|
437
|
-
var nextUniqueId$1 = 0;
|
|
438
|
-
/**
|
|
439
|
-
* Injection token that can be used to reference instances of `MatHint`. It serves as
|
|
440
|
-
* alternative token to the actual `MatHint` class which could cause unnecessary
|
|
441
|
-
* retention of the class and its directive metadata.
|
|
442
|
-
*
|
|
443
|
-
* *Note*: This is not part of the public API as the MDC-based form-field will not
|
|
444
|
-
* need a lightweight token for `MatHint` and we want to reduce breaking changes.
|
|
445
|
-
*/
|
|
446
|
-
var _MAT_HINT = new core.InjectionToken('MatHint');
|
|
447
|
-
/** Hint text to be shown underneath the form field control. */
|
|
448
|
-
var MatHint = /** @class */ (function () {
|
|
449
|
-
function MatHint() {
|
|
450
|
-
/** Whether to align the hint label at the start or end of the line. */
|
|
451
|
-
this.align = 'start';
|
|
452
|
-
/** Unique ID for the hint. Used for the aria-describedby on the form field control. */
|
|
453
|
-
this.id = "mat-hint-" + nextUniqueId$1++;
|
|
454
|
-
}
|
|
455
|
-
return MatHint;
|
|
456
|
-
}());
|
|
457
|
-
MatHint.decorators = [
|
|
458
|
-
{ type: core.Directive, args: [{
|
|
459
|
-
selector: 'mat-hint',
|
|
460
|
-
host: {
|
|
461
|
-
'class': 'mat-hint',
|
|
462
|
-
'[class.mat-form-field-hint-end]': 'align === "end"',
|
|
463
|
-
'[attr.id]': 'id',
|
|
464
|
-
// Remove align attribute to prevent it from interfering with layout.
|
|
465
|
-
'[attr.align]': 'null',
|
|
466
|
-
},
|
|
467
|
-
providers: [{ provide: _MAT_HINT, useExisting: MatHint }],
|
|
468
|
-
},] }
|
|
469
|
-
];
|
|
470
|
-
MatHint.propDecorators = {
|
|
471
|
-
align: [{ type: core.Input }],
|
|
472
|
-
id: [{ type: core.Input }]
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* @license
|
|
477
|
-
* Copyright Google LLC All Rights Reserved.
|
|
478
|
-
*
|
|
479
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
480
|
-
* found in the LICENSE file at https://angular.io/license
|
|
481
|
-
*/
|
|
482
|
-
/** The floating label for a `mat-form-field`. */
|
|
483
|
-
var MatLabel = /** @class */ (function () {
|
|
484
|
-
function MatLabel() {
|
|
485
|
-
}
|
|
486
|
-
return MatLabel;
|
|
487
|
-
}());
|
|
488
|
-
MatLabel.decorators = [
|
|
489
|
-
{ type: core.Directive, args: [{
|
|
490
|
-
selector: 'mat-label'
|
|
491
|
-
},] }
|
|
492
|
-
];
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* @license
|
|
496
|
-
* Copyright Google LLC All Rights Reserved.
|
|
497
|
-
*
|
|
498
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
499
|
-
* found in the LICENSE file at https://angular.io/license
|
|
500
|
-
*/
|
|
501
|
-
/**
|
|
502
|
-
* The placeholder text for an `MatFormField`.
|
|
503
|
-
* @deprecated Use `<mat-label>` to specify the label and the `placeholder` attribute to specify the
|
|
504
|
-
* placeholder.
|
|
505
|
-
* @breaking-change 8.0.0
|
|
506
|
-
*/
|
|
507
|
-
var MatPlaceholder = /** @class */ (function () {
|
|
508
|
-
function MatPlaceholder() {
|
|
509
|
-
}
|
|
510
|
-
return MatPlaceholder;
|
|
511
|
-
}());
|
|
512
|
-
MatPlaceholder.decorators = [
|
|
513
|
-
{ type: core.Directive, args: [{
|
|
514
|
-
selector: 'mat-placeholder'
|
|
515
|
-
},] }
|
|
516
|
-
];
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* @license
|
|
520
|
-
* Copyright Google LLC All Rights Reserved.
|
|
521
|
-
*
|
|
522
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
523
|
-
* found in the LICENSE file at https://angular.io/license
|
|
524
|
-
*/
|
|
525
|
-
/**
|
|
526
|
-
* Injection token that can be used to reference instances of `MatPrefix`. It serves as
|
|
527
|
-
* alternative token to the actual `MatPrefix` class which could cause unnecessary
|
|
528
|
-
* retention of the class and its directive metadata.
|
|
529
|
-
*/
|
|
530
|
-
var MAT_PREFIX = new core.InjectionToken('MatPrefix');
|
|
531
|
-
/** Prefix to be placed in front of the form field. */
|
|
532
|
-
var MatPrefix = /** @class */ (function () {
|
|
533
|
-
function MatPrefix() {
|
|
534
|
-
}
|
|
535
|
-
return MatPrefix;
|
|
536
|
-
}());
|
|
537
|
-
MatPrefix.decorators = [
|
|
538
|
-
{ type: core.Directive, args: [{
|
|
539
|
-
selector: '[matPrefix]',
|
|
540
|
-
providers: [{ provide: MAT_PREFIX, useExisting: MatPrefix }],
|
|
541
|
-
},] }
|
|
542
|
-
];
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* @license
|
|
546
|
-
* Copyright Google LLC All Rights Reserved.
|
|
547
|
-
*
|
|
548
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
549
|
-
* found in the LICENSE file at https://angular.io/license
|
|
550
|
-
*/
|
|
551
|
-
/**
|
|
552
|
-
* Injection token that can be used to reference instances of `MatSuffix`. It serves as
|
|
553
|
-
* alternative token to the actual `MatSuffix` class which could cause unnecessary
|
|
554
|
-
* retention of the class and its directive metadata.
|
|
555
|
-
*/
|
|
556
|
-
var MAT_SUFFIX = new core.InjectionToken('MatSuffix');
|
|
557
|
-
/** Suffix to be placed at the end of the form field. */
|
|
558
|
-
var MatSuffix = /** @class */ (function () {
|
|
559
|
-
function MatSuffix() {
|
|
560
|
-
}
|
|
561
|
-
return MatSuffix;
|
|
562
|
-
}());
|
|
563
|
-
MatSuffix.decorators = [
|
|
564
|
-
{ type: core.Directive, args: [{
|
|
565
|
-
selector: '[matSuffix]',
|
|
566
|
-
providers: [{ provide: MAT_SUFFIX, useExisting: MatSuffix }],
|
|
567
|
-
},] }
|
|
568
|
-
];
|
|
569
|
-
|
|
570
|
-
var nextUniqueId = 0;
|
|
571
|
-
var floatingLabelScale = 0.75;
|
|
572
|
-
var outlineGapPadding = 5;
|
|
573
|
-
/**
|
|
574
|
-
* Boilerplate for applying mixins to MatFormField.
|
|
575
|
-
* @docs-private
|
|
576
|
-
*/
|
|
577
|
-
var _MatFormFieldBase = core$1.mixinColor(/** @class */ (function () {
|
|
578
|
-
function class_1(_elementRef) {
|
|
579
|
-
this._elementRef = _elementRef;
|
|
580
|
-
}
|
|
581
|
-
return class_1;
|
|
582
|
-
}()), 'primary');
|
|
583
|
-
/**
|
|
584
|
-
* Injection token that can be used to configure the
|
|
585
|
-
* default options for all form field within an app.
|
|
586
|
-
*/
|
|
587
|
-
var MAT_FORM_FIELD_DEFAULT_OPTIONS = new core.InjectionToken('MAT_FORM_FIELD_DEFAULT_OPTIONS');
|
|
588
|
-
/**
|
|
589
|
-
* Injection token that can be used to inject an instances of `MatFormField`. It serves
|
|
590
|
-
* as alternative token to the actual `MatFormField` class which would cause unnecessary
|
|
591
|
-
* retention of the `MatFormField` class and its component metadata.
|
|
592
|
-
*/
|
|
593
|
-
var MAT_FORM_FIELD = new core.InjectionToken('MatFormField');
|
|
594
|
-
/** Container for form controls that applies Material Design styling and behavior. */
|
|
595
|
-
var MatFormField = /** @class */ (function (_super) {
|
|
596
|
-
__extends(MatFormField, _super);
|
|
597
|
-
function MatFormField(elementRef, _changeDetectorRef, _dir, _defaults, _platform, _ngZone, _animationMode) {
|
|
598
|
-
var _this = _super.call(this, elementRef) || this;
|
|
599
|
-
_this._changeDetectorRef = _changeDetectorRef;
|
|
600
|
-
_this._dir = _dir;
|
|
601
|
-
_this._defaults = _defaults;
|
|
602
|
-
_this._platform = _platform;
|
|
603
|
-
_this._ngZone = _ngZone;
|
|
604
|
-
/**
|
|
605
|
-
* Whether the outline gap needs to be calculated
|
|
606
|
-
* immediately on the next change detection run.
|
|
607
|
-
*/
|
|
608
|
-
_this._outlineGapCalculationNeededImmediately = false;
|
|
609
|
-
/** Whether the outline gap needs to be calculated next time the zone has stabilized. */
|
|
610
|
-
_this._outlineGapCalculationNeededOnStable = false;
|
|
611
|
-
_this._destroyed = new rxjs.Subject();
|
|
612
|
-
/** Override for the logic that disables the label animation in certain cases. */
|
|
613
|
-
_this._showAlwaysAnimate = false;
|
|
614
|
-
/** State of the mat-hint and mat-error animations. */
|
|
615
|
-
_this._subscriptAnimationState = '';
|
|
616
|
-
_this._hintLabel = '';
|
|
617
|
-
// Unique id for the hint label.
|
|
618
|
-
_this._hintLabelId = "mat-hint-" + nextUniqueId++;
|
|
619
|
-
// Unique id for the label element.
|
|
620
|
-
_this._labelId = "mat-form-field-label-" + nextUniqueId++;
|
|
621
|
-
_this.floatLabel = _this._getDefaultFloatLabelState();
|
|
622
|
-
_this._animationsEnabled = _animationMode !== 'NoopAnimations';
|
|
623
|
-
// Set the default through here so we invoke the setter on the first run.
|
|
624
|
-
_this.appearance = (_defaults && _defaults.appearance) ? _defaults.appearance : 'legacy';
|
|
625
|
-
_this._hideRequiredMarker = (_defaults && _defaults.hideRequiredMarker != null) ?
|
|
626
|
-
_defaults.hideRequiredMarker : false;
|
|
627
|
-
return _this;
|
|
628
|
-
}
|
|
629
|
-
Object.defineProperty(MatFormField.prototype, "appearance", {
|
|
630
|
-
/** The form-field appearance style. */
|
|
631
|
-
get: function () { return this._appearance; },
|
|
632
|
-
set: function (value) {
|
|
633
|
-
var oldValue = this._appearance;
|
|
634
|
-
this._appearance = value || (this._defaults && this._defaults.appearance) || 'legacy';
|
|
635
|
-
if (this._appearance === 'outline' && oldValue !== value) {
|
|
636
|
-
this._outlineGapCalculationNeededOnStable = true;
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
enumerable: false,
|
|
640
|
-
configurable: true
|
|
641
|
-
});
|
|
642
|
-
Object.defineProperty(MatFormField.prototype, "hideRequiredMarker", {
|
|
643
|
-
/** Whether the required marker should be hidden. */
|
|
644
|
-
get: function () { return this._hideRequiredMarker; },
|
|
645
|
-
set: function (value) {
|
|
646
|
-
this._hideRequiredMarker = coercion.coerceBooleanProperty(value);
|
|
647
|
-
},
|
|
648
|
-
enumerable: false,
|
|
649
|
-
configurable: true
|
|
650
|
-
});
|
|
651
|
-
/** Whether the floating label should always float or not. */
|
|
652
|
-
MatFormField.prototype._shouldAlwaysFloat = function () {
|
|
653
|
-
return this.floatLabel === 'always' && !this._showAlwaysAnimate;
|
|
654
|
-
};
|
|
655
|
-
/** Whether the label can float or not. */
|
|
656
|
-
MatFormField.prototype._canLabelFloat = function () { return this.floatLabel !== 'never'; };
|
|
657
|
-
Object.defineProperty(MatFormField.prototype, "hintLabel", {
|
|
658
|
-
/** Text for the form field hint. */
|
|
659
|
-
get: function () { return this._hintLabel; },
|
|
660
|
-
set: function (value) {
|
|
661
|
-
this._hintLabel = value;
|
|
662
|
-
this._processHints();
|
|
663
|
-
},
|
|
664
|
-
enumerable: false,
|
|
665
|
-
configurable: true
|
|
666
|
-
});
|
|
667
|
-
Object.defineProperty(MatFormField.prototype, "floatLabel", {
|
|
668
|
-
/**
|
|
669
|
-
* Whether the label should always float, never float or float as the user types.
|
|
670
|
-
*
|
|
671
|
-
* Note: only the legacy appearance supports the `never` option. `never` was originally added as a
|
|
672
|
-
* way to make the floating label emulate the behavior of a standard input placeholder. However
|
|
673
|
-
* the form field now supports both floating labels and placeholders. Therefore in the non-legacy
|
|
674
|
-
* appearances the `never` option has been disabled in favor of just using the placeholder.
|
|
675
|
-
*/
|
|
676
|
-
get: function () {
|
|
677
|
-
return this.appearance !== 'legacy' && this._floatLabel === 'never' ? 'auto' : this._floatLabel;
|
|
678
|
-
},
|
|
679
|
-
set: function (value) {
|
|
680
|
-
if (value !== this._floatLabel) {
|
|
681
|
-
this._floatLabel = value || this._getDefaultFloatLabelState();
|
|
682
|
-
this._changeDetectorRef.markForCheck();
|
|
683
|
-
}
|
|
684
|
-
},
|
|
685
|
-
enumerable: false,
|
|
686
|
-
configurable: true
|
|
687
|
-
});
|
|
688
|
-
Object.defineProperty(MatFormField.prototype, "_control", {
|
|
689
|
-
get: function () {
|
|
690
|
-
// TODO(crisbeto): we need this workaround in order to support both Ivy and ViewEngine.
|
|
691
|
-
// We should clean this up once Ivy is the default renderer.
|
|
692
|
-
return this._explicitFormFieldControl || this._controlNonStatic || this._controlStatic;
|
|
693
|
-
},
|
|
694
|
-
set: function (value) {
|
|
695
|
-
this._explicitFormFieldControl = value;
|
|
696
|
-
},
|
|
697
|
-
enumerable: false,
|
|
698
|
-
configurable: true
|
|
699
|
-
});
|
|
700
|
-
/**
|
|
701
|
-
* Gets the id of the label element. If no label is present, returns `null`.
|
|
702
|
-
*/
|
|
703
|
-
MatFormField.prototype.getLabelId = function () {
|
|
704
|
-
return this._hasFloatingLabel() ? this._labelId : null;
|
|
705
|
-
};
|
|
706
|
-
/**
|
|
707
|
-
* Gets an ElementRef for the element that a overlay attached to the form-field should be
|
|
708
|
-
* positioned relative to.
|
|
709
|
-
*/
|
|
710
|
-
MatFormField.prototype.getConnectedOverlayOrigin = function () {
|
|
711
|
-
return this._connectionContainerRef || this._elementRef;
|
|
712
|
-
};
|
|
713
|
-
MatFormField.prototype.ngAfterContentInit = function () {
|
|
714
|
-
var _this = this;
|
|
715
|
-
this._validateControlChild();
|
|
716
|
-
var control = this._control;
|
|
717
|
-
if (control.controlType) {
|
|
718
|
-
this._elementRef.nativeElement.classList.add("mat-form-field-type-" + control.controlType);
|
|
719
|
-
}
|
|
720
|
-
// Subscribe to changes in the child control state in order to update the form field UI.
|
|
721
|
-
control.stateChanges.pipe(operators.startWith(null)).subscribe(function () {
|
|
722
|
-
_this._validatePlaceholders();
|
|
723
|
-
_this._syncDescribedByIds();
|
|
724
|
-
_this._changeDetectorRef.markForCheck();
|
|
725
|
-
});
|
|
726
|
-
// Run change detection if the value changes.
|
|
727
|
-
if (control.ngControl && control.ngControl.valueChanges) {
|
|
728
|
-
control.ngControl.valueChanges
|
|
729
|
-
.pipe(operators.takeUntil(this._destroyed))
|
|
730
|
-
.subscribe(function () { return _this._changeDetectorRef.markForCheck(); });
|
|
731
|
-
}
|
|
732
|
-
// Note that we have to run outside of the `NgZone` explicitly,
|
|
733
|
-
// in order to avoid throwing users into an infinite loop
|
|
734
|
-
// if `zone-patch-rxjs` is included.
|
|
735
|
-
this._ngZone.runOutsideAngular(function () {
|
|
736
|
-
_this._ngZone.onStable.pipe(operators.takeUntil(_this._destroyed)).subscribe(function () {
|
|
737
|
-
if (_this._outlineGapCalculationNeededOnStable) {
|
|
738
|
-
_this.updateOutlineGap();
|
|
739
|
-
}
|
|
740
|
-
});
|
|
741
|
-
});
|
|
742
|
-
// Run change detection and update the outline if the suffix or prefix changes.
|
|
743
|
-
rxjs.merge(this._prefixChildren.changes, this._suffixChildren.changes).subscribe(function () {
|
|
744
|
-
_this._outlineGapCalculationNeededOnStable = true;
|
|
745
|
-
_this._changeDetectorRef.markForCheck();
|
|
746
|
-
});
|
|
747
|
-
// Re-validate when the number of hints changes.
|
|
748
|
-
this._hintChildren.changes.pipe(operators.startWith(null)).subscribe(function () {
|
|
749
|
-
_this._processHints();
|
|
750
|
-
_this._changeDetectorRef.markForCheck();
|
|
751
|
-
});
|
|
752
|
-
// Update the aria-described by when the number of errors changes.
|
|
753
|
-
this._errorChildren.changes.pipe(operators.startWith(null)).subscribe(function () {
|
|
754
|
-
_this._syncDescribedByIds();
|
|
755
|
-
_this._changeDetectorRef.markForCheck();
|
|
756
|
-
});
|
|
757
|
-
if (this._dir) {
|
|
758
|
-
this._dir.change.pipe(operators.takeUntil(this._destroyed)).subscribe(function () {
|
|
759
|
-
if (typeof requestAnimationFrame === 'function') {
|
|
760
|
-
_this._ngZone.runOutsideAngular(function () {
|
|
761
|
-
requestAnimationFrame(function () { return _this.updateOutlineGap(); });
|
|
762
|
-
});
|
|
763
|
-
}
|
|
764
|
-
else {
|
|
765
|
-
_this.updateOutlineGap();
|
|
766
|
-
}
|
|
767
|
-
});
|
|
768
|
-
}
|
|
769
|
-
};
|
|
770
|
-
MatFormField.prototype.ngAfterContentChecked = function () {
|
|
771
|
-
this._validateControlChild();
|
|
772
|
-
if (this._outlineGapCalculationNeededImmediately) {
|
|
773
|
-
this.updateOutlineGap();
|
|
774
|
-
}
|
|
775
|
-
};
|
|
776
|
-
MatFormField.prototype.ngAfterViewInit = function () {
|
|
777
|
-
// Avoid animations on load.
|
|
778
|
-
this._subscriptAnimationState = 'enter';
|
|
779
|
-
this._changeDetectorRef.detectChanges();
|
|
780
|
-
};
|
|
781
|
-
MatFormField.prototype.ngOnDestroy = function () {
|
|
782
|
-
this._destroyed.next();
|
|
783
|
-
this._destroyed.complete();
|
|
784
|
-
};
|
|
785
|
-
/** Determines whether a class from the NgControl should be forwarded to the host element. */
|
|
786
|
-
MatFormField.prototype._shouldForward = function (prop) {
|
|
787
|
-
var ngControl = this._control ? this._control.ngControl : null;
|
|
788
|
-
return ngControl && ngControl[prop];
|
|
789
|
-
};
|
|
790
|
-
MatFormField.prototype._hasPlaceholder = function () {
|
|
791
|
-
return !!(this._control && this._control.placeholder || this._placeholderChild);
|
|
792
|
-
};
|
|
793
|
-
MatFormField.prototype._hasLabel = function () {
|
|
794
|
-
return !!(this._labelChildNonStatic || this._labelChildStatic);
|
|
795
|
-
};
|
|
796
|
-
MatFormField.prototype._shouldLabelFloat = function () {
|
|
797
|
-
return this._canLabelFloat() &&
|
|
798
|
-
((this._control && this._control.shouldLabelFloat) || this._shouldAlwaysFloat());
|
|
799
|
-
};
|
|
800
|
-
MatFormField.prototype._hideControlPlaceholder = function () {
|
|
801
|
-
// In the legacy appearance the placeholder is promoted to a label if no label is given.
|
|
802
|
-
return this.appearance === 'legacy' && !this._hasLabel() ||
|
|
803
|
-
this._hasLabel() && !this._shouldLabelFloat();
|
|
804
|
-
};
|
|
805
|
-
MatFormField.prototype._hasFloatingLabel = function () {
|
|
806
|
-
// In the legacy appearance the placeholder is promoted to a label if no label is given.
|
|
807
|
-
return this._hasLabel() || this.appearance === 'legacy' && this._hasPlaceholder();
|
|
808
|
-
};
|
|
809
|
-
/** Determines whether to display hints or errors. */
|
|
810
|
-
MatFormField.prototype._getDisplayedMessages = function () {
|
|
811
|
-
return (this._errorChildren && this._errorChildren.length > 0 &&
|
|
812
|
-
this._control.errorState) ? 'error' : 'hint';
|
|
813
|
-
};
|
|
814
|
-
/** Animates the placeholder up and locks it in position. */
|
|
815
|
-
MatFormField.prototype._animateAndLockLabel = function () {
|
|
816
|
-
var _this = this;
|
|
817
|
-
if (this._hasFloatingLabel() && this._canLabelFloat()) {
|
|
818
|
-
// If animations are disabled, we shouldn't go in here,
|
|
819
|
-
// because the `transitionend` will never fire.
|
|
820
|
-
if (this._animationsEnabled && this._label) {
|
|
821
|
-
this._showAlwaysAnimate = true;
|
|
822
|
-
rxjs.fromEvent(this._label.nativeElement, 'transitionend').pipe(operators.take(1)).subscribe(function () {
|
|
823
|
-
_this._showAlwaysAnimate = false;
|
|
824
|
-
});
|
|
825
|
-
}
|
|
826
|
-
this.floatLabel = 'always';
|
|
827
|
-
this._changeDetectorRef.markForCheck();
|
|
828
|
-
}
|
|
829
|
-
};
|
|
830
|
-
/**
|
|
831
|
-
* Ensure that there is only one placeholder (either `placeholder` attribute on the child control
|
|
832
|
-
* or child element with the `mat-placeholder` directive).
|
|
833
|
-
*/
|
|
834
|
-
MatFormField.prototype._validatePlaceholders = function () {
|
|
835
|
-
if (this._control.placeholder && this._placeholderChild &&
|
|
836
|
-
(typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
837
|
-
throw getMatFormFieldPlaceholderConflictError();
|
|
838
|
-
}
|
|
839
|
-
};
|
|
840
|
-
/** Does any extra processing that is required when handling the hints. */
|
|
841
|
-
MatFormField.prototype._processHints = function () {
|
|
842
|
-
this._validateHints();
|
|
843
|
-
this._syncDescribedByIds();
|
|
844
|
-
};
|
|
845
|
-
/**
|
|
846
|
-
* Ensure that there is a maximum of one of each `<mat-hint>` alignment specified, with the
|
|
847
|
-
* attribute being considered as `align="start"`.
|
|
848
|
-
*/
|
|
849
|
-
MatFormField.prototype._validateHints = function () {
|
|
850
|
-
var _this = this;
|
|
851
|
-
if (this._hintChildren && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
852
|
-
var startHint_1;
|
|
853
|
-
var endHint_1;
|
|
854
|
-
this._hintChildren.forEach(function (hint) {
|
|
855
|
-
if (hint.align === 'start') {
|
|
856
|
-
if (startHint_1 || _this.hintLabel) {
|
|
857
|
-
throw getMatFormFieldDuplicatedHintError('start');
|
|
858
|
-
}
|
|
859
|
-
startHint_1 = hint;
|
|
860
|
-
}
|
|
861
|
-
else if (hint.align === 'end') {
|
|
862
|
-
if (endHint_1) {
|
|
863
|
-
throw getMatFormFieldDuplicatedHintError('end');
|
|
864
|
-
}
|
|
865
|
-
endHint_1 = hint;
|
|
866
|
-
}
|
|
867
|
-
});
|
|
868
|
-
}
|
|
869
|
-
};
|
|
870
|
-
/** Gets the default float label state. */
|
|
871
|
-
MatFormField.prototype._getDefaultFloatLabelState = function () {
|
|
872
|
-
return (this._defaults && this._defaults.floatLabel) || 'auto';
|
|
873
|
-
};
|
|
874
|
-
/**
|
|
875
|
-
* Sets the list of element IDs that describe the child control. This allows the control to update
|
|
876
|
-
* its `aria-describedby` attribute accordingly.
|
|
877
|
-
*/
|
|
878
|
-
MatFormField.prototype._syncDescribedByIds = function () {
|
|
879
|
-
if (this._control) {
|
|
880
|
-
var ids = [];
|
|
881
|
-
// TODO(wagnermaciel): Remove the type check when we find the root cause of this bug.
|
|
882
|
-
if (this._control.userAriaDescribedBy &&
|
|
883
|
-
typeof this._control.userAriaDescribedBy === 'string') {
|
|
884
|
-
ids.push.apply(ids, __spreadArray([], __read(this._control.userAriaDescribedBy.split(' '))));
|
|
885
|
-
}
|
|
886
|
-
if (this._getDisplayedMessages() === 'hint') {
|
|
887
|
-
var startHint = this._hintChildren ?
|
|
888
|
-
this._hintChildren.find(function (hint) { return hint.align === 'start'; }) : null;
|
|
889
|
-
var endHint = this._hintChildren ?
|
|
890
|
-
this._hintChildren.find(function (hint) { return hint.align === 'end'; }) : null;
|
|
891
|
-
if (startHint) {
|
|
892
|
-
ids.push(startHint.id);
|
|
893
|
-
}
|
|
894
|
-
else if (this._hintLabel) {
|
|
895
|
-
ids.push(this._hintLabelId);
|
|
896
|
-
}
|
|
897
|
-
if (endHint) {
|
|
898
|
-
ids.push(endHint.id);
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
else if (this._errorChildren) {
|
|
902
|
-
ids.push.apply(ids, __spreadArray([], __read(this._errorChildren.map(function (error) { return error.id; }))));
|
|
903
|
-
}
|
|
904
|
-
this._control.setDescribedByIds(ids);
|
|
905
|
-
}
|
|
906
|
-
};
|
|
907
|
-
/** Throws an error if the form field's control is missing. */
|
|
908
|
-
MatFormField.prototype._validateControlChild = function () {
|
|
909
|
-
if (!this._control && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
910
|
-
throw getMatFormFieldMissingControlError();
|
|
911
|
-
}
|
|
912
|
-
};
|
|
913
|
-
/**
|
|
914
|
-
* Updates the width and position of the gap in the outline. Only relevant for the outline
|
|
915
|
-
* appearance.
|
|
916
|
-
*/
|
|
917
|
-
MatFormField.prototype.updateOutlineGap = function () {
|
|
918
|
-
var labelEl = this._label ? this._label.nativeElement : null;
|
|
919
|
-
if (this.appearance !== 'outline' || !labelEl || !labelEl.children.length ||
|
|
920
|
-
!labelEl.textContent.trim()) {
|
|
921
|
-
return;
|
|
922
|
-
}
|
|
923
|
-
if (!this._platform.isBrowser) {
|
|
924
|
-
// getBoundingClientRect isn't available on the server.
|
|
925
|
-
return;
|
|
926
|
-
}
|
|
927
|
-
// If the element is not present in the DOM, the outline gap will need to be calculated
|
|
928
|
-
// the next time it is checked and in the DOM.
|
|
929
|
-
if (!this._isAttachedToDOM()) {
|
|
930
|
-
this._outlineGapCalculationNeededImmediately = true;
|
|
931
|
-
return;
|
|
932
|
-
}
|
|
933
|
-
var startWidth = 0;
|
|
934
|
-
var gapWidth = 0;
|
|
935
|
-
var container = this._connectionContainerRef.nativeElement;
|
|
936
|
-
var startEls = container.querySelectorAll('.mat-form-field-outline-start');
|
|
937
|
-
var gapEls = container.querySelectorAll('.mat-form-field-outline-gap');
|
|
938
|
-
if (this._label && this._label.nativeElement.children.length) {
|
|
939
|
-
var containerRect = container.getBoundingClientRect();
|
|
940
|
-
// If the container's width and height are zero, it means that the element is
|
|
941
|
-
// invisible and we can't calculate the outline gap. Mark the element as needing
|
|
942
|
-
// to be checked the next time the zone stabilizes. We can't do this immediately
|
|
943
|
-
// on the next change detection, because even if the element becomes visible,
|
|
944
|
-
// the `ClientRect` won't be reclaculated immediately. We reset the
|
|
945
|
-
// `_outlineGapCalculationNeededImmediately` flag some we don't run the checks twice.
|
|
946
|
-
if (containerRect.width === 0 && containerRect.height === 0) {
|
|
947
|
-
this._outlineGapCalculationNeededOnStable = true;
|
|
948
|
-
this._outlineGapCalculationNeededImmediately = false;
|
|
949
|
-
return;
|
|
950
|
-
}
|
|
951
|
-
var containerStart = this._getStartEnd(containerRect);
|
|
952
|
-
var labelChildren = labelEl.children;
|
|
953
|
-
var labelStart = this._getStartEnd(labelChildren[0].getBoundingClientRect());
|
|
954
|
-
var labelWidth = 0;
|
|
955
|
-
for (var i = 0; i < labelChildren.length; i++) {
|
|
956
|
-
labelWidth += labelChildren[i].offsetWidth;
|
|
957
|
-
}
|
|
958
|
-
startWidth = Math.abs(labelStart - containerStart) - outlineGapPadding;
|
|
959
|
-
gapWidth = labelWidth > 0 ? labelWidth * floatingLabelScale + outlineGapPadding * 2 : 0;
|
|
960
|
-
}
|
|
961
|
-
for (var i = 0; i < startEls.length; i++) {
|
|
962
|
-
startEls[i].style.width = startWidth + "px";
|
|
963
|
-
}
|
|
964
|
-
for (var i = 0; i < gapEls.length; i++) {
|
|
965
|
-
gapEls[i].style.width = gapWidth + "px";
|
|
966
|
-
}
|
|
967
|
-
this._outlineGapCalculationNeededOnStable =
|
|
968
|
-
this._outlineGapCalculationNeededImmediately = false;
|
|
969
|
-
};
|
|
970
|
-
/** Gets the start end of the rect considering the current directionality. */
|
|
971
|
-
MatFormField.prototype._getStartEnd = function (rect) {
|
|
972
|
-
return (this._dir && this._dir.value === 'rtl') ? rect.right : rect.left;
|
|
973
|
-
};
|
|
974
|
-
/** Checks whether the form field is attached to the DOM. */
|
|
975
|
-
MatFormField.prototype._isAttachedToDOM = function () {
|
|
976
|
-
var element = this._elementRef.nativeElement;
|
|
977
|
-
if (element.getRootNode) {
|
|
978
|
-
var rootNode = element.getRootNode();
|
|
979
|
-
// If the element is inside the DOM the root node will be either the document
|
|
980
|
-
// or the closest shadow root, otherwise it'll be the element itself.
|
|
981
|
-
return rootNode && rootNode !== element;
|
|
982
|
-
}
|
|
983
|
-
// Otherwise fall back to checking if it's in the document. This doesn't account for
|
|
984
|
-
// shadow DOM, however browser that support shadow DOM should support `getRootNode` as well.
|
|
985
|
-
return document.documentElement.contains(element);
|
|
986
|
-
};
|
|
987
|
-
return MatFormField;
|
|
988
|
-
}(_MatFormFieldBase));
|
|
989
|
-
MatFormField.decorators = [
|
|
990
|
-
{ type: core.Component, args: [{
|
|
991
|
-
selector: 'mat-form-field',
|
|
992
|
-
exportAs: 'matFormField',
|
|
993
|
-
template: "<div class=\"mat-form-field-wrapper\">\n <div class=\"mat-form-field-flex\" #connectionContainer\n (click)=\"_control.onContainerClick && _control.onContainerClick($event)\">\n\n <!-- Outline used for outline appearance. -->\n <ng-container *ngIf=\"appearance == 'outline'\">\n <div class=\"mat-form-field-outline\">\n <div class=\"mat-form-field-outline-start\"></div>\n <div class=\"mat-form-field-outline-gap\"></div>\n <div class=\"mat-form-field-outline-end\"></div>\n </div>\n <div class=\"mat-form-field-outline mat-form-field-outline-thick\">\n <div class=\"mat-form-field-outline-start\"></div>\n <div class=\"mat-form-field-outline-gap\"></div>\n <div class=\"mat-form-field-outline-end\"></div>\n </div>\n </ng-container>\n\n <div class=\"mat-form-field-prefix\" *ngIf=\"_prefixChildren.length\">\n <ng-content select=\"[matPrefix]\"></ng-content>\n </div>\n\n <div class=\"mat-form-field-infix\" #inputContainer>\n <ng-content></ng-content>\n\n <span class=\"mat-form-field-label-wrapper\">\n <!-- We add aria-owns as a workaround for an issue in JAWS & NVDA where the label isn't\n read if it comes before the control in the DOM. -->\n <label class=\"mat-form-field-label\"\n (cdkObserveContent)=\"updateOutlineGap()\"\n [cdkObserveContentDisabled]=\"appearance != 'outline'\"\n [id]=\"_labelId\"\n [attr.for]=\"_control.id\"\n [attr.aria-owns]=\"_control.id\"\n [class.mat-empty]=\"_control.empty && !_shouldAlwaysFloat()\"\n [class.mat-form-field-empty]=\"_control.empty && !_shouldAlwaysFloat()\"\n [class.mat-accent]=\"color == 'accent'\"\n [class.mat-warn]=\"color == 'warn'\"\n #label\n *ngIf=\"_hasFloatingLabel()\"\n [ngSwitch]=\"_hasLabel()\">\n\n <!-- @breaking-change 8.0.0 remove in favor of mat-label element an placeholder attr. -->\n <ng-container *ngSwitchCase=\"false\">\n <ng-content select=\"mat-placeholder\"></ng-content>\n <span>{{_control.placeholder}}</span>\n </ng-container>\n\n <ng-content select=\"mat-label\" *ngSwitchCase=\"true\"></ng-content>\n\n <!-- @breaking-change 8.0.0 remove `mat-placeholder-required` class -->\n <span\n class=\"mat-placeholder-required mat-form-field-required-marker\"\n aria-hidden=\"true\"\n *ngIf=\"!hideRequiredMarker && _control.required && !_control.disabled\"> *</span>\n </label>\n </span>\n </div>\n\n <div class=\"mat-form-field-suffix\" *ngIf=\"_suffixChildren.length\">\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </div>\n\n <!-- Underline used for legacy, standard, and box appearances. -->\n <div class=\"mat-form-field-underline\"\n *ngIf=\"appearance != 'outline'\">\n <span class=\"mat-form-field-ripple\"\n [class.mat-accent]=\"color == 'accent'\"\n [class.mat-warn]=\"color == 'warn'\"></span>\n </div>\n\n <div class=\"mat-form-field-subscript-wrapper\"\n [ngSwitch]=\"_getDisplayedMessages()\">\n <div *ngSwitchCase=\"'error'\" [@transitionMessages]=\"_subscriptAnimationState\">\n <ng-content select=\"mat-error\"></ng-content>\n </div>\n\n <div class=\"mat-form-field-hint-wrapper\" *ngSwitchCase=\"'hint'\"\n [@transitionMessages]=\"_subscriptAnimationState\">\n <!-- TODO(mmalerba): use an actual <mat-hint> once all selectors are switched to mat-* -->\n <div *ngIf=\"hintLabel\" [id]=\"_hintLabelId\" class=\"mat-hint\">{{hintLabel}}</div>\n <ng-content select=\"mat-hint:not([align='end'])\"></ng-content>\n <div class=\"mat-form-field-hint-spacer\"></div>\n <ng-content select=\"mat-hint[align='end']\"></ng-content>\n </div>\n </div>\n</div>\n",
|
|
994
|
-
animations: [matFormFieldAnimations.transitionMessages],
|
|
995
|
-
host: {
|
|
996
|
-
'class': 'mat-form-field',
|
|
997
|
-
'[class.mat-form-field-appearance-standard]': 'appearance == "standard"',
|
|
998
|
-
'[class.mat-form-field-appearance-fill]': 'appearance == "fill"',
|
|
999
|
-
'[class.mat-form-field-appearance-outline]': 'appearance == "outline"',
|
|
1000
|
-
'[class.mat-form-field-appearance-legacy]': 'appearance == "legacy"',
|
|
1001
|
-
'[class.mat-form-field-invalid]': '_control.errorState',
|
|
1002
|
-
'[class.mat-form-field-can-float]': '_canLabelFloat()',
|
|
1003
|
-
'[class.mat-form-field-should-float]': '_shouldLabelFloat()',
|
|
1004
|
-
'[class.mat-form-field-has-label]': '_hasFloatingLabel()',
|
|
1005
|
-
'[class.mat-form-field-hide-placeholder]': '_hideControlPlaceholder()',
|
|
1006
|
-
'[class.mat-form-field-disabled]': '_control.disabled',
|
|
1007
|
-
'[class.mat-form-field-autofilled]': '_control.autofilled',
|
|
1008
|
-
'[class.mat-focused]': '_control.focused',
|
|
1009
|
-
'[class.ng-untouched]': '_shouldForward("untouched")',
|
|
1010
|
-
'[class.ng-touched]': '_shouldForward("touched")',
|
|
1011
|
-
'[class.ng-pristine]': '_shouldForward("pristine")',
|
|
1012
|
-
'[class.ng-dirty]': '_shouldForward("dirty")',
|
|
1013
|
-
'[class.ng-valid]': '_shouldForward("valid")',
|
|
1014
|
-
'[class.ng-invalid]': '_shouldForward("invalid")',
|
|
1015
|
-
'[class.ng-pending]': '_shouldForward("pending")',
|
|
1016
|
-
'[class._mat-animation-noopable]': '!_animationsEnabled',
|
|
1017
|
-
},
|
|
1018
|
-
inputs: ['color'],
|
|
1019
|
-
encapsulation: core.ViewEncapsulation.None,
|
|
1020
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1021
|
-
providers: [
|
|
1022
|
-
{ provide: MAT_FORM_FIELD, useExisting: MatFormField },
|
|
1023
|
-
],
|
|
1024
|
-
styles: [".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n", ".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:\"\";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n", ".mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:\" \";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:\"\";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n", ".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n", ".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n", ".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"]
|
|
1025
|
-
},] }
|
|
1026
|
-
];
|
|
1027
|
-
MatFormField.ctorParameters = function () { return [
|
|
1028
|
-
{ type: core.ElementRef },
|
|
1029
|
-
{ type: core.ChangeDetectorRef },
|
|
1030
|
-
{ type: bidi.Directionality, decorators: [{ type: core.Optional }] },
|
|
1031
|
-
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [MAT_FORM_FIELD_DEFAULT_OPTIONS,] }] },
|
|
1032
|
-
{ type: platform.Platform },
|
|
1033
|
-
{ type: core.NgZone },
|
|
1034
|
-
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [animations$1.ANIMATION_MODULE_TYPE,] }] }
|
|
1035
|
-
]; };
|
|
1036
|
-
MatFormField.propDecorators = {
|
|
1037
|
-
appearance: [{ type: core.Input }],
|
|
1038
|
-
hideRequiredMarker: [{ type: core.Input }],
|
|
1039
|
-
hintLabel: [{ type: core.Input }],
|
|
1040
|
-
floatLabel: [{ type: core.Input }],
|
|
1041
|
-
_connectionContainerRef: [{ type: core.ViewChild, args: ['connectionContainer', { static: true },] }],
|
|
1042
|
-
_inputContainerRef: [{ type: core.ViewChild, args: ['inputContainer',] }],
|
|
1043
|
-
_label: [{ type: core.ViewChild, args: ['label',] }],
|
|
1044
|
-
_controlNonStatic: [{ type: core.ContentChild, args: [MatFormFieldControl,] }],
|
|
1045
|
-
_controlStatic: [{ type: core.ContentChild, args: [MatFormFieldControl, { static: true },] }],
|
|
1046
|
-
_labelChildNonStatic: [{ type: core.ContentChild, args: [MatLabel,] }],
|
|
1047
|
-
_labelChildStatic: [{ type: core.ContentChild, args: [MatLabel, { static: true },] }],
|
|
1048
|
-
_placeholderChild: [{ type: core.ContentChild, args: [MatPlaceholder,] }],
|
|
1049
|
-
_errorChildren: [{ type: core.ContentChildren, args: [MAT_ERROR, { descendants: true },] }],
|
|
1050
|
-
_hintChildren: [{ type: core.ContentChildren, args: [_MAT_HINT, { descendants: true },] }],
|
|
1051
|
-
_prefixChildren: [{ type: core.ContentChildren, args: [MAT_PREFIX, { descendants: true },] }],
|
|
1052
|
-
_suffixChildren: [{ type: core.ContentChildren, args: [MAT_SUFFIX, { descendants: true },] }]
|
|
1053
|
-
};
|
|
1054
|
-
|
|
1055
|
-
/**
|
|
1056
|
-
* @license
|
|
1057
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1058
|
-
*
|
|
1059
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1060
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1061
|
-
*/
|
|
1062
|
-
var MatFormFieldModule = /** @class */ (function () {
|
|
1063
|
-
function MatFormFieldModule() {
|
|
1064
|
-
}
|
|
1065
|
-
return MatFormFieldModule;
|
|
1066
|
-
}());
|
|
1067
|
-
MatFormFieldModule.decorators = [
|
|
1068
|
-
{ type: core.NgModule, args: [{
|
|
1069
|
-
declarations: [
|
|
1070
|
-
MatError,
|
|
1071
|
-
MatFormField,
|
|
1072
|
-
MatHint,
|
|
1073
|
-
MatLabel,
|
|
1074
|
-
MatPlaceholder,
|
|
1075
|
-
MatPrefix,
|
|
1076
|
-
MatSuffix,
|
|
1077
|
-
],
|
|
1078
|
-
imports: [
|
|
1079
|
-
common.CommonModule,
|
|
1080
|
-
core$1.MatCommonModule,
|
|
1081
|
-
observers.ObserversModule,
|
|
1082
|
-
],
|
|
1083
|
-
exports: [
|
|
1084
|
-
core$1.MatCommonModule,
|
|
1085
|
-
MatError,
|
|
1086
|
-
MatFormField,
|
|
1087
|
-
MatHint,
|
|
1088
|
-
MatLabel,
|
|
1089
|
-
MatPlaceholder,
|
|
1090
|
-
MatPrefix,
|
|
1091
|
-
MatSuffix,
|
|
1092
|
-
],
|
|
1093
|
-
},] }
|
|
1094
|
-
];
|
|
1095
|
-
|
|
1096
|
-
/**
|
|
1097
|
-
* @license
|
|
1098
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1099
|
-
*
|
|
1100
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1101
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1102
|
-
*/
|
|
1103
|
-
|
|
1104
|
-
/**
|
|
1105
|
-
* Generated bundle index. Do not edit.
|
|
1106
|
-
*/
|
|
1107
|
-
|
|
1108
|
-
exports.MAT_ERROR = MAT_ERROR;
|
|
1109
|
-
exports.MAT_FORM_FIELD = MAT_FORM_FIELD;
|
|
1110
|
-
exports.MAT_FORM_FIELD_DEFAULT_OPTIONS = MAT_FORM_FIELD_DEFAULT_OPTIONS;
|
|
1111
|
-
exports.MAT_PREFIX = MAT_PREFIX;
|
|
1112
|
-
exports.MAT_SUFFIX = MAT_SUFFIX;
|
|
1113
|
-
exports.MatError = MatError;
|
|
1114
|
-
exports.MatFormField = MatFormField;
|
|
1115
|
-
exports.MatFormFieldControl = MatFormFieldControl;
|
|
1116
|
-
exports.MatFormFieldModule = MatFormFieldModule;
|
|
1117
|
-
exports.MatHint = MatHint;
|
|
1118
|
-
exports.MatLabel = MatLabel;
|
|
1119
|
-
exports.MatPlaceholder = MatPlaceholder;
|
|
1120
|
-
exports.MatPrefix = MatPrefix;
|
|
1121
|
-
exports.MatSuffix = MatSuffix;
|
|
1122
|
-
exports._MAT_HINT = _MAT_HINT;
|
|
1123
|
-
exports.getMatFormFieldDuplicatedHintError = getMatFormFieldDuplicatedHintError;
|
|
1124
|
-
exports.getMatFormFieldMissingControlError = getMatFormFieldMissingControlError;
|
|
1125
|
-
exports.getMatFormFieldPlaceholderConflictError = getMatFormFieldPlaceholderConflictError;
|
|
1126
|
-
exports.matFormFieldAnimations = matFormFieldAnimations;
|
|
1127
|
-
|
|
1128
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1129
|
-
|
|
1130
|
-
})));
|
|
1131
|
-
//# sourceMappingURL=material-form-field.umd.js.map
|