@saooti/octopus-sdk 30.0.62 → 30.0.65

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
@@ -558,4 +558,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
558
558
  * 30.0.59 Pb productorChooser
559
559
  * 30.0.60 PlaylistPodcastInlineList
560
560
  * 30.0.61 Page podcast -> init recherche
561
- * 30.0.62 Italian translation
561
+ * 30.0.62 Italian translation
562
+ * 30.0.63 Italian translation
563
+ * 30.0.64 Modif Le soir
564
+ * 30.0.65 OAuthType
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "30.0.62",
3
+ "version": "30.0.65",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -238,6 +238,13 @@ body{
238
238
  .c-hand-auto {
239
239
  cursor: auto;
240
240
  }
241
+ .two-line-clamp{
242
+ overflow: hidden;
243
+ display: -webkit-box;
244
+ -webkit-line-clamp: 2;
245
+ -webkit-box-orient: vertical;
246
+ word-break: break-word;
247
+ }
241
248
 
242
249
  .html-wysiwyg-content{
243
250
  h3,h4{
@@ -50,11 +50,23 @@
50
50
  <div
51
51
  v-for="p in podcasts"
52
52
  :key="p.podcastId"
53
- class="border-top emission-item-border-color p-2 secondary-bg d-flex"
53
+ class="border-top emission-item-border-color p-2 secondary-bg d-flex flex-column"
54
54
  >
55
+ <router-link
56
+ v-if="isProgressBar"
57
+ :to="{
58
+ name: 'podcast',
59
+ params: { podcastId: p.podcastId },
60
+ query: { productor: $store.state.filter.organisationId },
61
+ }"
62
+ class="text-dark fw-bold two-line-clamp"
63
+ >
64
+ {{ p.title }}
65
+ </router-link>
55
66
  <div class="d-flex justify-content-between flex-grow-1">
56
67
  <div class="d-flex flex-column">
57
68
  <router-link
69
+ v-if="!isProgressBar"
58
70
  :to="{
59
71
  name: 'podcast',
60
72
  params: { podcastId: p.podcastId },
@@ -153,6 +165,9 @@ export default defineComponent({
153
165
  },
154
166
 
155
167
  computed: {
168
+ isProgressBar(): boolean{
169
+ return (state.emissionsPage.progressBar as boolean);
170
+ },
156
171
  buttonMore(): boolean {
157
172
  return (state.emissionsPage.buttonMore as boolean);
158
173
  },
@@ -197,6 +197,16 @@ export default defineComponent({
197
197
  s: () => 'sec',
198
198
  ms: () => 'ms',
199
199
  },
200
+ shortIt: {
201
+ y: () => 'anni',
202
+ mo: () => 'mesi',
203
+ w: () => 'settimane',
204
+ d: () => 'giorni',
205
+ h: () => 'h',
206
+ m: () => 'min',
207
+ s: () => 'sec',
208
+ ms: () => 'ms',
209
+ },
200
210
  },
201
211
  });
202
212
  }
@@ -1,14 +1,16 @@
1
1
  <template>
2
2
  <div class="page-box">
3
3
  <template v-if="loaded && !error">
4
- <h1 v-if="!isOuestFrance">
5
- {{ titlePage }}
6
- </h1>
7
- <Countdown
8
- v-if="isCounter"
9
- :time-remaining="timeRemaining"
10
- />
11
- <div class="d-flex">
4
+ <div class="page-podcast-title">
5
+ <h1 v-if="!isOuestFrance">
6
+ {{ titlePage }}
7
+ </h1>
8
+ <Countdown
9
+ v-if="isCounter"
10
+ :time-remaining="timeRemaining"
11
+ />
12
+ </div>
13
+ <div class="d-flex page-podcast">
12
14
  <div class="d-flex flex-column flex-super-grow">
13
15
  <RecordingItemButton
14
16
  v-if="
package/src/locale/it.ts CHANGED
@@ -68,7 +68,7 @@ export default{
68
68
  'Episode name image': "Immagine dell'episodio {name}",
69
69
  'More episodes of this emission': "Altri episodi di questa serie",
70
70
  'More episodes of this category : {name}': "Altri episodi della categoria: {name}",
71
- 'All podcast serie button': "Seleziona tutte le serie",
71
+ 'All podcast emission button': "Seleziona tutte le serie",
72
72
  Duration: 'Durata: {duration}',
73
73
  Animator: 'Host',
74
74
  'No category filter': 'Nessun filtro per la categoria',
@@ -293,4 +293,6 @@ export default{
293
293
  'From RSS': "Da un RSS Feed ",
294
294
  "User menu":"Menu utente",
295
295
  'Podcast tags': 'Tag podcast',
296
+ "Term of use":"Termini d'uso",
297
+ 'More episodes of this category : ': "Altri episodi su questo tema : {name}",
296
298
  };
@@ -185,9 +185,7 @@ export interface OctopusApi{
185
185
  oAuthParam?: {
186
186
  accessToken: string,
187
187
  refreshToken: string,
188
- accessTokenUri: string,
189
188
  expiration: string,
190
- clientId: string,
191
189
  },
192
190
  rubriqueIdFilter?: Array<number>,
193
191
  }
@@ -138,8 +138,6 @@ export function emptyPodcastData(): Podcast{
138
138
  oAuthParam: {
139
139
  accessToken: string | undefined;
140
140
  refreshToken: string | undefined;
141
- accessTokenUri: string | undefined;
142
- clientId: string | undefined;
143
141
  expiration: number | undefined;
144
142
  };
145
143
  media: Media;
@@ -250,8 +248,6 @@ export function emptyPodcastData(): Podcast{
250
248
  oAuthParam: {
251
249
  accessToken: undefined ,
252
250
  refreshToken: undefined ,
253
- accessTokenUri: undefined ,
254
- clientId: undefined ,
255
251
  expiration:undefined
256
252
  },
257
253
  media: {