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:
Pranav C
2024-06-21 20:44:40 +05:30
committed by GitHub
parent aa33307a30
commit d4e5ede2d3
38 changed files with 586 additions and 296 deletions

View File

@@ -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>