|
|
@ -306,7 +306,6 @@ const fieldsMenuSearchRef = ref<HTMLInputElement>() |
|
|
|
|
|
|
|
|
|
|
|
watch(open, (value) => { |
|
|
|
watch(open, (value) => { |
|
|
|
if (value) { |
|
|
|
if (value) { |
|
|
|
console.log('value', fieldsMenuSearchRef.value) |
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|
fieldsMenuSearchRef.value?.focus() |
|
|
|
fieldsMenuSearchRef.value?.focus() |
|
|
|
}, 100) |
|
|
|
}, 100) |
|
|
@ -528,23 +527,16 @@ useMenuCloseOnEsc(open) |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
// :deep(.ant-checkbox-inner) { |
|
|
|
|
|
|
|
// @apply transform scale-60; |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// :deep(.ant-checkbox) { |
|
|
|
|
|
|
|
// @apply top-auto; |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:deep(.xxsmall) { |
|
|
|
:deep(.xxsmall) { |
|
|
|
@apply !min-w-0; |
|
|
|
@apply !min-w-0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.nc-fields-menu-search-field { |
|
|
|
.nc-fields-menu-search-field { |
|
|
|
.nc-search-icon { |
|
|
|
.nc-search-icon { |
|
|
|
@apply text-gray-500; |
|
|
|
@apply text-gray-400; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:hover .nc-search-icon, |
|
|
|
&.ant-input-affix-wrapper-focused .nc-search-icon { |
|
|
|
&.ant-input-affix-wrapper-focused .nc-search-icon { |
|
|
|
@apply text-gray-800; |
|
|
|
@apply text-gray-800; |
|
|
|
} |
|
|
|
} |
|
|
|