Skip to content

Commit 3a42b2b

Browse files
author
pipeline
committed
v17.3.30 is released
1 parent 326a5b3 commit 3a42b2b

File tree

142 files changed

+5238
-1324
lines changed

Some content is hidden

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

142 files changed

+5238
-1324
lines changed

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: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4544,7 +4544,7 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
45444544
this.setProperties({ startDate: this.startValue }, true);
45454545
this.setProperties({ endDate: this.endValue }, true);
45464546
this.setModelValue();
4547-
this.updateDataAttribute(false);
4547+
this.setDataAttribute(false);
45484548
this.renderComplete();
45494549
}
45504550
/**
@@ -4741,20 +4741,20 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
47414741
this.setRangeAllowEdit();
47424742
this.bindEvents();
47434743
}
4744-
updateDataAttribute(isDynamic) {
4745-
let attr = {};
4744+
setDataAttribute(isDynamic) {
4745+
let attributes$$1 = {};
47464746
if (!isDynamic) {
4747-
for (let a = 0; a < this.element.attributes.length; a++) {
4748-
attr[this.element.attributes[a].name] = this.element.getAttribute(this.element.attributes[a].name);
4747+
for (let i = 0; i < this.element.attributes.length; i++) {
4748+
attributes$$1[this.element.attributes[i].name] = this.element.getAttribute(this.element.attributes[i].name);
47494749
}
47504750
}
47514751
else {
4752-
attr = this.htmlAttributes;
4752+
attributes$$1 = this.htmlAttributes;
47534753
}
4754-
for (let key of Object.keys(attr)) {
4755-
if (key.indexOf('data') === 0) {
4756-
this.firstHiddenChild.setAttribute(key, attr[key]);
4757-
this.secondHiddenChild.setAttribute(key, attr[key]);
4754+
for (let pro of Object.keys(attributes$$1)) {
4755+
if (pro.indexOf('data') === 0) {
4756+
this.firstHiddenChild.setAttribute(pro, attributes$$1[pro]);
4757+
this.secondHiddenChild.setAttribute(pro, attributes$$1[pro]);
47584758
}
47594759
}
47604760
}
@@ -7139,7 +7139,7 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
71397139
this.renderCustomPopup();
71407140
}
71417141
else {
7142-
this.applyPresetRange(values);
7142+
this.applyPresetRange(values, event);
71437143
}
71447144
}
71457145
}
@@ -7153,16 +7153,16 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
71537153
setValue() {
71547154
this.modelValue = [this.startValue, this.endValue];
71557155
}
7156-
applyPresetRange(values) {
7156+
applyPresetRange(values, e) {
71577157
this.hide(null);
71587158
this.presetsItem[this.presetsItem.length - 1].start = null;
71597159
this.presetsItem[this.presetsItem.length - 1].end = null;
71607160
this.startValue = values.start;
71617161
this.endValue = values.end;
71627162
this.setValue();
71637163
this.refreshControl();
7164-
this.trigger('select', this.rangeArgs(null));
7165-
this.changeTrigger();
7164+
this.trigger('select', this.rangeArgs(e));
7165+
this.changeTrigger(e);
71667166
this.previousEleValue = this.inputElement.value;
71677167
this.isCustomRange = false;
71687168
this.leftCalendar = this.rightCalendar = null;
@@ -8406,7 +8406,7 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
84068406
case 'htmlAttributes':
84078407
this.updateHtmlAttributeToElement();
84088408
this.updateHtmlAttributeToWrapper();
8409-
this.updateDataAttribute(true);
8409+
this.setDataAttribute(true);
84108410
this.checkHtmlAttributes(true);
84118411
break;
84128412
case 'showClearButton':

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: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4611,7 +4611,7 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
46114611
this.setProperties({ startDate: this.startValue }, true);
46124612
this.setProperties({ endDate: this.endValue }, true);
46134613
this.setModelValue();
4614-
this.updateDataAttribute(false);
4614+
this.setDataAttribute(false);
46154615
this.renderComplete();
46164616
};
46174617
/**
@@ -4808,21 +4808,21 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
48084808
this.setRangeAllowEdit();
48094809
this.bindEvents();
48104810
};
4811-
DateRangePicker.prototype.updateDataAttribute = function (isDynamic) {
4812-
var attr = {};
4811+
DateRangePicker.prototype.setDataAttribute = function (isDynamic) {
4812+
var attributes$$1 = {};
48134813
if (!isDynamic) {
4814-
for (var a = 0; a < this.element.attributes.length; a++) {
4815-
attr[this.element.attributes[a].name] = this.element.getAttribute(this.element.attributes[a].name);
4814+
for (var i = 0; i < this.element.attributes.length; i++) {
4815+
attributes$$1[this.element.attributes[i].name] = this.element.getAttribute(this.element.attributes[i].name);
48164816
}
48174817
}
48184818
else {
4819-
attr = this.htmlAttributes;
4819+
attributes$$1 = this.htmlAttributes;
48204820
}
4821-
for (var _i = 0, _a = Object.keys(attr); _i < _a.length; _i++) {
4822-
var key = _a[_i];
4823-
if (key.indexOf('data') === 0) {
4824-
this.firstHiddenChild.setAttribute(key, attr[key]);
4825-
this.secondHiddenChild.setAttribute(key, attr[key]);
4821+
for (var _i = 0, _a = Object.keys(attributes$$1); _i < _a.length; _i++) {
4822+
var pro = _a[_i];
4823+
if (pro.indexOf('data') === 0) {
4824+
this.firstHiddenChild.setAttribute(pro, attributes$$1[pro]);
4825+
this.secondHiddenChild.setAttribute(pro, attributes$$1[pro]);
48264826
}
48274827
}
48284828
};
@@ -7224,7 +7224,7 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
72247224
this.renderCustomPopup();
72257225
}
72267226
else {
7227-
this.applyPresetRange(values);
7227+
this.applyPresetRange(values, event);
72287228
}
72297229
}
72307230
};
@@ -7238,16 +7238,16 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
72387238
DateRangePicker.prototype.setValue = function () {
72397239
this.modelValue = [this.startValue, this.endValue];
72407240
};
7241-
DateRangePicker.prototype.applyPresetRange = function (values) {
7241+
DateRangePicker.prototype.applyPresetRange = function (values, e) {
72427242
this.hide(null);
72437243
this.presetsItem[this.presetsItem.length - 1].start = null;
72447244
this.presetsItem[this.presetsItem.length - 1].end = null;
72457245
this.startValue = values.start;
72467246
this.endValue = values.end;
72477247
this.setValue();
72487248
this.refreshControl();
7249-
this.trigger('select', this.rangeArgs(null));
7250-
this.changeTrigger();
7249+
this.trigger('select', this.rangeArgs(e));
7250+
this.changeTrigger(e);
72517251
this.previousEleValue = this.inputElement.value;
72527252
this.isCustomRange = false;
72537253
this.leftCalendar = this.rightCalendar = null;
@@ -8496,7 +8496,7 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
84968496
case 'htmlAttributes':
84978497
this.updateHtmlAttributeToElement();
84988498
this.updateHtmlAttributeToWrapper();
8499-
this.updateDataAttribute(true);
8499+
this.setDataAttribute(true);
85008500
this.checkHtmlAttributes(true);
85018501
break;
85028502
case 'showClearButton':

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/src/daterangepicker/daterangepicker.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ export class DateRangePicker extends CalendarBase {
693693
this.setProperties({ startDate: this.startValue }, true);
694694
this.setProperties({ endDate: this.endValue }, true);
695695
this.setModelValue();
696-
this.updateDataAttribute(false);
696+
this.setDataAttribute(false);
697697
this.renderComplete();
698698
}
699699
/**
@@ -869,19 +869,19 @@ export class DateRangePicker extends CalendarBase {
869869
this.bindEvents();
870870
}
871871

872-
private updateDataAttribute(isDynamic: boolean) : void {
873-
let attr: { [key: string]: string; } = {};
872+
private setDataAttribute(isDynamic: boolean) : void {
873+
let attributes: { [key: string]: string; } = {};
874874
if (!isDynamic) {
875-
for (let a: number = 0; a < this.element.attributes.length; a++) {
876-
attr[this.element.attributes[a].name] = this.element.getAttribute(this.element.attributes[a].name);
875+
for (let i: number = 0; i < this.element.attributes.length; i++) {
876+
attributes[this.element.attributes[i].name] = this.element.getAttribute(this.element.attributes[i].name);
877877
}
878878
} else {
879-
attr = this.htmlAttributes;
879+
attributes = this.htmlAttributes;
880880
}
881-
for (let key of Object.keys(attr)) {
882-
if (key.indexOf('data') === 0 ) {
883-
this.firstHiddenChild.setAttribute(key, attr[key]);
884-
this.secondHiddenChild.setAttribute(key, attr[key]);
881+
for (let pro of Object.keys(attributes)) {
882+
if (pro.indexOf('data') === 0 ) {
883+
this.firstHiddenChild.setAttribute(pro, attributes[pro]);
884+
this.secondHiddenChild.setAttribute(pro, attributes[pro]);
885885
}
886886
}
887887
}
@@ -1991,7 +1991,7 @@ export class DateRangePicker extends CalendarBase {
19911991
}
19921992
}
19931993
}
1994-
private rangeArgs(e: MouseEvent | KeyboardEvent | TouchEvent): RangeEventArgs {
1994+
private rangeArgs(e: MouseEvent | KeyboardEvent | TouchEvent | KeyboardEventArgs): RangeEventArgs {
19951995
let inputValue: string;
19961996
let range: number;
19971997
let startDate: string = !isNullOrUndefined(this.startValue) ?
@@ -3172,7 +3172,7 @@ export class DateRangePicker extends CalendarBase {
31723172
if (values.id === 'custom_range') {
31733173
this.renderCustomPopup();
31743174
} else {
3175-
this.applyPresetRange(values);
3175+
this.applyPresetRange(values, event);
31763176
}
31773177
}
31783178
}
@@ -3186,16 +3186,16 @@ export class DateRangePicker extends CalendarBase {
31863186
private setValue(): void {
31873187
this.modelValue = [this.startValue, this.endValue];
31883188
}
3189-
private applyPresetRange(values: { [key: string]: Object }): void {
3189+
private applyPresetRange(values: { [key: string]: Object }, e: MouseEvent | KeyboardEventArgs): void {
31903190
this.hide(null);
31913191
this.presetsItem[this.presetsItem.length - 1].start = null;
31923192
this.presetsItem[this.presetsItem.length - 1].end = null;
31933193
this.startValue = <Date>values.start;
31943194
this.endValue = <Date>values.end;
31953195
this.setValue();
31963196
this.refreshControl();
3197-
this.trigger('select', this.rangeArgs(null));
3198-
this.changeTrigger();
3197+
this.trigger('select', this.rangeArgs(e));
3198+
this.changeTrigger(e);
31993199
this.previousEleValue = this.inputElement.value;
32003200
this.isCustomRange = false;
32013201
this.leftCalendar = this.rightCalendar = null;
@@ -3919,7 +3919,7 @@ export class DateRangePicker extends CalendarBase {
39193919
this.firstHiddenChild.dispatchEvent(evt);
39203920
}
39213921

3922-
private changeTrigger(e?: MouseEvent | KeyboardEvent): void {
3922+
private changeTrigger(e?: MouseEvent | KeyboardEvent | KeyboardEventArgs): void {
39233923
if (+ this.initStartDate !== +this.startValue || +this.initEndDate !== +this.endValue) {
39243924
this.setProperties({ endDate: this.checkDateValue(this.endValue) }, true);
39253925
this.setProperties({ startDate: this.checkDateValue(this.startValue) }, true);
@@ -4405,7 +4405,7 @@ export class DateRangePicker extends CalendarBase {
44054405
case 'htmlAttributes':
44064406
this.updateHtmlAttributeToElement();
44074407
this.updateHtmlAttributeToWrapper();
4408-
this.updateDataAttribute(true);
4408+
this.setDataAttribute(true);
44094409
this.checkHtmlAttributes(true);
44104410
break;
44114411
case 'showClearButton':

controls/charts/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.3.30 (2019-12-03)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#256664` - Polar and radar axis labels overlapping with legend issue fixed.
12+
513
## 17.3.28 (2019-11-19)
614

715
### Chart

0 commit comments

Comments
 (0)