@saooti/octopus-sdk 33.0.1 → 33.0.2
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/public/img/ACPM.png +0 -0
- package/src/assets/share.scss +0 -5
- package/src/components/display/emission/EmissionItem.vue +8 -8
- package/src/components/display/participant/ParticipantItem.vue +6 -6
- package/src/components/display/playlist/PlaylistItem.vue +6 -6
- package/src/components/misc/ErrorMessage.vue +3 -5
- package/src/components/misc/TopBar.vue +1 -1
- package/src/components/mixins/functions.ts +3 -2
- package/src/main.ts +1 -1
- package/src/sass/_variables.scss +1 -1
- package/public/img/caution.png +0 -0
- package/public/img/play-podcast.png +0 -0
package/package.json
CHANGED
package/public/img/ACPM.png
CHANGED
|
Binary file
|
package/src/assets/share.scss
CHANGED
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
:alt="$t('Emission name image', {name:emission.name})"
|
|
19
19
|
>
|
|
20
20
|
<div class="emission-item-text">
|
|
21
|
-
<div
|
|
22
|
-
|
|
23
|
-
>
|
|
24
|
-
<img
|
|
21
|
+
<div class="d-flex align-items-center">
|
|
22
|
+
<span
|
|
25
23
|
v-if="!activeEmission && !isPodcastmaker && editRight"
|
|
26
|
-
class="icon-caution"
|
|
27
|
-
src="/img/caution.png"
|
|
28
24
|
:title="$t('Emission have not podcasts')"
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
class="saooti-warning text-danger me-1"/>
|
|
26
|
+
<div
|
|
27
|
+
class="emission-name"
|
|
28
|
+
>
|
|
29
|
+
{{ emission.name }}
|
|
30
|
+
</div>
|
|
31
31
|
</div>
|
|
32
32
|
<div
|
|
33
33
|
ref="descriptionEmissionContainer"
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
:alt="$t('Animator image')"
|
|
19
19
|
class="img-box-circle"
|
|
20
20
|
>
|
|
21
|
-
<div class="
|
|
22
|
-
<
|
|
21
|
+
<div class="d-flex align-items-center">
|
|
22
|
+
<span
|
|
23
23
|
v-if="!activeParticipant && !isPodcastmaker && editRight"
|
|
24
|
-
src="/img/caution.png"
|
|
25
|
-
class="icon-caution"
|
|
26
24
|
:title="$t('Participant have not podcasts')"
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
class="saooti-warning text-danger me-1"/>
|
|
26
|
+
<div class="participant-name">
|
|
27
|
+
{{ name }}
|
|
28
|
+
</div>
|
|
29
29
|
</div>
|
|
30
30
|
<div
|
|
31
31
|
ref="descriptionParticipantContainer"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
class="img-box"
|
|
20
20
|
>
|
|
21
21
|
<div class="emission-item-text">
|
|
22
|
-
<div class="
|
|
23
|
-
<
|
|
22
|
+
<div class="d-flex align-items-center">
|
|
23
|
+
<span
|
|
24
24
|
v-if="!activePlaylist && !isPodcastmaker"
|
|
25
|
-
class="icon-caution"
|
|
26
|
-
src="/img/caution.png"
|
|
27
25
|
:title="$t('Playlist have not podcasts')"
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
class="saooti-warning text-danger me-1"/>
|
|
27
|
+
<div class="emission-name">
|
|
28
|
+
{{ name }}
|
|
29
|
+
</div>
|
|
30
30
|
</div>
|
|
31
31
|
<div
|
|
32
32
|
ref="descriptionPlaylistContainer"
|
|
@@ -6,11 +6,9 @@
|
|
|
6
6
|
<div
|
|
7
7
|
class="d-flex align-items-center bg-error-message p-2 rounded my-1"
|
|
8
8
|
>
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class="icon-caution"
|
|
13
|
-
>
|
|
9
|
+
<span
|
|
10
|
+
:title="$t('Warning')"
|
|
11
|
+
class="saooti-warning text-danger me-1"/>
|
|
14
12
|
<div class="alert-text">
|
|
15
13
|
{{ message }}
|
|
16
14
|
</div>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@click="onDisplayMenu(true)"
|
|
15
15
|
>
|
|
16
16
|
<img
|
|
17
|
-
:src="!filterOrga || '' === imgUrl ? logoUrl : proxyImageUrl(imgUrl, '
|
|
17
|
+
:src="!filterOrga || '' === imgUrl ? logoUrl : proxyImageUrl(imgUrl, '', '50')"
|
|
18
18
|
:alt="!filterOrga || '' === imgUrl ? $t('Logo of main page') : $t('Visual', {name: $store.state.filter?.name})"
|
|
19
19
|
:class="isEducation ? 'educationLogo' : ''"
|
|
20
20
|
>
|
|
@@ -9,12 +9,13 @@ export const selenium ={
|
|
|
9
9
|
};
|
|
10
10
|
export const imageProxy ={
|
|
11
11
|
methods: {
|
|
12
|
-
proxyImageUrl(url:string, width:string): string{
|
|
12
|
+
proxyImageUrl(url:string, width:string, height?:string): string{
|
|
13
13
|
if(!url){
|
|
14
14
|
return "";
|
|
15
15
|
}
|
|
16
16
|
if(state.octopusApi.imageUrl && url.includes('http')){
|
|
17
|
-
|
|
17
|
+
const size = height ? "height="+height:"width="+width;
|
|
18
|
+
return state.octopusApi.imageUrl+"image/"+btoa(url)+"?"+size+"&useWebp=true";
|
|
18
19
|
}
|
|
19
20
|
return url;
|
|
20
21
|
},
|
package/src/main.ts
CHANGED
|
@@ -10,7 +10,7 @@ import paramStore from '@/store/paramStore';
|
|
|
10
10
|
const nameEQ = 'octopus-language=';
|
|
11
11
|
const ca = document.cookie.split(';');
|
|
12
12
|
let language = "";
|
|
13
|
-
for (let valueCookie
|
|
13
|
+
for (let valueCookie of ca) {
|
|
14
14
|
let c = valueCookie;
|
|
15
15
|
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
|
|
16
16
|
if (0 === c.indexOf(nameEQ)){
|
package/src/sass/_variables.scss
CHANGED
package/public/img/caution.png
DELETED
|
Binary file
|
|
Binary file
|