2020-01-30 04:37:25 +09:00
|
|
|
<template>
|
2022-08-31 00:24:33 +09:00
|
|
|
<XWindow
|
|
|
|
ref="window"
|
2020-11-03 10:27:00 +09:00
|
|
|
:initial-width="800"
|
|
|
|
:initial-height="500"
|
|
|
|
:can-resize="true"
|
2022-01-18 23:06:16 +09:00
|
|
|
@closed="emit('closed')"
|
2020-10-17 20:12:00 +09:00
|
|
|
>
|
2020-04-22 00:34:56 +09:00
|
|
|
<template #header>
|
2022-01-28 11:39:49 +09:00
|
|
|
{{ i18n.ts.drive }}
|
2020-04-22 00:34:56 +09:00
|
|
|
</template>
|
2020-11-03 10:27:00 +09:00
|
|
|
<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>
|
2022-07-10 19:47:29 +09:00
|
|
|
import { } from 'vue';
|
2022-12-12 12:24:12 +09:00
|
|
|
import * as Misskey from 'calckey-js';
|
2022-08-31 00:24:33 +09:00
|
|
|
import XDrive from '@/components/MkDrive.vue';
|
2022-09-06 18:21:49 +09:00
|
|
|
import XWindow from '@/components/MkWindow.vue';
|
2022-01-18 23:06:16 +09:00
|
|
|
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<{
|
2022-05-05 20:45:50 +09:00
|
|
|
(ev: 'closed'): void;
|
2022-01-18 23:06:16 +09:00
|
|
|
}>();
|
2020-01-30 04:37:25 +09:00
|
|
|
</script>
|