@syncfusion/ej2-diagrams
Advanced tools
Comparing version 23.1.42 to 23.1.43
/*! | ||
* filename: index.d.ts | ||
* version : 23.1.42 | ||
* version : 23.1.43 | ||
* 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@23.1.40", | ||
"_id": "@syncfusion/ej2-diagrams@23.1.42", | ||
"_inBundle": false, | ||
"_integrity": "sha512-AiuRi/eYq8dkuxS+WUzIUqtNkzA5hpg0Op2gcMDUO047wkOTcahlwYzU7Tmz10Q3yGtfN5iQd+tsRFgywbMXnQ==", | ||
"_integrity": "sha512-JIHR3XphoOqtt4tyo5wBkyvVetRKhck1PBu+ffPF4pX8zCAWIt65bpjzPPxs57Uz2d0RMFQqQyJyUHdbVWJ5kQ==", | ||
"_location": "/@syncfusion/ej2-diagrams", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-23.1.40.tgz", | ||
"_shasum": "af7d2729f874e0c3dc1c7e04b347b87cd89f6c65", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-23.1.42.tgz", | ||
"_shasum": "bbd7aae8bda9451cfbd0018e54bd5cc5af884e7d", | ||
"_spec": "@syncfusion/ej2-diagrams@*", | ||
@@ -40,8 +40,8 @@ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included", | ||
"@syncfusion/ej2-base": "~23.1.41", | ||
"@syncfusion/ej2-buttons": "~23.1.42", | ||
"@syncfusion/ej2-data": "~23.1.36", | ||
"@syncfusion/ej2-inputs": "~23.1.42", | ||
"@syncfusion/ej2-lists": "~23.1.42", | ||
"@syncfusion/ej2-navigations": "~23.1.41", | ||
"@syncfusion/ej2-popups": "~23.1.38" | ||
"@syncfusion/ej2-buttons": "~23.1.43", | ||
"@syncfusion/ej2-data": "~23.1.43", | ||
"@syncfusion/ej2-inputs": "~23.1.43", | ||
"@syncfusion/ej2-lists": "~23.1.43", | ||
"@syncfusion/ej2-navigations": "~23.1.43", | ||
"@syncfusion/ej2-popups": "~23.1.43" | ||
}, | ||
@@ -78,4 +78,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "23.1.42", | ||
"version": "23.1.43", | ||
"sideEffects": true | ||
} |
@@ -659,10 +659,4 @@ var __extends = (this && this.__extends) || (function () { | ||
var bounds = this.parent.scroller.getPageBounds(); | ||
var diagramBoundsWidth = this.parent.scroller.viewPortWidth / this.parent.scroller.currentZoom; | ||
var diagramBoundsHeight = this.parent.scroller.viewPortHeight / this.parent.scroller.currentZoom; | ||
var transformWidth = 0; | ||
var transformHeight = 0; | ||
if (this.parent.scroller.currentZoom < 1 && diagramBoundsWidth > bounds.width && diagramBoundsHeight > bounds.height) { | ||
transformWidth = (diagramBoundsWidth - bounds.width) / 2; | ||
transformHeight = (diagramBoundsHeight - bounds.height) / 2; | ||
} | ||
// Bug 851571: Overview with html node is not updated properly when we zoom-out the diagram. | ||
// Below transformWidth calculation is removed. | ||
var width = bounds.width; | ||
@@ -674,3 +668,5 @@ var height = bounds.height; | ||
var w = Math.max(width, this.parent.scroller.viewPortWidth); | ||
var h = Math.max(height, this.parent.scroller.viewPortHeight / this.parent.scroller.currentZoom); | ||
// Bug 851571: Overview with html node is not updated properly when we zoom-out the diagram. | ||
// Removed viewPortHeight/ currentZoom for height calculation. | ||
var h = Math.max(height, this.parent.scroller.viewPortHeight); | ||
this.contentWidth = w = Math.max(w, (offwidth / offheight) * h); | ||
@@ -681,4 +677,4 @@ this.contentHeight = h = Math.max(h, (offheight / offwidth) * w); | ||
htmlLayer.style.webkitTransform = 'scale(' + scale + ') translate(' + -bounds.x + 'px,' + (-bounds.y) + 'px)'; | ||
htmlLayer.style.transform = 'scale(' + scale + ') translate(' + ((-(bounds.x)) + transformWidth) + 'px,' | ||
+ (((-bounds.y) + transformHeight)) + 'px)'; | ||
htmlLayer.style.transform = 'scale(' + scale + ') translate(' + ((-(bounds.x))) + 'px,' | ||
+ (((-bounds.y))) + 'px)'; | ||
var ovw = document.getElementById(this.element.id + '_overviewlayer'); | ||
@@ -685,0 +681,0 @@ ovw.setAttribute('transform', 'translate(' + (-bounds.x * scale) + ',' + (-bounds.y * scale) + ')'); |
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 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
38974877
281024