@saooti/octopus-sdk 37.0.48 → 37.0.49

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.49",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -53,26 +53,28 @@
53
53
  :label="$t('Podcasts still available')"
54
54
  />
55
55
  </template>
56
- <ClassicCheckbox
57
- v-if="displayArticleParam"
58
- :text-init="displayArticle"
59
- @update:text-init="$emit('update:displayArticle', $event)"
60
- id-checkbox="display-article-checkbox"
61
- :label="$t('Display associated article')"
62
- />
63
- <ClassicCheckbox
64
- v-if="displayTranscriptParam"
65
- :text-init="displayTranscript"
66
- @update:text-init="$emit('update:displayTranscript', $event)"
67
- id-checkbox="display-transcript-checkbox"
68
- :label="$t('If the transcript is available, show it')"
69
- />
70
- <ClassicCheckbox
71
- :text-init="displayWave"
72
- @update:text-init="$emit('update:displayWave', $event)"
73
- id-checkbox="display-wave-checkbox"
74
- :label="$t('Show animated wave')"
75
- />
56
+ <template v-if="displayClassicParameter">
57
+ <ClassicCheckbox
58
+ v-if="displayArticleParam"
59
+ :text-init="displayArticle"
60
+ @update:text-init="$emit('update:displayArticle', $event)"
61
+ id-checkbox="display-article-checkbox"
62
+ :label="$t('Display associated article')"
63
+ />
64
+ <ClassicCheckbox
65
+ v-if="displayTranscriptParam"
66
+ :text-init="displayTranscript"
67
+ @update:text-init="$emit('update:displayTranscript', $event)"
68
+ id-checkbox="display-transcript-checkbox"
69
+ :label="$t('If the transcript is available, show it')"
70
+ />
71
+ <ClassicCheckbox
72
+ :text-init="displayWave"
73
+ @update:text-init="$emit('update:displayWave', $event)"
74
+ id-checkbox="display-wave-checkbox"
75
+ :label="$t('Show animated wave')"
76
+ />
77
+ </template>
76
78
  <ClassicCheckbox
77
79
  :text-init="playerAutoPlay"
78
80
  @update:text-init="$emit('update:playerAutoPlay', $event)"
@@ -91,6 +93,7 @@ export default defineComponent({
91
93
  props: {
92
94
  isVisible: { default: false, type: Boolean },
93
95
  choseNumberEpisode: { default: false, type: Boolean },
96
+ displayClassicParameter: { default: true, type: Boolean },
94
97
  displayChoiceAllEpisodes: { default: false, type: Boolean },
95
98
  displayTranscriptParam: { default: false, type: Boolean },
96
99
  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-classic-parameter="isPlayerParameter"
55
55
  v-model:display-article="displayArticle"
56
56
  v-model:display-transcript="displayTranscript"
57
57
  v-model:display-wave="displayWave"