@saooti/octopus-sdk 37.0.22 → 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.22",
3
+ "version": "37.0.23",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -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">