|
|
|
|
@ -7,7 +7,7 @@ import { computed, ref } from 'vue';
|
|
|
|
|
|
|
|
|
|
import { cn } from '@vben-core/shared/utils';
|
|
|
|
|
|
|
|
|
|
import { DialogContent, DialogPortal, useForwardPropsEmits } from 'radix-vue';
|
|
|
|
|
import { DialogContent, useForwardPropsEmits } from 'radix-vue';
|
|
|
|
|
|
|
|
|
|
import { sheetVariants } from './sheet';
|
|
|
|
|
import SheetOverlay from './SheetOverlay.vue';
|
|
|
|
|
@ -73,7 +73,7 @@ function onAnimationEnd(event: AnimationEvent) {
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<DialogPortal :to="appendTo">
|
|
|
|
|
<Teleport :to="appendTo">
|
|
|
|
|
<Transition name="fade">
|
|
|
|
|
<SheetOverlay
|
|
|
|
|
v-if="open && modal"
|
|
|
|
|
@ -103,5 +103,5 @@ function onAnimationEnd(event: AnimationEvent) {
|
|
|
|
|
<Cross2Icon class="h-5 w-" />
|
|
|
|
|
</DialogClose> -->
|
|
|
|
|
</DialogContent>
|
|
|
|
|
</DialogPortal>
|
|
|
|
|
</Teleport>
|
|
|
|
|
</template>
|
|
|
|
|
|