Skip to content

Commit ee499fa

Browse files
authored
Merge pull request #19 from codedthemes/dev-v1.3.0
Dev v1.3.0
2 parents 9afd97f + 3379812 commit ee499fa

File tree

31 files changed

+3291
-3596
lines changed

31 files changed

+3291
-3596
lines changed

β€Žpackage-lock.json

Lines changed: 2553 additions & 3529 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.json

Lines changed: 31 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "berry-free-vuetify-vuejs-admin-template",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"private": true,
55
"author": "CodedThemes",
66
"type": "module",
@@ -15,46 +15,44 @@
1515
},
1616
"dependencies": {
1717
"@mdi/js": "^7.4.47",
18-
"@tiptap/starter-kit": "2.3.2",
19-
"@tiptap/vue-3": "2.3.2",
20-
"@tsconfig/node20": "20.1.4",
21-
"@typescript-eslint/parser": "^7.8.0",
22-
"apexcharts": "3.49.1",
23-
"axios": "1.6.8",
24-
"axios-mock-adapter": "^1.22.0",
25-
"chance": "1.1.11",
26-
"date-fns": "3.6.0",
18+
"@tsconfig/node22": "^22.0.0",
19+
"@typescript-eslint/parser": "^8.19.0",
20+
"apexcharts": "4.3.0",
21+
"axios": "1.7.9",
22+
"axios-mock-adapter": "2.1.0",
23+
"chance": "1.1.12",
24+
"date-fns": "4.1.0",
2725
"lodash": "4.17.21",
28-
"pinia": "2.1.7",
29-
"remixicon": "4.2.0",
30-
"vee-validate": "4.12.8",
31-
"vite-plugin-vuetify": "2.0.3",
32-
"vue": "3.4.27",
33-
"vue-router": "4.3.2",
26+
"pinia": "2.3.0",
27+
"remixicon": "4.6.0",
28+
"vee-validate": "4.15.0",
29+
"vite-plugin-vuetify": "2.0.4",
30+
"vue": "3.5.13",
31+
"vue-router": "4.5.0",
3432
"vue-tabler-icons": "2.21.0",
35-
"vue3-apexcharts": "1.5.2",
33+
"vue3-apexcharts": "1.8.0",
3634
"vue3-perfect-scrollbar": "2.0.0",
3735
"vue3-print-nb": "0.1.4",
38-
"vuetify": "3.6.5",
36+
"vuetify": "3.7.6",
3937
"webpack-plugin-vuetify": "3.0.3",
40-
"yup": "1.4.0"
38+
"yup": "1.6.1"
4139
},
4240
"devDependencies": {
43-
"@eslint/js": "^9.1.1",
41+
"@eslint/js": "^9.17.0",
4442
"@types/chance": "1.1.6",
45-
"@types/node": "20.12.11",
46-
"@vitejs/plugin-vue": "5.0.4",
47-
"@vue/eslint-config-prettier": "9.0.0",
48-
"@vue/tsconfig": "0.5.1",
49-
"eslint": "8.57.0",
50-
"eslint-plugin-vue": "9.25.0",
51-
"prettier": "3.2.5",
52-
"sass": "1.77.1",
53-
"sass-loader": "14.2.1",
54-
"typescript": "5.4.5",
55-
"typescript-eslint": "^7.8.0",
56-
"vite": "5.2.11",
43+
"@types/node": "22.10.4",
44+
"@vitejs/plugin-vue": "5.2.1",
45+
"@vue/eslint-config-prettier": "10.1.0",
46+
"@vue/tsconfig": "0.7.0",
47+
"eslint": "9.17.0",
48+
"eslint-plugin-vue": "9.32.0",
49+
"prettier": "3.4.2",
50+
"sass": "1.79.6",
51+
"sass-loader": "16.0.4",
52+
"typescript": "5.7.2",
53+
"typescript-eslint": "^8.19.0",
54+
"vite": "6.0.7",
5755
"vue-cli-plugin-vuetify": "2.5.8",
58-
"vue-tsc": "2.0.17"
56+
"vue-tsc": "2.2.0"
5957
}
6058
}

β€Žsrc/components/apps/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
**Note:** *This README file is maintained to ensure the product structure aligns with the Pro version, making migration to Pro seamless when you choose to upgrade. This alignment aims to provide a smoother experience during the upgrade, especially regarding directory structure. You may notice these files and folders appearing throughout the project where they are part of the Pro version. While this might feel slightly inconvenient, it is intended to simplify your migration process and provide assistance. If these files are unnecessary for your use case, you can easily remove them.*
2+
3+
Please continue reading below to explore the features of the Pro version:
4+
5+
# Berry Admin Panel - Unlock Premium Features with the Pro Version
6+
7+
Elevate your project with the Pro Version of the <b>Berry Admin Panel!</b> Built to cater to modern web applications, the Pro version is loaded with advanced features, intuitive design elements, and dynamic tools that ensure seamless functionality.
8+
9+
This page (folder) is a sneak peek into the premium features available in <b>version 1.5.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
10+
11+
## Included in the Pro Version:
12+
13+
[πŸš€ Dashboards](https://berrydashboard.io/vue/dashboard/default) : Advanced dashboards with real-time insights and data visualizations for actionable metrics.
14+
15+
[πŸ“¦ Widgets](https://berrydashboard.io/vue/widget/statistics) : A curated library of pre-built widgets for enhanced functionality and faster development.
16+
17+
[πŸ”§ Components](https://berrydashboard.io/vue/components/buttons) : A rich collection of reusable and customizable UI components.
18+
19+
[πŸš€ Advanced Components](https://berrydashboard.io/vue/advance/snackbar) : Customizable and dynamic Snackbar components for delivering seamless notifications and user feedback in your application.
20+
21+
[πŸ“ Forms](https://berrydashboard.io/vue/forms/formvalidation) : Dynamic and customizable forms with advanced validation features for a smooth user experience.
22+
23+
[πŸ“Š Tables](https://berrydashboard.io/vue/tables/tbl-basic) : Simple and clean tables for displaying structured data effectively.
24+
25+
[πŸ“ˆ Charts](https://berrydashboard.io/vue/forms/charts/apexchart) : Beautifully designed charts powered by modern data visualization libraries.
26+
27+
[πŸ”’ Authentication](https://berrydashboard.io/vue/register1) : Secure pages for login, registration, and password recovery, ensuring robust user management.
28+
29+
[πŸ›’ E-commerce App](https://berrydashboard.io/vue/ecommerce/products) : A streamlined system for managing products and inventory in your e-commerce platform.
30+
31+
[πŸ’¬ Chat Messages](https://berrydashboard.io/vue/app/chats) : An integrated chat system to enhance communication within your application.
32+
33+
[πŸ‘€ Account Profile](https://berrydashboard.io/vue/app/user/account-profile/profile1) : A sleek and customizable account profile page for managing user details and settings.
34+
35+
## Why Upgrade to the Pro Version?
36+
37+
πŸš€ <b>Advanced Features</b> : Access premium components and tools designed for modern, high-end projects. <br/><br/>
38+
⚑ <b>Faster Development</b> : Pre-designed pages, widgets, and features help you save time and effort. <br/><br/>
39+
πŸ“± <b>Fully Responsive Design</b> : Enjoy a flawless experience across desktops, tablets, and smartphones. <br/><br/>
40+
πŸ›  <b>Developer-Friendly</b> : Modular code, clear documentation, and well-structured components make customization a breeze. <br/><br/>
41+
🎨 <b>Customization-Ready</b> : Personalize every aspect of your project with ease to match your branding needs.
42+
43+
## Get Started with the Pro Version!
44+
45+
πŸ‘‰ [Explore the Pro version now](https://codedthemes.com/item/berry-vue-admin-dashboard/) - and supercharge your development experience!

β€Žsrc/components/forms/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
**Note:** *This README file is maintained to ensure the product structure aligns with the Pro version, making migration to Pro seamless when you choose to upgrade. This alignment aims to provide a smoother experience during the upgrade, especially regarding directory structure. You may notice these files and folders appearing throughout the project where they are part of the Pro version. While this might feel slightly inconvenient, it is intended to simplify your migration process and provide assistance. If these files are unnecessary for your use case, you can easily remove them.*
2+
3+
Please continue reading below to explore the features of the Pro version:
4+
5+
# Berry Admin Panel - Unlock Premium Features with the Pro Version
6+
7+
Elevate your project with the Pro Version of the <b>Berry Admin Panel!</b> Built to cater to modern web applications, the Pro version is loaded with advanced features, intuitive design elements, and dynamic tools that ensure seamless functionality.
8+
9+
This page (folder) is a sneak peek into the premium features available in <b>version 1.5.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
10+
11+
## Included in the Pro Version:
12+
13+
[πŸš€ Dashboards](https://berrydashboard.io/vue/dashboard/default) : Advanced dashboards with real-time insights and data visualizations for actionable metrics.
14+
15+
[πŸ“¦ Widgets](https://berrydashboard.io/vue/widget/statistics) : A curated library of pre-built widgets for enhanced functionality and faster development.
16+
17+
[πŸ”§ Components](https://berrydashboard.io/vue/components/buttons) : A rich collection of reusable and customizable UI components.
18+
19+
[πŸš€ Advanced Components](https://berrydashboard.io/vue/advance/snackbar) : Customizable and dynamic Snackbar components for delivering seamless notifications and user feedback in your application.
20+
21+
[πŸ“ Forms](https://berrydashboard.io/vue/forms/formvalidation) : Dynamic and customizable forms with advanced validation features for a smooth user experience.
22+
23+
[πŸ“Š Tables](https://berrydashboard.io/vue/tables/tbl-basic) : Simple and clean tables for displaying structured data effectively.
24+
25+
[πŸ“ˆ Charts](https://berrydashboard.io/vue/forms/charts/apexchart) : Beautifully designed charts powered by modern data visualization libraries.
26+
27+
[πŸ”’ Authentication](https://berrydashboard.io/vue/register1) : Secure pages for login, registration, and password recovery, ensuring robust user management.
28+
29+
[πŸ›’ E-commerce App](https://berrydashboard.io/vue/ecommerce/products) : A streamlined system for managing products and inventory in your e-commerce platform.
30+
31+
[πŸ’¬ Chat Messages](https://berrydashboard.io/vue/app/chats) : An integrated chat system to enhance communication within your application.
32+
33+
[πŸ‘€ Account Profile](https://berrydashboard.io/vue/app/user/account-profile/profile1) : A sleek and customizable account profile page for managing user details and settings.
34+
35+
## Why Upgrade to the Pro Version?
36+
37+
πŸš€ <b>Advanced Features</b> : Access premium components and tools designed for modern, high-end projects. <br/><br/>
38+
⚑ <b>Faster Development</b> : Pre-designed pages, widgets, and features help you save time and effort. <br/><br/>
39+
πŸ“± <b>Fully Responsive Design</b> : Enjoy a flawless experience across desktops, tablets, and smartphones. <br/><br/>
40+
πŸ›  <b>Developer-Friendly</b> : Modular code, clear documentation, and well-structured components make customization a breeze. <br/><br/>
41+
🎨 <b>Customization-Ready</b> : Personalize every aspect of your project with ease to match your branding needs.
42+
43+
## Get Started with the Pro Version!
44+
45+
πŸ‘‰ [Explore the Pro version now](https://codedthemes.com/item/berry-vue-admin-dashboard/) - and supercharge your development experience!

β€Žsrc/layouts/full/vertical-sidebar/VerticalSidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const sidebarMenu = shallowRef(sidebarItems);
5252
<ExtraBox />
5353
</div>
5454
<div class="pa-4 text-center">
55-
<v-chip color="inputBorder" size="small"> v1.2.0 </v-chip>
55+
<v-chip color="inputBorder" size="small"> v1.3.0 </v-chip>
5656
</div>
5757
</perfect-scrollbar>
5858
</v-navigation-drawer>

β€Žsrc/layouts/full/vertical-sidebar/sidebarItem.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ const sidebarItem: menu[] = [
4444
{
4545
title: 'Login',
4646
icon: CircleIcon,
47-
to: '/auth/login'
47+
to: '/login1'
4848
},
4949
{
5050
title: 'Register',
5151
icon: CircleIcon,
52-
to: '/auth/register'
52+
to: '/register'
5353
}
5454
]
5555
},
5656
{
5757
title: 'Error 404',
5858
icon: BugIcon,
59-
to: '/pages/error'
59+
to: '/error'
6060
},
6161
{ divider: true },
6262
{ header: 'Utilities' },

β€Žsrc/plugins/mdi-icon.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
import {
2-
mdiClose,
3-
mdiHome,
4-
mdiEyeOff,
5-
mdiEye
6-
} from '@mdi/js';
1+
import { mdiClose, mdiHome, mdiEyeOff, mdiEye } from '@mdi/js';
72

83
export const icons = {
94
close: mdiClose,
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
1-
const AuthRoutes = {
2-
path: '/auth',
1+
const PublicRoutes = {
2+
path: '/',
33
component: () => import('@/layouts/blank/BlankLayout.vue'),
44
meta: {
55
requiresAuth: false
66
},
77
children: [
8+
{
9+
name: 'Authentication',
10+
path: '/login',
11+
component: () => import('@/views/authentication/LoginPage.vue')
12+
},
813
{
914
name: 'Login',
10-
path: '/auth/login',
15+
path: '/login1',
1116
component: () => import('@/views/authentication/auth/LoginPage.vue')
1217
},
1318
{
1419
name: 'Register',
15-
path: '/auth/register',
20+
path: '/register',
1621
component: () => import('@/views/authentication/auth/RegisterPage.vue')
1722
},
1823
{
1924
name: 'Error 404',
20-
path: '/pages/error',
25+
path: '/error',
2126
component: () => import('@/views/pages/maintenance/error/Error404Page.vue')
2227
}
2328
]
2429
};
2530

26-
export default AuthRoutes;
31+
export default PublicRoutes;

β€Žsrc/router/index.ts

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createRouter, createWebHistory } from 'vue-router';
22
import MainRoutes from './MainRoutes';
3-
import AuthRoutes from './AuthRoutes';
3+
import PublicRoutes from './PublicRoutes';
44
import { useAuthStore } from '@/stores/auth';
55

66
export const router = createRouter({
@@ -11,7 +11,7 @@ export const router = createRouter({
1111
component: () => import('@/views/pages/maintenance/error/Error404Page.vue')
1212
},
1313
MainRoutes,
14-
AuthRoutes
14+
PublicRoutes
1515
]
1616
});
1717

@@ -32,16 +32,26 @@ interface AuthStore {
3232

3333
router.beforeEach(async (to, from, next) => {
3434
// redirect to login page if not logged in and trying to access a restricted page
35-
const publicPages = ['/auth/login'];
36-
const authRequired = !publicPages.includes(to.path);
35+
const publicPages = ['/'];
3736
const auth: AuthStore = useAuthStore();
3837

39-
if (to.matched.some((record) => record.meta.requiresAuth)) {
40-
if (authRequired && !auth.user) {
41-
auth.returnUrl = to.fullPath;
42-
return next('/auth/login');
43-
} else next();
38+
const isPublicPage = publicPages.includes(to.path);
39+
const authRequired = !isPublicPage && to.matched.some((record) => record.meta.requiresAuth);
40+
41+
// User not logged in and trying to access a restricted page
42+
if (authRequired && !auth.user) {
43+
auth.returnUrl = to.fullPath; // Save the intended page
44+
next('/login');
45+
} else if (auth.user && to.path === '/login') {
46+
// User logged in and trying to access the login page
47+
next({
48+
query: {
49+
...to.query,
50+
redirect: auth.returnUrl !== '/' ? to.fullPath : undefined
51+
}
52+
});
4453
} else {
54+
// All other scenarios, either public page or authorized access
4555
next();
4656
}
4757
});

β€Žsrc/scss/_override.scss

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,31 @@ html {
3434
transform: rotate(270deg);
3535
}
3636
}
37+
38+
// apexchart css
39+
.apexcharts-canvas {
40+
.apexcharts-tooltip-rangebar {
41+
padding: 0px 8px 5px;
42+
}
43+
.apexcharts-tooltip-title {
44+
margin-bottom: 0;
45+
}
46+
.apexcharts-tooltip {
47+
&.apexcharts-theme-light {
48+
color: rgb(var(--v-theme-darkText));
49+
}
50+
}
51+
.apexcharts-tooltip-series-group {
52+
&.apexcharts-active,
53+
&:last-child {
54+
padding-bottom: 0;
55+
}
56+
}
57+
.apexcharts-menu {
58+
.apexcharts-menu-item {
59+
&:hover {
60+
background: rgb(var(--v-theme-gray100));
61+
}
62+
}
63+
}
64+
}

β€Žsrc/scss/layout/_sidebar.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
font-size: 0.875rem;
3939
}
4040
}
41+
.v-list-group__items .v-list-item {
42+
margin-inline-start: calc(2px + var(--indent-padding) / 2);
43+
padding-inline-start: 16px !important;
44+
}
4145
.leftPadding {
4246
margin-left: 4px;
4347
}

β€Žsrc/stores/apps/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
**Note:** *This README file is maintained to ensure the product structure aligns with the Pro version, making migration to Pro seamless when you choose to upgrade. This alignment aims to provide a smoother experience during the upgrade, especially regarding directory structure. You may notice these files and folders appearing throughout the project where they are part of the Pro version. While this might feel slightly inconvenient, it is intended to simplify your migration process and provide assistance. If these files are unnecessary for your use case, you can easily remove them.*
2+
3+
Please continue reading below to explore the features of the Pro version:
4+
5+
# Berry Admin Panel - Unlock Premium Features with the Pro Version
6+
7+
Elevate your project with the Pro Version of the <b>Berry Admin Panel!</b> Built to cater to modern web applications, the Pro version is loaded with advanced features, intuitive design elements, and dynamic tools that ensure seamless functionality.
8+
9+
This page (folder) is a sneak peek into the premium features available in <b>version 1.5.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
10+
11+
## Included in the Pro Version:
12+
13+
[πŸš€ Dashboards](https://berrydashboard.io/vue/dashboard/default) : Advanced dashboards with real-time insights and data visualizations for actionable metrics.
14+
15+
[πŸ“¦ Widgets](https://berrydashboard.io/vue/widget/statistics) : A curated library of pre-built widgets for enhanced functionality and faster development.
16+
17+
[πŸ”§ Components](https://berrydashboard.io/vue/components/buttons) : A rich collection of reusable and customizable UI components.
18+
19+
[πŸš€ Advanced Components](https://berrydashboard.io/vue/advance/snackbar) : Customizable and dynamic Snackbar components for delivering seamless notifications and user feedback in your application.
20+
21+
[πŸ“ Forms](https://berrydashboard.io/vue/forms/formvalidation) : Dynamic and customizable forms with advanced validation features for a smooth user experience.
22+
23+
[πŸ“Š Tables](https://berrydashboard.io/vue/tables/tbl-basic) : Simple and clean tables for displaying structured data effectively.
24+
25+
[πŸ“ˆ Charts](https://berrydashboard.io/vue/forms/charts/apexchart) : Beautifully designed charts powered by modern data visualization libraries.
26+
27+
[πŸ”’ Authentication](https://berrydashboard.io/vue/register1) : Secure pages for login, registration, and password recovery, ensuring robust user management.
28+
29+
[πŸ›’ E-commerce App](https://berrydashboard.io/vue/ecommerce/products) : A streamlined system for managing products and inventory in your e-commerce platform.
30+
31+
[πŸ’¬ Chat Messages](https://berrydashboard.io/vue/app/chats) : An integrated chat system to enhance communication within your application.
32+
33+
[πŸ‘€ Account Profile](https://berrydashboard.io/vue/app/user/account-profile/profile1) : A sleek and customizable account profile page for managing user details and settings.
34+
35+
## Why Upgrade to the Pro Version?
36+
37+
πŸš€ <b>Advanced Features</b> : Access premium components and tools designed for modern, high-end projects. <br/><br/>
38+
⚑ <b>Faster Development</b> : Pre-designed pages, widgets, and features help you save time and effort. <br/><br/>
39+
πŸ“± <b>Fully Responsive Design</b> : Enjoy a flawless experience across desktops, tablets, and smartphones. <br/><br/>
40+
πŸ›  <b>Developer-Friendly</b> : Modular code, clear documentation, and well-structured components make customization a breeze. <br/><br/>
41+
🎨 <b>Customization-Ready</b> : Personalize every aspect of your project with ease to match your branding needs.
42+
43+
## Get Started with the Pro Version!
44+
45+
πŸ‘‰ [Explore the Pro version now](https://codedthemes.com/item/berry-vue-admin-dashboard/) - and supercharge your development experience!

0 commit comments

Comments
Β (0)