@saooti/octopus-sdk 31.0.22 → 31.0.25

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 (38) hide show
  1. package/README.md +3 -0
  2. package/package.json +1 -1
  3. package/src/assets/live.scss +13 -13
  4. package/src/assets/multiselect.scss +1 -1
  5. package/src/components/display/categories/CategoryChooser.vue +1 -0
  6. package/src/components/display/categories/CategoryList.vue +4 -4
  7. package/src/components/display/comments/CommentBasicView.vue +1 -0
  8. package/src/components/display/emission/EmissionChooser.vue +1 -0
  9. package/src/components/display/emission/EmissionItem.vue +5 -8
  10. package/src/components/display/emission/EmissionPlayerItem.vue +9 -16
  11. package/src/components/display/filter/ProductorSearch.vue +2 -0
  12. package/src/components/display/live/LiveItem.vue +4 -8
  13. package/src/components/display/organisation/OrganisationChooser.vue +1 -0
  14. package/src/components/display/participant/ParticipantItem.vue +5 -8
  15. package/src/components/display/playlist/PlaylistItem.vue +5 -8
  16. package/src/components/display/podcasts/ParticipantDescription.vue +1 -0
  17. package/src/components/display/podcasts/PodcastImage.vue +1 -0
  18. package/src/components/display/podcasts/PodcastItem.vue +5 -9
  19. package/src/components/display/podcasts/TagList.vue +2 -0
  20. package/src/components/display/rubriques/RubriqueChooser.vue +1 -0
  21. package/src/components/display/rubriques/RubriqueList.vue +6 -5
  22. package/src/components/display/sharing/QrCode.vue +24 -4
  23. package/src/components/display/sharing/ShareButtons.vue +1 -0
  24. package/src/components/display/sharing/SharePlayer.vue +1 -1
  25. package/src/components/form/ClassicCheckbox.vue +6 -1
  26. package/src/components/form/ClassicLoading.vue +2 -2
  27. package/src/components/form/ClassicRadio.vue +6 -1
  28. package/src/components/misc/ErrorMessage.vue +1 -0
  29. package/src/components/misc/Footer.vue +2 -1
  30. package/src/components/mixins/player/playerLogic.ts +1 -1
  31. package/src/components/pages/Participant.vue +1 -0
  32. package/src/locale/de.ts +1 -0
  33. package/src/locale/en.ts +1 -0
  34. package/src/locale/es.ts +1 -0
  35. package/src/locale/fr.ts +1 -0
  36. package/src/locale/it.ts +1 -0
  37. package/src/locale/sl.ts +1 -0
  38. package/src/sass/_variables.scss +2 -0
package/README.md CHANGED
@@ -598,3 +598,6 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
598
598
  * 31.0.20 Player mobile
599
599
  * 31.0.21 Player mobile
600
600
  * 31.0.22 Merge 30
601
+ * 31.0.23 Qr Code option noir
602
+ * 31.0.24 Amélioration accessibilité
603
+ * 31.0.25 Erreur audioUrl
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "31.0.22",
3
+ "version": "31.0.25",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -1,39 +1,39 @@
1
1
  .planned-bg {
2
- background: #f09653;
2
+ background: rgb(188, 88, 16);
3
3
  }
4
4
  .pending-bg {
5
- background: #f1643e;
5
+ background: rgb(216, 58, 14);
6
6
  }
7
7
  .recording-bg {
8
- background: #f34a4a;
8
+ background: rgb(233, 12, 12);
9
9
  }
10
10
  .error-bg {
11
- background: #ff0000;
11
+ background: rgb(173, 0, 0);
12
12
  }
13
13
  .debriefing-bg {
14
- background: #6ec66e;
14
+ background: rgb(54, 134, 54);
15
15
  }
16
16
  .done-bg {
17
- background: #679fe9;
17
+ background: rgb(42, 117, 218);
18
18
  }
19
19
  .publishing-bg {
20
- background: #7d7d7d;
20
+ background: rgb(112, 112, 112);
21
21
  }
22
22
  .planned-shadow {
23
- box-shadow: 0px 12px 48px 6px rgba(240, 151, 83, 0.2);
23
+ box-shadow: 0px 12px 48px 6px rgba(188, 88, 16, 0.2);
24
24
  }
25
25
  .pending-shadow {
26
- box-shadow: 0px 12px 48px 6px rgba(241, 101, 62, 0.2);
26
+ box-shadow: 0px 12px 48px 6px rgba(216, 58, 14, 0.2);
27
27
  }
28
28
  .recording-shadow {
29
- box-shadow: 0px 12px 48px 6px rgba(243, 74, 74, 0.2);
29
+ box-shadow: 0px 12px 48px 6px rgba(233, 12, 12, 0.2);
30
30
  }
31
31
  .debriefing-shadow {
32
- box-shadow: 0px 12px 48px 6px rgba(110, 198, 110, 0.2);
32
+ box-shadow: 0px 12px 48px 6px rgba(54, 134, 54, 0.2);
33
33
  }
34
34
  .publishing-shadow {
35
- box-shadow: 0px 12px 48px 6px rgba(125, 125, 125, 0.2);
35
+ box-shadow: 0px 12px 48px 6px rgba(112, 112, 112, 0.2);
36
36
  }
37
37
  .error-shadow {
38
- box-shadow: 0px 12px 48px 6px rgba(255, 0, 0, 0.2);
38
+ box-shadow: 0px 12px 48px 6px rgba(173, 0, 0, 0.2);
39
39
  }
@@ -315,7 +315,7 @@
315
315
  }
316
316
 
317
317
  .multiselect__placeholder {
318
- color: #adadad;
318
+ color: #757575;
319
319
  display: inline-block;
320
320
  margin-bottom: 10px;
321
321
  padding-top: 2px;
@@ -15,6 +15,7 @@
15
15
  :disabled="isDisabled"
16
16
  label="name"
17
17
  track-by="id"
18
+ :aria-expanded="false"
18
19
  :placeholder="$t('Type string to filter by categories')"
19
20
  :options="categories"
20
21
  :multiple="multiple"
@@ -4,12 +4,12 @@
4
4
  class="d-inline-flex w-100 mb-3 ps-3 pe-3 hide-phone category-list"
5
5
  >
6
6
  <div
7
- id="category-list-container"
7
+ ref="categoryListContainer"
8
8
  class="category-list-container"
9
9
  >
10
10
  <button
11
11
  v-for="category in categories"
12
- :id="'category' + category.id"
12
+ :ref="'category' + category.id"
13
13
  :key="category.id"
14
14
  class="category-item text-dark bg-white"
15
15
  @click="checkIfFilter(category)"
@@ -144,14 +144,14 @@ export default defineComponent({
144
144
  this.$store.commit('filterIab',category);
145
145
  },
146
146
  resizeWindow(): void {
147
- const categoryList = document.getElementById('category-list-container');
147
+ const categoryList = (this.$refs.categoryListContainer as HTMLElement);
148
148
  if(null === categoryList){
149
149
  return;
150
150
  }
151
151
  categoryList.style.justifyContent = 'flex-start';
152
152
  this.hidenCategories.length = 0;
153
153
  this.categories.forEach((element: Category) => {
154
- const el = document.getElementById('category' + element.id);
154
+ const el = (this.$refs['category' + element.id] as Array<HTMLElement>)[0];
155
155
  if (!el) return;
156
156
  const parent = el.parentElement;
157
157
  if (parent && el.offsetLeft + el.clientWidth <= parent.clientWidth - 20) {
@@ -7,6 +7,7 @@
7
7
  >{{ $t('Live') }}</b>
8
8
  <b
9
9
  :id="'popover-comment' + comment.comId"
10
+ role="button"
10
11
  tabindex="-1"
11
12
  :class="editRight || isValid? '':'text-danger'"
12
13
  class="me-2"
@@ -14,6 +14,7 @@
14
14
  v-model="emission"
15
15
  label="name"
16
16
  track-by="emissionId"
17
+ :aria-expanded="false"
17
18
  :placeholder="$t('Type string to filter by emission')"
18
19
  :options="emissions"
19
20
  :multiple="false"
@@ -14,6 +14,7 @@
14
14
  <img
15
15
  v-lazy="emission.imageUrl"
16
16
  class="img-box"
17
+ :title="$t('Emission name image', {name:emission.name})"
17
18
  >
18
19
  <div class="emission-item-text">
19
20
  <div
@@ -27,12 +28,12 @@
27
28
  >{{ emission.name }}
28
29
  </div>
29
30
  <div
30
- :id="'description-emission-container-' + emission.emissionId"
31
+ ref="descriptionEmissionContainer"
31
32
  class="emission-description htms-wysiwyg-content"
32
33
  >
33
34
  <!-- eslint-disable vue/no-v-html -->
34
35
  <div
35
- :id="'description-emission-' + emission.emissionId"
36
+ ref="descriptionEmission"
36
37
  v-html="urlify(emission.description|| '')"
37
38
  />
38
39
  <!-- eslint-enable -->
@@ -107,12 +108,8 @@ export default defineComponent({
107
108
  this.hasPodcast();
108
109
  },
109
110
  mounted() {
110
- const emissionDesc = document.getElementById(
111
- 'description-emission-' + this.emission.emissionId
112
- );
113
- const emissionDescContainer = document.getElementById(
114
- 'description-emission-container-' + this.emission.emissionId
115
- );
111
+ const emissionDesc = (this.$refs.descriptionEmission as HTMLElement);
112
+ const emissionDescContainer = (this.$refs.descriptionEmissionContainer as HTMLElement);
116
113
  if (
117
114
  null !== emissionDesc && null !== emissionDescContainer &&
118
115
  emissionDesc.clientHeight > emissionDescContainer.clientHeight
@@ -21,6 +21,7 @@
21
21
  >
22
22
  <img
23
23
  v-lazy="emission.imageUrl"
24
+ :title="$t('Emission name image', {name:emission.name})"
24
25
  class="img-box rounded-0"
25
26
  >
26
27
  <div
@@ -35,12 +36,12 @@
35
36
  {{ emission.name }}
36
37
  </div>
37
38
  <div
38
- :id="'description-emission-container-' + emission.emissionId"
39
+ ref="descriptionEmissionContainer"
39
40
  class="emission-description html-wysiwyg-content"
40
41
  >
41
42
  <!-- eslint-disable vue/no-v-html -->
42
43
  <div
43
- :id="'description-emission-' + emission.emissionId"
44
+ ref="descriptionEmission"
44
45
  v-html="urlify(emission.description)"
45
46
  />
46
47
  <!-- eslint-enable -->
@@ -78,12 +79,12 @@
78
79
  {{ p.title }}
79
80
  </div>
80
81
  <div
81
- :id="'description-podcast-container-' + p.podcastId"
82
+ :ref="'descriptionPodcastContainer'+ p.podcastId"
82
83
  class="emission-description html-wysiwyg-content"
83
84
  >
84
85
  <!-- eslint-disable vue/no-v-html -->
85
86
  <div
86
- :id="'description-podcast-' + p.podcastId"
87
+ :ref="'descriptionPodcast'+ p.podcastId"
87
88
  v-html="urlify(p.description)"
88
89
  />
89
90
  <!-- eslint-enable -->
@@ -194,12 +195,8 @@ export default defineComponent({
194
195
  this.loadPodcasts();
195
196
  },
196
197
  mounted() {
197
- const emissionDesc = document.getElementById(
198
- 'description-emission-' + this.emission.emissionId
199
- );
200
- const emissionDescContainer = document.getElementById(
201
- 'description-emission-container-' + this.emission.emissionId
202
- );
198
+ const emissionDesc = (this.$refs.descriptionEmission as HTMLElement);
199
+ const emissionDescContainer = (this.$refs.descriptionEmissionContainer as HTMLElement);
203
200
  if (
204
201
  null !== emissionDesc && null !== emissionDescContainer &&
205
202
  emissionDesc.clientHeight > emissionDescContainer.clientHeight
@@ -220,12 +217,8 @@ export default defineComponent({
220
217
  this.podcasts = data.result;
221
218
  this.$nextTick(() => {
222
219
  for (let index = 0, len = this.podcasts.length; index < len; index++) {
223
- const podcastDesc = document.getElementById(
224
- 'description-podcast-' + this.podcasts[index].podcastId
225
- );
226
- const podcastDescContainer = document.getElementById(
227
- 'description-podcast-container-' + this.podcasts[index].podcastId
228
- );
220
+ const podcastDesc = (this.$refs['descriptionPodcast'+this.podcasts[index].podcastId] as Array<HTMLElement>)[0];
221
+ const podcastDescContainer = (this.$refs['descriptionPodcastContainer'+this.podcasts[index].podcastId] as Array<HTMLElement>)[0];
229
222
  if (
230
223
  null !== podcastDesc && null !== podcastDescContainer &&
231
224
  podcastDesc.clientHeight > podcastDescContainer.clientHeight
@@ -13,6 +13,8 @@
13
13
  v-if="!!organisationId"
14
14
  v-model:textInit="keepOrganisation"
15
15
  class="m-3"
16
+ :label="$t('check this box if you want to keep this filter for the rest of your visit')"
17
+ :display-label="false"
16
18
  id-checkbox="organisation-checkbox"
17
19
  @clickAction="onKeepOrganisation"
18
20
  />
@@ -66,12 +66,12 @@
66
66
  {{ live.emission.name }}
67
67
  </router-link>
68
68
  <div
69
- :id="'description-live-container-' + live.podcastId"
69
+ ref="descriptionLiveContainer"
70
70
  class="live-description-container html-wysiwyg-content"
71
71
  >
72
72
  <!-- eslint-disable vue/no-v-html -->
73
73
  <div
74
- :id="'description-live-' + live.podcastId"
74
+ ref="descriptionLive"
75
75
  v-html="urlify(description)"
76
76
  />
77
77
  <!-- eslint-enable -->
@@ -251,12 +251,8 @@ export default defineComponent({
251
251
  if(!this.live){
252
252
  return;
253
253
  }
254
- const liveDesc = document.getElementById(
255
- 'description-live-' + this.live.podcastId
256
- );
257
- const liveDescContainer = document.getElementById(
258
- 'description-live-container-' + this.live.podcastId
259
- );
254
+ const liveDesc = (this.$refs.descriptionLive as HTMLElement);
255
+ const liveDescContainer = (this.$refs.descriptionLiveContainer as HTMLElement);
260
256
  if (
261
257
  null !== liveDesc && null !== liveDescContainer &&
262
258
  liveDesc.clientHeight > liveDescContainer.clientHeight
@@ -15,6 +15,7 @@
15
15
  v-model="organisation"
16
16
  label="name"
17
17
  track-by="id"
18
+ :aria-expanded="false"
18
19
  :placeholder="$t('Type string to filter by organisation')"
19
20
  :options="organisations"
20
21
  :multiple="false"
@@ -14,6 +14,7 @@
14
14
  >
15
15
  <img
16
16
  v-lazy="participant.imageUrl"
17
+ :title="$t('Animator image')"
17
18
  class="img-box-circle"
18
19
  >
19
20
  <div class="participant-name">
@@ -25,12 +26,12 @@
25
26
  >{{ name }}
26
27
  </div>
27
28
  <div
28
- :id="'description-participant-container-' + participant.participantId"
29
+ ref="descriptionParticipantContainer"
29
30
  class="participant-description html-wysiwyg-content"
30
31
  >
31
32
  <!-- eslint-disable vue/no-v-html -->
32
33
  <div
33
- :id="'description-participant-' + participant.participantId"
34
+ ref="descriptionParticipant"
34
35
  v-html="urlify(participant.description|| '')"
35
36
  />
36
37
  <!-- eslint-enable -->
@@ -106,12 +107,8 @@ export default defineComponent({
106
107
  this.hasPodcast();
107
108
  },
108
109
  mounted() {
109
- const participantDesc = document.getElementById(
110
- 'description-participant-' + this.participant.participantId
111
- );
112
- const participantDescContainer = document.getElementById(
113
- 'description-participant-container-' + this.participant.participantId
114
- );
110
+ const participantDesc = (this.$refs.descriptionParticipant as HTMLElement);
111
+ const participantDescContainer = (this.$refs.descriptionParticipantContainer as HTMLElement);
115
112
  if (
116
113
  null !== participantDesc && null !==participantDescContainer &&
117
114
  participantDesc.clientHeight > participantDescContainer.clientHeight
@@ -14,6 +14,7 @@
14
14
  >
15
15
  <img
16
16
  v-lazy="playlist.imageUrl"
17
+ :title="$t('Playlist name image', {name:name})"
17
18
  class="img-box"
18
19
  >
19
20
  </router-link>
@@ -35,12 +36,12 @@
35
36
  >{{ name }}
36
37
  </div>
37
38
  <div
38
- :id="'description-playlist-container-' + playlist.playlistId"
39
+ ref="descriptionPlaylistContainer"
39
40
  class="emission-description html-wysiwyg-content"
40
41
  >
41
42
  <!-- eslint-disable vue/no-v-html -->
42
43
  <div
43
- :id="'description-playlist-' + playlist.playlistId"
44
+ ref="descriptionPlaylist"
44
45
  v-html="urlify(description)"
45
46
  />
46
47
  <!-- eslint-enable -->
@@ -119,12 +120,8 @@ export default defineComponent({
119
120
 
120
121
 
121
122
  mounted() {
122
- const playlistDesc = document.getElementById(
123
- 'description-playlist-' + this.playlist.playlistId
124
- );
125
- const playlistDescContainer = document.getElementById(
126
- 'description-playlist-container-' + this.playlist.playlistId
127
- );
123
+ const playlistDesc = (this.$refs.descriptionPlaylist as HTMLElement);
124
+ const playlistDescContainer = (this.$refs.descriptionPlaylistContainer as HTMLElement);
128
125
  if (
129
126
  null !== playlistDesc && null !== playlistDescContainer &&
130
127
  playlistDesc.clientHeight > playlistDescContainer.clientHeight
@@ -6,6 +6,7 @@
6
6
  {{ title }}
7
7
  <span
8
8
  :id="idPopover"
9
+ role="button"
9
10
  tabindex="-1"
10
11
  class="saooti-help m-0"
11
12
  :title="title"
@@ -6,6 +6,7 @@
6
6
  <img
7
7
  v-lazy="podcast.imageUrl"
8
8
  class="img-box"
9
+ :alt="$t('Episode name image', {name:podcast.title})"
9
10
  >
10
11
  <template v-if="isPodcastmaker">
11
12
  <div
@@ -17,7 +17,7 @@
17
17
  @showDescription="showDescription"
18
18
  />
19
19
  <div
20
- :id="'description-podcast-container-' + podcast.podcastId"
20
+ ref="descriptionPodcastContainer"
21
21
  class="description-podcast-item html-wysiwyg-content"
22
22
  :class="[
23
23
  hover && ''!==description ? 'visible' : 'invisible',
@@ -26,7 +26,7 @@
26
26
  >
27
27
  <!-- eslint-disable vue/no-v-html -->
28
28
  <div
29
- :id="'description-podcast-' + podcast.podcastId"
29
+ ref="descriptionPodcast"
30
30
  v-html="description"
31
31
  />
32
32
  <!-- eslint-enable -->
@@ -89,13 +89,9 @@ export default defineComponent({
89
89
  },
90
90
  },
91
91
 
92
- created() {
93
- const podcastDesc = document.getElementById(
94
- 'description-podcast-' + this.podcast.podcastId
95
- );
96
- const podcastDescContainer = document.getElementById(
97
- 'description-podcast-container-' + this.podcast.podcastId
98
- );
92
+ mounted() {
93
+ const podcastDesc = (this.$refs.descriptionPodcast as HTMLElement);
94
+ const podcastDescContainer = (this.$refs.descriptionPodcastContainer as HTMLElement);
99
95
  if (
100
96
  null !== podcastDesc && null !== podcastDescContainer &&
101
97
  podcastDesc.clientHeight > podcastDescContainer.clientHeight
@@ -13,10 +13,12 @@
13
13
  >
14
14
  <div
15
15
  :id="'tag-list-from-podcast-page'+index"
16
+ role="button"
16
17
  >
17
18
  <img
18
19
  v-if="isOuestFranceTag(tag)"
19
20
  class="ouest-france-logo"
21
+ alt="Logo Ouest France"
20
22
  src="/img/ouest_france_logo.svg"
21
23
  >
22
24
  {{ formateOfTag(tag) }}
@@ -16,6 +16,7 @@
16
16
  class="rubriqueChooser"
17
17
  label="name"
18
18
  track-by="rubriqueId"
19
+ :aria-expanded="false"
19
20
  :placeholder="$t('Type string to filter by rubrics')"
20
21
  :options="rubriques"
21
22
  :multiple="multiple"
@@ -1,7 +1,8 @@
1
1
  <template>
2
2
  <div class="d-inline-flex w-100 mb-3 px-3 hide-phone">
3
3
  <div
4
- id="rubrique-list-container"
4
+ ref="rubriqueListContainer"
5
+ class="rubrique-list-container"
5
6
  >
6
7
  <select
7
8
  v-model="rubriquage"
@@ -18,7 +19,7 @@
18
19
  </select>
19
20
  <button
20
21
  v-for="rubrique in rubriqueDisplay"
21
- :id="'rubrique' + rubrique.rubriqueId"
22
+ :ref="'rubrique' + rubrique.rubriqueId"
22
23
  :key="rubrique.rubriqueId"
23
24
  class="rubrique-item bg-white"
24
25
  @click="addFilter(rubrique)"
@@ -150,12 +151,12 @@ export default defineComponent({
150
151
  this.initRubriques();
151
152
  },
152
153
  resizeWindow(): void {
153
- const rubriqueList = document.getElementById('rubrique-list-container');
154
+ const rubriqueList = (this.$refs.rubriqueListContainer as HTMLElement);
154
155
  if(null === rubriqueList){return}
155
156
  rubriqueList.style.justifyContent = 'flex-start';
156
157
  this.hidenRubriques.length = 0;
157
158
  this.rubriqueDisplay.forEach((element: Rubrique) => {
158
- const el = document.getElementById('rubrique' + element.rubriqueId);
159
+ const el = (this.$refs['rubrique' + element.rubriqueId] as Array<HTMLElement>)[0];
159
160
  if (!el) return;
160
161
  const parent = el.parentElement;
161
162
  if (null !== parent && el.offsetLeft + el.clientWidth <= parent.clientWidth - 20) {
@@ -180,7 +181,7 @@ export default defineComponent({
180
181
 
181
182
  <style lang="scss">
182
183
  .octopus-app{
183
- #rubrique-list-container {
184
+ .rubrique-list-container {
184
185
  display: flex;
185
186
  justify-content: flex-start;
186
187
  align-items: center;
@@ -8,6 +8,13 @@
8
8
  class="myQrCode"
9
9
  :margin="2"
10
10
  />
11
+ <ClassicCheckbox
12
+ v-if="'#000000'!==otherColor"
13
+ v-model:textInit="isNotBlack"
14
+ class="flex-shrink-0"
15
+ id-checkbox="is-black-qr-code"
16
+ :label="$t('Use organization color')"
17
+ />
11
18
  <button
12
19
  class="btn m-3"
13
20
  @click="download"
@@ -22,6 +29,7 @@
22
29
  </template>
23
30
 
24
31
  <script lang="ts">
32
+ import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
25
33
  import { state } from '../../../store/paramStore';
26
34
  import octopusApi from '@saooti/octopus-api';
27
35
  import Snackbar from '../../misc/Snackbar.vue';
@@ -33,7 +41,8 @@ export default defineComponent({
33
41
 
34
42
  components: {
35
43
  Snackbar,
36
- QrcodeVue
44
+ QrcodeVue,
45
+ ClassicCheckbox
37
46
  },
38
47
  props: {
39
48
  url: { default: '', type: String},
@@ -42,7 +51,9 @@ export default defineComponent({
42
51
  data() {
43
52
  return {
44
53
  size: 200 as number,
45
- color: "#40a372" as string
54
+ color: "#000000" as string,
55
+ otherColor:"#000000" as string,
56
+ isNotBlack: false as boolean,
46
57
  };
47
58
  },
48
59
  computed:{
@@ -50,6 +61,15 @@ export default defineComponent({
50
61
  return (state.generalParameters.authenticated as boolean);
51
62
  },
52
63
  },
64
+ watch:{
65
+ isNotBlack(){
66
+ if(this.isNotBlack){
67
+ this.color = this.otherColor;
68
+ }else{
69
+ this.color = "#000000";
70
+ }
71
+ }
72
+ },
53
73
  created(){
54
74
  this.initColor();
55
75
  },
@@ -66,7 +86,7 @@ export default defineComponent({
66
86
  },
67
87
  async initColor(): Promise<void> {
68
88
  if(state.generalParameters.podcastmaker && state.generalParameters.podcastmakerColor){
69
- this.color = state.generalParameters.podcastmakerColor;
89
+ this.otherColor = state.generalParameters.podcastmakerColor;
70
90
  return;
71
91
  }
72
92
  if (!this.authenticated) return;
@@ -79,7 +99,7 @@ export default defineComponent({
79
99
  );
80
100
  }
81
101
  if (Object.prototype.hasOwnProperty.call(data,'COLOR')) {
82
- this.color = data.COLOR;
102
+ this.otherColor = data.COLOR;
83
103
  }
84
104
  },
85
105
  }
@@ -13,6 +13,7 @@
13
13
  <span
14
14
  v-if="authenticated"
15
15
  id="popover-share-help"
16
+ role="button"
16
17
  tabindex="-1"
17
18
  class="saooti-help ms-2"
18
19
  :title="$t('Help')"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <div class="module-box text-center-mobile">
3
+ <div class="module-box text-center-mobile overflow-visible">
4
4
  <h3>{{ $t('Embed') }}</h3>
5
5
  <template v-if="!exclusive && (authenticated || notExclusive)">
6
6
  <div class="d-flex flex-column align-items-center">
@@ -9,10 +9,13 @@
9
9
  type="checkbox"
10
10
  class="form-check-input"
11
11
  :disabled="isDisabled"
12
+ :title="displayLabel?'':label"
13
+ :data-selenium="selenium"
12
14
  @click="emitClickAction"
13
15
  >
14
16
  <label
15
17
  class="form-check-label"
18
+ :class="displayLabel? '': 'd-none'"
16
19
  :for="idCheckbox"
17
20
  >{{ label }}</label>
18
21
  </div>
@@ -28,7 +31,9 @@ export default defineComponent({
28
31
  label: { default: '', type: String },
29
32
  isDisabled: { default: false, type: Boolean },
30
33
  textInit: { default: false, type: Boolean },
31
- isSwitch:{default:false, type:Boolean}
34
+ isSwitch:{default:false, type:Boolean},
35
+ displayLabel: {default:true, type: Boolean},
36
+ selenium: { default: '', type: String },
32
37
  },
33
38
  emits: ['update:textInit', 'clickAction'],
34
39
 
@@ -4,9 +4,9 @@
4
4
  class="d-flex justify-content-center"
5
5
  >
6
6
  <div class="spinner-border me-3" />
7
- <h3 class="mt-2">
7
+ <div class="h3 mt-2">
8
8
  {{ loadingText }}
9
- </h3>
9
+ </div>
10
10
  </div>
11
11
  <div
12
12
  v-else-if="errorText"
@@ -1,9 +1,13 @@
1
1
  <template>
2
- <div class="d-flex flex-column">
2
+ <div
3
+ class="d-flex"
4
+ :class="isColumn? 'flex-column':''"
5
+ >
3
6
  <div
4
7
  v-for="option in options"
5
8
  :key="option.title"
6
9
  class="form-check"
10
+ :class="isColumn? '':'me-2'"
7
11
  >
8
12
  <input
9
13
  :id="idRadio + option.value"
@@ -34,6 +38,7 @@ export default defineComponent({
34
38
  isDisabled: { default: false, type: Boolean },
35
39
  options: { default: ()=>[], type: Array as () => Array<{title: string, value: string|undefined}> },
36
40
  textInit: { default: undefined, type: String },
41
+ isColumn: {default:true, type:Boolean}
37
42
  },
38
43
  emits: ['update:textInit'],
39
44
 
@@ -8,6 +8,7 @@
8
8
  >
9
9
  <img
10
10
  src="/img/caution.png"
11
+ alt="Caution"
11
12
  class="icon-caution"
12
13
  >
13
14
  <div class="alert-text">
@@ -2,6 +2,7 @@
2
2
  <div class="bg-dark">
3
3
  <div
4
4
  id="footer"
5
+ ref="footer"
5
6
  class="d-flex-column p-3 secondary-bg border-top"
6
7
  >
7
8
  <div class="d-flex flex-column flex-grow-1 align-items-end">
@@ -191,7 +192,7 @@ export default defineComponent({
191
192
 
192
193
  methods: {
193
194
  showBlackBorder(hide: boolean): void {
194
- const footerElement = document.getElementById('footer');
195
+ const footerElement = (this.$refs.footer as HTMLElement);
195
196
  if(null===footerElement){return}
196
197
  if (hide) {
197
198
  footerElement.classList.remove('border-round');
@@ -51,7 +51,7 @@ export const playerLogic = defineComponent({
51
51
  this.audioUrlToPlay = this.audioUrl;
52
52
  }
53
53
  if(!this.podcast){return;}
54
- const response = await octopusApi.fetchPodcastDownloadUrl("podcast/download/register/"+this.podcast.podcastId+".mp3"+ this.audioUrl);
54
+ const response = await octopusApi.fetchPodcastDownloadUrl("podcast/download/register/"+ this.audioUrl);
55
55
  this.setDownloadId(response.downloadId.toString());
56
56
  this.audioUrlToPlay = response.location;
57
57
  },
@@ -16,6 +16,7 @@
16
16
  >
17
17
  <img
18
18
  v-lazy="participant.imageUrl"
19
+ :title="$t('Animator image')"
19
20
  class="img-box-circle mb-3"
20
21
  >
21
22
  <h2 class="text-capitalize">
package/src/locale/de.ts CHANGED
@@ -299,4 +299,5 @@ export default{
299
299
  'Podcast tags': "Podcast-Tags",
300
300
  "Enlarge":"Vergrößern",
301
301
  "Reduce":"Reduzieren",
302
+ "Use organization color":"Verwenden Sie die Organisationsfarbe",
302
303
  }
package/src/locale/en.ts CHANGED
@@ -300,4 +300,5 @@ export default{
300
300
  "You do not have the right to access this page":"You do not have the right to access this page",
301
301
  "Enlarge":"Enlarge",
302
302
  "Reduce":"Reduce",
303
+ "Use organization color":"Use organization color",
303
304
  };
package/src/locale/es.ts CHANGED
@@ -299,4 +299,5 @@ export default{
299
299
  'Podcast tags': 'Etiquetas de pódcast',
300
300
  "Enlarge":"Agrandar",
301
301
  "Reduce":"Reducir",
302
+ "Use organization color":"Usar el color de la organización",
302
303
  }
package/src/locale/fr.ts CHANGED
@@ -300,4 +300,5 @@ export default{
300
300
  "You do not have the right to access this page":"Vous n’avez pas le droit d’accéder à cette page",
301
301
  "Enlarge":"Agrandir",
302
302
  "Reduce":"Réduire",
303
+ "Use organization color":"Utiliser la couleur de l'organisation",
303
304
  };
package/src/locale/it.ts CHANGED
@@ -297,4 +297,5 @@ export default{
297
297
  'More episodes of this category : ': "Altri episodi su questo tema : {name}",
298
298
  "Enlarge":"Ingrandire",
299
299
  "Reduce":"Ridurre",
300
+ "Use organization color":"Usa il colore dell'organizzazione",
300
301
  };
package/src/locale/sl.ts CHANGED
@@ -299,4 +299,5 @@ export default{
299
299
  'Podcast tags': 'Oznake podkastov',
300
300
  "Enlarge":"Povečaj",
301
301
  "Reduce":"Zmanjšaj",
302
+ "Use organization color":"Uporabite barvo organizacije",
302
303
  }
@@ -6,6 +6,8 @@ $font-family-sans-serif: 'Roboto', sans-serif;
6
6
  $font-size-base: 0.9rem;
7
7
  $line-height-base: 1.6;
8
8
  $primary: #32815C;
9
+ $secondary: #636C73;
10
+ $danger: #E22C27;
9
11
 
10
12
  // Colors
11
13
  $blue: #3490dc;