@saooti/octopus-sdk 38.2.14 → 38.2.16

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": "38.2.14",
3
+ "version": "38.2.16",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -96,7 +96,7 @@ body{
96
96
  .module-box{
97
97
  background-color: white;
98
98
  padding: 1.3rem;
99
- margin: 0.5rem 0.5rem 0 0.5rem;
99
+ margin: 1.5rem 0.5rem 0 0.5rem;
100
100
  border-radius: $octopus-borderradius;
101
101
  flex-grow: 1;
102
102
  //overflow: auto;
@@ -42,7 +42,7 @@
42
42
  }
43
43
  }
44
44
  .page-element{
45
- margin-top: -5rem;
45
+ margin-top: -6rem;
46
46
  position: relative;
47
47
  }
48
48
 
@@ -325,6 +325,7 @@ export default defineComponent({
325
325
  box-shadow: unset !important;
326
326
  background: transparent !important;
327
327
  height: 50px;
328
+ resize: none;
328
329
  &.short {
329
330
  max-height: 38px;
330
331
  }
@@ -63,7 +63,7 @@ export default defineComponent({
63
63
  this.loaded && this.totalCount > 0
64
64
  ? this.$t("()", { nb: this.totalCount })
65
65
  : "";
66
- return this.$t("Podcast's comments") + count;
66
+ return this.$t("Podcast's comments") + " " + count;
67
67
  },
68
68
  knownIdentity: {
69
69
  get(): string | null {
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <div class="position-relative w-100">
3
3
  <template v-if="!isPhone">
4
- <button
4
+ <!-- <button
5
5
  v-show="isLoop"
6
6
  :title="$t('Display previous')"
7
7
  class="btn-transparent swiper-button-prev"
8
8
  @click="slidePrevButton()"
9
- ></button>
9
+ ></button> -->
10
10
  <swiper
11
11
  :slides-per-view="numberItem"
12
12
  :space-between="0"
@@ -41,10 +41,9 @@
41
41
  >
42
42
  <RubriqueChooser
43
43
  v-if="hidenRubriques.length"
44
+ class="rubrique-chooser-minwidth"
44
45
  :rubriquage-id="rubriquage.rubriquageId"
45
46
  :all-rubriques="hidenRubriques"
46
- class="mb-3"
47
- width="auto"
48
47
  @selected="addFilterFromPopover($event)"
49
48
  />
50
49
  </ClassicPopover>
@@ -247,5 +246,14 @@ export default defineComponent({
247
246
  padding: 0.5rem;
248
247
  }
249
248
  }
249
+ #popoverrubriques-dropdown {
250
+ overflow: initial !important;
251
+ }
252
+ .rubrique-chooser-minwidth {
253
+ min-width: 400px;
254
+ @media (max-width: 500px) {
255
+ min-width: 90vw;
256
+ }
257
+ }
250
258
  }
251
259
  </style>
@@ -2,7 +2,7 @@
2
2
  <div v-if="!isLoading && (authenticated || !noSharing)" class="module-box">
3
3
  <div class="d-flex align-items-center justify-content-between">
4
4
  <div v-if="!isGarStudent && !noSharing" class="d-flex flex-column me-2">
5
- <div class="h4 mb-2">
5
+ <div class="h2 mb-2">
6
6
  {{ $t("Share in one click") }}
7
7
  </div>
8
8
  <div class="d-flex align-items-center">
@@ -28,11 +28,11 @@
28
28
  </div>
29
29
  </div>
30
30
  <div class="d-flex align-items-center">
31
- <div
31
+ <!-- <div
32
32
  v-if="podcast || emission || playlist"
33
33
  class="d-flex flex-column ms-4"
34
34
  >
35
- <div class="h4 mb-2">
35
+ <div class="h2 mb-2">
36
36
  {{ $t("Newsletter") }}
37
37
  </div>
38
38
  <div class="d-flex align-items-center justify-content-center">
@@ -43,9 +43,9 @@
43
43
  @click="newsletter = true"
44
44
  />
45
45
  </div>
46
- </div>
46
+ </div> -->
47
47
  <div class="d-flex flex-column ms-4">
48
- <div class="h4 mb-2">
48
+ <div class="h2 mb-2">
49
49
  {{ $t("QR Code") }}
50
50
  </div>
51
51
  <div class="d-flex align-items-center justify-content-center">
@@ -58,7 +58,7 @@
58
58
  </div>
59
59
  </div>
60
60
  <div v-if="'' !== rssUrl && displayRss" class="d-flex flex-column ms-4">
61
- <div class="h4 mb-2">
61
+ <div class="h2 mb-2">
62
62
  {{ $t("Rss feed") }}
63
63
  </div>
64
64
  <div class="d-flex align-items-center justify-content-center">
@@ -74,7 +74,7 @@
74
74
  </div>
75
75
  </div>
76
76
  <div v-if="shareAiAuth" class="d-flex flex-column ms-4">
77
- <div class="h4 mb-2">
77
+ <div class="h2 mb-2">
78
78
  {{ $t("Generate a social media post (with AI)") }}
79
79
  </div>
80
80
  <div class="d-flex align-items-center justify-content-center">
@@ -191,7 +191,7 @@ export default defineComponent({
191
191
  this.authenticated &&
192
192
  undefined !== this.podcast &&
193
193
  this.isProduction &&
194
- ((this.authOrganisation.attributes?.["openAi"] as
194
+ ((this.authOrganisation.attributes?.["openAi.active"] as
195
195
  | string
196
196
  | undefined) === "true" ??
197
197
  false)
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <div v-if="subscriptionsDisplay.length || rssUrl" class="subscribe-buttons-container">
2
+ <div
3
+ v-if="subscriptionsDisplay.length || rssUrl"
4
+ class="subscribe-buttons-container"
5
+ >
3
6
  <div ref="subscribeButtonsContainer">
4
7
  <a
5
8
  v-for="(sub, index) in subscriptionsDisplay"
@@ -109,7 +109,7 @@ export default defineComponent({
109
109
  window.scrollY > 1 &&
110
110
  document.body.offsetHeight - window.innerHeight > 40
111
111
  ) {
112
- if(!this.scrolled){
112
+ if (!this.scrolled) {
113
113
  this.scrolled = true;
114
114
  this.minScroll = 0;
115
115
  }
@@ -33,7 +33,7 @@
33
33
  :fetch-conference="fetchConference"
34
34
  />
35
35
  <PodcastInlineList
36
- class="mt-4 module-box"
36
+ class="module-box"
37
37
  :emission-id="podcast.emission.emissionId"
38
38
  :href="'/main/pub/emission/' + podcast.emission.emissionId"
39
39
  :title="$t('More episodes of this emission')"
@@ -46,14 +46,14 @@
46
46
  />
47
47
  <ClassicLazy :min-height="550">
48
48
  <PodcastInlineList
49
- class="module-box"
49
+ class="mt-4"
50
50
  :podcast-id="podcastId"
51
51
  :title="$t('Suggested listening')"
52
52
  />
53
53
  </ClassicLazy>
54
54
  <ClassicLazy v-for="c in categories" :key="c.id" :min-height="550">
55
55
  <PodcastInlineList
56
- class="module-box"
56
+ class="mt-4"
57
57
  :iab-id="c.id"
58
58
  :href="'/main/pub/category/' + c.id"
59
59
  :title="$t('More episodes of this category : ', { name: c.name })"
package/src/locale/fr.ts CHANGED
@@ -273,7 +273,7 @@ export default {
273
273
  "Le Google Recaptcha ne vous reconnait pas comme un humain",
274
274
  "Recaptcha not active": "Attention le captcha google est désactivé",
275
275
  "Comment waiting":
276
- "Le commentaire ne sera pas visible par les autres utilisateurs tant qu'il n'aura pas été validé",
276
+ "Le commentaire ne sera pas visible par les autres utilisateurs tant qu'il n'aura pas été validé.",
277
277
  "Display all podcasts to validate": "Afficher tous les épisodes à valider",
278
278
  "Display my podcasts to validate": "Afficher mes épisodes à valider",
279
279
  "Podcast not validated": "L'épisode n'est pas validé",