PASSAGGIO A VITE !
AGG. 1.1.23
This commit is contained in:
@@ -1,26 +1,27 @@
|
||||
import { CGridTableRec } from '@/components/CGridTableRec'
|
||||
import { CMyFriends } from '@/components/CMyFriends'
|
||||
import { CMyUser } from '@/components/CMyUser'
|
||||
import { CNotifAtTop } from '@/components/CNotifAtTop'
|
||||
import { CTitleBanner } from '@/components/CTitleBanner'
|
||||
import { CProfile } from '@/components/CProfile'
|
||||
import { CCheckIfIsLogged } from '@/components/CCheckIfIsLogged'
|
||||
import { CMyFieldRec } from '@/components/CMyFieldRec'
|
||||
import { CSkill } from '@/components/CSkill'
|
||||
import { CDateTime } from '@/components/CDateTime'
|
||||
import { CInfoAccount } from '@/components/CInfoAccount'
|
||||
import { CSendCoins } from '@/components/CSendCoins'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
import { CGridTableRec } from '@src/components/CGridTableRec'
|
||||
import { CMyFriends } from '@src/components/CMyFriends'
|
||||
import { CMyUser } from '@src/components/CMyUser'
|
||||
import { CNotifAtTop } from '@src/components/CNotifAtTop'
|
||||
import { CTitleBanner } from '@src/components/CTitleBanner'
|
||||
import { CProfile } from '@src/components/CProfile'
|
||||
import { CCheckIfIsLogged } from '@src/components/CCheckIfIsLogged'
|
||||
import { CMyFieldRec } from '@src/components/CMyFieldRec'
|
||||
import { CSkill } from '@src/components/CSkill'
|
||||
import { CDateTime } from '@src/components/CDateTime'
|
||||
import { CInfoAccount } from '@src/components/CInfoAccount'
|
||||
import { CSendCoins } from '@src/components/CSendCoins'
|
||||
import { tools } from '@tools'
|
||||
import { computed, defineComponent, onMounted, ref, watch } from 'vue'
|
||||
import { useUserStore } from '@store/UserStore'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { useGlobalStore } from '@store/globalStore'
|
||||
import { useI18n } from '@/boot/i18n'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { toolsext } from '@store/Modules/toolsext'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { costanti } from '@costanti'
|
||||
import { ICircuit, ICity, IFriends, IMyCircuit, IMyGroup, ISearchList, IUserFields } from 'model'
|
||||
import { shared_consts } from '@/common/shared_vuejs'
|
||||
import type { ICircuit, ICity, IFriends, IMyCircuit, IMyGroup, ISearchList } from 'model';
|
||||
import { IUserFields } from 'model'
|
||||
import { shared_consts } from '@src/common/shared_vuejs'
|
||||
import { colmyUserPeople, colmyUserGroup, colmyMovementTable, colmyMovement } from '@store/Modules/fieldsTable'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
import { useCircuitStore } from '@src/store/CircuitStore'
|
||||
@@ -42,7 +43,7 @@ export default defineComponent({
|
||||
const $q = useQuasar()
|
||||
const { t } = useI18n()
|
||||
|
||||
const animation = ref('fade')
|
||||
const animation = ref(<any>'fade')
|
||||
const tabevents = ref('new')
|
||||
|
||||
const mycards = computed(() => {
|
||||
@@ -60,7 +61,7 @@ export default defineComponent({
|
||||
const tabcircuit = ref('info')
|
||||
const filtro_eventi = ref(<any[]>[])
|
||||
|
||||
const mygrp = ref(<IMyGroup | null>{})
|
||||
const mygrp = ref(<IMyGroup>{})
|
||||
const mystatus = ref(<number>0)
|
||||
const users_in_group = ref(<IFriends[]>[])
|
||||
|
||||
@@ -113,7 +114,7 @@ export default defineComponent({
|
||||
circuitslistOpt.value = []
|
||||
for (let i = 0; i < circuitslist.value.length; i++) {
|
||||
circuitslistOpt.value.push({ label: circuitslist.value[i].name, value: i })
|
||||
let myc = data.mygroup.mycircuits.find((circ: IMyCircuit) => circ.circuitname === circuitslist.value[i].name)
|
||||
const myc = data.mygroup.mycircuits.find((circ: IMyCircuit) => circ.circuitname === circuitslist.value[i].name)
|
||||
if (myc) {
|
||||
circuitslist.value[i].account = myc.account
|
||||
}
|
||||
@@ -165,7 +166,7 @@ export default defineComponent({
|
||||
function getLinkGrpTelegram() {
|
||||
|
||||
if (mygrp.value) {
|
||||
if (!!mygrp.value.link_telegram) {
|
||||
if (mygrp.value.link_telegram) {
|
||||
return (!mygrp.value.link_telegram.startsWith('http') ? 'https://' : '') + mygrp.value.link_telegram
|
||||
}
|
||||
} else {
|
||||
@@ -221,7 +222,7 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function filtrotables(table: string, quale: string) {
|
||||
let out = []
|
||||
const out = []
|
||||
if (mygrp.value)
|
||||
out.push({ groupname: mygrp.value.groupname })
|
||||
|
||||
|
||||
@@ -46,13 +46,13 @@
|
||||
class="bg-red text-white"
|
||||
style="text-align: center"
|
||||
>
|
||||
<em style="font-weight: bold">{{ $t('db.youarerefusedgroup') }}</em>
|
||||
<em style="font-weight: bold">{{ $t("db.youarerefusedgroup") }}</em>
|
||||
<br />
|
||||
</q-banner>
|
||||
|
||||
<q-btn
|
||||
v-if="circuitslistOpt.length > 0"
|
||||
icon-right="img: images/1ris_rosso_100.png"
|
||||
icon-right="img: /images/1ris_rosso_100.png"
|
||||
color="green"
|
||||
size="md"
|
||||
:label="t('circuit.sendcoins')"
|
||||
@@ -107,7 +107,7 @@
|
||||
<q-icon color="negative" name="fas fa-user-minus" />
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
{{ $t('groups.exit_group') }}
|
||||
{{ $t("groups.exit_group") }}
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
<q-icon color="negative" name="fas fa-trash-alt" />
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
{{ $t('groups.delete_group') }}
|
||||
{{ $t("groups.delete_group") }}
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
@@ -217,7 +217,7 @@
|
||||
"
|
||||
:label="t('groups.circuits')"
|
||||
name="circuits"
|
||||
icon="img: images/1ris_rosso_100.png"
|
||||
icon="img: /images/1ris_rosso_100.png"
|
||||
></q-tab>
|
||||
</q-tabs>
|
||||
|
||||
@@ -250,7 +250,11 @@
|
||||
type="a"
|
||||
size="md"
|
||||
rounded
|
||||
:label="$t('reg.website') + ' ' + tools.getMainUrl(getLinkWebSite())"
|
||||
:label="
|
||||
$t('reg.website') +
|
||||
' ' +
|
||||
tools.getMainUrl(getLinkWebSite())
|
||||
"
|
||||
:href="getLinkWebSite()"
|
||||
target="__blank"
|
||||
></q-btn>
|
||||
@@ -273,9 +277,9 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="title_param">
|
||||
{{ $t('groups.private') }}
|
||||
{{ $t("groups.private") }}
|
||||
</div>
|
||||
{{ $t('groups.private_descr') }}
|
||||
{{ $t("groups.private_descr") }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -291,12 +295,12 @@
|
||||
<q-icon name="fas fa-eye-slash"></q-icon>
|
||||
</div>
|
||||
<div>
|
||||
<div class="title_param">{{ $t('groups.hidden') }}</div>
|
||||
{{ $t('groups.hidden_descr') }}
|
||||
<div class="title_param">{{ $t("groups.hidden") }}</div>
|
||||
{{ $t("groups.hidden_descr") }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="members">
|
||||
{{ $t('products.category') }}
|
||||
{{ $t("products.category") }}
|
||||
<q-item>
|
||||
<q-item-section>
|
||||
<q-item-label class="full-width">
|
||||
@@ -321,8 +325,8 @@
|
||||
{{ numUsers() }}
|
||||
{{
|
||||
numUsers() === 1
|
||||
? t('shared.member')
|
||||
: t('shared.members')
|
||||
? t("shared.member")
|
||||
: t("shared.members")
|
||||
}}
|
||||
</div>
|
||||
<div class="admins">
|
||||
@@ -330,8 +334,8 @@
|
||||
{{ numAdmins() }}
|
||||
{{
|
||||
numAdmins() === 1
|
||||
? t('shared.admin')
|
||||
: t('shared.admins')
|
||||
? t("shared.admin")
|
||||
: t("shared.admins")
|
||||
}}
|
||||
</div>
|
||||
|
||||
@@ -358,7 +362,7 @@
|
||||
<div class="element">
|
||||
<q-icon name="fas fa-lightbulb"></q-icon>
|
||||
{{
|
||||
$t('shared.createdby', {
|
||||
$t("shared.createdby", {
|
||||
username: mygrp.createdBy,
|
||||
date: tools.getstrDateYY(mygrp.date_created),
|
||||
})
|
||||
@@ -374,7 +378,7 @@
|
||||
>
|
||||
<q-icon name="fas fa-pencil-alt"></q-icon>
|
||||
{{
|
||||
$t('shared.lastmodify', {
|
||||
$t("shared.lastmodify", {
|
||||
date: tools.getstrDateYY(mygrp.date_updated),
|
||||
})
|
||||
}}
|
||||
@@ -517,7 +521,7 @@
|
||||
<q-tab
|
||||
:label="t('circuit.movements')"
|
||||
name="mov"
|
||||
icon="img: images/1ris_rosso_100.png"
|
||||
icon="img: /images/1ris_rosso_100.png"
|
||||
></q-tab>
|
||||
</q-tabs>
|
||||
</q-tab-panel>
|
||||
@@ -709,7 +713,7 @@
|
||||
type="QAvatar"
|
||||
size="140px"
|
||||
height="140px"
|
||||
animation="fade"
|
||||
:animation="animation"
|
||||
/>
|
||||
<q-card flat bordered style="width: 250px">
|
||||
<div class="text-h6">
|
||||
@@ -754,6 +758,6 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './mygroup.scss';
|
||||
@import "./mygroup.scss";
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user