|
|
@ -1,6 +1,7 @@ |
|
|
|
<script setup lang="ts"> |
|
|
|
<script setup lang="ts"> |
|
|
|
import dayjs from 'dayjs' |
|
|
|
import dayjs from 'dayjs' |
|
|
|
import { isSystemColumn } from 'nocodb-sdk' |
|
|
|
import { isSystemColumn } from 'nocodb-sdk' |
|
|
|
|
|
|
|
import updateLocale from 'dayjs/plugin/updateLocale' |
|
|
|
import { |
|
|
|
import { |
|
|
|
ActiveCellInj, |
|
|
|
ActiveCellInj, |
|
|
|
CellClickHookInj, |
|
|
|
CellClickHookInj, |
|
|
@ -25,8 +26,11 @@ interface Props { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const { modelValue, isPk, isUpdatedFromCopyNPaste } = defineProps<Props>() |
|
|
|
const { modelValue, isPk, isUpdatedFromCopyNPaste } = defineProps<Props>() |
|
|
|
|
|
|
|
|
|
|
|
const emit = defineEmits(['update:modelValue']) |
|
|
|
const emit = defineEmits(['update:modelValue']) |
|
|
|
|
|
|
|
dayjs.extend(updateLocale) |
|
|
|
|
|
|
|
dayjs.updateLocale('en', { |
|
|
|
|
|
|
|
weekStart: 1, |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const { isMssql, isXcdbBase } = useBase() |
|
|
|
const { isMssql, isXcdbBase } = useBase() |
|
|
|
|
|
|
|
|
|
|
|