From d09e2785ebc1a23e56385f582d559524a66970fe Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Mon, 2 Sep 2024 14:19:03 +0000 Subject: [PATCH] feat(nc-gui): customizable extension header --- .../components/extensions/Extension.vue | 50 +-- .../extensions/Extension/Header.vue | 113 ++++--- .../extensions/Extension/HeaderMenu.vue | 12 +- .../extensions/Extension/Wrapper.vue | 30 ++ .../nc-gui/extensions/data-exporter/index.vue | 320 +++++++++--------- .../nc-gui/extensions/json-exporter/index.vue | 12 +- 6 files changed, 278 insertions(+), 259 deletions(-) create mode 100644 packages/nc-gui/components/extensions/Extension/Wrapper.vue diff --git a/packages/nc-gui/components/extensions/Extension.vue b/packages/nc-gui/components/extensions/Extension.vue index f6fe88c674..d3ef120816 100644 --- a/packages/nc-gui/components/extensions/Extension.vue +++ b/packages/nc-gui/components/extensions/Extension.vue @@ -222,56 +222,10 @@ eventBus.on((event, payload) => { : {} " > -
- icon - -
- - -
- - - - {{ extension.title }} - - - - - - - -
diff --git a/packages/nc-gui/components/extensions/Extension/Header.vue b/packages/nc-gui/components/extensions/Extension/Header.vue index c901ce387b..05d1c5f66c 100644 --- a/packages/nc-gui/components/extensions/Extension/Header.vue +++ b/packages/nc-gui/components/extensions/Extension/Header.vue @@ -1,4 +1,11 @@