@syncfusion/ej2-schedule 23.1.40 → 23.1.44

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 : 23.1.40
3
+ * version : 23.1.44
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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@23.1.39",
3
+ "_id": "@syncfusion/ej2-schedule@23.1.40",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-lVZ9K15Ur6ZZfZtOLmbdfKF3HUaoyWjj1toL9RoR6+rj920vt6RnD2dV0JaCavbAd19M5OlaLqRvwp1NJZyg3A==",
5
+ "_integrity": "sha512-53xSQjFE8TuH6IA1Ak8I8HM+oWz5tTQGVREpkR41Ek0+KKes0OiLTsjO5ogMmn5hkS4j9zw9JQtwCgaHg1GlDQ==",
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-23.1.39.tgz",
27
- "_shasum": "3ea7956ad58dbe1798cc4d99d5a9f0dec9a9bfa1",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-23.1.40.tgz",
27
+ "_shasum": "6ca0d8e02c2fe2aa0fc4a74ff8f0cfbbf3ddd243",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
30
30
  "author": {
@@ -35,16 +35,16 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~23.1.38",
39
- "@syncfusion/ej2-buttons": "~23.1.39",
40
- "@syncfusion/ej2-calendars": "~23.1.40",
41
- "@syncfusion/ej2-data": "~23.1.36",
42
- "@syncfusion/ej2-dropdowns": "~23.1.40",
38
+ "@syncfusion/ej2-base": "~23.1.41",
39
+ "@syncfusion/ej2-buttons": "~23.1.43",
40
+ "@syncfusion/ej2-calendars": "~23.1.41",
41
+ "@syncfusion/ej2-data": "~23.1.44",
42
+ "@syncfusion/ej2-dropdowns": "~23.1.44",
43
43
  "@syncfusion/ej2-excel-export": "~23.1.36",
44
- "@syncfusion/ej2-inputs": "~23.1.40",
45
- "@syncfusion/ej2-lists": "~23.1.36",
46
- "@syncfusion/ej2-navigations": "~23.1.40",
47
- "@syncfusion/ej2-popups": "~23.1.38"
44
+ "@syncfusion/ej2-inputs": "~23.1.43",
45
+ "@syncfusion/ej2-lists": "~23.1.43",
46
+ "@syncfusion/ej2-navigations": "~23.1.44",
47
+ "@syncfusion/ej2-popups": "~23.1.44"
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": "23.1.40",
76
+ "version": "23.1.44",
77
77
  "sideEffects": false
78
78
  }
@@ -788,6 +788,7 @@ var Schedule = /** @class */ (function (_super) {
788
788
  occurenceAlert: 'Cannot reschedule an occurrence of the recurring appointment if it skips over ' +
789
789
  'a later occurrence of the same appointment.',
790
790
  editRecurrence: 'Edit Recurrence',
791
+ recurringEvent: 'Recurring Event',
791
792
  repeats: 'Repeats',
792
793
  alert: 'Alert',
793
794
  startEndError: 'The selected end date occurs before the start date.',
@@ -1269,6 +1270,7 @@ var Schedule = /** @class */ (function (_super) {
1269
1270
  resourceName = this.quickPopup.getResourceText({ event: event }, 'event') + constantText;
1270
1271
  }
1271
1272
  var recordSubject = (subject || (event[this.eventFields.subject] || this.eventSettings.fields.subject.default));
1273
+ var recordLocation = (event[this.eventFields.location] || this.eventSettings.fields.location.default);
1272
1274
  var skeleton = 'full';
1273
1275
  var startDateText = this.globalize.formatDate(event[this.eventFields.startTime], {
1274
1276
  type: 'dateTime', skeleton: skeleton, calendar: this.getCalendarMode()
@@ -1281,6 +1283,13 @@ var Schedule = /** @class */ (function (_super) {
1281
1283
  if (resourceName) {
1282
1284
  announcementString = resourceName + ' ' + announcementString;
1283
1285
  }
1286
+ if (recordLocation && recordLocation !== '') {
1287
+ announcementString = announcementString + ' ' + this.localeObj.getConstant('location') + ' ' + recordLocation;
1288
+ }
1289
+ if (event[this.eventFields.recurrenceRule] && event[this.eventFields.recurrenceRule] !== ''
1290
+ && event[this.eventFields.id] === event[this.eventFields.recurrenceID]) {
1291
+ announcementString = announcementString + ' ' + this.localeObj.getConstant('recurringEvent');
1292
+ }
1284
1293
  return announcementString;
1285
1294
  };
1286
1295
  /**
@@ -62,6 +62,11 @@ var Print = /** @class */ (function () {
62
62
  if (timeCellsScroll) {
63
63
  timeCellsScroll.scrollTop = scrollableEle.scrollTop;
64
64
  }
65
+ var contentCellScroll = printWindow.document.querySelector(className);
66
+ if (contentCellScroll) {
67
+ contentCellScroll.scrollLeft = scrollableEle.scrollLeft;
68
+ contentCellScroll.scrollTop = scrollableEle.scrollTop;
69
+ }
65
70
  printWindow.print();
66
71
  printWindow.close();
67
72
  }
@@ -367,6 +367,10 @@ var EventWindow = /** @class */ (function () {
367
367
  this.parent.renderTemplates(function () {
368
368
  if (_this.element) {
369
369
  _this.applyFormValidation();
370
+ if (_this.eventCrudData) {
371
+ _this.showDetails(_this.eventCrudData);
372
+ _this.eventCrudData = null;
373
+ }
370
374
  }
371
375
  });
372
376
  }
@@ -972,13 +976,17 @@ var EventWindow = /** @class */ (function () {
972
976
  this.fieldValidator.renderFormValidator(form, rules, this.element, this.parent.locale);
973
977
  };
974
978
  EventWindow.prototype.showDetails = function (eventData) {
975
- this.eventData = eventData;
979
+ this.eventData = this.eventCrudData ? this.eventData : eventData;
976
980
  var eventObj = extend({}, eventData, null, true);
981
+ var formElements = this.getFormElements(cls.EVENT_WINDOW_DIALOG_CLASS);
982
+ if (this.parent.isReact && formElements.length < 1) {
983
+ this.eventCrudData = eventObj;
984
+ return;
985
+ }
977
986
  if ((!this.cellClickAction || this.cellClickAction && !isNullOrUndefined(this.parent.editorTemplate)) &&
978
987
  eventObj[this.fields.endTime].getHours() === 0 && eventObj[this.fields.endTime].getMinutes() === 0) {
979
988
  this.trimAllDay(eventObj);
980
989
  }
981
- var formElements = this.getFormElements(cls.EVENT_WINDOW_DIALOG_CLASS);
982
990
  var keyNames = Object.keys(eventObj);
983
991
  for (var _i = 0, formElements_2 = formElements; _i < formElements_2.length; _i++) {
984
992
  var curElement = formElements_2[_i];
@@ -110,13 +110,24 @@
110
110
  }
111
111
 
112
112
  .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
113
- font-size: 8px;
113
+ font-size: 12px;
114
+ }
115
+
116
+ .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
117
+ .e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
118
+ font-size: 14px;
114
119
  }
115
120
 
116
- .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
121
+ .e-small .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
122
+ .e-small.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
117
123
  font-size: 10px;
118
124
  }
119
125
 
126
+ .e-small.e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
127
+ .e-small.e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
128
+ font-size: 12px;
129
+ }
130
+
120
131
  .e-bigger.e-small .e-ddl.e-popup .e-list-item, .e-bigger.e-small .e-ddl.e-popup .e-list-group-item, .e-bigger.e-small .e-ddl.e-popup .e-fixed-head {
121
132
  font-size: 14px;
122
133
  line-height: 34px;
@@ -150,6 +161,25 @@
150
161
  border-right-width: 0;
151
162
  }
152
163
 
164
+ .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
165
+ font-size: 12px;
166
+ }
167
+
168
+ .e-bigger .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
169
+ .e-bigger.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
170
+ font-size: 14px;
171
+ }
172
+
173
+ .e-small .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
174
+ .e-small.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
175
+ font-size: 10px;
176
+ }
177
+
178
+ .e-small.e-bigger .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
179
+ .e-small.e-bigger.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
180
+ font-size: 12px;
181
+ }
182
+
153
183
  .e-multiselect.e-rtl .e-input-group-icon.e-ddl-icon {
154
184
  border-left-width: 0;
155
185
  border-radius: 4px 0 0 4px;
@@ -107,13 +107,24 @@
107
107
  }
108
108
 
109
109
  .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
110
- font-size: 8px;
110
+ font-size: 12px;
111
+ }
112
+
113
+ .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
114
+ .e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
115
+ font-size: 14px;
111
116
  }
112
117
 
113
- .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
118
+ .e-small .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
119
+ .e-small.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
114
120
  font-size: 10px;
115
121
  }
116
122
 
123
+ .e-small.e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
124
+ .e-small.e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
125
+ font-size: 12px;
126
+ }
127
+
117
128
  .e-bigger.e-small .e-ddl.e-popup .e-list-item, .e-bigger.e-small .e-ddl.e-popup .e-list-group-item, .e-bigger.e-small .e-ddl.e-popup .e-fixed-head {
118
129
  font-size: 14px;
119
130
  line-height: 34px;
@@ -110,13 +110,24 @@
110
110
  }
111
111
 
112
112
  .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
113
- font-size: 8px;
113
+ font-size: 12px;
114
+ }
115
+
116
+ .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
117
+ .e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
118
+ font-size: 14px;
114
119
  }
115
120
 
116
- .e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
121
+ .e-small .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
122
+ .e-small.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
117
123
  font-size: 10px;
118
124
  }
119
125
 
126
+ .e-small.e-bigger .e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon,
127
+ .e-small.e-bigger.e-input-group .e-control.e-dropdownlist ~ .e-ddl-icon {
128
+ font-size: 12px;
129
+ }
130
+
120
131
  .e-bigger.e-small .e-ddl.e-popup .e-list-item, .e-bigger.e-small .e-ddl.e-popup .e-list-group-item, .e-bigger.e-small .e-ddl.e-popup .e-fixed-head {
121
132
  font-size: 14px;
122
133
  line-height: 34px;
@@ -150,6 +161,25 @@
150
161
  border-right-width: 0;
151
162
  }
152
163
 
164
+ .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
165
+ font-size: 12px;
166
+ }
167
+
168
+ .e-bigger .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
169
+ .e-bigger.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
170
+ font-size: 14px;
171
+ }
172
+
173
+ .e-small .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
174
+ .e-small.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
175
+ font-size: 10px;
176
+ }
177
+
178
+ .e-small.e-bigger .e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before,
179
+ .e-small.e-bigger.e-input-group.e-multiselect.e-control-wrapper .e-input-group-icon.e-ddl-icon::before {
180
+ font-size: 12px;
181
+ }
182
+
153
183
  .e-multiselect.e-rtl .e-input-group-icon.e-ddl-icon {
154
184
  border-left-width: 0;
155
185
  border-radius: 4px 0 0 4px;