|
|
@ -8,7 +8,6 @@ import { |
|
|
|
IsLockedInj, |
|
|
|
IsLockedInj, |
|
|
|
MetaInj, |
|
|
|
MetaInj, |
|
|
|
OpenNewRecordFormHookInj, |
|
|
|
OpenNewRecordFormHookInj, |
|
|
|
ReloadKanbanMetaHookInj, |
|
|
|
|
|
|
|
ReloadViewDataHookInj, |
|
|
|
ReloadViewDataHookInj, |
|
|
|
ReloadViewMetaHookInj, |
|
|
|
ReloadViewMetaHookInj, |
|
|
|
computed, |
|
|
|
computed, |
|
|
@ -39,7 +38,6 @@ const meta = computed<TableType>(() => metas.value?.[activeTab?.id as string]) |
|
|
|
const reloadEventHook = createEventHook<void>() |
|
|
|
const reloadEventHook = createEventHook<void>() |
|
|
|
const reloadViewMetaEventHook = createEventHook<void>() |
|
|
|
const reloadViewMetaEventHook = createEventHook<void>() |
|
|
|
const openNewRecordFormHook = createEventHook<void>() |
|
|
|
const openNewRecordFormHook = createEventHook<void>() |
|
|
|
const reloadKanbanMetaHook = createEventHook<void>() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { isGallery, isGrid, isForm, isKanban, isLocked } = useProvideSmartsheetStore(activeView, meta) |
|
|
|
const { isGallery, isGrid, isForm, isKanban, isLocked } = useProvideSmartsheetStore(activeView, meta) |
|
|
|
|
|
|
|
|
|
|
@ -51,7 +49,6 @@ provide(MetaInj, meta) |
|
|
|
provide(ActiveViewInj, activeView) |
|
|
|
provide(ActiveViewInj, activeView) |
|
|
|
provide(IsLockedInj, isLocked) |
|
|
|
provide(IsLockedInj, isLocked) |
|
|
|
provide(ReloadViewDataHookInj, reloadEventHook) |
|
|
|
provide(ReloadViewDataHookInj, reloadEventHook) |
|
|
|
provide(ReloadKanbanMetaHookInj, reloadKanbanMetaHook) |
|
|
|
|
|
|
|
provide(ReloadViewMetaHookInj, reloadViewMetaEventHook) |
|
|
|
provide(ReloadViewMetaHookInj, reloadViewMetaEventHook) |
|
|
|
provide(OpenNewRecordFormHookInj, openNewRecordFormHook) |
|
|
|
provide(OpenNewRecordFormHookInj, openNewRecordFormHook) |
|
|
|
provide(FieldsInj, fields) |
|
|
|
provide(FieldsInj, fields) |
|
|
|