Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 97x 97x 97x 97x 97x 97x 97x 97x 97x 97x 97x 97x 53x 97x | import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core'; import { ValidatorFn } from '@angular/forms'; import { I18n } from '@ngx-translate/i18n-polyfill'; import * as _ from 'lodash'; import { SelectMessages } from '../select/select-messages.model'; import { SelectOption } from '../select/select-option.model'; @Component({ selector: 'cd-select-badges', template: require('./select-badges.component.html'), styles: [] }) export class SelectBadgesComponent { @Input() data: Array<string> = []; @Input() options: Array<SelectOption> = []; @Input() messages = new SelectMessages({}, this.i18n); @Input() selectionLimit: number; @Input() customBadges = false; @Input() customBadgeValidators: ValidatorFn[] = []; @Output() selection = new EventEmitter(); @ViewChild('cdSelect') cdSelect; constructor(private i18n: I18n) {} } |