@saooti/octopus-sdk 37.0.21 → 37.0.23

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.21",
3
+ "version": "37.0.23",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -10,9 +10,9 @@
10
10
  class="d-flex flex-grow-1 text-dark"
11
11
  >
12
12
  <img
13
- v-lazy="proxyImageUrl(emission.imageUrl, '330')"
14
- width="330"
15
- height="330"
13
+ v-lazy="proxyImageUrl(emission.imageUrl, '250')"
14
+ width="250"
15
+ height="250"
16
16
  class="img-box"
17
17
  :title="$t('Emission name image', { name: emission.name })"
18
18
  :alt="$t('Emission name image', { name: emission.name })"
@@ -5,11 +5,11 @@
5
5
  <img
6
6
  v-lazy="
7
7
  radio.imageUrl
8
- ? proxyImageUrl(radio.imageUrl, '330')
8
+ ? proxyImageUrl(radio.imageUrl, '270')
9
9
  : '/img/emptyradio.webp'
10
10
  "
11
- width="330"
12
- height="330"
11
+ width="270"
12
+ height="270"
13
13
  class="img-box img-box-podcast"
14
14
  :title="$t('Canal name image', { name: radio.name })"
15
15
  :alt="$t('Canal name image', { name: radio.name })"
@@ -39,9 +39,9 @@
39
39
  </router-link>
40
40
  </div>
41
41
  <img
42
- v-lazy="proxyImageUrl(playlist.imageUrl, '330')"
43
- width="330"
44
- height="330"
42
+ v-lazy="proxyImageUrl(playlist.imageUrl, '250')"
43
+ width="250"
44
+ height="250"
45
45
  :title="$t('Playlist name image', { name: name })"
46
46
  :alt="$t('Playlist name image', { name: name })"
47
47
  class="img-box"
@@ -4,9 +4,9 @@
4
4
  class="img-box img-box-podcast mb-3 flex-column justify-content-start align-items-start position-relative flex-shrink-0 float-start"
5
5
  >
6
6
  <img
7
- v-lazy="proxyImageUrl(podcast.imageUrl, '330')"
8
- width="330"
9
- height="330"
7
+ v-lazy="proxyImageUrl(podcast.imageUrl, '270')"
8
+ width="270"
9
+ height="270"
10
10
  class="img-box img-box-podcast"
11
11
  :alt="$t('Episode name image', { name: podcast.title })"
12
12
  />
@@ -281,7 +281,7 @@ export default defineComponent({
281
281
  },
282
282
  preloadImage(url: string): void {
283
283
  const img = new Image();
284
- img.src = this.proxyImageUrl(url, "330");
284
+ img.src = this.proxyImageUrl(url, "270");
285
285
  },
286
286
  },
287
287
  });
@@ -38,6 +38,7 @@ export default defineComponent({
38
38
  date: { default: undefined, type: Date },
39
39
  range: { default: undefined, type: Array as () => Array<Date> },
40
40
  isMaxDate: { default: false, type: Boolean },
41
+ dateLimit: { default: undefined, type: Date },
41
42
  isMinDate: { default: false, type: Boolean },
42
43
  columnNumber: { default: 1, type: Number },
43
44
  displaySeconds: { default: false, type: Boolean },
@@ -81,6 +82,9 @@ export default defineComponent({
81
82
  return this.range ? dayString + " - " + dayString : dayString;
82
83
  },
83
84
  now(): Date {
85
+ if(this.dateLimit){
86
+ return this.dateLimit;
87
+ }
84
88
  return dayjs().toDate();
85
89
  },
86
90
  },
@@ -13,16 +13,17 @@
13
13
  @click="onDisplayMenu(true)"
14
14
  >
15
15
  <img
16
- :src="
17
- !filterOrgaId || '' === imgUrl
18
- ? logoUrl
19
- : proxyImageUrl(imgUrl, '', '50')
20
- "
21
- :alt="
22
- !filterOrgaId || '' === imgUrl
23
- ? $t('Logo of main page')
24
- : $t('Visual', { name: filterName })
25
- "
16
+ v-if="!filterOrgaId || '' === imgUrl"
17
+ :src="logoUrl"
18
+ :alt="$t('Logo of main page')"
19
+ width="140"
20
+ height="50"
21
+ :class="isEducation ? 'educationLogo' : ''"
22
+ />
23
+ <img
24
+ v-else
25
+ :src="proxyImageUrl(imgUrl, '', '50')"
26
+ :alt="$t('Visual', { name: filterName })"
26
27
  :class="isEducation ? 'educationLogo' : ''"
27
28
  />
28
29
  </router-link>
@@ -51,6 +52,7 @@
51
52
  </template>
52
53
  <button
53
54
  id="more-dropdown"
55
+ :title="$t('More')"
54
56
  class="d-flex align-items-center hide-phone btn-transparent p-3"
55
57
  >
56
58
  <div class="link-hover">
@@ -11,9 +11,9 @@
11
11
  <div class="module-box">
12
12
  <div class="mb-5 descriptionText">
13
13
  <img
14
- v-lazy="proxyImageUrl(imageUrl, '330')"
15
- width="330"
16
- height="330"
14
+ v-lazy="proxyImageUrl(imageUrl, '250')"
15
+ width="250"
16
+ height="250"
17
17
  :alt="$t('Emission name image', { name: name })"
18
18
  class="img-box float-start me-3 mb-3"
19
19
  />
@@ -11,9 +11,9 @@
11
11
  <div class="module-box">
12
12
  <div class="mb-5 mt-3 descriptionText">
13
13
  <img
14
- v-lazy="proxyImageUrl(imageUrl, '330')"
15
- width="330"
16
- height="330"
14
+ v-lazy="proxyImageUrl(imageUrl, '250')"
15
+ width="250"
16
+ height="250"
17
17
  :alt="$t('Playlist name image', { name: name })"
18
18
  class="img-box float-start me-3 mb-3"
19
19
  />