@saooti/octopus-sdk 30.0.75 → 30.0.78
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
|
@@ -571,4 +571,7 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
571
571
|
* 30.0.72 Ajout des traductions
|
|
572
572
|
* 30.0.73 Ajout classe css
|
|
573
573
|
* 30.0.74 Error locales en allemand (je sens que ça va être fun cette histoire)
|
|
574
|
-
* 30.0.75 Parlement
|
|
574
|
+
* 30.0.75 Parlement
|
|
575
|
+
* 30.0.76 Space
|
|
576
|
+
* 30.0.77 V-Calendar bloque version
|
|
577
|
+
* 30.0.78 a -> word-break
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saooti/octopus-sdk",
|
|
3
|
-
"version": "30.0.
|
|
3
|
+
"version": "30.0.78",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Javascript SDK for using octopus",
|
|
6
6
|
"author": "Saooti",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"qrcode.vue": "^3.3.3",
|
|
32
32
|
"sass": "^1.43.4",
|
|
33
33
|
"sass-loader": "^12.3.0",
|
|
34
|
-
"v-calendar": "
|
|
34
|
+
"v-calendar": "3.0.0-alpha.6",
|
|
35
35
|
"vue": "^3.2.21",
|
|
36
36
|
"vue-i18n": "^9.2.0-beta.17",
|
|
37
37
|
"vue-multiselect": "^3.0.0-alpha.2",
|
package/src/assets/general.scss
CHANGED
|
@@ -218,13 +218,21 @@ export default defineComponent({
|
|
|
218
218
|
}
|
|
219
219
|
event.preventDefault();
|
|
220
220
|
const rubriqueChosenId = this.rubriqueId[this.rubriqueId.length - 1];
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
rubriquageId: this.$store.state.filter.rubriquageArray[this.rubriqueId.length - 1].rubriquageId,
|
|
221
|
+
let filterToAdd: RubriquageFilter = {
|
|
222
|
+
rubriquageId: 0,
|
|
224
223
|
rubriqueId: rubriqueChosenId,
|
|
225
|
-
nameRubriquage:
|
|
226
|
-
nameRubrique:
|
|
224
|
+
nameRubriquage: '',
|
|
225
|
+
nameRubrique: ''
|
|
227
226
|
};
|
|
227
|
+
if(this.$store.state.filter.rubriquageArray.length){
|
|
228
|
+
const rubriqueChosen = this.$store.state.filter.rubriquageArray[this.rubriqueId.length - 1].rubriques.find((element: Rubrique) => element.rubriqueId === rubriqueChosenId);
|
|
229
|
+
filterToAdd = {
|
|
230
|
+
rubriquageId: this.$store.state.filter.rubriquageArray[this.rubriqueId.length - 1].rubriquageId,
|
|
231
|
+
rubriqueId: rubriqueChosenId,
|
|
232
|
+
nameRubriquage: this.$store.state.filter.rubriquageArray[this.rubriqueId.length - 1].title,
|
|
233
|
+
nameRubrique: rubriqueChosen.name
|
|
234
|
+
};
|
|
235
|
+
}
|
|
228
236
|
const newFilter: Array<RubriquageFilter> = Array.from(this.$store.state.filter.rubriqueFilter);
|
|
229
237
|
newFilter.push(filterToAdd);
|
|
230
238
|
this.$store.commit('filterRubrique', newFilter);
|
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
import ClassicCheckbox from '../../form/ClassicCheckbox.vue';
|
|
92
92
|
import Snackbar from '../../misc/Snackbar.vue';
|
|
93
93
|
import moment from 'moment';
|
|
94
|
+
//@ts-ignore
|
|
94
95
|
import VSwatches from 'vue3-swatches';
|
|
95
96
|
// @ts-ignore
|
|
96
97
|
import humanizeDuration from 'humanize-duration';
|