@firestitch/chip 8.1.9 → 12.0.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.
@@ -1,845 +0,0 @@
1
- import { Injectable, Component, forwardRef, ChangeDetectionStrategy, ChangeDetectorRef, HostBinding, Input, EventEmitter, Optional, HostListener, Output, NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { MatIconModule } from '@angular/material/icon';
4
- import { FsLabelModule } from '@firestitch/label';
5
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
- import { Subject } from 'rxjs';
7
- import { takeUntil, debounceTime } from 'rxjs/operators';
8
- import { find } from 'lodash-es';
9
-
10
- /**
11
- * @fileoverview added by tsickle
12
- * Generated from: app/services/chips.service.ts
13
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
14
- */
15
- var FsChipsService = /** @class */ (function () {
16
- function FsChipsService() {
17
- this.chips = [];
18
- this._chipItemsChanged$ = new Subject();
19
- this._selectionChanged$ = new Subject();
20
- this._destroy$ = new Subject();
21
- }
22
- Object.defineProperty(FsChipsService.prototype, "selectionChanged$", {
23
- get: /**
24
- * @return {?}
25
- */
26
- function () {
27
- return this._selectionChanged$.
28
- pipe(takeUntil(this._destroy$));
29
- },
30
- enumerable: true,
31
- configurable: true
32
- });
33
- Object.defineProperty(FsChipsService.prototype, "chipItemsChanged$", {
34
- get: /**
35
- * @return {?}
36
- */
37
- function () {
38
- return this._chipItemsChanged$
39
- .pipe(takeUntil(this._destroy$), debounceTime(50));
40
- },
41
- enumerable: true,
42
- configurable: true
43
- });
44
- /**
45
- * @return {?}
46
- */
47
- FsChipsService.prototype.ngOnDestroy = /**
48
- * @return {?}
49
- */
50
- function () {
51
- this._destroy$.next();
52
- this._destroy$.complete();
53
- };
54
- /**
55
- * @param {?} selected
56
- * @param {?} value
57
- * @return {?}
58
- */
59
- FsChipsService.prototype.selectionChanged = /**
60
- * @param {?} selected
61
- * @param {?} value
62
- * @return {?}
63
- */
64
- function (selected, value) {
65
- this._selectionChanged$.next({
66
- selected: selected,
67
- value: value,
68
- });
69
- };
70
- /**
71
- * @param {?} chip
72
- * @return {?}
73
- */
74
- FsChipsService.prototype.register = /**
75
- * @param {?} chip
76
- * @return {?}
77
- */
78
- function (chip) {
79
- this.chips.push(chip);
80
- this._chipItemsChanged$.next();
81
- };
82
- /**
83
- * @param {?} chip
84
- * @return {?}
85
- */
86
- FsChipsService.prototype.destroy = /**
87
- * @param {?} chip
88
- * @return {?}
89
- */
90
- function (chip) {
91
- /** @type {?} */
92
- var index = this.chips.indexOf(chip);
93
- if (index > -1) {
94
- this.chips.splice(index, 1);
95
- this._chipItemsChanged$.next();
96
- }
97
- };
98
- FsChipsService.decorators = [
99
- { type: Injectable }
100
- ];
101
- /** @nocollapse */
102
- FsChipsService.ctorParameters = function () { return []; };
103
- return FsChipsService;
104
- }());
105
- if (false) {
106
- /** @type {?} */
107
- FsChipsService.prototype.chips;
108
- /**
109
- * @type {?}
110
- * @private
111
- */
112
- FsChipsService.prototype._chipItemsChanged$;
113
- /**
114
- * @type {?}
115
- * @private
116
- */
117
- FsChipsService.prototype._selectionChanged$;
118
- /**
119
- * @type {?}
120
- * @private
121
- */
122
- FsChipsService.prototype._destroy$;
123
- }
124
-
125
- /**
126
- * @fileoverview added by tsickle
127
- * Generated from: app/components/chips/chips.component.ts
128
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
129
- */
130
- var FsChipsComponent = /** @class */ (function () {
131
- function FsChipsComponent(_cdRef, _chipsService) {
132
- this._cdRef = _cdRef;
133
- this._chipsService = _chipsService;
134
- this.classFsChips = true;
135
- this.classHasChips = false;
136
- this.multiple = true;
137
- this.onChange = (/**
138
- * @return {?}
139
- */
140
- function () { });
141
- this.onTouch = (/**
142
- * @return {?}
143
- */
144
- function () { });
145
- this._value = [];
146
- this._destroy$ = new Subject();
147
- this.subscribeToItemsChange();
148
- this.subscribeToSelectionChange();
149
- }
150
- Object.defineProperty(FsChipsComponent.prototype, "chips", {
151
- get: /**
152
- * @return {?}
153
- */
154
- function () {
155
- return this._chipsService.chips;
156
- },
157
- enumerable: true,
158
- configurable: true
159
- });
160
- Object.defineProperty(FsChipsComponent.prototype, "value", {
161
- get: /**
162
- * @return {?}
163
- */
164
- function () {
165
- return this._value;
166
- },
167
- set: /**
168
- * @param {?} value
169
- * @return {?}
170
- */
171
- function (value) {
172
- if (this._value !== value) {
173
- this._value = value;
174
- this.onChange(this._value);
175
- this.onTouch(this._value);
176
- }
177
- },
178
- enumerable: true,
179
- configurable: true
180
- });
181
- /**
182
- * @return {?}
183
- */
184
- FsChipsComponent.prototype.ngOnDestroy = /**
185
- * @return {?}
186
- */
187
- function () {
188
- this._destroy$.next();
189
- this._destroy$.complete();
190
- };
191
- /**
192
- * @param {?} value
193
- * @return {?}
194
- */
195
- FsChipsComponent.prototype.writeValue = /**
196
- * @param {?} value
197
- * @return {?}
198
- */
199
- function (value) {
200
- if (value !== this.value) {
201
- this._value = value;
202
- }
203
- this.updateChips();
204
- };
205
- /**
206
- * @param {?} fn
207
- * @return {?}
208
- */
209
- FsChipsComponent.prototype.registerOnChange = /**
210
- * @param {?} fn
211
- * @return {?}
212
- */
213
- function (fn) { this.onChange = fn; };
214
- /**
215
- * @param {?} fn
216
- * @return {?}
217
- */
218
- FsChipsComponent.prototype.registerOnTouched = /**
219
- * @param {?} fn
220
- * @return {?}
221
- */
222
- function (fn) { this.onTouch = fn; };
223
- /**
224
- * Update ngModel value when selection changed
225
- */
226
- /**
227
- * Update ngModel value when selection changed
228
- * @private
229
- * @return {?}
230
- */
231
- FsChipsComponent.prototype.subscribeToSelectionChange = /**
232
- * Update ngModel value when selection changed
233
- * @private
234
- * @return {?}
235
- */
236
- function () {
237
- var _this = this;
238
- this._chipsService.selectionChanged$
239
- .pipe(takeUntil(this._destroy$))
240
- .subscribe((/**
241
- * @param {?} __0
242
- * @return {?}
243
- */
244
- function (_a) {
245
- var selected = _a.selected, value = _a.value;
246
- if (!selected) {
247
- /** @type {?} */
248
- var valueIndex = _this.value.findIndex((/**
249
- * @param {?} item
250
- * @return {?}
251
- */
252
- function (item) {
253
- return _this.compareFn(item, value);
254
- }));
255
- if (valueIndex > -1) {
256
- _this.value.splice(valueIndex, 1);
257
- _this.onChange(_this._value);
258
- _this.onTouch(_this._value);
259
- }
260
- }
261
- else {
262
- _this.value.push(value);
263
- _this.onChange(_this._value);
264
- _this.onTouch(_this._value);
265
- }
266
- }));
267
- };
268
- /**
269
- * Update selection if item was added or removed
270
- */
271
- /**
272
- * Update selection if item was added or removed
273
- * @private
274
- * @return {?}
275
- */
276
- FsChipsComponent.prototype.subscribeToItemsChange = /**
277
- * Update selection if item was added or removed
278
- * @private
279
- * @return {?}
280
- */
281
- function () {
282
- var _this = this;
283
- this._chipsService.chipItemsChanged$
284
- .pipe(takeUntil(this._destroy$))
285
- .subscribe((/**
286
- * @return {?}
287
- */
288
- function () {
289
- _this.classHasChips = !!_this._chipsService.chips.length;
290
- _this.updateChips();
291
- }));
292
- };
293
- /**
294
- * @private
295
- * @param {?} o1
296
- * @param {?} o2
297
- * @return {?}
298
- */
299
- FsChipsComponent.prototype.compareFn = /**
300
- * @private
301
- * @param {?} o1
302
- * @param {?} o2
303
- * @return {?}
304
- */
305
- function (o1, o2) {
306
- if (this.compare) {
307
- return this.compare(o1, o2);
308
- }
309
- return o1 === o2;
310
- };
311
- /**
312
- * @private
313
- * @return {?}
314
- */
315
- FsChipsComponent.prototype.updateChips = /**
316
- * @private
317
- * @return {?}
318
- */
319
- function () {
320
- var _this = this;
321
- if (this.multiple && Array.isArray(this.value) && this.chips) {
322
- this.chips.forEach((/**
323
- * @param {?} chip
324
- * @return {?}
325
- */
326
- function (chip) {
327
- chip.selected = find(_this.value, (/**
328
- * @param {?} o
329
- * @return {?}
330
- */
331
- function (o) {
332
- return _this.compareFn(o, chip.value);
333
- })) !== undefined;
334
- }));
335
- }
336
- this._cdRef.markForCheck();
337
- };
338
- FsChipsComponent.decorators = [
339
- { type: Component, args: [{
340
- selector: 'fs-chips',
341
- template: "<ng-content></ng-content>\n",
342
- providers: [
343
- {
344
- provide: NG_VALUE_ACCESSOR,
345
- useExisting: forwardRef((/**
346
- * @return {?}
347
- */
348
- function () { return FsChipsComponent; })),
349
- multi: true,
350
- },
351
- FsChipsService,
352
- ],
353
- changeDetection: ChangeDetectionStrategy.OnPush,
354
- styles: [""]
355
- }] }
356
- ];
357
- /** @nocollapse */
358
- FsChipsComponent.ctorParameters = function () { return [
359
- { type: ChangeDetectorRef },
360
- { type: FsChipsService }
361
- ]; };
362
- FsChipsComponent.propDecorators = {
363
- classFsChips: [{ type: HostBinding, args: ['class.fs-chips',] }],
364
- classHasChips: [{ type: HostBinding, args: ['class.has-chips',] }],
365
- compare: [{ type: Input }],
366
- multiple: [{ type: Input }]
367
- };
368
- return FsChipsComponent;
369
- }());
370
- if (false) {
371
- /** @type {?} */
372
- FsChipsComponent.prototype.classFsChips;
373
- /** @type {?} */
374
- FsChipsComponent.prototype.classHasChips;
375
- /** @type {?} */
376
- FsChipsComponent.prototype.compare;
377
- /** @type {?} */
378
- FsChipsComponent.prototype.multiple;
379
- /** @type {?} */
380
- FsChipsComponent.prototype.onChange;
381
- /** @type {?} */
382
- FsChipsComponent.prototype.onTouch;
383
- /**
384
- * @type {?}
385
- * @private
386
- */
387
- FsChipsComponent.prototype._value;
388
- /**
389
- * @type {?}
390
- * @private
391
- */
392
- FsChipsComponent.prototype._destroy$;
393
- /**
394
- * @type {?}
395
- * @private
396
- */
397
- FsChipsComponent.prototype._cdRef;
398
- /**
399
- * @type {?}
400
- * @private
401
- */
402
- FsChipsComponent.prototype._chipsService;
403
- }
404
-
405
- /**
406
- * @fileoverview added by tsickle
407
- * Generated from: app/components/chip/chip.component.ts
408
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
409
- */
410
- var FsChipComponent = /** @class */ (function () {
411
- function FsChipComponent(_cdRef, _chips) {
412
- this._cdRef = _cdRef;
413
- this._chips = _chips;
414
- this.fsChip = true;
415
- this._outlined = false;
416
- this._selectable = false;
417
- this._image = false;
418
- this._selected = false;
419
- this._removable = false;
420
- this.styleBackgroundColor = '';
421
- this.styleColor = '';
422
- this.styleBorderColor = '';
423
- this.classSmall = false;
424
- this.classTiny = false;
425
- this.classMicro = false;
426
- this.value = null;
427
- this.selectedToggled = new EventEmitter();
428
- this.removed = new EventEmitter();
429
- this.$destroy = new Subject();
430
- this._backgroundColor = '';
431
- this._color = '';
432
- }
433
- Object.defineProperty(FsChipComponent.prototype, "setSize", {
434
- set: /**
435
- * @param {?} value
436
- * @return {?}
437
- */
438
- function (value) {
439
- this._size = value;
440
- this.classSmall = value === 'small';
441
- this.classTiny = value === 'tiny';
442
- this.classMicro = value === 'micro';
443
- },
444
- enumerable: true,
445
- configurable: true
446
- });
447
- ;
448
- /**
449
- * @return {?}
450
- */
451
- FsChipComponent.prototype.click = /**
452
- * @return {?}
453
- */
454
- function () {
455
- if (this.selectable) {
456
- this.selected = !this.selected;
457
- this.selectedToggled.emit({ value: this.value, selected: this.selected });
458
- if (this._chips) {
459
- this._chips.selectionChanged(this.selected, this.value);
460
- }
461
- }
462
- };
463
- Object.defineProperty(FsChipComponent.prototype, "backgroundColor", {
464
- set: /**
465
- * @param {?} value
466
- * @return {?}
467
- */
468
- function (value) {
469
- this._backgroundColor = value;
470
- this.updateStyles();
471
- },
472
- enumerable: true,
473
- configurable: true
474
- });
475
- ;
476
- Object.defineProperty(FsChipComponent.prototype, "borderColor", {
477
- set: /**
478
- * @param {?} value
479
- * @return {?}
480
- */
481
- function (value) {
482
- this.styleBorderColor = value;
483
- this.updateStyles();
484
- },
485
- enumerable: true,
486
- configurable: true
487
- });
488
- Object.defineProperty(FsChipComponent.prototype, "color", {
489
- get: /**
490
- * @return {?}
491
- */
492
- function () {
493
- return this._color;
494
- },
495
- set: /**
496
- * @param {?} value
497
- * @return {?}
498
- */
499
- function (value) {
500
- this._color = value;
501
- this.updateStyles();
502
- },
503
- enumerable: true,
504
- configurable: true
505
- });
506
- Object.defineProperty(FsChipComponent.prototype, "outlined", {
507
- get: /**
508
- * @return {?}
509
- */
510
- function () {
511
- return this._outlined;
512
- },
513
- set: /**
514
- * @param {?} value
515
- * @return {?}
516
- */
517
- function (value) {
518
- this._outlined = value;
519
- this.updateStyles();
520
- },
521
- enumerable: true,
522
- configurable: true
523
- });
524
- ;
525
- Object.defineProperty(FsChipComponent.prototype, "removable", {
526
- get: /**
527
- * @return {?}
528
- */
529
- function () {
530
- return this._removable;
531
- },
532
- set: /**
533
- * @param {?} value
534
- * @return {?}
535
- */
536
- function (value) {
537
- this._removable = value;
538
- this._cdRef.markForCheck();
539
- },
540
- enumerable: true,
541
- configurable: true
542
- });
543
- ;
544
- Object.defineProperty(FsChipComponent.prototype, "selectable", {
545
- get: /**
546
- * @return {?}
547
- */
548
- function () {
549
- return this._selectable;
550
- },
551
- set: /**
552
- * @param {?} value
553
- * @return {?}
554
- */
555
- function (value) {
556
- this._selectable = value;
557
- },
558
- enumerable: true,
559
- configurable: true
560
- });
561
- ;
562
- Object.defineProperty(FsChipComponent.prototype, "selected", {
563
- get: /**
564
- * @return {?}
565
- */
566
- function () {
567
- return this._selected;
568
- },
569
- set: /**
570
- * @param {?} value
571
- * @return {?}
572
- */
573
- function (value) {
574
- this._selected = value;
575
- this._cdRef.markForCheck();
576
- },
577
- enumerable: true,
578
- configurable: true
579
- });
580
- ;
581
- Object.defineProperty(FsChipComponent.prototype, "image", {
582
- get: /**
583
- * @return {?}
584
- */
585
- function () {
586
- return this._image;
587
- },
588
- set: /**
589
- * @param {?} value
590
- * @return {?}
591
- */
592
- function (value) {
593
- this._image = value;
594
- this._cdRef.markForCheck();
595
- },
596
- enumerable: true,
597
- configurable: true
598
- });
599
- ;
600
- /**
601
- * @return {?}
602
- */
603
- FsChipComponent.prototype.ngOnInit = /**
604
- * @return {?}
605
- */
606
- function () {
607
- if (this._chips) {
608
- this._chips.register(this);
609
- }
610
- };
611
- /**
612
- * @return {?}
613
- */
614
- FsChipComponent.prototype.ngOnDestroy = /**
615
- * @return {?}
616
- */
617
- function () {
618
- if (this._chips) {
619
- this._chips.destroy(this);
620
- }
621
- this.$destroy.next();
622
- this.$destroy.complete();
623
- };
624
- /**
625
- * @param {?} event
626
- * @return {?}
627
- */
628
- FsChipComponent.prototype.remove = /**
629
- * @param {?} event
630
- * @return {?}
631
- */
632
- function (event) {
633
- this.removed.next(event);
634
- };
635
- /**
636
- * @private
637
- * @param {?} hexcolor
638
- * @return {?}
639
- */
640
- FsChipComponent.prototype.isContrastYIQBlack = /**
641
- * @private
642
- * @param {?} hexcolor
643
- * @return {?}
644
- */
645
- function (hexcolor) {
646
- if (!hexcolor) {
647
- return true;
648
- }
649
- hexcolor = hexcolor.replace('#', '');
650
- /** @type {?} */
651
- var r = parseInt(hexcolor.substr(0, 2), 16);
652
- /** @type {?} */
653
- var g = parseInt(hexcolor.substr(2, 2), 16);
654
- /** @type {?} */
655
- var b = parseInt(hexcolor.substr(4, 2), 16);
656
- /** @type {?} */
657
- var yiq = ((r * 299) + (g * 587) + (b * 114)) / 1000;
658
- return yiq >= 200;
659
- };
660
- /**
661
- * @private
662
- * @return {?}
663
- */
664
- FsChipComponent.prototype.updateStyles = /**
665
- * @private
666
- * @return {?}
667
- */
668
- function () {
669
- this.styleBackgroundColor = this._backgroundColor;
670
- if (this._color) {
671
- this.styleColor = this._color;
672
- }
673
- else if (!this._outlined) {
674
- this.styleColor = this.isContrastYIQBlack(this.styleBackgroundColor) ? '#474747' : '#fff';
675
- }
676
- if (this._outlined) {
677
- this.styleBackgroundColor = '';
678
- if (this._color) {
679
- this.styleBorderColor = this._color;
680
- }
681
- }
682
- this._cdRef.markForCheck();
683
- };
684
- FsChipComponent.decorators = [
685
- { type: Component, args: [{
686
- selector: 'fs-chip',
687
- template: "<img *ngIf=\"image\" [src]=\"image\" class=\"image\" alt=\"\">\n<div class=\"fs-chip-content\">\n <ng-content></ng-content>\n</div>\n<div class=\"selected-check\" *ngIf=\"selected\">\n <mat-icon [style.color]=\"styleColor\">check</mat-icon>\n</div>\n<a *ngIf=\"removable\" class=\"remove\" (click)=\"remove($event)\">\n <mat-icon [style.color]=\"styleColor\">cancel</mat-icon>\n</a>\n",
688
- changeDetection: ChangeDetectionStrategy.OnPush,
689
- styles: [""]
690
- }] }
691
- ];
692
- /** @nocollapse */
693
- FsChipComponent.ctorParameters = function () { return [
694
- { type: ChangeDetectorRef },
695
- { type: FsChipsService, decorators: [{ type: Optional }] }
696
- ]; };
697
- FsChipComponent.propDecorators = {
698
- fsChip: [{ type: HostBinding, args: ['class.fs-chip',] }],
699
- _outlined: [{ type: HostBinding, args: ['class.outlined',] }],
700
- _selectable: [{ type: HostBinding, args: ['class.selectable',] }],
701
- _image: [{ type: HostBinding, args: ['class.imaged',] }],
702
- _selected: [{ type: HostBinding, args: ['class.selected',] }],
703
- _removable: [{ type: HostBinding, args: ['class.removable',] }],
704
- styleBackgroundColor: [{ type: HostBinding, args: ['style.backgroundColor',] }],
705
- styleColor: [{ type: HostBinding, args: ['style.color',] }],
706
- styleBorderColor: [{ type: HostBinding, args: ['style.borderColor',] }],
707
- classSmall: [{ type: HostBinding, args: ['class.small',] }],
708
- classTiny: [{ type: HostBinding, args: ['class.tiny',] }],
709
- classMicro: [{ type: HostBinding, args: ['class.micro',] }],
710
- setSize: [{ type: Input, args: ['size',] }],
711
- click: [{ type: HostListener, args: ['click',] }],
712
- value: [{ type: Input }],
713
- backgroundColor: [{ type: Input }],
714
- borderColor: [{ type: Input }],
715
- color: [{ type: Input }],
716
- outlined: [{ type: Input }],
717
- removable: [{ type: Input }],
718
- selectable: [{ type: Input }],
719
- selected: [{ type: Input }],
720
- image: [{ type: Input }],
721
- selectedToggled: [{ type: Output }],
722
- removed: [{ type: Output }]
723
- };
724
- return FsChipComponent;
725
- }());
726
- if (false) {
727
- /** @type {?} */
728
- FsChipComponent.prototype.fsChip;
729
- /** @type {?} */
730
- FsChipComponent.prototype._outlined;
731
- /** @type {?} */
732
- FsChipComponent.prototype._selectable;
733
- /** @type {?} */
734
- FsChipComponent.prototype._image;
735
- /** @type {?} */
736
- FsChipComponent.prototype._selected;
737
- /** @type {?} */
738
- FsChipComponent.prototype._removable;
739
- /** @type {?} */
740
- FsChipComponent.prototype.styleBackgroundColor;
741
- /** @type {?} */
742
- FsChipComponent.prototype.styleColor;
743
- /** @type {?} */
744
- FsChipComponent.prototype.styleBorderColor;
745
- /** @type {?} */
746
- FsChipComponent.prototype.classSmall;
747
- /** @type {?} */
748
- FsChipComponent.prototype.classTiny;
749
- /** @type {?} */
750
- FsChipComponent.prototype.classMicro;
751
- /** @type {?} */
752
- FsChipComponent.prototype.value;
753
- /** @type {?} */
754
- FsChipComponent.prototype.selectedToggled;
755
- /** @type {?} */
756
- FsChipComponent.prototype.removed;
757
- /** @type {?} */
758
- FsChipComponent.prototype.$destroy;
759
- /**
760
- * @type {?}
761
- * @private
762
- */
763
- FsChipComponent.prototype._backgroundColor;
764
- /**
765
- * @type {?}
766
- * @private
767
- */
768
- FsChipComponent.prototype._color;
769
- /**
770
- * @type {?}
771
- * @private
772
- */
773
- FsChipComponent.prototype._size;
774
- /**
775
- * @type {?}
776
- * @private
777
- */
778
- FsChipComponent.prototype._cdRef;
779
- /**
780
- * @type {?}
781
- * @private
782
- */
783
- FsChipComponent.prototype._chips;
784
- /* Skipping unhandled member: ;*/
785
- /* Skipping unhandled member: ;*/
786
- /* Skipping unhandled member: ;*/
787
- /* Skipping unhandled member: ;*/
788
- /* Skipping unhandled member: ;*/
789
- /* Skipping unhandled member: ;*/
790
- /* Skipping unhandled member: ;*/
791
- }
792
-
793
- /**
794
- * @fileoverview added by tsickle
795
- * Generated from: app/fs-chip.module.ts
796
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
797
- */
798
- var FsChipModule = /** @class */ (function () {
799
- function FsChipModule() {
800
- }
801
- /**
802
- * @return {?}
803
- */
804
- FsChipModule.forRoot = /**
805
- * @return {?}
806
- */
807
- function () {
808
- return {
809
- ngModule: FsChipModule
810
- };
811
- };
812
- FsChipModule.decorators = [
813
- { type: NgModule, args: [{
814
- imports: [
815
- CommonModule,
816
- MatIconModule,
817
- FsLabelModule
818
- ],
819
- exports: [
820
- FsChipsComponent,
821
- FsChipComponent,
822
- ],
823
- declarations: [
824
- FsChipsComponent,
825
- FsChipComponent,
826
- ]
827
- },] }
828
- ];
829
- return FsChipModule;
830
- }());
831
-
832
- /**
833
- * @fileoverview added by tsickle
834
- * Generated from: public_api.ts
835
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
836
- */
837
-
838
- /**
839
- * @fileoverview added by tsickle
840
- * Generated from: firestitch-chip.ts
841
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
842
- */
843
-
844
- export { FsChipModule, FsChipsComponent as ɵa, FsChipsService as ɵb, FsChipComponent as ɵc };
845
- //# sourceMappingURL=firestitch-chip.js.map