Merge pull request #2290 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-dashboard-1.0.0
This commit is contained in:
6
package-lock.json
generated
6
package-lock.json
generated
@@ -3671,9 +3671,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@nextcloud/vue-dashboard": {
|
"@nextcloud/vue-dashboard": {
|
||||||
"version": "0.1.8",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/@nextcloud/vue-dashboard/-/vue-dashboard-0.1.8.tgz",
|
"resolved": "https://registry.npmjs.org/@nextcloud/vue-dashboard/-/vue-dashboard-1.0.0.tgz",
|
||||||
"integrity": "sha512-OGr1oK/WF9+bYHK8dE8Vjwh3IDNamN+9MSti1VO7zuUSm5A9EGCzAghR7zzCG4O43rAJEDcvnQwsYIiA6g4Yrw==",
|
"integrity": "sha512-9Ncksq+2iJocI5n+ElT+m9bL+fTNq8XxVPUPwEL5xZZi3jCKibRjAVyE5QRCSPhSh65W19KqyfelQebp33YqmQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@nextcloud/vue": "^2.3.0",
|
"@nextcloud/vue": "^2.3.0",
|
||||||
"core-js": "^3.6.4",
|
"core-js": "^3.6.4",
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
"@nextcloud/moment": "^1.1.1",
|
"@nextcloud/moment": "^1.1.1",
|
||||||
"@nextcloud/router": "^1.2.0",
|
"@nextcloud/router": "^1.2.0",
|
||||||
"@nextcloud/vue": "^2.6.5",
|
"@nextcloud/vue": "^2.6.5",
|
||||||
"@nextcloud/vue-dashboard": "^0.1.8",
|
"@nextcloud/vue-dashboard": "^1.0.0",
|
||||||
"blueimp-md5": "^2.18.0",
|
"blueimp-md5": "^2.18.0",
|
||||||
"dompurify": "^2.0.15",
|
"dompurify": "^2.0.15",
|
||||||
"lodash": "^4.17.20",
|
"lodash": "^4.17.20",
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<DashboardWidget :items="cards"
|
<DashboardWidget :items="cards"
|
||||||
|
empty-content-icon="icon-deck"
|
||||||
|
:empty-content-message="t('deck', 'No upcoming cards')"
|
||||||
:show-more-text="t('deck', 'upcoming cards')"
|
:show-more-text="t('deck', 'upcoming cards')"
|
||||||
:show-more-url="showMoreUrl"
|
:show-more-url="showMoreUrl"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
@@ -44,21 +46,11 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:empty-content>
|
|
||||||
<EmptyContent
|
|
||||||
id="deck-widget-empty-content"
|
|
||||||
icon="icon-deck">
|
|
||||||
<template #desc>
|
|
||||||
{{ t('deck', 'No upcoming cards') }}
|
|
||||||
</template>
|
|
||||||
</EmptyContent>
|
|
||||||
</template>
|
|
||||||
</DashboardWidget>
|
</DashboardWidget>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { DashboardWidget } from '@nextcloud/vue-dashboard'
|
import { DashboardWidget } from '@nextcloud/vue-dashboard'
|
||||||
import EmptyContent from '@nextcloud/vue/dist/Components/EmptyContent'
|
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
import labelStyle from './../mixins/labelStyle'
|
import labelStyle from './../mixins/labelStyle'
|
||||||
import DueDate from '../components/cards/badges/DueDate'
|
import DueDate from '../components/cards/badges/DueDate'
|
||||||
@@ -68,7 +60,6 @@ export default {
|
|||||||
name: 'Dashboard',
|
name: 'Dashboard',
|
||||||
components: {
|
components: {
|
||||||
DueDate,
|
DueDate,
|
||||||
EmptyContent,
|
|
||||||
DashboardWidget,
|
DashboardWidget,
|
||||||
},
|
},
|
||||||
mixins: [ labelStyle ],
|
mixins: [ labelStyle ],
|
||||||
|
|||||||
Reference in New Issue
Block a user