@saooti/octopus-sdk 32.0.7 → 32.0.10
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 +3 -0
- package/package.json +1 -1
- package/src/assets/form.scss +1 -1
- package/src/assets/share.scss +1 -1
- package/src/components/display/comments/CommentBasicView.vue +1 -0
- package/src/components/display/comments/CommentItem.vue +1 -1
- package/src/components/display/emission/EmissionInlineList.vue +4 -8
- package/src/components/display/emission/EmissionItem.vue +2 -0
- package/src/components/display/emission/EmissionPlayerItem.vue +5 -4
- package/src/components/display/filter/AdvancedSearch.vue +2 -2
- package/src/components/display/filter/MonetizableFilter.vue +1 -1
- package/src/components/display/participant/ParticipantItem.vue +2 -0
- package/src/components/display/playlist/PlaylistItem.vue +2 -0
- package/src/components/display/playlist/PodcastPlaylistInlineList.vue +4 -8
- package/src/components/display/podcasts/PodcastInlineListTemplate.vue +4 -8
- package/src/components/display/podcasts/TagList.vue +1 -1
- package/src/components/misc/ErrorMessage.vue +1 -1
- package/src/components/misc/TopBar.vue +2 -3
- package/src/components/misc/player/PlayerCompact.vue +4 -1
- package/src/components/misc/player/PlayerLarge.vue +4 -1
- package/src/components/mixins/organisationFilter.ts +1 -0
- package/src/components/pages/Participant.vue +1 -0
- package/src/locale/de.ts +2 -0
- package/src/locale/en.ts +2 -0
- package/src/locale/es.ts +2 -0
- package/src/locale/fr.ts +2 -0
- package/src/locale/it.ts +2 -0
- package/src/locale/sl.ts +2 -0
- package/src/store/AppStore.ts +3 -0
- package/src/store/typeAppStore.ts +3 -1
package/README.md
CHANGED
package/package.json
CHANGED
package/src/assets/form.scss
CHANGED
package/src/assets/share.scss
CHANGED
|
@@ -6,21 +6,17 @@
|
|
|
6
6
|
>
|
|
7
7
|
<div class="hide-phone">
|
|
8
8
|
<button
|
|
9
|
-
class="btn admin-button m-1"
|
|
9
|
+
class="btn admin-button m-1 saooti-left"
|
|
10
10
|
:class="{ disabled: !previousAvailable }"
|
|
11
11
|
:title="$t('Display previous')"
|
|
12
12
|
@click="displayPrevious()"
|
|
13
|
-
|
|
14
|
-
<div class="saooti-left fw-bold" />
|
|
15
|
-
</button>
|
|
13
|
+
/>
|
|
16
14
|
<button
|
|
17
|
-
class="btn admin-button m-1"
|
|
15
|
+
class="btn admin-button m-1 saooti-right"
|
|
18
16
|
:class="{ disabled: !nextAvailable }"
|
|
19
17
|
:title="$t('Display next')"
|
|
20
18
|
@click="displayNext()"
|
|
21
|
-
|
|
22
|
-
<div class="saooti-right fw-bold" />
|
|
23
|
-
</button>
|
|
19
|
+
/>
|
|
24
20
|
</div>
|
|
25
21
|
</div>
|
|
26
22
|
<ClassicLoading
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
v-lazy="emission.imageUrl"
|
|
16
16
|
class="img-box"
|
|
17
17
|
:title="$t('Emission name image', {name:emission.name})"
|
|
18
|
+
:alt="$t('Emission name image', {name:emission.name})"
|
|
18
19
|
>
|
|
19
20
|
<div class="emission-item-text">
|
|
20
21
|
<div
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
class="icon-caution"
|
|
26
27
|
src="/img/caution.png"
|
|
27
28
|
:title="$t('Emission have not podcasts')"
|
|
29
|
+
:alt="$t('Emission have not podcasts')"
|
|
28
30
|
>{{ emission.name }}
|
|
29
31
|
</div>
|
|
30
32
|
<div
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
<img
|
|
23
23
|
v-lazy="emission.imageUrl"
|
|
24
24
|
:title="$t('Emission name image', {name:emission.name})"
|
|
25
|
+
:alt="$t('Emission name image', {name:emission.name})"
|
|
25
26
|
class="img-box rounded-0"
|
|
26
27
|
>
|
|
27
28
|
<div
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
</router-link>
|
|
93
94
|
<PodcastPlayBar :podcast="p" />
|
|
94
95
|
</div>
|
|
95
|
-
<
|
|
96
|
+
<button
|
|
96
97
|
v-if="
|
|
97
98
|
$store.state.player.podcast !== p ||
|
|
98
99
|
($store.state.player.podcast === p &&
|
|
@@ -105,8 +106,8 @@
|
|
|
105
106
|
class="text-light saooti-play"
|
|
106
107
|
:title="$t('Play')"
|
|
107
108
|
/>
|
|
108
|
-
</
|
|
109
|
-
<
|
|
109
|
+
</button>
|
|
110
|
+
<button
|
|
110
111
|
v-else
|
|
111
112
|
class="play-button-box bg-secondary"
|
|
112
113
|
@click="pause(p)"
|
|
@@ -115,7 +116,7 @@
|
|
|
115
116
|
class="text-light saooti-pause"
|
|
116
117
|
:title="$t('Pause')"
|
|
117
118
|
/>
|
|
118
|
-
</
|
|
119
|
+
</button>
|
|
119
120
|
</div>
|
|
120
121
|
</div>
|
|
121
122
|
<div
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="d-flex flex-column justify-content-center align-items-center">
|
|
3
3
|
<button
|
|
4
|
-
class="d-flex justify-content-center mb-3 text-secondary btn-transparent"
|
|
4
|
+
class="d-flex justify-content-center align-items-center mb-3 text-secondary btn-transparent"
|
|
5
5
|
@click="showFilters = !showFilters"
|
|
6
6
|
>
|
|
7
7
|
<div>{{ $t('Advanced filters') }}</div>
|
|
8
8
|
<div
|
|
9
|
-
class="
|
|
9
|
+
class="saooti-down mx-1"
|
|
10
10
|
:class="{ 'arrow-transform': showFilters }"
|
|
11
11
|
/>
|
|
12
12
|
</button>
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
<img
|
|
16
16
|
v-lazy="participant.imageUrl"
|
|
17
17
|
:title="$t('Animator image')"
|
|
18
|
+
:alt="$t('Animator image')"
|
|
18
19
|
class="img-box-circle"
|
|
19
20
|
>
|
|
20
21
|
<div class="participant-name">
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
src="/img/caution.png"
|
|
24
25
|
class="icon-caution"
|
|
25
26
|
:title="$t('Participant have not podcasts')"
|
|
27
|
+
:alt="$t('Participant have not podcasts')"
|
|
26
28
|
>{{ name }}
|
|
27
29
|
</div>
|
|
28
30
|
<div
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
<img
|
|
16
16
|
v-lazy="playlist.imageUrl"
|
|
17
17
|
:title="$t('Playlist name image', {name:name})"
|
|
18
|
+
:alt="$t('Playlist name image', {name:name})"
|
|
18
19
|
class="img-box"
|
|
19
20
|
>
|
|
20
21
|
<div class="emission-item-text">
|
|
@@ -24,6 +25,7 @@
|
|
|
24
25
|
class="icon-caution"
|
|
25
26
|
src="/img/caution.png"
|
|
26
27
|
:title="$t('Playlist have not podcasts')"
|
|
28
|
+
:alt="$t('Playlist have not podcasts')"
|
|
27
29
|
>{{ name }}
|
|
28
30
|
</div>
|
|
29
31
|
<div
|
|
@@ -9,21 +9,17 @@
|
|
|
9
9
|
class="d-flex justify-content-end hide-phone"
|
|
10
10
|
>
|
|
11
11
|
<button
|
|
12
|
-
class="btn admin-button m-1"
|
|
12
|
+
class="btn admin-button m-1 saooti-left"
|
|
13
13
|
:class="{ disabled: !previousAvailable }"
|
|
14
14
|
:title="$t('Display previous')"
|
|
15
15
|
@click="displayPrevious()"
|
|
16
|
-
|
|
17
|
-
<div class="saooti-left fw-bold" />
|
|
18
|
-
</button>
|
|
16
|
+
/>
|
|
19
17
|
<button
|
|
20
|
-
class="btn admin-button m-1"
|
|
18
|
+
class="btn admin-button m-1 saooti-right"
|
|
21
19
|
:class="{ disabled: !nextAvailable }"
|
|
22
20
|
:title="$t('Display next')"
|
|
23
21
|
@click="displayNext()"
|
|
24
|
-
|
|
25
|
-
<div class="saooti-right fw-bold" />
|
|
26
|
-
</button>
|
|
22
|
+
/>
|
|
27
23
|
</div>
|
|
28
24
|
<ClassicLoading
|
|
29
25
|
:loading-text="loading?$t('Loading podcasts ...'):undefined"
|
|
@@ -36,21 +36,17 @@
|
|
|
36
36
|
class="hide-phone"
|
|
37
37
|
>
|
|
38
38
|
<button
|
|
39
|
-
class="btn admin-button m-1"
|
|
39
|
+
class="btn admin-button m-1 saooti-left"
|
|
40
40
|
:class="{ disabled: !previousAvailable }"
|
|
41
41
|
:title="$t('Display previous')"
|
|
42
42
|
@click="displayPrevious()"
|
|
43
|
-
|
|
44
|
-
<div class="saooti-left fw-bold" />
|
|
45
|
-
</button>
|
|
43
|
+
/>
|
|
46
44
|
<button
|
|
47
|
-
class="btn admin-button m-1"
|
|
45
|
+
class="btn admin-button m-1 saooti-right"
|
|
48
46
|
:class="{ disabled: !nextAvailable }"
|
|
49
47
|
:title="$t('Display next')"
|
|
50
48
|
@click="displayNext()"
|
|
51
|
-
|
|
52
|
-
<div class="saooti-right fw-bold" />
|
|
53
|
-
</button>
|
|
49
|
+
/>
|
|
54
50
|
</div>
|
|
55
51
|
</div>
|
|
56
52
|
<slot name="list-inline" />
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
>
|
|
16
16
|
<img
|
|
17
17
|
:src="!filterOrga || '' === imgUrl ? logoUrl : imgUrl"
|
|
18
|
-
:alt="$t('Logo of main page')"
|
|
18
|
+
:alt="!filterOrga || '' === imgUrl ? $t('Logo of main page') : $t('Visual', {name: $store.state.filter?.name})"
|
|
19
19
|
:class="isEducation ? 'educationLogo' : ''"
|
|
20
20
|
>
|
|
21
21
|
</router-link>
|
|
@@ -221,8 +221,7 @@ export default defineComponent({
|
|
|
221
221
|
.saooti-menu {
|
|
222
222
|
display: none;
|
|
223
223
|
cursor: pointer;
|
|
224
|
-
font-size:
|
|
225
|
-
font-weight: bold;
|
|
224
|
+
font-size: 1.5rem;
|
|
226
225
|
margin: 0.5rem;
|
|
227
226
|
}
|
|
228
227
|
|
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
class="btn play-button-box text-light primary-bg"
|
|
24
24
|
@click="switchPausePlay"
|
|
25
25
|
>
|
|
26
|
-
<span
|
|
26
|
+
<span
|
|
27
|
+
v-if="!isPaused&&!isPlaying"
|
|
28
|
+
class="spinner-border flex-shrink-0"
|
|
29
|
+
/>
|
|
27
30
|
</button>
|
|
28
31
|
<div class="text-light player-grow-content">
|
|
29
32
|
<div class="d-flex mb-1">
|
|
@@ -62,7 +62,10 @@
|
|
|
62
62
|
class="btn play-big-button-box text-light primary-bg"
|
|
63
63
|
@click="switchPausePlay"
|
|
64
64
|
>
|
|
65
|
-
<span
|
|
65
|
+
<span
|
|
66
|
+
v-if="!isPaused&&!isPlaying"
|
|
67
|
+
class="spinner-border flex-shrink-0"
|
|
68
|
+
/>
|
|
66
69
|
</button>
|
|
67
70
|
<button
|
|
68
71
|
class="btn fs-1 bg-transparent text-light saooti-forward"
|
|
@@ -19,6 +19,7 @@ export const orgaFilter = defineComponent({
|
|
|
19
19
|
this.$store.commit('filterOrga', {
|
|
20
20
|
orgaId: organisationId,
|
|
21
21
|
imgUrl: response.imageUrl,
|
|
22
|
+
name: response.name,
|
|
22
23
|
rubriquageArray: data.filter((element: Rubriquage)=>{
|
|
23
24
|
return element.rubriques.length;
|
|
24
25
|
}),
|
package/src/locale/de.ts
CHANGED
package/src/locale/en.ts
CHANGED
package/src/locale/es.ts
CHANGED
package/src/locale/fr.ts
CHANGED
package/src/locale/it.ts
CHANGED
package/src/locale/sl.ts
CHANGED
package/src/store/AppStore.ts
CHANGED
|
@@ -86,6 +86,9 @@ export default createStore({
|
|
|
86
86
|
if (filter.imgUrl || !filter.orgaId) {
|
|
87
87
|
state.filter.imgUrl = filter.imgUrl;
|
|
88
88
|
}
|
|
89
|
+
if (filter.name || !filter.orgaId) {
|
|
90
|
+
state.filter.name = filter.name;
|
|
91
|
+
}
|
|
89
92
|
if(filter.rubriquageArray){
|
|
90
93
|
state.filter.rubriquageArray = filter.rubriquageArray;
|
|
91
94
|
}
|
|
@@ -91,6 +91,7 @@ export function emptyPodcastData(): Podcast{
|
|
|
91
91
|
export interface Filter{
|
|
92
92
|
organisationId: string | undefined;
|
|
93
93
|
imgUrl: string | undefined;
|
|
94
|
+
name: string | undefined;
|
|
94
95
|
rubriquageArray: Array<Rubriquage>;
|
|
95
96
|
rubriqueFilter: Array<RubriquageFilter>;
|
|
96
97
|
rubriqueDisplay: Array<Rubrique>;
|
|
@@ -304,7 +305,8 @@ export function emptyPodcastData(): Podcast{
|
|
|
304
305
|
|
|
305
306
|
filter: {
|
|
306
307
|
organisationId: undefined ,
|
|
307
|
-
imgUrl: undefined
|
|
308
|
+
imgUrl: undefined,
|
|
309
|
+
name:undefined,
|
|
308
310
|
rubriquageArray: [],
|
|
309
311
|
rubriqueFilter: [],
|
|
310
312
|
rubriqueDisplay:[],
|