import { defineComponent, ref, computed } from 'vue'
import { useI18n } from 'vue-i18n'
import { useUserStore } from '@store/UserStore'
import { useGlobalStore } from '@store/globalStore'
import { useQuasar } from 'quasar'

import { CMyPage } from '../../../components/CMyPage'
import { LandingFooter } from '../../../components/LandingFooter'
import { CTitleBanner } from '../../../components/CTitleBanner'
import { CSignUpIscrizioneConacreis } from '@src/components/CSignUpIscrizioneConacreis'

export default defineComponent({
  name: 'Iscrizioneconacreis',
  props: {
    mystr: {
      type: String,
      required: true,
      default: '',
    },
    myval: {
      type: Number,
      required: true,
      default: 0,
    },
    mybool: {
      type: Boolean,
      required: true,
      default: false,
    },
  },
  components: { CSignUpIscrizioneConacreis, CMyPage, LandingFooter, CTitleBanner },
  setup(props, { emit }) {
    const userStore = useUserStore()

    function isSocio() {
      return userStore.my.profile.socio
    }

    return {
      isSocio,
    }
  }
})
