@saooti/octopus-sdk 36.0.2 → 36.0.4

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 (85) hide show
  1. package/package.json +1 -1
  2. package/public/css/fonts/icomoon.eot +0 -0
  3. package/public/css/fonts/icomoon.svg +21 -12
  4. package/public/css/fonts/icomoon.ttf +0 -0
  5. package/public/css/fonts/icomoon.woff +0 -0
  6. package/public/css/fonts/style.css +32 -5
  7. package/public/img/header-emissions.webp +0 -0
  8. package/public/img/header-home.webp +0 -0
  9. package/public/img/header-intervenants.webp +0 -0
  10. package/public/img/header-playlists.webp +0 -0
  11. package/public/img/header-podcasts.webp +0 -0
  12. package/src/assets/bootstrap.scss +26 -12
  13. package/src/assets/form.scss +2 -2
  14. package/src/assets/general.scss +16 -26
  15. package/src/assets/live.scss +0 -18
  16. package/src/assets/multiselect.scss +15 -25
  17. package/src/assets/share.scss +47 -12
  18. package/src/components/display/categories/CategoryChooser.vue +1 -1
  19. package/src/components/display/categories/CategoryFilter.vue +109 -62
  20. package/src/components/display/categories/CategoryList.vue +9 -20
  21. package/src/components/display/emission/EmissionChooser.vue +1 -1
  22. package/src/components/display/emission/EmissionInlineList.vue +1 -1
  23. package/src/components/display/emission/EmissionItem.vue +5 -5
  24. package/src/components/display/emission/EmissionPlayerItem.vue +15 -11
  25. package/src/components/display/filter/MonetizableFilter.vue +1 -1
  26. package/src/components/display/filter/ProductorSearch.vue +1 -1
  27. package/src/components/display/filter/RubriqueChoice.vue +1 -1
  28. package/src/components/display/list/ListPaginate.vue +14 -25
  29. package/src/components/display/list/Paginate.vue +71 -104
  30. package/src/components/display/list/PaginateParams.vue +66 -0
  31. package/src/components/display/live/CountDown.vue +1 -1
  32. package/src/components/display/live/LiveItem.vue +0 -7
  33. package/src/components/display/organisation/OrganisationChooser.vue +1 -1
  34. package/src/components/display/participant/ParticipantItem.vue +6 -12
  35. package/src/components/display/participant/ParticipantList.vue +2 -24
  36. package/src/components/display/playlist/PlaylistItem.vue +10 -10
  37. package/src/components/display/podcasts/AnimatorsItem.vue +1 -2
  38. package/src/components/display/podcasts/ParticipantDescription.vue +0 -30
  39. package/src/components/display/podcasts/PodcastFilterList.vue +1 -1
  40. package/src/components/display/podcasts/PodcastImage.vue +19 -13
  41. package/src/components/display/podcasts/PodcastInlineListClassic.vue +1 -1
  42. package/src/components/display/podcasts/PodcastInlineListTemplate.vue +14 -12
  43. package/src/components/display/podcasts/PodcastItem.vue +15 -9
  44. package/src/components/display/podcasts/PodcastItemInfo.vue +18 -55
  45. package/src/components/display/podcasts/PodcastModuleBox.vue +54 -26
  46. package/src/components/display/podcasts/PodcastSwiperList.vue +20 -10
  47. package/src/components/display/podcasts/TagList.vue +7 -2
  48. package/src/components/display/rubriques/RubriqueChooser.vue +2 -2
  49. package/src/components/display/rubriques/RubriqueList.vue +11 -19
  50. package/src/components/display/sharing/PlayerParameters.vue +59 -75
  51. package/src/components/display/sharing/ShareButtons.vue +20 -37
  52. package/src/components/display/sharing/ShareButtonsIntern.vue +74 -83
  53. package/src/components/display/sharing/ShareDistribution.vue +3 -2
  54. package/src/components/display/sharing/SharePlayer.vue +50 -50
  55. package/src/components/display/sharing/SharePlayerColors.vue +4 -4
  56. package/src/components/display/sharing/SharePlayerTypes.vue +25 -27
  57. package/src/components/display/sharing/SubscribeButtons.vue +2 -2
  58. package/src/components/form/ClassicCheckbox.vue +1 -1
  59. package/src/components/form/ClassicSearch.vue +2 -1
  60. package/src/components/misc/Footer.vue +19 -15
  61. package/src/components/misc/HomeDropdown.vue +14 -14
  62. package/src/components/misc/Popover.vue +2 -1
  63. package/src/components/misc/ProgressBar.vue +1 -1
  64. package/src/components/misc/TopBar.vue +54 -44
  65. package/src/components/misc/modal/ClassicModal.vue +2 -2
  66. package/src/components/misc/modal/NewsletterModal.vue +0 -1
  67. package/src/components/misc/player/Player.vue +5 -14
  68. package/src/components/misc/player/PlayerCompact.vue +2 -1
  69. package/src/components/pages/Emission.vue +64 -62
  70. package/src/components/pages/Emissions.vue +0 -9
  71. package/src/components/pages/Participant.vue +13 -15
  72. package/src/components/pages/Participants.vue +0 -7
  73. package/src/components/pages/Playlist.vue +43 -37
  74. package/src/components/pages/Playlists.vue +0 -5
  75. package/src/components/pages/Podcast.vue +65 -100
  76. package/src/components/pages/Podcasts.vue +1 -37
  77. package/src/locale/de.ts +6 -1
  78. package/src/locale/en.ts +6 -1
  79. package/src/locale/es.ts +6 -1
  80. package/src/locale/fr.ts +6 -1
  81. package/src/locale/it.ts +6 -1
  82. package/src/locale/sl.ts +6 -1
  83. package/src/sass/_variables.scss +6 -1
  84. package/src/stores/ParamSdkStore.ts +14 -22
  85. package/src/stores/PlayerStore.ts +11 -0
@@ -1,88 +1,66 @@
1
1
  <template>
2
2
  <div class="page-box">
3
3
  <template v-if="loaded && !error">
4
- <div class="page-podcast-title">
5
- <h1>{{ titlePage }}</h1>
6
- <Countdown
7
- v-if="isCounter"
8
- :time-remaining="timeRemaining"
9
- />
10
- </div>
11
- <div class="d-flex page-podcast">
12
- <div class="d-flex flex-column flex-super-grow">
13
- <RecordingItemButton
14
- v-if="
15
- !!fetchConference &&
16
- isLiveReadyToRecord &&
17
- !isNotRecorded &&
18
- isOctopusAndAnimator
19
- "
20
- class="module-box text-center-mobile flex-grow-0"
21
- :podcast="podcast"
22
- :live="true"
23
- :recording="fetchConference"
24
- @deleteItem="removeDeleted"
25
- @validatePodcast="updatePodcast"
26
- />
27
- <EditBox
28
- v-else-if="editRight && pageParameters.isEditBox"
29
- :podcast="podcast"
30
- @validatePodcast="updatePodcast"
31
- />
32
- <PodcastModuleBox
33
- :playing-podcast="playingPodcast"
34
- :podcast="podcast"
35
- :fetch-conference="fetchConference"
36
- />
37
- <SubscribeButtons
38
- v-if="pageParameters.isShareButtons && countLink >= 1"
39
- :emission="podcast.emission"
40
- />
41
- </div>
42
- <div
43
- class="d-flex flex-column flex-grow-mobile"
44
- >
45
- <SharePlayer
46
- v-if="pageParameters.isSharePlayer && (authenticated || notExclusive)"
47
- :podcast="podcast"
48
- :emission="podcast.emission"
49
- :exclusive="exclusive"
50
- :not-exclusive="notExclusive"
51
- :organisation-id="myOrganisationId"
52
- :is-education="isEducation"
53
- />
54
- <ShareButtons
55
- v-if="pageParameters.isShareButtons"
56
- :podcast="podcast"
57
- :is-vertical="!authenticated && !notExclusive"
4
+ <div class="page-element-title-container">
5
+ <div class="page-element-title">
6
+ <h1>{{ titlePage }}</h1>
7
+ <Countdown
8
+ v-if="isCounter"
9
+ :time-remaining="timeRemaining"
58
10
  />
59
11
  </div>
12
+ <div class="page-element-bg" :style="backgroundDisplay"></div>
13
+ </div>
14
+ <div class="d-flex flex-column page-element">
15
+ <PodcastModuleBox
16
+ :playing-podcast="playingPodcast"
17
+ :podcast="podcast"
18
+ :fetch-conference="fetchConference"
19
+ @updatePodcast="updatePodcast"
20
+ />
21
+ <SharePlayer
22
+ v-if="pageParameters.isSharePlayer && (authenticated || notExclusive)"
23
+ :podcast="podcast"
24
+ :emission="podcast.emission"
25
+ :exclusive="exclusive"
26
+ :not-exclusive="notExclusive"
27
+ :organisation-id="myOrganisationId"
28
+ :is-education="isEducation"
29
+ />
30
+ <ShareButtons
31
+ v-if="pageParameters.isShareButtons"
32
+ :podcast="podcast"
33
+ />
34
+ <SubscribeButtons
35
+ v-if="pageParameters.isShareButtons && countLink >= 1"
36
+ :emission="podcast.emission"
37
+ />
38
+ <CommentSection
39
+ v-if="!isPodcastmaker"
40
+ ref="commentSection"
41
+ :podcast="podcast"
42
+ :fetch-conference="fetchConference"
43
+ />
44
+ <PodcastInlineList
45
+ class="mt-4"
46
+ :emission-id="podcast.emission.emissionId"
47
+ :href="'/main/pub/emission/' + podcast.emission.emissionId"
48
+ :title="$t('More episodes of this emission')"
49
+ :button-text="$t('All podcast emission button')"
50
+ />
51
+ <PodcastInlineList
52
+ :podcast-id="podcastId"
53
+ :title="$t('Suggested listening')"
54
+ />
55
+ <PodcastInlineList
56
+ v-for="c in categories"
57
+ :key="c.id"
58
+ :iab-id="c.id"
59
+ :href="'/main/pub/category/' + c.id"
60
+ :title="$t('More episodes of this category : ', { name: c.name })"
61
+ :button-text="$t('All podcast button', { name: c.name })"
62
+ />
60
63
  </div>
61
- <CommentSection
62
- v-if="!isPodcastmaker"
63
- ref="commentSection"
64
- :podcast="podcast"
65
- :fetch-conference="fetchConference"
66
- />
67
- <PodcastInlineList
68
- class="mt-4"
69
- :emission-id="podcast.emission.emissionId"
70
- :href="'/main/pub/emission/' + podcast.emission.emissionId"
71
- :title="$t('More episodes of this emission')"
72
- :button-text="$t('All podcast emission button')"
73
- />
74
- <PodcastInlineList
75
- :podcast-id="podcastId"
76
- :title="$t('Suggested listening')"
77
- />
78
- <PodcastInlineList
79
- v-for="c in categories"
80
- :key="c.id"
81
- :iab-id="c.id"
82
- :href="'/main/pub/category/' + c.id"
83
- :title="$t('More episodes of this category : ', { name: c.name })"
84
- :button-text="$t('All podcast button', { name: c.name })"
85
- />
86
64
  </template>
87
65
  <ClassicLoading
88
66
  :loading-text="!loaded?$t('Loading content ...'):undefined"
@@ -104,7 +82,6 @@ import { Podcast } from '@/stores/class/general/podcast';
104
82
  import { Conference } from '@/stores/class/conference/conference';
105
83
  import { handle403 } from '../mixins/handle403';
106
84
  import { defineComponent, defineAsyncComponent } from 'vue';
107
- import CommentSectionVue from '../display/comments/CommentSection.vue';
108
85
  import { CommentPodcast } from '@/stores/class/general/comment';
109
86
  import { Category } from '@/stores/class/general/category';
110
87
  import { useGeneralStore } from '@/stores/GeneralStore';
@@ -112,9 +89,7 @@ import { mapState } from 'pinia';
112
89
  import { AxiosError } from 'axios';
113
90
  const ShareButtons = defineAsyncComponent(() => import('../display/sharing/ShareButtons.vue'));
114
91
  const SharePlayer = defineAsyncComponent(() => import('../display/sharing/SharePlayer.vue'));
115
- const EditBox = defineAsyncComponent(() => import('@/components/display/edit/EditBox.vue'));
116
92
  const SubscribeButtons = defineAsyncComponent(() => import('../display/sharing/SubscribeButtons.vue'));
117
- const RecordingItemButton = defineAsyncComponent(() => import('@/components/display/studio/RecordingItemButton.vue'));
118
93
  const Countdown = defineAsyncComponent(() => import('../display/live/CountDown.vue'));
119
94
  const CommentSection = defineAsyncComponent(() => import('../display/comments/CommentSection.vue'));
120
95
  export default defineComponent({
@@ -123,9 +98,7 @@ export default defineComponent({
123
98
  PodcastInlineList,
124
99
  ShareButtons,
125
100
  SharePlayer,
126
- EditBox,
127
101
  SubscribeButtons,
128
- RecordingItemButton,
129
102
  Countdown,
130
103
  CommentSection,
131
104
  PodcastModuleBox,
@@ -156,12 +129,17 @@ export default defineComponent({
156
129
 
157
130
  computed: {
158
131
  ...mapState(useGeneralStore, ['storedCategories']),
132
+ backgroundDisplay():string{
133
+ if(!this.podcast){
134
+ return "";
135
+ }
136
+ return `background-image: url('${this.podcast.imageUrl}');`;
137
+ },
159
138
  isPodcastmaker(): boolean {
160
139
  return (state.generalParameters.podcastmaker as boolean);
161
140
  },
162
141
  pageParameters(){
163
142
  return {
164
- isEditBox : (state.podcastPage.EditBox as boolean),
165
143
  isShareButtons: (state.podcastPage.ShareButtons as boolean),
166
144
  isSharePlayer: (state.podcastPage.SharePlayer as boolean),
167
145
  };
@@ -212,13 +190,6 @@ export default defineComponent({
212
190
  'PENDING' === this.fetchConference.status)
213
191
  );
214
192
  },
215
- isNotRecorded(): boolean {
216
- return (
217
- this.isLiveReadyToRecord &&
218
- undefined!==this.fetchConference &&
219
- 'DEBRIEFING' === this.fetchConference.status
220
- );
221
- },
222
193
  isOctopusAndAnimator(): boolean {
223
194
  return (
224
195
  !this.isPodcastmaker &&
@@ -317,15 +288,9 @@ export default defineComponent({
317
288
  this.initError();
318
289
  }
319
290
  },
320
- removeDeleted(): void {
321
- if (window.history.length > 1) {
322
- this.$router.go(-1);
323
- } else {
324
- this.$router.push('/');
325
- }
326
- },
291
+
327
292
  receiveCommentEvent(event:{type: string; comment: CommentPodcast; oldStatus?:string } ): void {
328
- (this.$refs.commentSection as InstanceType<typeof CommentSectionVue>).receiveCommentEvent(event);
293
+ (this.$refs.commentSection as InstanceType<typeof CommentSection>).receiveCommentEvent(event);
329
294
  },
330
295
  },
331
296
  })
@@ -1,24 +1,6 @@
1
1
  <template>
2
2
  <div class="page-box">
3
- <div
4
- class="d-flex"
5
- :class="
6
- pageParameters.isEmissionChooser ? 'justify-content-between' : 'justify-content-center'
7
- "
8
- >
9
- <h1 class="flex-shrink-0">
10
- {{ titleDisplay }}
11
- </h1>
12
- <EmissionChooser
13
- v-if="pageParameters.isEmissionChooser"
14
- :defaultanswer="$t('No emission filter')"
15
- width="auto"
16
- class="ms-3"
17
- @selected="emissionSelected"
18
- />
19
- </div>
20
3
  <ProductorSearch
21
- v-if="pageParameters.isProductorSearch"
22
4
  v-model:organisation-id="organisationId"
23
5
  v-model:search-pattern="searchPattern"
24
6
  />
@@ -26,7 +8,6 @@
26
8
  :is-education="isEducation"
27
9
  :is-emission="false"
28
10
  :reset-rubriquage="resetRubriquage"
29
- :is-search-bar="pageParameters.isProductorSearch"
30
11
  :sort-criteria="sortCriteria"
31
12
  :include-hidden="includeHidden"
32
13
  :organisation-id="organisationId"
@@ -46,7 +27,6 @@
46
27
  :organisation-id="organisationId"
47
28
  :query="searchPattern"
48
29
  :monetization="monetization"
49
- :emission-id="emissionId"
50
30
  :before="toDate"
51
31
  :after="fromDate"
52
32
  :sort-criteria="sortCriteria"
@@ -66,18 +46,15 @@ import PodcastList from '../display/podcasts/PodcastList.vue';
66
46
  import { state } from '../../stores/ParamSdkStore';
67
47
  import ProductorSearch from '../display/filter/ProductorSearch.vue';
68
48
  import AdvancedSearch from '../display/filter/AdvancedSearch.vue';
69
- import { Emission } from '@/stores/class/general/emission';
70
49
  import { RubriquageFilter } from '@/stores/class/rubrique/rubriquageFilter';
71
50
  import { useFilterStore } from '@/stores/FilterStore';
72
51
  import { mapState } from 'pinia';
73
- import { defineComponent, defineAsyncComponent } from 'vue';
74
- const EmissionChooser = defineAsyncComponent(() => import('../display/emission/EmissionChooser.vue'));
52
+ import { defineComponent } from 'vue';
75
53
  export default defineComponent({
76
54
  name:"Podcasts",
77
55
  components: {
78
56
  PodcastList,
79
57
  ProductorSearch,
80
- EmissionChooser,
81
58
  AdvancedSearch,
82
59
  },
83
60
  mixins:[orgaComputed],
@@ -92,7 +69,6 @@ export default defineComponent({
92
69
  searchPattern: '' as string,
93
70
  organisationId: undefined as string|undefined,
94
71
  monetization: 'UNDEFINED' as string, // UNDEFINED, YES, NO
95
- emissionId: undefined as number|undefined,
96
72
  fromDate: undefined as string|undefined,
97
73
  toDate: undefined as string|undefined,
98
74
  resetRubriquage: false as boolean,
@@ -108,9 +84,6 @@ export default defineComponent({
108
84
 
109
85
  computed: {
110
86
  ...mapState(useFilterStore, ['filterRubrique', 'filterIab']),
111
- titleDisplay(): string{
112
- return state.podcastsPage.titlePage ?? this.$t('All podcasts');
113
- },
114
87
  organisationRight(): boolean {
115
88
  return (true===this.authenticated && this.myOrganisationId === this.organisationId) ||
116
89
  true===state.generalParameters.isAdmin;
@@ -118,12 +91,6 @@ export default defineComponent({
118
91
  organisation(): string|undefined {
119
92
  return this.organisationId ?this.organisationId: this.filterOrgaId;
120
93
  },
121
- pageParameters(){
122
- return {
123
- isProductorSearch: state.podcastsPage.ProductorSearch,
124
- isEmissionChooser: state.podcastsPage.emissionChooser
125
- }
126
- }
127
94
  },
128
95
  watch:{
129
96
  organisationId(): void {
@@ -171,9 +138,6 @@ export default defineComponent({
171
138
  this.rubriqueId = rubriqueId;
172
139
  this.noRubriquageId = noRubriquageId;
173
140
  },
174
- emissionSelected(emission: Emission): void {
175
- this.emissionId = emission && emission.emissionId ? emission.emissionId : undefined;
176
- },
177
141
  },
178
142
  })
179
143
  </script>
package/src/locale/de.ts CHANGED
@@ -287,7 +287,7 @@ export default{
287
287
  'Refresh': "Aktualisieren",
288
288
  'See associated article':"Artikel lesen",
289
289
  "Display associated article":"Zugehörigen Artikel anzeigen",
290
- "Copy this page URL":"URL dieser Seite kopieren",
290
+ "Copy this page URL":"Link kopieren",
291
291
  "Custom version":"Benutzerdefiniert",
292
292
  "All":"Alle",
293
293
  'By category': "Nach IAB-Kategorie",
@@ -311,4 +311,9 @@ export default{
311
311
  "Audio credits":"Audio-Credits",
312
312
  "View transcript":"Transkript ansehen",
313
313
  "Suggested listening":"Anhören empfohlen",
314
+ "More":"Mehr",
315
+ "Social networks":"Soziale Netzwerke",
316
+ "Newsletter":"Newsletter",
317
+ "QR Code":"QR-Code",
318
+ "Rss feed": "RSS-Feed",
314
319
  }
package/src/locale/en.ts CHANGED
@@ -287,7 +287,7 @@ export default{
287
287
  'Refresh': 'Refresh',
288
288
  'See associated article':"Read the article",
289
289
  "Display associated article":"Display associated article",
290
- "Copy this page URL":"Copy this page URL",
290
+ "Copy this page URL":"Copy link",
291
291
  "Custom version":"Custom version",
292
292
  "All":"All",
293
293
  'By category': 'By IAB category',
@@ -318,4 +318,9 @@ export default{
318
318
  "Audio credits":"Audio credits",
319
319
  "View transcript":"View transcript",
320
320
  "Suggested listening":"Suggested listening",
321
+ "More":"More",
322
+ "Social networks":"Social networks",
323
+ "Newsletter":"Newsletter",
324
+ "QR Code":"QR Code",
325
+ "Rss feed": "Rss feed",
321
326
  };
package/src/locale/es.ts CHANGED
@@ -287,7 +287,7 @@ export default{
287
287
  'Refresh': 'Volver a cargar',
288
288
  'See associated article':"Leer el artículo",
289
289
  "Display associated article":"Mostrar el artículo asociado",
290
- "Copy this page URL":"Copiar la URL de esta página",
290
+ "Copy this page URL":"Copiar link",
291
291
  "Custom version":"Versión personalizada",
292
292
  "All":"Todos",
293
293
  'By category': 'Por categoría IAB',
@@ -311,4 +311,9 @@ export default{
311
311
  "Audio credits":"Créditos de audio",
312
312
  "View transcript":"Ver transcripción",
313
313
  "Suggested listening":"Escucha sugerida",
314
+ "More":"Más",
315
+ "Social networks":"Redes sociales",
316
+ "Newsletter":"Newsletter",
317
+ "QR Code":"Código QR",
318
+ "Rss feed": "RSS Feed",
314
319
  }
package/src/locale/fr.ts CHANGED
@@ -287,7 +287,7 @@ export default{
287
287
  'Refresh': 'Rafraichir',
288
288
  'See associated article':"Lire l'article",
289
289
  "Display associated article":"Afficher l'article associé",
290
- "Copy this page URL":"Copier l'adresse de cette page",
290
+ "Copy this page URL":"Copier le lien",
291
291
  "Custom version":"Version customisée",
292
292
  "All":"Tous",
293
293
  'By category': 'Selon la catégorie IAB',
@@ -318,4 +318,9 @@ export default{
318
318
  "Audio credits":"Crédits audio",
319
319
  "View transcript":"Afficher la transcription",
320
320
  "Suggested listening":"Suggestion d'écoute",
321
+ "More":"Plus",
322
+ "Social networks":"Réseaux sociaux",
323
+ "Newsletter":"Newsletter",
324
+ "QR Code":"QR Code",
325
+ "Rss feed": "Flux RSS",
321
326
  };
package/src/locale/it.ts CHANGED
@@ -282,7 +282,7 @@ export default{
282
282
  'Refresh': 'Aggiorna',
283
283
  'See associated article':"Leggi l'articolo",
284
284
  "Display associated article":"Mostra articolo associato",
285
- "Copy this page URL":"Copia la URL di questa pagina",
285
+ "Copy this page URL":"Copia link",
286
286
  "Custom version":"Versione customizzata",
287
287
  "All":"Tutto",
288
288
  'By category': 'Per categoria',
@@ -308,4 +308,9 @@ export default{
308
308
  "Audio credits":"Crediti audio",
309
309
  "View transcript":"Visualizza trascrizione",
310
310
  "Suggested listening":"Ascolto suggerito",
311
+ "More":"Di più",
312
+ "Social networks":"Social networks",
313
+ "Newsletter":"Newsletter",
314
+ "QR Code":"QR Code",
315
+ "Rss feed": "RSS Feed",
311
316
  };
package/src/locale/sl.ts CHANGED
@@ -287,7 +287,7 @@ export default{
287
287
  'Refresh': 'Osveži',
288
288
  'See associated article':"Read the article",
289
289
  "Display associated article": "Prikaži povezan vir",
290
- "Copy this page URL": "Kopiraj URL te strani",
290
+ "Copy this page URL": "Kopiraj povezavo",
291
291
  "Custom version": "Prilagojena različica",
292
292
  "All":"Vse",
293
293
  'By category': 'Po kategoriji IAB',
@@ -311,4 +311,9 @@ export default{
311
311
  "Audio credits":"Avdio krediti",
312
312
  "View transcript":"Ogled prepisa",
313
313
  "Suggested listening":"Predlagano poslušanje",
314
+ "More":"Več",
315
+ "Social networks":"Socialna omrežja",
316
+ "Newsletter":"Newsletter",
317
+ "QR Code":"koda QR",
318
+ "Rss feed": "Rss vir",
314
319
  }
@@ -3,6 +3,10 @@ $font-family-sans-serif: sans-serif;
3
3
  $font-size-base: 0.9rem;
4
4
  $line-height-base: 1.6;
5
5
 
6
+ $octopus-item-size: 16.5rem !default;
7
+ $octopus-mobile-item-size: 12.5rem !default;
8
+ $octopus-borderradius: 0.2rem !default;
9
+
6
10
  // bootstrap color
7
11
  $primary: #1a8658 !default;
8
12
  $secondary: #636C73 !default;
@@ -11,10 +15,11 @@ $danger: #E22C27 !default;
11
15
  $blue-octopus: #08667E !default;
12
16
 
13
17
  //SDK Octopus style
14
- $octopus-background: #fafafa !default;
18
+ $octopus-background: white !default;
15
19
  $octopus-primary-color: #1a8658 !default;
16
20
  $octopus-secondary-color : #ddd !default;
17
21
 
18
22
  $primaryColorTransparent : #1a865893 !default;
23
+ $primaryColorLessTransparent : #1a8657d0 !default;
19
24
  $primaryColorMoreTransparent : #1a865854 !default;
20
25
  $primaryColorReallyTransparent : #cef7e250 !default;
@@ -11,14 +11,14 @@ const state:ParamStore = {
11
11
  isOrganisation: false,
12
12
  isPlaylist: false,
13
13
  isProduction: false,
14
- isContribution: false,
15
- ApiUri: 'https://api.dev2.saooti.org/',
14
+ isContribution: true,
15
+ ApiUri: 'https://api.staging.saooti.org/',
16
16
  podcastmaker: false,
17
17
  buttonPlus: true,
18
18
  allCategories: [],
19
19
  isLiveTab: false,
20
20
  isCaptchaTest: true,
21
- podcastItem:13,
21
+ podcastItem:16.5,
22
22
  isInlineAnimation:true,
23
23
  },
24
24
  podcastPage: {
@@ -26,23 +26,19 @@ const state:ParamStore = {
26
26
  SharePlayer: true,
27
27
  ShareButtons: true,
28
28
  ShareDistribution: true,
29
- MiniplayerUri: 'https://playerbeta.dev2.saooti.org/',
30
- downloadButton: false,
31
- hlsUri: 'https://hls.dev2.saooti.org/',
29
+ MiniplayerUri: 'https://playerbeta.staging.saooti.org/',
30
+ hlsUri: 'https://hls.staging.saooti.org/',
32
31
  mainRubrique: 0,
33
32
  resourceUrl: undefined,
34
33
  podcastItemShowEmission: false,
35
34
  clickPlayGoPage:false,
36
- listTypeClassic: true,
35
+ listTypeClassic: false,
37
36
  podcastItemDescription:true
38
37
  },
39
38
  podcastsPage: {
40
- ProductorSearch: true,
41
39
  MonetizableFilter: true,
42
- podcastShadow: true,
43
40
  podcastBorderBottom: false,
44
- titlePage: undefined,
45
- emissionChooser: false,
41
+ titlePage: undefined
46
42
  },
47
43
  emissionsPage: {
48
44
  smallItems: false,
@@ -83,13 +79,13 @@ const state:ParamStore = {
83
79
  userName: '',
84
80
  },
85
81
  octopusApi: {
86
- url: 'https://api.dev2.saooti.org/',
87
- commentsUrl: 'https://comments.dev2.saooti.org/',
88
- imageUrl:'https://imageproxy.dev2.saooti.org/',
89
- studioUrl: 'https://studio.dev2.saooti.org/',
90
- playerUrl: 'https://playerbeta.dev2.saooti.org/',
91
- speechToTextUrl:'https://speech2text.dev2.saooti.org/',
92
- recoUrl: 'https://reco.dev2.saooti.org/',
82
+ url: 'https://api.staging.saooti.org/',
83
+ commentsUrl: 'https://comments.staging.saooti.org/',
84
+ imageUrl:'https://imageproxy.staging.saooti.org/',
85
+ studioUrl: 'https://studio.staging.saooti.org/',
86
+ playerUrl: 'https://playerbeta.staging.saooti.org/',
87
+ speechToTextUrl:'https://speech2text.staging.saooti.org/',
88
+ recoUrl: 'https://reco.staging.saooti.org/',
93
89
  organisationId: undefined,
94
90
  rubriqueIdFilter: undefined,
95
91
  },
@@ -120,7 +116,6 @@ export interface PodcastPage{
120
116
  ShareButtons?: boolean,
121
117
  ShareDistribution?: boolean,
122
118
  MiniplayerUri?: string,
123
- downloadButton?: boolean,
124
119
  hlsUri?: string,
125
120
  mainRubrique?: number,
126
121
  resourceUrl?: string,
@@ -130,12 +125,9 @@ export interface PodcastPage{
130
125
  podcastItemDescription?:boolean,
131
126
  }
132
127
  export interface PodcastsPage{
133
- ProductorSearch?: boolean,
134
128
  MonetizableFilter?: boolean,
135
- podcastShadow?: boolean,
136
129
  podcastBorderBottom?: boolean,
137
130
  titlePage?: string,
138
- emissionChooser?: boolean,
139
131
  }
140
132
  export interface EmissionsPage{
141
133
  smallItems?: boolean,
@@ -20,6 +20,7 @@ interface PlayerState{
20
20
  playerStop?: boolean;
21
21
  playerSeekTime?: number;
22
22
  playerTranscript?:Transcript;
23
+ playerLargeVersion: boolean;
23
24
  }
24
25
  export const usePlayerStore = defineStore('PlayerStore', {
25
26
  state: (): PlayerState => ({
@@ -32,8 +33,15 @@ export const usePlayerStore = defineStore('PlayerStore', {
32
33
  playerLive: undefined,
33
34
  playerRadio: undefined,
34
35
  playerSeekTime:0,
36
+ playerLargeVersion: false
35
37
  }),
36
38
  getters: {
39
+ playerHeight() {
40
+ if ('STOPPED' === this.playerStatus) return 0;
41
+ if (this.playerLargeVersion) return '27rem';
42
+ if (window.innerWidth > 450) return '5rem';
43
+ return '3.5rem';
44
+ },
37
45
  playedTime(): string{
38
46
  if (this.playerElapsed && this.playerElapsed > 0 && this.playerTotal && this.playerTotal > 0) {
39
47
  return DurationHelper.formatDuration(
@@ -130,5 +138,8 @@ export const usePlayerStore = defineStore('PlayerStore', {
130
138
  playerUpdateTranscript(transcript?:Transcript) {
131
139
  this.playerTranscript = transcript;
132
140
  },
141
+ playerUpdateLargeVersion(largeVersion: boolean){
142
+ this.playerLargeVersion = largeVersion;
143
+ }
133
144
  }
134
145
  })