@saooti/octopus-sdk 30.0.7 → 30.0.11
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 +13 -2
- package/package.json +1 -1
- package/src/assets/bootstrap-diff.scss +17 -25
- package/src/assets/form.scss +7 -37
- package/src/assets/general.scss +62 -171
- 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 -267
- 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 -6
- package/src/components/display/comments/CommentParentInfo.vue +1 -1
- package/src/components/display/comments/CommentPlayer.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 +12 -3
- 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 +10 -9
- package/src/components/display/filter/AdvancedSearch.vue +50 -146
- package/src/components/display/filter/CategoryFilter.vue +9 -13
- package/src/components/display/filter/MonetizableFilter.vue +2 -4
- package/src/components/display/filter/ProductorSearch.vue +20 -40
- package/src/components/display/filter/RubriqueChoice.vue +5 -7
- package/src/components/display/filter/RubriqueFilter.vue +8 -13
- 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/organisation/OrganisationChooserLight.vue +7 -1
- 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 +2 -2
- package/src/components/display/playlist/PlaylistList.vue +8 -14
- package/src/components/display/playlist/PodcastList.vue +21 -40
- 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 +20 -63
- package/src/components/display/podcasts/PodcastImage.vue +27 -84
- package/src/components/display/podcasts/PodcastInlineList.vue +14 -36
- package/src/components/display/podcasts/PodcastItem.vue +5 -5
- 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 +30 -71
- 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 +10 -19
- package/src/components/display/sharing/SharePlayerColors.vue +4 -8
- package/src/components/display/sharing/SharePlayerTypes.vue +1 -2
- package/src/components/display/sharing/SubscribeButtons.vue +2 -4
- package/src/components/form/ClassicCheckbox.vue +61 -0
- package/src/components/form/ClassicLoading.vue +28 -0
- package/src/components/form/ClassicRadio.vue +61 -0
- package/src/components/form/ClassicSearch.vue +82 -0
- package/src/components/misc/ErrorMessage.vue +4 -1
- package/src/components/misc/Footer.vue +26 -35
- package/src/components/misc/HomeDropdown.vue +42 -91
- package/src/components/misc/LeftMenu.vue +107 -141
- package/src/components/misc/Player.vue +15 -29
- package/src/components/misc/PlayerButtons.vue +14 -37
- package/src/components/misc/PlayerClockAndTimeline.vue +1 -1
- package/src/components/misc/PlayerProgressBar.vue +15 -50
- package/src/components/misc/TopBar.vue +139 -222
- package/src/components/misc/modal/NewsletterModal.vue +13 -27
- package/src/components/pages/Category.vue +3 -8
- package/src/components/pages/Emission.vue +12 -24
- package/src/components/pages/Emissions.vue +8 -17
- package/src/components/pages/Home.vue +1 -3
- package/src/components/pages/Lives.vue +1 -4
- package/src/components/pages/Participant.vue +19 -27
- package/src/components/pages/Participants.vue +7 -15
- package/src/components/pages/Playlist.vue +16 -29
- package/src/components/pages/Playlists.vue +1 -11
- package/src/components/pages/Podcast.vue +16 -30
- package/src/components/pages/Podcasts.vue +9 -23
- package/src/components/pages/Search.vue +26 -64
- package/src/sass/_variables.scss +0 -1
- package/src/store/class/general/media.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
v-if="loading || (!loading && 0 !== allPodcasts.length)"
|
|
4
|
-
class="d-flex flex-column p-3
|
|
4
|
+
class="d-flex flex-column p-3"
|
|
5
5
|
>
|
|
6
6
|
<h2>{{ title }}</h2>
|
|
7
7
|
<div class="d-flex justify-content-between">
|
|
@@ -43,33 +43,27 @@
|
|
|
43
43
|
</button>
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
>
|
|
50
|
-
<div class="spinner-border me-3" />
|
|
51
|
-
<h3 class="mt-2">
|
|
52
|
-
{{ $t('Loading podcasts ...') }}
|
|
53
|
-
</h3>
|
|
54
|
-
</div>
|
|
46
|
+
<ClassicLoading
|
|
47
|
+
:loading-text="loading?$t('Loading podcasts ...'):undefined"
|
|
48
|
+
/>
|
|
55
49
|
<transition-group
|
|
56
50
|
v-show="loaded"
|
|
57
51
|
:name="transitionName"
|
|
58
|
-
class="
|
|
52
|
+
class="element-list-inline"
|
|
59
53
|
tag="ul"
|
|
60
54
|
:class="[alignLeft ? 'justify-content-start' : '']"
|
|
61
55
|
>
|
|
62
56
|
<PodcastItem
|
|
63
57
|
v-for="p in podcasts"
|
|
64
58
|
:key="p.podcastId"
|
|
65
|
-
class="flex-shrink item-phone-margin"
|
|
59
|
+
class="flex-shrink-0 item-phone-margin"
|
|
66
60
|
:podcast="p"
|
|
67
61
|
:class="[alignLeft ? 'me-3' : '']"
|
|
68
62
|
/>
|
|
69
63
|
</transition-group>
|
|
70
64
|
<router-link
|
|
71
65
|
class="btn btn-link"
|
|
72
|
-
:class="buttonPlus ? 'btn-
|
|
66
|
+
:class="buttonPlus ? 'btn-link-plus' : ''"
|
|
73
67
|
:to="refTo"
|
|
74
68
|
>
|
|
75
69
|
{{ buttonText }}
|
|
@@ -85,7 +79,7 @@
|
|
|
85
79
|
import octopusApi from '@saooti/octopus-api';
|
|
86
80
|
import domHelper from '../../../helper/dom';
|
|
87
81
|
import PodcastItem from './PodcastItem.vue';
|
|
88
|
-
|
|
82
|
+
import ClassicLoading from '../../form/ClassicLoading.vue';
|
|
89
83
|
const PHONE_WIDTH = 960;
|
|
90
84
|
|
|
91
85
|
import { Podcast } from '@/store/class/general/podcast';
|
|
@@ -96,7 +90,8 @@ export default defineComponent({
|
|
|
96
90
|
name: 'PodcastInlineList',
|
|
97
91
|
|
|
98
92
|
components: {
|
|
99
|
-
PodcastItem
|
|
93
|
+
PodcastItem,
|
|
94
|
+
ClassicLoading
|
|
100
95
|
},
|
|
101
96
|
|
|
102
97
|
props: {
|
|
@@ -171,30 +166,13 @@ export default defineComponent({
|
|
|
171
166
|
},
|
|
172
167
|
transitionName(): string {
|
|
173
168
|
return this.direction > 0 ? 'out-left' : 'out-right';
|
|
169
|
+
},
|
|
170
|
+
watchVariable():string{
|
|
171
|
+
return `${this.emissionId}|${this.organisationId}|${this.filterOrga}|${this.iabId}|${this.rubriqueId}|${this.rubriquageId}`;
|
|
174
172
|
}
|
|
175
173
|
},
|
|
176
174
|
watch: {
|
|
177
|
-
|
|
178
|
-
this.reset();
|
|
179
|
-
this.fetchNext();
|
|
180
|
-
},
|
|
181
|
-
organisationId(): void {
|
|
182
|
-
this.reset();
|
|
183
|
-
this.fetchNext();
|
|
184
|
-
},
|
|
185
|
-
filterOrga(): void {
|
|
186
|
-
this.reset();
|
|
187
|
-
this.fetchNext();
|
|
188
|
-
},
|
|
189
|
-
iabId(): void {
|
|
190
|
-
this.reset();
|
|
191
|
-
this.fetchNext();
|
|
192
|
-
},
|
|
193
|
-
rubriqueId(): void {
|
|
194
|
-
this.reset();
|
|
195
|
-
this.fetchNext();
|
|
196
|
-
},
|
|
197
|
-
rubriquageId(): void {
|
|
175
|
+
watchVariable(): void {
|
|
198
176
|
this.reset();
|
|
199
177
|
this.fetchNext();
|
|
200
178
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<li
|
|
3
|
-
class="podcast-item-container
|
|
3
|
+
class="podcast-item-container"
|
|
4
4
|
:class="[
|
|
5
5
|
podcastShadow ? 'shadow-element' : '',
|
|
6
6
|
podcastBorderBottom ? 'border-bottom' : '',
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
@mouseleave="hideDescription"
|
|
38
38
|
>
|
|
39
39
|
<div class="d-flex justify-content-between flex-wrap text-secondary mb-3">
|
|
40
|
-
<div class="me-3 small-
|
|
40
|
+
<div class="me-3 small-text">
|
|
41
41
|
{{ date }}
|
|
42
42
|
</div>
|
|
43
43
|
<div
|
|
44
44
|
v-if="0 !== duration.length"
|
|
45
|
-
class="small-
|
|
45
|
+
class="small-text"
|
|
46
46
|
>
|
|
47
|
-
|
|
47
|
+
{{ duration }}
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
50
50
|
<AnimatorsItem :animators="podcast.animators" />
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
params: { podcastId: podcast.podcastId },
|
|
55
55
|
query: { productor: $store.state.filter.organisationId },
|
|
56
56
|
}"
|
|
57
|
-
class="text-dark d-flex flex-column flex-grow"
|
|
57
|
+
class="text-dark d-flex flex-column flex-grow-1"
|
|
58
58
|
>
|
|
59
59
|
<div class="title-podcast-item">
|
|
60
60
|
{{ title }}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="d-flex flex-column align-items-center">
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<div class="spinner-border me-3" />
|
|
8
|
-
<h3 class="mt-2">
|
|
9
|
-
{{ $t('Loading podcasts ...') }}
|
|
10
|
-
</h3>
|
|
11
|
-
</div>
|
|
12
|
-
<div v-if="loaded && !podcasts.length">
|
|
13
|
-
<p>{{ $t('No podcast match your query') }}</p>
|
|
14
|
-
</div>
|
|
3
|
+
<ClassicLoading
|
|
4
|
+
:loading-text="loading?$t('Loading podcasts ...'):undefined"
|
|
5
|
+
:error-text="loaded && !podcasts.length?$t(`No podcast match your query`):undefined"
|
|
6
|
+
/>
|
|
15
7
|
<div
|
|
16
8
|
v-if="showCount && loaded && podcasts.length > 1"
|
|
17
9
|
class="text-secondary mb-2"
|
|
@@ -31,7 +23,7 @@
|
|
|
31
23
|
<button
|
|
32
24
|
v-show="!allFetched && loaded"
|
|
33
25
|
class="btn"
|
|
34
|
-
:class="buttonPlus ? 'btn-
|
|
26
|
+
:class="buttonPlus ? 'btn-link-plus' : 'btn-more'"
|
|
35
27
|
:disabled="inFetching"
|
|
36
28
|
:aria-label="$t('See more')"
|
|
37
29
|
@click="displayMore"
|
|
@@ -48,7 +40,7 @@
|
|
|
48
40
|
import octopusApi from '@saooti/octopus-api';
|
|
49
41
|
import PodcastItem from './PodcastItem.vue';
|
|
50
42
|
import { state } from '../../../store/paramStore';
|
|
51
|
-
|
|
43
|
+
import ClassicLoading from '../../form/ClassicLoading.vue';
|
|
52
44
|
import { Podcast } from '@/store/class/general/podcast';
|
|
53
45
|
import { defineComponent } from 'vue'
|
|
54
46
|
import { FetchParam } from '@/store/class/general/fetchParam';
|
|
@@ -57,6 +49,7 @@ export default defineComponent({
|
|
|
57
49
|
|
|
58
50
|
components: {
|
|
59
51
|
PodcastItem,
|
|
52
|
+
ClassicLoading
|
|
60
53
|
},
|
|
61
54
|
|
|
62
55
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="module-box">
|
|
3
|
-
<
|
|
3
|
+
<div
|
|
4
4
|
v-if="!isOuestFrance"
|
|
5
|
-
class="text-uppercase
|
|
5
|
+
class="text-uppercase h4"
|
|
6
6
|
>
|
|
7
7
|
{{ podcast.title }}
|
|
8
|
-
</
|
|
8
|
+
</div>
|
|
9
9
|
<router-link
|
|
10
10
|
v-else
|
|
11
11
|
:to="{
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
{{ podcast.title }}
|
|
43
43
|
</h3>
|
|
44
44
|
<div
|
|
45
|
-
class="
|
|
45
|
+
class="d-flex flex-wrap mb-3"
|
|
46
46
|
:class="isLiveReady ? 'justify-content-between' : ''"
|
|
47
47
|
>
|
|
48
48
|
<div
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
>
|
|
52
52
|
{{ date }}
|
|
53
53
|
</div>
|
|
54
|
-
<div
|
|
54
|
+
<div>
|
|
55
55
|
<span
|
|
56
56
|
v-if="isOuestFrance"
|
|
57
57
|
class="saooti-clock3"
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
v-html="urlify(podcast.description)"
|
|
71
71
|
/>
|
|
72
72
|
<!-- eslint-enable -->
|
|
73
|
-
<div class="
|
|
73
|
+
<div class="my-3">
|
|
74
74
|
<ParticipantDescription :participants="podcast.animators" />
|
|
75
75
|
<div v-if="!isOuestFrance">
|
|
76
76
|
{{ $t('Emission') + ' : ' }}
|
|
77
77
|
<router-link
|
|
78
|
-
class="
|
|
78
|
+
class="fw-bold"
|
|
79
79
|
:to="{
|
|
80
80
|
name: 'emission',
|
|
81
81
|
params: { emissionId: podcast.emission.emissionId },
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
<div v-if="!isPodcastmaker">
|
|
91
91
|
{{ $t('Producted by : ') }}
|
|
92
92
|
<router-link
|
|
93
|
-
class="
|
|
93
|
+
class="fw-bold"
|
|
94
94
|
:to="{
|
|
95
95
|
name: 'productor',
|
|
96
96
|
params: { productorId: podcast.organisation.id },
|
|
@@ -283,23 +283,4 @@ export default defineComponent({
|
|
|
283
283
|
})
|
|
284
284
|
</script>
|
|
285
285
|
|
|
286
|
-
<style lang="scss">
|
|
287
|
-
.title-page-podcast {
|
|
288
|
-
font-size: 0.9rem;
|
|
289
|
-
}
|
|
290
|
-
.width-fit-content{
|
|
291
|
-
width: fit-content;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.date-text-zone {
|
|
295
|
-
display: flex;
|
|
296
|
-
flex-wrap: wrap;
|
|
297
|
-
margin-bottom: 1rem;
|
|
298
|
-
@media (max-width: 600px) {
|
|
299
|
-
display: initial;
|
|
300
|
-
.duration {
|
|
301
|
-
margin-left: 0 !important;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
</style>
|
|
286
|
+
<style lang="scss"></style>
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
<div
|
|
7
7
|
v-for="(tag, index) in tagList"
|
|
8
8
|
:key="tag"
|
|
9
|
-
class="
|
|
9
|
+
class="tag-list-element"
|
|
10
10
|
>
|
|
11
11
|
<div
|
|
12
12
|
:id="'tag-list-from-podcast-page'+index"
|
|
13
|
-
class="tagListLink"
|
|
14
13
|
>
|
|
15
14
|
<img
|
|
16
15
|
v-if="isOuestFranceTag(tag)"
|
|
@@ -55,7 +54,7 @@ export default defineComponent({
|
|
|
55
54
|
height: 20px;
|
|
56
55
|
margin-right: 5px;
|
|
57
56
|
}
|
|
58
|
-
.
|
|
57
|
+
.tag-list-element {
|
|
59
58
|
display: flex;
|
|
60
59
|
margin: 0.4rem;
|
|
61
60
|
padding: 0.2rem;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<div
|
|
48
48
|
v-if="undefined!==option"
|
|
49
49
|
class="multiselect-octopus-proposition"
|
|
50
|
-
:class="option.rubriqueId <= 0 ? 'primary-
|
|
50
|
+
:class="option.rubriqueId <= 0 ? 'primary-darker' : ''"
|
|
51
51
|
:data-selenium="'rubric-chooser-' + seleniumFormat(option.name)"
|
|
52
52
|
>
|
|
53
53
|
<span class="option__title">{{ option.name }}</span>
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
{{ $t('No elements found. Consider changing the search query.') }}
|
|
61
61
|
</template>
|
|
62
62
|
<template #caret>
|
|
63
|
-
<span class="saooti-arrow_down octopus-arrow-down
|
|
63
|
+
<span class="saooti-arrow_down octopus-arrow-down" />
|
|
64
64
|
</template>
|
|
65
65
|
</VueMultiselect>
|
|
66
66
|
</div>
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="d-inline-flex w-100 mb-3
|
|
2
|
+
<div class="d-inline-flex w-100 mb-3 px-3 hide-phone">
|
|
3
3
|
<div
|
|
4
4
|
id="rubrique-list-container"
|
|
5
|
-
class="rubrique-list-container"
|
|
6
5
|
>
|
|
7
6
|
<select
|
|
8
7
|
v-model="rubriquage"
|
|
9
|
-
class="c-hand
|
|
8
|
+
class="c-hand"
|
|
10
9
|
@change="onRubriquageSelected"
|
|
11
10
|
>
|
|
12
11
|
<option
|
|
@@ -32,13 +31,11 @@
|
|
|
32
31
|
class="dropdown btn-group"
|
|
33
32
|
>
|
|
34
33
|
<button
|
|
35
|
-
class="btn dropdown-toggle
|
|
34
|
+
class="btn dropdown-toggle category-rubrique-item-plus dropdown-toggle-no-caret saooti-plus"
|
|
36
35
|
data-bs-toggle="dropdown"
|
|
37
36
|
aria-expanded="false"
|
|
38
37
|
:aria-label="$t('See more')"
|
|
39
|
-
|
|
40
|
-
<i class="saooti-plus" />
|
|
41
|
-
</button>
|
|
38
|
+
/>
|
|
42
39
|
<ul class="dropdown-menu dropdown-menu-right px-4">
|
|
43
40
|
<div
|
|
44
41
|
v-for="rubrique in hidenRubriques"
|
|
@@ -180,7 +177,7 @@ export default defineComponent({
|
|
|
180
177
|
</script>
|
|
181
178
|
|
|
182
179
|
<style lang="scss">
|
|
183
|
-
|
|
180
|
+
#rubrique-list-container {
|
|
184
181
|
display: flex;
|
|
185
182
|
justify-content: flex-start;
|
|
186
183
|
align-items: center;
|
|
@@ -193,7 +190,6 @@ export default defineComponent({
|
|
|
193
190
|
border-radius: 1.5rem;
|
|
194
191
|
margin: 0.2rem;
|
|
195
192
|
font-size: 0.6rem;
|
|
196
|
-
margin: 0.2rem;
|
|
197
193
|
padding: 0.5rem;
|
|
198
194
|
}
|
|
199
195
|
}
|
|
@@ -201,8 +197,6 @@ export default defineComponent({
|
|
|
201
197
|
font-size: 0.6rem;
|
|
202
198
|
margin: 0.2rem;
|
|
203
199
|
padding: 0.5rem;
|
|
204
|
-
display: block;
|
|
205
|
-
height: 1.5rem;
|
|
206
200
|
border-radius: 1.5rem;
|
|
207
201
|
border: 0;
|
|
208
202
|
display: flex;
|
|
@@ -210,22 +204,8 @@ export default defineComponent({
|
|
|
210
204
|
justify-content: center;
|
|
211
205
|
white-space: nowrap;
|
|
212
206
|
flex-shrink: 0;
|
|
213
|
-
}
|
|
214
|
-
button.rubrique-item {
|
|
215
|
-
.router-link-active {
|
|
216
|
-
background: #ddd !important;
|
|
217
|
-
}
|
|
218
207
|
&:hover {
|
|
219
208
|
background: #ddd !important;
|
|
220
209
|
}
|
|
221
210
|
}
|
|
222
|
-
|
|
223
|
-
.rubrique-list .rubrique-item-plus {
|
|
224
|
-
display: flex;
|
|
225
|
-
height: 1.5rem;
|
|
226
|
-
width: 1.5rem;
|
|
227
|
-
align-items: center;
|
|
228
|
-
justify-content: center;
|
|
229
|
-
font-size: 0.5rem;
|
|
230
|
-
}
|
|
231
211
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
id="accordionParameters"
|
|
4
|
-
class="accordion
|
|
4
|
+
class="accordion mt-3"
|
|
5
5
|
>
|
|
6
6
|
<div class="accordion-item">
|
|
7
7
|
<h2
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
<div class="accordion-body">
|
|
29
29
|
<div
|
|
30
30
|
v-if="choseNumberEpisode"
|
|
31
|
-
class="d-flex flex-column flex-grow"
|
|
31
|
+
class="d-flex flex-column flex-grow-1"
|
|
32
32
|
>
|
|
33
33
|
<div
|
|
34
34
|
v-if="displayChoiceAllEpisodes"
|
|
35
|
-
class="d-flex align-items-center
|
|
35
|
+
class="d-flex align-items-center flex-wrap mt-1"
|
|
36
36
|
>
|
|
37
37
|
<input
|
|
38
38
|
v-model="episodeNumbers"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
name="episodeNumbers"
|
|
42
42
|
value="all"
|
|
43
43
|
>
|
|
44
|
-
<span class="flex-shrink">{{ $t('Show every episode') }}</span>
|
|
44
|
+
<span class="flex-shrink-0">{{ $t('Show every episode') }}</span>
|
|
45
45
|
</div>
|
|
46
46
|
<div
|
|
47
47
|
class="d-flex align-items-center flex-wrap"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
name="episodeNumbers"
|
|
56
56
|
value="number"
|
|
57
57
|
>
|
|
58
|
-
<span class="flex-shrink">{{ $t('Show') }}</span>
|
|
58
|
+
<span class="flex-shrink-0">{{ $t('Show') }}</span>
|
|
59
59
|
<input
|
|
60
60
|
id="number-input"
|
|
61
61
|
v-model="iFrameNumber"
|
|
@@ -66,56 +66,30 @@
|
|
|
66
66
|
>
|
|
67
67
|
<label
|
|
68
68
|
for="number-input"
|
|
69
|
-
class="d-inline"
|
|
70
69
|
:aria-label="$t('Number of player podcasts')"
|
|
71
70
|
/>
|
|
72
|
-
<span class="flex-shrink">{{ $t('Last podcasts') }}</span>
|
|
73
|
-
</div>
|
|
74
|
-
<div>
|
|
75
|
-
<input
|
|
76
|
-
id="proceedCheck"
|
|
77
|
-
v-model="proceedReading"
|
|
78
|
-
type="checkbox"
|
|
79
|
-
class="form-check-input"
|
|
80
|
-
>
|
|
81
|
-
<label
|
|
82
|
-
class="form-check-label"
|
|
83
|
-
for="proceedCheck"
|
|
84
|
-
>{{
|
|
85
|
-
$t('Proceed reading')
|
|
86
|
-
}}</label>
|
|
87
|
-
</div>
|
|
88
|
-
<div>
|
|
89
|
-
<input
|
|
90
|
-
id="isVisibleCheckbox"
|
|
91
|
-
v-model="isVisibleTemp"
|
|
92
|
-
type="checkbox"
|
|
93
|
-
class="form-check-input"
|
|
94
|
-
>
|
|
95
|
-
<label
|
|
96
|
-
class="form-check-label me-2"
|
|
97
|
-
for="isVisibleCheckbox"
|
|
98
|
-
>{{ $t('Podcasts still available') }}</label>
|
|
71
|
+
<span class="flex-shrink-0">{{ $t('Last podcasts') }}</span>
|
|
99
72
|
</div>
|
|
73
|
+
<ClassicCheckbox
|
|
74
|
+
v-model:textInit="proceedReading"
|
|
75
|
+
id-checkbox="proceed-reading-checkbox"
|
|
76
|
+
:label="$t('Proceed reading')"
|
|
77
|
+
/>
|
|
78
|
+
<ClassicCheckbox
|
|
79
|
+
v-model:textInit="isVisibleTemp"
|
|
80
|
+
id-checkbox="is-visible-checkbox"
|
|
81
|
+
:label="$t('Podcasts still available')"
|
|
82
|
+
/>
|
|
100
83
|
</div>
|
|
101
84
|
<div
|
|
102
85
|
v-else
|
|
103
|
-
class="d-flex flex-column flex-grow"
|
|
86
|
+
class="d-flex flex-column flex-grow-1"
|
|
104
87
|
>
|
|
105
|
-
<
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
class="form-check-input"
|
|
111
|
-
>
|
|
112
|
-
<label
|
|
113
|
-
class="form-check-label"
|
|
114
|
-
for="proceedCheck"
|
|
115
|
-
>{{
|
|
116
|
-
$t('Display associated article')
|
|
117
|
-
}}</label>
|
|
118
|
-
</div>
|
|
88
|
+
<ClassicCheckbox
|
|
89
|
+
v-model:textInit="displayArticle"
|
|
90
|
+
id-checkbox="display-article-checkbox"
|
|
91
|
+
:label="$t('Display associated article')"
|
|
92
|
+
/>
|
|
119
93
|
</div>
|
|
120
94
|
</div>
|
|
121
95
|
</div>
|
|
@@ -124,8 +98,12 @@
|
|
|
124
98
|
</template>
|
|
125
99
|
|
|
126
100
|
<script lang="ts">
|
|
101
|
+
import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
|
|
127
102
|
import { defineComponent } from 'vue'
|
|
128
103
|
export default defineComponent({
|
|
104
|
+
components:{
|
|
105
|
+
ClassicCheckbox,
|
|
106
|
+
},
|
|
129
107
|
props: {
|
|
130
108
|
isVisible: { default: false, type: Boolean},
|
|
131
109
|
choseNumberEpisode: {default: false, type: Boolean},
|
|
@@ -179,28 +157,9 @@ export default defineComponent({
|
|
|
179
157
|
</script>
|
|
180
158
|
|
|
181
159
|
<style lang="scss">
|
|
182
|
-
.player
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
.card-header {
|
|
188
|
-
border: 0;
|
|
189
|
-
background-color: #fafafa;
|
|
190
|
-
padding: 0;
|
|
191
|
-
}
|
|
192
|
-
.card-body {
|
|
193
|
-
padding: 0.25rem;
|
|
194
|
-
border: 0.05rem solid #eee;
|
|
195
|
-
background-color: #fafafa;
|
|
196
|
-
.custom-control {
|
|
197
|
-
padding-left: 0;
|
|
198
|
-
}
|
|
199
|
-
input[type='number'] {
|
|
200
|
-
padding-left: 10px;
|
|
201
|
-
text-align: center;
|
|
202
|
-
width: 90px;
|
|
203
|
-
}
|
|
160
|
+
.input-share-player {
|
|
161
|
+
border: 1px solid #ddd;
|
|
162
|
+
border-radius: 50px;
|
|
163
|
+
width: 60px;
|
|
204
164
|
}
|
|
205
|
-
}
|
|
206
165
|
</style>
|
|
@@ -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>
|