@saooti/octopus-sdk 32.0.27 → 32.0.28
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
CHANGED
package/package.json
CHANGED
|
@@ -68,6 +68,7 @@ import { Emission } from '@/store/class/general/emission';
|
|
|
68
68
|
import { Rubrique } from '@/store/class/rubrique/rubrique';
|
|
69
69
|
import { defineComponent } from 'vue'
|
|
70
70
|
import { AxiosError } from 'axios';
|
|
71
|
+
import { imageProxy } from '../../mixins/functions';
|
|
71
72
|
import { Rubriquage } from '@/store/class/rubrique/rubriquage';
|
|
72
73
|
export default defineComponent({
|
|
73
74
|
name: 'EmissionInlineList',
|
|
@@ -77,7 +78,7 @@ export default defineComponent({
|
|
|
77
78
|
ClassicLoading
|
|
78
79
|
},
|
|
79
80
|
|
|
80
|
-
mixins: [handle403],
|
|
81
|
+
mixins: [handle403,imageProxy],
|
|
81
82
|
|
|
82
83
|
props: {
|
|
83
84
|
organisationId: { default: undefined, type: String},
|
|
@@ -220,7 +221,7 @@ export default defineComponent({
|
|
|
220
221
|
},
|
|
221
222
|
preloadImage(url: string): void {
|
|
222
223
|
const img = new Image();
|
|
223
|
-
img.src = url;
|
|
224
|
+
img.src = this.proxyImageUrl(url,'260');
|
|
224
225
|
},
|
|
225
226
|
async fetchRubriques(): Promise<void> {
|
|
226
227
|
const data = await octopusApi.fetchData<Rubriquage>(0, 'rubriquage/'+this.displayRubriquage);
|
|
@@ -53,6 +53,7 @@ import ClassicLoading from '../../form/ClassicLoading.vue';
|
|
|
53
53
|
const PHONE_WIDTH = 960;
|
|
54
54
|
import { state } from '../../../store/paramStore';
|
|
55
55
|
import { Podcast } from '@/store/class/general/podcast';
|
|
56
|
+
import { imageProxy } from '../../mixins/functions';
|
|
56
57
|
import { defineComponent } from 'vue'
|
|
57
58
|
export default defineComponent({
|
|
58
59
|
name: 'PodcastInlineListClassic',
|
|
@@ -62,7 +63,7 @@ export default defineComponent({
|
|
|
62
63
|
ClassicLoading,
|
|
63
64
|
PodcastInlineListTemplate
|
|
64
65
|
},
|
|
65
|
-
|
|
66
|
+
mixins:[imageProxy],
|
|
66
67
|
props: {
|
|
67
68
|
organisationId: { default: undefined, type: String},
|
|
68
69
|
emissionId: { default: undefined, type: Number},
|
|
@@ -233,7 +234,7 @@ export default defineComponent({
|
|
|
233
234
|
},
|
|
234
235
|
preloadImage(url: string): void {
|
|
235
236
|
const img = new Image();
|
|
236
|
-
img.src = url;
|
|
237
|
+
img.src = this.proxyImageUrl(url,'260');
|
|
237
238
|
},
|
|
238
239
|
},
|
|
239
240
|
})
|