#8647 fix vitest warnings #1467

Merged
jon merged 91 commits from 8647_fix_warnings into dev 2025-04-16 11:18:11 +00:00
5 changed files with 8 additions and 6 deletions
Showing only changes of commit d881730f27 - Show all commits

View File

@ -63,7 +63,7 @@ const $props = defineProps({
default: null,
},
create: {
type: Object,
type: [Boolean, Object],
default: null,
},
createAsDialog: {

View File

@ -26,7 +26,7 @@ function columnName(col) {
}
</script>
<template>
<VnFilterPanel v-bind="$attrs" :search-button="true" :disable-submit-event="true">
jsegarra marked this conversation as resolved Outdated
Outdated
Review

Esto cambia propiedades

Esto cambia propiedades
<VnFilterPanel v-bind="$attrs" :search-button="true" :data-key="$attrs['data-key']">
<template #body="{ params, orders, searchFn }">
<div
class="container"

View File

@ -12,7 +12,7 @@ const props = defineProps({
default: '',
},
filter: {
type: Object,
type: [String, Object],
Outdated
Review

Mirar quien esta pasando un string y arreglar ese caso

Mirar quien esta pasando un string y arreglar ese caso

fixed. también era un test

fixed. también era un test
default: null,
},
userFilter: {

View File

@ -2,7 +2,9 @@
import { onBeforeUnmount, onMounted, ref, watch } from 'vue';
import { useI18n } from 'vue-i18n';
import { useArrayData } from 'composables/useArrayData';
import { useAttrs } from 'vue';
const attrs = useAttrs();
const { t } = useI18n();
const props = defineProps({
@ -75,7 +77,7 @@ const props = defineProps({
default: false,
},
mapKey: {
type: String,
type: [String, Boolean],
default: '',
},
keyData: {
@ -219,7 +221,7 @@ defineExpose({
</script>
<template>
<div class="full-width">
<div class="full-width" v-bind="attrs">
<div
v-if="!store.data && !store.data?.length && !isLoading"
class="info-row q-pa-md text-center"

View File

@ -42,7 +42,7 @@ const props = defineProps({
default: null,
},
order: {
type: String,
type: [String, Array],
default: '',
},
limit: {