Remove '@/'
This commit is contained in:
parent
cb6f77520c
commit
41703f838f
|
@ -141,7 +141,7 @@
|
|||
"^.+\\.js$": "babel-jest"
|
||||
},
|
||||
"moduleNameMapper": {
|
||||
"^@/(.*)$": "<rootDir>/src/$1"
|
||||
"^~/(.*)$": "<rootDir>/src/$1"
|
||||
},
|
||||
"testEnvironment": "jsdom"
|
||||
}
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
<script setup lang="ts">
|
||||
import AudioPlayer from '@/components/audio/Player.vue'
|
||||
import Queue from '@/components/Queue.vue'
|
||||
import PlaylistModal from '@/components/playlists/PlaylistModal.vue'
|
||||
import ChannelUploadModal from '@/components/channels/UploadModal.vue'
|
||||
import Sidebar from '@/components/Sidebar.vue'
|
||||
import ServiceMessages from '@/components/ServiceMessages.vue'
|
||||
import SetInstanceModal from '@/components/SetInstanceModal.vue'
|
||||
import ShortcutsModal from '@/components/ShortcutsModal.vue'
|
||||
import FilterModal from '@/components/moderation/FilterModal.vue'
|
||||
import ReportModal from '@/components/moderation/ReportModal.vue'
|
||||
import AudioPlayer from '~/components/audio/Player.vue'
|
||||
import Queue from '~/components/Queue.vue'
|
||||
import PlaylistModal from '~/components/playlists/PlaylistModal.vue'
|
||||
import ChannelUploadModal from '~/components/channels/UploadModal.vue'
|
||||
import Sidebar from '~/components/Sidebar.vue'
|
||||
import ServiceMessages from '~/components/ServiceMessages.vue'
|
||||
import SetInstanceModal from '~/components/SetInstanceModal.vue'
|
||||
import ShortcutsModal from '~/components/ShortcutsModal.vue'
|
||||
import FilterModal from '~/components/moderation/FilterModal.vue'
|
||||
import ReportModal from '~/components/moderation/ReportModal.vue'
|
||||
import { useIntervalFn, useWindowSize } from '@vueuse/core'
|
||||
import GlobalEvents from '@/components/utils/global-events.vue'
|
||||
import GlobalEvents from '~/components/utils/global-events.vue'
|
||||
|
||||
import { computed, nextTick, onMounted, ref, watchEffect } from '@vue/composition-api'
|
||||
import store from '@/store'
|
||||
import store from '~/store'
|
||||
import {
|
||||
ListenWSEvent,
|
||||
PendingReviewEditsWSEvent,
|
||||
PendingReviewReportsWSEvent,
|
||||
PendingReviewRequestsWSEvent,
|
||||
Track
|
||||
} from '@/types'
|
||||
} from '~/types'
|
||||
import useWebSocketHandler from '~/composables/useWebSocketHandler'
|
||||
import { getClientOnlyRadio } from '@/radios'
|
||||
import { getClientOnlyRadio } from '~/radios'
|
||||
|
||||
// Tracks
|
||||
const currentTrack = computed(() => store.getters['queue/currentTrack'])
|
||||
|
|
|
@ -252,10 +252,10 @@
|
|||
import { mapState } from 'vuex'
|
||||
import { get } from 'lodash-es'
|
||||
import showdown from 'showdown'
|
||||
import { humanSize } from '@/modules/filters'
|
||||
import { humanSize } from '~/modules/filters'
|
||||
|
||||
import SignupForm from '@/components/auth/SignupForm.vue'
|
||||
import LogoText from '@/components/LogoText.vue'
|
||||
import SignupForm from '~/components/auth/SignupForm.vue'
|
||||
import LogoText from '~/components/LogoText.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -328,11 +328,11 @@
|
|||
import { get } from 'lodash-es'
|
||||
import { mapState } from 'vuex'
|
||||
import showdown from 'showdown'
|
||||
import AlbumWidget from '@/components/audio/album/Widget.vue'
|
||||
import ChannelsWidget from '@/components/audio/ChannelsWidget.vue'
|
||||
import LoginForm from '@/components/auth/LoginForm.vue'
|
||||
import SignupForm from '@/components/auth/SignupForm.vue'
|
||||
import { humanSize } from '@/modules/filters'
|
||||
import AlbumWidget from '~/components/audio/album/Widget.vue'
|
||||
import ChannelsWidget from '~/components/audio/ChannelsWidget.vue'
|
||||
import LoginForm from '~/components/auth/LoginForm.vue'
|
||||
import SignupForm from '~/components/auth/SignupForm.vue'
|
||||
import { humanSize } from '~/modules/filters'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -346,10 +346,10 @@ import { mapState, mapGetters, mapActions } from 'vuex'
|
|||
import $ from 'jquery'
|
||||
import moment from 'moment'
|
||||
import { sum } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import time from '~/utils/time'
|
||||
import { createFocusTrap } from 'focus-trap'
|
||||
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackPlaylistIcon from '@/components/playlists/TrackPlaylistIcon.vue'
|
||||
import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue'
|
||||
import draggable from 'vuedraggable'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import axios from 'axios'
|
||||
import { uniq } from 'lodash-es'
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
<script>
|
||||
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -472,15 +472,15 @@
|
|||
|
||||
<script>
|
||||
import { mapState, mapActions, mapGetters } from 'vuex'
|
||||
import UserModal from '@/components/common/UserModal.vue'
|
||||
import Logo from '@/components/Logo.vue'
|
||||
import SearchBar from '@/components/audio/SearchBar.vue'
|
||||
import UserMenu from '@/components/common/UserMenu.vue'
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import UserModal from '~/components/common/UserModal.vue'
|
||||
import Logo from '~/components/Logo.vue'
|
||||
import SearchBar from '~/components/audio/SearchBar.vue'
|
||||
import UserMenu from '~/components/common/UserMenu.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
|
||||
import $ from 'jquery'
|
||||
import useThemeList from '@/composables/useThemeList'
|
||||
import useTheme from '@/composables/useTheme'
|
||||
import useThemeList from '~/composables/useThemeList'
|
||||
import useTheme from '~/composables/useTheme'
|
||||
|
||||
export default {
|
||||
name: 'Sidebar',
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { cloneDeep } from 'lodash-es'
|
||||
import SignupFormBuilder from '@/components/admin/SignupFormBuilder.vue'
|
||||
import SignupFormBuilder from '~/components/admin/SignupFormBuilder.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -163,7 +163,7 @@
|
|||
<script>
|
||||
import { cloneDeep, tap, set } from 'lodash-es'
|
||||
|
||||
import SignupForm from '@/components/auth/SignupForm.vue'
|
||||
import SignupForm from '~/components/auth/SignupForm.vue'
|
||||
|
||||
function arrayMove (arr, oldIndex, newIndex) {
|
||||
if (newIndex >= arr.length) {
|
||||
|
|
|
@ -75,10 +75,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import TagsList from '@/components/tags/List.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
|
||||
import { momentFormat } from '@/modules/filters'
|
||||
import { momentFormat } from '~/modules/filters'
|
||||
import moment from 'moment'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
<script>
|
||||
import { clone } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import PodcastTable from '@/components/audio/podcast/Table.vue'
|
||||
import TrackTable from '@/components/audio/track/Table.vue'
|
||||
import PodcastTable from '~/components/audio/podcast/Table.vue'
|
||||
import TrackTable from '~/components/audio/track/Table.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -77,8 +77,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
||||
import { mapGetters } from 'vuex'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -249,8 +249,8 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
|
||||
import AttachmentInput from '@/components/common/AttachmentInput.vue'
|
||||
import TagsSelector from '@/components/library/TagsSelector.vue'
|
||||
import AttachmentInput from '~/components/common/AttachmentInput.vue'
|
||||
import TagsSelector from '~/components/library/TagsSelector.vue'
|
||||
|
||||
function slugify (text) {
|
||||
return text.toString().toLowerCase()
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -55,8 +55,8 @@
|
|||
<script>
|
||||
import { clone } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import ChannelSerieCard from '@/components/audio/ChannelSerieCard.vue'
|
||||
import AlbumCard from '@/components/audio/album/Card.vue'
|
||||
import ChannelSerieCard from '~/components/audio/ChannelSerieCard.vue'
|
||||
import AlbumCard from '~/components/audio/album/Card.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<script>
|
||||
import { clone } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import ChannelCard from '@/components/audio/ChannelCard.vue'
|
||||
import ChannelCard from '~/components/audio/ChannelCard.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -126,8 +126,8 @@
|
|||
<script>
|
||||
import jQuery from 'jquery'
|
||||
|
||||
import ReportMixin from '@/components/mixins/Report.vue'
|
||||
import PlayOptionsMixin from '@/components/mixins/PlayOptions.vue'
|
||||
import ReportMixin from '~/components/mixins/Report.vue'
|
||||
import PlayOptionsMixin from '~/components/mixins/PlayOptions.vue'
|
||||
|
||||
export default {
|
||||
mixins: [ReportMixin, PlayOptionsMixin],
|
||||
|
|
|
@ -339,15 +339,15 @@
|
|||
|
||||
<script>
|
||||
import { mapState, mapGetters, mapActions } from 'vuex'
|
||||
import GlobalEvents from '@/components/utils/global-events.vue'
|
||||
import { toLinearVolumeScale } from '@/audio/volume.js'
|
||||
import GlobalEvents from '~/components/utils/global-events.vue'
|
||||
import { toLinearVolumeScale } from '~/audio/volume.js'
|
||||
import { Howl, Howler } from 'howler'
|
||||
import { throttle, reverse } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import VolumeControl from './VolumeControl.vue'
|
||||
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackPlaylistIcon from '@/components/playlists/TrackPlaylistIcon.vue'
|
||||
import updateQueryString from '@/composables/updateQueryString'
|
||||
import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue'
|
||||
import updateQueryString from '~/composables/updateQueryString'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -71,9 +71,9 @@
|
|||
<script>
|
||||
import { debounce } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import logger from '@/logging'
|
||||
import AlbumCard from '@/components/audio/album/Card.vue'
|
||||
import ArtistCard from '@/components/audio/artist/Card.vue'
|
||||
import logger from '~/logging'
|
||||
import AlbumCard from '~/components/audio/album/Card.vue'
|
||||
import ArtistCard from '~/components/audio/artist/Card.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
|
||||
<script>
|
||||
import jQuery from 'jquery'
|
||||
import router from '@/router'
|
||||
import router from '~/router'
|
||||
import { trim } from 'lodash-es'
|
||||
import GlobalEvents from '@/components/utils/global-events.vue'
|
||||
import GlobalEvents from '~/components/utils/global-events.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import AlbumCard from '@/components/audio/album/Card.vue'
|
||||
import AlbumCard from '~/components/audio/album/Card.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -65,8 +65,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import TagsList from '@/components/tags/List.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import ArtistCard from '@/components/audio/artist/Card.vue'
|
||||
import ArtistCard from '~/components/audio/artist/Card.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -139,9 +139,9 @@
|
|||
|
||||
<script>
|
||||
import { mapActions, mapGetters } from 'vuex'
|
||||
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackModal from '@/components/audio/track/Modal.vue'
|
||||
import PlayOptionsMixin from '@/components/mixins/PlayOptions.vue'
|
||||
import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackModal from '~/components/audio/track/Modal.vue'
|
||||
import PlayOptionsMixin from '~/components/mixins/PlayOptions.vue'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
|
@ -226,9 +226,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import ReportMixin from '@/components/mixins/Report.vue'
|
||||
import PlayOptionsMixin from '@/components/mixins/PlayOptions.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import ReportMixin from '~/components/mixins/Report.vue'
|
||||
import PlayOptionsMixin from '~/components/mixins/PlayOptions.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -83,8 +83,8 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { mapActions, mapGetters } from 'vuex'
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import PlayOptions from '@/components/mixins/PlayOptions.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import PlayOptions from '~/components/mixins/PlayOptions.vue'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
|
@ -77,9 +77,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PodcastRow from '@/components/audio/podcast/Row.vue'
|
||||
import TrackMobileRow from '@/components/audio/track/MobileRow.vue'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import PodcastRow from '~/components/audio/podcast/Row.vue'
|
||||
import TrackMobileRow from '~/components/audio/track/MobileRow.vue'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -122,9 +122,9 @@
|
|||
|
||||
<script>
|
||||
import { mapActions, mapGetters } from 'vuex'
|
||||
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackModal from '@/components/audio/track/Modal.vue'
|
||||
import PlayOptionsMixin from '@/components/mixins/PlayOptions.vue'
|
||||
import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackModal from '~/components/audio/track/Modal.vue'
|
||||
import PlayOptionsMixin from '~/components/mixins/PlayOptions.vue'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
|
@ -226,9 +226,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import ReportMixin from '@/components/mixins/Report.vue'
|
||||
import PlayOptionsMixin from '@/components/mixins/PlayOptions.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import ReportMixin from '~/components/mixins/Report.vue'
|
||||
import PlayOptionsMixin from '~/components/mixins/PlayOptions.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -180,11 +180,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PlayIndicator from '@/components/audio/track/PlayIndicator.vue'
|
||||
import PlayIndicator from '~/components/audio/track/PlayIndicator.vue'
|
||||
import { mapActions, mapGetters } from 'vuex'
|
||||
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon.vue'
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import PlayOptions from '@/components/mixins/PlayOptions.vue'
|
||||
import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import PlayOptions from '~/components/mixins/PlayOptions.vue'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
|
@ -160,10 +160,10 @@
|
|||
<script>
|
||||
import { clone } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import TrackRow from '@/components/audio/track/Row.vue'
|
||||
import TrackMobileRow from '@/components/audio/track/MobileRow.vue'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import { unique } from '@/modules/filters'
|
||||
import TrackRow from '~/components/audio/track/Row.vue'
|
||||
import TrackMobileRow from '~/components/audio/track/MobileRow.vue'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import { unique } from '~/modules/filters'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -137,8 +137,8 @@
|
|||
<script>
|
||||
import { clone } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import TagsList from '@/components/tags/List.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
|
||||
import ApplicationForm from '@/components/auth/ApplicationForm.vue'
|
||||
import ApplicationForm from '~/components/auth/ApplicationForm.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
<script>
|
||||
import { uniq } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
|
||||
export default {
|
||||
mixins: [TranslationsMixin],
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ApplicationForm from '@/components/auth/ApplicationForm.vue'
|
||||
import ApplicationForm from '~/components/auth/ApplicationForm.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -142,11 +142,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
|
||||
import axios from 'axios'
|
||||
|
||||
import { checkRedirectToLogin } from '@/utils'
|
||||
import { checkRedirectToLogin } from '~/utils'
|
||||
export default {
|
||||
mixins: [TranslationsMixin],
|
||||
props: {
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import PasswordInput from '@/components/forms/PasswordInput.vue'
|
||||
import PasswordInput from '~/components/forms/PasswordInput.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -698,11 +698,11 @@
|
|||
<script>
|
||||
import $ from 'jquery'
|
||||
import axios from 'axios'
|
||||
import logger from '@/logging'
|
||||
import PasswordInput from '@/components/forms/PasswordInput.vue'
|
||||
import SubsonicTokenForm from '@/components/auth/SubsonicTokenForm.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import AttachmentInput from '@/components/common/AttachmentInput.vue'
|
||||
import logger from '~/logging'
|
||||
import PasswordInput from '~/components/forms/PasswordInput.vue'
|
||||
import SubsonicTokenForm from '~/components/auth/SubsonicTokenForm.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import AttachmentInput from '~/components/common/AttachmentInput.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -154,10 +154,10 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import logger from '@/logging'
|
||||
import logger from '~/logging'
|
||||
|
||||
import LoginForm from '@/components/auth/LoginForm.vue'
|
||||
import PasswordInput from '@/components/forms/PasswordInput.vue'
|
||||
import LoginForm from '~/components/auth/LoginForm.vue'
|
||||
import PasswordInput from '~/components/forms/PasswordInput.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import PasswordInput from '@/components/forms/PasswordInput.vue'
|
||||
import PasswordInput from '~/components/forms/PasswordInput.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -48,8 +48,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import ChannelAlbumForm from '@/components/channels/AlbumForm.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import ChannelAlbumForm from '~/components/channels/AlbumForm.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import LoginModal from '@/components/common/LoginModal.vue'
|
||||
import LoginModal from '~/components/common/LoginModal.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -239,10 +239,10 @@
|
|||
import axios from 'axios'
|
||||
import $ from 'jquery'
|
||||
|
||||
import LicenseSelect from '@/components/channels/LicenseSelect.vue'
|
||||
import AlbumSelect from '@/components/channels/AlbumSelect.vue'
|
||||
import FileUploadWidget from '@/components/library/FileUploadWidget.vue'
|
||||
import UploadMetadataForm from '@/components/channels/UploadMetadataForm.vue'
|
||||
import LicenseSelect from '~/components/channels/LicenseSelect.vue'
|
||||
import AlbumSelect from '~/components/channels/AlbumSelect.vue'
|
||||
import FileUploadWidget from '~/components/library/FileUploadWidget.vue'
|
||||
import UploadMetadataForm from '~/components/channels/UploadMetadataForm.vue'
|
||||
|
||||
function setIfEmpty (obj, k, v) {
|
||||
if (obj[k] !== undefined) {
|
||||
|
|
|
@ -58,8 +58,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import TagsSelector from '@/components/library/TagsSelector.vue'
|
||||
import AttachmentInput from '@/components/common/AttachmentInput.vue'
|
||||
import TagsSelector from '~/components/library/TagsSelector.vue'
|
||||
import AttachmentInput from '~/components/common/AttachmentInput.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -142,9 +142,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import ChannelUploadForm from '@/components/channels/UploadForm.vue'
|
||||
import { humanSize } from '@/modules/filters'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import ChannelUploadForm from '~/components/channels/UploadForm.vue'
|
||||
import { humanSize } from '~/modules/filters'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { hashCode, intToRGB } from '@/utils/color'
|
||||
import { hashCode, intToRGB } from '~/utils/color'
|
||||
|
||||
export default {
|
||||
props: { actor: { type: Object, required: true } },
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
</button>
|
||||
</template>
|
||||
<script>
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</span>
|
||||
</template>
|
||||
<script>
|
||||
import { secondsToObject } from '@/modules/filters'
|
||||
import { secondsToObject } from '~/modules/filters'
|
||||
|
||||
export default {
|
||||
props: { seconds: { type: Number, default: null } },
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<script>
|
||||
// import sanitize from "@/sanitize"
|
||||
// import sanitize from "~/sanitize"
|
||||
|
||||
export default {
|
||||
props: {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { hashCode, intToRGB } from '@/utils/color'
|
||||
import { hashCode, intToRGB } from '~/utils/color'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
|
|
|
@ -154,8 +154,8 @@
|
|||
<script>
|
||||
|
||||
import { mapGetters } from 'vuex'
|
||||
import useThemeList from '@/composables/useThemeList'
|
||||
import useTheme from '@/composables/useTheme'
|
||||
import useThemeList from '~/composables/useThemeList'
|
||||
import useTheme from '~/composables/useTheme'
|
||||
|
||||
export default {
|
||||
setup () {
|
||||
|
|
|
@ -174,10 +174,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import { mapGetters } from 'vuex'
|
||||
import useThemeList from '@/composables/useThemeList'
|
||||
import useTheme from '@/composables/useTheme'
|
||||
import useThemeList from '~/composables/useThemeList'
|
||||
import useTheme from '~/composables/useTheme'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -135,14 +135,14 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import $ from 'jquery'
|
||||
import logger from '@/logging'
|
||||
import RadioButton from '@/components/radios/Button.vue'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '@/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import { checkRedirectToLogin } from '@/utils'
|
||||
import TrackTable from '@/components/audio/track/Table.vue'
|
||||
import logger from '~/logging'
|
||||
import RadioButton from '~/components/radios/Button.vue'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '~/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import { checkRedirectToLogin } from '~/utils'
|
||||
import TrackTable from '~/components/audio/track/Table.vue'
|
||||
const FAVORITES_URL = 'tracks/'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -213,7 +213,7 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
<script>
|
||||
import { clone } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import LibraryCard from '@/views/content/remote/Card.vue'
|
||||
import LibraryCard from '~/views/content/remote/Card.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -250,9 +250,9 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { sum } from 'lodash-es'
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import TagsList from '@/components/tags/List.vue'
|
||||
import ArtistLabel from '@/components/audio/ArtistLabel.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
import ArtistLabel from '~/components/audio/ArtistLabel.vue'
|
||||
import AlbumDropdown from './AlbumDropdown.vue'
|
||||
|
||||
function groupByDisc (initial) {
|
||||
|
|
|
@ -92,11 +92,11 @@
|
|||
|
||||
<script>
|
||||
|
||||
import time from '@/utils/time'
|
||||
import LibraryWidget from '@/components/federation/LibraryWidget.vue'
|
||||
import ChannelEntries from '@/components/audio/ChannelEntries.vue'
|
||||
import TrackTable from '@/components/audio/track/Table.vue'
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import time from '~/utils/time'
|
||||
import LibraryWidget from '~/components/federation/LibraryWidget.vue'
|
||||
import ChannelEntries from '~/components/audio/ChannelEntries.vue'
|
||||
import TrackTable from '~/components/audio/track/Table.vue'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -127,11 +127,11 @@
|
|||
</span>
|
||||
</template>
|
||||
<script>
|
||||
import EmbedWizard from '@/components/audio/EmbedWizard.vue'
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import ReportMixin from '@/components/mixins/Report.vue'
|
||||
import EmbedWizard from '~/components/audio/EmbedWizard.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import ReportMixin from '~/components/mixins/Report.vue'
|
||||
|
||||
import { getDomain } from '@/utils'
|
||||
import { getDomain } from '~/utils'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import EditForm from '@/components/library/EditForm.vue'
|
||||
import EditForm from '~/components/library/EditForm.vue'
|
||||
export default {
|
||||
components: {
|
||||
EditForm
|
||||
|
|
|
@ -151,14 +151,14 @@ import qs from 'qs'
|
|||
import axios from 'axios'
|
||||
import $ from 'jquery'
|
||||
|
||||
import logger from '@/logging'
|
||||
import logger from '~/logging'
|
||||
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '@/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import AlbumCard from '@/components/audio/album/Card.vue'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import TagsSelector from '@/components/library/TagsSelector.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '~/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import AlbumCard from '~/components/audio/album/Card.vue'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import TagsSelector from '~/components/library/TagsSelector.vue'
|
||||
|
||||
const FETCH_URL = 'albums/'
|
||||
|
||||
|
|
|
@ -215,15 +215,15 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import logger from '@/logging'
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import EmbedWizard from '@/components/audio/EmbedWizard.vue'
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import RadioButton from '@/components/radios/Button.vue'
|
||||
import TagsList from '@/components/tags/List.vue'
|
||||
import ReportMixin from '@/components/mixins/Report.vue'
|
||||
import logger from '~/logging'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import EmbedWizard from '~/components/audio/EmbedWizard.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import RadioButton from '~/components/radios/Button.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
import ReportMixin from '~/components/mixins/Report.vue'
|
||||
|
||||
import { getDomain } from '@/utils'
|
||||
import { getDomain } from '~/utils'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -105,9 +105,9 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import AlbumCard from '@/components/audio/album/Card.vue'
|
||||
import TrackTable from '@/components/audio/track/Table.vue'
|
||||
import LibraryWidget from '@/components/federation/LibraryWidget.vue'
|
||||
import AlbumCard from '~/components/audio/album/Card.vue'
|
||||
import TrackTable from '~/components/audio/track/Table.vue'
|
||||
import LibraryWidget from '~/components/federation/LibraryWidget.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import EditForm from '@/components/library/EditForm.vue'
|
||||
import EditForm from '~/components/library/EditForm.vue'
|
||||
export default {
|
||||
components: {
|
||||
EditForm
|
||||
|
|
|
@ -167,14 +167,14 @@ import qs from 'qs'
|
|||
import axios from 'axios'
|
||||
import $ from 'jquery'
|
||||
|
||||
import logger from '@/logging'
|
||||
import logger from '~/logging'
|
||||
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '@/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import ArtistCard from '@/components/audio/artist/Card.vue'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import TagsSelector from '@/components/library/TagsSelector.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '~/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import ArtistCard from '~/components/audio/artist/Card.vue'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import TagsSelector from '~/components/library/TagsSelector.vue'
|
||||
|
||||
const FETCH_URL = 'artists/'
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@
|
|||
import axios from 'axios'
|
||||
import { diffWordsWithSpace } from 'diff'
|
||||
|
||||
import edits from '@/edits.js'
|
||||
import edits from '~/edits.js'
|
||||
|
||||
function castValue (value) {
|
||||
if (value === null || value === undefined) {
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import edits from '@/edits.js'
|
||||
import EditCard from '@/components/library/EditCard.vue'
|
||||
import edits from '~/edits.js'
|
||||
import EditCard from '~/components/library/EditCard.vue'
|
||||
export default {
|
||||
components: {
|
||||
EditCard
|
||||
|
|
|
@ -242,11 +242,11 @@
|
|||
import $ from 'jquery'
|
||||
import { isEqual, clone } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
import AttachmentInput from '@/components/common/AttachmentInput.vue'
|
||||
import EditList from '@/components/library/EditList.vue'
|
||||
import EditCard from '@/components/library/EditCard.vue'
|
||||
import TagsSelector from '@/components/library/TagsSelector.vue'
|
||||
import edits from '@/edits.js'
|
||||
import AttachmentInput from '~/components/common/AttachmentInput.vue'
|
||||
import EditList from '~/components/library/EditList.vue'
|
||||
import EditCard from '~/components/library/EditCard.vue'
|
||||
import TagsSelector from '~/components/library/TagsSelector.vue'
|
||||
import edits from '~/edits.js'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
import { clone } from 'lodash-es'
|
||||
import axios from 'axios'
|
||||
|
||||
import EditCard from '@/components/library/EditCard.vue'
|
||||
import EditCard from '~/components/library/EditCard.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -316,7 +316,7 @@ import axios from 'axios'
|
|||
import FileUploadWidget from './FileUploadWidget.vue'
|
||||
import FsBrowser from './FsBrowser.vue'
|
||||
import FsLogs from './FsLogs.vue'
|
||||
import LibraryFilesTable from '@/views/content/libraries/FilesTable.vue'
|
||||
import LibraryFilesTable from '~/views/content/libraries/FilesTable.vue'
|
||||
import moment from 'moment'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
import FileUpload from 'vue-upload-component'
|
||||
import { setCsrf } from '@/utils'
|
||||
import { setCsrf } from '~/utils'
|
||||
|
||||
export default {
|
||||
extends: FileUpload,
|
||||
|
|
|
@ -72,11 +72,11 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import logger from '@/logging'
|
||||
import ChannelsWidget from '@/components/audio/ChannelsWidget.vue'
|
||||
import TrackWidget from '@/components/audio/track/Widget.vue'
|
||||
import AlbumWidget from '@/components/audio/album/Widget.vue'
|
||||
import PlaylistWidget from '@/components/playlists/Widget.vue'
|
||||
import logger from '~/logging'
|
||||
import ChannelsWidget from '~/components/audio/ChannelsWidget.vue'
|
||||
import TrackWidget from '~/components/audio/track/Widget.vue'
|
||||
import AlbumWidget from '~/components/audio/album/Widget.vue'
|
||||
import PlaylistWidget from '~/components/playlists/Widget.vue'
|
||||
|
||||
const ARTISTS_URL = 'artists/'
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
</modal>
|
||||
</template>
|
||||
<script>
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
|
||||
function getErrors (payload) {
|
||||
const errors = []
|
||||
|
|
|
@ -199,16 +199,16 @@ import qs from 'qs'
|
|||
import axios from 'axios'
|
||||
import $ from 'jquery'
|
||||
|
||||
import logger from '@/logging'
|
||||
import logger from '~/logging'
|
||||
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '@/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import ArtistCard from '@/components/audio/artist/Card.vue'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import TagsSelector from '@/components/library/TagsSelector.vue'
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import RemoteSearchForm from '@/components/RemoteSearchForm.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '~/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import ArtistCard from '~/components/audio/artist/Card.vue'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import TagsSelector from '~/components/library/TagsSelector.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import RemoteSearchForm from '~/components/RemoteSearchForm.vue'
|
||||
|
||||
const FETCH_URL = 'artists/'
|
||||
|
||||
|
|
|
@ -178,13 +178,13 @@
|
|||
import axios from 'axios'
|
||||
import $ from 'jquery'
|
||||
|
||||
import logger from '@/logging'
|
||||
import logger from '~/logging'
|
||||
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '@/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import RadioCard from '@/components/radios/Card.vue'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import PaginationMixin from '~/components/mixins/Pagination.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import RadioCard from '~/components/radios/Card.vue'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
|
||||
const FETCH_URL = 'radios/radios/'
|
||||
|
||||
|
|
|
@ -89,11 +89,11 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import ChannelsWidget from '@/components/audio/ChannelsWidget.vue'
|
||||
import TrackWidget from '@/components/audio/track/Widget.vue'
|
||||
import AlbumWidget from '@/components/audio/album/Widget.vue'
|
||||
import ArtistWidget from '@/components/audio/artist/Widget.vue'
|
||||
import RadioButton from '@/components/radios/Button.vue'
|
||||
import ChannelsWidget from '~/components/audio/ChannelsWidget.vue'
|
||||
import TrackWidget from '~/components/audio/track/Widget.vue'
|
||||
import AlbumWidget from '~/components/audio/album/Widget.vue'
|
||||
import ArtistWidget from '~/components/audio/artist/Widget.vue'
|
||||
import RadioButton from '~/components/radios/Button.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -219,18 +219,18 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import time from '@/utils/time'
|
||||
import time from '~/utils/time'
|
||||
import axios from 'axios'
|
||||
import { getDomain } from '@/utils'
|
||||
import logger from '@/logging'
|
||||
import PlayButton from '@/components/audio/PlayButton.vue'
|
||||
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackPlaylistIcon from '@/components/playlists/TrackPlaylistIcon.vue'
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import EmbedWizard from '@/components/audio/EmbedWizard.vue'
|
||||
import ReportMixin from '@/components/mixins/Report.vue'
|
||||
import { momentFormat } from '@/modules/filters'
|
||||
import updateQueryString from '@/composables/updateQueryString'
|
||||
import { getDomain } from '~/utils'
|
||||
import logger from '~/logging'
|
||||
import PlayButton from '~/components/audio/PlayButton.vue'
|
||||
import TrackFavoriteIcon from '~/components/favorites/TrackFavoriteIcon.vue'
|
||||
import TrackPlaylistIcon from '~/components/playlists/TrackPlaylistIcon.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import EmbedWizard from '~/components/audio/EmbedWizard.vue'
|
||||
import ReportMixin from '~/components/mixins/Report.vue'
|
||||
import { momentFormat } from '~/modules/filters'
|
||||
import updateQueryString from '~/composables/updateQueryString'
|
||||
|
||||
const FETCH_URL = 'tracks/'
|
||||
|
||||
|
|
|
@ -295,9 +295,9 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import LibraryWidget from '@/components/federation/LibraryWidget.vue'
|
||||
import TagsList from '@/components/tags/List.vue'
|
||||
import PlaylistWidget from '@/components/playlists/Widget.vue'
|
||||
import LibraryWidget from '~/components/federation/LibraryWidget.vue'
|
||||
import TagsList from '~/components/tags/List.vue'
|
||||
import PlaylistWidget from '~/components/playlists/Widget.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
|
||||
import EditForm from '@/components/library/EditForm.vue'
|
||||
import EditForm from '~/components/library/EditForm.vue'
|
||||
export default {
|
||||
components: {
|
||||
EditForm
|
||||
|
|
|
@ -188,8 +188,8 @@ import axios from 'axios'
|
|||
import $ from 'jquery'
|
||||
import { clone } from 'lodash-es'
|
||||
import BuilderFilter from './Filter.vue'
|
||||
import TrackTable from '@/components/audio/track/Table.vue'
|
||||
import RadioButton from '@/components/radios/Button.vue'
|
||||
import TrackTable from '~/components/audio/track/Table.vue'
|
||||
import RadioButton from '~/components/radios/Button.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -109,8 +109,8 @@ import axios from 'axios'
|
|||
import $ from 'jquery'
|
||||
import { clone } from 'lodash-es'
|
||||
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import TrackTable from '@/components/audio/track/Table.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
import TrackTable from '~/components/audio/track/Table.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -202,13 +202,13 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '@/search'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '@/components/mixins/SmartSearch.vue'
|
||||
import time from '~/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '~/search'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '~/components/mixins/SmartSearch.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -187,13 +187,13 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '@/search'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '@/components/mixins/SmartSearch.vue'
|
||||
import time from '~/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '~/search'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '~/components/mixins/SmartSearch.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -186,13 +186,13 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '@/search'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '@/components/mixins/SmartSearch.vue'
|
||||
import time from '~/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '~/search'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '~/components/mixins/SmartSearch.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -132,15 +132,15 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { uniq, merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import EditCard from '@/components/library/EditCard.vue'
|
||||
import { normalizeQuery, parseTokens } from '@/search'
|
||||
import SmartSearchMixin from '@/components/mixins/SmartSearch.vue'
|
||||
import time from '~/utils/time'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import EditCard from '~/components/library/EditCard.vue'
|
||||
import { normalizeQuery, parseTokens } from '~/search'
|
||||
import SmartSearchMixin from '~/components/mixins/SmartSearch.vue'
|
||||
|
||||
import edits from '@/edits'
|
||||
import edits from '~/edits'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -217,13 +217,13 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '@/search'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '@/components/mixins/SmartSearch.vue'
|
||||
import time from '~/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '~/search'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '~/components/mixins/SmartSearch.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -148,14 +148,14 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '@/search'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '@/components/mixins/SmartSearch.vue'
|
||||
import ImportStatusModal from '@/components/library/ImportStatusModal.vue'
|
||||
import time from '~/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '~/search'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '~/components/mixins/SmartSearch.vue'
|
||||
import ImportStatusModal from '~/components/library/ImportStatusModal.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -200,13 +200,13 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '@/search'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '@/components/mixins/SmartSearch.vue'
|
||||
import time from '~/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '~/search'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '~/components/mixins/SmartSearch.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -309,14 +309,14 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '@/search'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '@/components/mixins/SmartSearch.vue'
|
||||
import ImportStatusModal from '@/components/library/ImportStatusModal.vue'
|
||||
import time from '~/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '~/search'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '~/components/mixins/SmartSearch.vue'
|
||||
import ImportStatusModal from '~/components/library/ImportStatusModal.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -173,13 +173,13 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '@/search'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '@/components/mixins/SmartSearch.vue'
|
||||
import time from '~/utils/time'
|
||||
import { normalizeQuery, parseTokens } from '~/search'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
import SmartSearchMixin from '~/components/mixins/SmartSearch.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -184,11 +184,11 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import time from '~/utils/time'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -66,9 +66,9 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import InstancePolicyForm from '@/components/manage/moderation/InstancePolicyForm.vue'
|
||||
import InstancePolicyCard from '@/components/manage/moderation/InstancePolicyCard.vue'
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import InstancePolicyForm from '~/components/manage/moderation/InstancePolicyForm.vue'
|
||||
import InstancePolicyCard from '~/components/manage/moderation/InstancePolicyCard.vue'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -390,12 +390,12 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import NoteForm from '@/components/manage/moderation/NoteForm.vue'
|
||||
import NotesThread from '@/components/manage/moderation/NotesThread.vue'
|
||||
import ReportCategoryDropdown from '@/components/moderation/ReportCategoryDropdown.vue'
|
||||
import InstancePolicyModal from '@/components/manage/moderation/InstancePolicyModal.vue'
|
||||
import entities from '@/entities'
|
||||
import { setUpdate } from '@/utils'
|
||||
import NoteForm from '~/components/manage/moderation/NoteForm.vue'
|
||||
import NotesThread from '~/components/manage/moderation/NotesThread.vue'
|
||||
import ReportCategoryDropdown from '~/components/moderation/ReportCategoryDropdown.vue'
|
||||
import InstancePolicyModal from '~/components/manage/moderation/InstancePolicyModal.vue'
|
||||
import entities from '~/entities'
|
||||
import { setUpdate } from '~/utils'
|
||||
import showdown from 'showdown'
|
||||
|
||||
function castValue (value) {
|
||||
|
|
|
@ -225,8 +225,8 @@
|
|||
|
||||
<script>
|
||||
import axios from 'axios'
|
||||
import NoteForm from '@/components/manage/moderation/NoteForm.vue'
|
||||
import NotesThread from '@/components/manage/moderation/NotesThread.vue'
|
||||
import NoteForm from '~/components/manage/moderation/NoteForm.vue'
|
||||
import NotesThread from '~/components/manage/moderation/NotesThread.vue'
|
||||
import showdown from 'showdown'
|
||||
|
||||
export default {
|
||||
|
|
|
@ -159,10 +159,10 @@
|
|||
import axios from 'axios'
|
||||
import moment from 'moment'
|
||||
import { merge } from 'lodash-es'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -201,11 +201,11 @@
|
|||
<script>
|
||||
import axios from 'axios'
|
||||
import { merge } from 'lodash-es'
|
||||
import time from '@/utils/time'
|
||||
import Pagination from '@/components/Pagination.vue'
|
||||
import ActionTable from '@/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '@/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '@/components/mixins/Translations.vue'
|
||||
import time from '~/utils/time'
|
||||
import Pagination from '~/components/Pagination.vue'
|
||||
import ActionTable from '~/components/common/ActionTable.vue'
|
||||
import OrderingMixin from '~/components/mixins/Ordering.vue'
|
||||
import TranslationsMixin from '~/components/mixins/Translations.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
|
||||
import { normalizeQuery, parseTokens, compileTokens } from '@/search'
|
||||
import { normalizeQuery, parseTokens, compileTokens } from '~/search'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
|
|
|
@ -92,8 +92,8 @@
|
|||
import axios from 'axios'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
import logger from '@/logging'
|
||||
import Modal from '@/components/semantic/Modal.vue'
|
||||
import logger from '~/logging'
|
||||
import Modal from '~/components/semantic/Modal.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue