|
|
@ -197,6 +197,10 @@ const isInputBoxOnFocus = ref(false) |
|
|
|
// provide the following to override the default behavior and enable input fields like in form |
|
|
|
// provide the following to override the default behavior and enable input fields like in form |
|
|
|
provide(ActiveCellInj, ref(true)) |
|
|
|
provide(ActiveCellInj, ref(true)) |
|
|
|
provide(IsFormInj, ref(true)) |
|
|
|
provide(IsFormInj, ref(true)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const isSingleOrMultiSelect = computed(() => { |
|
|
|
|
|
|
|
return filterType.value === 'isSingleSelect' || filterType.value === 'isMultiSelect' |
|
|
|
|
|
|
|
}) |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
@ -209,7 +213,7 @@ provide(IsFormInj, ref(true)) |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-else |
|
|
|
v-else |
|
|
|
class="bg-white border-1 flex flex-grow min-h-4 h-full px-1 items-center nc-filter-input-wrapper !rounded-lg" |
|
|
|
class="bg-white border-1 flex flex-grow min-h-4 h-full px-1 items-center nc-filter-input-wrapper !rounded-lg" |
|
|
|
:class="{ 'px-2': hasExtraPadding, 'border-brand-500': isInputBoxOnFocus }" |
|
|
|
:class="{ 'px-2': hasExtraPadding, 'border-brand-500': isInputBoxOnFocus, '!max-w-100': isSingleOrMultiSelect }" |
|
|
|
@mouseup.stop |
|
|
|
@mouseup.stop |
|
|
|
> |
|
|
|
> |
|
|
|
<component |
|
|
|
<component |
|
|
|