Skip to content

Commit

Permalink
Update dx.all.24.1.js
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Mar 21, 2024
1 parent b29995b commit 2d42681
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions artifacts/dx.all.24.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -93405,7 +93405,14 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) {
rightArrow(e) {
e.preventDefault();
e.stopPropagation();
const {
direction,
showCollapseNext
} = this.option();
if ((0, _index.isCommandKeyPressed)(e)) {
if (direction === RESIZE_DIRECTION.vertical || showCollapseNext === false) {
return;
}
this._collapseNextHandler(e);
} else {
this._resizeBy(e, {
Expand All @@ -93416,7 +93423,14 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) {
leftArrow(e) {
e.preventDefault();
e.stopPropagation();
const {
direction,
showCollapsePrev
} = this.option();
if ((0, _index.isCommandKeyPressed)(e)) {
if (direction === RESIZE_DIRECTION.vertical || showCollapsePrev === false) {
return;
}
this._collapsePrevHandler(e);
} else {
this._resizeBy(e, {
Expand All @@ -93427,7 +93441,14 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) {
upArrow(e) {
e.preventDefault();
e.stopPropagation();
const {
direction,
showCollapsePrev
} = this.option();
if ((0, _index.isCommandKeyPressed)(e)) {
if (direction === RESIZE_DIRECTION.horizontal || showCollapsePrev === false) {
return;
}
this._collapsePrevHandler(e);
} else {
this._resizeBy(e, {
Expand All @@ -93438,7 +93459,14 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) {
downArrow(e) {
e.preventDefault();
e.stopPropagation();
const {
direction,
showCollapseNext
} = this.option();
if ((0, _index.isCommandKeyPressed)(e)) {
if (direction === RESIZE_DIRECTION.horizontal || showCollapseNext === false) {
return;
}
this._collapseNextHandler(e);
} else {
this._resizeBy(e, {
Expand Down Expand Up @@ -93604,6 +93632,10 @@ let ResizeHandle = /*#__PURE__*/function (_Widget) {
x: 0,
y: 0
};
const {
resizable
} = this.option();
if (resizable === false) return;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
e.offset = offset;
this._resizeStartHandler(e);
Expand Down

0 comments on commit 2d42681

Please sign in to comment.