@syncfusion/ej2-layouts 33.1.44 → 33.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-layouts.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js.map +1 -1
- package/dist/es6/ej2-layouts.es2015.js +44 -15
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +45 -15
- package/dist/es6/ej2-layouts.es5.js.map +1 -1
- package/dist/global/ej2-layouts.min.js +2 -2
- package/dist/global/ej2-layouts.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/splitter/splitter.js +45 -15
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 33.1.
|
|
3
|
+
* version : 33.1.47
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-layouts",
|
|
3
|
-
"version": "33.1.
|
|
3
|
+
"version": "33.1.47",
|
|
4
4
|
"description": "A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person.",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"es2015": "./dist/es6/ej2-layouts.es5.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@syncfusion/ej2-base": "~33.1.
|
|
11
|
+
"@syncfusion/ej2-base": "~33.1.45"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {},
|
|
14
14
|
"keywords": [
|
package/src/splitter/splitter.js
CHANGED
|
@@ -890,6 +890,7 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
890
890
|
}
|
|
891
891
|
};
|
|
892
892
|
Splitter.prototype.createSeparator = function (i) {
|
|
893
|
+
var _this = this;
|
|
893
894
|
var separator = this.createElement('div');
|
|
894
895
|
this.allBars.push(separator);
|
|
895
896
|
var arrow1 = this.createElement('button');
|
|
@@ -902,7 +903,6 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
902
903
|
arrow1.setAttribute('type', 'button');
|
|
903
904
|
arrow2.setAttribute('type', 'button');
|
|
904
905
|
var size = isNullOrUndefined(this.separatorSize) ? '1px' : this.separatorSize + 'px';
|
|
905
|
-
var proxy = null || this;
|
|
906
906
|
if (this.orientation === 'Horizontal') {
|
|
907
907
|
this.updateIconClass();
|
|
908
908
|
addClass([arrow2], [NAVIGATE_ARROW, ARROW_LEFT, HIDE_ICON]);
|
|
@@ -930,14 +930,16 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
930
930
|
else {
|
|
931
931
|
separator.removeAttribute('dir');
|
|
932
932
|
}
|
|
933
|
-
separator.
|
|
933
|
+
separator.delegateFocusHandler = function () {
|
|
934
934
|
separator.classList.add(SPLIT_BAR_ACTIVE);
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
}
|
|
938
|
-
separator.
|
|
935
|
+
_this.currentSeparator = separator;
|
|
936
|
+
_this.getPaneDetails();
|
|
937
|
+
};
|
|
938
|
+
separator.delegateBlurHandler = function () {
|
|
939
939
|
separator.classList.remove(SPLIT_BAR_ACTIVE);
|
|
940
|
-
}
|
|
940
|
+
};
|
|
941
|
+
separator.addEventListener('focus', separator.delegateFocusHandler);
|
|
942
|
+
separator.addEventListener('blur', separator.delegateBlurHandler);
|
|
941
943
|
return separator;
|
|
942
944
|
};
|
|
943
945
|
Splitter.prototype.updateResizablePanes = function (index) {
|
|
@@ -1012,25 +1014,29 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
1012
1014
|
var _this = this;
|
|
1013
1015
|
var sTout;
|
|
1014
1016
|
var hoverTimeOut;
|
|
1015
|
-
separator.
|
|
1017
|
+
separator.delegateMouseEnterHandler = function () {
|
|
1016
1018
|
/* istanbul ignore next */
|
|
1017
1019
|
sTout = setTimeout(function () {
|
|
1018
1020
|
addClass([separator], [SPLIT_BAR_HOVER]);
|
|
1019
1021
|
}, _this.iconsDelay);
|
|
1020
|
-
}
|
|
1021
|
-
separator.
|
|
1022
|
+
};
|
|
1023
|
+
separator.delegateMouseLeaveHandler = function () {
|
|
1022
1024
|
clearTimeout(sTout);
|
|
1023
1025
|
removeClass([separator], [SPLIT_BAR_HOVER]);
|
|
1024
|
-
}
|
|
1025
|
-
separator.
|
|
1026
|
+
};
|
|
1027
|
+
separator.delegateMouseOutHandler = function () {
|
|
1026
1028
|
clearTimeout(hoverTimeOut);
|
|
1027
|
-
}
|
|
1028
|
-
separator.
|
|
1029
|
+
};
|
|
1030
|
+
separator.delegateMouseOverHandler = function () {
|
|
1029
1031
|
/* istanbul ignore next */
|
|
1030
1032
|
hoverTimeOut = setTimeout(function () {
|
|
1031
1033
|
addClass([separator], [SPLIT_BAR_HOVER]);
|
|
1032
1034
|
});
|
|
1033
|
-
}
|
|
1035
|
+
};
|
|
1036
|
+
separator.addEventListener('mouseenter', separator.delegateMouseEnterHandler);
|
|
1037
|
+
separator.addEventListener('mouseleave', separator.delegateMouseLeaveHandler);
|
|
1038
|
+
separator.addEventListener('mouseout', separator.delegateMouseOutHandler);
|
|
1039
|
+
separator.addEventListener('mouseover', separator.delegateMouseOverHandler);
|
|
1034
1040
|
};
|
|
1035
1041
|
Splitter.prototype.getEventType = function (e) {
|
|
1036
1042
|
return (e.indexOf('mouse') > -1) ? 'mouse' : 'touch';
|
|
@@ -2259,6 +2265,30 @@ var Splitter = /** @class */ (function (_super) {
|
|
|
2259
2265
|
EventHandler.remove(separators[i], 'touchstart', this.onMouseDown);
|
|
2260
2266
|
EventHandler.remove(separators[i], 'click', this.clickHandler);
|
|
2261
2267
|
EventHandler.remove(separators[i], 'mousedown', this.onMouseDown);
|
|
2268
|
+
if (separators[i].delegateFocusHandler) {
|
|
2269
|
+
separators[i].removeEventListener('focus', separators[i].delegateFocusHandler);
|
|
2270
|
+
separators[i].delegateFocusHandler = null;
|
|
2271
|
+
}
|
|
2272
|
+
if (separators[i].delegateBlurHandler) {
|
|
2273
|
+
separators[i].removeEventListener('blur', separators[i].delegateBlurHandler);
|
|
2274
|
+
separators[i].delegateBlurHandler = null;
|
|
2275
|
+
}
|
|
2276
|
+
if (separators[i].delegateMouseEnterHandler) {
|
|
2277
|
+
separators[i].removeEventListener('mouseenter', separators[i].delegateMouseEnterHandler);
|
|
2278
|
+
separators[i].delegateMouseEnterHandler = null;
|
|
2279
|
+
}
|
|
2280
|
+
if (separators[i].delegateMouseLeaveHandler) {
|
|
2281
|
+
separators[i].removeEventListener('mouseleave', separators[i].delegateMouseLeaveHandler);
|
|
2282
|
+
separators[i].delegateMouseLeaveHandler = null;
|
|
2283
|
+
}
|
|
2284
|
+
if (separators[i].delegateMouseOutHandler) {
|
|
2285
|
+
separators[i].removeEventListener('mouseout', separators[i].delegateMouseOutHandler);
|
|
2286
|
+
separators[i].delegateMouseOutHandler = null;
|
|
2287
|
+
}
|
|
2288
|
+
if (separators[i].delegateMouseOverHandler) {
|
|
2289
|
+
separators[i].removeEventListener('mouseover', separators[i].delegateMouseOverHandler);
|
|
2290
|
+
separators[i].delegateMouseOverHandler = null;
|
|
2291
|
+
}
|
|
2262
2292
|
separators[i].parentNode.removeChild(separators[i]); // Use parentNode for broader compatibility
|
|
2263
2293
|
}
|
|
2264
2294
|
}
|