From 08d67723924abe914ebccfd0e89e7d97eb196341 Mon Sep 17 00:00:00 2001 From: Ciaran Ainsworth Date: Mon, 21 Feb 2022 17:27:00 +0100 Subject: [PATCH] Fix broken imports --- front/src/audio/volume.js | 4 ++-- front/src/components/Footer.vue | 2 +- front/src/components/Queue.vue | 2 +- front/src/components/admin/SettingsGroup.vue | 2 +- .../components/admin/SignupFormBuilder.vue | 2 +- front/src/components/audio/ChannelCard.vue | 4 ++-- front/src/components/audio/ChannelEntries.vue | 4 ++-- .../src/components/audio/ChannelEntryCard.vue | 4 ++-- front/src/components/audio/ChannelForm.vue | 4 ++-- .../src/components/audio/ChannelSerieCard.vue | 2 +- front/src/components/audio/ChannelSeries.vue | 4 ++-- front/src/components/audio/ChannelsWidget.vue | 2 +- front/src/components/audio/PlayButton.vue | 4 ++-- front/src/components/audio/Search.vue | 4 ++-- front/src/components/audio/SearchBar.vue | 2 +- front/src/components/audio/album/Card.vue | 2 +- front/src/components/audio/artist/Card.vue | 4 ++-- front/src/components/audio/artist/Widget.vue | 2 +- .../components/audio/podcast/MobileRow.vue | 6 +++--- front/src/components/audio/podcast/Modal.vue | 6 +++--- front/src/components/audio/podcast/Row.vue | 4 ++-- front/src/components/audio/podcast/Table.vue | 6 +++--- .../src/components/audio/track/MobileRow.vue | 6 +++--- front/src/components/audio/track/Modal.vue | 6 +++--- front/src/components/audio/track/Row.vue | 8 ++++---- front/src/components/audio/track/Table.vue | 6 +++--- front/src/components/audio/track/Widget.vue | 4 ++-- front/src/components/auth/ApplicationEdit.vue | 2 +- front/src/components/auth/ApplicationForm.vue | 2 +- front/src/components/auth/ApplicationNew.vue | 2 +- front/src/components/auth/Authorize.vue | 2 +- front/src/components/auth/Settings.vue | 8 ++++---- front/src/components/auth/SignupForm.vue | 4 ++-- .../src/components/auth/SubsonicTokenForm.vue | 2 +- front/src/components/channels/AlbumModal.vue | 4 ++-- .../components/channels/SubscribeButton.vue | 2 +- front/src/components/channels/UploadForm.vue | 8 ++++---- .../channels/UploadMetadataForm.vue | 4 ++-- .../src/components/common/DangerousButton.vue | 2 +- front/src/components/common/LoginModal.vue | 2 +- front/src/components/common/UserMenu.vue | 2 +- front/src/components/common/UserModal.vue | 4 ++-- front/src/components/favorites/List.vue | 12 +++++------ .../src/components/federation/FetchButton.vue | 2 +- .../components/federation/LibraryWidget.vue | 2 +- front/src/components/library/AlbumDetail.vue | 2 +- .../src/components/library/AlbumDropdown.vue | 6 +++--- front/src/components/library/AlbumEdit.vue | 2 +- front/src/components/library/ArtistBase.vue | 16 +++++++-------- front/src/components/library/ArtistDetail.vue | 6 +++--- front/src/components/library/ArtistEdit.vue | 2 +- front/src/components/library/Artists.vue | 2 +- front/src/components/library/EditCard.vue | 2 +- front/src/components/library/EditDetail.vue | 4 ++-- front/src/components/library/EditForm.vue | 12 +++++------ front/src/components/library/EditList.vue | 4 ++-- front/src/components/library/FileUpload.vue | 10 +++++----- .../components/library/FileUploadWidget.vue | 2 +- front/src/components/library/Home.vue | 10 +++++----- .../components/library/ImportStatusModal.vue | 2 +- front/src/components/library/Podcasts.vue | 2 +- front/src/components/library/Radios.vue | 2 +- front/src/components/library/TagDetail.vue | 10 +++++----- front/src/components/library/TagsSelector.vue | 2 +- front/src/components/library/TrackBase.vue | 20 +++++++++---------- front/src/components/library/TrackDetail.vue | 6 +++--- front/src/components/library/TrackEdit.vue | 2 +- front/src/components/manage/ChannelsTable.vue | 12 +++++------ .../components/manage/library/AlbumsTable.vue | 12 +++++------ .../manage/library/ArtistsTable.vue | 12 +++++------ .../manage/library/EditsCardList.vue | 12 +++++------ .../manage/library/LibrariesTable.vue | 12 +++++------ .../components/manage/library/TagsTable.vue | 14 ++++++------- .../components/manage/library/TracksTable.vue | 12 +++++------ .../manage/library/UploadsTable.vue | 14 ++++++------- .../manage/moderation/AccountsTable.vue | 12 +++++------ .../manage/moderation/DomainsTable.vue | 10 +++++----- .../manage/moderation/InstancePolicyModal.vue | 6 +++--- .../manage/moderation/ReportCard.vue | 8 ++++---- .../manage/moderation/UserRequestCard.vue | 4 ++-- .../manage/users/InvitationsTable.vue | 8 ++++---- .../components/manage/users/UsersTable.vue | 10 +++++----- .../moderation/ReportCategoryDropdown.vue | 2 +- front/src/components/playlists/Card.vue | 2 +- front/src/components/playlists/CardList.vue | 2 +- front/src/components/playlists/Editor.vue | 2 +- front/src/components/playlists/Form.vue | 2 +- front/src/components/radios/Card.vue | 2 +- front/src/views/Notifications.vue | 2 +- front/src/views/Search.vue | 16 +++++++-------- front/src/views/admin/ChannelDetail.vue | 4 ++-- front/src/views/admin/ChannelsList.vue | 2 +- front/src/views/admin/Settings.vue | 2 +- front/src/views/admin/library/AlbumDetail.vue | 4 ++-- front/src/views/admin/library/AlbumsList.vue | 2 +- .../src/views/admin/library/ArtistDetail.vue | 4 ++-- front/src/views/admin/library/ArtistsList.vue | 2 +- front/src/views/admin/library/EditsList.vue | 2 +- .../src/views/admin/library/LibrariesList.vue | 2 +- .../src/views/admin/library/LibraryDetail.vue | 2 +- front/src/views/admin/library/TagsList.vue | 2 +- front/src/views/admin/library/TrackDetail.vue | 4 ++-- front/src/views/admin/library/TracksList.vue | 2 +- .../src/views/admin/library/UploadDetail.vue | 6 +++--- front/src/views/admin/library/UploadsList.vue | 2 +- .../views/admin/moderation/AccountsDetail.vue | 4 ++-- .../views/admin/moderation/AccountsList.vue | 2 +- .../views/admin/moderation/DomainsDetail.vue | 4 ++-- .../views/admin/moderation/DomainsList.vue | 2 +- .../views/admin/moderation/ReportDetail.vue | 2 +- .../views/admin/moderation/ReportsList.vue | 14 ++++++------- .../views/admin/moderation/RequestDetail.vue | 2 +- .../views/admin/moderation/RequestsList.vue | 12 +++++------ .../src/views/admin/users/InvitationsList.vue | 4 ++-- front/src/views/admin/users/UsersList.vue | 2 +- front/src/views/auth/PasswordResetConfirm.vue | 2 +- front/src/views/auth/Plugins.vue | 2 +- front/src/views/auth/ProfileActivity.vue | 6 +++--- front/src/views/auth/ProfileBase.vue | 2 +- front/src/views/auth/ProfileOverview.vue | 8 ++++---- front/src/views/auth/Signup.vue | 2 +- front/src/views/channels/DetailBase.vue | 14 ++++++------- front/src/views/channels/DetailEpisodes.vue | 2 +- front/src/views/channels/DetailOverview.vue | 6 +++--- .../src/views/channels/SubscriptionsList.vue | 6 +++--- front/src/views/content/libraries/Card.vue | 2 +- .../views/content/libraries/FilesTable.vue | 14 ++++++------- front/src/views/content/remote/Card.vue | 4 ++-- front/src/views/library/DetailAlbums.vue | 2 +- front/src/views/library/DetailBase.vue | 6 +++--- front/src/views/library/DetailOverview.vue | 2 +- front/src/views/library/DetailTracks.vue | 2 +- front/src/views/library/Edit.vue | 4 ++-- front/src/views/library/Upload.vue | 2 +- front/src/views/playlists/Detail.vue | 10 +++++----- front/src/views/playlists/List.vue | 10 +++++----- front/src/views/radios/Detail.vue | 6 +++--- 137 files changed, 345 insertions(+), 345 deletions(-) diff --git a/front/src/audio/volume.js b/front/src/audio/volume.js index 1b7e2bc62..5a9ad05f6 100644 --- a/front/src/audio/volume.js +++ b/front/src/audio/volume.js @@ -1,6 +1,6 @@ const DYNAMIC_RANGE = 40 // dB -function toLinearVolumeScale (v) { +export function toLinearVolumeScale (v) { if (v <= 0.0) { return 0.0 } @@ -11,7 +11,7 @@ function toLinearVolumeScale (v) { return Math.pow(10, dB / 20) } -function toLogarithmicVolumeScale (v) { +export function toLogarithmicVolumeScale (v) { if (v <= 0.0) { return 0.0 } diff --git a/front/src/components/Footer.vue b/front/src/components/Footer.vue index 3f9641e18..b78d4844b 100644 --- a/front/src/components/Footer.vue +++ b/front/src/components/Footer.vue @@ -212,7 +212,7 @@