import AdmVue from '@assets/js/adm-vue.js';
import documentReady from '@assets/js/documentReady';
import formMixin from "@mixins/formMixin";

documentReady(() => {
});

const vm = new AdmVue({
  data() {
    return {
      configurations: {},
      loading: false,
    };
  },
  mixins: [formMixin],
  components: {
    BaseContent: () => import(/* webpackChunkName: "BaseContent" */ '@elements/BaseContent/index.vue'),
    BaseInput: () => import(/* webpackChunkName: "BaseInput" */ '@elements/BaseInput/index.vue'),
    BaseButton: () => import(/* webpackChunkName: "BaseButton" */ '@elements/BaseButton/index.vue'),
  },
  methods: {
    disabledAfterToday(date) {
      const today = new Date();
      return date > today;
    },
  },
  mounted() {
    if(this.configurations.sexo == ''){
      this.configurations.sexo = 'o';
    }
  }
});

AdmVue.init(vm);
