@saooti/octopus-sdk 38.1.7 → 38.1.9
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/index.html +0 -1
- package/package.json +1 -1
- package/public/css/fonts/localFonts/Comfortaa-Regular.ttf +0 -0
- package/public/css/fonts/localFonts/Cookie-Regular.ttf +0 -0
- package/public/css/fonts/localFonts/Roboto-Regular.ttf +0 -0
- package/public/css/fonts/localFonts/RobotoSlab-Regular.ttf +0 -0
- package/public/css/fonts/localFonts/style.css +56 -0
- package/public/img/wave.svg +5 -0
- package/src/assets/share.scss +15 -0
- package/src/components/display/podcasts/PodcastModuleBox.vue +8 -0
- 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 +2 -0
- package/src/components/form/ClassicSelect.vue +19 -0
- package/src/components/misc/ClassicAccordion.vue +19 -7
- package/src/components/misc/ClassicNav.vue +6 -2
- package/src/components/misc/ClassicPopover.vue +12 -2
- package/src/components/misc/HomeDropdown.vue +11 -2
- package/src/components/misc/modal/NewsletterModal.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 +2 -1
- package/src/locale/it.ts +1 -0
- package/src/locale/sl.ts +1 -0
- package/src/main.ts +1 -1
- package/public/css/fonts/montserrat/style.css +0 -28
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-Black.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-BlackItalic.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-Bold.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-BoldItalic.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-ExtraBold.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-ExtraBoldItalic.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-ExtraLight.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-ExtraLightItalic.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-Italic.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-Light.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-LightItalic.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-Medium.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-MediumItalic.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-Regular.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-SemiBold.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-SemiBoldItalic.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-Thin.ttf +0 -0
- /package/public/css/fonts/{montserrat → localFonts}/Montserrat-ThinItalic.ttf +0 -0
package/index.html
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
7
|
<link rel="icon" href="/favicon.ico">
|
|
8
8
|
<link rel="stylesheet" href="/css/fonts/style.css">
|
|
9
|
-
<link rel="stylesheet" href="/css/fonts/montserrat/style.css">
|
|
10
9
|
<title>octopus-library</title>
|
|
11
10
|
</head>
|
|
12
11
|
<body>
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Montserrat";
|
|
3
|
+
src: local("Montserrat"),
|
|
4
|
+
url("./Montserrat-Regular.ttf") format("truetype");
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
font-style: normal;
|
|
7
|
+
}
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: "Montserrat";
|
|
10
|
+
src: local("Montserrat"),
|
|
11
|
+
url("./Montserrat-Medium.ttf") format("truetype");
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
}
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: "Montserrat";
|
|
17
|
+
src: local("Montserrat"),
|
|
18
|
+
url("./Montserrat-SemiBold.ttf") format("truetype");
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
}
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: "Montserrat";
|
|
24
|
+
src: local("Montserrat"),
|
|
25
|
+
url("./Montserrat-Bold.ttf") format("truetype");
|
|
26
|
+
font-weight: 700;
|
|
27
|
+
font-style: normal;
|
|
28
|
+
}
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: "Cookie";
|
|
31
|
+
src: local("Cookie"),
|
|
32
|
+
url("./Cookie-Regular.ttf") format("truetype");
|
|
33
|
+
font-weight: 400;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
}
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: "Comfortaa";
|
|
38
|
+
src: local("Comfortaa"),
|
|
39
|
+
url("./Comfortaa-Regular.ttf") format("truetype");
|
|
40
|
+
font-weight: 400;
|
|
41
|
+
font-style: normal;
|
|
42
|
+
}
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: "Roboto";
|
|
45
|
+
src: local("Roboto"),
|
|
46
|
+
url("./Roboto-Regular.ttf") format("truetype");
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: "Roboto Slab";
|
|
52
|
+
src: local("Roboto Slab"),
|
|
53
|
+
url("./Roboto-Regular.ttf") format("truetype");
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
font-style: normal;
|
|
56
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
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>
|
package/src/assets/share.scss
CHANGED
|
@@ -71,6 +71,21 @@
|
|
|
71
71
|
border: solid 1px black;
|
|
72
72
|
border-radius: $octopus-borderradius !important;
|
|
73
73
|
}
|
|
74
|
+
.vue-swatches__fallback__input{
|
|
75
|
+
padding-top: 0;
|
|
76
|
+
padding-bottom: 0;
|
|
77
|
+
position:relative;
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
&:after{
|
|
80
|
+
content: "+";
|
|
81
|
+
position: absolute;
|
|
82
|
+
top: 1px;
|
|
83
|
+
left: 50%;
|
|
84
|
+
color: white;
|
|
85
|
+
font-weight: bold;
|
|
86
|
+
font-size: 1rem;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
74
89
|
.podcast-list {
|
|
75
90
|
align-self: stretch;
|
|
76
91
|
flex-grow: 1;
|
|
@@ -77,6 +77,11 @@
|
|
|
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
|
+
|
|
80
85
|
<a
|
|
81
86
|
v-if="podcast.article"
|
|
82
87
|
class="btn d-flex align-items-center my-2 width-fit-content mb-1"
|
|
@@ -267,6 +272,9 @@ export default defineComponent({
|
|
|
267
272
|
audioCredit(): string {
|
|
268
273
|
return (this.podcast?.annotations?.audioCredit as string) ?? "";
|
|
269
274
|
},
|
|
275
|
+
authorCredit(): string {
|
|
276
|
+
return (this.podcast?.annotations?.authorCredit as string) ?? "";
|
|
277
|
+
},
|
|
270
278
|
isEditBox(): boolean {
|
|
271
279
|
return (state.podcastPage.EditBox as boolean) ?? false;
|
|
272
280
|
},
|
|
@@ -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')"
|
|
13
14
|
/>
|
|
14
15
|
<ClassicPopover
|
|
15
16
|
v-if="authenticated"
|
|
16
17
|
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,6 +8,7 @@
|
|
|
8
8
|
:model-value="color"
|
|
9
9
|
class="c-hand"
|
|
10
10
|
show-fallback
|
|
11
|
+
fallback-input-type="color"
|
|
11
12
|
colors="text-advanced"
|
|
12
13
|
popover-to="right"
|
|
13
14
|
:data-color="color"
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
:model-value="theme"
|
|
23
24
|
class="c-hand"
|
|
24
25
|
show-fallback
|
|
26
|
+
fallback-input-type="color"
|
|
25
27
|
colors="text-advanced"
|
|
26
28
|
popover-to="right"
|
|
27
29
|
:data-color="theme"
|
|
@@ -61,13 +61,32 @@ export default defineComponent({
|
|
|
61
61
|
});
|
|
62
62
|
</script>
|
|
63
63
|
<style lang="scss">
|
|
64
|
+
@import "@scss/_variables.scss";
|
|
64
65
|
.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
|
+
|
|
65
82
|
select.transparent {
|
|
66
83
|
background: transparent !important;
|
|
67
84
|
outline-color: transparent !important;
|
|
68
85
|
padding: 0;
|
|
69
86
|
border: 0;
|
|
70
87
|
height: unset;
|
|
88
|
+
-webkit-appearance: auto !important;
|
|
89
|
+
-moz-appearance: auto !important;
|
|
71
90
|
}
|
|
72
91
|
}
|
|
73
92
|
</style>
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="my-2" :class="displayAccordion ? 'octopus-accordion' : ''">
|
|
2
|
+
<div class="my-2" :class="[displayAccordion ? 'octopus-accordion' : '', isOpen?'octopus-accordion-open':'' ]">
|
|
3
3
|
<template v-if="displayAccordion">
|
|
4
4
|
<button
|
|
5
5
|
:id="'accordion-' + idComposer"
|
|
6
|
-
class="
|
|
7
|
-
:class="isOpen ? 'really-light-primary-bg' : ''"
|
|
6
|
+
class="w-100 py-2 text-start d-flex flex-nowrap align-items-center"
|
|
8
7
|
@click="isOpen = !isOpen"
|
|
9
8
|
>
|
|
10
9
|
<span v-if="icon" class="img-accordion text-primary" :class="icon" />
|
|
@@ -52,10 +51,23 @@ export default defineComponent({
|
|
|
52
51
|
});
|
|
53
52
|
</script>
|
|
54
53
|
<style lang="scss">
|
|
55
|
-
.
|
|
56
|
-
|
|
57
|
-
> button
|
|
54
|
+
@import '@scss/_variables.scss';
|
|
55
|
+
.octopus-accordion{
|
|
56
|
+
> button{
|
|
57
|
+
background: white;
|
|
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
|
+
}
|
|
59
71
|
}
|
|
60
72
|
.img-accordion {
|
|
61
73
|
width: 30px;
|
|
@@ -67,7 +79,7 @@ export default defineComponent({
|
|
|
67
79
|
align-items: center;
|
|
68
80
|
}
|
|
69
81
|
.body {
|
|
70
|
-
border-top: 1px solid
|
|
82
|
+
border-top: 1px solid $octopus-primary-color;
|
|
71
83
|
}
|
|
72
84
|
}
|
|
73
85
|
</style>
|
|
@@ -85,12 +85,16 @@ 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
|
|
89
|
-
&.active {
|
|
88
|
+
&:hover{
|
|
90
89
|
border-color: #dee2e6;
|
|
91
90
|
border-bottom-color: $octopus-primary-color;
|
|
92
91
|
color: $octopus-primary-color;
|
|
93
92
|
}
|
|
93
|
+
&.active{
|
|
94
|
+
border-color: $octopus-primary-color;
|
|
95
|
+
background: $octopus-primary-color;
|
|
96
|
+
color:white;
|
|
97
|
+
}
|
|
94
98
|
}
|
|
95
99
|
.octopus-nav.light .octopus-nav-link {
|
|
96
100
|
border-top: 0 !important;
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
:class="[onlyClick ? 'octopus-dropdown' : '', popoverClass]"
|
|
9
9
|
:style="positionInlineStyle"
|
|
10
10
|
@blur="clearDataBlur"
|
|
11
|
+
@mouseenter="overPopover=true"
|
|
12
|
+
@mouseleave="overPopover=false;clearData();"
|
|
11
13
|
>
|
|
12
14
|
<div v-if="title" class="bg-secondary p-2">
|
|
13
15
|
{{ title }}
|
|
@@ -42,6 +44,7 @@ export default defineComponent({
|
|
|
42
44
|
posX: 0 as number,
|
|
43
45
|
posY: 0 as number,
|
|
44
46
|
targetElement: null as HTMLElement | null,
|
|
47
|
+
overPopover: false as boolean
|
|
45
48
|
};
|
|
46
49
|
},
|
|
47
50
|
computed: {
|
|
@@ -67,7 +70,7 @@ export default defineComponent({
|
|
|
67
70
|
"mouseenter",
|
|
68
71
|
this.setPopoverData,
|
|
69
72
|
);
|
|
70
|
-
this.targetElement.addEventListener("mouseleave", this.
|
|
73
|
+
this.targetElement.addEventListener("mouseleave", this.clearDataTimeout);
|
|
71
74
|
}
|
|
72
75
|
if (!this.onlyMouse) {
|
|
73
76
|
this.targetElement.addEventListener("click", this.setPopoverData);
|
|
@@ -82,7 +85,7 @@ export default defineComponent({
|
|
|
82
85
|
"mouseenter",
|
|
83
86
|
this.setPopoverData,
|
|
84
87
|
);
|
|
85
|
-
this.targetElement.removeEventListener("mouseleave", this.
|
|
88
|
+
this.targetElement.removeEventListener("mouseleave", this.clearDataTimeout);
|
|
86
89
|
}
|
|
87
90
|
if (!this.onlyMouse) {
|
|
88
91
|
this.targetElement.removeEventListener("click", this.setPopoverData);
|
|
@@ -180,6 +183,13 @@ export default defineComponent({
|
|
|
180
183
|
this.isClick = false;
|
|
181
184
|
this.clearData();
|
|
182
185
|
},
|
|
186
|
+
clearDataTimeout() {
|
|
187
|
+
setTimeout(() => {
|
|
188
|
+
if(!this.overPopover){
|
|
189
|
+
this.clearData();
|
|
190
|
+
}
|
|
191
|
+
}, 500);
|
|
192
|
+
},
|
|
183
193
|
clearData() {
|
|
184
194
|
if (this.isClick) {
|
|
185
195
|
return;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="d-flex align-items-center">
|
|
3
|
-
<
|
|
3
|
+
<button
|
|
4
4
|
v-if="isAuthenticatedWithOrga"
|
|
5
5
|
:title="$t('My space')"
|
|
6
|
-
|
|
6
|
+
@click="goToAdministration"
|
|
7
7
|
class="btn admin-button hide-smallest-screen m-1 saooti-admin-menu"
|
|
8
8
|
/>
|
|
9
9
|
<router-link
|
|
@@ -157,6 +157,15 @@ export default defineComponent({
|
|
|
157
157
|
} catch (error) {
|
|
158
158
|
//Do nothing
|
|
159
159
|
}
|
|
160
|
+
},
|
|
161
|
+
goToAdministration(){
|
|
162
|
+
if("homePriv" !== this.$route.name){
|
|
163
|
+
this.$router.push("/main/priv/backoffice");
|
|
164
|
+
}else if (window.history.length > 1) {
|
|
165
|
+
this.$router.go(-1);
|
|
166
|
+
} else {
|
|
167
|
+
this.$router.push("/");
|
|
168
|
+
}
|
|
160
169
|
}
|
|
161
170
|
}
|
|
162
171
|
});
|
package/src/locale/de.ts
CHANGED
|
@@ -310,6 +310,7 @@ 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",
|
|
313
314
|
"View transcript": "Transkript ansehen",
|
|
314
315
|
"Suggested listening": "Anhören empfohlen",
|
|
315
316
|
More: "Mehr",
|
package/src/locale/en.ts
CHANGED
|
@@ -310,6 +310,7 @@ 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",
|
|
313
314
|
"View transcript": "View transcript",
|
|
314
315
|
"Suggested listening": "Suggested listening",
|
|
315
316
|
More: "More",
|
package/src/locale/es.ts
CHANGED
|
@@ -311,6 +311,7 @@ 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",
|
|
314
315
|
"View transcript": "Ver transcripción",
|
|
315
316
|
"Suggested listening": "Escucha sugerida",
|
|
316
317
|
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": "Titre 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,6 +317,7 @@ 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",
|
|
320
321
|
"View transcript": "Afficher la transcription",
|
|
321
322
|
"Suggested listening": "Suggestion d'écoute",
|
|
322
323
|
More: "Plus",
|
package/src/locale/it.ts
CHANGED
|
@@ -303,6 +303,7 @@ 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",
|
|
306
307
|
"View transcript":"Visualizza trascrizione",
|
|
307
308
|
"Suggested listening":"Ascolto suggerito",
|
|
308
309
|
"More":"Di più",
|
package/src/locale/sl.ts
CHANGED
|
@@ -300,6 +300,7 @@ 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",
|
|
303
304
|
"View transcript": "Ogled prepisa",
|
|
304
305
|
"Suggested listening": "Predlagano poslušanje",
|
|
305
306
|
More: "Več",
|
package/src/main.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { setupI18n } from "./i18n";
|
|
|
5
5
|
import router from "@/router/router";
|
|
6
6
|
import { createPinia } from "pinia";
|
|
7
7
|
import paramStore from "@/stores/ParamSdkStore";
|
|
8
|
-
|
|
8
|
+
import '../public/css/fonts/localFonts/style.css';
|
|
9
9
|
const nameEQ = "octopus-language=";
|
|
10
10
|
const ca = document.cookie.split(";");
|
|
11
11
|
let language = "";
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: "Montserrat";
|
|
3
|
-
src: local("Montserrat"),
|
|
4
|
-
url("/css/fonts/montserrat/Montserrat-Regular.ttf") format("truetype");
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
font-style: normal;
|
|
7
|
-
}
|
|
8
|
-
@font-face {
|
|
9
|
-
font-family: "Montserrat";
|
|
10
|
-
src: local("Montserrat"),
|
|
11
|
-
url("/css/fonts/montserrat/Montserrat-Medium.ttf") format("truetype");
|
|
12
|
-
font-weight: 500;
|
|
13
|
-
font-style: normal;
|
|
14
|
-
}
|
|
15
|
-
@font-face {
|
|
16
|
-
font-family: "Montserrat";
|
|
17
|
-
src: local("Montserrat"),
|
|
18
|
-
url("/css/fonts/montserrat/Montserrat-SemiBold.ttf") format("truetype");
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
font-style: normal;
|
|
21
|
-
}
|
|
22
|
-
@font-face {
|
|
23
|
-
font-family: "Montserrat";
|
|
24
|
-
src: local("Montserrat"),
|
|
25
|
-
url("/css/fonts/montserrat/Montserrat-Bold.ttf") format("truetype");
|
|
26
|
-
font-weight: 700;
|
|
27
|
-
font-style: normal;
|
|
28
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|