import {Component} from '@angular/core';
import {BaMultiCheckbox, BaCheckbox} from '../../../../../../theme/components';

@Component({
  selector: 'checkbox-inputs',
  template: require('./checkboxInputs.html'),
  directives: [BaMultiCheckbox, BaCheckbox]
})
export class CheckboxInputs {
  public checkboxModel = [{
    name: 'Check 1',
    checked: false,
    class: 'col-md-4'
  }, {
    name: 'Check 2',
    checked: true,
    class: 'col-md-4'
  }, {
    name: 'Check 3',
    checked: false,
    class: 'col-md-4'
  }];

  public checkboxPropertiesMapping = {
    model: 'checked',
    value: 'name',
    label: 'name',
    baCheckboxClass: 'class'
  };

  constructor() {
  }

}
