Skip to content

Commit 1cbd3f2

Browse files
author
pipeline
committed
v18.3.44 is released
1 parent 1f33401 commit 1cbd3f2

File tree

265 files changed

+1114
-371
lines changed

Some content is hidden

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

265 files changed

+1114
-371
lines changed

components/base/CHANGELOG.md

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

33
## [Unreleased]
44

5-
## 18.3.42 (2020-10-20)
5+
## 18.3.44 (2020-10-27)
6+
7+
### Common
8+
9+
#### Bug Fixes
10+
11+
- `I291168` - Resolved peer dependency issue for Angular `10.1.5`.
12+
- Resolved complex directives property change not working issue.
13+
14+
## 18.3.40 (2020-10-13)
615

716
### Common
817

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: 20 additions & 18 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: 20 additions & 18 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: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,29 @@ var ComplexBase = /** @class */ (function () {
189189
};
190190
ComplexBase.prototype.isChanged = function () {
191191
var result = this.hasChanges;
192+
if (!sf.base.isNullOrUndefined(this.propCollection[this.property])) {
193+
var tempProps = this.propCollection[this.property];
194+
var props = Object.keys(tempProps[0]);
195+
for (var d = 0; d < props.length; d++) {
196+
if (!sf.base.isNullOrUndefined(this.propCollection[props[d]])) {
197+
var val = sf.base.getValue(props[d], this);
198+
var propVal = this.propCollection[this.property][0][props[d]];
199+
if (!sf.base.isNullOrUndefined(val) && this.propCollection[props[d]] !== val
200+
&& propVal !== val) {
201+
this.propCollection[this.property][0][props[d]] = val;
202+
this.propCollection[props[d]] = val;
203+
this.hasChanges = true;
204+
this.isUpdated = false;
205+
}
206+
}
207+
}
208+
}
192209
/* istanbul ignore next */
193210
for (var _i = 0, _a = this.tagObjects; _i < _a.length; _i++) {
194211
var item = _a[_i];
195212
result = result || item.instance.hasChanges;
196213
}
197-
return result;
214+
return result || this.hasChanges;
198215
};
199216
ComplexBase.prototype.ngAfterContentChecked = function () {
200217
this.hasChanges = this.isChanged();
@@ -233,7 +250,7 @@ var ArrayBase = /** @class */ (function () {
233250
var index = 0;
234251
/* istanbul ignore next */
235252
this.list = this.children.map(function (child) {
236-
child.index = index++;
253+
child.dirIndex = index++;
237254
child.property = _this.propertyName;
238255
return child;
239256
});
@@ -259,21 +276,6 @@ var ArrayBase = /** @class */ (function () {
259276
/* istanbul ignore next */
260277
if (this.list.length === this.children.length) {
261278
for (var i = 0; i < this.list.length; i++) {
262-
var propList = Object.keys(this.list[i]);
263-
if (this.list[i].directivePropList) {
264-
for (var k = 0; k < this.list[i].directivePropList.length; k++) {
265-
var dirPropName = this.list[i].directivePropList[k];
266-
if (propList.indexOf(dirPropName) !== -1) {
267-
var tempList = this.list[i];
268-
if ((JSON.stringify(tempList[dirPropName])) !== (JSON.stringify(tempList.propCollection[dirPropName]))
269-
&& this.moduleName && this.moduleName === 'diagram') {
270-
sf.base.setValue(dirPropName, sf.base.getValue(dirPropName, this.list[i]), this.list[i].propCollection);
271-
this.list[i].hasChanges = true;
272-
this.list[i].isUpdated = false;
273-
}
274-
}
275-
}
276-
}
277279
if (this.list[i].propCollection.dataSource) {
278280
if (this.list[i].dataSource && this.list[i].propCollection.dataSource !== this.list[i].dataSource) {
279281
this.list[i].propCollection.dataSource = this.list[i].dataSource;
@@ -287,7 +289,7 @@ var ArrayBase = /** @class */ (function () {
287289
this.hasNewChildren = (this.list.length !== this.children.length || isSourceChanged) ? true : null;
288290
if (this.hasNewChildren) {
289291
this.list = this.children.map(function (child) {
290-
child.index = index++;
292+
child.dirIndex = index++;
291293
child.property = _this.propertyName;
292294
return child;
293295
});

0 commit comments

Comments
 (0)