mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 09:46:42 +00:00
Nc feat/Readonly source followup (#8795)
* feat: allow partial column update (GUI) * feat: allow partial column update (backend) * refactor: swagger schema description correction * feat: allow edit from multi field editor * fix: allow meta update in api level * fix: add tooltip and docs link * fix: multi field editor corrections * fix: allow table meta update * fix: allow table meta update * fix: allow column validation update * fix: block adding new option directly from cell * fix: add tooltip for column menu options * refactor: tooltips * test: replace index with count as parameter * fix: corrections * refactor: hint text update
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<script setup lang="ts">
|
||||
import type { TooltipPlacement } from 'ant-design-vue/es/tooltip'
|
||||
import type { CSSProperties } from '@vue/runtime-dom'
|
||||
|
||||
defineProps<{
|
||||
tooltipStyle?: CSSProperties
|
||||
overlayInnerStyle?: CSSProperties
|
||||
mouseLeaveDelay?: number
|
||||
placement?: TooltipPlacement
|
||||
trigger?: 'hover' | 'click'
|
||||
message?: string
|
||||
enabled?: boolean
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NcTooltip
|
||||
:disabled="!enabled"
|
||||
:tooltip-style="{ 'min-width': 'max-content' }"
|
||||
:overlay-inner-style="{ 'min-width': 'max-content' }"
|
||||
:mouse-leave-delay="0.3"
|
||||
placement="left"
|
||||
trigger="hover"
|
||||
>
|
||||
<template #title>
|
||||
{{ $t('tooltip.schemaChangeDisabled') }} <br />
|
||||
{{ message }}
|
||||
<br v-if="message" />
|
||||
<a
|
||||
class="!text-current"
|
||||
href="https://docs.nocodb.com/data-sources/connect-to-data-source#configuring-permissions"
|
||||
target="_blank"
|
||||
>
|
||||
Learn more
|
||||
</a>
|
||||
</template>
|
||||
<slot />
|
||||
</NcTooltip>
|
||||
</template>
|
||||
Reference in New Issue
Block a user