@saooti/octopus-sdk 30.0.19 → 30.0.23
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 +2 -2
- package/src/assets/bootstrap-diff.scss +30 -84
- package/src/assets/form.scss +6 -3
- package/src/assets/general.scss +14 -3
- package/src/assets/share.scss +17 -43
- package/src/components/display/aggregator/RssSection.vue +1 -3
- package/src/components/display/categories/CategoryChooser.vue +1 -3
- package/src/components/display/categories/CategoryFilter.vue +5 -4
- package/src/components/display/categories/CategoryList.vue +4 -15
- 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/EditBox.vue +0 -2
- package/src/components/display/edit/EditCommentBox.vue +123 -23
- package/src/components/display/emission/EmissionChooser.vue +1 -3
- package/src/components/display/emission/EmissionInlineList.vue +2 -2
- package/src/components/display/emission/EmissionItem.vue +1 -2
- package/src/components/display/emission/EmissionList.vue +5 -2
- package/src/components/display/filter/AdvancedSearch.vue +2 -2
- package/src/components/display/filter/CategoryFilter.vue +0 -2
- package/src/components/display/filter/MonetizableFilter.vue +1 -3
- package/src/components/display/filter/ProductorSearch.vue +2 -2
- package/src/components/display/filter/RubriqueChoice.vue +1 -3
- package/src/components/display/filter/RubriqueFilter.vue +1 -3
- package/src/components/display/live/CountDown.vue +1 -3
- package/src/components/display/live/LiveHorizontalList.vue +6 -5
- package/src/components/display/organisation/OrganisationChooser.vue +1 -3
- package/src/components/display/playlist/PlaylistItem.vue +2 -4
- package/src/components/display/playlist/PlaylistList.vue +6 -5
- package/src/components/display/playlist/PodcastList.vue +5 -2
- package/src/components/display/podcasts/ParticipantDescription.vue +1 -3
- package/src/components/display/podcasts/PodcastFilterList.vue +1 -3
- package/src/components/display/podcasts/PodcastImage.vue +1 -1
- package/src/components/display/podcasts/PodcastInlineList.vue +5 -7
- package/src/components/display/podcasts/PodcastList.vue +6 -5
- package/src/components/display/podcasts/PodcastModuleBox.vue +1 -3
- package/src/components/display/podcasts/TagList.vue +2 -1
- package/src/components/display/rubriques/RubriqueChooser.vue +1 -3
- package/src/components/display/rubriques/RubriqueList.vue +1 -1
- package/src/components/display/sharing/QrCode.vue +1 -3
- package/src/components/display/sharing/ShareDistribution.vue +1 -6
- package/src/components/display/sharing/SharePlayer.vue +1 -1
- package/src/components/display/sharing/SubscribeButtons.vue +3 -5
- package/src/components/display/studio/RecordingItemButton.vue +1 -3
- package/src/components/form/ClassicSearch.vue +21 -19
- package/src/components/misc/HomeDropdown.vue +74 -115
- package/src/components/misc/PlayerButtons.vue +1 -4
- package/src/components/misc/TopBar.vue +2 -2
- package/src/components/misc/modal/MessageModal.vue +2 -4
- package/src/components/misc/modal/QrCodeModal.vue +1 -3
- package/src/components/pages/Emission.vue +2 -6
- package/src/components/pages/Rubrique.vue +1 -3
- package/src/locale/en.ts +2 -0
- package/src/locale/fr.ts +2 -0
- package/src/sass/_variables.scss +10 -7
- 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
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
:reset="reset"
|
|
35
35
|
@selected="onOrganisationSelected"
|
|
36
36
|
/>
|
|
37
|
-
<div class="d-flex justify-content-
|
|
37
|
+
<div class="d-flex justify-content-end flex-grow-1">
|
|
38
38
|
<router-link
|
|
39
39
|
v-if="
|
|
40
40
|
isLiveTab &&
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
</div>
|
|
102
102
|
<div class="d-flex flex-column">
|
|
103
103
|
<div class="hosted-by">
|
|
104
|
-
<span>{{ $t('Hosted by') }}</span><span class="ms-1 me-1 primary-
|
|
104
|
+
<span>{{ $t('Hosted by') }}</span><span class="ms-1 me-1 primary-darker">Saooti</span>
|
|
105
105
|
</div>
|
|
106
106
|
<div class="d-flex justify-content-end flex-nowrap">
|
|
107
107
|
<HomeDropdown :is-education="isEducation" />
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
>
|
|
33
33
|
<button
|
|
34
34
|
v-if="canceltext"
|
|
35
|
-
class="btn
|
|
35
|
+
class="btn m-1"
|
|
36
36
|
@click="onCancel"
|
|
37
37
|
>
|
|
38
38
|
{{ canceltext }}
|
|
@@ -86,6 +86,4 @@ export default defineComponent({
|
|
|
86
86
|
},
|
|
87
87
|
},
|
|
88
88
|
})
|
|
89
|
-
</script>
|
|
90
|
-
|
|
91
|
-
<style lang="scss"></style>
|
|
89
|
+
</script>
|
|
@@ -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/sass/_variables.scss
CHANGED
|
@@ -5,7 +5,7 @@ $body-bg: #f8fafc;
|
|
|
5
5
|
$font-family-sans-serif: 'Roboto', sans-serif;
|
|
6
6
|
$font-size-base: 0.9rem;
|
|
7
7
|
$line-height-base: 1.6;
|
|
8
|
-
$primary: #
|
|
8
|
+
$primary: #32815C;
|
|
9
9
|
|
|
10
10
|
// Colors
|
|
11
11
|
$blue: #3490dc;
|
|
@@ -20,13 +20,16 @@ $teal: #4dc0b5;
|
|
|
20
20
|
$cyan: #6cb2eb;
|
|
21
21
|
|
|
22
22
|
//Octopus style
|
|
23
|
-
$octopus-background: #
|
|
24
|
-
$octopus-secondary-background: #fafafa;
|
|
23
|
+
$octopus-background: #fafafa;
|
|
25
24
|
$octopus-primary-color: #40a372;
|
|
26
25
|
$octopus-secondary-color : #ddd;
|
|
27
|
-
$octopus-
|
|
28
|
-
$octopus-third-color:
|
|
29
|
-
$octopus-primary-dark : #
|
|
30
|
-
$primaryColorReallyTransparent : #
|
|
26
|
+
$octopus-primary-linear-background: #7fd8ab;
|
|
27
|
+
$octopus-third-color: #fdff7b;
|
|
28
|
+
$octopus-primary-dark : #32815C;
|
|
29
|
+
$primaryColorReallyTransparent : #05050593;
|
|
30
|
+
|
|
31
|
+
$primaryColorTransparent : #40a37193;
|
|
32
|
+
$primaryColorMoreTransparent : #40a37154;
|
|
33
|
+
$primaryColorReallyTransparent : #cef7e250;
|
|
31
34
|
|
|
32
35
|
|
package/src/store/AppStore.ts
CHANGED