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