@angular/material 16.2.0 → 17.0.0-next.0
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/_index.scss +19 -63
- package/autocomplete/index.d.ts +41 -72
- package/autocomplete/testing/index.d.ts +5 -23
- package/button/_fab-theme.scss +12 -0
- package/card/_card-theme.scss +86 -44
- package/checkbox/_checkbox-theme.scss +78 -43
- package/checkbox/index.d.ts +22 -42
- package/checkbox/testing/index.d.ts +6 -12
- package/core/index.d.ts +17 -28
- package/core/style/_validation.scss +43 -0
- package/core/theming/_inspection.scss +229 -0
- package/core/theming/_theming.scss +110 -10
- package/core/tokens/m2/mat/_form-field.scss +34 -1
- package/core/tokens/m2/mat/_slider.scss +43 -0
- package/core/tokens/m2/mdc/_filled-text-field.scss +1 -1
- package/core/tokens/m2/mdc/_outlined-text-field.scss +1 -1
- package/core/tokens/m2/mdc/_slider.scss +154 -0
- package/dialog/index.d.ts +46 -87
- package/dialog/testing/index.d.ts +6 -18
- package/esm2022/autocomplete/autocomplete-origin.mjs +9 -17
- package/esm2022/autocomplete/autocomplete-trigger.mjs +32 -41
- package/esm2022/autocomplete/autocomplete.mjs +59 -72
- package/esm2022/autocomplete/testing/autocomplete-harness.mjs +20 -33
- package/esm2022/button/fab.mjs +8 -8
- package/esm2022/card/card.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +72 -79
- package/esm2022/checkbox/testing/checkbox-harness.mjs +41 -36
- package/esm2022/core/datetime/native-date-adapter.mjs +14 -11
- package/esm2022/core/option/optgroup.mjs +19 -26
- package/esm2022/core/option/option.mjs +25 -35
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/dialog/dialog-container.mjs +52 -77
- package/esm2022/dialog/dialog-content-directives.mjs +16 -4
- package/esm2022/dialog/dialog-ref.mjs +1 -1
- package/esm2022/dialog/dialog.mjs +16 -46
- package/esm2022/dialog/public-api.mjs +2 -2
- package/esm2022/dialog/testing/dialog-harness.mjs +13 -16
- package/esm2022/dialog/testing/dialog-opener.mjs +17 -27
- package/esm2022/dialog/testing/index.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +3 -3
- package/esm2022/form-field/testing/error-harness.mjs +10 -12
- package/esm2022/form-field/testing/form-field-harness.mjs +45 -48
- package/esm2022/list/action-list.mjs +2 -2
- package/esm2022/list/list.mjs +2 -2
- package/esm2022/list/nav-list.mjs +2 -2
- package/esm2022/list/selection-list.mjs +2 -2
- package/esm2022/menu/menu-content.mjs +9 -16
- package/esm2022/menu/menu-trigger.mjs +14 -25
- package/esm2022/menu/menu.mjs +15 -29
- package/esm2022/menu/public-api.mjs +3 -3
- package/esm2022/menu/testing/menu-harness.mjs +29 -43
- package/esm2022/paginator/paginator.mjs +24 -38
- package/esm2022/paginator/testing/paginator-harness.mjs +25 -27
- package/esm2022/progress-bar/progress-bar.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.mjs +2 -2
- package/esm2022/radio/radio.mjs +58 -83
- package/esm2022/radio/testing/radio-harness.mjs +31 -38
- package/esm2022/select/select.mjs +194 -212
- package/esm2022/select/testing/select-harness.mjs +18 -23
- package/esm2022/slide-toggle/slide-toggle.mjs +43 -53
- package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +33 -40
- package/esm2022/slider/slider.mjs +2 -2
- package/esm2022/snack-bar/snack-bar-container.mjs +17 -32
- package/esm2022/snack-bar/snack-bar-ref.mjs +1 -1
- package/esm2022/snack-bar/snack-bar.mjs +11 -25
- package/esm2022/snack-bar/testing/snack-bar-harness.mjs +18 -31
- package/esm2022/table/row.mjs +7 -5
- package/esm2022/table/table-data-source.mjs +15 -18
- package/esm2022/table/table.mjs +18 -4
- package/esm2022/table/testing/cell-harness.mjs +4 -4
- package/esm2022/table/testing/row-harness.mjs +4 -4
- package/esm2022/table/testing/table-harness.mjs +22 -24
- package/esm2022/tabs/public-api.mjs +7 -8
- package/esm2022/tabs/tab-body.mjs +13 -29
- package/esm2022/tabs/tab-group.mjs +55 -79
- package/esm2022/tabs/tab-header.mjs +13 -34
- package/esm2022/tabs/tab-label-wrapper.mjs +6 -18
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +119 -168
- package/esm2022/tabs/tab.mjs +25 -37
- package/esm2022/tooltip/testing/tooltip-harness.mjs +21 -23
- package/esm2022/tooltip/tooltip.mjs +68 -101
- package/fesm2022/autocomplete/testing.mjs +20 -33
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +97 -127
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/button.mjs +8 -8
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +2 -2
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs +41 -36
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +72 -79
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/core.mjs +49 -61
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +30 -43
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +82 -125
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +54 -59
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +2 -2
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/list.mjs +8 -8
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs +30 -44
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +34 -66
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs +25 -27
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +24 -38
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +2 -2
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +2 -2
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs +31 -38
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +59 -84
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs +18 -23
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +196 -214
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs +33 -40
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +43 -53
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +2 -2
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs +19 -32
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +26 -55
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/table/testing.mjs +28 -30
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +37 -24
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +234 -368
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs +21 -23
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +69 -102
- package/fesm2022/tooltip.mjs.map +1 -1
- package/form-field/_form-field-focus-overlay.scss +13 -18
- package/form-field/_form-field-native-select.scss +30 -67
- package/form-field/_form-field-subscript.scss +4 -8
- package/form-field/_form-field-theme.scss +15 -48
- package/form-field/_mdc-text-field-structure-overrides.scss +20 -0
- package/form-field/testing/index.d.ts +14 -44
- package/list/_list-theme.scss +9 -0
- package/menu/index.d.ts +22 -44
- package/menu/testing/index.d.ts +6 -23
- package/package.json +7 -286
- package/paginator/index.d.ts +6 -22
- package/paginator/testing/index.d.ts +9 -22
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +9 -0
- package/progress-spinner/_progress-spinner-theme.scss +11 -0
- package/radio/index.d.ts +22 -45
- package/radio/testing/index.d.ts +7 -23
- package/schematics/migration.json +4 -4
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-generate/mdc-migration/index_bundled.js +2 -2
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
- package/schematics/ng-update/index_bundled.js +4 -4
- package/schematics/ng-update/index_bundled.js.map +1 -1
- package/select/index.d.ts +47 -68
- package/select/testing/index.d.ts +9 -22
- package/slide-toggle/index.d.ts +17 -27
- package/slide-toggle/testing/index.d.ts +6 -13
- package/slider/_slider-theme.scss +64 -64
- package/snack-bar/_snack-bar-theme.scss +8 -0
- package/snack-bar/index.d.ts +40 -62
- package/snack-bar/testing/index.d.ts +5 -20
- package/table/index.d.ts +2 -31
- package/table/testing/index.d.ts +17 -34
- package/tabs/index.d.ts +60 -144
- package/tooltip/_tooltip-theme.scss +12 -3
- package/tooltip/index.d.ts +26 -49
- package/tooltip/testing/index.d.ts +7 -17
- package/_theming.scss +0 -43
- package/_token-theming.scss +0 -2
- package/autocomplete/_autocomplete-theme.import.scss +0 -1
- package/badge/_badge-legacy-index.scss +0 -3
- package/badge/_badge-theme.import.scss +0 -11
- package/bottom-sheet/_bottom-sheet-legacy-index.scss +0 -2
- package/bottom-sheet/_bottom-sheet-theme.import.scss +0 -10
- package/button/_button-base.import.scss +0 -4
- package/button/_button-theme.import.scss +0 -13
- package/button-toggle/_button-toggle-legacy-index.scss +0 -2
- package/button-toggle/_button-toggle-theme.import.scss +0 -15
- package/button-toggle/_button-toggle-variables.import.scss +0 -1
- package/card/_card-theme.import.scss +0 -3
- package/checkbox/_checkbox-theme.import.scss +0 -10
- package/chips/_chips-theme.import.scss +0 -4
- package/core/_core-legacy-index.scss +0 -16
- package/core/_core.import.scss +0 -60
- package/core/color/_all-color.import.scss +0 -53
- package/core/color/_color-legacy-index.scss +0 -1
- package/core/density/private/_all-density.import.scss +0 -15
- package/core/density/private/_compatibility.import.scss +0 -4
- package/core/density/private/_density-legacy-index.scss +0 -5
- package/core/focus-indicators/_focus-indicators-legacy-index.scss +0 -5
- package/core/focus-indicators/_focus-indicators.import.scss +0 -23
- package/core/mdc-helpers/_mdc-helpers.import.scss +0 -9
- package/core/option/_optgroup-theme.import.scss +0 -4
- package/core/option/_option-legacy-index.scss +0 -5
- package/core/option/_option-theme.import.scss +0 -4
- package/core/ripple/_ripple-legacy-index.scss +0 -3
- package/core/ripple/_ripple.import.scss +0 -20
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-legacy-index.scss +0 -2
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.import.scss +0 -17
- package/core/style/_button-common.import.scss +0 -4
- package/core/style/_checkbox-common.import.scss +0 -11
- package/core/style/_elevation.import.scss +0 -17
- package/core/style/_form-common.import.scss +0 -16
- package/core/style/_layout-common.import.scss +0 -1
- package/core/style/_list-common.import.scss +0 -2
- package/core/style/_menu-common.import.scss +0 -18
- package/core/style/_private.import.scss +0 -15
- package/core/style/_style-legacy-index.scss +0 -24
- package/core/style/_variables.import.scss +0 -8
- package/core/style/_vendor-prefixes.import.scss +0 -1
- package/core/theming/_all-theme.import.scss +0 -86
- package/core/theming/_palette.import.scss +0 -12
- package/core/theming/_theming-legacy-index.scss +0 -22
- package/core/theming/_theming.import.scss +0 -24
- package/core/typography/_all-typography.import.scss +0 -76
- package/core/typography/_typography-legacy-index.scss +0 -18
- package/core/typography/_typography-utils.import.scss +0 -9
- package/core/typography/_typography.import.scss +0 -14
- package/datepicker/_datepicker-legacy-index.scss +0 -9
- package/datepicker/_datepicker-theme.import.scss +0 -17
- package/dialog/_dialog-legacy-padding.import.scss +0 -1
- package/dialog/_dialog-theme.import.scss +0 -1
- package/dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
- package/divider/_divider-legacy-index.scss +0 -3
- package/divider/_divider-offset.import.scss +0 -1
- package/divider/_divider-theme.import.scss +0 -6
- package/esm2022/legacy-autocomplete/autocomplete-module.mjs +0 -51
- package/esm2022/legacy-autocomplete/autocomplete-origin.mjs +0 -28
- package/esm2022/legacy-autocomplete/autocomplete-trigger.mjs +0 -60
- package/esm2022/legacy-autocomplete/autocomplete.mjs +0 -40
- package/esm2022/legacy-autocomplete/index.mjs +0 -9
- package/esm2022/legacy-autocomplete/legacy-autocomplete_public_index.mjs +0 -5
- package/esm2022/legacy-autocomplete/public-api.mjs +0 -48
- package/esm2022/legacy-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
- package/esm2022/legacy-autocomplete/testing/autocomplete-harness.mjs +0 -39
- package/esm2022/legacy-autocomplete/testing/index.mjs +0 -9
- package/esm2022/legacy-autocomplete/testing/public-api.mjs +0 -9
- package/esm2022/legacy-button/button-module.mjs +0 -29
- package/esm2022/legacy-button/button.mjs +0 -177
- package/esm2022/legacy-button/index.mjs +0 -9
- package/esm2022/legacy-button/legacy-button_public_index.mjs +0 -5
- package/esm2022/legacy-button/public-api.mjs +0 -10
- package/esm2022/legacy-button/testing/button-harness.mjs +0 -82
- package/esm2022/legacy-button/testing/index.mjs +0 -9
- package/esm2022/legacy-button/testing/public-api.mjs +0 -9
- package/esm2022/legacy-card/card-module.mjs +0 -87
- package/esm2022/legacy-card/card.mjs +0 -276
- package/esm2022/legacy-card/index.mjs +0 -9
- package/esm2022/legacy-card/legacy-card_public_index.mjs +0 -5
- package/esm2022/legacy-card/public-api.mjs +0 -10
- package/esm2022/legacy-card/testing/card-harness-filters.mjs +0 -9
- package/esm2022/legacy-card/testing/card-harness.mjs +0 -47
- package/esm2022/legacy-card/testing/index.mjs +0 -9
- package/esm2022/legacy-card/testing/public-api.mjs +0 -9
- package/esm2022/legacy-checkbox/checkbox-module.mjs +0 -31
- package/esm2022/legacy-checkbox/checkbox.mjs +0 -137
- package/esm2022/legacy-checkbox/index.mjs +0 -9
- package/esm2022/legacy-checkbox/legacy-checkbox_public_index.mjs +0 -5
- package/esm2022/legacy-checkbox/public-api.mjs +0 -36
- package/esm2022/legacy-checkbox/testing/checkbox-harness.mjs +0 -46
- package/esm2022/legacy-checkbox/testing/index.mjs +0 -9
- package/esm2022/legacy-checkbox/testing/public-api.mjs +0 -9
- package/esm2022/legacy-chips/chip-default-options.mjs +0 -15
- package/esm2022/legacy-chips/chip-input.mjs +0 -198
- package/esm2022/legacy-chips/chip-list.mjs +0 -718
- package/esm2022/legacy-chips/chip-text-control.mjs +0 -9
- package/esm2022/legacy-chips/chip.mjs +0 -445
- package/esm2022/legacy-chips/chips-module.mjs +0 -68
- package/esm2022/legacy-chips/index.mjs +0 -9
- package/esm2022/legacy-chips/legacy-chips_public_index.mjs +0 -5
- package/esm2022/legacy-chips/public-api.mjs +0 -13
- package/esm2022/legacy-chips/testing/chip-avatar-harness.mjs +0 -26
- package/esm2022/legacy-chips/testing/chip-harness-filters.mjs +0 -2
- package/esm2022/legacy-chips/testing/chip-harness.mjs +0 -95
- package/esm2022/legacy-chips/testing/chip-input-harness.mjs +0 -86
- package/esm2022/legacy-chips/testing/chip-list-harness.mjs +0 -90
- package/esm2022/legacy-chips/testing/chip-listbox-harness.mjs +0 -48
- package/esm2022/legacy-chips/testing/chip-option-harness.mjs +0 -49
- package/esm2022/legacy-chips/testing/chip-remove-harness.mjs +0 -30
- package/esm2022/legacy-chips/testing/index.mjs +0 -9
- package/esm2022/legacy-chips/testing/public-api.mjs +0 -14
- package/esm2022/legacy-core/index.mjs +0 -9
- package/esm2022/legacy-core/legacy-core_public_index.mjs +0 -5
- package/esm2022/legacy-core/option/index.mjs +0 -69
- package/esm2022/legacy-core/option/optgroup.mjs +0 -30
- package/esm2022/legacy-core/option/option.mjs +0 -54
- package/esm2022/legacy-core/public-api.mjs +0 -170
- package/esm2022/legacy-core/testing/index.mjs +0 -9
- package/esm2022/legacy-core/testing/optgroup-harness-filters.mjs +0 -9
- package/esm2022/legacy-core/testing/optgroup-harness.mjs +0 -47
- package/esm2022/legacy-core/testing/option-harness-filters.mjs +0 -9
- package/esm2022/legacy-core/testing/option-harness.mjs +0 -58
- package/esm2022/legacy-core/testing/public-api.mjs +0 -12
- package/esm2022/legacy-dialog/dialog-animations.mjs +0 -17
- package/esm2022/legacy-dialog/dialog-config.mjs +0 -22
- package/esm2022/legacy-dialog/dialog-container.mjs +0 -85
- package/esm2022/legacy-dialog/dialog-content-directives.mjs +0 -197
- package/esm2022/legacy-dialog/dialog-module.mjs +0 -57
- package/esm2022/legacy-dialog/dialog-ref.mjs +0 -16
- package/esm2022/legacy-dialog/dialog.mjs +0 -106
- package/esm2022/legacy-dialog/index.mjs +0 -9
- package/esm2022/legacy-dialog/legacy-dialog_public_index.mjs +0 -5
- package/esm2022/legacy-dialog/public-api.mjs +0 -40
- package/esm2022/legacy-dialog/testing/dialog-harness.mjs +0 -36
- package/esm2022/legacy-dialog/testing/dialog-opener.mjs +0 -56
- package/esm2022/legacy-dialog/testing/index.mjs +0 -9
- package/esm2022/legacy-dialog/testing/public-api.mjs +0 -10
- package/esm2022/legacy-form-field/error.mjs +0 -46
- package/esm2022/legacy-form-field/form-field-module.mjs +0 -67
- package/esm2022/legacy-form-field/form-field.mjs +0 -530
- package/esm2022/legacy-form-field/hint.mjs +0 -56
- package/esm2022/legacy-form-field/index.mjs +0 -9
- package/esm2022/legacy-form-field/label.mjs +0 -25
- package/esm2022/legacy-form-field/legacy-form-field_public_index.mjs +0 -5
- package/esm2022/legacy-form-field/placeholder.mjs +0 -26
- package/esm2022/legacy-form-field/prefix.mjs +0 -27
- package/esm2022/legacy-form-field/public-api.mjs +0 -62
- package/esm2022/legacy-form-field/suffix.mjs +0 -27
- package/esm2022/legacy-form-field/testing/error-harness.mjs +0 -26
- package/esm2022/legacy-form-field/testing/form-field-harness.mjs +0 -73
- package/esm2022/legacy-form-field/testing/index.mjs +0 -9
- package/esm2022/legacy-form-field/testing/public-api.mjs +0 -19
- package/esm2022/legacy-input/index.mjs +0 -9
- package/esm2022/legacy-input/input-module.mjs +0 -45
- package/esm2022/legacy-input/input.mjs +0 -62
- package/esm2022/legacy-input/legacy-input_public_index.mjs +0 -5
- package/esm2022/legacy-input/public-api.mjs +0 -21
- package/esm2022/legacy-input/testing/index.mjs +0 -9
- package/esm2022/legacy-input/testing/public-api.mjs +0 -24
- package/esm2022/legacy-list/index.mjs +0 -9
- package/esm2022/legacy-list/legacy-list_public_index.mjs +0 -5
- package/esm2022/legacy-list/list-module.mjs +0 -75
- package/esm2022/legacy-list/list.mjs +0 -223
- package/esm2022/legacy-list/public-api.mjs +0 -22
- package/esm2022/legacy-list/selection-list.mjs +0 -619
- package/esm2022/legacy-list/testing/action-list-harness.mjs +0 -67
- package/esm2022/legacy-list/testing/index.mjs +0 -9
- package/esm2022/legacy-list/testing/list-harness-base.mjs +0 -97
- package/esm2022/legacy-list/testing/list-harness-filters.mjs +0 -9
- package/esm2022/legacy-list/testing/list-harness.mjs +0 -51
- package/esm2022/legacy-list/testing/list-item-harness-base.mjs +0 -74
- package/esm2022/legacy-list/testing/nav-list-harness.mjs +0 -71
- package/esm2022/legacy-list/testing/public-api.mjs +0 -12
- package/esm2022/legacy-list/testing/selection-list-harness.mjs +0 -129
- package/esm2022/legacy-menu/index.mjs +0 -9
- package/esm2022/legacy-menu/legacy-menu_public_index.mjs +0 -5
- package/esm2022/legacy-menu/menu-content.mjs +0 -27
- package/esm2022/legacy-menu/menu-item.mjs +0 -41
- package/esm2022/legacy-menu/menu-module.mjs +0 -50
- package/esm2022/legacy-menu/menu-trigger.mjs +0 -31
- package/esm2022/legacy-menu/menu.mjs +0 -40
- package/esm2022/legacy-menu/public-api.mjs +0 -49
- package/esm2022/legacy-menu/testing/index.mjs +0 -9
- package/esm2022/legacy-menu/testing/menu-harness.mjs +0 -56
- package/esm2022/legacy-menu/testing/public-api.mjs +0 -9
- package/esm2022/legacy-paginator/index.mjs +0 -9
- package/esm2022/legacy-paginator/legacy-paginator_public_index.mjs +0 -5
- package/esm2022/legacy-paginator/paginator-module.mjs +0 -49
- package/esm2022/legacy-paginator/paginator.mjs +0 -53
- package/esm2022/legacy-paginator/public-api.mjs +0 -36
- package/esm2022/legacy-paginator/testing/index.mjs +0 -9
- package/esm2022/legacy-paginator/testing/paginator-harness.mjs +0 -41
- package/esm2022/legacy-paginator/testing/public-api.mjs +0 -15
- package/esm2022/legacy-progress-bar/index.mjs +0 -9
- package/esm2022/legacy-progress-bar/legacy-progress-bar_public_index.mjs +0 -5
- package/esm2022/legacy-progress-bar/progress-bar-module.mjs +0 -30
- package/esm2022/legacy-progress-bar/progress-bar.mjs +0 -190
- package/esm2022/legacy-progress-bar/public-api.mjs +0 -11
- package/esm2022/legacy-progress-bar/testing/index.mjs +0 -9
- package/esm2022/legacy-progress-bar/testing/progress-bar-harness.mjs +0 -38
- package/esm2022/legacy-progress-bar/testing/public-api.mjs +0 -9
- package/esm2022/legacy-progress-spinner/index.mjs +0 -9
- package/esm2022/legacy-progress-spinner/legacy-progress-spinner_public_index.mjs +0 -5
- package/esm2022/legacy-progress-spinner/progress-spinner-module.mjs +0 -30
- package/esm2022/legacy-progress-spinner/progress-spinner.mjs +0 -286
- package/esm2022/legacy-progress-spinner/public-api.mjs +0 -19
- package/esm2022/legacy-progress-spinner/testing/index.mjs +0 -9
- package/esm2022/legacy-progress-spinner/testing/progress-spinner-harness.mjs +0 -39
- package/esm2022/legacy-progress-spinner/testing/public-api.mjs +0 -9
- package/esm2022/legacy-radio/index.mjs +0 -9
- package/esm2022/legacy-radio/legacy-radio_public_index.mjs +0 -5
- package/esm2022/legacy-radio/public-api.mjs +0 -31
- package/esm2022/legacy-radio/radio-module.mjs +0 -29
- package/esm2022/legacy-radio/radio.mjs +0 -112
- package/esm2022/legacy-radio/testing/index.mjs +0 -9
- package/esm2022/legacy-radio/testing/public-api.mjs +0 -9
- package/esm2022/legacy-radio/testing/radio-harness.mjs +0 -58
- package/esm2022/legacy-select/index.mjs +0 -9
- package/esm2022/legacy-select/legacy-select_public_index.mjs +0 -5
- package/esm2022/legacy-select/public-api.mjs +0 -37
- package/esm2022/legacy-select/select-animations.mjs +0 -56
- package/esm2022/legacy-select/select-errors.mjs +0 -39
- package/esm2022/legacy-select/select-module.mjs +0 -51
- package/esm2022/legacy-select/select.mjs +0 -447
- package/esm2022/legacy-select/testing/index.mjs +0 -9
- package/esm2022/legacy-select/testing/public-api.mjs +0 -9
- package/esm2022/legacy-select/testing/select-harness-filters.mjs +0 -9
- package/esm2022/legacy-select/testing/select-harness.mjs +0 -36
- package/esm2022/legacy-slide-toggle/index.mjs +0 -9
- package/esm2022/legacy-slide-toggle/legacy-slide-toggle_public_index.mjs +0 -5
- package/esm2022/legacy-slide-toggle/public-api.mjs +0 -32
- package/esm2022/legacy-slide-toggle/slide-toggle-config.mjs +0 -18
- package/esm2022/legacy-slide-toggle/slide-toggle-module.mjs +0 -42
- package/esm2022/legacy-slide-toggle/slide-toggle.mjs +0 -137
- package/esm2022/legacy-slide-toggle/testing/index.mjs +0 -9
- package/esm2022/legacy-slide-toggle/testing/public-api.mjs +0 -15
- package/esm2022/legacy-slide-toggle/testing/slide-toggle-harness.mjs +0 -50
- package/esm2022/legacy-slider/index.mjs +0 -9
- package/esm2022/legacy-slider/legacy-slider_public_index.mjs +0 -5
- package/esm2022/legacy-slider/public-api.mjs +0 -10
- package/esm2022/legacy-slider/slider-module.mjs +0 -30
- package/esm2022/legacy-slider/slider.mjs +0 -847
- package/esm2022/legacy-slider/testing/index.mjs +0 -9
- package/esm2022/legacy-slider/testing/public-api.mjs +0 -9
- package/esm2022/legacy-slider/testing/slider-harness-filters.mjs +0 -2
- package/esm2022/legacy-slider/testing/slider-harness.mjs +0 -122
- package/esm2022/legacy-snack-bar/index.mjs +0 -9
- package/esm2022/legacy-snack-bar/legacy-snack-bar_public_index.mjs +0 -5
- package/esm2022/legacy-snack-bar/public-api.mjs +0 -53
- package/esm2022/legacy-snack-bar/simple-snack-bar.mjs +0 -45
- package/esm2022/legacy-snack-bar/snack-bar-container.mjs +0 -39
- package/esm2022/legacy-snack-bar/snack-bar-module.mjs +0 -34
- package/esm2022/legacy-snack-bar/snack-bar.mjs +0 -47
- package/esm2022/legacy-snack-bar/testing/index.mjs +0 -9
- package/esm2022/legacy-snack-bar/testing/public-api.mjs +0 -9
- package/esm2022/legacy-snack-bar/testing/snack-bar-harness.mjs +0 -46
- package/esm2022/legacy-table/cell.mjs +0 -163
- package/esm2022/legacy-table/index.mjs +0 -9
- package/esm2022/legacy-table/legacy-table_public_index.mjs +0 -5
- package/esm2022/legacy-table/public-api.mjs +0 -20
- package/esm2022/legacy-table/row.mjs +0 -165
- package/esm2022/legacy-table/table-data-source.mjs +0 -27
- package/esm2022/legacy-table/table-module.mjs +0 -98
- package/esm2022/legacy-table/table.mjs +0 -72
- package/esm2022/legacy-table/testing/cell-harness.mjs +0 -62
- package/esm2022/legacy-table/testing/index.mjs +0 -9
- package/esm2022/legacy-table/testing/public-api.mjs +0 -27
- package/esm2022/legacy-table/testing/row-harness.mjs +0 -76
- package/esm2022/legacy-table/testing/table-harness.mjs +0 -34
- package/esm2022/legacy-table/text-column.mjs +0 -65
- package/esm2022/legacy-tabs/index.mjs +0 -9
- package/esm2022/legacy-tabs/ink-bar.mjs +0 -73
- package/esm2022/legacy-tabs/legacy-tabs_public_index.mjs +0 -5
- package/esm2022/legacy-tabs/public-api.mjs +0 -94
- package/esm2022/legacy-tabs/tab-body.mjs +0 -64
- package/esm2022/legacy-tabs/tab-content.mjs +0 -27
- package/esm2022/legacy-tabs/tab-group.mjs +0 -72
- package/esm2022/legacy-tabs/tab-header.mjs +0 -75
- package/esm2022/legacy-tabs/tab-label-wrapper.mjs +0 -30
- package/esm2022/legacy-tabs/tab-label.mjs +0 -27
- package/esm2022/legacy-tabs/tab-nav-bar/index.mjs +0 -9
- package/esm2022/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -164
- package/esm2022/legacy-tabs/tab.mjs +0 -46
- package/esm2022/legacy-tabs/tabs-module.mjs +0 -99
- package/esm2022/legacy-tabs/testing/index.mjs +0 -9
- package/esm2022/legacy-tabs/testing/public-api.mjs +0 -12
- package/esm2022/legacy-tabs/testing/tab-group-harness.mjs +0 -61
- package/esm2022/legacy-tabs/testing/tab-harness-filters.mjs +0 -2
- package/esm2022/legacy-tabs/testing/tab-harness.mjs +0 -71
- package/esm2022/legacy-tabs/testing/tab-link-harness.mjs +0 -45
- package/esm2022/legacy-tabs/testing/tab-nav-bar-harness.mjs +0 -70
- package/esm2022/legacy-tabs/testing/tab-nav-panel-harness.mjs +0 -31
- package/esm2022/legacy-tooltip/index.mjs +0 -9
- package/esm2022/legacy-tooltip/legacy-tooltip_public_index.mjs +0 -5
- package/esm2022/legacy-tooltip/public-api.mjs +0 -47
- package/esm2022/legacy-tooltip/testing/index.mjs +0 -9
- package/esm2022/legacy-tooltip/testing/public-api.mjs +0 -9
- package/esm2022/legacy-tooltip/testing/tooltip-harness.mjs +0 -35
- package/esm2022/legacy-tooltip/tooltip-animations.mjs +0 -28
- package/esm2022/legacy-tooltip/tooltip-module.mjs +0 -35
- package/esm2022/legacy-tooltip/tooltip.mjs +0 -108
- package/expansion/_expansion-legacy-index.scss +0 -2
- package/expansion/_expansion-theme.import.scss +0 -12
- package/expansion/_expansion-variables.import.scss +0 -1
- package/fesm2022/legacy-autocomplete/testing.mjs +0 -35
- package/fesm2022/legacy-autocomplete/testing.mjs.map +0 -1
- package/fesm2022/legacy-autocomplete.mjs +0 -146
- package/fesm2022/legacy-autocomplete.mjs.map +0 -1
- package/fesm2022/legacy-button/testing.mjs +0 -78
- package/fesm2022/legacy-button/testing.mjs.map +0 -1
- package/fesm2022/legacy-button.mjs +0 -194
- package/fesm2022/legacy-button.mjs.map +0 -1
- package/fesm2022/legacy-card/testing.mjs +0 -43
- package/fesm2022/legacy-card/testing.mjs.map +0 -1
- package/fesm2022/legacy-card.mjs +0 -353
- package/fesm2022/legacy-card.mjs.map +0 -1
- package/fesm2022/legacy-checkbox/testing.mjs +0 -42
- package/fesm2022/legacy-checkbox/testing.mjs.map +0 -1
- package/fesm2022/legacy-checkbox.mjs +0 -157
- package/fesm2022/legacy-checkbox.mjs.map +0 -1
- package/fesm2022/legacy-chips/testing.mjs +0 -365
- package/fesm2022/legacy-chips/testing.mjs.map +0 -1
- package/fesm2022/legacy-chips.mjs +0 -1399
- package/fesm2022/legacy-chips.mjs.map +0 -1
- package/fesm2022/legacy-core/testing.mjs +0 -92
- package/fesm2022/legacy-core/testing.mjs.map +0 -1
- package/fesm2022/legacy-core.mjs +0 -92
- package/fesm2022/legacy-core.mjs.map +0 -1
- package/fesm2022/legacy-dialog/testing.mjs +0 -80
- package/fesm2022/legacy-dialog/testing.mjs.map +0 -1
- package/fesm2022/legacy-dialog.mjs +0 -437
- package/fesm2022/legacy-dialog.mjs.map +0 -1
- package/fesm2022/legacy-form-field/testing.mjs +0 -87
- package/fesm2022/legacy-form-field/testing.mjs.map +0 -1
- package/fesm2022/legacy-form-field.mjs +0 -726
- package/fesm2022/legacy-form-field.mjs.map +0 -1
- package/fesm2022/legacy-input/testing.mjs +0 -2
- package/fesm2022/legacy-input/testing.mjs.map +0 -1
- package/fesm2022/legacy-input.mjs +0 -97
- package/fesm2022/legacy-input.mjs.map +0 -1
- package/fesm2022/legacy-list/testing.mjs +0 -436
- package/fesm2022/legacy-list/testing.mjs.map +0 -1
- package/fesm2022/legacy-list.mjs +0 -891
- package/fesm2022/legacy-list.mjs.map +0 -1
- package/fesm2022/legacy-menu/testing.mjs +0 -52
- package/fesm2022/legacy-menu/testing.mjs.map +0 -1
- package/fesm2022/legacy-menu.mjs +0 -145
- package/fesm2022/legacy-menu.mjs.map +0 -1
- package/fesm2022/legacy-paginator/testing.mjs +0 -38
- package/fesm2022/legacy-paginator/testing.mjs.map +0 -1
- package/fesm2022/legacy-paginator.mjs +0 -92
- package/fesm2022/legacy-paginator.mjs.map +0 -1
- package/fesm2022/legacy-progress-bar/testing.mjs +0 -34
- package/fesm2022/legacy-progress-bar/testing.mjs.map +0 -1
- package/fesm2022/legacy-progress-bar.mjs +0 -210
- package/fesm2022/legacy-progress-bar.mjs.map +0 -1
- package/fesm2022/legacy-progress-spinner/testing.mjs +0 -35
- package/fesm2022/legacy-progress-spinner/testing.mjs.map +0 -1
- package/fesm2022/legacy-progress-spinner.mjs +0 -312
- package/fesm2022/legacy-progress-spinner.mjs.map +0 -1
- package/fesm2022/legacy-radio/testing.mjs +0 -54
- package/fesm2022/legacy-radio/testing.mjs.map +0 -1
- package/fesm2022/legacy-radio.mjs +0 -130
- package/fesm2022/legacy-radio.mjs.map +0 -1
- package/fesm2022/legacy-select/testing.mjs +0 -32
- package/fesm2022/legacy-select/testing.mjs.map +0 -1
- package/fesm2022/legacy-select.mjs +0 -541
- package/fesm2022/legacy-select.mjs.map +0 -1
- package/fesm2022/legacy-slide-toggle/testing.mjs +0 -47
- package/fesm2022/legacy-slide-toggle/testing.mjs.map +0 -1
- package/fesm2022/legacy-slide-toggle.mjs +0 -177
- package/fesm2022/legacy-slide-toggle.mjs.map +0 -1
- package/fesm2022/legacy-slider/testing.mjs +0 -118
- package/fesm2022/legacy-slider/testing.mjs.map +0 -1
- package/fesm2022/legacy-slider.mjs +0 -863
- package/fesm2022/legacy-slider.mjs.map +0 -1
- package/fesm2022/legacy-snack-bar/testing.mjs +0 -42
- package/fesm2022/legacy-snack-bar/testing.mjs.map +0 -1
- package/fesm2022/legacy-snack-bar.mjs +0 -128
- package/fesm2022/legacy-snack-bar.mjs.map +0 -1
- package/fesm2022/legacy-table/testing.mjs +0 -150
- package/fesm2022/legacy-table/testing.mjs.map +0 -1
- package/fesm2022/legacy-table.mjs +0 -538
- package/fesm2022/legacy-table.mjs.map +0 -1
- package/fesm2022/legacy-tabs/testing.mjs +0 -239
- package/fesm2022/legacy-tabs/testing.mjs.map +0 -1
- package/fesm2022/legacy-tabs.mjs +0 -549
- package/fesm2022/legacy-tabs.mjs.map +0 -1
- package/fesm2022/legacy-tooltip/testing.mjs +0 -31
- package/fesm2022/legacy-tooltip/testing.mjs.map +0 -1
- package/fesm2022/legacy-tooltip.mjs +0 -148
- package/fesm2022/legacy-tooltip.mjs.map +0 -1
- package/form-field/_form-field-theme.import.scss +0 -29
- package/form-field/_mdc-text-field-theme-variable-refresh.scss +0 -88
- package/grid-list/_grid-list-legacy-index.scss +0 -2
- package/grid-list/_grid-list-theme.import.scss +0 -10
- package/icon/_icon-legacy-index.scss +0 -2
- package/icon/_icon-theme.import.scss +0 -5
- package/input/_input-theme.import.scss +0 -1
- package/legacy-autocomplete/_autocomplete-legacy-index.scss +0 -2
- package/legacy-autocomplete/_autocomplete-theme.import.scss +0 -7
- package/legacy-autocomplete/_autocomplete-theme.scss +0 -57
- package/legacy-autocomplete/index.d.ts +0 -115
- package/legacy-autocomplete/testing/index.d.ts +0 -41
- package/legacy-button/_button-base.import.scss +0 -21
- package/legacy-button/_button-base.scss +0 -114
- package/legacy-button/_button-legacy-index.scss +0 -22
- package/legacy-button/_button-theme.import.scss +0 -11
- package/legacy-button/_button-theme.scss +0 -223
- package/legacy-button/index.d.ts +0 -87
- package/legacy-button/testing/index.d.ts +0 -49
- package/legacy-card/_card-legacy-index.scss +0 -2
- package/legacy-card/_card-theme.import.scss +0 -10
- package/legacy-card/_card-theme.scss +0 -78
- package/legacy-card/index.d.ts +0 -201
- package/legacy-card/testing/index.d.ts +0 -56
- package/legacy-checkbox/_checkbox-legacy-index.scss +0 -2
- package/legacy-checkbox/_checkbox-theme.import.scss +0 -7
- package/legacy-checkbox/_checkbox-theme.scss +0 -138
- package/legacy-checkbox/index.d.ts +0 -116
- package/legacy-checkbox/testing/index.d.ts +0 -30
- package/legacy-chips/_chips-legacy-index.scss +0 -7
- package/legacy-chips/_chips-theme.import.scss +0 -14
- package/legacy-chips/_chips-theme.scss +0 -133
- package/legacy-chips/index.d.ts +0 -705
- package/legacy-chips/testing/index.d.ts +0 -316
- package/legacy-core/_core-theme.scss +0 -65
- package/legacy-core/_core.import.scss +0 -5
- package/legacy-core/_core.scss +0 -18
- package/legacy-core/color/_all-color.import.scss +0 -4
- package/legacy-core/color/_all-color.scss +0 -28
- package/legacy-core/density/private/_all-density.import.scss +0 -3
- package/legacy-core/density/private/_all-density.scss +0 -46
- package/legacy-core/density/private/_compatibility.import.scss +0 -4
- package/legacy-core/density/private/_compatibility.scss +0 -74
- package/legacy-core/index.d.ts +0 -218
- package/legacy-core/option/_optgroup-theme.import.scss +0 -27
- package/legacy-core/option/_optgroup-theme.scss +0 -52
- package/legacy-core/option/_option-legacy-index.scss +0 -5
- package/legacy-core/option/_option-theme.import.scss +0 -27
- package/legacy-core/option/_option-theme.scss +0 -86
- package/legacy-core/testing/index.d.ts +0 -80
- package/legacy-core/theming/_all-theme.import.scss +0 -3
- package/legacy-core/theming/_all-theme.scss +0 -89
- package/legacy-core/typography/_all-typography.import.scss +0 -4
- package/legacy-core/typography/_all-typography.scss +0 -105
- package/legacy-dialog/_dialog-legacy-index.scss +0 -2
- package/legacy-dialog/_dialog-theme.import.scss +0 -10
- package/legacy-dialog/_dialog-theme.scss +0 -53
- package/legacy-dialog/index.d.ts +0 -269
- package/legacy-dialog/testing/index.d.ts +0 -63
- package/legacy-form-field/_form-field-fill-theme.import.scss +0 -13
- package/legacy-form-field/_form-field-fill-theme.scss +0 -136
- package/legacy-form-field/_form-field-legacy-index.scss +0 -29
- package/legacy-form-field/_form-field-legacy-theme.import.scss +0 -14
- package/legacy-form-field/_form-field-legacy-theme.scss +0 -204
- package/legacy-form-field/_form-field-outline-theme.import.scss +0 -13
- package/legacy-form-field/_form-field-outline-theme.scss +0 -167
- package/legacy-form-field/_form-field-standard-theme.import.scss +0 -11
- package/legacy-form-field/_form-field-standard-theme.scss +0 -55
- package/legacy-form-field/_form-field-theme.import.scss +0 -29
- package/legacy-form-field/_form-field-theme.scss +0 -278
- package/legacy-form-field/index.d.ts +0 -370
- package/legacy-form-field/testing/index.d.ts +0 -76
- package/legacy-input/_input-legacy-index.scss +0 -2
- package/legacy-input/_input-theme.import.scss +0 -11
- package/legacy-input/_input-theme.scss +0 -115
- package/legacy-input/index.d.ts +0 -41
- package/legacy-input/testing/index.d.ts +0 -20
- package/legacy-list/_list-legacy-index.scss +0 -2
- package/legacy-list/_list-theme.import.scss +0 -10
- package/legacy-list/_list-theme.scss +0 -124
- package/legacy-list/index.d.ts +0 -396
- package/legacy-list/testing/index.d.ts +0 -419
- package/legacy-menu/_menu-legacy-index.scss +0 -2
- package/legacy-menu/_menu-theme.import.scss +0 -10
- package/legacy-menu/_menu-theme.scss +0 -84
- package/legacy-menu/index.d.ts +0 -127
- package/legacy-menu/testing/index.d.ts +0 -47
- package/legacy-paginator/_paginator-legacy-index.scss +0 -2
- package/legacy-paginator/_paginator-theme.import.scss +0 -11
- package/legacy-paginator/_paginator-theme.scss +0 -92
- package/legacy-paginator/_paginator-variables.import.scss +0 -1
- package/legacy-paginator/_paginator-variables.scss +0 -13
- package/legacy-paginator/index.d.ts +0 -87
- package/legacy-paginator/testing/index.d.ts +0 -36
- package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +0 -1
- package/legacy-prebuilt-themes/legacy-indigo-pink.css +0 -1
- package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +0 -1
- package/legacy-prebuilt-themes/legacy-purple-green.css +0 -1
- package/legacy-progress-bar/_progress-bar-legacy-index.scss +0 -2
- package/legacy-progress-bar/_progress-bar-theme.import.scss +0 -6
- package/legacy-progress-bar/_progress-bar-theme.scss +0 -93
- package/legacy-progress-bar/index.d.ts +0 -131
- package/legacy-progress-bar/testing/index.d.ts +0 -28
- package/legacy-progress-spinner/_progress-spinner-legacy-index.scss +0 -3
- package/legacy-progress-spinner/_progress-spinner-theme.import.scss +0 -7
- package/legacy-progress-spinner/_progress-spinner-theme.scss +0 -52
- package/legacy-progress-spinner/index.d.ts +0 -129
- package/legacy-progress-spinner/testing/index.d.ts +0 -29
- package/legacy-radio/_radio-legacy-index.scss +0 -2
- package/legacy-radio/_radio-theme.import.scss +0 -8
- package/legacy-radio/_radio-theme.scss +0 -104
- package/legacy-radio/index.d.ts +0 -75
- package/legacy-radio/testing/index.d.ts +0 -50
- package/legacy-select/_select-legacy-index.scss +0 -2
- package/legacy-select/_select-theme.import.scss +0 -11
- package/legacy-select/_select-theme.scss +0 -107
- package/legacy-select/index.d.ts +0 -230
- package/legacy-select/testing/index.d.ts +0 -38
- package/legacy-slide-toggle/_slide-toggle-legacy-index.scss +0 -3
- package/legacy-slide-toggle/_slide-toggle-theme.import.scss +0 -11
- package/legacy-slide-toggle/_slide-toggle-theme.scss +0 -111
- package/legacy-slide-toggle/index.d.ts +0 -113
- package/legacy-slide-toggle/testing/index.d.ts +0 -34
- package/legacy-slider/_slider-legacy-index.scss +0 -3
- package/legacy-slider/_slider-theme.import.scss +0 -8
- package/legacy-slider/_slider-theme.scss +0 -210
- package/legacy-slider/index.d.ts +0 -303
- package/legacy-slider/testing/index.d.ts +0 -68
- package/legacy-snack-bar/_snack-bar-legacy-index.scss +0 -2
- package/legacy-snack-bar/_snack-bar-theme.import.scss +0 -11
- package/legacy-snack-bar/_snack-bar-theme.scss +0 -72
- package/legacy-snack-bar/index.d.ts +0 -118
- package/legacy-snack-bar/testing/index.d.ts +0 -28
- package/legacy-table/_table-legacy-index.scss +0 -3
- package/legacy-table/_table-theme.import.scss +0 -8
- package/legacy-table/_table-theme.scss +0 -78
- package/legacy-table/index.d.ts +0 -298
- package/legacy-table/testing/index.d.ts +0 -149
- package/legacy-tabs/_tabs-common.import.scss +0 -11
- package/legacy-tabs/_tabs-common.scss +0 -173
- package/legacy-tabs/_tabs-legacy-index.scss +0 -6
- package/legacy-tabs/_tabs-theme.import.scss +0 -9
- package/legacy-tabs/_tabs-theme.scss +0 -188
- package/legacy-tabs/index.d.ts +0 -338
- package/legacy-tabs/testing/index.d.ts +0 -195
- package/legacy-tooltip/_tooltip-legacy-index.scss +0 -3
- package/legacy-tooltip/_tooltip-theme.import.scss +0 -9
- package/legacy-tooltip/_tooltip-theme.scss +0 -67
- package/legacy-tooltip/index.d.ts +0 -117
- package/legacy-tooltip/testing/index.d.ts +0 -30
- package/list/_list-theme.import.scss +0 -1
- package/menu/_menu-theme.import.scss +0 -2
- package/paginator/_paginator-theme.import.scss +0 -6
- package/paginator/_paginator-variables.import.scss +0 -1
- package/progress-bar/_progress-bar-theme.import.scss +0 -3
- package/progress-spinner/_progress-spinner-theme.import.scss +0 -3
- package/radio/_radio-theme.import.scss +0 -4
- package/select/_select-theme.import.scss +0 -7
- package/sidenav/_sidenav-legacy-index.scss +0 -2
- package/sidenav/_sidenav-theme.import.scss +0 -8
- package/slide-toggle/_slide-toggle-theme.import.scss +0 -7
- package/slider/_slider-theme.import.scss +0 -2
- package/snack-bar/_snack-bar-theme.import.scss +0 -5
- package/sort/_sort-legacy-index.scss +0 -2
- package/sort/_sort-theme.import.scss +0 -5
- package/stepper/_stepper-legacy-index.scss +0 -7
- package/stepper/_stepper-theme.import.scss +0 -16
- package/stepper/_stepper-variables.import.scss +0 -6
- package/table/_table-flex-styles.import.scss +0 -1
- package/table/_table-theme.import.scss +0 -8
- package/tabs/_tabs-common.import.scss +0 -11
- package/tabs/_tabs-theme.import.scss +0 -5
- package/toolbar/_toolbar-legacy-index.scss +0 -4
- package/toolbar/_toolbar-theme.import.scss +0 -14
- package/toolbar/_toolbar-variables.import.scss +0 -1
- package/tooltip/_tooltip-theme.import.scss +0 -2
- package/tree/_tree-legacy-index.scss +0 -2
- package/tree/_tree-theme.import.scss +0 -9
- package/tree/_tree-variables.import.scss +0 -1
|
@@ -1,1399 +0,0 @@
|
|
|
1
|
-
import { SPACE, BACKSPACE, DELETE, TAB, hasModifierKey, ENTER } from '@angular/cdk/keycodes';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { InjectionToken, Directive, EventEmitter, Optional, Inject, Attribute, ContentChild, Input, Output, Component, ViewEncapsulation, ChangeDetectionStrategy, Self, ContentChildren, NgModule } from '@angular/core';
|
|
4
|
-
import * as i3 from '@angular/material/core';
|
|
5
|
-
import { mixinTabIndex, mixinColor, mixinDisableRipple, RippleRenderer, MAT_RIPPLE_GLOBAL_OPTIONS, mixinErrorState, MatCommonModule, ErrorStateMatcher } from '@angular/material/core';
|
|
6
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
7
|
-
import * as i1 from '@angular/cdk/platform';
|
|
8
|
-
import { DOCUMENT } from '@angular/common';
|
|
9
|
-
import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
|
|
10
|
-
import { Subject, merge } from 'rxjs';
|
|
11
|
-
import { take, takeUntil, startWith } from 'rxjs/operators';
|
|
12
|
-
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
13
|
-
import * as i1$1 from '@angular/cdk/bidi';
|
|
14
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
15
|
-
import * as i2 from '@angular/forms';
|
|
16
|
-
import { Validators } from '@angular/forms';
|
|
17
|
-
import { MatLegacyFormFieldControl } from '@angular/material/legacy-form-field';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Event object emitted by MatChip when selected or deselected.
|
|
21
|
-
* @deprecated Use `MatChipSelectionChange` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
22
|
-
* @breaking-change 17.0.0
|
|
23
|
-
*/
|
|
24
|
-
class MatLegacyChipSelectionChange {
|
|
25
|
-
constructor(
|
|
26
|
-
/** Reference to the chip that emitted the event. */
|
|
27
|
-
source,
|
|
28
|
-
/** Whether the chip that emitted the event is selected. */
|
|
29
|
-
selected,
|
|
30
|
-
/** Whether the selection change was a result of a user interaction. */
|
|
31
|
-
isUserInput = false) {
|
|
32
|
-
this.source = source;
|
|
33
|
-
this.selected = selected;
|
|
34
|
-
this.isUserInput = isUserInput;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Injection token that can be used to reference instances of `MatChipRemove`. It serves as
|
|
39
|
-
* alternative token to the actual `MatChipRemove` class which could cause unnecessary
|
|
40
|
-
* retention of the class and its directive metadata.
|
|
41
|
-
* @deprecated Use `MAT_CHIP_REMOVE` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
42
|
-
* @breaking-change 17.0.0
|
|
43
|
-
*/
|
|
44
|
-
const MAT_LEGACY_CHIP_REMOVE = new InjectionToken('MatChipRemove');
|
|
45
|
-
/**
|
|
46
|
-
* Injection token that can be used to reference instances of `MatChipAvatar`. It serves as
|
|
47
|
-
* alternative token to the actual `MatChipAvatar` class which could cause unnecessary
|
|
48
|
-
* retention of the class and its directive metadata.
|
|
49
|
-
* @deprecated Use `MAT_CHIP_AVATAR` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
50
|
-
* @breaking-change 17.0.0
|
|
51
|
-
*/
|
|
52
|
-
const MAT_LEGACY_CHIP_AVATAR = new InjectionToken('MatChipAvatar');
|
|
53
|
-
/**
|
|
54
|
-
* Injection token that can be used to reference instances of `MatChipTrailingIcon`. It serves as
|
|
55
|
-
* alternative token to the actual `MatChipTrailingIcon` class which could cause unnecessary
|
|
56
|
-
* retention of the class and its directive metadata.
|
|
57
|
-
* @deprecated Use `MAT_CHIP_TRAILING_ICON` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
58
|
-
* @breaking-change 17.0.0
|
|
59
|
-
*/
|
|
60
|
-
const MAT_LEGACY_CHIP_TRAILING_ICON = new InjectionToken('MatChipTrailingIcon');
|
|
61
|
-
// Boilerplate for applying mixins to MatChip.
|
|
62
|
-
/** @docs-private */
|
|
63
|
-
class MatChipBase {
|
|
64
|
-
constructor(_elementRef) {
|
|
65
|
-
this._elementRef = _elementRef;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
const _MatChipMixinBase = mixinTabIndex(mixinColor(mixinDisableRipple(MatChipBase), 'primary'), -1);
|
|
69
|
-
/**
|
|
70
|
-
* Dummy directive to add CSS class to chip avatar.
|
|
71
|
-
* @docs-private
|
|
72
|
-
* @deprecated Use `MatChipAvatar` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
73
|
-
* @breaking-change 17.0.0
|
|
74
|
-
*/
|
|
75
|
-
class MatLegacyChipAvatar {
|
|
76
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipAvatar, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
77
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyChipAvatar, selector: "mat-chip-avatar, [matChipAvatar]", host: { classAttribute: "mat-chip-avatar" }, providers: [{ provide: MAT_LEGACY_CHIP_AVATAR, useExisting: MatLegacyChipAvatar }], ngImport: i0 }); }
|
|
78
|
-
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipAvatar, decorators: [{
|
|
80
|
-
type: Directive,
|
|
81
|
-
args: [{
|
|
82
|
-
selector: 'mat-chip-avatar, [matChipAvatar]',
|
|
83
|
-
host: { 'class': 'mat-chip-avatar' },
|
|
84
|
-
providers: [{ provide: MAT_LEGACY_CHIP_AVATAR, useExisting: MatLegacyChipAvatar }],
|
|
85
|
-
}]
|
|
86
|
-
}] });
|
|
87
|
-
/**
|
|
88
|
-
* Dummy directive to add CSS class to chip trailing icon.
|
|
89
|
-
* @docs-private
|
|
90
|
-
* @deprecated Use `MatChipTrailingIcon` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
91
|
-
* @breaking-change 17.0.0
|
|
92
|
-
*/
|
|
93
|
-
class MatLegacyChipTrailingIcon {
|
|
94
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipTrailingIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
95
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyChipTrailingIcon, selector: "mat-chip-trailing-icon, [matChipTrailingIcon]", host: { classAttribute: "mat-chip-trailing-icon" }, providers: [{ provide: MAT_LEGACY_CHIP_TRAILING_ICON, useExisting: MatLegacyChipTrailingIcon }], ngImport: i0 }); }
|
|
96
|
-
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipTrailingIcon, decorators: [{
|
|
98
|
-
type: Directive,
|
|
99
|
-
args: [{
|
|
100
|
-
selector: 'mat-chip-trailing-icon, [matChipTrailingIcon]',
|
|
101
|
-
host: { 'class': 'mat-chip-trailing-icon' },
|
|
102
|
-
providers: [{ provide: MAT_LEGACY_CHIP_TRAILING_ICON, useExisting: MatLegacyChipTrailingIcon }],
|
|
103
|
-
}]
|
|
104
|
-
}] });
|
|
105
|
-
/**
|
|
106
|
-
* Material Design styled chip directive. Used inside the MatChipList component.
|
|
107
|
-
* @deprecated Use `MatChip` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
108
|
-
* @breaking-change 17.0.0
|
|
109
|
-
*/
|
|
110
|
-
class MatLegacyChip extends _MatChipMixinBase {
|
|
111
|
-
/**
|
|
112
|
-
* Whether ripples are disabled on interaction
|
|
113
|
-
* @docs-private
|
|
114
|
-
*/
|
|
115
|
-
get rippleDisabled() {
|
|
116
|
-
return (this.disabled ||
|
|
117
|
-
this.disableRipple ||
|
|
118
|
-
this._animationsDisabled ||
|
|
119
|
-
!!this.rippleConfig.disabled);
|
|
120
|
-
}
|
|
121
|
-
/** Whether the chip is selected. */
|
|
122
|
-
get selected() {
|
|
123
|
-
return this._selected;
|
|
124
|
-
}
|
|
125
|
-
set selected(value) {
|
|
126
|
-
const coercedValue = coerceBooleanProperty(value);
|
|
127
|
-
if (coercedValue !== this._selected) {
|
|
128
|
-
this._selected = coercedValue;
|
|
129
|
-
this._dispatchSelectionChange();
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
/** The value of the chip. Defaults to the content inside `<mat-chip>` tags. */
|
|
133
|
-
get value() {
|
|
134
|
-
return this._value !== undefined ? this._value : this._elementRef.nativeElement.textContent;
|
|
135
|
-
}
|
|
136
|
-
set value(value) {
|
|
137
|
-
this._value = value;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Whether or not the chip is selectable. When a chip is not selectable,
|
|
141
|
-
* changes to its selected state are always ignored. By default a chip is
|
|
142
|
-
* selectable, and it becomes non-selectable if its parent chip list is
|
|
143
|
-
* not selectable.
|
|
144
|
-
*/
|
|
145
|
-
get selectable() {
|
|
146
|
-
return this._selectable && this.chipListSelectable;
|
|
147
|
-
}
|
|
148
|
-
set selectable(value) {
|
|
149
|
-
this._selectable = coerceBooleanProperty(value);
|
|
150
|
-
}
|
|
151
|
-
/** Whether the chip is disabled. */
|
|
152
|
-
get disabled() {
|
|
153
|
-
return this._chipListDisabled || this._disabled;
|
|
154
|
-
}
|
|
155
|
-
set disabled(value) {
|
|
156
|
-
this._disabled = coerceBooleanProperty(value);
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Determines whether or not the chip displays the remove styling and emits (removed) events.
|
|
160
|
-
*/
|
|
161
|
-
get removable() {
|
|
162
|
-
return this._removable;
|
|
163
|
-
}
|
|
164
|
-
set removable(value) {
|
|
165
|
-
this._removable = coerceBooleanProperty(value);
|
|
166
|
-
}
|
|
167
|
-
/** The ARIA selected applied to the chip. */
|
|
168
|
-
get ariaSelected() {
|
|
169
|
-
// Remove the `aria-selected` when the chip is deselected in single-selection mode, because
|
|
170
|
-
// it adds noise to NVDA users where "not selected" will be read out for each chip.
|
|
171
|
-
return this.selectable && (this._chipListMultiple || this.selected)
|
|
172
|
-
? this.selected.toString()
|
|
173
|
-
: null;
|
|
174
|
-
}
|
|
175
|
-
constructor(elementRef, _ngZone, platform, globalRippleOptions, _changeDetectorRef, _document, animationMode, tabIndex) {
|
|
176
|
-
super(elementRef);
|
|
177
|
-
this._ngZone = _ngZone;
|
|
178
|
-
this._changeDetectorRef = _changeDetectorRef;
|
|
179
|
-
/** Whether the chip has focus. */
|
|
180
|
-
this._hasFocus = false;
|
|
181
|
-
/** Whether the chip list is selectable */
|
|
182
|
-
this.chipListSelectable = true;
|
|
183
|
-
/** Whether the chip list is in multi-selection mode. */
|
|
184
|
-
this._chipListMultiple = false;
|
|
185
|
-
/** Whether the chip list as a whole is disabled. */
|
|
186
|
-
this._chipListDisabled = false;
|
|
187
|
-
/** ARIA role that should be applied to the chip. */
|
|
188
|
-
this.role = 'option';
|
|
189
|
-
this._selected = false;
|
|
190
|
-
this._selectable = true;
|
|
191
|
-
this._disabled = false;
|
|
192
|
-
this._removable = true;
|
|
193
|
-
/** Emits when the chip is focused. */
|
|
194
|
-
this._onFocus = new Subject();
|
|
195
|
-
/** Emits when the chip is blurred. */
|
|
196
|
-
this._onBlur = new Subject();
|
|
197
|
-
/** Emitted when the chip is selected or deselected. */
|
|
198
|
-
this.selectionChange = new EventEmitter();
|
|
199
|
-
/** Emitted when the chip is destroyed. */
|
|
200
|
-
this.destroyed = new EventEmitter();
|
|
201
|
-
/** Emitted when a chip is to be removed. */
|
|
202
|
-
this.removed = new EventEmitter();
|
|
203
|
-
this._addHostClassName();
|
|
204
|
-
// Dynamically create the ripple target, append it within the chip, and use it as the
|
|
205
|
-
// chip's ripple target. Adding the class '.mat-chip-ripple' ensures that it will have
|
|
206
|
-
// the proper styles.
|
|
207
|
-
this._chipRippleTarget = _document.createElement('div');
|
|
208
|
-
this._chipRippleTarget.classList.add('mat-chip-ripple');
|
|
209
|
-
this._elementRef.nativeElement.appendChild(this._chipRippleTarget);
|
|
210
|
-
this._chipRipple = new RippleRenderer(this, _ngZone, this._chipRippleTarget, platform);
|
|
211
|
-
this._chipRipple.setupTriggerEvents(elementRef);
|
|
212
|
-
this.rippleConfig = globalRippleOptions || {};
|
|
213
|
-
this._animationsDisabled = animationMode === 'NoopAnimations';
|
|
214
|
-
this.tabIndex = tabIndex != null ? parseInt(tabIndex) || -1 : -1;
|
|
215
|
-
}
|
|
216
|
-
_addHostClassName() {
|
|
217
|
-
const basicChipAttrName = 'mat-basic-chip';
|
|
218
|
-
const element = this._elementRef.nativeElement;
|
|
219
|
-
if (element.hasAttribute(basicChipAttrName) ||
|
|
220
|
-
element.tagName.toLowerCase() === basicChipAttrName) {
|
|
221
|
-
element.classList.add(basicChipAttrName);
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
else {
|
|
225
|
-
element.classList.add('mat-standard-chip');
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
ngOnDestroy() {
|
|
229
|
-
this.destroyed.emit({ chip: this });
|
|
230
|
-
this._chipRipple._removeTriggerEvents();
|
|
231
|
-
}
|
|
232
|
-
/** Selects the chip. */
|
|
233
|
-
select() {
|
|
234
|
-
if (!this._selected) {
|
|
235
|
-
this._selected = true;
|
|
236
|
-
this._dispatchSelectionChange();
|
|
237
|
-
this._changeDetectorRef.markForCheck();
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
/** Deselects the chip. */
|
|
241
|
-
deselect() {
|
|
242
|
-
if (this._selected) {
|
|
243
|
-
this._selected = false;
|
|
244
|
-
this._dispatchSelectionChange();
|
|
245
|
-
this._changeDetectorRef.markForCheck();
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
/** Select this chip and emit selected event */
|
|
249
|
-
selectViaInteraction() {
|
|
250
|
-
if (!this._selected) {
|
|
251
|
-
this._selected = true;
|
|
252
|
-
this._dispatchSelectionChange(true);
|
|
253
|
-
this._changeDetectorRef.markForCheck();
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
/** Toggles the current selected state of this chip. */
|
|
257
|
-
toggleSelected(isUserInput = false) {
|
|
258
|
-
this._selected = !this.selected;
|
|
259
|
-
this._dispatchSelectionChange(isUserInput);
|
|
260
|
-
this._changeDetectorRef.markForCheck();
|
|
261
|
-
return this.selected;
|
|
262
|
-
}
|
|
263
|
-
/** Allows for programmatic focusing of the chip. */
|
|
264
|
-
focus() {
|
|
265
|
-
if (!this._hasFocus) {
|
|
266
|
-
this._elementRef.nativeElement.focus();
|
|
267
|
-
this._onFocus.next({ chip: this });
|
|
268
|
-
}
|
|
269
|
-
this._hasFocus = true;
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* Allows for programmatic removal of the chip. Called by the MatChipList when the DELETE or
|
|
273
|
-
* BACKSPACE keys are pressed.
|
|
274
|
-
*
|
|
275
|
-
* Informs any listeners of the removal request. Does not remove the chip from the DOM.
|
|
276
|
-
*/
|
|
277
|
-
remove() {
|
|
278
|
-
if (this.removable) {
|
|
279
|
-
this.removed.emit({ chip: this });
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
/** Handles click events on the chip. */
|
|
283
|
-
_handleClick(event) {
|
|
284
|
-
if (this.disabled) {
|
|
285
|
-
event.preventDefault();
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
/** Handle custom key presses. */
|
|
289
|
-
_handleKeydown(event) {
|
|
290
|
-
if (this.disabled) {
|
|
291
|
-
return;
|
|
292
|
-
}
|
|
293
|
-
switch (event.keyCode) {
|
|
294
|
-
case DELETE:
|
|
295
|
-
case BACKSPACE:
|
|
296
|
-
// If we are removable, remove the focused chip
|
|
297
|
-
this.remove();
|
|
298
|
-
// Always prevent so page navigation does not occur
|
|
299
|
-
event.preventDefault();
|
|
300
|
-
break;
|
|
301
|
-
case SPACE:
|
|
302
|
-
// If we are selectable, toggle the focused chip
|
|
303
|
-
if (this.selectable) {
|
|
304
|
-
this.toggleSelected(true);
|
|
305
|
-
}
|
|
306
|
-
// Always prevent space from scrolling the page since the list has focus
|
|
307
|
-
event.preventDefault();
|
|
308
|
-
break;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
_blur() {
|
|
312
|
-
// When animations are enabled, Angular may end up removing the chip from the DOM a little
|
|
313
|
-
// earlier than usual, causing it to be blurred and throwing off the logic in the chip list
|
|
314
|
-
// that moves focus not the next item. To work around the issue, we defer marking the chip
|
|
315
|
-
// as not focused until the next time the zone stabilizes.
|
|
316
|
-
this._ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
317
|
-
this._ngZone.run(() => {
|
|
318
|
-
this._hasFocus = false;
|
|
319
|
-
this._onBlur.next({ chip: this });
|
|
320
|
-
});
|
|
321
|
-
});
|
|
322
|
-
}
|
|
323
|
-
_dispatchSelectionChange(isUserInput = false) {
|
|
324
|
-
this.selectionChange.emit({
|
|
325
|
-
source: this,
|
|
326
|
-
isUserInput,
|
|
327
|
-
selected: this._selected,
|
|
328
|
-
});
|
|
329
|
-
}
|
|
330
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChip, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.Platform }, { token: MAT_RIPPLE_GLOBAL_OPTIONS, optional: true }, { token: i0.ChangeDetectorRef }, { token: DOCUMENT }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
331
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: { color: "color", disableRipple: "disableRipple", tabIndex: "tabIndex", role: "role", selected: "selected", value: "value", selectable: "selectable", disabled: "disabled", removable: "removable" }, outputs: { selectionChange: "selectionChange", destroyed: "destroyed", removed: "removed" }, host: { listeners: { "click": "_handleClick($event)", "keydown": "_handleKeydown($event)", "focus": "focus()", "blur": "_blur()" }, properties: { "attr.tabindex": "disabled ? null : tabIndex", "attr.role": "role", "class.mat-chip-selected": "selected", "class.mat-chip-with-avatar": "avatar", "class.mat-chip-with-trailing-icon": "trailingIcon || removeIcon", "class.mat-chip-disabled": "disabled", "class._mat-animation-noopable": "_animationsDisabled", "attr.disabled": "disabled || null", "attr.aria-disabled": "disabled.toString()", "attr.aria-selected": "ariaSelected" }, classAttribute: "mat-chip mat-focus-indicator" }, queries: [{ propertyName: "avatar", first: true, predicate: MAT_LEGACY_CHIP_AVATAR, descendants: true }, { propertyName: "trailingIcon", first: true, predicate: MAT_LEGACY_CHIP_TRAILING_ICON, descendants: true }, { propertyName: "removeIcon", first: true, predicate: MAT_LEGACY_CHIP_REMOVE, descendants: true }], exportAs: ["matChip"], usesInheritance: true, ngImport: i0 }); }
|
|
332
|
-
}
|
|
333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChip, decorators: [{
|
|
334
|
-
type: Directive,
|
|
335
|
-
args: [{
|
|
336
|
-
selector: `mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]`,
|
|
337
|
-
inputs: ['color', 'disableRipple', 'tabIndex'],
|
|
338
|
-
exportAs: 'matChip',
|
|
339
|
-
host: {
|
|
340
|
-
'class': 'mat-chip mat-focus-indicator',
|
|
341
|
-
'[attr.tabindex]': 'disabled ? null : tabIndex',
|
|
342
|
-
'[attr.role]': 'role',
|
|
343
|
-
'[class.mat-chip-selected]': 'selected',
|
|
344
|
-
'[class.mat-chip-with-avatar]': 'avatar',
|
|
345
|
-
'[class.mat-chip-with-trailing-icon]': 'trailingIcon || removeIcon',
|
|
346
|
-
'[class.mat-chip-disabled]': 'disabled',
|
|
347
|
-
'[class._mat-animation-noopable]': '_animationsDisabled',
|
|
348
|
-
'[attr.disabled]': 'disabled || null',
|
|
349
|
-
'[attr.aria-disabled]': 'disabled.toString()',
|
|
350
|
-
'[attr.aria-selected]': 'ariaSelected',
|
|
351
|
-
'(click)': '_handleClick($event)',
|
|
352
|
-
'(keydown)': '_handleKeydown($event)',
|
|
353
|
-
'(focus)': 'focus()',
|
|
354
|
-
'(blur)': '_blur()',
|
|
355
|
-
},
|
|
356
|
-
}]
|
|
357
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.Platform }, { type: undefined, decorators: [{
|
|
358
|
-
type: Optional
|
|
359
|
-
}, {
|
|
360
|
-
type: Inject,
|
|
361
|
-
args: [MAT_RIPPLE_GLOBAL_OPTIONS]
|
|
362
|
-
}] }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
363
|
-
type: Inject,
|
|
364
|
-
args: [DOCUMENT]
|
|
365
|
-
}] }, { type: undefined, decorators: [{
|
|
366
|
-
type: Optional
|
|
367
|
-
}, {
|
|
368
|
-
type: Inject,
|
|
369
|
-
args: [ANIMATION_MODULE_TYPE]
|
|
370
|
-
}] }, { type: undefined, decorators: [{
|
|
371
|
-
type: Attribute,
|
|
372
|
-
args: ['tabindex']
|
|
373
|
-
}] }]; }, propDecorators: { avatar: [{
|
|
374
|
-
type: ContentChild,
|
|
375
|
-
args: [MAT_LEGACY_CHIP_AVATAR]
|
|
376
|
-
}], trailingIcon: [{
|
|
377
|
-
type: ContentChild,
|
|
378
|
-
args: [MAT_LEGACY_CHIP_TRAILING_ICON]
|
|
379
|
-
}], removeIcon: [{
|
|
380
|
-
type: ContentChild,
|
|
381
|
-
args: [MAT_LEGACY_CHIP_REMOVE]
|
|
382
|
-
}], role: [{
|
|
383
|
-
type: Input
|
|
384
|
-
}], selected: [{
|
|
385
|
-
type: Input
|
|
386
|
-
}], value: [{
|
|
387
|
-
type: Input
|
|
388
|
-
}], selectable: [{
|
|
389
|
-
type: Input
|
|
390
|
-
}], disabled: [{
|
|
391
|
-
type: Input
|
|
392
|
-
}], removable: [{
|
|
393
|
-
type: Input
|
|
394
|
-
}], selectionChange: [{
|
|
395
|
-
type: Output
|
|
396
|
-
}], destroyed: [{
|
|
397
|
-
type: Output
|
|
398
|
-
}], removed: [{
|
|
399
|
-
type: Output
|
|
400
|
-
}] } });
|
|
401
|
-
/**
|
|
402
|
-
* Applies proper (click) support and adds styling for use with the Material Design "cancel" icon
|
|
403
|
-
* available at https://material.io/icons/#ic_cancel.
|
|
404
|
-
*
|
|
405
|
-
* Example:
|
|
406
|
-
*
|
|
407
|
-
* `<mat-chip>
|
|
408
|
-
* <mat-icon matChipRemove>cancel</mat-icon>
|
|
409
|
-
* </mat-chip>`
|
|
410
|
-
*
|
|
411
|
-
* You *may* use a custom icon, but you may need to override the `mat-chip-remove` positioning
|
|
412
|
-
* styles to properly center the icon within the chip.
|
|
413
|
-
*
|
|
414
|
-
* @deprecated Use `MatChipRemove` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
415
|
-
* @breaking-change 17.0.0
|
|
416
|
-
*/
|
|
417
|
-
class MatLegacyChipRemove {
|
|
418
|
-
constructor(_parentChip, elementRef) {
|
|
419
|
-
this._parentChip = _parentChip;
|
|
420
|
-
if (elementRef.nativeElement.nodeName === 'BUTTON') {
|
|
421
|
-
elementRef.nativeElement.setAttribute('type', 'button');
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
/** Calls the parent chip's public `remove()` method if applicable. */
|
|
425
|
-
_handleClick(event) {
|
|
426
|
-
const parentChip = this._parentChip;
|
|
427
|
-
if (parentChip.removable && !parentChip.disabled) {
|
|
428
|
-
parentChip.remove();
|
|
429
|
-
}
|
|
430
|
-
// We need to stop event propagation because otherwise the event will bubble up to the
|
|
431
|
-
// form field and cause the `onContainerClick` method to be invoked. This method would then
|
|
432
|
-
// reset the focused chip that has been focused after chip removal. Usually the parent
|
|
433
|
-
// the parent click listener of the `MatChip` would prevent propagation, but it can happen
|
|
434
|
-
// that the chip is being removed before the event bubbles up.
|
|
435
|
-
event.stopPropagation();
|
|
436
|
-
event.preventDefault();
|
|
437
|
-
}
|
|
438
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipRemove, deps: [{ token: MatLegacyChip }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
439
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyChipRemove, selector: "[matChipRemove]", host: { listeners: { "click": "_handleClick($event)" }, classAttribute: "mat-chip-remove mat-chip-trailing-icon" }, providers: [{ provide: MAT_LEGACY_CHIP_REMOVE, useExisting: MatLegacyChipRemove }], ngImport: i0 }); }
|
|
440
|
-
}
|
|
441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipRemove, decorators: [{
|
|
442
|
-
type: Directive,
|
|
443
|
-
args: [{
|
|
444
|
-
selector: '[matChipRemove]',
|
|
445
|
-
host: {
|
|
446
|
-
'class': 'mat-chip-remove mat-chip-trailing-icon',
|
|
447
|
-
'(click)': '_handleClick($event)',
|
|
448
|
-
},
|
|
449
|
-
providers: [{ provide: MAT_LEGACY_CHIP_REMOVE, useExisting: MatLegacyChipRemove }],
|
|
450
|
-
}]
|
|
451
|
-
}], ctorParameters: function () { return [{ type: MatLegacyChip }, { type: i0.ElementRef }]; } });
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* Injection token to be used to override the default options for the chips module.
|
|
455
|
-
* @deprecated Use `MAT_CHIPS_DEFAULT_OPTIONS` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
456
|
-
* @breaking-change 17.0.0
|
|
457
|
-
*/
|
|
458
|
-
const MAT_LEGACY_CHIPS_DEFAULT_OPTIONS = new InjectionToken('mat-chips-default-options');
|
|
459
|
-
|
|
460
|
-
// Boilerplate for applying mixins to MatChipList.
|
|
461
|
-
/** @docs-private */
|
|
462
|
-
const _MatChipListBase = mixinErrorState(class {
|
|
463
|
-
constructor(_defaultErrorStateMatcher, _parentForm, _parentFormGroup,
|
|
464
|
-
/**
|
|
465
|
-
* Form control bound to the component.
|
|
466
|
-
* Implemented as part of `MatFormFieldControl`.
|
|
467
|
-
* @docs-private
|
|
468
|
-
*/
|
|
469
|
-
ngControl) {
|
|
470
|
-
this._defaultErrorStateMatcher = _defaultErrorStateMatcher;
|
|
471
|
-
this._parentForm = _parentForm;
|
|
472
|
-
this._parentFormGroup = _parentFormGroup;
|
|
473
|
-
this.ngControl = ngControl;
|
|
474
|
-
/**
|
|
475
|
-
* Emits whenever the component state changes and should cause the parent
|
|
476
|
-
* form-field to update. Implemented as part of `MatFormFieldControl`.
|
|
477
|
-
* @docs-private
|
|
478
|
-
*/
|
|
479
|
-
this.stateChanges = new Subject();
|
|
480
|
-
}
|
|
481
|
-
});
|
|
482
|
-
// Increasing integer for generating unique ids for chip-list components.
|
|
483
|
-
let nextUniqueId$1 = 0;
|
|
484
|
-
/**
|
|
485
|
-
* Change event object that is emitted when the chip list value has changed.
|
|
486
|
-
* @deprecated Use `MatChipListChange` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
487
|
-
* @breaking-change 17.0.0
|
|
488
|
-
*/
|
|
489
|
-
class MatLegacyChipListChange {
|
|
490
|
-
constructor(
|
|
491
|
-
/** Chip list that emitted the event. */
|
|
492
|
-
source,
|
|
493
|
-
/** Value of the chip list when the event was emitted. */
|
|
494
|
-
value) {
|
|
495
|
-
this.source = source;
|
|
496
|
-
this.value = value;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
/**
|
|
500
|
-
* A material design chips component (named ChipList for its similarity to the List component).
|
|
501
|
-
* @deprecated Use `MatChipList` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
502
|
-
* @breaking-change 17.0.0
|
|
503
|
-
*/
|
|
504
|
-
class MatLegacyChipList extends _MatChipListBase {
|
|
505
|
-
/** The array of selected chips inside chip list. */
|
|
506
|
-
get selected() {
|
|
507
|
-
return this.multiple ? this._selectionModel?.selected || [] : this._selectionModel?.selected[0];
|
|
508
|
-
}
|
|
509
|
-
/** The ARIA role applied to the chip list. */
|
|
510
|
-
get role() {
|
|
511
|
-
if (this._explicitRole) {
|
|
512
|
-
return this._explicitRole;
|
|
513
|
-
}
|
|
514
|
-
return this.empty ? null : 'listbox';
|
|
515
|
-
}
|
|
516
|
-
set role(role) {
|
|
517
|
-
this._explicitRole = role;
|
|
518
|
-
}
|
|
519
|
-
/** Whether the user should be allowed to select multiple chips. */
|
|
520
|
-
get multiple() {
|
|
521
|
-
return this._multiple;
|
|
522
|
-
}
|
|
523
|
-
set multiple(value) {
|
|
524
|
-
this._multiple = coerceBooleanProperty(value);
|
|
525
|
-
this._syncChipsState();
|
|
526
|
-
}
|
|
527
|
-
/**
|
|
528
|
-
* A function to compare the option values with the selected values. The first argument
|
|
529
|
-
* is a value from an option. The second is a value from the selection. A boolean
|
|
530
|
-
* should be returned.
|
|
531
|
-
*/
|
|
532
|
-
get compareWith() {
|
|
533
|
-
return this._compareWith;
|
|
534
|
-
}
|
|
535
|
-
set compareWith(fn) {
|
|
536
|
-
this._compareWith = fn;
|
|
537
|
-
if (this._selectionModel) {
|
|
538
|
-
// A different comparator means the selection could change.
|
|
539
|
-
this._initializeSelection();
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
/**
|
|
543
|
-
* Implemented as part of MatFormFieldControl.
|
|
544
|
-
* @docs-private
|
|
545
|
-
*/
|
|
546
|
-
get value() {
|
|
547
|
-
return this._value;
|
|
548
|
-
}
|
|
549
|
-
set value(value) {
|
|
550
|
-
this.writeValue(value);
|
|
551
|
-
this._value = value;
|
|
552
|
-
}
|
|
553
|
-
/**
|
|
554
|
-
* Implemented as part of MatFormFieldControl.
|
|
555
|
-
* @docs-private
|
|
556
|
-
*/
|
|
557
|
-
get id() {
|
|
558
|
-
return this._chipInput ? this._chipInput.id : this._uid;
|
|
559
|
-
}
|
|
560
|
-
/**
|
|
561
|
-
* Implemented as part of MatFormFieldControl.
|
|
562
|
-
* @docs-private
|
|
563
|
-
*/
|
|
564
|
-
get required() {
|
|
565
|
-
return this._required ?? this.ngControl?.control?.hasValidator(Validators.required) ?? false;
|
|
566
|
-
}
|
|
567
|
-
set required(value) {
|
|
568
|
-
this._required = coerceBooleanProperty(value);
|
|
569
|
-
this.stateChanges.next();
|
|
570
|
-
}
|
|
571
|
-
/**
|
|
572
|
-
* Implemented as part of MatFormFieldControl.
|
|
573
|
-
* @docs-private
|
|
574
|
-
*/
|
|
575
|
-
get placeholder() {
|
|
576
|
-
return this._chipInput ? this._chipInput.placeholder : this._placeholder;
|
|
577
|
-
}
|
|
578
|
-
set placeholder(value) {
|
|
579
|
-
this._placeholder = value;
|
|
580
|
-
this.stateChanges.next();
|
|
581
|
-
}
|
|
582
|
-
/** Whether any chips or the matChipInput inside of this chip-list has focus. */
|
|
583
|
-
get focused() {
|
|
584
|
-
return (this._chipInput && this._chipInput.focused) || this._hasFocusedChip();
|
|
585
|
-
}
|
|
586
|
-
/**
|
|
587
|
-
* Implemented as part of MatFormFieldControl.
|
|
588
|
-
* @docs-private
|
|
589
|
-
*/
|
|
590
|
-
get empty() {
|
|
591
|
-
return (!this._chipInput || this._chipInput.empty) && (!this.chips || this.chips.length === 0);
|
|
592
|
-
}
|
|
593
|
-
/**
|
|
594
|
-
* Implemented as part of MatFormFieldControl.
|
|
595
|
-
* @docs-private
|
|
596
|
-
*/
|
|
597
|
-
get shouldLabelFloat() {
|
|
598
|
-
return !this.empty || this.focused;
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* Implemented as part of MatFormFieldControl.
|
|
602
|
-
* @docs-private
|
|
603
|
-
*/
|
|
604
|
-
get disabled() {
|
|
605
|
-
return this.ngControl ? !!this.ngControl.disabled : this._disabled;
|
|
606
|
-
}
|
|
607
|
-
set disabled(value) {
|
|
608
|
-
this._disabled = coerceBooleanProperty(value);
|
|
609
|
-
this._syncChipsState();
|
|
610
|
-
}
|
|
611
|
-
/**
|
|
612
|
-
* Whether or not this chip list is selectable. When a chip list is not selectable,
|
|
613
|
-
* the selected states for all the chips inside the chip list are always ignored.
|
|
614
|
-
*/
|
|
615
|
-
get selectable() {
|
|
616
|
-
return this._selectable;
|
|
617
|
-
}
|
|
618
|
-
set selectable(value) {
|
|
619
|
-
this._selectable = coerceBooleanProperty(value);
|
|
620
|
-
this._syncChipsState();
|
|
621
|
-
}
|
|
622
|
-
set tabIndex(value) {
|
|
623
|
-
this._userTabIndex = value;
|
|
624
|
-
this._tabIndex = value;
|
|
625
|
-
}
|
|
626
|
-
/** Combined stream of all of the child chips' selection change events. */
|
|
627
|
-
get chipSelectionChanges() {
|
|
628
|
-
return merge(...this.chips.map(chip => chip.selectionChange));
|
|
629
|
-
}
|
|
630
|
-
/** Combined stream of all of the child chips' focus change events. */
|
|
631
|
-
get chipFocusChanges() {
|
|
632
|
-
return merge(...this.chips.map(chip => chip._onFocus));
|
|
633
|
-
}
|
|
634
|
-
/** Combined stream of all of the child chips' blur change events. */
|
|
635
|
-
get chipBlurChanges() {
|
|
636
|
-
return merge(...this.chips.map(chip => chip._onBlur));
|
|
637
|
-
}
|
|
638
|
-
/** Combined stream of all of the child chips' remove change events. */
|
|
639
|
-
get chipRemoveChanges() {
|
|
640
|
-
return merge(...this.chips.map(chip => chip.destroyed));
|
|
641
|
-
}
|
|
642
|
-
constructor(_elementRef, _changeDetectorRef, _dir, _parentForm, _parentFormGroup, _defaultErrorStateMatcher, ngControl) {
|
|
643
|
-
super(_defaultErrorStateMatcher, _parentForm, _parentFormGroup, ngControl);
|
|
644
|
-
this._elementRef = _elementRef;
|
|
645
|
-
this._changeDetectorRef = _changeDetectorRef;
|
|
646
|
-
this._dir = _dir;
|
|
647
|
-
/**
|
|
648
|
-
* Implemented as part of MatFormFieldControl.
|
|
649
|
-
* @docs-private
|
|
650
|
-
*/
|
|
651
|
-
this.controlType = 'mat-chip-list';
|
|
652
|
-
/**
|
|
653
|
-
* When a chip is destroyed, we store the index of the destroyed chip until the chips
|
|
654
|
-
* query list notifies about the update. This is necessary because we cannot determine an
|
|
655
|
-
* appropriate chip that should receive focus until the array of chips updated completely.
|
|
656
|
-
*/
|
|
657
|
-
this._lastDestroyedChipIndex = null;
|
|
658
|
-
/** Subject that emits when the component has been destroyed. */
|
|
659
|
-
this._destroyed = new Subject();
|
|
660
|
-
/** Uid of the chip list */
|
|
661
|
-
this._uid = `mat-chip-list-${nextUniqueId$1++}`;
|
|
662
|
-
/** Tab index for the chip list. */
|
|
663
|
-
this._tabIndex = 0;
|
|
664
|
-
/**
|
|
665
|
-
* User defined tab index.
|
|
666
|
-
* When it is not null, use user defined tab index. Otherwise use _tabIndex
|
|
667
|
-
*/
|
|
668
|
-
this._userTabIndex = null;
|
|
669
|
-
/** Function when touched */
|
|
670
|
-
this._onTouched = () => { };
|
|
671
|
-
/** Function when changed */
|
|
672
|
-
this._onChange = () => { };
|
|
673
|
-
this._multiple = false;
|
|
674
|
-
this._compareWith = (o1, o2) => o1 === o2;
|
|
675
|
-
this._disabled = false;
|
|
676
|
-
/** Orientation of the chip list. */
|
|
677
|
-
this.ariaOrientation = 'horizontal';
|
|
678
|
-
this._selectable = true;
|
|
679
|
-
/** Event emitted when the selected chip list value has been changed by the user. */
|
|
680
|
-
this.change = new EventEmitter();
|
|
681
|
-
/**
|
|
682
|
-
* Event that emits whenever the raw value of the chip-list changes. This is here primarily
|
|
683
|
-
* to facilitate the two-way binding for the `value` input.
|
|
684
|
-
* @docs-private
|
|
685
|
-
*/
|
|
686
|
-
this.valueChange = new EventEmitter();
|
|
687
|
-
if (this.ngControl) {
|
|
688
|
-
this.ngControl.valueAccessor = this;
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
ngAfterContentInit() {
|
|
692
|
-
this._keyManager = new FocusKeyManager(this.chips)
|
|
693
|
-
.withWrap()
|
|
694
|
-
.withVerticalOrientation()
|
|
695
|
-
.withHomeAndEnd()
|
|
696
|
-
.withHorizontalOrientation(this._dir ? this._dir.value : 'ltr');
|
|
697
|
-
if (this._dir) {
|
|
698
|
-
this._dir.change
|
|
699
|
-
.pipe(takeUntil(this._destroyed))
|
|
700
|
-
.subscribe(dir => this._keyManager.withHorizontalOrientation(dir));
|
|
701
|
-
}
|
|
702
|
-
this._keyManager.tabOut.subscribe(() => this._allowFocusEscape());
|
|
703
|
-
// When the list changes, re-subscribe
|
|
704
|
-
this.chips.changes.pipe(startWith(null), takeUntil(this._destroyed)).subscribe(() => {
|
|
705
|
-
if (this.disabled || !this.selectable) {
|
|
706
|
-
// Since this happens after the content has been
|
|
707
|
-
// checked, we need to defer it to the next tick.
|
|
708
|
-
Promise.resolve().then(() => {
|
|
709
|
-
this._syncChipsState();
|
|
710
|
-
});
|
|
711
|
-
}
|
|
712
|
-
this._resetChips();
|
|
713
|
-
// Reset chips selected/deselected status
|
|
714
|
-
this._initializeSelection();
|
|
715
|
-
// Check to see if we need to update our tab index
|
|
716
|
-
this._updateTabIndex();
|
|
717
|
-
// Check to see if we have a destroyed chip and need to refocus
|
|
718
|
-
this._updateFocusForDestroyedChips();
|
|
719
|
-
this.stateChanges.next();
|
|
720
|
-
});
|
|
721
|
-
}
|
|
722
|
-
ngOnInit() {
|
|
723
|
-
this._selectionModel = new SelectionModel(this.multiple, undefined, false);
|
|
724
|
-
this.stateChanges.next();
|
|
725
|
-
}
|
|
726
|
-
ngDoCheck() {
|
|
727
|
-
if (this.ngControl) {
|
|
728
|
-
// We need to re-evaluate this on every change detection cycle, because there are some
|
|
729
|
-
// error triggers that we can't subscribe to (e.g. parent form submissions). This means
|
|
730
|
-
// that whatever logic is in here has to be super lean or we risk destroying the performance.
|
|
731
|
-
this.updateErrorState();
|
|
732
|
-
if (this.ngControl.disabled !== this._disabled) {
|
|
733
|
-
this.disabled = !!this.ngControl.disabled;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
ngOnDestroy() {
|
|
738
|
-
this._keyManager?.destroy();
|
|
739
|
-
this._destroyed.next();
|
|
740
|
-
this._destroyed.complete();
|
|
741
|
-
this.stateChanges.complete();
|
|
742
|
-
this._dropSubscriptions();
|
|
743
|
-
}
|
|
744
|
-
/** Associates an HTML input element with this chip list. */
|
|
745
|
-
registerInput(inputElement) {
|
|
746
|
-
this._chipInput = inputElement;
|
|
747
|
-
// We use this attribute to match the chip list to its input in test harnesses.
|
|
748
|
-
// Set the attribute directly here to avoid "changed after checked" errors.
|
|
749
|
-
this._elementRef.nativeElement.setAttribute('data-mat-chip-input', inputElement.id);
|
|
750
|
-
}
|
|
751
|
-
/**
|
|
752
|
-
* Implemented as part of MatFormFieldControl.
|
|
753
|
-
* @docs-private
|
|
754
|
-
*/
|
|
755
|
-
setDescribedByIds(ids) {
|
|
756
|
-
if (ids.length) {
|
|
757
|
-
this._elementRef.nativeElement.setAttribute('aria-describedby', ids.join(' '));
|
|
758
|
-
}
|
|
759
|
-
else {
|
|
760
|
-
this._elementRef.nativeElement.removeAttribute('aria-describedby');
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
// Implemented as part of ControlValueAccessor.
|
|
764
|
-
writeValue(value) {
|
|
765
|
-
if (this.chips) {
|
|
766
|
-
this._setSelectionByValue(value, false);
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
// Implemented as part of ControlValueAccessor.
|
|
770
|
-
registerOnChange(fn) {
|
|
771
|
-
this._onChange = fn;
|
|
772
|
-
}
|
|
773
|
-
// Implemented as part of ControlValueAccessor.
|
|
774
|
-
registerOnTouched(fn) {
|
|
775
|
-
this._onTouched = fn;
|
|
776
|
-
}
|
|
777
|
-
// Implemented as part of ControlValueAccessor.
|
|
778
|
-
setDisabledState(isDisabled) {
|
|
779
|
-
this.disabled = isDisabled;
|
|
780
|
-
this.stateChanges.next();
|
|
781
|
-
}
|
|
782
|
-
/**
|
|
783
|
-
* Implemented as part of MatFormFieldControl.
|
|
784
|
-
* @docs-private
|
|
785
|
-
*/
|
|
786
|
-
onContainerClick(event) {
|
|
787
|
-
if (!this._originatesFromChip(event)) {
|
|
788
|
-
this.focus();
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
/**
|
|
792
|
-
* Focuses the first non-disabled chip in this chip list, or the associated input when there
|
|
793
|
-
* are no eligible chips.
|
|
794
|
-
*/
|
|
795
|
-
focus(options) {
|
|
796
|
-
if (this.disabled) {
|
|
797
|
-
return;
|
|
798
|
-
}
|
|
799
|
-
// TODO: ARIA says this should focus the first `selected` chip if any are selected.
|
|
800
|
-
// Focus on first element if there's no chipInput inside chip-list
|
|
801
|
-
if (this._chipInput && this._chipInput.focused) {
|
|
802
|
-
// do nothing
|
|
803
|
-
}
|
|
804
|
-
else if (this.chips.length > 0) {
|
|
805
|
-
this._keyManager.setFirstItemActive();
|
|
806
|
-
this.stateChanges.next();
|
|
807
|
-
}
|
|
808
|
-
else {
|
|
809
|
-
this._focusInput(options);
|
|
810
|
-
this.stateChanges.next();
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
/** Attempt to focus an input if we have one. */
|
|
814
|
-
_focusInput(options) {
|
|
815
|
-
if (this._chipInput) {
|
|
816
|
-
this._chipInput.focus(options);
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
/**
|
|
820
|
-
* Pass events to the keyboard manager. Available here for tests.
|
|
821
|
-
*/
|
|
822
|
-
_keydown(event) {
|
|
823
|
-
const target = event.target;
|
|
824
|
-
if (target && target.classList.contains('mat-chip')) {
|
|
825
|
-
this._keyManager.onKeydown(event);
|
|
826
|
-
this.stateChanges.next();
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
/**
|
|
830
|
-
* Check the tab index as you should not be allowed to focus an empty list.
|
|
831
|
-
*/
|
|
832
|
-
_updateTabIndex() {
|
|
833
|
-
// If we have 0 chips, we should not allow keyboard focus
|
|
834
|
-
this._tabIndex = this._userTabIndex || (this.chips.length === 0 ? -1 : 0);
|
|
835
|
-
}
|
|
836
|
-
/**
|
|
837
|
-
* If the amount of chips changed, we need to update the
|
|
838
|
-
* key manager state and focus the next closest chip.
|
|
839
|
-
*/
|
|
840
|
-
_updateFocusForDestroyedChips() {
|
|
841
|
-
// Move focus to the closest chip. If no other chips remain, focus the chip-list itself.
|
|
842
|
-
if (this._lastDestroyedChipIndex != null) {
|
|
843
|
-
if (this.chips.length) {
|
|
844
|
-
const newChipIndex = Math.min(this._lastDestroyedChipIndex, this.chips.length - 1);
|
|
845
|
-
this._keyManager.setActiveItem(newChipIndex);
|
|
846
|
-
}
|
|
847
|
-
else {
|
|
848
|
-
this.focus();
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
this._lastDestroyedChipIndex = null;
|
|
852
|
-
}
|
|
853
|
-
/**
|
|
854
|
-
* Utility to ensure all indexes are valid.
|
|
855
|
-
*
|
|
856
|
-
* @param index The index to be checked.
|
|
857
|
-
* @returns True if the index is valid for our list of chips.
|
|
858
|
-
*/
|
|
859
|
-
_isValidIndex(index) {
|
|
860
|
-
return index >= 0 && index < this.chips.length;
|
|
861
|
-
}
|
|
862
|
-
_setSelectionByValue(value, isUserInput = true) {
|
|
863
|
-
this._clearSelection();
|
|
864
|
-
this.chips.forEach(chip => chip.deselect());
|
|
865
|
-
if (Array.isArray(value)) {
|
|
866
|
-
value.forEach(currentValue => this._selectValue(currentValue, isUserInput));
|
|
867
|
-
this._sortValues();
|
|
868
|
-
}
|
|
869
|
-
else {
|
|
870
|
-
const correspondingChip = this._selectValue(value, isUserInput);
|
|
871
|
-
// Shift focus to the active item. Note that we shouldn't do this in multiple
|
|
872
|
-
// mode, because we don't know what chip the user interacted with last.
|
|
873
|
-
if (correspondingChip) {
|
|
874
|
-
if (isUserInput) {
|
|
875
|
-
this._keyManager.setActiveItem(correspondingChip);
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
/**
|
|
881
|
-
* Finds and selects the chip based on its value.
|
|
882
|
-
* @returns Chip that has the corresponding value.
|
|
883
|
-
*/
|
|
884
|
-
_selectValue(value, isUserInput = true) {
|
|
885
|
-
const correspondingChip = this.chips.find(chip => {
|
|
886
|
-
return chip.value != null && this._compareWith(chip.value, value);
|
|
887
|
-
});
|
|
888
|
-
if (correspondingChip) {
|
|
889
|
-
isUserInput ? correspondingChip.selectViaInteraction() : correspondingChip.select();
|
|
890
|
-
this._selectionModel.select(correspondingChip);
|
|
891
|
-
}
|
|
892
|
-
return correspondingChip;
|
|
893
|
-
}
|
|
894
|
-
_initializeSelection() {
|
|
895
|
-
// Defer setting the value in order to avoid the "Expression
|
|
896
|
-
// has changed after it was checked" errors from Angular.
|
|
897
|
-
Promise.resolve().then(() => {
|
|
898
|
-
if (this.ngControl || this._value) {
|
|
899
|
-
this._setSelectionByValue(this.ngControl ? this.ngControl.value : this._value, false);
|
|
900
|
-
this.stateChanges.next();
|
|
901
|
-
}
|
|
902
|
-
});
|
|
903
|
-
}
|
|
904
|
-
/**
|
|
905
|
-
* Deselects every chip in the list.
|
|
906
|
-
* @param skip Chip that should not be deselected.
|
|
907
|
-
*/
|
|
908
|
-
_clearSelection(skip) {
|
|
909
|
-
this._selectionModel.clear();
|
|
910
|
-
this.chips.forEach(chip => {
|
|
911
|
-
if (chip !== skip) {
|
|
912
|
-
chip.deselect();
|
|
913
|
-
}
|
|
914
|
-
});
|
|
915
|
-
this.stateChanges.next();
|
|
916
|
-
}
|
|
917
|
-
/**
|
|
918
|
-
* Sorts the model values, ensuring that they keep the same
|
|
919
|
-
* order that they have in the panel.
|
|
920
|
-
*/
|
|
921
|
-
_sortValues() {
|
|
922
|
-
if (this._multiple) {
|
|
923
|
-
this._selectionModel.clear();
|
|
924
|
-
this.chips.forEach(chip => {
|
|
925
|
-
if (chip.selected) {
|
|
926
|
-
this._selectionModel.select(chip);
|
|
927
|
-
}
|
|
928
|
-
});
|
|
929
|
-
this.stateChanges.next();
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
/** Emits change event to set the model value. */
|
|
933
|
-
_propagateChanges(fallbackValue) {
|
|
934
|
-
let valueToEmit = null;
|
|
935
|
-
if (Array.isArray(this.selected)) {
|
|
936
|
-
valueToEmit = this.selected.map(chip => chip.value);
|
|
937
|
-
}
|
|
938
|
-
else {
|
|
939
|
-
valueToEmit = this.selected ? this.selected.value : fallbackValue;
|
|
940
|
-
}
|
|
941
|
-
this._value = valueToEmit;
|
|
942
|
-
this.change.emit(new MatLegacyChipListChange(this, valueToEmit));
|
|
943
|
-
this.valueChange.emit(valueToEmit);
|
|
944
|
-
this._onChange(valueToEmit);
|
|
945
|
-
this._changeDetectorRef.markForCheck();
|
|
946
|
-
}
|
|
947
|
-
/** When blurred, mark the field as touched when focus moved outside the chip list. */
|
|
948
|
-
_blur() {
|
|
949
|
-
if (!this._hasFocusedChip()) {
|
|
950
|
-
this._keyManager.setActiveItem(-1);
|
|
951
|
-
}
|
|
952
|
-
if (!this.disabled) {
|
|
953
|
-
if (this._chipInput) {
|
|
954
|
-
// If there's a chip input, we should check whether the focus moved to chip input.
|
|
955
|
-
// If the focus is not moved to chip input, mark the field as touched. If the focus moved
|
|
956
|
-
// to chip input, do nothing.
|
|
957
|
-
// Timeout is needed to wait for the focus() event trigger on chip input.
|
|
958
|
-
setTimeout(() => {
|
|
959
|
-
if (!this.focused) {
|
|
960
|
-
this._markAsTouched();
|
|
961
|
-
}
|
|
962
|
-
});
|
|
963
|
-
}
|
|
964
|
-
else {
|
|
965
|
-
// If there's no chip input, then mark the field as touched.
|
|
966
|
-
this._markAsTouched();
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
/** Mark the field as touched */
|
|
971
|
-
_markAsTouched() {
|
|
972
|
-
this._onTouched();
|
|
973
|
-
this._changeDetectorRef.markForCheck();
|
|
974
|
-
this.stateChanges.next();
|
|
975
|
-
}
|
|
976
|
-
/**
|
|
977
|
-
* Removes the `tabindex` from the chip list and resets it back afterwards, allowing the
|
|
978
|
-
* user to tab out of it. This prevents the list from capturing focus and redirecting
|
|
979
|
-
* it back to the first chip, creating a focus trap, if it user tries to tab away.
|
|
980
|
-
*/
|
|
981
|
-
_allowFocusEscape() {
|
|
982
|
-
if (this._tabIndex !== -1) {
|
|
983
|
-
this._tabIndex = -1;
|
|
984
|
-
setTimeout(() => {
|
|
985
|
-
this._tabIndex = this._userTabIndex || 0;
|
|
986
|
-
this._changeDetectorRef.markForCheck();
|
|
987
|
-
});
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
_resetChips() {
|
|
991
|
-
this._dropSubscriptions();
|
|
992
|
-
this._listenToChipsFocus();
|
|
993
|
-
this._listenToChipsSelection();
|
|
994
|
-
this._listenToChipsRemoved();
|
|
995
|
-
}
|
|
996
|
-
_dropSubscriptions() {
|
|
997
|
-
if (this._chipFocusSubscription) {
|
|
998
|
-
this._chipFocusSubscription.unsubscribe();
|
|
999
|
-
this._chipFocusSubscription = null;
|
|
1000
|
-
}
|
|
1001
|
-
if (this._chipBlurSubscription) {
|
|
1002
|
-
this._chipBlurSubscription.unsubscribe();
|
|
1003
|
-
this._chipBlurSubscription = null;
|
|
1004
|
-
}
|
|
1005
|
-
if (this._chipSelectionSubscription) {
|
|
1006
|
-
this._chipSelectionSubscription.unsubscribe();
|
|
1007
|
-
this._chipSelectionSubscription = null;
|
|
1008
|
-
}
|
|
1009
|
-
if (this._chipRemoveSubscription) {
|
|
1010
|
-
this._chipRemoveSubscription.unsubscribe();
|
|
1011
|
-
this._chipRemoveSubscription = null;
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
/** Listens to user-generated selection events on each chip. */
|
|
1015
|
-
_listenToChipsSelection() {
|
|
1016
|
-
this._chipSelectionSubscription = this.chipSelectionChanges.subscribe(event => {
|
|
1017
|
-
event.source.selected
|
|
1018
|
-
? this._selectionModel.select(event.source)
|
|
1019
|
-
: this._selectionModel.deselect(event.source);
|
|
1020
|
-
// For single selection chip list, make sure the deselected value is unselected.
|
|
1021
|
-
if (!this.multiple) {
|
|
1022
|
-
this.chips.forEach(chip => {
|
|
1023
|
-
if (!this._selectionModel.isSelected(chip) && chip.selected) {
|
|
1024
|
-
chip.deselect();
|
|
1025
|
-
}
|
|
1026
|
-
});
|
|
1027
|
-
}
|
|
1028
|
-
if (event.isUserInput) {
|
|
1029
|
-
this._propagateChanges();
|
|
1030
|
-
}
|
|
1031
|
-
});
|
|
1032
|
-
}
|
|
1033
|
-
/** Listens to user-generated selection events on each chip. */
|
|
1034
|
-
_listenToChipsFocus() {
|
|
1035
|
-
this._chipFocusSubscription = this.chipFocusChanges.subscribe(event => {
|
|
1036
|
-
let chipIndex = this.chips.toArray().indexOf(event.chip);
|
|
1037
|
-
if (this._isValidIndex(chipIndex)) {
|
|
1038
|
-
this._keyManager.updateActiveItem(chipIndex);
|
|
1039
|
-
}
|
|
1040
|
-
this.stateChanges.next();
|
|
1041
|
-
});
|
|
1042
|
-
this._chipBlurSubscription = this.chipBlurChanges.subscribe(() => {
|
|
1043
|
-
this._blur();
|
|
1044
|
-
this.stateChanges.next();
|
|
1045
|
-
});
|
|
1046
|
-
}
|
|
1047
|
-
_listenToChipsRemoved() {
|
|
1048
|
-
this._chipRemoveSubscription = this.chipRemoveChanges.subscribe(event => {
|
|
1049
|
-
const chip = event.chip;
|
|
1050
|
-
const chipIndex = this.chips.toArray().indexOf(event.chip);
|
|
1051
|
-
// In case the chip that will be removed is currently focused, we temporarily store
|
|
1052
|
-
// the index in order to be able to determine an appropriate sibling chip that will
|
|
1053
|
-
// receive focus.
|
|
1054
|
-
if (this._isValidIndex(chipIndex) && chip._hasFocus) {
|
|
1055
|
-
this._lastDestroyedChipIndex = chipIndex;
|
|
1056
|
-
}
|
|
1057
|
-
});
|
|
1058
|
-
}
|
|
1059
|
-
/** Checks whether an event comes from inside a chip element. */
|
|
1060
|
-
_originatesFromChip(event) {
|
|
1061
|
-
let currentElement = event.target;
|
|
1062
|
-
while (currentElement && currentElement !== this._elementRef.nativeElement) {
|
|
1063
|
-
if (currentElement.classList.contains('mat-chip')) {
|
|
1064
|
-
return true;
|
|
1065
|
-
}
|
|
1066
|
-
currentElement = currentElement.parentElement;
|
|
1067
|
-
}
|
|
1068
|
-
return false;
|
|
1069
|
-
}
|
|
1070
|
-
/** Checks whether any of the chips is focused. */
|
|
1071
|
-
_hasFocusedChip() {
|
|
1072
|
-
return this.chips && this.chips.some(chip => chip._hasFocus);
|
|
1073
|
-
}
|
|
1074
|
-
/** Syncs the list's state with the individual chips. */
|
|
1075
|
-
_syncChipsState() {
|
|
1076
|
-
if (this.chips) {
|
|
1077
|
-
this.chips.forEach(chip => {
|
|
1078
|
-
chip._chipListDisabled = this._disabled;
|
|
1079
|
-
chip._chipListMultiple = this.multiple;
|
|
1080
|
-
chip.chipListSelectable = this._selectable;
|
|
1081
|
-
});
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1$1.Directionality, optional: true }, { token: i2.NgForm, optional: true }, { token: i2.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: i2.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1085
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyChipList, selector: "mat-chip-list", inputs: { role: "role", userAriaDescribedBy: ["aria-describedby", "userAriaDescribedBy"], errorStateMatcher: "errorStateMatcher", multiple: "multiple", compareWith: "compareWith", value: "value", required: "required", placeholder: "placeholder", disabled: "disabled", ariaOrientation: ["aria-orientation", "ariaOrientation"], selectable: "selectable", tabIndex: "tabIndex" }, outputs: { change: "change", valueChange: "valueChange" }, host: { attributes: { "ngSkipHydration": "" }, listeners: { "focus": "focus()", "blur": "_blur()", "keydown": "_keydown($event)" }, properties: { "attr.tabindex": "disabled ? null : _tabIndex", "attr.aria-required": "role ? required : null", "attr.aria-disabled": "disabled.toString()", "attr.aria-invalid": "errorState", "attr.aria-multiselectable": "multiple", "attr.role": "role", "class.mat-chip-list-disabled": "disabled", "class.mat-chip-list-invalid": "errorState", "class.mat-chip-list-required": "required", "attr.aria-orientation": "ariaOrientation", "id": "_uid" }, classAttribute: "mat-chip-list" }, providers: [{ provide: MatLegacyFormFieldControl, useExisting: MatLegacyChipList }], queries: [{ propertyName: "chips", predicate: MatLegacyChip, descendants: true }], exportAs: ["matChipList"], usesInheritance: true, ngImport: i0, template: `<div class="mat-chip-list-wrapper"><ng-content></ng-content></div>`, isInline: true, styles: [".mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.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-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.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.mat-chip-selected{outline-width:3px}.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;transform:translateZ(0)}.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}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1086
|
-
}
|
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipList, decorators: [{
|
|
1088
|
-
type: Component,
|
|
1089
|
-
args: [{ selector: 'mat-chip-list', template: `<div class="mat-chip-list-wrapper"><ng-content></ng-content></div>`, exportAs: 'matChipList', host: {
|
|
1090
|
-
'[attr.tabindex]': 'disabled ? null : _tabIndex',
|
|
1091
|
-
'[attr.aria-required]': 'role ? required : null',
|
|
1092
|
-
'[attr.aria-disabled]': 'disabled.toString()',
|
|
1093
|
-
'[attr.aria-invalid]': 'errorState',
|
|
1094
|
-
'[attr.aria-multiselectable]': 'multiple',
|
|
1095
|
-
'[attr.role]': 'role',
|
|
1096
|
-
'[class.mat-chip-list-disabled]': 'disabled',
|
|
1097
|
-
'[class.mat-chip-list-invalid]': 'errorState',
|
|
1098
|
-
'[class.mat-chip-list-required]': 'required',
|
|
1099
|
-
'[attr.aria-orientation]': 'ariaOrientation',
|
|
1100
|
-
'class': 'mat-chip-list',
|
|
1101
|
-
'(focus)': 'focus()',
|
|
1102
|
-
'(blur)': '_blur()',
|
|
1103
|
-
'(keydown)': '_keydown($event)',
|
|
1104
|
-
'[id]': '_uid',
|
|
1105
|
-
'ngSkipHydration': '',
|
|
1106
|
-
}, providers: [{ provide: MatLegacyFormFieldControl, useExisting: MatLegacyChipList }], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.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-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.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.mat-chip-selected{outline-width:3px}.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;transform:translateZ(0)}.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}"] }]
|
|
1107
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1$1.Directionality, decorators: [{
|
|
1108
|
-
type: Optional
|
|
1109
|
-
}] }, { type: i2.NgForm, decorators: [{
|
|
1110
|
-
type: Optional
|
|
1111
|
-
}] }, { type: i2.FormGroupDirective, decorators: [{
|
|
1112
|
-
type: Optional
|
|
1113
|
-
}] }, { type: i3.ErrorStateMatcher }, { type: i2.NgControl, decorators: [{
|
|
1114
|
-
type: Optional
|
|
1115
|
-
}, {
|
|
1116
|
-
type: Self
|
|
1117
|
-
}] }]; }, propDecorators: { role: [{
|
|
1118
|
-
type: Input
|
|
1119
|
-
}], userAriaDescribedBy: [{
|
|
1120
|
-
type: Input,
|
|
1121
|
-
args: ['aria-describedby']
|
|
1122
|
-
}], errorStateMatcher: [{
|
|
1123
|
-
type: Input
|
|
1124
|
-
}], multiple: [{
|
|
1125
|
-
type: Input
|
|
1126
|
-
}], compareWith: [{
|
|
1127
|
-
type: Input
|
|
1128
|
-
}], value: [{
|
|
1129
|
-
type: Input
|
|
1130
|
-
}], required: [{
|
|
1131
|
-
type: Input
|
|
1132
|
-
}], placeholder: [{
|
|
1133
|
-
type: Input
|
|
1134
|
-
}], disabled: [{
|
|
1135
|
-
type: Input
|
|
1136
|
-
}], ariaOrientation: [{
|
|
1137
|
-
type: Input,
|
|
1138
|
-
args: ['aria-orientation']
|
|
1139
|
-
}], selectable: [{
|
|
1140
|
-
type: Input
|
|
1141
|
-
}], tabIndex: [{
|
|
1142
|
-
type: Input
|
|
1143
|
-
}], change: [{
|
|
1144
|
-
type: Output
|
|
1145
|
-
}], valueChange: [{
|
|
1146
|
-
type: Output
|
|
1147
|
-
}], chips: [{
|
|
1148
|
-
type: ContentChildren,
|
|
1149
|
-
args: [MatLegacyChip, {
|
|
1150
|
-
// We need to use `descendants: true`, because Ivy will no longer match
|
|
1151
|
-
// indirect descendants if it's left as false.
|
|
1152
|
-
descendants: true,
|
|
1153
|
-
}]
|
|
1154
|
-
}] } });
|
|
1155
|
-
|
|
1156
|
-
// Increasing integer for generating unique ids.
|
|
1157
|
-
let nextUniqueId = 0;
|
|
1158
|
-
/**
|
|
1159
|
-
* Directive that adds chip-specific behaviors to an input element inside `<mat-form-field>`.
|
|
1160
|
-
* May be placed inside or outside of an `<mat-chip-list>`.
|
|
1161
|
-
* @deprecated Use `MatChipInput` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
1162
|
-
* @breaking-change 17.0.0
|
|
1163
|
-
*/
|
|
1164
|
-
class MatLegacyChipInput {
|
|
1165
|
-
/** Register input for chip list */
|
|
1166
|
-
set chipList(value) {
|
|
1167
|
-
if (value) {
|
|
1168
|
-
this._chipList = value;
|
|
1169
|
-
this._chipList.registerInput(this);
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
/**
|
|
1173
|
-
* Whether or not the chipEnd event will be emitted when the input is blurred.
|
|
1174
|
-
*/
|
|
1175
|
-
get addOnBlur() {
|
|
1176
|
-
return this._addOnBlur;
|
|
1177
|
-
}
|
|
1178
|
-
set addOnBlur(value) {
|
|
1179
|
-
this._addOnBlur = coerceBooleanProperty(value);
|
|
1180
|
-
}
|
|
1181
|
-
/** Whether the input is disabled. */
|
|
1182
|
-
get disabled() {
|
|
1183
|
-
return this._disabled || (this._chipList && this._chipList.disabled);
|
|
1184
|
-
}
|
|
1185
|
-
set disabled(value) {
|
|
1186
|
-
this._disabled = coerceBooleanProperty(value);
|
|
1187
|
-
}
|
|
1188
|
-
/** Whether the input is empty. */
|
|
1189
|
-
get empty() {
|
|
1190
|
-
return !this.inputElement.value;
|
|
1191
|
-
}
|
|
1192
|
-
constructor(_elementRef, defaultOptions) {
|
|
1193
|
-
this._elementRef = _elementRef;
|
|
1194
|
-
/** Whether the control is focused. */
|
|
1195
|
-
this.focused = false;
|
|
1196
|
-
this._addOnBlur = false;
|
|
1197
|
-
/** Emitted when a chip is to be added. */
|
|
1198
|
-
this.chipEnd = new EventEmitter();
|
|
1199
|
-
/** The input's placeholder text. */
|
|
1200
|
-
this.placeholder = '';
|
|
1201
|
-
/** Unique id for the input. */
|
|
1202
|
-
this.id = `mat-chip-list-input-${nextUniqueId++}`;
|
|
1203
|
-
this._disabled = false;
|
|
1204
|
-
this.inputElement = this._elementRef.nativeElement;
|
|
1205
|
-
this.separatorKeyCodes = defaultOptions.separatorKeyCodes;
|
|
1206
|
-
}
|
|
1207
|
-
ngOnChanges() {
|
|
1208
|
-
this._chipList.stateChanges.next();
|
|
1209
|
-
}
|
|
1210
|
-
ngOnDestroy() {
|
|
1211
|
-
this.chipEnd.complete();
|
|
1212
|
-
}
|
|
1213
|
-
ngAfterContentInit() {
|
|
1214
|
-
this._focusLastChipOnBackspace = this.empty;
|
|
1215
|
-
}
|
|
1216
|
-
/** Utility method to make host definition/tests more clear. */
|
|
1217
|
-
_keydown(event) {
|
|
1218
|
-
if (event) {
|
|
1219
|
-
// Allow the user's focus to escape when they're tabbing forward. Note that we don't
|
|
1220
|
-
// want to do this when going backwards, because focus should go back to the first chip.
|
|
1221
|
-
if (event.keyCode === TAB && !hasModifierKey(event, 'shiftKey')) {
|
|
1222
|
-
this._chipList._allowFocusEscape();
|
|
1223
|
-
}
|
|
1224
|
-
// To prevent the user from accidentally deleting chips when pressing BACKSPACE continuously,
|
|
1225
|
-
// We focus the last chip on backspace only after the user has released the backspace button,
|
|
1226
|
-
// and the input is empty (see behaviour in _keyup)
|
|
1227
|
-
if (event.keyCode === BACKSPACE && this._focusLastChipOnBackspace) {
|
|
1228
|
-
this._chipList._keyManager.setLastItemActive();
|
|
1229
|
-
event.preventDefault();
|
|
1230
|
-
return;
|
|
1231
|
-
}
|
|
1232
|
-
else {
|
|
1233
|
-
this._focusLastChipOnBackspace = false;
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
this._emitChipEnd(event);
|
|
1237
|
-
}
|
|
1238
|
-
/**
|
|
1239
|
-
* Pass events to the keyboard manager. Available here for tests.
|
|
1240
|
-
*/
|
|
1241
|
-
_keyup(event) {
|
|
1242
|
-
// Allow user to move focus to chips next time he presses backspace
|
|
1243
|
-
if (!this._focusLastChipOnBackspace && event.keyCode === BACKSPACE && this.empty) {
|
|
1244
|
-
this._focusLastChipOnBackspace = true;
|
|
1245
|
-
event.preventDefault();
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
/** Checks to see if the blur should emit the (chipEnd) event. */
|
|
1249
|
-
_blur() {
|
|
1250
|
-
if (this.addOnBlur) {
|
|
1251
|
-
this._emitChipEnd();
|
|
1252
|
-
}
|
|
1253
|
-
this.focused = false;
|
|
1254
|
-
// Blur the chip list if it is not focused
|
|
1255
|
-
if (!this._chipList.focused) {
|
|
1256
|
-
this._chipList._blur();
|
|
1257
|
-
}
|
|
1258
|
-
this._chipList.stateChanges.next();
|
|
1259
|
-
}
|
|
1260
|
-
_focus() {
|
|
1261
|
-
this.focused = true;
|
|
1262
|
-
this._focusLastChipOnBackspace = this.empty;
|
|
1263
|
-
this._chipList.stateChanges.next();
|
|
1264
|
-
}
|
|
1265
|
-
/** Checks to see if the (chipEnd) event needs to be emitted. */
|
|
1266
|
-
_emitChipEnd(event) {
|
|
1267
|
-
if (!this.inputElement.value && !!event) {
|
|
1268
|
-
this._chipList._keydown(event);
|
|
1269
|
-
}
|
|
1270
|
-
if (!event || this._isSeparatorKey(event)) {
|
|
1271
|
-
this.chipEnd.emit({
|
|
1272
|
-
input: this.inputElement,
|
|
1273
|
-
value: this.inputElement.value,
|
|
1274
|
-
chipInput: this,
|
|
1275
|
-
});
|
|
1276
|
-
event?.preventDefault();
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
_onInput() {
|
|
1280
|
-
// Let chip list know whenever the value changes.
|
|
1281
|
-
this._chipList.stateChanges.next();
|
|
1282
|
-
}
|
|
1283
|
-
/** Focuses the input. */
|
|
1284
|
-
focus(options) {
|
|
1285
|
-
this.inputElement.focus(options);
|
|
1286
|
-
}
|
|
1287
|
-
/** Clears the input */
|
|
1288
|
-
clear() {
|
|
1289
|
-
this.inputElement.value = '';
|
|
1290
|
-
this._focusLastChipOnBackspace = true;
|
|
1291
|
-
}
|
|
1292
|
-
/** Checks whether a keycode is one of the configured separators. */
|
|
1293
|
-
_isSeparatorKey(event) {
|
|
1294
|
-
return !hasModifierKey(event) && new Set(this.separatorKeyCodes).has(event.keyCode);
|
|
1295
|
-
}
|
|
1296
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipInput, deps: [{ token: i0.ElementRef }, { token: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1297
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyChipInput, selector: "input[matChipInputFor]", inputs: { chipList: ["matChipInputFor", "chipList"], addOnBlur: ["matChipInputAddOnBlur", "addOnBlur"], separatorKeyCodes: ["matChipInputSeparatorKeyCodes", "separatorKeyCodes"], placeholder: "placeholder", id: "id", disabled: "disabled" }, outputs: { chipEnd: "matChipInputTokenEnd" }, host: { listeners: { "keydown": "_keydown($event)", "keyup": "_keyup($event)", "blur": "_blur()", "focus": "_focus()", "input": "_onInput()" }, properties: { "id": "id", "attr.disabled": "disabled || null", "attr.placeholder": "placeholder || null", "attr.aria-invalid": "_chipList && _chipList.ngControl ? _chipList.ngControl.invalid : null", "attr.aria-required": "_chipList && _chipList.required || null" }, classAttribute: "mat-chip-input mat-input-element" }, exportAs: ["matChipInput", "matChipInputFor"], usesOnChanges: true, ngImport: i0 }); }
|
|
1298
|
-
}
|
|
1299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipInput, decorators: [{
|
|
1300
|
-
type: Directive,
|
|
1301
|
-
args: [{
|
|
1302
|
-
selector: 'input[matChipInputFor]',
|
|
1303
|
-
exportAs: 'matChipInput, matChipInputFor',
|
|
1304
|
-
host: {
|
|
1305
|
-
'class': 'mat-chip-input mat-input-element',
|
|
1306
|
-
'(keydown)': '_keydown($event)',
|
|
1307
|
-
'(keyup)': '_keyup($event)',
|
|
1308
|
-
'(blur)': '_blur()',
|
|
1309
|
-
'(focus)': '_focus()',
|
|
1310
|
-
'(input)': '_onInput()',
|
|
1311
|
-
'[id]': 'id',
|
|
1312
|
-
'[attr.disabled]': 'disabled || null',
|
|
1313
|
-
'[attr.placeholder]': 'placeholder || null',
|
|
1314
|
-
'[attr.aria-invalid]': '_chipList && _chipList.ngControl ? _chipList.ngControl.invalid : null',
|
|
1315
|
-
'[attr.aria-required]': '_chipList && _chipList.required || null',
|
|
1316
|
-
},
|
|
1317
|
-
}]
|
|
1318
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
1319
|
-
type: Inject,
|
|
1320
|
-
args: [MAT_LEGACY_CHIPS_DEFAULT_OPTIONS]
|
|
1321
|
-
}] }]; }, propDecorators: { chipList: [{
|
|
1322
|
-
type: Input,
|
|
1323
|
-
args: ['matChipInputFor']
|
|
1324
|
-
}], addOnBlur: [{
|
|
1325
|
-
type: Input,
|
|
1326
|
-
args: ['matChipInputAddOnBlur']
|
|
1327
|
-
}], separatorKeyCodes: [{
|
|
1328
|
-
type: Input,
|
|
1329
|
-
args: ['matChipInputSeparatorKeyCodes']
|
|
1330
|
-
}], chipEnd: [{
|
|
1331
|
-
type: Output,
|
|
1332
|
-
args: ['matChipInputTokenEnd']
|
|
1333
|
-
}], placeholder: [{
|
|
1334
|
-
type: Input
|
|
1335
|
-
}], id: [{
|
|
1336
|
-
type: Input
|
|
1337
|
-
}], disabled: [{
|
|
1338
|
-
type: Input
|
|
1339
|
-
}] } });
|
|
1340
|
-
|
|
1341
|
-
const CHIP_DECLARATIONS = [
|
|
1342
|
-
MatLegacyChipList,
|
|
1343
|
-
MatLegacyChip,
|
|
1344
|
-
MatLegacyChipInput,
|
|
1345
|
-
MatLegacyChipRemove,
|
|
1346
|
-
MatLegacyChipAvatar,
|
|
1347
|
-
MatLegacyChipTrailingIcon,
|
|
1348
|
-
];
|
|
1349
|
-
/**
|
|
1350
|
-
* @deprecated Use `MatChipsModule` from `@angular/material/chips` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
1351
|
-
* @breaking-change 17.0.0
|
|
1352
|
-
*/
|
|
1353
|
-
class MatLegacyChipsModule {
|
|
1354
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1355
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipsModule, declarations: [MatLegacyChipList,
|
|
1356
|
-
MatLegacyChip,
|
|
1357
|
-
MatLegacyChipInput,
|
|
1358
|
-
MatLegacyChipRemove,
|
|
1359
|
-
MatLegacyChipAvatar,
|
|
1360
|
-
MatLegacyChipTrailingIcon], imports: [MatCommonModule], exports: [MatLegacyChipList,
|
|
1361
|
-
MatLegacyChip,
|
|
1362
|
-
MatLegacyChipInput,
|
|
1363
|
-
MatLegacyChipRemove,
|
|
1364
|
-
MatLegacyChipAvatar,
|
|
1365
|
-
MatLegacyChipTrailingIcon] }); }
|
|
1366
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipsModule, providers: [
|
|
1367
|
-
ErrorStateMatcher,
|
|
1368
|
-
{
|
|
1369
|
-
provide: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS,
|
|
1370
|
-
useValue: {
|
|
1371
|
-
separatorKeyCodes: [ENTER],
|
|
1372
|
-
},
|
|
1373
|
-
},
|
|
1374
|
-
], imports: [MatCommonModule] }); }
|
|
1375
|
-
}
|
|
1376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyChipsModule, decorators: [{
|
|
1377
|
-
type: NgModule,
|
|
1378
|
-
args: [{
|
|
1379
|
-
imports: [MatCommonModule],
|
|
1380
|
-
exports: CHIP_DECLARATIONS,
|
|
1381
|
-
declarations: CHIP_DECLARATIONS,
|
|
1382
|
-
providers: [
|
|
1383
|
-
ErrorStateMatcher,
|
|
1384
|
-
{
|
|
1385
|
-
provide: MAT_LEGACY_CHIPS_DEFAULT_OPTIONS,
|
|
1386
|
-
useValue: {
|
|
1387
|
-
separatorKeyCodes: [ENTER],
|
|
1388
|
-
},
|
|
1389
|
-
},
|
|
1390
|
-
],
|
|
1391
|
-
}]
|
|
1392
|
-
}] });
|
|
1393
|
-
|
|
1394
|
-
/**
|
|
1395
|
-
* Generated bundle index. Do not edit.
|
|
1396
|
-
*/
|
|
1397
|
-
|
|
1398
|
-
export { MAT_LEGACY_CHIPS_DEFAULT_OPTIONS, MAT_LEGACY_CHIP_AVATAR, MAT_LEGACY_CHIP_REMOVE, MAT_LEGACY_CHIP_TRAILING_ICON, MatLegacyChip, MatLegacyChipAvatar, MatLegacyChipInput, MatLegacyChipList, MatLegacyChipListChange, MatLegacyChipRemove, MatLegacyChipSelectionChange, MatLegacyChipTrailingIcon, MatLegacyChipsModule };
|
|
1399
|
-
//# sourceMappingURL=legacy-chips.mjs.map
|