@saooti/octopus-sdk 30.0.2 → 30.0.6

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 (143) hide show
  1. package/README.md +6 -0
  2. package/index.ts +5 -2
  3. package/package.json +1 -1
  4. package/public/img/ouest_france_logo.svg +12 -0
  5. package/src/App.vue +4 -4
  6. package/src/api/comments.ts +1 -1
  7. package/src/assets/form.scss +0 -15
  8. package/src/assets/multiselect.scss +1 -1
  9. package/src/components/display/categories/CategoryChooser.vue +1 -1
  10. package/src/components/display/categories/CategoryFilter.vue +4 -4
  11. package/src/components/display/categories/CategoryList.vue +1 -1
  12. package/src/components/display/comments/CommentInput.vue +3 -3
  13. package/src/components/display/comments/CommentItem.vue +4 -4
  14. package/src/components/display/comments/CommentList.vue +4 -4
  15. package/src/components/display/comments/CommentParentInfo.vue +1 -1
  16. package/src/components/display/comments/CommentPlayer.vue +1 -1
  17. package/src/components/display/comments/CommentSection.vue +3 -3
  18. package/src/components/display/edit/EditBox.vue +1 -1
  19. package/src/components/display/edit/EditCommentBox.vue +1 -1
  20. package/src/components/display/emission/EmissionChooser.vue +2 -2
  21. package/src/components/display/emission/EmissionInlineList.vue +2 -2
  22. package/src/components/display/emission/EmissionItem.vue +1 -1
  23. package/src/components/display/emission/EmissionList.vue +3 -3
  24. package/src/components/display/emission/EmissionPlayerItem.vue +2 -2
  25. package/src/components/display/filter/AdvancedSearch.vue +1 -5
  26. package/src/components/display/filter/CategoryFilter.vue +1 -1
  27. package/src/components/display/filter/ProductorSearch.vue +1 -1
  28. package/src/components/display/filter/RubriqueChoice.vue +2 -2
  29. package/src/components/display/filter/RubriqueFilter.vue +2 -2
  30. package/src/components/display/live/LiveHorizontalList.vue +1 -1
  31. package/src/components/display/live/LiveItem.vue +2 -2
  32. package/src/components/display/live/LiveList.vue +1 -1
  33. package/src/components/display/organisation/OrganisationChooser.vue +1 -1
  34. package/src/components/display/organisation/OrganisationChooserLight.vue +1 -1
  35. package/src/components/display/participant/ParticipantItem.vue +1 -1
  36. package/src/components/display/participant/ParticipantList.vue +1 -1
  37. package/src/components/display/playlist/PlaylistItem.vue +1 -1
  38. package/src/components/display/playlist/PlaylistList.vue +1 -1
  39. package/src/components/display/playlist/PodcastList.vue +2 -2
  40. package/src/components/display/podcasts/AnimatorsItem.vue +1 -1
  41. package/src/components/display/podcasts/ParticipantDescription.vue +2 -2
  42. package/src/components/display/podcasts/PodcastFilterList.vue +2 -2
  43. package/src/components/display/podcasts/PodcastImage.vue +2 -2
  44. package/src/components/display/podcasts/PodcastInlineList.vue +2 -2
  45. package/src/components/display/podcasts/PodcastItem.vue +2 -2
  46. package/src/components/display/podcasts/PodcastList.vue +2 -2
  47. package/src/components/display/podcasts/PodcastModuleBox.vue +3 -7
  48. package/src/components/display/podcasts/TagList.vue +46 -35
  49. package/src/components/display/rubriques/RubriqueChooser.vue +1 -1
  50. package/src/components/display/rubriques/RubriqueList.vue +3 -3
  51. package/src/components/display/sharing/PlayerParameters.vue +7 -58
  52. package/src/components/display/sharing/ShareButtons.vue +4 -3
  53. package/src/components/display/sharing/ShareDistribution.vue +1 -1
  54. package/src/components/display/sharing/SharePlayer.vue +37 -72
  55. package/src/components/display/sharing/SharePlayerColors.vue +4 -49
  56. package/src/components/display/sharing/SharePlayerTypes.vue +12 -15
  57. package/src/components/display/sharing/SubscribeButtons.vue +1 -1
  58. package/src/components/misc/Footer.vue +2 -2
  59. package/src/components/misc/LeftMenu.vue +3 -3
  60. package/src/components/misc/Player.vue +2 -2
  61. package/src/components/misc/PlayerButtons.vue +2 -2
  62. package/src/components/misc/PlayerClockAndTimeline.vue +1 -1
  63. package/src/components/misc/PlayerProgressBar.vue +1 -1
  64. package/src/components/misc/Popover.vue +8 -3
  65. package/src/components/misc/TopBar.vue +2 -2
  66. package/src/components/misc/modal/ClipboardModal.vue +1 -1
  67. package/src/components/misc/modal/NewsletterModal.vue +2 -2
  68. package/src/components/misc/modal/QrCodeModal.vue +2 -2
  69. package/src/components/misc/modal/ShareModalPlayer.vue +1 -1
  70. package/src/components/mixins/init.ts +1 -1
  71. package/src/components/mixins/organisationFilter.ts +1 -1
  72. package/src/components/mixins/tagOfMixins.ts +19 -0
  73. package/src/components/pages/Category.vue +1 -1
  74. package/src/components/pages/Emission.vue +1 -1
  75. package/src/components/pages/Emissions.vue +2 -2
  76. package/src/components/pages/Home.vue +4 -4
  77. package/src/components/pages/Lives.vue +2 -2
  78. package/src/components/pages/Participant.vue +1 -1
  79. package/src/components/pages/Playlist.vue +1 -1
  80. package/src/components/pages/Podcast.vue +4 -4
  81. package/src/components/pages/Podcasts.vue +3 -3
  82. package/src/locale/en.ts +0 -1
  83. package/src/locale/fr.ts +0 -1
  84. package/src/store/class/{adserverConfig.ts → adserver/adserverConfig.ts} +0 -0
  85. package/src/store/class/adserver/adserverOtherEmission.ts +13 -0
  86. package/src/store/class/{adserverTiming.ts → adserver/adserverTiming.ts} +0 -0
  87. package/src/store/class/cartouchier/cartouche.ts +15 -0
  88. package/src/store/class/cartouchier/cartouchier.ts +9 -0
  89. package/src/store/class/conference/conference.ts +35 -0
  90. package/src/store/class/conference/conferenceMessage.ts +10 -0
  91. package/src/store/class/conference/conferenceParticipant.ts +18 -0
  92. package/src/store/class/conference/pad.ts +15 -0
  93. package/src/store/class/conference/studioCall.ts +7 -0
  94. package/src/store/class/contract/contract.ts +7 -0
  95. package/src/store/class/contract/contractOrganisation.ts +7 -0
  96. package/src/store/class/ftp/ftpEmission.ts +41 -0
  97. package/src/store/class/ftp/ftpParam.ts +12 -0
  98. package/src/store/class/ftp/testFtpEmission.ts +5 -0
  99. package/src/store/class/general/audioView.ts +21 -0
  100. package/src/store/class/{category.ts → general/category.ts} +1 -1
  101. package/src/store/class/general/comment.ts +16 -0
  102. package/src/store/class/general/customPlayer.ts +8 -0
  103. package/src/store/class/{emission.ts → general/emission.ts} +2 -2
  104. package/src/store/class/general/fetchParam.ts +33 -0
  105. package/src/store/class/general/initState.ts +25 -0
  106. package/src/store/class/general/ituneCategory.ts +5 -0
  107. package/src/store/class/general/media.ts +14 -0
  108. package/src/store/class/general/organisation.ts +19 -0
  109. package/src/store/class/general/pageable.ts +13 -0
  110. package/src/store/class/{participant.ts → general/participant.ts} +0 -0
  111. package/src/store/class/{player.ts → general/player.ts} +0 -0
  112. package/src/store/class/{playlist.ts → general/playlist.ts} +2 -2
  113. package/src/store/class/{podcast.ts → general/podcast.ts} +2 -1
  114. package/src/store/class/general/sortPageable.ts +5 -0
  115. package/src/store/class/general/soundcastCategory.ts +8 -0
  116. package/src/store/class/ouestFrance/ofTag.ts +36 -0
  117. package/src/store/class/ouestFrance/ofTagInfo.ts +9 -0
  118. package/src/store/class/ouestFrance/ofTagPage.ts +7 -0
  119. package/src/store/class/ouestFrance/ofTagSeo.ts +7 -0
  120. package/src/store/class/ouestFrance/ofTagVente.ts +6 -0
  121. package/src/store/class/ouestFrance/ofTagWithParents.ts +26 -0
  122. package/src/store/class/rss/aggregator.ts +28 -0
  123. package/src/store/class/rss/rssEmission.ts +14 -0
  124. package/src/store/class/rss/rssInfo.ts +8 -0
  125. package/src/store/class/{rubriquage.ts → rubrique/rubriquage.ts} +0 -0
  126. package/src/store/class/rubrique/rubriquageFilter.ts +6 -0
  127. package/src/store/class/rubrique/rubrique.ts +8 -0
  128. package/src/store/class/stat/statArrayIncome.ts +6 -0
  129. package/src/store/class/stat/statArrayObject.ts +34 -0
  130. package/src/store/class/stat/statGraph.ts +7 -0
  131. package/src/store/class/{person.ts → user/person.ts} +2 -2
  132. package/src/store/class/user/profile.ts +12 -0
  133. package/src/store/class/user/userKeycloak.ts +24 -0
  134. package/src/store/paramStore.ts +8 -12
  135. package/src/store/typeAppStore.ts +10 -10
  136. package/src/store/class/comment.ts +0 -16
  137. package/src/store/class/conference.ts +0 -31
  138. package/src/store/class/customPlayer.ts +0 -8
  139. package/src/store/class/fetchParam.ts +0 -33
  140. package/src/store/class/media.ts +0 -14
  141. package/src/store/class/organisation.ts +0 -19
  142. package/src/store/class/rubriquageFilter.ts +0 -6
  143. package/src/store/class/rubrique.ts +0 -9
@@ -17,15 +17,13 @@
17
17
  <option value="large">
18
18
  {{ $t('Large version') }}
19
19
  </option>
20
- <template v-if="isBeta">
21
- <option
22
- v-for="player in customPlayersDisplay"
23
- :key="player.customId"
24
- :value="player.customId"
25
- >
26
- {{ $t('Custom version') + " «" +player.name+"»" }}
27
- </option>
28
- </template>
20
+ <option
21
+ v-for="player in customPlayersDisplay"
22
+ :key="player.customId"
23
+ :value="player.customId"
24
+ >
25
+ {{ $t('Custom version') + " «" +player.name+"»" }}
26
+ </option>
29
27
  <option
30
28
  v-if="podcast && podcast.podcastId"
31
29
  value="emission"
@@ -36,7 +34,7 @@
36
34
  </option>
37
35
  <option
38
36
  v-if="podcast && podcast.podcastId"
39
- value="largeEmission"
37
+ value="emissionLarge"
40
38
  >
41
39
  {{ $t('Large emission version') }}
42
40
  </option>
@@ -51,18 +49,17 @@
51
49
  </template>
52
50
 
53
51
  <script lang="ts">
54
- import { Podcast } from '@/store/class/podcast';
55
- import { CustomPlayer } from '@/store/class/customPlayer';
52
+ import { Podcast } from '@/store/class/general/podcast';
53
+ import { CustomPlayer } from '@/store/class/general/customPlayer';
56
54
  import { defineComponent } from 'vue';
57
- import { Emission } from '@/store/class/emission';
58
- import { Playlist } from '@/store/class/playlist';
55
+ import { Emission } from '@/store/class/general/emission';
56
+ import { Playlist } from '@/store/class/general/playlist';
59
57
  export default defineComponent({
60
58
  props: {
61
59
  podcast: { default: undefined, type: Object as ()=> Podcast},
62
60
  emission: { default: undefined, type: Object as ()=> Emission},
63
61
  playlist: { default: undefined, type: Object as ()=> Playlist},
64
62
  customPlayers: { default: ()=>[], type: Array as ()=> Array<CustomPlayer>},
65
- isBeta: { default: false, type: Boolean},
66
63
  iFrameModel: { default: 'default', type: String},
67
64
  },
68
65
  emits:['update:iFrameModel'],
@@ -123,7 +123,7 @@
123
123
  </template>
124
124
 
125
125
  <script lang="ts">
126
- import { Emission } from '@/store/class/emission';
126
+ import { Emission } from '@/store/class/general/emission';
127
127
  import { defineComponent } from 'vue'
128
128
  export default defineComponent({
129
129
  props: {
@@ -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: props.triggers,
48
+ trigger: "hover focus",
50
49
  placement: props.placement,
51
50
  title: titleRef.value?.innerHTML || '',
52
51
  content: contentRef.value?.innerHTML || '',
@@ -105,4 +104,10 @@ export default defineComponent({
105
104
  }
106
105
 
107
106
  })
108
- </script>
107
+ </script>
108
+ <style lang="scss">
109
+ .popover{
110
+ max-height: 80vh;
111
+ overflow: auto;
112
+ }
113
+ </style>
@@ -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';
@@ -1,5 +1,5 @@
1
1
 
2
- import { Rubriquage } from "@/store/class/rubriquage";
2
+ import { Rubriquage } from "@/store/class/rubrique/rubriquage";
3
3
  import octopusApi from '@saooti/octopus-api';
4
4
  import { defineComponent } from 'vue'
5
5
  export const orgaFilter = defineComponent({
@@ -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',
@@ -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
+ }
@@ -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,9 @@
1
+ import { Cartouche } from "./cartouche";
2
+
3
+ export interface Cartouchier {
4
+ cartouchierId?: number;
5
+ title: string;
6
+ organisationId: string;
7
+ cartouches: {[key:string] : Cartouche};
8
+ cartoucheComplete?: {[key:string] : Cartouche};
9
+ }
@@ -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,10 @@
1
+ import { Conference } from './conference';
2
+
3
+ export interface ConferenceMessage {
4
+ conference?: Conference;
5
+ date: string;
6
+ message: string;
7
+ messageId?: number;
8
+ userId: string;
9
+ username: string;
10
+ }
@@ -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,7 @@
1
+ export interface StudioCall {
2
+ callId: string;
3
+ display: string;
4
+ muted: boolean;
5
+ number: string;
6
+ result: boolean;
7
+ }
@@ -0,0 +1,7 @@
1
+ export interface Contract {
2
+ contractName: string;
3
+ id: string;
4
+ updateDate: string;
5
+ validationDate: string;
6
+ contratType?: string;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { Contract } from "./contract";
2
+
3
+ export interface ContractOrganisation{
4
+ contractList: Array<Contract>;
5
+ enable: boolean;
6
+ valide: boolean;
7
+ }
@@ -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,12 @@
1
+ export interface FtpParam {
2
+ domain: string;
3
+ ftpProtocol: string;
4
+ id: number;
5
+ login: string;
6
+ organisationId: string;
7
+ secureFile: string;
8
+ port: number;
9
+ version: number;
10
+ name: string;
11
+ delay: number;
12
+ }
@@ -0,0 +1,5 @@
1
+ export interface TestFtpEmission {
2
+ validePodcast?: number,
3
+ tooLong?: number,
4
+ spoilPodcast?: number,
5
+ }