AITools prime cose

This commit is contained in:
Surya Paolo
2024-01-30 14:00:48 +01:00
parent 8a5a2bd79a
commit 74d1bf356f
97 changed files with 3832 additions and 223 deletions

View File

@@ -0,0 +1,78 @@
.colmodif {
cursor: pointer;
}
.coldate {
max-width: 250px;
min-width: 200px;
}
.tdclass, .trclass{
min-height: 20px !important;
margin-top: 5px;
}
.q-table td {
padding-left: 1px;
padding-right: 2px;
padding-top: 0;
padding-bottom: 0;
&__title {
font-size: 1rem;
}
}
.q-table {
&__col {
font-size: 1rem;
color: gray;
}
}
.newrec_fields{
display: flex;
padding: 2px;
margin: 2px;
align-items: center;
justify-content: center;
}
.riduci_pad {
min-height: 30px;
padding: 4px 8px !important;
}
.q-table__top{
padding-top: 0 !important;
}
.barselection {
padding: 0;
flex-wrap: nowrap;
display: flex;
align-items: center;
justify-content: space-between;
}
.myitem {
padding: 0px 0px 0px 0px !important;
}
.myitem-0 {
flex-grow: 0;
padding-left: 2px;
}
.myitem-1 {
flex-grow: 0;
}
.myitem-2 {
flex-grow: 0;
}
.myitem-3 {
flex-grow: 1;
}

View File

@@ -0,0 +1,46 @@
import { defineComponent, ref, onMounted, computed } from 'vue'
import { useI18n } from '@src/boot/i18n'
import { tools } from '../../store/Modules/tools'
import { shared_consts } from '@/common/shared_vuejs'
import { useUserStore } from '@store/UserStore'
import { useGlobalStore } from '@store/globalStore'
import { useQuasar } from 'quasar'
import { costanti } from '@costanti'
import { useRouter } from 'vue-router'
export default defineComponent({
name: 'CAITools',
props: {
},
components: {
},
setup(props, { emit }) {
const $q = useQuasar()
const { t } = useI18n()
const userStore = useUserStore()
const globalStore = useGlobalStore()
const isfinishLoading = computed(() => globalStore.finishLoading)
const $router = useRouter()
const querySel = ref('')
function mount() {
// Mount
}
onMounted(mount)
return {
t,
querySel,
$q,
globalStore,
}
}
})

View File

@@ -0,0 +1,20 @@
<template>
<div>
<q-select
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
outlined
v-model="querySel"
:options="globalStore.getQueryAI()"
:label="t('ai.selectquery') + `:`"
emit-value
map-options
>
</q-select>
</div>
</template>
<script lang="ts" src="./CAITools.ts">
</script>
<style lang="scss">
@import './CAITools.scss';
</style>

View File

@@ -0,0 +1 @@
export {default as CAITools} from './CAITools.vue'