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