@saooti/octopus-sdk 30.0.46 → 31.0.0
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 +3 -1
- package/package.json +1 -1
- package/src/assets/share.scss +4 -0
- package/src/components/display/sharing/ShareDistribution.vue +21 -0
- package/src/components/display/sharing/SubscribeButtons.vue +23 -0
- package/src/components/pages/Emission.vue +1 -0
- package/src/components/pages/Podcast.vue +1 -0
package/README.md
CHANGED
|
@@ -542,4 +542,6 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
542
542
|
* 30.0.43 Resize rubriqueList
|
|
543
543
|
* 30.0.44 ProgressBar pour le soir
|
|
544
544
|
* 30.0.45 ProgressBar pour le soir
|
|
545
|
-
* 30.0.46 Param pour le soir
|
|
545
|
+
* 30.0.46 Param pour le soir
|
|
546
|
+
|
|
547
|
+
* 31.0.0 Passage en 31
|
package/package.json
CHANGED
package/src/assets/share.scss
CHANGED
|
@@ -39,6 +39,20 @@
|
|
|
39
39
|
>
|
|
40
40
|
<span class="saooti-deezer" />Deezer
|
|
41
41
|
</router-link>
|
|
42
|
+
<router-link
|
|
43
|
+
:to="'/main/priv/distribution/googlePodcasts/' + emissionId"
|
|
44
|
+
class="text-dark"
|
|
45
|
+
>
|
|
46
|
+
<span class="saooti-google-podcasts">
|
|
47
|
+
<div class="path1" />
|
|
48
|
+
<div class="path2" />
|
|
49
|
+
<div class="path3" />
|
|
50
|
+
<div class="path4" />
|
|
51
|
+
<div class="path5" />
|
|
52
|
+
<div class="path6" />
|
|
53
|
+
<div class="path7" />
|
|
54
|
+
</span> Google Podcasts
|
|
55
|
+
</router-link>
|
|
42
56
|
<router-link
|
|
43
57
|
:to="'/main/priv/distribution/PlayerFM/' + emissionId"
|
|
44
58
|
class="text-dark"
|
|
@@ -173,6 +187,13 @@ export default defineComponent({
|
|
|
173
187
|
right: 0;
|
|
174
188
|
}
|
|
175
189
|
}
|
|
190
|
+
.saooti-google-podcasts {
|
|
191
|
+
width: 15px;
|
|
192
|
+
height: 20px;
|
|
193
|
+
div {
|
|
194
|
+
right: 0;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
176
197
|
a {
|
|
177
198
|
display: flex;
|
|
178
199
|
align-items: center;
|
|
@@ -38,6 +38,24 @@
|
|
|
38
38
|
>
|
|
39
39
|
<span class="saooti-deezer" />
|
|
40
40
|
</a>
|
|
41
|
+
<a
|
|
42
|
+
v-if="googlePodcasts"
|
|
43
|
+
rel="noopener"
|
|
44
|
+
target="_blank"
|
|
45
|
+
class="btn me-3 mb-2 share-btn"
|
|
46
|
+
:href="googlePodcasts"
|
|
47
|
+
title="googlePodcasts"
|
|
48
|
+
>
|
|
49
|
+
<span class="saooti-google-podcasts">
|
|
50
|
+
<div class="path1" />
|
|
51
|
+
<div class="path2" />
|
|
52
|
+
<div class="path3" />
|
|
53
|
+
<div class="path4" />
|
|
54
|
+
<div class="path5" />
|
|
55
|
+
<div class="path6" />
|
|
56
|
+
<div class="path7" />
|
|
57
|
+
</span>
|
|
58
|
+
</a>
|
|
41
59
|
<a
|
|
42
60
|
v-if="playerFm"
|
|
43
61
|
rel="noopener"
|
|
@@ -167,6 +185,10 @@ export default defineComponent({
|
|
|
167
185
|
(this.emission && this.emission.annotations
|
|
168
186
|
? this.emission.annotations.amazon
|
|
169
187
|
: undefined) as string | undefined,
|
|
188
|
+
googlePodcasts:
|
|
189
|
+
(this.emission && this.emission.annotations
|
|
190
|
+
? this.emission.annotations.googlePodcasts
|
|
191
|
+
: undefined) as string | undefined,
|
|
170
192
|
};
|
|
171
193
|
},
|
|
172
194
|
|
|
@@ -182,6 +204,7 @@ export default defineComponent({
|
|
|
182
204
|
this.playerFm = this.externaliseLinks(this.playerFm);
|
|
183
205
|
this.stitcher = this.externaliseLinks(this.stitcher);
|
|
184
206
|
this.amazon = this.externaliseLinks(this.amazon);
|
|
207
|
+
this.googlePodcasts = this.externaliseLinks(this.googlePodcasts);
|
|
185
208
|
},
|
|
186
209
|
|
|
187
210
|
methods: {
|
|
@@ -209,6 +209,7 @@ export default defineComponent({
|
|
|
209
209
|
if (undefined !== this.emission.annotations.amazon) count++;
|
|
210
210
|
if (undefined !== this.emission.annotations.applePodcast) count++;
|
|
211
211
|
if (undefined !== this.emission.annotations.deezer) count++;
|
|
212
|
+
if (undefined !== this.emission.annotations.googlePodcasts) count++;
|
|
212
213
|
if (undefined !== this.emission.annotations.spotify) count++;
|
|
213
214
|
if (undefined !== this.emission.annotations.tunein) count++;
|
|
214
215
|
if (undefined !== this.emission.annotations.radioline) count++;
|
|
@@ -217,6 +217,7 @@ export default defineComponent({
|
|
|
217
217
|
let count = 0;
|
|
218
218
|
if (this.podcast && this.podcast.emission && this.podcast.emission.annotations) {
|
|
219
219
|
if (undefined !== this.podcast.emission.annotations.amazon) count++;
|
|
220
|
+
if (undefined !== this.podcast.emission.annotations.googlePodcasts) count++;
|
|
220
221
|
if (undefined !== this.podcast.emission.annotations.applePodcast)
|
|
221
222
|
count++;
|
|
222
223
|
if (undefined !== this.podcast.emission.annotations.deezer) count++;
|