mirror of
https://github.com/elk-zone/elk
synced 2024-12-28 13:37:59 +09:00
28 lines
850 B
Vue
28 lines
850 B
Vue
<script setup lang="ts">
|
|
import {
|
|
isEditHistoryDialogOpen,
|
|
isMediaPreviewOpen,
|
|
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="isMediaPreviewOpen" close-button>
|
|
<ModalMediaPreview v-if="isMediaPreviewOpen" @close="closeMediaPreview()" />
|
|
</ModalDialog>
|
|
<ModalDialog v-model="isEditHistoryDialogOpen">
|
|
<StatusEditPreview :edit="statusEdit" />
|
|
</ModalDialog>
|
|
</template>
|