Skip to content

Commit b2111c9

Browse files
author
pipeline
committed
v21.1.36 is released
1 parent 5561658 commit b2111c9

File tree

361 files changed

+2507
-415
lines changed

Some content is hidden

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

361 files changed

+2507
-415
lines changed

components/base/CHANGELOG.md

Lines changed: 8 additions & 0 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": "21.2.3",
3+
"version": "22.1.34",
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/template.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ import { ViewContainerRef, EmbeddedViewRef, ElementRef, TemplateRef } from '@ang
22
import { setTemplateEngine, getTemplateEngine } from '@syncfusion/ej2-base';
33
import { setValue, getValue } from '@syncfusion/ej2-base';
44

5-
let stringCompiler: (template: string, helper?: object) => (data: Object | JSON) => string = getTemplateEngine();
5+
let stringCompiler: (template: string | Function, helper?: object) => (data: Object | JSON) => string = getTemplateEngine();
66

77
/**
88
* Angular Template Compiler
99
*/
1010
export function compile(templateEle: AngularElementType, helper?: Object):
1111
//tslint:disable-next-line
1212
(data: Object | JSON, component?: any, propName?: any) => Object {
13-
if (typeof templateEle === 'string') {
13+
if (typeof templateEle === 'string' || (typeof templateEle === 'function' && (templateEle as Function).prototype && (templateEle as Function).prototype.CSPTemplate)) {
1414
return stringCompiler(templateEle, helper);
1515
} else {
1616
let contRef: ViewContainerRef = templateEle.elementRef.nativeElement._viewContainerRef;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import 'ej2-base/styles/material3-dark-definition.scss';

components/base/styles/material3.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import 'ej2-base/styles/material3-definition.scss';
Binary file not shown.
73 Bytes
Binary file not shown.

components/buttons/CHANGELOG.md

Lines changed: 27 additions & 23 deletions

components/buttons/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-buttons",
3-
"version": "21.2.3",
3+
"version": "18.60.1",
44
"description": "A package of feature-rich Essential JS 2 components such as Button, CheckBox, RadioButton and Switch. for Angular",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

components/buttons/src/speed-dial/speeddial.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,15 @@ export class SpeedDialComponent extends SpeedDial implements IComponentBase {
4242
* Defines the template content for the speed dial item.
4343
* {% codeBlock src='speeddial/itemTemplate/index.md' %}{% endcodeBlock %}
4444
* @default ''
45+
* @asptype string
4546
*/
4647
@ContentChild('itemTemplate')
4748
@Template()
4849
public itemTemplate: any;
4950
/**
5051
* Defines a template content for popup of SpeedDial.
5152
* @default ''
53+
* @asptype string
5254
*/
5355
@ContentChild('popupTemplate')
5456
@Template()

0 commit comments

Comments
 (0)