@saooti/octopus-sdk 31.0.44 → 31.0.47
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 +3 -0
- package/package.json +1 -1
- package/src/assets/multiselect.scss +11 -6
- package/src/components/display/playlist/PodcastPlaylistInlineList.vue +2 -2
- package/src/components/display/podcasts/PodcastInlineListTemplate.vue +1 -1
- package/src/components/mixins/player/playerLive.ts +2 -2
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -10,9 +10,20 @@
|
|
|
10
10
|
.multiselect__tags, .multiselect__input, .multiselect__single{
|
|
11
11
|
background: transparent !important;
|
|
12
12
|
}
|
|
13
|
+
.multiselect__tags-wrap{
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
13
17
|
.multiselect__tags{
|
|
14
18
|
border: 0;
|
|
15
19
|
padding-left: 0;
|
|
20
|
+
padding-top: 0;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
24
|
+
.multiselect__tag{
|
|
25
|
+
margin-bottom: 0;
|
|
26
|
+
border: 1px gray solid;
|
|
16
27
|
}
|
|
17
28
|
}
|
|
18
29
|
|
|
@@ -140,10 +151,6 @@
|
|
|
140
151
|
box-sizing: border-box;
|
|
141
152
|
}
|
|
142
153
|
|
|
143
|
-
.multiselect:focus {
|
|
144
|
-
outline: none;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
154
|
.multiselect--disabled {
|
|
148
155
|
background: #ededed;
|
|
149
156
|
pointer-events: none;
|
|
@@ -195,7 +202,6 @@
|
|
|
195
202
|
.multiselect__input:focus,
|
|
196
203
|
.multiselect__single:focus {
|
|
197
204
|
border-color: #a8a8a8;
|
|
198
|
-
outline: none;
|
|
199
205
|
}
|
|
200
206
|
|
|
201
207
|
.multiselect__single {
|
|
@@ -392,7 +398,6 @@
|
|
|
392
398
|
|
|
393
399
|
.multiselect__option--highlight {
|
|
394
400
|
background: #f8f9fa;
|
|
395
|
-
outline: none;
|
|
396
401
|
color: #000;
|
|
397
402
|
}
|
|
398
403
|
|
|
@@ -69,8 +69,8 @@ import ClassicLoading from '../../form/ClassicLoading.vue';
|
|
|
69
69
|
const PHONE_WIDTH = 960;
|
|
70
70
|
import { state } from '../../../store/paramStore';
|
|
71
71
|
import { Podcast } from '@/store/class/general/podcast';
|
|
72
|
+
import { Playlist } from '@/store/class/general/playlist';
|
|
72
73
|
import { defineComponent } from 'vue'
|
|
73
|
-
import { Playlist } from '@saooti/octopus-api/class/playlist';
|
|
74
74
|
export default defineComponent({
|
|
75
75
|
name: 'PodcastPlaylistInlineList',
|
|
76
76
|
|
|
@@ -150,7 +150,7 @@ export default defineComponent({
|
|
|
150
150
|
this.loading = true;
|
|
151
151
|
this.playlist = await octopusApi.fetchData<Playlist>(0, 'playlist/'+this.playlistId);
|
|
152
152
|
this.allPodcasts = await octopusApi.fetchData<Array<Podcast>>(0, 'playlist/'+this.playlistId+'/content');
|
|
153
|
-
if (!((state.generalParameters.authenticated && state.generalParameters.organisationId === this.playlist
|
|
153
|
+
if (!((state.generalParameters.authenticated && state.generalParameters.organisationId === this.playlist?.organisation?.id) ||
|
|
154
154
|
state.generalParameters.isAdmin)) {
|
|
155
155
|
this.allPodcasts = this.allPodcasts.filter((p: Podcast|null) => {
|
|
156
156
|
return (
|
|
@@ -56,14 +56,14 @@ export const playerLive = defineComponent({
|
|
|
56
56
|
reject('Hls is not supported ! ');
|
|
57
57
|
}
|
|
58
58
|
let hls = new Hls();
|
|
59
|
-
if(this.$store.state.authentication.isAuthenticated && this.$store.state.oAuthParam.accessToken){
|
|
59
|
+
/* if(this.$store.state.authentication.isAuthenticated && this.$store.state.oAuthParam.accessToken){
|
|
60
60
|
hls = new Hls({xhrSetup:
|
|
61
61
|
(xhr: XMLHttpRequest) => {
|
|
62
62
|
xhr.setRequestHeader("Authorization", "Bearer " + this.$store.state.oAuthParam.accessToken);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
|
-
}
|
|
66
|
+
} */
|
|
67
67
|
hls.on(Hls.Events.MANIFEST_PARSED, async () => {
|
|
68
68
|
if(!this.live){ return; }
|
|
69
69
|
let downloadId = null;
|