Skip to content

Commit 560ca22

Browse files
author
pipeline
committed
v1.0 is released
1 parent 96eae86 commit 560ca22

File tree

460 files changed

+9869
-5087
lines changed

Some content is hidden

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

460 files changed

+9869
-5087
lines changed

controls/barcodegenerator/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 17.4.49 (2020-02-11)
5+
## 1.0 (2020-02-18)
66

77
### Barcode
88

controls/buttons/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 17.4.49 (2020-02-11)
5+
## 1.0 (2020-02-18)
66

77
### Button
88

controls/calendars/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+
## 1.0 (2020-02-18)
6+
7+
### Calendar
8+
9+
#### Bug Fixes
10+
11+
- Now, selection style is applied to the previous month selected date in the current month view.
12+
513
## 17.4.49 (2020-02-11)
614

715
### DateTimePicker

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: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ let CalendarBase = class CalendarBase extends Component {
741741
// if (args.isDisabled && +this.value === +args.date) {
742742
// this.setProperties({ value: null }, true);
743743
// }
744-
if (multiSelection && !isNullOrUndefined(values) && !otherMnthBool && !disabledCls) {
744+
if (multiSelection && !isNullOrUndefined(values) && !disabledCls) {
745745
for (let tempValue = 0; tempValue < values.length; tempValue++) {
746746
let type = (this.calendarMode === 'Gregorian') ? 'gregorian' : 'islamic';
747747
let formatOptions = { type: 'date', skeleton: 'short', calendar: type };
@@ -759,7 +759,7 @@ let CalendarBase = class CalendarBase extends Component {
759759
this.updateFocus(otherMnthBool, disabledCls, localDate, tdEle, currentDate);
760760
}
761761
}
762-
else if (!otherMnthBool && !disabledCls && this.getDateVal(localDate, value)) {
762+
else if (!disabledCls && this.getDateVal(localDate, value)) {
763763
addClass([tdEle], SELECTED);
764764
}
765765
else {
@@ -861,6 +861,9 @@ let CalendarBase = class CalendarBase extends Component {
861861
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'dateTime', skeleton: 'y' });
862862
if ((year < startFullYr) || (year > endFullYr)) {
863863
addClass([tdEle], OTHERDECADE);
864+
if (!isNullOrUndefined(value) && localDate.getFullYear() === (value).getFullYear()) {
865+
addClass([tdEle], SELECTED);
866+
}
864867
if (year < new Date(this.checkValue(this.min)).getFullYear() ||
865868
year > new Date(this.checkValue(this.max)).getFullYear()) {
866869
addClass([tdEle], DISABLED);
@@ -10733,6 +10736,9 @@ let TimePicker = class TimePicker extends Component {
1073310736
};
1073410737
let eventArgs = this.openPopupEventArgs;
1073510738
this.trigger('open', eventArgs, (eventArgs) => {
10739+
if ((isBlazor() && this.isServerRendered)) {
10740+
eventArgs.popup = this.popupObj || null;
10741+
}
1073610742
this.openPopupEventArgs = eventArgs;
1073710743
if (!this.openPopupEventArgs.cancel && !this.inputWrapper.buttons[0].classList.contains(DISABLED$3)) {
1073810744
this.openPopupEventArgs.appendTo.appendChild(this.popupWrapper);

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: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ var CalendarBase = /** @__PURE__ @class */ (function (_super) {
758758
// if (args.isDisabled && +this.value === +args.date) {
759759
// this.setProperties({ value: null }, true);
760760
// }
761-
if (multiSelection && !isNullOrUndefined(values) && !otherMnthBool && !disabledCls) {
761+
if (multiSelection && !isNullOrUndefined(values) && !disabledCls) {
762762
for (var tempValue = 0; tempValue < values.length; tempValue++) {
763763
var type = (this.calendarMode === 'Gregorian') ? 'gregorian' : 'islamic';
764764
var formatOptions = { type: 'date', skeleton: 'short', calendar: type };
@@ -776,7 +776,7 @@ var CalendarBase = /** @__PURE__ @class */ (function (_super) {
776776
this.updateFocus(otherMnthBool, disabledCls, localDate, tdEle, currentDate);
777777
}
778778
}
779-
else if (!otherMnthBool && !disabledCls && this.getDateVal(localDate, value)) {
779+
else if (!disabledCls && this.getDateVal(localDate, value)) {
780780
addClass([tdEle], SELECTED);
781781
}
782782
else {
@@ -878,6 +878,9 @@ var CalendarBase = /** @__PURE__ @class */ (function (_super) {
878878
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'dateTime', skeleton: 'y' });
879879
if ((year < startFullYr) || (year > endFullYr)) {
880880
addClass([tdEle], OTHERDECADE);
881+
if (!isNullOrUndefined(value) && localDate.getFullYear() === (value).getFullYear()) {
882+
addClass([tdEle], SELECTED);
883+
}
881884
if (year < new Date(this.checkValue(this.min)).getFullYear() ||
882885
year > new Date(this.checkValue(this.max)).getFullYear()) {
883886
addClass([tdEle], DISABLED);
@@ -10846,6 +10849,9 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
1084610849
};
1084710850
var eventArgs = this.openPopupEventArgs;
1084810851
this.trigger('open', eventArgs, function (eventArgs) {
10852+
if ((isBlazor() && _this.isServerRendered)) {
10853+
eventArgs.popup = _this.popupObj || null;
10854+
}
1084910855
_this.openPopupEventArgs = eventArgs;
1085010856
if (!_this.openPopupEventArgs.cancel && !_this.inputWrapper.buttons[0].classList.contains(DISABLED$3)) {
1085110857
_this.openPopupEventArgs.appendTo.appendChild(_this.popupWrapper);

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.

0 commit comments

Comments
 (0)