@saooti/octopus-sdk 36.0.35 → 36.0.37
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/package.json +1 -1
- package/src/assets/bootstrap.scss +1 -1
- package/src/assets/form.scss +1 -0
- package/src/components/display/categories/CategoryFilter.vue +1 -1
- package/src/components/display/filter/DateFilter.vue +2 -4
- package/src/components/display/filter/RubriqueFilter.vue +1 -1
- package/src/components/display/podcasts/PodcastImage.vue +4 -4
- package/src/components/display/podcasts/PodcastModuleBox.vue +2 -3
- package/src/components/form/ClassicMultiselect.vue +3 -0
- package/src/components/form/ClassicRadio.vue +1 -1
- package/src/components/misc/Popover.vue +2 -2
- package/src/components/misc/player/PlayerLarge.vue +2 -0
- package/src/components/pages/Podcast.vue +18 -11
- package/src/stores/ParamSdkStore.ts +10 -10
package/package.json
CHANGED
package/src/assets/form.scss
CHANGED
|
@@ -14,9 +14,8 @@
|
|
|
14
14
|
:label="$t('From the :')"
|
|
15
15
|
/>
|
|
16
16
|
<ClassicDatePicker
|
|
17
|
-
class="ps-3 pe-3"
|
|
18
17
|
:date="fromDate"
|
|
19
|
-
template-class="px-2 py-1 border rounded focus:border-blue-300"
|
|
18
|
+
template-class="mx-2 px-2 py-1 border rounded focus:border-blue-300"
|
|
20
19
|
@updateDate="fromDate=$event;updateFromDate"
|
|
21
20
|
/>
|
|
22
21
|
</div>
|
|
@@ -28,9 +27,8 @@
|
|
|
28
27
|
:label="$t('To the :')"
|
|
29
28
|
/>
|
|
30
29
|
<ClassicDatePicker
|
|
31
|
-
class="ps-3"
|
|
32
30
|
:date="toDate"
|
|
33
|
-
template-class="px-2 py-1 border rounded focus:border-blue-300"
|
|
31
|
+
template-class="ms-2 px-2 py-1 border rounded focus:border-blue-300"
|
|
34
32
|
@updateDate="toDate=$event;updateToDate"
|
|
35
33
|
/>
|
|
36
34
|
</div>
|
|
@@ -214,7 +214,7 @@ export default defineComponent({
|
|
|
214
214
|
case 'RECORDING':
|
|
215
215
|
return this.$t('In live');
|
|
216
216
|
case 'DEBRIEFING':
|
|
217
|
-
if (!this.isAnimatorLive) return '';
|
|
217
|
+
/* if (!this.isAnimatorLive) return ''; */
|
|
218
218
|
if ('READY_TO_RECORD' === this.podcast.processingStatus)
|
|
219
219
|
return this.$t('Not recording');
|
|
220
220
|
return this.$t('Debriefing');
|
|
@@ -318,10 +318,10 @@ export default defineComponent({
|
|
|
318
318
|
.image-play-button .play-button-error-icon {
|
|
319
319
|
background: #0000009d !important;
|
|
320
320
|
cursor: default !important;
|
|
321
|
-
align-self: center;
|
|
322
|
-
margin-bottom: calc(50% - 1rem);
|
|
321
|
+
/* align-self: center;
|
|
322
|
+
margin-bottom: calc(50% - 1rem); */
|
|
323
323
|
.big-icon-error {
|
|
324
|
-
font-size:
|
|
324
|
+
font-size: 1.5rem;
|
|
325
325
|
position: relative;
|
|
326
326
|
}
|
|
327
327
|
}
|
|
@@ -135,7 +135,6 @@
|
|
|
135
135
|
v-if="
|
|
136
136
|
!!fetchConference &&
|
|
137
137
|
isLiveReadyToRecord &&
|
|
138
|
-
!isNotRecorded &&
|
|
139
138
|
isOctopusAndAnimator
|
|
140
139
|
"
|
|
141
140
|
:podcast="podcast"
|
|
@@ -147,6 +146,7 @@
|
|
|
147
146
|
<EditBox
|
|
148
147
|
v-else-if="editRight && isEditBox"
|
|
149
148
|
:podcast="podcast"
|
|
149
|
+
:displayStudioAccess="isDebriefing"
|
|
150
150
|
@validatePodcast="$emit('updatePodcast', $event)"
|
|
151
151
|
/>
|
|
152
152
|
<TagList
|
|
@@ -243,9 +243,8 @@ export default defineComponent({
|
|
|
243
243
|
'READY' === this.podcast?.processingStatus
|
|
244
244
|
);
|
|
245
245
|
},
|
|
246
|
-
|
|
246
|
+
isDebriefing(): boolean {
|
|
247
247
|
return (
|
|
248
|
-
this.isLiveReadyToRecord &&
|
|
249
248
|
undefined!==this.fetchConference &&
|
|
250
249
|
'DEBRIEFING' === this.fetchConference.status
|
|
251
250
|
);
|
|
@@ -167,9 +167,9 @@ export default defineComponent({
|
|
|
167
167
|
z-index: 9999;
|
|
168
168
|
&.octopus-dropdown{
|
|
169
169
|
min-width: 200px;
|
|
170
|
-
padding: 0.5rem 1rem;
|
|
171
170
|
.octopus-dropdown-item{
|
|
172
|
-
display:
|
|
171
|
+
display: flex;
|
|
172
|
+
justify-content: center;
|
|
173
173
|
color: rgb(29, 29, 29);
|
|
174
174
|
width: 100%;
|
|
175
175
|
padding: 0.25rem 1rem;
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
</div>
|
|
60
60
|
<div class="d-flex align-items-center flex-grow-1">
|
|
61
61
|
<button
|
|
62
|
+
title="-15''"
|
|
62
63
|
class="btn fs-1 bg-transparent text-light saooti-backward"
|
|
63
64
|
@click="seekClick(-15)"
|
|
64
65
|
/>
|
|
@@ -78,6 +79,7 @@
|
|
|
78
79
|
/>
|
|
79
80
|
</button>
|
|
80
81
|
<button
|
|
82
|
+
title="+15''"
|
|
81
83
|
class="btn fs-1 bg-transparent text-light saooti-forward"
|
|
82
84
|
@click="seekClick(15)"
|
|
83
85
|
/>
|
|
@@ -223,18 +223,25 @@ export default defineComponent({
|
|
|
223
223
|
},
|
|
224
224
|
|
|
225
225
|
methods: {
|
|
226
|
+
async fetchConferencePublic(){
|
|
227
|
+
const data = await octopusApi.fetchData<string>(9, 'conference/realstatus/'+this.podcast.conferenceId);
|
|
228
|
+
this.fetchConference = {
|
|
229
|
+
status: data,
|
|
230
|
+
conferenceId: this.podcast.conferenceId,
|
|
231
|
+
title:'',
|
|
232
|
+
};
|
|
233
|
+
},
|
|
226
234
|
async initConference(){
|
|
227
|
-
if (!this.podcast ||
|
|
228
|
-
if (this.isOctopusAndAnimator
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
};
|
|
235
|
+
if (!this.podcast || undefined==this.podcast.conferenceId) return;
|
|
236
|
+
if (this.isOctopusAndAnimator ) {
|
|
237
|
+
try {
|
|
238
|
+
const data = await crudApi.fetchData<Conference>(9,'conference/'+this.podcast.conferenceId);
|
|
239
|
+
this.fetchConference = data ? data : {conferenceId:-1, title:''};
|
|
240
|
+
} catch {
|
|
241
|
+
await this.fetchConferencePublic();
|
|
242
|
+
}
|
|
243
|
+
} else{
|
|
244
|
+
await this.fetchConferencePublic();
|
|
238
245
|
}
|
|
239
246
|
if (
|
|
240
247
|
this.fetchConference &&
|
|
@@ -12,7 +12,7 @@ const state:ParamStore = {
|
|
|
12
12
|
isPlaylist: false,
|
|
13
13
|
isProduction: false,
|
|
14
14
|
isContribution: true,
|
|
15
|
-
ApiUri: 'https://api.
|
|
15
|
+
ApiUri: 'https://api.staging.saooti.org/',
|
|
16
16
|
podcastmaker: false,
|
|
17
17
|
buttonPlus: true,
|
|
18
18
|
allCategories: [],
|
|
@@ -26,8 +26,8 @@ const state:ParamStore = {
|
|
|
26
26
|
SharePlayer: true,
|
|
27
27
|
ShareButtons: true,
|
|
28
28
|
ShareDistribution: true,
|
|
29
|
-
MiniplayerUri: 'https://playerbeta.
|
|
30
|
-
hlsUri: 'https://hls.
|
|
29
|
+
MiniplayerUri: 'https://playerbeta.staging.saooti.org/',
|
|
30
|
+
hlsUri: 'https://hls.staging.saooti.org/',
|
|
31
31
|
mainRubrique: 0,
|
|
32
32
|
resourceUrl: undefined,
|
|
33
33
|
podcastItemShowEmission: false,
|
|
@@ -79,13 +79,13 @@ const state:ParamStore = {
|
|
|
79
79
|
userName: '',
|
|
80
80
|
},
|
|
81
81
|
octopusApi: {
|
|
82
|
-
url: 'https://api.
|
|
83
|
-
commentsUrl: 'https://comments.
|
|
84
|
-
imageUrl:'https://imageproxy.
|
|
85
|
-
studioUrl: 'https://studio.
|
|
86
|
-
playerUrl: 'https://playerbeta.
|
|
87
|
-
speechToTextUrl:'https://speech2text.
|
|
88
|
-
recoUrl: 'https://reco.
|
|
82
|
+
url: 'https://api.staging.saooti.org/',
|
|
83
|
+
commentsUrl: 'https://comments.staging.saooti.org/',
|
|
84
|
+
imageUrl:'https://imageproxy.staging.saooti.org/',
|
|
85
|
+
studioUrl: 'https://studio.staging.saooti.org/',
|
|
86
|
+
playerUrl: 'https://playerbeta.staging.saooti.org/',
|
|
87
|
+
speechToTextUrl:'https://speech2text.staging.saooti.org/',
|
|
88
|
+
recoUrl: 'https://reco.staging.saooti.org/',
|
|
89
89
|
organisationId: undefined,
|
|
90
90
|
rubriqueIdFilter: undefined,
|
|
91
91
|
},
|