diff --git a/packages/nc-gui-v2/assets/style-v2.scss b/packages/nc-gui-v2/assets/style-v2.scss index 21336be98a..410781cf29 100644 --- a/packages/nc-gui-v2/assets/style-v2.scss +++ b/packages/nc-gui-v2/assets/style-v2.scss @@ -64,3 +64,8 @@ h1, h2, h3, h4, h5, h6, p, label, button, textarea, select { html { overflow-y: auto !important; } + + +.nc-menu-item { + @apply cursor-pointer text-xs flex align-center gap-2 p-4 relative after:(content-[''] absolute top-0 left-0 w-full h-full right 0 bg-current opacity-0 transition transition-opactity duration-100) hover:(after:(opacity-5)); +} diff --git a/packages/nc-gui-v2/components/cell/TextArea.vue b/packages/nc-gui-v2/components/cell/TextArea.vue index c61427d171..d27590877d 100644 --- a/packages/nc-gui-v2/components/cell/TextArea.vue +++ b/packages/nc-gui-v2/components/cell/TextArea.vue @@ -2,7 +2,7 @@ import { computed, inject, onMounted, ref } from '#imports' interface Props { - modelValue: string + modelValue?: string } const { modelValue: value } = defineProps() diff --git a/packages/nc-gui-v2/components/dashboard/TreeView.vue b/packages/nc-gui-v2/components/dashboard/TreeView.vue index a6e74fc257..55cc4bd111 100644 --- a/packages/nc-gui-v2/components/dashboard/TreeView.vue +++ b/packages/nc-gui-v2/components/dashboard/TreeView.vue @@ -192,7 +192,7 @@ const reloadTables = async () => { } const addTableTab = (table: TableType) => { $e('a:table:open') - addTab({ title: table.title, id: table.id }) + addTab({ title: table.title, id: table.id, type: table.type as any }) } @@ -208,7 +208,7 @@ const addTableTab = (table: TableType) => { -
+
{ diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/AddRow.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/AddRow.vue new file mode 100644 index 0000000000..9cd8e47b82 --- /dev/null +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/AddRow.vue @@ -0,0 +1,10 @@ + + + + + diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue index 8470008f4c..28e10616db 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue @@ -7,7 +7,7 @@ import { comparisonOpList } from '~/utils/filterUtils' import { ActiveViewInj, MetaInj, ReloadViewDataHookInj } from '~/context' import useViewFilters from '~/composables/useViewFilters' import MdiDeleteIcon from '~icons/mdi/close-box' - +import MdiAddIcon from '~icons/mdi/plus' const { nested = false, parentId } = defineProps<{ nested?: boolean; parentId?: string }>() const meta = inject(MetaInj) @@ -72,13 +72,13 @@ watch(