@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 CHANGED
@@ -635,3 +635,6 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
635
635
  * 31.0.42 #11222
636
636
  * 31.0.43 #10963
637
637
  * 31.0.44 Début CRUD API
638
+ * 31.0.45 Live
639
+ * 31.0.46 Pb css
640
+ * 31.0.47 Pétouilles Css multiselect
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "31.0.44",
3
+ "version": "31.0.47",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -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.organisation.id) ||
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,7 +56,7 @@
56
56
  <slot name="list-inline" />
57
57
  <router-link
58
58
  v-if="!isButtonNextTitle"
59
- class="btn btn-link align-self-center width-fit-content m-4"
59
+ class="btn btn-primary align-self-center width-fit-content m-4"
60
60
  :to="refTo"
61
61
  @click="handleSeeMoreButton"
62
62
  >
@@ -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;