From 957df0735b3ca56da0df82e11c6612062e979f33 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 23 Mar 2023 16:51:05 +0530 Subject: [PATCH] refactor: move all icons to iconMap (WIP) Signed-off-by: Pranav C --- .../nc-gui/components/account/UsersModal.vue | 2 +- .../components/cell/attachment/Carousel.vue | 8 ++- .../components/cell/attachment/Modal.vue | 5 +- .../nc-gui/components/dashboard/TreeView.vue | 28 ++++++--- .../components/dashboard/settings/UIAcl.vue | 4 +- .../settings/data-sources/CreateBase.vue | 6 +- .../settings/data-sources/EditBase.vue | 8 ++- .../nc-gui/components/dlg/AirtableImport.vue | 2 +- .../nc-gui/components/dlg/QuickImport.vue | 3 +- .../nc-gui/components/dlg/TableCreate.vue | 18 +++++- .../components/general/AddBaseButton.vue | 4 +- .../components/general/HelpAndSupport.vue | 4 +- .../nc-gui/components/general/JoinCloud.vue | 6 +- .../nc-gui/components/general/MiniSidebar.vue | 10 ++-- .../nc-gui/components/general/PreviewAs.vue | 2 +- .../components/general/ShareBaseButton.vue | 4 +- packages/nc-gui/components/general/Social.vue | 26 +++++++-- .../nc-gui/components/general/SocialCard.vue | 18 +++--- .../smartsheet/column/SelectOptions.vue | 3 +- .../smartsheet/expanded-form/Comments.vue | 12 ++-- .../smartsheet/expanded-form/Header.vue | 6 +- .../smartsheet/toolbar/ColumnFilter.vue | 8 ++- .../components/smartsheet/toolbar/Erd.vue | 2 +- .../smartsheet/toolbar/SortListMenu.vue | 5 +- .../smartsheet/toolbar/ViewActions.vue | 4 +- .../pages/[projectType]/[projectId]/index.vue | 17 +++--- .../[projectType]/[projectId]/index/index.vue | 3 +- .../form/[viewId]/index/survey.vue | 5 +- .../pages/index/index/create-external.vue | 6 +- packages/nc-gui/utils/iconUtils.ts | 57 +++++++++++++++++-- 30 files changed, 205 insertions(+), 81 deletions(-) diff --git a/packages/nc-gui/components/account/UsersModal.vue b/packages/nc-gui/components/account/UsersModal.vue index 4459d7e311..3c20ef0bc4 100644 --- a/packages/nc-gui/components/account/UsersModal.vue +++ b/packages/nc-gui/components/account/UsersModal.vue @@ -6,12 +6,12 @@ import { computed, emailValidator, extractSdkResponseErrorMsg, + iconMap, message, ref, useCopy, useDashboard, useI18n, - iconMap, useNuxtApp, } from '#imports' import type { User } from '~/lib' diff --git a/packages/nc-gui/components/cell/attachment/Carousel.vue b/packages/nc-gui/components/cell/attachment/Carousel.vue index 991109ff55..3ad9c0131e 100644 --- a/packages/nc-gui/components/cell/attachment/Carousel.vue +++ b/packages/nc-gui/components/cell/attachment/Carousel.vue @@ -1,7 +1,7 @@ + diff --git a/packages/nc-gui/components/general/MiniSidebar.vue b/packages/nc-gui/components/general/MiniSidebar.vue index 7ff7090ae3..d11e41c5e1 100644 --- a/packages/nc-gui/components/general/MiniSidebar.vue +++ b/packages/nc-gui/components/general/MiniSidebar.vue @@ -42,7 +42,7 @@ const logout = async () => { - +   {{ email }} @@ -52,7 +52,7 @@ const logout = async () => {
-   +   {{ $t('general.signOut') }} @@ -66,7 +66,7 @@ const logout = async () => {