Skip to content

Commit 6c06881

Browse files
author
pipeline
committed
v24.1.47 is released
1 parent bda8d8f commit 6c06881

File tree

124 files changed

+1500
-489
lines changed

Some content is hidden

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

124 files changed

+1500
-489
lines changed

controls/barcodegenerator/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 24.1.46 (2024-01-17)
5+
## 24.1.47 (2024-01-23)
66

77
### Barcode
88

controls/base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-base",
3-
"version": "24.1.41",
3+
"version": "24.1.46",
44
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/base/releasenotes/README.md

+183
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
# Release Notes Guidelines
2+
3+
This section contains guidelines on naming files, sections and other document elements.
4+
5+
> **If there is no changes in product, you don't need to mention that in Release Notes.**
6+
7+
## Encoding Format
8+
9+
All Release Notes files should be saved in **Encoding in UTF-8 (Without BOM)** format. You can use Notepad++ to verify the encoding.
10+
11+
![Encoding.png](https://bitbucket.org/repo/j57Gz9/images/2199960455-Encoding.png)
12+
13+
## Release Notes Folder Hierarchy
14+
15+
* Platform [Folder]
16+
* ----ReleaseNotes [Folder]
17+
* --------v13.3.x.x [Folder]
18+
* ------------Control1.md
19+
* ------------Control2.md
20+
* ------------Control3.md
21+
* --------v13.4.x.x [Folder]
22+
* ------------Control1.md
23+
* ------------Control2.md
24+
* ------------Control3.md
25+
26+
### How to write Release Notes?
27+
28+
* Each release markdown files should reside under corresponding version folder in their platform.
29+
* Each product release notes should be created in separate file name.
30+
* File name should be same as the product name.
31+
32+
> **NOTE**: Please do not add any Front Matter information in Release Notes files.
33+
34+
## Markdown File Structure
35+
36+
Each markdown file should have following items.
37+
38+
* Control Name
39+
* Features
40+
* Bug fixes
41+
* Braking Changes
42+
* Known Issues
43+
44+
> Do not add any front matter(triple dashed line) in this markdown.
45+
46+
### Control Name
47+
48+
Control Name should be with prefix `##`. This will be rendered as `H2` in html file.
49+
50+
#### Syntax
51+
52+
```
53+
## <Control-Name>
54+
```
55+
56+
#### Example
57+
58+
```
59+
## ejAccrodion
60+
```
61+
62+
### Features
63+
64+
* Each features should be written in unordered list.
65+
* Feature header should have id in the following format `<control-name>-features`. All characters in **id should be written in lower case.**
66+
67+
#### Syntax
68+
69+
```
70+
### Features
71+
{:#<control-name>-features}
72+
73+
* \#1 - Feature Info
74+
* \#2 - Feature Info
75+
* \#3 - Feature Info
76+
```
77+
78+
#### Example
79+
80+
```
81+
### Features
82+
{:#ejaccordion-features}
83+
84+
* \#140303 - Accordion provides option to add new items dynamically by using the `addItem` method
85+
* \#140303 - Accordion provides option to add new items dynamically by using the `addItem` method
86+
* \#140303, \#140304 - Accordion provides option to add new items dynamically by using the `addItem` method
87+
```
88+
89+
> **NOTE:**
90+
> * In markdown `#` used to represent headers.
91+
> * By default it will be converted as HTML headers.
92+
> * To display the `#` in html, please use escape sequences [See above example].
93+
94+
### Bug Fixes
95+
96+
* Each bug fix should be written in unordered list.
97+
* Bug fixes header should have id in the following format `<control-name>-bug-fixes`. All characters in **id should be written in lower case.**
98+
99+
#### Syntax
100+
101+
```
102+
### Bug fixes
103+
{:#<control-name-in-lower-case>-bug-fixes}
104+
105+
* \#1 - Bug Fix
106+
* \#2 - Bug Fix
107+
* \#3 - Bug Fix
108+
```
109+
110+
#### Example
111+
112+
```
113+
### Bug Fixes
114+
{:#ejaccordion-bug-fixes}
115+
116+
* \#140303 - Accordion provides option to add new items dynamically by using the `addItem` method
117+
* \#140303 - Accordion provides option to add new items dynamically by using the `addItem` method
118+
* \#140303, \#140304 - Accordion provides option to add new items dynamically by using the `addItem` method
119+
```
120+
121+
> **NOTE:**
122+
> * In markdown `#` used to represent headers.
123+
> * By default it will be converted as HTML headers.
124+
> * To display the `#` in html, please use escape sequences [See above example].
125+
126+
### Breaking Changes
127+
128+
* Each breaking changes should be written in unordered list.
129+
* Breaking changes header should have id in the following format `<control-name>-breaking-changes`. All characters in **id should be written in lower case.**
130+
131+
```
132+
### Breaking Changes
133+
{:#<control-name>-breaking-changes}
134+
135+
* * Breaking Change 1
136+
* * Breaking Change 2
137+
* * Breaking Change 3
138+
```
139+
140+
#### Example
141+
142+
```
143+
### Breaking Changes
144+
{:#ejaccordion-breaking-changes}
145+
146+
* Now, Circular series end angle will not be adjusted based on the start angle, so the output will be like semi-circle instead of full circle. In order to render the complete circular series with customized start angle, you have to add the start angle value to end angle property now. This break will occur only if you have specified startAngle already
147+
```
148+
149+
> **NOTE:**
150+
> * In markdown `#` used to represent headers.
151+
> * By default it will be converted as HTML headers.
152+
> * To display the `#` in html, please use escape sequences [See above example].
153+
154+
## Incidents and Forums in Release notes
155+
156+
We can represent the Incident ID with I and F for forums in release notes MD files
157+
158+
#### Example
159+
160+
161+
```
162+
## ChromelessWindow
163+
164+
### Bug Fixes
165+
{:#chromelesswindow-bug-fixes}
166+
167+
* \#I336220 - When using `ShowDialog` on a `RibbonWindow`, a `NullReferenceException` will no longer occur.
168+
* \#F166385 - The gap between the bottom of the window and the `TaskBar` is now properly maintained.
169+
170+
```
171+
172+
This is published in the page : https://help.syncfusion.com/wpf/release-notes/v19.3.0.43?type=all#chromelesswindow
173+
174+
175+
## Commit
176+
177+
Same workflow for User Guide applicable to this repository. All the changes needs to be committed in `development` branch.
178+
179+
## Preview Changes
180+
181+
All the changes will be included with User Guide automation and published in Staging Documentation machine.
182+
183+
<http://115.249.201.211:9090>

controls/buttons/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 24.1.46 (2024-01-17)
5+
## 24.1.47 (2024-01-23)
66

77
### Checkbox
88

controls/calendars/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 24.1.46 (2024-01-17)
5+
## 24.1.47 (2024-01-23)
66

77
### TimePicker
88

controls/charts/CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
## [Unreleased]
44

5+
## 24.1.47 (2024-01-23)
6+
7+
### AccumulationChart
8+
9+
#### Bug Fixes
10+
11+
- `#I539550` - Now, the `enableSmartLabels` property in the accumulation chart is functioning correctly.
12+
13+
### Chart
14+
15+
#### Bug Fixes
16+
17+
- `#I541520` - Now, the `startFromZero` property in the chart is working properly.
18+
19+
## 24.1.46 (2024-01-17)
20+
21+
### Chart
22+
23+
#### Bug Fixes
24+
25+
- `#I537751` - Now, the `enableZoom` property in the `scrollbarSettings` is working properly.
26+
- `#I535723` - Now, the showTooltip is working properly on mobile devices.
27+
- `#I528752` - Now, the chart values update properly during the resized event when integrating the EJ2 JS chart in a Blazor application.
28+
529
## 24.1.45 (2024-01-09)
630

731
### AccumulationChart

controls/charts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-charts",
3-
"version": "24.1.45",
3+
"version": "24.1.46",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/src/accumulation-chart/renderer/dataLabel.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ export class AccumulationDataLabel extends AccumulationBase {
309309
if (size < point.labelRegion.width) {
310310
point.labelRegion.x = rect.x;
311311
}
312-
} else {
312+
} else if (this.accumulation.enableSmartLabels) {
313313
this.setPointVisibileFalse(point);
314314
}
315315
if (point.labelVisible && point.labelRegion) {
@@ -889,7 +889,7 @@ export class AccumulationDataLabel extends AccumulationBase {
889889
private finalizeDatalabels(point: AccPoints, points: AccPoints[], dataLabel: AccumulationDataLabelSettingsModel): void {
890890
if (this.isOverlapping(point, points) ||
891891
(this.titleRect && point.labelRegion && isOverlap(point.labelRegion, this.titleRect))) {
892-
if (this.isCircular() && point.labelPosition === 'Outside') {
892+
if (this.isCircular() && point.labelPosition === 'Outside' && this.accumulation.enableSmartLabels) {
893893
this.setPointVisibileFalse(point);
894894
}
895895
}
@@ -911,7 +911,7 @@ export class AccumulationDataLabel extends AccumulationBase {
911911

912912
this.textTrimming(point, this.areaRect, dataLabel.font, position, dataLabel);
913913
}
914-
if (point.labelVisible && point.labelRegion && !dataLabel.maxWidth && dataLabel.textOverflow !== 'Clip' && ((point.labelRegion.y + point.labelRegion.height / 2 >
914+
if (point.labelVisible && point.labelRegion && !dataLabel.maxWidth && dataLabel.textOverflow !== 'Clip' && this.accumulation.enableSmartLabels && ((point.labelRegion.y + point.labelRegion.height / 2 >
915915
this.areaRect.y + this.areaRect.height || point.labelRegion.y < this.areaRect.y) || (point.labelRegion.x < this.areaRect.x ||
916916
point.labelRegion.x + point.labelRegion.width > this.areaRect.x + this.areaRect.width))) {
917917
this.setPointVisibileFalse(point);

controls/charts/src/chart/chart.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -1703,9 +1703,10 @@ export class Chart extends Component<HTMLElement> implements INotifyPropertyChan
17031703
}
17041704
if (this.element.id === '') {
17051705
let collection: number = document.getElementsByClassName('e-chart').length;
1706-
const elementid: string = 'chart_' + this.chartid + '_' + collection;
1707-
if (document.getElementById(elementid)) {
1706+
let elementid: string = 'chart_' + this.chartid + '_' + collection;
1707+
while (document.getElementById(elementid)) {
17081708
collection++;
1709+
elementid = 'chart_' + this.chartid + '_' + collection;
17091710
}
17101711
this.element.id = 'chart_' + this.chartid + '_' + collection;
17111712
}
@@ -3040,7 +3041,7 @@ export class Chart extends Component<HTMLElement> implements INotifyPropertyChan
30403041
public chartResize(): boolean {
30413042
this.animateSeries = false;
30423043
const arg: IResizeEventArgs = {
3043-
chart: this.isBlazor ? {} as Chart : this,
3044+
chart: this,
30443045
name: resized,
30453046
currentSize: new Size(0, 0),
30463047
previousSize: new Size(
@@ -4257,6 +4258,7 @@ export class Chart extends Component<HTMLElement> implements INotifyPropertyChan
42574258
}
42584259
}
42594260
} else {
4261+
if (this.isTouch) { this.startMove = true; }
42604262
this.mouseX = x as number;
42614263
this.mouseY = y;
42624264
this.tooltipModule.mouseMoveHandler();

controls/charts/src/chart/series/chart-series.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2223,7 +2223,7 @@ export class Series extends SeriesBase {
22232223
series.stackedValues = new StackValues(startValues, endValues);
22242224
const isLogAxis: boolean = series.yAxis.valueType === 'Logarithmic';
22252225
const isColumnBarType: boolean = (series.type.indexOf('Column') !== -1 || series.type.indexOf('Bar') !== -1);
2226-
series.yMin = isLogAxis && isColumnBarType && series.yMin < 1 ? series.yMin : parseFloat((Math.min.apply(0, isStacking100 ? startValues : endValues)).toFixed(10));
2226+
series.yMin = isLogAxis && isColumnBarType && series.yMin < 1 ? series.yMin : (series.yAxis.startFromZero && series.yAxis.rangePadding === 'Auto' && series.yMin >= 0) ? 0 : parseFloat((Math.min.apply(0, isStacking100 ? startValues : endValues)).toFixed(10));
22272227
series.yMax = Math.max.apply(0, endValues);
22282228
if (series.yMin > Math.min.apply(0, endValues)) {
22292229
series.yMin = (isStacking100) ? -100 :

controls/charts/src/common/scrollbar/scrollbar.ts

+3
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ export class ScrollBar {
338338
*/
339339

340340
public scrollMouseWheel(e: WheelEvent): void {
341+
if (!this.axis.scrollbarSettings.enableZoom) {
342+
return null;
343+
}
341344
const svgRect: ClientRect = getElement(this.component.element.id + '_scrollBar_svg' + this.axis.name).getBoundingClientRect();
342345
this.mouseX = e.clientX - Math.max(svgRect.left, 0);
343346
this.mouseY = e.clientY - Math.max(svgRect.top, 0);

controls/diagrams/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#### Bug Fixes
1010

1111
- `#I527482` - Now, overview updated properly while zoom out and move nodes outside viewport.
12+
- `#I533824` - Now, textAlign justify align the text at center of the node.
1213

1314
## 24.1.45 (2024-01-09)
1415

controls/diagrams/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-diagrams",
3-
"version": "24.1.45",
3+
"version": "24.1.46",
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/spec/overview/overview.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ describe('Overview', () => {
219219
mouseEvents.mouseMoveEvent(overviewelement, 1056, 160);
220220
overview[mouseup]({ target: target, type: mouseDown }); console.log('zoom '+ diagram.scroller.currentZoom.toFixed(4) + ' hOffset ' + Math.round(diagram.scroller.horizontalOffset) + ' vOffset ' + Math.round(diagram.scroller.verticalOffset) ); expect((diagram.scroller.currentZoom.toFixed(4) === '2.3750')).toBe(true);
221221
expect((Math.round(diagram.scroller.horizontalOffset) >= -541 && Math.round(diagram.scroller.horizontalOffset) <= -540) &&
222-
(Math.round(diagram.scroller.verticalOffset) >= 257) && Math.round(diagram.scroller.verticalOffset) <= 260).toBe(true);
222+
(Math.round(diagram.scroller.verticalOffset) >= 256) && Math.round(diagram.scroller.verticalOffset) <= 260).toBe(true);
223223
done();
224224
});
225225
it('Click on the overview rect - Scale with resizer Top left Y greater than x', (done: Function) => {

controls/diagrams/src/diagram/diagram.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -10536,11 +10536,12 @@ export class Diagram extends Component<HTMLElement> implements INotifyPropertyCh
1053610536
}
1053710537
}
1053810538
if (newProp.flip !== undefined) { actualObject.flip = newProp.flip; flipConnector(actualObject); }
10539+
//EJ2-867479 - Performance issue in complexhierarchical layout due to linerouting injection
1053910540
if (actualObject.type === 'Orthogonal' && this.lineRoutingModule && this.diagramActions &&
10540-
(this.constraints & DiagramConstraints.LineRouting) && !(this.diagramActions & DiagramAction.ToolAction)) {
10541+
(this.constraints & DiagramConstraints.LineRouting) && !(this.diagramActions & DiagramAction.ToolAction) && this.layout.type !== 'ComplexHierarchicalTree' ) {
1054110542
this.lineRoutingModule.renderVirtualRegion(this, true);
1054210543
// EJ2-65876 - Exception occurs on line routing injection module
10543-
if (actualObject.sourceID !== actualObject.targetID && actualObject.segments.length>1 && this.layout.type !== 'ComplexHierarchicalTree'){
10544+
if (actualObject.sourceID !== actualObject.targetID && actualObject.segments.length>1){
1054410545
//EJ2-69573 - Excecption occurs when calling doLayout method with the lineRouting module
1054510546
this.lineRoutingModule.refreshConnectorSegments(this, actualObject, false);
1054610547
}

0 commit comments

Comments
 (0)