@syncfusion/ej2-diagrams
Advanced tools
Comparing version 23.1.44 to 23.2.4
/*! | ||
* filename: index.d.ts | ||
* version : 23.1.44 | ||
* version : 23.2.4 | ||
* 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.43", | ||
"_id": "@syncfusion/ej2-diagrams@23.1.44", | ||
"_inBundle": false, | ||
"_integrity": "sha512-idzGu13LZgjrNgNWkcYgwbkczc7WqofBymq2Lq449v0WAFR/vv+NnvwSc/pLeGO1KUzo8IOgA3PMAX8+/m2b4A==", | ||
"_integrity": "sha512-uSBb+i5etKP8AQaNNHXt9Rw1hkvqIEK2LR3Q0Ye4OsXjQYfu5dBIT5+ZHREif+wO93OzrxXS0LrAvtbtMRYy8Q==", | ||
"_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.43.tgz", | ||
"_shasum": "fe39607fd37c2ae7efa98c87f3f6c19998949f9f", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-diagrams/-/ej2-diagrams-23.1.44.tgz", | ||
"_shasum": "721e1068d35d814d1557f6a620b3a117018ce7fa", | ||
"_spec": "@syncfusion/ej2-diagrams@*", | ||
@@ -39,9 +39,9 @@ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~23.1.41", | ||
"@syncfusion/ej2-buttons": "~23.1.43", | ||
"@syncfusion/ej2-data": "~23.1.44", | ||
"@syncfusion/ej2-inputs": "~23.1.43", | ||
"@syncfusion/ej2-lists": "~23.1.43", | ||
"@syncfusion/ej2-navigations": "~23.1.44", | ||
"@syncfusion/ej2-popups": "~23.1.44" | ||
"@syncfusion/ej2-base": "~23.2.4", | ||
"@syncfusion/ej2-buttons": "~23.2.4", | ||
"@syncfusion/ej2-data": "~23.2.4", | ||
"@syncfusion/ej2-inputs": "~23.2.4", | ||
"@syncfusion/ej2-lists": "~23.2.4", | ||
"@syncfusion/ej2-navigations": "~23.2.4", | ||
"@syncfusion/ej2-popups": "~23.2.4" | ||
}, | ||
@@ -78,4 +78,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "23.1.44", | ||
"version": "23.2.4", | ||
"sideEffects": true | ||
} |
@@ -102,3 +102,5 @@ var __extends = (this && this.__extends) || (function () { | ||
obj.style.strokeWidth = 1; | ||
obj.style.fill = 'white'; | ||
//Bug 853721: Grid lines remain hidden when lane fill is set to transparent. | ||
// Removed below code in which the fill set as white. | ||
// obj.style.fill = 'white'; | ||
cell.children.push(obj); | ||
@@ -105,0 +107,0 @@ }; |
@@ -29,2 +29,4 @@ import { TextStyleModel } from '../appearance-model'; | ||
constraints: AnnotationConstraints; | ||
/** @private */ | ||
annotationVisibility: string; | ||
/** | ||
@@ -31,0 +33,0 @@ * sets the hyperlink color to blue |
@@ -37,2 +37,4 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.canConsiderBounds = true; | ||
/** @private */ | ||
_this.annotationVisibility = 'Visible'; | ||
/** | ||
@@ -39,0 +41,0 @@ * sets the hyperlink color to blue |
@@ -175,3 +175,4 @@ var __extends = (this && this.__extends) || (function () { | ||
else { | ||
if (prev && Math.abs(prev.length) < 5) { | ||
//Bug 853404: Exception occurs while adjusting the connector segment. | ||
if (prev && Math.abs(prev.length) < 5 && prev.length > 0) { | ||
if (index !== 1) { | ||
@@ -178,0 +179,0 @@ this.removePrevSegment(connector, index); |
@@ -635,4 +635,5 @@ import { Rect } from '../primitives/rect'; | ||
focusPoint = transformPointByMatrix(matrix, focusPoint); | ||
if ((this.currentZoom * factor) >= this.diagram.scrollSettings.minZoom && | ||
(this.currentZoom * factor) <= this.diagram.scrollSettings.maxZoom) { | ||
//Bug 853566: Fit to page is not working when zoom value less than minZoom. | ||
// Removed minZoom calculation to call fitToPage even if currentZoom less than minZoom. | ||
if ((this.currentZoom * factor) <= this.diagram.scrollSettings.maxZoom) { | ||
this.currentZoom *= factor; | ||
@@ -710,2 +711,24 @@ var pageBounds = this.getPageBounds(undefined, undefined, true); | ||
var scale = { x: 0, y: 0 }; | ||
//Bug 853566: Fit to page is not working when zoom value less than minZoom. | ||
// Resetting margin value if the margin value is greater than the viewport size to avoid scale value in negative. | ||
if ((margin.left + margin.right) > this.viewPortWidth) { | ||
if (this.viewPortWidth <= 100) { | ||
margin.left = 5; | ||
margin.right = 5; | ||
} | ||
else { | ||
margin.left = 25; | ||
margin.right = 25; | ||
} | ||
} | ||
if ((margin.top + margin.bottom) > this.viewPortHeight) { | ||
if (this.viewPortHeight <= 100) { | ||
margin.top = 5; | ||
margin.bottom = 5; | ||
} | ||
else { | ||
margin.top = 25; | ||
margin.bottom = 25; | ||
} | ||
} | ||
scale.x = (this.viewPortWidth - (margin.left + margin.right)) / (bounds.width); | ||
@@ -712,0 +735,0 @@ scale.y = (this.viewPortHeight - (margin.top + margin.bottom)) / (bounds.height); |
@@ -245,4 +245,4 @@ var __extends = (this && this.__extends) || (function () { | ||
var element = ovw; | ||
var eWidth = element.clientWidth; | ||
var eHeight = element.clientHeight; | ||
var eWidth = element.clientWidth || element.offsetWidth; | ||
var eHeight = element.clientHeight || element.offsetHeight; | ||
var bRect = element.getBoundingClientRect(); | ||
@@ -249,0 +249,0 @@ // Check for the window resize |
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
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
39010027
281227
+ Added@syncfusion/ej2-base@23.2.6(transitive)
+ Added@syncfusion/ej2-buttons@23.2.7(transitive)
+ Added@syncfusion/ej2-data@23.2.4(transitive)
+ Added@syncfusion/ej2-icons@23.2.4(transitive)
+ Added@syncfusion/ej2-inputs@23.2.4(transitive)
+ Added@syncfusion/ej2-lists@23.2.4(transitive)
+ Added@syncfusion/ej2-navigations@23.2.7(transitive)
+ Added@syncfusion/ej2-popups@23.2.4(transitive)
+ Added@syncfusion/ej2-splitbuttons@23.2.4(transitive)
- Removed@syncfusion/ej2-base@23.1.43(transitive)
- Removed@syncfusion/ej2-buttons@23.1.43(transitive)
- Removed@syncfusion/ej2-data@23.1.44(transitive)
- Removed@syncfusion/ej2-icons@23.1.36(transitive)
- Removed@syncfusion/ej2-inputs@23.1.43(transitive)
- Removed@syncfusion/ej2-lists@23.1.43(transitive)
- Removed@syncfusion/ej2-navigations@23.1.44(transitive)
- Removed@syncfusion/ej2-popups@23.1.45(transitive)
- Removed@syncfusion/ej2-splitbuttons@23.1.43(transitive)
Updated@syncfusion/ej2-base@~23.2.4
Updated@syncfusion/ej2-data@~23.2.4