|
|
@ -1,7 +1,6 @@ |
|
|
|
<script lang="ts" setup> |
|
|
|
<script lang="ts" setup> |
|
|
|
import * as XLSX from 'xlsx' |
|
|
|
import * as XLSX from 'xlsx' |
|
|
|
// todo: export types is missing EXCEL |
|
|
|
import { ExportTypes } from 'nocodb-sdk' |
|
|
|
// import { ExportTypes } from 'nocodb-sdk' |
|
|
|
|
|
|
|
import FileSaver from 'file-saver' |
|
|
|
import FileSaver from 'file-saver' |
|
|
|
import { message } from 'ant-design-vue' |
|
|
|
import { message } from 'ant-design-vue' |
|
|
|
import { |
|
|
|
import { |
|
|
@ -18,19 +17,12 @@ import { |
|
|
|
useUIPermission, |
|
|
|
useUIPermission, |
|
|
|
} from '#imports' |
|
|
|
} from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
enum ExportTypes { |
|
|
|
|
|
|
|
EXCEL = 'excel', |
|
|
|
|
|
|
|
CSV = 'csv', |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const sharedViewListDlg = ref(false) |
|
|
|
const sharedViewListDlg = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
const isPublicView = inject(IsPublicInj, ref(false)) |
|
|
|
const isPublicView = inject(IsPublicInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
const isView = false |
|
|
|
const isView = false |
|
|
|
|
|
|
|
|
|
|
|
// TODO: pending for shared view |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { project } = useProject() |
|
|
|
const { project } = useProject() |
|
|
|
|
|
|
|
|
|
|
|
const { $api } = useNuxtApp() |
|
|
|
const { $api } = useNuxtApp() |
|
|
|