mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-23 01:45:26 +03:00
27 lines
863 B
Vue
27 lines
863 B
Vue
<script setup lang="ts">
|
|
import {
|
|
isEditHistoryDialogOpen,
|
|
isImagePreviewDialogOpen,
|
|
isPreviewHelpOpen,
|
|
isPublishDialogOpen,
|
|
isSigninDialogOpen,
|
|
} from '~/composables/dialog'
|
|
</script>
|
|
|
|
<template>
|
|
<ModalDialog v-model="isSigninDialogOpen">
|
|
<UserSignIn m6 />
|
|
</ModalDialog>
|
|
<ModalDialog v-model="isPreviewHelpOpen" :type="isSmallScreen ? 'bottom' : 'dialog'">
|
|
<HelpPreview @close="closePreviewHelp()" />
|
|
</ModalDialog>
|
|
<ModalDialog v-model="isPublishDialogOpen">
|
|
<PublishWidget :draft-key="dialogDraftKey" expanded min-w-180 />
|
|
</ModalDialog>
|
|
<ModalDialog v-model="isImagePreviewDialogOpen" type="preview">
|
|
<img :src="imagePreview.src" :alt="imagePreview.alt" max-w-95vw max-h-95vh>
|
|
</ModalDialog>
|
|
<ModalDialog v-model="isEditHistoryDialogOpen">
|
|
<StatusEditPreview :edit="statusEdit" />
|
|
</ModalDialog>
|
|
</template>
|