Skip to content

Commit b1f6ab8

Browse files
author
pipeline
committed
v33.1.46 is released
1 parent 81f99cd commit b1f6ab8

File tree

414 files changed

+14710
-963
lines changed

Some content is hidden

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

414 files changed

+14710
-963
lines changed

controls/base/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-
## 33.1.45 (2026-03-24)
5+
## 33.1.46 (2026-03-31)
66

77
### Common
88

controls/buttons/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-
## 33.1.45 (2026-03-24)
5+
## 33.1.46 (2026-03-31)
66

77
### Chip
88

controls/calendars/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-
## 33.1.45 (2026-03-24)
5+
## 33.1.46 (2026-03-31)
66

77
### DateRangePicker
88

controls/charts/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-
## 33.1.45 (2026-03-24)
5+
## 33.1.46 (2026-03-31)
66

77
### Chart
88

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-
## 33.1.45 (2026-03-24)
5+
## 33.1.46 (2026-03-31)
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+
## 33.1.46 (2026-03-31)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I819231` - Scrolling will now perform without any flickering or jump when multiple page set to false with page settings defined.
12+
513
## 33.1.45 (2026-03-24)
614

715
### Diagram

controls/diagrams/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-diagrams",
3-
"version": "33.1.44",
3+
"version": "33.1.45",
44
"description": "Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",
@@ -18,7 +18,7 @@
1818
"markdown-spellcheck": "^1.3.1"
1919
},
2020
"devDependencies": {
21-
"@syncfusion/ej2-staging": "^1.0.3",
21+
"@syncfusion/ej2-staging": "^1.0.4",
2222
"@types/chai": "^3.4.28",
2323
"@types/es6-promise": "0.0.28",
2424
"@types/jasmine": "2.8.9",

controls/diagrams/src/diagram/interaction/scroller.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,14 @@ export class DiagramScroller {
505505
}
506506
pageBounds = new Rect((-negwidth), (-negheight), width + negwidth, height + negheight);
507507
} else {
508-
const origin: number = boundingRect ? undefined : 0;
509-
pageBounds = this.diagram.spatialSearch.getPageBounds(origin, origin);
508+
//1015417-Scrolling Behavior Inconsistency and flickering When Using Pinch/Mouse‑Scroll with multiplePage: false
509+
if (region !== 'Content' && isnegativeRegion && !this.diagram.pageSettings.multiplePage &&
510+
this.diagram.pageSettings.width !== null && this.diagram.pageSettings.height !== null) {
511+
pageBounds = new Rect(-0, -0, this.diagram.pageSettings.width, this.diagram.pageSettings.height);
512+
} else {
513+
const origin: number = boundingRect ? undefined : 0;
514+
pageBounds = this.diagram.spatialSearch.getPageBounds(origin, origin);
515+
}
510516
}
511517
if (hasPadding) {
512518
const scrollpadding: MarginModel = this.diagram.scrollSettings.padding;

controls/diagrams/src/diagram/layout/complex-hierarchical-tree.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class HierarchicalLayoutUtil {
146146
private minEdgeJetty: number = 12;
147147
//Defines a vertex that is equivalent to a node object
148148
private createVertex(node: INode, value: string, x: number, y: number, width: number, height: number): Vertex {
149-
const geometry: Rect = { x: x, y: y, width: width, height: height };
149+
const geometry: LayoutRect = { x: x, y: y, width: width, height: height };
150150
const vertex: Vertex = {
151151
value: value, geometry: geometry, name: value, vertex: true,
152152
inEdges: node.inEdges.slice(), outEdges: node.outEdges.slice(),
@@ -311,9 +311,9 @@ class HierarchicalLayoutUtil {
311311
}
312312

313313
//Returns the bounds of the given vertices
314-
private getModelBounds(nodes: Vertex[]): Rect {
314+
private getModelBounds(nodes: Vertex[]): LayoutRect {
315315
nodes = nodes.slice();
316-
let rect: Rect = null; let rect1: Rect = null;
316+
let rect: LayoutRect = null; let rect1: LayoutRect = null;
317317
for (let i: number = 0; i < nodes.length; i++) {
318318
rect = nodes[parseInt(i.toString(), 10)].geometry;
319319
if (rect1) {
@@ -455,7 +455,7 @@ class HierarchicalLayoutUtil {
455455
}
456456
}
457457
}
458-
const modelBounds: Rect = this.getModelBounds(this.vertices);
458+
const modelBounds: LayoutRect = this.getModelBounds(this.vertices);
459459
this.updateMargin(layoutProp, layout, modelBounds, viewPort);
460460
for (let i: number = 0; i < this.vertices.length; i++) {
461461
const clnode: Vertex = this.vertices[parseInt(i.toString(), 10)];
@@ -1099,8 +1099,8 @@ class HierarchicalLayoutUtil {
10991099
this.rankBottomY[parseInt(i.toString(), 10)] = -Number.MAX_VALUE;
11001100
}
11011101
}
1102-
private setVertexLocationValue(cell: IVertex, orientation: LayoutOrientation, modelBounds: Rect): void {
1103-
const cellGeomtry: Rect = cell.cell.geometry;
1102+
private setVertexLocationValue(cell: IVertex, orientation: LayoutOrientation, modelBounds: LayoutRect): void {
1103+
const cellGeomtry: LayoutRect = cell.cell.geometry;
11041104
let positionX: number;
11051105
let positionY: number;
11061106
if (orientation === 'TopToBottom' || orientation === 'BottomToTop') {
@@ -1122,8 +1122,8 @@ class HierarchicalLayoutUtil {
11221122
}
11231123
}
11241124

1125-
private calculateRectValue(dnode: INode): Rect {
1126-
const rect: Rect = { x: 0, y: 0, right: 0, bottom: 0, height: 0, width: 0 };
1125+
private calculateRectValue(dnode: INode): LayoutRect {
1126+
const rect: LayoutRect = { x: 0, y: 0, right: 0, bottom: 0, height: 0, width: 0 };
11271127
rect.x = dnode.offsetX - dnode.actualSize.width / 2;
11281128
rect.right = dnode.offsetX + dnode.actualSize.width / 2;
11291129
rect.y = dnode.offsetY - dnode.actualSize.height / 2;
@@ -1132,9 +1132,9 @@ class HierarchicalLayoutUtil {
11321132
}
11331133

11341134
private isNodeOverLap(dnode: INode, layoutProp: Layout): void {
1135-
let nodeRect: Rect = { x: 0, y: 0, right: 0, bottom: 0, height: 0, width: 0 };
1135+
let nodeRect: LayoutRect = { x: 0, y: 0, right: 0, bottom: 0, height: 0, width: 0 };
11361136
for (let i: number = 0; i < this.vertices.length; i++) {
1137-
let rect: Rect = { x: 0, y: 0, width: 0, height: 0 };
1137+
let rect: LayoutRect = { x: 0, y: 0, width: 0, height: 0 };
11381138
//let tempnode1: INode;
11391139
const tempnode1: INode = this.nameTable[this.vertices[parseInt(i.toString(), 10)].value];
11401140
if (dnode.id !== tempnode1.id && tempnode1.offsetX !== 0 && tempnode1.offsetY !== 0) {
@@ -1152,7 +1152,7 @@ class HierarchicalLayoutUtil {
11521152
}
11531153
}
11541154

1155-
private isIntersect(rect: Rect, nodeRect: Rect, layoutProp: Layout): boolean {
1155+
private isIntersect(rect: LayoutRect, nodeRect: LayoutRect, layoutProp: Layout): boolean {
11561156
if (!(Math.floor(rect.right + layoutProp.horizontalSpacing) <= Math.floor(nodeRect.x) ||
11571157
Math.floor(rect.x - layoutProp.horizontalSpacing) >= Math.floor(nodeRect.right)
11581158
|| Math.floor(rect.y - layoutProp.verticalSpacing) >= Math.floor(nodeRect.bottom)
@@ -1164,15 +1164,15 @@ class HierarchicalLayoutUtil {
11641164
}
11651165

11661166
/* eslint-disable */
1167-
private updateMargin(layoutProp: Layout, layout: LayoutProp, modelBounds: Rect, viewPort: PointModel): void {
1168-
const viewPortBounds: Rect = { x: 0, y: 0, width: viewPort.x, height: viewPort.y };
1167+
private updateMargin(layoutProp: Layout, layout: LayoutProp, modelBounds: LayoutRect, viewPort: PointModel): void {
1168+
const viewPortBounds: LayoutRect = { x: 0, y: 0, width: viewPort.x, height: viewPort.y };
11691169
//let layoutBounds: Rect;
11701170
let bounds: Bounds = {
11711171
x: modelBounds.x, y: modelBounds.y,
11721172
right: modelBounds.x + modelBounds.width,
11731173
bottom: modelBounds.y + modelBounds.height
11741174
};
1175-
const layoutBounds: Rect = layoutProp.bounds ? layoutProp.bounds : viewPortBounds;
1175+
const layoutBounds: LayoutRect = layoutProp.bounds ? layoutProp.bounds : viewPortBounds;
11761176
if (layout.orientation === 'TopToBottom' || layout.orientation === 'BottomToTop') {
11771177
switch (layoutProp.horizontalAlignment) {
11781178
case 'Auto':
@@ -1654,10 +1654,10 @@ class HierarchicalLayoutUtil {
16541654

16551655

16561656
//used to specify the geometrical position of the layout model cell
1657-
private garphModelsetVertexLocation(plalementChange: PlacementStage, cell: Vertex, x: number, y: number): Rect {
1657+
private garphModelsetVertexLocation(plalementChange: PlacementStage, cell: Vertex, x: number, y: number): LayoutRect {
16581658
//let model: MultiParentModel = plalementChange.model;
1659-
const geometry: Rect = cell.geometry;
1660-
let result: Rect = null;
1659+
const geometry: LayoutRect = cell.geometry;
1660+
let result: LayoutRect = null;
16611661
if (geometry != null) {
16621662
result = { x: x, y: y, width: geometry.width, height: geometry.height };
16631663
if (geometry.x !== x || geometry.y !== y) {
@@ -2705,7 +2705,7 @@ class CrossReduction {
27052705
*/
27062706
export interface Vertex {
27072707
value: string;
2708-
geometry: Rect;
2708+
geometry: LayoutRect;
27092709
name: string;
27102710
vertex: boolean;
27112711
inEdges: string[];
@@ -2854,7 +2854,7 @@ export interface LayoutProp {
28542854
enableLayoutRouting: boolean;
28552855
}
28562856

2857-
interface Rect {
2857+
interface LayoutRect {
28582858
x: number;
28592859
y: number;
28602860
width: number;

controls/diagrams/src/diagram/load-utility/visio-import-export/visio-connectors.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AnnotationConstraints, ConnectorConstraints, Segments } from '../../enum/enum';
1+
import { AnnotationConstraints, ConnectorConstraints, DecoratorShapes, Direction, Segments } from '../../enum/enum';
22
import { DiagramConnectorSegmentModel } from '../../objects/connector-model';
33
import { VisioConnectorAnnotation, VisioTextAlignmentModel, VisioTextStyleModel } from './visio-annotations';
44
import { LINE_PATTERN_MAP } from './visio-constants';
@@ -20,9 +20,7 @@ import {
2020
VisioPort,
2121
VisioSegmentsModel,
2222
WCP,
23-
Direction,
2423
ExtractedNurbsData,
25-
DecoratorShapes,
2624
ConnectorType,
2725
AnnotationStyle,
2826
VisioRow,

0 commit comments

Comments
 (0)