2020-01-29 13:37:25 -06:00
|
|
|
<template>
|
2023-01-05 18:59:17 -06:00
|
|
|
<MkWindow
|
2022-08-30 10:24:33 -05:00
|
|
|
ref="window"
|
2023-05-18 23:58:09 -05:00
|
|
|
:initialWidth="800"
|
|
|
|
:initialHeight="500"
|
|
|
|
:canResize="true"
|
2022-01-18 08:06:16 -06:00
|
|
|
@closed="emit('closed')"
|
2020-10-17 06:12:00 -05:00
|
|
|
>
|
2020-04-21 10:34:56 -05:00
|
|
|
<template #header>
|
2022-01-27 20:39:49 -06:00
|
|
|
{{ i18n.ts.drive }}
|
2020-04-21 10:34:56 -05:00
|
|
|
</template>
|
2023-05-18 23:58:09 -05:00
|
|
|
<XDrive :initialFolder="initialFolder"/>
|
2023-01-05 18:59:17 -06:00
|
|
|
</MkWindow>
|
2020-01-29 13:37:25 -06:00
|
|
|
</template>
|
|
|
|
|
2022-01-18 08:06:16 -06:00
|
|
|
<script lang="ts" setup>
|
2022-07-10 05:47:29 -05:00
|
|
|
import { } from 'vue';
|
2022-01-18 08:06:16 -06:00
|
|
|
import * as Misskey from 'misskey-js';
|
2022-08-30 10:24:33 -05:00
|
|
|
import XDrive from '@/components/MkDrive.vue';
|
2023-01-05 18:59:17 -06:00
|
|
|
import MkWindow from '@/components/MkWindow.vue';
|
2022-01-18 08:06:16 -06:00
|
|
|
import { i18n } from '@/i18n';
|
2020-01-29 13:37:25 -06:00
|
|
|
|
2022-01-18 08:06:16 -06:00
|
|
|
defineProps<{
|
|
|
|
initialFolder?: Misskey.entities.DriveFolder;
|
|
|
|
}>();
|
2020-01-29 13:37:25 -06:00
|
|
|
|
2022-01-18 08:06:16 -06:00
|
|
|
const emit = defineEmits<{
|
2022-05-05 06:45:50 -05:00
|
|
|
(ev: 'closed'): void;
|
2022-01-18 08:06:16 -06:00
|
|
|
}>();
|
2020-01-29 13:37:25 -06:00
|
|
|
</script>
|