Skip to content

Commit 8cb7eab

Browse files
author
pipeline
committed
v20.3.47 is released
1 parent aace121 commit 8cb7eab

File tree

294 files changed

+1813
-829
lines changed

Some content is hidden

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

294 files changed

+1813
-829
lines changed

components/base/CHANGELOG.md

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,18 @@
22

33
## [Unreleased]
44

5-
## 20.2.50 (2022-09-20)
5+
## 20.3.47 (2022-09-29)
66

77
### Common
88

9-
#### Bug Fixes
10-
11-
`I396002` - Resolved `ngFor` not working inside the `ng template`with Array based `directives`.
12-
13-
## 20.2.48 (2022-09-06)
14-
15-
### Common
16-
17-
#### Bug Fixes
18-
19-
`I397712` - Resolved Reactive Form `Control` and `Group` not working issue.
20-
21-
## 20.2.46 (2022-08-30)
22-
23-
### Common
24-
25-
#### Bug Fixes
26-
27-
`I331403,I334510` - Resolved `dynamic property` change not working for complex directives.
28-
`I356669` - Resolved script error Converting circular structure to JSON.
29-
30-
## 20.2.43 (2022-08-08)
9+
#### New Features
3110

32-
### Common
11+
- Provided the schematic ng add support for Syncfusion Angular IVY packages.
3312

3413
#### Bug Fixes
3514

36-
- `I391967,I393562` - Resolved components not loaded inside the `ng template`.
15+
- `#I358566` - The issue with the `ng-template` not working in the Karma unit test has been resolved.
16+
- `#I392021` - The issue with the "Gantt header template image is not shown in the stack blitz sample" has been resolved.
3717

3818
## 20.2.36 (2022-06-30)
3919

@@ -50,10 +30,10 @@
5030
- Provided the TypeScript 4.7 compatible support for the Angular components.
5131
- Provided the option to register the license key by using the `npx` command. Follow these steps to register the license using the `npx` command:
5232

53-
| The `npx` command |
33+
| The `npx` command |
5434
|---|
55-
| Install the Syncfusion packages from `npm`. |
56-
| Add the license key either in the environment variable `SYNCFUSION_LICENSE` or in the `syncfusion-license.txt` text file. |
35+
| Install the Syncfusion packages from `npm`. |
36+
| Add the license key either in the environment variable `SYNCFUSION_LICENSE` or in the `syncfusion-license.txt` text file. |
5737
| Run the command `npx syncfusion-license activate` to automatically register the license. |
5838

5939
## 19.1.56 (2021-04-13)

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": "20.2.48",
3+
"version": "19.9.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",

components/base/src/form-base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class FormBase<T> implements ControlValueAccessor {
9292
// Used setTimeout for template binding
9393
// Refer Link: https://github.com/angular/angular/issues/6005
9494
// Removed setTimeout, Because we have called markForCheck() method in Angular Template Compiler
95-
// setTimeout(() => {
95+
setTimeout(() => {
9696
/* istanbul ignore else */
9797
if (typeof window !== 'undefined') {
9898
tempFormAfterViewThis.appendTo(tempFormAfterViewThis.element);
@@ -101,7 +101,7 @@ export class FormBase<T> implements ControlValueAccessor {
101101
ele.addEventListener('blur', tempFormAfterViewThis.ngOnBlur.bind(tempFormAfterViewThis));
102102
}
103103
this.isFormInit = false;
104-
// });
104+
});
105105
}
106106
public setDisabledState(disabled: boolean): void {
107107
this.enabled = !disabled;

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.markForCheck();
24+
viewRef.detectChanges();
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,4 @@ export interface PropertyDetails {
140140
propertyName: string;
141141
type: FunctionConstructor | Object;
142142
defaultValue: Object;
143-
}
143+
}

components/buttons/CHANGELOG.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,41 @@
22

33
## [Unreleased]
44

5-
## 20.2.46 (2022-08-30)
5+
## 20.3.47 (2022-09-29)
66

7-
### Checkbox
7+
### Floating Action Button `Preview`
88

9-
#### Bug Fixes
9+
The Floating Action Button (FAB) component performs the primary action that appears in front of all screen contents. It can be positioned in relation to a page or a target container.
1010

11-
- `#I399484` - The issue with aria-checked accessibility issue in angular checkbox has been fixed.
1211

13-
## 20.2.43 (2022-08-08)
12+
- **Rendering** - The FAB component can be rendered as Icon only, Icon with Label, Label only, or in a disabled state.
13+
- **Positioning** - Supports to place various built-in positions on the target element.
14+
- **Styles** - The appearance of the FAB can be customized using predefined styles.
15+
- **Accessibility** - The FAB provides built-in compliance with the `WAI-ARIA` specifications and it is achieved through attributes.
16+
17+
### Speed Dial `Preview`
18+
19+
The Speed Dial component is an extension of the floating action button that displays a list of action buttons when clicked. It is useful when there is more than one primary action for the page.
20+
21+
22+
- **Rendering** - The Speed Dial component can be rendered in two display modes: Linear and Radial.
23+
- **Positioning** - Supports to place various built-in positions on the target element.
24+
- **Styles** - The appearance of the Speed Dial can be customized using predefined styles.
25+
- **Template Support** - The Speed Dial component action items and popup container can also be rendered with custom templates.
26+
- **Modal Support** - Supports showing a modal overlay behind the Speed Dial.
27+
- **Accessibility** - The Speed Dial provides built-in compliance with the `WAI-ARIA` specifications and it is achieved through attributes.
1428

1529
### Switch
1630

1731
#### Bug Fixes
1832

1933
- `#384387` - The issue with "Switch component click event trigger two times when we handling enable/disable dynamically" has been resolved.
2034

21-
## 20.2.36 (2022-06-30)
22-
2335
### Checkbox
2436

2537
#### Bug Fixes
2638

27-
- `F379986` - The issue with "Screen reader reads checkbox field twice for tab keypress" has been resolved.
39+
- `#I399484` - The issue with aria-checked accessibility issue in angular checkbox has been fixed.
2840

2941
## 19.2.47 (2021-07-13)
3042

components/buttons/package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-angular-buttons",
3-
"version": "20.2.46",
3+
"version": "18.44.0",
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",
@@ -67,13 +67,22 @@
6767
"form control",
6868
"form controls",
6969
"input",
70+
"fab",
71+
"floating button",
72+
"floating action button",
73+
"speeddial",
74+
"floating menu",
7075
"angular",
7176
"ng",
7277
"ej2-ng-buttons",
7378
"ng-button",
7479
"ng-checkbox",
7580
"ng-radiobutton",
76-
"ng-switch"
81+
"ng-switch",
82+
"ng-fab",
83+
"angular-fab",
84+
"ng-speeddial",
85+
"angular-speeddial"
7786
],
7887
"repository": {
7988
"type": "git",
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { NgModule, ValueProvider } from '@angular/core';
2+
import { CommonModule } from '@angular/common';
3+
import { FabComponent } from './fab.component';
4+
import { FabModule } from './fab.module';
5+
6+
7+
8+
9+
10+
/**
11+
* NgModule definition for the Fab component with providers.
12+
*/
13+
@NgModule({
14+
imports: [CommonModule, FabModule],
15+
exports: [
16+
FabModule
17+
],
18+
providers:[
19+
20+
]
21+
})
22+
export class FabAllModule { }
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
import { Component, ElementRef, ViewContainerRef, Renderer2, Injector, ChangeDetectionStrategy, QueryList, ValueProvider } from '@angular/core';
2+
import { ComponentBase, ComponentMixins, IComponentBase, applyMixins, PropertyCollectionInfo, setValue } from '@syncfusion/ej2-angular-base';
3+
import { Fab } from '@syncfusion/ej2-buttons';
4+
5+
6+
7+
export const inputs: string[] = ['content','cssClass','disabled','enableHtmlSanitizer','enablePersistence','enableRtl','iconCss','iconPosition','isPrimary','isToggle','locale','position','target','visible'];
8+
export const outputs: string[] = ['created'];
9+
export const twoWays: string[] = [];
10+
11+
/**
12+
* Represents the Angular Fab Component.
13+
* ```html
14+
* <button ejs-fab content='fab'></button>
15+
* ```
16+
*/
17+
@Component({
18+
selector: '[ejs-fab]',
19+
inputs: inputs,
20+
outputs: outputs,
21+
template: `<ng-content ></ng-content>`,
22+
changeDetection: ChangeDetectionStrategy.OnPush,
23+
queries: {
24+
25+
}
26+
})
27+
@ComponentMixins([ComponentBase])
28+
export class FabComponent extends Fab implements IComponentBase {
29+
public containerContext : any;
30+
public tagObjects: any;
31+
public created: any;
32+
33+
34+
35+
constructor(private ngEle: ElementRef, private srenderer: Renderer2, private viewContainerRef:ViewContainerRef, private injector: Injector) {
36+
super();
37+
this.element = this.ngEle.nativeElement;
38+
this.injectedModules = this.injectedModules || [];
39+
40+
this.registerEvents(outputs);
41+
this.addTwoWay.call(this, twoWays);
42+
setValue('currentInstance', this, this.viewContainerRef);
43+
this.containerContext = new ComponentBase();
44+
}
45+
46+
public ngOnInit() {
47+
this.containerContext.ngOnInit(this);
48+
}
49+
50+
public ngAfterViewInit(): void {
51+
this.containerContext.ngAfterViewInit(this);
52+
}
53+
54+
public ngOnDestroy(): void {
55+
this.containerContext.ngOnDestroy(this);
56+
}
57+
58+
public ngAfterContentChecked(): void {
59+
60+
this.containerContext.ngAfterContentChecked(this);
61+
}
62+
63+
public registerEvents: (eventList: string[]) => void;
64+
public addTwoWay: (propList: string[]) => void;
65+
}
66+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { NgModule } from '@angular/core';
2+
import { CommonModule } from '@angular/common';
3+
import { FabComponent } from './fab.component';
4+
5+
/**
6+
* NgModule definition for the Fab component.
7+
*/
8+
@NgModule({
9+
imports: [CommonModule],
10+
declarations: [
11+
FabComponent
12+
],
13+
exports: [
14+
FabComponent
15+
]
16+
})
17+
export class FabModule { }
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export { FabComponent} from './fab.component';
2+
export { FabModule } from './fab.module';
3+
export { FabAllModule } from './fab-all.module';

components/buttons/src/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@ export {ChipDirective,ChipsDirective} from './chips/chips.directive';
1414
export { ChipListComponent} from './chips/chiplist.component';
1515
export { ChipListModule } from './chips/chiplist.module';
1616
export { ChipListAllModule } from './chips/chiplist-all.module';
17+
export { FabComponent} from './floating-action-button/fab.component';
18+
export { FabModule } from './floating-action-button/fab.module';
19+
export { FabAllModule } from './floating-action-button/fab-all.module';
20+
export {SpeedDialItemDirective,SpeedDialItemsDirective} from './speed-dial/items.directive';
21+
export { SpeedDialComponent} from './speed-dial/speeddial.component';
22+
export { SpeedDialModule } from './speed-dial/speeddial.module';
23+
export { SpeedDialAllModule } from './speed-dial/speeddial-all.module';
1724
export * from '@syncfusion/ej2-buttons';
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export {SpeedDialItemDirective,SpeedDialItemsDirective} from './items.directive';
2+
export { SpeedDialComponent} from './speeddial.component';
3+
export { SpeedDialModule } from './speeddial.module';
4+
export { SpeedDialAllModule } from './speeddial-all.module';

0 commit comments

Comments
 (0)