mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
837 B
32 lines
837 B
<script setup lang="ts"> |
|
import { ActiveViewInj, FieldsInj, IsPublicInj, MetaInj, ReadonlyInj, ReloadViewDataHookInj } from '#imports' |
|
|
|
const { sharedView, meta, sorts, nestedFilters } = useSharedView() |
|
|
|
const reloadEventHook = createEventHook() |
|
|
|
provide(ReloadViewDataHookInj, reloadEventHook) |
|
|
|
provide(ReadonlyInj, true) |
|
|
|
provide(MetaInj, meta) |
|
|
|
provide(ActiveViewInj, sharedView) |
|
|
|
provide(FieldsInj, ref(meta.value?.columns || [])) |
|
|
|
provide(IsPublicInj, ref(true)) |
|
|
|
useProvideSmartsheetStore(sharedView, meta, true, sorts, nestedFilters) |
|
</script> |
|
|
|
<template> |
|
<div class="nc-container h-full mt-1.5 px-12"> |
|
<div class="flex flex-col h-full flex-1 min-w-0"> |
|
<LazySmartsheetToolbar /> |
|
<div class="h-full flex-1 min-w-0 min-h-0 bg-gray-50"> |
|
<LazySmartsheetKanban /> |
|
</div> |
|
</div> |
|
</div> |
|
</template>
|
|
|