Skip to content

Commit 13a0db1

Browse files
authored
Angular 19 (#17)
* Angular _19 complete * eslint issue fix * readme file content update * readme file content update
1 parent cefc193 commit 13a0db1

70 files changed

Lines changed: 4441 additions & 2510 deletions

File tree

Some content is hidden

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

β€ŽREADME.mdβ€Ž

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,13 @@ yarn start
8383

8484
## Technology Stack
8585

86-
- Bootstrap 5
87-
- Angular 18
86+
- Angular 19.x.x
87+
- Bootstrap 5.x.x
88+
- TypeScript
89+
- JWT (i.e. Pro version)
90+
- Role Base Authentication (i.e. Pro version)
91+
- Apex Charts
92+
- npm package installer
8893

8994
## Author
9095

β€Žangular.jsonβ€Ž

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,22 @@
1717
"build": {
1818
"builder": "@angular-devkit/build-angular:browser",
1919
"options": {
20-
"allowedCommonJsDependencies": ["apexcharts"],
20+
"allowedCommonJsDependencies": [
21+
"apexcharts"
22+
],
2123
"outputPath": "dist",
2224
"index": "src/index.html",
2325
"main": "src/main.ts",
2426
"polyfills": "src/polyfills.ts",
2527
"tsConfig": "tsconfig.app.json",
2628
"inlineStyleLanguage": "scss",
27-
"assets": ["src/favicon.ico", "src/assets"],
28-
"styles": ["src/styles.scss"],
29+
"assets": [
30+
"src/favicon.ico",
31+
"src/assets"
32+
],
33+
"styles": [
34+
"src/styles.scss"
35+
],
2936
"scripts": []
3037
},
3138
"configurations": {
@@ -94,15 +101,32 @@
94101
"tsConfig": "tsconfig.spec.json",
95102
"karmaConfig": "karma.conf.js",
96103
"inlineStyleLanguage": "scss",
97-
"assets": ["src/favicon.ico", "src/assets"],
98-
"styles": ["src/styles.scss"],
104+
"assets": [
105+
"src/favicon.ico",
106+
"src/assets"
107+
],
108+
"styles": [
109+
"src/styles.scss"
110+
],
99111
"scripts": []
100112
}
113+
},
114+
"lint": {
115+
"builder": "@angular-eslint/builder:lint",
116+
"options": {
117+
"lintFilePatterns": [
118+
"src/**/*.ts",
119+
"src/**/*.html"
120+
]
121+
}
101122
}
102123
}
103124
}
104125
},
105126
"cli": {
106-
"analytics": "b68da35f-6e9b-4e25-9791-9b99b359fd6e"
127+
"analytics": "b68da35f-6e9b-4e25-9791-9b99b359fd6e",
128+
"schematicCollections": [
129+
"angular-eslint"
130+
]
107131
}
108132
}

β€Žeslint.config.jsβ€Ž

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// @ts-check
2+
const eslint = require('@eslint/js');
3+
const tseslint = require('typescript-eslint');
4+
const angular = require('angular-eslint');
5+
6+
module.exports = tseslint.config(
7+
{
8+
files: ['**/*.ts'],
9+
extends: [eslint.configs.recommended, ...tseslint.configs.recommended, ...tseslint.configs.stylistic, ...angular.configs.tsRecommended],
10+
processor: angular.processInlineTemplates,
11+
rules: {
12+
'@angular-eslint/directive-selector': [
13+
'error',
14+
{
15+
type: 'attribute',
16+
prefix: 'app',
17+
style: 'camelCase'
18+
}
19+
],
20+
'@angular-eslint/component-selector': [
21+
'error',
22+
{
23+
type: 'element',
24+
prefix: 'app',
25+
style: 'kebab-case'
26+
}
27+
],
28+
// Disable the prefer-standalone rule
29+
'@angular-eslint/prefer-standalone': 'off'
30+
}
31+
},
32+
{
33+
files: ['**/*.html'],
34+
extends: [...angular.configs.templateRecommended, ...angular.configs.templateAccessibility],
35+
rules: {}
36+
}
37+
);

β€Žpackage.jsonβ€Ž

Lines changed: 41 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,57 @@
11
{
22
"name": "berry-free-angular-admin-template",
3-
"version": "4.1.0",
3+
"version": "5.0.0",
44
"author": "CodedThemes",
55
"license": "MIT",
6+
"private": false,
67
"scripts": {
78
"ng": "ng",
89
"start": "ng serve",
910
"build": "ng build",
1011
"build-prod": "ng build --configuration production --base-href /angular/free/",
1112
"watch": "ng build --watch --configuration development",
12-
"test": "ng test"
13+
"test": "ng test",
14+
"lint": "ng lint",
15+
"lint:fix": "ng lint --fix",
16+
"prettier": "prettier --write ./src"
1317
},
1418
"dependencies": {
15-
"@angular/animations": "^18.0.5",
16-
"@angular/cdk": "^18.0.5",
17-
"@angular/common": "^18.0.5",
18-
"@angular/compiler": "^18.0.5",
19-
"@angular/core": "^18.0.5",
20-
"@angular/forms": "^18.0.5",
21-
"@angular/platform-browser": "^18.0.5",
22-
"@angular/platform-browser-dynamic": "^18.0.5",
23-
"@angular/router": "^18.0.5",
24-
"@ng-bootstrap/ng-bootstrap": "^17.0.0",
25-
"@popperjs/core": "^2.11.8",
26-
"apexcharts": "^3.49.2",
27-
"bootstrap": "^5.3.3",
28-
"ng-apexcharts": "^1.11.0",
29-
"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+
"@ng-bootstrap/ng-bootstrap": "18.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": "16.1.1",
3034
"rxjs": "~7.8.1",
31-
"tslib": "^2.6.3",
32-
"zone.js": "~0.14.7"
35+
"tslib": "2.8.1",
36+
"zone.js": "~0.15.0"
3337
},
3438
"devDependencies": {
35-
"@angular-devkit/build-angular": "^18.0.6",
36-
"@angular/cli": "~18.0.6",
37-
"@angular/compiler-cli": "^18.0.5",
38-
"@types/jasmine": "~5.1.4",
39-
"jasmine-core": "~5.1.2",
40-
"karma": "~6.4.3",
41-
"karma-chrome-launcher": "~3.2.0",
42-
"karma-coverage": "~2.2.1",
43-
"karma-jasmine": "~5.1.0",
44-
"karma-jasmine-html-reporter": "~2.1.0",
45-
"prettier": "3.3.2",
46-
"typescript": "5.4"
39+
"@angular-devkit/build-angular": "19.0.6",
40+
"@angular/cli": "19.0.6",
41+
"@angular/compiler-cli": "19.0.5",
42+
"@eslint/eslintrc": "3.2.0",
43+
"@eslint/js": "9.17.0",
44+
"@types/jasmine": "5.1.5",
45+
"angular-eslint": "19.0.2",
46+
"eslint": "^9.16.0",
47+
"jasmine-core": "5.5.0",
48+
"karma": "6.4.4",
49+
"karma-chrome-launcher": "3.2.0",
50+
"karma-coverage": "2.2.1",
51+
"karma-jasmine": "5.1.0",
52+
"karma-jasmine-html-reporter": "2.1.0",
53+
"prettier": "3.4.2",
54+
"typescript": "5.6.3",
55+
"typescript-eslint": "8.18.0"
4756
}
48-
}
57+
}

β€Žsrc/app/app-config.tsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export class BerryConfig {
2-
static isCollapse_menu: boolean = false;
3-
static font_family: string = 'Roboto'; // Roboto, poppins, inter
2+
static isCollapse_menu = false;
3+
static font_family = 'Roboto'; // Roboto, poppins, inter
44
}

β€Žsrc/app/app-routing.module.tsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const routes: Routes = [
1515
},
1616
{
1717
path: 'default',
18-
loadComponent: () => import('./demo/default/default.component').then((c) => c.DefaultComponent)
18+
loadComponent: () => import('./demo/dashboard/default/default.component').then((c) => c.DefaultComponent)
1919
},
2020
{
2121
path: 'typography',
@@ -27,7 +27,7 @@ const routes: Routes = [
2727
},
2828
{
2929
path: 'sample-page',
30-
loadComponent: () => import('./demo/sample-page/sample-page.component')
30+
loadComponent: () => import('./demo/other/sample-page/sample-page.component')
3131
}
3232
]
3333
},

β€Žsrc/app/app.component.htmlβ€Ž

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

β€Žsrc/app/app.component.tsβ€Ž

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

35
@Component({
46
selector: 'app-root',
57
templateUrl: './app.component.html',
6-
styleUrls: ['./app.component.scss']
8+
styleUrls: ['./app.component.scss'],
9+
imports: [RouterOutlet, SpinnerComponent]
710
})
811
export class AppComponent {
912
title = 'Berry Angular Free Version';

β€Žsrc/app/app.module.tsβ€Ž

Lines changed: 0 additions & 42 deletions
This file was deleted.
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+
# 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 4.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://berrydashboard.io/angular/default/default) : Advanced, real-time dashboards with interactive data visualizations for actionable insights.
14+
15+
[πŸ“¦ Widgets](https://berrydashboard.io/angular/default/widget/statistics) : A curated library of pre-built widgets to streamline your development process and enhance functionality.
16+
17+
[βš™οΈ Admin Panel](https://berrydashboard.io/angular/default/online-course/dashboard) : Fully responsive and user-friendly admin panels designed for efficient management and control.
18+
19+
[πŸ”§ Components](https://berrydashboard.io/angular/default/basic/alert) : A wide range of reusable and customizable UI components to suit diverse project needs.
20+
21+
[πŸš€ Advanced Components](https://berrydashboard.io/angular/default/advance/sweetAlert) : Sophisticated tools and features to amplify your project’s design and interactivity.
22+
23+
[πŸ“ Forms](https://berrydashboard.io/angular/default/forms/basic) : Dynamic, customizable forms with advanced validation options for a smooth user experience.
24+
25+
[πŸ“Š Tables](https://berrydashboard.io/angular/default/ng-table/basicTable) : Interactive, structured tables with sorting, filtering, and pagination features for better data management.
26+
27+
[πŸ“ˆ Charts](https://berrydashboard.io/angular/default/chart/apex-chart) : Beautifully designed charts powered by modern libraries for impactful data visualization.
28+
29+
[πŸ”’ Authentication](https://berrydashboard.io/angular/default/auth/auth2/login) : Secure pages for login, registration, and password recovery, ensuring robust user authentication and management.
30+
31+
[πŸ›’ E-commerce App](https://berrydashboard.io/angular/default/ec/ec-product) : A complete e-commerce management solution for handling products, inventory, and transactions.
32+
33+
[πŸ’¬ Chat Messages](https://berrydashboard.io/angular/default/chat) : Integrated chat functionality to boost communication within your application.
34+
35+
[πŸ‘€ User Profile](https://berrydashboard.io/angular/default/user/social-profile) : A sleek, customizable user profile page for managing user information and settings effortlessly.
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/berry-angular-admin-dashboard-template/) - and supercharge your development experience!

0 commit comments

Comments
Β (0)