@saooti/octopus-sdk 36.0.18 → 36.0.19

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": "36.0.18",
3
+ "version": "36.0.19",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
Binary file
@@ -64,7 +64,6 @@
64
64
  </div>
65
65
  <SearchOrder
66
66
  :is-emission="isEmission"
67
- :is-search-bar="isSearchBar"
68
67
  :sort-criteria="sortCriteria"
69
68
  @updateSortCriteria="updateSortCriteria"
70
69
  />
@@ -98,7 +97,6 @@ export default defineComponent({
98
97
  organisationId: { default: undefined, type: String},
99
98
  isEmission: { default: false, type: Boolean},
100
99
  resetRubriquage: { default: false, type: Boolean},
101
- isSearchBar: { default: false, type: Boolean},
102
100
  isEducation: { default: false, type: Boolean},
103
101
  includeHidden: { default: false, type: Boolean},
104
102
  sortCriteria: { default: 'DATE', type: String},
@@ -2,11 +2,9 @@
2
2
  <ClassicRadio
3
3
  v-model:textInit="sort"
4
4
  id-radio="sort-radio"
5
- :options="isSearchBar? [{title:$t('Sort score'), value:'SCORE'},
6
- {title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
7
- {title:$t('Sort name'), value:'NAME'}]:
8
- [{title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
9
- {title:$t('Sort name'), value:'NAME'}]"
5
+ :options="[{title:$t('Sort score'), value:'SCORE'},
6
+ {title:$t('Sort last'), value:isEmission?'LAST_PODCAST_DESC':'DATE'},
7
+ {title:$t('Sort name'), value:'NAME'}]"
10
8
  />
11
9
  </template>
12
10
 
@@ -19,7 +17,6 @@ export default defineComponent({
19
17
  },
20
18
  props: {
21
19
  isEmission: { default: false, type: Boolean},
22
- isSearchBar: { default: false, type: Boolean},
23
20
  sortCriteria: { default: 'DATE', type: String},
24
21
  },
25
22
 
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="img-box position-relative flex-shrink-0 mb-3 me-3 float-start">
3
3
  <img
4
- v-lazy="radio.imageUrl ?proxyImageUrl(radio.imageUrl, '330') :'/img/tempRadio.jpg'"
4
+ v-lazy="radio.imageUrl ?proxyImageUrl(radio.imageUrl, '330') :'/img/emptyradio.webp'"
5
5
  width="330"
6
6
  height="330"
7
7
  class="img-box"
@@ -119,7 +119,7 @@ export default defineComponent({
119
119
  onRubriqueSelected(rubrique: Rubrique| Array<Rubrique>): void {
120
120
  if (undefined !== this.rubriqueSelected) {
121
121
  this.$emit('update:rubriqueSelected', (rubrique as Rubrique).rubriqueId);
122
- } else if (undefined !== this.categorySelectedArray) {
122
+ } else if (undefined !== this.rubriqueSelectedArray) {
123
123
  const idsArray: Array<number> = [];
124
124
  (rubrique as Array<Rubrique>).forEach((el: Rubrique) => {
125
125
  idsArray.push(el.rubriqueId??0);
Binary file