Skip to content

Commit 62e1f1e

Browse files
author
pipeline
committed
v20.4.53 is released
1 parent 59348e5 commit 62e1f1e

37 files changed

+239
-43
lines changed

components/base/CHANGELOG.md

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

33
## [Unreleased]
44

5+
## 20.4.53 (2023-03-07)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `#I438234`, `#I438255` - Resolved Form base components `Set` and `Reset` not working properly.
12+
- `#F180765` - Resolved the ngFor destroy throws script errors.
13+
514
## 20.4.52 (2023-02-28)
615

716
### Common

components/base/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-angular-base",
3-
"version": "20.4.48",
3+
"version": "20.4.52",
44
"description": "A common package of Essential JS 2 base Angular libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/base/src/component-base.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,17 @@ export class ComponentBase<T> {
207207
tempOnDestroyThis.clearTemplate(null);
208208
// removing bounded events and tagobjects from component after destroy
209209
for (var key of Object.keys(tempOnDestroyThis)) {
210-
if (/function|object/.test(typeof tempOnDestroyThis[key])) {
211-
tempOnDestroyThis[key] = null;
210+
if (tempOnDestroyThis[key] && /object/.test(typeof tempOnDestroyThis[key]) && Object.keys(tempOnDestroyThis[key]).length !== 0) {
211+
if (/properties|changedProperties|childChangedProperties/.test(key)) {
212+
for (var propkey of Object.keys(tempOnDestroyThis[key])) {
213+
if (tempOnDestroyThis[key][propkey] && /object/.test(typeof tempOnDestroyThis[key][propkey]) && Object.keys(tempOnDestroyThis[key][propkey]).length !== 0) {
214+
tempOnDestroyThis[key][propkey] = null;
215+
}
216+
}
217+
}
218+
else {
219+
tempOnDestroyThis[key] = null;
220+
}
212221
}
213222
}
214223
}

components/base/src/util.ts

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,26 @@ export function clearTemplate(_this: any, templateNames?: string[], index?: any)
5353
(val: string) => {
5454
return (/\./g.test(val) ? false : true);
5555
});
56+
let tabTemp: boolean = _this.getModuleName() === 'tab';
5657
for (let registeredTemplate of (regProperties && regProperties || regTemplates)) {
5758
/* istanbul ignore next */
5859
if (index && index.length) {
5960
for (let e = 0; e < index.length; e++) {
60-
for (let m = 0; m < _this.registeredTemplate.template.length; m++) {
61-
let value = _this.registeredTemplate.template[m].rootNodes[0];
62-
if (value === index[e]) {
63-
let rt = _this.registeredTemplate[registeredTemplate];
64-
rt[m].destroy();
61+
if (tabTemp) {
62+
for (let m = 0; m < _this.registeredTemplate[registeredTemplate].length; m++) {
63+
let value = _this.registeredTemplate[registeredTemplate][m];
64+
if (value && value === index[e]) {
65+
value.destroy();
66+
_this.registeredTemplate[registeredTemplate].splice(m, 1);
67+
}
68+
}
69+
} else {
70+
for (let m = 0; m < _this.registeredTemplate.template.length; m++) {
71+
let value = _this.registeredTemplate.template[m].rootNodes[0];
72+
if (value === index[e]) {
73+
let rt = _this.registeredTemplate[registeredTemplate];
74+
rt[m].destroy();
75+
}
6576
}
6677
}
6778
}
@@ -82,7 +93,9 @@ export function clearTemplate(_this: any, templateNames?: string[], index?: any)
8293
}
8394
}
8495
}
85-
delete _this.registeredTemplate[registeredTemplate];
96+
if (!tabTemp || !index) {
97+
delete _this.registeredTemplate[registeredTemplate];
98+
}
8699
}
87100
}
88101
for (let tagObject of _this.tagObjects) {

components/buttons/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+
## 20.4.53 (2023-03-07)
6+
7+
### Checkbox
8+
9+
#### Bug Fixes
10+
11+
- `#I436942` - The issue with "Checkbox checked property is not updated properly at initial rendering" has been resolved.
12+
513
## 20.4.50 (2023-02-14)
614

715
### RadioButton

components/calendars/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 20.4.52 (2023-02-28)
6-
7-
### DateRangePicker
8-
9-
#### Bug Fixes
10-
11-
- `#I438924` - The issue "Presets label text value overflows when we switch the culture" has been resolved.
12-
135
## 20.4.48 (2023-02-01)
146

157
- `#I426149` - The issue "show method target parameter not works as expected" has been resolved.
@@ -1243,6 +1235,14 @@ TimePicker component is the pre-filled dropdown list with the time values 12/24
12431235
- **Accessibility** - Provided with built-in accessibility support which helps to access all the TimePicker component features through the keyboard, screen readers, or other assistive technology devices.
12441236

12451237

1238+
## 20.4.52 (2023-02-28)
1239+
1240+
### DateRangePicker
1241+
1242+
#### Bug Fixes
1243+
1244+
- `#I438924` - The issue "Presets label text value overflows when we switch the culture" has been resolved.
1245+
12461246
## 19.3.56 (2021-12-02)
12471247

12481248
### TimePicker

components/calendars/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-angular-calendars",
3-
"version": "20.4.51",
3+
"version": "20.4.52",
44
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization. for Angular",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/charts/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+
## 20.4.53 (2023-03-07)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#I441035` - Fixed issue with page becoming unresponsive when zooming chart too quickly.
12+
513
## 20.4.52 (2023-02-28)
614

715
### Chart

components/charts/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-angular-charts",
3-
"version": "20.4.51",
3+
"version": "20.4.52",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball. for Angular",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/diagrams/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- `#F180478` - Now, the performance of diagram while enabling virtualization is improved.
1212
- `#F180478` - Now, Overview is updated properly while enabling virtualization.
1313
- `#I422299` - Now, swimlane child nodes is selectable after save and load.
14+
- `#I437322` - Now, drag the connector end thumb is working, while we increase handleSize value.
1415

1516
## 20.4.50 (2023-02-14)
1617

0 commit comments

Comments
 (0)