Browse Source

init(gui-v2): airtable import dialog

pull/2795/head
Wing-Kam Wong 2 years ago
parent
commit
80dafd6b87
  1. 32
      packages/nc-gui-v2/components/dlg/AirtableImport.vue

32
packages/nc-gui-v2/components/dlg/AirtableImport.vue

@ -0,0 +1,32 @@
<script setup lang="ts">
import type { UploadChangeParam } from 'ant-design-vue'
const { modelValue = false } = defineProps<{ modelValue?: boolean }>()
const emit = defineEmits(['update:modelValue'])
const dialogShow = computed({
get() {
return modelValue
},
set(v) {
emit('update:modelValue', v)
},
})
</script>
<template>
<v-dialog
v-model="dialogShow"
persistent
max-width="550"
@keydown.esc="dialogShow = false"
@keydown.enter="$emit('create', table)"
>
<v-card class="elevation-1 backgroundColor">
<!-- TODO -->
</v-card>
</v-dialog>
</template>
<style scoped lang="scss"></style>
Loading…
Cancel
Save