@saooti/octopus-sdk 30.0.1 → 30.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/index.ts +5 -2
- package/package.json +1 -1
- package/public/img/ouest_france_logo.svg +12 -0
- package/src/App.vue +4 -4
- package/src/api/comments.ts +1 -1
- package/src/assets/form.scss +3 -1
- package/src/assets/modal.scss +1 -0
- package/src/components/display/categories/CategoryChooser.vue +1 -1
- package/src/components/display/categories/CategoryFilter.vue +4 -4
- package/src/components/display/categories/CategoryList.vue +1 -1
- package/src/components/display/comments/CommentInput.vue +3 -3
- package/src/components/display/comments/CommentItem.vue +3 -4
- 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 +3 -3
- 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 +2 -2
- package/src/components/display/emission/EmissionInlineList.vue +2 -2
- package/src/components/display/emission/EmissionItem.vue +1 -1
- package/src/components/display/emission/EmissionList.vue +3 -3
- package/src/components/display/emission/EmissionPlayerItem.vue +2 -2
- package/src/components/display/filter/AdvancedSearch.vue +1 -1
- package/src/components/display/filter/CategoryFilter.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 +1 -1
- 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/podcasts/AnimatorsItem.vue +1 -1
- package/src/components/display/podcasts/ParticipantDescription.vue +1 -2
- package/src/components/display/podcasts/PodcastFilterList.vue +2 -2
- package/src/components/display/podcasts/PodcastImage.vue +2 -2
- package/src/components/display/podcasts/PodcastInlineList.vue +2 -2
- package/src/components/display/podcasts/PodcastItem.vue +2 -2
- package/src/components/display/podcasts/PodcastList.vue +2 -2
- package/src/components/display/podcasts/PodcastModuleBox.vue +3 -7
- package/src/components/display/podcasts/TagList.vue +46 -35
- package/src/components/display/rubriques/RubriqueChooser.vue +1 -1
- package/src/components/display/rubriques/RubriqueList.vue +3 -3
- package/src/components/display/sharing/PlayerParameters.vue +7 -58
- package/src/components/display/sharing/ShareButtons.vue +3 -2
- package/src/components/display/sharing/ShareDistribution.vue +1 -1
- package/src/components/display/sharing/SharePlayer.vue +37 -72
- package/src/components/display/sharing/SharePlayerColors.vue +4 -49
- package/src/components/display/sharing/SharePlayerTypes.vue +12 -15
- package/src/components/display/sharing/SubscribeButtons.vue +1 -1
- package/src/components/misc/Footer.vue +2 -2
- package/src/components/misc/LeftMenu.vue +3 -3
- package/src/components/misc/Player.vue +2 -2
- package/src/components/misc/PlayerButtons.vue +2 -2
- package/src/components/misc/PlayerClockAndTimeline.vue +1 -1
- package/src/components/misc/PlayerProgressBar.vue +1 -1
- package/src/components/misc/Popover.vue +1 -2
- package/src/components/misc/TopBar.vue +2 -2
- package/src/components/misc/modal/ClipboardModal.vue +1 -1
- package/src/components/misc/modal/NewsletterModal.vue +2 -2
- package/src/components/misc/modal/QrCodeModal.vue +2 -2
- package/src/components/misc/modal/ShareModalPlayer.vue +1 -1
- package/src/components/mixins/init.ts +1 -1
- package/src/components/mixins/organisationFilter.ts +1 -1
- package/src/components/mixins/tagOfMixins.ts +19 -0
- package/src/components/pages/Category.vue +1 -1
- package/src/components/pages/Emission.vue +1 -1
- package/src/components/pages/Emissions.vue +2 -2
- package/src/components/pages/Home.vue +4 -4
- package/src/components/pages/Lives.vue +2 -2
- 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 +3 -3
- package/src/locale/en.ts +0 -1
- package/src/locale/fr.ts +0 -1
- package/src/store/class/{adserverConfig.ts → adserver/adserverConfig.ts} +0 -0
- package/src/store/class/adserver/adserverOtherEmission.ts +13 -0
- package/src/store/class/{adserverTiming.ts → adserver/adserverTiming.ts} +0 -0
- package/src/store/class/cartouchier/cartouche.ts +15 -0
- package/src/store/class/cartouchier/cartouchier.ts +9 -0
- package/src/store/class/conference/conference.ts +35 -0
- package/src/store/class/conference/conferenceMessage.ts +10 -0
- package/src/store/class/conference/conferenceParticipant.ts +18 -0
- package/src/store/class/conference/pad.ts +15 -0
- package/src/store/class/conference/studioCall.ts +7 -0
- package/src/store/class/contract/contract.ts +7 -0
- package/src/store/class/contract/contractOrganisation.ts +7 -0
- package/src/store/class/ftp/ftpEmission.ts +41 -0
- package/src/store/class/ftp/ftpParam.ts +12 -0
- package/src/store/class/ftp/testFtpEmission.ts +5 -0
- package/src/store/class/general/audioView.ts +21 -0
- package/src/store/class/{category.ts → general/category.ts} +1 -1
- package/src/store/class/general/comment.ts +16 -0
- package/src/store/class/general/customPlayer.ts +8 -0
- package/src/store/class/{emission.ts → general/emission.ts} +2 -2
- package/src/store/class/general/fetchParam.ts +33 -0
- package/src/store/class/general/initState.ts +25 -0
- package/src/store/class/general/ituneCategory.ts +5 -0
- package/src/store/class/general/media.ts +14 -0
- package/src/store/class/general/organisation.ts +19 -0
- package/src/store/class/general/pageable.ts +13 -0
- package/src/store/class/{participant.ts → general/participant.ts} +0 -0
- package/src/store/class/{player.ts → general/player.ts} +0 -0
- package/src/store/class/{playlist.ts → general/playlist.ts} +2 -2
- package/src/store/class/{podcast.ts → general/podcast.ts} +2 -1
- package/src/store/class/general/sortPageable.ts +5 -0
- package/src/store/class/general/soundcastCategory.ts +8 -0
- package/src/store/class/ouestFrance/ofTag.ts +36 -0
- package/src/store/class/ouestFrance/ofTagInfo.ts +9 -0
- package/src/store/class/ouestFrance/ofTagPage.ts +7 -0
- package/src/store/class/ouestFrance/ofTagSeo.ts +7 -0
- package/src/store/class/ouestFrance/ofTagVente.ts +6 -0
- package/src/store/class/ouestFrance/ofTagWithParents.ts +26 -0
- package/src/store/class/rss/aggregator.ts +28 -0
- package/src/store/class/rss/rssEmission.ts +14 -0
- package/src/store/class/rss/rssInfo.ts +8 -0
- package/src/store/class/{rubriquage.ts → rubrique/rubriquage.ts} +0 -0
- package/src/store/class/rubrique/rubriquageFilter.ts +6 -0
- package/src/store/class/rubrique/rubrique.ts +8 -0
- package/src/store/class/stat/statArrayIncome.ts +6 -0
- package/src/store/class/stat/statArrayObject.ts +34 -0
- package/src/store/class/stat/statGraph.ts +7 -0
- package/src/store/class/{person.ts → user/person.ts} +2 -2
- package/src/store/class/user/profile.ts +12 -0
- package/src/store/class/user/userKeycloak.ts +24 -0
- package/src/store/paramStore.ts +8 -12
- package/src/store/typeAppStore.ts +10 -10
- package/src/store/class/comment.ts +0 -16
- package/src/store/class/conference.ts +0 -31
- package/src/store/class/customPlayer.ts +0 -8
- package/src/store/class/fetchParam.ts +0 -33
- package/src/store/class/media.ts +0 -14
- package/src/store/class/organisation.ts +0 -19
- package/src/store/class/rubriquageFilter.ts +0 -6
- package/src/store/class/rubrique.ts +0 -9
|
@@ -140,8 +140,8 @@ import Player from './Player.vue';
|
|
|
140
140
|
import { state } from '../../store/paramStore';
|
|
141
141
|
import octopusApi from '@saooti/octopus-api';
|
|
142
142
|
import moment from 'moment';
|
|
143
|
-
import { Category } from '@/store/class/category';
|
|
144
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
143
|
+
import { Category } from '@/store/class/general/category';
|
|
144
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
145
145
|
import { defineComponent } from 'vue'
|
|
146
146
|
export default defineComponent({
|
|
147
147
|
name: 'Footer',
|
|
@@ -117,10 +117,10 @@
|
|
|
117
117
|
<script lang="ts">
|
|
118
118
|
import { state } from '../../store/paramStore';
|
|
119
119
|
import { orgaFilter } from '../mixins/organisationFilter';
|
|
120
|
-
import { Category } from '@/store/class/category';
|
|
121
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
120
|
+
import { Category } from '@/store/class/general/category';
|
|
121
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
122
122
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
123
|
-
import { Organisation } from '@/store/class/organisation';
|
|
123
|
+
import { Organisation } from '@/store/class/general/organisation';
|
|
124
124
|
const OrganisationChooserLight = defineAsyncComponent(() => import('../display/organisation/OrganisationChooserLight.vue'));
|
|
125
125
|
export default defineComponent({
|
|
126
126
|
name: 'LeftMenu',
|
|
@@ -77,14 +77,14 @@ import octopusApi from '@saooti/octopus-api';
|
|
|
77
77
|
/* eslint-disable */
|
|
78
78
|
let Hls:any = null;
|
|
79
79
|
/* eslint-enable */
|
|
80
|
-
import { CommentPodcast } from '@/store/class/comment';
|
|
80
|
+
import { CommentPodcast } from '@/store/class/general/comment';
|
|
81
81
|
import { cookies } from '../mixins/functions';
|
|
82
82
|
import { StoreState } from '@/store/typeAppStore';
|
|
83
83
|
import PlayerProgressBar from './PlayerProgressBar.vue';
|
|
84
84
|
import PlayerButtons from './PlayerButtons.vue';
|
|
85
85
|
import PlayerClockAndTimeline from './PlayerClockAndTimeline.vue';
|
|
86
86
|
import { defineComponent } from 'vue';
|
|
87
|
-
import { FetchParam } from '@/store/class/fetchParam';
|
|
87
|
+
import { FetchParam } from '@/store/class/general/fetchParam';
|
|
88
88
|
export default defineComponent({
|
|
89
89
|
name: 'Player',
|
|
90
90
|
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
<script lang="ts">
|
|
45
45
|
import { state } from '../../store/paramStore';
|
|
46
46
|
import { defineComponent } from 'vue';
|
|
47
|
-
import { Media } from '@/store/class/media';
|
|
48
|
-
import { Podcast } from '@/store/class/podcast';
|
|
47
|
+
import { Media } from '@/store/class/general/media';
|
|
48
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
49
49
|
import { RouteLocationRaw } from 'vue-router';
|
|
50
50
|
export default defineComponent({
|
|
51
51
|
name: 'PlayerButtons',
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
import moment from 'moment';
|
|
24
24
|
import { state } from '../../store/paramStore';
|
|
25
25
|
import { defineComponent } from 'vue';
|
|
26
|
-
import { CommentPodcast } from '@/store/class/comment';
|
|
26
|
+
import { CommentPodcast } from '@/store/class/general/comment';
|
|
27
27
|
export default defineComponent({
|
|
28
28
|
name: 'PlayerClockAndTimeline',
|
|
29
29
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<script lang="ts">
|
|
59
59
|
import { state } from '../../store/paramStore';
|
|
60
60
|
import DurationHelper from '../../helper/duration';
|
|
61
|
-
import { CommentPodcast } from '@/store/class/comment';
|
|
61
|
+
import { CommentPodcast } from '@/store/class/general/comment';
|
|
62
62
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
63
63
|
const CommentPlayer = defineAsyncComponent(() => import('../display/comments/CommentPlayer.vue'));
|
|
64
64
|
export default defineComponent({
|
|
@@ -32,7 +32,6 @@ export default defineComponent({
|
|
|
32
32
|
placement: {type: String as PropType<Popover.Options['placement']>, default: 'right'},
|
|
33
33
|
target: {type: String, required: true},
|
|
34
34
|
title: {type: String, default: ''},
|
|
35
|
-
triggers: {type: String as PropType<Popover.Options['trigger']>, default: 'click'},
|
|
36
35
|
show: {type: Boolean, default: false},
|
|
37
36
|
disable: {type: Boolean, default: false},
|
|
38
37
|
},
|
|
@@ -46,7 +45,7 @@ export default defineComponent({
|
|
|
46
45
|
function initPopover(){
|
|
47
46
|
instance.value = new Popover(`#${props.target}`, {
|
|
48
47
|
container: 'body',
|
|
49
|
-
trigger:
|
|
48
|
+
trigger: "click hover",
|
|
50
49
|
placement: props.placement,
|
|
51
50
|
title: titleRef.value?.innerHTML || '',
|
|
52
51
|
content: contentRef.value?.innerHTML || '',
|
|
@@ -139,9 +139,9 @@
|
|
|
139
139
|
<script lang="ts">
|
|
140
140
|
import { state } from '../../store/paramStore';
|
|
141
141
|
import HomeDropdown from './HomeDropdown.vue';
|
|
142
|
-
import { Organisation } from '@/store/class/organisation';
|
|
142
|
+
import { Organisation } from '@/store/class/general/organisation';
|
|
143
143
|
import { orgaFilter } from '../mixins/organisationFilter';
|
|
144
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
144
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
145
145
|
import { defineComponent,defineAsyncComponent } from 'vue';
|
|
146
146
|
const OrganisationChooserLight = defineAsyncComponent(() => import('../display/organisation/OrganisationChooserLight.vue'));
|
|
147
147
|
export default defineComponent({
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script lang="ts">
|
|
40
|
-
import { Emission } from '@/store/class/emission';
|
|
40
|
+
import { Emission } from '@/store/class/general/emission';
|
|
41
41
|
import { displayMethods } from '../../mixins/functions';
|
|
42
42
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
43
43
|
const RssSection = defineAsyncComponent(() => import('@/components/display/aggregator/RssSection.vue'));
|
|
@@ -110,8 +110,8 @@ import VSwatches from 'vue3-swatches';
|
|
|
110
110
|
// @ts-ignore
|
|
111
111
|
import humanizeDuration from 'humanize-duration';
|
|
112
112
|
import { displayMethods } from '../../mixins/functions';
|
|
113
|
-
import { Participant } from '@/store/class/participant';
|
|
114
|
-
import { Podcast } from '@/store/class/podcast';
|
|
113
|
+
import { Participant } from '@/store/class/general/participant';
|
|
114
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
115
115
|
import { state } from '../../../store/paramStore';
|
|
116
116
|
import { defineComponent } from 'vue'
|
|
117
117
|
import SnackbarVue from '../../misc/Snackbar.vue';
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
</template>
|
|
35
35
|
|
|
36
36
|
<script lang="ts">
|
|
37
|
-
import { Podcast } from '@/store/class/podcast';
|
|
38
|
-
import { Emission } from '@/store/class/emission';
|
|
37
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
38
|
+
import { Emission } from '@/store/class/general/emission';
|
|
39
39
|
import QrCode from '../../display/sharing/QrCode.vue';
|
|
40
40
|
import { defineComponent } from 'vue'
|
|
41
41
|
export default defineComponent({
|
|
@@ -97,7 +97,7 @@ import { displayMethods } from '../../mixins/functions';
|
|
|
97
97
|
|
|
98
98
|
import QrCode from '../../display/sharing/QrCode.vue';
|
|
99
99
|
import { defineComponent } from 'vue'
|
|
100
|
-
import { Podcast } from '@/store/class/podcast';
|
|
100
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
101
101
|
import SnackbarVue from '../Snackbar.vue';
|
|
102
102
|
export default defineComponent({
|
|
103
103
|
name: 'ShareModalPlayer',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { Category } from "@/store/class/category";
|
|
2
|
+
import { Category } from "@/store/class/general/category";
|
|
3
3
|
import { orgaFilter } from '../mixins/organisationFilter';
|
|
4
4
|
import octopusApi from '@saooti/octopus-api';
|
|
5
5
|
import { state } from '../../store/paramStore';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {defineComponent } from 'vue';
|
|
2
|
+
export const tagOfMixins = defineComponent({
|
|
3
|
+
name: 'TagOfMixins',
|
|
4
|
+
methods:{
|
|
5
|
+
isOuestFranceTag(tag: string): boolean{
|
|
6
|
+
return "[of]"===tag.substring(0,4);
|
|
7
|
+
},
|
|
8
|
+
formateOfTag(tag: string): string{
|
|
9
|
+
if(!this.isOuestFranceTag(tag)){
|
|
10
|
+
return tag;
|
|
11
|
+
}
|
|
12
|
+
const lastSlash = tag.lastIndexOf('/');
|
|
13
|
+
if(-1!==lastSlash){
|
|
14
|
+
return tag.substring(lastSlash + 1, tag.length);
|
|
15
|
+
}
|
|
16
|
+
return tag.substring(4, tag.length);
|
|
17
|
+
},
|
|
18
|
+
}
|
|
19
|
+
});
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import PodcastList from '../display/podcasts/PodcastList.vue';
|
|
15
15
|
|
|
16
16
|
import { defineComponent } from 'vue'
|
|
17
|
-
import { Category } from '@/store/class/category';
|
|
17
|
+
import { Category } from '@/store/class/general/category';
|
|
18
18
|
export default defineComponent({
|
|
19
19
|
components: {
|
|
20
20
|
PodcastList,
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
import octopusApi from '@saooti/octopus-api';
|
|
113
113
|
import { state } from '../../store/paramStore';
|
|
114
114
|
import { displayMethods } from '../mixins/functions';
|
|
115
|
-
import { Emission } from '@/store/class/emission';
|
|
115
|
+
import { Emission } from '@/store/class/general/emission';
|
|
116
116
|
|
|
117
117
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
118
118
|
const PodcastFilterList = defineAsyncComponent(() => import('../display/podcasts/PodcastFilterList.vue'));
|
|
@@ -54,8 +54,8 @@ import EmissionList from '../display/emission/EmissionList.vue';
|
|
|
54
54
|
import AdvancedSearch from '../display/filter/AdvancedSearch.vue';
|
|
55
55
|
import { state } from '../../store/paramStore';
|
|
56
56
|
|
|
57
|
-
import { Category } from '@/store/class/category';
|
|
58
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
57
|
+
import { Category } from '@/store/class/general/category';
|
|
58
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
59
59
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
60
60
|
const ProductorSearch = defineAsyncComponent(() => import('../display/filter/ProductorSearch.vue'));
|
|
61
61
|
export default defineComponent({
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
import PodcastInlineList from '../display/podcasts/PodcastInlineList.vue';
|
|
40
40
|
import { state } from '../../store/paramStore';
|
|
41
41
|
|
|
42
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
43
|
-
import { Rubriquage } from '@/store/class/rubriquage';
|
|
44
|
-
import { Rubrique } from '@/store/class/rubrique';
|
|
42
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
43
|
+
import { Rubriquage } from '@/store/class/rubrique/rubriquage';
|
|
44
|
+
import { Rubrique } from '@/store/class/rubrique/rubrique';
|
|
45
45
|
import { defineComponent } from 'vue'
|
|
46
|
-
import { Category } from '@/store/class/category';
|
|
46
|
+
import { Category } from '@/store/class/general/category';
|
|
47
47
|
export default defineComponent({
|
|
48
48
|
name: 'Home',
|
|
49
49
|
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
<script lang="ts">
|
|
36
36
|
import { state } from '../../store/paramStore';
|
|
37
37
|
|
|
38
|
-
import { Organisation } from '@/store/class/organisation';
|
|
38
|
+
import { Organisation } from '@/store/class/general/organisation';
|
|
39
39
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
40
|
-
import { Conference } from '@/store/class/conference';
|
|
40
|
+
import { Conference } from '@/store/class/conference/conference';
|
|
41
41
|
const LiveList = defineAsyncComponent(() => import('../display/live/LiveList.vue'));
|
|
42
42
|
const OrganisationChooser = defineAsyncComponent(() => import('../display/organisation/OrganisationChooser.vue'));
|
|
43
43
|
export default defineComponent({
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
import octopusApi from '@saooti/octopus-api';
|
|
94
94
|
import { state } from '../../store/paramStore';
|
|
95
95
|
import { displayMethods } from '../mixins/functions';
|
|
96
|
-
import { Participant } from '@/store/class/participant';
|
|
96
|
+
import { Participant } from '@/store/class/general/participant';
|
|
97
97
|
|
|
98
98
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
99
99
|
const ShareButtons = defineAsyncComponent(() => import('../display/sharing/ShareButtons.vue'));
|
|
@@ -64,7 +64,7 @@ import PodcastList from '../display/playlist/PodcastList.vue';
|
|
|
64
64
|
import octopusApi from '@saooti/octopus-api';
|
|
65
65
|
import { state } from '../../store/paramStore';
|
|
66
66
|
import { displayMethods } from '../mixins/functions';
|
|
67
|
-
import { Playlist } from '@/store/class/playlist';
|
|
67
|
+
import { Playlist } from '@/store/class/general/playlist';
|
|
68
68
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
69
69
|
const ShareButtons = defineAsyncComponent(() => import('../display/sharing/ShareButtons.vue'));
|
|
70
70
|
const EditBox = defineAsyncComponent(() => import('@/components/display/edit/EditBox.vue'));
|
|
@@ -111,13 +111,13 @@ import octopusApi from '@saooti/octopus-api';
|
|
|
111
111
|
import studioApi from '@/api/studio';
|
|
112
112
|
import { state } from '../../store/paramStore';
|
|
113
113
|
import moment from 'moment';
|
|
114
|
-
import { Podcast } from '@/store/class/podcast';
|
|
115
|
-
import { Conference } from '@/store/class/conference';
|
|
114
|
+
import { Podcast } from '@/store/class/general/podcast';
|
|
115
|
+
import { Conference } from '@/store/class/conference/conference';
|
|
116
116
|
|
|
117
117
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
118
118
|
import CommentSectionVue from '../display/comments/CommentSection.vue';
|
|
119
|
-
import { CommentPodcast } from '@/store/class/comment';
|
|
120
|
-
import { Category } from '@/store/class/category';
|
|
119
|
+
import { CommentPodcast } from '@/store/class/general/comment';
|
|
120
|
+
import { Category } from '@/store/class/general/category';
|
|
121
121
|
const ShareButtons = defineAsyncComponent(() => import('../display/sharing/ShareButtons.vue'));
|
|
122
122
|
const SharePlayer = defineAsyncComponent(() => import('../display/sharing/SharePlayer.vue'));
|
|
123
123
|
const EditBox = defineAsyncComponent(() => import('@/components/display/edit/EditBox.vue'));
|
|
@@ -75,9 +75,9 @@ import PodcastList from '../display/podcasts/PodcastList.vue';
|
|
|
75
75
|
import { state } from '../../store/paramStore';
|
|
76
76
|
import ProductorSearch from '../display/filter/ProductorSearch.vue';
|
|
77
77
|
import AdvancedSearch from '../display/filter/AdvancedSearch.vue';
|
|
78
|
-
import { Emission } from '@/store/class/emission';
|
|
79
|
-
import { Category } from '@/store/class/category';
|
|
80
|
-
import { RubriquageFilter } from '@/store/class/rubriquageFilter';
|
|
78
|
+
import { Emission } from '@/store/class/general/emission';
|
|
79
|
+
import { Category } from '@/store/class/general/category';
|
|
80
|
+
import { RubriquageFilter } from '@/store/class/rubrique/rubriquageFilter';
|
|
81
81
|
|
|
82
82
|
import { defineComponent, defineAsyncComponent } from 'vue';
|
|
83
83
|
const EmissionChooser = defineAsyncComponent(() => import('../display/emission/EmissionChooser.vue'));
|
package/src/locale/en.ts
CHANGED
|
@@ -287,7 +287,6 @@ export default{
|
|
|
287
287
|
'See associated article':"Read the article",
|
|
288
288
|
"Display associated article":"Display associated article",
|
|
289
289
|
"Copy this page URL":"Copy this page URL",
|
|
290
|
-
"Use beta version":"Use beta version player",
|
|
291
290
|
"Custom version":"Custom version",
|
|
292
291
|
"All":"All",
|
|
293
292
|
'By category': 'By IAB category',
|
package/src/locale/fr.ts
CHANGED
|
@@ -287,7 +287,6 @@ export default{
|
|
|
287
287
|
'See associated article':"Lire l'article",
|
|
288
288
|
"Display associated article":"Afficher l'article associé",
|
|
289
289
|
"Copy this page URL":"Copier l'adresse de cette page",
|
|
290
|
-
"Use beta version":"Utiliser la version beta du player",
|
|
291
290
|
"Custom version":"Version customisée",
|
|
292
291
|
"All":"Tous",
|
|
293
292
|
'By category': 'Selon la catégorie IAB',
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AdserverTiming } from "./adserverTiming";
|
|
2
|
+
import { Organisation } from "../general/organisation";
|
|
3
|
+
|
|
4
|
+
export interface AdserverOtherEmission {
|
|
5
|
+
config: {
|
|
6
|
+
doublets: Array<AdserverTiming>;
|
|
7
|
+
minIntervalDuration: number;
|
|
8
|
+
minTailDuration: number;
|
|
9
|
+
server: string;
|
|
10
|
+
}
|
|
11
|
+
elected: string;
|
|
12
|
+
organisation: Organisation;
|
|
13
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Media } from '../general/media';
|
|
2
|
+
|
|
3
|
+
export interface Cartouche {
|
|
4
|
+
mediaId?: number;
|
|
5
|
+
media?: Media;
|
|
6
|
+
title?: string;
|
|
7
|
+
cartoucheId?: number;
|
|
8
|
+
colorId?: string;
|
|
9
|
+
level?: number;
|
|
10
|
+
id: number;
|
|
11
|
+
width: number;
|
|
12
|
+
interval?:number;
|
|
13
|
+
elapsed?:number;
|
|
14
|
+
loop?:boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface Conference{
|
|
2
|
+
album?: string;
|
|
3
|
+
artist?: string;
|
|
4
|
+
conferenceId: number;
|
|
5
|
+
conferenceUrlIdentifier?: string;
|
|
6
|
+
date?: string;
|
|
7
|
+
debriefingDate?: string;
|
|
8
|
+
deletionAttempts?: number;
|
|
9
|
+
directCode?: string;
|
|
10
|
+
hostname?: string;
|
|
11
|
+
jingleDuration?: number;
|
|
12
|
+
jingleFilePath?: string;
|
|
13
|
+
jingleId?: number;
|
|
14
|
+
mediaId?: number;
|
|
15
|
+
organisationId?: string;
|
|
16
|
+
participants?: Array<{
|
|
17
|
+
conferenceGuestId: number,
|
|
18
|
+
fullName: string,
|
|
19
|
+
keycloakId:string,
|
|
20
|
+
kind: string,
|
|
21
|
+
sipIdentifier:string}>;
|
|
22
|
+
phone?: string;
|
|
23
|
+
podcastId?: number;
|
|
24
|
+
prefix?: {[key:string]:string};
|
|
25
|
+
queueCode?: string;
|
|
26
|
+
recordDate?: string;
|
|
27
|
+
recordingPort?: number;
|
|
28
|
+
status?: string;
|
|
29
|
+
title: string;
|
|
30
|
+
token?: string;
|
|
31
|
+
orderStatus?:number;
|
|
32
|
+
websocket?: string;
|
|
33
|
+
interval?: ReturnType<typeof setTimeout>;
|
|
34
|
+
duration?:number;
|
|
35
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Conference } from './conference';
|
|
2
|
+
|
|
3
|
+
export interface ConferenceParticipant {
|
|
4
|
+
conference?: Conference;
|
|
5
|
+
conferenceGuestId?: number;
|
|
6
|
+
fullName: string;
|
|
7
|
+
keycloakId?: string;
|
|
8
|
+
kind?: string;
|
|
9
|
+
sipIdentifier?: string;
|
|
10
|
+
sipPassword?: string;
|
|
11
|
+
muted?: boolean;
|
|
12
|
+
talking?: boolean;
|
|
13
|
+
memberId?: number;
|
|
14
|
+
callerNumber?: string;
|
|
15
|
+
callerName?: string;
|
|
16
|
+
gain?: number;
|
|
17
|
+
img?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface Pad {
|
|
2
|
+
lineId: number;
|
|
3
|
+
ligneId?: number;
|
|
4
|
+
interval?: number;
|
|
5
|
+
paletteId?: number;
|
|
6
|
+
loop?: boolean;
|
|
7
|
+
volume?: number;
|
|
8
|
+
automix?: boolean;
|
|
9
|
+
url?: string;
|
|
10
|
+
duration?: number;
|
|
11
|
+
mediaId?: number;
|
|
12
|
+
fadeInMode?: string;
|
|
13
|
+
fadeInDuration?: number;
|
|
14
|
+
elapsed?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface FtpEmission {
|
|
2
|
+
email: string;
|
|
3
|
+
serverId: number | undefined;
|
|
4
|
+
emissionId: number | undefined;
|
|
5
|
+
regexp: string;
|
|
6
|
+
directory: string;
|
|
7
|
+
formatDescription: string;
|
|
8
|
+
formatTitre: string;
|
|
9
|
+
rubriqueIds: Array<number>;
|
|
10
|
+
guests: Array<number>;
|
|
11
|
+
formatDate: string;
|
|
12
|
+
parsingDate: string;
|
|
13
|
+
visibility: boolean;
|
|
14
|
+
commentable: string;
|
|
15
|
+
animators: Array<number>;
|
|
16
|
+
tags: Array<string>;
|
|
17
|
+
importType: string;
|
|
18
|
+
validePodcast?: number;
|
|
19
|
+
tooLong?: number;
|
|
20
|
+
spoilPodcast?: number;
|
|
21
|
+
}
|
|
22
|
+
export function emptyFtpEmission(): FtpEmission {
|
|
23
|
+
return {
|
|
24
|
+
email: '',
|
|
25
|
+
serverId: undefined,
|
|
26
|
+
emissionId: undefined,
|
|
27
|
+
regexp: '',
|
|
28
|
+
directory: '',
|
|
29
|
+
formatDescription: '',
|
|
30
|
+
formatTitre: '',
|
|
31
|
+
rubriqueIds: [],
|
|
32
|
+
guests: [],
|
|
33
|
+
formatDate: '',
|
|
34
|
+
parsingDate: '',
|
|
35
|
+
visibility: true,
|
|
36
|
+
commentable: 'INHERIT',
|
|
37
|
+
animators: [],
|
|
38
|
+
tags: [],
|
|
39
|
+
importType: 'standard',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Podcast } from "./podcast";
|
|
2
|
+
export interface AudioView {
|
|
3
|
+
audioStorageUrl: string;
|
|
4
|
+
creationParam : Podcast;
|
|
5
|
+
logs: Array<string>;
|
|
6
|
+
sendSuccess: boolean;
|
|
7
|
+
publisherId:string;
|
|
8
|
+
creation: Date;
|
|
9
|
+
creationPod: string;
|
|
10
|
+
duration: number;
|
|
11
|
+
id: number;
|
|
12
|
+
immediate: boolean;
|
|
13
|
+
localUrl: string;
|
|
14
|
+
notifiedEmail: string;
|
|
15
|
+
originalName: string;
|
|
16
|
+
original: Int8Array;
|
|
17
|
+
size: number;
|
|
18
|
+
status: string;
|
|
19
|
+
tags: {[key:string]: string};
|
|
20
|
+
priority: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface CommentPodcast {
|
|
2
|
+
comId?: number;
|
|
3
|
+
content: string;
|
|
4
|
+
name: string;
|
|
5
|
+
organisationId?: string;
|
|
6
|
+
userId?: string;
|
|
7
|
+
podcastId?: number;
|
|
8
|
+
commentIdReferer?: number;
|
|
9
|
+
timeline?: number;
|
|
10
|
+
status?: string;
|
|
11
|
+
certified?: boolean;
|
|
12
|
+
phase?: string;
|
|
13
|
+
date?: string;
|
|
14
|
+
relatedComments?: number;
|
|
15
|
+
relatedValidComments?: number;
|
|
16
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AdserverConfig } from '
|
|
1
|
+
import { AdserverConfig } from '../adserver/adserverConfig';
|
|
2
2
|
import { Organisation } from './organisation';
|
|
3
|
-
import { Person } from '
|
|
3
|
+
import { Person } from '../user/person';
|
|
4
4
|
|
|
5
5
|
export interface Emission {
|
|
6
6
|
imageUrl?: string;
|