@saooti/octopus-sdk 30.0.52 → 30.0.55

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
@@ -548,4 +548,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
548
548
  * 30.0.49 Podcastmaker ProgressBar
549
549
  * 30.0.50 Commentaires live
550
550
  * 30.0.51 Commentaires live
551
- * 30.0.52 Ajout rubriqueIdFilter
551
+ * 30.0.52 Ajout rubriqueIdFilter
552
+ * 30.0.53 Commentaires live
553
+ * 30.0.54 Multiselect not reload on close
554
+ * 30.0.55 Align participant img
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "30.0.52",
3
+ "version": "30.0.55",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -212,6 +212,7 @@ body{
212
212
  border-radius: 50%;
213
213
  background-size: cover;
214
214
  box-shadow: 0px 8px 26px 6px rgba(64, 163, 114, 0.3);
215
+ margin: auto;
215
216
  }
216
217
 
217
218
  .comma {
@@ -28,9 +28,8 @@
28
28
  :show-no-results="true"
29
29
  :hide-selected="true"
30
30
  :show-labels="false"
31
- @open="clearAll"
31
+ @open="onOpen"
32
32
  @search-change="onSearchCategory"
33
- @close="onClose"
34
33
  @select="onCategorySelected"
35
34
  >
36
35
  <template #singleLabel="{ option }">
@@ -169,14 +168,11 @@ export default defineComponent({
169
168
  }
170
169
  },
171
170
  methods: {
172
- clearAll(): void {
171
+ onOpen(): void {
173
172
  (this.$refs.multiselectRef as VueMultiselect).$refs.search.setAttribute(
174
173
  'autocomplete',
175
174
  'off'
176
175
  );
177
- if (undefined === this.categoryArray) {
178
- this.category = undefined;
179
- }
180
176
  if (
181
177
  undefined !== this.categorySelected ||
182
178
  undefined !== this.categoryArray ||
@@ -199,14 +195,6 @@ export default defineComponent({
199
195
  this.categories = this.totalCategories;
200
196
  }
201
197
  },
202
- onClose(): void {
203
- if (!this.category && undefined === this.categoryArray) {
204
- this.category = getDefaultCategory(this.defaultanswer);
205
- if(this.category){
206
- this.onCategorySelected(this.category);
207
- }
208
- }
209
- },
210
198
  onSearchCategory(query: string): void {
211
199
  this.isLoading = true;
212
200
  const categoryDefault = getDefaultCategory(this.defaultanswer);
@@ -14,7 +14,7 @@
14
14
  comment.name
15
15
  }}</b>
16
16
  <Popover
17
- v-if="!editRight && !isValid"
17
+ :disable="editRight || isValid"
18
18
  :target="'popover-comment' + comment.comId"
19
19
  >
20
20
  {{ $t('Comment waiting') }}
@@ -29,7 +29,6 @@
29
29
  :show-labels="false"
30
30
  @search-change="onSearchEmission"
31
31
  @open="onOpen"
32
- @close="onClose"
33
32
  @select="onEmissionSelected"
34
33
  >
35
34
  <template #clear="{ props }">
@@ -152,16 +151,8 @@ export default defineComponent({
152
151
  'autocomplete',
153
152
  'off'
154
153
  );
155
- this.clearAll();
156
154
  this.onSearchEmission();
157
155
  },
158
- onClose(): void {
159
- if (this.emission) return;
160
- this.emission = this.defaultanswer
161
- ? getDefaultEmission(this.defaultanswer)
162
- : undefined;
163
- this.$emit('selected', this.emission);
164
- },
165
156
  onEmissionSelected(emission: Emission): void {
166
157
  this.$emit('selected', emission);
167
158
  },
@@ -31,7 +31,6 @@
31
31
  :class="{ 'multiselect-transparent': light }"
32
32
  @search-change="onSearchOrganisation"
33
33
  @open="onOpen"
34
- @close="onClose"
35
34
  @select="onOrganisationSelected"
36
35
  >
37
36
  <template #clear="{ props }">
@@ -207,16 +206,8 @@ export default defineComponent({
207
206
  'autocomplete',
208
207
  'off'
209
208
  );
210
- this.clearAll();
211
209
  this.onSearchOrganisation();
212
210
  },
213
- onClose(): void {
214
- if (this.organisation) return;
215
- this.organisation = this.defaultanswer
216
- ? getDefaultOrganistion(this.defaultanswer)
217
- : undefined;
218
- this.$emit('selected', this.organisation);
219
- },
220
211
  onOrganisationSelected(organisation: Organisation|undefined): void {
221
212
  this.$emit('selected', organisation);
222
213
  },
@@ -29,9 +29,8 @@
29
29
  :show-no-results="true"
30
30
  :hide-selected="true"
31
31
  :show-labels="false"
32
- @open="clearAll"
32
+ @open="onOpen"
33
33
  @search-change="onSearchRubrique"
34
- @close="onClose"
35
34
  @select="onRubriqueSelected"
36
35
  >
37
36
  <template #singleLabel="{ option }">
@@ -187,14 +186,11 @@ export default defineComponent({
187
186
  );
188
187
  }
189
188
  },
190
- clearAll(): void {
189
+ onOpen(): void {
191
190
  (this.$refs.multiselectRef as VueMultiselect).$refs.search.setAttribute(
192
191
  'autocomplete',
193
192
  'off'
194
193
  );
195
- if (undefined === this.rubriqueArray) {
196
- this.rubrique = undefined;
197
- }
198
194
  this.rubriques = this.initRubriquesArray();
199
195
  },
200
196
  onClose(): void {
package/src/main.ts CHANGED
@@ -6,6 +6,7 @@ import I18nResources from './locale/messages';
6
6
  import router from '@/router/router';
7
7
  import moment from 'moment';
8
8
  import store from '@/store/AppStore';
9
+ import paramStore from '@/store/paramStore';
9
10
  import { LocaleMessage } from '@intlify/core-base';
10
11
  /* import 'popper.js/dist/popper.min.js'; */
11
12
  /* import 'jquery/src/jquery.js'; */
@@ -32,6 +33,22 @@ const i18n = createI18n({
32
33
  });
33
34
  moment.locale(language);
34
35
 
36
+
37
+ paramStore.initialize({
38
+ generalParameters: {},
39
+ podcastPage: {},
40
+ podcastsPage: {},
41
+ emissionsPage: {},
42
+ emissionPage: {},
43
+ intervenantPage: {},
44
+ intervenantsPage: {},
45
+ searchPage: {},
46
+ player: {},
47
+ footer: {},
48
+ organisation: {},
49
+ octopusApi: {}
50
+ });
51
+
35
52
  // Initialisation store
36
53
  createApp(App)
37
54
  .use(i18n)