@syncfusion/ej2-diagrams
Advanced tools
Comparing version 26.1.35 to 26.1.40
/*! | ||
* filename: index.d.ts | ||
* version : 26.1.35 | ||
* version : 26.1.40 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-diagrams@*", | ||
"_id": "@syncfusion/ej2-diagrams@19.18.0", | ||
"_id": "@syncfusion/ej2-diagrams@26.1.35", | ||
"_inBundle": false, | ||
"_integrity": "sha512-jozgm4RvmW7CWbEaeOwwHis4R7dO2kHpVi20D8OXcaGk2Eb7lGhA7ilw4y576SadB17y0qcfnaL3a68xYkQvzA==", | ||
"_integrity": "sha512-hxW75Wg0kOb1gfZueiwxapgKktLLv+Vqd6rub1r7sQJmVAQ0m/4ve7Aszg0Hz9tWZHrSGps8PzKIxDS8J1zoaQ==", | ||
"_location": "/@syncfusion/ej2-diagrams", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-diagrams/-/ej2-diagrams-19.18.0.tgz", | ||
"_shasum": "929c0168dd58992ae372d67894aafe5a62cca799", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-26.1.35.tgz", | ||
"_shasum": "9abd0482e02e23858545154921b5328a37b85471", | ||
"_spec": "@syncfusion/ej2-diagrams@*", | ||
@@ -39,9 +39,9 @@ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~26.1.35", | ||
"@syncfusion/ej2-buttons": "~26.1.35", | ||
"@syncfusion/ej2-data": "~26.1.35", | ||
"@syncfusion/ej2-inputs": "~26.1.35", | ||
"@syncfusion/ej2-base": "~26.1.37", | ||
"@syncfusion/ej2-buttons": "~26.1.40", | ||
"@syncfusion/ej2-data": "~26.1.40", | ||
"@syncfusion/ej2-inputs": "~26.1.40", | ||
"@syncfusion/ej2-lists": "~26.1.35", | ||
"@syncfusion/ej2-navigations": "~26.1.35", | ||
"@syncfusion/ej2-popups": "~26.1.35" | ||
"@syncfusion/ej2-navigations": "~26.1.40", | ||
"@syncfusion/ej2-popups": "~26.1.38" | ||
}, | ||
@@ -78,4 +78,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "26.1.35", | ||
"version": "26.1.40", | ||
"sideEffects": true | ||
} |
@@ -293,19 +293,24 @@ import { Rect } from '../primitives/rect'; | ||
var startGridNode = this.startArray.pop(); | ||
for (var i = 0; i < this.targetGridCollection.length; i++) { | ||
var target = this.targetGridCollection[parseInt(i.toString(), 10)]; | ||
if (startGridNode.gridX === target.gridX && startGridNode.gridY === target.gridY) { | ||
this.getIntermediatePoints(startGridNode); | ||
isBreak = this.updateConnectorSegments(diagram, this.intermediatePoints, this.gridCollection, connector, isUpdate); | ||
if (!isBreak) { | ||
this.targetGridCollection.splice(this.targetGridCollection.indexOf(target), 1); | ||
startGridNode = this.startArray.pop(); | ||
//890444:Exception thrown while drag and drop shapes on top of each other repeatedly with Line Routing | ||
if (startGridNode) { | ||
for (var i = 0; i < this.targetGridCollection.length; i++) { | ||
var target = this.targetGridCollection[parseInt(i.toString(), 10)]; | ||
if (startGridNode.gridX === target.gridX && startGridNode.gridY === target.gridY) { | ||
this.getIntermediatePoints(startGridNode); | ||
isBreak = this.updateConnectorSegments(diagram, this.intermediatePoints, this.gridCollection, connector, isUpdate); | ||
if (!isBreak) { | ||
this.targetGridCollection.splice(this.targetGridCollection.indexOf(target), 1); | ||
startGridNode = this.startArray.pop(); | ||
} | ||
else { | ||
this.considerWalkable = []; | ||
// eslint-disable-next-line no-labels | ||
break renderPathElement; | ||
} | ||
} | ||
else { | ||
this.considerWalkable = []; | ||
// eslint-disable-next-line no-labels | ||
break renderPathElement; | ||
} | ||
} | ||
if (startGridNode) { | ||
this.findPath(startGridNode); | ||
} | ||
} | ||
this.findPath(startGridNode); | ||
} | ||
@@ -518,3 +523,5 @@ } | ||
this.intermediatePoints.reverse(); | ||
if (this.intermediatePoints.length >= 1) { | ||
//890444: Exception thrown while drag and drop shapes on top of each other repeatedly with Line Routing | ||
if (this.intermediatePoints.length >= 1 && this.intermediatePoints[0] !== undefined | ||
&& this.intermediatePoints[1] !== undefined) { | ||
if (this.intermediatePoints[0].x === this.intermediatePoints[1].x) { | ||
@@ -521,0 +528,0 @@ if (this.intermediatePoints[0].y < this.intermediatePoints[1].y) { |
@@ -35,4 +35,2 @@ import { Container } from '../core/containers/container'; | ||
var opacity_1 = .2; | ||
var protect = 'isProtectedOnChange'; | ||
this.protectChange = diagram["" + protect]; | ||
diagram.protectPropertyChange(false); | ||
@@ -39,0 +37,0 @@ //let objects: ILayout = diagram.doLayout(); |
@@ -663,3 +663,9 @@ import { Point } from './../primitives/point'; | ||
// eslint-disable-next-line @typescript-eslint/no-unused-expressions | ||
element.isTemplate ? htmlElement.appendChild(element.template) : htmlElement.appendChild(element.template.cloneNode(true)); | ||
// 883335-Exception Throws When Loading Data Without Defining Node Template at Application Level | ||
if (element.isTemplate && element.template) { | ||
htmlElement.appendChild(element.template); | ||
} | ||
else if (element.template) { | ||
htmlElement.appendChild(element.template.cloneNode(true)); | ||
} | ||
} | ||
@@ -666,0 +672,0 @@ if (indexValue !== undefined && canvas.childNodes.length > indexValue) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
39980743
391
285535