Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
aac72d7
up Angular to 22 in demos
GoodDayForSurf Mar 11, 2026
a06ae5a
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Mar 11, 2026
19da05a
up Angular to 22 in demos
GoodDayForSurf Mar 11, 2026
91c0232
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Mar 12, 2026
3331a0d
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Mar 12, 2026
23f1abf
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf May 29, 2026
f21c9ff
check ng22 rc2
GoodDayForSurf May 29, 2026
02c31d7
update lock
GoodDayForSurf May 29, 2026
3af643a
update deps
GoodDayForSurf Jun 1, 2026
2a033a0
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 1, 2026
585a041
update lock
GoodDayForSurf Jun 1, 2026
160f69a
fix TS
GoodDayForSurf Jun 1, 2026
3bc63e1
fix TS
GoodDayForSurf Jun 1, 2026
c875df9
update lock
GoodDayForSurf Jun 1, 2026
3008fb2
fix ChangeDetectionStrategy in some demos
GoodDayForSurf Jun 2, 2026
301de79
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 2, 2026
d6c3b2d
update lock
GoodDayForSurf Jun 2, 2026
01253b1
add changeDetection: ChangeDetectionStrategy.Eager to demos
GoodDayForSurf Jun 2, 2026
e457997
add changeDetection: ChangeDetectionStrategy.Eager to demos
GoodDayForSurf Jun 2, 2026
659712e
add changeDetection: ChangeDetectionStrategy.Eager to demos
GoodDayForSurf Jun 2, 2026
67feb25
check ng 22-rc3
GoodDayForSurf Jun 2, 2026
295160d
add ChangeDetectionStrategy.Eager to some angular demos
GoodDayForSurf Jun 2, 2026
e64fb49
add ChangeDetectionStrategy.Eager to some angular demos
GoodDayForSurf Jun 3, 2026
217527e
change ChangeDetectionStrategy.Eager to ChangeDetectionStrategy.Defau…
GoodDayForSurf Jun 3, 2026
bf6ed44
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Jun 3, 2026
e5b3fca
fix eslint config
GoodDayForSurf Jun 3, 2026
1aac645
Merge remote-tracking branch 'my/26_1_WIP_check_ng22' into 26_1_WIP_c…
GoodDayForSurf Jun 3, 2026
d947e65
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Jun 3, 2026
7c2aa76
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Jun 3, 2026
de22eee
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Jun 3, 2026
05d0d4d
revert to Eager
GoodDayForSurf Jun 3, 2026
31756b1
Merge remote-tracking branch 'my/26_1_WIP_check_ng22' into 26_1_WIP_c…
GoodDayForSurf Jun 3, 2026
4abeef0
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Jun 3, 2026
5c6b598
fix TS
GoodDayForSurf Jun 3, 2026
f49b228
Merge remote-tracking branch 'my/26_1_WIP_check_ng22' into 26_1_WIP_c…
GoodDayForSurf Jun 3, 2026
10b7e02
fix TS
GoodDayForSurf Jun 3, 2026
ee18c3b
fix TS
GoodDayForSurf Jun 3, 2026
f80eb70
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 4, 2026
0194e19
update pnpm deps
GoodDayForSurf Jun 4, 2026
a6f1f53
reduce strictness in TS for demos
GoodDayForSurf Jun 4, 2026
d8232a3
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 4, 2026
87f07f9
update lock
GoodDayForSurf Jun 4, 2026
cf73f7a
fix demo add changeDetection: ChangeDetectionStrategy.Eager,
GoodDayForSurf Jun 4, 2026
322bc8f
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Jun 4, 2026
c348f55
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Jun 4, 2026
f0c66a7
fix TS for vue and react demos
GoodDayForSurf Jun 5, 2026
914323e
Merge remote-tracking branch 'my/26_1_WIP_check_ng22' into 26_1_WIP_c…
GoodDayForSurf Jun 5, 2026
b2b644a
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 5, 2026
44e23a0
update lock
GoodDayForSurf Jun 5, 2026
3f86d0b
update pnpm.yaml
GoodDayForSurf Jun 5, 2026
45b5a5b
fix vue demos TS
GoodDayForSurf Jun 5, 2026
f8cd5ce
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Jun 5, 2026
f39e311
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 11, 2026
038ab68
update lock
GoodDayForSurf Jun 11, 2026
ec09d47
Merge branch '26_1' into 26_1_WIP_check_ng22
GoodDayForSurf Jun 11, 2026
7163537
fix angular component in scheduler demo
GoodDayForSurf Jun 16, 2026
eb0c9e4
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 16, 2026
bca97f7
update lock
GoodDayForSurf Jun 16, 2026
b29f301
fix TS config for vue demos
GoodDayForSurf Jun 16, 2026
0f058df
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 17, 2026
5bbbe39
update lock
GoodDayForSurf Jun 17, 2026
351694a
Merge branch '26_1' into 26_1_use_ng22_in_demos
GoodDayForSurf Jun 17, 2026
212f918
fix TS for csp-bandle
GoodDayForSurf Jun 17, 2026
92e68b0
fix TS and lint configs
GoodDayForSurf Jun 17, 2026
9d6fa9e
Merge remote-tracking branch 'my/26_1_use_ng22_in_demos' into 26_1_us…
GoodDayForSurf Jun 17, 2026
1d2e28c
Merge branch '26_1' into 26_1_use_ng22_in_demos
GoodDayForSurf Jun 17, 2026
d17a37c
fix demo-vue-loader.js
GoodDayForSurf Jun 17, 2026
c8f090c
add d.ts for anti-forgery for TS6 requirements
GoodDayForSurf Jun 17, 2026
881ceb3
fix TS config in converter.ts
GoodDayForSurf Jun 17, 2026
0393d4f
Merge branch '26_1' into 26_1_use_ng22_in_demos
GoodDayForSurf Jun 17, 2026
737210e
Merge branch '26_1' into 26_1_use_ng22_in_demos
GoodDayForSurf Jun 17, 2026
7630b4d
fix lint
GoodDayForSurf Jun 17, 2026
f84e63c
fix lint
GoodDayForSurf Jun 17, 2026
7d7efa7
Merge remote-tracking branch 'my/26_1_use_ng22_in_demos' into 26_1_us…
GoodDayForSurf Jun 17, 2026
761f2e6
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 18, 2026
4c05404
add d.ts for systemjs-imports for Vue demos
GoodDayForSurf Jun 18, 2026
fdb1fdb
update lock
GoodDayForSurf Jun 18, 2026
3b03287
Merge branch '26_1' into 26_1_use_ng22_in_demos
GoodDayForSurf Jun 18, 2026
1cce141
fix lint
GoodDayForSurf Jun 18, 2026
6128fe9
Merge remote-tracking branch 'my/26_1_use_ng22_in_demos' into 26_1_us…
GoodDayForSurf Jun 18, 2026
4d57e83
convert to ReactJs some demos
GoodDayForSurf Jun 18, 2026
2c10f7d
Merge branch '26_1' into 26_1_use_ng22_in_demos
GoodDayForSurf Jun 18, 2026
f4d0bda
convert to ReactJs some demos
GoodDayForSurf Jun 18, 2026
1fd4191
Merge remote-tracking branch 'my/26_1_use_ng22_in_demos' into 26_1_us…
GoodDayForSurf Jun 18, 2026
ab70863
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 18, 2026
0201d6a
update lock
GoodDayForSurf Jun 18, 2026
e368f70
Merge branch '26_1' into 26_1_use_ng22_in_demos
GoodDayForSurf Jun 19, 2026
2e5ef83
Merge branch '26_1' of https://github.com/DevExpress/DevExtreme into …
GoodDayForSurf Jun 19, 2026
48ef46f
update lock
GoodDayForSurf Jun 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import {
ChangeDetectionStrategy,
Component,
enableProdMode,
provideZoneChangeDetection,
} from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import {
DxAccordionModule, DxCheckBoxModule, DxSliderModule, DxTagBoxModule,
Expand All @@ -17,6 +22,7 @@ if (window && window.config?.packageConfigPaths) {
}

@Component({
changeDetection: ChangeDetectionStrategy.Eager,
selector: 'demo-app',
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
2 changes: 1 addition & 1 deletion apps/demos/Demos/CardView/WebAPIService/ReactJs/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import {
Component, AfterViewInit, enableProdMode, provideZoneChangeDetection, inject,
ChangeDetectionStrategy,
Component,
AfterViewInit,
enableProdMode,
provideZoneChangeDetection,
inject,
} from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';

Expand All @@ -20,6 +25,7 @@ if (window && window.config?.packageConfigPaths) {
}

@Component({
changeDetection: ChangeDetectionStrategy.Eager,
selector: 'demo-app',
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { ChangeDetectionStrategy, Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import { DxTreeMapModule, DxSelectBoxModule } from 'devextreme-angular';
import { PopulationByAge, Service } from './app.service';
Expand All @@ -14,6 +14,7 @@ if (window && window.config?.packageConfigPaths) {
}

@Component({
changeDetection: ChangeDetectionStrategy.Eager,
selector: 'demo-app',
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
2 changes: 1 addition & 1 deletion apps/demos/Demos/DataGrid/CustomEditors/ReactJs/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import {
Component, ViewChild, AfterViewInit, enableProdMode, provideZoneChangeDetection,
Component,
ViewChild,
AfterViewInit,
enableProdMode,
provideZoneChangeDetection,
ChangeDetectionStrategy,
} from '@angular/core';
import { DxDataGridModule, DxDataGridComponent, DxButtonModule } from 'devextreme-angular';
import { query } from 'devextreme-angular/common/data';
Expand All @@ -17,6 +22,7 @@ if (window && window.config?.packageConfigPaths) {
}

@Component({
changeDetection: ChangeDetectionStrategy.Eager,
selector: 'demo-app',
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { ChangeDetectionStrategy, Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import Guid from 'devextreme/core/guid';
import { CustomStore } from 'devextreme-angular/common/data';
Expand All @@ -19,6 +19,7 @@ if (window && window.config?.packageConfigPaths) {
}

@Component({
changeDetection: ChangeDetectionStrategy.Eager,
selector: 'demo-app',
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { bootstrapApplication } from '@angular/platform-browser';
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { ChangeDetectionStrategy, Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { HttpClient, HttpParams, provideHttpClient, withFetch } from '@angular/common/http';
import { lastValueFrom, Observable } from 'rxjs';
import { DxDataGridModule, DxSelectBoxModule, DxButtonModule } from 'devextreme-angular';
Expand All @@ -20,6 +20,7 @@ if (window && window.config?.packageConfigPaths) {

@Component({
selector: 'demo-app',
changeDetection: ChangeDetectionStrategy.Eager,
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
preserveWhitespaces: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import {
ChangeDetectionStrategy,
Component,
enableProdMode,
provideZoneChangeDetection,
} from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import { DxDataGridModule } from 'devextreme-angular';
import { Service, Employee } from './app.service';
Expand All @@ -14,6 +19,7 @@ if (window && window.config?.packageConfigPaths) {
}

@Component({
changeDetection: ChangeDetectionStrategy.Eager,
selector: 'demo-app',
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
Expand Down
2 changes: 1 addition & 1 deletion apps/demos/Demos/DataGrid/WebAPIService/ReactJs/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import {
Component, Pipe, PipeTransform, enableProdMode, provideZoneChangeDetection,
ChangeDetectionStrategy,
Component,
Pipe,
PipeTransform,
enableProdMode,
provideZoneChangeDetection,
} from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import { ArrayStore } from 'devextreme-angular/common/data';
Expand All @@ -26,6 +31,7 @@ export class StringifyItemsPipe implements PipeTransform {
}

@Component({
changeDetection: ChangeDetectionStrategy.Eager,
selector: 'demo-app',
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
Expand Down
2 changes: 1 addition & 1 deletion apps/demos/Demos/Diagram/WebAPIService/ReactJs/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App.js';
// eslint-disable-next-line import/no-unresolved

import 'anti-forgery';

ReactDOM.render(<App />, document.getElementById('app'));
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { ChangeDetectionStrategy, Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import { DxListModule, DxButtonModule, DxTagBoxModule } from 'devextreme-angular';
import { DxFilterBuilderModule, DxFilterBuilderComponent, DxFilterBuilderTypes } from 'devextreme-angular/ui/filter-builder';
Expand Down Expand Up @@ -31,6 +31,7 @@ if (window && window.config?.packageConfigPaths) {
@Component({
selector: 'demo-app',
providers: [Service],
changeDetection: ChangeDetectionStrategy.Eager,
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { ChangeDetectionStrategy, Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import { DxListModule } from 'devextreme-angular';
import type { DxSortableTypes } from 'devextreme-angular/ui/sortable';
Expand All @@ -21,6 +21,7 @@ if (window && window.config?.packageConfigPaths) {
providers: [Service],
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
changeDetection: ChangeDetectionStrategy.Eager,
preserveWhitespaces: true,
imports: [DxListModule],
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { ChangeDetectionStrategy, Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';
import { DataSource, ArrayStore } from 'devextreme-angular/common/data';
import { DxSelectBoxModule, DxCheckBoxModule } from 'devextreme-angular';
Expand All @@ -23,6 +23,7 @@ if (window && window.config?.packageConfigPaths) {
templateUrl: `.${modulePrefix}/app.component.html`,
styleUrls: [`.${modulePrefix}/app.component.css`],
preserveWhitespaces: true,
changeDetection: ChangeDetectionStrategy.Eager,
imports: [
DxSelectBoxModule,
DxListModule,
Expand Down
18 changes: 6 additions & 12 deletions apps/demos/Demos/Localization/UsingGlobalize/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,12 @@ import 'devextreme/common/core/localization/globalize/number';
import 'devextreme/common/core/localization/globalize/date';
import 'devextreme/common/core/localization/globalize/currency';
import 'devextreme/common/core/localization/globalize/message';
// @ts-ignore
import * as deMessages from 'npm:devextreme/localization/messages/de.json!json';
// @ts-ignore
import * as ruMessages from 'npm:devextreme/localization/messages/ru.json!json';
// @ts-ignore
import * as deCldrData from 'npm:devextreme-cldr-data/de.json!json';
// @ts-ignore
import * as ruCldrData from 'npm:devextreme-cldr-data/ru.json!json';
// @ts-ignore
import * as supplementalCldrData from 'npm:devextreme-cldr-data/supplemental.json!json';
// @ts-ignore
import * as Globalize from 'globalize';
import deMessages from 'npm:devextreme/localization/messages/de.json!json';
import ruMessages from 'npm:devextreme/localization/messages/ru.json!json';
import deCldrData from 'npm:devextreme-cldr-data/de.json!json';
import ruCldrData from 'npm:devextreme-cldr-data/ru.json!json';
import supplementalCldrData from 'npm:devextreme-cldr-data/supplemental.json!json';
import Globalize from 'globalize';
import service from './data.ts';

type Locale = string;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
declare module 'npm:devextreme/localization/messages/de.json!json' {
const json: object;
export default json;
}

declare module 'npm:devextreme/localization/messages/ru.json!json' {
const json: object;
export default json;
}

declare module 'npm:devextreme-cldr-data/de.json!json' {
const json: object;
export default json;
}

declare module 'npm:devextreme-cldr-data/ru.json!json' {
const json: object;
export default json;
}

declare module 'npm:devextreme-cldr-data/supplemental.json!json' {
const json: object;
export default json;
}

declare module 'globalize' {
const Globalize: {
load: (...args: object[]) => void;
loadMessages: (messages: object) => void;
locale: (locale: string) => void;
formatMessage: (key: string, ...args: unknown[]) => string;
};
export default Globalize;
}
6 changes: 2 additions & 4 deletions apps/demos/Demos/Localization/UsingIntl/Vue/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,8 @@ import {
DxDataGrid, DxColumn, DxEditing, DxFilterRow,
} from 'devextreme-vue/data-grid';
import DxSelectBox, { type DxSelectBoxTypes } from 'devextreme-vue/select-box';
// @ts-ignore
import * as deMessages from 'npm:devextreme/localization/messages/de.json!json';
// @ts-ignore
import * as ruMessages from 'npm:devextreme/localization/messages/ru.json!json';
import deMessages from 'npm:devextreme/localization/messages/de.json!json';
import ruMessages from 'npm:devextreme/localization/messages/ru.json!json';
import { locale as dxLocale, loadMessages, formatMessage as dxFormatMessage } from 'devextreme-vue/common/core/localization';
import service from './data.ts';

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
declare module 'npm:devextreme/localization/messages/de.json!json' {
const json: object;
export default json;
}

declare module 'npm:devextreme/localization/messages/ru.json!json' {
const json: object;
export default json;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { ChangeDetectionStrategy, Component, enableProdMode, provideZoneChangeDetection } from '@angular/core';
import { bootstrapApplication } from '@angular/platform-browser';

import { DxMultiViewModule, DxCheckBoxModule } from 'devextreme-angular';
Expand All @@ -21,6 +21,7 @@ if (window && window.config?.packageConfigPaths) {
styleUrls: [`.${modulePrefix}/app.component.css`],
providers: [Service],
preserveWhitespaces: true,
changeDetection: ChangeDetectionStrategy.Eager,
imports: [
DxMultiViewModule,
DxCheckBoxModule,
Expand Down
Loading
Loading