@saooti/octopus-sdk 30.0.56 → 30.0.59
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 +4 -1
- package/index.ts +5 -2
- package/package.json +1 -1
- package/src/components/display/categories/CategoryFilter.vue +10 -8
- package/src/components/display/categories/CategoryList.vue +25 -23
- package/src/components/display/comments/CommentInput.vue +21 -19
- package/src/components/display/comments/CommentList.vue +2 -0
- package/src/components/display/comments/CommentPlayer.vue +2 -0
- package/src/components/display/emission/EmissionInlineList.vue +5 -1
- package/src/components/display/emission/EmissionList.vue +1 -3
- package/src/components/display/filter/AdvancedSearch.vue +2 -0
- package/src/components/display/filter/ProductorSearch.vue +2 -1
- package/src/components/display/live/LiveItem.vue +2 -1
- package/src/components/display/live/LiveList.vue +2 -0
- package/src/components/display/organisation/OrganisationChooser.vue +1 -1
- package/src/components/display/organisation/OrganisationChooserLight.vue +2 -0
- package/src/components/display/participant/ParticipantItem.vue +2 -0
- package/src/components/display/participant/ParticipantList.vue +2 -0
- package/src/components/display/playlist/PodcastList.vue +2 -0
- package/src/components/display/podcasts/AnimatorsItem.vue +2 -0
- package/src/components/display/podcasts/PodcastImage.vue +2 -1
- package/src/components/display/podcasts/PodcastInlineList.vue +4 -0
- package/src/components/display/podcasts/PodcastItem.vue +2 -0
- package/src/components/display/podcasts/PodcastPlayBar.vue +2 -0
- package/src/components/display/podcasts/TagList.vue +2 -0
- package/src/components/display/rubriques/RubriqueList.vue +2 -0
- package/src/components/display/sharing/PlayerParameters.vue +2 -0
- package/src/components/display/sharing/QrCode.vue +7 -0
- package/src/components/display/sharing/ShareDistribution.vue +2 -0
- package/src/components/display/sharing/SharePlayer.vue +2 -0
- package/src/components/form/ClassicSearch.vue +2 -0
- package/src/components/misc/ErrorMessage.vue +2 -0
- package/src/components/misc/Footer.vue +2 -0
- package/src/components/misc/LeftMenu.vue +2 -0
- package/src/components/misc/Player.vue +14 -0
- package/src/components/misc/PlayerButtons.vue +2 -14
- package/src/components/misc/PlayerClockAndTimeline.vue +2 -0
- package/src/components/misc/PlayerProgressBar.vue +2 -0
- package/src/components/misc/Popover.vue +2 -0
- package/src/components/misc/Snackbar.vue +2 -0
- package/src/components/misc/TopBar.vue +2 -0
- package/src/components/misc/modal/NewsletterModal.vue +11 -3
- package/src/components/misc/modal/ShareModalPlayer.vue +2 -0
- package/src/components/pages/Participant.vue +2 -0
- package/src/store/paramStore.ts +5 -2
package/README.md
CHANGED
|
@@ -552,4 +552,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
552
552
|
* 30.0.53 Commentaires live
|
|
553
553
|
* 30.0.54 Multiselect not reload on close
|
|
554
554
|
* 30.0.55 Align participant img
|
|
555
|
-
* 30.0.56 Popover title
|
|
555
|
+
* 30.0.56 Popover title
|
|
556
|
+
* 30.0.57 podcastmaker Le soir améliorations
|
|
557
|
+
* 30.0.58 Prefix css dans component par octopus-app
|
|
558
|
+
* 30.0.59 Pb productorChooser
|
package/index.ts
CHANGED
|
@@ -32,6 +32,7 @@ import EmissionChooser from "./src/components/display/emission/EmissionChooser.v
|
|
|
32
32
|
import EmissionList from "./src/components/display/emission/EmissionList.vue";
|
|
33
33
|
/*import MonetizableFilter from "./src/components/display/filter/MonetizableFilter.vue";
|
|
34
34
|
import ProductorSearch from "./src/components/display/filter/ProductorSearch.vue";*/
|
|
35
|
+
import AdvancedSearch from "./src/components/display/filter/AdvancedSearch.vue";
|
|
35
36
|
import OrganisationChooser from "./src/components/display/organisation/OrganisationChooser.vue";
|
|
36
37
|
/*import ParticipantItem from "./src/components/display/participant/ParticipantItem.vue";
|
|
37
38
|
import ParticipantList from "./src/components/display/participant/ParticipantList.vue";
|
|
@@ -110,7 +111,8 @@ const components = {
|
|
|
110
111
|
ClassicSearch,
|
|
111
112
|
ClassicCheckbox,
|
|
112
113
|
ClassicRadio,
|
|
113
|
-
ClassicLoading
|
|
114
|
+
ClassicLoading,
|
|
115
|
+
AdvancedSearch
|
|
114
116
|
}
|
|
115
117
|
|
|
116
118
|
export default components;
|
|
@@ -162,5 +164,6 @@ export {
|
|
|
162
164
|
ClassicSearch,
|
|
163
165
|
ClassicCheckbox,
|
|
164
166
|
ClassicRadio,
|
|
165
|
-
ClassicLoading
|
|
167
|
+
ClassicLoading,
|
|
168
|
+
AdvancedSearch
|
|
166
169
|
};
|
package/package.json
CHANGED
|
@@ -162,13 +162,15 @@ export default defineComponent({
|
|
|
162
162
|
})
|
|
163
163
|
</script>
|
|
164
164
|
<style lang="scss">
|
|
165
|
-
.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
165
|
+
.octopus-app{
|
|
166
|
+
.categary-filter-no-filter{
|
|
167
|
+
position: absolute;
|
|
168
|
+
top: 0;
|
|
169
|
+
bottom: 0;
|
|
170
|
+
right: 0;
|
|
171
|
+
left: 0;
|
|
172
|
+
background: white;
|
|
173
|
+
z-index: -1;
|
|
174
|
+
}
|
|
173
175
|
}
|
|
174
176
|
</style>
|
|
@@ -178,29 +178,31 @@ export default defineComponent({
|
|
|
178
178
|
</script>
|
|
179
179
|
<style lang="scss">
|
|
180
180
|
@import '../../../sass/_variables.scss';
|
|
181
|
-
.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
181
|
+
.octopus-app{
|
|
182
|
+
.category-list-container {
|
|
183
|
+
display: inline-flex;
|
|
184
|
+
justify-content: flex-start;
|
|
185
|
+
overflow: hidden;
|
|
186
|
+
flex-grow: 1;
|
|
187
|
+
width: 0;
|
|
188
|
+
padding: 0 4rem;
|
|
189
|
+
}
|
|
190
|
+
.category-item {
|
|
191
|
+
font-size: 0.6rem;
|
|
192
|
+
margin: 0.2rem;
|
|
193
|
+
padding: 0.5rem;
|
|
194
|
+
display: block;
|
|
195
|
+
height: 1.5rem;
|
|
196
|
+
border-radius: 1.5rem;
|
|
197
|
+
border: 0;
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
white-space: nowrap;
|
|
202
|
+
flex-shrink: 0;
|
|
203
|
+
.router-link-active,&:hover {
|
|
204
|
+
background: $octopus-secondary-color !important;
|
|
205
|
+
}
|
|
204
206
|
}
|
|
205
207
|
}
|
|
206
208
|
</style>
|
|
@@ -320,25 +320,27 @@ export default defineComponent({
|
|
|
320
320
|
|
|
321
321
|
<style lang="scss">
|
|
322
322
|
@import '../../../sass/_variables.scss';
|
|
323
|
-
.
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
323
|
+
.octopus-app{
|
|
324
|
+
.comment-input-container {
|
|
325
|
+
textarea::placeholder {
|
|
326
|
+
color: $octopus-primary-dark;
|
|
327
|
+
}
|
|
328
|
+
textarea:focus::placeholder {
|
|
329
|
+
color: black;
|
|
330
|
+
}
|
|
331
|
+
textarea {
|
|
332
|
+
outline-width: 0 !important;
|
|
333
|
+
border-top: 0;
|
|
334
|
+
border-right: 0;
|
|
335
|
+
border-left: 0;
|
|
336
|
+
border-bottom: 0.1rem solid #ddd !important;
|
|
337
|
+
overflow: hidden !important;
|
|
338
|
+
box-shadow: unset !important;
|
|
339
|
+
background: transparent !important;
|
|
340
|
+
height: 50px;
|
|
341
|
+
&.short{
|
|
342
|
+
max-height: 38px;
|
|
343
|
+
}
|
|
342
344
|
}
|
|
343
345
|
}
|
|
344
346
|
}
|
|
@@ -248,6 +248,7 @@ export default defineComponent({
|
|
|
248
248
|
|
|
249
249
|
<style lang="scss">
|
|
250
250
|
@import '../../../sass/_variables.scss';
|
|
251
|
+
.octopus-app{
|
|
251
252
|
.my-transition-list-comments {
|
|
252
253
|
position: relative;
|
|
253
254
|
.comment-list-enter-active,
|
|
@@ -284,4 +285,5 @@ export default defineComponent({
|
|
|
284
285
|
background-color: $primaryColorReallyTransparent;
|
|
285
286
|
}
|
|
286
287
|
}
|
|
288
|
+
}
|
|
287
289
|
</style>
|
|
@@ -75,6 +75,7 @@ export default defineComponent({
|
|
|
75
75
|
</script>
|
|
76
76
|
|
|
77
77
|
<style lang="scss">
|
|
78
|
+
.octopus-app{
|
|
78
79
|
.comment-player-container {
|
|
79
80
|
position: relative;
|
|
80
81
|
width: 100%;
|
|
@@ -96,4 +97,5 @@ export default defineComponent({
|
|
|
96
97
|
position: absolute;
|
|
97
98
|
}
|
|
98
99
|
}
|
|
100
|
+
}
|
|
99
101
|
</style>
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
alignLeft ? 'justify-content-start' : '',
|
|
44
44
|
overflowScroll ? 'overflowScroll' : '',
|
|
45
45
|
]"
|
|
46
|
+
:css="isInlineAnimation"
|
|
46
47
|
>
|
|
47
48
|
<EmissionPlayerItem
|
|
48
49
|
v-for="e in emissions"
|
|
@@ -127,7 +128,10 @@ export default defineComponent({
|
|
|
127
128
|
},
|
|
128
129
|
transitionName(): string {
|
|
129
130
|
return this.direction > 0 ? 'out-left' : 'out-right';
|
|
130
|
-
}
|
|
131
|
+
},
|
|
132
|
+
isInlineAnimation(): boolean {
|
|
133
|
+
return (state.generalParameters.isInlineAnimation as boolean);
|
|
134
|
+
},
|
|
131
135
|
},
|
|
132
136
|
|
|
133
137
|
watch: {
|
|
@@ -330,6 +330,7 @@ export default defineComponent({
|
|
|
330
330
|
</script>
|
|
331
331
|
|
|
332
332
|
<style lang="scss">
|
|
333
|
+
.octopus-app{
|
|
333
334
|
.advanced-search-container {
|
|
334
335
|
background: #fff;
|
|
335
336
|
border-radius: 0.8rem;
|
|
@@ -360,4 +361,5 @@ export default defineComponent({
|
|
|
360
361
|
padding-right: 40px;
|
|
361
362
|
}
|
|
362
363
|
}
|
|
364
|
+
}
|
|
363
365
|
</style>
|
|
@@ -143,7 +143,7 @@ export default defineComponent({
|
|
|
143
143
|
|
|
144
144
|
<style lang="scss">
|
|
145
145
|
@import '../../../sass/_variables.scss';
|
|
146
|
-
|
|
146
|
+
.octopus-app{
|
|
147
147
|
.filter-speech-bubble {
|
|
148
148
|
position: absolute;
|
|
149
149
|
background: $octopus-primary-dark;
|
|
@@ -208,4 +208,5 @@ export default defineComponent({
|
|
|
208
208
|
margin-right: 0;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
+
}
|
|
211
212
|
</style>
|
|
@@ -273,6 +273,7 @@ export default defineComponent({
|
|
|
273
273
|
</script>
|
|
274
274
|
|
|
275
275
|
<style lang="scss">
|
|
276
|
+
.octopus-app{
|
|
276
277
|
.live-date-box {
|
|
277
278
|
width: 200px;
|
|
278
279
|
display: flex;
|
|
@@ -304,5 +305,5 @@ export default defineComponent({
|
|
|
304
305
|
width: 0;
|
|
305
306
|
flex-grow: 1;
|
|
306
307
|
}
|
|
307
|
-
|
|
308
|
+
}
|
|
308
309
|
</style>
|
|
@@ -134,6 +134,7 @@ export default defineComponent({
|
|
|
134
134
|
})
|
|
135
135
|
</script>
|
|
136
136
|
<style lang="scss">
|
|
137
|
+
.octopus-app{
|
|
137
138
|
.participant-item-container {
|
|
138
139
|
list-style: none;
|
|
139
140
|
border-radius: 2rem;
|
|
@@ -184,4 +185,5 @@ export default defineComponent({
|
|
|
184
185
|
margin: 1rem 0 0;
|
|
185
186
|
}
|
|
186
187
|
}
|
|
188
|
+
}
|
|
187
189
|
</style>
|
|
@@ -125,6 +125,7 @@ export default defineComponent({
|
|
|
125
125
|
</script>
|
|
126
126
|
|
|
127
127
|
<style lang="scss">
|
|
128
|
+
.octopus-app{
|
|
128
129
|
.participant-list {
|
|
129
130
|
align-self: stretch;
|
|
130
131
|
flex-grow: 1;
|
|
@@ -147,4 +148,5 @@ export default defineComponent({
|
|
|
147
148
|
grid-gap: 0;
|
|
148
149
|
}
|
|
149
150
|
}
|
|
151
|
+
}
|
|
150
152
|
</style>
|
|
@@ -48,6 +48,7 @@ export default defineComponent({
|
|
|
48
48
|
</script>
|
|
49
49
|
|
|
50
50
|
<style lang="scss">
|
|
51
|
+
.octopus-app{
|
|
51
52
|
.podcast-item-animator {
|
|
52
53
|
display: flex;
|
|
53
54
|
align-items: flex-start;
|
|
@@ -58,4 +59,5 @@ export default defineComponent({
|
|
|
58
59
|
text-transform: capitalize;
|
|
59
60
|
margin: 00.25rem 0.5rem 0;
|
|
60
61
|
}
|
|
62
|
+
}
|
|
61
63
|
</style>
|
|
@@ -286,6 +286,7 @@ export default defineComponent({
|
|
|
286
286
|
|
|
287
287
|
|
|
288
288
|
<style lang="scss">
|
|
289
|
+
.octopus-app{
|
|
289
290
|
.live-image-status {
|
|
290
291
|
text-align: center;
|
|
291
292
|
width: 100%;
|
|
@@ -363,5 +364,5 @@ export default defineComponent({
|
|
|
363
364
|
z-index: 2;
|
|
364
365
|
}
|
|
365
366
|
}
|
|
366
|
-
|
|
367
|
+
}
|
|
367
368
|
</style>
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
alignLeft ? 'justify-content-start' : '',
|
|
56
56
|
overflowScroll ? 'overflowScroll' : '',
|
|
57
57
|
]"
|
|
58
|
+
:css="isInlineAnimation"
|
|
58
59
|
>
|
|
59
60
|
<PodcastItem
|
|
60
61
|
v-for="p in podcasts"
|
|
@@ -137,6 +138,9 @@ export default defineComponent({
|
|
|
137
138
|
overflowScroll(): boolean {
|
|
138
139
|
return (state.emissionPage.overflowScroll as boolean);
|
|
139
140
|
},
|
|
141
|
+
isInlineAnimation(): boolean {
|
|
142
|
+
return (state.generalParameters.isInlineAnimation as boolean);
|
|
143
|
+
},
|
|
140
144
|
filterOrga(): string {
|
|
141
145
|
return this.$store.state.filter.organisationId;
|
|
142
146
|
},
|
|
@@ -243,6 +243,7 @@ export default defineComponent({
|
|
|
243
243
|
</script>
|
|
244
244
|
|
|
245
245
|
<style lang="scss">
|
|
246
|
+
.octopus-app{
|
|
246
247
|
.podcast-item-container {
|
|
247
248
|
border-radius: 0.8rem;
|
|
248
249
|
list-style: none;
|
|
@@ -308,4 +309,5 @@ export default defineComponent({
|
|
|
308
309
|
margin: 0.5rem !important;
|
|
309
310
|
}
|
|
310
311
|
}
|
|
312
|
+
}
|
|
311
313
|
</style>
|
|
@@ -51,6 +51,7 @@ export default defineComponent({
|
|
|
51
51
|
</script>
|
|
52
52
|
|
|
53
53
|
<style lang="scss">
|
|
54
|
+
.octopus-app{
|
|
54
55
|
.tag-list-component{
|
|
55
56
|
.ouest-france-logo{
|
|
56
57
|
width: 20px;
|
|
@@ -65,4 +66,5 @@ export default defineComponent({
|
|
|
65
66
|
border-radius: 0.5rem;
|
|
66
67
|
}
|
|
67
68
|
}
|
|
69
|
+
}
|
|
68
70
|
</style>
|
|
@@ -179,6 +179,7 @@ export default defineComponent({
|
|
|
179
179
|
</script>
|
|
180
180
|
|
|
181
181
|
<style lang="scss">
|
|
182
|
+
.octopus-app{
|
|
182
183
|
#rubrique-list-container {
|
|
183
184
|
display: flex;
|
|
184
185
|
justify-content: flex-start;
|
|
@@ -210,4 +211,5 @@ export default defineComponent({
|
|
|
210
211
|
background: #eee !important;
|
|
211
212
|
}
|
|
212
213
|
}
|
|
214
|
+
}
|
|
213
215
|
</style>
|
|
@@ -50,6 +50,9 @@ export default defineComponent({
|
|
|
50
50
|
return (state.generalParameters.authenticated as boolean);
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
|
+
created(){
|
|
54
|
+
this.initColor();
|
|
55
|
+
},
|
|
53
56
|
methods:{
|
|
54
57
|
download(): void{
|
|
55
58
|
const link = document.createElement('a');
|
|
@@ -62,6 +65,10 @@ export default defineComponent({
|
|
|
62
65
|
}
|
|
63
66
|
},
|
|
64
67
|
async initColor(): Promise<void> {
|
|
68
|
+
if(state.generalParameters.podcastmaker && state.generalParameters.podcastmakerColor){
|
|
69
|
+
this.color = state.generalParameters.podcastmakerColor;
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
65
72
|
if (!this.authenticated) return;
|
|
66
73
|
let data;
|
|
67
74
|
if(this.$store.state.organisation && this.$store.state.organisation.attributes && Object.keys(this.$store.state.organisation.attributes).length > 1){
|
|
@@ -156,6 +156,7 @@ export default defineComponent({
|
|
|
156
156
|
</script>
|
|
157
157
|
|
|
158
158
|
<style lang="scss">
|
|
159
|
+
.octopus-app{
|
|
159
160
|
.sharing-distribution-container {
|
|
160
161
|
border: 0.05rem solid #dee2e6;
|
|
161
162
|
border-radius: 0.3rem;
|
|
@@ -193,4 +194,5 @@ export default defineComponent({
|
|
|
193
194
|
margin: 0.2rem 0.5rem;
|
|
194
195
|
}
|
|
195
196
|
}
|
|
197
|
+
}
|
|
196
198
|
</style>
|
|
@@ -364,6 +364,7 @@ export default defineComponent({
|
|
|
364
364
|
|
|
365
365
|
<style lang="scss">
|
|
366
366
|
@import '../../../sass/_variables.scss';
|
|
367
|
+
.octopus-app{
|
|
367
368
|
.sticker {
|
|
368
369
|
align-self: center;
|
|
369
370
|
background: $octopus-primary-dark;
|
|
@@ -385,4 +386,5 @@ export default defineComponent({
|
|
|
385
386
|
.max-iframe {
|
|
386
387
|
max-width: 300px;
|
|
387
388
|
}
|
|
389
|
+
}
|
|
388
390
|
</style>
|
|
@@ -61,6 +61,7 @@ export default defineComponent({
|
|
|
61
61
|
});
|
|
62
62
|
</script>
|
|
63
63
|
<style lang="scss">
|
|
64
|
+
.octopus-app{
|
|
64
65
|
.champs-searchPage{
|
|
65
66
|
input {
|
|
66
67
|
border: 2px solid #dee2e6;
|
|
@@ -81,4 +82,5 @@ export default defineComponent({
|
|
|
81
82
|
margin: 1rem;
|
|
82
83
|
}
|
|
83
84
|
}
|
|
85
|
+
}
|
|
84
86
|
</style>
|
|
@@ -201,6 +201,7 @@ export default defineComponent({
|
|
|
201
201
|
</script>
|
|
202
202
|
|
|
203
203
|
<style lang="scss">
|
|
204
|
+
.octopus-app{
|
|
204
205
|
#footer{
|
|
205
206
|
font-size: 0.7rem;
|
|
206
207
|
.acpm_image {
|
|
@@ -221,4 +222,5 @@ export default defineComponent({
|
|
|
221
222
|
}
|
|
222
223
|
}
|
|
223
224
|
}
|
|
225
|
+
}
|
|
224
226
|
</style>
|
|
@@ -195,6 +195,7 @@ export default defineComponent({
|
|
|
195
195
|
</script>
|
|
196
196
|
|
|
197
197
|
<style lang="scss">
|
|
198
|
+
.octopus-app{
|
|
198
199
|
.left-menu-container {
|
|
199
200
|
position: fixed;
|
|
200
201
|
top: 3rem;
|
|
@@ -225,4 +226,5 @@ export default defineComponent({
|
|
|
225
226
|
width: 94%;
|
|
226
227
|
}
|
|
227
228
|
}
|
|
229
|
+
}
|
|
228
230
|
</style>
|
|
@@ -51,6 +51,15 @@
|
|
|
51
51
|
:player-error="playerError"
|
|
52
52
|
:listen-time="listenTime"
|
|
53
53
|
/>
|
|
54
|
+
<div
|
|
55
|
+
class="play-button-box primary-bg text-light"
|
|
56
|
+
@click="stopPlayer"
|
|
57
|
+
>
|
|
58
|
+
<div
|
|
59
|
+
class="saooti-cross"
|
|
60
|
+
:title="$t('Close')"
|
|
61
|
+
/>
|
|
62
|
+
</div>
|
|
54
63
|
<PlayerClockAndTimeline
|
|
55
64
|
v-model:showTimeline="showTimeline"
|
|
56
65
|
:comments="comments"
|
|
@@ -204,6 +213,9 @@ export default defineComponent({
|
|
|
204
213
|
},
|
|
205
214
|
|
|
206
215
|
methods: {
|
|
216
|
+
stopPlayer(): void {
|
|
217
|
+
this.$store.commit('playerPlayPodcast');
|
|
218
|
+
},
|
|
207
219
|
getListenerId(): string{
|
|
208
220
|
let listenerId = this.getCookie("octopus_listenerId");
|
|
209
221
|
if(!listenerId){
|
|
@@ -473,6 +485,7 @@ reject('There is an error while reading media content');
|
|
|
473
485
|
</script>
|
|
474
486
|
|
|
475
487
|
<style lang="scss">
|
|
488
|
+
.octopus-app{
|
|
476
489
|
.player-container {
|
|
477
490
|
position: fixed;
|
|
478
491
|
overflow: hidden;
|
|
@@ -497,4 +510,5 @@ reject('There is an error while reading media content');
|
|
|
497
510
|
}
|
|
498
511
|
}
|
|
499
512
|
}
|
|
513
|
+
}
|
|
500
514
|
</style>
|
|
@@ -23,16 +23,6 @@
|
|
|
23
23
|
}"
|
|
24
24
|
/>
|
|
25
25
|
</div>
|
|
26
|
-
<div
|
|
27
|
-
v-if="isPlaying || isPaused"
|
|
28
|
-
class="play-button-box primary-bg text-light"
|
|
29
|
-
@click="stopPlayer"
|
|
30
|
-
>
|
|
31
|
-
<div
|
|
32
|
-
class="saooti-stop-bounty"
|
|
33
|
-
:title="$t('Stop')"
|
|
34
|
-
/>
|
|
35
|
-
</div>
|
|
36
26
|
</template>
|
|
37
27
|
|
|
38
28
|
<script lang="ts">
|
|
@@ -114,9 +104,6 @@ export default defineComponent({
|
|
|
114
104
|
this.onPause();
|
|
115
105
|
}
|
|
116
106
|
},
|
|
117
|
-
stopPlayer(): void {
|
|
118
|
-
this.$store.commit('playerPlayPodcast');
|
|
119
|
-
},
|
|
120
107
|
onPlay(): void {
|
|
121
108
|
this.$store.commit('playerPause', false);
|
|
122
109
|
},
|
|
@@ -128,6 +115,7 @@ export default defineComponent({
|
|
|
128
115
|
</script>
|
|
129
116
|
|
|
130
117
|
<style lang="scss">
|
|
118
|
+
.octopus-app{
|
|
131
119
|
.player-image {
|
|
132
120
|
border-radius: 0.2rem;
|
|
133
121
|
height: 2.4rem;
|
|
@@ -151,5 +139,5 @@ export default defineComponent({
|
|
|
151
139
|
flex-shrink: 0;
|
|
152
140
|
cursor: pointer;
|
|
153
141
|
}
|
|
154
|
-
|
|
142
|
+
}
|
|
155
143
|
</style>
|
|
@@ -61,6 +61,7 @@ export default defineComponent({
|
|
|
61
61
|
</script>
|
|
62
62
|
<style lang="scss">
|
|
63
63
|
@import '../../sass/_variables.scss';
|
|
64
|
+
.octopus-app{
|
|
64
65
|
.player-container {
|
|
65
66
|
.timeline-button {
|
|
66
67
|
background: black;
|
|
@@ -82,4 +83,5 @@ export default defineComponent({
|
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
85
|
}
|
|
86
|
+
}
|
|
85
87
|
</style>
|
|
@@ -146,6 +146,7 @@ export default defineComponent({
|
|
|
146
146
|
</script>
|
|
147
147
|
|
|
148
148
|
<style lang="scss">
|
|
149
|
+
.octopus-app{
|
|
149
150
|
.player-grow-content {
|
|
150
151
|
display: flex;
|
|
151
152
|
flex-direction: column;
|
|
@@ -165,4 +166,5 @@ export default defineComponent({
|
|
|
165
166
|
position: absolute;
|
|
166
167
|
}
|
|
167
168
|
}
|
|
169
|
+
}
|
|
168
170
|
</style>
|
|
@@ -106,6 +106,7 @@ export default defineComponent({
|
|
|
106
106
|
})
|
|
107
107
|
</script>
|
|
108
108
|
<style lang="scss">
|
|
109
|
+
.octopus-app{
|
|
109
110
|
.popover{
|
|
110
111
|
max-height: 80vh;
|
|
111
112
|
overflow: auto;
|
|
@@ -113,4 +114,5 @@ export default defineComponent({
|
|
|
113
114
|
width: 100px;
|
|
114
115
|
}
|
|
115
116
|
}
|
|
117
|
+
}
|
|
116
118
|
</style>
|
|
@@ -257,6 +257,7 @@ export default defineComponent({
|
|
|
257
257
|
</script>
|
|
258
258
|
|
|
259
259
|
<style lang="scss">
|
|
260
|
+
.octopus-app{
|
|
260
261
|
.top-bar-container {
|
|
261
262
|
position: sticky;
|
|
262
263
|
top: 0;
|
|
@@ -336,4 +337,5 @@ export default defineComponent({
|
|
|
336
337
|
}
|
|
337
338
|
}
|
|
338
339
|
}
|
|
340
|
+
}
|
|
339
341
|
</style>
|
|
@@ -242,9 +242,7 @@ export default defineComponent({
|
|
|
242
242
|
`" title="` +
|
|
243
243
|
this.$t('Listen this episode') +
|
|
244
244
|
`">
|
|
245
|
-
<img width="44" height="44" style="display: inline-block;vertical-align: middle" src="
|
|
246
|
-
this.resourcesUrl +
|
|
247
|
-
`/img/play-podcast.png">
|
|
245
|
+
<img width="44" height="44" style="display: inline-block;vertical-align: middle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABmJLR0QA/wD/AP+gvaeTAAAAxElEQVRIie3WMWpCURBG4Q8FSRrtbC2SPhvICmzchVuwtXQLbsE2pVUIkjqQHVgqNmIj6EvxGHhFQAIvcxt/OPVhhrlzh3sKZ4MvTLLFVYNPvJYQB294LiGucMYSw2xxcMQcj9niYIsputni4BvjEuJgjZcS4goXrDDKFgcnLDDIFgd7zNDLFgfvTUHnL23ISJuV7iS3Ooarn1VxkeeUvkDSV2b6J3FQT+pDW8Jb4vRD4Kqe1Kf/Ev4mTj32PhQ6b+9pPT+XHgysHrPM6QAAAABJRU5ErkJggg=="/>
|
|
248
246
|
</a>
|
|
249
247
|
<a style="color: #000;text-decoration: none; margin-right:8px" href="` +
|
|
250
248
|
window.location.href +
|
|
@@ -283,6 +281,9 @@ export default defineComponent({
|
|
|
283
281
|
});
|
|
284
282
|
},
|
|
285
283
|
},
|
|
284
|
+
created(){
|
|
285
|
+
this.initColor();
|
|
286
|
+
},
|
|
286
287
|
methods: {
|
|
287
288
|
closePopup(event: { preventDefault: () => void }): void {
|
|
288
289
|
event.preventDefault();
|
|
@@ -302,12 +303,18 @@ export default defineComponent({
|
|
|
302
303
|
},
|
|
303
304
|
afterCopy(): void{
|
|
304
305
|
(this.$refs.snackbar as InstanceType<typeof SnackbarVue>).open(this.$t('Data in clipboard'));
|
|
306
|
+
},
|
|
307
|
+
initColor(): void {
|
|
308
|
+
if(state.generalParameters.podcastmaker && state.generalParameters.podcastmakerColor){
|
|
309
|
+
this.color = state.generalParameters.podcastmakerColor;
|
|
310
|
+
}
|
|
305
311
|
}
|
|
306
312
|
},
|
|
307
313
|
})
|
|
308
314
|
</script>
|
|
309
315
|
|
|
310
316
|
<style lang="scss">
|
|
317
|
+
.octopus-app{
|
|
311
318
|
#newsletter-modal {
|
|
312
319
|
textarea {
|
|
313
320
|
border: 2px solid #eee;
|
|
@@ -323,4 +330,5 @@ export default defineComponent({
|
|
|
323
330
|
max-width: 60%;
|
|
324
331
|
}
|
|
325
332
|
}
|
|
333
|
+
}
|
|
326
334
|
</style>
|
|
@@ -139,6 +139,7 @@ export default defineComponent({
|
|
|
139
139
|
</script>
|
|
140
140
|
|
|
141
141
|
<style lang="scss">
|
|
142
|
+
.octopus-app{
|
|
142
143
|
.share-modal-border {
|
|
143
144
|
border-right: solid 1px rgb(222, 226, 230);
|
|
144
145
|
border-left: solid 1px rgb(222, 226, 230);
|
|
@@ -178,4 +179,5 @@ export default defineComponent({
|
|
|
178
179
|
align-self: center;
|
|
179
180
|
}
|
|
180
181
|
}
|
|
182
|
+
}
|
|
181
183
|
</style>
|
package/src/store/paramStore.ts
CHANGED
|
@@ -18,7 +18,8 @@ const state:paramStore = {
|
|
|
18
18
|
allCategories: [],
|
|
19
19
|
isLiveTab: false,
|
|
20
20
|
isCaptchaTest: true,
|
|
21
|
-
podcastItem:13
|
|
21
|
+
podcastItem:13,
|
|
22
|
+
isInlineAnimation:true,
|
|
22
23
|
},
|
|
23
24
|
podcastPage: {
|
|
24
25
|
EditBox: false,
|
|
@@ -108,7 +109,9 @@ export interface GeneralParameters{
|
|
|
108
109
|
allCategories?: Array<Category>,
|
|
109
110
|
isLiveTab?: boolean,
|
|
110
111
|
isCaptchaTest?: boolean,
|
|
111
|
-
podcastItem?: number
|
|
112
|
+
podcastItem?: number,
|
|
113
|
+
podcastmakerColor?: string,
|
|
114
|
+
isInlineAnimation?: boolean
|
|
112
115
|
}
|
|
113
116
|
export interface PodcastPage{
|
|
114
117
|
EditBox?: boolean,
|