@saooti/octopus-sdk 31.0.42 → 31.0.43
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 +2 -2
- package/src/components/display/sharing/ShareButtonsIntern.vue +20 -2
- package/src/components/misc/HomeDropdown.vue +5 -2
- package/src/components/pages/Participant.vue +1 -0
- package/src/locale/de.ts +1 -0
- package/src/locale/en.ts +1 -0
- package/src/locale/es.ts +1 -0
- package/src/locale/fr.ts +1 -0
- package/src/locale/it.ts +1 -0
- package/src/locale/sl.ts +1 -0
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saooti/octopus-sdk",
|
|
3
|
-
"version": "31.0.
|
|
3
|
+
"version": "31.0.43",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Javascript SDK for using octopus",
|
|
6
6
|
"author": "Saooti",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"main": "./dist/octopus.common.js",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@saooti/octopus-api": "^0.31.
|
|
17
|
+
"@saooti/octopus-api": "^0.31.5",
|
|
18
18
|
"@vue/cli": "^5.0.4",
|
|
19
19
|
"@vue/compat": "^3.2.31",
|
|
20
20
|
"axios": "^0.24.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
</a>
|
|
33
33
|
</template>
|
|
34
34
|
<a
|
|
35
|
-
v-if="''!==rssUrl"
|
|
35
|
+
v-if="''!==rssUrl && displayRss"
|
|
36
36
|
rel="noopener"
|
|
37
37
|
target="_blank"
|
|
38
38
|
:class="getClass()"
|
|
39
39
|
:href="rssUrl"
|
|
40
|
-
:title="
|
|
40
|
+
:title="titleRssButton"
|
|
41
41
|
@click.prevent="openPopup()"
|
|
42
42
|
>
|
|
43
43
|
<div class="saooti-rss-bounty" />
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
</template>
|
|
97
97
|
|
|
98
98
|
<script lang="ts">
|
|
99
|
+
import octopusApi from '@saooti/octopus-api';
|
|
99
100
|
import { Emission } from '@/store/class/general/emission';
|
|
100
101
|
import { Podcast } from '@/store/class/general/podcast';
|
|
101
102
|
import { state } from '../../../store/paramStore';
|
|
@@ -129,9 +130,19 @@ export default defineComponent({
|
|
|
129
130
|
dataRSSSave: false as boolean,
|
|
130
131
|
newsletter: false as boolean,
|
|
131
132
|
qrCode: false as boolean,
|
|
133
|
+
displayRss: false as boolean,
|
|
132
134
|
};
|
|
133
135
|
},
|
|
134
136
|
computed: {
|
|
137
|
+
titleRssButton(): string{
|
|
138
|
+
if(this.participantId){
|
|
139
|
+
return this.$t('Subscribe to this participant');
|
|
140
|
+
}
|
|
141
|
+
if(this.emission){
|
|
142
|
+
return this.$t('Subscribe to this emission');
|
|
143
|
+
}
|
|
144
|
+
return this.$t('Subscribe to this RSS feed');
|
|
145
|
+
},
|
|
135
146
|
arrayShareButtons(){
|
|
136
147
|
return [
|
|
137
148
|
{ title: 'Facebook', icon:'saooti-facebook-bounty', nbPath:0, className:'btn-facebook', url :`https://www.facebook.com/sharer/sharer.php?u=${this.urlPage}`, condition: true},
|
|
@@ -174,6 +185,13 @@ export default defineComponent({
|
|
|
174
185
|
return '';
|
|
175
186
|
},
|
|
176
187
|
},
|
|
188
|
+
async created(){
|
|
189
|
+
if(this.organisationId){
|
|
190
|
+
this.displayRss = await octopusApi.fetchDataPublic<boolean>(`rss/participants/allowed/${this.organisationId}`);
|
|
191
|
+
}else{
|
|
192
|
+
this.displayRss = true;
|
|
193
|
+
}
|
|
194
|
+
},
|
|
177
195
|
|
|
178
196
|
methods: {
|
|
179
197
|
getClass(className='btn-rss'): string{
|
|
@@ -49,9 +49,12 @@
|
|
|
49
49
|
</template>
|
|
50
50
|
<template v-if="!isEducation">
|
|
51
51
|
<hr class="dropdown-divider">
|
|
52
|
-
<template
|
|
52
|
+
<template
|
|
53
|
+
v-for="helpLink in helpLinks"
|
|
54
|
+
:key="helpLink.title"
|
|
55
|
+
>
|
|
53
56
|
<a
|
|
54
|
-
|
|
57
|
+
:href="helpLink.href"
|
|
55
58
|
class="dropdown-item"
|
|
56
59
|
rel="noopener"
|
|
57
60
|
target="_blank"
|
package/src/locale/de.ts
CHANGED
|
@@ -115,6 +115,7 @@ export default{
|
|
|
115
115
|
Downloading: "Wird heruntergeladen",
|
|
116
116
|
'Subscribe to this emission': "Diese Reihe abonnieren",
|
|
117
117
|
'Subscribe to this participant': "Diese Sprecher abonnieren",
|
|
118
|
+
'Subscribe to this RSS feed': "Abonnieren Sie diesen RSS-Feed",
|
|
118
119
|
'Emission have not podcasts': "In dieser Reihe gibt es keine Podcasts.",
|
|
119
120
|
'Participant have not podcasts':
|
|
120
121
|
"Dieser Sprecher ist keinem Podcast zugeordnet.",
|
package/src/locale/en.ts
CHANGED
|
@@ -115,6 +115,7 @@ export default{
|
|
|
115
115
|
Downloading: 'Downloading',
|
|
116
116
|
'Subscribe to this emission': "Subscribe to this series",
|
|
117
117
|
'Subscribe to this participant': "Subscribe to this speakers",
|
|
118
|
+
'Subscribe to this RSS feed': "Subscribe to this RSS feed",
|
|
118
119
|
'Emission have not podcasts': "This series does not have any podcasts",
|
|
119
120
|
'Participant have not podcasts':
|
|
120
121
|
'Speaker is not associated to any podcasts',
|
package/src/locale/es.ts
CHANGED
|
@@ -115,6 +115,7 @@ export default{
|
|
|
115
115
|
Downloading: 'Descargando',
|
|
116
116
|
'Subscribe to this emission': "Subscríbete a este programa",
|
|
117
117
|
'Subscribe to this participant': "Subscríbete a estos participantes",
|
|
118
|
+
'Subscribe to this RSS feed': "Suscríbete a esta fuente RSS",
|
|
118
119
|
'Emission have not podcasts': "No hay pódcast para este programa",
|
|
119
120
|
'Participant have not podcasts':
|
|
120
121
|
'No hay pódcast para este participante',
|
package/src/locale/fr.ts
CHANGED
|
@@ -115,6 +115,7 @@ export default{
|
|
|
115
115
|
Downloading: 'Téléchargement',
|
|
116
116
|
'Subscribe to this emission': "S'abonner à cette émission",
|
|
117
117
|
'Subscribe to this participant': "S'abonner à cet intervenant",
|
|
118
|
+
'Subscribe to this RSS feed': "S'abonner à ce flux RSS",
|
|
118
119
|
'Emission have not podcasts': "Cette émission n'a pas d'épisodes",
|
|
119
120
|
'Participant have not podcasts':
|
|
120
121
|
'Cet intervenant ne participe à aucun épisode',
|
package/src/locale/it.ts
CHANGED
|
@@ -113,6 +113,7 @@ export default{
|
|
|
113
113
|
Downloading: 'In download',
|
|
114
114
|
'Subscribe to this emission': "Iscriviti a questa serie",
|
|
115
115
|
'Subscribe to this participant': "Iscriviti a questo speaker",
|
|
116
|
+
'Subscribe to this RSS feed': "Iscriviti a questo feed RSS",
|
|
116
117
|
'Emission have not podcasts': "Questa serie non ha alcun podcast",
|
|
117
118
|
'Participant have not podcasts':
|
|
118
119
|
'Questo speaker non è associato ad alcun podcast',
|
package/src/locale/sl.ts
CHANGED
|
@@ -115,6 +115,7 @@ export default{
|
|
|
115
115
|
Downloading: 'Prenos',
|
|
116
116
|
'Subscribe to this emission': "Naroči se na to oddajo",
|
|
117
117
|
'Subscribe to this participant': "Naroči se na te napovedovalce",
|
|
118
|
+
'Subscribe to this RSS feed': "Naroči se na ta vir RSS",
|
|
118
119
|
'Emission have not podcasts': "Ta oddaja nima podkastov",
|
|
119
120
|
'Participant have not podcasts':
|
|
120
121
|
'Napovedovalec ni povezan z nobenim podkastom',
|