Skip to content

Commit 77b792b

Browse files
fix Angular demos
1 parent 8b82d79 commit 77b792b

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

apps/demos/Demos/DataGrid/AIColumns/Angular/app/app.component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,11 @@ export class AppComponent {
6363
BrowserModule,
6464
DxDataGridModule,
6565
DxPopupModule,
66-
],
67-
declarations: [
68-
AppComponent,
6966
Trademark,
7067
Category,
7168
LicenseInfo,
7269
],
70+
declarations: [AppComponent],
7371
bootstrap: [AppComponent],
7472
})
7573
export class AppModule { }

apps/demos/Demos/DataGrid/AIColumns/Angular/app/category/category.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (window && window.config?.packageConfigPaths) {
88

99
@Component({
1010
selector: 'category',
11+
standalone: true,
1112
templateUrl: `.${modulePrefix}/category/category.component.html`,
1213
styleUrls: [`.${modulePrefix}/category/category.component.css`],
1314
})

apps/demos/Demos/DataGrid/AIColumns/Angular/app/license-info/license-info.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ if (window && window.config?.packageConfigPaths) {
99

1010
@Component({
1111
selector: 'license-info',
12+
standalone: true,
1213
templateUrl: `.${modulePrefix}/license-info/license-info.component.html`,
1314
})
1415
export class LicenseInfo {

apps/demos/Demos/DataGrid/AIColumns/Angular/app/trademark/trademark.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (window && window.config?.packageConfigPaths) {
88

99
@Component({
1010
selector: 'trademark',
11+
standalone: true,
1112
templateUrl: `.${modulePrefix}/trademark/trademark.component.html`,
1213
styleUrls: [`.${modulePrefix}/trademark/trademark.component.css`],
1314
})

apps/demos/Demos/TreeList/AIColumns/Angular/app/app.component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ export class AppComponent {
4848
imports: [
4949
BrowserModule,
5050
DxTreeListModule,
51-
],
52-
declarations: [
53-
AppComponent,
5451
Employee,
5552
Status,
5653
],
54+
declarations: [AppComponent],
5755
bootstrap: [AppComponent],
5856
})
5957
export class AppModule { }

apps/demos/Demos/TreeList/AIColumns/Angular/app/employee/employee.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (window && window.config?.packageConfigPaths) {
88

99
@Component({
1010
selector: 'employee',
11+
standalone: true,
1112
templateUrl: `.${modulePrefix}/employee/employee.component.html`,
1213
styleUrls: [`.${modulePrefix}/employee/employee.component.css`],
1314
})

apps/demos/Demos/TreeList/AIColumns/Angular/app/status/status.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (window && window.config?.packageConfigPaths) {
88

99
@Component({
1010
selector: 'status',
11+
standalone: true,
1112
templateUrl: `.${modulePrefix}/status/status.component.html`,
1213
styleUrls: [`.${modulePrefix}/status/status.component.css`],
1314
})

0 commit comments

Comments
 (0)