Skip to content

Commit df7ada5

Browse files
Merge pull request #685 from Syncfusion-Content/hotfix/hotfix-v27.2.2
DOCINFRA-2341_merged_using_automation
2 parents edf21f9 + d20aa5a commit df7ada5

File tree

60 files changed

+302
-209
lines changed

Some content is hidden

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

60 files changed

+302
-209
lines changed

ej2-angular/badge/getting-started.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ The following example shows a basic badge component.
130130
{% include code-snippet/badge/getting-started-cs1/src/app.component.ts %}
131131
{% endhighlight %}
132132

133+
{% highlight ts tabtitle="styles.css" %}
134+
{% include code-snippet/badge/getting-started-cs1/src/styles.css %}
135+
{% endhighlight %}
136+
133137
{% highlight ts tabtitle="main.ts" %}
134138
{% include code-snippet/badge/getting-started-cs1/src/main.ts %}
135139
{% endhighlight %}

ej2-angular/code-snippet/badge/getting-started-cs1/index.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,3 @@
1010
top: 45%;
1111
width: 30%;
1212
}
13-
14-
#element {
15-
display: flex;
16-
width: 400px;
17-
margin: auto;
18-
border: 1px solid #dddddd;
19-
border-radius: 3px;
20-
justify-content: center;
21-
}

ej2-angular/code-snippet/badge/getting-started-cs1/package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
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": "*",
17-
"@syncfusion/ej2-angular-inputs": "*",
18-
"@syncfusion/ej2-angular-popups": "*",
19-
"@syncfusion/ej2-angular-buttons": "*",
20-
"@syncfusion/ej2-angular-lists": "*",
21-
"@syncfusion/ej2-angular-splitbuttons": "*",
16+
"@syncfusion/ej2-base": "*",
17+
"@syncfusion/ej2-angular-base": "*",
18+
"@syncfusion/ej2-notifications": "*",
19+
"@syncfusion/ej2-angular-notifications": "*",
2220
"@angular/animations": "17.1.2",
2321
"@angular/common": "17.1.2",
2422
"@angular/compiler": "17.1.2",
@@ -42,4 +40,4 @@
4240
"karma-jasmine-html-reporter": "2.0.0",
4341
"typescript": "5.3.3"
4442
}
45-
}
43+
}
Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1+
@import '/node_modules/@syncfusion/ej2-base/styles/material.css';
2+
@import '/node_modules/@syncfusion/ej2-notifications/styles/material.css';
3+
@import '/node_modules/@syncfusion/ej2-angular-notifications/styles/material.css';
14

2-
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
3-
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
4-
@import 'node_modules/@syncfusion/ej2-angular-popups/styles/material.css';
5-
@import 'node_modules/@syncfusion/ej2-angular-buttons/styles/material.css';
6-
@import 'node_modules/@syncfusion/ej2-angular-lists/styles/material.css';
7-
@import 'node_modules/@syncfusion/ej2-angular-splitbuttons/styles/material.css';
8-
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
9-
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
10-
@import 'node_modules/@syncfusion/ej2-angular-popups/styles/material.css';
11-
@import 'node_modules/@syncfusion/ej2-angular-buttons/styles/material.css';
12-
@import 'node_modules/@syncfusion/ej2-angular-lists/styles/material.css';
13-
@import 'node_modules/@syncfusion/ej2-angular-splitbuttons/styles/material.css';
5+
#element {
6+
display: flex;
7+
width: 400px;
8+
margin: auto;
9+
border: 1px solid #dddddd;
10+
border-radius: 3px;
11+
justify-content: center;
12+
}

ej2-angular/code-snippet/dashboard-layout/add-remove-panels-cs1/src/app.component.ts

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@ import { DashboardLayoutModule } from '@syncfusion/ej2-angular-layouts'
44
import { ButtonModule } from '@syncfusion/ej2-angular-buttons'
55
import { NumericTextBoxModule } from '@syncfusion/ej2-angular-inputs'
66
import { DropDownListModule } from '@syncfusion/ej2-angular-dropdowns'
7-
8-
9-
107
import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
118
import { ButtonComponent } from '@syncfusion/ej2-angular-buttons';
129
import { NumericTextBoxComponent } from '@syncfusion/ej2-angular-inputs';
13-
import { DropDownList, DropDownListComponent } from '@syncfusion/ej2-angular-dropdowns';
10+
import { DropDownListComponent } from '@syncfusion/ej2-angular-dropdowns';
1411
import { DashboardLayoutComponent } from '@syncfusion/ej2-angular-layouts';
1512

1613
@Component({
@@ -102,24 +99,29 @@ export class AppComponent {
10299
];
103100
addClick() {
104101
this.panel = {
105-
id: "Panel"+ this.count.toString(),
106-
sizeX: this.sizeX?.value,
107-
sizeY: this.sizeY?.value,
108-
row: this.row?.value,
109-
col: this.column?.value,
110-
content: "<div class='content'>"+ this.count +"</div>"
111-
}
102+
id: 'Panel' + this.count.toString(),
103+
sizeX: (this.sizeX as any).value,
104+
sizeY: (this.sizeY as any).value,
105+
row: (this.row as any).value,
106+
col: (this.column as any).value,
107+
content: "<div class='content'>" + this.count + '</div>',
108+
};
112109
this.dashboard?.addPanel(this.panel);
113110
this.count = this.count + 1;
114-
(<any>this.dropDownListObject?.dataSource).push(this.panel.id);
115-
this.dropDownListObject?.refresh();
116-
};
111+
(this.dropDownListObject as any).dataSource.push(this.panel.id);
112+
(this.dropDownListObject as any)?.refresh();
113+
}
117114
removeClick() {
118-
this.dashboard?.removePanel(<any>this.dropDownListObject?.value);
119-
(<any>this.dropDownListObject?.dataSource).splice((<any>this.dropDownListObject?.dataSource).indexOf(this.dropDownListObject?.value), 1);
120-
this.dropDownListObject?.refresh();
121-
(this.dropDownListObject as DropDownListComponent).value = null as any;
122-
};
115+
this.dashboard?.removePanel((this.dropDownListObject as any).value);
116+
(this.dropDownListObject as any).dataSource.splice(
117+
(this.dropDownListObject as any).dataSource.indexOf(
118+
(this.dropDownListObject as any).value
119+
),
120+
1
121+
);
122+
(this.dropDownListObject as any)?.refresh();
123+
(this.dropDownListObject as any).value = null as any;
124+
}
123125
}
124126

125127

ej2-angular/code-snippet/dropdowntree/template/customTemplate-cs1/index.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,3 @@
1515
width: 250px;
1616
margin: 0 auto;
1717
}
18-
19-
.dropdowntree-custom .control_wrapper{
20-
max-width: 250px;
21-
margin: 0 auto;
22-
padding-top: 25px;
23-
}

ej2-angular/code-snippet/dropdowntree/template/customTemplate-cs1/src/styles.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@
99
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
1010
@import 'node_modules/@syncfusion/ej2-angular-popups/styles/material.css';
1111
@import 'node_modules/@syncfusion/ej2-angular-buttons/styles/material.css';
12-
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
12+
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
13+
14+
.dropdowntree-custom .control_wrapper{
15+
max-width: 250px;
16+
margin: 0 auto;
17+
padding-top: 25px;
18+
}

ej2-angular/code-snippet/dropdowntree/template/customTemplate-mode-cs1/index.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,3 @@
1616
margin: 0 auto;
1717
}
1818

19-
.dropdowntree-custom .control_wrapper {
20-
max-width: 250px;
21-
margin: 0 auto;
22-
padding-top: 25px;
23-
}

ej2-angular/code-snippet/dropdowntree/template/customTemplate-mode-cs1/src/styles.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@
99
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
1010
@import 'node_modules/@syncfusion/ej2-angular-popups/styles/material.css';
1111
@import 'node_modules/@syncfusion/ej2-angular-buttons/styles/material.css';
12-
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
12+
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
13+
14+
.dropdowntree-custom .control_wrapper {
15+
max-width: 250px;
16+
margin: 0 auto;
17+
padding-top: 25px;
18+
}

ej2-angular/code-snippet/dropdowntree/template/footerTemplate-cs1/index.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,3 @@
1616
margin: 0 auto;
1717
}
1818

19-
.custom .foot{
20-
height: 40px;
21-
line-height: 40px;
22-
font-size: 13px;
23-
margin: 0 auto;
24-
width: 100%;
25-
padding: 0 20px;
26-
font-weight: bold;
27-
}
28-
.custom .e-ddt-footer{
29-
border-top: 1px solid #e0e0e0;
30-
}

ej2-angular/code-snippet/dropdowntree/template/footerTemplate-cs1/src/styles.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,18 @@
99
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
1010
@import 'node_modules/@syncfusion/ej2-angular-popups/styles/material.css';
1111
@import 'node_modules/@syncfusion/ej2-angular-buttons/styles/material.css';
12-
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
12+
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
13+
14+
15+
.custom .foot{
16+
height: 40px;
17+
line-height: 40px;
18+
font-size: 13px;
19+
margin: 0 auto;
20+
width: 100%;
21+
padding: 0 20px;
22+
font-weight: bold;
23+
}
24+
.custom .e-ddt-footer{
25+
border-top: 1px solid #e0e0e0;
26+
}

ej2-angular/code-snippet/dropdowntree/template/headerTemplate-cs1/index.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,3 @@
1515
width: 250px;
1616
margin: 0 auto;
1717
}
18-
19-
.custom .head{
20-
height: 40px;
21-
line-height: 40px;
22-
font-size: 14px;
23-
margin: 0 auto;
24-
width: 100%;
25-
padding: 0 20px;
26-
font-weight: bold;
27-
border-bottom: 1px solid #e0e0e0;
28-
}

ej2-angular/code-snippet/dropdowntree/template/headerTemplate-cs1/src/styles.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,16 @@
99
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
1010
@import 'node_modules/@syncfusion/ej2-angular-popups/styles/material.css';
1111
@import 'node_modules/@syncfusion/ej2-angular-buttons/styles/material.css';
12-
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
12+
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
13+
14+
15+
.custom .head{
16+
height: 40px;
17+
line-height: 40px;
18+
font-size: 14px;
19+
margin: 0 auto;
20+
width: 100%;
21+
padding: 0 20px;
22+
font-weight: bold;
23+
border-bottom: 1px solid #e0e0e0;
24+
}

ej2-angular/code-snippet/dropdowntree/template/itemTemplate-cs1/index.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,3 @@
1515
width: 250px;
1616
margin: 0 auto;
1717
}
18-
.custom .ejob {
19-
opacity: .60;
20-
}

ej2-angular/code-snippet/dropdowntree/template/itemTemplate-cs1/src/styles.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@
99
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
1010
@import 'node_modules/@syncfusion/ej2-angular-popups/styles/material.css';
1111
@import 'node_modules/@syncfusion/ej2-angular-buttons/styles/material.css';
12-
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
12+
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
13+
14+
.custom .ejob {
15+
opacity: .60;
16+
}

ej2-angular/code-snippet/dropdowntree/template/valueTemplate-cs1/index.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,3 @@
1515
width: 250px;
1616
margin: 0 auto;
1717
}
18-
.custom .ejob {
19-
opacity: .60;
20-
}

ej2-angular/code-snippet/dropdowntree/template/valueTemplate-cs1/src/styles.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@
99
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
1010
@import 'node_modules/@syncfusion/ej2-angular-popups/styles/material.css';
1111
@import 'node_modules/@syncfusion/ej2-angular-buttons/styles/material.css';
12-
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
12+
@import 'node_modules/@syncfusion/ej2-angular-dropdowns/styles/material.css';
13+
14+
.custom .ejob {
15+
opacity: .60;
16+
}

ej2-angular/code-snippet/tree-view/getting-started-cs1/index.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,3 @@
3232
font-style: normal;
3333
}
3434

35-
36-
#treeparent {
37-
display: block;
38-
max-width: 400px;
39-
max-height: 330px;
40-
margin: auto;
41-
overflow: auto;
42-
border: 1px solid #dddddd;
43-
border-radius: 3px;
44-
}

ej2-angular/code-snippet/tree-view/getting-started-cs1/src/styles.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@
44
@import 'node_modules/@syncfusion/ej2-buttons/styles/material.css';
55
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
66
@import 'node_modules/@syncfusion/ej2-angular-navigations/styles/material.css';
7-
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
7+
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
8+
9+
#treeparent {
10+
display: block;
11+
max-width: 400px;
12+
max-height: 330px;
13+
margin: auto;
14+
overflow: auto;
15+
border: 1px solid #dddddd;
16+
border-radius: 3px;
17+
}

ej2-angular/code-snippet/tree-view/getting-started-cs2/src/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class AppComponent {
5858
//set the checknodes to the TreeView
5959
public checkedNodes: string[] = ['2','6'];
6060
public nodeChecked(args: any): void{
61-
alert("The checked node's id is: "+this.tree?.checkedNodes);
61+
alert("The checked node's id is: " + (this.tree as any).checkedNodes);
6262

6363
}
6464

ej2-angular/code-snippet/tree-view/getting-started-cs2/src/styles.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@
44
@import 'node_modules/@syncfusion/ej2-buttons/styles/material.css';
55
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
66
@import 'node_modules/@syncfusion/ej2-angular-navigations/styles/material.css';
7-
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
7+
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
8+
9+
#treeparent {
10+
display: block;
11+
max-width: 400px;
12+
max-height: 330px;
13+
margin: auto;
14+
overflow: auto;
15+
border: 1px solid #dddddd;
16+
border-radius: 3px;
17+
}

ej2-angular/code-snippet/tree-view/getting-started-cs3/src/styles.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@
44
@import 'node_modules/@syncfusion/ej2-buttons/styles/material.css';
55
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
66
@import 'node_modules/@syncfusion/ej2-angular-navigations/styles/material.css';
7-
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
7+
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
8+
9+
#treeparent {
10+
display: block;
11+
max-width: 400px;
12+
max-height: 330px;
13+
margin: auto;
14+
overflow: auto;
15+
border: 1px solid #dddddd;
16+
border-radius: 3px;
17+
}

ej2-angular/code-snippet/tree-view/getting-started-cs4/src/styles.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@
44
@import 'node_modules/@syncfusion/ej2-buttons/styles/material.css';
55
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
66
@import 'node_modules/@syncfusion/ej2-angular-navigations/styles/material.css';
7-
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
7+
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
8+
9+
#treeparent {
10+
display: block;
11+
max-width: 400px;
12+
max-height: 330px;
13+
margin: auto;
14+
overflow: auto;
15+
border: 1px solid #dddddd;
16+
border-radius: 3px;
17+
}

ej2-angular/code-snippet/tree-view/getting-started-cs5/src/styles.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@
44
@import 'node_modules/@syncfusion/ej2-buttons/styles/material.css';
55
@import 'node_modules/@syncfusion/ej2-angular-base/styles/material.css';
66
@import 'node_modules/@syncfusion/ej2-angular-navigations/styles/material.css';
7-
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
7+
@import 'node_modules/@syncfusion/ej2-angular-inputs/styles/material.css';
8+
9+
#treeparent {
10+
display: block;
11+
max-width: 400px;
12+
max-height: 330px;
13+
margin: auto;
14+
overflow: auto;
15+
border: 1px solid #dddddd;
16+
border-radius: 3px;
17+
}

0 commit comments

Comments
 (0)