File tree Expand file tree Collapse file tree 6 files changed +28
-28
lines changed Expand file tree Collapse file tree 6 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 28
28
29
29
<v-sheet rounded =" lg" class =" notifications-menu overflow-hidden" >
30
30
<v-responsive max-height =" 400" min-height =" 250" style =" overflow-y : scroll " >
31
- <app-dashboard-bar- notifications-loader v-if =" isLoading" />
31
+ <notifications-loader v-if =" isLoading" />
32
32
33
33
<template v-if =" notifications .length " >
34
34
<v-list v-for =" notification in notifications" :key =" notification.id" lines =" three" >
35
- <app-dashboard-bar- notifications-item :notification =" notification" />
35
+ <notifications-item :notification =" notification" />
36
36
</v-list >
37
37
</template >
38
38
@@ -54,8 +54,8 @@ import { useI18n } from 'vue-i18n'
54
54
import { useNotificationsStore } from ' @/stores/notifications'
55
55
import { useUser } from ' @/composables/useUser'
56
56
import AppTooltipBtn from ' @/components/app/TooltipBtn.vue'
57
- import AppDashboardBarNotificationsLoader from ' ./Loader.vue'
58
- import AppDashboardBarNotificationsItem from ' ./Item.vue'
57
+ import NotificationsLoader from ' ./Loader.vue'
58
+ import NotificationsItem from ' ./Item.vue'
59
59
60
60
const menu = ref (false )
61
61
const width = computed (() => (mobile .value ? 420 : 380 ))
Original file line number Diff line number Diff line change 9
9
<v-list density =" comfortable" >
10
10
<template v-for =" link in links " >
11
11
<!-- Having children, we need to render it via list group -->
12
- <app-dashboard- drawer-item-group v-if =" link.children" :link =" link" />
12
+ <drawer-item-group v-if =" link.children" :link =" link" />
13
13
14
14
<!-- Not having any children -->
15
- <app-dashboard- drawer-item
15
+ <drawer-item
16
16
v-if =" !link.children && (link.permissions && !can(link.permissions) ? false : true)"
17
17
:link =" link"
18
18
/>
25
25
import { ref } from ' vue'
26
26
import { useLocale } from ' vuetify'
27
27
import { useUser } from ' @/composables/useUser'
28
- import AppDashboardDrawerItem from ' ./Item.vue'
29
- import AppDashboardDrawerItemGroup from ' ./ItemGroup.vue'
28
+ import DrawerItem from ' ./Item.vue'
29
+ import DrawerItemGroup from ' ./ItemGroup.vue'
30
30
31
31
const user = useUser ()
32
32
const { t } = useLocale ()
Original file line number Diff line number Diff line change 5
5
<!-- end snackbar -->
6
6
7
7
<!-- sidebar -->
8
- <app-dashboard- drawer v-model =" isNavDrawerActive" :rail =" rail" />
8
+ <drawer v-model =" isNavDrawerActive" :rail =" rail" />
9
9
<!-- end sidebar -->
10
10
11
11
<!-- navbar -->
12
- <app-dashboard- bar @rail:switch =" navigationDrawer" />
12
+ <bar @rail:switch =" navigationDrawer" />
13
13
<!-- end navbar -->
14
14
15
15
<!-- content -->
16
16
<v-main >
17
- <app-dashboard- loader v-show =" isLoading" />
17
+ <loader v-show =" isLoading" />
18
18
<div v-show =" !isLoading" class =" pa-4 pa-lg-6" >
19
19
<router-view />
20
20
</div >
@@ -30,9 +30,9 @@ import { useDisplay } from 'vuetify'
30
30
import { useAppStore } from ' @/stores/app'
31
31
import { useNotificationsStore } from ' @/stores/notifications'
32
32
import AppSnackbar from ' @/components/app/Snackbar.vue'
33
- import AppDashboardDrawer from ' @/components/dashboard/drawer/NavigationDrawer.vue'
34
- import AppDashboardLoader from ' @/components/dashboard/Loader.vue'
35
- import AppDashboardBar from ' @/components/dashboard/bar/Bar.vue'
33
+ import Drawer from ' @/components/dashboard/drawer/NavigationDrawer.vue'
34
+ import Loader from ' @/components/dashboard/Loader.vue'
35
+ import Bar from ' @/components/dashboard/bar/Bar.vue'
36
36
37
37
const rail = ref (false )
38
38
const isNavDrawerActive = ref (true )
Original file line number Diff line number Diff line change 3
3
<app-sheet title =" Profile" >
4
4
<v-row class =" mt-2" >
5
5
<v-col cols =" 4" class =" mx-auto text-center mb-5" >
6
- <app-dashboard- profile-avatar @save =" saveAvatar" :user =" user" />
6
+ <profile-avatar @save =" saveAvatar" :user =" user" />
7
7
<h4 class =" mt-1" >Profile Picture</h4 >
8
8
<p class =" text-grey" >Change your profile picture.</p >
9
9
</v-col >
@@ -99,7 +99,7 @@ import { useForm } from '@/composables/useForm'
99
99
import { useUser } from ' @/composables/useUser'
100
100
import { useLoader } from ' @/composables/useLoader'
101
101
import storage from ' @/plugins/storage'
102
- import AppDashboardProfileAvatar from ' @/components/dashboard/profile/Avatar.vue'
102
+ import ProfileAvatar from ' @/components/dashboard/profile/Avatar.vue'
103
103
104
104
const user = useUser ()
105
105
const loader = useLoader ()
Original file line number Diff line number Diff line change 11
11
<template #item .id =" { item } " >#{{ item.raw.id }}</template >
12
12
13
13
<template #item .actions =" { item } " >
14
- <app-dashboard- edit-btn @click =" composer.update(item.raw)" />
15
- <app-dashboard- delete-btn @click.prevent />
14
+ <edit-btn @click =" composer.update(item.raw)" />
15
+ <delete-btn @click.prevent />
16
16
</template >
17
17
18
18
<template #bottom >
24
24
</app-sheet >
25
25
26
26
<useComposer ref =" composer" title =" Role" v-slot =" { props }" >
27
- <app-dashboard- roles-compose v-bind =" props" @created =" fetch()" />
27
+ <roles-compose v-bind =" props" @created =" fetch()" />
28
28
</useComposer >
29
29
</template >
30
30
@@ -33,9 +33,9 @@ import { ref, onMounted } from 'vue'
33
33
import axios from ' @/plugins/axios'
34
34
import { useLoader } from ' @/composables/useLoader'
35
35
import useComposer from ' @/hoc/useComposer.vue'
36
- import AppDashboardRolesCompose from ' @/components/dashboard/roles/Compose.vue'
37
- import AppDashboardEditBtn from ' @/components/dashboard/EditBtn.vue'
38
- import AppDashboardDeleteBtn from ' @/components/dashboard/DeleteBtn.vue'
36
+ import RolesCompose from ' @/components/dashboard/roles/Compose.vue'
37
+ import EditBtn from ' @/components/dashboard/EditBtn.vue'
38
+ import DeleteBtn from ' @/components/dashboard/DeleteBtn.vue'
39
39
40
40
const page = ref (1 )
41
41
const composer = ref (null )
Original file line number Diff line number Diff line change 83
83
<path stroke-linecap =" round" stroke-linejoin =" round" d =" M8.625 9.75a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 01.778-.332 48.294 48.294 0 005.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z" />
84
84
</svg >
85
85
</v-icon >
86
- <app-dashboard- edit-btn v-if =" can('update users')" @click =" composer.update(item.raw)" />
87
- <app-dashboard- delete-btn v-if =" can('delete users')" @click =" " />
86
+ <edit-btn v-if =" can('update users')" @click =" composer.update(item.raw)" />
87
+ <delete-btn v-if =" can('delete users')" @click =" " />
88
88
</template >
89
89
90
90
<template #bottom >
96
96
</app-sheet >
97
97
98
98
<useComposer ref =" composer" title =" User" v-slot =" { props }" >
99
- <app-dashboard- users-compose v-bind =" props" @created =" fetch()" />
99
+ <users-compose v-bind =" props" @created =" fetch()" />
100
100
</useComposer >
101
101
</template >
102
102
@@ -105,9 +105,9 @@ import { ref, onMounted } from 'vue'
105
105
import { useLoader } from ' @/composables/useLoader'
106
106
import axios from ' @/plugins/axios'
107
107
import useComposer from ' @/hoc/useComposer.vue'
108
- import AppDashboardUsersCompose from ' @/components/dashboard/users/Compose.vue'
109
- import AppDashboardEditBtn from ' @/components/dashboard/EditBtn.vue'
110
- import AppDashboardDeleteBtn from ' @/components/dashboard/DeleteBtn.vue'
108
+ import UsersCompose from ' @/components/dashboard/users/Compose.vue'
109
+ import EditBtn from ' @/components/dashboard/EditBtn.vue'
110
+ import DeleteBtn from ' @/components/dashboard/DeleteBtn.vue'
111
111
112
112
const composer = ref (null )
113
113
const users = ref ([])
You can’t perform that action at this time.
0 commit comments