Skip to content

Commit aba61c8

Browse files
author
pipeline
committed
v19.1.57 is released
1 parent 2b09729 commit aba61c8

File tree

1,613 files changed

+12234
-1778176
lines changed

Some content is hidden

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

1,613 files changed

+12234
-1778176
lines changed

controls/barcodegenerator/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 19.1.56 (2021-04-13)
5+
## 19.1.57 (2021-04-20)
66

77
### Barcode
88

controls/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 19.1.57 (2021-04-20)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `F163648` - Resolved the day periods not parsing lower case (am/pm) issue.
12+
513
## 19.1.56 (2021-04-13)
614

715
### Common
816

17+
#### Bug Fixes
18+
19+
- Resolved Unwanted Swipe event trigger in Firefox only on `Mac` machines.
20+
21+
## 19.1.54 (2021-03-30)
22+
23+
### Common
24+
925
#### New Features
1026

1127
- Provided Optional prefix addition support for Template function.

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": "18.4.32",
3+
"version": "19.1.56",
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/internationalization.spec.ts

+4
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@ describe('Internationalization', () => {
196196
let result: Date = dParseIntl.parseDate('12/dec/20',{format:'dd/MMM/yy'});
197197
expect(dParseIntl.formatDate(result)).toBe('12/12/20');
198198
});
199+
it('Case insensitive datetime picker degignator', () => {
200+
let result: Date = dParseIntl.parseDate('5/28/2019 2:00 pM', {format:'M/d/y h:mm a'});
201+
expect(dParseIntl.formatDate(result, {format: 'M/d/y h:mm a'})).toBe('5/28/2019 2:00 PM');
202+
});
199203
});
200204
describe('Number Parser', () => {
201205
let nParseIntl: Internationalization = new Internationalization();

controls/base/src/intl/date-parser.ts

+1
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ export class DateParser {
351351
} else {
352352
matchString = ((prop === 'month') && (!(<any>parseOptions).isIslamic) && ((<any>parseOptions).culture === 'en' || (<any>parseOptions).culture === 'en-GB' || (<any>parseOptions).culture === 'en-US'))
353353
? matchString[0].toUpperCase() + matchString.substring(1).toLowerCase() : matchString;
354+
matchString = prop === 'designator' && /^(AM|PM)$/i.test(matchString) ? matchString.toUpperCase() : matchString;
354355
(<any>retOptions)[prop] = (<any>parseOptions)[prop][matchString];
355356
}
356357
}

controls/base/src/touch.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export class Touch extends Base<HTMLElement> implements INotifyPropertyChanged {
263263
diffY = Math.floor(diffY < 0 ? -1 * diffY : diffX);
264264
this.isTouchMoved = diffX > 1 || diffY > 1;
265265
// tslint:disable-next-line:no-any
266-
const isFirefox: boolean = (/Mozilla|Firefox/).test(Browser.userAgent);
266+
const isFirefox: boolean = (/Mozilla|Firefox|Mac OS/).test(Browser.userAgent);
267267
if (isFirefox && point.clientX === 0 && point.clientY === 0 && evt.type === 'mouseup') {
268268
this.isTouchMoved = false;
269269
}

controls/buttons/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-buttons",
3-
"version": "18.2.44",
3+
"version": "19.1.54",
44
"description": "A package of feature-rich Essential JS 2 components such as Button, CheckBox, RadioButton and Switch.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88

99
#### Bug Fixes
1010

11+
- `#I319735` - Axis label line break support doesn't work in canvas mode issue fixed.
12+
- `#I319693` - Multilevel labels not working in canvas mode for y axis issue fixed.
13+
14+
### Chart
15+
16+
#### Bug Fixes
17+
1118
- `#310867` - 100% Stacking area is now working properly on browser resize.
1219
- `#318354` - Scrollbar issue for bar type series is resolved.
1320
- `#319835` - Normal distribution line in histogram series is rendering properly.

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.1.54",
3+
"version": "19.1.56",
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/chart/axis/strip-line.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export class StripLine {
379379
if (axis.valueType === 'DateTime') {
380380
return (this.getToValue(
381381
null, startValue,
382-
this.isCoreDate(stripline.repeatEvery) ? this.dateToMilliSeconds(stripline.repeatEvery, chart) : +stripline.repeatEvery,
382+
+stripline.repeatEvery,
383383
axis, null, stripline
384384
));
385385
} else {

controls/circulargauge/CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@
44

55
## [Unreleased]
66

7-
## 19.1.56 (2021-04-13)
7+
## 19.1.55 (2021-04-06)
8+
9+
### CircularGauge
10+
11+
#### Bug Fixes
12+
13+
- `#319856` - The axis with same start and end angle will now render properly.
14+
15+
## 19.1.54 (2021-03-30)
816

917
### CircularGauge
1018

controls/circulargauge/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-circulargauge",
3-
"version": "17.4.39",
3+
"version": "19.1.55",
44
"description": "Essential JS 2 CircularGauge Components",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/circulargauge/spec/circulargauge/axes/axis.spec.ts

+20
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,26 @@ describe('Circular-Gauge Control', () => {
337337
gauge.axes[0].ranges[0].start= 0;
338338
gauge.axes[0].ranges[0].end = 120;
339339
gauge.refresh();
340+
});
341+
it('Checking Axis start angle and end angle same', (done: Function) => {
342+
gauge.loaded = (args: ILoadedEventArgs): void => {
343+
svg = document.getElementById('container_AxisLine_0');
344+
expect(svg.getAttribute('fill') == "transparent").toBe(true);
345+
done();
346+
};
347+
gauge.axes[0].startAngle = 190;
348+
gauge.axes[0].endAngle = 190;
349+
gauge.refresh();
350+
});
351+
it('Checking Axis start angle and end angle less than 360', (done: Function) => {
352+
gauge.loaded = (args: ILoadedEventArgs): void => {
353+
svg = document.getElementById('container_AxisLine_0');
354+
expect(svg.getAttribute('opacity') == "null").toBe(true);
355+
done();
356+
};
357+
gauge.axes[0].startAngle = 350;
358+
gauge.axes[0].endAngle = 350;
359+
gauge.refresh();
340360
});
341361

342362
});

controls/circulargauge/src/circular-gauge/axes/axis-panel.ts

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ export class AxisLayoutPanel {
6565
isNullOrUndefined(this.gauge.centerX) && isNullOrUndefined(this.gauge.centerY)) {
6666
let startAngle: number; let endAngle: number;
6767
startAngle = axis.startAngle;
68-
startAngle = !isCompleteAngle(startAngle, axis.endAngle) ? startAngle : [0, endAngle = 360][0];
6968
let startPoint: GaugeLocation = getLocationFromAngle(startAngle - 90, currentRadius, this.gauge.midPoint);
7069
endAngle = axis.endAngle;
7170
endAngle -= isCompleteAngle(startAngle, endAngle) ? 0.0001 : 0;

controls/compression/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 19.1.56 (2021-04-13)
5+
## 19.1.57 (2021-04-20)
66

77
### Compression
88

controls/data/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 19.1.56 (2021-04-13)
5+
## 19.1.57 (2021-04-20)
66

77
### DataManager
88

controls/diagrams/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 19.1.57 (2021-04-20)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `F164350` - The issue "Annotation hyper link is not working" has been fixed.
12+
- `#319911` - The issue "Customized style disappears when serializing the BPMN shapes" has been fixed.
13+
514
## 19.1.56 (2021-04-13)
615

716
### 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.1.54",
3+
"version": "19.1.56",
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",

controls/diagrams/spec/diagram/diagram/pagesettings.spec.ts

+41
Original file line numberDiff line numberDiff line change
@@ -741,3 +741,44 @@ describe('Page Settings with orientation', () => {
741741
done();
742742
});
743743
})
744+
745+
describe('BPMN Shape Style Change', () => {
746+
let diagram: Diagram;
747+
let ele: HTMLElement;
748+
let scroller: DiagramScroller;
749+
let mouseEvents: MouseEvents = new MouseEvents();
750+
beforeAll((): void => {
751+
const isDef = (o: any) => o !== undefined && o !== null;
752+
if (!isDef(window.performance)) {
753+
console.log("Unsupported environment, window.performance.memory is unavailable");
754+
this.skip(); //Skips test (in Chai)
755+
return;
756+
}
757+
758+
ele = createElement('div', { id: 'diagram' });
759+
document.body.appendChild(ele);
760+
let node: NodeModel = {
761+
id: 'node12', width: 100, height: 100, offsetX: 1100, offsetY: 100,
762+
shape: {
763+
type: 'Bpmn', shape: 'Event',
764+
event: { event: 'End', trigger: 'None' }
765+
},
766+
};
767+
diagram = new Diagram({
768+
width: 800, height: 800, nodes: [node],
769+
});
770+
diagram.appendTo('#diagram');
771+
772+
});
773+
afterAll((): void => {
774+
diagram.destroy();
775+
ele.remove();
776+
});
777+
it('Check BPMN Node color after save and load', (done: Function) => {
778+
diagram.nodes[0].style.fill = "red";
779+
let save: string = diagram.saveDiagram();
780+
diagram.loadDiagram(save);
781+
expect(diagram.nodes[0].style.fill === "red").toBe(true);
782+
done();
783+
});
784+
})

controls/diagrams/src/diagram/interaction/actions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export function findToolToActivate(
145145
if (wrapper.id && (wrapper.id.indexOf(userid) > -1)) { return 'FixedUserHandle'; }
146146
}
147147
}
148-
if (canMove(obj) && wrapper instanceof TextElement && wrapper.hyperlink.link) {
148+
if (wrapper instanceof TextElement && wrapper.hyperlink.link) {
149149
return 'Hyperlink';
150150
}
151151
if (canMove(obj) && isSelected(diagram, obj, false) && (diagram.selectedItems as Selector).annotation === undefined) {

controls/diagrams/src/diagram/objects/bpmn.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -419,18 +419,18 @@ export class BpmnDiagrams {
419419
outerEvtNode.visible = false;
420420
break;
421421
case 'Intermediate':
422-
innerEvtNode.style.fill = 'white';
422+
innerEvtNode.style.fill = node.style.fill;
423423
innerEvtNode.style.gradient = null;
424424
break;
425425
case 'NonInterruptingIntermediate':
426-
innerEvtNode.style.fill = 'white';
426+
innerEvtNode.style.fill = node.style.fill;
427427
innerEvtNode.style.gradient = null;
428428
innerEvtNode.style.strokeDashArray = '2 3';
429429
outerEvtNode.style.strokeDashArray = '2 3';
430430
break;
431431
case 'ThrowingIntermediate':
432432
case 'End':
433-
innerEvtNode.style.fill = event !== 'End' ? 'white' : 'black';
433+
innerEvtNode.style.fill = event !== 'End' ? node.style.fill : node.style.fill !== 'white' ? node.style.fill: 'black';
434434
innerEvtNode.style.gradient = null;
435435
triggerNode.style.fill = 'black';
436436
triggerNode.style.strokeColor = 'white';

controls/documenteditor/CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,41 @@
22

33
## [Unreleased]
44

5+
## 19.1.57 (2021-04-20)
6+
7+
### Document Editor
8+
9+
#### Bug Fixes
10+
11+
- `#I319397` - Resolved the spell check for certain words ending with `ies`.
12+
- `#F164367` - Resolved the script error in `npm run sass`.
13+
- `#I319824` - Resolved the extra page rendering issue.
14+
- `#I319824` - Resolved the border rendering issue in the exported word document.
15+
- `#I319421`, `#F163236` - Resolved the copy/paste issue for content copied from Document Editor.
16+
- `#I307321` - Document exporting issue with line shape is resolved.
17+
- `#I307321` - Exported document rendering issue in resolved.
18+
- `#I321190` - Resolved the icon issue in material-dark, bootstrap-dark, fabric-dark themes.
19+
- `#I319808` - Document with tab is now rendered properly.
20+
- `#I317303` - Spacing after the numbered list is preserved.
21+
- `#I324052` - Added the footnote and endnote locale strings.
22+
- `#I307321` - Table border issue in exported word document is resolved.
23+
- `#I307321` - List with hanging indent is rendered properly.
24+
- `#I313465` - Resolved the image rendering issue in insert image API.
25+
- `#I321108` - Script error in tracking the changes is resolved.
26+
- `#I321923` - Script error in pasting image URL in track change mode is resolved.
27+
- `#I317358` - Image copy/paste issue in ASP.NET MVC framework is resolved.
28+
- `#I318843` - Resolved the list formatting issue in copy pasted content.
29+
- `#I319868` - Exported document with image in header is opened properly in Libre Office.
30+
- `#I324025` - Resolved the font dialog option value in localized mode.
31+
532
## 19.1.56 (2021-04-13)
633

734
### Document Editor
835

936
#### Bug Fixes
1037

1138
- `#I319991` - Inline form filling is now working properly in Internet Explorer.
39+
- `#319782` - Resolved script error while deleting the content.
1240
- `#I320821`, `#I320991` - Table is now drawn with proper line width.
1341
- `#I319987` - Table with merged cells now layout properly.
1442
- `#I320513` - Header content is not rendered properly.

controls/documenteditor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-documenteditor",
3-
"version": "19.1.55",
3+
"version": "19.1.56",
44
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs.",
55
"keywords": [
66
"ej2",

0 commit comments

Comments
 (0)