From f6313f4342c5150c163c36ff8e46fb083f8b5e93 Mon Sep 17 00:00:00 2001 From: Sivaranjani Rajasekaran Date: Thu, 7 May 2026 14:25:21 +0530 Subject: [PATCH] Documentation(1023562): Package Update --- angular.json | 19 +++++++------ package.json | 57 +++++++++++++++++--------------------- src/app/app.component.html | 2 +- src/app/app.component.ts | 14 ++++++++-- src/app/app.module.ts | 15 ---------- src/index.html | 1 + src/main.ts | 15 ++++------ src/polyfills.ts | 2 +- src/styles.css | 11 +++++++- tsconfig.json | 6 ++-- 10 files changed, 66 insertions(+), 76 deletions(-) delete mode 100644 src/app/app.module.ts diff --git a/angular.json b/angular.json index 5831f4e..f64054b 100644 --- a/angular.json +++ b/angular.json @@ -18,14 +18,13 @@ "main": "src/main.ts", "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.app.json", - "aot": false, + "aot": true, "assets": [ "src/favicon.ico", "src/assets" ], "styles": [ - "src/styles.css", - "./node_modules/@syncfusion/ej2-material-theme/styles/material.css" + "src/styles.css" ], "scripts": [] }, @@ -64,18 +63,18 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "getting-started:build" + "buildTarget": "getting-started:build" }, "configurations": { "production": { - "browserTarget": "getting-started:build:production" + "buildTarget": "getting-started:build:production" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "getting-started:build" + "buildTarget": "getting-started:build" } }, "test": { @@ -90,8 +89,7 @@ "src/assets" ], "styles": [ - "src/styles.css", - "./node_modules/@syncfusion/ej2-material-theme/styles/material.css" + "src/styles.css" ], "scripts": [] } @@ -124,5 +122,8 @@ } } }, - "defaultProject": "getting-started" + "defaultProject": "getting-started", + "cli": { + "analytics": "0fe51e98-4163-4afa-b864-273cd7f853ee" + } } \ No newline at end of file diff --git a/package.json b/package.json index 495c915..c74b41a 100644 --- a/package.json +++ b/package.json @@ -11,40 +11,33 @@ }, "private": true, "dependencies": { - "@angular/animations": "~10.2.5", - "@angular/common": "~10.2.5", - "@angular/compiler": "~10.2.5", - "@angular/core": "~10.2.5", - "@angular/forms": "~10.2.5", - "@angular/platform-browser": "~10.2.5", - "@angular/platform-browser-dynamic": "~10.2.5", - "@angular/router": "~10.2.5", - "@syncfusion/ej2-angular-grids": "^18.4.30", - "@syncfusion/ej2-angular-schedule": "^18.4.30", + "@angular/animations": "^20.0.0", + "@angular/common": "^20.0.0", + "@angular/compiler": "^20.0.0", + "@angular/core": "^20.0.0", + "@angular/forms": "^20.0.0", + "@angular/platform-browser": "^20.0.0", + "@angular/platform-browser-dynamic": "^20.0.0", + "@angular/router": "^20.0.0", + "@syncfusion/ej2-angular-grids": "*", + "@syncfusion/ej2-angular-schedule": "*", + "@syncfusion/ej2-angular-treegrid": "^33.2.3", "core-js": "^3.6.5", - "rxjs": "~6.6.0", - "tslib": "^2.0.0", - "zone.js": "~0.10.3" + "rxjs": "~7.8.0", + "tslib": "^2.3.0", + "zone.js": "~0.15.0" }, "devDependencies": { - "@angular-devkit/build-angular": "~0.1002.4", - "@angular/cli": "~10.2.4", - "@angular/compiler-cli": "~10.2.5", - "@angular/language-service": "~10.2.5", - "@types/jasmine": "~3.5.0", - "@types/jasminewd2": "~2.0.3", - "@types/node": "^12.11.1", - "codelyzer": "^6.0.0", - "jasmine-core": "~3.5.0", - "jasmine-spec-reporter": "~5.0.0", - "karma": "~6.3.16", - "karma-chrome-launcher": "~3.1.0", - "karma-coverage-istanbul-reporter": "~3.0.2", - "karma-jasmine": "~4.0.0", - "karma-jasmine-html-reporter": "^1.4.0", - "protractor": "~7.0.0", - "ts-node": "~8.3.0", - "tslint": "~6.1.0", - "typescript": "4.0.8" + "@angular-devkit/build-angular": "^20.3.24", + "@angular/cli": "^20.0.0", + "@angular/compiler-cli": "^20.0.0", + "@types/jasmine": "~5.1.0", + "jasmine-core": "~5.1.0", + "karma": "~6.4.0", + "karma-chrome-launcher": "~3.2.0", + "karma-coverage": "~2.2.0", + "karma-jasmine": "~5.1.0", + "karma-jasmine-html-reporter": "~2.1.0", + "typescript": "~5.8.2" } } diff --git a/src/app/app.component.html b/src/app/app.component.html index 05419d2..08cdde9 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -120,7 +120,7 @@ > ---> + --> + diff --git a/src/main.ts b/src/main.ts index 22d822d..986adfe 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,12 +1,7 @@ -import { enableProdMode } from '@angular/core'; -import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; +import { bootstrapApplication } from '@angular/platform-browser'; +import { AppComponent } from './app/app.component'; +import 'zone.js'; -import { AppModule } from './app/app.module'; -import { environment } from './environments/environment'; +bootstrapApplication(AppComponent) + .catch((err) => console.error(err)); -if (environment.production) { - enableProdMode(); -} - -platformBrowserDynamic().bootstrapModule(AppModule) - .catch(err => console.error(err)); diff --git a/src/polyfills.ts b/src/polyfills.ts index 4d01f43..9a6fac3 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -55,7 +55,7 @@ /*************************************************************************************************** * Zone JS is required by default for Angular itself. */ -import 'zone.js/dist/zone'; // Included with Angular CLI. +import 'zone.js'; // Included with Angular CLI. /*************************************************************************************************** diff --git a/src/styles.css b/src/styles.css index 8779f06..ddd007a 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,2 +1,11 @@ -@import '../node_modules/@syncfusion/ej2-material-theme/styles/material.css'; /* You can add global styles to this file, and also import other style files */ +@import '../node_modules/@syncfusion/ej2-base/styles/material3.css'; +@import '../node_modules/@syncfusion/ej2-buttons/styles/material3.css'; +@import '../node_modules/@syncfusion/ej2-calendars/styles/material3.css'; +@import '../node_modules/@syncfusion/ej2-dropdowns/styles/material3.css'; +@import '../node_modules/@syncfusion/ej2-inputs/styles/material3.css'; +@import '../node_modules/@syncfusion/ej2-navigations/styles/material3.css'; +@import '../node_modules/@syncfusion/ej2-popups/styles/material3.css'; +@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material3.css'; +@import '../node_modules/@syncfusion/ej2-grids/styles/material3.css'; +@import '../node_modules/@syncfusion/ej2-treegrid/styles/material3.css'; \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index e01adf2..ce6c25b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,14 @@ { "compileOnSave": false, "compilerOptions": { - "baseUrl": "./", "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, - "downlevelIteration": true, "experimentalDecorators": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "importHelpers": true, - "target": "es2015", + "target": "es2020", "typeRoots": [ "node_modules/@types" ],