|
|
@ -1,8 +1,10 @@ |
|
|
|
<script setup lang="ts"> |
|
|
|
<script setup lang="ts"> |
|
|
|
import type { Ref } from 'vue' |
|
|
|
import type { Ref } from 'vue' |
|
|
|
import type { TableType } from 'nocodb-sdk/build/main' |
|
|
|
import type { TableType } from 'nocodb-sdk/build/main' |
|
|
|
|
|
|
|
|
|
|
|
import { ActiveViewInj, FieldsInj, IsPublicInj, MetaInj, ReadonlyInj, ReloadViewDataHookInj } from '~/context' |
|
|
|
import { ActiveViewInj, FieldsInj, IsPublicInj, MetaInj, ReadonlyInj, ReloadViewDataHookInj } from '~/context' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import { useRoute } from '#imports' |
|
|
|
definePageMeta({ |
|
|
|
definePageMeta({ |
|
|
|
requiresAuth: false, |
|
|
|
requiresAuth: false, |
|
|
|
}) |
|
|
|
}) |
|
|
@ -26,7 +28,16 @@ const { isGrid } = useProvideSmartsheetStore(sharedView as Ref<TableType>, meta) |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<NuxtLayout id="content" class="flex"> |
|
|
|
<NuxtLayout id="content" class="flex"> |
|
|
|
<SmartsheetToolbar /> |
|
|
|
<div class="nc-container flex flex-col h-full mt-2 px-6"> |
|
|
|
<SmartsheetGrid :is-public-view="true" /> |
|
|
|
<SmartsheetToolbar /> |
|
|
|
|
|
|
|
<SmartsheetGrid :is-public-view="true" /> |
|
|
|
|
|
|
|
</div> |
|
|
|
</NuxtLayout> |
|
|
|
</NuxtLayout> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped> |
|
|
|
|
|
|
|
.nc-container { |
|
|
|
|
|
|
|
height: calc(100% - var(--header-height)); |
|
|
|
|
|
|
|
flex: 1 1 100%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|