Skip to content

Commit ccaa9a9

Browse files
author
pipeline
committed
v17.3.34 is released
1 parent 3a42b2b commit ccaa9a9

File tree

132 files changed

+3721
-2100
lines changed

Some content is hidden

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

132 files changed

+3721
-2100
lines changed

controls/charts/dist/ej2-charts.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/charts/dist/ej2-charts.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/charts/dist/es6/ej2-charts.es2015.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11960,7 +11960,7 @@ class PolarRadarPanel extends LineBase {
1196011960
}
1196111961
if (!isIntersect && legendRect) {
1196211962
isIntersect = isOverlap(labelRegions[i], legendRect);
11963-
if (isIntersect && intersectType === 'Trim') {
11963+
if (isIntersect) {
1196411964
let width = this.getAvailableSpaceToTrim(legendRect, labelRegions[i]);
1196511965
if (width > 0) {
1196611966
labelText = textTrim(width, axis.visibleLabels[i].originalText, axis.labelStyle);

controls/charts/dist/es6/ej2-charts.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/charts/dist/es6/ej2-charts.es5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12662,7 +12662,7 @@ var PolarRadarPanel = /** @__PURE__ @class */ (function (_super) {
1266212662
}
1266312663
if (!isIntersect && legendRect) {
1266412664
isIntersect = isOverlap(labelRegions[i], legendRect);
12665-
if (isIntersect && intersectType === 'Trim') {
12665+
if (isIntersect) {
1266612666
var width = this.getAvailableSpaceToTrim(legendRect, labelRegions[i]);
1266712667
if (width > 0) {
1266812668
labelText = textTrim(width, axis.visibleLabels[i].originalText, axis.labelStyle);

controls/charts/dist/es6/ej2-charts.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/charts/dist/global/ej2-charts.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/charts/dist/global/ej2-charts.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/charts/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-charts",
3-
"version": "17.3.28",
3+
"version": "17.3.30",
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/polar-radar-panel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ export class PolarRadarPanel extends LineBase {
555555
}
556556
if (!isIntersect && legendRect) {
557557
isIntersect = isOverlap(labelRegions[i], legendRect);
558-
if (isIntersect && intersectType === 'Trim') {
558+
if (isIntersect) {
559559
let width: number = this.getAvailableSpaceToTrim(legendRect, labelRegions[i]);
560560
if (width > 0) {
561561
labelText = textTrim(width, axis.visibleLabels[i].originalText, axis.labelStyle);

controls/data/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 17.3.30 (2019-12-03)
5+
## 17.3.34 (2019-12-10)
66

77
### DataManager
88

controls/diagrams/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 17.3.34 (2019-12-10)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `F149553` - The issue with the position of nodes in the layout that is not retained when we interact and serialize the diagram with the layout at runtime has been fixed.
12+
513
## 17.3.30 (2019-12-03)
614

715
### Diagram

controls/diagrams/dist/ej2-diagrams.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/diagrams/dist/ej2-diagrams.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/diagrams/dist/es6/ej2-diagrams.es2015.js

Lines changed: 75 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -13917,7 +13917,7 @@ function cloneBlazorObject(args) {
1391713917
}
1391813918
/** @private */
1391913919
function checkBrowserInfo() {
13920-
if (navigator.platform.indexOf('Mac') && Browser.info.name === 'Safari') {
13920+
if (navigator.platform.indexOf('Mac') >= 0 && Browser.info.name === 'safari') {
1392113921
return true;
1392213922
}
1392313923
return false;
@@ -31983,86 +31983,88 @@ class Diagram extends Component {
3198331983
this.protectPropertyChange(true);
3198431984
let nodes = this.removeChildrenFromLayout(this.nodes);
3198531985
let viewPort = { x: this.scroller.viewPortWidth, y: this.scroller.viewPortHeight };
31986-
if (this.organizationalChartModule) {
31987-
layout = this.organizationalChartModule.updateLayout(nodes, this.nameTable, this.layout, viewPort, this.dataSourceSettings.id, this.diagramActions);
31988-
update = true;
31989-
if (this.layoutAnimateModule && layout.rootNode && !this.diagramActions) {
31990-
this.updateNodeExpand(layout.rootNode, layout.rootNode.isExpanded);
31986+
if (this.layout.type !== 'None') {
31987+
if (this.organizationalChartModule) {
31988+
layout = this.organizationalChartModule.updateLayout(nodes, this.nameTable, this.layout, viewPort, this.dataSourceSettings.id, this.diagramActions);
31989+
update = true;
31990+
if (this.layoutAnimateModule && layout.rootNode && !this.diagramActions) {
31991+
this.updateNodeExpand(layout.rootNode, layout.rootNode.isExpanded);
31992+
}
3199131993
}
31992-
}
31993-
else if (this.mindMapChartModule) {
31994-
this.mindMapChartModule.updateLayout(nodes, this.nameTable, this.layout, viewPort, this.dataSourceSettings.id, this.dataSourceSettings.root);
31995-
update = true;
31996-
}
31997-
else if (this.radialTreeModule) {
31998-
this.radialTreeModule.updateLayout(nodes, this.nameTable, this.layout, viewPort);
31999-
update = true;
32000-
}
32001-
else if (this.symmetricalLayoutModule) {
32002-
this.symmetricalLayoutModule.maxIteration = this.layout.maxIteration;
32003-
this.symmetricalLayoutModule.springLength = this.layout.springLength;
32004-
this.symmetricalLayoutModule.springFactor = this.layout.springFactor;
32005-
this.symmetricalLayoutModule.updateLayout(nodes, this.connectors, this.symmetricalLayoutModule, this.nameTable, this.layout, viewPort);
32006-
update = true;
32007-
}
32008-
else if (this.complexHierarchicalTreeModule) {
32009-
let nodes = this.complexHierarchicalTreeModule.getLayoutNodesCollection(this.nodes);
32010-
if (nodes.length > 0) {
32011-
this.complexHierarchicalTreeModule.doLayout(nodes, this.nameTable, this.layout, viewPort);
31994+
else if (this.mindMapChartModule) {
31995+
this.mindMapChartModule.updateLayout(nodes, this.nameTable, this.layout, viewPort, this.dataSourceSettings.id, this.dataSourceSettings.root);
31996+
update = true;
3201231997
}
32013-
update = true;
32014-
}
32015-
if (update) {
32016-
this.preventUpdate = true;
32017-
let connectors = {};
32018-
let updatedNodes = nodes;
32019-
for (let obj of updatedNodes) {
32020-
let node = obj;
32021-
if (!this.preventNodesUpdate && (!this.diagramActions || !(this.diagramActions & DiagramAction.PreventIconsUpdate))) {
32022-
this.updateIcon(node);
32023-
this.updateDefaultLayoutIcons(node);
32024-
}
32025-
this.preventNodesUpdate = true;
32026-
this.nodePropertyChange(node, {}, { offsetX: node.offsetX, offsetY: node.offsetY }, true);
32027-
this.preventNodesUpdate = false;
32028-
node.wrapper.measure(new Size(node.wrapper.width, node.wrapper.height));
32029-
node.wrapper.arrange(node.wrapper.desiredSize);
32030-
this.updateDiagramObject(node, true);
32031-
if (node.inEdges.length > 0) {
32032-
for (let j = 0; j < node.inEdges.length; j++) {
32033-
let connector = this.nameTable[node.inEdges[j]];
32034-
connectors[connector.id] = connector;
32035-
}
32036-
}
32037-
if (node.outEdges.length > 0) {
32038-
for (let k = 0; k < node.outEdges.length; k++) {
32039-
let connection = this.nameTable[node.outEdges[k]];
32040-
connectors[connection.id] = connection;
32041-
}
31998+
else if (this.radialTreeModule) {
31999+
this.radialTreeModule.updateLayout(nodes, this.nameTable, this.layout, viewPort);
32000+
update = true;
32001+
}
32002+
else if (this.symmetricalLayoutModule) {
32003+
this.symmetricalLayoutModule.maxIteration = this.layout.maxIteration;
32004+
this.symmetricalLayoutModule.springLength = this.layout.springLength;
32005+
this.symmetricalLayoutModule.springFactor = this.layout.springFactor;
32006+
this.symmetricalLayoutModule.updateLayout(nodes, this.connectors, this.symmetricalLayoutModule, this.nameTable, this.layout, viewPort);
32007+
update = true;
32008+
}
32009+
else if (this.complexHierarchicalTreeModule) {
32010+
let nodes = this.complexHierarchicalTreeModule.getLayoutNodesCollection(this.nodes);
32011+
if (nodes.length > 0) {
32012+
this.complexHierarchicalTreeModule.doLayout(nodes, this.nameTable, this.layout, viewPort);
3204232013
}
32014+
update = true;
3204332015
}
32044-
for (let conn of Object.keys(connectors)) {
32045-
let connector = connectors[conn];
32046-
let points = this.getPoints(connector);
32047-
updateConnector(connector, points);
32048-
if (connector.shape.type === 'Bpmn' && connector.shape.sequence === 'Default') {
32049-
this.commandHandler.updatePathElementOffset(connector);
32016+
if (update) {
32017+
this.preventUpdate = true;
32018+
let connectors = {};
32019+
let updatedNodes = nodes;
32020+
for (let obj of updatedNodes) {
32021+
let node = obj;
32022+
if (!this.preventNodesUpdate && (!this.diagramActions || !(this.diagramActions & DiagramAction.PreventIconsUpdate))) {
32023+
this.updateIcon(node);
32024+
this.updateDefaultLayoutIcons(node);
32025+
}
32026+
this.preventNodesUpdate = true;
32027+
this.nodePropertyChange(node, {}, { offsetX: node.offsetX, offsetY: node.offsetY }, true);
32028+
this.preventNodesUpdate = false;
32029+
node.wrapper.measure(new Size(node.wrapper.width, node.wrapper.height));
32030+
node.wrapper.arrange(node.wrapper.desiredSize);
32031+
this.updateDiagramObject(node, true);
32032+
if (node.inEdges.length > 0) {
32033+
for (let j = 0; j < node.inEdges.length; j++) {
32034+
let connector = this.nameTable[node.inEdges[j]];
32035+
connectors[connector.id] = connector;
32036+
}
32037+
}
32038+
if (node.outEdges.length > 0) {
32039+
for (let k = 0; k < node.outEdges.length; k++) {
32040+
let connection = this.nameTable[node.outEdges[k]];
32041+
connectors[connection.id] = connection;
32042+
}
32043+
}
32044+
}
32045+
for (let conn of Object.keys(connectors)) {
32046+
let connector = connectors[conn];
32047+
let points = this.getPoints(connector);
32048+
updateConnector(connector, points);
32049+
if (connector.shape.type === 'Bpmn' && connector.shape.sequence === 'Default') {
32050+
this.commandHandler.updatePathElementOffset(connector);
32051+
}
32052+
connector.wrapper.measure(new Size(undefined, undefined));
32053+
connector.wrapper.arrange(connector.wrapper.desiredSize);
32054+
this.updateConnectorAnnotation(connector);
32055+
this.updateQuad(connector);
32056+
this.updateDiagramObject(connector, true);
32057+
}
32058+
this.preventUpdate = false;
32059+
this.updatePage();
32060+
if ((!(this.diagramActions & DiagramAction.Render)) || this.mode === 'Canvas') {
32061+
this.refreshDiagramLayer();
3205032062
}
32051-
connector.wrapper.measure(new Size(undefined, undefined));
32052-
connector.wrapper.arrange(connector.wrapper.desiredSize);
32053-
this.updateConnectorAnnotation(connector);
32054-
this.updateQuad(connector);
32055-
this.updateDiagramObject(connector, true);
3205632063
}
32057-
this.preventUpdate = false;
32058-
this.updatePage();
32059-
if ((!(this.diagramActions & DiagramAction.Render)) || this.mode === 'Canvas') {
32060-
this.refreshDiagramLayer();
32064+
if (!propChange) {
32065+
this.protectPropertyChange(propChange);
3206132066
}
3206232067
}
32063-
if (!propChange) {
32064-
this.protectPropertyChange(propChange);
32065-
}
3206632068
return layout;
3206732069
}
3206832070
/**

controls/diagrams/dist/es6/ej2-diagrams.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.

0 commit comments

Comments
 (0)