@syncfusion/ej2-diagrams
Advanced tools
Comparing version 26.1.41 to 26.1.42
/*! | ||
* filename: index.d.ts | ||
* version : 26.1.41 | ||
* version : 26.1.42 | ||
* 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@26.1.40", | ||
"_id": "@syncfusion/ej2-diagrams@26.1.41", | ||
"_inBundle": false, | ||
"_integrity": "sha512-NTFTKKZEBDf07KfAwmzBtF3GoopgDOUl8+oQ6L+X+IkECWb8XI9FuovASLB2l0rht5Ly2Jp93NUeAO4BuL/Gvw==", | ||
"_integrity": "sha512-Q5H5jDxMBeo6+Il2k0wh3OmxaUJDf37T6VRSYjQE/hMG25H3c4NO6u63+/6kTuwMuaq3eCLa3/vmEwiKct5eEA==", | ||
"_location": "/@syncfusion/ej2-diagrams", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-26.1.40.tgz", | ||
"_shasum": "54e70f3bbd59627248d45b6811fa87fcc4e03dd3", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-26.1.41.tgz", | ||
"_shasum": "4ac70bd180134415a0fa54f4963bc2e4f97c04c9", | ||
"_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.37", | ||
"@syncfusion/ej2-base": "~26.1.42", | ||
"@syncfusion/ej2-buttons": "~26.1.40", | ||
"@syncfusion/ej2-data": "~26.1.41", | ||
"@syncfusion/ej2-inputs": "~26.1.41", | ||
"@syncfusion/ej2-data": "~26.1.42", | ||
"@syncfusion/ej2-inputs": "~26.1.42", | ||
"@syncfusion/ej2-lists": "~26.1.35", | ||
"@syncfusion/ej2-navigations": "~26.1.41", | ||
"@syncfusion/ej2-popups": "~26.1.41" | ||
"@syncfusion/ej2-popups": "~26.1.42" | ||
}, | ||
@@ -78,4 +78,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "26.1.41", | ||
"version": "26.1.42", | ||
"sideEffects": true | ||
} |
@@ -134,2 +134,3 @@ var __extends = (this && this.__extends) || (function () { | ||
topLeft = this.alignChildBasedOnParent(child, childSize, desiredSize, childX, childY); | ||
child.flip = this.flip; | ||
} | ||
@@ -136,0 +137,0 @@ else { |
@@ -44,2 +44,3 @@ import { PointModel } from '../primitives/point-model'; | ||
private hoverElement; | ||
private isUserHandleHover; | ||
private hoverNode; | ||
@@ -46,0 +47,0 @@ private isScrolling; |
@@ -642,2 +642,3 @@ import { Point } from './../primitives/point'; | ||
htmlElement = createHtmlElement('div', attr); | ||
var diagram = document.getElementById(element.diagramId).ej2_instances[0]; | ||
var isOverviewLayer = false; | ||
@@ -648,3 +649,11 @@ if (canvas.parentNode && canvas.parentNode.parentNode && canvas.parentNode.parentNode.parentNode && canvas.parentNode.parentNode.parentNode.classList.contains('e-overview')) { | ||
if (isOverviewLayer) { | ||
htmlElement.appendChild(element.template.cloneNode(true)); | ||
//893685: HTML node with node Template not shown in Overview in React. | ||
if (diagram.isReact) { | ||
diagram.renderReactTemplates(function () { | ||
htmlElement.appendChild(element.template.cloneNode(true)); | ||
}); | ||
} | ||
else { | ||
htmlElement.appendChild(element.template.cloneNode(true)); | ||
} | ||
} | ||
@@ -658,3 +667,2 @@ else { | ||
element.template = temp; | ||
var diagram = document.getElementById(element.diagramId).ej2_instances[0]; | ||
var handle = diagram.selectedItems.userHandles.filter(function (x) { | ||
@@ -661,0 +669,0 @@ return x.name === (element.id.split('_shape')[0]) && x.template !== ''; |
@@ -93,8 +93,25 @@ import { Rect } from '../primitives/rect'; | ||
var translatedPts = []; | ||
var left = element.offsetX - element.actualSize.width * element.pivot.x; | ||
var top = element.offsetY - element.actualSize.height * element.pivot.y; | ||
for (var _i = 0, points_1 = points; _i < points_1.length; _i++) { | ||
var point = points_1[_i]; | ||
var pt1 = { | ||
x: element.offsetX - element.actualSize.width * element.pivot.x + point.x, | ||
y: element.offsetY - element.actualSize.height * element.pivot.y + point.y | ||
}; | ||
var pt1 = void 0; | ||
var baseX = left + point.x; | ||
var baseY = top + point.y; | ||
var flipX = left + element.actualSize.width - point.x; | ||
var flipY = top + element.actualSize.height - point.y; | ||
switch (element.flip) { | ||
case 'Both': | ||
pt1 = { x: flipX, y: flipY }; | ||
break; | ||
case 'Horizontal': | ||
pt1 = { x: flipX, y: baseY }; | ||
break; | ||
case 'Vertical': | ||
pt1 = { x: baseX, y: flipY }; | ||
break; | ||
default: | ||
pt1 = { x: baseX, y: baseY }; | ||
break; | ||
} | ||
var matrix = void 0; | ||
@@ -101,0 +118,0 @@ var angle = element.rotateAngle + element.parentTransform; |
@@ -393,2 +393,5 @@ import { NodeConstraints, AnnotationConstraints } from '../enum/enum'; | ||
} | ||
//893885: Parameter Name in UMLClass with multiple Methods are updated wrongly | ||
//clear the value stored in parameter variable after each method initiaization | ||
argumentText = ''; | ||
} | ||
@@ -395,0 +398,0 @@ if (i !== methods.length) { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
285800
38730082
390