|
|
@ -175,7 +175,7 @@ const rowHeight = inject(RowHeightInj, ref(1.8)) |
|
|
|
> |
|
|
|
> |
|
|
|
<component :is="iconMap.reload" v-if="isLoading" :class="{ 'animate-infinite animate-spin': isLoading }" /> |
|
|
|
<component :is="iconMap.reload" v-if="isLoading" :class="{ 'animate-infinite animate-spin': isLoading }" /> |
|
|
|
|
|
|
|
|
|
|
|
<a-tooltip placement="bottom"> |
|
|
|
<NcTooltip placement="bottom"> |
|
|
|
<template #title> Click or drop a file into cell</template> |
|
|
|
<template #title> Click or drop a file into cell</template> |
|
|
|
|
|
|
|
|
|
|
|
<div v-if="active || !visibleItems.length" class="flex items-center gap-1"> |
|
|
|
<div v-if="active || !visibleItems.length" class="flex items-center gap-1"> |
|
|
@ -189,7 +189,7 @@ const rowHeight = inject(RowHeightInj, ref(1.8)) |
|
|
|
Add file(s) |
|
|
|
Add file(s) |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-tooltip> |
|
|
|
</NcTooltip> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div v-else class="flex" /> |
|
|
|
<div v-else class="flex" /> |
|
|
@ -204,7 +204,7 @@ const rowHeight = inject(RowHeightInj, ref(1.8)) |
|
|
|
}" |
|
|
|
}" |
|
|
|
> |
|
|
|
> |
|
|
|
<template v-for="(item, i) of visibleItems" :key="item.url || item.title"> |
|
|
|
<template v-for="(item, i) of visibleItems" :key="item.url || item.title"> |
|
|
|
<a-tooltip placement="bottom"> |
|
|
|
<NcTooltip placement="bottom"> |
|
|
|
<template #title> |
|
|
|
<template #title> |
|
|
|
<div class="text-center w-full">{{ item.title }}</div> |
|
|
|
<div class="text-center w-full">{{ item.title }}</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -222,7 +222,7 @@ const rowHeight = inject(RowHeightInj, ref(1.8)) |
|
|
|
|
|
|
|
|
|
|
|
<IcOutlineInsertDriveFile v-else /> |
|
|
|
<IcOutlineInsertDriveFile v-else /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-tooltip> |
|
|
|
</NcTooltip> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -232,7 +232,7 @@ const rowHeight = inject(RowHeightInj, ref(1.8)) |
|
|
|
> |
|
|
|
> |
|
|
|
<component :is="iconMap.reload" v-if="isLoading" :class="{ 'animate-infinite animate-spin': isLoading }" /> |
|
|
|
<component :is="iconMap.reload" v-if="isLoading" :class="{ 'animate-infinite animate-spin': isLoading }" /> |
|
|
|
|
|
|
|
|
|
|
|
<a-tooltip v-else placement="bottom"> |
|
|
|
<NcTooltip v-else placement="bottom"> |
|
|
|
<template #title> View attachments</template> |
|
|
|
<template #title> View attachments</template> |
|
|
|
|
|
|
|
|
|
|
|
<component |
|
|
|
<component |
|
|
@ -240,7 +240,7 @@ const rowHeight = inject(RowHeightInj, ref(1.8)) |
|
|
|
class="transform dark:(!text-white) group-hover:(!text-accent scale-120) text-gray-500 text-[0.75rem]" |
|
|
|
class="transform dark:(!text-white) group-hover:(!text-accent scale-120) text-gray-500 text-[0.75rem]" |
|
|
|
@click.stop="modalVisible = true" |
|
|
|
@click.stop="modalVisible = true" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-tooltip> |
|
|
|
</NcTooltip> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|