Skip to content

Commit 72bba3f

Browse files
author
pipeline
committed
v19.2.51 is released
1 parent 873c2de commit 72bba3f

File tree

158 files changed

+2638
-513
lines changed

Some content is hidden

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

158 files changed

+2638
-513
lines changed

controls/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 19.2.51 (2021-08-03)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `I306072` - Resolved Dashboard Layout floating panel issue.
12+
13+
## 19.2.49 (2021-07-27)
14+
15+
### Common
16+
17+
#### Bug Fixes
18+
19+
- `I336794`,`I336872`, `I336649` - Resolved the issue with Template Compilation malfunctions when value have special character apostrophe.
20+
521
## 19.2.48 (2021-07-20)
622

723
### Common

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": "19.2.48",
3+
"version": "19.2.49",
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/spec/template.spec.ts

+15
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,21 @@ describe('Template', () => {
154154
result.push(createElement('div', { innerHTML: 'two three', className:' class1 class2 class3' }));
155155
expect(outDOM(template.compile(templateStr), JSONArray)).toEqual(result);
156156
});
157+
158+
it('JSON array input with href value with apostrophe', () => {
159+
let templateStr: string = `<div><a href='https://en.wikipedia.org/wiki/France'>France</a><a href='/Projects/Details?id=VINET'>VINET</a></div>`;
160+
let getString: any = template.compile(templateStr);
161+
let output: any = getString(templateStr);
162+
expect(output).toEqual("<div><a href=\"https://en.wikipedia.org/wiki/France\">France</a><a href=\"/Projects/Details?id=VINET\">VINET</a></div>");
163+
});
164+
165+
it('JSON array input with special character apostrophe', () => {
166+
debugger
167+
let templateStr: string = `<div><input value='HANAR's'></div>`;
168+
let getString: any = template.compile(templateStr);
169+
let output: any = getString(templateStr);
170+
expect(output).toEqual("<div><input value=\"HANAR's\"></div>");
171+
});
157172

158173
it('JSON Array input with multiple key mapping String', () => {
159174
let templateStr: string = '<div>${name}${info.id}</div>';

controls/base/src/base.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface AngularEventEmitter {
1414
subscribe?: (generatorOrNext?: any, error?: any, complete?: any) => any;
1515
}
1616

17-
export declare type EmitType<T> = AngularEventEmitter & ((arg?: T, ...rest: any[]) => void);
17+
export declare type EmitType<T> = AngularEventEmitter & ((arg?: any, ...rest: any[]) => void);
1818

1919
export interface BlazorDotnetObject {
2020
dispose(): void;

controls/base/src/draggable.ts

+5
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ export class Draggable extends Base<HTMLElement> implements INotifyPropertyChang
350350
private tapHoldTimer: any = 0;
351351
private dragElePosition: any;
352352
public currentStateTarget: any;
353+
public enableScrollHandler: boolean = false;
353354
private externalInitialize: boolean = false;
354355
private diffY: number = 0;
355356
private pageY: number;
@@ -754,6 +755,10 @@ export class Draggable extends Base<HTMLElement> implements INotifyPropertyChang
754755
draEleTop = top - iTop;
755756
draEleLeft = left - iLeft;
756757
}
758+
if (this.enableScrollHandler && !this.clone) {
759+
draEleTop -= this.parentScrollY;
760+
draEleLeft -= this.parentScrollX;
761+
}
757762

758763
let dragValue: DragPosition = this.getProcessedPositionValue({ top: draEleTop + 'px', left: draEleLeft + 'px' });
759764
setStyleAttribute(helperElement, this.getDragPosition(dragValue));

controls/buttons/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 19.2.49 (2021-07-27)
5+
## 19.2.51 (2021-08-03)
66

77
### Checkbox
88

controls/charts/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 19.2.51 (2021-08-03)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#337240` - Stripline working properly on canvas mode.
12+
13+
### Accumulation chart
14+
15+
#### Bug Fixes
16+
17+
- `#335684` - Data label positioning properly for pie chart.
18+
519
## 19.2.49 (2021-07-27)
620

721
### Chart

controls/charts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-charts",
3-
"version": "19.2.47",
3+
"version": "19.2.49",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/src/accumulation-chart/renderer/dataLabel.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ export class AccumulationDataLabel extends AccumulationBase {
120120
let previousPoint: AccPoints = this.findPreviousPoint(points, point.index, point.labelPosition);
121121

122122
if (dataLabel.position === 'Inside') {
123+
// `4` is padding adding to height and width of label region.
124+
point.labelRegion.height -= 4;
125+
point.labelRegion.width -= 4;
123126
if (previousPoint && previousPoint.labelRegion && (isOverlap(point.labelRegion, previousPoint.labelRegion)
124127
|| this.isOverlapping(point, points)) || !circular && !containsRect(point.region, point.labelRegion)) {
125128
point.labelPosition = 'Outside';
@@ -691,7 +694,7 @@ export class AccumulationDataLabel extends AccumulationBase {
691694
element = getElement(id + 'shape_' + point.index);
692695
const startLocation: ChartLocation = element ? new ChartLocation(
693696
+element.getAttribute('x'), +element.getAttribute('y')
694-
) : null;
697+
) : null;
695698
dataLabelElement = this.accumulation.renderer.drawRectangle(new RectOption(
696699
id + 'shape_' + point.index, point.argsData.color, point.argsData.border, 1,
697700
point.labelRegion, dataLabel.rx, dataLabel.ry));

controls/charts/src/chart/axis/strip-line.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,9 @@ export class StripLine {
272272
): void {
273273
const element: Element = getElement(id);
274274
const direction: string = element ? element.getAttribute('d') : '';
275-
const d: string = (axis.orientation === 'Vertical') ? ('M' + rect.x + ' ' + rect.y + ' ' + 'L' + (rect.x + rect.width)
275+
const d: string = (axis.orientation === 'Vertical') ? ('M ' + rect.x + ' ' + rect.y + ' ' + 'L ' + (rect.x + rect.width)
276276
+ ' ' + rect.y) :
277-
('M' + rect.x + ' ' + rect.y + ' ' + 'L' + rect.x + ' ' + (rect.y + rect.height));
277+
('M ' + rect.x + ' ' + rect.y + ' ' + 'L ' + rect.x + ' ' + (rect.y + rect.height));
278278
appendChildElement(
279279
chart.enableCanvas, parent, chart.renderer.drawPath(
280280
new PathOption(

controls/data/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 19.2.49 (2021-07-27)
5+
## 19.2.51 (2021-08-03)
66

77
### DataManager
88

controls/diagrams/CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
## [Unreleased]
44

5+
## 19.2.51 (2021-08-03)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#F167093` - The issue "The HTML nodes in overview takes place at the wrong position while zoom and move the HTML node in diagram "has been fixed.
12+
- `#F166882` - The issue "Accessibility validation error in Diagram" has been fixed.
13+
- `#F167431` - The issue "While decode the exported JPG image it has the PNG Image signature"has been fixed.
14+
15+
## 19.2.49 (2021-07-27)
16+
17+
### Diagram
18+
19+
#### Bug Fixes
20+
21+
- `#I335783` - The issue "The tooltip rendered in the wrong position when the node is placed at bottom position" has been fixed.
22+
- `#I334315` - The issue "Update template method is triggered twice"has been fixed.
23+
524
## 19.2.48 (2021-07-20)
625

726
### Diagram

controls/diagrams/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-diagrams",
3-
"version": "19.2.48",
3+
"version": "19.2.49",
44
"description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)