Skip to content

Commit 688d626

Browse files
author
pipeline
committed
v19.3.44 is released
1 parent a0781f8 commit 688d626

Some content is hidden

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

56 files changed

+213
-113
lines changed

components/base/CHANGELOG.md

Lines changed: 2 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -2,72 +2,13 @@
22

33
## [Unreleased]
44

5-
## 19.3.43 (2021-09-30)
5+
## 19.3.44 (2021-10-05)
66

77
### Common
88

99
#### Bug Fixes
1010

11-
- `I336550` Resolved script error if Component not in the `DOM` while component rendering.
12-
13-
## 19.2.59 (2021-08-31)
14-
15-
### Common
16-
17-
#### Bug Fixes
18-
19-
- `I338378` Resolved get reference of `ElementRef` not accessible in complex directives.
20-
21-
## 19.2.51 (2021-08-03)
22-
23-
### Common
24-
25-
#### Bug Fixes
26-
27-
- `I334468` Resolved Form get `Dirty` while initial databinding.
28-
29-
## 19.2.48 (2021-07-20)
30-
31-
### Common
32-
33-
#### Bug Fixes
34-
35-
- `I331403,I334510` - Resolved `dynamic property` change not working for complex directives.
36-
- `I333399` - Resolved `dynamic property` change not working for `equal` length properties.
37-
38-
## 19.1.66 (2021-06-01)
39-
40-
### Common
41-
42-
#### Bug Fixes
43-
44-
- `I310815` - Resolved memory leak issue while using routing.
45-
46-
## 19.1.65 (2021-05-25)
47-
48-
### Common
49-
50-
#### Bug Fixes
51-
52-
- `I327789` - Resolved Angular 6 compatibility issue.
53-
- `I325467` - Resolved script error when binding `async` data to the directive.
54-
55-
## 19.1.64 (2021-05-19)
56-
57-
### Common
58-
59-
#### Bug Fixes
60-
61-
- `I324729` - Increased `peerDependencies` version from `11.1.1` to `11.2.13`.
62-
63-
## 19.1.58 (2021-04-27)
64-
65-
### Common
66-
67-
#### Bug Fixes
68-
69-
- `I287376,I311253,F156542` - Provided support for `strict` mode compilation.
70-
11+
- `I342446` - Increased `peerDependencies` version from `11.1.1` to `12.2.8`.
7112

7213
## 19.1.56 (2021-04-13)
7314

File renamed without changes.

components/base/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-angular-base",
3-
"version": "19.2.59",
3+
"version": "19.6.0",
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",
@@ -16,12 +16,12 @@
1616
"ng"
1717
],
1818
"peerDependencies": {
19-
"@angular/common": "4.10.0 - 11.2.13",
20-
"@angular/compiler": "4.10.0 - 11.2.13",
21-
"@angular/core": "4.10.0 - 11.2.13",
22-
"@angular/forms": "4.10.0 - 11.2.13",
23-
"@angular/platform-browser": "4.10.0 - 11.2.13",
24-
"@angular/platform-browser-dynamic": "4.10.0 - 11.2.13"
19+
"@angular/common": "4.10.0 - 12.2.8",
20+
"@angular/compiler": "4.10.0 - 12.2.8",
21+
"@angular/core": "4.10.0 - 12.2.8",
22+
"@angular/forms": "4.10.0 - 12.2.8",
23+
"@angular/platform-browser": "4.10.0 - 12.2.8",
24+
"@angular/platform-browser-dynamic": "4.10.0 - 12.2.8"
2525
},
2626
"dependencies": {
2727
"@syncfusion/ej2-base": "*",
@@ -80,5 +80,6 @@
8080
"scripts": {
8181
"build": "gulp build",
8282
"test": "gulp test"
83-
}
83+
},
84+
"typings": "index.d.ts"
8485
}

components/base/src/complex-array-base.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class ComplexBase<T> {
5757
if (this.directivePropList) {
5858
for (let k: number = 0; k < this.directivePropList.length; k++) {
5959
let dirPropName: string = this.directivePropList[k];
60-
if (propList.indexOf(dirPropName) !== -1 && getValue(dirPropName, this)) {
60+
if (propList.indexOf(dirPropName) !== -1 && getValue(dirPropName, this)) {
6161
setValue(dirPropName, getValue(dirPropName, this), this.propCollection);
6262
}
6363
}
@@ -207,7 +207,6 @@ export class ArrayBase<T> {
207207
isSourceChanged = (JSON.stringify(this.list[i].propCollection.dataSource) !==
208208
JSON.stringify(childrenDataSource[i].propCollection.dataSource));
209209
}
210-
isSourceChanged = this.list[i].hasChanges !== childrenDataSource[i].hasChanges;
211210
}
212211
}
213212

components/base/src/component-base.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export class ComponentBase<T> {
189189
let tempOnDestroyThis: any = isTempRef || this;
190190
/* istanbul ignore else */
191191
setTimeout(() => {
192-
if (typeof window !== 'undefined' && document.body.contains(tempOnDestroyThis.element) && (tempOnDestroyThis.element.classList.contains('e-control') || tempOnDestroyThis.element)) {
192+
if (typeof window !== 'undefined' && document.body.contains(tempOnDestroyThis.element) && tempOnDestroyThis.element.classList.contains('e-control')) {
193193
tempOnDestroyThis.destroy();
194194
tempOnDestroyThis.clearTemplate(null);
195195
// removing bounded events and tagobjects from component after destroy
@@ -261,7 +261,7 @@ export class ComponentBase<T> {
261261
tempAfterContentThis.setProperties(propObj, tagObject.instance.isInitChanges);
262262
} else {
263263
/* istanbul ignore next */
264-
if ((tempAfterContentThis[tagObject.name].length !== tagObject.instance.list.length) || /diagram|DashboardLayout/.test(tempAfterContentThis.getModuleName())) {
264+
if ((tempAfterContentThis[tagObject.name].length !== tagObject.instance.list.length) || (tempAfterContentThis.getModuleName() === 'diagram')) {
265265
tempAfterContentThis[tagObject.name] = tagObject.instance.list;
266266
}
267267
for (let list of tagObject.instance.list) {
@@ -271,7 +271,7 @@ export class ComponentBase<T> {
271271
complexTemplates = complexTemplates.filter((val: string): boolean => {
272272
return /Ref$/i.test(val);
273273
});
274-
if (curChild.properties && Object.keys(curChild.properties).length !== 0 && /chart|kanban/.test(tempAfterContentThis.getModuleName())){
274+
if (curChild.properties && Object.keys(curChild.properties).length !== 0 && /chart/.test(tempAfterContentThis.getModuleName())){
275275
for (let complexPropName of complexTemplates) {
276276
complexPropName = complexPropName.replace(/Ref/, '');
277277
curChild.properties[complexPropName] = !curChild.properties[complexPropName] ?

components/base/src/form-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class FormBase<T> implements ControlValueAccessor {
3535
//tslint:disable-next-line
3636
let value: T | any = (e.checked === undefined ? e.value : e.checked);
3737
this.objCheck = isObject(value);
38-
if (this.isUpdated === true && this.oldValue) {
38+
if (this.isUpdated === true) {
3939
this.angularValue = this.oldValue;
4040
}
4141
if (this.objCheck === true) {

components/base/src/template.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export function compile(templateEle: AngularElementType, helper?: Object):
2222
let conRef: ViewContainerRef = contRef ? contRef : component.viewContainerRef;
2323
let viewRef: EmbeddedViewRef<Object> = conRef.createEmbeddedView(templateEle as TemplateRef<Object>, context);
2424
viewRef.markForCheck();
25+
viewRef.detectChanges();
2526
/* istanbul ignore next */
2627
let viewCollection: { [key: string]: EmbeddedViewRef<Object>[] } = (component && component.registeredTemplate) ?
2728
component.registeredTemplate : getValue('currentInstance.registeredTemplate', conRef);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import 'ej2-base/styles/bootstrap5-dark-definition.scss';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import 'ej2-base/styles/bootstrap5-definition.scss';
Binary file not shown.

0 commit comments

Comments
 (0)