|
|
|
@ -13,6 +13,7 @@ import {
|
|
|
|
|
MetaInj, |
|
|
|
|
OpenNewRecordFormHookInj, |
|
|
|
|
inject, |
|
|
|
|
isLTAR, |
|
|
|
|
onBeforeMount, |
|
|
|
|
onBeforeUnmount, |
|
|
|
|
provide, |
|
|
|
@ -472,17 +473,21 @@ watch(view, async (nextView) => {
|
|
|
|
|
:key="`record-${record.row.id}-${col.id}`" |
|
|
|
|
class="flex flex-col rounded-lg w-full" |
|
|
|
|
> |
|
|
|
|
<div v-if="!isRowEmpty(record, col) || isLTAR(col.uidt)"> |
|
|
|
|
<!-- Smartsheet Header (Virtual) Cell --> |
|
|
|
|
<div v-if="!isRowEmpty(record, col)" class="flex flex-row w-full justify-start pt-2"> |
|
|
|
|
<div class="flex flex-row w-full justify-start pt-2"> |
|
|
|
|
<div class="w-full text-gray-400"> |
|
|
|
|
<LazySmartsheetHeaderVirtualCell v-if="isVirtualCol(col)" :column="col" :hide-menu="true" /> |
|
|
|
|
<LazySmartsheetHeaderVirtualCell |
|
|
|
|
v-if="isVirtualCol(col)" |
|
|
|
|
:column="col" |
|
|
|
|
:hide-menu="true" |
|
|
|
|
/> |
|
|
|
|
<LazySmartsheetHeaderCell v-else :column="col" :hide-menu="true" /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- Smartsheet (Virtual) Cell --> |
|
|
|
|
<div |
|
|
|
|
v-if="!isRowEmpty(record, col)" |
|
|
|
|
class="flex flex-row w-full items-center justify-start pl-[6px]" |
|
|
|
|
:class="{ '!ml-[-12px]': col.uidt === UITypes.SingleSelect }" |
|
|
|
|
> |
|
|
|
@ -503,6 +508,7 @@ watch(view, async (nextView) => {
|
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</a-card> |
|
|
|
|
</LazySmartsheetRow> |
|
|
|
|
</div> |
|
|
|
|