@saooti/octopus-sdk 38.0.25 → 38.0.26
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/podcasts/PodcastModuleBox.vue +0 -8
- package/src/components/display/rubriques/RubriqueChooser.vue +2 -1
- package/src/components/display/sharing/ShareButtons.vue +1 -1
- package/src/components/display/sharing/SharePlayerColors.vue +0 -2
- package/src/components/form/ClassicSelect.vue +0 -19
- package/src/components/misc/ClassicAccordion.vue +7 -19
- package/src/components/misc/ClassicNav.vue +2 -6
- package/src/components/misc/ClassicPopover.vue +2 -12
- package/src/components/misc/HomeDropdown.vue +2 -13
- package/src/components/misc/modal/NewsletterModal.vue +0 -1
- package/src/locale/de.ts +0 -1
- package/src/locale/en.ts +0 -1
- package/src/locale/es.ts +0 -1
- package/src/locale/fr.ts +1 -2
- package/src/locale/it.ts +0 -1
- package/src/locale/sl.ts +0 -1
- package/public/img/wave.svg +0 -5
package/package.json
CHANGED
|
@@ -77,11 +77,6 @@
|
|
|
77
77
|
<div v-if="'' !== audioCredit" class="mb-1">
|
|
78
78
|
{{ $t("Audio credits") + " : " + audioCredit }}
|
|
79
79
|
</div>
|
|
80
|
-
<div v-if="'' !== authorCredit" class="mb-1">
|
|
81
|
-
{{ $t("Author credits") + " : " + authorCredit }}
|
|
82
|
-
</div>
|
|
83
|
-
|
|
84
|
-
|
|
85
80
|
<a
|
|
86
81
|
v-if="podcast.article"
|
|
87
82
|
class="btn d-flex align-items-center my-2 width-fit-content mb-1"
|
|
@@ -272,9 +267,6 @@ export default defineComponent({
|
|
|
272
267
|
audioCredit(): string {
|
|
273
268
|
return (this.podcast?.annotations?.audioCredit as string) ?? "";
|
|
274
269
|
},
|
|
275
|
-
authorCredit(): string {
|
|
276
|
-
return (this.podcast?.annotations?.authorCredit as string) ?? "";
|
|
277
|
-
},
|
|
278
270
|
isEditBox(): boolean {
|
|
279
271
|
return (state.podcastPage.EditBox as boolean) ?? false;
|
|
280
272
|
},
|
|
@@ -135,7 +135,8 @@ export default defineComponent({
|
|
|
135
135
|
"update:rubriqueSelected",
|
|
136
136
|
(rubrique as Rubrique).rubriqueId,
|
|
137
137
|
);
|
|
138
|
-
}
|
|
138
|
+
}
|
|
139
|
+
if (undefined !== this.rubriqueSelectedArray) {
|
|
139
140
|
const idsArray: Array<number> = [];
|
|
140
141
|
(rubrique as Array<Rubrique>).forEach((el: Rubrique) => {
|
|
141
142
|
idsArray.push(el.rubriqueId ?? 0);
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
role="button"
|
|
11
11
|
tabindex="0"
|
|
12
12
|
class="saooti-help ms-2"
|
|
13
|
-
:aria-label="$t('Help')"
|
|
14
13
|
/>
|
|
15
14
|
<ClassicPopover
|
|
16
15
|
v-if="authenticated"
|
|
17
16
|
target="popover-share-help"
|
|
17
|
+
:title="$t('Help')"
|
|
18
18
|
:content="$t('Share this page without edit and share blocks')"
|
|
19
19
|
relative-class="page-element"
|
|
20
20
|
:is-fixed="true"
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
:model-value="color"
|
|
9
9
|
class="c-hand"
|
|
10
10
|
show-fallback
|
|
11
|
-
fallback-input-type="color"
|
|
12
11
|
colors="text-advanced"
|
|
13
12
|
popover-to="right"
|
|
14
13
|
:data-color="color"
|
|
@@ -23,7 +22,6 @@
|
|
|
23
22
|
:model-value="theme"
|
|
24
23
|
class="c-hand"
|
|
25
24
|
show-fallback
|
|
26
|
-
fallback-input-type="color"
|
|
27
25
|
colors="text-advanced"
|
|
28
26
|
popover-to="right"
|
|
29
27
|
:data-color="theme"
|
|
@@ -61,32 +61,13 @@ export default defineComponent({
|
|
|
61
61
|
});
|
|
62
62
|
</script>
|
|
63
63
|
<style lang="scss">
|
|
64
|
-
@import "@scss/_variables.scss";
|
|
65
64
|
.octopus-app {
|
|
66
|
-
select option:checked,
|
|
67
|
-
select option:hover {
|
|
68
|
-
box-shadow: 0 0 10px 100px #dddddd inset;
|
|
69
|
-
}
|
|
70
|
-
select:focus > option:checked {
|
|
71
|
-
background: #dddddd !important;
|
|
72
|
-
}
|
|
73
|
-
.classic-select select{
|
|
74
|
-
-webkit-appearance: none;
|
|
75
|
-
-moz-appearance: none;
|
|
76
|
-
background-image: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"10\" role=\"presentation\"><path fill=\"%233c3c3c80\" d=\"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z\"></path></svg>") !important;
|
|
77
|
-
background-repeat: no-repeat !important;
|
|
78
|
-
background-position-x: calc(100% - 6px) !important;
|
|
79
|
-
background-position-y: 0.7rem !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
65
|
select.transparent {
|
|
83
66
|
background: transparent !important;
|
|
84
67
|
outline-color: transparent !important;
|
|
85
68
|
padding: 0;
|
|
86
69
|
border: 0;
|
|
87
70
|
height: unset;
|
|
88
|
-
-webkit-appearance: auto !important;
|
|
89
|
-
-moz-appearance: auto !important;
|
|
90
71
|
}
|
|
91
72
|
}
|
|
92
73
|
</style>
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="my-2" :class="
|
|
2
|
+
<div class="my-2" :class="displayAccordion ? 'octopus-accordion' : ''">
|
|
3
3
|
<template v-if="displayAccordion">
|
|
4
4
|
<button
|
|
5
5
|
:id="'accordion-' + idComposer"
|
|
6
|
-
class="w-100
|
|
6
|
+
class="btn-transparent bg-white w-100 p-2 text-start d-flex flex-no-wrap align-items-center"
|
|
7
|
+
:class="isOpen ? 'really-light-primary-bg' : ''"
|
|
7
8
|
@click="isOpen = !isOpen"
|
|
8
9
|
>
|
|
9
10
|
<span v-if="icon" class="img-accordion text-primary" :class="icon" />
|
|
@@ -51,23 +52,10 @@ export default defineComponent({
|
|
|
51
52
|
});
|
|
52
53
|
</script>
|
|
53
54
|
<style lang="scss">
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
> button{
|
|
57
|
-
background: white;
|
|
55
|
+
.octopus-accordion {
|
|
56
|
+
border: 1px solid #ccc;
|
|
57
|
+
> button {
|
|
58
58
|
min-height: 50px;
|
|
59
|
-
color: $octopus-primary-color;
|
|
60
|
-
border: 1px solid transparent;
|
|
61
|
-
&:hover{
|
|
62
|
-
border: 1px solid $octopus-primary-color;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
&.octopus-accordion-open{
|
|
66
|
-
border: 1px solid $octopus-primary-color;
|
|
67
|
-
> button{
|
|
68
|
-
background: $octopus-primary-color;
|
|
69
|
-
color: white;
|
|
70
|
-
}
|
|
71
59
|
}
|
|
72
60
|
.img-accordion {
|
|
73
61
|
width: 30px;
|
|
@@ -79,7 +67,7 @@ export default defineComponent({
|
|
|
79
67
|
align-items: center;
|
|
80
68
|
}
|
|
81
69
|
.body {
|
|
82
|
-
border-top: 1px solid
|
|
70
|
+
border-top: 1px solid #ccc;
|
|
83
71
|
}
|
|
84
72
|
}
|
|
85
73
|
</style>
|
|
@@ -85,16 +85,12 @@ export default defineComponent({
|
|
|
85
85
|
background-color 0.15s ease-in-out,
|
|
86
86
|
border-color 0.15s ease-in-out;
|
|
87
87
|
border: 0.1rem solid transparent;
|
|
88
|
-
&:hover
|
|
88
|
+
&:hover,
|
|
89
|
+
&.active {
|
|
89
90
|
border-color: #dee2e6;
|
|
90
91
|
border-bottom-color: $octopus-primary-color;
|
|
91
92
|
color: $octopus-primary-color;
|
|
92
93
|
}
|
|
93
|
-
&.active{
|
|
94
|
-
border-color: $octopus-primary-color;
|
|
95
|
-
background: $octopus-primary-color;
|
|
96
|
-
color:white;
|
|
97
|
-
}
|
|
98
94
|
}
|
|
99
95
|
.octopus-nav.light .octopus-nav-link {
|
|
100
96
|
border-top: 0 !important;
|
|
@@ -8,8 +8,6 @@
|
|
|
8
8
|
:class="onlyClick ? 'octopus-dropdown' : ''"
|
|
9
9
|
:style="positionInlineStyle"
|
|
10
10
|
@blur="clearDataBlur"
|
|
11
|
-
@mouseenter="overPopover=true"
|
|
12
|
-
@mouseleave="overPopover=false;clearData();"
|
|
13
11
|
>
|
|
14
12
|
<div v-if="title" class="bg-secondary p-2">
|
|
15
13
|
{{ title }}
|
|
@@ -42,7 +40,6 @@ export default defineComponent({
|
|
|
42
40
|
posX: 0 as number,
|
|
43
41
|
posY: 0 as number,
|
|
44
42
|
targetElement: null as HTMLElement | null,
|
|
45
|
-
overPopover: false as boolean
|
|
46
43
|
};
|
|
47
44
|
},
|
|
48
45
|
computed: {
|
|
@@ -68,7 +65,7 @@ export default defineComponent({
|
|
|
68
65
|
"mouseenter",
|
|
69
66
|
this.setPopoverData,
|
|
70
67
|
);
|
|
71
|
-
this.targetElement.addEventListener("mouseleave", this.
|
|
68
|
+
this.targetElement.addEventListener("mouseleave", this.clearData);
|
|
72
69
|
}
|
|
73
70
|
this.targetElement.addEventListener("click", this.setPopoverData);
|
|
74
71
|
this.targetElement.addEventListener("blur", this.clearDataBlur);
|
|
@@ -81,7 +78,7 @@ export default defineComponent({
|
|
|
81
78
|
"mouseenter",
|
|
82
79
|
this.setPopoverData,
|
|
83
80
|
);
|
|
84
|
-
this.targetElement.removeEventListener("mouseleave", this.
|
|
81
|
+
this.targetElement.removeEventListener("mouseleave", this.clearData);
|
|
85
82
|
}
|
|
86
83
|
this.targetElement.removeEventListener("click", this.setPopoverData);
|
|
87
84
|
this.targetElement.addEventListener("blur", this.clearDataBlur);
|
|
@@ -177,13 +174,6 @@ export default defineComponent({
|
|
|
177
174
|
this.isClick = false;
|
|
178
175
|
this.clearData();
|
|
179
176
|
},
|
|
180
|
-
clearDataTimeout() {
|
|
181
|
-
setTimeout(() => {
|
|
182
|
-
if(!this.overPopover){
|
|
183
|
-
this.clearData();
|
|
184
|
-
}
|
|
185
|
-
}, 500);
|
|
186
|
-
},
|
|
187
177
|
clearData() {
|
|
188
178
|
if (this.isClick) {
|
|
189
179
|
return;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="d-flex align-items-center">
|
|
3
|
-
<
|
|
3
|
+
<router-link
|
|
4
4
|
v-if="isAuthenticatedWithOrga"
|
|
5
5
|
:title="$t('My space')"
|
|
6
|
-
|
|
6
|
+
to="/main/priv/backoffice"
|
|
7
7
|
class="btn admin-button hide-smallest-screen m-1 saooti-admin-menu"
|
|
8
8
|
/>
|
|
9
9
|
<router-link
|
|
@@ -147,16 +147,5 @@ export default defineComponent({
|
|
|
147
147
|
return state.generalParameters.isContribution ?? false;
|
|
148
148
|
},
|
|
149
149
|
},
|
|
150
|
-
methods:{
|
|
151
|
-
goToAdministration(){
|
|
152
|
-
if("homePriv" !== this.$route.name){
|
|
153
|
-
this.$router.push("/main/priv/backoffice");
|
|
154
|
-
}else if (window.history.length > 1) {
|
|
155
|
-
this.$router.go(-1);
|
|
156
|
-
} else {
|
|
157
|
-
this.$router.push("/");
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
150
|
});
|
|
162
151
|
</script>
|
package/src/locale/de.ts
CHANGED
|
@@ -310,7 +310,6 @@ export default {
|
|
|
310
310
|
"Wenn die Abschrift vorhanden ist, zeigen Sie sie",
|
|
311
311
|
"Photo credits": "Bildnachweis",
|
|
312
312
|
"Audio credits": "Audio-Credits",
|
|
313
|
-
"Author credits": "Autorennachweise",
|
|
314
313
|
"View transcript": "Transkript ansehen",
|
|
315
314
|
"Suggested listening": "Anhören empfohlen",
|
|
316
315
|
More: "Mehr",
|
package/src/locale/en.ts
CHANGED
|
@@ -310,7 +310,6 @@ export default {
|
|
|
310
310
|
"If the transcript is available, show it",
|
|
311
311
|
"Photo credits": "Photo credits",
|
|
312
312
|
"Audio credits": "Audio credits",
|
|
313
|
-
"Author credits": "Author credits",
|
|
314
313
|
"View transcript": "View transcript",
|
|
315
314
|
"Suggested listening": "Suggested listening",
|
|
316
315
|
More: "More",
|
package/src/locale/es.ts
CHANGED
|
@@ -311,7 +311,6 @@ export default {
|
|
|
311
311
|
"Si la transcripción está disponible, muéstrela",
|
|
312
312
|
"Photo credits": "Créditos fotográficos",
|
|
313
313
|
"Audio credits": "Créditos de audio",
|
|
314
|
-
"Author credits": "Créditos del autor",
|
|
315
314
|
"View transcript": "Ver transcripción",
|
|
316
315
|
"Suggested listening": "Escucha sugerida",
|
|
317
316
|
More: "Más",
|
package/src/locale/fr.ts
CHANGED
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
Emission: "Émission",
|
|
33
33
|
"Emission description": "Description de l'émission",
|
|
34
34
|
"Emission image": "Image de l'émission",
|
|
35
|
-
"Emission name": "
|
|
35
|
+
"Emission name": "Nom de l'émission",
|
|
36
36
|
"No elements found. Consider changing the search query.":
|
|
37
37
|
"Aucun élement ne correspond à votre recherche",
|
|
38
38
|
"Podcast is not visible for listeners":
|
|
@@ -317,7 +317,6 @@ export default {
|
|
|
317
317
|
"Si la transcription est disponible, l'afficher",
|
|
318
318
|
"Photo credits": "Crédits photo",
|
|
319
319
|
"Audio credits": "Crédits audio",
|
|
320
|
-
"Author credits": "Crédits auteur",
|
|
321
320
|
"View transcript": "Afficher la transcription",
|
|
322
321
|
"Suggested listening": "Suggestion d'écoute",
|
|
323
322
|
More: "Plus",
|
package/src/locale/it.ts
CHANGED
|
@@ -303,7 +303,6 @@ export default{
|
|
|
303
303
|
"If the transcript is available, show it":"Se la trascrizione è disponibile, mostrala",
|
|
304
304
|
"Photo credits":"Crediti fotografici",
|
|
305
305
|
"Audio credits":"Crediti audio",
|
|
306
|
-
"Author credits": "Crediti dell'autore",
|
|
307
306
|
"View transcript":"Visualizza trascrizione",
|
|
308
307
|
"Suggested listening":"Ascolto suggerito",
|
|
309
308
|
"More":"Di più",
|
package/src/locale/sl.ts
CHANGED
|
@@ -300,7 +300,6 @@ export default {
|
|
|
300
300
|
"Če je prepis na voljo, ga pokažite",
|
|
301
301
|
"Photo credits": "Avtorji fotografij",
|
|
302
302
|
"Audio credits": "Avdio krediti",
|
|
303
|
-
"Author credits": "Zasluge avtorja",
|
|
304
303
|
"View transcript": "Ogled prepisa",
|
|
305
304
|
"Suggested listening": "Predlagano poslušanje",
|
|
306
305
|
More: "Več",
|
package/public/img/wave.svg
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg id="uuid-cd939b38-9c51-44e2-969a-c00901ca97ed" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg"
|
|
3
|
-
viewBox="0 0 95.43 34.27">
|
|
4
|
-
<path d="m95.43,11.57c-1.9.01-2.49,3.87-3.23,7.62-.25,1.28-.9,4.54-1.42,5.22-.14-.26-.39-.89-.67-2.33-.37-1.85-.67-4.38-.96-6.83-.93-7.84-1.45-10.8-3.25-10.8-1.16,0-1.74,1.3-2.28,5.14-.38,2.65-.68,6.23-.98,9.73-.28,3.28-.57,6.66-.91,9.22-.24,1.77-.47,2.79-.63,3.37-.15-.48-.35-1.28-.56-2.59-.35-2.14-.63-4.98-.92-7.82-.96-9.52-1.42-12.6-3.25-12.6s-2.39,3.09-3.25,9c-.29,2.01-.59,4.09-.95,5.6-.21.86-.39,1.35-.52,1.63-.15-.36-.37-1.06-.62-2.38-.36-1.93-.65-4.53-.94-7.04-.93-8.17-1.45-11.25-3.25-11.25s-2.38,3.22-3.25,9.94c-.29,2.22-.59,4.51-.95,6.18-.27,1.26-.51,1.82-.65,2.06-.55-.71-1.19-3.94-1.45-5.22-.74-3.76-1.33-6.73-3.24-6.73s-2.37,3.07-3.25,9.45c-.29,2.12-.59,4.31-.95,5.9-.18.8-.35,1.3-.47,1.61-.17-.54-.43-1.58-.69-3.56-.35-2.57-.64-5.97-.91-9.25-.29-3.46-.6-7.04-.97-9.7-.54-3.84-1.12-5.14-2.28-5.14-1.83,0-2.3,3.3-3.25,13.49-.28,2.98-.57,6.07-.92,8.39-.26,1.76-.51,2.68-.66,3.14-.13-.31-.31-.82-.5-1.66-.36-1.59-.66-3.79-.95-5.91-.88-6.38-1.38-9.45-3.25-9.45s-2.31,3.15-3.25,12.18c-.28,2.68-.57,5.45-.92,7.52-.22,1.28-.42,2.04-.56,2.49-.17-.53-.39-1.48-.63-3.13-.35-2.4-.64-5.59-.92-8.67-.96-10.54-1.42-13.94-3.25-13.94s-2.29,3.08-3.25,12.63c-.28,2.77-.57,5.64-.92,7.79-.24,1.51-.47,2.35-.63,2.8-.14-.34-.32-.92-.52-1.89-.37-1.76-.67-4.18-.96-6.52-.87-6.99-1.37-10.35-3.25-10.35s-2.37,3.07-3.25,9.45c-.29,2.12-.59,4.31-.95,5.91-.21.9-.39,1.42-.53,1.72-.15-.39-.38-1.14-.63-2.54-.35-2.01-.65-4.69-.93-7.28-.95-8.67-1.44-11.7-3.25-11.7s-2.32,2.96-3.25,10.82c-.29,2.44-.59,4.97-.96,6.81-.26,1.32-.49,1.96-.64,2.25-.12-.19-.3-.55-.51-1.23-.36-1.16-.66-2.79-.94-4.36-.74-4.02-1.32-7.19-3.24-7.19-.03,0-.06,0-.09,0v1.73s0,0,0,0c.01,0,.29.18.67,1.43.36,1.16.66,2.79.94,4.36.74,4.01,1.32,7.18,3.24,7.18,1.8,0,2.32-2.96,3.25-10.8.29-2.45.59-4.98.96-6.83.21-1.07.4-1.69.54-2.05.15.41.37,1.15.6,2.48.35,2,.65,4.69.93,7.28.95,8.67,1.44,11.7,3.25,11.7s2.37-3.07,3.25-9.47c.29-2.11.59-4.3.95-5.89.22-.95.41-1.48.55-1.76.14.32.35.92.58,2.03.37,1.77.67,4.19.96,6.52.87,6.99,1.37,10.35,3.25,10.35s2.29-3.08,3.25-12.63c.28-2.77.57-5.64.92-7.79.22-1.35.42-2.16.57-2.63.17.54.39,1.48.62,3.11.35,2.4.64,5.59.92,8.67.95,10.54,1.42,13.94,3.25,13.94s2.31-3.15,3.25-12.15c.28-2.69.57-5.46.92-7.55.25-1.49.48-2.28.64-2.7.13.3.32.82.52,1.7.36,1.59.66,3.77.95,5.9.88,6.39,1.38,9.45,3.25,9.45s2.29-3.3,3.25-13.5c.28-2.98.57-6.06.92-8.38.22-1.45.42-2.33.58-2.86.17.59.39,1.6.62,3.33.35,2.56.63,5.95.92,9.26.29,3.46.6,7.04.97,9.69.54,3.84,1.12,5.14,2.28,5.14,1.87,0,2.37-3.07,3.25-9.45.29-2.11.59-4.3.95-5.9.27-1.19.51-1.72.64-1.94.56.69,1.2,3.95,1.45,5.23.74,3.76,1.33,6.73,3.24,6.73s2.38-3.22,3.25-9.94c.29-2.22.59-4.51.95-6.17.21-.97.4-1.53.54-1.84.15.37.37,1.06.6,2.34.36,1.93.65,4.53.94,7.04.93,8.17,1.45,11.25,3.25,11.25s2.39-3.09,3.25-9c.29-2.01.59-4.09.95-5.6.2-.81.37-1.29.5-1.58.16.43.4,1.27.66,2.87.35,2.16.64,5.04.92,7.82.96,9.52,1.42,12.6,3.25,12.6,1.16,0,1.74-1.3,2.28-5.14.38-2.66.68-6.24.97-9.7.28-3.28.57-6.68.91-9.25.26-1.89.5-2.92.66-3.48.14.37.31.97.5,1.92.37,1.85.67,4.38.96,6.83.93,7.84,1.45,10.8,3.25,10.8,1.91,0,2.5-2.97,3.24-6.74.27-1.36.98-5.86,1.52-6.2v-1.75Z"/>
|
|
5
|
-
</svg>
|