Skip to content

Commit bfdd396

Browse files
author
pipeline
committed
v17.1.38 is released
1 parent 50b8885 commit bfdd396

File tree

2,460 files changed

+180484
-26178
lines changed

Some content is hidden

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

2,460 files changed

+180484
-26178
lines changed

controls/base/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 17.1.38 (2019-03-29)
6+
7+
### Common
8+
9+
#### New Features
10+
11+
- Provided the Bootstrap 4 support
12+
513
## 17.1.32-beta (2019-03-13)
614

715
### Common

controls/base/dist/ej2-base.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/ej2-base.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es2015.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es2015.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es5.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/es6/ej2-base.es5.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/global/ej2-base.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/dist/global/ej2-base.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controls/base/helpers/e2e/base.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/**
32
* Base E2E Helper Function
43
*/
@@ -12,15 +11,15 @@ export abstract class TestHelper {
1211
}
1312

1413
public setModel(property: string, value: any) {
15-
return Mapper.setModel(this.id, this.selector, property, value);
14+
return Mapper.setModel(this.id, this.selector.bind(this), property, value);
1615
}
1716

1817
public getModel(property: string, ) {
19-
return Mapper.getModel(this.id, this.selector, property);
18+
return Mapper.getModel(this.id, this.selector.bind(this), property);
2019
}
2120

2221
public invoke(fName: string, args: any[] = []) {
23-
return Mapper.invoke(this.id, this.selector, fName, args);
22+
return Mapper.invoke(this.id, this.selector.bind(this), fName, args);
2423
}
2524

2625
public eventHandler(eventName: string, callback: any) {

controls/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-base",
3-
"version": "17.1.1",
3+
"version": "17.1.32",
44
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/base/spec/template.spec.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,16 @@ describe('Template', () => {
173173
result.push(createElement('div', { innerHTML: '' }));
174174
expect(outDOM(template.compile(templateStr), dsJSONSubArray)).toEqual(result);
175175
});
176-
176+
it('multiple string pass in the template engine',()=>{
177+
let data: object = { name: 'Aston Martin',val: 'hi' };
178+
let getDOMString: (data: object) => any = template.compile('<div>${name,val}</div>');
179+
let output: any = getDOMString(data);
180+
expect(output).toEqual("<div>Aston Martinhi</div>");
181+
});
182+
it('single string pass in the template engine',()=>{
183+
let data: object = { name: 'Aston Martin',val: 'hi' };
184+
let getDOMString: (data: object) => any = template.compile('<div>${name}</div>');
185+
let output: any = getDOMString(data);
186+
expect(output).toEqual("<div>Aston Martin</div>");
187+
});
177188
});

controls/base/src/component-model.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface ComponentModel {
1919

2020
/**
2121
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
22-
* @default undefined
22+
* @default ''
2323
*/
2424
locale?: string;
2525

controls/base/src/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export abstract class Component<ElementType extends HTMLElement> extends Base<El
3333
public enableRtl: boolean;
3434
/**
3535
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
36-
* @default undefined
36+
* @default ''
3737
*/
3838
@Property()
3939
public locale: string;

controls/base/src/template.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function evalExp(str: string, nameSpace: string, helper?: Object): string {
119119
cnt.replace(
120120
rlStr,
121121
addNameSpace(
122-
matches[1].replace(',', nameSpace + '.'),
122+
matches[1].replace(',', '+' + nameSpace + '.'),
123123
(fNameSpace === 'global' ? false : true),
124124
nameSpace,
125125
localKeys
@@ -136,7 +136,9 @@ function evalExp(str: string, nameSpace: string, helper?: Object): string {
136136
cnt = cnt.replace(IF_OR_FOR, '"; \n } \n str = str + "');
137137
} else {
138138
// evaluate normal expression
139-
cnt = '"+' + addNameSpace(cnt, (localKeys.indexOf(cnt) === -1), nameSpace, localKeys) + '+"';
139+
cnt = '"+' + addNameSpace(
140+
cnt.replace(/\,/gi, '+' + nameSpace + '.'),
141+
(localKeys.indexOf(cnt) === -1), nameSpace, localKeys) + '+"';
140142
}
141143
return cnt;
142144
});

controls/base/styles/_bootstrap-dark-definition.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import 'common/mixin.scss';
22
@import 'definition/bootstrap-dark.scss';
33

4-
$skin: '' !default;
54
$font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif, '-apple-system', 'BlinkMacSystemFont' !default;
65
$font-size: 12px !default;
76
$font-weight: normal !default;

controls/base/styles/_bootstrap-definition.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import 'common/mixin.scss';
22
@import 'definition/bootstrap.scss';
33

4-
$skin: '' !default;
54
$font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif, '-apple-system', 'BlinkMacSystemFont' !default;
65
$font-size: 12px !default;
76
$font-weight: normal !default;

controls/base/styles/_bootstrap4-definition.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import 'common/mixin.scss';
22
@import 'definition/bootstrap4.scss';
33

4-
$skin: '' !default;
54
$font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif, '-apple-system', 'BlinkMacSystemFont' !default;
65
$font-size: 12px !default;
76
$font-weight: normal !default;

controls/base/styles/_fabric-dark-definition.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import 'common/mixin.scss';
22
@import 'definition/fabric-dark.scss';
33

4-
$skin: '' !default;
54
$font-family: 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif, '-apple-system', 'BlinkMacSystemFont' !default;
65
$font-size: 14px !default;
76
$font-weight: normal !default;

controls/base/styles/_fabric-definition.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import 'common/mixin.scss';
22
@import 'definition/fabric.scss';
33

4-
$skin: '' !default;
4+
55
$font-family: 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif, '-apple-system', 'BlinkMacSystemFont' !default;
66
$font-size: 14px !default;
77
$font-weight: normal !default;

controls/base/styles/_highcontrast-definition.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import 'common/mixin.scss';
22
@import 'definition/highcontrast.scss';
33

4-
$skin: '' !default;
54
$font-family: 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif, '-apple-system', 'BlinkMacSystemFont' !default;
65
$font-size: 12px !default;
76
$font-weight: normal !default;

controls/base/styles/_highcontrast-light-definition.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import 'common/mixin.scss';
22
@import 'definition/highcontrast-light.scss';
33

4-
$skin: '' !default;
54
$font-family: 'Segoe UI', 'GeezaPro', 'DejaVu Serif', sans-serif, '-apple-system', 'BlinkMacSystemFont' !default;
65
$font-size: 12px !default;
76
$font-weight: normal !default;

controls/base/styles/_material-dark-definition.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
}
88

99
$is-roboto-loaded: 'true' !default;
10-
$skin: '' !default;
1110
$font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', 'sans-serif', '-apple-system', 'BlinkMacSystemFont' !default;
1211
$font-size: 12px !default;
1312
$font-weight: normal !default;

controls/base/styles/_material-definition.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
}
88

99
$is-roboto-loaded: 'true' !default;
10-
$skin: '' !default;
1110
$font-family: 'Roboto', 'Segoe UI', 'GeezaPro', 'DejaVu Serif', 'sans-serif', '-apple-system', 'BlinkMacSystemFont' !default;
1211
$font-size: 12px !default;
1312
$font-weight: normal !default;

controls/base/styles/bootstrap4.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@import 'ej2-icons/styles/bootstrap4.scss';
2+
@import 'bootstrap4-definition.scss';
3+
@import 'all.scss';
Lines changed: 60 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,60 @@
1-
$brand-primary: #0070f0;
2-
$brand-primary-darken-10: darken($brand-primary, 10%);
3-
$brand-primary-darken-15: darken($brand-primary, 20%);
4-
$brand-primary-darken-25: darken($brand-primary, 30%);
5-
$brand-primary-darken-35: darken($brand-primary, 40%);
6-
$brand-primary-lighten-10: lighten($brand-primary, 10%);
7-
$brand-primary-lighten-15: lighten($brand-primary, 15%);
8-
$brand-primary-lighten-20: lighten($brand-primary, 20%);
9-
$brand-primary-lighten-30: lighten($brand-primary, 30%);
10-
$brand-primary-lighten-40: lighten($brand-primary, 40%);
11-
$brand-primary-font: #fff;
12-
$grey-base: #1a1a1a;
13-
$grey-darker: #131313;
14-
$grey-dark: #2a2a2a;
15-
$grey: #313131;
16-
$grey-light: #393939;
17-
$grey-44: #414141;
18-
$grey-88: #484848;
19-
$grey-99: #505050;
20-
$grey-8c: #585858;
21-
$grey-ad: #676767;
22-
$grey-dark-font: #f0f0f0;
23-
$grey-white: #6e6e6e;
24-
$grey-lighter: #767676;
25-
$grey-f9: #7e7e7e;
26-
$grey-f8: #858585;
27-
$grey-f5: #8d8d8d;
28-
$grey-e6: #959595;
29-
$grey-dd: #9c9c9c;
30-
$grey-d4: #a4a4a4;
31-
$grey-cc: #acacac;
32-
$grey-light-font: #fff;
33-
$brand-success: #48b14c;
34-
$brand-success-dark: #358238;
35-
$brand-info: #2aaac0;
36-
$brand-info-dark: #208090;
37-
$brand-warning: #fac168;
38-
$brand-warning-dark: #f9ad37;
39-
$brand-danger: #d44f4f;
40-
$brand-danger-dark: #c12f2f;
41-
$brand-success-light: #dff0d8;
42-
$brand-info-light: #d9edf7;
43-
$brand-warning-light: #fcf8e3;
44-
$brand-danger-light: #f2dede;
45-
$input-border-focus: #104888;
46-
$brand-success-font: #2f7432;
47-
$brand-info-font: #1a6c7a;
48-
$brand-warning-font: #9d6106;
49-
$brand-danger-font: #ac2a2a;
50-
$base-font: #000;
51-
$shadow: #000;
1+
$brand-primary: #0070f0 !default;
2+
$brand-primary-darken-10: darken($brand-primary, 10%) !default;
3+
$brand-primary-darken-15: darken($brand-primary, 20%) !default;
4+
$brand-primary-darken-25: darken($brand-primary, 30%) !default;
5+
$brand-primary-darken-35: darken($brand-primary, 40%) !default;
6+
$brand-primary-lighten-10: lighten($brand-primary, 10%) !default;
7+
$brand-primary-lighten-15: lighten($brand-primary, 15%) !default;
8+
$brand-primary-lighten-20: lighten($brand-primary, 20%) !default;
9+
$brand-primary-lighten-30: lighten($brand-primary, 30%) !default;
10+
$brand-primary-lighten-40: lighten($brand-primary, 40%) !default;
11+
$brand-primary-font: #fff !default;
12+
$gray-base: #1a1a1a !default;
13+
$gray-darker: #131313 !default;
14+
$gray-dark: #2a2a2a !default;
15+
$gray: #313131 !default;
16+
$gray-light: #393939 !default;
17+
$grey-44: #414141 !default;
18+
$grey-88: #484848 !default;
19+
$grey-99: #505050 !default;
20+
$grey-8c: #585858 !default;
21+
$grey-ad: #676767 !default;
22+
$grey-dark-font: #f0f0f0 !default;
23+
$grey-white: #6e6e6e !default;
24+
$grey-lighter: #767676 !default;
25+
$grey-f9: #7e7e7e !default;
26+
$grey-f8: #858585 !default;
27+
$grey-f5: #8d8d8d !default;
28+
$grey-e6: #959595 !default;
29+
$grey-dd: #9c9c9c !default;
30+
$grey-d4: #a4a4a4 !default;
31+
$grey-cc: #acacac !default;
32+
$grey-light-font: #fff !default;
33+
$brand-success: #48b14c !default;
34+
$brand-success-dark: #358238 !default;
35+
$brand-info: #2aaac0 !default;
36+
$brand-info-dark: #208090 !default;
37+
$brand-warning: #fac168 !default;
38+
$brand-warning-dark: #f9ad37 !default;
39+
$brand-danger: #d44f4f !default;
40+
$brand-danger-dark: #c12f2f !default;
41+
$brand-success-light: #dff0d8 !default;
42+
$brand-info-light: #d9edf7 !default;
43+
$brand-warning-light: #fcf8e3 !default;
44+
$brand-danger-light: #f2dede !default;
45+
$input-border-focus: #104888 !default;
46+
$brand-success-font: #2f7432 !default;
47+
$brand-info-font: #1a6c7a !default;
48+
$brand-warning-font: #9d6106 !default;
49+
$brand-danger-font: #ac2a2a !default;
50+
$base-font: #000 !default;
51+
$shadow: #000 !default;
52+
53+
// mapping Bootstrap variables
54+
$grey-base: $gray-base !default;
55+
$grey-darker: $gray-darker !default;
56+
$grey-dark: $gray-dark !default;
57+
$grey: $gray !default;
58+
$grey-light: $gray-light !default;
59+
$grey-lighter: $gray-lighter !default;
60+
$skin-name: 'bootstrap-dark' !default;

0 commit comments

Comments
 (0)