@saooti/octopus-sdk 30.0.18 → 30.0.22
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 +5 -1
- package/package.json +3 -3
- package/src/assets/bootstrap-diff.scss +10 -52
- package/src/assets/general.scss +1 -1
- package/src/assets/share.scss +17 -37
- package/src/components/display/categories/CategoryFilter.vue +4 -1
- package/src/components/display/comments/AddCommentModal.vue +35 -50
- package/src/components/display/comments/CommentBasicView.vue +96 -0
- package/src/components/display/comments/CommentInput.vue +22 -28
- package/src/components/display/comments/CommentItem.vue +56 -148
- package/src/components/display/comments/CommentList.vue +56 -112
- package/src/components/display/comments/CommentParentInfo.vue +17 -57
- package/src/components/display/comments/CommentPlayer.vue +2 -7
- package/src/components/display/comments/CommentSection.vue +9 -24
- package/src/components/display/edit/EditCommentBox.vue +123 -23
- package/src/components/display/emission/EmissionList.vue +5 -2
- package/src/components/display/filter/AdvancedSearch.vue +1 -1
- package/src/components/display/live/LiveHorizontalList.vue +5 -2
- package/src/components/display/live/LiveList.vue +3 -3
- package/src/components/display/playlist/PlaylistList.vue +5 -2
- package/src/components/display/playlist/PodcastList.vue +5 -2
- package/src/components/display/podcasts/PodcastImage.vue +1 -1
- package/src/components/display/podcasts/PodcastInlineList.vue +2 -2
- package/src/components/display/podcasts/PodcastList.vue +5 -2
- package/src/components/misc/HomeDropdown.vue +74 -115
- package/src/components/misc/PlayerButtons.vue +1 -4
- package/src/components/misc/TopBar.vue +1 -1
- package/src/components/misc/modal/MessageModal.vue +1 -1
- package/src/components/pages/Emission.vue +2 -6
- package/src/locale/en.ts +1 -0
- package/src/locale/fr.ts +1 -0
- package/src/store/AppStore.ts +0 -3
- package/src/store/typeAppStore.ts +0 -1
|
@@ -1,105 +1,97 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="
|
|
3
|
+
class="d-flex align-items-center"
|
|
4
4
|
>
|
|
5
|
-
<
|
|
5
|
+
<button
|
|
6
6
|
v-if="authenticated"
|
|
7
|
-
class="
|
|
7
|
+
class="btn btn-primary m-1"
|
|
8
|
+
@click="goToUrl('/main/priv/backoffice')"
|
|
9
|
+
>
|
|
10
|
+
{{ $t('My space') }}
|
|
11
|
+
</button>
|
|
12
|
+
<div
|
|
13
|
+
class="dropdown btn-group"
|
|
8
14
|
>
|
|
9
15
|
<button
|
|
10
|
-
class="btn
|
|
11
|
-
@click="goToUrl('/main/priv/backoffice')"
|
|
12
|
-
>
|
|
13
|
-
{{ $t('My space') }}
|
|
14
|
-
</button>
|
|
15
|
-
<button
|
|
16
|
-
class="btn dropdown-toggle btn-primary data-selenium-dropdown-topbar dropdown-toggle-split"
|
|
16
|
+
class="btn dropdown-toggle m-1 admin-button dropdown-toggle-no-caret saooti-user-octopus"
|
|
17
17
|
data-bs-toggle="dropdown"
|
|
18
18
|
aria-expanded="false"
|
|
19
|
+
:title="$t('User menu')"
|
|
19
20
|
/>
|
|
20
21
|
<div class="dropdown-menu dropdown-menu-right px-4">
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
class="btn btn-primary w-100"
|
|
24
|
-
to="/main/priv/upload"
|
|
25
|
-
>
|
|
26
|
-
{{ $t('Upload') }}
|
|
27
|
-
</router-link>
|
|
28
|
-
<template v-if="!isPodcastmaker">
|
|
29
|
-
<router-link
|
|
30
|
-
to="/main/priv/backoffice"
|
|
31
|
-
class="show-phone dropdown-item"
|
|
32
|
-
>
|
|
33
|
-
{{ $t('My space') }}
|
|
34
|
-
</router-link>
|
|
35
|
-
<router-link
|
|
22
|
+
<template v-if="!authenticated">
|
|
23
|
+
<a
|
|
36
24
|
class="dropdown-item"
|
|
37
|
-
|
|
25
|
+
href="/sso/login"
|
|
38
26
|
>
|
|
39
|
-
{{ $t('
|
|
40
|
-
</
|
|
27
|
+
{{ $t('Login') }}
|
|
28
|
+
</a>
|
|
41
29
|
<router-link
|
|
42
|
-
v-if="
|
|
30
|
+
v-if="!isPodcastmaker"
|
|
43
31
|
class="dropdown-item"
|
|
44
|
-
to="/main/
|
|
32
|
+
to="/main/pub/create"
|
|
45
33
|
>
|
|
46
|
-
{{ $t('
|
|
34
|
+
{{ $t('Create an account') }}
|
|
47
35
|
</router-link>
|
|
48
36
|
</template>
|
|
49
|
-
<template v-
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
rel="noopener"
|
|
55
|
-
target="_blank"
|
|
56
|
-
>
|
|
57
|
-
{{ $t('Help') }}
|
|
58
|
-
</a>
|
|
59
|
-
<a
|
|
60
|
-
href="https://help.octopus.saooti.com/"
|
|
61
|
-
class="dropdown-item"
|
|
62
|
-
rel="noopener"
|
|
63
|
-
target="_blank"
|
|
64
|
-
>
|
|
65
|
-
{{ $t('TutoMag') }}
|
|
66
|
-
</a>
|
|
67
|
-
<hr class="dropdown-divider">
|
|
68
|
-
<a
|
|
69
|
-
class="dropdown-item"
|
|
70
|
-
href="/sso/logout"
|
|
37
|
+
<template v-else>
|
|
38
|
+
<router-link
|
|
39
|
+
v-if="isContribution && !isPodcastmaker"
|
|
40
|
+
class="btn btn-primary w-100"
|
|
41
|
+
to="/main/priv/upload"
|
|
71
42
|
>
|
|
72
|
-
{{ $t('
|
|
73
|
-
</
|
|
43
|
+
{{ $t('Upload') }}
|
|
44
|
+
</router-link>
|
|
45
|
+
<template v-if="!isPodcastmaker">
|
|
46
|
+
<router-link
|
|
47
|
+
to="/main/priv/backoffice"
|
|
48
|
+
class="show-phone dropdown-item"
|
|
49
|
+
>
|
|
50
|
+
{{ $t('My space') }}
|
|
51
|
+
</router-link>
|
|
52
|
+
<router-link
|
|
53
|
+
class="dropdown-item"
|
|
54
|
+
to="/main/priv/edit/profile"
|
|
55
|
+
>
|
|
56
|
+
{{ $t('Edit my profile') }}
|
|
57
|
+
</router-link>
|
|
58
|
+
<router-link
|
|
59
|
+
v-if="isOrganisation"
|
|
60
|
+
class="dropdown-item"
|
|
61
|
+
to="/main/priv/edit/organisation"
|
|
62
|
+
>
|
|
63
|
+
{{ $t('Edit my organisation') }}
|
|
64
|
+
</router-link>
|
|
65
|
+
</template>
|
|
66
|
+
<template v-if="!isEducation">
|
|
67
|
+
<hr class="dropdown-divider">
|
|
68
|
+
<a
|
|
69
|
+
href="https://help.octopus.saooti.com/Aide/"
|
|
70
|
+
class="dropdown-item"
|
|
71
|
+
rel="noopener"
|
|
72
|
+
target="_blank"
|
|
73
|
+
>
|
|
74
|
+
{{ $t('Help') }}
|
|
75
|
+
</a>
|
|
76
|
+
<a
|
|
77
|
+
href="https://help.octopus.saooti.com/"
|
|
78
|
+
class="dropdown-item"
|
|
79
|
+
rel="noopener"
|
|
80
|
+
target="_blank"
|
|
81
|
+
>
|
|
82
|
+
{{ $t('TutoMag') }}
|
|
83
|
+
</a>
|
|
84
|
+
<hr class="dropdown-divider">
|
|
85
|
+
<a
|
|
86
|
+
class="dropdown-item"
|
|
87
|
+
href="/sso/logout"
|
|
88
|
+
>
|
|
89
|
+
{{ $t('Logout') }}
|
|
90
|
+
</a>
|
|
91
|
+
</template>
|
|
74
92
|
</template>
|
|
75
93
|
</div>
|
|
76
94
|
</div>
|
|
77
|
-
<div
|
|
78
|
-
v-else
|
|
79
|
-
class="dropdown btn-group"
|
|
80
|
-
>
|
|
81
|
-
<button
|
|
82
|
-
class="btn dropdown-toggle m-1 admin-button dropdown-toggle-no-caret saooti-user-octopus"
|
|
83
|
-
data-bs-toggle="dropdown"
|
|
84
|
-
aria-expanded="false"
|
|
85
|
-
title="Profile"
|
|
86
|
-
/>
|
|
87
|
-
<div class="dropdown-menu dropdown-menu-right px-4">
|
|
88
|
-
<a
|
|
89
|
-
class="dropdown-item"
|
|
90
|
-
href="/sso/login"
|
|
91
|
-
>
|
|
92
|
-
{{ $t('Login') }}
|
|
93
|
-
</a>
|
|
94
|
-
<router-link
|
|
95
|
-
v-if="!isPodcastmaker"
|
|
96
|
-
class="dropdown-item"
|
|
97
|
-
to="/main/pub/create"
|
|
98
|
-
>
|
|
99
|
-
{{ $t('Create an account') }}
|
|
100
|
-
</router-link>
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
95
|
</div>
|
|
104
96
|
</template>
|
|
105
97
|
|
|
@@ -136,37 +128,4 @@ export default defineComponent({
|
|
|
136
128
|
},
|
|
137
129
|
},
|
|
138
130
|
})
|
|
139
|
-
</script>
|
|
140
|
-
|
|
141
|
-
<style lang="scss">
|
|
142
|
-
.top-bar-dropdown {
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
|
|
146
|
-
.main-button-dropdown {
|
|
147
|
-
padding-bottom: 0.4rem;
|
|
148
|
-
width: 140px;
|
|
149
|
-
text-align: left;
|
|
150
|
-
padding-left: 15px;
|
|
151
|
-
margin-right: 30px;
|
|
152
|
-
@media (max-width: 650px) {
|
|
153
|
-
display: none;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
.btn-group .dropdown-toggle-split {
|
|
157
|
-
align-items: center;
|
|
158
|
-
border-radius: 50%;
|
|
159
|
-
width: 40px !important;
|
|
160
|
-
height: 40px !important;
|
|
161
|
-
justify-content: center;
|
|
162
|
-
position: absolute;
|
|
163
|
-
right: 5px;
|
|
164
|
-
border: 4px solid white !important;
|
|
165
|
-
z-index: 2;
|
|
166
|
-
@media (max-width: 650px) {
|
|
167
|
-
position: relative;
|
|
168
|
-
right: auto;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
</style>
|
|
131
|
+
</script>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
/>
|
|
24
24
|
</div>
|
|
25
25
|
<div
|
|
26
|
-
v-if="
|
|
26
|
+
v-if="isPlaying || isPaused"
|
|
27
27
|
class="play-button-box primary-bg text-light"
|
|
28
28
|
@click="stopPlayer"
|
|
29
29
|
>
|
|
@@ -61,9 +61,6 @@ export default defineComponent({
|
|
|
61
61
|
if (this.$store.state.player.podcast) return this.$store.state.player.podcast.imageUrl;
|
|
62
62
|
return '';
|
|
63
63
|
},
|
|
64
|
-
isStop(): boolean{
|
|
65
|
-
return this.$store.state.player.stop;
|
|
66
|
-
},
|
|
67
64
|
media(): undefined|Media{
|
|
68
65
|
return this.$store.state.player.media;
|
|
69
66
|
},
|
|
@@ -233,12 +233,8 @@ export default defineComponent({
|
|
|
233
233
|
this.$emit('emissionTitle', this.name);
|
|
234
234
|
this.loaded = true;
|
|
235
235
|
if (!this.emission.annotations) return;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
if (this.emission.annotations.FTP) {
|
|
240
|
-
this.ftpEmission = true;
|
|
241
|
-
}
|
|
236
|
+
this.rssEmission = this.emission.annotations.RSS? true: false;
|
|
237
|
+
this.ftpEmission = this.emission.annotations.FTP? true: false;
|
|
242
238
|
if (this.emission.annotations.exclusive) {
|
|
243
239
|
this.exclusive =
|
|
244
240
|
'true' === this.emission.annotations.exclusive ? true : false;
|
package/src/locale/en.ts
CHANGED
package/src/locale/fr.ts
CHANGED
package/src/store/AppStore.ts
CHANGED