Skip to content

Commit 14802ed

Browse files
authored
Merge branch '26_1' into 26_1_3218-validationsummary-add-accessibility-support
2 parents ff37041 + 62e0bc6 commit 14802ed

File tree

380 files changed

+5888
-3406
lines changed

Some content is hidden

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

380 files changed

+5888
-3406
lines changed

.github/workflows/themebuilder_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ env:
1818
jobs:
1919
test:
2020
runs-on: devextreme-shr2
21+
env:
22+
NODE_OPTIONS: --max-old-space-size=8192
2123
timeout-minutes: 30
2224

2325
steps:

.github/workflows/wrapper_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ jobs:
148148
run: pnpx puppeteer browsers install chrome@130.0.6723.69
149149

150150
- name: Test ${{ matrix.framework }}
151+
env:
152+
NODE_OPTIONS: --max-old-space-size=8192
151153
run: pnpx nx test devextreme-${{ matrix.framework }}
152154

153155
- name: Pack ${{ matrix.framework }}

apps/demos/Demos/Autocomplete/Overview/Angular/app/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
this.clientsStore = new CustomStore({
5959
key: 'Value',
6060
useDefaultSearch: true,
61-
async load(loadOptions) {
61+
load(loadOptions) {
6262
let params: HttpParams = new HttpParams();
6363
[
6464
'skip',

apps/demos/Demos/CardView/DataValidation/Angular/app/app.component.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@ export class AppComponent {
5555
emailValidationCallback = async (params) => {
5656
const emailValidationUrl = 'https://js.devexpress.com/Demos/NetCore/RemoteValidation/CheckUniqueEmailAddress';
5757

58-
const result = await lastValueFrom(this.httpClient.post(emailValidationUrl, {
59-
id: params.data.id,
60-
email: params.value,
61-
}, {
58+
const result = await lastValueFrom(this.httpClient.get(emailValidationUrl, {
59+
params: {
60+
id: params.data.id,
61+
email: params.value,
62+
},
6263
responseType: 'json',
6364
}));
6465

apps/demos/Demos/CardView/DataValidation/React/App.tsx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,10 @@ function calculateFullName({ firstName, lastName }: Employee) {
2121
const emailValidationUrl = 'https://js.devexpress.com/Demos/NetCore/RemoteValidation/CheckUniqueEmailAddress';
2222

2323
async function emailValidationCallback(options: ValidationCallbackData): Promise<boolean> {
24-
const response = await fetch(emailValidationUrl, {
25-
method: 'POST',
26-
headers: {
27-
'Content-Type': 'application/json;',
28-
},
29-
body: JSON.stringify({
30-
id: options.data.id,
31-
email: options.value,
32-
}),
33-
});
24+
const response = await fetch(`${emailValidationUrl}?${new URLSearchParams({
25+
id: options.data.id,
26+
email: options.value,
27+
})}`);
3428

3529
return response.json();
3630
}

apps/demos/Demos/CardView/DataValidation/ReactJs/App.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,12 @@ function calculateFullName({ firstName, lastName }) {
2525
const emailValidationUrl =
2626
'https://js.devexpress.com/Demos/NetCore/RemoteValidation/CheckUniqueEmailAddress';
2727
async function emailValidationCallback(options) {
28-
const response = await fetch(emailValidationUrl, {
29-
method: 'POST',
30-
headers: {
31-
'Content-Type': 'application/json;',
32-
},
33-
body: JSON.stringify({
28+
const response = await fetch(
29+
`${emailValidationUrl}?${new URLSearchParams({
3430
id: options.data.id,
3531
email: options.value,
36-
}),
37-
});
32+
})}`,
33+
);
3834
return response.json();
3935
}
4036
function hireDateValidationCallback(options) {

apps/demos/Demos/CardView/DataValidation/Vue/App.vue

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -194,16 +194,10 @@ const emailValidationUrl = 'https://js.devexpress.com/Demos/NetCore/RemoteValida
194194
async function emailValidationCallback(
195195
params: ValidationCallbackData,
196196
): Promise<boolean> {
197-
const response = await fetch(emailValidationUrl, {
198-
method: 'POST',
199-
headers: {
200-
'Content-Type': 'application/json;',
201-
},
202-
body: JSON.stringify({
203-
id: params.data.id,
204-
email: params.value,
205-
}),
206-
});
197+
const response = await fetch(`${emailValidationUrl}?${new URLSearchParams({
198+
id: params.data.id,
199+
email: params.value,
200+
})}`);
207201
208202
const result = await response.json();
209203

apps/demos/Demos/CardView/DataValidation/jQuery/index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,12 @@ $(() => {
114114
validationCallback(params) {
115115
return $.ajax({
116116
url: 'https://js.devexpress.com/Demos/NetCore/RemoteValidation/CheckUniqueEmailAddress',
117-
type: 'POST',
117+
type: 'GET',
118118
dataType: 'json',
119-
contentType: 'application/json',
120-
data: JSON.stringify({
119+
data: {
121120
id: params.data.id,
122121
email: params.value,
123-
}),
122+
},
124123
});
125124
},
126125
}],

apps/demos/Demos/Chat/AIAndChatbotIntegration/Angular/app/app.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class AppService {
9090
});
9191
}
9292

93-
async getAIResponse(messages: AIMessage[]): Promise<string> {
93+
getAIResponse(messages: AIMessage[]): Promise<string> {
9494
return this.aiService.getAIResponse(messages) as Promise<string>;
9595
}
9696

apps/demos/Demos/Chat/FileAttachments/Angular/app/app.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export class AppService {
8080
initDataSource() {
8181
this.customStore = new CustomStore({
8282
key: 'id',
83-
load: async () => this.messages,
84-
insert: async (message) => {
83+
load: () => this.messages,
84+
insert: (message) => {
8585
this.messages.push(message);
8686
return message;
8787
},

0 commit comments

Comments
 (0)