Skip to content

Commit 47e6f49

Browse files
mantis free version upgrade angular 19 and folder structure do accord… (#12)
* mantis free version upgrade angular 19 and folder structure do according pro version * readme file content update * update logo and github link add * Update README.md * Update README.md * update readme content --------- Co-authored-by: CodedThemes <[email protected]>
1 parent b2c3558 commit 47e6f49

File tree

86 files changed

+4108
-3883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+4108
-3883
lines changed

.eslintrc.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ Mantis is a free angular admin dashboard template built with Angular and latest
1212

1313
[Pro version](https://codedthemes.com/item/mantis-angular-admin-template/?utm_source=free_demo&utm_medium=codedthemes&utm_campaign=button_download_premium) of Mantis Angular Dashboard template contains features like TypeScript, Apps, Authentication Methods (i.e. JWT), Advance Components, Form Plugins, Layouts, Widgets, and many more.
1414

15-
| [Mantis Free](https://mantisdashboard.io/angular/free/) | [Mantis](https://codedthemes.com/item/mantis-angular-admin-template/?utm_source=free_demo&utm_medium=codedthemes&utm_campaign=button_download_premium) |
16-
| ------------------------------------------------------- | :------------------------------------------------------------------------------- |
17-
| **9** Demo pages | **45+** demo pages |
18-
| - | ✓ Multi-language |
19-
| - | ✓ Dark/Light Mode 🌓 |
20-
| - | ✓ TypeScript version |
21-
| - | ✓ 6+ color Options |
22-
| - | ✓ RTL |
23-
| - |[More components](https://mantisdashboard.io/angular/default/components/basic/alert) |
15+
| [Mantis Free](https://mantisdashboard.io/angular/free/) | [Mantis](https://codedthemes.com/item/mantis-angular-admin-template/?utm_source=free_demo&utm_medium=codedthemes&utm_campaign=button_download_premium) |
16+
| ------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------ |
17+
| **9** Demo pages | **45+** demo pages |
18+
| - | ✓ Multi-language |
19+
| - | ✓ Dark/Light Mode 🌓 |
20+
| - | ✓ TypeScript version |
21+
| - | ✓ 6+ color Options |
22+
| - | ✓ RTL |
23+
| - |[More components](https://mantisdashboard.io/angular/default/components/basic/alert) |
2424
| ✓ MIT License |[Pro License](https://codedthemes.com/item/mantis-angular-admin-template/?utm_source=free_demo&utm_medium=codedthemes&utm_campaign=button_download_premium) |
2525

2626
## Why Mantis?
@@ -93,7 +93,7 @@ yarn start
9393
## Technology Stack
9494

9595
- Bootstrap 5
96-
- Angular 17
96+
- Angular 19
9797

9898
## Author
9999

eslint.config.mjs

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
import path from 'node:path';
2+
import { fileURLToPath } from 'node:url';
3+
import js from '@eslint/js';
4+
import { FlatCompat } from '@eslint/eslintrc';
5+
6+
const __filename = fileURLToPath(import.meta.url);
7+
const __dirname = path.dirname(__filename);
8+
const compat = new FlatCompat({
9+
baseDirectory: __dirname,
10+
recommendedConfig: js.configs.recommended,
11+
allConfig: js.configs.all
12+
});
13+
14+
export default [
15+
{
16+
ignores: ['projects/**/*']
17+
},
18+
...compat
19+
.extends(
20+
'eslint:recommended',
21+
'plugin:@typescript-eslint/recommended',
22+
'plugin:@angular-eslint/recommended',
23+
'plugin:@angular-eslint/template/process-inline-templates'
24+
)
25+
.map((config) => ({
26+
...config,
27+
files: ['**/*.ts']
28+
})),
29+
{
30+
files: ['**/*.ts'],
31+
32+
rules: {
33+
'@angular-eslint/directive-selector': [
34+
'error',
35+
{
36+
type: 'attribute',
37+
prefix: 'app',
38+
style: 'camelCase'
39+
}
40+
],
41+
42+
'@angular-eslint/component-selector': [
43+
'error',
44+
{
45+
type: 'element',
46+
prefix: 'app',
47+
style: 'kebab-case'
48+
}
49+
],
50+
// Disable the prefer-standalone rule
51+
'@angular-eslint/prefer-standalone': 'off'
52+
}
53+
},
54+
...compat.extends('plugin:@angular-eslint/template/recommended').map((config) => ({
55+
...config,
56+
files: ['**/*.html']
57+
})),
58+
{
59+
files: ['**/*.html'],
60+
rules: {}
61+
}
62+
];

package.json

Lines changed: 40 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mantis-free-angular-admin-template",
3-
"version": "4.1.0",
3+
"version": "5.0.0",
44
"author": "CodedThemes",
55
"license": "MIT",
66
"scripts": {
@@ -11,51 +11,54 @@
1111
"watch": "ng build --watch --configuration development",
1212
"test": "ng test",
1313
"lint": "ng lint",
14-
"lint-fix": "ng lint --fix"
14+
"lint:fix": "ng lint --fix",
15+
"prettier": "prettier --write ./src"
1516
},
1617
"private": false,
1718
"dependencies": {
18-
"@angular/animations": "^18.0.5",
19-
"@angular/cdk": "^18.0.5",
20-
"@angular/common": "^18.0.5",
21-
"@angular/compiler": "^18.0.5",
22-
"@angular/core": "^18.0.5",
23-
"@angular/forms": "^18.0.5",
24-
"@angular/platform-browser": "^18.0.5",
25-
"@angular/platform-browser-dynamic": "^18.0.5",
26-
"@angular/router": "^18.0.5",
27-
"@ant-design/icons-angular": "^18.0.0",
28-
"@ng-bootstrap/ng-bootstrap": "^17.0.0",
29-
"@popperjs/core": "^2.11.8",
30-
"apexcharts": "^3.49.2",
31-
"bootstrap": "^5.3.3",
32-
"ng-apexcharts": "^1.11.0",
33-
"ngx-scrollbar": "^15.0.1",
19+
"@angular/animations": "19.0.5",
20+
"@angular/cdk": "19.0.4",
21+
"@angular/common": "19.0.5",
22+
"@angular/compiler": "19.0.5",
23+
"@angular/core": "19.0.5",
24+
"@angular/forms": "19.0.5",
25+
"@angular/platform-browser": "19.0.5",
26+
"@angular/platform-browser-dynamic": "19.0.5",
27+
"@angular/router": "19.0.5",
28+
"@ant-design/icons-angular": "19.0.0",
29+
"@ng-bootstrap/ng-bootstrap": "18.0.0",
30+
"@popperjs/core": "2.11.8",
31+
"apexcharts": "3.49.2",
32+
"bootstrap": "5.3.3",
33+
"ng-apexcharts": "1.11.0",
34+
"ngx-scrollbar": "16.1.1",
3435
"rxjs": "~7.8.1",
35-
"tslib": "^2.6.3",
36-
"zone.js": "~0.14.7"
36+
"tslib": "2.8.1",
37+
"zone.js": "~0.15.0"
3738
},
3839
"devDependencies": {
39-
"@angular-devkit/build-angular": "^18.0.6",
40-
"@angular-eslint/builder": "18.0.1",
41-
"@angular-eslint/eslint-plugin": "18.0.1",
42-
"@angular-eslint/eslint-plugin-template": "18.0.1",
43-
"@angular-eslint/schematics": "18.0.1",
44-
"@angular-eslint/template-parser": "18.0.1",
45-
"@angular/cli": "~18.0.6",
46-
"@angular/compiler-cli": "^18.0.5",
47-
"@types/jasmine": "~5.1.4",
48-
"@types/node": "^20.14.9",
49-
"@typescript-eslint/eslint-plugin": "7.14.1",
50-
"@typescript-eslint/parser": "7.14.1",
51-
"eslint": "^9.5.0",
52-
"jasmine-core": "~5.1.2",
53-
"karma": "~6.4.3",
40+
"@angular-devkit/build-angular": "19.0.6",
41+
"@angular-eslint/builder": "19.0.2",
42+
"@angular-eslint/eslint-plugin": "19.0.2",
43+
"@angular-eslint/eslint-plugin-template": "19.0.2",
44+
"@angular-eslint/schematics": "19.0.2",
45+
"@angular-eslint/template-parser": "19.0.2",
46+
"@angular/cli": "~19.0.6",
47+
"@angular/compiler-cli": "19.0.5",
48+
"@eslint/eslintrc": "^3.2.0",
49+
"@eslint/js": "^9.17.0",
50+
"@types/jasmine": "~5.1.5",
51+
"@types/node": "22.10.2",
52+
"@typescript-eslint/eslint-plugin": "8.18.1",
53+
"@typescript-eslint/parser": "8.18.1",
54+
"eslint": "9.17.0",
55+
"jasmine-core": "~5.5.0",
56+
"karma": "~6.4.4",
5457
"karma-chrome-launcher": "~3.2.0",
5558
"karma-coverage": "~2.2.1",
5659
"karma-jasmine": "~5.1.0",
5760
"karma-jasmine-html-reporter": "~2.1.0",
58-
"prettier": "3.3.2",
59-
"typescript": "5.4"
61+
"prettier": "3.4.2",
62+
"typescript": "5.6.3"
6063
}
6164
}

src/app/app-routing.module.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { RouterModule, Routes } from '@angular/router';
44

55
// Project import
66
import { AdminComponent } from './theme/layouts/admin-layout/admin-layout.component';
7-
import { GuestComponent } from './theme/layouts/guest/guest.component';
7+
import { GuestLayoutComponent } from './theme/layouts/guest-layout/guest-layout.component';
88

99
const routes: Routes = [
1010
{
@@ -18,33 +18,34 @@ const routes: Routes = [
1818
},
1919
{
2020
path: 'dashboard/default',
21-
loadComponent: () => import('./demo/default/dashboard/dashboard.component').then((c) => c.DefaultComponent)
21+
loadComponent: () => import('./demo/dashboard/default/default.component').then((c) => c.DefaultComponent)
2222
},
2323
{
2424
path: 'typography',
25-
loadComponent: () => import('./demo/ui-component/typography/typography.component')
25+
loadComponent: () => import('./demo/component/basic-component/color/color.component').then((c) => c.ColorComponent)
2626
},
2727
{
2828
path: 'color',
29-
loadComponent: () => import('./demo/ui-component/ui-color/ui-color.component')
29+
loadComponent: () => import('./demo/component/basic-component/typography/typography.component').then((c) => c.TypographyComponent)
3030
},
3131
{
3232
path: 'sample-page',
33-
loadComponent: () => import('./demo/other/sample-page/sample-page.component')
33+
loadComponent: () => import('./demo/others/sample-page/sample-page.component').then((c) => c.SamplePageComponent)
3434
}
3535
]
3636
},
3737
{
3838
path: '',
39-
component: GuestComponent,
39+
component: GuestLayoutComponent,
4040
children: [
4141
{
4242
path: 'login',
43-
loadComponent: () => import('./demo/authentication/login/login.component')
43+
loadComponent: () => import('./demo/pages/authentication/auth-login/auth-login.component').then((c) => c.AuthLoginComponent)
4444
},
4545
{
4646
path: 'register',
47-
loadComponent: () => import('./demo/authentication/register/register.component')
47+
loadComponent: () =>
48+
import('./demo/pages/authentication/auth-register/auth-register.component').then((c) => c.AuthRegisterComponent)
4849
}
4950
]
5051
}

src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<router-outlet></router-outlet>
1+
<router-outlet><app-spinner /></router-outlet>

src/app/app.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
// angular import
22
import { Component } from '@angular/core';
3+
import { RouterOutlet } from '@angular/router';
4+
import { SpinnerComponent } from './theme/shared/components/spinner/spinner.component';
35

46
@Component({
57
selector: 'app-root',
68
templateUrl: './app.component.html',
7-
styleUrls: ['./app.component.scss']
9+
styleUrls: ['./app.component.scss'],
10+
imports: [RouterOutlet, SpinnerComponent]
811
})
912
export class AppComponent {
1013
// public props

src/app/app.module.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/app/demo/admin-panel/README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
# Mantis Admin Panel - Unlock Premium Features with the Pro Version
6+
7+
Elevate your project with the Pro Version of the <b>Mantis 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 2.0.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://mantisdashboard.io/angular/default/dashboard/default) : Advanced dashboards with real-time insights and data visualizations for actionable metrics.
14+
15+
[📦 Widgets](https://mantisdashboard.io/angular/default/widget/statistics) : A curated library of pre-built widgets for enhanced functionality and faster development.
16+
17+
[⚙️ Admin Panel](https://mantisdashboard.io/angular/default/online-course/dashboard) : Fully responsive, user-friendly admin panels for efficient and seamless management.
18+
19+
[🔧 Components](https://mantisdashboard.io/angular/default/components/basic/button) : A rich collection of reusable and customizable UI components.
20+
21+
[🚀 Advanced Components](https://mantisdashboard.io/angular/default/components/advance/sweet-alert) : Sophisticated and innovative tools to enhance the overall design and functionality of your application.
22+
23+
[📝 Forms](https://mantisdashboard.io/angular/default/form/form-basic) : Dynamic and customizable forms with advanced validation features for a smooth user experience.
24+
25+
[📊 Tables](https://mantisdashboard.io/angular/default/bootstrap-table/basic-table) : Structured, interactive tables with sorting, filtering, and pagination options.
26+
27+
[📈 Charts](https://mantisdashboard.io/angular/default/apex-chart) : Beautifully designed charts powered by modern data visualization libraries.
28+
29+
[🔒 Authentication](https://codedthemes.com/demos/admin-templates/gradient-able/angular/stage/auth/register) : Secure pages for login, registration, and password recovery, ensuring robust user management.
30+
31+
[🛒 E-commerce App](https://mantisdashboard.io/angular/default/e-commerce/product) : A complete e-commerce management system for handling products, inventory, and transactions.
32+
33+
[💬 Chat Messages](https://mantisdashboard.io/angular/default/chat) : An integrated chat system to enhance communication within your application.
34+
35+
[👤 User Profile](https://mantisdashboard.io/angular/default/user/user-profile) : A sleek and customizable user profile page for managing user details and settings.
36+
37+
## Why Upgrade to the Pro Version?
38+
39+
🚀 <b>Advanced Features</b> : Access premium components and tools designed for modern, high-end projects. <br/><br/>
40+
⚡ <b>Faster Development</b> : Pre-designed pages, widgets, and features help you save time and effort. <br/><br/>
41+
📱 <b>Fully Responsive Design</b> : Enjoy a flawless experience across desktops, tablets, and smartphones. <br/><br/>
42+
🛠 <b>Developer-Friendly</b> : Modular code, clear documentation, and well-structured components make customization a breeze. <br/><br/>
43+
🎨 <b>Customization-Ready</b> : Personalize every aspect of your project with ease to match your branding needs.
44+
45+
## Get Started with the Pro Version!
46+
47+
👉 [Explore the Pro version now](https://codedthemes.com/item/mantis-angular-admin-template/) - and supercharge your development experience!

0 commit comments

Comments
 (0)