@saooti/octopus-sdk 39.0.59 → 39.1.0-SNAPSHOT

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.
Files changed (115) hide show
  1. package/index.ts +27 -3
  2. package/package.json +2 -1
  3. package/src/App.vue +2 -2
  4. package/src/components/display/categories/CategoryChooser.vue +1 -1
  5. package/src/components/display/categories/CategoryFilter.vue +1 -1
  6. package/src/components/display/categories/CategoryList.vue +2 -2
  7. package/src/components/display/comments/CommentInput.vue +2 -2
  8. package/src/components/display/comments/CommentName.vue +1 -1
  9. package/src/components/display/comments/CommentPlayer.vue +2 -2
  10. package/src/components/display/comments/CommentSection.vue +1 -1
  11. package/src/components/display/comments/item/CommentItem.vue +1 -2
  12. package/src/components/display/comments/item/CommentMoreActions.vue +1 -1
  13. package/src/components/display/comments/like/LikeSection.vue +1 -1
  14. package/src/components/display/comments/modal/CheckIdentityModal.vue +1 -1
  15. package/src/components/display/comments/modal/ReportAbuseModal.vue +1 -1
  16. package/src/components/display/emission/EmissionList.vue +1 -1
  17. package/src/components/display/emission/EmissionPlayerItem.vue +2 -2
  18. package/src/components/display/filter/CategorySearchFilter.vue +1 -1
  19. package/src/components/display/filter/ProductorSearch.vue +1 -1
  20. package/src/components/display/filter/RubriqueFilter.vue +1 -1
  21. package/src/components/display/list/ListPaginate.vue +1 -1
  22. package/src/components/display/live/CountDown.vue +1 -1
  23. package/src/components/display/live/CountdownOctopus.vue +2 -4
  24. package/src/components/display/live/LiveList.vue +2 -2
  25. package/src/components/display/live/RadioCurrently.vue +2 -2
  26. package/src/components/display/live/RadioImage.vue +2 -2
  27. package/src/components/display/live/RadioItem.vue +1 -1
  28. package/src/components/display/live/RadioList.vue +1 -1
  29. package/src/components/display/live/RadioPlanning.vue +1 -1
  30. package/src/components/display/organisation/OrganisationChooser.vue +1 -1
  31. package/src/components/display/organisation/OrganisationChooserLight.vue +1 -1
  32. package/src/components/display/participant/ParticipantList.vue +1 -1
  33. package/src/components/display/playlist/PlaylistItem.vue +1 -1
  34. package/src/components/display/playlist/PlaylistList.vue +1 -1
  35. package/src/components/display/podcasts/AnimatorsItem.vue +1 -1
  36. package/src/components/display/podcasts/ParticipantDescription.vue +1 -1
  37. package/src/components/display/podcasts/PodcastInlineListClassic.vue +1 -1
  38. package/src/components/display/podcasts/PodcastInlineListTemplate.vue +1 -1
  39. package/src/components/display/podcasts/PodcastItem.vue +1 -1
  40. package/src/components/display/podcasts/PodcastList.vue +1 -1
  41. package/src/components/display/podcasts/PodcastPlayBar.vue +1 -1
  42. package/src/components/display/podcasts/PodcastPlayButton.vue +3 -3
  43. package/src/components/display/podcasts/PodcastSwiperList.vue +1 -1
  44. package/src/components/display/podcasts/VideoModuleBox.vue +6 -11
  45. package/src/components/display/rubriques/RubriqueList.vue +1 -1
  46. package/src/components/display/sharing/QrCode.vue +1 -1
  47. package/src/components/display/sharing/ShareButtons.vue +1 -1
  48. package/src/components/display/sharing/SharePlayer.vue +1 -1
  49. package/src/components/display/sharing/SharePlayerRadio.vue +1 -1
  50. package/src/components/display/sharing/SubscribeButtons.vue +1 -1
  51. package/src/components/form/ClassicInputText.vue +6 -3
  52. package/src/components/form/ClassicSelect.vue +3 -6
  53. package/src/components/form/ClassicWysiwyg.vue +20 -0
  54. package/src/components/misc/ClassicNav.vue +7 -1
  55. package/src/components/misc/FooterSection.vue +2 -2
  56. package/src/components/misc/MobileMenu.vue +1 -1
  57. package/src/components/misc/ProgressBar.vue +1 -1
  58. package/src/components/misc/TopBar.vue +1 -1
  59. package/src/components/misc/TopBarMainContent.vue +1 -1
  60. package/src/components/misc/modal/NewsletterModal.vue +1 -1
  61. package/src/components/misc/player/PlayerCompact.vue +2 -5
  62. package/src/components/misc/player/PlayerComponent.vue +3 -3
  63. package/src/components/misc/player/PlayerLarge.vue +1 -1
  64. package/src/components/misc/player/ads/AdsProgressBar.vue +1 -1
  65. package/src/components/misc/player/ads/AdsSkipButton.vue +1 -1
  66. package/src/components/misc/player/chaptering/ChapteringModal.vue +1 -1
  67. package/src/components/misc/player/chaptering/PlayerChaptering.vue +1 -1
  68. package/src/components/misc/player/elements/PlayerImage.vue +6 -6
  69. package/src/components/misc/player/elements/PlayerPlayButton.vue +2 -2
  70. package/src/components/misc/player/elements/PlayerSpeedButton.vue +20 -20
  71. package/src/components/misc/player/elements/PlayerTitle.vue +2 -2
  72. package/src/components/misc/player/progressbar/PlayerProgressBar.vue +2 -2
  73. package/src/components/misc/player/progressbar/PodcastProgressBar.vue +1 -1
  74. package/src/components/misc/player/radio/RadioHistory.vue +1 -1
  75. package/src/components/misc/player/radio/RadioProgressBar.vue +1 -1
  76. package/src/components/misc/player/video/PlayerVideo.vue +2 -2
  77. package/src/components/misc/player/video/PlayerVideoDigiteka.vue +3 -3
  78. package/src/components/misc/player/video/PlayerVideoHls.vue +7 -3
  79. package/src/components/mixins/debounce.ts +1 -1
  80. package/src/components/mixins/init.ts +1 -1
  81. package/src/components/mixins/orgaComputed.ts +1 -1
  82. package/src/components/mixins/organisationFilter.ts +2 -2
  83. package/src/components/mixins/player/playerDisplayTime.ts +2 -2
  84. package/src/components/mixins/player/playerLive.ts +1 -1
  85. package/src/components/mixins/player/playerLogic.ts +3 -3
  86. package/src/components/mixins/player/playerLogicProgress.ts +1 -1
  87. package/src/components/mixins/player/playerStitching.ts +3 -3
  88. package/src/components/mixins/player/playerTranscript.ts +2 -2
  89. package/src/components/mixins/player/playerVast.ts +2 -2
  90. package/src/components/pages/CategoryPage.vue +2 -2
  91. package/src/components/pages/EmissionPage.vue +1 -1
  92. package/src/components/pages/EmissionsPage.vue +1 -1
  93. package/src/components/pages/Error403Page.vue +1 -1
  94. package/src/components/pages/HomePage.vue +2 -2
  95. package/src/components/pages/LivesPage.vue +1 -1
  96. package/src/components/pages/PageNotFound.vue +2 -2
  97. package/src/components/pages/PlaylistPage.vue +1 -1
  98. package/src/components/pages/PodcastPage.vue +2 -2
  99. package/src/components/pages/PodcastsPage.vue +1 -1
  100. package/src/components/pages/RadioPage.vue +1 -1
  101. package/src/components/pages/VideoPage.vue +120 -91
  102. package/src/helper/dom.ts +5 -0
  103. package/src/helper/duration.ts +18 -5
  104. package/src/locale/de.ts +1 -0
  105. package/src/locale/en.ts +1 -0
  106. package/src/locale/es.ts +1 -0
  107. package/src/locale/fr.ts +1 -0
  108. package/src/locale/it.ts +1 -0
  109. package/src/locale/sl.ts +1 -0
  110. package/src/stores/CommentStore.ts +115 -61
  111. package/src/stores/GeneralStore.ts +5 -3
  112. package/src/stores/PlayerStore.ts +48 -35
  113. package/src/stores/SaveFetchStore.ts +56 -39
  114. package/src/stores/VastStore.ts +45 -38
  115. package/src/stores/ApiStore.ts +0 -68
package/index.ts CHANGED
@@ -91,11 +91,26 @@ import orgaFilter from "./src/components/mixins/organisationFilter.ts";
91
91
  import initSDK from "./src/components/mixins/init.ts";
92
92
  import tagOfMixins from "./src/components/mixins/tagOfMixins.ts";
93
93
  import resizePhone from "./src/components/mixins/resizePhone.ts";
94
- import commentWebsocket from "./src/websocket/commentWebsocket.ts";
94
+ import debounce from "./src/components/mixins/debounce.ts";
95
95
 
96
96
 
97
97
  import TopBar from "./src/components/misc/TopBar.vue";
98
98
 
99
+ //helper
100
+ import domHelper from "./src/helper/dom.ts";
101
+ import durationHelper from "./src/helper/duration.ts";
102
+ import stringHelper from "./src/helper/string.ts";
103
+
104
+
105
+ //stores
106
+ import {useVastStore} from "./src/stores/VastStore.ts";
107
+ import {useSaveFetchStore} from "./src/stores/SaveFetchStore.ts";
108
+ import {usePlayerStore} from "./src/stores/PlayerStore.ts";
109
+ import {useGeneralStore} from "./src/stores/GeneralStore.ts";
110
+ import {useFilterStore} from "./src/stores/FilterStore.ts";
111
+ import {useCommentStore} from "./src/stores/CommentStore.ts";
112
+
113
+
99
114
  export {
100
115
  selenium,
101
116
  cookies,
@@ -105,6 +120,15 @@ export {
105
120
  initSDK,
106
121
  tagOfMixins,
107
122
  resizePhone,
108
- commentWebsocket,
109
- TopBar
123
+ debounce,
124
+ TopBar,
125
+ useVastStore,
126
+ useSaveFetchStore,
127
+ usePlayerStore,
128
+ useGeneralStore,
129
+ useFilterStore,
130
+ useCommentStore,
131
+ domHelper,
132
+ durationHelper,
133
+ stringHelper
110
134
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "39.0.59",
3
+ "version": "39.1.0-SNAPSHOT",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -18,6 +18,7 @@
18
18
  "@popperjs/core": "^2.11.8",
19
19
  "@saooti/octopus-api": "^0.39.2",
20
20
  "@stomp/stompjs": "^7.0.0",
21
+ "@tiptap/extension-hard-break": "^2.8.0",
21
22
  "@tiptap/extension-link": "^2.4.0",
22
23
  "@tiptap/extension-underline": "^2.4.0",
23
24
  "@tiptap/pm": "^2.4.0",
package/src/App.vue CHANGED
@@ -21,8 +21,8 @@ import { Rubriquage } from "./stores/class/rubrique/rubriquage";
21
21
  import { RubriquageFilter } from "./stores/class/rubrique/rubriquageFilter";
22
22
  import { Rubrique } from "./stores/class/rubrique/rubrique";
23
23
  import initSDK from "./components/mixins/init";
24
- import { useFilterStore } from "@/stores/FilterStore";
25
- import { useGeneralStore } from "@/stores/GeneralStore";
24
+ import { useFilterStore } from "./stores/FilterStore";
25
+ import { useGeneralStore } from "./stores/GeneralStore";
26
26
  import { mapState, mapActions } from "pinia";
27
27
  import { defineAsyncComponent, defineComponent } from "vue";
28
28
  import { Category } from "./stores/class/general/category";
@@ -19,7 +19,7 @@
19
19
  </template>
20
20
 
21
21
  <script lang="ts">
22
- import { useGeneralStore } from "@/stores/GeneralStore";
22
+ import { useGeneralStore } from "../../../stores/GeneralStore";
23
23
  import { mapState } from "pinia";
24
24
  import ClassicMultiselect from "../../form/ClassicMultiselect.vue";
25
25
  import { Category } from "@/stores/class/general/category";
@@ -65,7 +65,7 @@
65
65
  import { Rubriquage } from "@/stores/class/rubrique/rubriquage";
66
66
  import { RubriquageFilter } from "@/stores/class/rubrique/rubriquageFilter";
67
67
  import { Rubrique } from "@/stores/class/rubrique/rubrique";
68
- import { useFilterStore } from "@/stores/FilterStore";
68
+ import { useFilterStore } from "../../../stores/FilterStore";
69
69
  import { state } from "../../../stores/ParamSdkStore";
70
70
  import { mapState, mapActions } from "pinia";
71
71
  import { defineComponent, defineAsyncComponent } from "vue";
@@ -43,8 +43,8 @@ import octopusApi from "@saooti/octopus-api";
43
43
  import { state } from "../../../stores/ParamSdkStore";
44
44
  import ClassicPopover from "../../misc/ClassicPopover.vue";
45
45
  import { Category } from "@/stores/class/general/category";
46
- import { useFilterStore } from "@/stores/FilterStore";
47
- import { useGeneralStore } from "@/stores/GeneralStore";
46
+ import { useFilterStore } from "../../../stores/FilterStore";
47
+ import { useGeneralStore } from "../../../stores/GeneralStore";
48
48
  import { mapState, mapActions } from "pinia";
49
49
  import { defineComponent } from "vue";
50
50
  export default defineComponent({
@@ -58,8 +58,8 @@ import { CommentCreate, CommentPodcast } from "@/stores/class/general/comment";
58
58
  import Constants from "../../../../public/config";
59
59
  import { mapState } from "pinia";
60
60
  import { defineComponent, defineAsyncComponent } from "vue";
61
- import { useCommentStore } from "@/stores/CommentStore";
62
- import { usePlayerStore } from "@/stores/PlayerStore";
61
+ import { useCommentStore } from "../../../stores/CommentStore";
62
+ import { usePlayerStore } from "../../../stores/PlayerStore";
63
63
  const CheckIdentityModal = defineAsyncComponent(
64
64
  () => import("./modal/CheckIdentityModal.vue"),
65
65
  );
@@ -42,7 +42,7 @@ import Constants from "../../../../public/config";
42
42
  import { useAuthStore } from "@/stores/AuthStore";
43
43
  import { mapActions, mapState } from "pinia";
44
44
  import { defineComponent } from "vue";
45
- import { useCommentStore } from "@/stores/CommentStore";
45
+ import { useCommentStore } from "../../../stores/CommentStore";
46
46
  export default defineComponent({
47
47
  name: "CommentName",
48
48
  emits: [],
@@ -35,10 +35,10 @@
35
35
  <script lang="ts">
36
36
  import { CommentPodcast } from "@/stores/class/general/comment";
37
37
  import selenium from "../../mixins/selenium";
38
- import { usePlayerStore } from "@/stores/PlayerStore";
38
+ import { usePlayerStore } from "../../../stores/PlayerStore";
39
39
  import { mapActions, mapState } from "pinia";
40
40
  import { defineComponent } from "vue";
41
- import { useCommentStore } from "@/stores/CommentStore";
41
+ import { useCommentStore } from "../../../stores/CommentStore";
42
42
  export default defineComponent({
43
43
  name: "CommentPlayer",
44
44
  mixins: [selenium],
@@ -30,7 +30,7 @@ import cookies from "../../mixins/cookies";
30
30
  import { Podcast } from "@/stores/class/general/podcast";
31
31
  import { defineAsyncComponent, defineComponent } from "vue";
32
32
  import { mapActions, mapState } from "pinia";
33
- import { useCommentStore } from "@/stores/CommentStore";
33
+ import { useCommentStore } from "../../../stores/CommentStore";
34
34
  import {
35
35
  CommentMessage,
36
36
  CommentsConfig,
@@ -89,7 +89,7 @@ import displayMethods from "../../../mixins/displayMethods";
89
89
  import { CommentPodcast } from "@/stores/class/general/comment";
90
90
  import { Podcast } from "../../../../stores/class/general/podcast";
91
91
  import CommentBasicView from "./CommentBasicView.vue";
92
- import { useCommentStore } from "@/stores/CommentStore";
92
+ import { useCommentStore } from "../../../../stores/CommentStore";
93
93
  import { mapActions, mapState } from "pinia";
94
94
  import { defineComponent, defineAsyncComponent } from "vue";
95
95
  import {
@@ -232,4 +232,3 @@ export default defineComponent({
232
232
  },
233
233
  });
234
234
  </script>
235
-
@@ -60,7 +60,7 @@ import CommentMoreActionsAdmin from "@/components/display/comments/item/CommentM
60
60
  import { useAuthStore } from "@/stores/AuthStore";
61
61
  import { CommentPodcast } from "@/stores/class/general/comment";
62
62
  import { Podcast } from "@/stores/class/general/podcast";
63
- import { useCommentStore } from "@/stores/CommentStore";
63
+ import { useCommentStore } from "../../../../stores/CommentStore";
64
64
  import { mapActions, mapState } from "pinia";
65
65
  import { defineComponent, defineAsyncComponent } from "vue";
66
66
  import { CommentsConfig } from "@/stores/class/config/commentsConfig";
@@ -26,7 +26,7 @@
26
26
  import { state } from "../../../../stores/ParamSdkStore";
27
27
  import { defineComponent, defineAsyncComponent } from "vue";
28
28
  import octopusApi from "@saooti/octopus-api";
29
- import { useCommentStore } from "@/stores/CommentStore";
29
+ import { useCommentStore } from "../../../../stores/CommentStore";
30
30
  import { mapActions, mapState } from "pinia";
31
31
  import {
32
32
  CommentFeelings,
@@ -25,7 +25,7 @@ import ClassicInputText from "../../../form/ClassicInputText.vue";
25
25
  import RecaptchaModal from "./RecaptchaModal.vue";
26
26
  import { mapActions } from "pinia";
27
27
  import { defineComponent } from "vue";
28
- import { useCommentStore } from "@/stores/CommentStore";
28
+ import { useCommentStore } from "../../../../stores/CommentStore";
29
29
  export default defineComponent({
30
30
  name: "CheckIdentityModal",
31
31
  components: {
@@ -39,7 +39,7 @@ import ClassicInputText from "../../../form/ClassicInputText.vue";
39
39
  import RecaptchaModal from "./RecaptchaModal.vue";
40
40
  import { mapActions, mapState } from "pinia";
41
41
  import { defineComponent } from "vue";
42
- import { useCommentStore } from "@/stores/CommentStore";
42
+ import { useCommentStore } from "../../../../stores/CommentStore";
43
43
  import octopusApi from "@saooti/octopus-api";
44
44
  import {
45
45
  CommentAbuseInfo,
@@ -70,7 +70,7 @@ import { defineComponent, defineAsyncComponent } from "vue";
70
70
  import { FetchParam } from "@/stores/class/general/fetchParam";
71
71
  import { AxiosError } from "axios";
72
72
  import { Rubriquage } from "@/stores/class/rubrique/rubriquage";
73
- import { useFilterStore } from "@/stores/FilterStore";
73
+ import { useFilterStore } from "../../../stores/FilterStore";
74
74
  import { mapState } from "pinia";
75
75
  import { ListClassicReturn } from "@/stores/class/general/listReturn";
76
76
  const EmissionItem = defineAsyncComponent(() => import("./EmissionItem.vue"));
@@ -105,8 +105,8 @@ import { Podcast } from "@/stores/class/general/podcast";
105
105
  import { state } from "../../../stores/ParamSdkStore";
106
106
  import imageProxy from "../../mixins/imageProxy";
107
107
  import displayMethods from "../../mixins/displayMethods";
108
- import { usePlayerStore } from "@/stores/PlayerStore";
109
- import { useFilterStore } from "@/stores/FilterStore";
108
+ import { usePlayerStore } from "../../../stores/PlayerStore";
109
+ import { useFilterStore } from "../../../stores/FilterStore";
110
110
  import { mapState, mapActions } from "pinia";
111
111
  import { defineAsyncComponent, defineComponent } from "vue";
112
112
  import { ListClassicReturn } from "@/stores/class/general/listReturn";
@@ -17,7 +17,7 @@
17
17
  <script lang="ts">
18
18
  import ClassicCheckbox from "../../form/ClassicCheckbox.vue";
19
19
  import CategoryChooser from "../categories/CategoryChooser.vue";
20
- import { useFilterStore } from "@/stores/FilterStore";
20
+ import { useFilterStore } from "../../../stores/FilterStore";
21
21
  import { mapState, mapActions } from "pinia";
22
22
  import { defineComponent } from "vue";
23
23
  export default defineComponent({
@@ -46,7 +46,7 @@ import ClassicSearch from "../../form/ClassicSearch.vue";
46
46
  import { state } from "../../../stores/ParamSdkStore";
47
47
  import orgaFilter from "../../mixins/organisationFilter";
48
48
  import { Organisation } from "@/stores/class/general/organisation";
49
- import { useFilterStore } from "@/stores/FilterStore";
49
+ import { useFilterStore } from "../../../stores/FilterStore";
50
50
  import { mapState, mapActions } from "pinia";
51
51
  import { defineComponent, defineAsyncComponent } from "vue";
52
52
  const OrganisationChooser = defineAsyncComponent(
@@ -39,7 +39,7 @@ import octopusApi from "@saooti/octopus-api";
39
39
  import ClassicCheckbox from "../../form/ClassicCheckbox.vue";
40
40
  import { Rubriquage } from "@/stores/class/rubrique/rubriquage";
41
41
  import { RubriquageFilter } from "@/stores/class/rubrique/rubriquageFilter";
42
- import { useFilterStore } from "@/stores/FilterStore";
42
+ import { useFilterStore } from "../../../stores/FilterStore";
43
43
  import { mapState, mapActions } from "pinia";
44
44
  import { defineComponent, defineAsyncComponent } from "vue";
45
45
  const RubriqueChoice = defineAsyncComponent(
@@ -56,7 +56,7 @@ import PaginateParams from "./PaginateParams.vue";
56
56
  import PaginateSection from "./PaginateSection.vue";
57
57
  import resizePhone from "../../mixins/resizePhone";
58
58
  import { defineComponent } from "vue";
59
- import { usePlayerStore } from "@/stores/PlayerStore";
59
+ import { usePlayerStore } from "../../../stores/PlayerStore";
60
60
  import { mapState } from "pinia";
61
61
  export default defineComponent({
62
62
  name: "ListPaginate",
@@ -21,9 +21,9 @@
21
21
  import countdown from "../../mixins/podcast/countdown";
22
22
  import { defineComponent } from "vue";
23
23
  export default defineComponent({
24
+ mixins: [countdown],
24
25
  props: {
25
26
  timeRemaining: { default: undefined, type: Number },
26
27
  },
27
- mixins:[countdown]
28
28
  });
29
29
  </script>
@@ -39,11 +39,11 @@ import { defineComponent } from "vue";
39
39
 
40
40
  export default defineComponent({
41
41
  name: "CountdownOctopus",
42
+ mixins: [countdown],
42
43
  props: {
43
44
  timeRemaining: { default: undefined, type: Number },
44
45
  overrideText: { default: undefined, type: String },
45
46
  },
46
- mixins:[countdown],
47
47
  data() {
48
48
  return {
49
49
  seconds: 0 as number,
@@ -54,13 +54,12 @@ export default defineComponent({
54
54
  remainingSeconds: 0 as number,
55
55
  };
56
56
  },
57
-
58
57
  });
59
58
  </script>
60
59
  <style lang="scss">
61
60
  @import "@scss/_variables.scss";
62
61
  $octopus-position: 120px;
63
- .octopus-app .cute-octopus{
62
+ .octopus-app .cute-octopus {
64
63
  position: relative;
65
64
  width: 230px;
66
65
  height: 300px;
@@ -209,4 +208,3 @@ $octopus-position: 120px;
209
208
  }
210
209
  }
211
210
  </style>
212
-
@@ -50,14 +50,14 @@ import SwiperList from "../list/SwiperList.vue";
50
50
  import { handle403 } from "../../mixins/handle403";
51
51
  import { orgaComputed } from "../../mixins/orgaComputed";
52
52
  import octopusApi from "@saooti/octopus-api";
53
- import { useFilterStore } from "@/stores/FilterStore";
53
+ import { useFilterStore } from "../../../stores/FilterStore";
54
54
  import { useAuthStore } from "@/stores/AuthStore";
55
55
  import { mapActions, mapState } from "pinia";
56
56
  import { state } from "../../../stores/ParamSdkStore";
57
57
  import { Conference } from "@/stores/class/conference/conference";
58
58
  import { defineComponent } from "vue";
59
59
  import { AxiosError } from "axios";
60
- import { useSaveFetchStore } from "@/stores/SaveFetchStore";
60
+ import { useSaveFetchStore } from "../../../stores/SaveFetchStore";
61
61
  export default defineComponent({
62
62
  name: "LiveList",
63
63
  components: {
@@ -32,8 +32,8 @@
32
32
  </template>
33
33
 
34
34
  <script lang="ts">
35
- import { usePlayerStore } from "@/stores/PlayerStore";
36
- import { useFilterStore } from "@/stores/FilterStore";
35
+ import { usePlayerStore } from "../../../stores/PlayerStore";
36
+ import { useFilterStore } from "../../../stores/FilterStore";
37
37
  import { mapState } from "pinia";
38
38
  import imageProxy from "../../mixins/imageProxy";
39
39
  import { fetchRadioData } from "../../mixins/radio/fetchRadioData";
@@ -37,8 +37,8 @@
37
37
  </template>
38
38
 
39
39
  <script lang="ts">
40
- import { usePlayerStore } from "@/stores/PlayerStore";
41
- import { useFilterStore } from "@/stores/FilterStore";
40
+ import { usePlayerStore } from "../../../stores/PlayerStore";
41
+ import { useFilterStore } from "../../../stores/FilterStore";
42
42
  import { mapState, mapActions } from "pinia";
43
43
  import imageProxy from "../../mixins/imageProxy";
44
44
  import { defineComponent } from "vue";
@@ -21,7 +21,7 @@
21
21
  </template>
22
22
 
23
23
  <script lang="ts">
24
- import { useFilterStore } from "@/stores/FilterStore";
24
+ import { useFilterStore } from "../../../stores/FilterStore";
25
25
  import { mapState } from "pinia";
26
26
  import imageProxy from "../../mixins/imageProxy";
27
27
  import RadioImage from "./RadioImage.vue";
@@ -21,7 +21,7 @@ import RadioItem from "./RadioItem.vue";
21
21
  import { handle403 } from "../../mixins/handle403";
22
22
  import { orgaComputed } from "../../mixins/orgaComputed";
23
23
  import octopusApi from "@saooti/octopus-api";
24
- import { useFilterStore } from "@/stores/FilterStore";
24
+ import { useFilterStore } from "../../../stores/FilterStore";
25
25
  import { mapState } from "pinia";
26
26
  import { Canal } from "@/stores/class/radio/canal";
27
27
  import { defineComponent } from "vue";
@@ -113,7 +113,7 @@
113
113
  </template>
114
114
 
115
115
  <script lang="ts">
116
- import { useFilterStore } from "@/stores/FilterStore";
116
+ import { useFilterStore } from "../../../stores/FilterStore";
117
117
  import { mapState } from "pinia";
118
118
  import dayjs from "dayjs";
119
119
  import utc from "dayjs/plugin/utc";
@@ -48,7 +48,7 @@ import {
48
48
  emptyOrgaData,
49
49
  Organisation,
50
50
  } from "@/stores/class/general/organisation";
51
- import { useSaveFetchStore } from "@/stores/SaveFetchStore";
51
+ import { useSaveFetchStore } from "../../../stores/SaveFetchStore";
52
52
  import { ListClassicReturn } from "@/stores/class/general/listReturn";
53
53
  export default defineComponent({
54
54
  components: {
@@ -27,7 +27,7 @@
27
27
 
28
28
  <script lang="ts">
29
29
  import { Organisation } from "@/stores/class/general/organisation";
30
- import { useSaveFetchStore } from "@/stores/SaveFetchStore";
30
+ import { useSaveFetchStore } from "../../../stores/SaveFetchStore";
31
31
  import { mapActions } from "pinia";
32
32
  import { defineComponent } from "vue";
33
33
  export default defineComponent({
@@ -46,7 +46,7 @@ import ClassicLazy from "../../misc/ClassicLazy.vue";
46
46
  import { handle403 } from "../../mixins/handle403";
47
47
  import octopusApi from "@saooti/octopus-api";
48
48
  import ParticipantItem from "./ParticipantItem.vue";
49
- import { useFilterStore } from "@/stores/FilterStore";
49
+ import { useFilterStore } from "../../../stores/FilterStore";
50
50
  import { mapState } from "pinia";
51
51
  import {
52
52
  Participant,
@@ -53,7 +53,7 @@ import { Playlist } from "@/stores/class/general/playlist";
53
53
  import { state } from "../../../stores/ParamSdkStore";
54
54
  import imageProxy from "../../mixins/imageProxy";
55
55
  import displayMethods from "../../mixins/displayMethods";
56
- import { useFilterStore } from "@/stores/FilterStore";
56
+ import { useFilterStore } from "../../../stores/FilterStore";
57
57
  import { mapState } from "pinia";
58
58
  import { defineComponent } from "vue";
59
59
  export default defineComponent({
@@ -45,7 +45,7 @@ import { handle403 } from "../../mixins/handle403";
45
45
  import octopusApi from "@saooti/octopus-api";
46
46
  import PlaylistItem from "./PlaylistItem.vue";
47
47
  import { Playlist, emptyPlaylistData } from "@/stores/class/general/playlist";
48
- import { useFilterStore } from "@/stores/FilterStore";
48
+ import { useFilterStore } from "../../../stores/FilterStore";
49
49
  import { mapState } from "pinia";
50
50
  import { defineComponent } from "vue";
51
51
  import { AxiosError } from "axios";
@@ -19,7 +19,7 @@
19
19
 
20
20
  <script lang="ts">
21
21
  import { Participant } from "@/stores/class/general/participant";
22
- import { useFilterStore } from "@/stores/FilterStore";
22
+ import { useFilterStore } from "../../../stores/FilterStore";
23
23
  import { mapState } from "pinia";
24
24
  import { defineComponent } from "vue";
25
25
  export default defineComponent({
@@ -21,7 +21,7 @@
21
21
 
22
22
  <script lang="ts">
23
23
  import { Participant } from "@/stores/class/general/participant";
24
- import { useFilterStore } from "@/stores/FilterStore";
24
+ import { useFilterStore } from "../../../stores/FilterStore";
25
25
  import { mapState } from "pinia";
26
26
  import { defineComponent } from "vue";
27
27
  export default defineComponent({
@@ -54,7 +54,7 @@ import domHelper from "../../../helper/dom";
54
54
  import PodcastItem from "./PodcastItem.vue";
55
55
  import ClassicLoading from "../../form/ClassicLoading.vue";
56
56
  const PHONE_WIDTH = 960;
57
- import { useFilterStore } from "@/stores/FilterStore";
57
+ import { useFilterStore } from "../../../stores/FilterStore";
58
58
  import { mapState } from "pinia";
59
59
  import { state } from "../../../stores/ParamSdkStore";
60
60
  import { Podcast } from "@/stores/class/general/podcast";
@@ -54,7 +54,7 @@
54
54
  import { RubriquageFilter } from "@/stores/class/rubrique/rubriquageFilter";
55
55
  import { defineComponent } from "vue";
56
56
  import { RouteLocationRaw } from "vue-router";
57
- import { useFilterStore } from "@/stores/FilterStore";
57
+ import { useFilterStore } from "../../../stores/FilterStore";
58
58
  import { mapState, mapActions } from "pinia";
59
59
  import { Rubrique } from "@/stores/class/rubrique/rubrique";
60
60
  export default defineComponent({
@@ -48,7 +48,7 @@
48
48
  </template>
49
49
 
50
50
  <script lang="ts">
51
- import { debounce } from "../../mixins/debounce";
51
+ import debounce from "../../mixins/debounce";
52
52
  import PodcastItemInfo from "./PodcastItemInfo.vue";
53
53
  import PodcastImage from "./PodcastImage.vue";
54
54
  import { state } from "../../../stores/ParamSdkStore";
@@ -52,7 +52,7 @@ import PodcastItem from "./PodcastItem.vue";
52
52
  import ClassicLazy from "../../misc/ClassicLazy.vue";
53
53
  import { state } from "../../../stores/ParamSdkStore";
54
54
  import { useAuthStore } from "@/stores/AuthStore";
55
- import { useFilterStore } from "@/stores/FilterStore";
55
+ import { useFilterStore } from "../../../stores/FilterStore";
56
56
  import { mapState } from "pinia";
57
57
  import { Podcast, emptyPodcastData } from "@/stores/class/general/podcast";
58
58
  import { defineComponent } from "vue";
@@ -20,7 +20,7 @@
20
20
  import ProgressBar from "../../misc/ProgressBar.vue";
21
21
  import DurationHelper from "../../../helper/duration";
22
22
  import displayMethods from "../../mixins/displayMethods";
23
- import { usePlayerStore } from "@/stores/PlayerStore";
23
+ import { usePlayerStore } from "../../../stores/PlayerStore";
24
24
  import { mapState, mapActions } from "pinia";
25
25
  import { defineComponent } from "vue";
26
26
  export default defineComponent({
@@ -68,7 +68,7 @@ import { state } from "../../../stores/ParamSdkStore";
68
68
  import { Podcast } from "@/stores/class/general/podcast";
69
69
  import { Conference } from "@/stores/class/conference/conference";
70
70
  import imageProxy from "../../mixins/imageProxy";
71
- import { usePlayerStore } from "@/stores/PlayerStore";
71
+ import { usePlayerStore } from "../../../stores/PlayerStore";
72
72
  import { mapState, mapActions } from "pinia";
73
73
  import { defineComponent } from "vue";
74
74
  export default defineComponent({
@@ -209,8 +209,8 @@ export default defineComponent({
209
209
  this.playerChangeStatus("PLAYING" === this.playerStatus);
210
210
  return;
211
211
  }
212
- if(isVideo && state.player.isVideoPage){
213
- this.$router.push('/main/pub/video/'+this.podcast.podcastId);
212
+ if (isVideo && state.player.isVideoPage) {
213
+ this.$router.push("/main/pub/video/" + this.podcast.podcastId);
214
214
  return;
215
215
  }
216
216
  if (!this.recordingLive) {
@@ -37,7 +37,7 @@ import octopusApi from "@saooti/octopus-api";
37
37
  import PodcastItem from "./PodcastItem.vue";
38
38
  import ClassicLoading from "../../form/ClassicLoading.vue";
39
39
  import SwiperList from "../list/SwiperList.vue";
40
- import { useFilterStore } from "@/stores/FilterStore";
40
+ import { useFilterStore } from "../../../stores/FilterStore";
41
41
  import { mapState } from "pinia";
42
42
  import { Podcast } from "@/stores/class/general/podcast";
43
43
  import { defineComponent } from "vue";
@@ -16,10 +16,7 @@
16
16
  v-html="urlify(podcast.description)"
17
17
  />
18
18
  <!-- eslint-enable -->
19
- <ParticipantDescription
20
- class="mb-1"
21
- :participants="podcast.animators"
22
- />
19
+ <ParticipantDescription class="mb-1" :participants="podcast.animators" />
23
20
  <ParticipantDescription
24
21
  class="mb-1"
25
22
  :participants="podcast.guests"
@@ -41,22 +38,20 @@ export default defineComponent({
41
38
  name: "VideoModuleBox",
42
39
  components: {
43
40
  ParticipantDescription,
44
- PodcastRawTranscript
41
+ PodcastRawTranscript,
45
42
  },
46
43
 
47
44
  mixins: [displayMethods],
48
45
 
49
46
  props: {
50
47
  podcast: { default: undefined, type: Object as () => Podcast },
51
- date: { default: "", type: String},
52
- duration: { default: "", type: String},
48
+ date: { default: "", type: String },
49
+ duration: { default: "", type: String },
53
50
  },
54
51
 
55
52
  data() {
56
- return {
57
- };
58
- },
59
- computed:{
53
+ return {};
60
54
  },
55
+ computed: {},
61
56
  });
62
57
  </script>
@@ -55,7 +55,7 @@ import ClassicPopover from "../../misc/ClassicPopover.vue";
55
55
  import { Rubrique } from "@/stores/class/rubrique/rubrique";
56
56
  import { Rubriquage } from "@/stores/class/rubrique/rubriquage";
57
57
  import { RubriquageFilter } from "@/stores/class/rubrique/rubriquageFilter";
58
- import { useFilterStore } from "@/stores/FilterStore";
58
+ import { useFilterStore } from "../../../stores/FilterStore";
59
59
  import { mapState, mapActions } from "pinia";
60
60
  import { defineAsyncComponent, defineComponent } from "vue";
61
61
  const RubriqueChooser = defineAsyncComponent(
@@ -27,7 +27,7 @@ import ClassicCheckbox from "../../form/ClassicCheckbox.vue";
27
27
  import { state } from "../../../stores/ParamSdkStore";
28
28
  import SnackBar from "../../misc/SnackBar.vue";
29
29
  import QrcodeVue from "qrcode.vue";
30
- import { useSaveFetchStore } from "@/stores/SaveFetchStore";
30
+ import { useSaveFetchStore } from "../../../stores/SaveFetchStore";
31
31
  import { useAuthStore } from "@/stores/AuthStore";
32
32
  import { mapState, mapActions } from "pinia";
33
33
  import { defineComponent } from "vue";
@@ -130,7 +130,7 @@
130
130
  </template>
131
131
 
132
132
  <script lang="ts">
133
- import { useSaveFetchStore } from "@/stores/SaveFetchStore";
133
+ import { useSaveFetchStore } from "../../../stores/SaveFetchStore";
134
134
  import { mapActions, mapState } from "pinia";
135
135
  import { Emission } from "@/stores/class/general/emission";
136
136
  import { Podcast } from "@/stores/class/general/podcast";