|
|
@ -1,10 +1,20 @@ |
|
|
|
<script setup lang="ts"> |
|
|
|
<script setup lang="ts"> |
|
|
|
import type { ComponentPublicInstance } from '@vue/runtime-core' |
|
|
|
import type {ComponentPublicInstance} from '@vue/runtime-core' |
|
|
|
import type { Form as AntForm, SelectProps } from 'ant-design-vue' |
|
|
|
import {capitalize} from '@vue/runtime-core' |
|
|
|
import { capitalize } from '@vue/runtime-core' |
|
|
|
import type {Form as AntForm, SelectProps} from 'ant-design-vue' |
|
|
|
import {CalendarType, FormType, GalleryType, GridType, KanbanType, MapType, TableType} from 'nocodb-sdk' |
|
|
|
import { |
|
|
|
import { UITypes, ViewTypes, isSystemColumn } from 'nocodb-sdk' |
|
|
|
CalendarType, |
|
|
|
import { computed, message, nextTick, onBeforeMount, reactive, ref, useApi, useI18n, useVModel, watch } from '#imports' |
|
|
|
FormType, |
|
|
|
|
|
|
|
GalleryType, |
|
|
|
|
|
|
|
GridType, |
|
|
|
|
|
|
|
isSystemColumn, |
|
|
|
|
|
|
|
KanbanType, |
|
|
|
|
|
|
|
MapType, |
|
|
|
|
|
|
|
TableType, |
|
|
|
|
|
|
|
UITypes, |
|
|
|
|
|
|
|
ViewTypes |
|
|
|
|
|
|
|
} from 'nocodb-sdk' |
|
|
|
|
|
|
|
import {computed, message, nextTick, onBeforeMount, reactive, ref, useApi, useI18n, useVModel, watch} from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
interface Props { |
|
|
|
interface Props { |
|
|
|
modelValue: boolean |
|
|
|
modelValue: boolean |
|
|
@ -22,6 +32,7 @@ interface Props { |
|
|
|
|
|
|
|
|
|
|
|
interface Emits { |
|
|
|
interface Emits { |
|
|
|
(event: 'update:modelValue', value: boolean): void |
|
|
|
(event: 'update:modelValue', value: boolean): void |
|
|
|
|
|
|
|
|
|
|
|
(event: 'created', value: GridType | KanbanType | GalleryType | FormType | MapType | CalendarType): void |
|
|
|
(event: 'created', value: GridType | KanbanType | GalleryType | FormType | MapType | CalendarType): void |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -354,7 +365,8 @@ onMounted(async () => { |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<a v-if="!form.copy_from_id" href="https://docs.nocodb.com/views/view-types/calendar/" target="_blank" class="text-sm !no-underline !hover:text-brand-500 text-brand-500 "> |
|
|
|
<a v-if="!form.copy_from_id" href="https://docs.nocodb.com/views/view-types/calendar/" target="_blank" |
|
|
|
|
|
|
|
class="text-sm !no-underline !hover:text-brand-500 text-brand-500 "> |
|
|
|
Go to Docs |
|
|
|
Go to Docs |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|