@angular/material 6.4.6 → 6.4.7
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/_theming.scss +5 -2
- package/autocomplete/typings/autocomplete-trigger.d.ts +12 -1
- package/autocomplete/typings/autocomplete.d.ts +1 -1
- package/autocomplete/typings/index.metadata.json +1 -1
- package/badge/typings/badge.d.ts +6 -2
- package/badge/typings/index.metadata.json +1 -1
- package/bottom-sheet/typings/bottom-sheet-container.d.ts +1 -1
- package/bottom-sheet/typings/index.metadata.json +1 -1
- package/bundles/material-autocomplete.umd.js +32 -1
- package/bundles/material-autocomplete.umd.js.map +1 -1
- package/bundles/material-autocomplete.umd.min.js +1 -1
- package/bundles/material-autocomplete.umd.min.js.map +1 -1
- package/bundles/material-badge.umd.js +6 -2
- package/bundles/material-badge.umd.js.map +1 -1
- package/bundles/material-badge.umd.min.js +1 -1
- package/bundles/material-badge.umd.min.js.map +1 -1
- package/bundles/material-bottom-sheet.umd.js.map +1 -1
- package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
- package/bundles/material-button-toggle.umd.js +2 -1
- package/bundles/material-button-toggle.umd.js.map +1 -1
- package/bundles/material-button-toggle.umd.min.js +1 -1
- package/bundles/material-button-toggle.umd.min.js.map +1 -1
- package/bundles/material-card.umd.js +1 -1
- package/bundles/material-card.umd.js.map +1 -1
- package/bundles/material-card.umd.min.js +1 -1
- package/bundles/material-card.umd.min.js.map +1 -1
- package/bundles/material-checkbox.umd.js.map +1 -1
- package/bundles/material-checkbox.umd.min.js.map +1 -1
- package/bundles/material-chips.umd.js +104 -92
- package/bundles/material-chips.umd.js.map +1 -1
- package/bundles/material-chips.umd.min.js +1 -1
- package/bundles/material-chips.umd.min.js.map +1 -1
- package/bundles/material-core.umd.js +13 -16
- package/bundles/material-core.umd.js.map +1 -1
- package/bundles/material-core.umd.min.js +2 -2
- package/bundles/material-core.umd.min.js.map +1 -1
- package/bundles/material-datepicker.umd.js +20 -4
- package/bundles/material-datepicker.umd.js.map +1 -1
- package/bundles/material-datepicker.umd.min.js +2 -2
- package/bundles/material-datepicker.umd.min.js.map +1 -1
- package/bundles/material-dialog.umd.js.map +1 -1
- package/bundles/material-dialog.umd.min.js.map +1 -1
- package/bundles/material-expansion.umd.js +200 -74
- package/bundles/material-expansion.umd.js.map +1 -1
- package/bundles/material-expansion.umd.min.js +1 -1
- package/bundles/material-expansion.umd.min.js.map +1 -1
- package/bundles/material-form-field.umd.js +29 -18
- package/bundles/material-form-field.umd.js.map +1 -1
- package/bundles/material-form-field.umd.min.js +1 -1
- package/bundles/material-form-field.umd.min.js.map +1 -1
- package/bundles/material-grid-list.umd.js +10 -34
- package/bundles/material-grid-list.umd.js.map +1 -1
- package/bundles/material-grid-list.umd.min.js +1 -1
- package/bundles/material-grid-list.umd.min.js.map +1 -1
- package/bundles/material-icon.umd.js.map +1 -1
- package/bundles/material-icon.umd.min.js.map +1 -1
- package/bundles/material-input.umd.js +13 -6
- package/bundles/material-input.umd.js.map +1 -1
- package/bundles/material-input.umd.min.js +1 -1
- package/bundles/material-input.umd.min.js.map +1 -1
- package/bundles/material-list.umd.js +4 -4
- package/bundles/material-list.umd.js.map +1 -1
- package/bundles/material-list.umd.min.js +5 -5
- package/bundles/material-list.umd.min.js.map +1 -1
- package/bundles/material-menu.umd.js +10 -9
- package/bundles/material-menu.umd.js.map +1 -1
- package/bundles/material-menu.umd.min.js +1 -1
- package/bundles/material-menu.umd.min.js.map +1 -1
- package/bundles/material-progress-bar.umd.js +28 -10
- package/bundles/material-progress-bar.umd.js.map +1 -1
- package/bundles/material-progress-bar.umd.min.js +1 -1
- package/bundles/material-progress-bar.umd.min.js.map +1 -1
- package/bundles/material-radio.umd.js.map +1 -1
- package/bundles/material-radio.umd.min.js.map +1 -1
- package/bundles/material-select.umd.js +8 -3
- package/bundles/material-select.umd.js.map +1 -1
- package/bundles/material-select.umd.min.js +1 -1
- package/bundles/material-select.umd.min.js.map +1 -1
- package/bundles/material-sidenav.umd.js +5 -1
- package/bundles/material-sidenav.umd.js.map +1 -1
- package/bundles/material-sidenav.umd.min.js +1 -1
- package/bundles/material-sidenav.umd.min.js.map +1 -1
- package/bundles/material-slide-toggle.umd.js +1 -1
- package/bundles/material-slide-toggle.umd.js.map +1 -1
- package/bundles/material-slide-toggle.umd.min.js +1 -1
- package/bundles/material-slide-toggle.umd.min.js.map +1 -1
- package/bundles/material-slider.umd.js +1 -1
- package/bundles/material-slider.umd.js.map +1 -1
- package/bundles/material-slider.umd.min.js +1 -1
- package/bundles/material-slider.umd.min.js.map +1 -1
- package/bundles/material-snack-bar.umd.js.map +1 -1
- package/bundles/material-snack-bar.umd.min.js.map +1 -1
- package/bundles/material-stepper.umd.js +30 -18
- package/bundles/material-stepper.umd.js.map +1 -1
- package/bundles/material-stepper.umd.min.js +1 -1
- package/bundles/material-stepper.umd.min.js.map +1 -1
- package/bundles/material-table.umd.js +31 -31
- package/bundles/material-table.umd.js.map +1 -1
- package/bundles/material-table.umd.min.js +1 -1
- package/bundles/material-table.umd.min.js.map +1 -1
- package/bundles/material-tabs.umd.js +18 -21
- package/bundles/material-tabs.umd.js.map +1 -1
- package/bundles/material-tabs.umd.min.js +2 -2
- package/bundles/material-tabs.umd.min.js.map +1 -1
- package/bundles/material-tooltip.umd.js +11 -11
- package/bundles/material-tooltip.umd.js.map +1 -1
- package/bundles/material-tooltip.umd.min.js +1 -1
- package/bundles/material-tooltip.umd.min.js.map +1 -1
- package/bundles/material-tree.umd.js +28 -54
- package/bundles/material-tree.umd.js.map +1 -1
- package/bundles/material-tree.umd.min.js +1 -1
- package/bundles/material-tree.umd.min.js.map +1 -1
- package/bundles/material.umd.js +578 -386
- package/bundles/material.umd.js.map +1 -1
- package/bundles/material.umd.min.js +21 -21
- package/bundles/material.umd.min.js.map +1 -1
- package/button-toggle/typings/button-toggle.d.ts +1 -1
- package/button-toggle/typings/index.metadata.json +1 -1
- package/card/typings/index.metadata.json +1 -1
- package/checkbox/typings/checkbox.d.ts +2 -2
- package/checkbox/typings/index.metadata.json +1 -1
- package/chips/typings/chip-input.d.ts +5 -2
- package/chips/typings/chip-list.d.ts +12 -19
- package/chips/typings/chip.d.ts +3 -2
- package/chips/typings/index.metadata.json +1 -1
- package/core/typings/index.metadata.json +1 -1
- package/core/typings/line/line.d.ts +1 -1
- package/core/typings/option/option.d.ts +3 -4
- package/core/typings/ripple/ripple-renderer.d.ts +1 -1
- package/core/typings/ripple/ripple.d.ts +1 -1
- package/datepicker/typings/calendar-body.d.ts +1 -1
- package/datepicker/typings/datepicker-input.d.ts +1 -1
- package/datepicker/typings/datepicker-toggle.d.ts +3 -1
- package/datepicker/typings/datepicker.d.ts +1 -1
- package/datepicker/typings/index.metadata.json +1 -1
- package/dialog/typings/dialog-container.d.ts +1 -1
- package/dialog/typings/dialog-content-directives.d.ts +2 -2
- package/dialog/typings/index.metadata.json +1 -1
- package/esm2015/autocomplete.js +29 -1
- package/esm2015/autocomplete.js.map +1 -1
- package/esm2015/badge.js +8 -3
- package/esm2015/badge.js.map +1 -1
- package/esm2015/bottom-sheet.js.map +1 -1
- package/esm2015/button-toggle.js +2 -1
- package/esm2015/button-toggle.js.map +1 -1
- package/esm2015/card.js +1 -1
- package/esm2015/card.js.map +1 -1
- package/esm2015/checkbox.js.map +1 -1
- package/esm2015/chips.js +93 -74
- package/esm2015/chips.js.map +1 -1
- package/esm2015/core.js +10 -7
- package/esm2015/core.js.map +1 -1
- package/esm2015/datepicker.js +22 -5
- package/esm2015/datepicker.js.map +1 -1
- package/esm2015/dialog.js.map +1 -1
- package/esm2015/expansion.js +158 -66
- package/esm2015/expansion.js.map +1 -1
- package/esm2015/form-field.js +29 -19
- package/esm2015/form-field.js.map +1 -1
- package/esm2015/grid-list.js +7 -30
- package/esm2015/grid-list.js.map +1 -1
- package/esm2015/icon.js.map +1 -1
- package/esm2015/input.js +13 -7
- package/esm2015/input.js.map +1 -1
- package/esm2015/list.js +4 -4
- package/esm2015/list.js.map +1 -1
- package/esm2015/material.js +9 -9
- package/esm2015/material.js.map +1 -1
- package/esm2015/menu.js +7 -6
- package/esm2015/menu.js.map +1 -1
- package/esm2015/progress-bar.js +25 -6
- package/esm2015/progress-bar.js.map +1 -1
- package/esm2015/radio.js.map +1 -1
- package/esm2015/select.js +8 -3
- package/esm2015/select.js.map +1 -1
- package/esm2015/sidenav.js +5 -1
- package/esm2015/sidenav.js.map +1 -1
- package/esm2015/slide-toggle.js +1 -1
- package/esm2015/slide-toggle.js.map +1 -1
- package/esm2015/slider.js +1 -1
- package/esm2015/slider.js.map +1 -1
- package/esm2015/snack-bar.js.map +1 -1
- package/esm2015/stepper.js +25 -21
- package/esm2015/stepper.js.map +1 -1
- package/esm2015/table.js +22 -32
- package/esm2015/table.js.map +1 -1
- package/esm2015/tabs.js +7 -17
- package/esm2015/tabs.js.map +1 -1
- package/esm2015/tooltip.js +9 -9
- package/esm2015/tooltip.js.map +1 -1
- package/esm2015/tree.js +16 -54
- package/esm2015/tree.js.map +1 -1
- package/esm5/autocomplete.es5.js +32 -1
- package/esm5/autocomplete.es5.js.map +1 -1
- package/esm5/badge.es5.js +7 -3
- package/esm5/badge.es5.js.map +1 -1
- package/esm5/bottom-sheet.es5.js.map +1 -1
- package/esm5/button-toggle.es5.js +2 -1
- package/esm5/button-toggle.es5.js.map +1 -1
- package/esm5/card.es5.js +1 -1
- package/esm5/card.es5.js.map +1 -1
- package/esm5/checkbox.es5.js.map +1 -1
- package/esm5/chips.es5.js +103 -91
- package/esm5/chips.es5.js.map +1 -1
- package/esm5/core.es5.js +10 -12
- package/esm5/core.es5.js.map +1 -1
- package/esm5/datepicker.es5.js +21 -5
- package/esm5/datepicker.es5.js.map +1 -1
- package/esm5/dialog.es5.js.map +1 -1
- package/esm5/expansion.es5.js +202 -78
- package/esm5/expansion.es5.js.map +1 -1
- package/esm5/form-field.es5.js +29 -18
- package/esm5/form-field.es5.js.map +1 -1
- package/esm5/grid-list.es5.js +7 -30
- package/esm5/grid-list.es5.js.map +1 -1
- package/esm5/icon.es5.js.map +1 -1
- package/esm5/input.es5.js +13 -7
- package/esm5/input.es5.js.map +1 -1
- package/esm5/list.es5.js +4 -4
- package/esm5/list.es5.js.map +1 -1
- package/esm5/material.es5.js +9 -9
- package/esm5/material.es5.js.map +1 -1
- package/esm5/menu.es5.js +5 -4
- package/esm5/menu.es5.js.map +1 -1
- package/esm5/progress-bar.es5.js +25 -9
- package/esm5/progress-bar.es5.js.map +1 -1
- package/esm5/radio.es5.js.map +1 -1
- package/esm5/select.es5.js +8 -3
- package/esm5/select.es5.js.map +1 -1
- package/esm5/sidenav.es5.js +5 -1
- package/esm5/sidenav.es5.js.map +1 -1
- package/esm5/slide-toggle.es5.js +1 -1
- package/esm5/slide-toggle.es5.js.map +1 -1
- package/esm5/slider.es5.js +1 -1
- package/esm5/slider.es5.js.map +1 -1
- package/esm5/snack-bar.es5.js.map +1 -1
- package/esm5/stepper.es5.js +25 -17
- package/esm5/stepper.es5.js.map +1 -1
- package/esm5/table.es5.js +22 -30
- package/esm5/table.es5.js.map +1 -1
- package/esm5/tabs.es5.js +9 -12
- package/esm5/tabs.es5.js.map +1 -1
- package/esm5/tooltip.es5.js +11 -11
- package/esm5/tooltip.es5.js.map +1 -1
- package/esm5/tree.es5.js +22 -53
- package/esm5/tree.es5.js.map +1 -1
- package/expansion/typings/accordion-base.d.ts +30 -0
- package/expansion/typings/accordion.d.ts +18 -4
- package/expansion/typings/expansion-panel-header.d.ts +13 -2
- package/expansion/typings/expansion-panel.d.ts +10 -6
- package/expansion/typings/index.metadata.json +1 -1
- package/expansion/typings/public-api.d.ts +1 -0
- package/form-field/typings/form-field.d.ts +4 -3
- package/form-field/typings/index.metadata.json +1 -1
- package/grid-list/typings/grid-list.d.ts +1 -1
- package/grid-list/typings/grid-tile.d.ts +2 -2
- package/grid-list/typings/index.metadata.json +1 -1
- package/icon/typings/icon.d.ts +1 -1
- package/icon/typings/index.metadata.json +1 -1
- package/input/typings/autosize.d.ts +2 -1
- package/input/typings/index.metadata.json +1 -1
- package/input/typings/input.d.ts +2 -2
- package/list/typings/index.metadata.json +1 -1
- package/list/typings/list.d.ts +1 -1
- package/list/typings/selection-list.d.ts +2 -2
- package/menu/typings/index.d.ts +4 -4
- package/menu/typings/index.metadata.json +1 -1
- package/menu/typings/menu-directive.d.ts +1 -1
- package/menu/typings/menu-item.d.ts +1 -1
- package/menu/typings/menu-trigger.d.ts +1 -1
- package/package.json +4 -4
- 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/typings/index.metadata.json +1 -1
- package/progress-bar/typings/progress-bar.d.ts +17 -3
- package/radio/typings/radio.d.ts +1 -1
- package/sidenav/typings/drawer.d.ts +2 -2
- package/sidenav/typings/index.metadata.json +1 -1
- package/slide-toggle/typings/index.metadata.json +1 -1
- package/slide-toggle/typings/slide-toggle.d.ts +3 -3
- package/slider/typings/index.metadata.json +1 -1
- package/snack-bar/typings/index.metadata.json +1 -1
- package/snack-bar/typings/snack-bar-container.d.ts +1 -1
- package/stepper/typings/index.metadata.json +1 -1
- package/stepper/typings/step-header.d.ts +2 -2
- package/stepper/typings/step-label.d.ts +2 -10
- package/stepper/typings/stepper-button.d.ts +4 -2
- package/stepper/typings/stepper.d.ts +4 -3
- package/table/typings/cell.d.ts +8 -5
- package/table/typings/index.metadata.json +1 -1
- package/table/typings/row.d.ts +6 -3
- package/table/typings/table.d.ts +2 -8
- package/tabs/typings/index.d.ts +5 -5
- package/tabs/typings/index.metadata.json +1 -1
- package/tabs/typings/ink-bar.d.ts +1 -1
- package/tabs/typings/tab-body.d.ts +1 -1
- package/tabs/typings/tab-label.d.ts +2 -10
- package/tooltip/typings/index.metadata.json +1 -1
- package/tooltip/typings/tooltip.d.ts +3 -3
- package/tree/typings/index.metadata.json +1 -1
- package/tree/typings/node.d.ts +7 -7
- package/tree/typings/padding.d.ts +3 -5
- package/tree/typings/toggle.d.ts +10 -3
- package/tree/typings/tree.d.ts +2 -3
- package/typings/autocomplete/autocomplete-trigger.d.ts +12 -1
- package/typings/autocomplete/autocomplete.d.ts +1 -1
- package/typings/autocomplete/index.metadata.json +1 -1
- package/typings/badge/badge.d.ts +6 -2
- package/typings/badge/index.metadata.json +1 -1
- package/typings/bottom-sheet/bottom-sheet-container.d.ts +1 -1
- package/typings/bottom-sheet/index.metadata.json +1 -1
- package/typings/button-toggle/button-toggle.d.ts +1 -1
- package/typings/button-toggle/index.metadata.json +1 -1
- package/typings/card/index.metadata.json +1 -1
- package/typings/checkbox/checkbox.d.ts +2 -2
- package/typings/checkbox/index.metadata.json +1 -1
- package/typings/chips/chip-input.d.ts +5 -2
- package/typings/chips/chip-list.d.ts +12 -19
- package/typings/chips/chip.d.ts +3 -2
- package/typings/chips/index.metadata.json +1 -1
- package/typings/core/index.metadata.json +1 -1
- package/typings/core/line/line.d.ts +1 -1
- package/typings/core/option/option.d.ts +3 -4
- package/typings/core/ripple/ripple-renderer.d.ts +1 -1
- package/typings/core/ripple/ripple.d.ts +1 -1
- package/typings/datepicker/calendar-body.d.ts +1 -1
- package/typings/datepicker/datepicker-input.d.ts +1 -1
- package/typings/datepicker/datepicker-toggle.d.ts +3 -1
- package/typings/datepicker/datepicker.d.ts +1 -1
- package/typings/datepicker/index.metadata.json +1 -1
- package/typings/dialog/dialog-container.d.ts +1 -1
- package/typings/dialog/dialog-content-directives.d.ts +2 -2
- package/typings/dialog/index.metadata.json +1 -1
- package/typings/esm5/autocomplete/autocomplete-trigger.d.ts +12 -1
- package/typings/esm5/autocomplete/autocomplete.d.ts +1 -1
- package/typings/esm5/autocomplete/index.metadata.json +1 -1
- package/typings/esm5/badge/badge.d.ts +6 -2
- package/typings/esm5/badge/index.metadata.json +1 -1
- package/typings/esm5/bottom-sheet/bottom-sheet-container.d.ts +1 -1
- package/typings/esm5/bottom-sheet/index.metadata.json +1 -1
- package/typings/esm5/button-toggle/button-toggle.d.ts +1 -1
- package/typings/esm5/button-toggle/index.metadata.json +1 -1
- package/typings/esm5/card/index.metadata.json +1 -1
- package/typings/esm5/checkbox/checkbox.d.ts +2 -2
- package/typings/esm5/checkbox/index.metadata.json +1 -1
- package/typings/esm5/chips/chip-input.d.ts +5 -2
- package/typings/esm5/chips/chip-list.d.ts +12 -19
- package/typings/esm5/chips/chip.d.ts +3 -2
- package/typings/esm5/chips/index.metadata.json +1 -1
- package/typings/esm5/core/index.metadata.json +1 -1
- package/typings/esm5/core/line/line.d.ts +1 -1
- package/typings/esm5/core/option/option.d.ts +3 -4
- package/typings/esm5/core/ripple/ripple-renderer.d.ts +1 -1
- package/typings/esm5/core/ripple/ripple.d.ts +1 -1
- package/typings/esm5/datepicker/calendar-body.d.ts +1 -1
- package/typings/esm5/datepicker/datepicker-input.d.ts +1 -1
- package/typings/esm5/datepicker/datepicker-toggle.d.ts +3 -1
- package/typings/esm5/datepicker/datepicker.d.ts +1 -1
- package/typings/esm5/datepicker/index.metadata.json +1 -1
- package/typings/esm5/dialog/dialog-container.d.ts +1 -1
- package/typings/esm5/dialog/dialog-content-directives.d.ts +2 -2
- package/typings/esm5/dialog/index.metadata.json +1 -1
- package/typings/esm5/expansion/accordion-base.d.ts +30 -0
- package/typings/esm5/expansion/accordion.d.ts +18 -4
- package/typings/esm5/expansion/expansion-panel-header.d.ts +13 -2
- package/typings/esm5/expansion/expansion-panel.d.ts +10 -6
- package/typings/esm5/expansion/index.metadata.json +1 -1
- package/typings/esm5/expansion/public-api.d.ts +1 -0
- package/typings/esm5/form-field/form-field.d.ts +4 -3
- package/typings/esm5/form-field/index.metadata.json +1 -1
- package/typings/esm5/grid-list/grid-list.d.ts +1 -1
- package/typings/esm5/grid-list/grid-tile.d.ts +2 -2
- package/typings/esm5/grid-list/index.metadata.json +1 -1
- package/typings/esm5/icon/icon.d.ts +1 -1
- package/typings/esm5/icon/index.metadata.json +1 -1
- package/typings/esm5/index.metadata.json +1 -1
- package/typings/esm5/input/autosize.d.ts +2 -1
- package/typings/esm5/input/index.metadata.json +1 -1
- package/typings/esm5/input/input.d.ts +2 -2
- package/typings/esm5/list/index.metadata.json +1 -1
- package/typings/esm5/list/list.d.ts +1 -1
- package/typings/esm5/list/selection-list.d.ts +2 -2
- package/typings/esm5/menu/index.d.ts +4 -4
- package/typings/esm5/menu/index.metadata.json +1 -1
- package/typings/esm5/menu/menu-directive.d.ts +1 -1
- package/typings/esm5/menu/menu-item.d.ts +1 -1
- package/typings/esm5/menu/menu-trigger.d.ts +1 -1
- package/typings/esm5/progress-bar/index.metadata.json +1 -1
- package/typings/esm5/progress-bar/progress-bar.d.ts +17 -3
- package/typings/esm5/radio/radio.d.ts +1 -1
- package/typings/esm5/sidenav/drawer.d.ts +2 -2
- package/typings/esm5/sidenav/index.metadata.json +1 -1
- package/typings/esm5/slide-toggle/index.metadata.json +1 -1
- package/typings/esm5/slide-toggle/slide-toggle.d.ts +3 -3
- package/typings/esm5/slider/index.metadata.json +1 -1
- package/typings/esm5/snack-bar/index.metadata.json +1 -1
- package/typings/esm5/snack-bar/snack-bar-container.d.ts +1 -1
- package/typings/esm5/stepper/index.metadata.json +1 -1
- package/typings/esm5/stepper/step-header.d.ts +2 -2
- package/typings/esm5/stepper/step-label.d.ts +2 -10
- package/typings/esm5/stepper/stepper-button.d.ts +4 -2
- package/typings/esm5/stepper/stepper.d.ts +4 -3
- package/typings/esm5/table/cell.d.ts +8 -5
- package/typings/esm5/table/index.metadata.json +1 -1
- package/typings/esm5/table/row.d.ts +6 -3
- package/typings/esm5/table/table.d.ts +2 -8
- package/typings/esm5/tabs/index.d.ts +5 -5
- package/typings/esm5/tabs/index.metadata.json +1 -1
- package/typings/esm5/tabs/ink-bar.d.ts +1 -1
- package/typings/esm5/tabs/tab-body.d.ts +1 -1
- package/typings/esm5/tabs/tab-label.d.ts +2 -10
- package/typings/esm5/tooltip/index.metadata.json +1 -1
- package/typings/esm5/tooltip/tooltip.d.ts +3 -3
- package/typings/esm5/tree/index.metadata.json +1 -1
- package/typings/esm5/tree/node.d.ts +7 -7
- package/typings/esm5/tree/padding.d.ts +3 -5
- package/typings/esm5/tree/toggle.d.ts +10 -3
- package/typings/esm5/tree/tree.d.ts +2 -3
- package/typings/expansion/accordion-base.d.ts +30 -0
- package/typings/expansion/accordion.d.ts +18 -4
- package/typings/expansion/expansion-panel-header.d.ts +13 -2
- package/typings/expansion/expansion-panel.d.ts +10 -6
- package/typings/expansion/index.metadata.json +1 -1
- package/typings/expansion/public-api.d.ts +1 -0
- package/typings/form-field/form-field.d.ts +4 -3
- package/typings/form-field/index.metadata.json +1 -1
- package/typings/grid-list/grid-list.d.ts +1 -1
- package/typings/grid-list/grid-tile.d.ts +2 -2
- package/typings/grid-list/index.metadata.json +1 -1
- package/typings/icon/icon.d.ts +1 -1
- package/typings/icon/index.metadata.json +1 -1
- package/typings/index.metadata.json +1 -1
- package/typings/input/autosize.d.ts +2 -1
- package/typings/input/index.metadata.json +1 -1
- package/typings/input/input.d.ts +2 -2
- package/typings/list/index.metadata.json +1 -1
- package/typings/list/list.d.ts +1 -1
- package/typings/list/selection-list.d.ts +2 -2
- package/typings/menu/index.d.ts +4 -4
- package/typings/menu/index.metadata.json +1 -1
- package/typings/menu/menu-directive.d.ts +1 -1
- package/typings/menu/menu-item.d.ts +1 -1
- package/typings/menu/menu-trigger.d.ts +1 -1
- package/typings/progress-bar/index.metadata.json +1 -1
- package/typings/progress-bar/progress-bar.d.ts +17 -3
- package/typings/radio/radio.d.ts +1 -1
- package/typings/sidenav/drawer.d.ts +2 -2
- package/typings/sidenav/index.metadata.json +1 -1
- package/typings/slide-toggle/index.metadata.json +1 -1
- package/typings/slide-toggle/slide-toggle.d.ts +3 -3
- package/typings/slider/index.metadata.json +1 -1
- package/typings/snack-bar/index.metadata.json +1 -1
- package/typings/snack-bar/snack-bar-container.d.ts +1 -1
- package/typings/stepper/index.metadata.json +1 -1
- package/typings/stepper/step-header.d.ts +2 -2
- package/typings/stepper/step-label.d.ts +2 -10
- package/typings/stepper/stepper-button.d.ts +4 -2
- package/typings/stepper/stepper.d.ts +4 -3
- package/typings/table/cell.d.ts +8 -5
- package/typings/table/index.metadata.json +1 -1
- package/typings/table/row.d.ts +6 -3
- package/typings/table/table.d.ts +2 -8
- package/typings/tabs/index.d.ts +5 -5
- package/typings/tabs/index.metadata.json +1 -1
- package/typings/tabs/ink-bar.d.ts +1 -1
- package/typings/tabs/tab-body.d.ts +1 -1
- package/typings/tabs/tab-label.d.ts +2 -10
- package/typings/tooltip/index.metadata.json +1 -1
- package/typings/tooltip/tooltip.d.ts +3 -3
- package/typings/tree/index.metadata.json +1 -1
- package/typings/tree/node.d.ts +7 -7
- package/typings/tree/padding.d.ts +3 -5
- package/typings/tree/toggle.d.ts +10 -3
- package/typings/tree/tree.d.ts +2 -3
- package/grid-list/typings/grid-list-measure.d.ts +0 -17
- package/typings/esm5/grid-list/grid-list-measure.d.ts +0 -17
- package/typings/grid-list/grid-list-measure.d.ts +0 -17
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/coercion'), require('@angular/cdk/keycodes'), require('@angular/cdk/platform'), require('@angular/core'), require('@angular/material/core'), require('rxjs'), require('@angular/cdk/a11y'), require('@angular/cdk/bidi'), require('@angular/cdk/collections'), require('@angular/forms'), require('@angular/material/form-field')
|
|
10
|
-
typeof define === 'function' && define.amd ? define('@angular/material/chips', ['exports', '@angular/cdk/coercion', '@angular/cdk/keycodes', '@angular/cdk/platform', '@angular/core', '@angular/material/core', 'rxjs', '@angular/cdk/a11y', '@angular/cdk/bidi', '@angular/cdk/collections', '@angular/forms', '@angular/material/form-field'
|
|
11
|
-
(factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.chips = {}),global.ng.cdk.coercion,global.ng.cdk.keycodes,global.ng.cdk.platform,global.ng.core,global.ng.material.core,global.rxjs,global.ng.cdk.a11y,global.ng.cdk.bidi,global.ng.cdk.collections,global.ng.forms,global.ng.material.formField
|
|
12
|
-
}(this, (function (exports,coercion,keycodes,platform,core,core$1,rxjs,a11y,bidi,collections,forms,formField
|
|
9
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/coercion'), require('@angular/cdk/keycodes'), require('@angular/cdk/platform'), require('@angular/core'), require('@angular/material/core'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/a11y'), require('@angular/cdk/bidi'), require('@angular/cdk/collections'), require('@angular/forms'), require('@angular/material/form-field')) :
|
|
10
|
+
typeof define === 'function' && define.amd ? define('@angular/material/chips', ['exports', '@angular/cdk/coercion', '@angular/cdk/keycodes', '@angular/cdk/platform', '@angular/core', '@angular/material/core', 'rxjs', 'rxjs/operators', '@angular/cdk/a11y', '@angular/cdk/bidi', '@angular/cdk/collections', '@angular/forms', '@angular/material/form-field'], factory) :
|
|
11
|
+
(factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.chips = {}),global.ng.cdk.coercion,global.ng.cdk.keycodes,global.ng.cdk.platform,global.ng.core,global.ng.material.core,global.rxjs,global.rxjs.operators,global.ng.cdk.a11y,global.ng.cdk.bidi,global.ng.cdk.collections,global.ng.forms,global.ng.material.formField));
|
|
12
|
+
}(this, (function (exports,coercion,keycodes,platform,core,core$1,rxjs,operators,a11y,bidi,collections,forms,formField) { 'use strict';
|
|
13
13
|
|
|
14
14
|
/*! *****************************************************************************
|
|
15
15
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -108,9 +108,10 @@ var MatChipTrailingIcon = /** @class */ (function () {
|
|
|
108
108
|
*/
|
|
109
109
|
var MatChip = /** @class */ (function (_super) {
|
|
110
110
|
__extends(MatChip, _super);
|
|
111
|
-
function MatChip(_elementRef,
|
|
111
|
+
function MatChip(_elementRef, _ngZone, platform$$1, globalOptions) {
|
|
112
112
|
var _this = _super.call(this, _elementRef) || this;
|
|
113
113
|
_this._elementRef = _elementRef;
|
|
114
|
+
_this._ngZone = _ngZone;
|
|
114
115
|
/**
|
|
115
116
|
* Whether the ripples are globally disabled through the RippleGlobalOptions
|
|
116
117
|
*/
|
|
@@ -152,7 +153,7 @@ var MatChip = /** @class */ (function (_super) {
|
|
|
152
153
|
*/
|
|
153
154
|
_this.removed = new core.EventEmitter();
|
|
154
155
|
_this._addHostClassName();
|
|
155
|
-
_this._chipRipple = new core$1.RippleRenderer(_this,
|
|
156
|
+
_this._chipRipple = new core$1.RippleRenderer(_this, _ngZone, _elementRef, platform$$1);
|
|
156
157
|
_this._chipRipple.setupTriggerEvents(_elementRef.nativeElement);
|
|
157
158
|
if (globalOptions) {
|
|
158
159
|
_this._ripplesGloballyDisabled = !!globalOptions.disabled;
|
|
@@ -469,8 +470,20 @@ var MatChip = /** @class */ (function (_super) {
|
|
|
469
470
|
* @return {?}
|
|
470
471
|
*/
|
|
471
472
|
function () {
|
|
472
|
-
|
|
473
|
-
|
|
473
|
+
var _this = this;
|
|
474
|
+
// When animations are enabled, Angular may end up removing the chip from the DOM a little
|
|
475
|
+
// earlier than usual, causing it to be blurred and throwing off the logic in the chip list
|
|
476
|
+
// that moves focus not the next item. To work around the issue, we defer marking the chip
|
|
477
|
+
// as not focused until the next time the zone stabilizes.
|
|
478
|
+
this._ngZone.onStable
|
|
479
|
+
.asObservable()
|
|
480
|
+
.pipe(operators.take(1))
|
|
481
|
+
.subscribe(function () {
|
|
482
|
+
_this._ngZone.run(function () {
|
|
483
|
+
_this._hasFocus = false;
|
|
484
|
+
_this._onBlur.next({ chip: _this });
|
|
485
|
+
});
|
|
486
|
+
});
|
|
474
487
|
};
|
|
475
488
|
MatChip.decorators = [
|
|
476
489
|
{ type: core.Directive, args: [{
|
|
@@ -536,23 +549,31 @@ var MatChipRemove = /** @class */ (function () {
|
|
|
536
549
|
/** Calls the parent chip's public `remove()` method if applicable. */
|
|
537
550
|
/**
|
|
538
551
|
* Calls the parent chip's public `remove()` method if applicable.
|
|
552
|
+
* @param {?} event
|
|
539
553
|
* @return {?}
|
|
540
554
|
*/
|
|
541
555
|
MatChipRemove.prototype._handleClick = /**
|
|
542
556
|
* Calls the parent chip's public `remove()` method if applicable.
|
|
557
|
+
* @param {?} event
|
|
543
558
|
* @return {?}
|
|
544
559
|
*/
|
|
545
|
-
function () {
|
|
560
|
+
function (event) {
|
|
546
561
|
if (this._parentChip.removable) {
|
|
547
562
|
this._parentChip.remove();
|
|
548
563
|
}
|
|
564
|
+
// We need to stop event propagation because otherwise the event will bubble up to the
|
|
565
|
+
// form field and cause the `onContainerClick` method to be invoked. This method would then
|
|
566
|
+
// reset the focused chip that has been focused after chip removal. Usually the parent
|
|
567
|
+
// the parent click listener of the `MatChip` would prevent propagation, but it can happen
|
|
568
|
+
// that the chip is being removed before the event bubbles up.
|
|
569
|
+
event.stopPropagation();
|
|
549
570
|
};
|
|
550
571
|
MatChipRemove.decorators = [
|
|
551
572
|
{ type: core.Directive, args: [{
|
|
552
573
|
selector: '[matChipRemove]',
|
|
553
574
|
host: {
|
|
554
575
|
'class': 'mat-chip-remove mat-chip-trailing-icon',
|
|
555
|
-
'(click)': '_handleClick()',
|
|
576
|
+
'(click)': '_handleClick($event)',
|
|
556
577
|
}
|
|
557
578
|
},] },
|
|
558
579
|
];
|
|
@@ -625,17 +646,15 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
625
646
|
*/
|
|
626
647
|
_this.controlType = 'mat-chip-list';
|
|
627
648
|
/**
|
|
628
|
-
* When a chip is destroyed, we
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* Track which chips we're listening to for focus/destruction.
|
|
649
|
+
* When a chip is destroyed, we store the index of the destroyed chip until the chips
|
|
650
|
+
* query list notifies about the update. This is necessary because we cannot determine an
|
|
651
|
+
* appropriate chip that should receive focus until the array of chips updated completely.
|
|
633
652
|
*/
|
|
634
|
-
_this.
|
|
653
|
+
_this._lastDestroyedChipIndex = null;
|
|
635
654
|
/**
|
|
636
|
-
*
|
|
655
|
+
* Subject that emits when the component has been destroyed.
|
|
637
656
|
*/
|
|
638
|
-
_this.
|
|
657
|
+
_this._destroyed = new rxjs.Subject();
|
|
639
658
|
/**
|
|
640
659
|
* Uid of the chip list
|
|
641
660
|
*/
|
|
@@ -866,7 +885,13 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
866
885
|
* @param {?} value
|
|
867
886
|
* @return {?}
|
|
868
887
|
*/
|
|
869
|
-
function (value) {
|
|
888
|
+
function (value) {
|
|
889
|
+
var _this = this;
|
|
890
|
+
this._disabled = coercion.coerceBooleanProperty(value);
|
|
891
|
+
if (this.chips) {
|
|
892
|
+
this.chips.forEach(function (chip) { return chip.disabled = _this._disabled; });
|
|
893
|
+
}
|
|
894
|
+
},
|
|
870
895
|
enumerable: true,
|
|
871
896
|
configurable: true
|
|
872
897
|
});
|
|
@@ -965,12 +990,12 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
965
990
|
.withHorizontalOrientation(this._dir ? this._dir.value : 'ltr');
|
|
966
991
|
// Prevents the chip list from capturing focus and redirecting
|
|
967
992
|
// it back to the first chip when the user tabs out.
|
|
968
|
-
this.
|
|
993
|
+
this._keyManager.tabOut.pipe(operators.takeUntil(this._destroyed)).subscribe(function () {
|
|
969
994
|
_this._tabIndex = -1;
|
|
970
995
|
setTimeout(function () { return _this._tabIndex = _this._userTabIndex || 0; });
|
|
971
996
|
});
|
|
972
997
|
// When the list changes, re-subscribe
|
|
973
|
-
this.
|
|
998
|
+
this.chips.changes.pipe(operators.startWith(null), operators.takeUntil(this._destroyed)).subscribe(function () {
|
|
974
999
|
_this._resetChips();
|
|
975
1000
|
// Reset chips selected/deselected status
|
|
976
1001
|
// Reset chips selected/deselected status
|
|
@@ -1015,15 +1040,10 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
1015
1040
|
* @return {?}
|
|
1016
1041
|
*/
|
|
1017
1042
|
function () {
|
|
1018
|
-
this.
|
|
1019
|
-
|
|
1020
|
-
this._changeSubscription.unsubscribe();
|
|
1021
|
-
}
|
|
1022
|
-
if (this._chipRemoveSubscription) {
|
|
1023
|
-
this._chipRemoveSubscription.unsubscribe();
|
|
1024
|
-
}
|
|
1025
|
-
this._dropSubscriptions();
|
|
1043
|
+
this._destroyed.next();
|
|
1044
|
+
this._destroyed.complete();
|
|
1026
1045
|
this.stateChanges.complete();
|
|
1046
|
+
this._dropSubscriptions();
|
|
1027
1047
|
};
|
|
1028
1048
|
/** Associates an HTML input element with this chip list. */
|
|
1029
1049
|
/**
|
|
@@ -1105,7 +1125,6 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
1105
1125
|
*/
|
|
1106
1126
|
function (isDisabled) {
|
|
1107
1127
|
this.disabled = isDisabled;
|
|
1108
|
-
this._elementRef.nativeElement.disabled = isDisabled;
|
|
1109
1128
|
this.stateChanges.next();
|
|
1110
1129
|
};
|
|
1111
1130
|
/**
|
|
@@ -1138,6 +1157,9 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
1138
1157
|
* @return {?}
|
|
1139
1158
|
*/
|
|
1140
1159
|
function () {
|
|
1160
|
+
if (this.disabled) {
|
|
1161
|
+
return;
|
|
1162
|
+
}
|
|
1141
1163
|
// TODO: ARIA says this should focus the first `selected` chip if any are selected.
|
|
1142
1164
|
// Focus on first element if there's no chipInput inside chip-list
|
|
1143
1165
|
if (this._chipInput && this._chipInput.focused) {
|
|
@@ -1187,7 +1209,17 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
1187
1209
|
event.preventDefault();
|
|
1188
1210
|
}
|
|
1189
1211
|
else if (target && target.classList.contains('mat-chip')) {
|
|
1190
|
-
|
|
1212
|
+
if (event.keyCode === keycodes.HOME) {
|
|
1213
|
+
this._keyManager.setFirstItemActive();
|
|
1214
|
+
event.preventDefault();
|
|
1215
|
+
}
|
|
1216
|
+
else if (event.keyCode === keycodes.END) {
|
|
1217
|
+
this._keyManager.setLastItemActive();
|
|
1218
|
+
event.preventDefault();
|
|
1219
|
+
}
|
|
1220
|
+
else {
|
|
1221
|
+
this._keyManager.onKeydown(event);
|
|
1222
|
+
}
|
|
1191
1223
|
this.stateChanges.next();
|
|
1192
1224
|
}
|
|
1193
1225
|
};
|
|
@@ -1207,73 +1239,25 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
1207
1239
|
this._tabIndex = this._userTabIndex || (this.chips.length === 0 ? -1 : 0);
|
|
1208
1240
|
};
|
|
1209
1241
|
/**
|
|
1210
|
-
*
|
|
1211
|
-
*
|
|
1212
|
-
* Otherwise focus the next chip in the list.
|
|
1213
|
-
* Save `_lastDestroyedIndex` so we can set the correct focus.
|
|
1242
|
+
* If the amount of chips changed, we need to update the
|
|
1243
|
+
* key manager state and focus the next closest chip.
|
|
1214
1244
|
*/
|
|
1215
1245
|
/**
|
|
1216
|
-
*
|
|
1217
|
-
*
|
|
1218
|
-
* Otherwise focus the next chip in the list.
|
|
1219
|
-
* Save `_lastDestroyedIndex` so we can set the correct focus.
|
|
1220
|
-
* @param {?} chip
|
|
1221
|
-
* @return {?}
|
|
1222
|
-
*/
|
|
1223
|
-
MatChipList.prototype._updateKeyManager = /**
|
|
1224
|
-
* Update key manager's active item when chip is deleted.
|
|
1225
|
-
* If the deleted chip is the last chip in chip list, focus the new last chip.
|
|
1226
|
-
* Otherwise focus the next chip in the list.
|
|
1227
|
-
* Save `_lastDestroyedIndex` so we can set the correct focus.
|
|
1228
|
-
* @param {?} chip
|
|
1229
|
-
* @return {?}
|
|
1230
|
-
*/
|
|
1231
|
-
function (chip) {
|
|
1232
|
-
var /** @type {?} */ chipIndex = this.chips.toArray().indexOf(chip);
|
|
1233
|
-
if (this._isValidIndex(chipIndex)) {
|
|
1234
|
-
if (chip._hasFocus) {
|
|
1235
|
-
// Check whether the chip is not the last item
|
|
1236
|
-
if (chipIndex < this.chips.length - 1) {
|
|
1237
|
-
this._keyManager.setActiveItem(chipIndex);
|
|
1238
|
-
}
|
|
1239
|
-
else if (chipIndex - 1 >= 0) {
|
|
1240
|
-
this._keyManager.setActiveItem(chipIndex - 1);
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
if (this._keyManager.activeItemIndex === chipIndex) {
|
|
1244
|
-
this._lastDestroyedIndex = chipIndex;
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
};
|
|
1248
|
-
/**
|
|
1249
|
-
* Checks to see if a focus chip was recently destroyed so that we can refocus the next closest
|
|
1250
|
-
* one.
|
|
1251
|
-
*/
|
|
1252
|
-
/**
|
|
1253
|
-
* Checks to see if a focus chip was recently destroyed so that we can refocus the next closest
|
|
1254
|
-
* one.
|
|
1246
|
+
* If the amount of chips changed, we need to update the
|
|
1247
|
+
* key manager state and focus the next closest chip.
|
|
1255
1248
|
* @return {?}
|
|
1256
1249
|
*/
|
|
1257
1250
|
MatChipList.prototype._updateFocusForDestroyedChips = /**
|
|
1258
|
-
*
|
|
1259
|
-
*
|
|
1251
|
+
* If the amount of chips changed, we need to update the
|
|
1252
|
+
* key manager state and focus the next closest chip.
|
|
1260
1253
|
* @return {?}
|
|
1261
1254
|
*/
|
|
1262
1255
|
function () {
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
// Check whether the destroyed chip was the last item
|
|
1267
|
-
var /** @type {?} */ newFocusIndex = Math.min(this._lastDestroyedIndex, chipsArray.length - 1);
|
|
1268
|
-
this._keyManager.setActiveItem(newFocusIndex);
|
|
1269
|
-
var /** @type {?} */ focusChip = this._keyManager.activeItem;
|
|
1270
|
-
// Focus the chip
|
|
1271
|
-
if (focusChip) {
|
|
1272
|
-
focusChip.focus();
|
|
1273
|
-
}
|
|
1256
|
+
if (this._lastDestroyedChipIndex != null && this.chips.length) {
|
|
1257
|
+
var /** @type {?} */ newChipIndex = Math.min(this._lastDestroyedChipIndex, this.chips.length - 1);
|
|
1258
|
+
this._keyManager.setActiveItem(newChipIndex);
|
|
1274
1259
|
}
|
|
1275
|
-
|
|
1276
|
-
this._lastDestroyedIndex = null;
|
|
1260
|
+
this._lastDestroyedChipIndex = null;
|
|
1277
1261
|
};
|
|
1278
1262
|
/**
|
|
1279
1263
|
* Utility to ensure all indexes are valid.
|
|
@@ -1516,6 +1500,10 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
1516
1500
|
this._chipSelectionSubscription.unsubscribe();
|
|
1517
1501
|
this._chipSelectionSubscription = null;
|
|
1518
1502
|
}
|
|
1503
|
+
if (this._chipRemoveSubscription) {
|
|
1504
|
+
this._chipRemoveSubscription.unsubscribe();
|
|
1505
|
+
this._chipRemoveSubscription = null;
|
|
1506
|
+
}
|
|
1519
1507
|
};
|
|
1520
1508
|
/**
|
|
1521
1509
|
* Listens to user-generated selection events on each chip.
|
|
@@ -1575,7 +1563,14 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
1575
1563
|
function () {
|
|
1576
1564
|
var _this = this;
|
|
1577
1565
|
this._chipRemoveSubscription = this.chipRemoveChanges.subscribe(function (event) {
|
|
1578
|
-
|
|
1566
|
+
var /** @type {?} */ chip = event.chip;
|
|
1567
|
+
var /** @type {?} */ chipIndex = _this.chips.toArray().indexOf(event.chip);
|
|
1568
|
+
// In case the chip that will be removed is currently focused, we temporarily store
|
|
1569
|
+
// the index in order to be able to determine an appropriate sibling chip that will
|
|
1570
|
+
// receive focus.
|
|
1571
|
+
if (_this._isValidIndex(chipIndex) && chip._hasFocus) {
|
|
1572
|
+
_this._lastDestroyedChipIndex = chipIndex;
|
|
1573
|
+
}
|
|
1579
1574
|
});
|
|
1580
1575
|
};
|
|
1581
1576
|
MatChipList.decorators = [
|
|
@@ -1583,7 +1578,7 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
1583
1578
|
template: "<div class=\"mat-chip-list-wrapper\"><ng-content></ng-content></div>",
|
|
1584
1579
|
exportAs: 'matChipList',
|
|
1585
1580
|
host: {
|
|
1586
|
-
'[attr.tabindex]': '_tabIndex',
|
|
1581
|
+
'[attr.tabindex]': 'disabled ? null : _tabIndex',
|
|
1587
1582
|
'[attr.aria-describedby]': '_ariaDescribedby || null',
|
|
1588
1583
|
'[attr.aria-required]': 'required.toString()',
|
|
1589
1584
|
'[attr.aria-disabled]': 'disabled.toString()',
|
|
@@ -1601,7 +1596,7 @@ var MatChipList = /** @class */ (function (_super) {
|
|
|
1601
1596
|
'[id]': '_uid',
|
|
1602
1597
|
},
|
|
1603
1598
|
providers: [{ provide: formField.MatFormFieldControl, useExisting: MatChipList }],
|
|
1604
|
-
styles: [".mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:24px;align-items:center;cursor:default}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip:focus{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);outline:0}@media screen and (-ms-high-contrast:active){.mat-standard-chip{outline:solid 1px}.mat-standard-chip:focus{outline:dotted 2px}}.mat-standard-chip.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:7px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:7px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:7px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:7px;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:32px;height:32px;margin-right:8px;margin-left:0}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:0}.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:7px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:7px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper .mat-standard-chip,.mat-chip-list-wrapper input.mat-input-element{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}input.mat-chip-input{width:150px;margin:3px;flex:1 0 150px}"],
|
|
1599
|
+
styles: [".mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:24px;align-items:center;cursor:default}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip:focus{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);outline:0}@media screen and (-ms-high-contrast:active){.mat-standard-chip{outline:solid 1px}.mat-standard-chip:focus{outline:dotted 2px}}.mat-standard-chip.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:7px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:7px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:7px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:7px;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:32px;height:32px;margin-right:8px;margin-left:0}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:0}.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:7px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:7px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper .mat-standard-chip,.mat-chip-list-wrapper input.mat-input-element{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:3px;flex:1 0 150px}"],
|
|
1605
1600
|
encapsulation: core.ViewEncapsulation.None,
|
|
1606
1601
|
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
1607
1602
|
},] },
|
|
@@ -1671,6 +1666,7 @@ var MatChipInput = /** @class */ (function () {
|
|
|
1671
1666
|
* Unique id for the input.
|
|
1672
1667
|
*/
|
|
1673
1668
|
this.id = "mat-chip-list-input-" + nextUniqueId$1++;
|
|
1669
|
+
this._disabled = false;
|
|
1674
1670
|
this._inputElement = /** @type {?} */ (this._elementRef.nativeElement);
|
|
1675
1671
|
}
|
|
1676
1672
|
Object.defineProperty(MatChipInput.prototype, "chipList", {
|
|
@@ -1702,6 +1698,20 @@ var MatChipInput = /** @class */ (function () {
|
|
|
1702
1698
|
enumerable: true,
|
|
1703
1699
|
configurable: true
|
|
1704
1700
|
});
|
|
1701
|
+
Object.defineProperty(MatChipInput.prototype, "disabled", {
|
|
1702
|
+
get: /**
|
|
1703
|
+
* Whether the input is disabled.
|
|
1704
|
+
* @return {?}
|
|
1705
|
+
*/
|
|
1706
|
+
function () { return this._disabled || (this._chipList && this._chipList.disabled); },
|
|
1707
|
+
set: /**
|
|
1708
|
+
* @param {?} value
|
|
1709
|
+
* @return {?}
|
|
1710
|
+
*/
|
|
1711
|
+
function (value) { this._disabled = coercion.coerceBooleanProperty(value); },
|
|
1712
|
+
enumerable: true,
|
|
1713
|
+
configurable: true
|
|
1714
|
+
});
|
|
1705
1715
|
Object.defineProperty(MatChipInput.prototype, "empty", {
|
|
1706
1716
|
/** Whether the input is empty. */
|
|
1707
1717
|
get: /**
|
|
@@ -1818,6 +1828,7 @@ var MatChipInput = /** @class */ (function () {
|
|
|
1818
1828
|
'(focus)': '_focus()',
|
|
1819
1829
|
'(input)': '_onInput()',
|
|
1820
1830
|
'[id]': 'id',
|
|
1831
|
+
'[attr.disabled]': 'disabled || null',
|
|
1821
1832
|
'[attr.placeholder]': 'placeholder || null',
|
|
1822
1833
|
}
|
|
1823
1834
|
},] },
|
|
@@ -1834,6 +1845,7 @@ var MatChipInput = /** @class */ (function () {
|
|
|
1834
1845
|
"chipEnd": [{ type: core.Output, args: ['matChipInputTokenEnd',] },],
|
|
1835
1846
|
"placeholder": [{ type: core.Input },],
|
|
1836
1847
|
"id": [{ type: core.Input },],
|
|
1848
|
+
"disabled": [{ type: core.Input },],
|
|
1837
1849
|
};
|
|
1838
1850
|
return MatChipInput;
|
|
1839
1851
|
}());
|