From b1b362366ee7f6f549d84d7a64e55fb6eb85697c Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 2 Dec 2022 14:55:02 +0800 Subject: [PATCH] fix(nc-gui): type issues --- packages/nc-gui/components/cell/Json.vue | 4 +- packages/nc-gui/components/cell/TextArea.vue | 2 +- .../components/cell/attachment/Carousel.vue | 4 +- .../nc-gui/components/general/Tooltip.vue | 11 +++++- .../components/smartsheet/ApiSnippet.vue | 9 +---- .../nc-gui/components/smartsheet/Grid.vue | 13 ++++--- .../components/smartsheet/VirtualCell.vue | 2 +- .../smartsheet/column/EditOrAddProvider.vue | 2 +- .../column/LinkedToAnotherRecordOptions.vue | 10 +++-- .../smartsheet/column/LookupOptions.vue | 39 ++++++++----------- .../smartsheet/column/RollupOptions.vue | 32 +++++++-------- .../components/smartsheet/column/utils.ts | 9 +++++ .../components/smartsheet/header/Cell.vue | 7 +++- .../smartsheet/header/VirtualCell.vue | 2 +- .../toolbar/KanbanStackEditOrAdd.vue | 12 +++++- .../smartsheet/toolbar/MoreActions.vue | 4 +- .../smartsheet/toolbar/SearchData.vue | 7 ++-- .../smartsheet/toolbar/SortListMenu.vue | 9 ++++- .../smartsheet/toolbar/ViewActions.vue | 24 ++++++------ .../components/tabs/auth/UserManagement.vue | 2 +- .../tabs/auth/user-management/UsersModal.vue | 2 +- .../nc-gui/components/template/Editor.vue | 11 +----- .../components/ListChildItems.vue | 26 +++++++------ packages/nc-gui/components/webhook/List.vue | 2 +- .../composables/useColumnCreateStore.ts | 11 ++++-- .../useExpandedFormDetached/index.ts | 2 +- packages/nc-gui/composables/useLTARStore.ts | 2 +- packages/nc-gui/composables/useSharedView.ts | 5 +-- .../nc-gui/composables/useSmartsheetStore.ts | 2 +- packages/nc-gui/package-lock.json | 11 ++++++ packages/nc-gui/package.json | 1 + .../form/[viewId]/index/index.vue | 5 ++- packages/nc-gui/pages/forgot-password.vue | 5 ++- .../nc-gui/pages/index/index/[projectId].vue | 3 +- packages/nc-gui/pages/index/index/create.vue | 3 +- packages/nc-gui/pages/projects/index.vue | 3 +- .../nc-gui/pages/projects/index/index.vue | 5 +-- packages/nc-gui/pages/signup/[[token]].vue | 9 +++-- packages/nc-gui/utils/sortUtils.ts | 2 +- packages/nc-gui/utils/viewUtils.ts | 8 +++- packages/nc-gui/web-types.json | 4 ++ 41 files changed, 190 insertions(+), 136 deletions(-) create mode 100644 packages/nc-gui/components/smartsheet/column/utils.ts diff --git a/packages/nc-gui/components/cell/Json.vue b/packages/nc-gui/components/cell/Json.vue index f89ddf87aa..8d8d6b9831 100644 --- a/packages/nc-gui/components/cell/Json.vue +++ b/packages/nc-gui/components/cell/Json.vue @@ -135,13 +135,13 @@ useSelectedCellKeyupListener(active, (e) => {
Cancel
-
Save
+
Save
() const emits = defineEmits(['update:modelValue']) diff --git a/packages/nc-gui/components/cell/attachment/Carousel.vue b/packages/nc-gui/components/cell/attachment/Carousel.vue index 4933e7d396..63a7c1bb0f 100644 --- a/packages/nc-gui/components/cell/attachment/Carousel.vue +++ b/packages/nc-gui/components/cell/attachment/Carousel.vue @@ -47,7 +47,7 @@ onClickOutside(carouselRef, () => {