@saooti/octopus-sdk 37.0.14 → 37.0.15

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "37.0.14",
3
+ "version": "37.0.15",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -64,7 +64,7 @@ import { Rubrique } from "@/stores/class/rubrique/rubrique";
64
64
  import { defineComponent } from "vue";
65
65
  import { AxiosError } from "axios";
66
66
  import imageProxy from "../../mixins/imageProxy";
67
- import { resizePhone } from "../../mixins/resizePhone";
67
+ import resizePhone from "../../mixins/resizePhone";
68
68
  import { Rubriquage } from "@/stores/class/rubrique/rubriquage";
69
69
  export default defineComponent({
70
70
  name: "EmissionInlineList",
@@ -55,7 +55,7 @@ import ClassicLoading from "../../form/ClassicLoading.vue";
55
55
  import { state } from "../../../stores/ParamSdkStore";
56
56
  import PaginateParams from "./PaginateParams.vue";
57
57
  import PaginateSection from "./PaginateSection.vue";
58
- import { resizePhone } from "../../mixins/resizePhone";
58
+ import resizePhone from "../../mixins/resizePhone";
59
59
  import { defineComponent } from "vue";
60
60
  export default defineComponent({
61
61
  name: "ListPaginate",
@@ -29,7 +29,7 @@ import { Swiper, SwiperSlide } from "swiper/vue";
29
29
  import { Navigation } from "swiper/modules";
30
30
  import "swiper/css";
31
31
  import "swiper/css/navigation";
32
- import { resizePhone } from "../../mixins/resizePhone";
32
+ import resizePhone from "../../mixins/resizePhone";
33
33
  import { defineComponent } from "vue";
34
34
  export default defineComponent({
35
35
  name: "SwiperList",
@@ -61,7 +61,7 @@ const PHONE_WIDTH = 960;
61
61
  import { state } from "../../../stores/ParamSdkStore";
62
62
  import { Podcast } from "@/stores/class/general/podcast";
63
63
  import { Playlist } from "@/stores/class/general/playlist";
64
- import { resizePhone } from "../../mixins/resizePhone";
64
+ import resizePhone from "../../mixins/resizePhone";
65
65
  import { defineComponent } from "vue";
66
66
  export default defineComponent({
67
67
  name: "PodcastPlaylistInlineList",
@@ -58,7 +58,7 @@ import { mapState } from "pinia";
58
58
  import { state } from "../../../stores/ParamSdkStore";
59
59
  import { Podcast } from "@/stores/class/general/podcast";
60
60
  import imageProxy from "../../mixins/imageProxy";
61
- import { resizePhone } from "../../mixins/resizePhone";
61
+ import resizePhone from "../../mixins/resizePhone";
62
62
  import { defineComponent } from "vue";
63
63
  export default defineComponent({
64
64
  name: "PodcastInlineListClassic",
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { defineComponent } from 'vue';
3
- export const resizePhone = defineComponent({
3
+ export default defineComponent({
4
4
  data() {
5
5
  return {
6
6
  isPhone: false as boolean,
@@ -11,11 +11,9 @@ export const resizePhone = defineComponent({
11
11
  window.addEventListener('resize', this.handleResize);
12
12
  this.handleResize();
13
13
  },
14
-
15
14
  unmounted() {
16
15
  window.removeEventListener('resize', this.handleResize);
17
16
  },
18
-
19
17
  methods: {
20
18
  handleResize(): void {
21
19
  this.windowWidth= window.innerWidth;