40 lines
1.0 KiB
TypeScript
Executable File
40 lines
1.0 KiB
TypeScript
Executable File
import { computed, defineComponent, PropType, ref } from 'vue'
|
|
|
|
import { ICalcStat, IOperators } from '../../model'
|
|
import { useUserStore } from '../../store/UserStore'
|
|
import { useRouter } from 'vue-router'
|
|
import { useGlobalStore } from '../../store/globalStore'
|
|
import { useI18n } from '../../boot/i18n'
|
|
import { CTitleBanner } from '@/components/CTitleBanner'
|
|
import { tools } from '@store/Modules/tools'
|
|
|
|
import { CVerifyEmail } from '@src/components/CVerifyEmail'
|
|
import { CVerifyTelegram } from '@src/components/CVerifyTelegram'
|
|
import MixinUsers from '@/mixins/mixin-users'
|
|
|
|
|
|
export default defineComponent({
|
|
name: 'CUserNonVerif',
|
|
components: {
|
|
CTitleBanner, CVerifyTelegram, CVerifyEmail,
|
|
},
|
|
props: {
|
|
},
|
|
setup(props) {
|
|
|
|
const userStore = useUserStore()
|
|
const $router = useRouter()
|
|
const globalStore = useGlobalStore()
|
|
const { t } = useI18n();
|
|
|
|
const { isEmailVerified, TelegVerificato } = MixinUsers()
|
|
|
|
return {
|
|
userStore,
|
|
tools,
|
|
isEmailVerified,
|
|
TelegVerificato
|
|
}
|
|
},
|
|
})
|