<template>
  <v-bottom-sheet v-model="editor.show.comment" eager>
    <div class="h-[720px]">
      <comment-editor />
    </div>
  </v-bottom-sheet>
  <v-bottom-sheet v-model="editor.show.moment" eager>
    <div class="h-[720px]">
      <moment-editor />
    </div>
  </v-bottom-sheet>
  <v-bottom-sheet v-model="editor.show.article" eager>
    <div class="h-[720px]">
      <article-editor />
    </div>
  </v-bottom-sheet>

  <v-bottom-sheet v-model="editor.show.delete" eager>
    <post-deletion />
  </v-bottom-sheet>
</template>

<script setup lang="ts">
import { useEditor } from "@/stores/editor"
import MomentEditor from "@/components/publish/MomentEditor.vue"
import CommentEditor from "@/components/publish/CommentEditor.vue"
import ArticleEditor from "@/components/publish/ArticleEditor.vue"
import PostDeletion from "@/components/publish/PostDeletion.vue"

const editor = useEditor()
</script>
