Skip to content

Commit

Permalink
chore(deps): update prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdvlpr committed Nov 27, 2024
1 parent 1a756c1 commit 1a7da52
Show file tree
Hide file tree
Showing 20 changed files with 70 additions and 70 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"postcss": "^8.4.49",
"prettier": "^3.4.0",
"prettier": "^3.4.1",
"typescript": "~5.5.4",
"vitepress": "^1.5.0",
"vue-tsc": "^2.1.10"
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/DialogCacheClear.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}}
</q-card-section>
<q-card-actions align="right" class="text-primary">
<q-btn flat :label="$t('cancel')" @click="(open = false)" />
<q-btn flat :label="$t('cancel')" @click="open = false" />
<q-btn
color="negative"
flat
Expand Down
6 changes: 3 additions & 3 deletions src/components/dialog/DialogDisplayPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
color="primary"
:disable="screen.mainWindow"
:outline="screen.mainWindow || !screen.mediaWindow"
@click="(screenPreferences.preferredScreenNumber = index)"
@click="screenPreferences.preferredScreenNumber = index"
>
<q-icon
class="q-mr-sm"
Expand Down Expand Up @@ -65,7 +65,7 @@
screenList.length < 2 || screenPreferences.preferWindowed
"
unelevated
@click="(screenPreferences.preferWindowed = false)"
@click="screenPreferences.preferWindowed = false"
>
<q-icon class="q-mr-sm" name="mmm-fullscreen" size="xs" />
{{ $t('full-screen') }}
Expand All @@ -85,7 +85,7 @@
: 'primary'
"
unelevated
@click="(screenPreferences.preferWindowed = true)"
@click="screenPreferences.preferWindowed = true"
>
<q-icon class="q-mr-sm" name="mmm-window" size="xs" />
{{ $t('windowed') }}
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog/DialogRemoteVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
);
open = false;
"
@mouseout="(hoveredRemoteVideo = '')"
@mouseover="(hoveredRemoteVideo = video.guid)"
@mouseout="hoveredRemoteVideo = ''"
@mouseover="hoveredRemoteVideo = video.guid"
>
<q-card-section class="q-pa-sm">
<q-img
Expand Down
10 changes: 5 additions & 5 deletions src/components/dialog/DialogStudyBible.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
)
: selectedMediaItems.push(mediaItem)
"
@mouseout="(hoveredMediaItem = 0)"
@mouseover="(hoveredMediaItem = mediaItem.id)"
@mouseout="hoveredMediaItem = 0"
@mouseover="hoveredMediaItem = mediaItem.id"
>
<q-card-section
:class="{
Expand Down Expand Up @@ -156,7 +156,7 @@
:label="parseInt(chapter)"
style="width: 3em; height: 3em"
unelevated
@click="(bibleBookChapter = parseInt(chapter))"
@click="bibleBookChapter = parseInt(chapter)"
/>
</div>
<div v-else class="row q-col-gutter-md full-width">
Expand All @@ -178,8 +178,8 @@
}"
flat
@click="getBibleBookMedia(+bookNr)"
@mouseout="(hoveredBibleBook = '')"
@mouseover="(hoveredBibleBook = bookNr)"
@mouseout="hoveredBibleBook = ''"
@mouseover="hoveredBibleBook = bookNr"
>
<q-img
class="rounded-borders"
Expand Down
6 changes: 3 additions & 3 deletions src/components/form-inputs/ShortcutInput.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="row" style="width: 240px" @click="(shortcutPicker = true)">
<div class="row" style="width: 240px" @click="shortcutPicker = true">
<template v-if="localValue">
<template
v-for="(keyboardKey, index) in localValue.split('+')"
Expand All @@ -22,7 +22,7 @@
color="primary"
:label="$t('enter-key-combination')"
outline
@click="(shortcutPicker = true)"
@click="shortcutPicker = true"
/>
</div>
<q-dialog
Expand Down Expand Up @@ -60,7 +60,7 @@
color="negative"
flat
:label="$t('clear')"
@click="(localValue = '')"
@click="localValue = ''"
/>
<q-btn v-close-popup flat :label="$t('confirm')" />
</q-card-actions>
Expand Down
2 changes: 1 addition & 1 deletion src/components/header/HeaderBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div
class="row justify-center cursor-pointer"
style="width: 56px"
@click="(aboutModal = true)"
@click="aboutModal = true"
>
<img src="logo-no-background.svg" />
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/components/header/HeaderCalendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
v-if="selectedDate"
color="white-transparent"
unelevated
@click="(section = undefined)"
@click="section = undefined"
>
<q-icon
:class="{ 'q-mr-sm': $q.screen.gt.xs }"
Expand All @@ -41,7 +41,7 @@
v-close-popup
clickable
:disable="!online"
@click="(chooseSong = true)"
@click="chooseSong = true"
>
<q-item-section avatar>
<q-icon color="primary" name="mmm-music-note" />
Expand All @@ -55,7 +55,7 @@
v-close-popup
clickable
:disable="!online"
@click="(remoteVideoPopup = true)"
@click="remoteVideoPopup = true"
>
<q-item-section avatar>
<q-icon color="primary" name="mmm-movie" />
Expand All @@ -71,7 +71,7 @@
v-close-popup
clickable
:disable="!online"
@click="(studyBiblePopup = true)"
@click="studyBiblePopup = true"
>
<q-item-section avatar>
<q-icon color="primary" name="mmm-bible" />
Expand All @@ -82,7 +82,7 @@
</q-item-section>
</q-item>
<q-item-label header>{{ $t('from-local-computer') }}</q-item-label>
<q-item v-close-popup clickable @click="(publicTalkMediaPopup = true)">
<q-item v-close-popup clickable @click="publicTalkMediaPopup = true">
<q-item-section avatar>
<q-icon color="primary" name="mmm-lectern" />
</q-item-section>
Expand Down Expand Up @@ -131,7 +131,7 @@
v-if="additionalMediaForDay"
v-close-popup
clickable
@click="(mediaDeleteAllPending = true)"
@click="mediaDeleteAllPending = true"
>
<q-item-section avatar>
<q-icon color="negative" name="mmm-delete" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/header/HeaderSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<q-item-label header>{{ $t('invalid-settings') }}</q-item-label>
<q-item
clickable
@click="(onlyShowInvalidSettings = !onlyShowInvalidSettings)"
@click="onlyShowInvalidSettings = !onlyShowInvalidSettings"
>
<q-item-section avatar>
<q-icon
Expand Down
2 changes: 1 addition & 1 deletion src/components/media/DownloadStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
rounded
:text-color="downloadPopup ? (online ? 'primary' : 'negative') : ''"
unelevated
@click="(downloadPopup = !downloadPopup)"
@click="downloadPopup = !downloadPopup"
>
<q-icon
:name="
Expand Down
2 changes: 1 addition & 1 deletion src/components/media/MediaDisplayButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
displayPopup ? (mediaWindowVisible ? 'primary' : 'negative') : ''
"
unelevated
@click="(displayPopup = !displayPopup)"
@click="displayPopup = !displayPopup"
>
<q-tooltip
v-if="!displayPopup"
Expand Down
18 changes: 9 additions & 9 deletions src/components/media/MediaItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
color="primary"
flat
:label="$t('save')"
@click="(mediaDurationPopups[media.uniqueId] = false)"
@click="mediaDurationPopups[media.uniqueId] = false"
/>
</q-card-actions>
</q-card>
Expand Down Expand Up @@ -238,7 +238,7 @@
>
<div
class="ellipsis-3-lines row"
@dblclick="(mediaEditTitleDialog = true)"
@dblclick="mediaEditTitleDialog = true"
>
{{ displayMediaTitle }}
</div>
Expand Down Expand Up @@ -408,7 +408,7 @@
icon="mmm-play"
outline
rounded
@click="(mediaPlayingAction = 'play')"
@click="mediaPlayingAction = 'play'"
/>
<q-btn
v-else-if="
Expand All @@ -420,7 +420,7 @@
icon="mmm-pause"
outline
rounded
@click="(mediaPlayingAction = 'pause')"
@click="mediaPlayingAction = 'pause'"
/>
<q-btn
v-if="mediaPlayingAction !== '' || mediaPlayingAction === ''"
Expand Down Expand Up @@ -472,7 +472,7 @@
mediaPlayingUrl === media.fileUrl ||
mediaPlayingUrl === media.streamUrl
"
@click="(mediaEditTitleDialog = true)"
@click="mediaEditTitleDialog = true"
>
<q-item-section avatar>
<q-icon name="mmm-edit" />
Expand All @@ -482,7 +482,7 @@
<q-item-label caption>{{ $t('rename-explain') }}</q-item-label>
</q-item-section>
</q-item>
<q-item v-close-popup clickable @click="(mediaEditTagDialog = true)">
<q-item v-close-popup clickable @click="mediaEditTagDialog = true">
<q-item-section avatar>
<q-icon name="mmm-tag" />
</q-item-section>
Expand Down Expand Up @@ -526,7 +526,7 @@
mediaPlayingUrl === media.fileUrl ||
mediaPlayingUrl === media.streamUrl
"
@click="(mediaToDelete = media.uniqueId)"
@click="mediaToDelete = media.uniqueId"
>
<q-item-section avatar>
<q-icon color="negative" name="mmm-delete" />
Expand Down Expand Up @@ -602,7 +602,7 @@
{{ $t('sureStopVideo') }}
</q-card-section>
<q-card-actions align="right" class="text-primary">
<q-btn flat :label="$t('cancel')" @click="(mediaToStop = '')" />
<q-btn flat :label="$t('cancel')" @click="mediaToStop = ''" />
<q-btn
ref="stopButton"
color="negative"
Expand Down Expand Up @@ -636,7 +636,7 @@
}}
</q-card-section>
<q-card-actions align="right" class="text-primary">
<q-btn flat :label="$t('cancel')" @click="(mediaToDelete = '')" />
<q-btn flat :label="$t('cancel')" @click="mediaToDelete = ''" />
<q-btn
color="negative"
flat
Expand Down
2 changes: 1 addition & 1 deletion src/components/media/MusicButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
: ''
"
unelevated
@click="(musicPopup = !musicPopup)"
@click="musicPopup = !musicPopup"
>
<q-icon name="mmm-music-note" />
<div v-if="musicPlaying || musicStarting" class="q-ml-sm">
Expand Down
2 changes: 1 addition & 1 deletion src/components/media/ObsStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
: ''
"
unelevated
@click="(obsPopup = !obsPopup)"
@click="obsPopup = !obsPopup"
@mouseenter="
currentSettings?.obsQuickToggle && obsConnectionState === 'connected'
? (obsPopup = true)
Expand Down
2 changes: 1 addition & 1 deletion src/components/media/SubtitlesButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:icon="subtitlesVisible ? 'mmm-subtitles' : 'mmm-subtitles-off'"
rounded
unelevated
@click="(subtitlesVisible = !subtitlesVisible)"
@click="subtitlesVisible = !subtitlesVisible"
>
<q-tooltip :delay="1000" :offset="[14, 22]">
{{ $t('subtitles') }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/NavDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
v-if="$q.screen.gt.xs"
v-ripple
clickable
@click="(miniState = !miniState)"
@click="miniState = !miniState"
>
<q-tooltip
v-if="miniState"
Expand Down
8 changes: 4 additions & 4 deletions src/pages/CongregationSelectorPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
(currentCongregation === id ? 'active' : '')
"
@click="chooseCongregation(id)"
@mouseleave="(hoveredCongregation = null)"
@mouseover="(hoveredCongregation = id)"
@mouseleave="hoveredCongregation = null"
@mouseover="hoveredCongregation = id"
>
<q-item class="items-center">
<div class="col">
Expand Down Expand Up @@ -66,7 +66,7 @@
icon="mmm-delete"
:label="$t('delete')"
size="md"
@click.stop="(congToDelete = id)"
@click.stop="congToDelete = id"
/>
<q-icon
:class="
Expand Down Expand Up @@ -100,7 +100,7 @@
}}
</q-card-section>
<q-card-actions align="right" class="text-primary">
<q-btn flat :label="$t('cancel')" @click="(congToDelete = '')" />
<q-btn flat :label="$t('cancel')" @click="congToDelete = ''" />
<q-btn
color="negative"
flat
Expand Down
Loading

0 comments on commit 1a7da52

Please sign in to comment.