|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
|
import { ReadonlyInj, provide, ref } from '#imports' |
|
|
|
|
import { ReadonlyInj, provide, ref, EditModeInj, ActiveCellInj } from '#imports' |
|
|
|
|
|
|
|
|
|
interface Props { |
|
|
|
|
modelValue?: string | null |
|
|
|
@ -8,8 +8,13 @@ interface Props {
|
|
|
|
|
defineProps<Props>() |
|
|
|
|
|
|
|
|
|
provide(ReadonlyInj, ref(true)) |
|
|
|
|
|
|
|
|
|
provide(EditModeInj, ref(true)) |
|
|
|
|
|
|
|
|
|
provide(ActiveCellInj, ref(true)) |
|
|
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<CellDateTimePicker :model-value="modelValue" :is-pk="false" /> |
|
|
|
|
<LazyCellDateTimePicker :model-value="modelValue" :is-pk="false" /> |
|
|
|
|
</template> |
|
|
|
|