Skip to content

Commit 00c932a

Browse files
author
pipeline
committed
v18.4.49 is released
1 parent 3788003 commit 00c932a

File tree

38 files changed

+180
-60
lines changed

38 files changed

+180
-60
lines changed

components/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-
## 18.4.48 (2021-03-16)
5+
## 18.4.49 (2021-03-23)
66

77
### Barcode
88

components/base/CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,24 @@
22

33
## [Unreleased]
44

5-
## 18.4.48 (2021-03-16)
5+
## 18.4.49 (2021-03-23)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `I306436,I313360` - Resolved `dynamic property` change not working for `Tab` component.
12+
- Resolved script error while using `clearTemplate` method.
13+
14+
## 18.4.48 (2021-03-23)
15+
16+
### Common
17+
18+
#### Bug Fixes
19+
20+
- `I312916,I316685` - Resolved script error When resetting form controls to non-null values, if the elements are no longer in the DOM.
21+
22+
## 18.4.46 (2021-03-02)
623

724
### Common
825

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": "18.4.44",
3+
"version": "18.4.46",
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: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export class ComponentBase<T> {
195195
// removing bounded events and tagobjects from component after destroy
196196
tempOnDestroyThis.ngBoundedEvents = {};
197197
tempOnDestroyThis.tagObjects = {};
198-
tempOnDestroyThis.element = null;
198+
tempOnDestroyThis.ngEle = null;
199199
}
200200
});
201201
}
@@ -271,10 +271,12 @@ export class ComponentBase<T> {
271271
complexTemplates = complexTemplates.filter((val: string): boolean => {
272272
return /Ref$/i.test(val);
273273
});
274-
for (let complexPropName of complexTemplates) {
275-
complexPropName = complexPropName.replace(/Ref/, '');
276-
curChild.properties[complexPropName] = curChild.properties && !curChild.properties[complexPropName] ?
277-
curChild.propCollection[complexPropName] : curChild.properties[complexPropName];
274+
if (Object.keys(curChild.properties).length !== 0){
275+
for (let complexPropName of complexTemplates) {
276+
complexPropName = complexPropName.replace(/Ref/, '');
277+
curChild.properties[complexPropName] = !curChild.properties[complexPropName] ?
278+
curChild.propCollection[complexPropName] : curChild.properties[complexPropName];
279+
}
278280
}
279281
if (!isUndefined(curChild) && !isUndefined(curChild.setProperties)) {
280282
if (/diagram|DashboardLayout/.test(tempAfterContentThis.getModuleName())) {

components/base/src/form-base.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,16 @@ export class FormBase<T> implements ControlValueAccessor {
117117
} else {
118118
// To resolve boolean type formControl value is not working for radio button control.
119119
/* istanbul ignore next */
120-
if (typeof value === 'boolean') {
121-
if (this.ngEle && regExp.test(this.ngEle.nativeElement.outerHTML)) {
122-
this.checked = value === this.value;
120+
if (this.ngEle) {
121+
if (typeof value === 'boolean') {
122+
if (regExp.test(this.ngEle.nativeElement.outerHTML)) {
123+
this.checked = value === this.value;
124+
} else {
125+
this.checked = value;
126+
}
123127
} else {
124-
this.checked = value;
128+
this.checked = value === this.value;
125129
}
126-
} else {
127-
this.checked = value === this.value;
128130
}
129131
}
130132
this.angularValue = value;

components/base/src/util.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,19 @@ export function clearTemplate(_this: any, templateNames?: string[], index?: any)
6666
}
6767
}
6868
} else {
69-
for (let rt of _this.registeredTemplate[registeredTemplate]) {
70-
if (!rt.destroyed) {
71-
if(rt._view){
72-
let pNode: any = rt._view.renderer.parentNode(rt.rootNodes[0]);
73-
if (!isNullOrUndefined(pNode)) {
74-
for (let m: number = 0; m < rt.rootNodes.length; m++) {
75-
pNode.appendChild(rt.rootNodes[m]);
69+
if (_this.registeredTemplate[registeredTemplate]) {
70+
for (let rt of _this.registeredTemplate[registeredTemplate]) {
71+
if (!rt.destroyed) {
72+
if (rt._view) {
73+
let pNode: any = rt._view.renderer.parentNode(rt.rootNodes[0]);
74+
if (!isNullOrUndefined(pNode)) {
75+
for (let m: number = 0; m < rt.rootNodes.length; m++) {
76+
pNode.appendChild(rt.rootNodes[m]);
77+
}
7678
}
7779
}
80+
rt.destroy();
7881
}
79-
rt.destroy();
8082
}
8183
}
8284
}

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-
## 18.4.48 (2021-03-16)
6-
7-
### DatePicker
8-
9-
#### Bug Fixes
10-
11-
- `#318084` - Issue with "date input gets empty in the strict mode while typing invalid date" has been resolved.
12-
135
## 18.4.34 (2021-01-12)
146

157
### DateTimePicker
@@ -1197,6 +1189,14 @@ TimePicker component is the pre-filled dropdown list with the time values 12/24
11971189
- **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.
11981190

11991191

1192+
## 18.4.48 (2021-03-16)
1193+
1194+
### DatePicker
1195+
1196+
#### Bug Fixes
1197+
1198+
- `#318084` - Issue with "date input gets empty in the strict mode while typing invalid date" has been resolved.
1199+
12001200
## 18.4.43 (2021-02-16)
12011201

12021202
### DatePicker

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": "18.4.43",
3+
"version": "18.4.48",
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/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": "18.4.47",
3+
"version": "18.4.48",
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
- `#316472` - This issue "Strange snapping behaviors with swimlane " has been fixed.
1212
- `#317149` - This issue "Exception occurs when drag and drop a lane on connector in swimlane " has been fixed.
1313
- `F23048` - This issue "When change style of group at runtime the same is applied to its child too " has been fixed.
14+
- `317728` - This issue "Line routing is not working if the connection end point of the connector has two or more nodes " has been fixed.
1415

1516
## 18.4.47 (2021-03-09)
1617

0 commit comments

Comments
 (0)