diff --git a/bo/components.d.ts b/bo/components.d.ts index 4d5950b..2e162ce 100644 --- a/bo/components.d.ts +++ b/bo/components.d.ts @@ -11,6 +11,7 @@ export {} /* prettier-ignore */ declare module 'vue' { export interface GlobalComponents { + ButtonGoToProfile: typeof import('./src/components/customer-management/ButtonGoToProfile.vue')['default'] CartDetails: typeof import('./src/components/customer/CartDetails.vue')['default'] CategoryMenu: typeof import('./src/components/inner/CategoryMenu.vue')['default'] CategoryMenuListing: typeof import('./src/components/inner/categoryMenuListing.vue')['default'] @@ -36,6 +37,7 @@ declare module 'vue' { 'ProductDetailView copy': typeof import('./src/components/admin/ProductDetailView copy.vue')['default'] ProductEditor: typeof import('./src/components/inner/ProductEditor.vue')['default'] ProductVariants: typeof import('./src/components/customer/components/ProductVariants.vue')['default'] + Profile: typeof import('./src/components/customer-management/Profile.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] ThemeSwitch: typeof import('./src/components/inner/ThemeSwitch.vue')['default'] @@ -61,6 +63,7 @@ declare module 'vue' { USelect: typeof import('./node_modules/@nuxt/ui/dist/runtime/components/Select.vue')['default'] USelectMenu: typeof import('./node_modules/@nuxt/ui/dist/runtime/components/SelectMenu.vue')['default'] UsersList: typeof import('./src/components/admin/UsersList.vue')['default'] + UsersSearch: typeof import('./src/components/admin/UsersSearch.vue')['default'] USidebar: typeof import('./node_modules/@nuxt/ui/dist/runtime/components/Sidebar.vue')['default'] UTable: typeof import('./node_modules/@nuxt/ui/dist/runtime/components/Table.vue')['default'] UTabs: typeof import('./node_modules/@nuxt/ui/dist/runtime/components/Tabs.vue')['default'] diff --git a/bo/src/components/admin/UsersList.vue b/bo/src/components/admin/UsersList.vue index 79d98ab..e40124c 100644 --- a/bo/src/components/admin/UsersList.vue +++ b/bo/src/components/admin/UsersList.vue @@ -3,62 +3,47 @@
+ +
\ No newline at end of file diff --git a/bo/src/components/admin/UsersSearch.vue b/bo/src/components/admin/UsersSearch.vue new file mode 100644 index 0000000..1db0821 --- /dev/null +++ b/bo/src/components/admin/UsersSearch.vue @@ -0,0 +1,25 @@ + + + + + + \ No newline at end of file diff --git a/bo/src/components/customer-management/Profile.vue b/bo/src/components/customer-management/Profile.vue new file mode 100644 index 0000000..aa9dee8 --- /dev/null +++ b/bo/src/components/customer-management/Profile.vue @@ -0,0 +1,11 @@ + + + + \ No newline at end of file diff --git a/bo/src/layouts/default.vue b/bo/src/layouts/default.vue index 1dcb598..189ddbe 100644 --- a/bo/src/layouts/default.vue +++ b/bo/src/layouts/default.vue @@ -52,7 +52,7 @@ -
+
diff --git a/bo/src/layouts/management.vue b/bo/src/layouts/management.vue new file mode 100644 index 0000000..31bc342 --- /dev/null +++ b/bo/src/layouts/management.vue @@ -0,0 +1,305 @@ + + + diff --git a/bo/src/types/user.d.ts b/bo/src/types/user.d.ts index d054444..72526d1 100644 --- a/bo/src/types/user.d.ts +++ b/bo/src/types/user.d.ts @@ -13,3 +13,11 @@ export interface User { nip?: string vat?: string } + + +interface Customer { + user_id: number + email: string + first_name: string + last_name: string +} \ No newline at end of file