From ca1b670c0f11fbaf1c2babedb14f6e6facf1cadf Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sun, 14 Aug 2022 17:41:53 +0800 Subject: [PATCH] feat(gui-v2): split into components to make toolbar clean --- .../sidebar/toolbar/DeleteCache.vue | 22 +++++++ .../sidebar/toolbar/ExportCache.vue | 33 +++++++++++ .../smartsheet/sidebar/toolbar/index.vue | 59 ++++--------------- 3 files changed, 67 insertions(+), 47 deletions(-) create mode 100644 packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/DeleteCache.vue create mode 100644 packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/ExportCache.vue diff --git a/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/DeleteCache.vue b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/DeleteCache.vue new file mode 100644 index 0000000000..2eeabc259e --- /dev/null +++ b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/DeleteCache.vue @@ -0,0 +1,22 @@ + + + diff --git a/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/ExportCache.vue b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/ExportCache.vue new file mode 100644 index 0000000000..7cbaba15d2 --- /dev/null +++ b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/ExportCache.vue @@ -0,0 +1,33 @@ + + + diff --git a/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/index.vue b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/index.vue index 39c419131f..20a0980af5 100644 --- a/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/index.vue +++ b/packages/nc-gui-v2/components/smartsheet/sidebar/toolbar/index.vue @@ -1,43 +1,15 @@