refactor: dialogs (#1216)

This commit is contained in:
pa
2025-04-18 20:11:07 +09:00
committed by GitHub
parent 30d54a74dd
commit ef7f33e131
34 changed files with 3227 additions and 2716 deletions
-724
View File
@@ -1,724 +0,0 @@
mixin feedFilters
//- dialog: Noty feed filters
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='notyFeedFiltersDialog'
:visible.sync='notyFeedFiltersDialog.visible'
:title='$t("dialog.shared_feed_filters.notification")'
width='550px'
top='5vh')
.toggle-list(style='height: 75vh; overflow-y: auto')
.toggle-item
span.toggle-name OnPlayerJoining
el-radio-group(
v-model='sharedFeedFilters.noty.OnPlayerJoining'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name OnPlayerJoined
el-radio-group(
v-model='sharedFeedFilters.noty.OnPlayerJoined'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name OnPlayerLeft
el-radio-group(
v-model='sharedFeedFilters.noty.OnPlayerLeft'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Online
el-radio-group(v-model='sharedFeedFilters.noty.Online' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Offline
el-radio-group(v-model='sharedFeedFilters.noty.Offline' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name GPS
el-radio-group(v-model='sharedFeedFilters.noty.GPS' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Status
el-radio-group(v-model='sharedFeedFilters.noty.Status' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Invite
el-radio-group(v-model='sharedFeedFilters.noty.invite' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Request Invite
el-radio-group(
v-model='sharedFeedFilters.noty.requestInvite'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Invite Response
el-radio-group(
v-model='sharedFeedFilters.noty.inviteResponse'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Request Invite Response
el-radio-group(
v-model='sharedFeedFilters.noty.requestInviteResponse'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Friend Request
el-radio-group(
v-model='sharedFeedFilters.noty.friendRequest'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name New Friend
el-radio-group(v-model='sharedFeedFilters.noty.Friend' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Unfriend
el-radio-group(v-model='sharedFeedFilters.noty.Unfriend' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Display Name Change
el-radio-group(
v-model='sharedFeedFilters.noty.DisplayName'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Trust Level Change
el-radio-group(v-model='sharedFeedFilters.noty.TrustLevel' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
//- .toggle-item
//- span.toggle-name Boop
//- el-radio-group(v-model="sharedFeedFilters.noty.boop" size="mini" @change="saveSharedFeedFilters")
//- el-radio-button(label="Off") {{ $t('dialog.shared_feed_filters.off') }}
//- el-radio-button(label="On") {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Change
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When you\'ve left or been kicked from a group, group name changed, group owner changed, role added/removed')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.noty.groupChange'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Announcement
el-radio-group(
v-model='sharedFeedFilters.noty["group.announcement"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Join
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When your request to join a group has been approved')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.noty["group.informative"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Invite
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When someone invites you to join a group')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.noty["group.invite"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Join Request
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When someone requests to join a group you\'re a moderator for')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.noty["group.joinRequest"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Transfer Request
el-radio-group(
v-model='sharedFeedFilters.noty["group.transfer"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Instance Queue Ready
el-radio-group(
v-model='sharedFeedFilters.noty["group.queueReady"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Instance Closed
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When the instance you\'re in has been closed preventing anyone from joining')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.noty["instance.closed"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Video Play
el-tooltip(
placement='top'
style='margin-left: 5px'
content='Requires VRCX YouTube API option enabled')
i.el-icon-warning
el-radio-group(v-model='sharedFeedFilters.noty.VideoPlay' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Miscellaneous Events
el-tooltip(
placement='top'
style='margin-left: 5px'
content='Misc event from VRC game log: VRC crash auto rejoin, shader keyword limit, joining instance blocked by master, error loading video, audio device changed, error joining instance, kicked from instance, VRChat failing to start OSC server, etc...')
i.el-icon-info
el-radio-group(v-model='sharedFeedFilters.noty.Event' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name External App
el-radio-group(v-model='sharedFeedFilters.noty.External' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Blocked Player Joins
el-radio-group(
v-model='sharedFeedFilters.noty.BlockedOnPlayerJoined'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Blocked Player Leaves
el-radio-group(
v-model='sharedFeedFilters.noty.BlockedOnPlayerLeft'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Muted Player Joins
el-radio-group(
v-model='sharedFeedFilters.noty.MutedOnPlayerJoined'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Muted Player Leaves
el-radio-group(
v-model='sharedFeedFilters.noty.MutedOnPlayerLeft'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Lobby Avatar Change
el-radio-group(
v-model='sharedFeedFilters.noty.AvatarChange'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
template(v-if='photonLoggingEnabled')
br
.toggle-item
span.toggle-name Photon Event Logging
.toggle-item
span.toggle-name Portal Spawn
el-radio-group(
v-model='sharedFeedFilters.noty.PortalSpawn'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Lobby ChatBox Message
el-radio-group(
v-model='sharedFeedFilters.noty.ChatBoxMessage'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Blocked
el-radio-group(
v-model='sharedFeedFilters.noty.Blocked'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Unblocked
el-radio-group(
v-model='sharedFeedFilters.noty.Unblocked'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Muted
el-radio-group(v-model='sharedFeedFilters.noty.Muted' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Unmuted
el-radio-group(
v-model='sharedFeedFilters.noty.Unmuted'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
template(#footer)
el-button(size='small' @click='resetNotyFeedFilters') {{ $t('dialog.shared_feed_filters.reset') }}
el-button(
size='small'
type='primary'
style='margin-left: 10px'
@click='notyFeedFiltersDialog.visible = false') {{ $t('dialog.shared_feed_filters.close') }}
//- dialog: wrist feed filters
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='wristFeedFiltersDialog'
:visible.sync='wristFeedFiltersDialog.visible'
:title='$t("dialog.shared_feed_filters.wrist")'
width='550px'
top='5vh')
.toggle-list(style='height: 75vh; overflow-y: auto')
.toggle-item
span.toggle-name Self Location
el-radio-group(v-model='sharedFeedFilters.wrist.Location' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name OnPlayerJoining
el-radio-group(
v-model='sharedFeedFilters.wrist.OnPlayerJoining'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name OnPlayerJoined
el-radio-group(
v-model='sharedFeedFilters.wrist.OnPlayerJoined'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name OnPlayerLeft
el-radio-group(
v-model='sharedFeedFilters.wrist.OnPlayerLeft'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Online
el-radio-group(v-model='sharedFeedFilters.wrist.Online' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Offline
el-radio-group(v-model='sharedFeedFilters.wrist.Offline' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name GPS
el-radio-group(v-model='sharedFeedFilters.wrist.GPS' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Status
el-radio-group(v-model='sharedFeedFilters.wrist.Status' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Invite
el-radio-group(v-model='sharedFeedFilters.wrist.invite' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Request Invite
el-radio-group(
v-model='sharedFeedFilters.wrist.requestInvite'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Invite Response
el-radio-group(
v-model='sharedFeedFilters.wrist.inviteResponse'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Request Invite Response
el-radio-group(
v-model='sharedFeedFilters.wrist.requestInviteResponse'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Friend Request
el-radio-group(
v-model='sharedFeedFilters.wrist.friendRequest'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name New Friend
el-radio-group(v-model='sharedFeedFilters.wrist.Friend' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Unfriend
el-radio-group(v-model='sharedFeedFilters.wrist.Unfriend' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Display Name Change
el-radio-group(
v-model='sharedFeedFilters.wrist.DisplayName'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
.toggle-item
span.toggle-name Trust Level Change
el-radio-group(
v-model='sharedFeedFilters.wrist.TrustLevel'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
//- .toggle-item
//- span.toggle-name Boop
//- el-radio-group(v-model="sharedFeedFilters.wrist.boop" size="mini" @change="saveSharedFeedFilters")
//- el-radio-button(label="Off") {{ $t('dialog.shared_feed_filters.off') }}
//- el-radio-button(label="On") {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Change
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When you\'ve left or been kicked from a group, group name changed, group owner changed, role added/removed')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.wrist.groupChange'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Announcement
el-radio-group(
v-model='sharedFeedFilters.wrist["group.announcement"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Join
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When your request to join a group has been approved')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.wrist["group.informative"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Invite
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When someone invites you to join a group')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.wrist["group.invite"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Join Request
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When someone requests to join a group you\'re a moderator for')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.wrist["group.joinRequest"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Group Transfer Request
el-radio-group(
v-model='sharedFeedFilters.wrist["group.transfer"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Instance Queue Ready
el-radio-group(
v-model='sharedFeedFilters.wrist["group.queueReady"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Instance Closed
el-tooltip(
placement='top'
style='margin-left: 5px'
content='When the instance you\'re in has been closed preventing anyone from joining')
i.el-icon-info
el-radio-group(
v-model='sharedFeedFilters.wrist["instance.closed"]'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Video Play
el-tooltip(
placement='top'
style='margin-left: 5px'
content='Requires VRCX YouTube API option enabled')
i.el-icon-warning
el-radio-group(v-model='sharedFeedFilters.wrist.VideoPlay' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Miscellaneous Events
el-tooltip(
placement='top'
style='margin-left: 5px'
content='Misc event from VRC game log: VRC crash auto rejoin, shader keyword limit, joining instance blocked by master, error loading video, audio device changed, error joining instance, kicked from instance, VRChat failing to start OSC server, etc...')
i.el-icon-info
el-radio-group(v-model='sharedFeedFilters.wrist.Event' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name External App
el-radio-group(v-model='sharedFeedFilters.wrist.External' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Blocked Player Joins
el-radio-group(
v-model='sharedFeedFilters.wrist.BlockedOnPlayerJoined'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Blocked Player Leaves
el-radio-group(
v-model='sharedFeedFilters.wrist.BlockedOnPlayerLeft'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Muted Player Joins
el-radio-group(
v-model='sharedFeedFilters.wrist.MutedOnPlayerJoined'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Muted Player Leaves
el-radio-group(
v-model='sharedFeedFilters.wrist.MutedOnPlayerLeft'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Lobby Avatar Change
el-radio-group(
v-model='sharedFeedFilters.wrist.AvatarChange'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
template(v-if='photonLoggingEnabled')
br
.toggle-item
span.toggle-name Photon Event Logging
.toggle-item
span.toggle-name Portal Spawn
el-radio-group(
v-model='sharedFeedFilters.wrist.PortalSpawn'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Lobby ChatBox Message
el-radio-group(
v-model='sharedFeedFilters.wrist.ChatBoxMessage'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='VIP') {{ $t('dialog.shared_feed_filters.favorite') }}
el-radio-button(label='Friends') {{ $t('dialog.shared_feed_filters.friends') }}
el-radio-button(label='Everyone') {{ $t('dialog.shared_feed_filters.everyone') }}
.toggle-item
span.toggle-name Blocked
el-radio-group(
v-model='sharedFeedFilters.wrist.Blocked'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Unblocked
el-radio-group(
v-model='sharedFeedFilters.wrist.Unblocked'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Muted
el-radio-group(v-model='sharedFeedFilters.wrist.Muted' size='mini' @change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
.toggle-item
span.toggle-name Unmuted
el-radio-group(
v-model='sharedFeedFilters.wrist.Unmuted'
size='mini'
@change='saveSharedFeedFilters')
el-radio-button(label='Off') {{ $t('dialog.shared_feed_filters.off') }}
el-radio-button(label='On') {{ $t('dialog.shared_feed_filters.on') }}
template(#footer)
el-button(size='small' @click='resetWristFeedFilters') {{ $t('dialog.shared_feed_filters.reset') }}
el-button(size='small' type='primary' @click='wristFeedFiltersDialog.visible = false') {{ $t('dialog.shared_feed_filters.close') }}
-24
View File
@@ -110,30 +110,6 @@ mixin invites
:disabled='inviteDialog.loading || !inviteDialog.userIds.length'
@click='sendInvite()') {{ $t('dialog.invite.invite') }}
//- dialog: Edit Invite Message
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='editInviteMessageDialog'
:visible.sync='editInviteMessageDialog.visible'
:title='$t("dialog.edit_invite_message.header")'
width='400px')
div(style='font-size: 12px')
span {{ $t('dialog.edit_invite_message.description') }}
el-input(
type='textarea'
v-model='editInviteMessageDialog.newMessage'
size='mini'
maxlength='64'
show-word-limit
:autosize='{ minRows: 2, maxRows: 5 }'
placeholder=''
style='margin-top: 10px')
template(#footer)
el-button(type='small' @click='cancelEditInviteMessage') {{ $t('dialog.edit_invite_message.cancel') }}
el-button(type='primary' size='small' @click='saveEditInviteMessage') {{ $t('dialog.edit_invite_message.save') }}
//- dialog: Edit And Send Invite Response Message
el-dialog.x-dialog(
:before-close='beforeDialogClose'
-41
View File
@@ -1,41 +0,0 @@
mixin launch
//- dialog: launch options
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='launchOptionsDialog'
:visible.sync='launchOptionsDialog.visible'
:title='$t("dialog.launch_options.header")'
width='600px')
div(style='font-size: 12px')
| {{ $t('dialog.launch_options.description') }} #[br]
| {{ $t('dialog.launch_options.example') }} #[el-tag(size='mini') --fps=144]
el-input(
type='textarea'
v-model='launchOptionsDialog.launchArguments'
size='mini'
show-word-limit
:autosize='{ minRows: 2, maxRows: 5 }'
placeholder=''
style='margin-top: 10px')
div(style='font-size: 12px; margin-top: 10px')
| {{ $t('dialog.launch_options.path_override') }}
el-input(
type='textarea'
v-model='launchOptionsDialog.vrcLaunchPathOverride'
placeholder='C:\\Program Files (x86)\\Steam\\steamapps\\common\\VRChat'
:rows='1'
style='display: block; margin-top: 10px')
template(#footer)
div(style='display: flex')
el-button(size='small' @click='openExternalLink("https://docs.vrchat.com/docs/launch-options")') {{ $t('dialog.launch_options.vrchat_docs') }}
el-button(
size='small'
@click='openExternalLink("https://docs.unity3d.com/Manual/CommandLineArguments.html")') {{ $t('dialog.launch_options.unity_manual') }}
el-button(
type='primary'
size='small'
:disabled='launchOptionsDialog.loading'
@click='updateLaunchOptions'
style='margin-left: auto') {{ $t('dialog.launch_options.save') }}
@@ -1,433 +0,0 @@
mixin openSourceSoftwareNotice
//- dialog: open source software notice
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
:visible.sync='ossDialog'
:title='$t("dialog.open_source.header")'
width='650px')
div(v-if='ossDialog' style='height: 350px; overflow: hidden scroll; word-break: break-all')
div
span {{ $t('dialog.open_source.description') }}
div(style='margin-top: 15px')
p(style='font-weight: bold') animate.css
pre(style='font-size: 12px; white-space: pre-line').
The MIT License (MIT)
Copyright (c) 2019 Daniel Eden
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') CefSharp
pre(style='font-size: 12px; white-space: pre-line').
// Copyright © The CefSharp Authors. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
//
// * Neither the name of Google Inc. nor the name Chromium Embedded
// Framework nor the name CefSharp nor the names of its contributors
// may be used to endorse or promote products derived from this software
// without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
div(style='margin-top: 15px')
p(style='font-weight: bold') DiscordRichPresence
pre(style='font-size: 12px; white-space: pre-line').
MIT License
Copyright (c) 2018 Lachee
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') element
pre(style='font-size: 12px; white-space: pre-line').
The MIT License (MIT)
Copyright (c) 2016-present ElemeFE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') librsync.net
pre(style='font-size: 12px; white-space: pre-line').
The MIT License (MIT)
Copyright (c) 2015 Brad Dodson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') Newtonsoft.Json
pre(style='font-size: 12px; white-space: pre-line').
The MIT License (MIT)
Copyright (c) 2007 James Newton-King
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') normalize
pre(style='font-size: 12px; white-space: pre-line').
The MIT License (MIT)
Copyright © Nicolas Gallagher and Jonathan Neal
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') noty
pre(style='font-size: 12px; white-space: pre-line').
Copyright (c) 2012 Nedim Arabacı
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') OpenVR SDK
pre(style='font-size: 12px; white-space: pre-line').
Copyright (c) 2015, Valve Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
div(style='margin-top: 15px')
p(style='font-weight: bold') Twemoji
pre(style='font-size: 12px; white-space: pre-line').
MIT License
Copyright (c) 2021 Twitter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') SharpDX
pre(style='font-size: 12px; white-space: pre-line').
Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') vue
pre(style='font-size: 12px; white-space: pre-line').
The MIT License (MIT)
Copyright (c) 2013-present, Yuxi (Evan) You
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') vue-data-tables
pre(style='font-size: 12px; white-space: pre-line').
The MIT License (MIT)
Copyright (c) 2018 Leon Zhang
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') vue-lazyload
pre(style='font-size: 12px; white-space: pre-line').
The MIT License (MIT)
Copyright (c) 2016 Awe
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') Encode Sans Font (from Dark Vanilla)
pre(style='font-size: 12px; white-space: pre-line').
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
Copyright (c) 2020 June 20, Impallari Type, Andres Torresi, Jacques Le Bailly
(https://fonts.google.com/specimen/Encode+Sans),
with Reserved Font Name: Encode Sans.
PREAMBLE:
The goals of the Open Font License (OFL) are to stimulate worldwide development
of collaborative font projects, to support the font creation efforts of academic
and linguistic communities, and to provide a free and open framework in which
fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed
freely as long as they are not sold by themselves. The fonts, including any
derivative works, can be bundled, embedded, redistributed and/or sold with any
software provided that any reserved names are not used by derivative works.
The fonts and derivatives, however, cannot be released under any other type of
license. The requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of
the Font Software, to use, study, copy, merge, embed, modify, redistribute, and
sell modified and unmodified copies of the Font Software, subject to the
following conditions:
1. Neither the Font Software nor any of its individual components, in Original or
Modified Versions, may be sold by itself.
2. Original or Modified Versions of the Font Software may be bundled, redistributed
and/or sold with any software, provided that each copy contains the above copyright
notice and this license. These can be included either as stand-alone text files,
human-readable headers or in the appropriate machine-readable metadata fields within
text or binary files as long as those fields can be easily viewed by the user.
3. No Modified Version of the Font Software may use the Reserved Font Name(s) unless
explicit written permission is granted by the corresponding Copyright Holder. This
restriction only applies to the primary font name as presented to the users.
4. The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall
not be used to promote, endorse or advertise any Modified Version, except to
acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with
their explicit written permission.
5. The Font Software, modified or unmodified, in part or in whole, must be distributed
entirely under this license, and must not be distributed under any other license.
The requirement for fonts to remain under this license does not apply to any document
created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR
OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
DEALINGS IN THE FONT SOFTWARE.
div(style='margin-top: 15px')
p(style='font-weight: bold') Apache ECharts
pre(style='font-size: 12px; white-space: pre-line').
Apache License 2.0
Copyright 2017-2025 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).
div(style='margin-top: 15px')
p(style='font-weight: bold') dayjs
pre(style='font-size: 12px; white-space: pre-line').
MIT License
Copyright (c) 2018-present, iamkun
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-128
View File
@@ -1,128 +0,0 @@
mixin screenshotMetadata
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='screenshotMetadataDialog'
:visible.sync='screenshotMetadataDialog.visible'
:title='$t("dialog.screenshot_metadata.header")'
width='1050px'
top='10vh')
div(
v-if='screenshotMetadataDialog.visible'
v-loading='screenshotMetadataDialog.loading'
@dragover.prevent
@dragenter.prevent
@drop='handleDrop'
style='-webkit-app-region: drag')
span(style='margin-left: 5px; color: #909399; font-family: monospace') {{ $t('dialog.screenshot_metadata.drag') }}
br
br
el-button(size='small' icon='el-icon-folder-opened' @click='getAndDisplayScreenshotFromFile()') {{ $t('dialog.screenshot_metadata.browse') }}
el-button(size='small' icon='el-icon-picture-outline' @click='getAndDisplayLastScreenshot()') {{ $t('dialog.screenshot_metadata.last_screenshot') }}
el-button(
size='small'
icon='el-icon-copy-document'
@click='copyImageToClipboard(screenshotMetadataDialog.metadata.filePath)') {{ $t('dialog.screenshot_metadata.copy_image') }}
el-button(
size='small'
icon='el-icon-folder'
@click='openImageFolder(screenshotMetadataDialog.metadata.filePath)') {{ $t('dialog.screenshot_metadata.open_folder') }}
el-button(
v-if='API.currentUser.$isVRCPlus && screenshotMetadataDialog.metadata.filePath'
size='small'
icon='el-icon-upload2'
@click='uploadScreenshotToGallery') {{ $t('dialog.screenshot_metadata.upload') }}
br
br
//- Search bar input
el-input(
v-model='screenshotMetadataDialog.search'
size='small'
placeholder='Search'
clearable
style='width: 200px'
@input='screenshotMetadataSearch')
//- Search index/total label
template(v-if='screenshotMetadataDialog.searchIndex != null')
span(style='white-space: pre-wrap; font-size: 12px; margin-left: 10px') {{ screenshotMetadataDialog.searchIndex + 1 + '/' + screenshotMetadataDialog.searchResults.length }}
//- Search type dropdown
el-select(
v-model='screenshotMetadataDialog.searchType'
size='small'
placeholder='Search Type'
style='width: 150px; margin-left: 10px'
@change='screenshotMetadataSearch')
el-option(v-for='type in screenshotMetadataDialog.searchTypes' :key='type' :label='type' :value='type')
br
br
span(v-text='screenshotMetadataDialog.metadata.fileName')
br
template(v-if='screenshotMetadataDialog.metadata.note')
span(v-text='screenshotMetadataDialog.metadata.note')
br
span(v-if='screenshotMetadataDialog.metadata.dateTime' style='margin-right: 5px') {{ screenshotMetadataDialog.metadata.dateTime | formatDate('long') }}
span(
v-if='screenshotMetadataDialog.metadata.fileResolution'
v-text='screenshotMetadataDialog.metadata.fileResolution'
style='margin-right: 5px')
el-tag(
v-if='screenshotMetadataDialog.metadata.fileSize'
type='info'
effect='plain'
size='mini'
v-text='screenshotMetadataDialog.metadata.fileSize')
br
location(
v-if='screenshotMetadataDialog.metadata.world'
:location='screenshotMetadataDialog.metadata.world.instanceId'
:hint='screenshotMetadataDialog.metadata.world.name')
br
display-name(
v-if='screenshotMetadataDialog.metadata.author'
:userid='screenshotMetadataDialog.metadata.author.id'
:hint='screenshotMetadataDialog.metadata.author.displayName'
style='color: #909399; font-family: monospace')
br
el-carousel(
ref='screenshotMetadataCarousel'
:interval='0'
:initial-index='1'
indicator-position='none'
arrow='always'
height='600px'
style='margin-top: 10px'
@change='screenshotMetadataCarouselChange')
el-carousel-item
span(placement='top' width='700px' trigger='click')
img.x-link(
slot='reference'
:src='screenshotMetadataDialog.metadata.previousFilePath'
style='width: 100%; height: 100%; object-fit: contain')
el-carousel-item
span(
placement='top'
width='700px'
trigger='click'
@click='showFullscreenImageDialog(screenshotMetadataDialog.metadata.filePath)')
img.x-link(
slot='reference'
:src='screenshotMetadataDialog.metadata.filePath'
style='width: 100%; height: 100%; object-fit: contain')
el-carousel-item
span(placement='top' width='700px' trigger='click')
img.x-link(
slot='reference'
:src='screenshotMetadataDialog.metadata.nextFilePath'
style='width: 100%; height: 100%; object-fit: contain')
br
template(v-if='screenshotMetadataDialog.metadata.error')
pre(v-text='screenshotMetadataDialog.metadata.error' style='white-space: pre-wrap; font-size: 12px')
br
span(v-for='user in screenshotMetadataDialog.metadata.players' style='margin-top: 5px')
span.x-link(v-text='user.displayName' @click='lookupUser(user)')
span(
v-if='user.pos'
v-text='"(" + user.pos.x + ", " + user.pos.y + ", " + user.pos.z + ")"'
style='margin-left: 5px; color: #909399; font-family: monospace')
br
-442
View File
@@ -1,442 +0,0 @@
mixin settings
//- dialog: VRChat Config JSON
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='VRChatConfigDialog'
:visible.sync='VRChatConfigDialog.visible'
:title='$t("dialog.config_json.header")'
width='420px'
top='10vh')
div(style='font-size: 12px; word-break: keep-all')
| {{ $t('dialog.config_json.description1') }} #[br]
| {{ $t('dialog.config_json.description2') }}
br
span(style='margin-right: 5px') {{ $t('dialog.config_json.cache_size') }}
span(v-text='VRChatUsedCacheSize')
span /
span(v-text='VRChatTotalCacheSize')
span GB
el-tooltip(placement='top' :content='$t("dialog.config_json.refresh")' :disabled='hideTooltips')
el-button(
type='default'
:loading='VRChatCacheSizeLoading'
@click='getVRChatCacheSize'
size='small'
icon='el-icon-refresh'
circle
style='margin-left: 5px')
div(style='margin-top: 10px')
span(style='margin-right: 5px') {{ $t('dialog.config_json.delete_all_cache') }}
el-button(
size='small'
style='margin-left: 5px'
icon='el-icon-delete'
@click='showDeleteAllVRChatCacheConfirm()') {{ $t('dialog.config_json.delete_cache') }}
div(style='margin-top: 10px')
span(style='margin-right: 5px') {{ $t('dialog.config_json.delete_old_cache') }}
el-button(size='small' style='margin-left: 5px' icon='el-icon-folder-delete' @click='sweepVRChatCache()') {{ $t('dialog.config_json.sweep_cache') }}
div(style='display: block; margin-top: 10px' v-for='(item, value) in VRChatConfigList' :key='value')
span(style='word-break: keep-all') {{ item.name }}:
div(style='display: flex')
el-button(
v-if='item.folderBrowser'
size='mini'
icon='el-icon-folder-opened'
@click='openConfigFolderBrowser(value)')
el-input(
v-model='VRChatConfigFile[value]'
:placeholder='item.default'
size='mini'
:type='item.type ? item.type : "text"'
:min='item.min'
:max='item.max'
@change='redrawVRChatConfigDialog'
style='flex: 1; margin-top: 5px')
div(style='display: inline-block; margin-top: 10px')
span {{ $t('dialog.config_json.camera_resolution') }}
br
el-dropdown(
@command='(command) => setVRChatCameraResolution(command)'
size='small'
trigger='click'
style='margin-top: 5px')
el-button(size='small')
span #[span(v-text='getVRChatCameraResolution()')] #[i.el-icon-arrow-down.el-icon--right]
el-dropdown-menu(#default='dropdown')
el-dropdown-item(
v-for='row in VRChatCameraResolutions'
:key='row.index'
v-text='row.name'
:command='row')
br
div(style='display: inline-block; margin-top: 10px')
span {{ $t('dialog.config_json.spout_resolution') }}
br
el-dropdown(
@command='(command) => setVRChatSpoutResolution(command)'
size='small'
trigger='click'
style='margin-top: 5px')
el-button(size='small')
span #[span(v-text='getVRChatSpoutResolution()')] #[i.el-icon-arrow-down.el-icon--right]
el-dropdown-menu(#default='dropdown')
el-dropdown-item(
v-for='row in VRChatScreenshotResolutions'
:key='row.index'
v-text='row.name'
:command='row')
br
div(style='display: inline-block; margin-top: 10px')
span {{ $t('dialog.config_json.screenshot_resolution') }}
br
el-dropdown(
@command='(command) => setVRChatScreenshotResolution(command)'
size='small'
trigger='click'
style='margin-top: 5px')
el-button(size='small')
span #[span(v-text='getVRChatScreenshotResolution()')] #[i.el-icon-arrow-down.el-icon--right]
el-dropdown-menu(#default='dropdown')
el-dropdown-item(
v-for='row in VRChatScreenshotResolutions'
:key='row.index'
v-text='row.name'
:command='row')
el-checkbox(v-model='VRChatConfigFile.picture_output_split_by_date' style='margin-top: 5px; display: block') {{ $t('dialog.config_json.picture_sort_by_date') }}
el-checkbox(v-model='VRChatConfigFile.disableRichPresence' style='margin-top: 5px; display: block') {{ $t('dialog.config_json.disable_discord_presence') }}
template(#footer)
div(style='display: flex; align-items: center; justify-content: space-between')
div
el-button(
size='small'
@click='openExternalLink("https://docs.vrchat.com/docs/configuration-file")') {{ $t('dialog.config_json.vrchat_docs') }}
div
el-button(size='small' @click='VRChatConfigDialog.visible = false') {{ $t('dialog.config_json.cancel') }}
el-button(
size='small'
type='primary'
:disabled='VRChatConfigDialog.loading'
@click='saveVRChatConfigFile') {{ $t('dialog.config_json.save') }}
//- dialog: YouTube Api Dialog
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='youTubeApiDialog'
:visible.sync='youTubeApiDialog.visible'
:title='$t("dialog.youtube_api.header")'
width='400px')
div(style='font-size: 12px')
| {{ $t('dialog.youtube_api.description') }} #[br]
el-input(
type='textarea'
v-model='youTubeApiKey'
:placeholder='$t("dialog.youtube_api.placeholder")'
maxlength='39'
show-word-limit
style='display: block; margin-top: 10px')
template(#footer)
div(style='display: flex')
el-button(
size='small'
@click='openExternalLink("https://rapidapi.com/blog/how-to-get-youtube-api-key/")') {{ $t('dialog.youtube_api.guide') }}
el-button(type='primary' size='small' @click='testYouTubeApiKey' style='margin-left: auto') {{ $t('dialog.youtube_api.save') }}
//- dialog: Discord username list
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
:visible.sync='discordNamesDialogVisible'
:title='$t("dialog.discord_names.header")'
width='650px')
div(style='font-size: 12px')
| {{ $t('dialog.discord_names.description') }}
el-input(
type='textarea'
v-if='discordNamesDialogVisible'
v-model='discordNamesContent'
size='mini'
rows='15'
resize='none'
readonly
style='margin-top: 15px')
//- dialog: Note export dialog
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='noteExportDialog'
:visible.sync='noteExportDialog.visible'
:title='$t("dialog.note_export.header")'
width='1000px')
div(style='font-size: 12px')
| {{ $t('dialog.note_export.description1') }} #[br]
| {{ $t('dialog.note_export.description2') }} #[br]
| {{ $t('dialog.note_export.description3') }} #[br]
| {{ $t('dialog.note_export.description4') }} #[br]
| {{ $t('dialog.note_export.description5') }} #[br]
| {{ $t('dialog.note_export.description6') }} #[br]
| {{ $t('dialog.note_export.description7') }} #[br]
| {{ $t('dialog.note_export.description8') }} #[br]
el-button(
size='small'
@click='updateNoteExportDialog'
:disabled='noteExportDialog.loading'
style='margin-top: 10px') {{ $t('dialog.note_export.refresh') }}
el-button(size='small' @click='exportNoteExport' :disabled='noteExportDialog.loading' style='margin-top: 10px') {{ $t('dialog.note_export.export') }}
el-button(v-if='noteExportDialog.loading' size='small' @click='cancelNoteExport' style='margin-top: 10px') {{ $t('dialog.note_export.cancel') }}
span(v-if='noteExportDialog.loading' style='margin: 10px') #[i.el-icon-loading(style='margin-right: 5px')] {{ $t('dialog.note_export.progress') }} {{ noteExportDialog.progress }}/{{ noteExportDialog.progressTotal }}
template(v-if='noteExportDialog.errors')
el-button(size='small' @click='noteExportDialog.errors = ""') {{ $t('dialog.note_export.clear_errors') }}
h2(style='font-weight: bold; margin: 0') {{ $t('dialog.note_export.errors') }}
pre(v-text='noteExportDialog.errors' style='white-space: pre-wrap; font-size: 12px')
data-tables(
v-if='noteExportDialog.visible'
v-bind='noteExportTable'
v-loading='noteExportDialog.loading'
style='margin-top: 10px')
el-table-column(:label='$t("table.import.image")' width='70' prop='currentAvatarThumbnailImageUrl')
template(#default='scope')
el-popover(placement='right' height='500px' trigger='hover')
img.friends-list-avatar(slot='reference' v-lazy='userImage(scope.row.ref)')
img.friends-list-avatar(
v-lazy='userImageFull(scope.row.ref)'
style='height: 500px; cursor: pointer'
@click='showFullscreenImageDialog(userImageFull(scope.row.ref))')
el-table-column(:label='$t("table.import.name")' width='170' prop='name')
template(#default='scope')
span.x-link(v-text='scope.row.name' @click='showUserDialog(scope.row.id)')
el-table-column(:label='$t("table.import.note")' prop='memo')
template(#default='scope')
el-input(
v-model='scope.row.memo'
type='textarea'
maxlength='256'
show-word-limit
:rows='2'
:autosize='{ minRows: 1, maxRows: 10 }'
size='mini'
resize='none')
el-table-column(:label='$t("table.import.skip_export")' width='90' align='right')
template(#default='scope')
el-button(
type='text'
icon='el-icon-close'
size='mini'
@click='removeFromNoteExportTable(scope.row)')
//- dialog: chatbox blacklist
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='chatboxBlacklistDialog'
:visible.sync='chatboxBlacklistDialog.visible'
:title='$t("dialog.chatbox_blacklist.header")'
width='600px')
div(v-loading='chatboxBlacklistDialog.loading' v-if='chatboxBlacklistDialog.visible')
h2 {{ $t('dialog.chatbox_blacklist.keyword_blacklist') }}
el-input(
v-for='(item, index) in chatboxBlacklist'
:key='index'
:value='item'
v-model='chatboxBlacklist[index]'
size='small'
style='margin-top: 5px'
@change='saveChatboxBlacklist')
el-button(
slot='append'
icon='el-icon-delete'
@click='chatboxBlacklist.splice(index, 1); saveChatboxBlacklist()')
el-button(@click='chatboxBlacklist.push("")' size='mini' style='margin-top: 5px') {{ $t('dialog.chatbox_blacklist.add_item') }}
br
h2 {{ $t('dialog.chatbox_blacklist.user_blacklist') }}
el-tag(
v-for='user in chatboxUserBlacklist'
type='info'
disable-transitions='true'
:key='user[0]'
style='margin-right: 5px; margin-top: 5px'
closable
@close='deleteChatboxUserBlacklist(user[0])')
span {{ user[1] }}
//- dialog: Notification position
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='notificationPositionDialog'
:visible.sync='notificationPositionDialog.visible'
:title='$t("dialog.notification_position.header")'
width='400px')
div(style='font-size: 12px')
| {{ $t('dialog.notification_position.description') }}
svg.notification-position(
version='1.1'
xmlns='http://www.w3.org/2000/svg'
xmlns:xlink='http://www.w3.org/1999/xlink'
x='0px'
y='0px'
viewBox='0 0 300 200'
style='margin-top: 15px'
xml:space='preserve')
path(
style='fill: black'
d='M291.89,5A3.11,3.11,0,0,1,295,8.11V160.64a3.11,3.11,0,0,1-3.11,3.11H8.11A3.11,3.11,0,0,1,5,160.64V8.11A3.11,3.11,0,0,1,8.11,5H291.89m0-5H8.11A8.11,8.11,0,0,0,0,8.11V160.64a8.11,8.11,0,0,0,8.11,8.11H291.89a8.11,8.11,0,0,0,8.11-8.11V8.11A8.11,8.11,0,0,0,291.89,0Z')
rect(style='fill: #c4c4c4' x='5' y='5' width='290' height='158.75' rx='2.5')
el-radio-group(v-model='notificationPosition' size='mini' @change='changeNotificationPosition')
el-radio(
label='topLeft'
v-model='notificationPosition'
style='margin: 0; position: absolute; left: 35px; top: 120px')
el-radio(
label='top'
v-model='notificationPosition'
style='margin: 0; position: absolute; left: 195px; top: 120px')
el-radio(
label='topRight'
v-model='notificationPosition'
style='margin: 0; position: absolute; right: 25px; top: 120px')
el-radio(
label='centerLeft'
v-model='notificationPosition'
style='margin: 0; position: absolute; left: 35px; top: 200px')
el-radio(
label='center'
v-model='notificationPosition'
style='margin: 0; position: absolute; left: 195px; top: 200px')
el-radio(
label='centerRight'
v-model='notificationPosition'
style='margin: 0; position: absolute; right: 25px; top: 200px')
el-radio(
label='bottomLeft'
v-model='notificationPosition'
style='margin: 0; position: absolute; left: 35px; top: 280px')
el-radio(
label='bottom'
v-model='notificationPosition'
style='margin: 0; position: absolute; left: 195px; top: 280px')
el-radio(
label='bottomRight'
v-model='notificationPosition'
style='margin: 0; position: absolute; right: 25px; top: 280px')
template(#footer)
div(style='display: flex')
el-button(
type='primary'
size='small'
style='margin-left: auto'
@click='notificationPositionDialog.visible = false') {{ $t('dialog.notification_position.ok') }}
//- dialog: avatar database provider
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='avatarProviderDialog'
:visible.sync='avatarProviderDialog.visible'
:title='$t("dialog.avatar_database_provider.header")'
width='600px')
div
el-input(
v-for='(provider, index) in avatarRemoteDatabaseProviderList'
:key='index'
:value='provider'
v-model='avatarRemoteDatabaseProviderList[index]'
@change='saveAvatarProviderList'
size='small'
style='margin-top: 5px')
el-button(slot='append' icon='el-icon-delete' @click='removeAvatarProvider(provider)')
el-button(@click='avatarRemoteDatabaseProviderList.push("")' size='mini' style='margin-top: 5px') {{ $t('dialog.avatar_database_provider.add_provider') }}
//- dialog: Registry Auto Backup
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@closed='clearVrcRegistryDialog'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='registryBackupDialog'
:visible.sync='registryBackupDialog.visible'
:title='$t("dialog.registry_backup.header")'
width='600px')
div(v-if='registryBackupDialog.visible' style='margin-top: 10px')
div(style='display: flex; align-items: center; justify-content: space-between; font-size: 12px')
span.name(style='margin-right: 24px') {{ $t('dialog.registry_backup.auto_backup') }}
el-switch(v-model='vrcRegistryAutoBackup' @change='saveVrcRegistryAutoBackup')
data-tables(v-bind='registryBackupTable' style='margin-top: 10px')
el-table-column(:label='$t("dialog.registry_backup.name")' prop='name')
el-table-column(:label='$t("dialog.registry_backup.date")' prop='date')
template(#default='scope')
span {{ scope.row.date | formatDate('long') }}
el-table-column(:label='$t("dialog.registry_backup.action")' width='90' align='right')
template(#default='scope')
el-tooltip(
placement='top'
:content='$t("dialog.registry_backup.restore")'
:disabled='hideTooltips')
el-button(
type='text'
icon='el-icon-upload2'
size='mini'
@click='restoreVrcRegistryBackup(scope.row)')
el-tooltip(
placement='top'
:content='$t("dialog.registry_backup.save_to_file")'
:disabled='hideTooltips')
el-button(
type='text'
icon='el-icon-download'
size='mini'
@click='saveVrcRegistryBackupToFile(scope.row)')
el-tooltip(
placement='top'
:content='$t("dialog.registry_backup.delete")'
:disabled='hideTooltips')
el-button(
type='text'
icon='el-icon-delete'
size='mini'
@click='deleteVrcRegistryBackup(scope.row)')
div(style='display: flex; align-items: center; justify-content: space-between; margin-top: 10px')
el-button(type='danger' @click='deleteVrcRegistry' size='small') {{ $t('dialog.registry_backup.reset') }}
div
el-button(@click='promptVrcRegistryBackupName' size='small') {{ $t('dialog.registry_backup.backup') }}
el-button(@click='restoreVrcRegistryFromFile' size='small') {{ $t('dialog.registry_backup.restore_from_file') }}
//- dialog: Enable primary password
el-dialog.x-dialog(
:visible.sync='enablePrimaryPasswordDialog.visible'
:before-close='enablePrimaryPasswordDialog.beforeClose'
ref='primaryPasswordDialog'
:close-on-click-modal='false'
:title='$t("dialog.primary_password.header")'
width='400px')
el-input(
v-model='enablePrimaryPasswordDialog.password'
:placeholder='$t("dialog.primary_password.password_placeholder")'
type='password'
size='mini'
maxlength='32'
show-password
autofocus)
el-input(
v-model='enablePrimaryPasswordDialog.rePassword'
:placeholder='$t("dialog.primary_password.re_input_placeholder")'
type='password'
style='margin-top: 5px'
size='mini'
maxlength='32'
show-password)
template(#footer)
el-button(
type='primary'
size='small'
@click='setPrimaryPassword'
:disabled='enablePrimaryPasswordDialog.password.length === 0 || enablePrimaryPasswordDialog.password !== enablePrimaryPasswordDialog.rePassword') {{ $t('dialog.primary_password.ok') }}
-69
View File
@@ -1,69 +0,0 @@
mixin vrcx
//- dialog: update VRCX
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='VRCXUpdateDialog'
:visible.sync='VRCXUpdateDialog.visible'
:title='$t("dialog.vrcx_updater.header")'
width='400px')
div(v-loading='checkingForVRCXUpdate' style='margin-top: 15px')
template(v-if='updateInProgress')
el-progress(:percentage='updateProgress' :format='updateProgressText')
br
template(v-else)
div(v-if='VRCXUpdateDialog.updatePending' style='margin-bottom: 15px')
span(v-text='pendingVRCXInstall')
br
span {{ $t('dialog.vrcx_updater.ready_for_update') }}
el-select(
v-model='branch'
@change='loadBranchVersions'
style='display: inline-block; width: 150px; margin-right: 15px')
el-option(v-for='branch in branches' :key='branch.name' :label='branch.name' :value='branch.name')
el-select(v-model='VRCXUpdateDialog.release' style='display: inline-block; width: 150px')
el-option(
v-for='item in VRCXUpdateDialog.releases'
:key='item.name'
:label='item.tag_name'
:value='item.name')
div(
v-if='!VRCXUpdateDialog.updatePending && VRCXUpdateDialog.release === appVersion'
style='margin-top: 15px')
span {{ $t('dialog.vrcx_updater.latest_version') }}
template(#footer)
el-button(v-if='updateInProgress' type='primary' size='small' @click='cancelUpdate') {{ $t('dialog.vrcx_updater.cancel') }}
el-button(
v-if='VRCXUpdateDialog.release !== pendingVRCXInstall'
:disabled='updateInProgress'
type='primary'
size='small'
@click='installVRCXUpdate') {{ $t('dialog.vrcx_updater.download') }}
el-button(
v-if='!updateInProgress && pendingVRCXInstall'
type='primary'
size='small'
@click='restartVRCX(true)') {{ $t('dialog.vrcx_updater.install') }}
//- dialog: change log
el-dialog.x-dialog(
:before-close='beforeDialogClose'
@mousedown.native='dialogMouseDown'
@mouseup.native='dialogMouseUp'
ref='changeLogDialog'
:visible.sync='changeLogDialog.visible'
:title='$t("dialog.change_log.header")'
width='800px'
top='5vh')
.changelog-dialog(v-if='changeLogDialog.visible')
h2(v-text='changeLogDialog.buildName')
span {{ $t('dialog.change_log.description') }} #[a.x-link(@click='openExternalLink("https://www.patreon.com/Natsumi_VRCX")') Patreon], #[a.x-link(@click='openExternalLink("https://ko-fi.com/natsumi_sama")') Ko-fi].
vue-markdown(
:source='changeLogDialog.changeLog'
:linkify='false'
style='height: 62vh; overflow-y: auto; margin-top: 10px')
template(#footer)
el-button(type='small' @click='openExternalLink("https://github.com/vrcx-team/VRCX/releases")') {{ $t('dialog.change_log.github') }}
el-button(type='small' @click='openExternalLink("https://patreon.com/Natsumi_VRCX")') {{ $t('dialog.change_log.donate') }}
el-button(type='small' @click='changeLogDialog.visible = false') {{ $t('dialog.change_log.close') }}
-5
View File
@@ -49,11 +49,6 @@ mixin profileTab
icon='el-icon-user'
@click='showExportAvatarsListDialog()'
style='margin-left: 0; margin-right: 5px; margin-top: 10px') {{ $t('view.profile.profile.export_own_avatars') }}
el-button(
size='small'
icon='el-icon-document-copy'
@click='showNoteExportDialog()'
style='margin-left: 0; margin-right: 5px; margin-top: 10px') {{ $t('view.profile.profile.export_notes') }}
.options-container
span.header {{ $t('view.profile.game_info.header') }}