From 917309a619c6d50edeafb7471fa812350a8eed3a Mon Sep 17 00:00:00 2001
From: Braks <78412429+bcakmakoglu@users.noreply.github.com>
Date: Fri, 8 Jul 2022 13:46:48 +0200
Subject: [PATCH] chore(gui-v2): type and code-style fixes
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
---
.../nc-gui-v2/components/cell/Attachment.vue | 16 +++--
.../nc-gui-v2/components/cell/Checkbox.vue | 21 +++---
.../nc-gui-v2/components/cell/DatePicker.vue | 35 +++-------
.../components/cell/DateTimePicker.vue | 36 +++-------
packages/nc-gui-v2/components/cell/Email.vue | 28 ++++----
packages/nc-gui-v2/components/cell/Float.vue | 18 ++---
.../nc-gui-v2/components/cell/Integer.vue | 16 ++---
.../nc-gui-v2/components/cell/MultiSelect.vue | 30 +++++----
packages/nc-gui-v2/components/cell/Rating.vue | 65 +++----------------
.../components/cell/SingleSelect.vue | 29 ++++-----
packages/nc-gui-v2/components/cell/Text.vue | 23 ++++---
.../nc-gui-v2/components/cell/TextArea.vue | 31 ++++-----
packages/nc-gui-v2/components/cell/Url.vue | 4 +-
.../nc-gui-v2/components/smartsheet/Cell.vue | 20 +++---
.../nc-gui-v2/components/smartsheet/Grid.vue | 2 +-
.../components/smartsheet/Pagination.vue | 25 +++----
.../components/smartsheet/VirtualCell.vue | 9 ++-
.../nc-gui-v2/components/tabs/Smartsheet.vue | 10 +--
.../components/virtual-cell/Formula.vue | 3 +-
.../components/virtual-cell/HasMany.vue | 1 -
.../virtual-cell/components/ItemChip.vue | 25 +++----
21 files changed, 173 insertions(+), 274 deletions(-)
diff --git a/packages/nc-gui-v2/components/cell/Attachment.vue b/packages/nc-gui-v2/components/cell/Attachment.vue
index 40dd07b13b..129ce8984c 100644
--- a/packages/nc-gui-v2/components/cell/Attachment.vue
+++ b/packages/nc-gui-v2/components/cell/Attachment.vue
@@ -1,24 +1,26 @@
+
+
- {{ value }}
- {{ value }}
+ {{ modelValue }}
+ {{ modelValue }}
-
-
diff --git a/packages/nc-gui-v2/components/cell/Float.vue b/packages/nc-gui-v2/components/cell/Float.vue
index 21eb5d7f6a..56e12d0657 100644
--- a/packages/nc-gui-v2/components/cell/Float.vue
+++ b/packages/nc-gui-v2/components/cell/Float.vue
@@ -1,21 +1,21 @@
-
+
-
-
diff --git a/packages/nc-gui-v2/components/cell/SingleSelect.vue b/packages/nc-gui-v2/components/cell/SingleSelect.vue
index ef30cd8c34..9790ffa946 100644
--- a/packages/nc-gui-v2/components/cell/SingleSelect.vue
+++ b/packages/nc-gui-v2/components/cell/SingleSelect.vue
@@ -1,28 +1,25 @@
-
+
{{ localState }}
diff --git a/packages/nc-gui-v2/components/cell/Url.vue b/packages/nc-gui-v2/components/cell/Url.vue
index 2608196fa1..c1eb2da08f 100644
--- a/packages/nc-gui-v2/components/cell/Url.vue
+++ b/packages/nc-gui-v2/components/cell/Url.vue
@@ -1,5 +1,5 @@
-
@@ -23,7 +16,7 @@ const { value, active, item, readonly } = defineProps({
- {{ value }}
+ {{ modelValue }}