Skip to content

Commit 9b9f39d

Browse files
author
pipeline
committed
v30.1.39 is released
1 parent 4cfb3b7 commit 9b9f39d

File tree

195 files changed

+3111
-1015
lines changed

Some content is hidden

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

195 files changed

+3111
-1015
lines changed

controls/barcodegenerator/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-
## 30.1.38 (2025-07-02)
5+
## 30.1.39 (2025-07-08)
66

77
### Barcode
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-
## 30.1.38 (2025-07-02)
5+
## 30.1.39 (2025-07-08)
66

77
### Chip
88

controls/charts/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
## 30.1.39 (2025-07-08)
6+
7+
### Accumulation Chart
8+
9+
- `#I741842` - Now, the legend symbol color can be applied using the arguments fill property in the legend render event.
10+
511
## 30.1.37 (2025-06-25)
612

713
### Chart

controls/charts/src/chart/user-interaction/tooltip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ export class Tooltip extends BaseTooltip {
611611
axis.format(formattedValue);
612612
} else if (isYPoint && !isNullOrUndefined(point[dataValue as string])) {
613613
customLabelFormat = axis.labelFormat && axis.labelFormat.match('{value}') !== null;
614-
value = dataValue === 'outliers' ? axis.format(point[dataValue as string][this.lierIndex - 4]) :
614+
value = dataValue === 'outliers' ? axis.format(point[dataValue as string][this.lierIndex - 4]) : axis.valueType === 'DateTime' ? axis.format(new Date(+point[dataValue as string])) :
615615
axis.format(+point[dataValue as string]);
616616
textValue = customLabelFormat ? axis.labelFormat.replace('{value}', value) : value;
617617

controls/charts/src/common/legend/legend.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -851,10 +851,6 @@ export class BaseLegend {
851851
for (let i: number = 0; i < this.legendCollections.length; i++) {
852852
legendOption = this.legendCollections[i as number];
853853
legendIndex = !this.isReverse ? count : (this.legendCollections.length - 1) - count;
854-
if (this.chart.getModuleName() === 'accumulationchart') {
855-
legendOption.fill = (this.chart as Chart || this.chart as AccumulationChart || this.chart as StockChart ||
856-
this.chart as Chart3D).visibleSeries[0].points[legendOption.pointIndex].color;
857-
}
858854
if (this.chart.getModuleName() === 'stockChart'){
859855
legendOption.type = (this.chart as StockChart).visibleSeries[count as number].type;
860856
}

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-
## 30.1.38 (2025-07-02)
5+
## 30.1.39 (2025-07-08)
66

77
- `FB68201` - Fixed an issue where middleware was not triggered during `CRUD` operations.
88

controls/diagrams/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## [Unreleased]
44

5+
## 30.1.39 (2025-07-08)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I737645` - Connectors are now selected after being dragged from a negative position to a positive position.
12+
- `#I732921` - Resolved the issue of node dimension changes when dragging multiple selected nodes.
13+
- `#I739052` - Undo now works correctly for connectors without a target id.
14+
515
## 30.1.38 (2025-07-02)
616

717
### Diagram

controls/diagrams/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-diagrams",
3-
"version": "30.1.37",
3+
"version": "30.1.38",
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",

controls/diagrams/src/diagram/diagram.ts

Lines changed: 43 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10309,38 +10309,59 @@ export class Diagram extends Component<HTMLElement> implements INotifyPropertyCh
1030910309
*
1031010310
* @returns { void } updateBridging method .\
1031110311
* @param {string} isLoad - provide the isLoad value.
10312+
* @param {Connector} obj - provide the connector value.
1031210313
*
1031310314
* @private
1031410315
*/
10315-
public updateBridging(isLoad?: boolean): void {
10316+
public updateBridging(isLoad?: boolean, obj?: Connector): void {
1031610317
if (this.bridgingModule) {
10317-
for (let i: number = 0; i < this.connectors.length; i++) {
10318-
const connector: Connector = this.connectors[parseInt(i.toString(), 10)] as Connector;
10319-
this.bridgingModule.updateBridging(connector, this);
10320-
const canvas: GroupableView = this.connectors[parseInt(i.toString(), 10)].wrapper;
10321-
if (canvas && canvas.children && canvas.children.length > 0) {
10322-
const pathSegment: PathElement = canvas.children[0] as PathElement;
10323-
const data: string = pathSegment.data;
10324-
if (connector.isBezierEditing && this.selectedItems.connectors[0].id === connector.id || connector.type !== 'Bezier') {
10325-
connector.getSegmentElement(
10326-
connector, pathSegment,
10327-
this.layout.type === 'ComplexHierarchicalTree' || this.layout.type === 'HierarchicalTree' ?
10328-
this.layout.orientation : undefined, undefined, false);
10329-
}
10330-
if (pathSegment.data !== data) {
10331-
canvas.measure(new Size());
10332-
canvas.arrange(canvas.desiredSize);
10333-
if (this.mode === 'SVG' && !isLoad) {
10334-
this.updateDiagramObject(connector);
10335-
}
10336-
}
10318+
// 965229 - Connector is not selected after dragging from negative position to positive position
10319+
if (obj instanceof Connector) {
10320+
this.updatePathSegmentData(obj, isLoad);
10321+
}
10322+
else {
10323+
for (let i: number = 0; i < this.connectors.length; i++) {
10324+
const connector: Connector = this.connectors[parseInt(i.toString(), 10)] as Connector;
10325+
this.updatePathSegmentData(connector, isLoad);
1033710326
}
1033810327
}
1033910328
} else if (this.constraints & DiagramConstraints.Bridging) {
1034010329
console.warn('[WARNING] :: Module "ConnectorBridging" is not available in Diagram component! You either misspelled the module name or forgot to load it.');
1034110330
}
1034210331
}
1034310332

10333+
/**
10334+
*updatePathSegmentData method \
10335+
*
10336+
* @returns { void } updatePathSegmentData method .\
10337+
* @param {Connector} connector - provide the connector value.
10338+
* @param {string} isLoad - provide the isLoad value.
10339+
*
10340+
*
10341+
* @private
10342+
*/
10343+
public updatePathSegmentData(connector: Connector, isLoad?: boolean): void {
10344+
this.bridgingModule.updateBridging(connector, this);
10345+
const canvas: GroupableView = connector.wrapper;
10346+
if (canvas && canvas.children && canvas.children.length > 0) {
10347+
const pathSegment: PathElement = canvas.children[0] as PathElement;
10348+
const data: string = pathSegment.data;
10349+
if (connector.isBezierEditing && this.selectedItems.connectors[0].id === connector.id || connector.type !== 'Bezier') {
10350+
connector.getSegmentElement(
10351+
connector, pathSegment,
10352+
this.layout.type === 'ComplexHierarchicalTree' || this.layout.type === 'HierarchicalTree' ?
10353+
this.layout.orientation : undefined, undefined, false);
10354+
}
10355+
if (pathSegment.data !== data) {
10356+
canvas.measure(new Size());
10357+
canvas.arrange(canvas.desiredSize);
10358+
if (this.mode === 'SVG' && !isLoad) {
10359+
this.updateDiagramObject(connector);
10360+
}
10361+
}
10362+
}
10363+
}
10364+
1034410365
/**
1034510366
*setCursor method \
1034610367
*
@@ -13131,7 +13152,7 @@ export class Diagram extends Component<HTMLElement> implements INotifyPropertyCh
1313113152
this.commandHandler.updatePathElementOffset(actualObject);
1313213153
}
1313313154
// eslint-disable-next-line max-len
13134-
if (!disableBridging) { this.updateBridging(); }
13155+
if (!disableBridging) { this.updateBridging(false, actualObject); }
1313513156
this.updateAnnotations(newProp, actualObject);
1313613157
this.updateConnectorPorts(newProp, actualObject);
1313713158
this.updatefixedUserHandle(newProp, actualObject);

controls/diagrams/src/diagram/interaction/event-handlers.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,11 @@ export class DiagramEventHandler {
997997
this.checkAction(obj);
998998
const padding: number = this.getConnectorPadding(this.eventArgs);
999999
this.getMouseEventArgs(this.currentPosition, this.eventArgs, this.eventArgs.source, padding);
1000+
//Bug 963160: Node Dimensions updates wrongly When Dragging Multiple Selected Nodes with Control Key Pressed
1001+
if (e.ctrlKey && this.diagram.lineRoutingModule && (this.diagram.constraints & DiagramConstraints.LineRouting) &&
1002+
(this.diagram.selectedItems.nodes.length + this.diagram.selectedItems.connectors.length) > 1) {
1003+
this.eventArgs.source = this.diagram.selectedItems as IElement;
1004+
}
10001005
this.updateCursor();
10011006
this.inAction = true;
10021007
this.initialEventArgs = null;

0 commit comments

Comments
 (0)