refactor: optimized imports
This commit is contained in:
parent
c144f3b280
commit
59e6b20c61
|
@ -1,13 +1,12 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<svg
|
<svg
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
id="flag-icon-css-ar"
|
||||||
id="flag-icon-css-ar"
|
viewBox="0 0 640 480"
|
||||||
viewBox="0 0 640 480"
|
version="1.1">
|
||||||
version="1.1">
|
|
||||||
<metadata
|
<metadata
|
||||||
id="metadata1678">
|
id="metadata1678">
|
||||||
<rdf:RDF>
|
<rdf:RDF>
|
||||||
|
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg8" version="1.1" viewBox="0 0 26.458333 26.458334" height="100" width="100">
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg8" version="1.1"
|
||||||
|
viewBox="0 0 26.458333 26.458334" height="100" width="100">
|
||||||
<defs id="defs2">
|
<defs id="defs2">
|
||||||
<linearGradient id="linearGradient3062">
|
<linearGradient id="linearGradient3062">
|
||||||
<stop id="stop3058" offset="0" style="stop-color:#007aff;stop-opacity:1"/>
|
<stop id="stop3058" offset="0" style="stop-color:#007aff;stop-opacity:1"/>
|
||||||
|
@ -208,7 +209,7 @@
|
||||||
</filter>
|
</filter>
|
||||||
</defs>
|
</defs>
|
||||||
<metadata id="metadata5">
|
<metadata id="metadata5">
|
||||||
|
|
||||||
</metadata>
|
</metadata>
|
||||||
<g style="display:inline" id="layer2">
|
<g style="display:inline" id="layer2">
|
||||||
<circle r="10.583333" cy="13.229166" cx="13.229166" id="path2775" style="opacity:1;fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
<circle r="10.583333" cy="13.229166" cx="13.229166" id="path2775" style="opacity:1;fill:#000000;fill-opacity:1;stroke-width:0.881856;stroke-linecap:round;stroke-linejoin:round"/>
|
||||||
|
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve">
|
viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve">
|
||||||
<path style="fill:#03A9F4;" d="M425.457,117.739c-3.121-1.838-6.961-1.966-10.197-0.341c-3.231,1.629-5.416,4.786-5.803,8.384
|
<path style="fill:#03A9F4;" d="M425.457,117.739c-3.121-1.838-6.961-1.966-10.197-0.341c-3.231,1.629-5.416,4.786-5.803,8.384
|
||||||
c-0.384,3.499-0.981,6.997-1.728,10.667c-20.885,94.784-62.827,140.885-128.256,140.885h-96c-5.062,0.009-9.42,3.574-10.432,8.533
|
c-0.384,3.499-0.981,6.997-1.728,10.667c-20.885,94.784-62.827,140.885-128.256,140.885h-96c-5.062,0.009-9.42,3.574-10.432,8.533
|
||||||
l-32,149.995l-5.717,38.187c-3.287,17.365,8.125,34.107,25.489,37.394c1.915,0.362,3.858,0.549,5.807,0.558h64.213
|
l-32,149.995l-5.717,38.187c-3.287,17.365,8.125,34.107,25.489,37.394c1.915,0.362,3.858,0.549,5.807,0.558h64.213
|
||||||
|
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -101,7 +101,6 @@ input[type='search']::-webkit-search-cancel-button {
|
||||||
import { defineComponent, ref } from '@vue/composition-api'
|
import { defineComponent, ref } from '@vue/composition-api'
|
||||||
import { isValidURL } from '@/utils/utils'
|
import { isValidURL } from '@/utils/utils'
|
||||||
import { sendAddToQueue } from '@/utils/downloads'
|
import { sendAddToQueue } from '@/utils/downloads'
|
||||||
import { socket } from '@/utils/socket'
|
|
||||||
import { fetchData } from '@/utils/api'
|
import { fetchData } from '@/utils/api'
|
||||||
import EventBus from '@/utils/EventBus'
|
import EventBus from '@/utils/EventBus'
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { defineComponent, ref, unref, reactive, computed, onMounted, toRefs, watch } from '@vue/composition-api'
|
import { defineComponent, ref, unref, reactive, computed, toRefs } from '@vue/composition-api'
|
||||||
import { orderBy } from 'lodash-es'
|
import { orderBy } from 'lodash-es'
|
||||||
|
|
||||||
import { BaseTabs, BaseTab } from '@components/globals/BaseTabs'
|
import { BaseTabs, BaseTab } from '@components/globals/BaseTabs'
|
||||||
|
|
|
@ -91,7 +91,6 @@ import { getChartsData, getChartTracks } from '@/data/charts'
|
||||||
|
|
||||||
import PreviewControls from '@components/globals/PreviewControls.vue'
|
import PreviewControls from '@components/globals/PreviewControls.vue'
|
||||||
import { playPausePreview } from '@components/globals/TheTrackPreview.vue'
|
import { playPausePreview } from '@components/globals/TheTrackPreview.vue'
|
||||||
import { fetchData } from '@/utils/api'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
@ -43,8 +43,6 @@ import ResultsArtists from '@components/search/ResultsArtists.vue'
|
||||||
import ResultsPlaylists from '@components/search/ResultsPlaylists.vue'
|
import ResultsPlaylists from '@components/search/ResultsPlaylists.vue'
|
||||||
import ResultsTracks from '@components/search/ResultsTracks.vue'
|
import ResultsTracks from '@components/search/ResultsTracks.vue'
|
||||||
import { BaseTabs, BaseTab } from '@components/globals/BaseTabs'
|
import { BaseTabs, BaseTab } from '@components/globals/BaseTabs'
|
||||||
|
|
||||||
import { socket } from '@/utils/socket'
|
|
||||||
import { sendAddToQueue } from '@/utils/downloads'
|
import { sendAddToQueue } from '@/utils/downloads'
|
||||||
import { numberWithDots, convertDuration } from '@/utils/utils'
|
import { numberWithDots, convertDuration } from '@/utils/utils'
|
||||||
|
|
||||||
|
@ -52,7 +50,6 @@ import { formatSingleTrack, formatAlbums, formatArtist, formatPlaylist } from '@
|
||||||
import { standardizeData } from '@/data/standardize'
|
import { standardizeData } from '@/data/standardize'
|
||||||
import { useMainSearch } from '@/use/main-search'
|
import { useMainSearch } from '@/use/main-search'
|
||||||
import { useSearch } from '@/use/search'
|
import { useSearch } from '@/use/search'
|
||||||
import { useLogs } from '@/use/logs'
|
|
||||||
|
|
||||||
const resetObj = { data: [], next: 0, total: 0, hasLoaded: false }
|
const resetObj = { data: [], next: 0, total: 0, hasLoaded: false }
|
||||||
|
|
||||||
|
|
|
@ -152,7 +152,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { isEmpty } from 'lodash-es'
|
import { isEmpty } from 'lodash-es'
|
||||||
import { socket } from '@/utils/socket'
|
|
||||||
import { sendAddToQueue } from '@/utils/downloads'
|
import { sendAddToQueue } from '@/utils/downloads'
|
||||||
import Utils from '@/utils/utils'
|
import Utils from '@/utils/utils'
|
||||||
import { playPausePreview } from '@components/globals/TheTrackPreview.vue'
|
import { playPausePreview } from '@components/globals/TheTrackPreview.vue'
|
||||||
|
|
|
@ -406,7 +406,7 @@ const fr = {
|
||||||
ARLcopied: 'ARL copié dans le presse-papier'
|
ARLcopied: 'ARL copié dans le presse-papier'
|
||||||
},
|
},
|
||||||
logs: {
|
logs: {
|
||||||
title: "Journaux (Logs)",
|
title: 'Journaux (Logs)',
|
||||||
areLogsActive: 'Actifs'
|
areLogsActive: 'Actifs'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -417,7 +417,7 @@ const fr = {
|
||||||
favorites: 'favoris',
|
favorites: 'favoris',
|
||||||
linkAnalyzer: 'analyseur de lien',
|
linkAnalyzer: 'analyseur de lien',
|
||||||
settings: 'paramètres',
|
settings: 'paramètres',
|
||||||
logs: "journaux (logs)",
|
logs: 'journaux (logs)',
|
||||||
about: 'à propos'
|
about: 'à propos'
|
||||||
},
|
},
|
||||||
tracklist: {
|
tracklist: {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ref, watch } from '@vue/composition-api'
|
import { ref } from '@vue/composition-api'
|
||||||
import { socket } from '@/utils/socket'
|
import { socket } from '@/utils/socket'
|
||||||
|
|
||||||
const messages = ref([])
|
const messages = ref([])
|
||||||
|
|
Loading…
Reference in New Issue