|
|
@ -329,7 +329,7 @@ onMounted(async () => { |
|
|
|
class="flex flex-col rounded-lg w-full" |
|
|
|
class="flex flex-col rounded-lg w-full" |
|
|
|
> |
|
|
|
> |
|
|
|
<div v-if="!isRowEmpty(record, col)" 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-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> |
|
|
@ -337,17 +337,19 @@ onMounted(async () => { |
|
|
|
<div |
|
|
|
<div |
|
|
|
v-if="!isRowEmpty(record, col)" |
|
|
|
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- pl-2': col.uidt !== UITypes.SingleSelect }" |
|
|
|
> |
|
|
|
> |
|
|
|
<LazySmartsheetVirtualCell |
|
|
|
<LazySmartsheetVirtualCell |
|
|
|
v-if="isVirtualCol(col)" |
|
|
|
v-if="isVirtualCol(col)" |
|
|
|
v-model="record.row[col.title]" |
|
|
|
v-model="record.row[col.title]" |
|
|
|
|
|
|
|
class="text-sm pt-1" |
|
|
|
:column="col" |
|
|
|
:column="col" |
|
|
|
:row="record" |
|
|
|
:row="record" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<LazySmartsheetCell |
|
|
|
<LazySmartsheetCell |
|
|
|
v-else |
|
|
|
v-else |
|
|
|
v-model="record.row[col.title]" |
|
|
|
v-model="record.row[col.title]" |
|
|
|
|
|
|
|
class="text-sm pt-1" |
|
|
|
:column="col" |
|
|
|
:column="col" |
|
|
|
:edit-enabled="false" |
|
|
|
:edit-enabled="false" |
|
|
|
:read-only="true" |
|
|
|
:read-only="true" |
|
|
@ -364,6 +366,7 @@ onMounted(async () => { |
|
|
|
<a-layout-footer> |
|
|
|
<a-layout-footer> |
|
|
|
<div v-if="formattedData[stack.title] && countByStack[stack.title] >= 0" class="mt-5 text-center"> |
|
|
|
<div v-if="formattedData[stack.title] && countByStack[stack.title] >= 0" class="mt-5 text-center"> |
|
|
|
<mdi-plus |
|
|
|
<mdi-plus |
|
|
|
|
|
|
|
v-if="!isPublic" |
|
|
|
class="text-pint-500 text-lg text-primary cursor-pointer" |
|
|
|
class="text-pint-500 text-lg text-primary cursor-pointer" |
|
|
|
@click="openNewRecordFormHook.trigger(stack.title === 'uncategorized' ? null : stack.title)" |
|
|
|
@click="openNewRecordFormHook.trigger(stack.title === 'uncategorized' ? null : stack.title)" |
|
|
|
/> |
|
|
|
/> |
|
|
@ -387,7 +390,7 @@ onMounted(async () => { |
|
|
|
> |
|
|
|
> |
|
|
|
<div class="items-center justify-between" @click="handleCollapseStack(stackIdx)"> |
|
|
|
<div class="items-center justify-between" @click="handleCollapseStack(stackIdx)"> |
|
|
|
<a-skeleton v-if="!formattedData[stack.title] || !countByStack" class="!w-[150px] pl-5" :paragraph="false" /> |
|
|
|
<a-skeleton v-if="!formattedData[stack.title] || !countByStack" class="!w-[150px] pl-5" :paragraph="false" /> |
|
|
|
<div v-else class="nc-kanban-data-count mt-[7px] mx-[10px]"> |
|
|
|
<div v-else class="nc-kanban-data-count mt-[12px] mx-[10px]"> |
|
|
|
<div class="float-right flex gap-2 items-center cursor-pointer font-bold"> |
|
|
|
<div class="float-right flex gap-2 items-center cursor-pointer font-bold"> |
|
|
|
<LazyGeneralTruncateText>{{ stack.title }}</LazyGeneralTruncateText> |
|
|
|
<LazyGeneralTruncateText>{{ stack.title }}</LazyGeneralTruncateText> |
|
|
|
<mdi-menu-down class="text-grey text-lg" /> |
|
|
|
<mdi-menu-down class="text-grey text-lg" /> |
|
|
|