|
|
@ -769,8 +769,8 @@ const onFieldOptionUpdate = () => { |
|
|
|
</NcTooltip> |
|
|
|
</NcTooltip> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex flex-row rounded-lg border-1 border-gray-200"> |
|
|
|
<div class="flex flex-row rounded-lg border-1 overflow-clip border-gray-200"> |
|
|
|
<div ref="fieldsListWrapperDomRef" class="nc-scrollbar-md !overflow-auto w-full flex-grow-1 nc-fields-height"> |
|
|
|
<div ref="fieldsListWrapperDomRef" class="nc-scrollbar-md !overflow-auto flex-1 flex-grow-1 nc-fields-height"> |
|
|
|
<Draggable v-model="fields" :disabled="isLocked" item-key="id" @change="onMove($event)"> |
|
|
|
<Draggable v-model="fields" :disabled="isLocked" item-key="id" @change="onMove($event)"> |
|
|
|
<template #item="{ element: field }"> |
|
|
|
<template #item="{ element: field }"> |
|
|
|
<div |
|
|
|
<div |
|
|
@ -814,14 +814,17 @@ const onFieldOptionUpdate = () => { |
|
|
|
'text-brand-500': compareCols(field, activeField), |
|
|
|
'text-brand-500': compareCols(field, activeField), |
|
|
|
}" |
|
|
|
}" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<span |
|
|
|
<NcTooltip |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
|
'text-brand-500': compareCols(field, activeField), |
|
|
|
'text-brand-500': compareCols(field, activeField), |
|
|
|
}" |
|
|
|
}" |
|
|
|
class="truncate max-w-64" |
|
|
|
class="truncate flex-1" |
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
<template #title> {{ fieldState(field)?.title || field.title }} </template> |
|
|
|
|
|
|
|
<span> |
|
|
|
{{ fieldState(field)?.title || field.title }} |
|
|
|
{{ fieldState(field)?.title || field.title }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
</NcTooltip> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex items-center justify-end gap-1"> |
|
|
|
<div class="flex items-center justify-end gap-1"> |
|
|
|
<div class="flex items-center"> |
|
|
|
<div class="flex items-center"> |
|
|
@ -970,13 +973,17 @@ const onFieldOptionUpdate = () => { |
|
|
|
'text-brand-500': compareCols(displayColumn, activeField), |
|
|
|
'text-brand-500': compareCols(displayColumn, activeField), |
|
|
|
}" |
|
|
|
}" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<span |
|
|
|
<NcTooltip |
|
|
|
|
|
|
|
class="truncate flex-1" |
|
|
|
:class="{ |
|
|
|
:class="{ |
|
|
|
'text-brand-500': compareCols(displayColumn, activeField), |
|
|
|
'text-brand-500': compareCols(displayColumn, activeField), |
|
|
|
}" |
|
|
|
}" |
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
<template #title> {{ fieldState(displayColumn)?.title || displayColumn.title }} </template> |
|
|
|
|
|
|
|
<span> |
|
|
|
{{ fieldState(displayColumn)?.title || displayColumn.title }} |
|
|
|
{{ fieldState(displayColumn)?.title || displayColumn.title }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
</NcTooltip> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex items-center justify-end gap-1"> |
|
|
|
<div class="flex items-center justify-end gap-1"> |
|
|
|
<div class="flex items-center"> |
|
|
|
<div class="flex items-center"> |
|
|
@ -1072,7 +1079,7 @@ const onFieldOptionUpdate = () => { |
|
|
|
</Draggable> |
|
|
|
</Draggable> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<Transition v-if="!changingField" name="slide-fade"> |
|
|
|
<Transition v-if="!changingField" name="slide-fade"> |
|
|
|
<div class="border-gray-200 border-l-1 rounded-r-xl h-[calc(100vh-(var(--topbar-height)*3.85))]"> |
|
|
|
<div class="border-gray-200 border-l-1 nc-scrollbar-md nc-fields-height !overflow-y-auto"> |
|
|
|
<SmartsheetColumnEditOrAddProvider |
|
|
|
<SmartsheetColumnEditOrAddProvider |
|
|
|
v-if="activeField" |
|
|
|
v-if="activeField" |
|
|
|
class="p-4 w-[25rem]" |
|
|
|
class="p-4 w-[25rem]" |
|
|
|