@saooti/octopus-sdk 37.0.22 → 37.0.24
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/components/display/filter/SearchOrder.vue +17 -8
- package/src/components/display/podcasts/PodcastModuleBox.vue +9 -4
- package/src/components/form/ClassicDatePicker.vue +4 -0
- package/src/components/misc/TopBar.vue +12 -10
- package/src/locale/de.ts +1 -0
- package/src/locale/en.ts +1 -0
- package/src/locale/es.ts +1 -0
- package/src/locale/fr.ts +1 -2
- package/src/locale/it.ts +1 -0
- package/src/locale/sl.ts +1 -0
package/package.json
CHANGED
|
@@ -2,14 +2,7 @@
|
|
|
2
2
|
<ClassicRadio
|
|
3
3
|
v-model:textInit="sort"
|
|
4
4
|
id-radio="sort-radio"
|
|
5
|
-
:options="
|
|
6
|
-
{ title: $t('Sort score'), value: 'SCORE' },
|
|
7
|
-
{
|
|
8
|
-
title: $t('Sort last'),
|
|
9
|
-
value: isEmission ? 'LAST_PODCAST_DESC' : 'DATE',
|
|
10
|
-
},
|
|
11
|
-
{ title: $t('Sort name'), value: 'NAME' },
|
|
12
|
-
]"
|
|
5
|
+
:options="optionsArray"
|
|
13
6
|
/>
|
|
14
7
|
</template>
|
|
15
8
|
|
|
@@ -31,6 +24,22 @@ export default defineComponent({
|
|
|
31
24
|
sort: this.sortCriteria,
|
|
32
25
|
};
|
|
33
26
|
},
|
|
27
|
+
computed:{
|
|
28
|
+
optionsArray(){
|
|
29
|
+
let options = [
|
|
30
|
+
{ title: this.$t('Sort score'), value: 'SCORE' },
|
|
31
|
+
{
|
|
32
|
+
title: this.$t('Sort last'),
|
|
33
|
+
value: this.isEmission ? 'LAST_PODCAST_DESC' : 'DATE',
|
|
34
|
+
},
|
|
35
|
+
{ title: this.$t('Sort name'), value: 'NAME' },
|
|
36
|
+
];
|
|
37
|
+
if(!this.isEmission){
|
|
38
|
+
options.splice(2,0, { title: this.$t('Chronological'), value: 'DATE_ASC' });
|
|
39
|
+
}
|
|
40
|
+
return options;
|
|
41
|
+
}
|
|
42
|
+
},
|
|
34
43
|
watch: {
|
|
35
44
|
sort(): void {
|
|
36
45
|
this.$emit("updateSortCriteria", this.sort);
|
|
@@ -188,10 +188,13 @@ export default defineComponent({
|
|
|
188
188
|
return state.generalParameters.podcastmaker as boolean;
|
|
189
189
|
},
|
|
190
190
|
date(): string {
|
|
191
|
-
if (this.podcast
|
|
192
|
-
return
|
|
191
|
+
if (!this.podcast || 1970 === dayjs(this.podcast.pubDate).year()) {
|
|
192
|
+
return "";
|
|
193
193
|
}
|
|
194
|
-
|
|
194
|
+
if(this.isLiveReadyToRecord){
|
|
195
|
+
return dayjs(this.podcast.pubDate).format("D MMMM YYYY - HH:mm");
|
|
196
|
+
}
|
|
197
|
+
return dayjs(this.podcast.pubDate).format("D MMMM YYYY");
|
|
195
198
|
},
|
|
196
199
|
duration(): string {
|
|
197
200
|
if (!this.podcast || this.podcast.duration <= 1) return "";
|
|
@@ -261,7 +264,9 @@ export default defineComponent({
|
|
|
261
264
|
},
|
|
262
265
|
methods: {
|
|
263
266
|
removeDeleted(): void {
|
|
264
|
-
if
|
|
267
|
+
if(this.isLiveReadyToRecord){
|
|
268
|
+
this.$router.push("/main/pub/lives");
|
|
269
|
+
}else if (window.history.length > 1) {
|
|
265
270
|
this.$router.go(-1);
|
|
266
271
|
} else {
|
|
267
272
|
this.$router.push("/");
|
|
@@ -38,6 +38,7 @@ export default defineComponent({
|
|
|
38
38
|
date: { default: undefined, type: Date },
|
|
39
39
|
range: { default: undefined, type: Array as () => Array<Date> },
|
|
40
40
|
isMaxDate: { default: false, type: Boolean },
|
|
41
|
+
dateLimit: { default: undefined, type: Date },
|
|
41
42
|
isMinDate: { default: false, type: Boolean },
|
|
42
43
|
columnNumber: { default: 1, type: Number },
|
|
43
44
|
displaySeconds: { default: false, type: Boolean },
|
|
@@ -81,6 +82,9 @@ export default defineComponent({
|
|
|
81
82
|
return this.range ? dayString + " - " + dayString : dayString;
|
|
82
83
|
},
|
|
83
84
|
now(): Date {
|
|
85
|
+
if(this.dateLimit){
|
|
86
|
+
return this.dateLimit;
|
|
87
|
+
}
|
|
84
88
|
return dayjs().toDate();
|
|
85
89
|
},
|
|
86
90
|
},
|
|
@@ -13,16 +13,17 @@
|
|
|
13
13
|
@click="onDisplayMenu(true)"
|
|
14
14
|
>
|
|
15
15
|
<img
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
16
|
+
v-if="!filterOrgaId || '' === imgUrl"
|
|
17
|
+
:src="logoUrl"
|
|
18
|
+
:alt="$t('Logo of main page')"
|
|
19
|
+
width="140"
|
|
20
|
+
height="50"
|
|
21
|
+
:class="isEducation ? 'educationLogo' : ''"
|
|
22
|
+
/>
|
|
23
|
+
<img
|
|
24
|
+
v-else
|
|
25
|
+
:src="proxyImageUrl(imgUrl, '', '50')"
|
|
26
|
+
:alt="$t('Visual', { name: filterName })"
|
|
26
27
|
:class="isEducation ? 'educationLogo' : ''"
|
|
27
28
|
/>
|
|
28
29
|
</router-link>
|
|
@@ -51,6 +52,7 @@
|
|
|
51
52
|
</template>
|
|
52
53
|
<button
|
|
53
54
|
id="more-dropdown"
|
|
55
|
+
:title="$t('More')"
|
|
54
56
|
class="d-flex align-items-center hide-phone btn-transparent p-3"
|
|
55
57
|
>
|
|
56
58
|
<div class="link-hover">
|
package/src/locale/de.ts
CHANGED
package/src/locale/en.ts
CHANGED
package/src/locale/es.ts
CHANGED
package/src/locale/fr.ts
CHANGED
|
@@ -350,9 +350,8 @@ export default {
|
|
|
350
350
|
"Display HTML":"Afficher HTML",
|
|
351
351
|
"Video is unavailable":"La vidéo est indisponible",
|
|
352
352
|
'Full Large version': 'Version en longueur complète',
|
|
353
|
-
|
|
354
|
-
|
|
355
353
|
"Show only episodes with video":"Afficher uniquement les épisodes avec une vidéo",
|
|
356
354
|
"Video":"Vidéo",
|
|
357
355
|
"Video Version":"Version vidéo",
|
|
356
|
+
"Chronological":"Chronologique",
|
|
358
357
|
};
|
package/src/locale/it.ts
CHANGED