@saooti/octopus-sdk 30.0.81 → 30.0.84
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/package.json +1 -1
- package/src/components/display/filter/AdvancedSearch.vue +2 -12
- package/src/components/display/sharing/QrCode.vue +24 -4
- package/src/components/display/sharing/SharePlayer.vue +1 -1
- package/src/components/pages/Emissions.vue +26 -1
- package/src/components/pages/Podcasts.vue +1 -0
- package/src/locale/de.ts +3 -0
- package/src/locale/en.ts +5 -1
- package/src/locale/es.ts +3 -0
- package/src/locale/fr.ts +4 -0
- package/src/locale/it.ts +3 -0
- package/src/locale/sl.ts +3 -0
package/README.md
CHANGED
|
@@ -577,4 +577,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
577
577
|
* 30.0.78 a -> word-break
|
|
578
578
|
* 30.0.79 DownloadId player
|
|
579
579
|
* 30.0.80 DownloadId player
|
|
580
|
-
* 30.0.81 DownloadId player
|
|
580
|
+
* 30.0.81 DownloadId player
|
|
581
|
+
* 30.0.82 Cherry pick Color Qr code
|
|
582
|
+
* 30.0.83 Locales parlement
|
|
583
|
+
* 30.0.84 Une émission non visible n'apparaît pas dans la page émission
|
package/package.json
CHANGED
|
@@ -172,10 +172,10 @@ export default defineComponent({
|
|
|
172
172
|
isTo: false as boolean,
|
|
173
173
|
fromDate: moment().subtract(10, 'days').toISOString() as string,
|
|
174
174
|
toDate: moment().toISOString() as string,
|
|
175
|
-
isNotVisible:
|
|
175
|
+
isNotVisible: this.includeHidden as boolean,
|
|
176
176
|
isNotValidate: false as boolean,
|
|
177
177
|
showFilters: false as boolean,
|
|
178
|
-
sort:
|
|
178
|
+
sort: this.sortCriteria as string,
|
|
179
179
|
};
|
|
180
180
|
},
|
|
181
181
|
|
|
@@ -268,16 +268,6 @@ export default defineComponent({
|
|
|
268
268
|
this.sort = this.sortCriteria;
|
|
269
269
|
},
|
|
270
270
|
},
|
|
271
|
-
|
|
272
|
-
created() {
|
|
273
|
-
if (!this.isEmission) {
|
|
274
|
-
this.isNotVisible = this.includeHidden;
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
|
|
278
|
-
mounted() {
|
|
279
|
-
this.sort = this.sortCriteria;
|
|
280
|
-
},
|
|
281
271
|
methods: {
|
|
282
272
|
updateFromDate(): void {
|
|
283
273
|
if (
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
class="myQrCode"
|
|
9
9
|
:margin="2"
|
|
10
10
|
/>
|
|
11
|
+
<ClassicCheckbox
|
|
12
|
+
v-if="'#000000'!==otherColor"
|
|
13
|
+
v-model:textInit="isNotBlack"
|
|
14
|
+
class="flex-shrink-0"
|
|
15
|
+
id-checkbox="is-black-qr-code"
|
|
16
|
+
:label="$t('Use organization color')"
|
|
17
|
+
/>
|
|
11
18
|
<button
|
|
12
19
|
class="btn m-3"
|
|
13
20
|
@click="download"
|
|
@@ -22,6 +29,7 @@
|
|
|
22
29
|
</template>
|
|
23
30
|
|
|
24
31
|
<script lang="ts">
|
|
32
|
+
import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
|
|
25
33
|
import { state } from '../../../store/paramStore';
|
|
26
34
|
import octopusApi from '@saooti/octopus-api';
|
|
27
35
|
import Snackbar from '../../misc/Snackbar.vue';
|
|
@@ -33,7 +41,8 @@ export default defineComponent({
|
|
|
33
41
|
|
|
34
42
|
components: {
|
|
35
43
|
Snackbar,
|
|
36
|
-
QrcodeVue
|
|
44
|
+
QrcodeVue,
|
|
45
|
+
ClassicCheckbox
|
|
37
46
|
},
|
|
38
47
|
props: {
|
|
39
48
|
url: { default: '', type: String},
|
|
@@ -42,7 +51,9 @@ export default defineComponent({
|
|
|
42
51
|
data() {
|
|
43
52
|
return {
|
|
44
53
|
size: 200 as number,
|
|
45
|
-
color: "#
|
|
54
|
+
color: "#000000" as string,
|
|
55
|
+
otherColor:"#000000" as string,
|
|
56
|
+
isNotBlack: false as boolean,
|
|
46
57
|
};
|
|
47
58
|
},
|
|
48
59
|
computed:{
|
|
@@ -50,6 +61,15 @@ export default defineComponent({
|
|
|
50
61
|
return (state.generalParameters.authenticated as boolean);
|
|
51
62
|
},
|
|
52
63
|
},
|
|
64
|
+
watch:{
|
|
65
|
+
isNotBlack(){
|
|
66
|
+
if(this.isNotBlack){
|
|
67
|
+
this.color = this.otherColor;
|
|
68
|
+
}else{
|
|
69
|
+
this.color = "#000000";
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
53
73
|
created(){
|
|
54
74
|
this.initColor();
|
|
55
75
|
},
|
|
@@ -66,7 +86,7 @@ export default defineComponent({
|
|
|
66
86
|
},
|
|
67
87
|
async initColor(): Promise<void> {
|
|
68
88
|
if(state.generalParameters.podcastmaker && state.generalParameters.podcastmakerColor){
|
|
69
|
-
this.
|
|
89
|
+
this.otherColor = state.generalParameters.podcastmakerColor;
|
|
70
90
|
return;
|
|
71
91
|
}
|
|
72
92
|
if (!this.authenticated) return;
|
|
@@ -79,7 +99,7 @@ export default defineComponent({
|
|
|
79
99
|
);
|
|
80
100
|
}
|
|
81
101
|
if (Object.prototype.hasOwnProperty.call(data,'COLOR')) {
|
|
82
|
-
this.
|
|
102
|
+
this.otherColor = data.COLOR;
|
|
83
103
|
}
|
|
84
104
|
},
|
|
85
105
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<div class="module-box text-center-mobile">
|
|
3
|
+
<div class="module-box text-center-mobile overflow-visible">
|
|
4
4
|
<h3>{{ $t('Embed') }}</h3>
|
|
5
5
|
<template v-if="!exclusive && (authenticated || notExclusive)">
|
|
6
6
|
<div class="d-flex flex-column align-items-center">
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
:is-search-bar="isProductorSearch"
|
|
24
24
|
:sort-criteria="sortEmission"
|
|
25
25
|
:organisation-id="organisationId"
|
|
26
|
+
:includeHidden="includeHidden"
|
|
26
27
|
@updateCategory="updateCategory"
|
|
27
28
|
@updateRubriquageFilter="updateRubriquageFilter"
|
|
28
29
|
@updateMonetization="updateMonetization"
|
|
@@ -43,7 +44,6 @@
|
|
|
43
44
|
:sort="sortEmission"
|
|
44
45
|
:include-hidden="includeHidden"
|
|
45
46
|
:iab-id="iabId"
|
|
46
|
-
|
|
47
47
|
:rubrique-id="rubriqueId"
|
|
48
48
|
:rubriquage-id="rubriquageId"
|
|
49
49
|
:no-rubriquage-id="noRubriquageId"
|
|
@@ -106,6 +106,28 @@ export default defineComponent({
|
|
|
106
106
|
titlePage(): string|undefined {
|
|
107
107
|
return state.emissionsPage.titlePage;
|
|
108
108
|
},
|
|
109
|
+
authenticated(): boolean {
|
|
110
|
+
return (state.generalParameters.authenticated as boolean);
|
|
111
|
+
},
|
|
112
|
+
myOrganisationId(): string|undefined {
|
|
113
|
+
return state.generalParameters.organisationId;
|
|
114
|
+
},
|
|
115
|
+
organisationRight(): boolean {
|
|
116
|
+
if (
|
|
117
|
+
(this.authenticated && this.myOrganisationId === this.organisationId) ||
|
|
118
|
+
state.generalParameters.isAdmin
|
|
119
|
+
)
|
|
120
|
+
return true;
|
|
121
|
+
return false;
|
|
122
|
+
},
|
|
123
|
+
filterOrga(): string|undefined {
|
|
124
|
+
return this.$store.state.filter.organisationId;
|
|
125
|
+
},
|
|
126
|
+
organisation(): string|undefined {
|
|
127
|
+
if (this.organisationId) return this.organisationId;
|
|
128
|
+
if (this.filterOrga) return this.filterOrga;
|
|
129
|
+
return undefined;
|
|
130
|
+
},
|
|
109
131
|
},
|
|
110
132
|
|
|
111
133
|
created() {
|
|
@@ -117,6 +139,9 @@ export default defineComponent({
|
|
|
117
139
|
} else if (this.$store.state.filter.organisationId) {
|
|
118
140
|
this.organisationId = this.$store.state.filter.organisationId;
|
|
119
141
|
}
|
|
142
|
+
if (this.organisation && this.organisationRight) {
|
|
143
|
+
this.includeHidden = true;
|
|
144
|
+
}
|
|
120
145
|
if(this.rubriqueFilter.length){
|
|
121
146
|
this.updateRubriquageFilter(this.rubriqueFilter);
|
|
122
147
|
}
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
:reset-rubriquage="resetRubriquage"
|
|
36
36
|
:is-search-bar="isProductorSearch"
|
|
37
37
|
:sort-criteria="sortCriteria"
|
|
38
|
+
:includeHidden="includeHidden"
|
|
38
39
|
:organisation-id="organisationId"
|
|
39
40
|
@updateCategory="updateCategory"
|
|
40
41
|
@updateRubriquageFilter="updateRubriquageFilter"
|
package/src/locale/de.ts
CHANGED
package/src/locale/en.ts
CHANGED
|
@@ -70,7 +70,7 @@ export default{
|
|
|
70
70
|
'Episode name image': "Episode {name} image",
|
|
71
71
|
'More episodes of this emission': "More episodes from this series",
|
|
72
72
|
'More episodes of this category : {name}': "More episodes from this category : {name}",
|
|
73
|
-
'All podcast emission button': "All
|
|
73
|
+
'All podcast emission button': "All podcasts from this series",
|
|
74
74
|
Duration: 'Duration : {duration}',
|
|
75
75
|
Animator: 'Host',
|
|
76
76
|
'No category filter': 'No category filter',
|
|
@@ -297,4 +297,8 @@ export default{
|
|
|
297
297
|
'From RSS': "From an RSS feed",
|
|
298
298
|
"User menu":"User menu",
|
|
299
299
|
'Podcast tags': 'Podcast tags',
|
|
300
|
+
"You do not have the right to access this page":"You do not have the right to access this page",
|
|
301
|
+
"Enlarge":"Enlarge",
|
|
302
|
+
"Reduce":"Reduce",
|
|
303
|
+
"Use organization color":"Use organization color",
|
|
300
304
|
};
|
package/src/locale/es.ts
CHANGED
package/src/locale/fr.ts
CHANGED
|
@@ -297,4 +297,8 @@ export default{
|
|
|
297
297
|
'From RSS': "Issu d'un flux RSS",
|
|
298
298
|
"User menu":"Menu utilisateur",
|
|
299
299
|
'Podcast tags': "Mot-clé de l'épisode",
|
|
300
|
+
"You do not have the right to access this page":"Vous n’avez pas le droit d’accéder à cette page",
|
|
301
|
+
"Enlarge":"Agrandir",
|
|
302
|
+
"Reduce":"Réduire",
|
|
303
|
+
"Use organization color":"Utiliser la couleur de l'organisation",
|
|
300
304
|
};
|
package/src/locale/it.ts
CHANGED
|
@@ -295,4 +295,7 @@ export default{
|
|
|
295
295
|
'Podcast tags': 'Tag podcast',
|
|
296
296
|
"Term of use":"Termini d'uso",
|
|
297
297
|
'More episodes of this category : ': "Altri episodi su questo tema : {name}",
|
|
298
|
+
"Enlarge":"Ingrandire",
|
|
299
|
+
"Reduce":"Ridurre",
|
|
300
|
+
"Use organization color":"Usa il colore dell'organizzazione",
|
|
298
301
|
};
|
package/src/locale/sl.ts
CHANGED