Skip to content

Commit b439f72

Browse files
author
pipeline
committed
v24.1.43 is released
1 parent 542c538 commit b439f72

File tree

188 files changed

+3497
-1149
lines changed

Some content is hidden

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

188 files changed

+3497
-1149
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.41 (2023-12-18)
5+
## 24.1.43 (2023-12-27)
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": "18.92.0",
3+
"version": "24.1.41",
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/buttons/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 24.1.41 (2023-12-18)
5+
## 24.1.43 (2023-12-27)
66

77
### RadioButton
88

controls/calendars/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 24.1.43 (2023-12-27)
6+
7+
### DateTimePicker
8+
9+
#### Bug Fixes
10+
11+
- `#I532039` - Fixed the issue where the focus was not being added when using the tab key to navigate through the dynamically enabled datetimepicker.
12+
513
## 19.3.46 (2021-10-19)
614

715
### TimePicker

controls/calendars/src/datetimepicker/datetimepicker.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,9 @@ export class DateTimePicker extends DatePicker {
19571957
break;
19581958
case 'enabled':
19591959
Input.setEnabled(this.enabled, this.inputElement);
1960-
if (!this.enabled) {
1960+
if (this.enabled) {
1961+
this.inputElement.setAttribute('tabindex', this.tabIndex);
1962+
} else {
19611963
this.inputElement.tabIndex = -1;
19621964
}
19631965
break;

controls/calendars/styles/daterangepicker/_layout.scss

+15-11
Original file line numberDiff line numberDiff line change
@@ -721,11 +721,13 @@
721721
height: $modal-range-prev-next-icon-size;
722722
width: $modal-range-prev-next-icon-size;
723723
@if ($skin-name == 'Material3') {
724+
margin-right: 60vw;
724725
vertical-align: inherit;
725726
font-size: $modal-range-tablet-font-size
726727
}
727728
@media screen and (orientation: landscape) {
728729
@if ($skin-name == 'Material3') {
730+
margin-right: 78vw;
729731
vertical-align: inherit;
730732
}
731733
}
@@ -740,6 +742,9 @@
740742
#{if(&, '&', '*')} .e-next {
741743
height: $modal-range-prev-next-icon-size;
742744
width: $modal-range-prev-next-icon-size;
745+
@if ($skin-name == 'Material3') {
746+
margin-right: 42px;
747+
}
743748

744749
#{if(&, '&', '*')} span {
745750
padding: $modal-range-prev-next-icon-padding;
@@ -752,17 +757,16 @@
752757

753758
#{if(&, '&', '*')} .e-title {
754759
@media (max-height: 600px) {
755-
@if ($skin-name =='Material3') {
756-
margin-left: $modal-header-month-name-left-landscape-width;
757-
position: absolute;
758-
text-align: center;
759-
vertical-align: middle;
760-
width: $modal-header-month-name-width;
761-
line-height: $modal-month-name-line-height;
762-
}
763-
764-
line-height: $modal-range-month-landscape-title-line-height;
765-
}
760+
@if ($skin-name == 'Material3') {
761+
margin-left: $modal-header-month-name-left-width;
762+
position: absolute;
763+
text-align: center;
764+
vertical-align: middle;
765+
width: $modal-header-month-name-width;
766+
line-height: $modal-month-name-line-height;
767+
}
768+
line-height: $modal-range-month-landscape-title-line-height;
769+
}
766770

767771
@media (min-height: 600px) {
768772
@if ($skin-name == 'Material3') {

controls/calendars/styles/daterangepicker/_material3-definition.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,7 @@ $modal-range-landscape-conetent-overflow: auto !default;
250250
$modal-range-table-display: table !default;
251251
$modal-range-start-end-size: 28px !default;
252252
$modal-month-name-line-height: 44px !default;
253-
$modal-header-month-name-left-width: -29vw !default;
254-
$modal-header-month-name-left-landscape-width: -27vw !default;
253+
$modal-header-month-name-left-width: -25vw !default;
255254
$modal-header-month-name-width: 50vw !default;
256255

257256
// header styles for presets

controls/charts/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
## [Unreleased]
44

5+
## 24.1.43 (2023-12-27)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I527182` - Now, the chart element ID is generated properly.
12+
- `#I527898` - Now, the `interval` for the DateTimeCategory is working properly.
13+
- `#I528674` - Now, scroll bar positioned properly.
14+
- `#I528865` - Resolved the console error related to trendlines when using two sets of data with a polynomial type.
15+
516
## 24.1.41 (2023-12-18)
617

718
### Chart

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": "20.20.12",
3+
"version": "24.1.41",
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/spec/range-navigator/axis/dateTimeCategory.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ describe('Range navigator', () => {
151151
it('checked with seconds as label type', (done: Function) => {
152152
range.loaded = (args: Object): void => {
153153
axisLabel = document.getElementById('container_AxisLabels');
154-
expect(axisLabel.childNodes[0].lastChild.textContent).toBe('10:12:40 AM');
154+
expect(axisLabel.childNodes[0].lastChild.textContent).toBe('10:12:10 AM');
155155
done();
156156
};
157157
range.series[0].dataSource = [{ x: new Date(2018, 0, 1, 10, 12, 10), y: 23 }, { x: new Date(2018, 0, 1, 10, 12, 20), y: 34 },

controls/charts/src/chart/axis/cartesian-panel.ts

+5
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,11 @@ export class CartesianAxisLayoutPanel {
624624
appendChildElement(false, chart.scrollElement, axis.zoomingScrollBar.render(true), true);
625625
} else if (axis.zoomFactor === 1 && axis.zoomPosition === 0 && axis.zoomingScrollBar.svgObject && !axis.scrollbarSettings.enable) {
626626
axis.zoomingScrollBar.destroy();
627+
} else if (axis.zoomingScrollBar.svgObject) {
628+
(axis.zoomingScrollBar.svgObject as SVGElement).style.top = (axis.isAxisOpposedPosition && axis.orientation === 'Horizontal' ? -16 : 0)
629+
+ axis.rect.y + Math.max(0.5, axis.lineStyle.width / 2) + 'px';
630+
(axis.zoomingScrollBar.svgObject as SVGElement).style.left = (axis.isAxisOpposedPosition && axis.orientation !== 'Horizontal' ? 16 : 0)
631+
+ axis.rect.x - (axis.orientation === 'Vertical' ? axis.scrollbarSettings.height : 0) + 'px';
627632
}
628633
if (axis.zoomingScrollBar.isScrollUI) {
629634
axis.zoomingScrollBar.isScrollUI = false;

controls/charts/src/chart/axis/date-time-category-axis.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ export class DateTimeCategory extends Category {
7878
skeleton: this.getSkeleton(axis, null, null, this.chart.isBlazor)
7979
});
8080
let i: number = (!isRangeNavigator && this.chart.stockChart) ? 1 : 0;
81-
for (; i < axis.labels.length; i++) {
81+
const interval: number = axis.interval ? axis.interval : 1;
82+
for (; i < axis.labels.length; i += interval) {
8283
labelStyle = <Font>(extend({}, getValue('properties', axis.labelStyle), null, true));
8384
if (this.chart.stockChart || isRangeNavigator) {
8485
if (axis.intervalType === 'Auto') {

controls/charts/src/chart/chart.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,11 @@ export class Chart extends Component<HTMLElement> implements INotifyPropertyChan
17021702
this.element.setAttribute('class', this.element.getAttribute('class') + ' e-chart-focused');
17031703
}
17041704
if (this.element.id === '') {
1705-
const collection: number = document.getElementsByClassName('e-chart').length;
1705+
let collection: number = document.getElementsByClassName('e-chart').length;
1706+
const elementid: string = 'chart_' + this.chartid + '_' + collection;
1707+
if (document.getElementById(elementid)) {
1708+
collection++;
1709+
}
17061710
this.element.id = 'chart_' + this.chartid + '_' + collection;
17071711
}
17081712
//seperate ID to differentiate chart and stock chart

controls/charts/src/chart/trend-lines/trend-line.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ export class Trendlines {
478478
// We have to sort the points in ascending order. Because, the data source of the series may be random order.
479479
points.sort((a: Points, b: Points) => { return a.xValue - b.xValue; });
480480
xValues.sort((a: number, b: number) => { return a - b; });
481-
while (index <= polynomialSlopes.length) {
481+
while (polynomialSlopes !== null && index <= polynomialSlopes.length) {
482482
if (index === 1) {
483483
xValue = xValues[0] - trendline.backwardForecast;
484484
yValue = this.getPolynomialYValue(polynomialSlopes, xValue);

controls/circulargauge/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
## [Unreleased]
66

7+
## 24.1.43 (2023-12-27)
8+
9+
### CircularGauge
10+
11+
#### Bug Fixes
12+
13+
- `#I532350` - When there are more than ten ranges in the Circular Gauge, the range tooltip content for those ranges is now appropriately displayed.
14+
715
## 24.1.41 (2023-12-18)
816

917
### CircularGauge

controls/circulargauge/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-circulargauge",
3-
"version": "16.42.3",
3+
"version": "24.1.41",
44
"description": "Essential JS 2 CircularGauge Components",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/circulargauge/src/circular-gauge/circular-gauge.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ export class CircularGauge extends Component<HTMLElement> implements INotifyProp
704704
}
705705
}
706706
this.notify(Browser.touchMoveEvent, e);
707-
if (this.title && (args.target.id === (this.element.id + '_CircularGaugeTitle') ||
708-
(args.target.id.indexOf('_Pointer_') === -1 && document.getElementsByClassName('EJ2-CircularGauge-Tooltip').length > 0))) {
707+
if (this.title && ((args.target.id === (this.element.id + '_CircularGaugeTitle') ||
708+
args.target.id.indexOf('_gauge_legend_') > -1) && document.getElementsByClassName('EJ2-CircularGauge-Tooltip').length > 0)) {
709709
titleTooltip(e, e.clientX, e.clientY, this, false);
710710
}
711711
return false;

controls/circulargauge/src/circular-gauge/utils/helper-common.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,13 @@ export function stringToNumber(value: string, containerSize: number): number {
721721
*/
722722
export function getPointer(targetId: string, gauge: CircularGauge): IVisiblePointer {
723723
const tempString: string = targetId.replace(gauge.element.id, '').split('_Axis_')[1];
724+
const tempStringArray: string[] = tempString.indexOf('_Range_') > -1 ? tempString.split('_Range_') : tempString.indexOf('_Pointer_NeedleCap_') > -1 ? tempString.split('_Pointer_NeedleCap_') :
725+
tempString.indexOf('_Pointer_NeedleTail_') > -1 ? tempString.split('_Pointer_NeedleTail_') : tempString.indexOf('_Pointer_NeedleRect_') > -1 ? tempString.split('_Pointer_NeedleRect_') :
726+
tempString.indexOf('_Pointer_Needle_') > -1 ? tempString.split('_Pointer_Needle_') : tempString.indexOf('_Pointer_RangeBar_') > -1 ? tempString.split('_Pointer_RangeBar_') : tempString.indexOf('_Pointer_Marker_') > -1 ?
727+
tempString.split('_Pointer_Marker_') : tempString.indexOf('_Pointer_') > -1 ? tempString.split('_Pointer_') : tempString.split('_Annotation_') ;
724728
return {
725-
axisIndex: +tempString[0],
726-
pointerIndex: +tempString[tempString.length - 1]
729+
axisIndex: +tempStringArray[0],
730+
pointerIndex: +tempStringArray[tempStringArray.length - 1]
727731
};
728732
}
729733

controls/diagrams/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
## [Unreleased]
44

5+
## 24.1.43 (2023-12-27)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#I521324` - Now, connector with bridging exports properly.
12+
- `#I526690` - The default tooltip for the subprocess is now correctly updated after dragging a child from the subprocess onto the diagram.
13+
- `#I527228` - Now, the bpmn message flow and sequence flow child path is rendered properly.
14+
515
## 24.1.41 (2023-12-18)
616

717
### Diagram

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": "19.16.1",
3+
"version": "24.1.41",
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/diagram/diagram/pagesettings.spec.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ describe('PageSettings', () => {
431431

432432
let pathElement: HTMLElement = document.getElementById('Connector1_Default');
433433
console.log("first path",pathElement.getAttribute('transform') );
434-
expect(pathElement.getAttribute('transform') === "rotate(45,721.21,121.21)translate(712.7249841308594,112.72499938964843)").toBe(true);
434+
expect(pathElement.getAttribute('transform') === "rotate(45,707.07,107.07)translate(699.2900012207032,99.29000122070312)").toBe(true);
435435
done();
436436
});
437437

@@ -446,7 +446,7 @@ describe('PageSettings', () => {
446446
mouseEvents.mouseUpEvent(diagramCanvas, 756, 160);
447447
let pathElement: HTMLElement = document.getElementById('Connector1_Default');
448448
console.log("second path",pathElement.getAttribute('transform') );
449-
expect(pathElement.getAttribute('transform') === 'rotate(45,741.21,136.21)translate(732.7249841308594,127.72499938964845)').toBe(true);
449+
expect((pathElement.getAttribute('transform') === 'rotate(45,727.07,122.07)translate(719.2900012207032,114.28999740600585)') || (pathElement.getAttribute('transform') === "rotate(45,717.07,127.07)translate(709.2900012207032,119.28999740600585)")).toBe(true);
450450
done();
451451
});
452452
it('BPMN Sequence connector Dragging with node move', (done: Function) => {
@@ -456,7 +456,7 @@ describe('PageSettings', () => {
456456
mouseEvents.mouseMoveEvent(diagramCanvas, 350, 400);
457457
mouseEvents.mouseUpEvent(diagramCanvas, 350, 400);
458458
let pathElement: HTMLElement = document.getElementById('Connector2_Default');
459-
expect(pathElement.getAttribute('transform') === "rotate(45,250,165)translate(250,153)").toBe(true);
459+
expect(pathElement.getAttribute('transform') === "rotate(45,100,125)translate(100,114)").toBe(true);
460460
done();
461461
});
462462
it('BPMN Sequence connector rotating with node move', (done: Function) => {
@@ -467,7 +467,7 @@ describe('PageSettings', () => {
467467
mouseEvents.mouseMoveEvent(diagramCanvas, 600, 50);
468468
mouseEvents.mouseUpEvent(diagramCanvas, 600, 50);
469469
let pathElement: HTMLElement = document.getElementById('Connector2_Default');
470-
expect(pathElement.getAttribute('transform') === "rotate(45,250,165)translate(250,153)").toBe(true);
470+
expect(pathElement.getAttribute('transform') === "rotate(45,100,125)translate(100,114)").toBe(true);
471471
done();
472472
});
473473
});

controls/diagrams/spec/diagram/objects/BPMNProcesseess.spec.ts

-4
Original file line numberDiff line numberDiff line change
@@ -1501,9 +1501,5 @@ describe('Diagram Control', () => {
15011501
expect((diagram.nodes[3].shape as BpmnShape).activity.subProcess.collapsed).toBe(true);
15021502
done()
15031503
});
1504-
1505-
1506-
15071504
});
1508-
15091505
});

controls/diagrams/spec/diagram/objects/bpmnshapes.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ describe('Diagram Control', () => {
674674
let ele = document.getElementById('Connector4_path_groupElement');
675675
expect(ele.children[0].getAttribute('d')==='M0,0 L30.76,0 ').toBe(true);
676676
let connector = document.getElementById('Connector1_Default_groupElement')
677-
expect(connector.children[0].getAttribute('d') === 'M0,0 L23.98,0.92 ').toBe(true);
677+
expect(connector.children[0].getAttribute('d') === 'M0,0 L22,0 ').toBe(true);
678678
done();
679679
});
680680
it('memory leak', () => {

0 commit comments

Comments
 (0)