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