// place to define custom components used throughout the application
// means we don't need to import and define in individual components

import ConfirmNavigation from '../components/dialogs/confirm-navigation';
import FormFieldValidated from
  '../components/controls/form-field-validated';
import FormFieldValidatedButtonToggle from
  '../components/controls/form-field-validated-button-toggle';
import FormFieldValidatedDate from
  '../components/controls/form-field-validated-date';
import FormFieldValidatedInput from
  '../components/controls/form-field-validated-input';
import FormFieldValidatedOptionGroup from
  '../components/controls/form-field-validated-option-group';
import FormFieldValidatedSelect from
  '../components/controls/form-field-validated-select';
import FormFieldValidatedSelectMultipleCheck from
  '../components/controls/form-field-validated-select-multiple-check';
import RecordState from '../components/controls/record-state';
import SctButton from '../components/controls/sct-btn';

export default ({ Vue }) => {
  Vue.component('confirm-navigation', ConfirmNavigation)
  Vue.component('form-field-validated', FormFieldValidated)
  Vue.component('form-field-validated-button-toggle', FormFieldValidatedButtonToggle)
  Vue.component('form-field-validated-date', FormFieldValidatedDate)
  Vue.component('form-field-validated-input', FormFieldValidatedInput)
  Vue.component('form-field-validated-option-group', FormFieldValidatedOptionGroup)
  Vue.component('form-field-validated-select', FormFieldValidatedSelect)
  Vue.component('form-field-validated-select-multiple-check',
    FormFieldValidatedSelectMultipleCheck)
  Vue.component('record-state', RecordState)
  Vue.component('sct-btn', SctButton)
}
