From 4fa311120dc4d9e799deacc6a8a9b6a72a5d45a1 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 8 Apr 2024 10:11:50 +0200 Subject: [PATCH 01/42] feat: refs #6480 hide if no content --- src/components/CrudModel.vue | 75 ++++++++++++++++-------------- src/components/common/VnCard.vue | 20 ++++++++ src/components/ui/VnSubToolbar.vue | 5 +- 3 files changed, 62 insertions(+), 38 deletions(-) create mode 100644 src/components/common/VnCard.vue diff --git a/src/components/CrudModel.vue b/src/components/CrudModel.vue index c8fa5809c..cb4011c4f 100644 --- a/src/components/CrudModel.vue +++ b/src/components/CrudModel.vue @@ -9,6 +9,7 @@ import VnPaginate from 'components/ui/VnPaginate.vue'; import VnConfirm from 'components/ui/VnConfirm.vue'; import SkeletonTable from 'components/ui/SkeletonTable.vue'; import { tMobile } from 'src/composables/tMobile'; +import VnSubToolbar from './ui/VnSubToolbar.vue'; const quasar = useQuasar(); const stateStore = useStateStore(); @@ -258,6 +259,44 @@ watch(formUrl, async () => { }); - - - - - - - - - +import useCardSize from 'src/composables/useCardSize'; +import VnSubToolbar from 'src/components/common/VnSubToolbar.vue'; +defineProps({ + component: { + type: String, + required: true, + }, +}); + + diff --git a/src/components/ui/VnSubToolbar.vue b/src/components/ui/VnSubToolbar.vue index 22eebdf36..617c3a9d6 100644 --- a/src/components/ui/VnSubToolbar.vue +++ b/src/components/ui/VnSubToolbar.vue @@ -1,7 +1,7 @@ @@ -211,6 +211,9 @@ const downloadCSV = async () => { border-radius: 4px; padding: 6px; } +.no-uppercase{ + text-transform: none; +} From 90ed6ad09a20edf8016b29133b0b850a2f906b47 Mon Sep 17 00:00:00 2001 From: jorgep Date: Thu, 18 Apr 2024 10:49:17 +0200 Subject: [PATCH 14/42] fix: refs #6480 drop secondary acroos --- src/components/ui/VnSearchbar.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/ui/VnSearchbar.vue b/src/components/ui/VnSearchbar.vue index ddf520d0f..fc8475ace 100644 --- a/src/components/ui/VnSearchbar.vue +++ b/src/components/ui/VnSearchbar.vue @@ -131,13 +131,6 @@ async function search() { />