From 21560975040fa327afbffcf1a3b9fb42ead503c9 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sun, 10 Jul 2022 13:33:33 +0530 Subject: [PATCH] feat(gui-v2): gallery view Signed-off-by: Pranav C --- .../components/smartsheet/Gallery.vue | 164 ++++++++++-------- .../components/smartsheet/VirtualCell.vue | 1 - .../virtual-cell/components/ItemChip.vue | 11 +- 3 files changed, 99 insertions(+), 77 deletions(-) diff --git a/packages/nc-gui-v2/components/smartsheet/Gallery.vue b/packages/nc-gui-v2/components/smartsheet/Gallery.vue index cc48c69ed5..51256d97ff 100644 --- a/packages/nc-gui-v2/components/smartsheet/Gallery.vue +++ b/packages/nc-gui-v2/components/smartsheet/Gallery.vue @@ -33,65 +33,76 @@ watch( @@ -223,3 +239,9 @@ export default { --> + diff --git a/packages/nc-gui-v2/components/smartsheet/VirtualCell.vue b/packages/nc-gui-v2/components/smartsheet/VirtualCell.vue index 1c55bbd85f..d888f077d2 100644 --- a/packages/nc-gui-v2/components/smartsheet/VirtualCell.vue +++ b/packages/nc-gui-v2/components/smartsheet/VirtualCell.vue @@ -7,7 +7,6 @@ import useVirtualCell from '~/composables/useVirtualCell' interface Props { column: ColumnType modelValue: any - editEnabled: boolean } const { column, modelValue: value } = defineProps() diff --git a/packages/nc-gui-v2/components/virtual-cell/components/ItemChip.vue b/packages/nc-gui-v2/components/virtual-cell/components/ItemChip.vue index 78b0c1ccc9..d2c75a0272 100644 --- a/packages/nc-gui-v2/components/virtual-cell/components/ItemChip.vue +++ b/packages/nc-gui-v2/components/virtual-cell/components/ItemChip.vue @@ -1,14 +1,15 @@