2020-01-30 04:37:25 +09:00
|
|
|
<template>
|
2023-04-08 09:01:42 +09:00
|
|
|
<XWindow
|
|
|
|
ref="window"
|
|
|
|
:initial-width="800"
|
|
|
|
:initial-height="500"
|
|
|
|
:can-resize="true"
|
|
|
|
@closed="emit('closed')"
|
|
|
|
>
|
|
|
|
<template #header>
|
|
|
|
{{ i18n.ts.drive }}
|
|
|
|
</template>
|
|
|
|
<XDrive :initial-folder="initialFolder" />
|
|
|
|
</XWindow>
|
2020-01-30 04:37:25 +09:00
|
|
|
</template>
|
|
|
|
|
2022-01-18 23:06:16 +09:00
|
|
|
<script lang="ts" setup>
|
2023-04-08 09:01:42 +09:00
|
|
|
import {} from "vue";
|
|
|
|
import * as Misskey from "calckey-js";
|
|
|
|
import XDrive from "@/components/MkDrive.vue";
|
|
|
|
import XWindow from "@/components/MkWindow.vue";
|
|
|
|
import { i18n } from "@/i18n";
|
2020-01-30 04:37:25 +09:00
|
|
|
|
2022-01-18 23:06:16 +09:00
|
|
|
defineProps<{
|
|
|
|
initialFolder?: Misskey.entities.DriveFolder;
|
|
|
|
}>();
|
2020-01-30 04:37:25 +09:00
|
|
|
|
2022-01-18 23:06:16 +09:00
|
|
|
const emit = defineEmits<{
|
2023-04-08 09:01:42 +09:00
|
|
|
(ev: "closed"): void;
|
2022-01-18 23:06:16 +09:00
|
|
|
}>();
|
2020-01-30 04:37:25 +09:00
|
|
|
</script>
|