@syncfusion/ej2-schedule 22.2.8 → 22.2.11

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 : 22.2.8
3
+ * version : 22.2.11
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@22.2.5",
3
+ "_id": "@syncfusion/ej2-schedule@22.2.8",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ZZHWpfm3u01zXFvMxeG4FnLxImHvYMrrF21zy4FEnfeYXwrKNF7eFEZXhK8hXaNRsyebvUCc8NWV6n07xOrCzQ==",
5
+ "_integrity": "sha512-Kx0CfzH9nk0XZaYgJGZpQXWGCWARyl7WB9pF2s8F7U749gjOQ/9T/+jYXY/9ViAcoH0YKgy1LsvCy1fl2Pa6cQ==",
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-22.2.5.tgz",
27
- "_shasum": "2df651a9adbba15d66af5bf503cf4da5503a2e24",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-22.2.8.tgz",
27
+ "_shasum": "d4abd42dfb2c617501dbb6a65a870fd9e915774e",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
30
30
  "author": {
@@ -35,16 +35,16 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~22.2.5",
39
- "@syncfusion/ej2-buttons": "~22.2.8",
40
- "@syncfusion/ej2-calendars": "~22.2.8",
38
+ "@syncfusion/ej2-base": "~22.2.10",
39
+ "@syncfusion/ej2-buttons": "~22.2.9",
40
+ "@syncfusion/ej2-calendars": "~22.2.11",
41
41
  "@syncfusion/ej2-data": "~22.2.5",
42
- "@syncfusion/ej2-dropdowns": "~22.2.8",
42
+ "@syncfusion/ej2-dropdowns": "~22.2.11",
43
43
  "@syncfusion/ej2-excel-export": "~22.2.5",
44
- "@syncfusion/ej2-inputs": "~22.2.7",
45
- "@syncfusion/ej2-lists": "~22.2.8",
46
- "@syncfusion/ej2-navigations": "~22.2.8",
47
- "@syncfusion/ej2-popups": "~22.2.7"
44
+ "@syncfusion/ej2-inputs": "~22.2.9",
45
+ "@syncfusion/ej2-lists": "~22.2.11",
46
+ "@syncfusion/ej2-navigations": "~22.2.11",
47
+ "@syncfusion/ej2-popups": "~22.2.11"
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": "22.2.8",
76
+ "version": "22.2.11",
77
77
  "sideEffects": false
78
78
  }
@@ -29,6 +29,19 @@ var ICalendarImport = /** @class */ (function () {
29
29
  var events = [];
30
30
  var uId = 'UID';
31
31
  var calArray = iCalString.replace(new RegExp('\\r', 'g'), '').split('\n');
32
+ var descriptionIndex = calArray.findIndex(function (line) { return line.startsWith('DESCRIPTION:'); });
33
+ if (descriptionIndex !== -1) {
34
+ var description = calArray[descriptionIndex].substring('DESCRIPTION:'.length);
35
+ for (var i = descriptionIndex + 1; i < calArray.length; i++) {
36
+ if (calArray[i].startsWith(' ') || !(/[A-Z]{3}:/.test(calArray[i]))) {
37
+ description += calArray[i];
38
+ }
39
+ else {
40
+ calArray[descriptionIndex] = 'DESCRIPTION:' + description;
41
+ break;
42
+ }
43
+ }
44
+ }
32
45
  var isEvent = false;
33
46
  var curEvent;
34
47
  // eslint-disable-next-line prefer-const
@@ -96,7 +109,10 @@ var ICalendarImport = /** @class */ (function () {
96
109
  curEvent[fields.location] = value;
97
110
  break;
98
111
  case 'DESCRIPTION':
99
- curEvent[fields.description] = value;
112
+ if (!(curEvent[fields.description])) {
113
+ curEvent[fields.description] = value.replace(/\\,/g, ',')
114
+ .replace(/\\n/g, '\n');
115
+ }
100
116
  break;
101
117
  case 'ISREADONLY':
102
118
  curEvent[fields.isReadonly] = (value.indexOf('true') > -1);
@@ -28,7 +28,7 @@ var QuickPopups = /** @class */ (function () {
28
28
  this.renderQuickDialog();
29
29
  };
30
30
  QuickPopups.prototype.renderQuickPopup = function () {
31
- var quickPopupWrapper = createElement('div', { className: cls.POPUP_WRAPPER_CLASS + ' e-popup-close' });
31
+ var quickPopupWrapper = createElement('div', { className: cls.POPUP_WRAPPER_CLASS + ' e-popup-close', attrs: { role: 'dialog' } });
32
32
  if (this.parent.isAdaptive) {
33
33
  document.body.appendChild(quickPopupWrapper);
34
34
  addClass([quickPopupWrapper], cls.DEVICE_CLASS);
@@ -451,6 +451,7 @@ var QuickPopups = /** @class */ (function () {
451
451
  quickCellPopup.appendChild(this.getPopupHeader('Cell', temp));
452
452
  quickCellPopup.appendChild(this.getPopupContent('Cell', args, temp));
453
453
  quickCellPopup.appendChild(this.getPopupFooter('Cell', temp));
454
+ this.quickPopup.element.setAttribute('aria-label', this.l10n.getConstant('newEvent'));
454
455
  var subjectElement = quickCellPopup.querySelector('.' + cls.SUBJECT_CLASS);
455
456
  if (subjectElement) {
456
457
  Input.createInput({ element: subjectElement, properties: { placeholder: this.l10n.getConstant('addTitle') } });
@@ -522,6 +523,7 @@ var QuickPopups = /** @class */ (function () {
522
523
  quickEventPopup.appendChild(this.getPopupHeader('Event', eventData));
523
524
  quickEventPopup.appendChild(this.getPopupContent('Event', events, eventData));
524
525
  quickEventPopup.appendChild(this.getPopupFooter('Event', eventData));
526
+ this.quickPopup.element.setAttribute('aria-label', this.l10n.getConstant('editEvent'));
525
527
  var readonly = this.parent.activeViewOptions.readonly || eventData[this.parent.eventFields.isReadonly];
526
528
  var editAction = !this.parent.eventSettings.allowEditing || readonly;
527
529
  var deleteAction = !this.parent.eventSettings.allowDeleting || readonly;
@@ -1,4 +1,4 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
1
+ @import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
2
2
  /*! component's theme wise override definitions and variables */
3
3
  @keyframes tbar-popup-shadow {
4
4
  0% {
@@ -1,4 +1,4 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
1
+ @import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
2
2
  .e-ddl.e-control-wrapper .e-ddl-icon::before {
3
3
  transform: rotate(0deg);
4
4
  transition: transform 300ms ease;
@@ -1,4 +1,4 @@
1
- @import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
1
+ @import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
2
2
  /*! component's theme wise override definitions and variables */
3
3
  @keyframes tbar-popup-shadow {
4
4
  0% {