feat: refs #8616 add VnCheckbox component to VnFilter and update prop types in VnFilterPanel and VnSearchbar
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jose Antonio Tubau 2025-02-27 09:59:27 +01:00
parent 891380dc97
commit 2d6284c8d9
3 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,7 @@ import VnSelect from 'components/common/VnSelect.vue';
import VnInput from 'components/common/VnInput.vue'; import VnInput from 'components/common/VnInput.vue';
import VnInputDate from 'components/common/VnInputDate.vue'; import VnInputDate from 'components/common/VnInputDate.vue';
import VnInputTime from 'components/common/VnInputTime.vue'; import VnInputTime from 'components/common/VnInputTime.vue';
import VnCheckbox from 'components/common/VnCheckbox.vue';
import VnColumn from 'components/VnTable/VnColumn.vue'; import VnColumn from 'components/VnTable/VnColumn.vue';
const $props = defineProps({ const $props = defineProps({
@ -107,7 +108,7 @@ const components = {
}, },
}, },
checkbox: { checkbox: {
component: markRaw(QCheckbox), component: markRaw(VnCheckbox),
event: updateEvent, event: updateEvent,
attrs: { attrs: {
class: $props.showTitle ? 'q-py-sm' : 'q-px-md q-py-xs fit', class: $props.showTitle ? 'q-py-sm' : 'q-px-md q-py-xs fit',

View File

@ -54,7 +54,7 @@ const $props = defineProps({
default: 'table', default: 'table',
}, },
redirect: { redirect: {
type: Boolean, type: [String, Boolean],
default: true, default: true,
}, },
arrayData: { arrayData: {

View File

@ -33,6 +33,10 @@ const props = defineProps({
type: String, type: String,
default: '', default: '',
}, },
userFilter: {
type: Object,
default: null,
},
filter: { filter: {
type: Object, type: Object,
default: null, default: null,