From b82453582a9e25f25d65ffe27ee1ae3a2af62de1 Mon Sep 17 00:00:00 2001 From: carlossa Date: Thu, 17 Oct 2024 07:44:31 +0200 Subject: [PATCH 001/103] fix: refs #7304 7304 clean warning --- src/components/ui/VnAvatar.vue | 2 +- src/pages/Customer/Card/CustomerBasicData.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/ui/VnAvatar.vue b/src/components/ui/VnAvatar.vue index 1deb105db..2423f8ba7 100644 --- a/src/components/ui/VnAvatar.vue +++ b/src/components/ui/VnAvatar.vue @@ -6,7 +6,7 @@ import { useColor } from 'src/composables/useColor'; import { getCssVar } from 'quasar'; const $props = defineProps({ - workerId: { type: Number, required: true }, + workerId: { type: Number, default: null }, description: { type: String, default: null }, title: { type: String, default: null }, color: { type: String, default: null }, diff --git a/src/pages/Customer/Card/CustomerBasicData.vue b/src/pages/Customer/Card/CustomerBasicData.vue index d31669b43..3743a4b76 100644 --- a/src/pages/Customer/Card/CustomerBasicData.vue +++ b/src/pages/Customer/Card/CustomerBasicData.vue @@ -155,7 +155,6 @@ const exprBuilder = (param, value) => { url="Clients" :input-debounce="0" :label="t('customer.basicData.previousClient')" - :options="clients" :rules="validate('client.transferorFk')" emit-value map-options From 2be55ca81c5ab4514a7657dfaa94a8d8c95c79f9 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 19 Nov 2024 08:01:00 +0100 Subject: [PATCH 002/103] fix: refs #7304 fix list --- src/pages/Customer/CustomerList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index 3cb17332c..865287aeb 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -12,6 +12,7 @@ import RightMenu from 'src/components/common/RightMenu.vue'; import VnLinkPhone from 'src/components/ui/VnLinkPhone.vue'; import { toDate } from 'src/filters'; import CustomerFilter from './CustomerFilter.vue'; +import VnAvatar from 'src/components/ui/VnAvatar.vue'; const { t } = useI18n(); const router = useRouter(); From b9ba67c5a652495aee05d6f8172cfe9fa9fa7d94 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 19 Nov 2024 11:39:35 +0100 Subject: [PATCH 003/103] fix: refs #7304 fix warning --- src/components/ui/VnAvatar.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/ui/VnAvatar.vue b/src/components/ui/VnAvatar.vue index 2423f8ba7..0fe943ee2 100644 --- a/src/components/ui/VnAvatar.vue +++ b/src/components/ui/VnAvatar.vue @@ -6,7 +6,7 @@ import { useColor } from 'src/composables/useColor'; import { getCssVar } from 'quasar'; const $props = defineProps({ - workerId: { type: Number, default: null }, + workerId: { type: [Number, undefined], default: null }, description: { type: String, default: null }, title: { type: String, default: null }, color: { type: String, default: null }, @@ -38,7 +38,13 @@ watch(src, () => (showLetter.value = false)); - + +
From ec40ef9351f879be6447805c70a048418ddd9d69 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 21 Nov 2024 10:49:19 -0300 Subject: [PATCH 004/103] feat: refs #8163 add VnInput insert functionality and e2e test --- src/components/common/VnInput.vue | 33 ++++++++++++++++++- .../Supplier/Card/SupplierFiscalData.vue | 1 + .../integration/vnComponent/vnInput.spec.js | 25 ++++++++++++++ test/cypress/support/commands.js | 4 +++ 4 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 test/cypress/integration/vnComponent/vnInput.spec.js diff --git a/src/components/common/VnInput.vue b/src/components/common/VnInput.vue index 7979b6d6e..69291c311 100644 --- a/src/components/common/VnInput.vue +++ b/src/components/common/VnInput.vue @@ -1,5 +1,5 @@