|
|
@ -2,7 +2,7 @@ import type { ComputedRef, Ref } from 'vue' |
|
|
|
import type { Api, ColumnType, KanbanType, SelectOptionType, SelectOptionsType, TableType, ViewType } from 'nocodb-sdk' |
|
|
|
import type { Api, ColumnType, KanbanType, SelectOptionType, SelectOptionsType, TableType, ViewType } from 'nocodb-sdk' |
|
|
|
import { useI18n } from 'vue-i18n' |
|
|
|
import { useI18n } from 'vue-i18n' |
|
|
|
import { message } from 'ant-design-vue' |
|
|
|
import { message } from 'ant-design-vue' |
|
|
|
import type { Row } from '~/composables/useViewData' |
|
|
|
import type { Row } from '~/lib' |
|
|
|
import { SharedViewPasswordInj, deepCompare, enumColor, useInjectionState, useNuxtApp } from '#imports' |
|
|
|
import { SharedViewPasswordInj, deepCompare, enumColor, useInjectionState, useNuxtApp } from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
type GroupingFieldColOptionsType = SelectOptionType & { collapsed: boolean } |
|
|
|
type GroupingFieldColOptionsType = SelectOptionType & { collapsed: boolean } |
|
|
@ -449,7 +449,7 @@ export { useProvideKanbanViewStore } |
|
|
|
export function useKanbanViewStoreOrThrow() { |
|
|
|
export function useKanbanViewStoreOrThrow() { |
|
|
|
const kanbanViewStore = useKanbanViewStore() |
|
|
|
const kanbanViewStore = useKanbanViewStore() |
|
|
|
|
|
|
|
|
|
|
|
if (kanbanViewStore == null) throw new Error('Please call `useKanbanViewStore` on the appropriate parent component') |
|
|
|
if (kanbanViewStore == null) throw new Error('Please call `useProvideKanbanViewStore` on the appropriate parent component') |
|
|
|
|
|
|
|
|
|
|
|
return kanbanViewStore |
|
|
|
return kanbanViewStore |
|
|
|
} |
|
|
|
} |
|
|
|