|
|
@ -1,15 +1,5 @@ |
|
|
|
import type { ComputedRef, Ref } from 'vue' |
|
|
|
import type { ComputedRef, Ref } from 'vue' |
|
|
|
import type { |
|
|
|
import type { Api, ColumnType, KanbanType, SelectOptionType, SelectOptionsType, TableType, ViewType } from 'nocodb-sdk' |
|
|
|
Api, |
|
|
|
|
|
|
|
AttachmentType, |
|
|
|
|
|
|
|
ColumnType, |
|
|
|
|
|
|
|
KanbanType, |
|
|
|
|
|
|
|
SelectOptionType, |
|
|
|
|
|
|
|
SelectOptionsType, |
|
|
|
|
|
|
|
TableType, |
|
|
|
|
|
|
|
ViewType, |
|
|
|
|
|
|
|
} from 'nocodb-sdk' |
|
|
|
|
|
|
|
import { UITypes } from 'nocodb-sdk' |
|
|
|
|
|
|
|
import type { Row } from '~/lib' |
|
|
|
import type { Row } from '~/lib' |
|
|
|
import { |
|
|
|
import { |
|
|
|
IsPublicInj, |
|
|
|
IsPublicInj, |
|
|
@ -25,7 +15,6 @@ import { |
|
|
|
ref, |
|
|
|
ref, |
|
|
|
useApi, |
|
|
|
useApi, |
|
|
|
useFieldQuery, |
|
|
|
useFieldQuery, |
|
|
|
useGlobal, |
|
|
|
|
|
|
|
useI18n, |
|
|
|
useI18n, |
|
|
|
useInjectionState, |
|
|
|
useInjectionState, |
|
|
|
useNuxtApp, |
|
|
|
useNuxtApp, |
|
|
@ -55,8 +44,6 @@ const [useProvideKanbanViewStore, useKanbanViewStore] = useInjectionState( |
|
|
|
|
|
|
|
|
|
|
|
const { $e, $api } = useNuxtApp() |
|
|
|
const { $e, $api } = useNuxtApp() |
|
|
|
|
|
|
|
|
|
|
|
const { appInfo } = useGlobal() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { sorts, nestedFilters } = useSmartsheetStoreOrThrow() |
|
|
|
const { sorts, nestedFilters } = useSmartsheetStoreOrThrow() |
|
|
|
|
|
|
|
|
|
|
|
const { sharedView, fetchSharedViewData, fetchSharedViewGroupedData } = useSharedView() |
|
|
|
const { sharedView, fetchSharedViewData, fetchSharedViewGroupedData } = useSharedView() |
|
|
@ -91,10 +78,6 @@ const [useProvideKanbanViewStore, useKanbanViewStore] = useInjectionState( |
|
|
|
return where |
|
|
|
return where |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const attachmentColumns = computed(() => |
|
|
|
|
|
|
|
(meta.value?.columns as ColumnType[])?.filter((c) => c.uidt === UITypes.Attachment).map((c) => c.title), |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
provide(SharedViewPasswordInj, password) |
|
|
|
provide(SharedViewPasswordInj, password) |
|
|
|
|
|
|
|
|
|
|
|
// kanban view meta data
|
|
|
|
// kanban view meta data
|
|
|
|