import type { VNodeRef } from '@vue/runtime-core'
-import { EditColumnInj, EditModeInj, IsExpandedFormOpenInj, IsFormInj, inject, useVModel, ReadonlyInj } from '#imports'
+import { EditColumnInj, EditModeInj, IsExpandedFormOpenInj, IsFormInj, ReadonlyInj, inject, useVModel } from '#imports'
interface Props {
// when we set a number, then it is number type
diff --git a/packages/nc-gui/components/cell/Duration.vue b/packages/nc-gui/components/cell/Duration.vue
index f1facc875d..8805b09031 100644
--- a/packages/nc-gui/components/cell/Duration.vue
+++ b/packages/nc-gui/components/cell/Duration.vue
@@ -6,6 +6,7 @@ import {
EditModeInj,
IsExpandedFormOpenInj,
IsFormInj,
+ ReadonlyInj,
computed,
convertDurationToSeconds,
convertMS2Duration,
@@ -13,7 +14,6 @@ import {
inject,
parseProp,
ref,
- ReadonlyInj,
} from '#imports'
interface Props {
diff --git a/packages/nc-gui/components/cell/Email.vue b/packages/nc-gui/components/cell/Email.vue
index b6b4b82bed..065557e818 100644
--- a/packages/nc-gui/components/cell/Email.vue
+++ b/packages/nc-gui/components/cell/Email.vue
@@ -6,11 +6,11 @@ import {
IsExpandedFormOpenInj,
IsFormInj,
IsSurveyFormInj,
+ ReadonlyInj,
computed,
inject,
useI18n,
validateEmail,
- ReadonlyInj,
} from '#imports'
interface Props {
diff --git a/packages/nc-gui/components/cell/Integer.vue b/packages/nc-gui/components/cell/Integer.vue
index 4e042280dd..c9867a1073 100644
--- a/packages/nc-gui/components/cell/Integer.vue
+++ b/packages/nc-gui/components/cell/Integer.vue
@@ -1,6 +1,6 @@
-
+
{{ value }}
diff --git a/packages/nc-gui/components/virtual-cell/components/ListItem.vue b/packages/nc-gui/components/virtual-cell/components/ListItem.vue
index 8bcaac521b..6cb49e0848 100644
--- a/packages/nc-gui/components/virtual-cell/components/ListItem.vue
+++ b/packages/nc-gui/components/virtual-cell/components/ListItem.vue
@@ -5,6 +5,7 @@ import {
IsExpandedFormOpenInj,
IsFormInj,
IsPublicInj,
+ ReadonlyInj,
RowHeightInj,
computed,
inject,
@@ -13,7 +14,6 @@ import {
ref,
useAttachment,
useVModel,
- ReadonlyInj,
} from '#imports'
import MaximizeIcon from '~icons/nc-icons/maximize'
import LinkIcon from '~icons/nc-icons/link'
From 7c662c19aa5538fcd76b4792cbac2f3249a05795 Mon Sep 17 00:00:00 2001
From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
Date: Sat, 20 Jan 2024 11:37:16 +0000
Subject: [PATCH 09/17] fic(nc-gui): Error when adding sort nocodb/nocodb#7460
---
.../nc-gui/components/smartsheet/toolbar/SortListMenu.vue | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue
index a96d6bc6ac..5873056e2b 100644
--- a/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue
+++ b/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue
@@ -132,7 +132,7 @@ onMounted(() => {
>
@@ -187,6 +187,7 @@ onMounted(() => {
v-if="availableColumns.length"
v-model:visible="showCreateSort"
:trigger="['click']"
+ class="mt-3"
overlay-class-name="nc-toolbar-dropdown"
>
@@ -204,6 +205,7 @@ onMounted(() => {
{{ $t('activity.addSort') }}
+
From 5db4f6533b8ffb2162f0f62b41c2880c13bb3553 Mon Sep 17 00:00:00 2001
From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com>
Date: Sat, 20 Jan 2024 11:37:16 +0000
Subject: [PATCH 10/17] fix(nc-gui): pw test fail issue
---
packages/nc-gui/components/cell/Percent.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/nc-gui/components/cell/Percent.vue b/packages/nc-gui/components/cell/Percent.vue
index e6487cf711..7cd706639e 100644
--- a/packages/nc-gui/components/cell/Percent.vue
+++ b/packages/nc-gui/components/cell/Percent.vue
@@ -128,7 +128,7 @@ const onTabPress = (e: KeyboardEvent) => {
@focus="onWrapperFocus"
>
Date: Sat, 20 Jan 2024 11:37:17 +0000
Subject: [PATCH 11/17] fix(nc-gui): lint errors
---
.../nc-gui/components/smartsheet/toolbar/SortListMenu.vue | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue
index 5873056e2b..f16dc72f60 100644
--- a/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue
+++ b/packages/nc-gui/components/smartsheet/toolbar/SortListMenu.vue
@@ -130,11 +130,7 @@ onMounted(() => {
class="py-6 pl-6 nc-filter-list max-h-[max(80vh,30rem)]"
data-testid="nc-sorts-menu"
>
-