From b707641c50551103fbbeba3ab58a8cb6e2707202 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 28 Jul 2022 00:14:31 +0530 Subject: [PATCH] feat(gui-v2): add store for column create, bind properties Signed-off-by: Pranav C --- .../smartsheet-column/AdvancedOptions.vue | 39 +++++++++----- .../{Edit.vue => EditOrAdd.vue} | 40 +++----------- .../components/smartsheet-header/Cell.vue | 4 ++ .../components/smartsheet-header/Menu.vue | 2 +- .../nc-gui-v2/components/smartsheet/Grid.vue | 7 ++- .../composables/useColumnCreateStore.ts | 54 +++++++++++++++++++ 6 files changed, 100 insertions(+), 46 deletions(-) rename packages/nc-gui-v2/components/smartsheet-column/{Edit.vue => EditOrAdd.vue} (77%) create mode 100644 packages/nc-gui-v2/composables/useColumnCreateStore.ts diff --git a/packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue b/packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue index fc215ca729..82301ce285 100644 --- a/packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue +++ b/packages/nc-gui-v2/components/smartsheet-column/AdvancedOptions.vue @@ -1,5 +1,6 @@ diff --git a/packages/nc-gui-v2/components/smartsheet-column/Edit.vue b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue similarity index 77% rename from packages/nc-gui-v2/components/smartsheet-column/Edit.vue rename to packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue index be29f6fbd0..c593346887 100644 --- a/packages/nc-gui-v2/components/smartsheet-column/Edit.vue +++ b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue @@ -1,18 +1,18 @@