Skip to content

Commit 6e2738c

Browse files
author
pipeline
committed
v16.4.52 is released
1 parent ab9fc8c commit 6e2738c

File tree

388 files changed

+2384
-1278
lines changed

Some content is hidden

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

388 files changed

+2384
-1278
lines changed

README.md

+1-1

components/base/CHANGELOG.md

+17-1

components/base/ReadMe.md

+1-1

components/base/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-angular-base",
3-
"version": "16.3.21",
3+
"version": "16.4.48",
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",
@@ -25,7 +25,7 @@
2525
},
2626
"dependencies": {
2727
"@syncfusion/ej2-base": "*",
28-
"zone.js": "^0.7.2",
28+
"zone.js": "0.7.2 - 0.8.28",
2929
"core-js": "^2.4.1",
3030
"reflect-metadata": "^0.1.9",
3131
"rxjs": "^5.0.0"

components/base/spec/app.pipe.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export class check implements PipeTransform {
99
return true;
1010
}
1111
}
12-
}
12+
}

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

-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ describe('=> Complex Component for pipe => ', () => {
122122

123123
});
124124

125-
126125
describe('=> Complex Component => ', () => {
127126
let comp: AppComponent;
128127
let fixture: ComponentFixture<AppComponent>;

components/base/spec/form-base.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ describe('Form Base Coverage Test', () => {
142142
});
143143
it("checking value type, if obj type do stringify", () => {
144144
let formCmpt: FormBase<any> = new FormBase();
145-
formCmpt.value = {value:{check:'hello'}};
145+
formCmpt.value = { value: { check: 'hello' } };
146146
formCmpt.writeValue(formCmpt.value);
147147
formCmpt.localChange(formCmpt.value);
148148
let check = formCmpt.objCheck;

components/base/spec/pipe.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ export class ControlComponent1 extends DemoBase implements IComponentBase {
113113

114114
}
115115

116-
export const pipeComponents = [check, ControlComponent1, ChildDirective, ChildsDirective, SubChildDirective, SubChildsDirective];
116+
export const pipeComponents = [check, ControlComponent1, ChildDirective, ChildsDirective, SubChildDirective, SubChildsDirective];

components/buttons/CHANGELOG.md

+7-9

components/buttons/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-angular-buttons",
3-
"version": "16.2.41",
3+
"version": "16.4.47",
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",
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const pkgName = '@syncfusion/ej2-angular-buttons';
2-
export const pkgVer = '^16.2.41';
2+
export const pkgVer = '^16.4.47';
33
export const moduleName = 'ButtonModule, CheckBoxModule, RadioButtonModule, SwitchModule, ChipListModule';
4-
export const themeVer = '~16.2.41';
4+
export const themeVer = '~16.4.47';

components/buttons/styles/button/highcontrast-light.scss

-1
This file was deleted.

components/buttons/styles/check-box/highcontrast-light.scss

-1
This file was deleted.

components/buttons/styles/chips/highcontrast-light.scss

-1
This file was deleted.

components/buttons/styles/highcontrast-light.scss

-5
This file was deleted.

components/buttons/styles/radio-button/highcontrast-light.scss

-1
This file was deleted.

components/buttons/styles/switch/highcontrast-light.scss

-1
This file was deleted.

components/calendars/CHANGELOG.md

+41-1

components/calendars/dist/ej2-angular-calendars.umd.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/calendars/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-angular-calendars",
3-
"version": "16.2.41",
3+
"version": "16.4.48",
44
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization. for Angular",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const componentName: string = 'calendar';
2+
export const sampleName: string = 'daterange';
3+
export const diModules: string = null;
4+
export const packageName: string = '@syncfusion/ej2-angular-calendars';
5+
export const libModules: string = 'CalendarModule';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/**
2+
* Calendar Date Range Sample
3+
*/
4+
import { Component, ViewEncapsulation } from '@angular/core';
5+
6+
@Component({
7+
selector: '<%=dasherize(selector)%>',
8+
templateUrl: '<%=dasherize(name)%>.component.html',
9+
styleUrls: ['<%=dasherize(name)%>.component.css'],
10+
encapsulation: ViewEncapsulation.None
11+
})
12+
13+
export class <%= classify(name) %>Component {
14+
public minDate: Object = new Date("05/05/2017");
15+
public maxDate: Object = new Date("05/27/2017");
16+
17+
onValueChange(args: any):void {
18+
/*Displays selected date in the label*/
19+
(<HTMLInputElement>document.getElementById('selected')).textContent = 'Selected Value: ' + args.value.toLocaleDateString();
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const componentName: string = 'calendar';
2+
export const sampleName: string = 'disableddates';
3+
export const diModules: string = null;
4+
export const packageName: string = '@syncfusion/ej2-angular-calendars';
5+
export const libModules: string = 'CalendarModule';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* Calendar Disabled dates Sample
3+
*/
4+
import { Component, ViewEncapsulation } from '@angular/core';
5+
6+
@Component({
7+
selector: '<%=dasherize(selector)%>',
8+
templateUrl: '<%=dasherize(name)%>.component.html',
9+
styleUrls: ['<%=dasherize(name)%>.component.css'],
10+
encapsulation: ViewEncapsulation.None
11+
})
12+
13+
export class <%= classify(name) %>Component {
14+
onLoad(args: any){
15+
/*Date need to be disabled*/
16+
if (args.date.getDay() === 0 || args.date.getDay() === 6) {
17+
args.isDisabled = true;
18+
}
19+
}
20+
onValueChange(args: any) {
21+
/*Displays selected date in the label*/
22+
(<HTMLInputElement>document.getElementById('selecteddisable')).textContent = 'Selected Value: ' + args.value.toLocaleDateString();
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const componentName: string = 'calendar';
2+
export const sampleName: string = 'multiselection';
3+
export const diModules: string = null;
4+
export const packageName: string = '@syncfusion/ej2-angular-calendars';
5+
export const libModules: string = 'CalendarModule';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/**
2+
* Calendar Multi selection Sample
3+
*/
4+
import { Component, ViewEncapsulation, ViewChild } from '@angular/core';
5+
import { Calendar } from '@syncfusion/ej2-calendars';
6+
7+
8+
@Component({
9+
selector: '<%=dasherize(selector)%>',
10+
templateUrl: '<%=dasherize(name)%>.component.html',
11+
styleUrls: ['<%=dasherize(name)%>.component.css'],
12+
encapsulation: ViewEncapsulation.None
13+
})
14+
15+
export class <%= classify(name) %>Component {
16+
public year: number = new Date().getFullYear();
17+
public month: number = new Date().getMonth();
18+
public multiSelection: boolean = true;
19+
@ViewChild('calendar')
20+
public calendarObj: Calendar;
21+
public dates: Date[] = [new Date(this.year, this.month, 10), new Date(this.year, this.month, 15), new Date(this.year, this.month, 25)];
22+
23+
onValueChange(): void {
24+
let element: HTMLElement = document.getElementById('multiSelect');
25+
let tag: HTMLElement = document.createElement('br');
26+
element.innerHTML = '';
27+
element.appendChild(tag);
28+
for (let index: number = 0; index < this.calendarObj.values.length; index++) {
29+
element.insertBefore(document.createTextNode(this.calendarObj.values[index].toString()), element.children[0]);
30+
element.insertBefore(document.createElement('br'), element.childNodes[0]);
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const componentName: string = 'calendar';
2+
export const sampleName: string = 'views';
3+
export const diModules: string = null;
4+
export const packageName: string = '@syncfusion/ej2-angular-calendars';
5+
export const libModules: string = 'CalendarModule';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* Calendar Views Sample
3+
*/
4+
import { Component, ViewEncapsulation } from '@angular/core';
5+
6+
@Component({
7+
selector: '<%=dasherize(selector)%>',
8+
templateUrl: '<%=dasherize(name)%>.component.html',
9+
styleUrls: ['<%=dasherize(name)%>.component.css'],
10+
encapsulation: ViewEncapsulation.None
11+
})
12+
13+
export class <%= classify(name) %>Component {
14+
public start: string = "Decade";
15+
public depth: string = "Year";
16+
onValueChange(args: any):void {
17+
/*Displays selected date in the label*/
18+
(<HTMLInputElement>document.getElementById('selectedviews')).textContent = 'Selected Value: ' + args.value.toLocaleDateString();
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const componentName: string = 'calendar';
2+
export const sampleName: string = 'weeknumber';
3+
export const diModules: string = null;
4+
export const packageName: string = '@syncfusion/ej2-angular-calendars';
5+
export const libModules: string = 'CalendarModule';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* Calendar Week number Sample
3+
*/
4+
import { Component, ViewEncapsulation } from '@angular/core';
5+
6+
@Component({
7+
selector: '<%=dasherize(selector)%>',
8+
templateUrl: '<%=dasherize(name)%>.component.html',
9+
styleUrls: ['<%=dasherize(name)%>.component.css'],
10+
encapsulation: ViewEncapsulation.None
11+
})
12+
13+
export class <%= classify(name) %>Component {
14+
public weeknumber: boolean = true;
15+
onValueChange(args: any):void {
16+
/*Displays selected date in the label*/
17+
(<HTMLInputElement>document.getElementById('selectedweek')).textContent = 'Selected Value: ' + args.value.toLocaleDateString();
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const componentName: string = 'datepicker';
2+
export const sampleName: string = 'daterange';
3+
export const diModules: string = null;
4+
export const packageName: string = '@syncfusion/ej2-angular-calendars';
5+
export const libModules: string = 'DatePickerModule';

0 commit comments

Comments
 (0)