dhtmlx-scheduler 7.2.10 → 7.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.
- package/README.md +2 -2
- package/bower.json +1 -1
- package/codebase/dhtmlxscheduler.es.js +3604 -3580
- package/codebase/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/dhtmlxscheduler.js +74 -74
- package/codebase/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.es.js +32 -10
- package/codebase/sources/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.js +32 -10
- package/codebase/sources/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/less/package.json +1 -1
- package/package.json +1 -1
- package/whatsnew.md +11 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
})(this, function(exports2) {
|
|
4
4
|
"use strict";/** @license
|
|
5
5
|
|
|
6
|
-
dhtmlxScheduler v.7.2.
|
|
6
|
+
dhtmlxScheduler v.7.2.11 Standard
|
|
7
7
|
|
|
8
8
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
9
9
|
|
|
@@ -2169,7 +2169,25 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
2169
2169
|
this.$container.insertBefore(materialScalePlaceholder, this._els["dhx_cal_header"][0]);
|
|
2170
2170
|
}
|
|
2171
2171
|
materialScalePlaceholder.style.display = "block";
|
|
2172
|
-
|
|
2172
|
+
const navElement = scheduler2.$root.querySelector(".dhx_cal_navline");
|
|
2173
|
+
let navHeight = 0;
|
|
2174
|
+
if (navElement) {
|
|
2175
|
+
navHeight += navElement.offsetHeight;
|
|
2176
|
+
}
|
|
2177
|
+
const headerElement = scheduler2.$root.querySelector(".dhx_cal_header");
|
|
2178
|
+
let headerHeight = 0;
|
|
2179
|
+
if (headerElement) {
|
|
2180
|
+
headerHeight += headerElement.offsetHeight;
|
|
2181
|
+
}
|
|
2182
|
+
let offsetTop, offsetHeight;
|
|
2183
|
+
if (!headerHeight) {
|
|
2184
|
+
offsetTop = navHeight - 4;
|
|
2185
|
+
offsetHeight = 5;
|
|
2186
|
+
} else {
|
|
2187
|
+
offsetTop = navHeight + 1;
|
|
2188
|
+
offsetHeight = headerHeight;
|
|
2189
|
+
}
|
|
2190
|
+
this.set_xy(materialScalePlaceholder, w, offsetHeight, 0, offsetTop);
|
|
2173
2191
|
} else {
|
|
2174
2192
|
if (materialScalePlaceholder) {
|
|
2175
2193
|
materialScalePlaceholder.parentNode.removeChild(materialScalePlaceholder);
|
|
@@ -3061,11 +3079,8 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
3061
3079
|
var container = this._obj;
|
|
3062
3080
|
var oldClass = "dhx_scheduler_" + this._mode;
|
|
3063
3081
|
var newClass = "dhx_scheduler_" + mode;
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
} else {
|
|
3067
|
-
container.className = container.className.replace(oldClass, newClass);
|
|
3068
|
-
}
|
|
3082
|
+
container.classList.remove(oldClass);
|
|
3083
|
+
container.classList.add(newClass);
|
|
3069
3084
|
var dhx_multi_day = "dhx_multi_day";
|
|
3070
3085
|
var prev_scroll = this._mode == mode && this.config.preserve_scroll ? this._els[dhx_cal_data][0].scrollTop : false;
|
|
3071
3086
|
var multidayScroll;
|
|
@@ -4205,6 +4220,7 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
4205
4220
|
this.clearAll();
|
|
4206
4221
|
if (this.$container) {
|
|
4207
4222
|
this.$container.innerHTML = "";
|
|
4223
|
+
this.$container.classList.remove(`dhx_scheduler_${this._mode}`);
|
|
4208
4224
|
}
|
|
4209
4225
|
if (this._eventRemoveAll) {
|
|
4210
4226
|
this._eventRemoveAll();
|
|
@@ -9241,7 +9257,7 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
9241
9257
|
}
|
|
9242
9258
|
}
|
|
9243
9259
|
function factoryMethod(extensionManager) {
|
|
9244
|
-
const scheduler2 = { version: "7.2.
|
|
9260
|
+
const scheduler2 = { version: "7.2.11" };
|
|
9245
9261
|
scheduler2.$stateProvider = StateService();
|
|
9246
9262
|
scheduler2.getState = scheduler2.$stateProvider.getState;
|
|
9247
9263
|
extend$n(scheduler2);
|
|
@@ -9725,7 +9741,10 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
9725
9741
|
scheduler2._colsS = null;
|
|
9726
9742
|
scheduler2._table_view = true;
|
|
9727
9743
|
const dateHeader = scheduler2._getNavDateElement();
|
|
9728
|
-
|
|
9744
|
+
if (dateHeader) {
|
|
9745
|
+
dateHeader.innerHTML = scheduler2.templates.agenda_date(scheduler2._date);
|
|
9746
|
+
}
|
|
9747
|
+
scheduler2.set_sizes();
|
|
9729
9748
|
fill_agenda_tab();
|
|
9730
9749
|
} else {
|
|
9731
9750
|
scheduler2._table_view = false;
|
|
@@ -19021,7 +19040,7 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
19021
19040
|
copy.start_date = date;
|
|
19022
19041
|
copy.id = ev.id + "#" + Math.ceil(date.valueOf());
|
|
19023
19042
|
copy.end_date = new Date(date.valueOf() + eventDuration * 1e3);
|
|
19024
|
-
if (copy.end_date.valueOf()
|
|
19043
|
+
if (copy.end_date.valueOf() <= scheduler2._min_date.valueOf()) {
|
|
19025
19044
|
continue;
|
|
19026
19045
|
}
|
|
19027
19046
|
copy.end_date = scheduler2._fix_daylight_saving_date(copy.start_date, copy.end_date, ev, date, copy.end_date);
|
|
@@ -21285,6 +21304,9 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
21285
21304
|
var locateEvent = scheduler2._locate_event;
|
|
21286
21305
|
scheduler2._locate_event = function(node) {
|
|
21287
21306
|
var id = locateEvent.apply(scheduler2, arguments);
|
|
21307
|
+
if (!isYearMode()) {
|
|
21308
|
+
return id;
|
|
21309
|
+
}
|
|
21288
21310
|
if (!id) {
|
|
21289
21311
|
var date = getCellDate(node);
|
|
21290
21312
|
if (!date)
|