@saooti/octopus-sdk 30.0.4 → 30.0.5
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 +1 -0
- package/package.json +1 -1
- package/src/App.vue +4 -4
- package/src/api/comments.ts +1 -1
- package/src/components/display/categories/CategoryChooser.vue +1 -1
- package/src/components/display/categories/CategoryFilter.vue +4 -4
- package/src/components/display/categories/CategoryList.vue +1 -1
- package/src/components/display/comments/CommentInput.vue +3 -3
- package/src/components/display/comments/CommentItem.vue +3 -3
- package/src/components/display/comments/CommentList.vue +4 -4
- package/src/components/display/comments/CommentParentInfo.vue +1 -1
- package/src/components/display/comments/CommentPlayer.vue +1 -1
- package/src/components/display/comments/CommentSection.vue +3 -3
- package/src/components/display/edit/EditBox.vue +1 -1
- package/src/components/display/edit/EditCommentBox.vue +1 -1
- package/src/components/display/emission/EmissionChooser.vue +2 -2
- package/src/components/display/emission/EmissionInlineList.vue +2 -2
- package/src/components/display/emission/EmissionItem.vue +1 -1
- package/src/components/display/emission/EmissionList.vue +3 -3
- package/src/components/display/emission/EmissionPlayerItem.vue +2 -2
- package/src/components/display/filter/AdvancedSearch.vue +1 -1
- package/src/components/display/filter/CategoryFilter.vue +1 -1
- package/src/components/display/filter/ProductorSearch.vue +1 -1
- package/src/components/display/filter/RubriqueChoice.vue +2 -2
- package/src/components/display/filter/RubriqueFilter.vue +2 -2
- package/src/components/display/live/LiveHorizontalList.vue +1 -1
- package/src/components/display/live/LiveItem.vue +2 -2
- package/src/components/display/live/LiveList.vue +1 -1
- package/src/components/display/organisation/OrganisationChooser.vue +1 -1
- package/src/components/display/organisation/OrganisationChooserLight.vue +1 -1
- package/src/components/display/participant/ParticipantItem.vue +1 -1
- package/src/components/display/participant/ParticipantList.vue +1 -1
- package/src/components/display/playlist/PlaylistItem.vue +1 -1
- package/src/components/display/playlist/PlaylistList.vue +1 -1
- package/src/components/display/playlist/PodcastList.vue +2 -2
- package/src/components/display/podcasts/AnimatorsItem.vue +1 -1
- package/src/components/display/podcasts/ParticipantDescription.vue +1 -1
- package/src/components/display/podcasts/PodcastFilterList.vue +2 -2
- package/src/components/display/podcasts/PodcastImage.vue +2 -2
- package/src/components/display/podcasts/PodcastInlineList.vue +2 -2
- package/src/components/display/podcasts/PodcastItem.vue +2 -2
- package/src/components/display/podcasts/PodcastList.vue +2 -2
- package/src/components/display/podcasts/PodcastModuleBox.vue +2 -2
- package/src/components/display/rubriques/RubriqueChooser.vue +1 -1
- package/src/components/display/rubriques/RubriqueList.vue +3 -3
- package/src/components/display/sharing/PlayerParameters.vue +7 -58
- package/src/components/display/sharing/ShareButtons.vue +2 -2
- package/src/components/display/sharing/ShareDistribution.vue +1 -1
- package/src/components/display/sharing/SharePlayer.vue +27 -34
- package/src/components/display/sharing/SharePlayerTypes.vue +5 -5
- package/src/components/display/sharing/SubscribeButtons.vue +1 -1
- package/src/components/misc/Footer.vue +2 -2
- package/src/components/misc/LeftMenu.vue +3 -3
- package/src/components/misc/Player.vue +2 -2
- package/src/components/misc/PlayerButtons.vue +2 -2
- package/src/components/misc/PlayerClockAndTimeline.vue +1 -1
- package/src/components/misc/PlayerProgressBar.vue +1 -1
- package/src/components/misc/TopBar.vue +2 -2
- package/src/components/misc/modal/ClipboardModal.vue +1 -1
- package/src/components/misc/modal/NewsletterModal.vue +2 -2
- package/src/components/misc/modal/QrCodeModal.vue +2 -2
- package/src/components/misc/modal/ShareModalPlayer.vue +1 -1
- package/src/components/mixins/init.ts +1 -1
- package/src/components/mixins/organisationFilter.ts +1 -1
- package/src/components/pages/Category.vue +1 -1
- package/src/components/pages/Emission.vue +1 -1
- package/src/components/pages/Emissions.vue +2 -2
- package/src/components/pages/Home.vue +4 -4
- package/src/components/pages/Lives.vue +2 -2
- package/src/components/pages/Participant.vue +1 -1
- package/src/components/pages/Playlist.vue +1 -1
- package/src/components/pages/Podcast.vue +4 -4
- package/src/components/pages/Podcasts.vue +3 -3
- package/src/store/class/{adserverConfig.ts → adserver/adserverConfig.ts} +0 -0
- package/src/store/class/adserver/adserverOtherEmission.ts +13 -0
- package/src/store/class/{adserverTiming.ts → adserver/adserverTiming.ts} +0 -0
- package/src/store/class/cartouchier/cartouche.ts +15 -0
- package/src/store/class/cartouchier/cartouchier.ts +9 -0
- package/src/store/class/conference/conference.ts +35 -0
- package/src/store/class/conference/conferenceMessage.ts +10 -0
- package/src/store/class/conference/conferenceParticipant.ts +18 -0
- package/src/store/class/conference/pad.ts +15 -0
- package/src/store/class/conference/studioCall.ts +7 -0
- package/src/store/class/contract/contract.ts +7 -0
- package/src/store/class/contract/contractOrganisation.ts +7 -0
- package/src/store/class/ftp/ftpEmission.ts +41 -0
- package/src/store/class/ftp/ftpParam.ts +12 -0
- package/src/store/class/ftp/testFtpEmission.ts +5 -0
- package/src/store/class/general/audioView.ts +21 -0
- package/src/store/class/{category.ts → general/category.ts} +1 -1
- package/src/store/class/general/comment.ts +16 -0
- package/src/store/class/general/customPlayer.ts +8 -0
- package/src/store/class/{emission.ts → general/emission.ts} +2 -2
- package/src/store/class/general/fetchParam.ts +33 -0
- package/src/store/class/general/initState.ts +25 -0
- package/src/store/class/general/ituneCategory.ts +5 -0
- package/src/store/class/general/media.ts +14 -0
- package/src/store/class/general/organisation.ts +19 -0
- package/src/store/class/general/pageable.ts +13 -0
- package/src/store/class/{participant.ts → general/participant.ts} +0 -0
- package/src/store/class/{player.ts → general/player.ts} +0 -0
- package/src/store/class/{playlist.ts → general/playlist.ts} +2 -2
- package/src/store/class/{podcast.ts → general/podcast.ts} +2 -1
- package/src/store/class/general/sortPageable.ts +5 -0
- package/src/store/class/general/soundcastCategory.ts +8 -0
- package/src/store/class/ouestFrance/ofTag.ts +36 -0
- package/src/store/class/ouestFrance/ofTagInfo.ts +9 -0
- package/src/store/class/ouestFrance/ofTagPage.ts +7 -0
- package/src/store/class/ouestFrance/ofTagSeo.ts +7 -0
- package/src/store/class/ouestFrance/ofTagVente.ts +6 -0
- package/src/store/class/ouestFrance/ofTagWithParents.ts +26 -0
- package/src/store/class/rss/aggregator.ts +28 -0
- package/src/store/class/rss/rssEmission.ts +14 -0
- package/src/store/class/rss/rssInfo.ts +8 -0
- package/src/store/class/{rubriquage.ts → rubrique/rubriquage.ts} +0 -0
- package/src/store/class/rubrique/rubriquageFilter.ts +6 -0
- package/src/store/class/rubrique/rubrique.ts +8 -0
- package/src/store/class/stat/statArrayIncome.ts +6 -0
- package/src/store/class/stat/statArrayObject.ts +34 -0
- package/src/store/class/stat/statGraph.ts +7 -0
- package/src/store/class/{person.ts → user/person.ts} +2 -2
- package/src/store/class/user/profile.ts +12 -0
- package/src/store/class/user/userKeycloak.ts +24 -0
- package/src/store/paramStore.ts +1 -1
- package/src/store/typeAppStore.ts +10 -10
- package/src/store/class/comment.ts +0 -16
- package/src/store/class/conference.ts +0 -31
- package/src/store/class/customPlayer.ts +0 -8
- package/src/store/class/fetchParam.ts +0 -33
- package/src/store/class/media.ts +0 -14
- package/src/store/class/organisation.ts +0 -19
- package/src/store/class/rubriquageFilter.ts +0 -6
- package/src/store/class/rubrique.ts +0 -9
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
v-if="!playlist"
|
|
4
3
|
id="accordionParameters"
|
|
5
4
|
class="accordion player-parameters mt-3"
|
|
6
5
|
>
|
|
@@ -28,13 +27,11 @@
|
|
|
28
27
|
>
|
|
29
28
|
<div class="accordion-body">
|
|
30
29
|
<div
|
|
31
|
-
v-if="
|
|
32
|
-
!podcast || isEmission || isLargeEmission || isLargeSuggestion
|
|
33
|
-
"
|
|
30
|
+
v-if="choseNumberEpisode"
|
|
34
31
|
class="d-flex flex-column flex-grow"
|
|
35
32
|
>
|
|
36
33
|
<div
|
|
37
|
-
v-if="
|
|
34
|
+
v-if="displayChoiceAllEpisodes"
|
|
38
35
|
class="d-flex align-items-center w-100 flex-wrap mt-1"
|
|
39
36
|
>
|
|
40
37
|
<input
|
|
@@ -48,10 +45,10 @@
|
|
|
48
45
|
</div>
|
|
49
46
|
<div
|
|
50
47
|
class="d-flex align-items-center flex-wrap"
|
|
51
|
-
:class="
|
|
48
|
+
:class="displayChoiceAllEpisodes ? '' : 'mt-3'"
|
|
52
49
|
>
|
|
53
50
|
<input
|
|
54
|
-
v-if="
|
|
51
|
+
v-if="displayChoiceAllEpisodes"
|
|
55
52
|
v-model="episodeNumbers"
|
|
56
53
|
class="form-check-input"
|
|
57
54
|
type="radio"
|
|
@@ -120,28 +117,6 @@
|
|
|
120
117
|
}}</label>
|
|
121
118
|
</div>
|
|
122
119
|
</div>
|
|
123
|
-
<!-- <div class="d-flex align-items-center flex-wrap" v-if="podcast && iFrameModel !== 'emission'">
|
|
124
|
-
<div>
|
|
125
|
-
<input type="checkbox" class="form-check-input" id="startTime" v-model="startTime">
|
|
126
|
-
<label class="form-check-label me-2" for="startTime">{{$t('Start at')}}</label>
|
|
127
|
-
</div>
|
|
128
|
-
<input
|
|
129
|
-
ref="minutesRef"
|
|
130
|
-
type="number"
|
|
131
|
-
:value="minutes"
|
|
132
|
-
min="0"
|
|
133
|
-
class="input-share-player input-no-outline"
|
|
134
|
-
@change="onDurationChange"/>
|
|
135
|
-
<div class="me-1 ms-1">:</div>
|
|
136
|
-
<input
|
|
137
|
-
ref="secondesRef"
|
|
138
|
-
type="number"
|
|
139
|
-
:value="secondes"
|
|
140
|
-
min="0"
|
|
141
|
-
max="59"
|
|
142
|
-
class="input-share-player input-no-outline"
|
|
143
|
-
@change="onDurationChange"/>
|
|
144
|
-
</div> -->
|
|
145
120
|
</div>
|
|
146
121
|
</div>
|
|
147
122
|
</div>
|
|
@@ -149,26 +124,20 @@
|
|
|
149
124
|
</template>
|
|
150
125
|
|
|
151
126
|
<script lang="ts">
|
|
152
|
-
import { Playlist } from '@/store/class/playlist';
|
|
153
|
-
import { Podcast } from '@/store/class/podcast';
|
|
154
127
|
import { defineComponent } from 'vue'
|
|
155
128
|
export default defineComponent({
|
|
156
129
|
props: {
|
|
157
|
-
podcast: { default: undefined, type: Object as ()=> Podcast},
|
|
158
|
-
playlist: { default: undefined, type: Object as ()=> Playlist},
|
|
159
|
-
iFrameModel: { default: undefined, type: String},
|
|
160
130
|
isVisible: { default: false, type: Boolean},
|
|
131
|
+
choseNumberEpisode: {default: false, type: Boolean},
|
|
132
|
+
displayChoiceAllEpisodes: {default: false, type: Boolean}
|
|
161
133
|
},
|
|
162
|
-
emits: ['
|
|
134
|
+
emits: ['episodeNumbers', 'proceedReading', 'isVisible', 'iFrameNumber', 'displayArticle'],
|
|
163
135
|
|
|
164
136
|
data() {
|
|
165
137
|
return {
|
|
166
138
|
proceedReading: true as boolean,
|
|
167
139
|
episodeNumbers: 'number' as string,
|
|
168
140
|
iFrameNumberPriv: '3' as string,
|
|
169
|
-
minutes: 0 as number,
|
|
170
|
-
secondes: 0 as number,
|
|
171
|
-
startTime: true as boolean,
|
|
172
141
|
isVisibleTemp: this.isVisible as boolean,
|
|
173
142
|
displayArticle: true as boolean,
|
|
174
143
|
};
|
|
@@ -185,15 +154,6 @@ export default defineComponent({
|
|
|
185
154
|
}
|
|
186
155
|
},
|
|
187
156
|
},
|
|
188
|
-
isEmission(): boolean {
|
|
189
|
-
return 'emission' === this.iFrameModel;
|
|
190
|
-
},
|
|
191
|
-
isLargeEmission(): boolean {
|
|
192
|
-
return 'largeEmission' === this.iFrameModel;
|
|
193
|
-
},
|
|
194
|
-
isLargeSuggestion(): boolean {
|
|
195
|
-
return 'largeSuggestion' === this.iFrameModel;
|
|
196
|
-
},
|
|
197
157
|
},
|
|
198
158
|
watch: {
|
|
199
159
|
episodeNumbers(): void {
|
|
@@ -215,17 +175,6 @@ export default defineComponent({
|
|
|
215
175
|
this.$emit('displayArticle', this.displayArticle);
|
|
216
176
|
}
|
|
217
177
|
},
|
|
218
|
-
methods: {
|
|
219
|
-
/* onDurationChange(): void {
|
|
220
|
-
if (this.startTime) {
|
|
221
|
-
const minutes = parseInt((this.$refs.minutesRef as any).value, 10);
|
|
222
|
-
const secondes = parseInt((this.$refs.secondesRef as any).value, 10);
|
|
223
|
-
this.$emit('startTime', minutes * 60 + secondes);
|
|
224
|
-
} else {
|
|
225
|
-
this.$emit('startTime', 0);
|
|
226
|
-
}
|
|
227
|
-
}, */
|
|
228
|
-
},
|
|
229
178
|
})
|
|
230
179
|
</script>
|
|
231
180
|
|
|
@@ -247,8 +247,8 @@
|
|
|
247
247
|
</template>
|
|
248
248
|
|
|
249
249
|
<script lang="ts">
|
|
250
|
-
import { Emission } from '@/store/class/emission';
|
|
251
|
-
import { Podcast } from '@/store/class/podcast';
|
|
250
|
+
import { Emission } from '@/store/class/general/emission';
|
|
251
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
252
252
|
import { state } from '../../../store/paramStore';
|
|
253
253
|
import Snackbar from '../../misc/Snackbar.vue';
|
|
254
254
|
import { displayMethods } from '../../mixins/functions';
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
import octopusApi from '@saooti/octopus-api';
|
|
114
114
|
import Snackbar from '../../misc/Snackbar.vue';
|
|
115
115
|
import { displayMethods } from '../../mixins/functions';
|
|
116
|
-
import { Emission } from '@/store/class/emission';
|
|
116
|
+
import { Emission } from '@/store/class/general/emission';
|
|
117
117
|
|
|
118
118
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
119
119
|
import SnackbarVue from '../../misc/Snackbar.vue';
|
|
@@ -60,16 +60,14 @@
|
|
|
60
60
|
</div>
|
|
61
61
|
<PlayerParameters
|
|
62
62
|
v-if="isPlayerParameter"
|
|
63
|
-
:podcast="podcast"
|
|
64
|
-
:playlist="playlist"
|
|
65
|
-
:i-frame-model="iFrameModel"
|
|
66
63
|
:is-visible="isVisible"
|
|
64
|
+
:chose-number-episode="displayChoiceAllEpisodes|| isLargeSuggestion"
|
|
65
|
+
:display-choice-all-episodes="displayChoiceAllEpisodes"
|
|
67
66
|
@displayArticle="updateDisplayArticle"
|
|
68
67
|
@episodeNumbers="updateEpisodeNumber"
|
|
69
68
|
@proceedReading="updateProceedReading"
|
|
70
69
|
@isVisible="updateIsVisible"
|
|
71
70
|
@iFrameNumber="updateIframeNumber"
|
|
72
|
-
@startTime="updateStartTime"
|
|
73
71
|
/>
|
|
74
72
|
</template>
|
|
75
73
|
<div v-else-if="exclusive && authenticated">
|
|
@@ -92,10 +90,10 @@
|
|
|
92
90
|
<script lang="ts">
|
|
93
91
|
import { state } from '../../../store/paramStore';
|
|
94
92
|
import octopusApi from '@saooti/octopus-api';
|
|
95
|
-
import { Podcast } from '@/store/class/podcast';
|
|
96
|
-
import { Emission } from '@/store/class/emission';
|
|
97
|
-
import { Playlist } from '@/store/class/playlist';
|
|
98
|
-
import { CustomPlayer } from '@/store/class/customPlayer';
|
|
93
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
94
|
+
import { Emission } from '@/store/class/general/emission';
|
|
95
|
+
import { Playlist } from '@/store/class/general/playlist';
|
|
96
|
+
import { CustomPlayer } from '@/store/class/general/customPlayer';
|
|
99
97
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
100
98
|
const ShareModalPlayer = defineAsyncComponent(() => import('../../misc/modal/ShareModalPlayer.vue'));
|
|
101
99
|
const PlayerParameters = defineAsyncComponent(() => import('./PlayerParameters.vue'));
|
|
@@ -128,7 +126,6 @@ export default defineComponent({
|
|
|
128
126
|
proceedReading: true as boolean,
|
|
129
127
|
episodeNumbers: 'number' as string,
|
|
130
128
|
iFrameNumber: '3' as string,
|
|
131
|
-
startTime: 0 as number,
|
|
132
129
|
isVisible: false as boolean,
|
|
133
130
|
displayArticle: true as boolean,
|
|
134
131
|
customPlayers: [] as Array<CustomPlayer>,
|
|
@@ -137,6 +134,9 @@ export default defineComponent({
|
|
|
137
134
|
},
|
|
138
135
|
|
|
139
136
|
computed: {
|
|
137
|
+
displayChoiceAllEpisodes():boolean{
|
|
138
|
+
return !this.podcast || this.isEmission || this.isLargeEmission;
|
|
139
|
+
},
|
|
140
140
|
miniplayerBaseUrl(): string{
|
|
141
141
|
return (state.podcastPage.MiniplayerUri as string);
|
|
142
142
|
},
|
|
@@ -144,7 +144,7 @@ export default defineComponent({
|
|
|
144
144
|
return 'emission' === this.iFrameModel;
|
|
145
145
|
},
|
|
146
146
|
isLargeEmission(): boolean {
|
|
147
|
-
return '
|
|
147
|
+
return 'emissionLarge' === this.iFrameModel;
|
|
148
148
|
},
|
|
149
149
|
isLargeSuggestion(): boolean {
|
|
150
150
|
return 'largeSuggestion' === this.iFrameModel;
|
|
@@ -181,10 +181,7 @@ export default defineComponent({
|
|
|
181
181
|
iFrameSrc(): string {
|
|
182
182
|
const url = [''];
|
|
183
183
|
let iFrameNumber = '/' + this.iFrameNumber;
|
|
184
|
-
if (
|
|
185
|
-
(!this.podcast || this.isEmission || this.isLargeEmission) &&
|
|
186
|
-
'all' === this.episodeNumbers
|
|
187
|
-
) {
|
|
184
|
+
if (this.displayChoiceAllEpisodes && 'all' === this.episodeNumbers) {
|
|
188
185
|
iFrameNumber = '/0';
|
|
189
186
|
}
|
|
190
187
|
if (!this.podcast && !this.playlist && this.emission) {
|
|
@@ -245,7 +242,6 @@ export default defineComponent({
|
|
|
245
242
|
if(!this.displayArticle){
|
|
246
243
|
url.push('&article=false');
|
|
247
244
|
}
|
|
248
|
-
url.push('&time=' + this.startTime);
|
|
249
245
|
if (this.isVisible) {
|
|
250
246
|
url.push('&key=' + window.btoa(this.dataTitle.toString()));
|
|
251
247
|
}
|
|
@@ -259,38 +255,38 @@ export default defineComponent({
|
|
|
259
255
|
case 'large':
|
|
260
256
|
if (this.podcast) return '180px';
|
|
261
257
|
if ('number' === this.episodeNumbers) {
|
|
262
|
-
switch (this.iFrameNumber) {
|
|
258
|
+
switch (this.iFrameNumber.toString()) {
|
|
263
259
|
case '1':
|
|
264
|
-
return '
|
|
260
|
+
return '270px';
|
|
265
261
|
case '2':
|
|
266
|
-
return '
|
|
262
|
+
return '320px';
|
|
267
263
|
case '3':
|
|
268
|
-
return '
|
|
264
|
+
return '360px';
|
|
269
265
|
case '4':
|
|
270
|
-
return '
|
|
266
|
+
return '420px';
|
|
271
267
|
case '5':
|
|
272
|
-
return '
|
|
268
|
+
return '420px';
|
|
273
269
|
default:
|
|
274
|
-
return '
|
|
270
|
+
return '420px';
|
|
275
271
|
}
|
|
276
272
|
}
|
|
277
273
|
return '435px';
|
|
278
|
-
case '
|
|
274
|
+
case 'emissionLarge':
|
|
279
275
|
case 'largeSuggestion':
|
|
280
276
|
if ('number' !== this.episodeNumbers) return '510px';
|
|
281
|
-
switch (this.iFrameNumber) {
|
|
277
|
+
switch (this.iFrameNumber.toString()) {
|
|
282
278
|
case '1':
|
|
283
|
-
return '260px';
|
|
284
|
-
case '2':
|
|
285
279
|
return '315px';
|
|
286
|
-
case '
|
|
280
|
+
case '2':
|
|
287
281
|
return '365px';
|
|
288
|
-
case '
|
|
282
|
+
case '3':
|
|
289
283
|
return '420px';
|
|
284
|
+
case '4':
|
|
285
|
+
return '470px';
|
|
290
286
|
case '5':
|
|
291
|
-
return '
|
|
287
|
+
return '470px';
|
|
292
288
|
default:
|
|
293
|
-
return '
|
|
289
|
+
return '470px';
|
|
294
290
|
}
|
|
295
291
|
case 'emission':
|
|
296
292
|
return '530px';
|
|
@@ -316,7 +312,7 @@ export default defineComponent({
|
|
|
316
312
|
return 0;
|
|
317
313
|
},
|
|
318
314
|
isPlayerParameter(): boolean{
|
|
319
|
-
return !this.podcast || (this.podcast.article && 0 !== this.podcast.article.length) || this.isEmission || this.isLargeEmission || this.isLargeSuggestion;
|
|
315
|
+
return (!this.podcast || (this.podcast.article && 0 !== this.podcast.article.length) || this.isEmission || this.isLargeEmission || this.isLargeSuggestion) && !this.playlist;
|
|
320
316
|
}
|
|
321
317
|
},
|
|
322
318
|
async created() {
|
|
@@ -365,9 +361,6 @@ export default defineComponent({
|
|
|
365
361
|
updateIframeNumber(value: string): void {
|
|
366
362
|
this.iFrameNumber = value;
|
|
367
363
|
},
|
|
368
|
-
updateStartTime(value: number): void {
|
|
369
|
-
this.startTime = value;
|
|
370
|
-
},
|
|
371
364
|
updateIsVisible(value: boolean): void {
|
|
372
365
|
this.isVisible = value;
|
|
373
366
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</option>
|
|
35
35
|
<option
|
|
36
36
|
v-if="podcast && podcast.podcastId"
|
|
37
|
-
value="
|
|
37
|
+
value="emissionLarge"
|
|
38
38
|
>
|
|
39
39
|
{{ $t('Large emission version') }}
|
|
40
40
|
</option>
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
</template>
|
|
50
50
|
|
|
51
51
|
<script lang="ts">
|
|
52
|
-
import { Podcast } from '@/store/class/podcast';
|
|
53
|
-
import { CustomPlayer } from '@/store/class/customPlayer';
|
|
52
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
53
|
+
import { CustomPlayer } from '@/store/class/general/customPlayer';
|
|
54
54
|
import { defineComponent } from 'vue';
|
|
55
|
-
import { Emission } from '@/store/class/emission';
|
|
56
|
-
import { Playlist } from '@/store/class/playlist';
|
|
55
|
+
import { Emission } from '@/store/class/general/emission';
|
|
56
|
+
import { Playlist } from '@/store/class/general/playlist';
|
|
57
57
|
export default defineComponent({
|
|
58
58
|
props: {
|
|
59
59
|
podcast: { default: undefined, type: Object as ()=> Podcast},
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
</template>
|
|
124
124
|
|
|
125
125
|
<script lang="ts">
|
|
126
|
-
import { Emission } from '@/store/class/emission';
|
|
126
|
+
import { Emission } from '@/store/class/general/emission';
|
|
127
127
|
import { defineComponent } from 'vue'
|
|
128
128
|
export default defineComponent({
|
|
129
129
|
props: {
|
|
@@ -140,8 +140,8 @@ import Player from './Player.vue';
|
|
|
140
140
|
import { state } from '../../store/paramStore';
|
|
141
141
|
import octopusApi from '@saooti/octopus-api';
|
|
142
142
|
import moment from 'moment';
|
|
143
|
-
import { Category } from '@/store/class/category';
|
|
144
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
143
|
+
import { Category } from '@/store/class/general/category';
|
|
144
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
145
145
|
import { defineComponent } from 'vue'
|
|
146
146
|
export default defineComponent({
|
|
147
147
|
name: 'Footer',
|
|
@@ -117,10 +117,10 @@
|
|
|
117
117
|
<script lang="ts">
|
|
118
118
|
import { state } from '../../store/paramStore';
|
|
119
119
|
import { orgaFilter } from '../mixins/organisationFilter';
|
|
120
|
-
import { Category } from '@/store/class/category';
|
|
121
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
120
|
+
import { Category } from '@/store/class/general/category';
|
|
121
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
122
122
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
123
|
-
import { Organisation } from '@/store/class/organisation';
|
|
123
|
+
import { Organisation } from '@/store/class/general/organisation';
|
|
124
124
|
const OrganisationChooserLight = defineAsyncComponent(() => import('../display/organisation/OrganisationChooserLight.vue'));
|
|
125
125
|
export default defineComponent({
|
|
126
126
|
name: 'LeftMenu',
|
|
@@ -77,14 +77,14 @@ import octopusApi from '@saooti/octopus-api';
|
|
|
77
77
|
/* eslint-disable */
|
|
78
78
|
let Hls:any = null;
|
|
79
79
|
/* eslint-enable */
|
|
80
|
-
import { CommentPodcast } from '@/store/class/comment';
|
|
80
|
+
import { CommentPodcast } from '@/store/class/general/comment';
|
|
81
81
|
import { cookies } from '../mixins/functions';
|
|
82
82
|
import { StoreState } from '@/store/typeAppStore';
|
|
83
83
|
import PlayerProgressBar from './PlayerProgressBar.vue';
|
|
84
84
|
import PlayerButtons from './PlayerButtons.vue';
|
|
85
85
|
import PlayerClockAndTimeline from './PlayerClockAndTimeline.vue';
|
|
86
86
|
import { defineComponent } from 'vue';
|
|
87
|
-
import { FetchParam } from '@/store/class/fetchParam';
|
|
87
|
+
import { FetchParam } from '@/store/class/general/fetchParam';
|
|
88
88
|
export default defineComponent({
|
|
89
89
|
name: 'Player',
|
|
90
90
|
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
<script lang="ts">
|
|
45
45
|
import { state } from '../../store/paramStore';
|
|
46
46
|
import { defineComponent } from 'vue';
|
|
47
|
-
import { Media } from '@/store/class/media';
|
|
48
|
-
import { Podcast } from '@/store/class/podcast';
|
|
47
|
+
import { Media } from '@/store/class/general/media';
|
|
48
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
49
49
|
import { RouteLocationRaw } from 'vue-router';
|
|
50
50
|
export default defineComponent({
|
|
51
51
|
name: 'PlayerButtons',
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
import moment from 'moment';
|
|
24
24
|
import { state } from '../../store/paramStore';
|
|
25
25
|
import { defineComponent } from 'vue';
|
|
26
|
-
import { CommentPodcast } from '@/store/class/comment';
|
|
26
|
+
import { CommentPodcast } from '@/store/class/general/comment';
|
|
27
27
|
export default defineComponent({
|
|
28
28
|
name: 'PlayerClockAndTimeline',
|
|
29
29
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<script lang="ts">
|
|
59
59
|
import { state } from '../../store/paramStore';
|
|
60
60
|
import DurationHelper from '../../helper/duration';
|
|
61
|
-
import { CommentPodcast } from '@/store/class/comment';
|
|
61
|
+
import { CommentPodcast } from '@/store/class/general/comment';
|
|
62
62
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
63
63
|
const CommentPlayer = defineAsyncComponent(() => import('../display/comments/CommentPlayer.vue'));
|
|
64
64
|
export default defineComponent({
|
|
@@ -139,9 +139,9 @@
|
|
|
139
139
|
<script lang="ts">
|
|
140
140
|
import { state } from '../../store/paramStore';
|
|
141
141
|
import HomeDropdown from './HomeDropdown.vue';
|
|
142
|
-
import { Organisation } from '@/store/class/organisation';
|
|
142
|
+
import { Organisation } from '@/store/class/general/organisation';
|
|
143
143
|
import { orgaFilter } from '../mixins/organisationFilter';
|
|
144
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
144
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
145
145
|
import { defineComponent,defineAsyncComponent } from 'vue';
|
|
146
146
|
const OrganisationChooserLight = defineAsyncComponent(() => import('../display/organisation/OrganisationChooserLight.vue'));
|
|
147
147
|
export default defineComponent({
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script lang="ts">
|
|
40
|
-
import { Emission } from '@/store/class/emission';
|
|
40
|
+
import { Emission } from '@/store/class/general/emission';
|
|
41
41
|
import { displayMethods } from '../../mixins/functions';
|
|
42
42
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
43
43
|
const RssSection = defineAsyncComponent(() => import('@/components/display/aggregator/RssSection.vue'));
|
|
@@ -110,8 +110,8 @@ import VSwatches from 'vue3-swatches';
|
|
|
110
110
|
// @ts-ignore
|
|
111
111
|
import humanizeDuration from 'humanize-duration';
|
|
112
112
|
import { displayMethods } from '../../mixins/functions';
|
|
113
|
-
import { Participant } from '@/store/class/participant';
|
|
114
|
-
import { Podcast } from '@/store/class/podcast';
|
|
113
|
+
import { Participant } from '@/store/class/general/participant';
|
|
114
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
115
115
|
import { state } from '../../../store/paramStore';
|
|
116
116
|
import { defineComponent } from 'vue'
|
|
117
117
|
import SnackbarVue from '../../misc/Snackbar.vue';
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
</template>
|
|
35
35
|
|
|
36
36
|
<script lang="ts">
|
|
37
|
-
import { Podcast } from '@/store/class/podcast';
|
|
38
|
-
import { Emission } from '@/store/class/emission';
|
|
37
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
38
|
+
import { Emission } from '@/store/class/general/emission';
|
|
39
39
|
import QrCode from '../../display/sharing/QrCode.vue';
|
|
40
40
|
import { defineComponent } from 'vue'
|
|
41
41
|
export default defineComponent({
|
|
@@ -97,7 +97,7 @@ import { displayMethods } from '../../mixins/functions';
|
|
|
97
97
|
|
|
98
98
|
import QrCode from '../../display/sharing/QrCode.vue';
|
|
99
99
|
import { defineComponent } from 'vue'
|
|
100
|
-
import { Podcast } from '@/store/class/podcast';
|
|
100
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
101
101
|
import SnackbarVue from '../Snackbar.vue';
|
|
102
102
|
export default defineComponent({
|
|
103
103
|
name: 'ShareModalPlayer',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { Category } from "@/store/class/category";
|
|
2
|
+
import { Category } from "@/store/class/general/category";
|
|
3
3
|
import { orgaFilter } from '../mixins/organisationFilter';
|
|
4
4
|
import octopusApi from '@saooti/octopus-api';
|
|
5
5
|
import { state } from '../../store/paramStore';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import PodcastList from '../display/podcasts/PodcastList.vue';
|
|
15
15
|
|
|
16
16
|
import { defineComponent } from 'vue'
|
|
17
|
-
import { Category } from '@/store/class/category';
|
|
17
|
+
import { Category } from '@/store/class/general/category';
|
|
18
18
|
export default defineComponent({
|
|
19
19
|
components: {
|
|
20
20
|
PodcastList,
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
import octopusApi from '@saooti/octopus-api';
|
|
113
113
|
import { state } from '../../store/paramStore';
|
|
114
114
|
import { displayMethods } from '../mixins/functions';
|
|
115
|
-
import { Emission } from '@/store/class/emission';
|
|
115
|
+
import { Emission } from '@/store/class/general/emission';
|
|
116
116
|
|
|
117
117
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
118
118
|
const PodcastFilterList = defineAsyncComponent(() => import('../display/podcasts/PodcastFilterList.vue'));
|
|
@@ -54,8 +54,8 @@ import EmissionList from '../display/emission/EmissionList.vue';
|
|
|
54
54
|
import AdvancedSearch from '../display/filter/AdvancedSearch.vue';
|
|
55
55
|
import { state } from '../../store/paramStore';
|
|
56
56
|
|
|
57
|
-
import { Category } from '@/store/class/category';
|
|
58
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
57
|
+
import { Category } from '@/store/class/general/category';
|
|
58
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
59
59
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
60
60
|
const ProductorSearch = defineAsyncComponent(() => import('../display/filter/ProductorSearch.vue'));
|
|
61
61
|
export default defineComponent({
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
import PodcastInlineList from '../display/podcasts/PodcastInlineList.vue';
|
|
40
40
|
import { state } from '../../store/paramStore';
|
|
41
41
|
|
|
42
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
43
|
-
import { Rubriquage } from '@/store/class/rubriquage';
|
|
44
|
-
import { Rubrique } from '@/store/class/rubrique';
|
|
42
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
43
|
+
import { Rubriquage } from '@/store/class/rubrique/rubriquage';
|
|
44
|
+
import { Rubrique } from '@/store/class/rubrique/rubrique';
|
|
45
45
|
import { defineComponent } from 'vue'
|
|
46
|
-
import { Category } from '@/store/class/category';
|
|
46
|
+
import { Category } from '@/store/class/general/category';
|
|
47
47
|
export default defineComponent({
|
|
48
48
|
name: 'Home',
|
|
49
49
|
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
<script lang="ts">
|
|
36
36
|
import { state } from '../../store/paramStore';
|
|
37
37
|
|
|
38
|
-
import { Organisation } from '@/store/class/organisation';
|
|
38
|
+
import { Organisation } from '@/store/class/general/organisation';
|
|
39
39
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
40
|
-
import { Conference } from '@/store/class/conference';
|
|
40
|
+
import { Conference } from '@/store/class/conference/conference';
|
|
41
41
|
const LiveList = defineAsyncComponent(() => import('../display/live/LiveList.vue'));
|
|
42
42
|
const OrganisationChooser = defineAsyncComponent(() => import('../display/organisation/OrganisationChooser.vue'));
|
|
43
43
|
export default defineComponent({
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
import octopusApi from '@saooti/octopus-api';
|
|
94
94
|
import { state } from '../../store/paramStore';
|
|
95
95
|
import { displayMethods } from '../mixins/functions';
|
|
96
|
-
import { Participant } from '@/store/class/participant';
|
|
96
|
+
import { Participant } from '@/store/class/general/participant';
|
|
97
97
|
|
|
98
98
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
99
99
|
const ShareButtons = defineAsyncComponent(() => import('../display/sharing/ShareButtons.vue'));
|
|
@@ -64,7 +64,7 @@ import PodcastList from '../display/playlist/PodcastList.vue';
|
|
|
64
64
|
import octopusApi from '@saooti/octopus-api';
|
|
65
65
|
import { state } from '../../store/paramStore';
|
|
66
66
|
import { displayMethods } from '../mixins/functions';
|
|
67
|
-
import { Playlist } from '@/store/class/playlist';
|
|
67
|
+
import { Playlist } from '@/store/class/general/playlist';
|
|
68
68
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
69
69
|
const ShareButtons = defineAsyncComponent(() => import('../display/sharing/ShareButtons.vue'));
|
|
70
70
|
const EditBox = defineAsyncComponent(() => import('@/components/display/edit/EditBox.vue'));
|
|
@@ -111,13 +111,13 @@ import octopusApi from '@saooti/octopus-api';
|
|
|
111
111
|
import studioApi from '@/api/studio';
|
|
112
112
|
import { state } from '../../store/paramStore';
|
|
113
113
|
import moment from 'moment';
|
|
114
|
-
import { Podcast } from '@/store/class/podcast';
|
|
115
|
-
import { Conference } from '@/store/class/conference';
|
|
114
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
115
|
+
import { Conference } from '@/store/class/conference/conference';
|
|
116
116
|
|
|
117
117
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
118
118
|
import CommentSectionVue from '../display/comments/CommentSection.vue';
|
|
119
|
-
import { CommentPodcast } from '@/store/class/comment';
|
|
120
|
-
import { Category } from '@/store/class/category';
|
|
119
|
+
import { CommentPodcast } from '@/store/class/general/comment';
|
|
120
|
+
import { Category } from '@/store/class/general/category';
|
|
121
121
|
const ShareButtons = defineAsyncComponent(() => import('../display/sharing/ShareButtons.vue'));
|
|
122
122
|
const SharePlayer = defineAsyncComponent(() => import('../display/sharing/SharePlayer.vue'));
|
|
123
123
|
const EditBox = defineAsyncComponent(() => import('@/components/display/edit/EditBox.vue'));
|
|
@@ -75,9 +75,9 @@ import PodcastList from '../display/podcasts/PodcastList.vue';
|
|
|
75
75
|
import { state } from '../../store/paramStore';
|
|
76
76
|
import ProductorSearch from '../display/filter/ProductorSearch.vue';
|
|
77
77
|
import AdvancedSearch from '../display/filter/AdvancedSearch.vue';
|
|
78
|
-
import { Emission } from '@/store/class/emission';
|
|
79
|
-
import { Category } from '@/store/class/category';
|
|
80
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
78
|
+
import { Emission } from '@/store/class/general/emission';
|
|
79
|
+
import { Category } from '@/store/class/general/category';
|
|
80
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
81
81
|
|
|
82
82
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
83
83
|
const EmissionChooser = defineAsyncComponent(() => import('../display/emission/EmissionChooser.vue'));
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AdserverTiming } from "./adserverTiming";
|
|
2
|
+
import { Organisation } from "../general/organisation";
|
|
3
|
+
|
|
4
|
+
export interface AdserverOtherEmission {
|
|
5
|
+
config: {
|
|
6
|
+
doublets: Array<AdserverTiming>;
|
|
7
|
+
minIntervalDuration: number;
|
|
8
|
+
minTailDuration: number;
|
|
9
|
+
server: string;
|
|
10
|
+
}
|
|
11
|
+
elected: string;
|
|
12
|
+
organisation: Organisation;
|
|
13
|
+
}
|
|
File without changes
|