@saooti/octopus-sdk 30.0.8 → 30.0.12
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/index.ts +5 -2
- package/package.json +1 -1
- package/src/assets/bootstrap-diff.scss +16 -27
- package/src/assets/form.scss +9 -38
- package/src/assets/general.scss +50 -154
- package/src/assets/live.scss +39 -0
- package/src/assets/modal.scss +14 -18
- package/src/assets/multiselect.scss +4 -85
- package/src/assets/octopus-library.scss +1 -0
- package/src/assets/share.scss +149 -256
- package/src/assets/transition.scss +95 -1
- package/src/components/display/categories/CategoryChooser.vue +1 -1
- package/src/components/display/categories/CategoryList.vue +2 -4
- package/src/components/display/comments/CommentInput.vue +2 -2
- package/src/components/display/comments/CommentItem.vue +6 -7
- package/src/components/display/comments/CommentParentInfo.vue +1 -1
- package/src/components/display/edit/EditCommentBox.vue +8 -16
- package/src/components/display/emission/EmissionChooser.vue +1 -3
- package/src/components/display/emission/EmissionInlineList.vue +11 -2
- package/src/components/display/emission/EmissionItem.vue +22 -64
- package/src/components/display/emission/EmissionList.vue +59 -68
- package/src/components/display/emission/EmissionPlayerItem.vue +9 -8
- package/src/components/display/filter/AdvancedSearch.vue +11 -45
- package/src/components/display/filter/MonetizableFilter.vue +2 -4
- package/src/components/display/filter/ProductorSearch.vue +0 -1
- package/src/components/display/filter/RubriqueChoice.vue +4 -6
- package/src/components/display/filter/RubriqueFilter.vue +0 -1
- package/src/components/display/live/CountDown.vue +4 -2
- package/src/components/display/live/LiveHorizontalList.vue +1 -1
- package/src/components/display/live/LiveItem.vue +4 -4
- package/src/components/display/live/LiveList.vue +84 -214
- package/src/components/display/organisation/OrganisationChooser.vue +5 -26
- package/src/components/display/participant/ParticipantItem.vue +7 -19
- package/src/components/display/participant/ParticipantList.vue +39 -52
- package/src/components/display/playlist/PlaylistItem.vue +1 -1
- package/src/components/display/playlist/PlaylistList.vue +8 -14
- package/src/components/display/playlist/PodcastList.vue +14 -22
- package/src/components/display/podcasts/AnimatorsItem.vue +0 -1
- package/src/components/display/podcasts/ParticipantDescription.vue +4 -16
- package/src/components/display/podcasts/PodcastFilterList.vue +13 -47
- package/src/components/display/podcasts/PodcastImage.vue +26 -83
- package/src/components/display/podcasts/PodcastInlineList.vue +13 -35
- package/src/components/display/podcasts/PodcastItem.vue +4 -4
- package/src/components/display/podcasts/PodcastList.vue +7 -14
- package/src/components/display/podcasts/PodcastModuleBox.vue +9 -28
- package/src/components/display/podcasts/TagList.vue +2 -3
- package/src/components/display/rubriques/RubriqueChooser.vue +2 -2
- package/src/components/display/rubriques/RubriqueList.vue +5 -25
- package/src/components/display/sharing/PlayerParameters.vue +6 -26
- package/src/components/display/sharing/ShareButtons.vue +21 -45
- package/src/components/display/sharing/ShareDistribution.vue +1 -7
- package/src/components/display/sharing/SharePlayer.vue +2 -2
- package/src/components/display/sharing/SharePlayerColors.vue +3 -7
- package/src/components/display/sharing/SharePlayerTypes.vue +1 -2
- package/src/components/display/sharing/SubscribeButtons.vue +1 -3
- package/src/components/misc/ErrorMessage.vue +3 -0
- package/src/components/misc/HomeDropdown.vue +2 -2
- package/src/components/misc/LeftMenu.vue +1 -2
- package/src/components/misc/Player.vue +1 -1
- package/src/components/misc/PlayerClockAndTimeline.vue +1 -1
- package/src/components/misc/PlayerProgressBar.vue +1 -1
- package/src/components/misc/TopBar.vue +1 -2
- package/src/components/pages/Lives.vue +0 -1
- package/src/components/pages/Participant.vue +1 -1
- package/src/sass/_variables.scss +0 -1
- package/src/store/class/general/media.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="module-box text-center-mobile
|
|
3
|
-
<div class="d-flex align-items-center mb-3
|
|
2
|
+
<div class="module-box text-center-mobile">
|
|
3
|
+
<div class="d-flex align-items-center mb-3">
|
|
4
4
|
<h3
|
|
5
5
|
v-if="
|
|
6
6
|
!bigRound &&
|
|
@@ -13,9 +13,8 @@
|
|
|
13
13
|
<span
|
|
14
14
|
v-if="authenticated"
|
|
15
15
|
id="popover-share-help"
|
|
16
|
-
role="button"
|
|
17
16
|
tabindex="-1"
|
|
18
|
-
class="saooti-help
|
|
17
|
+
class="saooti-help ms-2"
|
|
19
18
|
:aria-label="$t('Help')"
|
|
20
19
|
/>
|
|
21
20
|
<Popover
|
|
@@ -30,12 +29,12 @@
|
|
|
30
29
|
class="d-flex"
|
|
31
30
|
:class="[
|
|
32
31
|
bigRound && !audioUrl ? 'justify-content-center' : '',
|
|
33
|
-
verticalDisplay ? 'flex-
|
|
32
|
+
verticalDisplay ? 'd-flex-row' : '',
|
|
34
33
|
]"
|
|
35
34
|
>
|
|
36
35
|
<a
|
|
37
36
|
v-if="audioUrl"
|
|
38
|
-
class="btn btn-
|
|
37
|
+
class="btn btn-big-round"
|
|
39
38
|
:title="$t('Downloading')"
|
|
40
39
|
:href="audioUrl"
|
|
41
40
|
rel="noopener"
|
|
@@ -50,8 +49,8 @@
|
|
|
50
49
|
target="_blank"
|
|
51
50
|
:href="facebookURL"
|
|
52
51
|
:class="[
|
|
53
|
-
bigRound ? 'btn btn-
|
|
54
|
-
verticalDisplay ? '' : '
|
|
52
|
+
bigRound ? 'btn btn-big-round' : 'btn btn-facebook share-btn mb-2',
|
|
53
|
+
verticalDisplay ? '' : 'mx-2',
|
|
55
54
|
]"
|
|
56
55
|
title="Facebook"
|
|
57
56
|
aria-label="Facebook"
|
|
@@ -69,8 +68,8 @@
|
|
|
69
68
|
rel="noopener"
|
|
70
69
|
target="_blank"
|
|
71
70
|
:class="[
|
|
72
|
-
bigRound ? 'btn btn-
|
|
73
|
-
verticalDisplay ? '' : '
|
|
71
|
+
bigRound ? 'btn btn-big-round' : 'btn btn-twitter share-btn mb-2',
|
|
72
|
+
verticalDisplay ? '' : 'mx-2',
|
|
74
73
|
]"
|
|
75
74
|
:href="twitterURL"
|
|
76
75
|
title="Twitter"
|
|
@@ -89,8 +88,8 @@
|
|
|
89
88
|
rel="noopener"
|
|
90
89
|
target="_blank"
|
|
91
90
|
:class="[
|
|
92
|
-
bigRound ? 'btn btn-
|
|
93
|
-
verticalDisplay ? '' : '
|
|
91
|
+
bigRound ? 'btn btn-big-round' : 'btn btn-linkedin share-btn mb-2',
|
|
92
|
+
verticalDisplay ? '' : 'mx-2',
|
|
94
93
|
]"
|
|
95
94
|
:href="linkedinURL"
|
|
96
95
|
title="Linkedin"
|
|
@@ -110,8 +109,8 @@
|
|
|
110
109
|
rel="noopener"
|
|
111
110
|
target="_blank"
|
|
112
111
|
:class="[
|
|
113
|
-
bigRound ? 'btn btn-
|
|
114
|
-
verticalDisplay ? '' : '
|
|
112
|
+
bigRound ? 'btn btn-big-round' : 'btn btn-rss share-btn mb-2',
|
|
113
|
+
verticalDisplay ? '' : 'mx-2',
|
|
115
114
|
]"
|
|
116
115
|
:href="rssUrl"
|
|
117
116
|
:title="$t('Subscribe to this emission')"
|
|
@@ -131,8 +130,8 @@
|
|
|
131
130
|
rel="noopener"
|
|
132
131
|
target="_blank"
|
|
133
132
|
:class="[
|
|
134
|
-
bigRound ? 'btn btn-
|
|
135
|
-
verticalDisplay ? '' : '
|
|
133
|
+
bigRound ? 'btn btn-big-round' : 'btn btn-rss share-btn mb-2',
|
|
134
|
+
verticalDisplay ? '' : 'mx-2',
|
|
136
135
|
]"
|
|
137
136
|
aria-label="copy"
|
|
138
137
|
:title="$t('Copy this page URL')"
|
|
@@ -152,8 +151,8 @@
|
|
|
152
151
|
rel="noopener"
|
|
153
152
|
target="_blank"
|
|
154
153
|
:class="[
|
|
155
|
-
bigRound ? 'btn btn-
|
|
156
|
-
verticalDisplay ? '' : '
|
|
154
|
+
bigRound ? 'btn btn-big-round' : 'btn btn-rss share-btn mb-2',
|
|
155
|
+
verticalDisplay ? '' : 'mx-2',
|
|
157
156
|
]"
|
|
158
157
|
:aria-label="$t('Share newsletter')"
|
|
159
158
|
:title="$t('Share newsletter')"
|
|
@@ -173,8 +172,8 @@
|
|
|
173
172
|
rel="noopener"
|
|
174
173
|
target="_blank"
|
|
175
174
|
:class="[
|
|
176
|
-
bigRound ? 'btn btn-
|
|
177
|
-
verticalDisplay ? '' : '
|
|
175
|
+
bigRound ? 'btn btn-big-round' : 'btn btn-rss share-btn mb-2',
|
|
176
|
+
verticalDisplay ? '' : 'mx-2',
|
|
178
177
|
]"
|
|
179
178
|
:aria-label="$t('Share QR Code')"
|
|
180
179
|
:title="$t('Share QR Code')"
|
|
@@ -195,8 +194,8 @@
|
|
|
195
194
|
target="_blank"
|
|
196
195
|
:href="whatsappURL"
|
|
197
196
|
:class="[
|
|
198
|
-
bigRound ? 'btn btn-
|
|
199
|
-
verticalDisplay ? '' : '
|
|
197
|
+
bigRound ? 'btn btn-big-round' : 'btn btn-whatsapp share-btn mb-2',
|
|
198
|
+
verticalDisplay ? '' : 'mx-2',
|
|
200
199
|
]"
|
|
201
200
|
aria-label="Whatsapp"
|
|
202
201
|
title="Whatsapp"
|
|
@@ -348,26 +347,3 @@ export default defineComponent({
|
|
|
348
347
|
},
|
|
349
348
|
})
|
|
350
349
|
</script>
|
|
351
|
-
|
|
352
|
-
<style lang="scss">
|
|
353
|
-
.share-button-page {
|
|
354
|
-
.saooti-Whatsapp{
|
|
355
|
-
width: 25px;
|
|
356
|
-
height: 25px;
|
|
357
|
-
}
|
|
358
|
-
@media (max-width: 960px) {
|
|
359
|
-
.flex-column {
|
|
360
|
-
flex-direction: row !important;
|
|
361
|
-
}
|
|
362
|
-
.btn {
|
|
363
|
-
margin-right: 0.5rem;
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
@media (max-width: 450px) {
|
|
367
|
-
.flex-column {
|
|
368
|
-
flex-direction: row !important;
|
|
369
|
-
flex-wrap: wrap;
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
</style>
|
|
@@ -131,7 +131,6 @@ export default defineComponent({
|
|
|
131
131
|
data() {
|
|
132
132
|
return {
|
|
133
133
|
emission: undefined as Emission|undefined,
|
|
134
|
-
error: false as boolean,
|
|
135
134
|
rss: '' as string,
|
|
136
135
|
};
|
|
137
136
|
},
|
|
@@ -143,12 +142,7 @@ export default defineComponent({
|
|
|
143
142
|
|
|
144
143
|
methods: {
|
|
145
144
|
async getEmissionDetails(): Promise<void> {
|
|
146
|
-
|
|
147
|
-
const data = await octopusApi.fetchEmission(this.emissionId);
|
|
148
|
-
this.emission = data;
|
|
149
|
-
} catch {
|
|
150
|
-
this.error = true;
|
|
151
|
-
}
|
|
145
|
+
this.emission = await octopusApi.fetchEmission(this.emissionId);
|
|
152
146
|
},
|
|
153
147
|
getRSS(): void {
|
|
154
148
|
if (!this.$props.emissionId || this.$props.emissionId <= 0) return;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
frameborder="0"
|
|
19
19
|
:width="iFrameWidth"
|
|
20
20
|
:height="iFrameHeight"
|
|
21
|
-
class="
|
|
21
|
+
class="max-iframe"
|
|
22
22
|
/>
|
|
23
23
|
<div class="d-flex flex-column">
|
|
24
24
|
<button
|
|
@@ -379,7 +379,7 @@ export default defineComponent({
|
|
|
379
379
|
box-shadow: 2px 8px 4px -6px hsla(0, 0%, 0%, 0.3);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
.
|
|
382
|
+
.max-iframe {
|
|
383
383
|
max-width: 300px;
|
|
384
384
|
}
|
|
385
385
|
</style>
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="d-flex justify-content-around mt-3
|
|
2
|
+
<div class="d-flex justify-content-around mt-3 w-100">
|
|
3
3
|
<div class="d-flex flex-column align-items-center flex-shrink-0 me-3">
|
|
4
|
-
<div
|
|
5
|
-
{{ $t('Choose color') }}
|
|
6
|
-
</div>
|
|
4
|
+
<div>{{ $t('Choose color') }}</div>
|
|
7
5
|
<VSwatches
|
|
8
6
|
v-model="internColor"
|
|
9
7
|
class="c-hand input-no-outline"
|
|
@@ -14,9 +12,7 @@
|
|
|
14
12
|
/>
|
|
15
13
|
</div>
|
|
16
14
|
<div class="d-flex flex-column align-items-center">
|
|
17
|
-
<div
|
|
18
|
-
{{ $t('Choose theme') }}
|
|
19
|
-
</div>
|
|
15
|
+
<div>{{ $t('Choose theme') }}</div>
|
|
20
16
|
<VSwatches
|
|
21
17
|
v-model="internTheme"
|
|
22
18
|
class="c-hand input-no-outline"
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
<div class="d-flex flex-column">
|
|
3
3
|
<label
|
|
4
4
|
for="iframe-select"
|
|
5
|
-
class="d-inline"
|
|
6
5
|
aria-label="select miniplayer"
|
|
7
6
|
/>
|
|
8
7
|
<select
|
|
9
8
|
id="iframe-select"
|
|
10
9
|
:value="iFrameModel"
|
|
11
|
-
class="
|
|
10
|
+
class="input-no-outline"
|
|
12
11
|
@change="$emit('update:iFrameModel',$event.target.value)"
|
|
13
12
|
>
|
|
14
13
|
<option value="default">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="module-box flex-grow-0">
|
|
3
3
|
<div class="d-flex align-items-center mb-3">
|
|
4
|
-
<h3 class="mb-0
|
|
4
|
+
<h3 class="mb-0">
|
|
5
5
|
{{ $t('Subscribe emission') }}
|
|
6
6
|
</h3>
|
|
7
7
|
</div>
|
|
@@ -197,5 +197,3 @@ export default defineComponent({
|
|
|
197
197
|
},
|
|
198
198
|
})
|
|
199
199
|
</script>
|
|
200
|
-
|
|
201
|
-
<style lang="scss"></style>
|
|
@@ -156,8 +156,8 @@ export default defineComponent({
|
|
|
156
156
|
.btn-group .dropdown-toggle-split {
|
|
157
157
|
align-items: center;
|
|
158
158
|
border-radius: 50%;
|
|
159
|
-
width: 40px;
|
|
160
|
-
height: 40px;
|
|
159
|
+
width: 40px !important;
|
|
160
|
+
height: 40px !important;
|
|
161
161
|
justify-content: center;
|
|
162
162
|
position: absolute;
|
|
163
163
|
right: 5px;
|
|
@@ -81,11 +81,10 @@
|
|
|
81
81
|
page="leftMenu"
|
|
82
82
|
:defaultanswer="$t('No organisation filter')"
|
|
83
83
|
:value="organisationId"
|
|
84
|
-
:light="true"
|
|
85
84
|
:reset="reset"
|
|
86
85
|
@selected="onOrganisationSelected"
|
|
87
86
|
/>
|
|
88
|
-
<
|
|
87
|
+
<hr class="show-phone">
|
|
89
88
|
<router-link
|
|
90
89
|
v-for="category in categories"
|
|
91
90
|
:key="category.id"
|
|
@@ -125,7 +125,7 @@ export default defineComponent({
|
|
|
125
125
|
},
|
|
126
126
|
}),
|
|
127
127
|
audioUrl(): string {
|
|
128
|
-
if (this.media) return this.media.audioUrl;
|
|
128
|
+
if (this.media) return this.media.audioUrl? this.media.audioUrl:"";
|
|
129
129
|
if (!this.podcast) return '';
|
|
130
130
|
if (!this.podcast.availability.visibility)
|
|
131
131
|
return this.podcast.audioStorageUrl;
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
width="auto"
|
|
31
31
|
:defaultanswer="$t('No organisation filter')"
|
|
32
32
|
:value="organisationId"
|
|
33
|
-
:light="true"
|
|
34
33
|
class="me-2"
|
|
35
34
|
:reset="reset"
|
|
36
35
|
@selected="onOrganisationSelected"
|
|
@@ -104,7 +103,7 @@
|
|
|
104
103
|
<div class="hosted-by">
|
|
105
104
|
<span>{{ $t('Hosted by') }}</span><span class="ms-1 me-1 primary-color">Saooti</span>
|
|
106
105
|
</div>
|
|
107
|
-
<div class="d-flex justify-content-end flex-
|
|
106
|
+
<div class="d-flex justify-content-end flex-nowrap">
|
|
108
107
|
<HomeDropdown :is-education="isEducation" />
|
|
109
108
|
<router-link
|
|
110
109
|
:aria-label="$t('Search')"
|
package/src/sass/_variables.scss
CHANGED
|
@@ -26,7 +26,6 @@ $octopus-primary-color: #40a372;
|
|
|
26
26
|
$octopus-secondary-color : #ddd;
|
|
27
27
|
$octopus-light-secondary-color: #eee;
|
|
28
28
|
$octopus-third-color: rgba(214,217,31,1);
|
|
29
|
-
$octopus-alert-text: darkred;
|
|
30
29
|
$octopus-primary-dark : #48a879;
|
|
31
30
|
$primaryColorReallyTransparent : #a2f3c993;
|
|
32
31
|
|