diff --git a/packages/nc-gui-v2/components.d.ts b/packages/nc-gui-v2/components.d.ts index 9dc4db9d73..c7c6c62015 100644 --- a/packages/nc-gui-v2/components.d.ts +++ b/packages/nc-gui-v2/components.d.ts @@ -7,6 +7,7 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { + ADivider: typeof import('ant-design-vue/es')['Divider'] ADropdown: typeof import('ant-design-vue/es')['Dropdown'] ALayout: typeof import('ant-design-vue/es')['Layout'] ALayoutContent: typeof import('ant-design-vue/es')['LayoutContent'] diff --git a/packages/nc-gui-v2/components/cell/Url.vue b/packages/nc-gui-v2/components/cell/Url.vue index 8bd4a68f76..6015aec1c5 100644 --- a/packages/nc-gui-v2/components/cell/Url.vue +++ b/packages/nc-gui-v2/components/cell/Url.vue @@ -3,15 +3,15 @@ import { computed, ref } from '#imports' import { ColumnInj } from '~/components' import { isValidURL } from '~/utils/urlUtils' +interface Props { + modelValue: string +} + const { modelValue: value } = defineProps() const emit = defineEmits(['update:modelValue']) const column = inject(ColumnInj) const editEnabled = inject('editEnabled') -interface Props { - modelValue: string -} - const localState = computed({ get: () => value, set: (val) => { diff --git a/packages/nc-gui-v2/pages/index/index/index.vue b/packages/nc-gui-v2/pages/index/index/index.vue index 21b8c7d7e8..16c35bc7f1 100644 --- a/packages/nc-gui-v2/pages/index/index/index.vue +++ b/packages/nc-gui-v2/pages/index/index/index.vue @@ -14,6 +14,8 @@ interface Props { const { projects } = defineProps() +const emit = defineEmits(['delete-project']) + const { $e } = useNuxtApp() const { getColorByIndex } = useColors(true) @@ -72,18 +74,18 @@ const formatTitle = (title: string) => - - - - -
+ + + +
@@ -104,6 +106,7 @@ const formatTitle = (title: string) => content: ''; z-index: -1; } + .thumbnail:hover::after { @apply shadow-2xl transform scale-110; } diff --git a/packages/nc-gui-v2/pages/projects/index.vue b/packages/nc-gui-v2/pages/projects/index.vue index bb3afda953..a36b03a9f6 100644 --- a/packages/nc-gui-v2/pages/projects/index.vue +++ b/packages/nc-gui-v2/pages/projects/index.vue @@ -1,5 +1,8 @@