@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,1753 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/keycodes'), require('@angular/core'), require('@angular/material/core'), require('@angular/cdk/coercion'), require('@angular/cdk/platform'), require('@angular/common'), require('@angular/platform-browser/animations'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/a11y'), require('@angular/cdk/bidi'), require('@angular/cdk/collections'), require('@angular/forms'), require('@angular/material/form-field')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@angular/material/chips', ['exports', '@angular/cdk/keycodes', '@angular/core', '@angular/material/core', '@angular/cdk/coercion', '@angular/cdk/platform', '@angular/common', '@angular/platform-browser/animations', 'rxjs', 'rxjs/operators', '@angular/cdk/a11y', '@angular/cdk/bidi', '@angular/cdk/collections', '@angular/forms', '@angular/material/form-field'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.chips = {}), global.ng.cdk.keycodes, global.ng.core, global.ng.material.core, global.ng.cdk.coercion, global.ng.cdk.platform, global.ng.common, global.ng.platformBrowser.animations, global.rxjs, global.rxjs.operators, global.ng.cdk.a11y, global.ng.cdk.bidi, global.ng.cdk.collections, global.ng.forms, global.ng.material.formField));
|
|
5
|
-
}(this, (function (exports, keycodes, core, core$1, coercion, platform, common, animations, rxjs, operators, a11y, bidi, collections, forms, formField) { 'use strict';
|
|
6
|
-
|
|
7
|
-
/*! *****************************************************************************
|
|
8
|
-
Copyright (c) Microsoft Corporation.
|
|
9
|
-
|
|
10
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
11
|
-
purpose with or without fee is hereby granted.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
14
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
15
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
16
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
17
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
18
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
20
|
-
***************************************************************************** */
|
|
21
|
-
/* global Reflect, Promise */
|
|
22
|
-
var extendStatics = function (d, b) {
|
|
23
|
-
extendStatics = Object.setPrototypeOf ||
|
|
24
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
25
|
-
function (d, b) { for (var p in b)
|
|
26
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
27
|
-
d[p] = b[p]; };
|
|
28
|
-
return extendStatics(d, b);
|
|
29
|
-
};
|
|
30
|
-
function __extends(d, b) {
|
|
31
|
-
if (typeof b !== "function" && b !== null)
|
|
32
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
33
|
-
extendStatics(d, b);
|
|
34
|
-
function __() { this.constructor = d; }
|
|
35
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
36
|
-
}
|
|
37
|
-
var __assign = function () {
|
|
38
|
-
__assign = Object.assign || function __assign(t) {
|
|
39
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
40
|
-
s = arguments[i];
|
|
41
|
-
for (var p in s)
|
|
42
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
43
|
-
t[p] = s[p];
|
|
44
|
-
}
|
|
45
|
-
return t;
|
|
46
|
-
};
|
|
47
|
-
return __assign.apply(this, arguments);
|
|
48
|
-
};
|
|
49
|
-
function __rest(s, e) {
|
|
50
|
-
var t = {};
|
|
51
|
-
for (var p in s)
|
|
52
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
53
|
-
t[p] = s[p];
|
|
54
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
55
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
56
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
57
|
-
t[p[i]] = s[p[i]];
|
|
58
|
-
}
|
|
59
|
-
return t;
|
|
60
|
-
}
|
|
61
|
-
function __decorate(decorators, target, key, desc) {
|
|
62
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
63
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
64
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
65
|
-
else
|
|
66
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
67
|
-
if (d = decorators[i])
|
|
68
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
69
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
70
|
-
}
|
|
71
|
-
function __param(paramIndex, decorator) {
|
|
72
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
73
|
-
}
|
|
74
|
-
function __metadata(metadataKey, metadataValue) {
|
|
75
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
76
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
77
|
-
}
|
|
78
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
79
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
80
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
81
|
-
function fulfilled(value) { try {
|
|
82
|
-
step(generator.next(value));
|
|
83
|
-
}
|
|
84
|
-
catch (e) {
|
|
85
|
-
reject(e);
|
|
86
|
-
} }
|
|
87
|
-
function rejected(value) { try {
|
|
88
|
-
step(generator["throw"](value));
|
|
89
|
-
}
|
|
90
|
-
catch (e) {
|
|
91
|
-
reject(e);
|
|
92
|
-
} }
|
|
93
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
94
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
function __generator(thisArg, body) {
|
|
98
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
99
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
100
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
101
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
102
|
-
function step(op) {
|
|
103
|
-
if (f)
|
|
104
|
-
throw new TypeError("Generator is already executing.");
|
|
105
|
-
while (_)
|
|
106
|
-
try {
|
|
107
|
-
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)
|
|
108
|
-
return t;
|
|
109
|
-
if (y = 0, t)
|
|
110
|
-
op = [op[0] & 2, t.value];
|
|
111
|
-
switch (op[0]) {
|
|
112
|
-
case 0:
|
|
113
|
-
case 1:
|
|
114
|
-
t = op;
|
|
115
|
-
break;
|
|
116
|
-
case 4:
|
|
117
|
-
_.label++;
|
|
118
|
-
return { value: op[1], done: false };
|
|
119
|
-
case 5:
|
|
120
|
-
_.label++;
|
|
121
|
-
y = op[1];
|
|
122
|
-
op = [0];
|
|
123
|
-
continue;
|
|
124
|
-
case 7:
|
|
125
|
-
op = _.ops.pop();
|
|
126
|
-
_.trys.pop();
|
|
127
|
-
continue;
|
|
128
|
-
default:
|
|
129
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
130
|
-
_ = 0;
|
|
131
|
-
continue;
|
|
132
|
-
}
|
|
133
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
134
|
-
_.label = op[1];
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
138
|
-
_.label = t[1];
|
|
139
|
-
t = op;
|
|
140
|
-
break;
|
|
141
|
-
}
|
|
142
|
-
if (t && _.label < t[2]) {
|
|
143
|
-
_.label = t[2];
|
|
144
|
-
_.ops.push(op);
|
|
145
|
-
break;
|
|
146
|
-
}
|
|
147
|
-
if (t[2])
|
|
148
|
-
_.ops.pop();
|
|
149
|
-
_.trys.pop();
|
|
150
|
-
continue;
|
|
151
|
-
}
|
|
152
|
-
op = body.call(thisArg, _);
|
|
153
|
-
}
|
|
154
|
-
catch (e) {
|
|
155
|
-
op = [6, e];
|
|
156
|
-
y = 0;
|
|
157
|
-
}
|
|
158
|
-
finally {
|
|
159
|
-
f = t = 0;
|
|
160
|
-
}
|
|
161
|
-
if (op[0] & 5)
|
|
162
|
-
throw op[1];
|
|
163
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
167
|
-
if (k2 === undefined)
|
|
168
|
-
k2 = k;
|
|
169
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
170
|
-
}) : (function (o, m, k, k2) {
|
|
171
|
-
if (k2 === undefined)
|
|
172
|
-
k2 = k;
|
|
173
|
-
o[k2] = m[k];
|
|
174
|
-
});
|
|
175
|
-
function __exportStar(m, o) {
|
|
176
|
-
for (var p in m)
|
|
177
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
178
|
-
__createBinding(o, m, p);
|
|
179
|
-
}
|
|
180
|
-
function __values(o) {
|
|
181
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
182
|
-
if (m)
|
|
183
|
-
return m.call(o);
|
|
184
|
-
if (o && typeof o.length === "number")
|
|
185
|
-
return {
|
|
186
|
-
next: function () {
|
|
187
|
-
if (o && i >= o.length)
|
|
188
|
-
o = void 0;
|
|
189
|
-
return { value: o && o[i++], done: !o };
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
193
|
-
}
|
|
194
|
-
function __read(o, n) {
|
|
195
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
196
|
-
if (!m)
|
|
197
|
-
return o;
|
|
198
|
-
var i = m.call(o), r, ar = [], e;
|
|
199
|
-
try {
|
|
200
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
201
|
-
ar.push(r.value);
|
|
202
|
-
}
|
|
203
|
-
catch (error) {
|
|
204
|
-
e = { error: error };
|
|
205
|
-
}
|
|
206
|
-
finally {
|
|
207
|
-
try {
|
|
208
|
-
if (r && !r.done && (m = i["return"]))
|
|
209
|
-
m.call(i);
|
|
210
|
-
}
|
|
211
|
-
finally {
|
|
212
|
-
if (e)
|
|
213
|
-
throw e.error;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
return ar;
|
|
217
|
-
}
|
|
218
|
-
/** @deprecated */
|
|
219
|
-
function __spread() {
|
|
220
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
221
|
-
ar = ar.concat(__read(arguments[i]));
|
|
222
|
-
return ar;
|
|
223
|
-
}
|
|
224
|
-
/** @deprecated */
|
|
225
|
-
function __spreadArrays() {
|
|
226
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
227
|
-
s += arguments[i].length;
|
|
228
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
229
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
230
|
-
r[k] = a[j];
|
|
231
|
-
return r;
|
|
232
|
-
}
|
|
233
|
-
function __spreadArray(to, from, pack) {
|
|
234
|
-
if (pack || arguments.length === 2)
|
|
235
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
236
|
-
if (ar || !(i in from)) {
|
|
237
|
-
if (!ar)
|
|
238
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
239
|
-
ar[i] = from[i];
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
243
|
-
}
|
|
244
|
-
function __await(v) {
|
|
245
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
246
|
-
}
|
|
247
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
248
|
-
if (!Symbol.asyncIterator)
|
|
249
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
250
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
251
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
252
|
-
function verb(n) { if (g[n])
|
|
253
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
254
|
-
function resume(n, v) { try {
|
|
255
|
-
step(g[n](v));
|
|
256
|
-
}
|
|
257
|
-
catch (e) {
|
|
258
|
-
settle(q[0][3], e);
|
|
259
|
-
} }
|
|
260
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
261
|
-
function fulfill(value) { resume("next", value); }
|
|
262
|
-
function reject(value) { resume("throw", value); }
|
|
263
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
264
|
-
resume(q[0][0], q[0][1]); }
|
|
265
|
-
}
|
|
266
|
-
function __asyncDelegator(o) {
|
|
267
|
-
var i, p;
|
|
268
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
269
|
-
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; }
|
|
270
|
-
}
|
|
271
|
-
function __asyncValues(o) {
|
|
272
|
-
if (!Symbol.asyncIterator)
|
|
273
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
274
|
-
var m = o[Symbol.asyncIterator], i;
|
|
275
|
-
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);
|
|
276
|
-
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); }); }; }
|
|
277
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
278
|
-
}
|
|
279
|
-
function __makeTemplateObject(cooked, raw) {
|
|
280
|
-
if (Object.defineProperty) {
|
|
281
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
cooked.raw = raw;
|
|
285
|
-
}
|
|
286
|
-
return cooked;
|
|
287
|
-
}
|
|
288
|
-
;
|
|
289
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
290
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
291
|
-
}) : function (o, v) {
|
|
292
|
-
o["default"] = v;
|
|
293
|
-
};
|
|
294
|
-
function __importStar(mod) {
|
|
295
|
-
if (mod && mod.__esModule)
|
|
296
|
-
return mod;
|
|
297
|
-
var result = {};
|
|
298
|
-
if (mod != null)
|
|
299
|
-
for (var k in mod)
|
|
300
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
301
|
-
__createBinding(result, mod, k);
|
|
302
|
-
__setModuleDefault(result, mod);
|
|
303
|
-
return result;
|
|
304
|
-
}
|
|
305
|
-
function __importDefault(mod) {
|
|
306
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
307
|
-
}
|
|
308
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
309
|
-
if (kind === "a" && !f)
|
|
310
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
311
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
312
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
313
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
314
|
-
}
|
|
315
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
316
|
-
if (kind === "m")
|
|
317
|
-
throw new TypeError("Private method is not writable");
|
|
318
|
-
if (kind === "a" && !f)
|
|
319
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
320
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
321
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
322
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/** Event object emitted by MatChip when selected or deselected. */
|
|
326
|
-
var MatChipSelectionChange = /** @class */ (function () {
|
|
327
|
-
function MatChipSelectionChange(
|
|
328
|
-
/** Reference to the chip that emitted the event. */
|
|
329
|
-
source,
|
|
330
|
-
/** Whether the chip that emitted the event is selected. */
|
|
331
|
-
selected,
|
|
332
|
-
/** Whether the selection change was a result of a user interaction. */
|
|
333
|
-
isUserInput) {
|
|
334
|
-
if (isUserInput === void 0) { isUserInput = false; }
|
|
335
|
-
this.source = source;
|
|
336
|
-
this.selected = selected;
|
|
337
|
-
this.isUserInput = isUserInput;
|
|
338
|
-
}
|
|
339
|
-
return MatChipSelectionChange;
|
|
340
|
-
}());
|
|
341
|
-
/**
|
|
342
|
-
* Injection token that can be used to reference instances of `MatChipRemove`. It serves as
|
|
343
|
-
* alternative token to the actual `MatChipRemove` class which could cause unnecessary
|
|
344
|
-
* retention of the class and its directive metadata.
|
|
345
|
-
*/
|
|
346
|
-
var MAT_CHIP_REMOVE = new core.InjectionToken('MatChipRemove');
|
|
347
|
-
/**
|
|
348
|
-
* Injection token that can be used to reference instances of `MatChipAvatar`. It serves as
|
|
349
|
-
* alternative token to the actual `MatChipAvatar` class which could cause unnecessary
|
|
350
|
-
* retention of the class and its directive metadata.
|
|
351
|
-
*/
|
|
352
|
-
var MAT_CHIP_AVATAR = new core.InjectionToken('MatChipAvatar');
|
|
353
|
-
/**
|
|
354
|
-
* Injection token that can be used to reference instances of `MatChipTrailingIcon`. It serves as
|
|
355
|
-
* alternative token to the actual `MatChipTrailingIcon` class which could cause unnecessary
|
|
356
|
-
* retention of the class and its directive metadata.
|
|
357
|
-
*/
|
|
358
|
-
var MAT_CHIP_TRAILING_ICON = new core.InjectionToken('MatChipTrailingIcon');
|
|
359
|
-
// Boilerplate for applying mixins to MatChip.
|
|
360
|
-
/** @docs-private */
|
|
361
|
-
var MatChipBase = /** @class */ (function () {
|
|
362
|
-
function MatChipBase(_elementRef) {
|
|
363
|
-
this._elementRef = _elementRef;
|
|
364
|
-
}
|
|
365
|
-
return MatChipBase;
|
|
366
|
-
}());
|
|
367
|
-
var _MatChipMixinBase = core$1.mixinTabIndex(core$1.mixinColor(core$1.mixinDisableRipple(MatChipBase), 'primary'), -1);
|
|
368
|
-
/**
|
|
369
|
-
* Dummy directive to add CSS class to chip avatar.
|
|
370
|
-
* @docs-private
|
|
371
|
-
*/
|
|
372
|
-
var MatChipAvatar = /** @class */ (function () {
|
|
373
|
-
function MatChipAvatar() {
|
|
374
|
-
}
|
|
375
|
-
return MatChipAvatar;
|
|
376
|
-
}());
|
|
377
|
-
MatChipAvatar.decorators = [
|
|
378
|
-
{ type: core.Directive, args: [{
|
|
379
|
-
selector: 'mat-chip-avatar, [matChipAvatar]',
|
|
380
|
-
host: { 'class': 'mat-chip-avatar' },
|
|
381
|
-
providers: [{ provide: MAT_CHIP_AVATAR, useExisting: MatChipAvatar }]
|
|
382
|
-
},] }
|
|
383
|
-
];
|
|
384
|
-
/**
|
|
385
|
-
* Dummy directive to add CSS class to chip trailing icon.
|
|
386
|
-
* @docs-private
|
|
387
|
-
*/
|
|
388
|
-
var MatChipTrailingIcon = /** @class */ (function () {
|
|
389
|
-
function MatChipTrailingIcon() {
|
|
390
|
-
}
|
|
391
|
-
return MatChipTrailingIcon;
|
|
392
|
-
}());
|
|
393
|
-
MatChipTrailingIcon.decorators = [
|
|
394
|
-
{ type: core.Directive, args: [{
|
|
395
|
-
selector: 'mat-chip-trailing-icon, [matChipTrailingIcon]',
|
|
396
|
-
host: { 'class': 'mat-chip-trailing-icon' },
|
|
397
|
-
providers: [{ provide: MAT_CHIP_TRAILING_ICON, useExisting: MatChipTrailingIcon }],
|
|
398
|
-
},] }
|
|
399
|
-
];
|
|
400
|
-
/**
|
|
401
|
-
* Material design styled Chip component. Used inside the MatChipList component.
|
|
402
|
-
*/
|
|
403
|
-
var MatChip = /** @class */ (function (_super) {
|
|
404
|
-
__extends(MatChip, _super);
|
|
405
|
-
function MatChip(elementRef, _ngZone, platform, globalRippleOptions, _changeDetectorRef, _document, animationMode, tabIndex) {
|
|
406
|
-
var _this = _super.call(this, elementRef) || this;
|
|
407
|
-
_this._ngZone = _ngZone;
|
|
408
|
-
_this._changeDetectorRef = _changeDetectorRef;
|
|
409
|
-
/** Whether the chip has focus. */
|
|
410
|
-
_this._hasFocus = false;
|
|
411
|
-
/** Whether the chip list is selectable */
|
|
412
|
-
_this.chipListSelectable = true;
|
|
413
|
-
/** Whether the chip list is in multi-selection mode. */
|
|
414
|
-
_this._chipListMultiple = false;
|
|
415
|
-
/** Whether the chip list as a whole is disabled. */
|
|
416
|
-
_this._chipListDisabled = false;
|
|
417
|
-
_this._selected = false;
|
|
418
|
-
_this._selectable = true;
|
|
419
|
-
_this._disabled = false;
|
|
420
|
-
_this._removable = true;
|
|
421
|
-
/** Emits when the chip is focused. */
|
|
422
|
-
_this._onFocus = new rxjs.Subject();
|
|
423
|
-
/** Emits when the chip is blured. */
|
|
424
|
-
_this._onBlur = new rxjs.Subject();
|
|
425
|
-
/** Emitted when the chip is selected or deselected. */
|
|
426
|
-
_this.selectionChange = new core.EventEmitter();
|
|
427
|
-
/** Emitted when the chip is destroyed. */
|
|
428
|
-
_this.destroyed = new core.EventEmitter();
|
|
429
|
-
/** Emitted when a chip is to be removed. */
|
|
430
|
-
_this.removed = new core.EventEmitter();
|
|
431
|
-
_this._addHostClassName();
|
|
432
|
-
// Dynamically create the ripple target, append it within the chip, and use it as the
|
|
433
|
-
// chip's ripple target. Adding the class '.mat-chip-ripple' ensures that it will have
|
|
434
|
-
// the proper styles.
|
|
435
|
-
_this._chipRippleTarget = _document.createElement('div');
|
|
436
|
-
_this._chipRippleTarget.classList.add('mat-chip-ripple');
|
|
437
|
-
_this._elementRef.nativeElement.appendChild(_this._chipRippleTarget);
|
|
438
|
-
_this._chipRipple = new core$1.RippleRenderer(_this, _ngZone, _this._chipRippleTarget, platform);
|
|
439
|
-
_this._chipRipple.setupTriggerEvents(elementRef);
|
|
440
|
-
_this.rippleConfig = globalRippleOptions || {};
|
|
441
|
-
_this._animationsDisabled = animationMode === 'NoopAnimations';
|
|
442
|
-
_this.tabIndex = tabIndex != null ? (parseInt(tabIndex) || -1) : -1;
|
|
443
|
-
return _this;
|
|
444
|
-
}
|
|
445
|
-
Object.defineProperty(MatChip.prototype, "rippleDisabled", {
|
|
446
|
-
/**
|
|
447
|
-
* Whether ripples are disabled on interaction
|
|
448
|
-
* @docs-private
|
|
449
|
-
*/
|
|
450
|
-
get: function () {
|
|
451
|
-
return this.disabled || this.disableRipple || this._animationsDisabled ||
|
|
452
|
-
!!this.rippleConfig.disabled;
|
|
453
|
-
},
|
|
454
|
-
enumerable: false,
|
|
455
|
-
configurable: true
|
|
456
|
-
});
|
|
457
|
-
Object.defineProperty(MatChip.prototype, "selected", {
|
|
458
|
-
/** Whether the chip is selected. */
|
|
459
|
-
get: function () { return this._selected; },
|
|
460
|
-
set: function (value) {
|
|
461
|
-
var coercedValue = coercion.coerceBooleanProperty(value);
|
|
462
|
-
if (coercedValue !== this._selected) {
|
|
463
|
-
this._selected = coercedValue;
|
|
464
|
-
this._dispatchSelectionChange();
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
enumerable: false,
|
|
468
|
-
configurable: true
|
|
469
|
-
});
|
|
470
|
-
Object.defineProperty(MatChip.prototype, "value", {
|
|
471
|
-
/** The value of the chip. Defaults to the content inside `<mat-chip>` tags. */
|
|
472
|
-
get: function () {
|
|
473
|
-
return this._value !== undefined
|
|
474
|
-
? this._value
|
|
475
|
-
: this._elementRef.nativeElement.textContent;
|
|
476
|
-
},
|
|
477
|
-
set: function (value) { this._value = value; },
|
|
478
|
-
enumerable: false,
|
|
479
|
-
configurable: true
|
|
480
|
-
});
|
|
481
|
-
Object.defineProperty(MatChip.prototype, "selectable", {
|
|
482
|
-
/**
|
|
483
|
-
* Whether or not the chip is selectable. When a chip is not selectable,
|
|
484
|
-
* changes to its selected state are always ignored. By default a chip is
|
|
485
|
-
* selectable, and it becomes non-selectable if its parent chip list is
|
|
486
|
-
* not selectable.
|
|
487
|
-
*/
|
|
488
|
-
get: function () { return this._selectable && this.chipListSelectable; },
|
|
489
|
-
set: function (value) {
|
|
490
|
-
this._selectable = coercion.coerceBooleanProperty(value);
|
|
491
|
-
},
|
|
492
|
-
enumerable: false,
|
|
493
|
-
configurable: true
|
|
494
|
-
});
|
|
495
|
-
Object.defineProperty(MatChip.prototype, "disabled", {
|
|
496
|
-
/** Whether the chip is disabled. */
|
|
497
|
-
get: function () { return this._chipListDisabled || this._disabled; },
|
|
498
|
-
set: function (value) {
|
|
499
|
-
this._disabled = coercion.coerceBooleanProperty(value);
|
|
500
|
-
},
|
|
501
|
-
enumerable: false,
|
|
502
|
-
configurable: true
|
|
503
|
-
});
|
|
504
|
-
Object.defineProperty(MatChip.prototype, "removable", {
|
|
505
|
-
/**
|
|
506
|
-
* Determines whether or not the chip displays the remove styling and emits (removed) events.
|
|
507
|
-
*/
|
|
508
|
-
get: function () { return this._removable; },
|
|
509
|
-
set: function (value) {
|
|
510
|
-
this._removable = coercion.coerceBooleanProperty(value);
|
|
511
|
-
},
|
|
512
|
-
enumerable: false,
|
|
513
|
-
configurable: true
|
|
514
|
-
});
|
|
515
|
-
Object.defineProperty(MatChip.prototype, "ariaSelected", {
|
|
516
|
-
/** The ARIA selected applied to the chip. */
|
|
517
|
-
get: function () {
|
|
518
|
-
// Remove the `aria-selected` when the chip is deselected in single-selection mode, because
|
|
519
|
-
// it adds noise to NVDA users where "not selected" will be read out for each chip.
|
|
520
|
-
return this.selectable && (this._chipListMultiple || this.selected) ?
|
|
521
|
-
this.selected.toString() : null;
|
|
522
|
-
},
|
|
523
|
-
enumerable: false,
|
|
524
|
-
configurable: true
|
|
525
|
-
});
|
|
526
|
-
MatChip.prototype._addHostClassName = function () {
|
|
527
|
-
var basicChipAttrName = 'mat-basic-chip';
|
|
528
|
-
var element = this._elementRef.nativeElement;
|
|
529
|
-
if (element.hasAttribute(basicChipAttrName) ||
|
|
530
|
-
element.tagName.toLowerCase() === basicChipAttrName) {
|
|
531
|
-
element.classList.add(basicChipAttrName);
|
|
532
|
-
return;
|
|
533
|
-
}
|
|
534
|
-
else {
|
|
535
|
-
element.classList.add('mat-standard-chip');
|
|
536
|
-
}
|
|
537
|
-
};
|
|
538
|
-
MatChip.prototype.ngOnDestroy = function () {
|
|
539
|
-
this.destroyed.emit({ chip: this });
|
|
540
|
-
this._chipRipple._removeTriggerEvents();
|
|
541
|
-
};
|
|
542
|
-
/** Selects the chip. */
|
|
543
|
-
MatChip.prototype.select = function () {
|
|
544
|
-
if (!this._selected) {
|
|
545
|
-
this._selected = true;
|
|
546
|
-
this._dispatchSelectionChange();
|
|
547
|
-
this._changeDetectorRef.markForCheck();
|
|
548
|
-
}
|
|
549
|
-
};
|
|
550
|
-
/** Deselects the chip. */
|
|
551
|
-
MatChip.prototype.deselect = function () {
|
|
552
|
-
if (this._selected) {
|
|
553
|
-
this._selected = false;
|
|
554
|
-
this._dispatchSelectionChange();
|
|
555
|
-
this._changeDetectorRef.markForCheck();
|
|
556
|
-
}
|
|
557
|
-
};
|
|
558
|
-
/** Select this chip and emit selected event */
|
|
559
|
-
MatChip.prototype.selectViaInteraction = function () {
|
|
560
|
-
if (!this._selected) {
|
|
561
|
-
this._selected = true;
|
|
562
|
-
this._dispatchSelectionChange(true);
|
|
563
|
-
this._changeDetectorRef.markForCheck();
|
|
564
|
-
}
|
|
565
|
-
};
|
|
566
|
-
/** Toggles the current selected state of this chip. */
|
|
567
|
-
MatChip.prototype.toggleSelected = function (isUserInput) {
|
|
568
|
-
if (isUserInput === void 0) { isUserInput = false; }
|
|
569
|
-
this._selected = !this.selected;
|
|
570
|
-
this._dispatchSelectionChange(isUserInput);
|
|
571
|
-
this._changeDetectorRef.markForCheck();
|
|
572
|
-
return this.selected;
|
|
573
|
-
};
|
|
574
|
-
/** Allows for programmatic focusing of the chip. */
|
|
575
|
-
MatChip.prototype.focus = function () {
|
|
576
|
-
if (!this._hasFocus) {
|
|
577
|
-
this._elementRef.nativeElement.focus();
|
|
578
|
-
this._onFocus.next({ chip: this });
|
|
579
|
-
}
|
|
580
|
-
this._hasFocus = true;
|
|
581
|
-
};
|
|
582
|
-
/**
|
|
583
|
-
* Allows for programmatic removal of the chip. Called by the MatChipList when the DELETE or
|
|
584
|
-
* BACKSPACE keys are pressed.
|
|
585
|
-
*
|
|
586
|
-
* Informs any listeners of the removal request. Does not remove the chip from the DOM.
|
|
587
|
-
*/
|
|
588
|
-
MatChip.prototype.remove = function () {
|
|
589
|
-
if (this.removable) {
|
|
590
|
-
this.removed.emit({ chip: this });
|
|
591
|
-
}
|
|
592
|
-
};
|
|
593
|
-
/** Handles click events on the chip. */
|
|
594
|
-
MatChip.prototype._handleClick = function (event) {
|
|
595
|
-
if (this.disabled) {
|
|
596
|
-
event.preventDefault();
|
|
597
|
-
}
|
|
598
|
-
else {
|
|
599
|
-
event.stopPropagation();
|
|
600
|
-
}
|
|
601
|
-
};
|
|
602
|
-
/** Handle custom key presses. */
|
|
603
|
-
MatChip.prototype._handleKeydown = function (event) {
|
|
604
|
-
if (this.disabled) {
|
|
605
|
-
return;
|
|
606
|
-
}
|
|
607
|
-
switch (event.keyCode) {
|
|
608
|
-
case keycodes.DELETE:
|
|
609
|
-
case keycodes.BACKSPACE:
|
|
610
|
-
// If we are removable, remove the focused chip
|
|
611
|
-
this.remove();
|
|
612
|
-
// Always prevent so page navigation does not occur
|
|
613
|
-
event.preventDefault();
|
|
614
|
-
break;
|
|
615
|
-
case keycodes.SPACE:
|
|
616
|
-
// If we are selectable, toggle the focused chip
|
|
617
|
-
if (this.selectable) {
|
|
618
|
-
this.toggleSelected(true);
|
|
619
|
-
}
|
|
620
|
-
// Always prevent space from scrolling the page since the list has focus
|
|
621
|
-
event.preventDefault();
|
|
622
|
-
break;
|
|
623
|
-
}
|
|
624
|
-
};
|
|
625
|
-
MatChip.prototype._blur = function () {
|
|
626
|
-
var _this = this;
|
|
627
|
-
// When animations are enabled, Angular may end up removing the chip from the DOM a little
|
|
628
|
-
// earlier than usual, causing it to be blurred and throwing off the logic in the chip list
|
|
629
|
-
// that moves focus not the next item. To work around the issue, we defer marking the chip
|
|
630
|
-
// as not focused until the next time the zone stabilizes.
|
|
631
|
-
this._ngZone.onStable
|
|
632
|
-
.pipe(operators.take(1))
|
|
633
|
-
.subscribe(function () {
|
|
634
|
-
_this._ngZone.run(function () {
|
|
635
|
-
_this._hasFocus = false;
|
|
636
|
-
_this._onBlur.next({ chip: _this });
|
|
637
|
-
});
|
|
638
|
-
});
|
|
639
|
-
};
|
|
640
|
-
MatChip.prototype._dispatchSelectionChange = function (isUserInput) {
|
|
641
|
-
if (isUserInput === void 0) { isUserInput = false; }
|
|
642
|
-
this.selectionChange.emit({
|
|
643
|
-
source: this,
|
|
644
|
-
isUserInput: isUserInput,
|
|
645
|
-
selected: this._selected
|
|
646
|
-
});
|
|
647
|
-
};
|
|
648
|
-
return MatChip;
|
|
649
|
-
}(_MatChipMixinBase));
|
|
650
|
-
MatChip.decorators = [
|
|
651
|
-
{ type: core.Directive, args: [{
|
|
652
|
-
selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]",
|
|
653
|
-
inputs: ['color', 'disableRipple', 'tabIndex'],
|
|
654
|
-
exportAs: 'matChip',
|
|
655
|
-
host: {
|
|
656
|
-
'class': 'mat-chip mat-focus-indicator',
|
|
657
|
-
'[attr.tabindex]': 'disabled ? null : tabIndex',
|
|
658
|
-
'role': 'option',
|
|
659
|
-
'[class.mat-chip-selected]': 'selected',
|
|
660
|
-
'[class.mat-chip-with-avatar]': 'avatar',
|
|
661
|
-
'[class.mat-chip-with-trailing-icon]': 'trailingIcon || removeIcon',
|
|
662
|
-
'[class.mat-chip-disabled]': 'disabled',
|
|
663
|
-
'[class._mat-animation-noopable]': '_animationsDisabled',
|
|
664
|
-
'[attr.disabled]': 'disabled || null',
|
|
665
|
-
'[attr.aria-disabled]': 'disabled.toString()',
|
|
666
|
-
'[attr.aria-selected]': 'ariaSelected',
|
|
667
|
-
'(click)': '_handleClick($event)',
|
|
668
|
-
'(keydown)': '_handleKeydown($event)',
|
|
669
|
-
'(focus)': 'focus()',
|
|
670
|
-
'(blur)': '_blur()',
|
|
671
|
-
},
|
|
672
|
-
},] }
|
|
673
|
-
];
|
|
674
|
-
MatChip.ctorParameters = function () { return [
|
|
675
|
-
{ type: core.ElementRef },
|
|
676
|
-
{ type: core.NgZone },
|
|
677
|
-
{ type: platform.Platform },
|
|
678
|
-
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [core$1.MAT_RIPPLE_GLOBAL_OPTIONS,] }] },
|
|
679
|
-
{ type: core.ChangeDetectorRef },
|
|
680
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
|
|
681
|
-
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] },
|
|
682
|
-
{ type: String, decorators: [{ type: core.Attribute, args: ['tabindex',] }] }
|
|
683
|
-
]; };
|
|
684
|
-
MatChip.propDecorators = {
|
|
685
|
-
avatar: [{ type: core.ContentChild, args: [MAT_CHIP_AVATAR,] }],
|
|
686
|
-
trailingIcon: [{ type: core.ContentChild, args: [MAT_CHIP_TRAILING_ICON,] }],
|
|
687
|
-
removeIcon: [{ type: core.ContentChild, args: [MAT_CHIP_REMOVE,] }],
|
|
688
|
-
selected: [{ type: core.Input }],
|
|
689
|
-
value: [{ type: core.Input }],
|
|
690
|
-
selectable: [{ type: core.Input }],
|
|
691
|
-
disabled: [{ type: core.Input }],
|
|
692
|
-
removable: [{ type: core.Input }],
|
|
693
|
-
selectionChange: [{ type: core.Output }],
|
|
694
|
-
destroyed: [{ type: core.Output }],
|
|
695
|
-
removed: [{ type: core.Output }]
|
|
696
|
-
};
|
|
697
|
-
/**
|
|
698
|
-
* Applies proper (click) support and adds styling for use with the Material Design "cancel" icon
|
|
699
|
-
* available at https://material.io/icons/#ic_cancel.
|
|
700
|
-
*
|
|
701
|
-
* Example:
|
|
702
|
-
*
|
|
703
|
-
* `<mat-chip>
|
|
704
|
-
* <mat-icon matChipRemove>cancel</mat-icon>
|
|
705
|
-
* </mat-chip>`
|
|
706
|
-
*
|
|
707
|
-
* You *may* use a custom icon, but you may need to override the `mat-chip-remove` positioning
|
|
708
|
-
* styles to properly center the icon within the chip.
|
|
709
|
-
*/
|
|
710
|
-
var MatChipRemove = /** @class */ (function () {
|
|
711
|
-
function MatChipRemove(_parentChip, elementRef) {
|
|
712
|
-
this._parentChip = _parentChip;
|
|
713
|
-
if (elementRef.nativeElement.nodeName === 'BUTTON') {
|
|
714
|
-
elementRef.nativeElement.setAttribute('type', 'button');
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
/** Calls the parent chip's public `remove()` method if applicable. */
|
|
718
|
-
MatChipRemove.prototype._handleClick = function (event) {
|
|
719
|
-
var parentChip = this._parentChip;
|
|
720
|
-
if (parentChip.removable && !parentChip.disabled) {
|
|
721
|
-
parentChip.remove();
|
|
722
|
-
}
|
|
723
|
-
// We need to stop event propagation because otherwise the event will bubble up to the
|
|
724
|
-
// form field and cause the `onContainerClick` method to be invoked. This method would then
|
|
725
|
-
// reset the focused chip that has been focused after chip removal. Usually the parent
|
|
726
|
-
// the parent click listener of the `MatChip` would prevent propagation, but it can happen
|
|
727
|
-
// that the chip is being removed before the event bubbles up.
|
|
728
|
-
event.stopPropagation();
|
|
729
|
-
};
|
|
730
|
-
return MatChipRemove;
|
|
731
|
-
}());
|
|
732
|
-
MatChipRemove.decorators = [
|
|
733
|
-
{ type: core.Directive, args: [{
|
|
734
|
-
selector: '[matChipRemove]',
|
|
735
|
-
host: {
|
|
736
|
-
'class': 'mat-chip-remove mat-chip-trailing-icon',
|
|
737
|
-
'(click)': '_handleClick($event)',
|
|
738
|
-
},
|
|
739
|
-
providers: [{ provide: MAT_CHIP_REMOVE, useExisting: MatChipRemove }],
|
|
740
|
-
},] }
|
|
741
|
-
];
|
|
742
|
-
MatChipRemove.ctorParameters = function () { return [
|
|
743
|
-
{ type: MatChip },
|
|
744
|
-
{ type: core.ElementRef }
|
|
745
|
-
]; };
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* @license
|
|
749
|
-
* Copyright Google LLC All Rights Reserved.
|
|
750
|
-
*
|
|
751
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
752
|
-
* found in the LICENSE file at https://angular.io/license
|
|
753
|
-
*/
|
|
754
|
-
/** Injection token to be used to override the default options for the chips module. */
|
|
755
|
-
var MAT_CHIPS_DEFAULT_OPTIONS = new core.InjectionToken('mat-chips-default-options');
|
|
756
|
-
|
|
757
|
-
/**
|
|
758
|
-
* @license
|
|
759
|
-
* Copyright Google LLC All Rights Reserved.
|
|
760
|
-
*
|
|
761
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
762
|
-
* found in the LICENSE file at https://angular.io/license
|
|
763
|
-
*/
|
|
764
|
-
// Increasing integer for generating unique ids.
|
|
765
|
-
var nextUniqueId$1 = 0;
|
|
766
|
-
/**
|
|
767
|
-
* Directive that adds chip-specific behaviors to an input element inside `<mat-form-field>`.
|
|
768
|
-
* May be placed inside or outside of an `<mat-chip-list>`.
|
|
769
|
-
*/
|
|
770
|
-
var MatChipInput = /** @class */ (function () {
|
|
771
|
-
function MatChipInput(_elementRef, _defaultOptions) {
|
|
772
|
-
this._elementRef = _elementRef;
|
|
773
|
-
this._defaultOptions = _defaultOptions;
|
|
774
|
-
/** Whether the control is focused. */
|
|
775
|
-
this.focused = false;
|
|
776
|
-
this._addOnBlur = false;
|
|
777
|
-
/**
|
|
778
|
-
* The list of key codes that will trigger a chipEnd event.
|
|
779
|
-
*
|
|
780
|
-
* Defaults to `[ENTER]`.
|
|
781
|
-
*/
|
|
782
|
-
this.separatorKeyCodes = this._defaultOptions.separatorKeyCodes;
|
|
783
|
-
/** Emitted when a chip is to be added. */
|
|
784
|
-
this.chipEnd = new core.EventEmitter();
|
|
785
|
-
/** The input's placeholder text. */
|
|
786
|
-
this.placeholder = '';
|
|
787
|
-
/** Unique id for the input. */
|
|
788
|
-
this.id = "mat-chip-list-input-" + nextUniqueId$1++;
|
|
789
|
-
this._disabled = false;
|
|
790
|
-
this.inputElement = this._elementRef.nativeElement;
|
|
791
|
-
}
|
|
792
|
-
Object.defineProperty(MatChipInput.prototype, "chipList", {
|
|
793
|
-
/** Register input for chip list */
|
|
794
|
-
set: function (value) {
|
|
795
|
-
if (value) {
|
|
796
|
-
this._chipList = value;
|
|
797
|
-
this._chipList.registerInput(this);
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
|
-
enumerable: false,
|
|
801
|
-
configurable: true
|
|
802
|
-
});
|
|
803
|
-
Object.defineProperty(MatChipInput.prototype, "addOnBlur", {
|
|
804
|
-
/**
|
|
805
|
-
* Whether or not the chipEnd event will be emitted when the input is blurred.
|
|
806
|
-
*/
|
|
807
|
-
get: function () { return this._addOnBlur; },
|
|
808
|
-
set: function (value) { this._addOnBlur = coercion.coerceBooleanProperty(value); },
|
|
809
|
-
enumerable: false,
|
|
810
|
-
configurable: true
|
|
811
|
-
});
|
|
812
|
-
Object.defineProperty(MatChipInput.prototype, "disabled", {
|
|
813
|
-
/** Whether the input is disabled. */
|
|
814
|
-
get: function () { return this._disabled || (this._chipList && this._chipList.disabled); },
|
|
815
|
-
set: function (value) { this._disabled = coercion.coerceBooleanProperty(value); },
|
|
816
|
-
enumerable: false,
|
|
817
|
-
configurable: true
|
|
818
|
-
});
|
|
819
|
-
Object.defineProperty(MatChipInput.prototype, "empty", {
|
|
820
|
-
/** Whether the input is empty. */
|
|
821
|
-
get: function () { return !this.inputElement.value; },
|
|
822
|
-
enumerable: false,
|
|
823
|
-
configurable: true
|
|
824
|
-
});
|
|
825
|
-
MatChipInput.prototype.ngOnChanges = function () {
|
|
826
|
-
this._chipList.stateChanges.next();
|
|
827
|
-
};
|
|
828
|
-
MatChipInput.prototype.ngOnDestroy = function () {
|
|
829
|
-
this.chipEnd.complete();
|
|
830
|
-
};
|
|
831
|
-
MatChipInput.prototype.ngAfterContentInit = function () {
|
|
832
|
-
this._focusLastChipOnBackspace = this.empty;
|
|
833
|
-
};
|
|
834
|
-
/** Utility method to make host definition/tests more clear. */
|
|
835
|
-
MatChipInput.prototype._keydown = function (event) {
|
|
836
|
-
if (event) {
|
|
837
|
-
// Allow the user's focus to escape when they're tabbing forward. Note that we don't
|
|
838
|
-
// want to do this when going backwards, because focus should go back to the first chip.
|
|
839
|
-
if (event.keyCode === keycodes.TAB && !keycodes.hasModifierKey(event, 'shiftKey')) {
|
|
840
|
-
this._chipList._allowFocusEscape();
|
|
841
|
-
}
|
|
842
|
-
// To prevent the user from accidentally deleting chips when pressing BACKSPACE continuously,
|
|
843
|
-
// We focus the last chip on backspace only after the user has released the backspace button,
|
|
844
|
-
// and the input is empty (see behaviour in _keyup)
|
|
845
|
-
if (event.keyCode === keycodes.BACKSPACE && this._focusLastChipOnBackspace) {
|
|
846
|
-
this._chipList._keyManager.setLastItemActive();
|
|
847
|
-
event.preventDefault();
|
|
848
|
-
return;
|
|
849
|
-
}
|
|
850
|
-
else {
|
|
851
|
-
this._focusLastChipOnBackspace = false;
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
this._emitChipEnd(event);
|
|
855
|
-
};
|
|
856
|
-
/**
|
|
857
|
-
* Pass events to the keyboard manager. Available here for tests.
|
|
858
|
-
*/
|
|
859
|
-
MatChipInput.prototype._keyup = function (event) {
|
|
860
|
-
// Allow user to move focus to chips next time he presses backspace
|
|
861
|
-
if (!this._focusLastChipOnBackspace && event.keyCode === keycodes.BACKSPACE && this.empty) {
|
|
862
|
-
this._focusLastChipOnBackspace = true;
|
|
863
|
-
event.preventDefault();
|
|
864
|
-
}
|
|
865
|
-
};
|
|
866
|
-
/** Checks to see if the blur should emit the (chipEnd) event. */
|
|
867
|
-
MatChipInput.prototype._blur = function () {
|
|
868
|
-
if (this.addOnBlur) {
|
|
869
|
-
this._emitChipEnd();
|
|
870
|
-
}
|
|
871
|
-
this.focused = false;
|
|
872
|
-
// Blur the chip list if it is not focused
|
|
873
|
-
if (!this._chipList.focused) {
|
|
874
|
-
this._chipList._blur();
|
|
875
|
-
}
|
|
876
|
-
this._chipList.stateChanges.next();
|
|
877
|
-
};
|
|
878
|
-
MatChipInput.prototype._focus = function () {
|
|
879
|
-
this.focused = true;
|
|
880
|
-
this._focusLastChipOnBackspace = this.empty;
|
|
881
|
-
this._chipList.stateChanges.next();
|
|
882
|
-
};
|
|
883
|
-
/** Checks to see if the (chipEnd) event needs to be emitted. */
|
|
884
|
-
MatChipInput.prototype._emitChipEnd = function (event) {
|
|
885
|
-
if (!this.inputElement.value && !!event) {
|
|
886
|
-
this._chipList._keydown(event);
|
|
887
|
-
}
|
|
888
|
-
if (!event || this._isSeparatorKey(event)) {
|
|
889
|
-
this.chipEnd.emit({
|
|
890
|
-
input: this.inputElement,
|
|
891
|
-
value: this.inputElement.value,
|
|
892
|
-
chipInput: this,
|
|
893
|
-
});
|
|
894
|
-
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
895
|
-
}
|
|
896
|
-
};
|
|
897
|
-
MatChipInput.prototype._onInput = function () {
|
|
898
|
-
// Let chip list know whenever the value changes.
|
|
899
|
-
this._chipList.stateChanges.next();
|
|
900
|
-
};
|
|
901
|
-
/** Focuses the input. */
|
|
902
|
-
MatChipInput.prototype.focus = function (options) {
|
|
903
|
-
this.inputElement.focus(options);
|
|
904
|
-
};
|
|
905
|
-
/** Clears the input */
|
|
906
|
-
MatChipInput.prototype.clear = function () {
|
|
907
|
-
this.inputElement.value = '';
|
|
908
|
-
this._focusLastChipOnBackspace = true;
|
|
909
|
-
};
|
|
910
|
-
/** Checks whether a keycode is one of the configured separators. */
|
|
911
|
-
MatChipInput.prototype._isSeparatorKey = function (event) {
|
|
912
|
-
return !keycodes.hasModifierKey(event) && new Set(this.separatorKeyCodes).has(event.keyCode);
|
|
913
|
-
};
|
|
914
|
-
return MatChipInput;
|
|
915
|
-
}());
|
|
916
|
-
MatChipInput.decorators = [
|
|
917
|
-
{ type: core.Directive, args: [{
|
|
918
|
-
selector: 'input[matChipInputFor]',
|
|
919
|
-
exportAs: 'matChipInput, matChipInputFor',
|
|
920
|
-
host: {
|
|
921
|
-
'class': 'mat-chip-input mat-input-element',
|
|
922
|
-
'(keydown)': '_keydown($event)',
|
|
923
|
-
'(keyup)': '_keyup($event)',
|
|
924
|
-
'(blur)': '_blur()',
|
|
925
|
-
'(focus)': '_focus()',
|
|
926
|
-
'(input)': '_onInput()',
|
|
927
|
-
'[id]': 'id',
|
|
928
|
-
'[attr.disabled]': 'disabled || null',
|
|
929
|
-
'[attr.placeholder]': 'placeholder || null',
|
|
930
|
-
'[attr.aria-invalid]': '_chipList && _chipList.ngControl ? _chipList.ngControl.invalid : null',
|
|
931
|
-
'[attr.aria-required]': '_chipList && _chipList.required || null',
|
|
932
|
-
}
|
|
933
|
-
},] }
|
|
934
|
-
];
|
|
935
|
-
MatChipInput.ctorParameters = function () { return [
|
|
936
|
-
{ type: core.ElementRef },
|
|
937
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [MAT_CHIPS_DEFAULT_OPTIONS,] }] }
|
|
938
|
-
]; };
|
|
939
|
-
MatChipInput.propDecorators = {
|
|
940
|
-
chipList: [{ type: core.Input, args: ['matChipInputFor',] }],
|
|
941
|
-
addOnBlur: [{ type: core.Input, args: ['matChipInputAddOnBlur',] }],
|
|
942
|
-
separatorKeyCodes: [{ type: core.Input, args: ['matChipInputSeparatorKeyCodes',] }],
|
|
943
|
-
chipEnd: [{ type: core.Output, args: ['matChipInputTokenEnd',] }],
|
|
944
|
-
placeholder: [{ type: core.Input }],
|
|
945
|
-
id: [{ type: core.Input }],
|
|
946
|
-
disabled: [{ type: core.Input }]
|
|
947
|
-
};
|
|
948
|
-
|
|
949
|
-
// Boilerplate for applying mixins to MatChipList.
|
|
950
|
-
/** @docs-private */
|
|
951
|
-
var _MatChipListBase = core$1.mixinErrorState(/** @class */ (function () {
|
|
952
|
-
function class_1(_defaultErrorStateMatcher, _parentForm, _parentFormGroup,
|
|
953
|
-
/** @docs-private */
|
|
954
|
-
ngControl) {
|
|
955
|
-
this._defaultErrorStateMatcher = _defaultErrorStateMatcher;
|
|
956
|
-
this._parentForm = _parentForm;
|
|
957
|
-
this._parentFormGroup = _parentFormGroup;
|
|
958
|
-
this.ngControl = ngControl;
|
|
959
|
-
}
|
|
960
|
-
return class_1;
|
|
961
|
-
}()));
|
|
962
|
-
// Increasing integer for generating unique ids for chip-list components.
|
|
963
|
-
var nextUniqueId = 0;
|
|
964
|
-
/** Change event object that is emitted when the chip list value has changed. */
|
|
965
|
-
var MatChipListChange = /** @class */ (function () {
|
|
966
|
-
function MatChipListChange(
|
|
967
|
-
/** Chip list that emitted the event. */
|
|
968
|
-
source,
|
|
969
|
-
/** Value of the chip list when the event was emitted. */
|
|
970
|
-
value) {
|
|
971
|
-
this.source = source;
|
|
972
|
-
this.value = value;
|
|
973
|
-
}
|
|
974
|
-
return MatChipListChange;
|
|
975
|
-
}());
|
|
976
|
-
/**
|
|
977
|
-
* A material design chips component (named ChipList for its similarity to the List component).
|
|
978
|
-
*/
|
|
979
|
-
var MatChipList = /** @class */ (function (_super) {
|
|
980
|
-
__extends(MatChipList, _super);
|
|
981
|
-
function MatChipList(_elementRef, _changeDetectorRef, _dir, _parentForm, _parentFormGroup, _defaultErrorStateMatcher, ngControl) {
|
|
982
|
-
var _this = _super.call(this, _defaultErrorStateMatcher, _parentForm, _parentFormGroup, ngControl) || this;
|
|
983
|
-
_this._elementRef = _elementRef;
|
|
984
|
-
_this._changeDetectorRef = _changeDetectorRef;
|
|
985
|
-
_this._dir = _dir;
|
|
986
|
-
/**
|
|
987
|
-
* Implemented as part of MatFormFieldControl.
|
|
988
|
-
* @docs-private
|
|
989
|
-
*/
|
|
990
|
-
_this.controlType = 'mat-chip-list';
|
|
991
|
-
/**
|
|
992
|
-
* When a chip is destroyed, we store the index of the destroyed chip until the chips
|
|
993
|
-
* query list notifies about the update. This is necessary because we cannot determine an
|
|
994
|
-
* appropriate chip that should receive focus until the array of chips updated completely.
|
|
995
|
-
*/
|
|
996
|
-
_this._lastDestroyedChipIndex = null;
|
|
997
|
-
/** Subject that emits when the component has been destroyed. */
|
|
998
|
-
_this._destroyed = new rxjs.Subject();
|
|
999
|
-
/** Uid of the chip list */
|
|
1000
|
-
_this._uid = "mat-chip-list-" + nextUniqueId++;
|
|
1001
|
-
/** Tab index for the chip list. */
|
|
1002
|
-
_this._tabIndex = 0;
|
|
1003
|
-
/**
|
|
1004
|
-
* User defined tab index.
|
|
1005
|
-
* When it is not null, use user defined tab index. Otherwise use _tabIndex
|
|
1006
|
-
*/
|
|
1007
|
-
_this._userTabIndex = null;
|
|
1008
|
-
/** Function when touched */
|
|
1009
|
-
_this._onTouched = function () { };
|
|
1010
|
-
/** Function when changed */
|
|
1011
|
-
_this._onChange = function () { };
|
|
1012
|
-
_this._multiple = false;
|
|
1013
|
-
_this._compareWith = function (o1, o2) { return o1 === o2; };
|
|
1014
|
-
_this._disabled = false;
|
|
1015
|
-
/** Orientation of the chip list. */
|
|
1016
|
-
_this.ariaOrientation = 'horizontal';
|
|
1017
|
-
_this._selectable = true;
|
|
1018
|
-
/** Event emitted when the selected chip list value has been changed by the user. */
|
|
1019
|
-
_this.change = new core.EventEmitter();
|
|
1020
|
-
/**
|
|
1021
|
-
* Event that emits whenever the raw value of the chip-list changes. This is here primarily
|
|
1022
|
-
* to facilitate the two-way binding for the `value` input.
|
|
1023
|
-
* @docs-private
|
|
1024
|
-
*/
|
|
1025
|
-
_this.valueChange = new core.EventEmitter();
|
|
1026
|
-
if (_this.ngControl) {
|
|
1027
|
-
_this.ngControl.valueAccessor = _this;
|
|
1028
|
-
}
|
|
1029
|
-
return _this;
|
|
1030
|
-
}
|
|
1031
|
-
Object.defineProperty(MatChipList.prototype, "selected", {
|
|
1032
|
-
/** The array of selected chips inside chip list. */
|
|
1033
|
-
get: function () {
|
|
1034
|
-
var _a, _b;
|
|
1035
|
-
return this.multiple ? (((_a = this._selectionModel) === null || _a === void 0 ? void 0 : _a.selected) || []) :
|
|
1036
|
-
(_b = this._selectionModel) === null || _b === void 0 ? void 0 : _b.selected[0];
|
|
1037
|
-
},
|
|
1038
|
-
enumerable: false,
|
|
1039
|
-
configurable: true
|
|
1040
|
-
});
|
|
1041
|
-
Object.defineProperty(MatChipList.prototype, "role", {
|
|
1042
|
-
/** The ARIA role applied to the chip list. */
|
|
1043
|
-
get: function () { return this.empty ? null : 'listbox'; },
|
|
1044
|
-
enumerable: false,
|
|
1045
|
-
configurable: true
|
|
1046
|
-
});
|
|
1047
|
-
Object.defineProperty(MatChipList.prototype, "multiple", {
|
|
1048
|
-
/** Whether the user should be allowed to select multiple chips. */
|
|
1049
|
-
get: function () { return this._multiple; },
|
|
1050
|
-
set: function (value) {
|
|
1051
|
-
this._multiple = coercion.coerceBooleanProperty(value);
|
|
1052
|
-
this._syncChipsState();
|
|
1053
|
-
},
|
|
1054
|
-
enumerable: false,
|
|
1055
|
-
configurable: true
|
|
1056
|
-
});
|
|
1057
|
-
Object.defineProperty(MatChipList.prototype, "compareWith", {
|
|
1058
|
-
/**
|
|
1059
|
-
* A function to compare the option values with the selected values. The first argument
|
|
1060
|
-
* is a value from an option. The second is a value from the selection. A boolean
|
|
1061
|
-
* should be returned.
|
|
1062
|
-
*/
|
|
1063
|
-
get: function () { return this._compareWith; },
|
|
1064
|
-
set: function (fn) {
|
|
1065
|
-
this._compareWith = fn;
|
|
1066
|
-
if (this._selectionModel) {
|
|
1067
|
-
// A different comparator means the selection could change.
|
|
1068
|
-
this._initializeSelection();
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
|
-
enumerable: false,
|
|
1072
|
-
configurable: true
|
|
1073
|
-
});
|
|
1074
|
-
Object.defineProperty(MatChipList.prototype, "value", {
|
|
1075
|
-
/**
|
|
1076
|
-
* Implemented as part of MatFormFieldControl.
|
|
1077
|
-
* @docs-private
|
|
1078
|
-
*/
|
|
1079
|
-
get: function () { return this._value; },
|
|
1080
|
-
set: function (value) {
|
|
1081
|
-
this.writeValue(value);
|
|
1082
|
-
this._value = value;
|
|
1083
|
-
},
|
|
1084
|
-
enumerable: false,
|
|
1085
|
-
configurable: true
|
|
1086
|
-
});
|
|
1087
|
-
Object.defineProperty(MatChipList.prototype, "id", {
|
|
1088
|
-
/**
|
|
1089
|
-
* Implemented as part of MatFormFieldControl.
|
|
1090
|
-
* @docs-private
|
|
1091
|
-
*/
|
|
1092
|
-
get: function () {
|
|
1093
|
-
return this._chipInput ? this._chipInput.id : this._uid;
|
|
1094
|
-
},
|
|
1095
|
-
enumerable: false,
|
|
1096
|
-
configurable: true
|
|
1097
|
-
});
|
|
1098
|
-
Object.defineProperty(MatChipList.prototype, "required", {
|
|
1099
|
-
/**
|
|
1100
|
-
* Implemented as part of MatFormFieldControl.
|
|
1101
|
-
* @docs-private
|
|
1102
|
-
*/
|
|
1103
|
-
get: function () {
|
|
1104
|
-
var _a, _b, _c, _d;
|
|
1105
|
-
return (_d = (_a = this._required) !== null && _a !== void 0 ? _a : (_c = (_b = this.ngControl) === null || _b === void 0 ? void 0 : _b.control) === null || _c === void 0 ? void 0 : _c.hasValidator(forms.Validators.required)) !== null && _d !== void 0 ? _d : false;
|
|
1106
|
-
},
|
|
1107
|
-
set: function (value) {
|
|
1108
|
-
this._required = coercion.coerceBooleanProperty(value);
|
|
1109
|
-
this.stateChanges.next();
|
|
1110
|
-
},
|
|
1111
|
-
enumerable: false,
|
|
1112
|
-
configurable: true
|
|
1113
|
-
});
|
|
1114
|
-
Object.defineProperty(MatChipList.prototype, "placeholder", {
|
|
1115
|
-
/**
|
|
1116
|
-
* Implemented as part of MatFormFieldControl.
|
|
1117
|
-
* @docs-private
|
|
1118
|
-
*/
|
|
1119
|
-
get: function () {
|
|
1120
|
-
return this._chipInput ? this._chipInput.placeholder : this._placeholder;
|
|
1121
|
-
},
|
|
1122
|
-
set: function (value) {
|
|
1123
|
-
this._placeholder = value;
|
|
1124
|
-
this.stateChanges.next();
|
|
1125
|
-
},
|
|
1126
|
-
enumerable: false,
|
|
1127
|
-
configurable: true
|
|
1128
|
-
});
|
|
1129
|
-
Object.defineProperty(MatChipList.prototype, "focused", {
|
|
1130
|
-
/** Whether any chips or the matChipInput inside of this chip-list has focus. */
|
|
1131
|
-
get: function () {
|
|
1132
|
-
return (this._chipInput && this._chipInput.focused) || this._hasFocusedChip();
|
|
1133
|
-
},
|
|
1134
|
-
enumerable: false,
|
|
1135
|
-
configurable: true
|
|
1136
|
-
});
|
|
1137
|
-
Object.defineProperty(MatChipList.prototype, "empty", {
|
|
1138
|
-
/**
|
|
1139
|
-
* Implemented as part of MatFormFieldControl.
|
|
1140
|
-
* @docs-private
|
|
1141
|
-
*/
|
|
1142
|
-
get: function () {
|
|
1143
|
-
return (!this._chipInput || this._chipInput.empty) && (!this.chips || this.chips.length === 0);
|
|
1144
|
-
},
|
|
1145
|
-
enumerable: false,
|
|
1146
|
-
configurable: true
|
|
1147
|
-
});
|
|
1148
|
-
Object.defineProperty(MatChipList.prototype, "shouldLabelFloat", {
|
|
1149
|
-
/**
|
|
1150
|
-
* Implemented as part of MatFormFieldControl.
|
|
1151
|
-
* @docs-private
|
|
1152
|
-
*/
|
|
1153
|
-
get: function () { return !this.empty || this.focused; },
|
|
1154
|
-
enumerable: false,
|
|
1155
|
-
configurable: true
|
|
1156
|
-
});
|
|
1157
|
-
Object.defineProperty(MatChipList.prototype, "disabled", {
|
|
1158
|
-
/**
|
|
1159
|
-
* Implemented as part of MatFormFieldControl.
|
|
1160
|
-
* @docs-private
|
|
1161
|
-
*/
|
|
1162
|
-
get: function () { return this.ngControl ? !!this.ngControl.disabled : this._disabled; },
|
|
1163
|
-
set: function (value) {
|
|
1164
|
-
this._disabled = coercion.coerceBooleanProperty(value);
|
|
1165
|
-
this._syncChipsState();
|
|
1166
|
-
},
|
|
1167
|
-
enumerable: false,
|
|
1168
|
-
configurable: true
|
|
1169
|
-
});
|
|
1170
|
-
Object.defineProperty(MatChipList.prototype, "selectable", {
|
|
1171
|
-
/**
|
|
1172
|
-
* Whether or not this chip list is selectable. When a chip list is not selectable,
|
|
1173
|
-
* the selected states for all the chips inside the chip list are always ignored.
|
|
1174
|
-
*/
|
|
1175
|
-
get: function () { return this._selectable; },
|
|
1176
|
-
set: function (value) {
|
|
1177
|
-
var _this = this;
|
|
1178
|
-
this._selectable = coercion.coerceBooleanProperty(value);
|
|
1179
|
-
if (this.chips) {
|
|
1180
|
-
this.chips.forEach(function (chip) { return chip.chipListSelectable = _this._selectable; });
|
|
1181
|
-
}
|
|
1182
|
-
},
|
|
1183
|
-
enumerable: false,
|
|
1184
|
-
configurable: true
|
|
1185
|
-
});
|
|
1186
|
-
Object.defineProperty(MatChipList.prototype, "tabIndex", {
|
|
1187
|
-
set: function (value) {
|
|
1188
|
-
this._userTabIndex = value;
|
|
1189
|
-
this._tabIndex = value;
|
|
1190
|
-
},
|
|
1191
|
-
enumerable: false,
|
|
1192
|
-
configurable: true
|
|
1193
|
-
});
|
|
1194
|
-
Object.defineProperty(MatChipList.prototype, "chipSelectionChanges", {
|
|
1195
|
-
/** Combined stream of all of the child chips' selection change events. */
|
|
1196
|
-
get: function () {
|
|
1197
|
-
return rxjs.merge.apply(void 0, __spreadArray([], __read(this.chips.map(function (chip) { return chip.selectionChange; }))));
|
|
1198
|
-
},
|
|
1199
|
-
enumerable: false,
|
|
1200
|
-
configurable: true
|
|
1201
|
-
});
|
|
1202
|
-
Object.defineProperty(MatChipList.prototype, "chipFocusChanges", {
|
|
1203
|
-
/** Combined stream of all of the child chips' focus change events. */
|
|
1204
|
-
get: function () {
|
|
1205
|
-
return rxjs.merge.apply(void 0, __spreadArray([], __read(this.chips.map(function (chip) { return chip._onFocus; }))));
|
|
1206
|
-
},
|
|
1207
|
-
enumerable: false,
|
|
1208
|
-
configurable: true
|
|
1209
|
-
});
|
|
1210
|
-
Object.defineProperty(MatChipList.prototype, "chipBlurChanges", {
|
|
1211
|
-
/** Combined stream of all of the child chips' blur change events. */
|
|
1212
|
-
get: function () {
|
|
1213
|
-
return rxjs.merge.apply(void 0, __spreadArray([], __read(this.chips.map(function (chip) { return chip._onBlur; }))));
|
|
1214
|
-
},
|
|
1215
|
-
enumerable: false,
|
|
1216
|
-
configurable: true
|
|
1217
|
-
});
|
|
1218
|
-
Object.defineProperty(MatChipList.prototype, "chipRemoveChanges", {
|
|
1219
|
-
/** Combined stream of all of the child chips' remove change events. */
|
|
1220
|
-
get: function () {
|
|
1221
|
-
return rxjs.merge.apply(void 0, __spreadArray([], __read(this.chips.map(function (chip) { return chip.destroyed; }))));
|
|
1222
|
-
},
|
|
1223
|
-
enumerable: false,
|
|
1224
|
-
configurable: true
|
|
1225
|
-
});
|
|
1226
|
-
MatChipList.prototype.ngAfterContentInit = function () {
|
|
1227
|
-
var _this = this;
|
|
1228
|
-
this._keyManager = new a11y.FocusKeyManager(this.chips)
|
|
1229
|
-
.withWrap()
|
|
1230
|
-
.withVerticalOrientation()
|
|
1231
|
-
.withHomeAndEnd()
|
|
1232
|
-
.withHorizontalOrientation(this._dir ? this._dir.value : 'ltr');
|
|
1233
|
-
if (this._dir) {
|
|
1234
|
-
this._dir.change
|
|
1235
|
-
.pipe(operators.takeUntil(this._destroyed))
|
|
1236
|
-
.subscribe(function (dir) { return _this._keyManager.withHorizontalOrientation(dir); });
|
|
1237
|
-
}
|
|
1238
|
-
this._keyManager.tabOut.pipe(operators.takeUntil(this._destroyed)).subscribe(function () {
|
|
1239
|
-
_this._allowFocusEscape();
|
|
1240
|
-
});
|
|
1241
|
-
// When the list changes, re-subscribe
|
|
1242
|
-
this.chips.changes.pipe(operators.startWith(null), operators.takeUntil(this._destroyed)).subscribe(function () {
|
|
1243
|
-
if (_this.disabled) {
|
|
1244
|
-
// Since this happens after the content has been
|
|
1245
|
-
// checked, we need to defer it to the next tick.
|
|
1246
|
-
Promise.resolve().then(function () {
|
|
1247
|
-
_this._syncChipsState();
|
|
1248
|
-
});
|
|
1249
|
-
}
|
|
1250
|
-
_this._resetChips();
|
|
1251
|
-
// Reset chips selected/deselected status
|
|
1252
|
-
_this._initializeSelection();
|
|
1253
|
-
// Check to see if we need to update our tab index
|
|
1254
|
-
_this._updateTabIndex();
|
|
1255
|
-
// Check to see if we have a destroyed chip and need to refocus
|
|
1256
|
-
_this._updateFocusForDestroyedChips();
|
|
1257
|
-
_this.stateChanges.next();
|
|
1258
|
-
});
|
|
1259
|
-
};
|
|
1260
|
-
MatChipList.prototype.ngOnInit = function () {
|
|
1261
|
-
this._selectionModel = new collections.SelectionModel(this.multiple, undefined, false);
|
|
1262
|
-
this.stateChanges.next();
|
|
1263
|
-
};
|
|
1264
|
-
MatChipList.prototype.ngDoCheck = function () {
|
|
1265
|
-
if (this.ngControl) {
|
|
1266
|
-
// We need to re-evaluate this on every change detection cycle, because there are some
|
|
1267
|
-
// error triggers that we can't subscribe to (e.g. parent form submissions). This means
|
|
1268
|
-
// that whatever logic is in here has to be super lean or we risk destroying the performance.
|
|
1269
|
-
this.updateErrorState();
|
|
1270
|
-
if (this.ngControl.disabled !== this._disabled) {
|
|
1271
|
-
this.disabled = !!this.ngControl.disabled;
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
};
|
|
1275
|
-
MatChipList.prototype.ngOnDestroy = function () {
|
|
1276
|
-
this._destroyed.next();
|
|
1277
|
-
this._destroyed.complete();
|
|
1278
|
-
this.stateChanges.complete();
|
|
1279
|
-
this._dropSubscriptions();
|
|
1280
|
-
};
|
|
1281
|
-
/** Associates an HTML input element with this chip list. */
|
|
1282
|
-
MatChipList.prototype.registerInput = function (inputElement) {
|
|
1283
|
-
this._chipInput = inputElement;
|
|
1284
|
-
// We use this attribute to match the chip list to its input in test harnesses.
|
|
1285
|
-
// Set the attribute directly here to avoid "changed after checked" errors.
|
|
1286
|
-
this._elementRef.nativeElement.setAttribute('data-mat-chip-input', inputElement.id);
|
|
1287
|
-
};
|
|
1288
|
-
/**
|
|
1289
|
-
* Implemented as part of MatFormFieldControl.
|
|
1290
|
-
* @docs-private
|
|
1291
|
-
*/
|
|
1292
|
-
MatChipList.prototype.setDescribedByIds = function (ids) { this._ariaDescribedby = ids.join(' '); };
|
|
1293
|
-
// Implemented as part of ControlValueAccessor.
|
|
1294
|
-
MatChipList.prototype.writeValue = function (value) {
|
|
1295
|
-
if (this.chips) {
|
|
1296
|
-
this._setSelectionByValue(value, false);
|
|
1297
|
-
}
|
|
1298
|
-
};
|
|
1299
|
-
// Implemented as part of ControlValueAccessor.
|
|
1300
|
-
MatChipList.prototype.registerOnChange = function (fn) {
|
|
1301
|
-
this._onChange = fn;
|
|
1302
|
-
};
|
|
1303
|
-
// Implemented as part of ControlValueAccessor.
|
|
1304
|
-
MatChipList.prototype.registerOnTouched = function (fn) {
|
|
1305
|
-
this._onTouched = fn;
|
|
1306
|
-
};
|
|
1307
|
-
// Implemented as part of ControlValueAccessor.
|
|
1308
|
-
MatChipList.prototype.setDisabledState = function (isDisabled) {
|
|
1309
|
-
this.disabled = isDisabled;
|
|
1310
|
-
this.stateChanges.next();
|
|
1311
|
-
};
|
|
1312
|
-
/**
|
|
1313
|
-
* Implemented as part of MatFormFieldControl.
|
|
1314
|
-
* @docs-private
|
|
1315
|
-
*/
|
|
1316
|
-
MatChipList.prototype.onContainerClick = function (event) {
|
|
1317
|
-
if (!this._originatesFromChip(event)) {
|
|
1318
|
-
this.focus();
|
|
1319
|
-
}
|
|
1320
|
-
};
|
|
1321
|
-
/**
|
|
1322
|
-
* Focuses the first non-disabled chip in this chip list, or the associated input when there
|
|
1323
|
-
* are no eligible chips.
|
|
1324
|
-
*/
|
|
1325
|
-
MatChipList.prototype.focus = function (options) {
|
|
1326
|
-
if (this.disabled) {
|
|
1327
|
-
return;
|
|
1328
|
-
}
|
|
1329
|
-
// TODO: ARIA says this should focus the first `selected` chip if any are selected.
|
|
1330
|
-
// Focus on first element if there's no chipInput inside chip-list
|
|
1331
|
-
if (this._chipInput && this._chipInput.focused) {
|
|
1332
|
-
// do nothing
|
|
1333
|
-
}
|
|
1334
|
-
else if (this.chips.length > 0) {
|
|
1335
|
-
this._keyManager.setFirstItemActive();
|
|
1336
|
-
this.stateChanges.next();
|
|
1337
|
-
}
|
|
1338
|
-
else {
|
|
1339
|
-
this._focusInput(options);
|
|
1340
|
-
this.stateChanges.next();
|
|
1341
|
-
}
|
|
1342
|
-
};
|
|
1343
|
-
/** Attempt to focus an input if we have one. */
|
|
1344
|
-
MatChipList.prototype._focusInput = function (options) {
|
|
1345
|
-
if (this._chipInput) {
|
|
1346
|
-
this._chipInput.focus(options);
|
|
1347
|
-
}
|
|
1348
|
-
};
|
|
1349
|
-
/**
|
|
1350
|
-
* Pass events to the keyboard manager. Available here for tests.
|
|
1351
|
-
*/
|
|
1352
|
-
MatChipList.prototype._keydown = function (event) {
|
|
1353
|
-
var target = event.target;
|
|
1354
|
-
if (target && target.classList.contains('mat-chip')) {
|
|
1355
|
-
this._keyManager.onKeydown(event);
|
|
1356
|
-
this.stateChanges.next();
|
|
1357
|
-
}
|
|
1358
|
-
};
|
|
1359
|
-
/**
|
|
1360
|
-
* Check the tab index as you should not be allowed to focus an empty list.
|
|
1361
|
-
*/
|
|
1362
|
-
MatChipList.prototype._updateTabIndex = function () {
|
|
1363
|
-
// If we have 0 chips, we should not allow keyboard focus
|
|
1364
|
-
this._tabIndex = this._userTabIndex || (this.chips.length === 0 ? -1 : 0);
|
|
1365
|
-
};
|
|
1366
|
-
/**
|
|
1367
|
-
* If the amount of chips changed, we need to update the
|
|
1368
|
-
* key manager state and focus the next closest chip.
|
|
1369
|
-
*/
|
|
1370
|
-
MatChipList.prototype._updateFocusForDestroyedChips = function () {
|
|
1371
|
-
// Move focus to the closest chip. If no other chips remain, focus the chip-list itself.
|
|
1372
|
-
if (this._lastDestroyedChipIndex != null) {
|
|
1373
|
-
if (this.chips.length) {
|
|
1374
|
-
var newChipIndex = Math.min(this._lastDestroyedChipIndex, this.chips.length - 1);
|
|
1375
|
-
this._keyManager.setActiveItem(newChipIndex);
|
|
1376
|
-
}
|
|
1377
|
-
else {
|
|
1378
|
-
this.focus();
|
|
1379
|
-
}
|
|
1380
|
-
}
|
|
1381
|
-
this._lastDestroyedChipIndex = null;
|
|
1382
|
-
};
|
|
1383
|
-
/**
|
|
1384
|
-
* Utility to ensure all indexes are valid.
|
|
1385
|
-
*
|
|
1386
|
-
* @param index The index to be checked.
|
|
1387
|
-
* @returns True if the index is valid for our list of chips.
|
|
1388
|
-
*/
|
|
1389
|
-
MatChipList.prototype._isValidIndex = function (index) {
|
|
1390
|
-
return index >= 0 && index < this.chips.length;
|
|
1391
|
-
};
|
|
1392
|
-
MatChipList.prototype._setSelectionByValue = function (value, isUserInput) {
|
|
1393
|
-
var _this = this;
|
|
1394
|
-
if (isUserInput === void 0) { isUserInput = true; }
|
|
1395
|
-
this._clearSelection();
|
|
1396
|
-
this.chips.forEach(function (chip) { return chip.deselect(); });
|
|
1397
|
-
if (Array.isArray(value)) {
|
|
1398
|
-
value.forEach(function (currentValue) { return _this._selectValue(currentValue, isUserInput); });
|
|
1399
|
-
this._sortValues();
|
|
1400
|
-
}
|
|
1401
|
-
else {
|
|
1402
|
-
var correspondingChip = this._selectValue(value, isUserInput);
|
|
1403
|
-
// Shift focus to the active item. Note that we shouldn't do this in multiple
|
|
1404
|
-
// mode, because we don't know what chip the user interacted with last.
|
|
1405
|
-
if (correspondingChip) {
|
|
1406
|
-
if (isUserInput) {
|
|
1407
|
-
this._keyManager.setActiveItem(correspondingChip);
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
}
|
|
1411
|
-
};
|
|
1412
|
-
/**
|
|
1413
|
-
* Finds and selects the chip based on its value.
|
|
1414
|
-
* @returns Chip that has the corresponding value.
|
|
1415
|
-
*/
|
|
1416
|
-
MatChipList.prototype._selectValue = function (value, isUserInput) {
|
|
1417
|
-
var _this = this;
|
|
1418
|
-
if (isUserInput === void 0) { isUserInput = true; }
|
|
1419
|
-
var correspondingChip = this.chips.find(function (chip) {
|
|
1420
|
-
return chip.value != null && _this._compareWith(chip.value, value);
|
|
1421
|
-
});
|
|
1422
|
-
if (correspondingChip) {
|
|
1423
|
-
isUserInput ? correspondingChip.selectViaInteraction() : correspondingChip.select();
|
|
1424
|
-
this._selectionModel.select(correspondingChip);
|
|
1425
|
-
}
|
|
1426
|
-
return correspondingChip;
|
|
1427
|
-
};
|
|
1428
|
-
MatChipList.prototype._initializeSelection = function () {
|
|
1429
|
-
var _this = this;
|
|
1430
|
-
// Defer setting the value in order to avoid the "Expression
|
|
1431
|
-
// has changed after it was checked" errors from Angular.
|
|
1432
|
-
Promise.resolve().then(function () {
|
|
1433
|
-
if (_this.ngControl || _this._value) {
|
|
1434
|
-
_this._setSelectionByValue(_this.ngControl ? _this.ngControl.value : _this._value, false);
|
|
1435
|
-
_this.stateChanges.next();
|
|
1436
|
-
}
|
|
1437
|
-
});
|
|
1438
|
-
};
|
|
1439
|
-
/**
|
|
1440
|
-
* Deselects every chip in the list.
|
|
1441
|
-
* @param skip Chip that should not be deselected.
|
|
1442
|
-
*/
|
|
1443
|
-
MatChipList.prototype._clearSelection = function (skip) {
|
|
1444
|
-
this._selectionModel.clear();
|
|
1445
|
-
this.chips.forEach(function (chip) {
|
|
1446
|
-
if (chip !== skip) {
|
|
1447
|
-
chip.deselect();
|
|
1448
|
-
}
|
|
1449
|
-
});
|
|
1450
|
-
this.stateChanges.next();
|
|
1451
|
-
};
|
|
1452
|
-
/**
|
|
1453
|
-
* Sorts the model values, ensuring that they keep the same
|
|
1454
|
-
* order that they have in the panel.
|
|
1455
|
-
*/
|
|
1456
|
-
MatChipList.prototype._sortValues = function () {
|
|
1457
|
-
var _this = this;
|
|
1458
|
-
if (this._multiple) {
|
|
1459
|
-
this._selectionModel.clear();
|
|
1460
|
-
this.chips.forEach(function (chip) {
|
|
1461
|
-
if (chip.selected) {
|
|
1462
|
-
_this._selectionModel.select(chip);
|
|
1463
|
-
}
|
|
1464
|
-
});
|
|
1465
|
-
this.stateChanges.next();
|
|
1466
|
-
}
|
|
1467
|
-
};
|
|
1468
|
-
/** Emits change event to set the model value. */
|
|
1469
|
-
MatChipList.prototype._propagateChanges = function (fallbackValue) {
|
|
1470
|
-
var valueToEmit = null;
|
|
1471
|
-
if (Array.isArray(this.selected)) {
|
|
1472
|
-
valueToEmit = this.selected.map(function (chip) { return chip.value; });
|
|
1473
|
-
}
|
|
1474
|
-
else {
|
|
1475
|
-
valueToEmit = this.selected ? this.selected.value : fallbackValue;
|
|
1476
|
-
}
|
|
1477
|
-
this._value = valueToEmit;
|
|
1478
|
-
this.change.emit(new MatChipListChange(this, valueToEmit));
|
|
1479
|
-
this.valueChange.emit(valueToEmit);
|
|
1480
|
-
this._onChange(valueToEmit);
|
|
1481
|
-
this._changeDetectorRef.markForCheck();
|
|
1482
|
-
};
|
|
1483
|
-
/** When blurred, mark the field as touched when focus moved outside the chip list. */
|
|
1484
|
-
MatChipList.prototype._blur = function () {
|
|
1485
|
-
var _this = this;
|
|
1486
|
-
if (!this._hasFocusedChip()) {
|
|
1487
|
-
this._keyManager.setActiveItem(-1);
|
|
1488
|
-
}
|
|
1489
|
-
if (!this.disabled) {
|
|
1490
|
-
if (this._chipInput) {
|
|
1491
|
-
// If there's a chip input, we should check whether the focus moved to chip input.
|
|
1492
|
-
// If the focus is not moved to chip input, mark the field as touched. If the focus moved
|
|
1493
|
-
// to chip input, do nothing.
|
|
1494
|
-
// Timeout is needed to wait for the focus() event trigger on chip input.
|
|
1495
|
-
setTimeout(function () {
|
|
1496
|
-
if (!_this.focused) {
|
|
1497
|
-
_this._markAsTouched();
|
|
1498
|
-
}
|
|
1499
|
-
});
|
|
1500
|
-
}
|
|
1501
|
-
else {
|
|
1502
|
-
// If there's no chip input, then mark the field as touched.
|
|
1503
|
-
this._markAsTouched();
|
|
1504
|
-
}
|
|
1505
|
-
}
|
|
1506
|
-
};
|
|
1507
|
-
/** Mark the field as touched */
|
|
1508
|
-
MatChipList.prototype._markAsTouched = function () {
|
|
1509
|
-
this._onTouched();
|
|
1510
|
-
this._changeDetectorRef.markForCheck();
|
|
1511
|
-
this.stateChanges.next();
|
|
1512
|
-
};
|
|
1513
|
-
/**
|
|
1514
|
-
* Removes the `tabindex` from the chip list and resets it back afterwards, allowing the
|
|
1515
|
-
* user to tab out of it. This prevents the list from capturing focus and redirecting
|
|
1516
|
-
* it back to the first chip, creating a focus trap, if it user tries to tab away.
|
|
1517
|
-
*/
|
|
1518
|
-
MatChipList.prototype._allowFocusEscape = function () {
|
|
1519
|
-
var _this = this;
|
|
1520
|
-
if (this._tabIndex !== -1) {
|
|
1521
|
-
this._tabIndex = -1;
|
|
1522
|
-
setTimeout(function () {
|
|
1523
|
-
_this._tabIndex = _this._userTabIndex || 0;
|
|
1524
|
-
_this._changeDetectorRef.markForCheck();
|
|
1525
|
-
});
|
|
1526
|
-
}
|
|
1527
|
-
};
|
|
1528
|
-
MatChipList.prototype._resetChips = function () {
|
|
1529
|
-
this._dropSubscriptions();
|
|
1530
|
-
this._listenToChipsFocus();
|
|
1531
|
-
this._listenToChipsSelection();
|
|
1532
|
-
this._listenToChipsRemoved();
|
|
1533
|
-
};
|
|
1534
|
-
MatChipList.prototype._dropSubscriptions = function () {
|
|
1535
|
-
if (this._chipFocusSubscription) {
|
|
1536
|
-
this._chipFocusSubscription.unsubscribe();
|
|
1537
|
-
this._chipFocusSubscription = null;
|
|
1538
|
-
}
|
|
1539
|
-
if (this._chipBlurSubscription) {
|
|
1540
|
-
this._chipBlurSubscription.unsubscribe();
|
|
1541
|
-
this._chipBlurSubscription = null;
|
|
1542
|
-
}
|
|
1543
|
-
if (this._chipSelectionSubscription) {
|
|
1544
|
-
this._chipSelectionSubscription.unsubscribe();
|
|
1545
|
-
this._chipSelectionSubscription = null;
|
|
1546
|
-
}
|
|
1547
|
-
if (this._chipRemoveSubscription) {
|
|
1548
|
-
this._chipRemoveSubscription.unsubscribe();
|
|
1549
|
-
this._chipRemoveSubscription = null;
|
|
1550
|
-
}
|
|
1551
|
-
};
|
|
1552
|
-
/** Listens to user-generated selection events on each chip. */
|
|
1553
|
-
MatChipList.prototype._listenToChipsSelection = function () {
|
|
1554
|
-
var _this = this;
|
|
1555
|
-
this._chipSelectionSubscription = this.chipSelectionChanges.subscribe(function (event) {
|
|
1556
|
-
event.source.selected
|
|
1557
|
-
? _this._selectionModel.select(event.source)
|
|
1558
|
-
: _this._selectionModel.deselect(event.source);
|
|
1559
|
-
// For single selection chip list, make sure the deselected value is unselected.
|
|
1560
|
-
if (!_this.multiple) {
|
|
1561
|
-
_this.chips.forEach(function (chip) {
|
|
1562
|
-
if (!_this._selectionModel.isSelected(chip) && chip.selected) {
|
|
1563
|
-
chip.deselect();
|
|
1564
|
-
}
|
|
1565
|
-
});
|
|
1566
|
-
}
|
|
1567
|
-
if (event.isUserInput) {
|
|
1568
|
-
_this._propagateChanges();
|
|
1569
|
-
}
|
|
1570
|
-
});
|
|
1571
|
-
};
|
|
1572
|
-
/** Listens to user-generated selection events on each chip. */
|
|
1573
|
-
MatChipList.prototype._listenToChipsFocus = function () {
|
|
1574
|
-
var _this = this;
|
|
1575
|
-
this._chipFocusSubscription = this.chipFocusChanges.subscribe(function (event) {
|
|
1576
|
-
var chipIndex = _this.chips.toArray().indexOf(event.chip);
|
|
1577
|
-
if (_this._isValidIndex(chipIndex)) {
|
|
1578
|
-
_this._keyManager.updateActiveItem(chipIndex);
|
|
1579
|
-
}
|
|
1580
|
-
_this.stateChanges.next();
|
|
1581
|
-
});
|
|
1582
|
-
this._chipBlurSubscription = this.chipBlurChanges.subscribe(function () {
|
|
1583
|
-
_this._blur();
|
|
1584
|
-
_this.stateChanges.next();
|
|
1585
|
-
});
|
|
1586
|
-
};
|
|
1587
|
-
MatChipList.prototype._listenToChipsRemoved = function () {
|
|
1588
|
-
var _this = this;
|
|
1589
|
-
this._chipRemoveSubscription = this.chipRemoveChanges.subscribe(function (event) {
|
|
1590
|
-
var chip = event.chip;
|
|
1591
|
-
var chipIndex = _this.chips.toArray().indexOf(event.chip);
|
|
1592
|
-
// In case the chip that will be removed is currently focused, we temporarily store
|
|
1593
|
-
// the index in order to be able to determine an appropriate sibling chip that will
|
|
1594
|
-
// receive focus.
|
|
1595
|
-
if (_this._isValidIndex(chipIndex) && chip._hasFocus) {
|
|
1596
|
-
_this._lastDestroyedChipIndex = chipIndex;
|
|
1597
|
-
}
|
|
1598
|
-
});
|
|
1599
|
-
};
|
|
1600
|
-
/** Checks whether an event comes from inside a chip element. */
|
|
1601
|
-
MatChipList.prototype._originatesFromChip = function (event) {
|
|
1602
|
-
var currentElement = event.target;
|
|
1603
|
-
while (currentElement && currentElement !== this._elementRef.nativeElement) {
|
|
1604
|
-
if (currentElement.classList.contains('mat-chip')) {
|
|
1605
|
-
return true;
|
|
1606
|
-
}
|
|
1607
|
-
currentElement = currentElement.parentElement;
|
|
1608
|
-
}
|
|
1609
|
-
return false;
|
|
1610
|
-
};
|
|
1611
|
-
/** Checks whether any of the chips is focused. */
|
|
1612
|
-
MatChipList.prototype._hasFocusedChip = function () {
|
|
1613
|
-
return this.chips && this.chips.some(function (chip) { return chip._hasFocus; });
|
|
1614
|
-
};
|
|
1615
|
-
/** Syncs the list's state with the individual chips. */
|
|
1616
|
-
MatChipList.prototype._syncChipsState = function () {
|
|
1617
|
-
var _this = this;
|
|
1618
|
-
if (this.chips) {
|
|
1619
|
-
this.chips.forEach(function (chip) {
|
|
1620
|
-
chip._chipListDisabled = _this._disabled;
|
|
1621
|
-
chip._chipListMultiple = _this.multiple;
|
|
1622
|
-
});
|
|
1623
|
-
}
|
|
1624
|
-
};
|
|
1625
|
-
return MatChipList;
|
|
1626
|
-
}(_MatChipListBase));
|
|
1627
|
-
MatChipList.decorators = [
|
|
1628
|
-
{ type: core.Component, args: [{
|
|
1629
|
-
selector: 'mat-chip-list',
|
|
1630
|
-
template: "<div class=\"mat-chip-list-wrapper\"><ng-content></ng-content></div>",
|
|
1631
|
-
exportAs: 'matChipList',
|
|
1632
|
-
host: {
|
|
1633
|
-
'[attr.tabindex]': 'disabled ? null : _tabIndex',
|
|
1634
|
-
'[attr.aria-describedby]': '_ariaDescribedby || null',
|
|
1635
|
-
'[attr.aria-required]': 'role ? required : null',
|
|
1636
|
-
'[attr.aria-disabled]': 'disabled.toString()',
|
|
1637
|
-
'[attr.aria-invalid]': 'errorState',
|
|
1638
|
-
'[attr.aria-multiselectable]': 'multiple',
|
|
1639
|
-
'[attr.role]': 'role',
|
|
1640
|
-
'[class.mat-chip-list-disabled]': 'disabled',
|
|
1641
|
-
'[class.mat-chip-list-invalid]': 'errorState',
|
|
1642
|
-
'[class.mat-chip-list-required]': 'required',
|
|
1643
|
-
'[attr.aria-orientation]': 'ariaOrientation',
|
|
1644
|
-
'class': 'mat-chip-list',
|
|
1645
|
-
'(focus)': 'focus()',
|
|
1646
|
-
'(blur)': '_blur()',
|
|
1647
|
-
'(keydown)': '_keydown($event)',
|
|
1648
|
-
'[id]': '_uid',
|
|
1649
|
-
},
|
|
1650
|
-
providers: [{ provide: formField.MatFormFieldControl, useExisting: MatChipList }],
|
|
1651
|
-
encapsulation: core.ViewEncapsulation.None,
|
|
1652
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1653
|
-
styles: [".mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:\"\";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n"]
|
|
1654
|
-
},] }
|
|
1655
|
-
];
|
|
1656
|
-
MatChipList.ctorParameters = function () { return [
|
|
1657
|
-
{ type: core.ElementRef },
|
|
1658
|
-
{ type: core.ChangeDetectorRef },
|
|
1659
|
-
{ type: bidi.Directionality, decorators: [{ type: core.Optional }] },
|
|
1660
|
-
{ type: forms.NgForm, decorators: [{ type: core.Optional }] },
|
|
1661
|
-
{ type: forms.FormGroupDirective, decorators: [{ type: core.Optional }] },
|
|
1662
|
-
{ type: core$1.ErrorStateMatcher },
|
|
1663
|
-
{ type: forms.NgControl, decorators: [{ type: core.Optional }, { type: core.Self }] }
|
|
1664
|
-
]; };
|
|
1665
|
-
MatChipList.propDecorators = {
|
|
1666
|
-
errorStateMatcher: [{ type: core.Input }],
|
|
1667
|
-
multiple: [{ type: core.Input }],
|
|
1668
|
-
compareWith: [{ type: core.Input }],
|
|
1669
|
-
value: [{ type: core.Input }],
|
|
1670
|
-
required: [{ type: core.Input }],
|
|
1671
|
-
placeholder: [{ type: core.Input }],
|
|
1672
|
-
disabled: [{ type: core.Input }],
|
|
1673
|
-
ariaOrientation: [{ type: core.Input, args: ['aria-orientation',] }],
|
|
1674
|
-
selectable: [{ type: core.Input }],
|
|
1675
|
-
tabIndex: [{ type: core.Input }],
|
|
1676
|
-
change: [{ type: core.Output }],
|
|
1677
|
-
valueChange: [{ type: core.Output }],
|
|
1678
|
-
chips: [{ type: core.ContentChildren, args: [MatChip, {
|
|
1679
|
-
// We need to use `descendants: true`, because Ivy will no longer match
|
|
1680
|
-
// indirect descendants if it's left as false.
|
|
1681
|
-
descendants: true
|
|
1682
|
-
},] }]
|
|
1683
|
-
};
|
|
1684
|
-
|
|
1685
|
-
/**
|
|
1686
|
-
* @license
|
|
1687
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1688
|
-
*
|
|
1689
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1690
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1691
|
-
*/
|
|
1692
|
-
var CHIP_DECLARATIONS = [
|
|
1693
|
-
MatChipList,
|
|
1694
|
-
MatChip,
|
|
1695
|
-
MatChipInput,
|
|
1696
|
-
MatChipRemove,
|
|
1697
|
-
MatChipAvatar,
|
|
1698
|
-
MatChipTrailingIcon,
|
|
1699
|
-
];
|
|
1700
|
-
var ɵ0 = {
|
|
1701
|
-
separatorKeyCodes: [keycodes.ENTER]
|
|
1702
|
-
};
|
|
1703
|
-
var MatChipsModule = /** @class */ (function () {
|
|
1704
|
-
function MatChipsModule() {
|
|
1705
|
-
}
|
|
1706
|
-
return MatChipsModule;
|
|
1707
|
-
}());
|
|
1708
|
-
MatChipsModule.decorators = [
|
|
1709
|
-
{ type: core.NgModule, args: [{
|
|
1710
|
-
imports: [core$1.MatCommonModule],
|
|
1711
|
-
exports: CHIP_DECLARATIONS,
|
|
1712
|
-
declarations: CHIP_DECLARATIONS,
|
|
1713
|
-
providers: [
|
|
1714
|
-
core$1.ErrorStateMatcher,
|
|
1715
|
-
{
|
|
1716
|
-
provide: MAT_CHIPS_DEFAULT_OPTIONS,
|
|
1717
|
-
useValue: ɵ0
|
|
1718
|
-
}
|
|
1719
|
-
]
|
|
1720
|
-
},] }
|
|
1721
|
-
];
|
|
1722
|
-
|
|
1723
|
-
/**
|
|
1724
|
-
* @license
|
|
1725
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1726
|
-
*
|
|
1727
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1728
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1729
|
-
*/
|
|
1730
|
-
|
|
1731
|
-
/**
|
|
1732
|
-
* Generated bundle index. Do not edit.
|
|
1733
|
-
*/
|
|
1734
|
-
|
|
1735
|
-
exports.MAT_CHIPS_DEFAULT_OPTIONS = MAT_CHIPS_DEFAULT_OPTIONS;
|
|
1736
|
-
exports.MAT_CHIP_AVATAR = MAT_CHIP_AVATAR;
|
|
1737
|
-
exports.MAT_CHIP_REMOVE = MAT_CHIP_REMOVE;
|
|
1738
|
-
exports.MAT_CHIP_TRAILING_ICON = MAT_CHIP_TRAILING_ICON;
|
|
1739
|
-
exports.MatChip = MatChip;
|
|
1740
|
-
exports.MatChipAvatar = MatChipAvatar;
|
|
1741
|
-
exports.MatChipInput = MatChipInput;
|
|
1742
|
-
exports.MatChipList = MatChipList;
|
|
1743
|
-
exports.MatChipListChange = MatChipListChange;
|
|
1744
|
-
exports.MatChipRemove = MatChipRemove;
|
|
1745
|
-
exports.MatChipSelectionChange = MatChipSelectionChange;
|
|
1746
|
-
exports.MatChipTrailingIcon = MatChipTrailingIcon;
|
|
1747
|
-
exports.MatChipsModule = MatChipsModule;
|
|
1748
|
-
exports.ɵ0 = ɵ0;
|
|
1749
|
-
|
|
1750
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1751
|
-
|
|
1752
|
-
})));
|
|
1753
|
-
//# sourceMappingURL=material-chips.umd.js.map
|