[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | import { ENTER } from '@angular/cdk/keycodes';
|
---|
| 9 | import { NgModule } from '@angular/core';
|
---|
| 10 | import { ErrorStateMatcher, MatCommonModule } from '@angular/material/core';
|
---|
| 11 | import { MatChip, MatChipAvatar, MatChipRemove, MatChipTrailingIcon } from './chip';
|
---|
| 12 | import { MAT_CHIPS_DEFAULT_OPTIONS } from './chip-default-options';
|
---|
| 13 | import { MatChipInput } from './chip-input';
|
---|
| 14 | import { MatChipList } from './chip-list';
|
---|
| 15 | const CHIP_DECLARATIONS = [
|
---|
| 16 | MatChipList,
|
---|
| 17 | MatChip,
|
---|
| 18 | MatChipInput,
|
---|
| 19 | MatChipRemove,
|
---|
| 20 | MatChipAvatar,
|
---|
| 21 | MatChipTrailingIcon,
|
---|
| 22 | ];
|
---|
| 23 | const ɵ0 = {
|
---|
| 24 | separatorKeyCodes: [ENTER]
|
---|
| 25 | };
|
---|
| 26 | export class MatChipsModule {
|
---|
| 27 | }
|
---|
| 28 | MatChipsModule.decorators = [
|
---|
| 29 | { type: NgModule, args: [{
|
---|
| 30 | imports: [MatCommonModule],
|
---|
| 31 | exports: CHIP_DECLARATIONS,
|
---|
| 32 | declarations: CHIP_DECLARATIONS,
|
---|
| 33 | providers: [
|
---|
| 34 | ErrorStateMatcher,
|
---|
| 35 | {
|
---|
| 36 | provide: MAT_CHIPS_DEFAULT_OPTIONS,
|
---|
| 37 | useValue: ɵ0
|
---|
| 38 | }
|
---|
| 39 | ]
|
---|
| 40 | },] }
|
---|
| 41 | ];
|
---|
| 42 | export { ɵ0 };
|
---|
| 43 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcHMtbW9kdWxlL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