2020-01-29 19:37:25 +00:00
|
|
|
<template>
|
2023-01-06 00:59:17 +00:00
|
|
|
<MkWindow
|
2022-08-30 15:24:33 +00:00
|
|
|
ref="window"
|
2020-11-03 01:27:00 +00:00
|
|
|
:initial-width="800"
|
|
|
|
:initial-height="500"
|
|
|
|
:can-resize="true"
|
2022-01-18 14:06:16 +00:00
|
|
|
@closed="emit('closed')"
|
2020-10-17 11:12:00 +00:00
|
|
|
>
|
2020-04-21 15:34:56 +00:00
|
|
|
<template #header>
|
2022-01-28 02:39:49 +00:00
|
|
|
{{ i18n.ts.drive }}
|
2020-04-21 15:34:56 +00:00
|
|
|
</template>
|
2020-11-03 01:27:00 +00:00
|
|
|
<XDrive :initial-folder="initialFolder"/>
|
2023-01-06 00:59:17 +00:00
|
|
|
</MkWindow>
|
2020-01-29 19:37:25 +00:00
|
|
|
</template>
|
|
|
|
|
2022-01-18 14:06:16 +00:00
|
|
|
<script lang="ts" setup>
|
2022-07-10 10:47:29 +00:00
|
|
|
import { } from 'vue';
|
2022-01-18 14:06:16 +00:00
|
|
|
import * as Misskey from 'misskey-js';
|
2022-08-30 15:24:33 +00:00
|
|
|
import XDrive from '@/components/MkDrive.vue';
|
2023-01-06 00:59:17 +00:00
|
|
|
import MkWindow from '@/components/MkWindow.vue';
|
2022-01-18 14:06:16 +00:00
|
|
|
import { i18n } from '@/i18n';
|
2020-01-29 19:37:25 +00:00
|
|
|
|
2022-01-18 14:06:16 +00:00
|
|
|
defineProps<{
|
|
|
|
initialFolder?: Misskey.entities.DriveFolder;
|
|
|
|
}>();
|
2020-01-29 19:37:25 +00:00
|
|
|
|
2022-01-18 14:06:16 +00:00
|
|
|
const emit = defineEmits<{
|
2022-05-05 11:45:50 +00:00
|
|
|
(ev: 'closed'): void;
|
2022-01-18 14:06:16 +00:00
|
|
|
}>();
|
2020-01-29 19:37:25 +00:00
|
|
|
</script>
|