Skip to content

Commit 2a789df

Browse files
Integrated latest changes at 07-31-2024 10:30:09 PM
1 parent fcf544c commit 2a789df

File tree

33 files changed

+81
-226
lines changed

33 files changed

+81
-226
lines changed

ej2-angular/code-snippet/common/fluent2-cs1/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
1616
"outputPath": "dist/fluent2",
17-
"index": "src/index.html",
17+
"index": "index.html",
1818
"main": "src/main.ts",
1919
"polyfills": [
2020
"zone.js"

ej2-angular/code-snippet/common/fluent2-cs1/src/app.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ButtonModule, CheckBoxModule } from '@syncfusion/ej2-angular-buttons'
44
import { enableRipple } from '@syncfusion/ej2-base'
55
import { SwitchModule} from '@syncfusion/ej2-angular-buttons'
66
import { FormsModule } from '@angular/forms'
7-
7+
import { CommonModule } from '@angular/common';
88
import { Component } from '@angular/core';
99

1010
@Component({
@@ -13,13 +13,14 @@ imports: [
1313
ButtonModule,
1414
CheckBoxModule,
1515
SwitchModule,
16-
FormsModule
16+
FormsModule,
17+
CommonModule
1718
],
1819

1920

2021
standalone: true,
2122
selector: 'app-root',
22-
styleUrls:['./style.css'],
23+
styleUrls:['./styles.css'],
2324
template:`<div [ngClass]="{'e-dark-mode': isChecked, 'dark': isChecked}">
2425
<ejs-checkbox label="Enable Darkmode" (change)="toggleCheckbox()"></ejs-checkbox><br/>
2526

ej2-angular/code-snippet/common/fluent2-cs1/src/style.css

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

ej2-angular/code-snippet/common/fluent2-cs1/styles.css

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

ej2-angular/code-snippet/common/fluent2-cs2/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
1616
"outputPath": "dist/fluent2",
17-
"index": "src/index.html",
17+
"index": "index.html",
1818
"main": "src/main.ts",
1919
"polyfills": [
2020
"zone.js"

ej2-angular/code-snippet/common/fluent2-cs2/src/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ imports: [
1616

1717
standalone: true,
1818
selector: 'app-root',
19-
styleUrls:['./style.css'],
19+
styleUrls:['./styles.css'],
2020
template:`<div>
2121
<!-- Primary Button - Used to represent a primary action. -->
2222
<button ejs-button cssClass="e-primary">Button</button>

ej2-angular/code-snippet/common/fluent2-cs2/src/style.css

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

ej2-angular/code-snippet/common/fluent2-cs2/styles.css

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

ej2-angular/code-snippet/common/material3-cs1/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
1616
"outputPath": "dist/material3",
17-
"index": "src/index.html",
17+
"index": "index.html",
1818
"main": "src/main.ts",
1919
"polyfills": [
2020
"zone.js"

ej2-angular/code-snippet/common/material3-cs1/src/app.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ButtonModule, CheckBoxModule } from '@syncfusion/ej2-angular-buttons'
44
import { enableRipple } from '@syncfusion/ej2-base'
55
import { SwitchModule} from '@syncfusion/ej2-angular-buttons'
66
import { FormsModule } from '@angular/forms'
7-
7+
import { CommonModule } from '@angular/common';
88
import { Component } from '@angular/core';
99

1010
@Component({
@@ -13,13 +13,14 @@ imports: [
1313
ButtonModule,
1414
CheckBoxModule,
1515
SwitchModule,
16-
FormsModule
16+
FormsModule,
17+
CommonModule
1718
],
1819

1920

2021
standalone: true,
2122
selector: 'app-root',
22-
styleUrls:['./style.css'],
23+
styleUrls:['./styles.css'],
2324
template:`<div [ngClass]="{'e-dark-mode': isChecked, 'dark': isChecked}">
2425
<ejs-checkbox label="Enable Darkmode" (change)="toggleCheckbox()"></ejs-checkbox><br/>
2526

ej2-angular/code-snippet/common/material3-cs1/src/style.css

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

ej2-angular/code-snippet/common/material3-cs1/styles.css

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

ej2-angular/code-snippet/common/material3-cs2/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
1616
"outputPath": "dist/material3",
17-
"index": "src/index.html",
17+
"index": "index.html",
1818
"main": "src/main.ts",
1919
"polyfills": [
2020
"zone.js"

ej2-angular/code-snippet/common/material3-cs2/src/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ imports: [
1616

1717
standalone: true,
1818
selector: 'app-root',
19-
styleUrls:['./style.css'],
19+
styleUrls:['./styles.css'],
2020
template:`<div>
2121
<!-- Primary Button - Used to represent a primary action. -->
2222
<button ejs-button cssClass="e-primary">Button</button>

ej2-angular/code-snippet/common/material3-cs2/src/style.css

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

ej2-angular/code-snippet/common/material3-cs2/styles.css

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

ej2-angular/code-snippet/image-editor/default-cs21/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@angular/core": "17.1.2",
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
16-
"@syncfusion/ej2-angular-image-editor": "^22.1.35",
16+
"@syncfusion/ej2-angular-image-editor": "*",
1717
"@syncfusion/ej2-base": "*",
1818
"@syncfusion/ej2-buttons": "*",
1919
"@syncfusion/ej2-lists": "*",

ej2-angular/code-snippet/image-editor/default-cs22/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@angular/core": "17.1.2",
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
16-
"@syncfusion/ej2-angular-image-editor": "^22.1.35",
16+
"@syncfusion/ej2-angular-image-editor": "*",
1717
"@syncfusion/ej2-base": "*",
1818
"@syncfusion/ej2-buttons": "*",
1919
"@syncfusion/ej2-lists": "*",

ej2-angular/code-snippet/image-editor/default-cs23/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@angular/core": "17.1.2",
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
16-
"@syncfusion/ej2-angular-image-editor": "^22.1.35",
16+
"@syncfusion/ej2-angular-image-editor": "*",
1717
"@syncfusion/ej2-base": "*",
1818
"@syncfusion/ej2-buttons": "*",
1919
"@syncfusion/ej2-lists": "*",
Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
export let Pivot_Data: Object[] = [
2-
{ Amount: 2100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 22, State: "Alberta" },
3-
{ Amount: 1100, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 32, State: "Quebec" },
4-
{ Amount: 3100, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 22, State: "Alberta" },
5-
{ Amount: 4800, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 49, State: "Charente-Maritime" },
6-
{ Amount: 9100, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 64, State: "Charente-Maritime" },
7-
{ Amount: 2350, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 46, State: "Gers" },
8-
{ Amount: 3400, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 78, State: "Bayern" },
9-
{ Amount: 8400, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 90, State: "Hamburg" },
10-
{ Amount: 7200, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 92, State: "Bayern" },
11-
{ Amount: 1040, Country: "United Kingdom", Date: "FY 2005", Product: "Bike", Quantity: 47, State: "England" },
12-
{ Amount: 1500, Country: "United Kingdom", Date: "FY 2006", Product: "Van", Quantity: 24, State: "England" },
13-
{ Amount: 4820, Country: "United Kingdom", Date: "FY 2008", Product: "Car", Quantity: 72, State: "England" },
14-
{ Amount: 1520, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 53, State: "North Carolina" },
15-
{ Amount: 3320, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 49, State: "South Carolina" },
16-
{ Amount: 6300, Country: "United States", Date: "FY 2008", Product: "Van", Quantity: 45, State: "South Carolina" },
17-
];
1+
export let Pivot_Data: { [key: string]: Object }[] = [
2+
{ Amount: 2100, Country: "Canada", Date: "FY 2005", Product: "Bike", Quantity: 22, State: "Alberta" , 'Quarter': 'Q1' },
3+
{ Amount: 1100, Country: "Canada", Date: "FY 2006", Product: "Van", Quantity: 32, State: "Quebec" , 'Quarter': 'Q1' },
4+
{ Amount: 3100, Country: "Canada", Date: "FY 2007", Product: "Car", Quantity: 22, State: "Alberta" , 'Quarter': 'Q2' },
5+
{ Amount: 4800, Country: "France", Date: "FY 2005", Product: "Bike", Quantity: 49, State: "Charente-Maritime" ,'Quarter': 'Q2' },
6+
{ Amount: 9100, Country: "France", Date: "FY 2007", Product: "Car", Quantity: 64, State: "Charente-Maritime" , 'Quarter': 'Q3' },
7+
{ Amount: 2350, Country: "France", Date: "FY 2008", Product: "Van", Quantity: 46, State: "Gers" , 'Quarter': 'Q3' },
8+
{ Amount: 3400, Country: "Germany", Date: "FY 2005", Product: "Bike", Quantity: 78, State: "Bayern" , 'Quarter': 'Q4' },
9+
{ Amount: 8400, Country: "Germany", Date: "FY 2006", Product: "Van", Quantity: 90, State: "Hamburg" , 'Quarter': 'Q4' },
10+
{ Amount: 7200, Country: "Germany", Date: "FY 2008", Product: "Car", Quantity: 92, State: "Bayern" ,'Quarter': 'Q5' },
11+
{ Amount: 1040, Country: "United Kingdom", Date: "FY 2005", Product: "Bike", Quantity: 47, State: "England" ,'Quarter': 'Q5' },
12+
{ Amount: 1500, Country: "United Kingdom", Date: "FY 2006", Product: "Van", Quantity: 24, State: "England" ,'Quarter': 'Q6' },
13+
{ Amount: 4820, Country: "United Kingdom", Date: "FY 2008", Product: "Car", Quantity: 72, State: "England" ,'Quarter': 'Q6' },
14+
{ Amount: 1520, Country: "United States", Date: "FY 2006", Product: "Bike", Quantity: 53, State: "North Carolina" ,'Quarter': 'Q7' },
15+
{ Amount: 3320, Country: "United States", Date: "FY 2007", Product: "Car", Quantity: 49, State: "South Carolina" ,'Quarter': 'Q7' },
16+
];

ej2-angular/code-snippet/pivot-grid/getting-started-cs108/src/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ standalone: true,
2020
selector: 'app-container',
2121
providers: [FieldListService, CalculatedFieldService],
2222
// specifies the template string for the pivot table component
23-
template: `<div style="height: 480px;"><ejs-pivotview #pivotview id='PivotView' height='350' [dataSourceSettings]=dataSourceSettings [width]=width allowCalculatedField='true' showFieldList='true'></ejs-pivotview></div>`
23+
template: `<ejs-pivotview #pivotview id='PivotView' height='350' [dataSourceSettings]=dataSourceSettings [width]=width allowCalculatedField='true' showFieldList='true'></ejs-pivotview>`
2424
})
2525
export class AppComponent {
2626
public dataSourceSettings?: IDataOptions;

ej2-angular/code-snippet/pivot-grid/getting-started-cs150/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,25 @@
1313
"@angular/core": "17.1.2",
1414
"@angular/platform-browser": "17.1.2",
1515
"@angular/platform-browser-dynamic": "17.1.2",
16+
"@syncfusion/ej2-angular-base": "*",
1617
"@syncfusion/ej2-angular-pivotview": "*",
1718
"@syncfusion/ej2-base": "*",
1819
"@syncfusion/ej2-buttons": "*",
20+
"@syncfusion/ej2-calendars": "*",
21+
"@syncfusion/ej2-charts": "*",
22+
"@syncfusion/ej2-compression": "*",
23+
"@syncfusion/ej2-data": "*",
1924
"@syncfusion/ej2-dropdowns": "*",
25+
"@syncfusion/ej2-excel-export": "*",
26+
"@syncfusion/ej2-file-utils": "*",
2027
"@syncfusion/ej2-grids": "*",
2128
"@syncfusion/ej2-inputs": "*",
2229
"@syncfusion/ej2-lists": "*",
2330
"@syncfusion/ej2-navigations": "*",
31+
"@syncfusion/ej2-pdf-export": "*",
2432
"@syncfusion/ej2-popups": "*",
2533
"@syncfusion/ej2-splitbuttons": "*",
26-
"@syncfusion/ej2-angular-base": "*",
34+
"@syncfusion/ej2-svg-base": "*",
2735
"@angular/animations": "17.1.2",
2836
"@angular/common": "17.1.2",
2937
"@angular/compiler": "17.1.2",
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
@import 'node_modules/@syncfusion/ej2-base/styles/material.css';
33
@import 'node_modules/@syncfusion/ej2-buttons/styles/material.css';
4+
@import 'node_modules/@syncfusion/ej2-calendars/styles/material.css';
45
@import 'node_modules/@syncfusion/ej2-dropdowns/styles/material.css';
56
@import 'node_modules/@syncfusion/ej2-grids/styles/material.css';
67
@import 'node_modules/@syncfusion/ej2-inputs/styles/material.css';
@@ -9,4 +10,4 @@
910
@import 'node_modules/@syncfusion/ej2-popups/styles/material.css';
1011
@import 'node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
1112
@import 'node_modules/@syncfusion/ej2-angular-pivotview/styles/material.css';
12-
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
13+
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';

0 commit comments

Comments
 (0)