@saooti/octopus-sdk 36.0.48 → 36.0.50
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/package.json +1 -1
- package/src/components/display/sharing/SharePlayer.vue +3 -1
- package/src/components/display/sharing/SharePlayerTypes.vue +1 -0
- package/src/components/misc/Accordion.vue +46 -51
- 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/package.json
CHANGED
|
@@ -204,8 +204,10 @@ export default defineComponent({
|
|
|
204
204
|
iFrameHeight(): string {
|
|
205
205
|
switch (this.iFrameModel) {
|
|
206
206
|
case 'large':
|
|
207
|
-
if (this.podcast) return '
|
|
207
|
+
if (this.podcast) return '140px';
|
|
208
208
|
return '350px';
|
|
209
|
+
case 'largeMore':
|
|
210
|
+
return '210px';
|
|
209
211
|
case 'emissionLarge':
|
|
210
212
|
case 'largeSuggestion':
|
|
211
213
|
return '350px';
|
|
@@ -59,6 +59,7 @@ export default defineComponent({
|
|
|
59
59
|
return [
|
|
60
60
|
{name: this.$t('Default version'), value: 'default', condition: true},
|
|
61
61
|
{name: this.$t('Large version'), value: 'large', condition: true},
|
|
62
|
+
{name: this.$t('Full Large version'), value: 'largeMore', condition: this.podcast && this.podcast.podcastId},
|
|
62
63
|
{name: this.$t('Emission version'), value: 'emission', condition: this.podcast && this.podcast.podcastId},
|
|
63
64
|
{name: this.$t('Large emission version'), value: 'emissionLarge', condition: this.podcast && this.podcast.podcastId},
|
|
64
65
|
{name: this.$t('Large suggestion version'), value: 'largeSuggestion', condition: this.podcast && this.podcast.podcastId}
|
|
@@ -1,65 +1,60 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@click="isOpen=!isOpen"
|
|
10
|
-
>
|
|
11
|
-
<span
|
|
12
|
-
v-if="icon"
|
|
13
|
-
class="img-accordion text-primary"
|
|
14
|
-
:class="icon"
|
|
15
|
-
/>
|
|
16
|
-
<img
|
|
17
|
-
v-if="imageUrl"
|
|
18
|
-
width="30"
|
|
19
|
-
height="30"
|
|
20
|
-
class="img-accordion"
|
|
21
|
-
:src="imageUrl"
|
|
22
|
-
:alt="title"
|
|
2
|
+
<div class="my-2" :class="displayAccordion ? 'octopus-accordion' : ''">
|
|
3
|
+
<template v-if="displayAccordion">
|
|
4
|
+
<button
|
|
5
|
+
:id="'accordion-' + idComposer"
|
|
6
|
+
class="btn-transparent bg-white w-100 p-2 text-start d-flex align-items-center"
|
|
7
|
+
:class="isOpen ? 'really-light-primary-bg' : ''"
|
|
8
|
+
@click="isOpen = !isOpen"
|
|
23
9
|
>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
10
|
+
<span v-if="icon" class="img-accordion text-primary" :class="icon" />
|
|
11
|
+
<img
|
|
12
|
+
v-if="imageUrl"
|
|
13
|
+
width="30"
|
|
14
|
+
height="30"
|
|
15
|
+
class="img-accordion"
|
|
16
|
+
:src="imageUrl"
|
|
17
|
+
:alt="title"
|
|
18
|
+
/>
|
|
19
|
+
<span class="flex-grow-1">{{ title }}</span>
|
|
20
|
+
<span :class="isOpen ? 'saooti-up' : 'saooti-down'" />
|
|
21
|
+
</button>
|
|
22
|
+
<div v-show="isOpen" class="body p-2">
|
|
23
|
+
<slot />
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
<slot v-else />
|
|
33
27
|
</div>
|
|
34
28
|
</template>
|
|
35
29
|
|
|
36
30
|
<script lang="ts">
|
|
37
|
-
import { defineComponent } from
|
|
31
|
+
import { defineComponent } from "vue";
|
|
38
32
|
export default defineComponent({
|
|
39
|
-
name: "
|
|
40
|
-
|
|
41
|
-
title: { default:
|
|
42
|
-
idComposer: { default:
|
|
43
|
-
icon:{default: undefined, type: String },
|
|
44
|
-
imageUrl:{default: undefined, type: String },
|
|
33
|
+
name: "ClassicAccordion",
|
|
34
|
+
props: {
|
|
35
|
+
title: { default: "", type: String },
|
|
36
|
+
idComposer: { default: "", type: String },
|
|
37
|
+
icon: { default: undefined, type: String },
|
|
38
|
+
imageUrl: { default: undefined, type: String },
|
|
39
|
+
displayAccordion: { default: true, type: Boolean },
|
|
45
40
|
},
|
|
46
|
-
|
|
47
|
-
data
|
|
41
|
+
emits: ["open"],
|
|
42
|
+
data() {
|
|
48
43
|
return {
|
|
49
|
-
|
|
50
|
-
}
|
|
44
|
+
isOpen: false as boolean,
|
|
45
|
+
};
|
|
46
|
+
},
|
|
47
|
+
watch: {
|
|
48
|
+
isOpen() {
|
|
49
|
+
this.$emit("open");
|
|
50
|
+
},
|
|
51
51
|
},
|
|
52
|
-
watch:{
|
|
53
|
-
isOpen(){
|
|
54
|
-
this.$emit('open');
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
52
|
});
|
|
58
53
|
</script>
|
|
59
54
|
<style lang="scss">
|
|
60
|
-
.octopus-accordion{
|
|
61
|
-
|
|
62
|
-
>button{
|
|
55
|
+
.octopus-accordion {
|
|
56
|
+
border: 1px solid #ccc;
|
|
57
|
+
> button {
|
|
63
58
|
height: 50px;
|
|
64
59
|
}
|
|
65
60
|
.img-accordion {
|
|
@@ -71,8 +66,8 @@ export default defineComponent({
|
|
|
71
66
|
justify-content: center;
|
|
72
67
|
align-items: center;
|
|
73
68
|
}
|
|
74
|
-
.body{
|
|
69
|
+
.body {
|
|
75
70
|
border-top: 1px solid #ccc;
|
|
76
71
|
}
|
|
77
72
|
}
|
|
78
|
-
</style>
|
|
73
|
+
</style>
|
package/src/locale/de.ts
CHANGED
|
@@ -327,4 +327,5 @@ export default{
|
|
|
327
327
|
'Canal name image': 'Kanalbild {name}',
|
|
328
328
|
"Show animated wave":"Animierte Welle anzeigen",
|
|
329
329
|
'Characters number calculated over HTML code':"Die Zeichenzahl wird mit dem HTML-Code ermittelt, der mit diesem Editor erstellt wurde. Über den HTML-Button können Sie diesen Code einsehen.",
|
|
330
|
+
'Full Large version': 'Vollständige große Version',
|
|
330
331
|
}
|
package/src/locale/en.ts
CHANGED
|
@@ -334,4 +334,5 @@ export default{
|
|
|
334
334
|
'Canal name image': 'Channel image {name}',
|
|
335
335
|
"Show animated wave":"Show animated wave",
|
|
336
336
|
'Characters number calculated over HTML code':'The number of characters is calculated from the HTML code generated by this editor. You can see this code using the "html" button.',
|
|
337
|
+
'Full Large version': 'Full large version',
|
|
337
338
|
};
|
package/src/locale/es.ts
CHANGED
|
@@ -327,4 +327,5 @@ export default{
|
|
|
327
327
|
'Canal name image': 'Imagen del canal {name}',
|
|
328
328
|
"Show animated wave":"Mostrar onda animada",
|
|
329
329
|
'Characters number calculated over HTML code':'El número de caracteres se calcula a partir del código HTML generado por este editor. Puedes visualizar este código pulsando en «html».',
|
|
330
|
+
'Full Large version': 'Versión grande completa',
|
|
330
331
|
}
|
package/src/locale/fr.ts
CHANGED
|
@@ -334,4 +334,5 @@ export default{
|
|
|
334
334
|
'Canal name image': 'Image du canal {name}',
|
|
335
335
|
"Show animated wave":"Afficher la vague animée",
|
|
336
336
|
'Characters number calculated over HTML code':'Le nombre de caractères est calculé à partir du code HTML généré par cet éditeur. Vous pouvez voir ce code grâce au bouton "html".',
|
|
337
|
+
'Full Large version': 'Version en longueur complète',
|
|
337
338
|
};
|
package/src/locale/it.ts
CHANGED
|
@@ -324,4 +324,5 @@ export default{
|
|
|
324
324
|
'Canal name image': 'Immagine del canale {name}',
|
|
325
325
|
"Show animated wave":"Mostra onda animata",
|
|
326
326
|
'Characters number calculated over HTML code':'Il numero di caratteri è calcolato dal codice HTML generato da questo editor. È possibile visualizzare il codice cliccando su "html".',
|
|
327
|
+
'Full Large version': 'Versione completa di grandi dimensioni',
|
|
327
328
|
};
|
package/src/locale/sl.ts
CHANGED
|
@@ -327,4 +327,5 @@ export default{
|
|
|
327
327
|
'Canal name image': 'Slika kanala {name}',
|
|
328
328
|
"Show animated wave":"Prikaži animirani val",
|
|
329
329
|
'Characters number calculated over HTML code':'Število znakov se izračuna iz kode HTML, ki jo ustvari ta urejevalnik. Ogledate si jo lahko s klikom na gumb „html“.',
|
|
330
|
+
'Full Large version': 'Popolna velika različica',
|
|
330
331
|
}
|