Skip to content

Commit c085dae

Browse files
committed
Documentation(1023562): Update Package
1 parent 1cbeeed commit c085dae

16 files changed

Lines changed: 242 additions & 167 deletions
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"ClientApp": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "css"
11+
}
12+
},
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "app",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist/ClientApp",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": [
24+
"zone.js"
25+
],
26+
"tsConfig": "src/tsconfig.app.json",
27+
"assets": [
28+
"src/favicon.ico",
29+
"src/assets"
30+
],
31+
"styles": [
32+
"src/styles.css"
33+
],
34+
"scripts": []
35+
},
36+
"configurations": {
37+
"production": {
38+
"budgets": [
39+
{
40+
"type": "initial",
41+
"maximumWarning": "500kb",
42+
"maximumError": "1mb"
43+
},
44+
{
45+
"type": "anyComponentStyle",
46+
"maximumWarning": "2kb",
47+
"maximumError": "4kb"
48+
}
49+
],
50+
"outputHashing": "all"
51+
},
52+
"development": {
53+
"buildOptimizer": false,
54+
"optimization": false,
55+
"vendorChunk": true,
56+
"extractLicenses": false,
57+
"sourceMap": true,
58+
"namedChunks": true
59+
}
60+
},
61+
"defaultConfiguration": "production"
62+
},
63+
"serve": {
64+
"builder": "@angular-devkit/build-angular:dev-server",
65+
"configurations": {
66+
"production": {
67+
"buildTarget": "ClientApp:build:production"
68+
},
69+
"development": {
70+
"buildTarget": "ClientApp:build:development"
71+
}
72+
},
73+
"defaultConfiguration": "development"
74+
},
75+
"extract-i18n": {
76+
"builder": "@angular-devkit/build-angular:extract-i18n",
77+
"options": {
78+
"buildTarget": "ClientApp:build"
79+
}
80+
},
81+
"test": {
82+
"builder": "@angular-devkit/build-angular:karma",
83+
"options": {
84+
"polyfills": [
85+
"zone.js",
86+
"zone.js/testing"
87+
],
88+
"tsConfig": "src/tsconfig.spec.json",
89+
"assets": [
90+
"src/favicon.ico",
91+
"src/assets"
92+
],
93+
"styles": [
94+
"src/styles.css"
95+
],
96+
"scripts": []
97+
}
98+
}
99+
}
100+
}
101+
},
102+
"cli": {
103+
"analytics": false
104+
}
105+
}

ServerSideEditing/ClientApp/package.json

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -13,43 +13,38 @@
1313
},
1414
"private": true,
1515
"dependencies": {
16-
"@angular/animations": "^5.2.0",
17-
"@angular/common": "^5.2.0",
18-
"@angular/compiler": "^5.2.0",
19-
"@angular/core": "^5.2.0",
20-
"@angular/forms": "^5.2.0",
21-
"@angular/http": "^5.2.0",
22-
"@angular/platform-browser": "^5.2.0",
23-
"@angular/platform-browser-dynamic": "^5.2.0",
24-
"@angular/platform-server": "^5.2.0",
25-
"@angular/router": "^5.2.0",
26-
"@nguniversal/module-map-ngfactory-loader": "^5.0.0-beta.5",
16+
"@angular/animations": "^20.0.0",
17+
"@angular/common": "^20.0.0",
18+
"@angular/compiler": "^20.0.0",
19+
"@angular/core": "^20.0.0",
20+
"@angular/forms": "^20.0.0",
21+
"@angular/platform-browser": "^20.0.0",
22+
"@angular/platform-browser-dynamic": "^20.0.0",
23+
"@angular/platform-server": "^20.0.0",
24+
"@angular/router": "^20.0.0",
2725
"aspnet-prerendering": "^3.0.1",
28-
"bootstrap": "^3.4.1",
29-
"core-js": "^2.4.1",
30-
"rxjs": "^5.5.6",
31-
"zone.js": "^0.8.19",
26+
"bootstrap": "^5.x",
27+
"core-js": "^3.x",
28+
"rxjs": "~7.8.0",
29+
"tslib": "^2.3.0",
30+
"zone.js": "~0.15.0",
3231
"@syncfusion/ej2-angular-treegrid": "*"
3332
},
3433
"devDependencies": {
35-
"@angular/cli": "~1.7.0",
36-
"@angular/compiler-cli": "^5.2.0",
37-
"@angular/language-service": "^5.2.0",
38-
"@types/jasmine": "~2.8.3",
39-
"@types/jasminewd2": "~2.0.2",
40-
"@types/node": "~6.0.60",
41-
"codelyzer": "^4.0.1",
42-
"jasmine-core": "~2.8.0",
43-
"jasmine-spec-reporter": "~4.2.1",
44-
"karma": "~2.0.0",
45-
"karma-chrome-launcher": "~2.2.0",
46-
"karma-coverage-istanbul-reporter": "^1.2.1",
47-
"karma-jasmine": "~1.1.0",
48-
"karma-jasmine-html-reporter": "^0.2.2",
49-
"protractor": "~5.1.2",
50-
"ts-node": "~4.1.0",
51-
"tslint": "~5.9.1",
52-
"typescript": "~2.5.3"
34+
"@angular-devkit/build-angular": "^20.3.24",
35+
"@angular/cli": "^20.0.0",
36+
"@angular/compiler-cli": "^20.0.0",
37+
"@angular/language-service": "^20.0.0",
38+
"@types/jasmine": "~5.1.0",
39+
"@types/node": "^22.0.0",
40+
"jasmine-core": "~5.1.0",
41+
"jasmine-spec-reporter": "~5.0.0",
42+
"karma": "~6.4.0",
43+
"karma-chrome-launcher": "~3.2.0",
44+
"karma-coverage": "~2.2.0",
45+
"karma-jasmine": "~5.1.0",
46+
"karma-jasmine-html-reporter": "~2.1.0",
47+
"typescript": "~5.8.2"
5348
},
5449
"optionalDependencies": {
5550
"node-sass": "^4.9.0"
Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
<div class='container-fluid'>
2-
<div class='row'>
3-
<div class='col-sm-3'>
4-
<app-nav-menu></app-nav-menu>
5-
</div>
6-
<div class='col-sm-9 body-content'>
7-
<router-outlet></router-outlet>
8-
</div>
9-
</div>
1+
<app-nav-menu></app-nav-menu>
2+
<div class='container mt-4'>
3+
<router-outlet></router-outlet>
104
</div>

ServerSideEditing/ClientApp/src/app/app.component.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
import { Component } from '@angular/core';
2+
import { CommonModule } from '@angular/common';
3+
import { RouterModule } from '@angular/router';
4+
import { NavMenuComponent } from './nav-menu/nav-menu.component';
25

36
@Component({
47
selector: 'app-root',
58
templateUrl: './app.component.html',
6-
styleUrls: ['./app.component.css']
9+
styleUrls: ['./app.component.css'],
10+
standalone: true,
11+
imports: [CommonModule, RouterModule, NavMenuComponent]
712
})
813
export class AppComponent {
914
title = 'app';

ServerSideEditing/ClientApp/src/app/app.module.ts

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

ServerSideEditing/ClientApp/src/app/counter/counter.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { Component } from '@angular/core';
2+
import { CommonModule } from '@angular/common';
23

34
@Component({
45
selector: 'app-counter-component',
5-
templateUrl: './counter.component.html'
6+
templateUrl: './counter.component.html',
7+
standalone: true,
8+
imports: [CommonModule]
69
})
710
export class CounterComponent {
811
public currentCount = 0;

ServerSideEditing/ClientApp/src/app/fetch-data/fetch-data.component.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import { Component, Inject, OnInit } from '@angular/core';
2-
import { EditSettingsModel, ToolbarItems, SelectionSettingsModel } from '@syncfusion/ej2-angular-treegrid';
2+
import { CommonModule } from '@angular/common';
3+
import { EditSettingsModel, ToolbarItems, SelectionSettingsModel, TreeGridModule } from '@syncfusion/ej2-angular-treegrid';
34
import { DataManager, UrlAdaptor } from '@syncfusion/ej2-data';
45

56
@Component({
67
selector: 'app-fetch-data-component',
7-
templateUrl: './fetch-data.component.html'
8+
templateUrl: './fetch-data.component.html',
9+
standalone: true,
10+
imports: [CommonModule, TreeGridModule]
811
})
912
export class FetchDataComponent {
1013

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { Component } from '@angular/core';
2+
import { CommonModule } from '@angular/common';
23

34
@Component({
45
selector: 'app-home',
56
templateUrl: './home.component.html',
7+
standalone: true,
8+
imports: [CommonModule]
69
})
710
export class HomeComponent {
811
}
Lines changed: 12 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,22 @@
1-
li .glyphicon {
2-
margin-right: 10px;
1+
/* Highlighting rules for nav menu items */
2+
.navbar-nav .nav-link.active {
3+
color: #fff;
4+
font-weight: bold;
35
}
46

5-
/* Highlighting rules for nav menu items */
6-
li.link-active a,
7-
li.link-active a:hover,
8-
li.link-active a:focus {
9-
background-color: #4189C7;
10-
color: white;
7+
.navbar-nav .nav-link:hover {
8+
color: #ddd;
119
}
1210

1311
/* Keep the nav menu independent of scrolling and on top of other items */
1412
.main-nav {
15-
position: fixed;
16-
top: 0;
17-
left: 0;
18-
right: 0;
13+
position: relative;
1914
z-index: 1;
2015
}
2116

22-
@media (min-width: 768px) {
23-
/* On small screens, convert the nav menu to a vertical sidebar */
24-
.main-nav {
25-
height: 100%;
26-
width: calc(25% - 20px);
27-
}
28-
.navbar {
29-
border-radius: 0px;
30-
border-width: 0px;
31-
height: 100%;
32-
}
33-
.navbar-header {
34-
float: none;
35-
}
36-
.navbar-collapse {
37-
border-top: 1px solid #444;
38-
padding: 0px;
39-
}
40-
.navbar ul {
41-
float: none;
42-
}
43-
.navbar li {
44-
float: none;
45-
font-size: 15px;
46-
margin: 6px;
47-
}
48-
.navbar li a {
49-
padding: 10px 16px;
50-
border-radius: 4px;
51-
}
52-
.navbar a {
53-
/* If a menu item's text is too long, truncate it */
54-
width: 100%;
55-
white-space: nowrap;
56-
overflow: hidden;
57-
text-overflow: ellipsis;
58-
}
17+
/* Handle long menu item text */
18+
.navbar a {
19+
white-space: nowrap;
20+
overflow: hidden;
21+
text-overflow: ellipsis;
5922
}

0 commit comments

Comments
 (0)