Skip to content

Commit d8f7df3

Browse files
author
pipeline
committed
v18.3.50 is released
1 parent 3264bf7 commit d8f7df3

File tree

340 files changed

+5633
-5462
lines changed

Some content is hidden

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

340 files changed

+5633
-5462
lines changed

controls/base/dist/ej2-base.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/ej2-base.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es2015.js

Lines changed: 26 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es2015.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es5.js

Lines changed: 26 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es5.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/global/blazor/base.js

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5226,7 +5226,6 @@ function append(fromElements, toElement, isEval) {
52265226
}
52275227
return fromElements;
52285228
}
5229-
//tslint: enable:no-any
52305229
/**
52315230
* The function is used to evaluate script from Ajax request
52325231
* @param ele - An element is going to evaluate the script
@@ -5251,9 +5250,12 @@ function detach(element) {
52515250
}
52525251
else {
52535252
var parentNode = element.parentNode;
5254-
return parentNode.removeChild(element);
5253+
if (parentNode) {
5254+
return parentNode.removeChild(element);
5255+
}
52555256
}
52565257
}
5258+
//tslint: enable:no-any
52575259
/**
52585260
* The function used to remove the element from Dom also clear the bounded events
52595261
* @param {Element|Node|HTMLElement} element - An element remove from the Dom
@@ -5307,6 +5309,7 @@ function select(selector, context, needsVDOM) {
53075309
return VirtualDOM.vDomSelector({ ele: context, selector: selector, selectAll: false });
53085310
}
53095311
else {
5312+
selector = querySelectId(selector);
53105313
return context.querySelector(selector);
53115314
}
53125315
}
@@ -5323,10 +5326,30 @@ function selectAll(selector, context, needsVDOM) {
53235326
return VirtualDOM.vDomSelector({ ele: context, selector: selector, selectAll: true });
53245327
}
53255328
else {
5329+
selector = querySelectId(selector);
53265330
var nodeList = context.querySelectorAll(selector);
53275331
return nodeList;
53285332
}
53295333
}
5334+
function querySelectId(selector) {
5335+
if (selector.match(/#[0-9]/g)) {
5336+
var idList = selector.split(',');
5337+
for (var i = 0; i < idList.length; i++) {
5338+
var list = idList[i].split(' ');
5339+
for (var j = 0; j < list.length; j++) {
5340+
if (list[j].match(/#/)) {
5341+
var splitId = list[j].split('#');
5342+
if (splitId[1].match(/^\d/)) {
5343+
list[j] = list[j].replace(/#/, '[id=\'') + '\']';
5344+
}
5345+
}
5346+
}
5347+
idList[i] = list.join(' ');
5348+
}
5349+
return idList.join(',');
5350+
}
5351+
return selector;
5352+
}
53305353
/**
53315354
* Returns single closest parent element based on class selector.
53325355
* @param {Element} element - An element that need to find the closest element.
@@ -7035,7 +7058,7 @@ var Component = /** @class */ (function (_super) {
70357058
*/
70367059
Component.prototype.appendTo = function (selector) {
70377060
if (!isNullOrUndefined(selector) && typeof (selector) === 'string') {
7038-
this.element = document.querySelector(selector);
7061+
this.element = select(selector, document);
70397062
}
70407063
else if (!isNullOrUndefined(selector)) {
70417064
this.element = selector;
@@ -7766,10 +7789,6 @@ var Draggable = /** @class */ (function (_super) {
77667789
draEleTop -= this.parentScrollY;
77677790
draEleLeft -= this.parentScrollX;
77687791
}
7769-
// Accuracy issue - while drag faster, Cursor and clone element have some distance gap
7770-
if (this.position.top !== draEleTop) {
7771-
draEleTop = this.position.top;
7772-
}
77737792
}
77747793
var dragValue = this.getProcessedPositionValue({ top: draEleTop + 'px', left: draEleLeft + 'px' });
77757794
setStyleAttribute(helperElement, this.getDragPosition(dragValue));

controls/base/dist/global/ej2-base.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/global/ej2-base.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-base",
3-
"version": "18.3.47",
3+
"version": "18.3.48",
44
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)