|
|
@ -275,32 +275,30 @@ openNewRecordFormHook?.on(async (stackTitle) => { |
|
|
|
:key="`record-${record.row.id}-${col.id}`" |
|
|
|
:key="`record-${record.row.id}-${col.id}`" |
|
|
|
class="flex flex-col rounded-lg w-full" |
|
|
|
class="flex flex-col rounded-lg w-full" |
|
|
|
> |
|
|
|
> |
|
|
|
<div class="flex flex-row w-full justify-start pt-2"> |
|
|
|
<div v-if="!isRowEmpty(record, col)" class="flex flex-row w-full justify-start pt-2"> |
|
|
|
<div class="w-full text-gray-600"> |
|
|
|
<div class="w-full text-gray-600"> |
|
|
|
<SmartsheetHeaderVirtualCell v-if="isVirtualCol(col)" :column="col" :hide-menu="true" /> |
|
|
|
<SmartsheetHeaderVirtualCell v-if="isVirtualCol(col)" :column="col" :hide-menu="true" /> |
|
|
|
<SmartsheetHeaderCell v-else :column="col" :hide-menu="true" /> |
|
|
|
<SmartsheetHeaderCell v-else :column="col" :hide-menu="true" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
<div |
|
|
|
|
|
|
|
v-if="!isRowEmpty(record, col)" |
|
|
|
class="flex flex-row w-full items-center justify-start" |
|
|
|
class="flex flex-row w-full items-center justify-start" |
|
|
|
:class="{ 'pt-2 pl-2': col.uidt !== UITypes.SingleSelect }" |
|
|
|
:class="{ 'pt-2 pl-2': col.uidt !== UITypes.SingleSelect }" |
|
|
|
> |
|
|
|
> |
|
|
|
<div v-if="isRowEmpty(record, col)" class="h-4 bg-gray-200 px-5 ml-3 mt-2 rounded-lg"></div> |
|
|
|
<SmartsheetVirtualCell |
|
|
|
<template v-else> |
|
|
|
v-if="isVirtualCol(col)" |
|
|
|
<SmartsheetVirtualCell |
|
|
|
v-model="record.row[col.title]" |
|
|
|
v-if="isVirtualCol(col)" |
|
|
|
:column="col" |
|
|
|
v-model="record.row[col.title]" |
|
|
|
:row="record" |
|
|
|
:column="col" |
|
|
|
/> |
|
|
|
:row="record" |
|
|
|
<SmartsheetCell |
|
|
|
/> |
|
|
|
v-else |
|
|
|
<SmartsheetCell |
|
|
|
v-model="record.row[col.title]" |
|
|
|
v-else |
|
|
|
:column="col" |
|
|
|
v-model="record.row[col.title]" |
|
|
|
:edit-enabled="false" |
|
|
|
:column="col" |
|
|
|
:read-only="true" |
|
|
|
:edit-enabled="false" |
|
|
|
/> |
|
|
|
:read-only="true" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-card> |
|
|
|
</a-card> |
|
|
|