mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-23 00:33:50 +02:00
lint: apply pretty import
This commit is contained in:
@@ -1395,68 +1395,67 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ElMessage } from 'element-plus';
|
||||
|
||||
import {
|
||||
InfoFilled,
|
||||
ArrowDown,
|
||||
ArrowRight,
|
||||
Upload,
|
||||
Folder,
|
||||
User,
|
||||
Tickets,
|
||||
Refresh,
|
||||
Operation,
|
||||
Goods,
|
||||
Document,
|
||||
Connection,
|
||||
ChatSquare,
|
||||
CaretRight,
|
||||
ChatSquare,
|
||||
Connection,
|
||||
DeleteFilled,
|
||||
Timer,
|
||||
Notebook,
|
||||
Document,
|
||||
DocumentCopy,
|
||||
Rank,
|
||||
VideoPlay,
|
||||
Folder,
|
||||
Goods,
|
||||
InfoFilled,
|
||||
Notebook,
|
||||
Operation,
|
||||
Paperclip,
|
||||
ArrowDown
|
||||
Rank,
|
||||
Refresh,
|
||||
Tickets,
|
||||
Timer,
|
||||
Upload,
|
||||
User,
|
||||
VideoPlay
|
||||
} from '@element-plus/icons-vue';
|
||||
|
||||
import { computed, defineAsyncComponent, reactive, ref } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { ref, computed, defineAsyncComponent, reactive } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import {
|
||||
useFavoriteStore,
|
||||
useAppearanceSettingsStore,
|
||||
useGeneralSettingsStore,
|
||||
useVRCXUpdaterStore,
|
||||
useNotificationsSettingsStore,
|
||||
useAdvancedSettingsStore,
|
||||
useFriendStore,
|
||||
useAppearanceSettingsStore,
|
||||
useAuthStore,
|
||||
useAvatarProviderStore,
|
||||
useWorldStore,
|
||||
useAvatarStore,
|
||||
useFavoriteStore,
|
||||
useFriendStore,
|
||||
useGameLogStore,
|
||||
useGeneralSettingsStore,
|
||||
useGroupStore,
|
||||
useInstanceStore,
|
||||
useLaunchStore,
|
||||
useNotificationsSettingsStore,
|
||||
usePhotonStore,
|
||||
useUiStore,
|
||||
useUserStore,
|
||||
useVRCXUpdaterStore,
|
||||
useVrStore,
|
||||
useVrcxStore,
|
||||
useAuthStore,
|
||||
useUiStore,
|
||||
useAvatarStore,
|
||||
useLaunchStore,
|
||||
useInstanceStore,
|
||||
useGroupStore,
|
||||
useGameLogStore,
|
||||
useUserStore,
|
||||
usePhotonStore
|
||||
useWorldStore
|
||||
} from '../../stores';
|
||||
import NotificationPositionDialog from './dialogs/NotificationPositionDialog.vue';
|
||||
import RegistryBackupDialog from './dialogs/RegistryBackupDialog.vue';
|
||||
import YouTubeApiDialog from './dialogs/YouTubeApiDialog.vue';
|
||||
import ChangelogDialog from './dialogs/ChangelogDialog.vue';
|
||||
import FeedFiltersDialog from './dialogs/FeedFiltersDialog.vue';
|
||||
import AvatarProviderDialog from './dialogs/AvatarProviderDialog.vue';
|
||||
import { THEME_CONFIG } from '../../shared/constants';
|
||||
import { openExternalLink } from '../../shared/utils';
|
||||
import { redirectToToolsTab } from '../../shared/utils/base/ui';
|
||||
import { THEME_CONFIG } from '../../shared/constants';
|
||||
|
||||
import AvatarProviderDialog from './dialogs/AvatarProviderDialog.vue';
|
||||
import ChangelogDialog from './dialogs/ChangelogDialog.vue';
|
||||
import FeedFiltersDialog from './dialogs/FeedFiltersDialog.vue';
|
||||
import NotificationPositionDialog from './dialogs/NotificationPositionDialog.vue';
|
||||
import RegistryBackupDialog from './dialogs/RegistryBackupDialog.vue';
|
||||
import SimpleSwitch from './components/SimpleSwitch.vue';
|
||||
import YouTubeApiDialog from './dialogs/YouTubeApiDialog.vue';
|
||||
|
||||
const OpenSourceSoftwareNoticeDialog = defineAsyncComponent(
|
||||
() => import('./dialogs/OpenSourceSoftwareNoticeDialog.vue')
|
||||
|
||||
@@ -78,7 +78,9 @@
|
||||
<script setup>
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useDiscordPresenceSettingsStore, useAdvancedSettingsStore } from '../../../stores';
|
||||
|
||||
import { useAdvancedSettingsStore, useDiscordPresenceSettingsStore } from '../../../stores';
|
||||
|
||||
import SimpleSwitch from './SimpleSwitch.vue';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -93,11 +93,13 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Timer } from '@element-plus/icons-vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Timer } from '@element-plus/icons-vue';
|
||||
|
||||
import { useNotificationsSettingsStore, usePhotonStore } from '../../../stores';
|
||||
import { photonEventTableTypeFilterList } from '../../../shared/constants/photon';
|
||||
|
||||
import SimpleSwitch from './SimpleSwitch.vue';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -128,11 +128,13 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Delete, Folder, FolderOpened, InfoFilled, Picture } from '@element-plus/icons-vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Picture, Folder, FolderOpened, Delete, InfoFilled } from '@element-plus/icons-vue';
|
||||
import { useAdvancedSettingsStore } from '../../../stores';
|
||||
|
||||
import { redirectToToolsTab } from '../../../shared/utils/base/ui';
|
||||
import { useAdvancedSettingsStore } from '../../../stores';
|
||||
|
||||
import SimpleSwitch from './SimpleSwitch.vue';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -42,9 +42,7 @@
|
||||
saveOpenVROption();
|
||||
" />
|
||||
<div class="options-container-item" style="min-width: 118px">
|
||||
<span class="name">{{
|
||||
t('view.settings.wrist_overlay.steamvr_wrist_overlay.start_overlay_with')
|
||||
}}</span>
|
||||
<span class="name">{{ t('view.settings.wrist_overlay.steamvr_wrist_overlay.start_overlay_with') }}</span>
|
||||
<el-radio-group
|
||||
:model-value="openVRAlways"
|
||||
:disabled="!openVR"
|
||||
@@ -74,9 +72,7 @@
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<div class="options-container-item">
|
||||
<span class="name">{{
|
||||
t('view.settings.wrist_overlay.steamvr_wrist_overlay.display_overlay_on')
|
||||
}}</span>
|
||||
<span class="name">{{ t('view.settings.wrist_overlay.steamvr_wrist_overlay.display_overlay_on') }}</span>
|
||||
<el-radio-group
|
||||
:model-value="overlayHand"
|
||||
size="small"
|
||||
@@ -147,14 +143,12 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Files } from '@element-plus/icons-vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { Files } from '@element-plus/icons-vue';
|
||||
import {
|
||||
useNotificationsSettingsStore,
|
||||
useWristOverlaySettingsStore,
|
||||
useVrStore
|
||||
} from '../../../stores';
|
||||
|
||||
import { useNotificationsSettingsStore, useVrStore, useWristOverlaySettingsStore } from '../../../stores';
|
||||
|
||||
import SimpleSwitch from './SimpleSwitch.vue';
|
||||
|
||||
const emit = defineEmits(['open-feed-filters']);
|
||||
@@ -179,9 +173,7 @@
|
||||
pcUptimeOnFeed
|
||||
} = storeToRefs(wristOverlaySettingsStore);
|
||||
|
||||
const {
|
||||
setOpenVR
|
||||
} = notificationsSettingsStore;
|
||||
const { setOpenVR } = notificationsSettingsStore;
|
||||
|
||||
const {
|
||||
setOverlayWrist,
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
import { Delete } from '@element-plus/icons-vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { useAvatarProviderStore } from '../../../stores';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -35,11 +35,12 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { defineAsyncComponent } from 'vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { openExternalLink } from '../../../shared/utils';
|
||||
import { useVRCXUpdaterStore } from '../../../stores';
|
||||
import { defineAsyncComponent } from 'vue';
|
||||
|
||||
const VueShowdown = defineAsyncComponent(() => import('vue-showdown').then((module) => module.VueShowdown));
|
||||
|
||||
|
||||
@@ -59,12 +59,14 @@
|
||||
|
||||
<script setup>
|
||||
import { InfoFilled, Warning } from '@element-plus/icons-vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { computed } from 'vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import configRepository from '../../../service/config';
|
||||
import { feedFiltersOptions, sharedFeedFiltersDefaults } from '../../../shared/constants';
|
||||
|
||||
import { useNotificationsSettingsStore, usePhotonStore, useSharedFeedStore } from '../../../stores';
|
||||
import { feedFiltersOptions, sharedFeedFiltersDefaults } from '../../../shared/constants';
|
||||
|
||||
import configRepository from '../../../service/config';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
|
||||
@@ -54,14 +54,16 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, ref } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { computed, ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import configRepository from '../../../service/config';
|
||||
|
||||
import { openExternalLink } from '../../../shared/utils';
|
||||
import { useLaunchStore } from '../../../stores';
|
||||
|
||||
import configRepository from '../../../service/config';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const launchStore = useLaunchStore();
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<script setup>
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { useNotificationsSettingsStore } from '../../../stores';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
<script setup>
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { openSourceSoftwareLicenses } from '../../../shared/constants/ossLicenses';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
<script setup>
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { useAuthStore } from '../../../stores';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -76,15 +76,16 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Delete, Download, Upload } from '@element-plus/icons-vue';
|
||||
import { ElMessage, ElMessageBox } from 'element-plus';
|
||||
import { Upload, Download, Delete } from '@element-plus/icons-vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { ref, watch } from 'vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import configRepository from '../../../service/config';
|
||||
import { downloadAndSaveJson, removeFromArray, formatDateFilter } from '../../../shared/utils';
|
||||
|
||||
import { useVrcxStore, useAdvancedSettingsStore } from '../../../stores';
|
||||
import { downloadAndSaveJson, formatDateFilter, removeFromArray } from '../../../shared/utils';
|
||||
import { useAdvancedSettingsStore, useVrcxStore } from '../../../stores';
|
||||
|
||||
import configRepository from '../../../service/config';
|
||||
|
||||
const { backupVrcRegistry } = useVrcxStore();
|
||||
const { isRegistryBackupDialogVisible } = storeToRefs(useVrcxStore());
|
||||
|
||||
@@ -181,11 +181,12 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ElMessage, ElMessageBox } from 'element-plus';
|
||||
import { Refresh, Delete, FolderOpened, FolderDelete, ArrowDown } from '@element-plus/icons-vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { ArrowDown, Delete, FolderDelete, FolderOpened, Refresh } from '@element-plus/icons-vue';
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import { ElMessage, ElMessageBox } from 'element-plus';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { VRChatCameraResolutions, VRChatScreenshotResolutions } from '../../../shared/constants';
|
||||
import { getVRChatResolution, openExternalLink } from '../../../shared/utils';
|
||||
import { useAdvancedSettingsStore, useGameStore } from '../../../stores';
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { openExternalLink } from '../../../shared/utils';
|
||||
import { useAdvancedSettingsStore } from '../../../stores';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user