@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
|
@@ -6,17 +6,13 @@
|
|
|
6
6
|
isEmissionChooser ? 'justify-content-between' : 'justify-content-center'
|
|
7
7
|
"
|
|
8
8
|
>
|
|
9
|
-
<h1
|
|
10
|
-
v-if="undefined === titlePage"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
v-else
|
|
17
|
-
class="flex-shrink"
|
|
18
|
-
>
|
|
19
|
-
{{ titlePage }}
|
|
9
|
+
<h1 class="flex-shrink-0">
|
|
10
|
+
<template v-if="undefined === titlePage">
|
|
11
|
+
{{ $t('All podcasts') }}
|
|
12
|
+
</template>
|
|
13
|
+
<template v-else>
|
|
14
|
+
{{ titlePage }}
|
|
15
|
+
</template>
|
|
20
16
|
</h1>
|
|
21
17
|
<EmissionChooser
|
|
22
18
|
v-if="isEmissionChooser"
|
|
@@ -92,8 +88,6 @@ export default defineComponent({
|
|
|
92
88
|
},
|
|
93
89
|
|
|
94
90
|
props: {
|
|
95
|
-
firstRoute: { default: 0, type: Number},
|
|
96
|
-
sizeRoute: { default: 12, type: Number},
|
|
97
91
|
productor: { default: undefined, type: String},
|
|
98
92
|
isEducation: { default: false, type: Boolean},
|
|
99
93
|
},
|
|
@@ -101,7 +95,7 @@ export default defineComponent({
|
|
|
101
95
|
data() {
|
|
102
96
|
return {
|
|
103
97
|
first: 0 as number,
|
|
104
|
-
size:
|
|
98
|
+
size: 12 as number,
|
|
105
99
|
searchPattern: '' as string,
|
|
106
100
|
organisationId: undefined as string|undefined,
|
|
107
101
|
monetization: 'UNDEFINED' as string, // UNDEFINED, YES, NO
|
|
@@ -160,12 +154,6 @@ export default defineComponent({
|
|
|
160
154
|
},
|
|
161
155
|
|
|
162
156
|
created() {
|
|
163
|
-
if (this.firstRoute) {
|
|
164
|
-
this.first = this.firstRoute;
|
|
165
|
-
}
|
|
166
|
-
if (this.sizeRoute) {
|
|
167
|
-
this.size = this.sizeRoute;
|
|
168
|
-
}
|
|
169
157
|
if (this.productor) {
|
|
170
158
|
this.organisationId = this.productor;
|
|
171
159
|
} else if (this.$store.state.filter.organisationId) {
|
|
@@ -247,6 +235,4 @@ export default defineComponent({
|
|
|
247
235
|
},
|
|
248
236
|
},
|
|
249
237
|
})
|
|
250
|
-
</script>
|
|
251
|
-
|
|
252
|
-
<style lang="scss"></style>
|
|
238
|
+
</script>
|
|
@@ -1,43 +1,23 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="page-box">
|
|
3
|
-
<h1
|
|
4
|
-
|
|
3
|
+
<h1>
|
|
4
|
+
<template v-if="!hideBar">
|
|
5
|
+
{{ $t('Podcast search') }}
|
|
6
|
+
</template>
|
|
7
|
+
<template v-else-if="!noResult">
|
|
8
|
+
{{ $t('Search results', { query: rawQuery }) }}
|
|
9
|
+
</template>
|
|
10
|
+
<template v-else>
|
|
11
|
+
{{ $t('Search - no results', { query: rawQuery }) }}
|
|
12
|
+
</template>
|
|
5
13
|
</h1>
|
|
6
|
-
<
|
|
7
|
-
{{ $t('Search results', { query: rawQuery }) }}
|
|
8
|
-
</h1>
|
|
9
|
-
<h1 v-else>
|
|
10
|
-
{{ $t('Search - no results', { query: rawQuery }) }}
|
|
11
|
-
</h1>
|
|
12
|
-
<div
|
|
14
|
+
<ClassicSearch
|
|
13
15
|
v-if="!hideBar"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
v-model="rawQuery"
|
|
20
|
-
type="text"
|
|
21
|
-
class="search-input border-primary w-100 p-2 input-no-outline"
|
|
22
|
-
:placeholder="$t('Please type at least three characters')"
|
|
23
|
-
autofocus
|
|
24
|
-
@change="onSearchBegin"
|
|
25
|
-
>
|
|
26
|
-
<label
|
|
27
|
-
for="search"
|
|
28
|
-
class="d-inline"
|
|
29
|
-
:aria-label="$t('Search')"
|
|
30
|
-
/>
|
|
31
|
-
<div
|
|
32
|
-
v-if="!rawQuery"
|
|
33
|
-
class="saooti-search-bounty search-icon-container"
|
|
34
|
-
/>
|
|
35
|
-
<div
|
|
36
|
-
v-else
|
|
37
|
-
class="saooti-cross search-icon-container c-hand"
|
|
38
|
-
@click="rawQuery = ''"
|
|
39
|
-
/>
|
|
40
|
-
</div>
|
|
16
|
+
v-model:textInit="rawQuery"
|
|
17
|
+
:autofocus="true"
|
|
18
|
+
id-checkbox="search-page-input"
|
|
19
|
+
:label="$t('Please type at least three characters')"
|
|
20
|
+
/>
|
|
41
21
|
<PodcastList
|
|
42
22
|
v-if="!!query"
|
|
43
23
|
:query="query"
|
|
@@ -50,6 +30,7 @@
|
|
|
50
30
|
|
|
51
31
|
<script lang="ts">
|
|
52
32
|
import { state } from '../../store/paramStore';
|
|
33
|
+
import ClassicSearch from '../form/ClassicSearch.vue';
|
|
53
34
|
import PodcastList from '../display/podcasts/PodcastList.vue';
|
|
54
35
|
import { defineComponent } from 'vue';
|
|
55
36
|
export default defineComponent({
|
|
@@ -57,6 +38,7 @@ export default defineComponent({
|
|
|
57
38
|
|
|
58
39
|
components: {
|
|
59
40
|
PodcastList,
|
|
41
|
+
ClassicSearch
|
|
60
42
|
},
|
|
61
43
|
|
|
62
44
|
props: {
|
|
@@ -81,12 +63,13 @@ export default defineComponent({
|
|
|
81
63
|
},
|
|
82
64
|
|
|
83
65
|
watch: {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
66
|
+
rawQuery(): void{
|
|
67
|
+
if (this.hideBar) {
|
|
68
|
+
this.noResult = false;
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
query(): void{
|
|
72
|
+
this.rawQuery = this.query;
|
|
90
73
|
},
|
|
91
74
|
queryRoute(): void{
|
|
92
75
|
this.rawQuery = this.queryRoute;
|
|
@@ -97,9 +80,6 @@ export default defineComponent({
|
|
|
97
80
|
if (this.queryRoute) {
|
|
98
81
|
this.rawQuery = this.queryRoute;
|
|
99
82
|
}
|
|
100
|
-
if (this.$refs.search) {
|
|
101
|
-
(this.$refs.search as HTMLElement).focus();
|
|
102
|
-
}
|
|
103
83
|
},
|
|
104
84
|
|
|
105
85
|
methods: {
|
|
@@ -108,24 +88,6 @@ export default defineComponent({
|
|
|
108
88
|
this.noResult = true;
|
|
109
89
|
}
|
|
110
90
|
},
|
|
111
|
-
onSearchBegin(): void {
|
|
112
|
-
if (this.hideBar) {
|
|
113
|
-
this.noResult = false;
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
91
|
},
|
|
117
92
|
})
|
|
118
|
-
</script>
|
|
119
|
-
|
|
120
|
-
<style lang="scss">
|
|
121
|
-
.champs-searchPage {
|
|
122
|
-
margin: 0 auto;
|
|
123
|
-
input {
|
|
124
|
-
margin: 1rem 0 !important;
|
|
125
|
-
padding-right: 40px !important;
|
|
126
|
-
}
|
|
127
|
-
.search-icon-container {
|
|
128
|
-
margin: 0 1em 0 0;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
</style>
|
|
93
|
+
</script>
|
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
|
|