Bump @nextcloud/vue-dashboard from 0.1.8 to 1.0.1

Bumps [@nextcloud/vue-dashboard](https://github.com/nextcloud/nextcloud-vue-dashboard) from 0.1.8 to 1.0.1.
- [Release notes](https://github.com/nextcloud/nextcloud-vue-dashboard/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue-dashboard/compare/v0.1.8...v1.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
dependabot[bot] 2020-09-19 01:05:11 +00:00 committed by Christoph Wurst
parent 412baad1c2
commit f7ed445be1
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
4 changed files with 40 additions and 19 deletions

51
package-lock.json generated
View File

@ -1995,9 +1995,9 @@
}
},
"@nextcloud/vue-dashboard": {
"version": "0.1.8",
"resolved": "https://registry.npmjs.org/@nextcloud/vue-dashboard/-/vue-dashboard-0.1.8.tgz",
"integrity": "sha512-OGr1oK/WF9+bYHK8dE8Vjwh3IDNamN+9MSti1VO7zuUSm5A9EGCzAghR7zzCG4O43rAJEDcvnQwsYIiA6g4Yrw==",
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@nextcloud/vue-dashboard/-/vue-dashboard-1.0.1.tgz",
"integrity": "sha512-QKOf0qm4UYobuC3djLYwICSuj29H6xnm24IHetc0AMsrfhwPNN1/CC5IWEl1uKCCvwI0NA02HXCVFLtUErlgyg==",
"requires": {
"@nextcloud/vue": "^2.3.0",
"core-js": "^3.6.4",
@ -3870,18 +3870,11 @@
}
},
"calendar-js": {
"version": "git+https://github.com/nextcloud/calendar-js.git#dcd23f061230c58f836e05724b28045c8b9d07fc",
"from": "git+https://github.com/nextcloud/calendar-js.git#dcd23f061230c58f836e05724b28045c8b9d07fc",
"version": "git+https://github.com/nextcloud/calendar-js.git#f5c9865d88e6cb19eeb0467709374c78c0d42ec4",
"from": "git+https://github.com/nextcloud/calendar-js.git",
"requires": {
"ical.js": "^1.4.0",
"uuid": "^8.3.2"
},
"dependencies": {
"uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
}
}
},
"callsites": {
@ -3936,7 +3929,7 @@
},
"cdav-library": {
"version": "github:nextcloud/cdav-library#9260de57f978774ba3db515f5a17aa28be543a56",
"from": "github:nextcloud/cdav-library#9260de57f978774ba3db515f5a17aa28be543a56",
"from": "github:nextcloud/cdav-library",
"requires": {
"core-js": "^3.6.5",
"regenerator-runtime": "^0.13.7"
@ -5257,6 +5250,7 @@
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.2.2",
"is-negative-zero": "^2.0.0",
"is-regex": "^1.1.1",
"object-inspect": "^1.8.0",
"object-keys": "^1.1.1",
@ -5271,8 +5265,30 @@
"integrity": "sha512-VT/cxmx5yaoHSOTSyrCygIDFco+RsibY2NM0a4RdEeY/4KgqezwFtK1yr3U67xYhqJSlASm2pKhLVzPj2lr4bA==",
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.18.0-next.0",
"has-symbols": "^1.0.1",
"object-keys": "^1.1.1"
},
"dependencies": {
"es-abstract": {
"version": "1.18.0-next.1",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz",
"integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==",
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
"is-callable": "^1.2.2",
"is-negative-zero": "^2.0.0",
"is-regex": "^1.1.1",
"object-inspect": "^1.8.0",
"object-keys": "^1.1.1",
"object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1"
}
}
}
}
}
@ -7318,6 +7334,11 @@
"integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==",
"dev": true
},
"is-negative-zero": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
"integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w=="
},
"is-number": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
@ -14615,9 +14636,7 @@
"uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
"dev": true,
"optional": true
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
},
"v-click-outside": {
"version": "3.1.2",

View File

@ -52,7 +52,7 @@
"@nextcloud/moment": "^1.1.1",
"@nextcloud/router": "^1.2.0",
"@nextcloud/vue": "^2.9.0",
"@nextcloud/vue-dashboard": "^0.1.8",
"@nextcloud/vue-dashboard": "^1.0.1",
"autosize": "^4.0.2",
"calendar-js": "git+https://github.com/nextcloud/calendar-js.git",
"cdav-library": "github:nextcloud/cdav-library",

View File

@ -46,5 +46,4 @@ document.addEventListener('DOMContentLoaded', function() {
propsData: {},
}).$mount(el)
})
})

View File

@ -34,7 +34,10 @@
{{ t('calendar', 'No more events today') }}
</template>
</EmptyContent>
<DashboardWidgetItem v-else :item="item">
<DashboardWidgetItem v-else
:main-text="item.mainText"
:sub-text="item.subText"
:target-url="item.targetUrl">
<template #avatar>
<div
v-if="item.componentName === 'VEVENT'"