-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '24_2' of https://github.com/DevExpress/DevExtreme into …
…24_2_update_demos_menu
- Loading branch information
Showing
141 changed files
with
1,182 additions
and
647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-6.26 KB
(97%)
apps/demos/testing/etalons/Scheduler-CurrentTimeIndicator (fluent.blue.light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.22 KB
(98%)
.../datagrid/etalons/datagrid_filtering_by_range_3_desktop (fluent.blue.light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...me/tests/chat/etalons/Alertlist with long text in error (fluent-blue-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3 Bytes
(100%)
.../tests/chat/etalons/Alertlist with long text in error (material-blue-light).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import { ClientFunction, Selector } from 'testcafe'; | ||
import url from '../../helpers/getPageUrl'; | ||
|
||
fixture.disablePageReloads`Events` | ||
.page(url(__dirname, '../container.html')); | ||
|
||
const init = ClientFunction(() => { | ||
const markup = `<div class="dx-viewport demo-container"> | ||
<div id="draggable" draggable="true" style="width: 200px; height: 200px; background-color: red;"></div> | ||
<div id="target" style="width: 200px; height: 200px; background-color: black;"></div> | ||
<div>hoverStartTriggerCount</div> | ||
<div id="hoverStartTriggerCount">0</div> | ||
<div>hoverEndTriggerCount</div> | ||
<div id="hoverEndTriggerCount">0</div> | ||
</div>`; | ||
|
||
$('#container').html(markup); | ||
|
||
const { DevExpress } = (window as any); | ||
|
||
let hoverStartTriggerCount = 0; | ||
let hoverEndTriggerCount = 0; | ||
|
||
DevExpress.events.on($('#target'), 'dxhoverstart', () => { | ||
hoverStartTriggerCount += 1; | ||
|
||
$('#hoverStartTriggerCount').text(hoverStartTriggerCount); | ||
}); | ||
|
||
DevExpress.events.on($('#target'), 'dxhoverend', () => { | ||
hoverEndTriggerCount += 1; | ||
|
||
$('#hoverEndTriggerCount').text(hoverEndTriggerCount); | ||
}); | ||
}); | ||
|
||
test('The `dxhoverstart` event should be triggered after dragging and dropping an HTML draggable element (T1260277)', async (t) => { | ||
const draggable = Selector('#draggable'); | ||
const target = Selector('#target'); | ||
const hoverStartTriggerCount = Selector('#hoverStartTriggerCount'); | ||
const hoverEndTriggerCount = Selector('#hoverEndTriggerCount'); | ||
|
||
await t | ||
.drag(draggable, 0, 400, { speed: 1 }); | ||
|
||
// `.drag` does not trigger the `pointercancel` event. | ||
// A sequence of `.drag` calls behaves like a single drag&drop operation, | ||
// and each call does not trigger the `pointerup` event. | ||
// Even if it did, the `pointercancel` event would not be triggered as specified in: | ||
// https://www.w3.org/TR/pointerevents/#suppressing-a-pointer-event-stream | ||
// This is a hack to test the event engine's logic. | ||
await t.dispatchEvent(draggable, 'pointercancel'); | ||
|
||
await t | ||
.drag(target, 0, 400, { speed: 1 }); | ||
|
||
await t.expect(hoverStartTriggerCount.textContent).eql('1'); | ||
await t.expect(hoverEndTriggerCount.textContent).eql('1'); | ||
}).before(async () => { | ||
await init(); | ||
}); |
Binary file added
BIN
+16.6 KB
...vextreme/tests/dataGrid/etalons/invisible-toolbar-buttons-fluent.blue.light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+15.7 KB
...e-devextreme/tests/dataGrid/etalons/invisible-toolbar-buttons-generic.light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16 KB
...xtreme/tests/dataGrid/etalons/invisible-toolbar-buttons-material.blue.light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+11.9 KB
...rid/stickyColumns/etalons/T1269088_grid_with_fixed_columns_and_without_data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-125 Bytes
(100%)
...se-10)(rLines_=_false_cLines_=_false_borders_=_true_rtl_=_true_rAlt_=_true).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-258 Bytes
(100%)
...rtualScrolling/etalons/virtual-scrolling-many-cells-month-horizontal-middle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-36 Bytes
(100%)
...er/virtualScrolling/etalons/virtual-scrolling-many-cells-month-vertical-end.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.1 KB
(96%)
...irtualScrolling/etalons/virtual-scrolling-many-cells-week-horizontal-middle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.24 KB
(95%)
...alScrolling/etalons/virtual-scrolling-many-cells-workWeek-horizontal-middle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.09 KB
(99%)
...tualScrolling/etalons/virtual-scrolling-month-after-scroll-grouping-by-date.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-57 Bytes
(100%)
...ng/etalons/virtual-scrolling-month-after-scroll-horizontal-grouping-scaling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.83 KB
(98%)
...lScrolling/etalons/virtual-scrolling-month-after-scroll-horizontal-grouping.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-31 Bytes
(100%)
...lons/virtual-scrolling-timelineDay-after-scroll-horizontal-grouping-scaling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+22 Bytes
(100%)
...ns/virtual-scrolling-timelineMonth-after-scroll-horizontal-grouping-scaling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-108 Bytes
(100%)
...ons/virtual-scrolling-timelineWeek-after-scroll-horizontal-grouping-scaling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.8 KB
(97%)
...rtualScrolling/etalons/virtual-scrolling-week-after-scroll-grouping-by-date.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.47 KB
(97%)
...ing/etalons/virtual-scrolling-week-after-scroll-horizontal-grouping-scaling.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.35 KB
(96%)
...alScrolling/etalons/virtual-scrolling-week-after-scroll-horizontal-grouping.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.51 KB
(95%)
...ests/scheduler/virtualScrolling/etalons/virtual-scrolling-week-after-scroll.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
display: block; | ||
border-top: 0; | ||
} | ||
|
||
.dx-list-item-content { | ||
display: block; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.