Skip to content

Commit a4318cf

Browse files
author
pipeline
committed
v18.4.34 is released
1 parent 15129f2 commit a4318cf

File tree

142 files changed

+1580
-146
lines changed

Some content is hidden

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

142 files changed

+1580
-146
lines changed

components/base/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 18.4.33 (2021-01-05)
5+
## 18.4.34 (2021-01-12)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- Fixed ngFor databinding items have property losses if `directives` have child content template property.
12+
13+
## 18.4.30 (2020-12-17)
614

715
### Common
816

components/base/dist/ej2-angular-base.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/ej2-angular-base.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/es6/ej2-angular-base.es2015.js

Lines changed: 11 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/es6/ej2-angular-base.es2015.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/es6/ej2-angular-base.es5.js

Lines changed: 12 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/es6/ej2-angular-base.es5.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/global/blazor/angularbase.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -545,16 +545,24 @@ var ComponentBase = /** @class */ (function () {
545545
}
546546
else {
547547
/* istanbul ignore next */
548-
var oldProbLength = tempAfterContentThis[tagObject.name].length;
549-
var newPropLendgth = tagObject.instance.list.length;
550-
if (oldProbLength !== newPropLendgth) {
548+
if (tempAfterContentThis[tagObject.name].length !== tagObject.instance.list.length) {
551549
tempAfterContentThis[tagObject.name] = tagObject.instance.list;
552550
}
553551
for (var _b = 0, _c = tagObject.instance.list; _b < _c.length; _b++) {
554552
var list = _c[_b];
555553
var curIndex = tagObject.instance.list.indexOf(list);
556554
var curChild = sf.base.getValue(tagObject.name, tempAfterContentThis)[curIndex];
557-
if (curChild !== undefined && curChild.setProperties !== undefined) {
555+
var complexTemplates = Object.keys(curChild);
556+
complexTemplates = complexTemplates.filter(function (val) {
557+
return /Ref$/i.test(val);
558+
});
559+
for (var _d = 0, complexTemplates_2 = complexTemplates; _d < complexTemplates_2.length; _d++) {
560+
var complexPropName = complexTemplates_2[_d];
561+
complexPropName = complexPropName.replace(/Ref/, '');
562+
curChild.properties[complexPropName] = curChild.properties && !curChild.properties[complexPropName] ?
563+
curChild.propCollection[complexPropName] : curChild.properties[complexPropName];
564+
}
565+
if (!sf.base.isUndefined(curChild) && !sf.base.isUndefined(curChild.setProperties)) {
558566
if (tempAfterContentThis.getModuleName() === 'DashboardLayout') {
559567
curChild.setProperties(list.getProperties(), true);
560568
}

components/base/dist/global/ej2-angular-base.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/base/dist/global/ej2-angular-base.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.1.42",
3+
"version": "18.4.30",
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: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -259,22 +259,29 @@ export class ComponentBase<T> {
259259
tempAfterContentThis.setProperties(propObj, tagObject.instance.isInitChanges);
260260
} else {
261261
/* istanbul ignore next */
262-
let oldProbLength = tempAfterContentThis[tagObject.name].length;
263-
let newPropLendgth = tagObject.instance.list.length;
264-
if (oldProbLength !== newPropLendgth) {
262+
if (tempAfterContentThis[tagObject.name].length !== tagObject.instance.list.length) {
265263
tempAfterContentThis[tagObject.name] = tagObject.instance.list;
266264
}
267265
for (let list of tagObject.instance.list) {
268-
let curIndex: number = tagObject.instance.list.indexOf(list);
269-
let curChild: { setProperties: Function } = getValue(tagObject.name, tempAfterContentThis)[curIndex];
270-
if (curChild !== undefined && curChild.setProperties !== undefined) {
271-
if (tempAfterContentThis.getModuleName() === 'DashboardLayout') {
272-
curChild.setProperties(list.getProperties(), true);
273-
} else {
274-
curChild.setProperties(list.getProperties());
275-
}
266+
let curIndex: number = tagObject.instance.list.indexOf(list);
267+
let curChild: any = getValue(tagObject.name, tempAfterContentThis)[curIndex];
268+
let complexTemplates: string[] = Object.keys(curChild);
269+
complexTemplates = complexTemplates.filter((val: string): boolean => {
270+
return /Ref$/i.test(val);
271+
});
272+
for (let complexPropName of complexTemplates) {
273+
complexPropName = complexPropName.replace(/Ref/, '');
274+
curChild.properties[complexPropName] = curChild.properties && !curChild.properties[complexPropName] ?
275+
curChild.propCollection[complexPropName] : curChild.properties[complexPropName];
276+
}
277+
if (!isUndefined(curChild) && !isUndefined(curChild.setProperties)) {
278+
if (tempAfterContentThis.getModuleName() === 'DashboardLayout') {
279+
curChild.setProperties(list.getProperties(), true);
280+
} else {
281+
curChild.setProperties(list.getProperties());
276282
}
277-
list.isUpdated = true;
283+
}
284+
list.isUpdated = true;
278285
}
279286
}
280287
}

components/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-
## 18.4.33 (2021-01-05)
5+
## 18.4.34 (2021-01-12)
66

77
### CheckBox
88

components/buttons/dist/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.33 (2021-01-05)
5+
## 18.4.34 (2021-01-12)
66

77
### CheckBox
88

components/calendars/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+
## 18.4.34 (2021-01-12)
6+
7+
### DateTimePicker
8+
9+
#### Bug Fixes
10+
11+
- `#309143` - Issue with "timepicker popup is not opened when render component with `openOnFocus` as true and click on the time icon" has been resolved.
12+
513
## 18.3.52 (2020-12-01)
614

715
### Calendar

components/calendars/dist/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+
## 18.4.34 (2021-01-12)
6+
7+
### DateTimePicker
8+
9+
#### Bug Fixes
10+
11+
- `#309143` - Issue with "timepicker popup is not opened when render component with `openOnFocus` as true and click on the time icon" has been resolved.
12+
513
## 18.3.52 (2020-12-01)
614

715
### Calendar

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+
## 18.4.34 (2021-01-12)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#293532` - Chart gets crash while using small values issue fixed.
12+
513
## 18.4.30 (2020-12-17)
614

715
### Chart

components/charts/dist/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+
## 18.4.34 (2021-01-12)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#293532` - Chart gets crash while using small values issue fixed.
12+
513
## 18.4.30 (2020-12-17)
614

715
### Chart

components/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+
## 18.4.34 (2021-01-12)
6+
7+
### Diagram
8+
9+
#### Bug Fixes
10+
11+
- `#308695` - This issue "Port's InEdges and outEdges are not updated properly while copy and paste " has been fixed.
12+
- `#306529` - This issue "Node does not drop properly on swimlane " has been fixed.
13+
- `#309041` - This issue "Nodes are not getting cleared when add new page in the diagram" has been fixed.
14+
515
## 18.4.32 (2020-12-29)
616

717
### Diagram

0 commit comments

Comments
 (0)