Skip to content

Commit

Permalink
v18.4.34 is released
Browse files Browse the repository at this point in the history
  • Loading branch information
pipeline committed Jan 12, 2021
1 parent 15129f2 commit a4318cf
Show file tree
Hide file tree
Showing 142 changed files with 1,580 additions and 146 deletions.
10 changes: 9 additions & 1 deletion components/base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

## [Unreleased]

## 18.4.33 (2021-01-05)
## 18.4.34 (2021-01-12)

### Common

#### Bug Fixes

- Fixed ngFor databinding items have property losses if `directives` have child content template property.

## 18.4.30 (2020-12-17)

### Common

Expand Down
2 changes: 1 addition & 1 deletion components/base/dist/ej2-angular-base.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/base/dist/ej2-angular-base.umd.min.js.map

Large diffs are not rendered by default.

15 changes: 11 additions & 4 deletions components/base/dist/es6/ej2-angular-base.es2015.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/base/dist/es6/ej2-angular-base.es2015.js.map

Large diffs are not rendered by default.

16 changes: 12 additions & 4 deletions components/base/dist/es6/ej2-angular-base.es5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/base/dist/es6/ej2-angular-base.es5.js.map

Large diffs are not rendered by default.

16 changes: 12 additions & 4 deletions components/base/dist/global/blazor/angularbase.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,16 +545,24 @@ var ComponentBase = /** @class */ (function () {
}
else {
/* istanbul ignore next */
var oldProbLength = tempAfterContentThis[tagObject.name].length;
var newPropLendgth = tagObject.instance.list.length;
if (oldProbLength !== newPropLendgth) {
if (tempAfterContentThis[tagObject.name].length !== tagObject.instance.list.length) {
tempAfterContentThis[tagObject.name] = tagObject.instance.list;
}
for (var _b = 0, _c = tagObject.instance.list; _b < _c.length; _b++) {
var list = _c[_b];
var curIndex = tagObject.instance.list.indexOf(list);
var curChild = sf.base.getValue(tagObject.name, tempAfterContentThis)[curIndex];
if (curChild !== undefined && curChild.setProperties !== undefined) {
var complexTemplates = Object.keys(curChild);
complexTemplates = complexTemplates.filter(function (val) {
return /Ref$/i.test(val);
});
for (var _d = 0, complexTemplates_2 = complexTemplates; _d < complexTemplates_2.length; _d++) {
var complexPropName = complexTemplates_2[_d];
complexPropName = complexPropName.replace(/Ref/, '');
curChild.properties[complexPropName] = curChild.properties && !curChild.properties[complexPropName] ?
curChild.propCollection[complexPropName] : curChild.properties[complexPropName];
}
if (!sf.base.isUndefined(curChild) && !sf.base.isUndefined(curChild.setProperties)) {
if (tempAfterContentThis.getModuleName() === 'DashboardLayout') {
curChild.setProperties(list.getProperties(), true);
}
Expand Down
2 changes: 1 addition & 1 deletion components/base/dist/global/ej2-angular-base.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/base/dist/global/ej2-angular-base.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@syncfusion/ej2-angular-base",
"version": "18.1.42",
"version": "18.4.30",
"description": "A common package of Essential JS 2 base Angular libraries, methods and class definitions",
"author": "Syncfusion Inc.",
"license": "SEE LICENSE IN license",
Expand Down
31 changes: 19 additions & 12 deletions components/base/src/component-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,22 +259,29 @@ export class ComponentBase<T> {
tempAfterContentThis.setProperties(propObj, tagObject.instance.isInitChanges);
} else {
/* istanbul ignore next */
let oldProbLength = tempAfterContentThis[tagObject.name].length;
let newPropLendgth = tagObject.instance.list.length;
if (oldProbLength !== newPropLendgth) {
if (tempAfterContentThis[tagObject.name].length !== tagObject.instance.list.length) {
tempAfterContentThis[tagObject.name] = tagObject.instance.list;
}
for (let list of tagObject.instance.list) {
let curIndex: number = tagObject.instance.list.indexOf(list);
let curChild: { setProperties: Function } = getValue(tagObject.name, tempAfterContentThis)[curIndex];
if (curChild !== undefined && curChild.setProperties !== undefined) {
if (tempAfterContentThis.getModuleName() === 'DashboardLayout') {
curChild.setProperties(list.getProperties(), true);
} else {
curChild.setProperties(list.getProperties());
}
let curIndex: number = tagObject.instance.list.indexOf(list);
let curChild: any = getValue(tagObject.name, tempAfterContentThis)[curIndex];
let complexTemplates: string[] = Object.keys(curChild);
complexTemplates = complexTemplates.filter((val: string): boolean => {
return /Ref$/i.test(val);
});
for (let complexPropName of complexTemplates) {
complexPropName = complexPropName.replace(/Ref/, '');
curChild.properties[complexPropName] = curChild.properties && !curChild.properties[complexPropName] ?
curChild.propCollection[complexPropName] : curChild.properties[complexPropName];
}
if (!isUndefined(curChild) && !isUndefined(curChild.setProperties)) {
if (tempAfterContentThis.getModuleName() === 'DashboardLayout') {
curChild.setProperties(list.getProperties(), true);
} else {
curChild.setProperties(list.getProperties());
}
list.isUpdated = true;
}
list.isUpdated = true;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/buttons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## [Unreleased]

## 18.4.33 (2021-01-05)
## 18.4.34 (2021-01-12)

### CheckBox

Expand Down
2 changes: 1 addition & 1 deletion components/buttons/dist/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## [Unreleased]

## 18.4.33 (2021-01-05)
## 18.4.34 (2021-01-12)

### CheckBox

Expand Down
8 changes: 8 additions & 0 deletions components/calendars/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## [Unreleased]

## 18.4.34 (2021-01-12)

### DateTimePicker

#### Bug Fixes

- `#309143` - Issue with "timepicker popup is not opened when render component with `openOnFocus` as true and click on the time icon" has been resolved.

## 18.3.52 (2020-12-01)

### Calendar
Expand Down
8 changes: 8 additions & 0 deletions components/calendars/dist/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## [Unreleased]

## 18.4.34 (2021-01-12)

### DateTimePicker

#### Bug Fixes

- `#309143` - Issue with "timepicker popup is not opened when render component with `openOnFocus` as true and click on the time icon" has been resolved.

## 18.3.52 (2020-12-01)

### Calendar
Expand Down
8 changes: 8 additions & 0 deletions components/charts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## [Unreleased]

## 18.4.34 (2021-01-12)

### Chart

#### Bug Fixes

- `#293532` - Chart gets crash while using small values issue fixed.

## 18.4.30 (2020-12-17)

### Chart
Expand Down
8 changes: 8 additions & 0 deletions components/charts/dist/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## [Unreleased]

## 18.4.34 (2021-01-12)

### Chart

#### Bug Fixes

- `#293532` - Chart gets crash while using small values issue fixed.

## 18.4.30 (2020-12-17)

### Chart
Expand Down
10 changes: 10 additions & 0 deletions components/diagrams/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

## [Unreleased]

## 18.4.34 (2021-01-12)

### Diagram

#### Bug Fixes

- `#308695` - This issue "Port's InEdges and outEdges are not updated properly while copy and paste " has been fixed.
- `#306529` - This issue "Node does not drop properly on swimlane " has been fixed.
- `#309041` - This issue "Nodes are not getting cleared when add new page in the diagram" has been fixed.

## 18.4.32 (2020-12-29)

### Diagram
Expand Down

0 comments on commit a4318cf

Please sign in to comment.