Files
myprojplanet_vite/src/components/CLabel/CLabel.ts
paoloar77 f63fdbb175 "Autoprodotto": metterlo come campo e filtro a parte ??
Se non hai l'USERNAME TELEGRAM presente, allora il BOT ti deve dire come fare per impostarlo.
Creare una Chat di Help Supporto Tecnico
2022-02-25 17:24:15 +01:00

43 lines
815 B
TypeScript
Executable File

import { defineComponent, ref, toRef, watch } from 'vue'
import { tools } from '@src/store/Modules/tools'
import { useQuasar } from 'quasar'
import { useI18n } from '@/boot/i18n'
import { toolsext } from '@store/Modules/toolsext'
export default defineComponent({
name: 'CLabel',
props: {
value: {
type: String,
required: false,
default: '',
},
label: {
type: String,
required: true,
default: '',
},
copy: {
type: Boolean,
required: false,
default: false,
}
},
components: {},
setup(props, { emit }) {
const $q = useQuasar()
const { t } = useI18n();
function copytoclip() {
tools.copyStringToClipboard($q, props.value, true)
}
return {
tools,
toolsext,
copytoclip,
}
},
})