@syncfusion/ej2-schedule 26.1.39 → 26.1.40
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.
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +16 -7
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +17 -8
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -11
- package/src/schedule/actions/resize.js +2 -1
- package/src/schedule/event-renderer/agenda-base.js +2 -1
- package/src/schedule/event-renderer/vertical-view.js +1 -1
- package/src/schedule/popups/event-window.js +12 -5
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.1.
|
|
3
|
+
* version : 26.1.40
|
|
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@26.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@26.1.39",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-HEdA5xlfR6JNmY8Cmhi5wlpE9xgnyGM+t034uqJX4X+dkMEYOiGC0Oz3Emv3U2reU7VDn4vIL8kgrrRqpl6IQw==",
|
|
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-26.1.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-26.1.39.tgz",
|
|
27
|
+
"_shasum": "17bf48a336dd3e6a1f51fe8d367eaec705a78b2b",
|
|
28
28
|
"_spec": "@syncfusion/ej2-schedule@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@syncfusion/ej2-base": "~26.1.37",
|
|
39
|
-
"@syncfusion/ej2-buttons": "~26.1.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~26.1.
|
|
41
|
-
"@syncfusion/ej2-data": "~26.1.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~26.1.
|
|
39
|
+
"@syncfusion/ej2-buttons": "~26.1.40",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~26.1.40",
|
|
41
|
+
"@syncfusion/ej2-data": "~26.1.40",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~26.1.40",
|
|
43
43
|
"@syncfusion/ej2-excel-export": "~26.1.35",
|
|
44
|
-
"@syncfusion/ej2-inputs": "~26.1.
|
|
44
|
+
"@syncfusion/ej2-inputs": "~26.1.40",
|
|
45
45
|
"@syncfusion/ej2-lists": "~26.1.35",
|
|
46
|
-
"@syncfusion/ej2-navigations": "~26.1.
|
|
46
|
+
"@syncfusion/ej2-navigations": "~26.1.40",
|
|
47
47
|
"@syncfusion/ej2-popups": "~26.1.38",
|
|
48
48
|
"@types/requirejs": "^2.1.37"
|
|
49
49
|
},
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
75
75
|
},
|
|
76
76
|
"typings": "index.d.ts",
|
|
77
|
-
"version": "26.1.
|
|
77
|
+
"version": "26.1.40",
|
|
78
78
|
"sideEffects": false
|
|
79
79
|
}
|
|
@@ -399,7 +399,8 @@ var Resize = /** @class */ (function (_super) {
|
|
|
399
399
|
if (!isLeft) {
|
|
400
400
|
offsetValue += (util.getElementWidth(this.actionObj.clone) - this.actionObj.cellWidth);
|
|
401
401
|
}
|
|
402
|
-
cellIndex = Math.
|
|
402
|
+
cellIndex = !isTimelineMonth ? Math.round(offsetValue / (util.getElementWidth(tr) / noOfDays)) :
|
|
403
|
+
Math.floor(offsetValue / Math.floor(util.getElementWidth(tr) / noOfDays));
|
|
403
404
|
isDateHeader = isTimeViews && headerName === 'Date';
|
|
404
405
|
cellIndex = isLeft ? cellIndex : isTimelineMonth ? cellIndex + 1 : cellIndex;
|
|
405
406
|
isLastCell = cellIndex === tdCollections.length;
|
|
@@ -68,7 +68,8 @@ var AgendaBase = /** @class */ (function (_super) {
|
|
|
68
68
|
var scheduleId = _this.parent.element.id + '_';
|
|
69
69
|
var viewName = _this.parent.activeViewOptions.eventTemplateName;
|
|
70
70
|
var templateId = scheduleId + viewName + 'eventTemplate';
|
|
71
|
-
templateEle =
|
|
71
|
+
templateEle =
|
|
72
|
+
_this.parent.getAppointmentTemplate()(listData[parseInt(li.toString(), 10)], _this.parent, 'eventTemplate', templateId, false, undefined, undefined, _this.parent.root);
|
|
72
73
|
if (!isNullOrUndefined(listData[parseInt(li.toString(), 10)][fieldMapping.recurrenceRule])) {
|
|
73
74
|
var iconClass = (listData[parseInt(li.toString(), 10)][fieldMapping.id] ===
|
|
74
75
|
listData[parseInt(li.toString(), 10)][fieldMapping.recurrenceID]) ?
|
|
@@ -115,7 +115,7 @@ var VerticalEvent = /** @class */ (function (_super) {
|
|
|
115
115
|
this.parent.crudModule.crudObj.isCrudAction = false;
|
|
116
116
|
}
|
|
117
117
|
this.parent.renderTemplates(function () {
|
|
118
|
-
if (_this.parent.isReact && _this.parent.activeViewOptions.eventTemplate) {
|
|
118
|
+
if (_this.parent && _this.parent.isReact && _this.parent.activeViewOptions.eventTemplate) {
|
|
119
119
|
var wraps = [].slice.call(_this.parent.element.querySelectorAll('.' + cls.APPOINTMENT_WRAPPER_HIDDEN_CLASS));
|
|
120
120
|
removeClass(wraps, cls.APPOINTMENT_WRAPPER_HIDDEN_CLASS);
|
|
121
121
|
}
|
|
@@ -354,12 +354,15 @@ var EventWindow = /** @class */ (function () {
|
|
|
354
354
|
this.recurrenceEditor = null;
|
|
355
355
|
}
|
|
356
356
|
this.destroyComponents();
|
|
357
|
-
var formElements = [].slice.call(form.children);
|
|
358
|
-
for (var _i = 0, formElements_1 = formElements; _i < formElements_1.length; _i++) {
|
|
359
|
-
var element = formElements_1[_i];
|
|
360
|
-
remove(element);
|
|
361
|
-
}
|
|
362
357
|
this.parent.resetTemplates(['editorTemplate']);
|
|
358
|
+
EventHandler.clearEvents(form);
|
|
359
|
+
if (!this.parent.isReact) {
|
|
360
|
+
var formElements = [].slice.call(form.children);
|
|
361
|
+
for (var _i = 0, formElements_1 = formElements; _i < formElements_1.length; _i++) {
|
|
362
|
+
var element = formElements_1[_i];
|
|
363
|
+
remove(element);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
363
366
|
}
|
|
364
367
|
var templateId = this.parent.element.id + '_editorTemplate';
|
|
365
368
|
var tempEle = [].slice.call(this.parent.getEditorTemplate()(args || {}, this.parent, 'editorTemplate', templateId, false));
|
|
@@ -966,6 +969,10 @@ var EventWindow = /** @class */ (function () {
|
|
|
966
969
|
if (!isNullOrUndefined(descriptionRule)) {
|
|
967
970
|
rules[this.parent.eventSettings.fields.description.name] = descriptionRule;
|
|
968
971
|
}
|
|
972
|
+
if (this.fieldValidator) {
|
|
973
|
+
this.fieldValidator.destroy();
|
|
974
|
+
this.fieldValidator = null;
|
|
975
|
+
}
|
|
969
976
|
this.fieldValidator = new FieldValidator();
|
|
970
977
|
this.fieldValidator.renderFormValidator(form, rules, this.element, this.parent.locale);
|
|
971
978
|
};
|