diff --git a/packages/nc-gui-v2/components/cell/DateTimePicker.vue b/packages/nc-gui-v2/components/cell/DateTimePicker.vue index f3bd74e2ef..a7fed7f1b3 100644 --- a/packages/nc-gui-v2/components/cell/DateTimePicker.vue +++ b/packages/nc-gui-v2/components/cell/DateTimePicker.vue @@ -4,7 +4,7 @@ import { computed, ref } from '#imports' import useProject from '~/composables/useProject' interface Props { - modelValue: string + modelValue?: string } const { modelValue } = defineProps() diff --git a/packages/nc-gui-v2/components/index.ts b/packages/nc-gui-v2/components/index.ts index 4710b5d1be..39474eecc6 100644 --- a/packages/nc-gui-v2/components/index.ts +++ b/packages/nc-gui-v2/components/index.ts @@ -1,5 +1,6 @@ import type { ColumnType, FormType, GalleryType, GridType, KanbanType, TableType } from 'nocodb-sdk' import type { InjectionKey, Ref } from 'vue' +import type { EventHook } from '@vueuse/core' import type useViewData from '~/composables/useViewData' export const ColumnInj: InjectionKey = Symbol('column-injection') @@ -15,4 +16,4 @@ export const ValueInj: InjectionKey = Symbol('value-injection') export const ActiveViewInj: InjectionKey> = Symbol('active-view-injection') export const ReadonlyInj: InjectionKey = Symbol('readonly-injection') -export const ReloadViewDataInj: InjectionKey = Symbol('reload-view-data-injection') +export const ReloadViewDataHookInj: InjectionKey> = Symbol('reload-view-data-injection') diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue index 9ce1a6bad9..6169050997 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue @@ -1,16 +1,74 @@