Skip to content

Commit 90f41b6

Browse files
author
pipeline
committed
v23.1.36 is released
1 parent d386551 commit 90f41b6

File tree

571 files changed

+1207
-7810
lines changed

Some content is hidden

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

571 files changed

+1207
-7810
lines changed

README.md

Lines changed: 1 addition & 1217 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@import 'ej2-base/styles/definition/material3-dark.scss';
2+
@import 'ej2-barcode-generator/styles/barcode/material3-dark.scss';
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@import 'ej2-base/styles/definition/material3.scss';
2+
@import 'ej2-barcode-generator/styles/barcode/material3.scss';
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
@import 'barcode/material3-dark.scss';
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
@import 'barcode/material3.scss';

components/base/CHANGELOG.md

Lines changed: 5 additions & 2 deletions

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": "22.2.5",
3+
"version": "23.1.36",
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",
Lines changed: 183 additions & 0 deletions

components/base/src/component-base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export class ComponentBase<T> {
311311
tempAfterContentThis.setProperties(propObj, tagObject.instance.isInitChanges);
312312
} else {
313313
/* istanbul ignore next */
314-
if ((tempAfterContentThis[tagObject.name].length !== tagObject.instance.list.length) || (/diagram|tab|DashboardLayout/.test(tempAfterContentThis.getModuleName()))) {
314+
if ((tempAfterContentThis[tagObject.name].length !== tagObject.instance.list.length) || (/diagram|DashboardLayout/.test(tempAfterContentThis.getModuleName()))) {
315315
tempAfterContentThis[tagObject.name] = tagObject.instance.list;
316316
}
317317
for (let list of tagObject.instance.list) {

components/base/src/form-base.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { EventEmitter, ElementRef } from '@angular/core';
1+
import { EventEmitter, ElementRef, ChangeDetectorRef } from '@angular/core';
22
import { getValue, setValue, isNullOrUndefined, isObject } from '@syncfusion/ej2-base';
33
import { ControlValueAccessor } from '@angular/forms';
44
/**
@@ -30,6 +30,7 @@ export class FormBase<T> implements ControlValueAccessor {
3030
public preventChange: boolean;
3131
public isUpdated: boolean;
3232
public oldValue: any;
33+
public cdr: ChangeDetectorRef;
3334

3435
public localChange(e: { value?: T, checked?: T }): void {
3536
//tslint:disable-next-line
@@ -61,6 +62,7 @@ export class FormBase<T> implements ControlValueAccessor {
6162
}
6263
}
6364
}
65+
this.cdr.markForCheck();
6466
}
6567

6668
public properties: Object;
@@ -131,6 +133,7 @@ export class FormBase<T> implements ControlValueAccessor {
131133
// When binding Html textbox value to syncfusion textbox, change event triggered dynamically.
132134
// To prevent change event, trigger change in component side based on `preventChange` value
133135
this.preventChange = this.isFormInit ? false : true;
136+
this.cdr.markForCheck();
134137
if (value === null) {
135138
return;
136139
}
@@ -142,6 +145,7 @@ export class FormBase<T> implements ControlValueAccessor {
142145
if (this.skipFromEvent !== true) {
143146
this.focus.emit(e);
144147
}
148+
this.cdr.markForCheck();
145149
}
146150

147151
public ngOnBlur(e: Event): void {
@@ -150,5 +154,6 @@ export class FormBase<T> implements ControlValueAccessor {
150154
if (this.skipFromEvent !== true) {
151155
this.blur.emit(e);
152156
}
157+
this.cdr.markForCheck();
153158
}
154159
}

components/base/src/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function compile(templateEle: AngularElementType, helper?: Object):
2121
/* istanbul ignore next */
2222
let conRef: ViewContainerRef = contRef ? contRef : component.viewContainerRef;
2323
let viewRef: EmbeddedViewRef<Object> = conRef.createEmbeddedView(templateEle as TemplateRef<Object>, context);
24-
viewRef.detectChanges();
24+
viewRef.markForCheck();
2525
/* istanbul ignore next */
2626
let viewCollection: { [key: string]: EmbeddedViewRef<Object>[] } = (component && component.registeredTemplate) ?
2727
component.registeredTemplate : getValue('currentInstance.registeredTemplate', conRef);

components/base/src/util.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ export function clearTemplate(_this: any, templateNames?: string[], index?: any)
5353
(val: string) => {
5454
return (/\./g.test(val) ? false : true);
5555
});
56-
let tabTemp: boolean = _this.getModuleName() === 'tab';
56+
let tabaccordionTemp: boolean = /tab|accordion|toolbar/.test(_this.getModuleName());
5757
for (let registeredTemplate of (regProperties && regProperties || regTemplates)) {
5858
/* istanbul ignore next */
5959
if (index && index.length) {
6060
for (let e = 0; e < index.length; e++) {
61-
if (tabTemp) {
61+
if (tabaccordionTemp) {
6262
for (let m = 0; m < _this.registeredTemplate[registeredTemplate].length; m++) {
6363
let value = _this.registeredTemplate[registeredTemplate][m];
6464
if (value && value === index[e]) {
@@ -93,7 +93,7 @@ export function clearTemplate(_this: any, templateNames?: string[], index?: any)
9393
}
9494
}
9595
}
96-
if (!tabTemp || !index) {
96+
if (!tabaccordionTemp || !index) {
9797
delete _this.registeredTemplate[registeredTemplate];
9898
}
9999
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/bootstrap-dark-definition.scss';
1+
@import 'ej2-base/styles/definition/bootstrap-dark.scss';

components/base/styles/bootstrap.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/bootstrap-definition.scss';
1+
@import 'ej2-base/styles/definition/bootstrap.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/bootstrap4-definition.scss';
1+
@import 'ej2-base/styles/definition/bootstrap4.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/bootstrap5-dark-definition.scss';
1+
@import 'ej2-base/styles/definition/bootstrap5-dark.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/bootstrap5-definition.scss';
1+
@import 'ej2-base/styles/definition/bootstrap5.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/fabric-dark-definition.scss';
1+
@import 'ej2-base/styles/definition/fabric-dark.scss';

components/base/styles/fabric.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/fabric-definition.scss';
1+
@import 'ej2-base/styles/definition/fabric.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/fluent-dark-definition.scss';
1+
@import 'ej2-base/styles/definition/fluent-dark.scss';

components/base/styles/fluent.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/fluent-definition.scss';
1+
@import 'ej2-base/styles/definition/fluent.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/highcontrast-light-definition.scss';
1+
@import 'ej2-base/styles/definition/highcontrast-light.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/highcontrast-definition.scss';
1+
@import 'ej2-base/styles/definition/highcontrast.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/material-dark-definition.scss';
1+
@import 'ej2-base/styles/definition/material-dark.scss';

components/base/styles/material.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/material-definition.scss';
1+
@import 'ej2-base/styles/definition/material.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/material3-dark-definition.scss';
1+
@import 'ej2-base/styles/definition/material3-dark.scss';

components/base/styles/material3.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/material3-definition.scss';
1+
@import 'ej2-base/styles/definition/material3.scss';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/tailwind-dark-definition.scss';
1+
@import 'ej2-base/styles/definition/tailwind-dark.scss';

components/base/styles/tailwind.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@import 'ej2-base/styles/tailwind-definition.scss';
1+
@import 'ej2-base/styles/definition/tailwind.scss';
Binary file not shown.
73 Bytes
Binary file not shown.
74 Bytes
Binary file not shown.
Binary file not shown.
74 Bytes
Binary file not shown.
Binary file not shown.
70 Bytes
Binary file not shown.
Binary file not shown.
70 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
72 Bytes
Binary file not shown.
Binary file not shown.
73 Bytes
Binary file not shown.
Binary file not shown.
72 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)