@saooti/octopus-sdk 32.0.32 → 32.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +1 -1
- package/src/components/display/podcasts/PodcastInlineList.vue +6 -1
- package/src/components/display/podcasts/PodcastInlineListClassic.vue +3 -5
- package/src/components/display/podcasts/PodcastItem.vue +1 -0
- package/src/components/display/podcasts/PodcastSwiperList.vue +1 -0
- package/src/components/display/sharing/SharePlayer.vue +2 -1
- package/src/components/display/sharing/SubscribeButtons.vue +13 -13
- package/src/components/misc/LeftMenu.vue +1 -0
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -19,10 +19,11 @@
|
|
|
19
19
|
>
|
|
20
20
|
<template #list-inline>
|
|
21
21
|
<ClassicLoading
|
|
22
|
+
class="loading-size"
|
|
22
23
|
:loading-text="loading?$t('Loading podcasts ...'):undefined"
|
|
23
24
|
/>
|
|
24
25
|
<transition-group
|
|
25
|
-
v-show="
|
|
26
|
+
v-show="!loading"
|
|
26
27
|
:name="transitionName"
|
|
27
28
|
class="element-list-inline"
|
|
28
29
|
tag="ul"
|
|
@@ -84,7 +85,6 @@ export default defineComponent({
|
|
|
84
85
|
data() {
|
|
85
86
|
return {
|
|
86
87
|
loading: true as boolean,
|
|
87
|
-
loaded: true as boolean,
|
|
88
88
|
index: 0 as number,
|
|
89
89
|
first: 0 as number,
|
|
90
90
|
size: 5 as number,
|
|
@@ -167,7 +167,6 @@ export default defineComponent({
|
|
|
167
167
|
query: this.query,
|
|
168
168
|
}, true);
|
|
169
169
|
this.loading = false;
|
|
170
|
-
this.loaded = true;
|
|
171
170
|
this.totalCount = data.count;
|
|
172
171
|
if (this.allPodcasts.length + data.result.length < this.totalCount) {
|
|
173
172
|
const nexEl = data.result.pop() as Podcast;
|
|
@@ -226,7 +225,6 @@ export default defineComponent({
|
|
|
226
225
|
},
|
|
227
226
|
reset(): void {
|
|
228
227
|
this.loading = true;
|
|
229
|
-
this.loaded = true;
|
|
230
228
|
this.index = 0;
|
|
231
229
|
this.first = 0;
|
|
232
230
|
this.totalCount = 0;
|
|
@@ -238,4 +236,4 @@ export default defineComponent({
|
|
|
238
236
|
},
|
|
239
237
|
},
|
|
240
238
|
})
|
|
241
|
-
</script>
|
|
239
|
+
</script>
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
{{ $t('No advertising') }}
|
|
13
13
|
</div>
|
|
14
14
|
<iframe
|
|
15
|
+
id="miniplayerIframe"
|
|
15
16
|
title="miniplayer"
|
|
16
17
|
:src="iFrameSrc"
|
|
17
18
|
scrolling="no"
|
|
@@ -223,7 +224,7 @@ export default defineComponent({
|
|
|
223
224
|
switch (this.iFrameModel) {
|
|
224
225
|
case 'large':
|
|
225
226
|
if (this.podcast) return '180px';
|
|
226
|
-
if ('number' === this.episodeNumbers) {
|
|
227
|
+
if ('number' === this.episodeNumbers && !this.playlist) {
|
|
227
228
|
switch (this.iFrameNumber.toString()) {
|
|
228
229
|
case '1': return '270px';
|
|
229
230
|
case '2': return '320px';
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
]"
|
|
17
17
|
class="btn share-btn mb-2 mx-2"
|
|
18
18
|
:href="sub.url"
|
|
19
|
-
:title="sub.
|
|
19
|
+
:title="sub.title"
|
|
20
20
|
>
|
|
21
21
|
<span :class="sub.icon">
|
|
22
22
|
<div
|
|
23
23
|
v-for="indexPath in getPathNumber(sub.name)"
|
|
24
24
|
:key="indexPath"
|
|
25
|
-
:class="'path'+(indexPath
|
|
25
|
+
:class="'path'+(indexPath)"
|
|
26
26
|
/>
|
|
27
27
|
</span>
|
|
28
28
|
</a>
|
|
@@ -41,17 +41,17 @@ export default defineComponent({
|
|
|
41
41
|
computed:{
|
|
42
42
|
subscriptionsDisplay(){
|
|
43
43
|
const sub = [
|
|
44
|
-
{name : 'amazon', icon : 'saooti-amazon', url : this.getUrl('amazon')},
|
|
45
|
-
{name:'applePodcast', icon:'saooti-apple', url : this.getUrl('applePodcast')},
|
|
46
|
-
{name:'deezer', icon:'saooti-deezer', url : this.getUrl('deezer')},
|
|
47
|
-
{name:'googlePodcasts', icon:"saooti-google-podcasts", url : this.getUrl('googlePodcasts')},
|
|
48
|
-
{name:'playerFm', icon: 'saooti-playerfm', url : this.getUrl('playerFm')},
|
|
49
|
-
{name:'pocketCasts', icon:'saooti-pocket-casts', url : this.getUrl('pocketCasts')},
|
|
50
|
-
{name:'podcastAddict', icon: 'saooti-podcast-addict', url : this.getUrl('podcastAddict')},
|
|
51
|
-
{name:'radioline', icon:'saooti-radioline', url : this.getUrl('radioline')},
|
|
52
|
-
{name:'spotify', icon:'saooti-spotify',
|
|
53
|
-
{name:'stitcher', icon:'saooti-stitcher-logo', url : this.getUrl('stitcher')},
|
|
54
|
-
{name:'tunein', icon:'saooti-tunin', url : this.getUrl('tunein')}
|
|
44
|
+
{name : 'amazon', icon : 'saooti-amazon',title:'Amazon Music | Podcasters', url : this.getUrl('amazon')},
|
|
45
|
+
{name:'applePodcast', icon:'saooti-apple', title:'Apple Podcast | iTunes', url : this.getUrl('applePodcast')},
|
|
46
|
+
{name:'deezer', icon:'saooti-deezer', title:'Deezer', url : this.getUrl('deezer')},
|
|
47
|
+
{name:'googlePodcasts', icon:"saooti-google-podcasts",title:'Google Podcasts', url : this.getUrl('googlePodcasts')},
|
|
48
|
+
{name:'playerFm', icon: 'saooti-playerfm',title:'PlayerFM', url : this.getUrl('playerFm')},
|
|
49
|
+
{name:'pocketCasts', icon:'saooti-pocket-casts', title:'Pocket Casts', url : this.getUrl('pocketCasts')},
|
|
50
|
+
{name:'podcastAddict', icon: 'saooti-podcast-addict', title:'Podcast Addict', url : this.getUrl('podcastAddict')},
|
|
51
|
+
{name:'radioline', icon:'saooti-radioline',title:'Radioline', url : this.getUrl('radioline')},
|
|
52
|
+
{name:'spotify', icon:'saooti-spotify',title:'Spotify', url : this.getUrl('spotify')},
|
|
53
|
+
{name:'stitcher', icon:'saooti-stitcher-logo', title:'Stitcher', url : this.getUrl('stitcher')},
|
|
54
|
+
{name:'tunein', icon:'saooti-tunin',title:'TuneIn', url : this.getUrl('tunein')}
|
|
55
55
|
];
|
|
56
56
|
return sub.filter(item=> item.url);
|
|
57
57
|
}
|