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

import { getCurrentInstance } from 'vue'

export default defineComponent({
  name: '',
  props: {
    mystr: {
      type: String,
      required: true,
      default: '',
    },
    myval: {
      type: Number,
      required: true,
      default: 0,
    },
    mybool: {
      type: Boolean,
      required: true,
      default: false,
    },
  },
  setup(props, { emit }) {
    // context.attrs
    // context.slots
    // context.emit
    // context.parent
    // context.root

    const $q = useQuasar()
    const { t } = useI18n()
    const userStore = useUserStore()
    const globalStore = useGlobalStore()

    // const root = getCurrentInstance();  // same as ctx.root in component

    return {

    }
  }
})
