@saooti/octopus-sdk 37.0.48 → 37.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "37.0.48",
3
+ "version": "37.0.50",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -68,6 +68,7 @@
68
68
  :label="$t('If the transcript is available, show it')"
69
69
  />
70
70
  <ClassicCheckbox
71
+ v-if="displayWaveParam"
71
72
  :text-init="displayWave"
72
73
  @update:text-init="$emit('update:displayWave', $event)"
73
74
  id-checkbox="display-wave-checkbox"
@@ -91,6 +92,7 @@ export default defineComponent({
91
92
  props: {
92
93
  isVisible: { default: false, type: Boolean },
93
94
  choseNumberEpisode: { default: false, type: Boolean },
95
+ displayWaveParam: { default: true, type: Boolean },
94
96
  displayChoiceAllEpisodes: { default: false, type: Boolean },
95
97
  displayTranscriptParam: { default: false, type: Boolean },
96
98
  displayArticleParam: { default: false, type: Boolean },
@@ -46,12 +46,12 @@
46
46
  :label="titleStillAvailable"
47
47
  />
48
48
  <PlayerParameters
49
- v-if="isPlayerParameter"
50
49
  :is-visible="isVisible"
51
50
  :chose-number-episode="displayChoiceAllEpisodes || isLargeSuggestion"
52
51
  :display-choice-all-episodes="displayChoiceAllEpisodes"
53
52
  :display-transcript-param="displayTranscriptParam"
54
53
  :display-article-param="displayArticleParam"
54
+ :display-wave-param="displayWaveParam"
55
55
  v-model:display-article="displayArticle"
56
56
  v-model:display-transcript="displayTranscript"
57
57
  v-model:display-wave="displayWave"
@@ -142,7 +142,7 @@ export default defineComponent({
142
142
  isVisible: false as boolean,
143
143
  displayArticle: true as boolean,
144
144
  displayTranscript: true as boolean,
145
- displayWave: true as boolean,
145
+ displayWave: false as boolean,
146
146
  playerAutoPlay: false as boolean,
147
147
  orgaAttributes: undefined as
148
148
  | { [key: string]: string | number | boolean | undefined }
@@ -152,6 +152,9 @@ export default defineComponent({
152
152
 
153
153
  computed: {
154
154
  ...mapState(useAuthStore, ["authOrganisation"]),
155
+ displayWaveParam(): boolean {
156
+ return !this.iFrameModel.includes('large');
157
+ },
155
158
  displayArticleParam(): boolean {
156
159
  return (
157
160
  undefined !== this.podcast &&
@@ -285,17 +288,6 @@ export default defineComponent({
285
288
  if (this.playlist) return this.playlist.playlistId;
286
289
  return 0;
287
290
  },
288
- isPlayerParameter(): boolean {
289
- return (
290
- (!this.podcast ||
291
- this.displayArticleParam ||
292
- this.isEmission ||
293
- this.isLargeEmission ||
294
- this.isLargeSuggestion ||
295
- this.displayTranscriptParam) &&
296
- !this.playlist
297
- );
298
- },
299
291
  },
300
292
  async created() {
301
293
  const orgaId =
@@ -22,6 +22,9 @@
22
22
  :month-picker="monthPicker"
23
23
  @update:model-value="$emit('updateDate', $event)"
24
24
  >
25
+ <template v-if="time" #input-icon>
26
+ <div class="ms-2 saooti-clock"/>
27
+ </template>
25
28
  </VueDatePicker>
26
29
  </template>
27
30