@angular/material 13.0.0-next.7 → 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 +4 -1
- package/badge/package.json +5 -5
- package/badge/testing/package.json +5 -5
- package/bottom-sheet/bottom-sheet-container.d.ts +3 -0
- 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/common-module.d.ts +5 -0
- package/core/common-behaviors/index.d.ts +1 -0
- 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/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 +6 -1
- 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/{esm2015/core/common-behaviors/color.js → esm2020/core/common-behaviors/color.mjs} +0 -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/{esm2015/core/common-behaviors/disable-ripple.js → esm2020/core/common-behaviors/disable-ripple.mjs} +0 -0
- package/{esm2015/core/common-behaviors/disabled.js → esm2020/core/common-behaviors/disabled.mjs} +0 -0
- package/{esm2015/core/common-behaviors/error-state.js → esm2020/core/common-behaviors/error-state.mjs} +0 -0
- package/esm2020/core/common-behaviors/index.mjs +15 -0
- package/{esm2015/core/common-behaviors/initialized.js → esm2020/core/common-behaviors/initialized.mjs} +0 -0
- package/{esm2015/core/common-behaviors/tabindex.js → esm2020/core/common-behaviors/tabindex.mjs} +0 -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/{esm2015/input/public-api.js → esm2020/input/public-api.mjs} +0 -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/{esm2015/menu/public-api.js → esm2020/menu/public-api.mjs} +0 -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/{esm2015/tabs/public-api.js → esm2020/tabs/public-api.mjs} +0 -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/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 +5 -7
- package/menu/menu-item.d.ts +4 -1
- package/menu/menu-module.d.ts +12 -7
- package/menu/menu-trigger.d.ts +5 -0
- package/menu/menu.d.ts +5 -0
- package/menu/package.json +5 -5
- 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/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/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/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/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 +3 -0
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +10 -1
- package/tabs/tab.d.ts +4 -1
- 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 -604
- 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 -948
- 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 -2175
- 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 -4332
- 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 -817
- 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 -1677
- 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 -1667
- 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 -553
- package/bundles/material-snack-bar-testing.umd.js.map +0 -1
- package/bundles/material-snack-bar.umd.js +0 -1075
- 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 -2183
- 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 -213
- 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 -246
- 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/common-module.js +0 -113
- package/esm2015/core/common-behaviors/index.js +0 -15
- 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 -56
- 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 -529
- 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/input-module.js +0 -33
- package/esm2015/input/input.externs.js +0 -6
- package/esm2015/input/input.js +0 -395
- 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 -97
- package/esm2015/menu/menu-item.js +0 -164
- package/esm2015/menu/menu-module.js +0 -39
- package/esm2015/menu/menu-trigger.js +0 -505
- package/esm2015/menu/menu.externs.js +0 -6
- package/esm2015/menu/menu.js +0 -381
- 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 -1140
- 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 -264
- package/esm2015/snack-bar/testing/snack-bar-harness.js +0 -141
- 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/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 -39
- package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +0 -241
- package/esm2015/tabs/tab.js +0 -107
- 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 -248
- 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 -596
- 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 -1681
- 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 -3733
- 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 -463
- 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 -1299
- 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 -1271
- 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 -168
- package/fesm2015/snack-bar/testing.js.map +0 -1
- package/fesm2015/snack-bar.js +0 -712
- 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 -1761
- 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/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,1075 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/common'), require('@angular/core'), require('@angular/material/core'), require('@angular/material/button'), require('rxjs'), require('@angular/cdk/platform'), require('rxjs/operators'), require('@angular/animations'), require('@angular/cdk/a11y'), require('@angular/cdk/layout')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@angular/material/snack-bar', ['exports', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/common', '@angular/core', '@angular/material/core', '@angular/material/button', 'rxjs', '@angular/cdk/platform', 'rxjs/operators', '@angular/animations', '@angular/cdk/a11y', '@angular/cdk/layout'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.snackBar = {}), global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.common, global.ng.core, global.ng.material.core, global.ng.material.button, global.rxjs, global.ng.cdk.platform, global.rxjs.operators, global.ng.animations, global.ng.cdk.a11y, global.ng.cdk.layout));
|
|
5
|
-
}(this, (function (exports, i1, portal, common, i0, core, button, rxjs, platform, operators, animations, i2, i3) { 'use strict';
|
|
6
|
-
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return e[k];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n['default'] = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
29
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
30
|
-
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @license
|
|
34
|
-
* Copyright Google LLC All Rights Reserved.
|
|
35
|
-
*
|
|
36
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
37
|
-
* found in the LICENSE file at https://angular.io/license
|
|
38
|
-
*/
|
|
39
|
-
/** Injection token that can be used to access the data that was passed in to a snack bar. */
|
|
40
|
-
var MAT_SNACK_BAR_DATA = new i0.InjectionToken('MatSnackBarData');
|
|
41
|
-
/**
|
|
42
|
-
* Configuration used when opening a snack-bar.
|
|
43
|
-
*/
|
|
44
|
-
var MatSnackBarConfig = /** @class */ (function () {
|
|
45
|
-
function MatSnackBarConfig() {
|
|
46
|
-
/** The politeness level for the MatAriaLiveAnnouncer announcement. */
|
|
47
|
-
this.politeness = 'assertive';
|
|
48
|
-
/**
|
|
49
|
-
* Message to be announced by the LiveAnnouncer. When opening a snackbar without a custom
|
|
50
|
-
* component or template, the announcement message will default to the specified message.
|
|
51
|
-
*/
|
|
52
|
-
this.announcementMessage = '';
|
|
53
|
-
/** The length of time in milliseconds to wait before automatically dismissing the snack bar. */
|
|
54
|
-
this.duration = 0;
|
|
55
|
-
/** Data being injected into the child component. */
|
|
56
|
-
this.data = null;
|
|
57
|
-
/** The horizontal position to place the snack bar. */
|
|
58
|
-
this.horizontalPosition = 'center';
|
|
59
|
-
/** The vertical position to place the snack bar. */
|
|
60
|
-
this.verticalPosition = 'bottom';
|
|
61
|
-
}
|
|
62
|
-
return MatSnackBarConfig;
|
|
63
|
-
}());
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @license
|
|
67
|
-
* Copyright Google LLC All Rights Reserved.
|
|
68
|
-
*
|
|
69
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
70
|
-
* found in the LICENSE file at https://angular.io/license
|
|
71
|
-
*/
|
|
72
|
-
/** Maximum amount of milliseconds that can be passed into setTimeout. */
|
|
73
|
-
var MAX_TIMEOUT = Math.pow(2, 31) - 1;
|
|
74
|
-
/**
|
|
75
|
-
* Reference to a snack bar dispatched from the snack bar service.
|
|
76
|
-
*/
|
|
77
|
-
var MatSnackBarRef = /** @class */ (function () {
|
|
78
|
-
function MatSnackBarRef(containerInstance, _overlayRef) {
|
|
79
|
-
var _this = this;
|
|
80
|
-
this._overlayRef = _overlayRef;
|
|
81
|
-
/** Subject for notifying the user that the snack bar has been dismissed. */
|
|
82
|
-
this._afterDismissed = new rxjs.Subject();
|
|
83
|
-
/** Subject for notifying the user that the snack bar has opened and appeared. */
|
|
84
|
-
this._afterOpened = new rxjs.Subject();
|
|
85
|
-
/** Subject for notifying the user that the snack bar action was called. */
|
|
86
|
-
this._onAction = new rxjs.Subject();
|
|
87
|
-
/** Whether the snack bar was dismissed using the action button. */
|
|
88
|
-
this._dismissedByAction = false;
|
|
89
|
-
this.containerInstance = containerInstance;
|
|
90
|
-
// Dismiss snackbar on action.
|
|
91
|
-
this.onAction().subscribe(function () { return _this.dismiss(); });
|
|
92
|
-
containerInstance._onExit.subscribe(function () { return _this._finishDismiss(); });
|
|
93
|
-
}
|
|
94
|
-
/** Dismisses the snack bar. */
|
|
95
|
-
MatSnackBarRef.prototype.dismiss = function () {
|
|
96
|
-
if (!this._afterDismissed.closed) {
|
|
97
|
-
this.containerInstance.exit();
|
|
98
|
-
}
|
|
99
|
-
clearTimeout(this._durationTimeoutId);
|
|
100
|
-
};
|
|
101
|
-
/** Marks the snackbar action clicked. */
|
|
102
|
-
MatSnackBarRef.prototype.dismissWithAction = function () {
|
|
103
|
-
if (!this._onAction.closed) {
|
|
104
|
-
this._dismissedByAction = true;
|
|
105
|
-
this._onAction.next();
|
|
106
|
-
this._onAction.complete();
|
|
107
|
-
}
|
|
108
|
-
clearTimeout(this._durationTimeoutId);
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Marks the snackbar action clicked.
|
|
112
|
-
* @deprecated Use `dismissWithAction` instead.
|
|
113
|
-
* @breaking-change 8.0.0
|
|
114
|
-
*/
|
|
115
|
-
MatSnackBarRef.prototype.closeWithAction = function () {
|
|
116
|
-
this.dismissWithAction();
|
|
117
|
-
};
|
|
118
|
-
/** Dismisses the snack bar after some duration */
|
|
119
|
-
MatSnackBarRef.prototype._dismissAfter = function (duration) {
|
|
120
|
-
var _this = this;
|
|
121
|
-
// Note that we need to cap the duration to the maximum value for setTimeout, because
|
|
122
|
-
// it'll revert to 1 if somebody passes in something greater (e.g. `Infinity`). See #17234.
|
|
123
|
-
this._durationTimeoutId = setTimeout(function () { return _this.dismiss(); }, Math.min(duration, MAX_TIMEOUT));
|
|
124
|
-
};
|
|
125
|
-
/** Marks the snackbar as opened */
|
|
126
|
-
MatSnackBarRef.prototype._open = function () {
|
|
127
|
-
if (!this._afterOpened.closed) {
|
|
128
|
-
this._afterOpened.next();
|
|
129
|
-
this._afterOpened.complete();
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
/** Cleans up the DOM after closing. */
|
|
133
|
-
MatSnackBarRef.prototype._finishDismiss = function () {
|
|
134
|
-
this._overlayRef.dispose();
|
|
135
|
-
if (!this._onAction.closed) {
|
|
136
|
-
this._onAction.complete();
|
|
137
|
-
}
|
|
138
|
-
this._afterDismissed.next({ dismissedByAction: this._dismissedByAction });
|
|
139
|
-
this._afterDismissed.complete();
|
|
140
|
-
this._dismissedByAction = false;
|
|
141
|
-
};
|
|
142
|
-
/** Gets an observable that is notified when the snack bar is finished closing. */
|
|
143
|
-
MatSnackBarRef.prototype.afterDismissed = function () {
|
|
144
|
-
return this._afterDismissed;
|
|
145
|
-
};
|
|
146
|
-
/** Gets an observable that is notified when the snack bar has opened and appeared. */
|
|
147
|
-
MatSnackBarRef.prototype.afterOpened = function () {
|
|
148
|
-
return this.containerInstance._onEnter;
|
|
149
|
-
};
|
|
150
|
-
/** Gets an observable that is notified when the snack bar action is called. */
|
|
151
|
-
MatSnackBarRef.prototype.onAction = function () {
|
|
152
|
-
return this._onAction;
|
|
153
|
-
};
|
|
154
|
-
return MatSnackBarRef;
|
|
155
|
-
}());
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @license
|
|
159
|
-
* Copyright Google LLC All Rights Reserved.
|
|
160
|
-
*
|
|
161
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
162
|
-
* found in the LICENSE file at https://angular.io/license
|
|
163
|
-
*/
|
|
164
|
-
/**
|
|
165
|
-
* A component used to open as the default snack bar, matching material spec.
|
|
166
|
-
* This should only be used internally by the snack bar service.
|
|
167
|
-
*/
|
|
168
|
-
var SimpleSnackBar = /** @class */ (function () {
|
|
169
|
-
function SimpleSnackBar(snackBarRef, data) {
|
|
170
|
-
this.snackBarRef = snackBarRef;
|
|
171
|
-
this.data = data;
|
|
172
|
-
}
|
|
173
|
-
/** Performs the action on the snack bar. */
|
|
174
|
-
SimpleSnackBar.prototype.action = function () {
|
|
175
|
-
this.snackBarRef.dismissWithAction();
|
|
176
|
-
};
|
|
177
|
-
Object.defineProperty(SimpleSnackBar.prototype, "hasAction", {
|
|
178
|
-
/** If the action button should be shown. */
|
|
179
|
-
get: function () {
|
|
180
|
-
return !!this.data.action;
|
|
181
|
-
},
|
|
182
|
-
enumerable: false,
|
|
183
|
-
configurable: true
|
|
184
|
-
});
|
|
185
|
-
return SimpleSnackBar;
|
|
186
|
-
}());
|
|
187
|
-
SimpleSnackBar.decorators = [
|
|
188
|
-
{ type: i0.Component, args: [{
|
|
189
|
-
selector: 'simple-snack-bar',
|
|
190
|
-
template: "<span>{{data.message}}</span>\n<div class=\"mat-simple-snackbar-action\" *ngIf=\"hasAction\">\n <button mat-button (click)=\"action()\">{{data.action}}</button>\n</div>\n",
|
|
191
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
192
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
193
|
-
host: {
|
|
194
|
-
'class': 'mat-simple-snackbar',
|
|
195
|
-
},
|
|
196
|
-
styles: [".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"]
|
|
197
|
-
},] }
|
|
198
|
-
];
|
|
199
|
-
SimpleSnackBar.ctorParameters = function () { return [
|
|
200
|
-
{ type: MatSnackBarRef },
|
|
201
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [MAT_SNACK_BAR_DATA,] }] }
|
|
202
|
-
]; };
|
|
203
|
-
|
|
204
|
-
/*! *****************************************************************************
|
|
205
|
-
Copyright (c) Microsoft Corporation.
|
|
206
|
-
|
|
207
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
208
|
-
purpose with or without fee is hereby granted.
|
|
209
|
-
|
|
210
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
211
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
212
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
213
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
214
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
215
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
216
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
217
|
-
***************************************************************************** */
|
|
218
|
-
/* global Reflect, Promise */
|
|
219
|
-
var extendStatics = function (d, b) {
|
|
220
|
-
extendStatics = Object.setPrototypeOf ||
|
|
221
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
222
|
-
function (d, b) { for (var p in b)
|
|
223
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
224
|
-
d[p] = b[p]; };
|
|
225
|
-
return extendStatics(d, b);
|
|
226
|
-
};
|
|
227
|
-
function __extends(d, b) {
|
|
228
|
-
if (typeof b !== "function" && b !== null)
|
|
229
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
230
|
-
extendStatics(d, b);
|
|
231
|
-
function __() { this.constructor = d; }
|
|
232
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
233
|
-
}
|
|
234
|
-
var __assign = function () {
|
|
235
|
-
__assign = Object.assign || function __assign(t) {
|
|
236
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
237
|
-
s = arguments[i];
|
|
238
|
-
for (var p in s)
|
|
239
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
240
|
-
t[p] = s[p];
|
|
241
|
-
}
|
|
242
|
-
return t;
|
|
243
|
-
};
|
|
244
|
-
return __assign.apply(this, arguments);
|
|
245
|
-
};
|
|
246
|
-
function __rest(s, e) {
|
|
247
|
-
var t = {};
|
|
248
|
-
for (var p in s)
|
|
249
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
250
|
-
t[p] = s[p];
|
|
251
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
252
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
253
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
254
|
-
t[p[i]] = s[p[i]];
|
|
255
|
-
}
|
|
256
|
-
return t;
|
|
257
|
-
}
|
|
258
|
-
function __decorate(decorators, target, key, desc) {
|
|
259
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
260
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
261
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
262
|
-
else
|
|
263
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
264
|
-
if (d = decorators[i])
|
|
265
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
266
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
267
|
-
}
|
|
268
|
-
function __param(paramIndex, decorator) {
|
|
269
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
270
|
-
}
|
|
271
|
-
function __metadata(metadataKey, metadataValue) {
|
|
272
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
273
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
274
|
-
}
|
|
275
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
276
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
277
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
278
|
-
function fulfilled(value) { try {
|
|
279
|
-
step(generator.next(value));
|
|
280
|
-
}
|
|
281
|
-
catch (e) {
|
|
282
|
-
reject(e);
|
|
283
|
-
} }
|
|
284
|
-
function rejected(value) { try {
|
|
285
|
-
step(generator["throw"](value));
|
|
286
|
-
}
|
|
287
|
-
catch (e) {
|
|
288
|
-
reject(e);
|
|
289
|
-
} }
|
|
290
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
291
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
292
|
-
});
|
|
293
|
-
}
|
|
294
|
-
function __generator(thisArg, body) {
|
|
295
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
296
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
297
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
298
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
299
|
-
function step(op) {
|
|
300
|
-
if (f)
|
|
301
|
-
throw new TypeError("Generator is already executing.");
|
|
302
|
-
while (_)
|
|
303
|
-
try {
|
|
304
|
-
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)
|
|
305
|
-
return t;
|
|
306
|
-
if (y = 0, t)
|
|
307
|
-
op = [op[0] & 2, t.value];
|
|
308
|
-
switch (op[0]) {
|
|
309
|
-
case 0:
|
|
310
|
-
case 1:
|
|
311
|
-
t = op;
|
|
312
|
-
break;
|
|
313
|
-
case 4:
|
|
314
|
-
_.label++;
|
|
315
|
-
return { value: op[1], done: false };
|
|
316
|
-
case 5:
|
|
317
|
-
_.label++;
|
|
318
|
-
y = op[1];
|
|
319
|
-
op = [0];
|
|
320
|
-
continue;
|
|
321
|
-
case 7:
|
|
322
|
-
op = _.ops.pop();
|
|
323
|
-
_.trys.pop();
|
|
324
|
-
continue;
|
|
325
|
-
default:
|
|
326
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
327
|
-
_ = 0;
|
|
328
|
-
continue;
|
|
329
|
-
}
|
|
330
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
331
|
-
_.label = op[1];
|
|
332
|
-
break;
|
|
333
|
-
}
|
|
334
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
335
|
-
_.label = t[1];
|
|
336
|
-
t = op;
|
|
337
|
-
break;
|
|
338
|
-
}
|
|
339
|
-
if (t && _.label < t[2]) {
|
|
340
|
-
_.label = t[2];
|
|
341
|
-
_.ops.push(op);
|
|
342
|
-
break;
|
|
343
|
-
}
|
|
344
|
-
if (t[2])
|
|
345
|
-
_.ops.pop();
|
|
346
|
-
_.trys.pop();
|
|
347
|
-
continue;
|
|
348
|
-
}
|
|
349
|
-
op = body.call(thisArg, _);
|
|
350
|
-
}
|
|
351
|
-
catch (e) {
|
|
352
|
-
op = [6, e];
|
|
353
|
-
y = 0;
|
|
354
|
-
}
|
|
355
|
-
finally {
|
|
356
|
-
f = t = 0;
|
|
357
|
-
}
|
|
358
|
-
if (op[0] & 5)
|
|
359
|
-
throw op[1];
|
|
360
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
364
|
-
if (k2 === undefined)
|
|
365
|
-
k2 = k;
|
|
366
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
367
|
-
}) : (function (o, m, k, k2) {
|
|
368
|
-
if (k2 === undefined)
|
|
369
|
-
k2 = k;
|
|
370
|
-
o[k2] = m[k];
|
|
371
|
-
});
|
|
372
|
-
function __exportStar(m, o) {
|
|
373
|
-
for (var p in m)
|
|
374
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
375
|
-
__createBinding(o, m, p);
|
|
376
|
-
}
|
|
377
|
-
function __values(o) {
|
|
378
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
379
|
-
if (m)
|
|
380
|
-
return m.call(o);
|
|
381
|
-
if (o && typeof o.length === "number")
|
|
382
|
-
return {
|
|
383
|
-
next: function () {
|
|
384
|
-
if (o && i >= o.length)
|
|
385
|
-
o = void 0;
|
|
386
|
-
return { value: o && o[i++], done: !o };
|
|
387
|
-
}
|
|
388
|
-
};
|
|
389
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
390
|
-
}
|
|
391
|
-
function __read(o, n) {
|
|
392
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
393
|
-
if (!m)
|
|
394
|
-
return o;
|
|
395
|
-
var i = m.call(o), r, ar = [], e;
|
|
396
|
-
try {
|
|
397
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
398
|
-
ar.push(r.value);
|
|
399
|
-
}
|
|
400
|
-
catch (error) {
|
|
401
|
-
e = { error: error };
|
|
402
|
-
}
|
|
403
|
-
finally {
|
|
404
|
-
try {
|
|
405
|
-
if (r && !r.done && (m = i["return"]))
|
|
406
|
-
m.call(i);
|
|
407
|
-
}
|
|
408
|
-
finally {
|
|
409
|
-
if (e)
|
|
410
|
-
throw e.error;
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
return ar;
|
|
414
|
-
}
|
|
415
|
-
/** @deprecated */
|
|
416
|
-
function __spread() {
|
|
417
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
418
|
-
ar = ar.concat(__read(arguments[i]));
|
|
419
|
-
return ar;
|
|
420
|
-
}
|
|
421
|
-
/** @deprecated */
|
|
422
|
-
function __spreadArrays() {
|
|
423
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
424
|
-
s += arguments[i].length;
|
|
425
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
426
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
427
|
-
r[k] = a[j];
|
|
428
|
-
return r;
|
|
429
|
-
}
|
|
430
|
-
function __spreadArray(to, from, pack) {
|
|
431
|
-
if (pack || arguments.length === 2)
|
|
432
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
433
|
-
if (ar || !(i in from)) {
|
|
434
|
-
if (!ar)
|
|
435
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
436
|
-
ar[i] = from[i];
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
440
|
-
}
|
|
441
|
-
function __await(v) {
|
|
442
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
443
|
-
}
|
|
444
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
445
|
-
if (!Symbol.asyncIterator)
|
|
446
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
447
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
448
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
449
|
-
function verb(n) { if (g[n])
|
|
450
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
451
|
-
function resume(n, v) { try {
|
|
452
|
-
step(g[n](v));
|
|
453
|
-
}
|
|
454
|
-
catch (e) {
|
|
455
|
-
settle(q[0][3], e);
|
|
456
|
-
} }
|
|
457
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
458
|
-
function fulfill(value) { resume("next", value); }
|
|
459
|
-
function reject(value) { resume("throw", value); }
|
|
460
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
461
|
-
resume(q[0][0], q[0][1]); }
|
|
462
|
-
}
|
|
463
|
-
function __asyncDelegator(o) {
|
|
464
|
-
var i, p;
|
|
465
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
466
|
-
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; }
|
|
467
|
-
}
|
|
468
|
-
function __asyncValues(o) {
|
|
469
|
-
if (!Symbol.asyncIterator)
|
|
470
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
471
|
-
var m = o[Symbol.asyncIterator], i;
|
|
472
|
-
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);
|
|
473
|
-
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); }); }; }
|
|
474
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
475
|
-
}
|
|
476
|
-
function __makeTemplateObject(cooked, raw) {
|
|
477
|
-
if (Object.defineProperty) {
|
|
478
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
479
|
-
}
|
|
480
|
-
else {
|
|
481
|
-
cooked.raw = raw;
|
|
482
|
-
}
|
|
483
|
-
return cooked;
|
|
484
|
-
}
|
|
485
|
-
;
|
|
486
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
487
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
488
|
-
}) : function (o, v) {
|
|
489
|
-
o["default"] = v;
|
|
490
|
-
};
|
|
491
|
-
function __importStar(mod) {
|
|
492
|
-
if (mod && mod.__esModule)
|
|
493
|
-
return mod;
|
|
494
|
-
var result = {};
|
|
495
|
-
if (mod != null)
|
|
496
|
-
for (var k in mod)
|
|
497
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
498
|
-
__createBinding(result, mod, k);
|
|
499
|
-
__setModuleDefault(result, mod);
|
|
500
|
-
return result;
|
|
501
|
-
}
|
|
502
|
-
function __importDefault(mod) {
|
|
503
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
504
|
-
}
|
|
505
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
506
|
-
if (kind === "a" && !f)
|
|
507
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
508
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
509
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
510
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
511
|
-
}
|
|
512
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
513
|
-
if (kind === "m")
|
|
514
|
-
throw new TypeError("Private method is not writable");
|
|
515
|
-
if (kind === "a" && !f)
|
|
516
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
517
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
518
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
519
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
/**
|
|
523
|
-
* @license
|
|
524
|
-
* Copyright Google LLC All Rights Reserved.
|
|
525
|
-
*
|
|
526
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
527
|
-
* found in the LICENSE file at https://angular.io/license
|
|
528
|
-
*/
|
|
529
|
-
/**
|
|
530
|
-
* Animations used by the Material snack bar.
|
|
531
|
-
* @docs-private
|
|
532
|
-
*/
|
|
533
|
-
var matSnackBarAnimations = {
|
|
534
|
-
/** Animation that shows and hides a snack bar. */
|
|
535
|
-
snackBarState: animations.trigger('state', [
|
|
536
|
-
animations.state('void, hidden', animations.style({
|
|
537
|
-
transform: 'scale(0.8)',
|
|
538
|
-
opacity: 0,
|
|
539
|
-
})),
|
|
540
|
-
animations.state('visible', animations.style({
|
|
541
|
-
transform: 'scale(1)',
|
|
542
|
-
opacity: 1,
|
|
543
|
-
})),
|
|
544
|
-
animations.transition('* => visible', animations.animate('150ms cubic-bezier(0, 0, 0.2, 1)')),
|
|
545
|
-
animations.transition('* => void, * => hidden', animations.animate('75ms cubic-bezier(0.4, 0.0, 1, 1)', animations.style({
|
|
546
|
-
opacity: 0
|
|
547
|
-
}))),
|
|
548
|
-
])
|
|
549
|
-
};
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* Internal component that wraps user-provided snack bar content.
|
|
553
|
-
* @docs-private
|
|
554
|
-
*/
|
|
555
|
-
var MatSnackBarContainer = /** @class */ (function (_super) {
|
|
556
|
-
__extends(MatSnackBarContainer, _super);
|
|
557
|
-
function MatSnackBarContainer(_ngZone, _elementRef, _changeDetectorRef, _platform,
|
|
558
|
-
/** The snack bar configuration. */
|
|
559
|
-
snackBarConfig) {
|
|
560
|
-
var _this = _super.call(this) || this;
|
|
561
|
-
_this._ngZone = _ngZone;
|
|
562
|
-
_this._elementRef = _elementRef;
|
|
563
|
-
_this._changeDetectorRef = _changeDetectorRef;
|
|
564
|
-
_this._platform = _platform;
|
|
565
|
-
_this.snackBarConfig = snackBarConfig;
|
|
566
|
-
/** The number of milliseconds to wait before announcing the snack bar's content. */
|
|
567
|
-
_this._announceDelay = 150;
|
|
568
|
-
/** Whether the component has been destroyed. */
|
|
569
|
-
_this._destroyed = false;
|
|
570
|
-
/** Subject for notifying that the snack bar has announced to screen readers. */
|
|
571
|
-
_this._onAnnounce = new rxjs.Subject();
|
|
572
|
-
/** Subject for notifying that the snack bar has exited from view. */
|
|
573
|
-
_this._onExit = new rxjs.Subject();
|
|
574
|
-
/** Subject for notifying that the snack bar has finished entering the view. */
|
|
575
|
-
_this._onEnter = new rxjs.Subject();
|
|
576
|
-
/** The state of the snack bar animations. */
|
|
577
|
-
_this._animationState = 'void';
|
|
578
|
-
/**
|
|
579
|
-
* Attaches a DOM portal to the snack bar container.
|
|
580
|
-
* @deprecated To be turned into a method.
|
|
581
|
-
* @breaking-change 10.0.0
|
|
582
|
-
*/
|
|
583
|
-
_this.attachDomPortal = function (portal) {
|
|
584
|
-
_this._assertNotAttached();
|
|
585
|
-
_this._applySnackBarClasses();
|
|
586
|
-
return _this._portalOutlet.attachDomPortal(portal);
|
|
587
|
-
};
|
|
588
|
-
// Use aria-live rather than a live role like 'alert' or 'status'
|
|
589
|
-
// because NVDA and JAWS have show inconsistent behavior with live roles.
|
|
590
|
-
if (snackBarConfig.politeness === 'assertive' && !snackBarConfig.announcementMessage) {
|
|
591
|
-
_this._live = 'assertive';
|
|
592
|
-
}
|
|
593
|
-
else if (snackBarConfig.politeness === 'off') {
|
|
594
|
-
_this._live = 'off';
|
|
595
|
-
}
|
|
596
|
-
else {
|
|
597
|
-
_this._live = 'polite';
|
|
598
|
-
}
|
|
599
|
-
// Only set role for Firefox. Set role based on aria-live because setting role="alert" implies
|
|
600
|
-
// aria-live="assertive" which may cause issues if aria-live is set to "polite" above.
|
|
601
|
-
if (_this._platform.FIREFOX) {
|
|
602
|
-
if (_this._live === 'polite') {
|
|
603
|
-
_this._role = 'status';
|
|
604
|
-
}
|
|
605
|
-
if (_this._live === 'assertive') {
|
|
606
|
-
_this._role = 'alert';
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
return _this;
|
|
610
|
-
}
|
|
611
|
-
/** Attach a component portal as content to this snack bar container. */
|
|
612
|
-
MatSnackBarContainer.prototype.attachComponentPortal = function (portal) {
|
|
613
|
-
this._assertNotAttached();
|
|
614
|
-
this._applySnackBarClasses();
|
|
615
|
-
return this._portalOutlet.attachComponentPortal(portal);
|
|
616
|
-
};
|
|
617
|
-
/** Attach a template portal as content to this snack bar container. */
|
|
618
|
-
MatSnackBarContainer.prototype.attachTemplatePortal = function (portal) {
|
|
619
|
-
this._assertNotAttached();
|
|
620
|
-
this._applySnackBarClasses();
|
|
621
|
-
return this._portalOutlet.attachTemplatePortal(portal);
|
|
622
|
-
};
|
|
623
|
-
/** Handle end of animations, updating the state of the snackbar. */
|
|
624
|
-
MatSnackBarContainer.prototype.onAnimationEnd = function (event) {
|
|
625
|
-
var fromState = event.fromState, toState = event.toState;
|
|
626
|
-
if ((toState === 'void' && fromState !== 'void') || toState === 'hidden') {
|
|
627
|
-
this._completeExit();
|
|
628
|
-
}
|
|
629
|
-
if (toState === 'visible') {
|
|
630
|
-
// Note: we shouldn't use `this` inside the zone callback,
|
|
631
|
-
// because it can cause a memory leak.
|
|
632
|
-
var onEnter_1 = this._onEnter;
|
|
633
|
-
this._ngZone.run(function () {
|
|
634
|
-
onEnter_1.next();
|
|
635
|
-
onEnter_1.complete();
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
};
|
|
639
|
-
/** Begin animation of snack bar entrance into view. */
|
|
640
|
-
MatSnackBarContainer.prototype.enter = function () {
|
|
641
|
-
if (!this._destroyed) {
|
|
642
|
-
this._animationState = 'visible';
|
|
643
|
-
this._changeDetectorRef.detectChanges();
|
|
644
|
-
this._screenReaderAnnounce();
|
|
645
|
-
}
|
|
646
|
-
};
|
|
647
|
-
/** Begin animation of the snack bar exiting from view. */
|
|
648
|
-
MatSnackBarContainer.prototype.exit = function () {
|
|
649
|
-
// Note: this one transitions to `hidden`, rather than `void`, in order to handle the case
|
|
650
|
-
// where multiple snack bars are opened in quick succession (e.g. two consecutive calls to
|
|
651
|
-
// `MatSnackBar.open`).
|
|
652
|
-
this._animationState = 'hidden';
|
|
653
|
-
// Mark this element with an 'exit' attribute to indicate that the snackbar has
|
|
654
|
-
// been dismissed and will soon be removed from the DOM. This is used by the snackbar
|
|
655
|
-
// test harness.
|
|
656
|
-
this._elementRef.nativeElement.setAttribute('mat-exit', '');
|
|
657
|
-
// If the snack bar hasn't been announced by the time it exits it wouldn't have been open
|
|
658
|
-
// long enough to visually read it either, so clear the timeout for announcing.
|
|
659
|
-
clearTimeout(this._announceTimeoutId);
|
|
660
|
-
return this._onExit;
|
|
661
|
-
};
|
|
662
|
-
/** Makes sure the exit callbacks have been invoked when the element is destroyed. */
|
|
663
|
-
MatSnackBarContainer.prototype.ngOnDestroy = function () {
|
|
664
|
-
this._destroyed = true;
|
|
665
|
-
this._completeExit();
|
|
666
|
-
};
|
|
667
|
-
/**
|
|
668
|
-
* Waits for the zone to settle before removing the element. Helps prevent
|
|
669
|
-
* errors where we end up removing an element which is in the middle of an animation.
|
|
670
|
-
*/
|
|
671
|
-
MatSnackBarContainer.prototype._completeExit = function () {
|
|
672
|
-
var _this = this;
|
|
673
|
-
this._ngZone.onMicrotaskEmpty.pipe(operators.take(1)).subscribe(function () {
|
|
674
|
-
_this._onExit.next();
|
|
675
|
-
_this._onExit.complete();
|
|
676
|
-
});
|
|
677
|
-
};
|
|
678
|
-
/** Applies the various positioning and user-configured CSS classes to the snack bar. */
|
|
679
|
-
MatSnackBarContainer.prototype._applySnackBarClasses = function () {
|
|
680
|
-
var element = this._elementRef.nativeElement;
|
|
681
|
-
var panelClasses = this.snackBarConfig.panelClass;
|
|
682
|
-
if (panelClasses) {
|
|
683
|
-
if (Array.isArray(panelClasses)) {
|
|
684
|
-
// Note that we can't use a spread here, because IE doesn't support multiple arguments.
|
|
685
|
-
panelClasses.forEach(function (cssClass) { return element.classList.add(cssClass); });
|
|
686
|
-
}
|
|
687
|
-
else {
|
|
688
|
-
element.classList.add(panelClasses);
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
if (this.snackBarConfig.horizontalPosition === 'center') {
|
|
692
|
-
element.classList.add('mat-snack-bar-center');
|
|
693
|
-
}
|
|
694
|
-
if (this.snackBarConfig.verticalPosition === 'top') {
|
|
695
|
-
element.classList.add('mat-snack-bar-top');
|
|
696
|
-
}
|
|
697
|
-
};
|
|
698
|
-
/** Asserts that no content is already attached to the container. */
|
|
699
|
-
MatSnackBarContainer.prototype._assertNotAttached = function () {
|
|
700
|
-
if (this._portalOutlet.hasAttached() && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
701
|
-
throw Error('Attempting to attach snack bar content after content is already attached');
|
|
702
|
-
}
|
|
703
|
-
};
|
|
704
|
-
/**
|
|
705
|
-
* Starts a timeout to move the snack bar content to the live region so screen readers will
|
|
706
|
-
* announce it.
|
|
707
|
-
*/
|
|
708
|
-
MatSnackBarContainer.prototype._screenReaderAnnounce = function () {
|
|
709
|
-
var _this = this;
|
|
710
|
-
if (!this._announceTimeoutId) {
|
|
711
|
-
this._ngZone.runOutsideAngular(function () {
|
|
712
|
-
_this._announceTimeoutId = setTimeout(function () {
|
|
713
|
-
var inertElement = _this._elementRef.nativeElement.querySelector('[aria-hidden]');
|
|
714
|
-
var liveElement = _this._elementRef.nativeElement.querySelector('[aria-live]');
|
|
715
|
-
if (inertElement && liveElement) {
|
|
716
|
-
// If an element in the snack bar content is focused before being moved
|
|
717
|
-
// track it and restore focus after moving to the live region.
|
|
718
|
-
var focusedElement = null;
|
|
719
|
-
if (_this._platform.isBrowser &&
|
|
720
|
-
document.activeElement instanceof HTMLElement &&
|
|
721
|
-
inertElement.contains(document.activeElement)) {
|
|
722
|
-
focusedElement = document.activeElement;
|
|
723
|
-
}
|
|
724
|
-
inertElement.removeAttribute('aria-hidden');
|
|
725
|
-
liveElement.appendChild(inertElement);
|
|
726
|
-
focusedElement === null || focusedElement === void 0 ? void 0 : focusedElement.focus();
|
|
727
|
-
_this._onAnnounce.next();
|
|
728
|
-
_this._onAnnounce.complete();
|
|
729
|
-
}
|
|
730
|
-
}, _this._announceDelay);
|
|
731
|
-
});
|
|
732
|
-
}
|
|
733
|
-
};
|
|
734
|
-
return MatSnackBarContainer;
|
|
735
|
-
}(portal.BasePortalOutlet));
|
|
736
|
-
MatSnackBarContainer.decorators = [
|
|
737
|
-
{ type: i0.Component, args: [{
|
|
738
|
-
selector: 'snack-bar-container',
|
|
739
|
-
template: "<!-- Initially holds the snack bar content, will be empty after announcing to screen readers. -->\n<div aria-hidden=\"true\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n\n<!-- Will receive the snack bar content from the non-live div, move will happen a short delay after opening -->\n<div [attr.aria-live]=\"_live\" [attr.role]=\"_role\"></div>\n",
|
|
740
|
-
// In Ivy embedded views will be change detected from their declaration place, rather than
|
|
741
|
-
// where they were stamped out. This means that we can't have the snack bar container be OnPush,
|
|
742
|
-
// because it might cause snack bars that were opened from a template not to be out of date.
|
|
743
|
-
// tslint:disable-next-line:validate-decorators
|
|
744
|
-
changeDetection: i0.ChangeDetectionStrategy.Default,
|
|
745
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
746
|
-
animations: [matSnackBarAnimations.snackBarState],
|
|
747
|
-
host: {
|
|
748
|
-
'class': 'mat-snack-bar-container',
|
|
749
|
-
'[@state]': '_animationState',
|
|
750
|
-
'(@state.done)': 'onAnimationEnd($event)'
|
|
751
|
-
},
|
|
752
|
-
styles: [".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"]
|
|
753
|
-
},] }
|
|
754
|
-
];
|
|
755
|
-
MatSnackBarContainer.ctorParameters = function () { return [
|
|
756
|
-
{ type: i0.NgZone },
|
|
757
|
-
{ type: i0.ElementRef },
|
|
758
|
-
{ type: i0.ChangeDetectorRef },
|
|
759
|
-
{ type: platform.Platform },
|
|
760
|
-
{ type: MatSnackBarConfig }
|
|
761
|
-
]; };
|
|
762
|
-
MatSnackBarContainer.propDecorators = {
|
|
763
|
-
_portalOutlet: [{ type: i0.ViewChild, args: [portal.CdkPortalOutlet, { static: true },] }]
|
|
764
|
-
};
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* @license
|
|
768
|
-
* Copyright Google LLC All Rights Reserved.
|
|
769
|
-
*
|
|
770
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
771
|
-
* found in the LICENSE file at https://angular.io/license
|
|
772
|
-
*/
|
|
773
|
-
var MatSnackBarModule = /** @class */ (function () {
|
|
774
|
-
function MatSnackBarModule() {
|
|
775
|
-
}
|
|
776
|
-
return MatSnackBarModule;
|
|
777
|
-
}());
|
|
778
|
-
MatSnackBarModule.decorators = [
|
|
779
|
-
{ type: i0.NgModule, args: [{
|
|
780
|
-
imports: [
|
|
781
|
-
i1.OverlayModule,
|
|
782
|
-
portal.PortalModule,
|
|
783
|
-
common.CommonModule,
|
|
784
|
-
button.MatButtonModule,
|
|
785
|
-
core.MatCommonModule,
|
|
786
|
-
],
|
|
787
|
-
exports: [MatSnackBarContainer, core.MatCommonModule],
|
|
788
|
-
declarations: [MatSnackBarContainer, SimpleSnackBar],
|
|
789
|
-
entryComponents: [MatSnackBarContainer, SimpleSnackBar],
|
|
790
|
-
},] }
|
|
791
|
-
];
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* @license
|
|
795
|
-
* Copyright Google LLC All Rights Reserved.
|
|
796
|
-
*
|
|
797
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
798
|
-
* found in the LICENSE file at https://angular.io/license
|
|
799
|
-
*/
|
|
800
|
-
/** Injection token that can be used to specify default snack bar. */
|
|
801
|
-
var MAT_SNACK_BAR_DEFAULT_OPTIONS = new i0.InjectionToken('mat-snack-bar-default-options', {
|
|
802
|
-
providedIn: 'root',
|
|
803
|
-
factory: MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY,
|
|
804
|
-
});
|
|
805
|
-
/** @docs-private */
|
|
806
|
-
function MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY() {
|
|
807
|
-
return new MatSnackBarConfig();
|
|
808
|
-
}
|
|
809
|
-
/**
|
|
810
|
-
* Service to dispatch Material Design snack bar messages.
|
|
811
|
-
*/
|
|
812
|
-
var MatSnackBar = /** @class */ (function () {
|
|
813
|
-
function MatSnackBar(_overlay, _live, _injector, _breakpointObserver, _parentSnackBar, _defaultConfig) {
|
|
814
|
-
this._overlay = _overlay;
|
|
815
|
-
this._live = _live;
|
|
816
|
-
this._injector = _injector;
|
|
817
|
-
this._breakpointObserver = _breakpointObserver;
|
|
818
|
-
this._parentSnackBar = _parentSnackBar;
|
|
819
|
-
this._defaultConfig = _defaultConfig;
|
|
820
|
-
/**
|
|
821
|
-
* Reference to the current snack bar in the view *at this level* (in the Angular injector tree).
|
|
822
|
-
* If there is a parent snack-bar service, all operations should delegate to that parent
|
|
823
|
-
* via `_openedSnackBarRef`.
|
|
824
|
-
*/
|
|
825
|
-
this._snackBarRefAtThisLevel = null;
|
|
826
|
-
/** The component that should be rendered as the snack bar's simple component. */
|
|
827
|
-
this.simpleSnackBarComponent = SimpleSnackBar;
|
|
828
|
-
/** The container component that attaches the provided template or component. */
|
|
829
|
-
this.snackBarContainerComponent = MatSnackBarContainer;
|
|
830
|
-
/** The CSS class to apply for handset mode. */
|
|
831
|
-
this.handsetCssClass = 'mat-snack-bar-handset';
|
|
832
|
-
}
|
|
833
|
-
Object.defineProperty(MatSnackBar.prototype, "_openedSnackBarRef", {
|
|
834
|
-
/** Reference to the currently opened snackbar at *any* level. */
|
|
835
|
-
get: function () {
|
|
836
|
-
var parent = this._parentSnackBar;
|
|
837
|
-
return parent ? parent._openedSnackBarRef : this._snackBarRefAtThisLevel;
|
|
838
|
-
},
|
|
839
|
-
set: function (value) {
|
|
840
|
-
if (this._parentSnackBar) {
|
|
841
|
-
this._parentSnackBar._openedSnackBarRef = value;
|
|
842
|
-
}
|
|
843
|
-
else {
|
|
844
|
-
this._snackBarRefAtThisLevel = value;
|
|
845
|
-
}
|
|
846
|
-
},
|
|
847
|
-
enumerable: false,
|
|
848
|
-
configurable: true
|
|
849
|
-
});
|
|
850
|
-
/**
|
|
851
|
-
* Creates and dispatches a snack bar with a custom component for the content, removing any
|
|
852
|
-
* currently opened snack bars.
|
|
853
|
-
*
|
|
854
|
-
* @param component Component to be instantiated.
|
|
855
|
-
* @param config Extra configuration for the snack bar.
|
|
856
|
-
*/
|
|
857
|
-
MatSnackBar.prototype.openFromComponent = function (component, config) {
|
|
858
|
-
return this._attach(component, config);
|
|
859
|
-
};
|
|
860
|
-
/**
|
|
861
|
-
* Creates and dispatches a snack bar with a custom template for the content, removing any
|
|
862
|
-
* currently opened snack bars.
|
|
863
|
-
*
|
|
864
|
-
* @param template Template to be instantiated.
|
|
865
|
-
* @param config Extra configuration for the snack bar.
|
|
866
|
-
*/
|
|
867
|
-
MatSnackBar.prototype.openFromTemplate = function (template, config) {
|
|
868
|
-
return this._attach(template, config);
|
|
869
|
-
};
|
|
870
|
-
/**
|
|
871
|
-
* Opens a snackbar with a message and an optional action.
|
|
872
|
-
* @param message The message to show in the snackbar.
|
|
873
|
-
* @param action The label for the snackbar action.
|
|
874
|
-
* @param config Additional configuration options for the snackbar.
|
|
875
|
-
*/
|
|
876
|
-
MatSnackBar.prototype.open = function (message, action, config) {
|
|
877
|
-
if (action === void 0) { action = ''; }
|
|
878
|
-
var _config = Object.assign(Object.assign({}, this._defaultConfig), config);
|
|
879
|
-
// Since the user doesn't have access to the component, we can
|
|
880
|
-
// override the data to pass in our own message and action.
|
|
881
|
-
_config.data = { message: message, action: action };
|
|
882
|
-
// Since the snack bar has `role="alert"`, we don't
|
|
883
|
-
// want to announce the same message twice.
|
|
884
|
-
if (_config.announcementMessage === message) {
|
|
885
|
-
_config.announcementMessage = undefined;
|
|
886
|
-
}
|
|
887
|
-
return this.openFromComponent(this.simpleSnackBarComponent, _config);
|
|
888
|
-
};
|
|
889
|
-
/**
|
|
890
|
-
* Dismisses the currently-visible snack bar.
|
|
891
|
-
*/
|
|
892
|
-
MatSnackBar.prototype.dismiss = function () {
|
|
893
|
-
if (this._openedSnackBarRef) {
|
|
894
|
-
this._openedSnackBarRef.dismiss();
|
|
895
|
-
}
|
|
896
|
-
};
|
|
897
|
-
MatSnackBar.prototype.ngOnDestroy = function () {
|
|
898
|
-
// Only dismiss the snack bar at the current level on destroy.
|
|
899
|
-
if (this._snackBarRefAtThisLevel) {
|
|
900
|
-
this._snackBarRefAtThisLevel.dismiss();
|
|
901
|
-
}
|
|
902
|
-
};
|
|
903
|
-
/**
|
|
904
|
-
* Attaches the snack bar container component to the overlay.
|
|
905
|
-
*/
|
|
906
|
-
MatSnackBar.prototype._attachSnackBarContainer = function (overlayRef, config) {
|
|
907
|
-
var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
|
|
908
|
-
var injector = i0.Injector.create({
|
|
909
|
-
parent: userInjector || this._injector,
|
|
910
|
-
providers: [{ provide: MatSnackBarConfig, useValue: config }]
|
|
911
|
-
});
|
|
912
|
-
var containerPortal = new portal.ComponentPortal(this.snackBarContainerComponent, config.viewContainerRef, injector);
|
|
913
|
-
var containerRef = overlayRef.attach(containerPortal);
|
|
914
|
-
containerRef.instance.snackBarConfig = config;
|
|
915
|
-
return containerRef.instance;
|
|
916
|
-
};
|
|
917
|
-
/**
|
|
918
|
-
* Places a new component or a template as the content of the snack bar container.
|
|
919
|
-
*/
|
|
920
|
-
MatSnackBar.prototype._attach = function (content, userConfig) {
|
|
921
|
-
var _this = this;
|
|
922
|
-
var config = Object.assign(Object.assign(Object.assign({}, new MatSnackBarConfig()), this._defaultConfig), userConfig);
|
|
923
|
-
var overlayRef = this._createOverlay(config);
|
|
924
|
-
var container = this._attachSnackBarContainer(overlayRef, config);
|
|
925
|
-
var snackBarRef = new MatSnackBarRef(container, overlayRef);
|
|
926
|
-
if (content instanceof i0.TemplateRef) {
|
|
927
|
-
var portal$1 = new portal.TemplatePortal(content, null, {
|
|
928
|
-
$implicit: config.data,
|
|
929
|
-
snackBarRef: snackBarRef
|
|
930
|
-
});
|
|
931
|
-
snackBarRef.instance = container.attachTemplatePortal(portal$1);
|
|
932
|
-
}
|
|
933
|
-
else {
|
|
934
|
-
var injector = this._createInjector(config, snackBarRef);
|
|
935
|
-
var portal$1 = new portal.ComponentPortal(content, undefined, injector);
|
|
936
|
-
var contentRef = container.attachComponentPortal(portal$1);
|
|
937
|
-
// We can't pass this via the injector, because the injector is created earlier.
|
|
938
|
-
snackBarRef.instance = contentRef.instance;
|
|
939
|
-
}
|
|
940
|
-
// Subscribe to the breakpoint observer and attach the mat-snack-bar-handset class as
|
|
941
|
-
// appropriate. This class is applied to the overlay element because the overlay must expand to
|
|
942
|
-
// fill the width of the screen for full width snackbars.
|
|
943
|
-
this._breakpointObserver.observe(i3.Breakpoints.HandsetPortrait).pipe(operators.takeUntil(overlayRef.detachments())).subscribe(function (state) {
|
|
944
|
-
overlayRef.overlayElement.classList.toggle(_this.handsetCssClass, state.matches);
|
|
945
|
-
});
|
|
946
|
-
if (config.announcementMessage) {
|
|
947
|
-
// Wait until the snack bar contents have been announced then deliver this message.
|
|
948
|
-
container._onAnnounce.subscribe(function () {
|
|
949
|
-
_this._live.announce(config.announcementMessage, config.politeness);
|
|
950
|
-
});
|
|
951
|
-
}
|
|
952
|
-
this._animateSnackBar(snackBarRef, config);
|
|
953
|
-
this._openedSnackBarRef = snackBarRef;
|
|
954
|
-
return this._openedSnackBarRef;
|
|
955
|
-
};
|
|
956
|
-
/** Animates the old snack bar out and the new one in. */
|
|
957
|
-
MatSnackBar.prototype._animateSnackBar = function (snackBarRef, config) {
|
|
958
|
-
var _this = this;
|
|
959
|
-
// When the snackbar is dismissed, clear the reference to it.
|
|
960
|
-
snackBarRef.afterDismissed().subscribe(function () {
|
|
961
|
-
// Clear the snackbar ref if it hasn't already been replaced by a newer snackbar.
|
|
962
|
-
if (_this._openedSnackBarRef == snackBarRef) {
|
|
963
|
-
_this._openedSnackBarRef = null;
|
|
964
|
-
}
|
|
965
|
-
if (config.announcementMessage) {
|
|
966
|
-
_this._live.clear();
|
|
967
|
-
}
|
|
968
|
-
});
|
|
969
|
-
if (this._openedSnackBarRef) {
|
|
970
|
-
// If a snack bar is already in view, dismiss it and enter the
|
|
971
|
-
// new snack bar after exit animation is complete.
|
|
972
|
-
this._openedSnackBarRef.afterDismissed().subscribe(function () {
|
|
973
|
-
snackBarRef.containerInstance.enter();
|
|
974
|
-
});
|
|
975
|
-
this._openedSnackBarRef.dismiss();
|
|
976
|
-
}
|
|
977
|
-
else {
|
|
978
|
-
// If no snack bar is in view, enter the new snack bar.
|
|
979
|
-
snackBarRef.containerInstance.enter();
|
|
980
|
-
}
|
|
981
|
-
// If a dismiss timeout is provided, set up dismiss based on after the snackbar is opened.
|
|
982
|
-
if (config.duration && config.duration > 0) {
|
|
983
|
-
snackBarRef.afterOpened().subscribe(function () { return snackBarRef._dismissAfter(config.duration); });
|
|
984
|
-
}
|
|
985
|
-
};
|
|
986
|
-
/**
|
|
987
|
-
* Creates a new overlay and places it in the correct location.
|
|
988
|
-
* @param config The user-specified snack bar config.
|
|
989
|
-
*/
|
|
990
|
-
MatSnackBar.prototype._createOverlay = function (config) {
|
|
991
|
-
var overlayConfig = new i1.OverlayConfig();
|
|
992
|
-
overlayConfig.direction = config.direction;
|
|
993
|
-
var positionStrategy = this._overlay.position().global();
|
|
994
|
-
// Set horizontal position.
|
|
995
|
-
var isRtl = config.direction === 'rtl';
|
|
996
|
-
var isLeft = (config.horizontalPosition === 'left' ||
|
|
997
|
-
(config.horizontalPosition === 'start' && !isRtl) ||
|
|
998
|
-
(config.horizontalPosition === 'end' && isRtl));
|
|
999
|
-
var isRight = !isLeft && config.horizontalPosition !== 'center';
|
|
1000
|
-
if (isLeft) {
|
|
1001
|
-
positionStrategy.left('0');
|
|
1002
|
-
}
|
|
1003
|
-
else if (isRight) {
|
|
1004
|
-
positionStrategy.right('0');
|
|
1005
|
-
}
|
|
1006
|
-
else {
|
|
1007
|
-
positionStrategy.centerHorizontally();
|
|
1008
|
-
}
|
|
1009
|
-
// Set horizontal position.
|
|
1010
|
-
if (config.verticalPosition === 'top') {
|
|
1011
|
-
positionStrategy.top('0');
|
|
1012
|
-
}
|
|
1013
|
-
else {
|
|
1014
|
-
positionStrategy.bottom('0');
|
|
1015
|
-
}
|
|
1016
|
-
overlayConfig.positionStrategy = positionStrategy;
|
|
1017
|
-
return this._overlay.create(overlayConfig);
|
|
1018
|
-
};
|
|
1019
|
-
/**
|
|
1020
|
-
* Creates an injector to be used inside of a snack bar component.
|
|
1021
|
-
* @param config Config that was used to create the snack bar.
|
|
1022
|
-
* @param snackBarRef Reference to the snack bar.
|
|
1023
|
-
*/
|
|
1024
|
-
MatSnackBar.prototype._createInjector = function (config, snackBarRef) {
|
|
1025
|
-
var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
|
|
1026
|
-
return i0.Injector.create({
|
|
1027
|
-
parent: userInjector || this._injector,
|
|
1028
|
-
providers: [
|
|
1029
|
-
{ provide: MatSnackBarRef, useValue: snackBarRef },
|
|
1030
|
-
{ provide: MAT_SNACK_BAR_DATA, useValue: config.data }
|
|
1031
|
-
]
|
|
1032
|
-
});
|
|
1033
|
-
};
|
|
1034
|
-
return MatSnackBar;
|
|
1035
|
-
}());
|
|
1036
|
-
MatSnackBar.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MatSnackBar_Factory() { return new MatSnackBar(i0__namespace.ɵɵinject(i1__namespace.Overlay), i0__namespace.ɵɵinject(i2__namespace.LiveAnnouncer), i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(i3__namespace.BreakpointObserver), i0__namespace.ɵɵinject(MatSnackBar, 12), i0__namespace.ɵɵinject(MAT_SNACK_BAR_DEFAULT_OPTIONS)); }, token: MatSnackBar, providedIn: MatSnackBarModule });
|
|
1037
|
-
MatSnackBar.decorators = [
|
|
1038
|
-
{ type: i0.Injectable, args: [{ providedIn: MatSnackBarModule },] }
|
|
1039
|
-
];
|
|
1040
|
-
MatSnackBar.ctorParameters = function () { return [
|
|
1041
|
-
{ type: i1.Overlay },
|
|
1042
|
-
{ type: i2.LiveAnnouncer },
|
|
1043
|
-
{ type: i0.Injector },
|
|
1044
|
-
{ type: i3.BreakpointObserver },
|
|
1045
|
-
{ type: MatSnackBar, decorators: [{ type: i0.Optional }, { type: i0.SkipSelf }] },
|
|
1046
|
-
{ type: MatSnackBarConfig, decorators: [{ type: i0.Inject, args: [MAT_SNACK_BAR_DEFAULT_OPTIONS,] }] }
|
|
1047
|
-
]; };
|
|
1048
|
-
|
|
1049
|
-
/**
|
|
1050
|
-
* @license
|
|
1051
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1052
|
-
*
|
|
1053
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1054
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1055
|
-
*/
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* Generated bundle index. Do not edit.
|
|
1059
|
-
*/
|
|
1060
|
-
|
|
1061
|
-
exports.MAT_SNACK_BAR_DATA = MAT_SNACK_BAR_DATA;
|
|
1062
|
-
exports.MAT_SNACK_BAR_DEFAULT_OPTIONS = MAT_SNACK_BAR_DEFAULT_OPTIONS;
|
|
1063
|
-
exports.MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY = MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY;
|
|
1064
|
-
exports.MatSnackBar = MatSnackBar;
|
|
1065
|
-
exports.MatSnackBarConfig = MatSnackBarConfig;
|
|
1066
|
-
exports.MatSnackBarContainer = MatSnackBarContainer;
|
|
1067
|
-
exports.MatSnackBarModule = MatSnackBarModule;
|
|
1068
|
-
exports.MatSnackBarRef = MatSnackBarRef;
|
|
1069
|
-
exports.SimpleSnackBar = SimpleSnackBar;
|
|
1070
|
-
exports.matSnackBarAnimations = matSnackBarAnimations;
|
|
1071
|
-
|
|
1072
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1073
|
-
|
|
1074
|
-
})));
|
|
1075
|
-
//# sourceMappingURL=material-snack-bar.umd.js.map
|