@saooti/octopus-sdk 35.2.0 → 35.2.2
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 +2 -2
- package/src/App.vue +4 -4
- package/src/components/display/categories/CategoryChooser.vue +1 -1
- package/src/components/display/categories/CategoryFilter.vue +3 -3
- package/src/components/display/categories/CategoryList.vue +1 -1
- package/src/components/display/comments/CommentBasicView.vue +1 -1
- package/src/components/display/comments/CommentInput.vue +3 -3
- package/src/components/display/comments/CommentItem.vue +6 -5
- package/src/components/display/comments/CommentList.vue +4 -4
- package/src/components/display/comments/CommentParentInfo.vue +1 -1
- package/src/components/display/comments/CommentPlayer.vue +1 -1
- package/src/components/display/comments/CommentSection.vue +6 -5
- package/src/components/display/edit/EditBox.vue +1 -1
- package/src/components/display/edit/EditCommentBox.vue +1 -1
- package/src/components/display/emission/EmissionChooser.vue +1 -1
- package/src/components/display/emission/EmissionInlineList.vue +3 -3
- package/src/components/display/emission/EmissionItem.vue +2 -2
- package/src/components/display/emission/EmissionList.vue +4 -4
- package/src/components/display/emission/EmissionPlayerItem.vue +2 -2
- package/src/components/display/filter/AdvancedSearch.vue +1 -1
- package/src/components/display/filter/ProductorSearch.vue +1 -1
- package/src/components/display/filter/RubriqueChoice.vue +2 -2
- package/src/components/display/filter/RubriqueFilter.vue +2 -2
- package/src/components/display/live/LiveHorizontalList.vue +1 -1
- package/src/components/display/live/LiveItem.vue +2 -2
- package/src/components/display/live/LiveList.vue +1 -1
- package/src/components/display/organisation/OrganisationChooser.vue +1 -1
- package/src/components/display/organisation/OrganisationChooserLight.vue +1 -1
- package/src/components/display/participant/ParticipantItem.vue +2 -2
- package/src/components/display/participant/ParticipantList.vue +1 -1
- package/src/components/display/playlist/PlaylistItem.vue +1 -1
- package/src/components/display/playlist/PlaylistList.vue +1 -1
- package/src/components/display/playlist/PodcastList.vue +2 -2
- package/src/components/display/playlist/PodcastPlaylistInlineList.vue +2 -2
- package/src/components/display/podcasts/AnimatorsItem.vue +1 -1
- package/src/components/display/podcasts/ParticipantDescription.vue +1 -1
- package/src/components/display/podcasts/PodcastFilterList.vue +2 -2
- package/src/components/display/podcasts/PodcastImage.vue +2 -2
- package/src/components/display/podcasts/PodcastInlineListClassic.vue +1 -1
- package/src/components/display/podcasts/PodcastInlineListTemplate.vue +2 -2
- package/src/components/display/podcasts/PodcastItem.vue +1 -1
- package/src/components/display/podcasts/PodcastItemInfo.vue +1 -1
- package/src/components/display/podcasts/PodcastList.vue +2 -2
- package/src/components/display/podcasts/PodcastModuleBox.vue +2 -2
- package/src/components/display/podcasts/PodcastSwiperList.vue +1 -1
- package/src/components/display/rubriques/RubriqueChooser.vue +1 -1
- package/src/components/display/rubriques/RubriqueList.vue +3 -3
- package/src/components/display/sharing/ShareButtons.vue +3 -3
- package/src/components/display/sharing/ShareButtonsIntern.vue +3 -3
- package/src/components/display/sharing/ShareDistribution.vue +1 -1
- package/src/components/display/sharing/SharePlayer.vue +3 -3
- package/src/components/display/sharing/SharePlayerTypes.vue +5 -5
- package/src/components/display/sharing/SubscribeButtons.vue +1 -1
- package/src/components/misc/Footer.vue +2 -2
- package/src/components/misc/HomeDropdown.vue +1 -1
- package/src/components/misc/LeftMenu.vue +3 -3
- package/src/components/misc/TopBar.vue +2 -2
- package/src/components/misc/modal/ClipboardModal.vue +1 -1
- package/src/components/misc/modal/NewsletterModal.vue +4 -4
- package/src/components/misc/modal/ShareModalPlayer.vue +1 -1
- package/src/components/misc/player/Player.vue +1 -1
- package/src/components/misc/player/PlayerCompact.vue +1 -1
- package/src/components/misc/player/PlayerLarge.vue +1 -1
- package/src/components/misc/player/PlayerProgressBar.vue +1 -1
- package/src/components/misc/player/PlayerTimeline.vue +1 -1
- package/src/components/mixins/player/playerComment.ts +10 -13
- package/src/components/pages/Category.vue +1 -1
- package/src/components/pages/Emission.vue +1 -1
- package/src/components/pages/Emissions.vue +1 -1
- package/src/components/pages/Home.vue +4 -4
- package/src/components/pages/Lives.vue +2 -2
- package/src/components/pages/PageNotFound.vue +1 -1
- package/src/components/pages/Participant.vue +1 -1
- package/src/components/pages/Playlist.vue +1 -1
- package/src/components/pages/Podcast.vue +4 -4
- package/src/components/pages/Podcasts.vue +2 -2
- package/src/components/pages/Rubrique.vue +1 -1
- package/src/locale/educationfr.ts +3 -3
- package/src/stores/ApiStore.ts +1 -1
- package/src/stores/CommentStore.ts +40 -0
- 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.
|
|
3
|
+
"version": "35.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Javascript SDK for using octopus",
|
|
6
6
|
"author": "Saooti",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test": "jest --coverage"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@saooti/octopus-api": "^0.34.
|
|
19
|
+
"@saooti/octopus-api": "^0.34.3",
|
|
20
20
|
"@vue/cli": "^5.0.8",
|
|
21
21
|
"@vue/compat": "^3.2.45",
|
|
22
22
|
"autoprefixer": "^10.4.13",
|
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 './
|
|
30
|
-
import { RubriquageFilter } from './
|
|
31
|
-
import { Rubrique } from './
|
|
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 './
|
|
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 '@/
|
|
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 '@/
|
|
70
|
-
import { RubriquageFilter } from '@/
|
|
71
|
-
import { Rubrique } from '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
97
|
-
import { Conference } from '@/
|
|
98
|
-
import { CommentPodcast } from '@/
|
|
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,11 +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 '@/
|
|
136
|
-
import { Podcast } from '@/
|
|
137
|
-
import { Conference } from '@/
|
|
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 { useCommentStore } from '@/stores/CommentStore';
|
|
140
141
|
import { useGeneralStore } from '@/stores/GeneralStore';
|
|
141
142
|
import { mapState, mapActions } from 'pinia';
|
|
142
143
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
@@ -179,7 +180,7 @@ export default defineComponent({
|
|
|
179
180
|
};
|
|
180
181
|
},
|
|
181
182
|
computed: {
|
|
182
|
-
...mapState(
|
|
183
|
+
...mapState(useCommentStore, ['commentKnownIdentity']),
|
|
183
184
|
validName(): boolean{
|
|
184
185
|
return this.countName <= this.maxName;
|
|
185
186
|
},
|
|
@@ -203,7 +204,7 @@ export default defineComponent({
|
|
|
203
204
|
},
|
|
204
205
|
knownIdentity: {
|
|
205
206
|
get(): string|null {
|
|
206
|
-
return this.
|
|
207
|
+
return this.commentKnownIdentity;
|
|
207
208
|
},
|
|
208
209
|
set(value: string|null) {
|
|
209
210
|
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 '@/
|
|
42
|
-
import { Conference } from '@/
|
|
43
|
-
import { CommentPodcast } from '@/
|
|
44
|
-
import { InterfacePageable } from '@/
|
|
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 '@/
|
|
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 '@/
|
|
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,13 @@
|
|
|
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 '@/
|
|
42
|
-
import { Conference } from '@/
|
|
41
|
+
import { Podcast } from '@/stores/class/general/podcast';
|
|
42
|
+
import { Conference } from '@/stores/class/conference/conference';
|
|
43
|
+
import { useCommentStore } from '@/stores/CommentStore';
|
|
43
44
|
import { useGeneralStore } from '@/stores/GeneralStore';
|
|
44
45
|
import { mapState, mapActions } from 'pinia';
|
|
45
46
|
import { defineComponent } from 'vue'
|
|
46
|
-
import { CommentPodcast } from '@/
|
|
47
|
+
import { CommentPodcast } from '@/stores/class/general/comment';
|
|
47
48
|
export default defineComponent({
|
|
48
49
|
name: 'CommentSection',
|
|
49
50
|
components: {
|
|
@@ -63,7 +64,7 @@ export default defineComponent({
|
|
|
63
64
|
};
|
|
64
65
|
},
|
|
65
66
|
computed: {
|
|
66
|
-
...mapState(
|
|
67
|
+
...mapState(useCommentStore, ['commentKnownIdentity']),
|
|
67
68
|
commentTitle():string{
|
|
68
69
|
const count = this.loaded && this.totalCount > 0 ? this.$t('()', { nb: this.totalCount }) : '';
|
|
69
70
|
return this.$t("Podcast's comments")+count;
|
|
@@ -91,7 +92,7 @@ export default defineComponent({
|
|
|
91
92
|
},
|
|
92
93
|
knownIdentity: {
|
|
93
94
|
get(): string|null {
|
|
94
|
-
return this.
|
|
95
|
+
return this.commentKnownIdentity;
|
|
95
96
|
},
|
|
96
97
|
set(value: string|null) {
|
|
97
98
|
this.setCommentIdentity(value);
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
<script lang="ts">
|
|
71
71
|
import selenium from '../../mixins/selenium';
|
|
72
|
-
import { CommentPodcast } from '@/
|
|
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 '@/
|
|
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 '@/
|
|
68
|
-
import { Rubrique } from '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
56
|
-
import { Rubrique } from '@/
|
|
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 '@/
|
|
58
|
+
import { FetchParam } from '@/stores/class/general/fetchParam';
|
|
59
59
|
import { AxiosError } from 'axios';
|
|
60
|
-
import { Rubriquage } from '@/
|
|
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 '@/
|
|
145
|
-
import { Podcast } from '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
48
|
-
import { Rubrique } from '@/
|
|
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 '@/
|
|
43
|
-
import { RubriquageFilter } from '@/
|
|
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 '@/
|
|
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 '@/
|
|
135
|
-
import { Participant } from '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
52
|
-
import { Playlist } from '@/
|
|
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 '@/
|
|
68
|
-
import { Playlist } from '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
40
|
+
import { Category } from '@/stores/class/general/category';
|
|
41
41
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
42
|
-
import { Podcast } from '@/
|
|
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 '@/
|
|
93
|
-
import { Conference } from '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
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 '@/
|
|
41
|
+
import { Podcast, emptyPodcastData } from '@/stores/class/general/podcast';
|
|
42
42
|
import { defineComponent } from 'vue'
|
|
43
|
-
import { FetchParam } from '@/
|
|
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 '@/
|
|
144
|
-
import { Conference } from '@/
|
|
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 '@/
|
|
57
|
+
import { Podcast } from '@/stores/class/general/podcast';
|
|
58
58
|
import { defineComponent } from 'vue'
|
|
59
59
|
export default defineComponent({
|
|
60
60
|
name: 'PodcastSwiperList',
|