@saooti/octopus-sdk 30.0.45 → 30.0.46

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/README.md CHANGED
@@ -541,4 +541,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
541
541
  * 30.0.42 Resize rubriqueList
542
542
  * 30.0.43 Resize rubriqueList
543
543
  * 30.0.44 ProgressBar pour le soir
544
- * 30.0.45 ProgressBar pour le soir
544
+ * 30.0.45 ProgressBar pour le soir
545
+ * 30.0.46 Param pour le soir
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "30.0.45",
3
+ "version": "30.0.46",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -106,6 +106,7 @@ export default defineComponent({
106
106
  rubriqueId: { default: () => [], type: Array as ()=> Array<number> },
107
107
  rubriquageId:{ default: () => [], type: Array as ()=> Array<number> },
108
108
  noRubriquageId: { default: () => [], type: Array as ()=> Array<number> },
109
+ query: { default: undefined, type: String},
109
110
  },
110
111
  emits: ['update:isArrow'],
111
112
 
@@ -170,7 +171,7 @@ export default defineComponent({
170
171
  return this.direction > 0 ? 'out-left' : 'out-right';
171
172
  },
172
173
  watchVariable():string{
173
- return `${this.emissionId}|${this.organisationId}|${this.filterOrga}|${this.iabId}|${this.rubriqueId}|${this.rubriquageId}`;
174
+ return `${this.emissionId}|${this.organisationId}|${this.filterOrga}|${this.iabId}|${this.rubriqueId}|${this.rubriquageId}|${this.query}`;
174
175
  }
175
176
  },
176
177
  watch: {
@@ -210,6 +211,7 @@ export default defineComponent({
210
211
  rubriquageId: this.rubriquageId.length ?this.rubriquageId : undefined,
211
212
  noRubriquageId: this.noRubriquageId.length ? this.noRubriquageId : undefined,
212
213
  sort: this.popularSort ? 'POPULARITY' : 'DATE',
214
+ query: this.query,
213
215
  });
214
216
  this.loading = false;
215
217
  this.loaded = true;
@@ -70,25 +70,27 @@
70
70
  :emission-id="emissionId"
71
71
  />
72
72
  </div>
73
- <LiveHorizontalList
74
- v-if="!isPodcastmaker"
75
- :emission-id="emissionId"
76
- />
77
- <PodcastFilterList
78
- v-if="!isOuestFrance"
79
- :emission-id="emissionId"
80
- :category-filter="false"
81
- :edit-right="editRight"
82
- :productor-id="emission.orga.id"
83
- @fetch="fetch"
84
- />
85
- <PodcastList
86
- v-else
87
- :first="0"
88
- :size="15"
89
- :emission-id="emissionId"
90
- @fetch="fetch"
91
- />
73
+ <template v-if="isDisplayPodcasts">
74
+ <LiveHorizontalList
75
+ v-if="!isPodcastmaker"
76
+ :emission-id="emissionId"
77
+ />
78
+ <PodcastFilterList
79
+ v-if="!isOuestFrance"
80
+ :emission-id="emissionId"
81
+ :category-filter="false"
82
+ :edit-right="editRight"
83
+ :productor-id="emission.orga.id"
84
+ @fetch="fetch"
85
+ />
86
+ <PodcastList
87
+ v-else
88
+ :first="0"
89
+ :size="15"
90
+ :emission-id="emissionId"
91
+ @fetch="fetch"
92
+ />
93
+ </template>
92
94
  </div>
93
95
  <ClassicLoading
94
96
  :loading-text="!loaded?$t('Loading content ...'):undefined"
@@ -172,6 +174,9 @@ export default defineComponent({
172
174
  isRssButton(): boolean {
173
175
  return (state.emissionPage.rssButton as boolean);
174
176
  },
177
+ isDisplayPodcasts(): boolean {
178
+ return (state.emissionPage.isDisplayPodcasts as boolean);
179
+ },
175
180
  isPodcastmaker(): boolean {
176
181
  return (state.generalParameters.podcastmaker as boolean);
177
182
  },
@@ -55,6 +55,7 @@ const state:paramStore = {
55
55
  emissionPage: {
56
56
  ouestFranceStyle: false,
57
57
  rssButton: false,
58
+ isDisplayPodcasts:true
58
59
  },
59
60
  intervenantPage: {
60
61
  lightStyle: false,
@@ -142,6 +143,7 @@ export interface EmissionsPage{
142
143
  export interface EmissionPage{
143
144
  ouestFranceStyle?: boolean,
144
145
  rssButton?: boolean,
146
+ isDisplayPodcasts?:boolean
145
147
  }
146
148
  export interface IntervenantPage{
147
149
  lightStyle?: boolean,