diff --git a/package-lock.json b/package-lock.json index 9e6ec88b6..f648a88e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1951,9 +1951,9 @@ } }, "buefy": { - "version": "0.8.6", - "resolved": "https://registry.npmjs.org/buefy/-/buefy-0.8.6.tgz", - "integrity": "sha512-7woxrdwANcnJbe7lofPxkJLGRRGIVwFXOo0kzEpiNB6alQj18NV6UrdAKse+LWCOADz+AeHe5gyc6qdgRjG5mw==", + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/buefy/-/buefy-0.8.7.tgz", + "integrity": "sha512-Nmd6yuNPTQkwGXflLeRCINnLQWvDZcDqbw+7sy+LjX0n5kP5kcJ4DFc43koO+yPd4MpB7ZheHhLk5Sn00NnToA==", "requires": { "bulma": "0.7.5" } @@ -4767,9 +4767,9 @@ } }, "he": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", - "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true }, "hmac-drbg": { @@ -5682,11 +5682,6 @@ "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", "dev": true }, - "lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" - }, "lodash.tail": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.tail/-/lodash.tail-4.1.1.tgz", @@ -6714,9 +6709,9 @@ } }, "popper.js": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.14.3.tgz", - "integrity": "sha1-FDj5jQRqz3tNeM1QK/QYrGTU8JU=" + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.0.tgz", + "integrity": "sha512-+G+EkOPoE5S/zChTpmBSSDYmhXJ5PsW8eMhH8cP/CQHMFPBG/kC9Y5IIw6qNYgdJ+/COf0ddY2li28iHaZRSjw==" }, "portfinder": { "version": "1.0.17", @@ -8081,9 +8076,9 @@ } }, "sortablejs": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.7.0.tgz", - "integrity": "sha1-gKKyNwq9Vo4c7IwnETHvMKkE+ig=" + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.10.1.tgz", + "integrity": "sha512-N6r7GrVmO8RW1rn0cTdvK3JR0BcqecAJ0PmYMCL3ZuqTH3pY+9QyqkmJSkkLyyDvd+AJnwaxTP22Ybr/83V9hQ==" }, "source-list-map": { "version": "2.0.0", @@ -9072,13 +9067,13 @@ "dev": true }, "v-tooltip": { - "version": "2.0.0-rc.33", - "resolved": "https://registry.npmjs.org/v-tooltip/-/v-tooltip-2.0.0-rc.33.tgz", - "integrity": "sha1-ePfY6cNCZWIr5lup3HjGfx3AK3M=", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/v-tooltip/-/v-tooltip-2.0.2.tgz", + "integrity": "sha512-xQ+qzOFfywkLdjHknRPgMMupQNS8yJtf9Utd5Dxiu/0n4HtrxqsgDtN2MLZ0LKbburtSAQgyypuE/snM8bBZhw==", "requires": { - "lodash.merge": "^4.6.0", - "popper.js": "^1.12.9", - "vue-resize": "^0.4.3" + "lodash": "^4.17.11", + "popper.js": "^1.15.0", + "vue-resize": "^0.4.5" } }, "v8-compile-cache": { @@ -9122,9 +9117,9 @@ } }, "vue": { - "version": "2.5.17", - "resolved": "https://registry.npmjs.org/vue/-/vue-2.5.17.tgz", - "integrity": "sha512-mFbcWoDIJi0w0Za4emyLiW72Jae0yjANHbCVquMKijcavBGypqlF7zHRgMa5k4sesdv7hv2rB4JPdZfR+TPfhQ==" + "version": "2.6.10", + "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.10.tgz", + "integrity": "sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ==" }, "vue-awesome-swiper": { "version": "3.1.3", @@ -9222,9 +9217,9 @@ "integrity": "sha512-viecHQiHVLez7HlYUQsv1wJb2MT/RDSzkDp6m3In41vPrk6OsBmT2qRE8LZqYIA4daIwrnx/Xm8h4fjOpuE3hw==" }, "vue-resize": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-0.4.4.tgz", - "integrity": "sha512-Lb/cnE2N9Y42ZJPw8wpjkpuX5a9ReerWNGcQRcbNCwfCnkHG6++FurNNmLIdU8dcCTH4c5rtTPdxBqFoRMK2cQ==" + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-0.4.5.tgz", + "integrity": "sha512-bhP7MlgJQ8TIkZJXAfDf78uJO+mEI3CaLABLjv0WNzr4CcGRGPIAItyWYnP6LsPA4Oq0WE+suidNs6dgpO4RHg==" }, "vue-router": { "version": "3.0.1", @@ -9242,9 +9237,9 @@ } }, "vue-template-compiler": { - "version": "2.5.17", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.5.17.tgz", - "integrity": "sha512-63uI4syCwtGR5IJvZM0LN5tVsahrelomHtCxvRkZPJ/Tf3ADm1U1wG6KWycK3qCfqR+ygM5vewUvmJ0REAYksg==", + "version": "2.6.10", + "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.6.10.tgz", + "integrity": "sha512-jVZkw4/I/HT5ZMvRnhv78okGusqe0+qH2A0Em0Cp8aq78+NK9TII263CDVz2QXZsIT+yyV/gZc/j/vlwa+Epyg==", "dev": true, "requires": { "de-indent": "^1.0.2", @@ -9263,11 +9258,11 @@ "integrity": "sha512-UquSfnSWejD0zAfcD+3jJ1chUAkOAyoxya9Lxh9acCRtrlmGcAIvd0cQYraWqKenbuZJUdum+S174atv2AuEHQ==" }, "vuedraggable": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-2.16.0.tgz", - "integrity": "sha512-fr9gcWKXMJlzbbtJcrQs4kU7qdOZqd4SEpAcx+r0nykbW8AygZN0aKVpadEtI53T8A2azhzCdXMvEqrLuKE2fA==", + "version": "2.23.2", + "resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-2.23.2.tgz", + "integrity": "sha512-PgHCjUpxEAEZJq36ys49HfQmXglattf/7ofOzUrW2/rRdG7tu6fK84ir14t1jYv4kdXewTEa2ieKEAhhEMdwkQ==", "requires": { - "sortablejs": "^1.7.0" + "sortablejs": "^1.10.1" } }, "vuex": { diff --git a/package.json b/package.json index 9adf8c99c..6e06a54ae 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "axios": "^0.19.0", - "buefy": "^0.8.6", + "buefy": "^0.8.7", "bulma": "^0.7.5", "mdi": "^2.2.43", "moment": "^2.22.2", @@ -17,13 +17,13 @@ "react": "^16.8.3", "react-dom": "^16.8.3", "t": "^0.5.1", - "v-tooltip": "^2.0.0-rc.33", - "vue": "^2.5.17", + "v-tooltip": "^2.0.2", + "vue": "^2.5.22", "vue-awesome-swiper": "^3.1.3", "vue-masonry-css": "^1.0.3", "vue-router": "^3.0.1", "vue-the-mask": "^0.11.1", - "vuedraggable": "^2.16.0", + "vuedraggable": "^2.23.2", "vuex": "^3.0.1" }, "devDependencies": { @@ -43,7 +43,7 @@ "style-loader": "^0.23.1", "terser-webpack-plugin": "^1.1.0", "vue-loader": "^15.4.2", - "vue-template-compiler": "^2.5.17", + "vue-template-compiler": "^2.5.22", "webpack": "^4.22.0", "webpack-bundle-analyzer": "^3.3.2", "webpack-cli": "^3.1.2", diff --git a/src/admin/components/lists/filters-list.vue b/src/admin/components/lists/filters-list.vue index 7a53cc38a..e355e49a1 100644 --- a/src/admin/components/lists/filters-list.vue +++ b/src/admin/components/lists/filters-list.vue @@ -39,15 +39,13 @@ class="active-filters-area" @change="handleChangeOnFilter" :class="{'filters-area-receive': isDraggingFromAvailable}" - v-model="activeFilterList" - :options="{ - group: { name:'filters', pull: false, put: true }, - sort: (openedFilterId == '' || openedFilterId == undefined) && !isRepositoryLevel, - //disabled: openedFilterId != '' && openedFilterId != undefined, - handle: '.handle', - ghostClass: 'sortable-ghost', - filter: 'not-sortable-item', - animation: '250'}"> + v-model="activeFilterList" + :group="{ name:'filters', pull: false, put: true }" + :sort="(openedFilterId == '' || openedFilterId == undefined) && !isRepositoryLevel" + :handle="'.handle'" + ghost-class="sortable-ghost" + filter="not-sortable-item" + :animation="250">
diff --git a/src/classes/metadata-types/numeric/Numeric.vue b/src/classes/metadata-types/numeric/Numeric.vue
index d08e3529a..07b62667a 100644
--- a/src/classes/metadata-types/numeric/Numeric.vue
+++ b/src/classes/metadata-types/numeric/Numeric.vue
@@ -4,6 +4,7 @@
:id="metadatum.metadatum.metadata_type_object.component + '-' + metadatum.metadatum.slug"
:value="value"
@input="onInput($event)"
+ @blur="onBlur"
type="number"
lang="en"
:step="getStep"/>
@@ -27,6 +28,9 @@
methods: {
onInput(value) {
this.$emit('input', value);
+ },
+ onBlur() {
+ this.$emit('blur');
}
}
}
diff --git a/src/classes/metadata-types/relationship/Relationship.vue b/src/classes/metadata-types/relationship/Relationship.vue
index 5520ffad6..47fd0a1c3 100644
--- a/src/classes/metadata-types/relationship/Relationship.vue
+++ b/src/classes/metadata-types/relationship/Relationship.vue
@@ -8,6 +8,7 @@
size="is-small"
icon="magnify"
@input="onInput"
+ @blur="onBlur"
:data="options"
:maxtags="maxtags != undefined ? maxtags : (metadatum.metadatum.multiple == 'yes' || allowNew === true ? 100 : 1)"
autocomplete
@@ -95,6 +96,9 @@
this.selected = newSelected;
this.$emit('input', newSelected.map((item) => item.value));
},
+ onBlur() {
+ this.$emit('blur');
+ },
search: _.debounce(function(query) {
if ( this.selected.length > 0 && this.metadatum.metadatum.multiple === 'no')
return '';
diff --git a/src/classes/metadata-types/selectbox/Selectbox.vue b/src/classes/metadata-types/selectbox/Selectbox.vue
index 538c39724..b7e768883 100644
--- a/src/classes/metadata-types/selectbox/Selectbox.vue
+++ b/src/classes/metadata-types/selectbox/Selectbox.vue
@@ -37,7 +37,7 @@
methods: {
onSelected(value) {
this.$emit('input', value);
- },
+ }
}
}
\ No newline at end of file
diff --git a/src/classes/metadata-types/tainacan-form-item.vue b/src/classes/metadata-types/tainacan-form-item.vue
index 08f0bd7b6..c1985c226 100644
--- a/src/classes/metadata-types/tainacan-form-item.vue
+++ b/src/classes/metadata-types/tainacan-form-item.vue
@@ -45,7 +45,8 @@
:is="metadatum.metadatum.metadata_type_object.component"
v-model="inputs[0]"
:metadatum="metadatum"
- @input="changeValue()"/>
+ @input="changeValue()"
+ @blur="performValueChange()"/>