Update to @nextcloud/vue@2.0.0 and fix vue2-datepicker translate injection

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-05-23 20:07:49 +02:00
parent 1d589fe3e6
commit 9b8eb6d354
3 changed files with 55 additions and 28 deletions

73
package-lock.json generated
View File

@@ -3005,26 +3005,27 @@
}
},
"@nextcloud/vue": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-1.5.0.tgz",
"integrity": "sha512-z0KZP0PcWyHsD5zpzBJRusToGzC/1DTjapuDMrSAOSuA5lThg/Td7brmIQSwWTrw66OrL5MIRK+8HoKMWmQPAA==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-2.0.0.tgz",
"integrity": "sha512-Y8OmsRHvskpRbfcBXUy8U6+Ctl8kyWK8qHkmsi1kWL85l0262OxcTA9BU/Qh9vAn9sqTrT7skXRAVnQckO4y0A==",
"requires": {
"@nextcloud/axios": "^1.1.0",
"@nextcloud/l10n": "^1.1.0",
"@nextcloud/router": "^1.0.0",
"core-js": "^3.4.4",
"@nextcloud/auth": "^1.2.3",
"@nextcloud/axios": "^1.3.2",
"@nextcloud/event-bus": "^1.1.4",
"@nextcloud/l10n": "^1.2.3",
"@nextcloud/router": "^1.0.2",
"core-js": "^3.6.5",
"debounce": "1.2.0",
"escape-html": "^1.0.3",
"hammerjs": "^2.0.8",
"md5": "^2.2.1",
"regenerator-runtime": "^0.13.3",
"v-click-outside": "^3.0.0",
"v-tooltip": "^2.0.0-rc.33",
"vue": "^2.6.7",
"vue-color": "^2.7.0",
"vue-multiselect": "^2.1.3",
"regenerator-runtime": "^0.13.5",
"v-click-outside": "^3.0.1",
"v-tooltip": "^2.0.3",
"vue": "^2.6.11",
"vue-color": "^2.7.1",
"vue-multiselect": "^2.1.6",
"vue-visible": "^1.0.2",
"vue2-datepicker": "^3.3.1"
"vue2-datepicker": "^3.4.1"
},
"dependencies": {
"core-js": {
@@ -6178,9 +6179,9 @@
}
},
"date-fns": {
"version": "2.12.0",
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.12.0.tgz",
"integrity": "sha512-qJgn99xxKnFgB1qL4jpxU7Q2t0LOn1p8KMIveef3UZD7kqjT3tpFNNdXJelEHhE+rUgffriXriw/sOSU+cS1Hw=="
"version": "2.14.0",
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.14.0.tgz",
"integrity": "sha512-1zD+68jhFgDIM0rF05rcwYO8cExdNqxjq4xP1QKM60Q45mnO6zaMWB4tOzrIr4M4GSLntsKeE4c9Bdl2jhL/yw=="
},
"date-format-parse": {
"version": "0.2.5",
@@ -13122,6 +13123,36 @@
"@nextcloud/vue": "^1.3.0",
"lodash": "^4.17.11",
"vue": "^2.6.11"
},
"dependencies": {
"@nextcloud/vue": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-1.5.0.tgz",
"integrity": "sha512-z0KZP0PcWyHsD5zpzBJRusToGzC/1DTjapuDMrSAOSuA5lThg/Td7brmIQSwWTrw66OrL5MIRK+8HoKMWmQPAA==",
"requires": {
"@nextcloud/axios": "^1.1.0",
"@nextcloud/l10n": "^1.1.0",
"@nextcloud/router": "^1.0.0",
"core-js": "^3.4.4",
"debounce": "1.2.0",
"escape-html": "^1.0.3",
"hammerjs": "^2.0.8",
"md5": "^2.2.1",
"regenerator-runtime": "^0.13.3",
"v-click-outside": "^3.0.0",
"v-tooltip": "^2.0.0-rc.33",
"vue": "^2.6.7",
"vue-color": "^2.7.0",
"vue-multiselect": "^2.1.3",
"vue-visible": "^1.0.2",
"vue2-datepicker": "^3.3.1"
}
},
"core-js": {
"version": "3.6.5",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
"integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA=="
}
}
},
"nice-try": {
@@ -18578,9 +18609,9 @@
"integrity": "sha512-yaX2its9XAJKGuQqf7LsiZHHSkxsIK8rmCOQOvEGEoF41blKRK8qr9my4qYoD6ikdLss4n8tKqYBecmaY0+WJg=="
},
"vue2-datepicker": {
"version": "3.4.1",
"resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.4.1.tgz",
"integrity": "sha512-gCPZAwIyPLeN1P3xDg/Oj/UyQTIqnoFFzXw+yfvmUDxL430u/rHq1/JqFSGISEhTvJJu0brgHHrop3A7VBW6rA==",
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.5.0.tgz",
"integrity": "sha512-E52TUjf57Qj2ZWtwtplS+BtYfz8wQFHnjux0q2X8N+ENvL3rHjp9pwEs0ukT1rDTouLdPtvACaXXLfDEy39mlw==",
"requires": {
"date-fns": "^2.0.1",
"date-format-parse": "^0.2.5"

View File

@@ -39,7 +39,7 @@
"@nextcloud/l10n": "^1.2.3",
"@nextcloud/moment": "^1.1.1",
"@nextcloud/router": "^1.0.2",
"@nextcloud/vue": "^1.5.0",
"@nextcloud/vue": "^2.0.0",
"blueimp-md5": "^2.16.0",
"dompurify": "^2.0.11",
"lodash": "^4.17.15",

View File

@@ -42,12 +42,8 @@ if (!process.env.HOT) {
}
sync(store, router)
Vue.mixin({
methods: {
t: translate,
n: translatePlural,
},
})
Vue.prototype.t = translate
Vue.prototype.n = translatePlural
Vue.directive('tooltip', Tooltip)
Vue.directive('click-outside', ClickOutside)