@saooti/octopus-sdk 31.0.4 → 31.0.5

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
@@ -563,12 +563,18 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
563
563
  * 30.0.64 Modif Le soir
564
564
  * 30.0.65 OAuthType
565
565
  * 30.0.66 ScrollBehavior
566
+ * 30.0.67 Parlement européen
567
+ * 30.0.68 Parlement européen
568
+ * 30.0.69 Parlement européen
569
+ * 30.0.70 Améliorations 30
566
570
 
567
571
  * 31.0.0 Passage en 31
568
572
  * 31.0.1 Ajout pocket casts
569
573
  * 31.0.2 Gestion des 403
570
574
  * 31.0.3 Merge 30
571
575
  * 31.0.4 Selection des customPlayers
576
+ * 31.0.5 Merge 30
577
+
572
578
 
573
579
 
574
580
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "31.0.4",
3
+ "version": "31.0.5",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -89,6 +89,12 @@
89
89
  background: transparent;
90
90
  color: $octopus-primary-dark;
91
91
  }
92
+ &:disabled{
93
+ background-color: #cccccc;
94
+ border: black;
95
+ cursor: default;
96
+ color: gray;
97
+ }
92
98
  @media (max-width: 500px){
93
99
  margin: 0.3rem;
94
100
  }
@@ -136,13 +136,13 @@ export default defineComponent({
136
136
  sortText(): string {
137
137
  switch (this.sort) {
138
138
  case 'SCORE':
139
- return this.$t('sort by score').toString();
139
+ return " "+this.$t('sort by score').toString();
140
140
  case 'LAST_PODCAST_DESC':
141
- return this.$t('sort by date').toString();
141
+ return " "+this.$t('sort by date').toString();
142
142
  case 'NAME':
143
- return this.$t('sort by alphabetical').toString();
143
+ return " "+this.$t('sort by alphabetical').toString();
144
144
  default:
145
- return this.$t('sort by date').toString();
145
+ return " "+this.$t('sort by date').toString();
146
146
  }
147
147
  },
148
148
  filterOrga(): string {
@@ -49,9 +49,9 @@
49
49
  <router-link
50
50
  class="btn btn-link align-self-center width-fit-content m-4"
51
51
  :to="{
52
- name: 'playlist',
53
- params: { playlistId: playlistId.toString() },
54
- }"
52
+ name: 'playlist',
53
+ params: { playlistId: playlistId.toString() },
54
+ }"
55
55
  >
56
56
  {{ $t('See more') }}
57
57
  <div
@@ -128,10 +128,7 @@ export default defineComponent({
128
128
  return (state.podcastsPage.podcastBorderBottom as boolean);
129
129
  },
130
130
  date(): string {
131
- if('fr' === this.$i18n.locale){
132
- return moment(this.podcast.pubDate).format('D MMMM YYYY [à] HH[h]mm');
133
- }
134
- return moment(this.podcast.pubDate).format('D MMMM YYYY [at] HH[h]mm');
131
+ return moment(this.podcast.pubDate).format('D MMMM YYYY, HH[h]mm');
135
132
  },
136
133
  displayDate(): string {
137
134
  return moment(this.podcast.pubDate).format('X');
@@ -122,13 +122,13 @@ export default defineComponent({
122
122
  sortText(): string {
123
123
  switch (this.sortCriteria) {
124
124
  case 'SCORE':
125
- return this.$t('sort by score').toString();
125
+ return " "+this.$t('sort by score').toString();
126
126
  case 'DATE':
127
- return this.$t('sort by date').toString();
127
+ return " "+this.$t('sort by date').toString();
128
128
  case 'NAME':
129
- return this.$t('sort by alphabetical').toString();
129
+ return " "+this.$t('sort by alphabetical').toString();
130
130
  default:
131
- return this.$t('sort by date').toString();
131
+ return " "+this.$t('sort by date').toString();
132
132
  }
133
133
  },
134
134
  isProduction(): boolean {
@@ -214,10 +214,7 @@ export default defineComponent({
214
214
  },
215
215
  date(): string {
216
216
  if (this.podcast && 1970 !== moment(this.podcast.pubDate).year()){
217
- if('fr' === this.$i18n.locale){
218
- return moment(this.podcast.pubDate).format('D MMMM YYYY [à] HH[h]mm');
219
- }
220
- return moment(this.podcast.pubDate).format('D MMMM YYYY [at] HH[h]mm');
217
+ return moment(this.podcast.pubDate).format('D MMMM YYYY, HH[h]mm');
221
218
  }
222
219
  return '';
223
220
  },
@@ -81,14 +81,14 @@
81
81
  >
82
82
  {{ $t('TutoMag') }}
83
83
  </a>
84
- <hr class="dropdown-divider">
85
- <a
86
- class="dropdown-item"
87
- href="/sso/logout"
88
- >
89
- {{ $t('Logout') }}
90
- </a>
91
84
  </template>
85
+ <hr class="dropdown-divider">
86
+ <a
87
+ class="dropdown-item"
88
+ href="/sso/logout"
89
+ >
90
+ {{ $t('Logout') }}
91
+ </a>
92
92
  </template>
93
93
  </div>
94
94
  </div>
@@ -25,7 +25,7 @@
25
25
  </div>
26
26
  <div
27
27
  v-if="display"
28
- class="d-flex align-items-center flex-grow-1 px-5"
28
+ class="d-flex align-items-center flex-grow-1 ps-2"
29
29
  >
30
30
  <audio
31
31
  id="audio-player"
@@ -147,23 +147,30 @@ export default defineComponent({
147
147
 
148
148
  <style lang="scss">
149
149
  .octopus-app{
150
- .player-grow-content {
151
- display: flex;
152
- flex-direction: column;
153
- flex-grow: 1;
154
- flex-shrink: 1;
155
- overflow: hidden;
156
- font-size: 0.8rem;
157
- .progress {
158
- height: 4px;
159
- position: relative;
160
- }
161
- .progress-bar-duration {
162
- width: 10px;
163
- }
164
- .progress-bar {
165
- height: 4px;
166
- position: absolute;
150
+ .player-grow-content {
151
+ display: flex;
152
+ flex-direction: column;
153
+ flex-grow: 1;
154
+ flex-shrink: 1;
155
+ overflow: hidden;
156
+ font-size: 0.8rem;
157
+ .progress {
158
+ height: 4px;
159
+ position: relative;
160
+ @media (max-width: 960px) {
161
+ height: 8px;
162
+ }
163
+ }
164
+ .progress-bar-duration {
165
+ width: 10px;
166
+ }
167
+ .progress-bar {
168
+ height: 4px;
169
+ position: absolute;
170
+ @media (max-width: 960px) {
171
+ height: 8px;
172
+ }
173
+ }
167
174
  }
168
175
  }
169
176
  }
@@ -258,10 +258,7 @@ export default defineComponent({
258
258
 
259
259
  date(): string {
260
260
  if (1970 !== moment(this.podcast.pubDate).year()){
261
- if('fr' === this.$i18n.locale){
262
- return moment(this.podcast.pubDate).format('D MMMM YYYY [à] HH[h]mm');
263
- }
264
- return moment(this.podcast.pubDate).format('D MMMM YYYY [at] HH[h]mm');
261
+ return moment(this.podcast.pubDate).format('D MMMM YYYY, HH[h]mm');
265
262
  }
266
263
  return '';
267
264
  },
package/src/locale/en.ts CHANGED
@@ -154,10 +154,10 @@ export default{
154
154
  'Podcast in error': 'Podcast in error',
155
155
  'See podcasts no visible':
156
156
  'See podcasts not visible to the audience',
157
- 'Number podcasts': '{nb} of podcasts',
158
- 'Number emissions': '{nb} of series',
159
- 'Number participants': '{nb} of speakers',
160
- 'Number productors': '{nb} of Producers',
157
+ 'Number podcasts': '{nb} podcasts',
158
+ 'Number emissions': '{nb} series',
159
+ 'Number participants': '{nb} speakers',
160
+ 'Number productors': '{nb} Producers',
161
161
  'Display next': 'Display the following episodes',
162
162
  'Display previous': 'Display previous episodes',
163
163
  Play: 'Play',
@@ -240,9 +240,9 @@ export default{
240
240
  'All live emission button': "All lives in the serie",
241
241
  'player parameters': 'Setting of player',
242
242
  'Start at': 'Start at',
243
- 'sort by score': ' by relevancy score',
244
- 'sort by alphabetical': ' sorted alphabetically',
245
- 'sort by date': ' sorted by date',
243
+ 'sort by score': 'by relevancy score',
244
+ 'sort by alphabetical': 'sorted alphabetically',
245
+ 'sort by date': 'sorted by date',
246
246
  'Be the first to react': 'Be the first to react',
247
247
  "Podcast's comments": "Podcast's comments",
248
248
  '()': '({nb})',
package/src/locale/fr.ts CHANGED
@@ -240,9 +240,9 @@ export default{
240
240
  'All live emission button': "Tous les lives de l'émission",
241
241
  'player parameters': 'Paramètres du player',
242
242
  'Start at': 'Démarrer à',
243
- 'sort by score': ' triés par pertinence',
244
- 'sort by alphabetical': ' triés par ordre alphabétique',
245
- 'sort by date': ' triés par ordre antéchronologique',
243
+ 'sort by score': 'triés par pertinence',
244
+ 'sort by alphabetical': 'triés par ordre alphabétique',
245
+ 'sort by date': 'triés par ordre antéchronologique',
246
246
  'Be the first to react': 'Soyez le premier à réagir à ce podcast',
247
247
  "Podcast's comments": "Commentaires de l'épisode",
248
248
  '()': '({nb})',
package/src/locale/it.ts CHANGED
@@ -107,7 +107,7 @@ export default{
107
107
  'Authorized advertising': 'Pubblicità autorizzata',
108
108
  Distribute: 'Distribuzione',
109
109
  'Rss feed:': 'RSS Feed:',
110
- 'See more': 'Vedi altro',
110
+ 'See more': 'Ascolta altri',
111
111
  'Search results': 'Cerca risultati per "{query}"',
112
112
  'Search - no results': 'Ricerca - nessun risultato per "{query}"',
113
113
  Downloading: 'In download',
@@ -124,7 +124,7 @@ export default{
124
124
  'Embed link': 'Inserisci lettore',
125
125
  'Embedly link': 'Player link',
126
126
  'Direct link': 'Audio link',
127
- 'Advanced filters': 'Impostazioni avanzate',
127
+ 'Advanced filters': 'Ricerca avanzata',
128
128
  Advertising: 'Pubblicità',
129
129
  'By topic': 'Per tema',
130
130
  'By rubric': 'Per rubrica',
@@ -151,10 +151,10 @@ export default{
151
151
  'Podcast in error': 'Podcast in errore',
152
152
  'See podcasts no visible':
153
153
  'Vedi podcast non visibili al pubblico',
154
- 'Number podcasts': '{nb} di podcast',
155
- 'Number emissions': '{nb} di serie',
156
- 'Number participants': '{nb} di speaker',
157
- 'Number productors': '{nb} di producer',
154
+ 'Number podcasts': '{nb} podcast',
155
+ 'Number emissions': '{nb} serie',
156
+ 'Number participants': '{nb} speaker',
157
+ 'Number productors': '{nb} producer',
158
158
  'Display next': 'Mostra episodi seguenti',
159
159
  'Display previous': 'Mostra episodi precedenti',
160
160
  Play: 'Play',
@@ -285,7 +285,7 @@ export default{
285
285
  "Copy this page URL":"Copia la URL di questa pagina",
286
286
  "Custom version":"Versione customizzata",
287
287
  "All":"Tutto",
288
- 'By category': 'Per categoria IAB',
288
+ 'By category': 'Per categoria',
289
289
  "Add a sort criterion by topic":"Aggiungi un criterio di suddivisione per tema",
290
290
  'Share QR Code': "Condividi il QR Code",
291
291
  "Download":"Download",