@syncfusion/ej2-schedule 20.4.42 → 20.4.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.4.42
3
+ * version : 20.4.43
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-schedule@*",
3
- "_id": "@syncfusion/ej2-schedule@20.4.40",
3
+ "_id": "@syncfusion/ej2-schedule@20.4.42",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-9rsvmSZiEnAoFmsqayqrhXwZQK3ISXuH9kztAub0i6kH7cph8UafC2VkbpClrP3xLbzm835csRxsj0X0zhekNg==",
5
+ "_integrity": "sha512-iU0AJbA+5bi3QKX3EYVX2ePvk7gyS1ZeeHjaqv+R9Hen3SFHEW+n2l7weUdUEQ47mhktq7gdzpmZIzTvH6oJtw==",
6
6
  "_location": "/@syncfusion/ej2-schedule",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-schedule",
24
24
  "/@syncfusion/ej2-vue-schedule"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-20.4.40.tgz",
27
- "_shasum": "dce137821e239cbe7a7c49223badbe8bbbf9414f",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-20.4.42.tgz",
27
+ "_shasum": "45e142eebbff3bf1535bcf4ab4a35922d7c9d124",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
30
30
  "author": {
@@ -39,12 +39,12 @@
39
39
  "@syncfusion/ej2-buttons": "~20.4.42",
40
40
  "@syncfusion/ej2-calendars": "~20.4.42",
41
41
  "@syncfusion/ej2-data": "~20.4.42",
42
- "@syncfusion/ej2-dropdowns": "~20.4.42",
42
+ "@syncfusion/ej2-dropdowns": "~20.4.43",
43
43
  "@syncfusion/ej2-excel-export": "~20.4.42",
44
44
  "@syncfusion/ej2-inputs": "~20.4.42",
45
45
  "@syncfusion/ej2-lists": "~20.4.42",
46
- "@syncfusion/ej2-navigations": "~20.4.42",
47
- "@syncfusion/ej2-popups": "~20.4.42"
46
+ "@syncfusion/ej2-navigations": "~20.4.43",
47
+ "@syncfusion/ej2-popups": "~20.4.43"
48
48
  },
49
49
  "deprecated": false,
50
50
  "description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.",
@@ -73,6 +73,6 @@
73
73
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
74
74
  },
75
75
  "typings": "index.d.ts",
76
- "version": "20.4.42",
76
+ "version": "20.4.43",
77
77
  "sideEffects": false
78
78
  }
@@ -55,7 +55,6 @@ var AgendaBase = /** @class */ (function (_super) {
55
55
  'role': 'button',
56
56
  'tabindex': '0',
57
57
  'aria-disabled': _this.parent.eventBase.getReadonlyAttribute(listData[parseInt(li.toString(), 10)]),
58
- 'aria-pressed': 'false',
59
58
  'aria-label': _this.parent.getAnnouncementString(listData[parseInt(li.toString(), 10)])
60
59
  }
61
60
  });
@@ -520,20 +520,12 @@ var EventBase = /** @class */ (function () {
520
520
  };
521
521
  EventBase.prototype.removeSelectedAppointmentClass = function () {
522
522
  var selectedAppointments = this.getSelectedAppointments();
523
- for (var _i = 0, selectedAppointments_1 = selectedAppointments; _i < selectedAppointments_1.length; _i++) {
524
- var appointment = selectedAppointments_1[_i];
525
- appointment.setAttribute('aria-pressed', 'false');
526
- }
527
523
  removeClass(selectedAppointments, cls.APPOINTMENT_BORDER);
528
524
  if (this.parent.currentView === 'Agenda' || this.parent.currentView === 'MonthAgenda') {
529
525
  removeClass(selectedAppointments, cls.AGENDA_SELECTED_CELL);
530
526
  }
531
527
  };
532
528
  EventBase.prototype.addSelectedAppointments = function (cells) {
533
- for (var _i = 0, cells_1 = cells; _i < cells_1.length; _i++) {
534
- var cell = cells_1[_i];
535
- cell.setAttribute('aria-pressed', 'true');
536
- }
537
529
  if (this.parent.currentView !== 'MonthAgenda') {
538
530
  this.parent.removeSelectedClass();
539
531
  }
@@ -1097,7 +1089,7 @@ var EventBase = /** @class */ (function () {
1097
1089
  className: cls.BLOCK_APPOINTMENT_CLASS,
1098
1090
  attrs: {
1099
1091
  'data-id': 'Appointment_' + record[this.parent.eventFields.id],
1100
- 'aria-disabled': 'true', 'aria-pressed': 'false'
1092
+ 'aria-disabled': 'true'
1101
1093
  }
1102
1094
  });
1103
1095
  var templateElement;
@@ -379,7 +379,7 @@ var MonthEvent = /** @class */ (function (_super) {
379
379
  var attrs = {
380
380
  'data-id': 'Appointment_' + record[this.fields.id],
381
381
  'role': 'button', 'tabindex': '0',
382
- 'aria-disabled': this.parent.eventBase.getReadonlyAttribute(record), 'aria-pressed': 'false',
382
+ 'aria-disabled': this.parent.eventBase.getReadonlyAttribute(record),
383
383
  'aria-label': this.parent.getAnnouncementString(newRecord, eventSubject)
384
384
  };
385
385
  if (!isCloneElement) {
@@ -321,7 +321,6 @@ var VerticalEvent = /** @class */ (function (_super) {
321
321
  'role': 'button',
322
322
  'tabindex': '0',
323
323
  'aria-disabled': this.parent.eventBase.getReadonlyAttribute(record),
324
- 'aria-pressed': 'false',
325
324
  'aria-label': this.parent.getAnnouncementString(record)
326
325
  }
327
326
  });
@@ -377,7 +377,7 @@ var YearEvent = /** @class */ (function (_super) {
377
377
  'data-id': 'Appointment_' + record[this.fields.id],
378
378
  'data-guid': record.Guid,
379
379
  'role': 'button', 'tabindex': '0',
380
- 'aria-disabled': this.parent.eventBase.getReadonlyAttribute(record), 'aria-pressed': 'false',
380
+ 'aria-disabled': this.parent.eventBase.getReadonlyAttribute(record),
381
381
  'aria-label': this.parent.getAnnouncementString(record)
382
382
  }
383
383
  });
@@ -99,13 +99,8 @@ var EventTooltip = /** @class */ (function () {
99
99
  startMonthDate = util.capitalizeFirstWord(startMonthDate, 'single');
100
100
  startMonthYearDate = util.capitalizeFirstWord(startMonthYearDate, 'single');
101
101
  endMonthYearDate = util.capitalizeFirstWord(endMonthYearDate, 'single');
102
- var skeleton = 'short';
103
- var startTime = globalize.formatDate(eventStart, {
104
- type: 'time', skeleton: skeleton, calendar: this.parent.getCalendarMode()
105
- });
106
- var endTime = globalize.formatDate(eventEnd, {
107
- type: 'time', skeleton: skeleton, calendar: this.parent.getCalendarMode()
108
- });
102
+ var startTime = this.parent.getTimeString(eventStart);
103
+ var endTime = this.parent.getTimeString(eventEnd);
109
104
  var tooltipDetails = void 0;
110
105
  if (startDate.getTime() === endDate.getTime()) {
111
106
  tooltipDetails =
@@ -319,7 +319,7 @@ var QuickPopups = /** @class */ (function () {
319
319
  'data-id': '' + eventData[fields.id],
320
320
  'data-guid': eventData.Guid, 'role': 'button', 'tabindex': '0',
321
321
  'aria-disabled': this_1.parent.eventBase.getReadonlyAttribute(eventData),
322
- 'aria-pressed': 'false', 'aria-label': this_1.parent.getAnnouncementString(eventData)
322
+ 'aria-label': this_1.parent.getAnnouncementString(eventData)
323
323
  }
324
324
  });
325
325
  var templateElement = void 0;