|
|
@ -30,12 +30,12 @@ const emit = defineEmits(['update:value']) |
|
|
|
|
|
|
|
|
|
|
|
const uiTypesNotSupportedInFormulas = [UITypes.QrCode, UITypes.Barcode] |
|
|
|
const uiTypesNotSupportedInFormulas = [UITypes.QrCode, UITypes.Barcode] |
|
|
|
|
|
|
|
|
|
|
|
const { t } = useI18n() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const vModel = useVModel(props, 'value', emit) |
|
|
|
const vModel = useVModel(props, 'value', emit) |
|
|
|
|
|
|
|
|
|
|
|
const { formState, setAdditionalValidations, validateInfos, sqlUi, column } = useColumnCreateStoreOrThrow() |
|
|
|
const { formState, setAdditionalValidations, validateInfos, sqlUi, column } = useColumnCreateStoreOrThrow() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { t } = useI18n() |
|
|
|
|
|
|
|
|
|
|
|
const { loadMagic, predictFunction: _predictFunction } = useNocoEe() |
|
|
|
const { loadMagic, predictFunction: _predictFunction } = useNocoEe() |
|
|
|
|
|
|
|
|
|
|
|
enum JSEPNode { |
|
|
|
enum JSEPNode { |
|
|
@ -741,7 +741,13 @@ const predictFunction = async () => { |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<div class="text-gray-600 mt-2 mb-4 prose-sm"> |
|
|
|
<div class="text-gray-600 mt-2 mb-4 prose-sm"> |
|
|
|
{{ $t('msg.formula.hintStart') }} |
|
|
|
{{ |
|
|
|
|
|
|
|
// As using {} in translation will be treated as placeholder, and this translation contain {} as part of th text |
|
|
|
|
|
|
|
$t('msg.formula.hintStart', { |
|
|
|
|
|
|
|
placeholder1: '{}', |
|
|
|
|
|
|
|
placeholder2: '{column_name}', |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}} |
|
|
|
<a class="prose-sm" href="https://docs.nocodb.com/setup-and-usages/formulas#available-formula-features" target="_blank"> |
|
|
|
<a class="prose-sm" href="https://docs.nocodb.com/setup-and-usages/formulas#available-formula-features" target="_blank"> |
|
|
|
{{ $t('msg.formula.hintEnd') }} |
|
|
|
{{ $t('msg.formula.hintEnd') }} |
|
|
|
</a> |
|
|
|
</a> |
|
|
|