Skip to content

Commit b2424ab

Browse files
author
pipeline
committed
v17.4.47 is released
1 parent 295f3e1 commit b2424ab

File tree

774 files changed

+18653
-5873
lines changed

Some content is hidden

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

774 files changed

+18653
-5873
lines changed

controls/barcodegenerator/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-barcode-generator",
3-
"version": "17.4.43",
3+
"version": "17.4.46",
44
"description": "Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

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 & 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.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 & 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.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/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.4.43",
3+
"version": "17.4.46",
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/src/util.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ export function extend(copied: Object, first: Object, second?: Object, deep?: bo
182182
let src: Object = result[key];
183183
let copy: Object = obj1[key];
184184
let clone: Object;
185-
let blazorEventExtend: any = isBlazor() ? !(src instanceof Event) : true;
185+
let isArrayChanged: Boolean = Array.isArray(copy) && Array.isArray(src) && (copy.length !== src.length);
186+
let blazorEventExtend: any = isBlazor() ? (!(src instanceof Event) && !isArrayChanged) : true;
186187
if (deep && blazorEventExtend && (isObject(copy) || Array.isArray(copy))) {
187188
if (isObject(copy)) {
188189
clone = src ? src : {};

controls/buttons/dist/ej2-buttons.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/buttons/dist/es6/ej2-buttons.es2015.js

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

controls/buttons/dist/es6/ej2-buttons.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/buttons/dist/es6/ej2-buttons.es5.js

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

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

controls/buttons/src/check-box/check-box.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ export class CheckBox extends Component<HTMLInputElement> implements INotifyProp
519519
* Click the CheckBox element
520520
* its native method
521521
* @public
522+
* @deprecated
522523
*/
523524
public click(): void {
524525
this.element.click();
@@ -528,6 +529,7 @@ export class CheckBox extends Component<HTMLInputElement> implements INotifyProp
528529
* Sets the focus to CheckBox
529530
* its native method
530531
* @public
532+
* @deprecated
531533
*/
532534
public focusIn(): void {
533535
this.element.focus();

controls/buttons/styles/button/_bootstrap-dark-definition.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ $btn-flat-border-color: $btn-border-color !default;
8888
$btn-flat-hover-color: $btn-hover-color !default;
8989
$btn-flat-focus-color: $btn-focus-color !default;
9090
$btn-flat-active-color: $btn-active-color !default;
91-
$btn-flat-box-shadow: transparent !default;
91+
$btn-flat-box-shadow: 10px 10px 10px rgba(0, 0, 0, .5) !default;
9292
$btn-flat-active-bgcolor: $btn-active-bgcolor !default;
9393
$btn-flat-bgcolor: $btn-bgcolor !default;
9494
$btn-flat-hover-bgcolor: $btn-hover-bgcolor !default;

controls/buttons/styles/button/_layout.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184

185185
& .e-icon-left {
186186
margin-left: 0;
187-
margin-right: btn-small-icon-margin;
187+
margin-right: $btn-small-icon-margin;
188188
}
189189
}
190190
}
@@ -266,7 +266,7 @@
266266

267267
& .e-icon-left {
268268
margin-left: 0;
269-
margin-right: btn-small-icon-margin;
269+
margin-right: $btn-small-icon-margin;
270270
}
271271
}
272272
}

controls/buttons/styles/button/_mixin.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
@mixin outline-active {
8080
@if $skin-name == 'bootstrap4' {
8181
background-color: $btn-bgcolor;
82-
border-color: none;
82+
border-color: transparent;
8383
$color-rgba: rgba(mix(lighten($btn-outline-active-bgcolor, 50%), $btn-outline-active-border-color, .15), .5);
8484
box-shadow: 0 0 0 .25em $color-rgba;
8585
}
@@ -104,7 +104,7 @@
104104
@mixin outline-primary-active {
105105
@if $skin-name == 'bootstrap4' {
106106
background-color: $btn-primary-bgcolor;
107-
border-color: none;
107+
border-color: transparent;
108108
$color-rgba: rgba(mix(lighten($btn-primary-active-bgcolor, 50%), $btn-outline-primary-active-border-color, .15), .5);
109109
box-shadow: 0 0 0 .25em $color-rgba;
110110
}
@@ -129,7 +129,7 @@
129129
@mixin outline-success-active {
130130
@if $skin-name == 'bootstrap4' {
131131
background-color: $btn-success-bgcolor;
132-
border-color: none;
132+
border-color: transparent;
133133
$color-rgba: rgba(mix(lighten($btn-success-active-bgcolor, 50%), $btn-success-active-border-color, .15), .5);
134134
box-shadow: 0 0 0 .25em $color-rgba;
135135
}
@@ -154,7 +154,7 @@
154154
@mixin outline-info-active {
155155
@if $skin-name == 'bootstrap4' {
156156
background-color: $btn-info-bgcolor;
157-
border-color: none;
157+
border-color: transparent;
158158
$color-rgba: rgba(mix(lighten($btn-info-active-bgcolor, 50%), $btn-info-active-border-color, .15), .5);
159159
box-shadow: 0 0 0 .25em $color-rgba;
160160
}
@@ -179,7 +179,7 @@
179179
@mixin outline-warning-active {
180180
@if $skin-name == 'bootstrap4' {
181181
background-color: $btn-warning-bgcolor;
182-
border-color: none;
182+
border-color: transparent;
183183
$color-rgba: rgba(mix(lighten($btn-warning-active-bgcolor, 50%), $btn-warning-active-border-color, .15), .5);
184184
box-shadow: 0 0 0 .25em $color-rgba;
185185
}
@@ -204,7 +204,7 @@
204204
@mixin outline-danger-active {
205205
@if $skin-name == 'bootstrap4' {
206206
background-color: $btn-danger-bgcolor;
207-
border-color: none;
207+
border-color: transparent;
208208
$color-rgba: rgba(mix(lighten($btn-danger-active-bgcolor, 50%), $btn-danger-active-border-color, .15), .5);
209209
box-shadow: 0 0 0 .25em $color-rgba;
210210
}

controls/buttons/styles/check-box/_bootstrap-dark-definition.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $cbox-key-focussed-bgcolor: transparent !default;
5555
$cbox-lineheight: 18px !default;
5656
$cbox-margin: 8px !default;
5757
$cbox-padding: 0 !default;
58-
$cbox-ripple-bgcolor: transperant !default;
58+
$cbox-ripple-bgcolor: transparent !default;
5959
$cbox-ripple-size: -9px !default;
6060
$cbox-ripple-height: 36px !default;
6161
$cbox-ripple-width: 36px !default;

controls/buttons/styles/check-box/_bootstrap-definition.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $cbox-indeterminate-lineheight: 18px !default;
5151
$cbox-lineheight: 18px !default;
5252
$cbox-margin: 8px !default;
5353
$cbox-padding: 0 !default;
54-
$cbox-ripple-bgcolor: transperant !default;
54+
$cbox-ripple-bgcolor: transparent !default;
5555
$cbox-small-check-fontsize: 8px !default;
5656
$cbox-small-font-size: 14px !default;
5757
$cbox-small-height: 14px !default;

controls/buttons/styles/check-box/_material-dark-definition.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//default
2-
$cbox-bgcolor: none !default;
2+
$cbox-bgcolor: transparent !default;
33
$cbox-bigger-check-fontsize: 16px !default;
44
$cbox-bigger-font-size: 14px !default;
55
$cbox-bigger-height: 22px !default;
@@ -45,7 +45,7 @@ $cbox-focussed-color: $grey-dark-font !default;
4545
$cbox-focussed-indeterminate-color: rgba($grey-white, .3) !default;
4646
$cbox-font-size: 13px !default;
4747
$cbox-height: 18px !default;
48-
$cbox-hover-bgcolor: none !default;
48+
$cbox-hover-bgcolor: transparent !default;
4949
$cbox-hover-border-color: rgba($grey-white, .7) !default;
5050
$cbox-hover-color: rgba($grey-white, .7) !default;
5151
$cbox-indeterminate-bgcolor: transparent !default;

controls/buttons/styles/switch/_material-dark-definition.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ $switch-transition-delay: .05s !default;
3131
$switch-inner-border-style: none !default;
3232
$switch-line-height: 0 !default;
3333
$switch-handle-margin: auto 0 !default;
34-
$switch-inner-active: none !default;
34+
$switch-inner-active: transparent !default;
3535
$switch-off-active-left: 100% !default;
3636
$switch-off-text-indent: -9999px !default;
3737
$switch-on-text-indent: -9999px !default;
@@ -46,7 +46,7 @@ $switch-inner-focus-off-bg: transparent !default;
4646
$switch-inner-focus-bg-color: transparent !default;
4747
$switch-checked-ripple-bg-color: rgba($grey-white, .12) !default;
4848
$switch-inner-bg: initial !default;
49-
$switch-hover-bg-color: none !default;
49+
$switch-hover-bg-color: transparent !default;
5050
$switch-ripple-bg-color: rgba($accent, .12) !default;
5151
$switch-active-background: $accent !default;
5252
$switch-on-bg-color: $accent !default;
@@ -64,7 +64,7 @@ $switch-handle-off-hover-bg-color: $grey-500 !default;
6464
$switch-handle-bg-color: $grey-500 !default;
6565
$switch-handle-shadow-disabled: none !default;
6666
$switch-off-bg-color: rgba($grey-white, .42) !default;
67-
$switch-inner-active-bg: none !default;
67+
$switch-inner-active-bg: transparent !default;
6868
$switch-inner-on-font-color: #fff !default;
6969
$switch-inner-off-font-color: #fff !default;
7070
$switch-handle-disabled-bg-color: $grey-700 !default;

controls/buttons/styles/switch/_material-definition.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $switch-line-height: 0 !default;
3030
$switch-handle-margin: auto 0 !default;
3131
$switch-handle-transition: all .2s linear !default;
3232
$switch-inner-transition: all .08s linear !default;
33-
$switch-inner-active: none !default;
33+
$switch-inner-active: transparent !default;
3434
$switch-off-active-left: 100% !default;
3535
$switch-off-text-indent: -9999px !default;
3636
$switch-on-text-indent: -9999px !default;
@@ -42,7 +42,7 @@ $switch-on-off-hover-bg-color: rgba($accent, .54) !default;
4242
$switch-inner-focus-bg-color: transparent !default;
4343
$switch-checked-ripple-bg-color: rgba($grey-black, .12) !default;
4444
$switch-inner-bg: initial !default;
45-
$switch-hover-bg-color: none !default;
45+
$switch-hover-bg-color: transparent !default;
4646
$switch-inner-focus-off-bg: transparent !default;
4747
$switch-ripple-bg-color: rgba($accent, .12) !default;
4848
$switch-active-background: $accent !default;

controls/calendars/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22

33
## [Unreleased]
44

5+
## 17.4.47 (2020-02-05)
6+
7+
### DatePicker
8+
9+
#### Bug Fixes
10+
11+
- `#260342` - Issue with "input not focus while already opened the another datepicker" has been resolved.
12+
513
## 17.4.46 (2020-01-30)
614

715
### DatePicker
816

917
#### Bug Fixes
1018

1119
- `#260342` - Issue with "datepicker popup not closed while use `shift+tab`" has been resolved.
12-
- `#260342` - Issue with "input not getting focus while opened the another datepicker popup" has been resolved.
1320

1421
## 17.4.43 (2020-01-14)
1522

controls/calendars/dist/ej2-calendars.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/calendars/dist/ej2-calendars.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/calendars/dist/es6/ej2-calendars.es2015.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,12 @@ let CalendarBase = class CalendarBase extends Component {
408408
}
409409
}
410410
}
411+
checkDeviceMode(ref) {
412+
if (Browser.isDevice && isBlazor() && ref) {
413+
// tslint:disable-next-line
414+
ref.invokeMethodAsync('OnDevice', true);
415+
}
416+
}
411417
// tslint:disable-next-line:max-func-body-length
412418
keyActionHandle(e, value, multiSelection) {
413419
if (isBlazor() && this.blazorRef) {
@@ -3445,7 +3451,8 @@ let DatePicker = class DatePicker extends Calendar {
34453451
this.isPopupClicked = false;
34463452
}
34473453
documentHandler(e) {
3448-
if ((!isNullOrUndefined(this.popupObj) && this.inputWrapper.container.contains(e.target)) && e.type !== 'touchstart') {
3454+
if ((!isNullOrUndefined(this.popupObj) && (this.inputWrapper.container.contains(e.target) ||
3455+
(this.popupObj.element && this.popupObj.element.contains(e.target)))) && e.type !== 'touchstart') {
34493456
e.preventDefault();
34503457
}
34513458
let target = e.target;
@@ -10568,11 +10575,11 @@ let TimePicker = class TimePicker extends Component {
1056810575
append([this.listTag], this.listWrapper);
1056910576
}
1057010577
documentClickHandler(event) {
10571-
if ((!isNullOrUndefined(this.popupObj) && this.inputWrapper.container.contains(event.target)) &&
10572-
event.type !== 'touchstart') {
10578+
let target = event.target;
10579+
if ((isNullOrUndefined(this.popupObj) && this.inputWrapper.container.contains(target) || (this.popupObj.element
10580+
&& this.popupObj.element.contains(target))) && event.type !== 'touchstart') {
1057310581
event.preventDefault();
1057410582
}
10575-
let target = event.target;
1057610583
if (!(closest(target, '#' + this.popupObj.element.id)) && target !== this.inputElement
1057710584
&& target !== (this.inputWrapper && this.inputWrapper.buttons[0]) &&
1057810585
target !== (this.inputWrapper && this.inputWrapper.clearButton) &&
@@ -10585,10 +10592,6 @@ let TimePicker = class TimePicker extends Component {
1058510592
else if (target !== this.inputElement) {
1058610593
if (!Browser.isDevice) {
1058710594
this.isPreventBlur = (Browser.isIE || Browser.info.name === 'edge') && (document.activeElement === this.inputElement);
10588-
if ((!isNullOrUndefined(this.popupObj) && this.inputWrapper.container.contains(event.target)) &&
10589-
event.type !== 'touchstart') {
10590-
event.preventDefault();
10591-
}
1059210595
}
1059310596
}
1059410597
}

controls/calendars/dist/es6/ej2-calendars.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/calendars/dist/es6/ej2-calendars.es5.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,12 @@ var CalendarBase = /** @__PURE__ @class */ (function (_super) {
424424
}
425425
}
426426
};
427+
CalendarBase.prototype.checkDeviceMode = function (ref) {
428+
if (Browser.isDevice && isBlazor() && ref) {
429+
// tslint:disable-next-line
430+
ref.invokeMethodAsync('OnDevice', true);
431+
}
432+
};
427433
// tslint:disable-next-line:max-func-body-length
428434
CalendarBase.prototype.keyActionHandle = function (e, value, multiSelection) {
429435
if (isBlazor() && this.blazorRef) {
@@ -3486,7 +3492,8 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
34863492
this.isPopupClicked = false;
34873493
};
34883494
DatePicker.prototype.documentHandler = function (e) {
3489-
if ((!isNullOrUndefined(this.popupObj) && this.inputWrapper.container.contains(e.target)) && e.type !== 'touchstart') {
3495+
if ((!isNullOrUndefined(this.popupObj) && (this.inputWrapper.container.contains(e.target) ||
3496+
(this.popupObj.element && this.popupObj.element.contains(e.target)))) && e.type !== 'touchstart') {
34903497
e.preventDefault();
34913498
}
34923499
var target = e.target;
@@ -10680,11 +10687,11 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
1068010687
append([this.listTag], this.listWrapper);
1068110688
};
1068210689
TimePicker.prototype.documentClickHandler = function (event) {
10683-
if ((!isNullOrUndefined(this.popupObj) && this.inputWrapper.container.contains(event.target)) &&
10684-
event.type !== 'touchstart') {
10690+
var target = event.target;
10691+
if ((isNullOrUndefined(this.popupObj) && this.inputWrapper.container.contains(target) || (this.popupObj.element
10692+
&& this.popupObj.element.contains(target))) && event.type !== 'touchstart') {
1068510693
event.preventDefault();
1068610694
}
10687-
var target = event.target;
1068810695
if (!(closest(target, '#' + this.popupObj.element.id)) && target !== this.inputElement
1068910696
&& target !== (this.inputWrapper && this.inputWrapper.buttons[0]) &&
1069010697
target !== (this.inputWrapper && this.inputWrapper.clearButton) &&
@@ -10697,10 +10704,6 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
1069710704
else if (target !== this.inputElement) {
1069810705
if (!Browser.isDevice) {
1069910706
this.isPreventBlur = (Browser.isIE || Browser.info.name === 'edge') && (document.activeElement === this.inputElement);
10700-
if ((!isNullOrUndefined(this.popupObj) && this.inputWrapper.container.contains(event.target)) &&
10701-
event.type !== 'touchstart') {
10702-
event.preventDefault();
10703-
}
1070410707
}
1070510708
}
1070610709
};

controls/calendars/dist/es6/ej2-calendars.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/calendars/dist/global/ej2-calendars.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/calendars/dist/global/ej2-calendars.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/calendars/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-calendars",
3-
"version": "17.4.44",
3+
"version": "17.4.46",
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.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

0 commit comments

Comments
 (0)