2020-01-29 13:37:25 -06:00
|
|
|
<template>
|
2020-11-02 19:27:00 -06:00
|
|
|
<XWindow ref="window"
|
|
|
|
:initial-width="800"
|
|
|
|
:initial-height="500"
|
|
|
|
:can-resize="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>
|
2020-11-02 19:27:00 -06:00
|
|
|
<XDrive :initial-folder="initialFolder"/>
|
|
|
|
</XWindow>
|
2020-01-29 13:37:25 -06:00
|
|
|
</template>
|
|
|
|
|
2022-01-18 08:06:16 -06:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { } from 'vue';
|
|
|
|
import * as Misskey from 'misskey-js';
|
2020-01-29 13:37:25 -06:00
|
|
|
import XDrive from './drive.vue';
|
2021-11-11 11:02:25 -06:00
|
|
|
import XWindow from '@/components/ui/window.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<{
|
|
|
|
(e: 'closed'): void;
|
|
|
|
}>();
|
2020-01-29 13:37:25 -06:00
|
|
|
</script>
|