@saooti/octopus-sdk 35.2.0 → 35.2.1

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 (80) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +4 -4
  3. package/src/components/display/categories/CategoryChooser.vue +1 -1
  4. package/src/components/display/categories/CategoryFilter.vue +3 -3
  5. package/src/components/display/categories/CategoryList.vue +1 -1
  6. package/src/components/display/comments/CommentBasicView.vue +1 -1
  7. package/src/components/display/comments/CommentInput.vue +3 -3
  8. package/src/components/display/comments/CommentItem.vue +6 -6
  9. package/src/components/display/comments/CommentList.vue +4 -4
  10. package/src/components/display/comments/CommentParentInfo.vue +1 -1
  11. package/src/components/display/comments/CommentPlayer.vue +1 -1
  12. package/src/components/display/comments/CommentSection.vue +6 -6
  13. package/src/components/display/edit/EditBox.vue +1 -1
  14. package/src/components/display/edit/EditCommentBox.vue +1 -1
  15. package/src/components/display/emission/EmissionChooser.vue +1 -1
  16. package/src/components/display/emission/EmissionInlineList.vue +3 -3
  17. package/src/components/display/emission/EmissionItem.vue +2 -2
  18. package/src/components/display/emission/EmissionList.vue +4 -4
  19. package/src/components/display/emission/EmissionPlayerItem.vue +2 -2
  20. package/src/components/display/filter/AdvancedSearch.vue +1 -1
  21. package/src/components/display/filter/ProductorSearch.vue +1 -1
  22. package/src/components/display/filter/RubriqueChoice.vue +2 -2
  23. package/src/components/display/filter/RubriqueFilter.vue +2 -2
  24. package/src/components/display/live/LiveHorizontalList.vue +1 -1
  25. package/src/components/display/live/LiveItem.vue +2 -2
  26. package/src/components/display/live/LiveList.vue +1 -1
  27. package/src/components/display/organisation/OrganisationChooser.vue +1 -1
  28. package/src/components/display/organisation/OrganisationChooserLight.vue +1 -1
  29. package/src/components/display/participant/ParticipantItem.vue +2 -2
  30. package/src/components/display/participant/ParticipantList.vue +1 -1
  31. package/src/components/display/playlist/PlaylistItem.vue +1 -1
  32. package/src/components/display/playlist/PlaylistList.vue +1 -1
  33. package/src/components/display/playlist/PodcastList.vue +2 -2
  34. package/src/components/display/playlist/PodcastPlaylistInlineList.vue +2 -2
  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/PodcastFilterList.vue +2 -2
  38. package/src/components/display/podcasts/PodcastImage.vue +2 -2
  39. package/src/components/display/podcasts/PodcastInlineListClassic.vue +1 -1
  40. package/src/components/display/podcasts/PodcastInlineListTemplate.vue +2 -2
  41. package/src/components/display/podcasts/PodcastItem.vue +1 -1
  42. package/src/components/display/podcasts/PodcastItemInfo.vue +1 -1
  43. package/src/components/display/podcasts/PodcastList.vue +2 -2
  44. package/src/components/display/podcasts/PodcastModuleBox.vue +2 -2
  45. package/src/components/display/podcasts/PodcastSwiperList.vue +1 -1
  46. package/src/components/display/rubriques/RubriqueChooser.vue +1 -1
  47. package/src/components/display/rubriques/RubriqueList.vue +3 -3
  48. package/src/components/display/sharing/ShareButtons.vue +3 -3
  49. package/src/components/display/sharing/ShareButtonsIntern.vue +3 -3
  50. package/src/components/display/sharing/ShareDistribution.vue +1 -1
  51. package/src/components/display/sharing/SharePlayer.vue +3 -3
  52. package/src/components/display/sharing/SharePlayerTypes.vue +5 -5
  53. package/src/components/display/sharing/SubscribeButtons.vue +1 -1
  54. package/src/components/misc/Footer.vue +2 -2
  55. package/src/components/misc/HomeDropdown.vue +1 -1
  56. package/src/components/misc/LeftMenu.vue +3 -3
  57. package/src/components/misc/TopBar.vue +2 -2
  58. package/src/components/misc/modal/ClipboardModal.vue +1 -1
  59. package/src/components/misc/modal/NewsletterModal.vue +4 -4
  60. package/src/components/misc/modal/ShareModalPlayer.vue +1 -1
  61. package/src/components/misc/player/Player.vue +1 -1
  62. package/src/components/misc/player/PlayerCompact.vue +1 -1
  63. package/src/components/misc/player/PlayerLarge.vue +1 -1
  64. package/src/components/misc/player/PlayerProgressBar.vue +1 -1
  65. package/src/components/misc/player/PlayerTimeline.vue +1 -1
  66. package/src/components/mixins/player/playerComment.ts +10 -13
  67. package/src/components/pages/Category.vue +1 -1
  68. package/src/components/pages/Emission.vue +1 -1
  69. package/src/components/pages/Emissions.vue +1 -1
  70. package/src/components/pages/Home.vue +4 -4
  71. package/src/components/pages/Lives.vue +2 -2
  72. package/src/components/pages/PageNotFound.vue +1 -1
  73. package/src/components/pages/Participant.vue +1 -1
  74. package/src/components/pages/Playlist.vue +1 -1
  75. package/src/components/pages/Podcast.vue +4 -4
  76. package/src/components/pages/Podcasts.vue +2 -2
  77. package/src/components/pages/Rubrique.vue +1 -1
  78. package/src/stores/ApiStore.ts +1 -1
  79. package/src/stores/CommentStore.ts +40 -0
  80. package/src/stores/GeneralStore.ts +4 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "35.2.0",
3
+ "version": "35.2.1",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
package/src/App.vue CHANGED
@@ -26,15 +26,15 @@ import FooterOctopus from '@/components/misc/Footer.vue';
26
26
  import Player from '@/components/misc/player/Player.vue';
27
27
  import CategoryFilter from '@/components/display/categories/CategoryFilter.vue';
28
28
  import { state } from './stores/ParamSdkStore';
29
- import { Rubriquage } from './store/class/rubrique/rubriquage';
30
- import { RubriquageFilter } from './store/class/rubrique/rubriquageFilter';
31
- import { Rubrique } from './store/class/rubrique/rubrique';
29
+ import { Rubriquage } from './stores/class/rubrique/rubriquage';
30
+ import { RubriquageFilter } from './stores/class/rubrique/rubriquageFilter';
31
+ import { Rubrique } from './stores/class/rubrique/rubrique';
32
32
  import initSDK from './components/mixins/init';
33
33
  import { useFilterStore } from '@/stores/FilterStore';
34
34
  import { useGeneralStore } from '@/stores/GeneralStore';
35
35
  import { mapState, mapActions } from 'pinia';
36
36
  import { defineAsyncComponent, defineComponent } from 'vue';
37
- import { Category } from './store/class/general/category';
37
+ import { Category } from './stores/class/general/category';
38
38
  const LeftMenu = defineAsyncComponent(() => import('@/components/misc/LeftMenu.vue'));
39
39
  export default defineComponent({
40
40
  name: 'App',
@@ -75,7 +75,7 @@ const getDefaultCategory = (defaultName: string) => {
75
75
  };
76
76
  import { useGeneralStore } from '@/stores/GeneralStore';
77
77
  import { mapState } from 'pinia';
78
- import { Category } from '@/store/class/general/category';
78
+ import { Category } from '@/stores/class/general/category';
79
79
  import { defineComponent } from 'vue'
80
80
  export default defineComponent({
81
81
  components: {
@@ -66,9 +66,9 @@
66
66
  </template>
67
67
 
68
68
  <script lang="ts">
69
- import { Rubriquage } from '@/store/class/rubrique/rubriquage';
70
- import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
71
- import { Rubrique } from '@/store/class/rubrique/rubrique';
69
+ import { Rubriquage } from '@/stores/class/rubrique/rubriquage';
70
+ import { RubriquageFilter } from '@/stores/class/rubrique/rubriquageFilter';
71
+ import { Rubrique } from '@/stores/class/rubrique/rubrique';
72
72
  import { useFilterStore } from '@/stores/FilterStore';
73
73
  import { mapState, mapActions } from 'pinia';
74
74
  import { defineComponent, defineAsyncComponent } from 'vue';
@@ -45,7 +45,7 @@
45
45
  import octopusApi from '@saooti/octopus-api';
46
46
  import { state } from '../../../stores/ParamSdkStore';
47
47
  import Popover from '../../misc/Popover.vue';
48
- import { Category } from '@/store/class/general/category';
48
+ import { Category } from '@/stores/class/general/category';
49
49
  import { useFilterStore } from '@/stores/FilterStore';
50
50
  import { useGeneralStore } from '@/stores/GeneralStore';
51
51
  import { mapState, mapActions } from 'pinia';
@@ -49,7 +49,7 @@
49
49
  <script lang="ts">
50
50
  import selenium from '../../mixins/selenium';
51
51
  import displayMethods from '../../mixins/displayMethods';
52
- import { CommentPodcast } from '@/store/class/general/comment';
52
+ import { CommentPodcast } from '@/stores/class/general/comment';
53
53
  import dayjs from 'dayjs';
54
54
  import Popover from '../../misc/Popover.vue';
55
55
  import { defineComponent } from 'vue';
@@ -93,9 +93,9 @@ import octopusApi from '@saooti/octopus-api';
93
93
  import crudApi from '@/api/classicCrud';
94
94
  import cookies from '../../mixins/cookies';
95
95
  import { state } from '../../../stores/ParamSdkStore';
96
- import { Podcast } from '@/store/class/general/podcast';
97
- import { Conference } from '@/store/class/conference/conference';
98
- import { CommentPodcast } from '@/store/class/general/comment';
96
+ import { Podcast } from '@/stores/class/general/podcast';
97
+ import { Conference } from '@/stores/class/conference/conference';
98
+ import { CommentPodcast } from '@/stores/class/general/comment';
99
99
  import Constants from '../../../../public/config';
100
100
  import { usePlayerStore } from '@/stores/PlayerStore';
101
101
  import { useAuthStore } from '@/stores/AuthStore';
@@ -132,12 +132,12 @@
132
132
  import { state } from '../../../stores/ParamSdkStore';
133
133
  import selenium from '../../mixins/selenium';
134
134
  import displayMethods from '../../mixins/displayMethods';
135
- import { CommentPodcast } from '@/store/class/general/comment';
136
- import { Podcast } from '@/store/class/general/podcast';
137
- import { Conference } from '@/store/class/conference/conference';
135
+ import { CommentPodcast } from '@/stores/class/general/comment';
136
+ import { Podcast } from '@/stores/class/general/podcast';
137
+ import { Conference } from '@/stores/class/conference/conference';
138
138
  import CommentBasicView from './CommentBasicView.vue';
139
139
  import Constants from '../../../../public/config';
140
- import { useGeneralStore } from '@/stores/GeneralStore';
140
+ import { useCommentStore } from '@/stores/CommentStore';
141
141
  import { mapState, mapActions } from 'pinia';
142
142
  import { defineComponent, defineAsyncComponent } from 'vue';
143
143
  const CommentInput = defineAsyncComponent(() => import('./CommentInput.vue'));
@@ -179,7 +179,7 @@ export default defineComponent({
179
179
  };
180
180
  },
181
181
  computed: {
182
- ...mapState(useGeneralStore, ['generalComments']),
182
+ ...mapState(useCommentStore, ['commentKnownIdentity']),
183
183
  validName(): boolean{
184
184
  return this.countName <= this.maxName;
185
185
  },
@@ -203,7 +203,7 @@ export default defineComponent({
203
203
  },
204
204
  knownIdentity: {
205
205
  get(): string|null {
206
- return this.generalComments.knownIdentity;
206
+ return this.commentKnownIdentity;
207
207
  },
208
208
  set(value: string|null) {
209
209
  this.setCommentIdentity(value);
@@ -38,10 +38,10 @@ import ClassicLoading from '../../form/ClassicLoading.vue';
38
38
  import { state } from '../../../stores/ParamSdkStore';
39
39
  import octopusApi from '@saooti/octopus-api';
40
40
  import dayjs from 'dayjs';
41
- import { Podcast } from '@/store/class/general/podcast';
42
- import { Conference } from '@/store/class/conference/conference';
43
- import { CommentPodcast } from '@/store/class/general/comment';
44
- import { InterfacePageable } from '@/store/class/general/interfacePageable';
41
+ import { Podcast } from '@/stores/class/general/podcast';
42
+ import { Conference } from '@/stores/class/conference/conference';
43
+ import { CommentPodcast } from '@/stores/class/general/comment';
44
+ import { InterfacePageable } from '@/stores/class/general/interfacePageable';
45
45
  import { defineComponent, defineAsyncComponent } from 'vue';
46
46
  /* eslint-disable */
47
47
  const CommentItem: any = defineAsyncComponent(() => import('./CommentItem.vue'));
@@ -15,7 +15,7 @@
15
15
  import octopusApi from '@saooti/octopus-api';
16
16
  import CommentBasicView from './CommentBasicView.vue';
17
17
  import ClassicLoading from '../../form/ClassicLoading.vue';
18
- import { CommentPodcast } from '@/store/class/general/comment';
18
+ import { CommentPodcast } from '@/stores/class/general/comment';
19
19
  import { defineComponent } from 'vue'
20
20
  export default defineComponent({
21
21
  name: 'CommentParentInfo',
@@ -36,7 +36,7 @@
36
36
  </template>
37
37
 
38
38
  <script lang="ts">
39
- import { CommentPodcast } from '@/store/class/general/comment';
39
+ import { CommentPodcast } from '@/stores/class/general/comment';
40
40
  import selenium from '../../mixins/selenium';
41
41
  import { usePlayerStore } from '@/stores/PlayerStore';
42
42
  import { mapState } from 'pinia';
@@ -38,12 +38,12 @@
38
38
  import CommentList from './CommentList.vue';
39
39
  import CommentInput from './CommentInput.vue';
40
40
  import cookies from '../../mixins/cookies';
41
- import { Podcast } from '@/store/class/general/podcast';
42
- import { Conference } from '@/store/class/conference/conference';
43
- import { useGeneralStore } from '@/stores/GeneralStore';
41
+ import { Podcast } from '@/stores/class/general/podcast';
42
+ import { Conference } from '@/stores/class/conference/conference';
43
+ import { useCommentStore } from '@/stores/CommentStore';
44
44
  import { mapState, mapActions } from 'pinia';
45
45
  import { defineComponent } from 'vue'
46
- import { CommentPodcast } from '@/store/class/general/comment';
46
+ import { CommentPodcast } from '@/stores/class/general/comment';
47
47
  export default defineComponent({
48
48
  name: 'CommentSection',
49
49
  components: {
@@ -63,7 +63,7 @@ export default defineComponent({
63
63
  };
64
64
  },
65
65
  computed: {
66
- ...mapState(useGeneralStore, ['generalComments']),
66
+ ...mapState(useCommentStore, ['commentKnownIdentity']),
67
67
  commentTitle():string{
68
68
  const count = this.loaded && this.totalCount > 0 ? this.$t('()', { nb: this.totalCount }) : '';
69
69
  return this.$t("Podcast's comments")+count;
@@ -91,7 +91,7 @@ export default defineComponent({
91
91
  },
92
92
  knownIdentity: {
93
93
  get(): string|null {
94
- return this.generalComments.knownIdentity;
94
+ return this.commentKnownIdentity;
95
95
  },
96
96
  set(value: string|null) {
97
97
  this.setCommentIdentity(value);
@@ -3,7 +3,7 @@
3
3
  </template>
4
4
 
5
5
  <script lang="ts">
6
- import { CommentPodcast } from '@/store/class/general/comment';
6
+ import { CommentPodcast } from '@/stores/class/general/comment';
7
7
  import { defineComponent } from 'vue'
8
8
  export default defineComponent({
9
9
  methods:{
@@ -69,7 +69,7 @@
69
69
 
70
70
  <script lang="ts">
71
71
  import selenium from '../../mixins/selenium';
72
- import { CommentPodcast } from '@/store/class/general/comment';
72
+ import { CommentPodcast } from '@/stores/class/general/comment';
73
73
  import { defineComponent, defineAsyncComponent } from 'vue';
74
74
  const MessageModal = defineAsyncComponent(
75
75
  () => import('@/components/misc/modal/MessageModal.vue')
@@ -106,7 +106,7 @@ const getDefaultEmission = (defaultName: string): Emission|undefined => {
106
106
  };
107
107
  };
108
108
 
109
- import { Emission } from '@/store/class/general/emission';
109
+ import { Emission } from '@/stores/class/general/emission';
110
110
  import { defineComponent } from 'vue'
111
111
  export default defineComponent({
112
112
  components: {
@@ -64,12 +64,12 @@ import { state } from '../../../stores/ParamSdkStore';
64
64
  import { handle403 } from '../../mixins/handle403';
65
65
  const PHONE_WIDTH = 960;
66
66
  import ClassicLoading from '../../form/ClassicLoading.vue';
67
- import { Emission } from '@/store/class/general/emission';
68
- import { Rubrique } from '@/store/class/rubrique/rubrique';
67
+ import { Emission } from '@/stores/class/general/emission';
68
+ import { Rubrique } from '@/stores/class/rubrique/rubrique';
69
69
  import { defineComponent } from 'vue'
70
70
  import { AxiosError } from 'axios';
71
71
  import imageProxy from '../../mixins/imageProxy';
72
- import { Rubriquage } from '@/store/class/rubrique/rubriquage';
72
+ import { Rubriquage } from '@/stores/class/rubrique/rubriquage';
73
73
  export default defineComponent({
74
74
  name: 'EmissionInlineList',
75
75
 
@@ -57,13 +57,13 @@
57
57
 
58
58
  <script lang="ts">
59
59
  import { orgaComputed } from '../../mixins/orgaComputed';
60
- import { Emission } from '@/store/class/general/emission';
60
+ import { Emission } from '@/stores/class/general/emission';
61
61
  import { state } from '../../../stores/ParamSdkStore';
62
62
  import octopusApi from '@saooti/octopus-api';
63
63
  import imageProxy from '../../mixins/imageProxy';
64
64
  import displayMethods from '../../mixins/displayMethods';
65
65
  import { defineComponent } from 'vue'
66
- import { Podcast } from '@/store/class/general/podcast';
66
+ import { Podcast } from '@/stores/class/general/podcast';
67
67
  export default defineComponent({
68
68
  name: 'EmissionItem',
69
69
 
@@ -52,12 +52,12 @@ import ListPaginate from '../list/ListPaginate.vue';
52
52
  import octopusApi from '@saooti/octopus-api';
53
53
  import { handle403 } from '../../mixins/handle403';
54
54
  import { state } from '../../../stores/ParamSdkStore';
55
- import { Emission, emptyEmissionData } from '@/store/class/general/emission';
56
- import { Rubrique } from '@/store/class/rubrique/rubrique';
55
+ import { Emission, emptyEmissionData } from '@/stores/class/general/emission';
56
+ import { Rubrique } from '@/stores/class/rubrique/rubrique';
57
57
  import { defineComponent, defineAsyncComponent } from 'vue';
58
- import { FetchParam } from '@/store/class/general/fetchParam';
58
+ import { FetchParam } from '@/stores/class/general/fetchParam';
59
59
  import { AxiosError } from 'axios';
60
- import { Rubriquage } from '@/store/class/rubrique/rubriquage';
60
+ import { Rubriquage } from '@/stores/class/rubrique/rubriquage';
61
61
  import { useFilterStore } from '@/stores/FilterStore';
62
62
  import { mapState } from 'pinia';
63
63
  const EmissionItem = defineAsyncComponent(() => import('./EmissionItem.vue'));
@@ -141,8 +141,8 @@
141
141
 
142
142
  <script lang="ts">
143
143
  import octopusApi from '@saooti/octopus-api';
144
- import { Emission } from '@/store/class/general/emission';
145
- import { Podcast } from '@/store/class/general/podcast';
144
+ import { Emission } from '@/stores/class/general/emission';
145
+ import { Podcast } from '@/stores/class/general/podcast';
146
146
  import { state } from '../../../stores/ParamSdkStore';
147
147
  import PodcastPlayBar from '../podcasts/PodcastPlayBar.vue';
148
148
  import imageProxy from '../../mixins/imageProxy';
@@ -81,7 +81,7 @@ import DateFilter from './DateFilter.vue';
81
81
  import SearchOrder from './SearchOrder.vue';
82
82
  import RubriqueFilter from './RubriqueFilter.vue';
83
83
  import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
84
- import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
84
+ import { RubriquageFilter } from '@/stores/class/rubrique/rubriquageFilter';
85
85
  import { defineComponent, defineAsyncComponent } from 'vue';
86
86
  const MonetizableFilter = defineAsyncComponent(() => import('./MonetizableFilter.vue'));
87
87
  export default defineComponent({
@@ -44,7 +44,7 @@
44
44
  import ClassicSearch from '../../form/ClassicSearch.vue';
45
45
  import { state } from '../../../stores/ParamSdkStore';
46
46
  import orgaFilter from '../../mixins/organisationFilter';
47
- import { Organisation } from '@/store/class/general/organisation';
47
+ import { Organisation } from '@/stores/class/general/organisation';
48
48
  import { useFilterStore } from '@/stores/FilterStore';
49
49
  import { mapState, mapActions } from 'pinia';
50
50
  import { defineComponent, defineAsyncComponent } from 'vue';
@@ -44,8 +44,8 @@
44
44
  </template>
45
45
 
46
46
  <script lang="ts">
47
- import { Rubriquage } from '@/store/class/rubrique/rubriquage';
48
- import { Rubrique } from '@/store/class/rubrique/rubrique';
47
+ import { Rubriquage } from '@/stores/class/rubrique/rubriquage';
48
+ import { Rubrique } from '@/stores/class/rubrique/rubrique';
49
49
  import { defineComponent, defineAsyncComponent } from 'vue';
50
50
  const RubriqueChooser = defineAsyncComponent(() => import('../rubriques/RubriqueChooser.vue'));
51
51
  export default defineComponent({
@@ -39,8 +39,8 @@
39
39
  <script lang="ts">
40
40
  import octopusApi from '@saooti/octopus-api';
41
41
  import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
42
- import { Rubriquage } from '@/store/class/rubrique/rubriquage';
43
- import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
42
+ import { Rubriquage } from '@/stores/class/rubrique/rubriquage';
43
+ import { RubriquageFilter } from '@/stores/class/rubrique/rubriquageFilter';
44
44
  import { useFilterStore } from '@/stores/FilterStore';
45
45
  import { mapState, mapActions } from 'pinia';
46
46
  import { defineComponent, defineAsyncComponent } from 'vue';
@@ -37,7 +37,7 @@
37
37
  import ListPaginate from '../list/ListPaginate.vue';
38
38
  import octopusApi from '@saooti/octopus-api';
39
39
  import PodcastItem from '../podcasts/PodcastItem.vue';
40
- import { Podcast, emptyPodcastData } from '@/store/class/general/podcast';
40
+ import { Podcast, emptyPodcastData } from '@/stores/class/general/podcast';
41
41
  import { defineComponent } from 'vue'
42
42
  export default defineComponent({
43
43
  name: 'LiveHorizontalList',
@@ -131,8 +131,8 @@ import dayjs from 'dayjs';
131
131
  // @ts-ignore
132
132
  import humanizeDuration from 'humanize-duration';
133
133
  import displayMethods from '../../mixins/displayMethods';
134
- import { Podcast } from '@/store/class/general/podcast';
135
- import { Participant } from '@/store/class/general/participant';
134
+ import { Podcast } from '@/stores/class/general/podcast';
135
+ import { Participant } from '@/stores/class/general/participant';
136
136
  import { useFilterStore } from '@/stores/FilterStore';
137
137
  import { mapState } from 'pinia';
138
138
  import { defineComponent, defineAsyncComponent } from 'vue';
@@ -45,7 +45,7 @@ dayjs.extend(localizedFormat);
45
45
  import { useFilterStore } from '@/stores/FilterStore';
46
46
  import { mapState } from 'pinia';
47
47
  import { state } from '../../../stores/ParamSdkStore';
48
- import { Conference } from '@/store/class/conference/conference';
48
+ import { Conference } from '@/stores/class/conference/conference';
49
49
  import { defineComponent } from 'vue'
50
50
  import { AxiosError } from 'axios';
51
51
  export default defineComponent({
@@ -120,7 +120,7 @@ import { orgaComputed } from '../../mixins/orgaComputed';
120
120
  import VueMultiselect from 'vue-multiselect';
121
121
  import octopusApi from '@saooti/octopus-api';
122
122
  import { state } from '../../../stores/ParamSdkStore';
123
- import { Organisation } from '@/store/class/general/organisation';
123
+ import { Organisation } from '@/stores/class/general/organisation';
124
124
  import { useAuthStore } from '@/stores/AuthStore';
125
125
  import { mapState } from 'pinia';
126
126
  const ELEMENTS_COUNT = 50;
@@ -26,7 +26,7 @@
26
26
  </template>
27
27
 
28
28
  <script lang="ts">
29
- import { Organisation } from '@/store/class/general/organisation';
29
+ import { Organisation } from '@/stores/class/general/organisation';
30
30
  import octopusApi from '@saooti/octopus-api';
31
31
  import { defineComponent } from 'vue'
32
32
  export default defineComponent({
@@ -56,13 +56,13 @@
56
56
 
57
57
  <script lang="ts">
58
58
  import octopusApi from '@saooti/octopus-api';
59
- import { Participant } from '@/store/class/general/participant';
59
+ import { Participant } from '@/stores/class/general/participant';
60
60
  import { state } from '../../../stores/ParamSdkStore';
61
61
  import imageProxy from '../../mixins/imageProxy';
62
62
  import displayMethods from '../../mixins/displayMethods';
63
63
  import { orgaComputed } from '../../mixins/orgaComputed';
64
64
  import { defineComponent } from 'vue'
65
- import { Podcast } from '@/store/class/general/podcast';
65
+ import { Podcast } from '@/stores/class/general/podcast';
66
66
  export default defineComponent({
67
67
  name: 'ParticpantItem',
68
68
  mixins: [displayMethods, orgaComputed, imageProxy],
@@ -34,7 +34,7 @@ import octopusApi from '@saooti/octopus-api';
34
34
  import ParticipantItem from './ParticipantItem.vue';
35
35
  import { useFilterStore } from '@/stores/FilterStore';
36
36
  import { mapState } from 'pinia';
37
- import { Participant, emptyParticipantData } from '@/store/class/general/participant';
37
+ import { Participant, emptyParticipantData } from '@/stores/class/general/participant';
38
38
  import { defineComponent } from 'vue'
39
39
  import { AxiosError } from 'axios';
40
40
  export default defineComponent({
@@ -57,7 +57,7 @@
57
57
  </template>
58
58
 
59
59
  <script lang="ts">
60
- import { Playlist } from '@/store/class/general/playlist';
60
+ import { Playlist } from '@/stores/class/general/playlist';
61
61
  import { state } from '../../../stores/ParamSdkStore';
62
62
  import imageProxy from '../../mixins/imageProxy';
63
63
  import displayMethods from '../../mixins/displayMethods';
@@ -32,7 +32,7 @@ import ListPaginate from '../list/ListPaginate.vue';
32
32
  import { handle403 } from '../../mixins/handle403';
33
33
  import octopusApi from '@saooti/octopus-api';
34
34
  import PlaylistItem from './PlaylistItem.vue';
35
- import { Playlist, emptyPlaylistData } from '@/store/class/general/playlist';
35
+ import { Playlist, emptyPlaylistData } from '@/stores/class/general/playlist';
36
36
  import { useFilterStore } from '@/stores/FilterStore';
37
37
  import { mapState } from 'pinia';
38
38
  import { defineComponent } from 'vue';
@@ -48,8 +48,8 @@ import octopusApi from '@saooti/octopus-api';
48
48
  import PodcastItem from '../podcasts/PodcastItem.vue';
49
49
  import { state } from '../../../stores/ParamSdkStore';
50
50
  import ClassicSearch from '../../form/ClassicSearch.vue';
51
- import { Podcast } from '@/store/class/general/podcast';
52
- import { Playlist } from '@/store/class/general/playlist';
51
+ import { Podcast } from '@/stores/class/general/podcast';
52
+ import { Playlist } from '@/stores/class/general/playlist';
53
53
  import { defineComponent } from 'vue'
54
54
  import { AxiosError } from 'axios';
55
55
  export default defineComponent({
@@ -64,8 +64,8 @@ import PodcastItem from '../podcasts/PodcastItem.vue';
64
64
  import ClassicLoading from '../../form/ClassicLoading.vue';
65
65
  const PHONE_WIDTH = 960;
66
66
  import { state } from '../../../stores/ParamSdkStore';
67
- import { Podcast } from '@/store/class/general/podcast';
68
- import { Playlist } from '@/store/class/general/playlist';
67
+ import { Podcast } from '@/stores/class/general/podcast';
68
+ import { Playlist } from '@/stores/class/general/playlist';
69
69
  import { defineComponent } from 'vue'
70
70
  export default defineComponent({
71
71
  name: 'PodcastPlaylistInlineList',
@@ -18,7 +18,7 @@
18
18
  </template>
19
19
 
20
20
  <script lang="ts">
21
- import { Participant } from '@/store/class/general/participant';
21
+ import { Participant } from '@/stores/class/general/participant';
22
22
  import { useFilterStore } from '@/stores/FilterStore';
23
23
  import { mapState } from 'pinia';
24
24
  import { defineComponent } from 'vue';
@@ -52,7 +52,7 @@
52
52
 
53
53
  <script lang="ts">
54
54
  import Popover from '../../misc/Popover.vue';
55
- import { Participant } from '@/store/class/general/participant';
55
+ import { Participant } from '@/stores/class/general/participant';
56
56
  import { useFilterStore } from '@/stores/FilterStore';
57
57
  import { mapState } from 'pinia';
58
58
  import { defineComponent } from 'vue';
@@ -37,9 +37,9 @@
37
37
  <script lang="ts">
38
38
  import ClassicSearch from '../../form/ClassicSearch.vue';
39
39
  import PodcastList from './PodcastList.vue';
40
- import { Category } from '@/store/class/general/category';
40
+ import { Category } from '@/stores/class/general/category';
41
41
  import { defineComponent, defineAsyncComponent } from 'vue';
42
- import { Podcast } from '@/store/class/general/podcast';
42
+ import { Podcast } from '@/stores/class/general/podcast';
43
43
  const CategoryChooser = defineAsyncComponent(() => import('../categories/CategoryChooser.vue'));
44
44
  export default defineComponent({
45
45
  components: {
@@ -89,8 +89,8 @@
89
89
 
90
90
  <script lang="ts">
91
91
  import { state } from '../../../stores/ParamSdkStore';
92
- import { Podcast } from '@/store/class/general/podcast';
93
- import { Conference } from '@/store/class/conference/conference';
92
+ import { Podcast } from '@/stores/class/general/podcast';
93
+ import { Conference } from '@/stores/class/conference/conference';
94
94
  import imageProxy from '../../mixins/imageProxy';
95
95
  import { usePlayerStore } from '@/stores/PlayerStore';
96
96
  import { mapState, mapActions } from 'pinia';
@@ -56,7 +56,7 @@ const PHONE_WIDTH = 960;
56
56
  import { useFilterStore } from '@/stores/FilterStore';
57
57
  import { mapState } from 'pinia';
58
58
  import { state } from '../../../stores/ParamSdkStore';
59
- import { Podcast } from '@/store/class/general/podcast';
59
+ import { Podcast } from '@/stores/class/general/podcast';
60
60
  import imageProxy from '../../mixins/imageProxy';
61
61
  import { defineComponent } from 'vue'
62
62
  export default defineComponent({
@@ -72,12 +72,12 @@
72
72
  </template>
73
73
 
74
74
  <script lang="ts">
75
- import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
75
+ import { RubriquageFilter } from '@/stores/class/rubrique/rubriquageFilter';
76
76
  import { defineComponent } from 'vue'
77
77
  import { RouteLocationRaw } from 'vue-router';
78
78
  import { useFilterStore } from '@/stores/FilterStore';
79
79
  import { mapState, mapActions } from 'pinia';
80
- import { Rubrique } from '@/store/class/rubrique/rubrique';
80
+ import { Rubrique } from '@/stores/class/rubrique/rubrique';
81
81
  export default defineComponent({
82
82
  name: 'PodcastInlineListTemplate',
83
83
 
@@ -54,7 +54,7 @@ import PodcastItemInfo from './PodcastItemInfo.vue';
54
54
  import PodcastImage from './PodcastImage.vue';
55
55
  import { state } from '../../../stores/ParamSdkStore';
56
56
  import dayjs from 'dayjs';
57
- import { Podcast } from '@/store/class/general/podcast';
57
+ import { Podcast } from '@/stores/class/general/podcast';
58
58
  import { defineComponent } from 'vue'
59
59
  export default defineComponent({
60
60
  name: 'PodcastItem',
@@ -57,7 +57,7 @@ import dayjs from 'dayjs';
57
57
  import humanizeDuration from 'humanize-duration';
58
58
  import PodcastPlayBar from './PodcastPlayBar.vue';
59
59
  import { defineComponent } from 'vue'
60
- import { Participant } from '@/store/class/general/participant';
60
+ import { Participant } from '@/stores/class/general/participant';
61
61
  export default defineComponent({
62
62
  name: 'PodcastItemInfo',
63
63
 
@@ -38,9 +38,9 @@ import { state } from '../../../stores/ParamSdkStore';
38
38
  import { useAuthStore } from '@/stores/AuthStore';
39
39
  import { useFilterStore } from '@/stores/FilterStore';
40
40
  import { mapState } from 'pinia';
41
- import { Podcast, emptyPodcastData } from '@/store/class/general/podcast';
41
+ import { Podcast, emptyPodcastData } from '@/stores/class/general/podcast';
42
42
  import { defineComponent } from 'vue'
43
- import { FetchParam } from '@/store/class/general/fetchParam';
43
+ import { FetchParam } from '@/stores/class/general/fetchParam';
44
44
  import { AxiosError } from 'axios';
45
45
  export default defineComponent({
46
46
  name: 'PodcastList',
@@ -140,8 +140,8 @@ import dayjs from 'dayjs';
140
140
  import humanizeDuration from 'humanize-duration';
141
141
  import displayMethods from '../../mixins/displayMethods';
142
142
  import { orgaComputed } from '../../mixins/orgaComputed';
143
- import { Podcast } from '@/store/class/general/podcast';
144
- import { Conference } from '@/store/class/conference/conference';
143
+ import { Podcast } from '@/stores/class/general/podcast';
144
+ import { Conference } from '@/stores/class/conference/conference';
145
145
 
146
146
  import { defineComponent, defineAsyncComponent } from 'vue';
147
147
  const ErrorMessage = defineAsyncComponent(() => import('../../misc/ErrorMessage.vue'));
@@ -54,7 +54,7 @@ import "swiper/css";
54
54
  import "swiper/css/navigation";
55
55
  import { useFilterStore } from '@/stores/FilterStore';
56
56
  import { mapState } from 'pinia';
57
- import { Podcast } from '@/store/class/general/podcast';
57
+ import { Podcast } from '@/stores/class/general/podcast';
58
58
  import { defineComponent } from 'vue'
59
59
  export default defineComponent({
60
60
  name: 'PodcastSwiperList',
@@ -70,7 +70,7 @@
70
70
  import selenium from '../../mixins/selenium';
71
71
  //@ts-ignore
72
72
  import VueMultiselect from 'vue-multiselect';
73
- import { Rubrique } from '@/store/class/rubrique/rubrique';
73
+ import { Rubrique } from '@/stores/class/rubrique/rubrique';
74
74
  const getDefaultRubrique = (defaultName: string) => {
75
75
  if ('' === defaultName){
76
76
  return undefined;