@syncfusion/ej2-base 20.1.55 → 20.1.60
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/CHANGELOG.md +16 -0
- package/dist/ej2-base.umd.min.js +2 -2
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +13 -1
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +13 -1
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +2 -2
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -63
- package/src/draggable.js +12 -0
- package/src/sanitize-helper.js +1 -1
- package/styles/bootstrap-dark.css +7 -700
- package/styles/bootstrap.css +7 -700
- package/styles/bootstrap4.css +7 -584
- package/styles/bootstrap5-dark.css +8 -443
- package/styles/bootstrap5.css +8 -443
- package/styles/fabric-dark.css +7 -694
- package/styles/fabric.css +7 -694
- package/styles/fluent-dark.css +8 -443
- package/styles/fluent.css +8 -443
- package/styles/highcontrast-light.css +7 -690
- package/styles/highcontrast.css +7 -690
- package/styles/material-dark.css +7 -684
- package/styles/material.css +7 -684
- package/styles/tailwind-dark.css +8 -443
- package/styles/tailwind.css +8 -443
package/dist/es6/ej2-base.es5.js
CHANGED
|
@@ -7879,6 +7879,18 @@ var Draggable = /** @__PURE__ @class */ (function (_super) {
|
|
|
7879
7879
|
draEleTop -= this.parentScrollY;
|
|
7880
7880
|
draEleLeft -= this.parentScrollX;
|
|
7881
7881
|
}
|
|
7882
|
+
if (this.helperElement.classList.contains('e-treeview')) {
|
|
7883
|
+
var body = document.body;
|
|
7884
|
+
var html = document.documentElement;
|
|
7885
|
+
var tempHeight = Math.max(body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);
|
|
7886
|
+
var tempWidth = Math.max(body.offsetWidth, html.clientWidth, html.scrollWidth, html.offsetWidth);
|
|
7887
|
+
if (draEleTop > tempHeight) {
|
|
7888
|
+
draEleTop = tempHeight;
|
|
7889
|
+
}
|
|
7890
|
+
if (draEleLeft > tempWidth) {
|
|
7891
|
+
draEleLeft = tempWidth;
|
|
7892
|
+
}
|
|
7893
|
+
}
|
|
7882
7894
|
var dragValue = this.getProcessedPositionValue({ top: draEleTop + 'px', left: draEleLeft + 'px' });
|
|
7883
7895
|
setStyleAttribute(helperElement, this.getDragPosition(dragValue));
|
|
7884
7896
|
if (!this.elementInViewport(helperElement) && this.enableAutoScroll) {
|
|
@@ -9530,7 +9542,7 @@ var SanitizeHtmlHelper = /** @__PURE__ @class */ (function () {
|
|
|
9530
9542
|
this.removeXssAttrs();
|
|
9531
9543
|
var tempEleValue = this.wrapElement.innerHTML;
|
|
9532
9544
|
this.removeElement();
|
|
9533
|
-
return tempEleValue;
|
|
9545
|
+
return tempEleValue.replace('&', '&');
|
|
9534
9546
|
};
|
|
9535
9547
|
SanitizeHtmlHelper.removeElement = function () {
|
|
9536
9548
|
// Removes an element's attibute to avoid html tag validation
|