|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="_autoGap">
|
|
|
|
|
<FormSection>
|
|
|
|
|
<FormSection first>
|
|
|
|
|
<template #label><i class="ti ti-pencil"></i> {{ i18n.ts._exportOrImport.allNotes }}</template>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.export }}</template>
|
|
|
|
@ -18,61 +18,71 @@
|
|
|
|
|
</FormSection>
|
|
|
|
|
<FormSection>
|
|
|
|
|
<template #label><i class="ti ti-users"></i> {{ i18n.ts._exportOrImport.followingList }}</template>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.export }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-download"></i></template>
|
|
|
|
|
<FormSwitch v-model="excludeMutingUsers">
|
|
|
|
|
{{ i18n.ts._exportOrImport.excludeMutingUsers }}
|
|
|
|
|
</FormSwitch>
|
|
|
|
|
<FormSwitch v-model="excludeInactiveUsers">
|
|
|
|
|
{{ i18n.ts._exportOrImport.excludeInactiveUsers }}
|
|
|
|
|
</FormSwitch>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="exportFollowing()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.import }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-upload"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="importFollowing($event)"><i class="ti ti-upload"></i> {{ i18n.ts.import }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<div class="_autoGap_half">
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.export }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-download"></i></template>
|
|
|
|
|
<div class="_autoGap_half">
|
|
|
|
|
<FormSwitch v-model="excludeMutingUsers">
|
|
|
|
|
{{ i18n.ts._exportOrImport.excludeMutingUsers }}
|
|
|
|
|
</FormSwitch>
|
|
|
|
|
<FormSwitch v-model="excludeInactiveUsers">
|
|
|
|
|
{{ i18n.ts._exportOrImport.excludeInactiveUsers }}
|
|
|
|
|
</FormSwitch>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="exportFollowing()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton>
|
|
|
|
|
</div>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.import }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-upload"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="importFollowing($event)"><i class="ti ti-upload"></i> {{ i18n.ts.import }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
</div>
|
|
|
|
|
</FormSection>
|
|
|
|
|
<FormSection>
|
|
|
|
|
<template #label><i class="ti ti-users"></i> {{ i18n.ts._exportOrImport.userLists }}</template>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.export }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-download"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="exportUserLists()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.import }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-upload"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="importUserLists($event)"><i class="ti ti-upload"></i> {{ i18n.ts.import }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<div class="_autoGap_half">
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.export }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-download"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="exportUserLists()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.import }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-upload"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="importUserLists($event)"><i class="ti ti-upload"></i> {{ i18n.ts.import }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
</div>
|
|
|
|
|
</FormSection>
|
|
|
|
|
<FormSection>
|
|
|
|
|
<template #label><i class="ti ti-user-off"></i> {{ i18n.ts._exportOrImport.muteList }}</template>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.export }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-download"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="exportMuting()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.import }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-upload"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="importMuting($event)"><i class="ti ti-upload"></i> {{ i18n.ts.import }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<div class="_autoGap_half">
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.export }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-download"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="exportMuting()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.import }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-upload"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="importMuting($event)"><i class="ti ti-upload"></i> {{ i18n.ts.import }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
</div>
|
|
|
|
|
</FormSection>
|
|
|
|
|
<FormSection>
|
|
|
|
|
<template #label><i class="ti ti-user-off"></i> {{ i18n.ts._exportOrImport.blockingList }}</template>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.export }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-download"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="exportBlocking()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.import }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-upload"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="importBlocking($event)"><i class="ti ti-upload"></i> {{ i18n.ts.import }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<div class="_autoGap_half">
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.export }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-download"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="exportBlocking()"><i class="ti ti-download"></i> {{ i18n.ts.export }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
<FormFolder>
|
|
|
|
|
<template #label>{{ i18n.ts.import }}</template>
|
|
|
|
|
<template #icon><i class="ti ti-upload"></i></template>
|
|
|
|
|
<MkButton primary :class="$style.button" inline @click="importBlocking($event)"><i class="ti ti-upload"></i> {{ i18n.ts.import }}</MkButton>
|
|
|
|
|
</FormFolder>
|
|
|
|
|
</div>
|
|
|
|
|
</FormSection>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|