Skip to content

Commit 295f3e1

Browse files
author
pipeline
committed
v17.4.46 is released
1 parent b86345d commit 295f3e1

File tree

880 files changed

+52963
-6882
lines changed

Some content is hidden

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

880 files changed

+52963
-6882
lines changed

controls/barcodegenerator/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 17.4.46 (2020-01-30)
6+
7+
### Barcode
8+
9+
#### Bug Fixes
10+
11+
- `F150725` - The issue "Barcode Control hasn't rendered in IE11 browser" has been fixed.
12+
513
## 17.2.28-beta (2019-06-27)
614

715
### Barcode

controls/barcodegenerator/dist/ej2-barcode-generator.umd.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/barcodegenerator/dist/ej2-barcode-generator.umd.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/barcodegenerator/dist/es6/ej2-barcode-generator.es2015.js

+15-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/barcodegenerator/dist/es6/ej2-barcode-generator.es2015.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/barcodegenerator/dist/es6/ej2-barcode-generator.es5.js

+15-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/barcodegenerator/dist/es6/ej2-barcode-generator.es5.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/barcodegenerator/dist/global/ej2-barcode-generator.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/barcodegenerator/dist/global/ej2-barcode-generator.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/barcodegenerator/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-barcode-generator",
3-
"version": "17.2.48",
3+
"version": "17.4.43",
44
"description": "Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/barcodegenerator/src/barcode/utility/dom-util.ts

+14-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* DOM util
33
*/
44

5-
import { createElement } from '@syncfusion/ej2-base';
5+
import { createElement, Browser } from '@syncfusion/ej2-base';
66
import { Size } from '../primitives/size';
77
import { BaseAttributes } from '../rendering/canvas-interface';
88

@@ -16,7 +16,19 @@ export function createHtmlElement(elementType: string, attribute?: Object): HTML
1616
return element;
1717
}
1818
export function getChildNode(node: SVGElement): SVGElement[] | HTMLCollection {
19-
return node.children;
19+
let child: SVGElement;
20+
let collection: SVGElement[] | HTMLCollection = [];
21+
if (Browser.info.name === 'msie' || Browser.info.name === 'edge') {
22+
for (let i: number = 0; i < node.childNodes.length; i++) {
23+
child = node.childNodes[i] as SVGElement;
24+
if (child.nodeType === 1) {
25+
collection.push(child);
26+
}
27+
}
28+
} else {
29+
collection = node.children;
30+
}
31+
return collection;
2032
}
2133
export function measureText(textContent: BaseAttributes): Size {
2234
let measureElement: string = 'barcodeMeasureElement';

controls/base/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 17.4.44 (2021-01-21)
5+
## 17.4.43 (2020-01-14)
66

77
### Common
88

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

+1-1
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

+1-1
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

+4-14
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

+1-1
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

+4-14
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

+1-1
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

+1-1
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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-base",
3-
"version": "17.4.41",
3+
"version": "17.4.43",
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",

controls/base/src/draggable.ts

+4-14
Original file line numberDiff line numberDiff line change
@@ -460,22 +460,12 @@ export class Draggable extends Base<HTMLElement> implements INotifyPropertyChang
460460
let intCoord: Coordinates = this.getCoordinates(evt);
461461
this.initialPosition = { x: intCoord.pageX, y: intCoord.pageY };
462462
if (!this.clone) {
463-
let leftPostion: any;
464-
let topPostion: any;
465-
if (!isBlazor()) {
466-
let pos: PositionModel = this.element.getBoundingClientRect();
467-
leftPostion = pos.left;
468-
topPostion = pos.top;
469-
} else {
470-
leftPostion = this.element.offsetLeft;
471-
topPostion = this.element.offsetTop;
472-
}
473-
463+
let pos: PositionModel = this.element.getBoundingClientRect();
474464
this.getScrollableValues();
475465
if (evt.clientX === evt.pageX) { this.parentScrollX = 0; }
476466
if (evt.clientY === evt.pageY) { this.parentScrollY = 0; }
477-
this.relativeXPosition = intCoord.pageX - (leftPostion + this.parentScrollX);
478-
this.relativeYPosition = intCoord.pageY - (topPostion + this.parentScrollY);
467+
this.relativeXPosition = intCoord.pageX - (pos.left + this.parentScrollX);
468+
this.relativeYPosition = intCoord.pageY - (pos.top + this.parentScrollY);
479469
}
480470
if (this.externalInitialize) {
481471
this.intDragStart(evt);
@@ -484,7 +474,7 @@ export class Draggable extends Base<HTMLElement> implements INotifyPropertyChang
484474
EventHandler.add(document, Browser.touchEndEvent, this.intDestroy, this);
485475
}
486476
this.toggleEvents(true);
487-
//document.body.classList.add('e-prevent-select');
477+
document.body.classList.add('e-prevent-select');
488478
this.externalInitialize = false;
489479
EventHandler.trigger(document.documentElement, Browser.touchStartEvent, evt);
490480
}

controls/buttons/CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22

33
## [Unreleased]
44

5-
## 17.4.44 (2021-01-21)
5+
## 17.4.46 (2020-01-30)
6+
7+
### Chips
8+
9+
#### New Features
10+
11+
- `#256381` - Now, the `beforeClick` event triggers while clicking the chips.
12+
- `#256381` - Now, the `selectedChips` property maintains the value field that is provided to the chip.
13+
14+
## 17.4.43 (2020-01-14)
615

716
### Button
817

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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)