dhtmlx-scheduler 6.0.1 → 6.0.2
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 +7 -2
- package/bower.json +1 -1
- package/codebase/dhtmlxscheduler.css +1 -1
- package/codebase/dhtmlxscheduler.d.ts +1 -1
- package/codebase/dhtmlxscheduler.js +2 -2
- package/codebase/dhtmlxscheduler.js.map +1 -1
- package/codebase/dhtmlxscheduler_contrast_black.css +1 -1
- package/codebase/dhtmlxscheduler_contrast_white.css +1 -1
- package/codebase/dhtmlxscheduler_flat.css +1 -1
- package/codebase/dhtmlxscheduler_material.css +1 -1
- package/codebase/dhtmlxscheduler_material_nofont.css +1 -1
- package/codebase/dhtmlxscheduler_terrace.css +1 -1
- package/codebase/sources/dhtmlxscheduler.css +1 -1
- package/codebase/sources/dhtmlxscheduler.js +36 -32
- package/codebase/sources/less/package.json +13 -4
- package/codebase/sources/less/scripts.js +52 -0
- package/codebase/sources/less/skins/material/add_styles.less +5 -5
- package/codebase/sources/less/skins/material/skin.less +1 -1
- package/codebase/sources/skins/dhtmlxscheduler_contrast_black.css +1 -1
- package/codebase/sources/skins/dhtmlxscheduler_contrast_white.css +1 -1
- package/codebase/sources/skins/dhtmlxscheduler_flat.css +1 -1
- package/codebase/sources/skins/dhtmlxscheduler_material.css +3 -3
- package/codebase/sources/skins/dhtmlxscheduler_material_nofont.css +3 -3
- package/codebase/sources/skins/dhtmlxscheduler_terrace.css +1 -1
- package/package.json +1 -1
- package/whatsnew.md +7 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -5402,9 +5402,9 @@ function extend(scheduler) {
|
|
|
5402
5402
|
return ISO8601.test(datestr);
|
|
5403
5403
|
};
|
|
5404
5404
|
|
|
5405
|
-
var parseYMD =
|
|
5406
|
-
var parseMDY =
|
|
5407
|
-
var parseDMY =
|
|
5405
|
+
var parseYMD = stringToDateMethod("%Y-%m-%d %H:%i:%s", utc);
|
|
5406
|
+
var parseMDY = stringToDateMethod("%m/%d/%Y %H:%i:%s", utc);
|
|
5407
|
+
var parseDMY = stringToDateMethod("%d-%m-%Y %H:%i:%s", utc);
|
|
5408
5408
|
return function (dateString) {
|
|
5409
5409
|
if (!exactFormat && !scheduler.config.parse_exact_format) {
|
|
5410
5410
|
if (dateString && dateString.getISOWeek) {
|
|
@@ -5772,8 +5772,8 @@ function extend(scheduler) {
|
|
|
5772
5772
|
event_attribute: "data-event-id",
|
|
5773
5773
|
show_errors: true
|
|
5774
5774
|
};
|
|
5775
|
-
scheduler.config.buttons_left.$
|
|
5776
|
-
scheduler.config.buttons_right.$
|
|
5775
|
+
scheduler.config.buttons_left.$initial = scheduler.config.buttons_left.join();
|
|
5776
|
+
scheduler.config.buttons_right.$initial = scheduler.config.buttons_right.join();
|
|
5777
5777
|
scheduler._helpers = {
|
|
5778
5778
|
parseDate: function parseDate(date) {
|
|
5779
5779
|
var parse = scheduler.templates.xml_date || scheduler.templates.parse_date;
|
|
@@ -6075,7 +6075,7 @@ DataProcessor.prototype = {
|
|
|
6075
6075
|
},
|
|
6076
6076
|
|
|
6077
6077
|
/**
|
|
6078
|
-
* @desc: set if rows should be send to server
|
|
6078
|
+
* @desc: set if rows should be send to server automatically
|
|
6079
6079
|
* @param: mode - "row" - based on row selection changed, "cell" - based on cell editing finished, "off" - manual data sending
|
|
6080
6080
|
* @type: public
|
|
6081
6081
|
*/
|
|
@@ -6300,22 +6300,23 @@ DataProcessor.prototype = {
|
|
|
6300
6300
|
self.afterUpdateCallback(sid, tid, resultState, tag);
|
|
6301
6301
|
};
|
|
6302
6302
|
|
|
6303
|
+
var routerMode = "event";
|
|
6303
6304
|
var actionPromise;
|
|
6304
6305
|
|
|
6305
6306
|
if (this._router instanceof Function) {
|
|
6306
|
-
actionPromise = this._router(
|
|
6307
|
+
actionPromise = this._router(routerMode, action, dataToSend, rowId);
|
|
6307
6308
|
} else {
|
|
6308
6309
|
switch (state) {
|
|
6309
6310
|
case "inserted":
|
|
6310
|
-
actionPromise = this._router.create(dataToSend);
|
|
6311
|
+
actionPromise = this._router[routerMode].create(dataToSend);
|
|
6311
6312
|
break;
|
|
6312
6313
|
|
|
6313
6314
|
case "deleted":
|
|
6314
|
-
actionPromise = this._router["delete"](rowId);
|
|
6315
|
+
actionPromise = this._router[routerMode]["delete"](rowId);
|
|
6315
6316
|
break;
|
|
6316
6317
|
|
|
6317
6318
|
default:
|
|
6318
|
-
actionPromise = this._router.update(dataToSend, rowId);
|
|
6319
|
+
actionPromise = this._router[routerMode].update(dataToSend, rowId);
|
|
6319
6320
|
break;
|
|
6320
6321
|
}
|
|
6321
6322
|
}
|
|
@@ -6726,8 +6727,8 @@ DataProcessor.prototype = {
|
|
|
6726
6727
|
},
|
|
6727
6728
|
|
|
6728
6729
|
/* process updating request answer
|
|
6729
|
-
if status == collision version is
|
|
6730
|
-
set flag for autoupdating
|
|
6730
|
+
if status == collision version is deprecated
|
|
6731
|
+
set flag for autoupdating immediately
|
|
6731
6732
|
*/
|
|
6732
6733
|
afterAutoUpdate: function afterAutoUpdate(sid, action, tid, xml_node) {
|
|
6733
6734
|
if (action == 'collision') {
|
|
@@ -6929,6 +6930,8 @@ function extend(scheduler) {
|
|
|
6929
6930
|
router = config;
|
|
6930
6931
|
} else if (config.hasOwnProperty("router")) {
|
|
6931
6932
|
router = config.router;
|
|
6933
|
+
} else if (config.hasOwnProperty("event")) {
|
|
6934
|
+
router = config;
|
|
6932
6935
|
}
|
|
6933
6936
|
|
|
6934
6937
|
if (router) {
|
|
@@ -12636,7 +12639,7 @@ function extend(scheduler) {
|
|
|
12636
12639
|
|
|
12637
12640
|
scheduler._reset_month_scale = function (b, dd, sd, rows) {
|
|
12638
12641
|
//recalculates rows height and redraws month layout
|
|
12639
|
-
var ed = scheduler.date.add(dd, 1, "month"); //trim time part for
|
|
12642
|
+
var ed = scheduler.date.add(dd, 1, "month"); //trim time part for comparison reasons
|
|
12640
12643
|
|
|
12641
12644
|
var cd = scheduler._currentDate();
|
|
12642
12645
|
|
|
@@ -13134,8 +13137,8 @@ function extend(scheduler) {
|
|
|
13134
13137
|
if (scheduler.skin && (scheduler.skin === "classic" || scheduler.skin === "glossy")) set = 1;
|
|
13135
13138
|
|
|
13136
13139
|
if (scheduler._is_material_skin()) {
|
|
13137
|
-
var defaultButtonsLeft = scheduler.config.buttons_left.$
|
|
13138
|
-
var defaultButtonsRight = scheduler.config.buttons_right.$
|
|
13140
|
+
var defaultButtonsLeft = scheduler.config.buttons_left.$initial;
|
|
13141
|
+
var defaultButtonsRight = scheduler.config.buttons_right.$initial;
|
|
13139
13142
|
|
|
13140
13143
|
if (defaultButtonsLeft && scheduler.config.buttons_left.slice().join() == defaultButtonsLeft && defaultButtonsRight && scheduler.config.buttons_right.slice().join() == defaultButtonsRight) {
|
|
13141
13144
|
var tmp = scheduler.config.buttons_left.slice();
|
|
@@ -15201,7 +15204,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15201
15204
|
var is_event_short = function is_event_short(ev) {
|
|
15202
15205
|
if (!((ev.end_date - ev.start_date) / (1000 * 60 * 60) >= 24)) {
|
|
15203
15206
|
return true;
|
|
15204
|
-
} // short event shouldn't
|
|
15207
|
+
} // short event shouldn't disappear to multiday area during dnd-resize
|
|
15205
15208
|
|
|
15206
15209
|
|
|
15207
15210
|
if (scheduler._drag_mode == "resize" && scheduler._drag_id == ev.id) {
|
|
@@ -19802,7 +19805,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
19802
19805
|
for (var i = 0; i < scheduler.layers.length; i++) {
|
|
19803
19806
|
scheduler.config['lightbox_' + scheduler.layers[i].name] = {};
|
|
19804
19807
|
scheduler.config['lightbox_' + scheduler.layers[i].name].sections = _cloneObj(scheduler.config.lightbox.sections);
|
|
19805
|
-
scheduler._layers_zindex[scheduler.layers[i].name] = scheduler.config.
|
|
19808
|
+
scheduler._layers_zindex[scheduler.layers[i].name] = scheduler.config.initial_layer_zindex || 5 + i * 3;
|
|
19806
19809
|
|
|
19807
19810
|
if (scheduler.layers[i].url) {
|
|
19808
19811
|
var dp = scheduler.createDataProcessor({
|
|
@@ -21388,7 +21391,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21388
21391
|
|
|
21389
21392
|
scheduler.config.map_resolve_user_location = true; // if user will be promted to share his location to display it on the map
|
|
21390
21393
|
|
|
21391
|
-
scheduler.config.map_initial_position = new google.maps.LatLng(48.724, 8.215); //
|
|
21394
|
+
scheduler.config.map_initial_position = new google.maps.LatLng(48.724, 8.215); // initial position of the map
|
|
21392
21395
|
|
|
21393
21396
|
scheduler.config.map_error_position = new google.maps.LatLng(15, 15); // this position will be displayed in case if event doesn't have corresponding coordinates
|
|
21394
21397
|
|
|
@@ -21397,7 +21400,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21397
21400
|
scheduler.config.map_zoom_after_resolve = 15;
|
|
21398
21401
|
scheduler.locale.labels.marker_geo_success = "It seems you are here.";
|
|
21399
21402
|
scheduler.locale.labels.marker_geo_fail = "Sorry, could not get your current position using geolocation.";
|
|
21400
|
-
scheduler.templates.marker_date = scheduler.date.date_to_str("%Y-%m-%d %H:%i"); // date for map's infowindow will be
|
|
21403
|
+
scheduler.templates.marker_date = scheduler.date.date_to_str("%Y-%m-%d %H:%i"); // date for map's infowindow will be formatted following way
|
|
21401
21404
|
|
|
21402
21405
|
scheduler.templates.marker_text = function (start, end, ev) {
|
|
21403
21406
|
return "<div><b>" + ev.text + "</b><br/><br/>" + (ev.event_location || '') + "<br/><br/>" + scheduler.templates.marker_date(start) + " - " + scheduler.templates.marker_date(end) + "</div>";
|
|
@@ -21444,7 +21447,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21444
21447
|
var gmap = document.createElement('div');
|
|
21445
21448
|
gmap.className = 'dhx_map';
|
|
21446
21449
|
gmap.id = 'dhx_gmap';
|
|
21447
|
-
gmap.style.
|
|
21450
|
+
gmap.style.display = "none";
|
|
21448
21451
|
var node = scheduler._obj;
|
|
21449
21452
|
node.appendChild(gmap);
|
|
21450
21453
|
scheduler._els.dhx_gmap = [];
|
|
@@ -21454,7 +21457,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21454
21457
|
_setMapSize('dhx_gmap');
|
|
21455
21458
|
|
|
21456
21459
|
var mapOptions = {
|
|
21457
|
-
zoom: scheduler.config.
|
|
21460
|
+
zoom: scheduler.config.map_initial_zoom || 10,
|
|
21458
21461
|
center: scheduler.config.map_initial_position,
|
|
21459
21462
|
mapTypeId: scheduler.config.map_type || google.maps.MapTypeId.ROADMAP
|
|
21460
21463
|
};
|
|
@@ -21657,7 +21660,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21657
21660
|
//map tab activated
|
|
21658
21661
|
clear_map_tab();
|
|
21659
21662
|
fill_map_tab();
|
|
21660
|
-
gmap.style.display = 'block'; // need to resize block
|
|
21663
|
+
gmap.style.display = 'block'; // need to resize block every time window is resized
|
|
21661
21664
|
|
|
21662
21665
|
_setMapSize('dhx_gmap');
|
|
21663
21666
|
|
|
@@ -24631,7 +24634,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
24631
24634
|
|
|
24632
24635
|
for (var i = 0; i < stack.length; i++) {
|
|
24633
24636
|
if (stack[i].rec_type) {
|
|
24634
|
-
//deleted element of
|
|
24637
|
+
//deleted element of series
|
|
24635
24638
|
if (stack[i].rec_pattern != "none") this.repeat_date(stack[i], out);
|
|
24636
24639
|
} else out.push(stack[i]);
|
|
24637
24640
|
}
|
|
@@ -25690,7 +25693,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25690
25693
|
var src = e.target || e.srcElement;
|
|
25691
25694
|
if (src.tagName.toLowerCase() == 'a') // fix for active links extension (it adds links to the date in the cell)
|
|
25692
25695
|
src = src.parentNode;
|
|
25693
|
-
if (scheduler._getClassName(src).indexOf("dhx_year_event") != -1) scheduler._showToolTip(scheduler.templates.parse_date(src.getAttribute("
|
|
25696
|
+
if (scheduler._getClassName(src).indexOf("dhx_year_event") != -1) scheduler._showToolTip(scheduler.templates.parse_date(src.getAttribute("data-year-date")), scheduler.$domHelpers.getOffset(src), e, src);else scheduler._hideToolTip();
|
|
25694
25697
|
};
|
|
25695
25698
|
|
|
25696
25699
|
scheduler._init_year_tooltip = function () {
|
|
@@ -25726,7 +25729,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25726
25729
|
|
|
25727
25730
|
if (!scheduler._year_marked_cells[dateString]) {
|
|
25728
25731
|
cell.className = "dhx_month_head dhx_year_event";
|
|
25729
|
-
cell.setAttribute("
|
|
25732
|
+
cell.setAttribute("data-year-date", dateString);
|
|
25733
|
+
cell.setAttribute("date", dateString);
|
|
25730
25734
|
scheduler._year_marked_cells[dateString] = cell;
|
|
25731
25735
|
}
|
|
25732
25736
|
|
|
@@ -25945,13 +25949,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25945
25949
|
var node = scheduler._get_year_el_node(node, scheduler._locate_year_month_root);
|
|
25946
25950
|
|
|
25947
25951
|
if (!node) return null;
|
|
25948
|
-
var date = node.getAttribute("
|
|
25952
|
+
var date = node.getAttribute("data-year-date");
|
|
25949
25953
|
if (!date) return null;
|
|
25950
25954
|
return scheduler.date.week_start(scheduler.date.month_start(scheduler.templates.parse_date(date)));
|
|
25951
25955
|
};
|
|
25952
25956
|
|
|
25953
25957
|
scheduler._locate_year_month_day = function (n) {
|
|
25954
|
-
return scheduler._getClassName(n).indexOf("dhx_year_event") != -1 && n.hasAttribute && n.hasAttribute("
|
|
25958
|
+
return scheduler._getClassName(n).indexOf("dhx_year_event") != -1 && n.hasAttribute && n.hasAttribute("data-year-date");
|
|
25955
25959
|
};
|
|
25956
25960
|
|
|
25957
25961
|
var locateEvent = scheduler._locate_event;
|
|
@@ -25962,8 +25966,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25962
25966
|
if (!id) {
|
|
25963
25967
|
var day = scheduler._get_year_el_node(node, scheduler._locate_year_month_day);
|
|
25964
25968
|
|
|
25965
|
-
if (!day || !day.hasAttribute("
|
|
25966
|
-
var dat = scheduler.templates.parse_date(day.getAttribute("
|
|
25969
|
+
if (!day || !day.hasAttribute("data-year-date")) return null;
|
|
25970
|
+
var dat = scheduler.templates.parse_date(day.getAttribute("data-year-date"));
|
|
25967
25971
|
var evs = scheduler.getEvents(dat, scheduler.date.add(dat, 1, "day"));
|
|
25968
25972
|
if (!evs.length) return null; //can be multiple events in the cell, return any single one
|
|
25969
25973
|
|
|
@@ -25982,7 +25986,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25982
25986
|
};
|
|
25983
25987
|
|
|
25984
25988
|
scheduler._locate_year_month_root = function (n) {
|
|
25985
|
-
return n.hasAttribute && n.hasAttribute("
|
|
25989
|
+
return n.hasAttribute && n.hasAttribute("data-year-date");
|
|
25986
25990
|
};
|
|
25987
25991
|
|
|
25988
25992
|
scheduler._get_year_month_cell = function (node) {
|
|
@@ -29217,7 +29221,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
29217
29221
|
|
|
29218
29222
|
/* harmony default export */ __webpack_exports__["default"] = (function (extensionManager) {
|
|
29219
29223
|
var scheduler = {
|
|
29220
|
-
version: "6.0.
|
|
29224
|
+
version: "6.0.2"
|
|
29221
29225
|
};
|
|
29222
29226
|
Object(_core_common_errors__WEBPACK_IMPORTED_MODULE_2__["default"])(scheduler);
|
|
29223
29227
|
Object(_core_common__WEBPACK_IMPORTED_MODULE_5__["default"])(scheduler);
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dhtmlx-scheduler-skins",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Less sources and a build tool for DHTMLXScheduler skins",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "
|
|
6
|
+
"build": "npm run build-default && npm run build-flat && npm run build-material && npm run build-terrace && npm run build-contrast_white && npm run build-contrast_black",
|
|
7
|
+
"build-default": "node scripts.js --file=dhtmlxscheduler",
|
|
8
|
+
"build-flat": "node scripts.js --file=dhtmlxscheduler_flat",
|
|
9
|
+
"build-material": "node scripts.js --file=dhtmlxscheduler_material",
|
|
10
|
+
"build-terrace": "node scripts.js --file=dhtmlxscheduler_terrace",
|
|
11
|
+
"build-contrast_white": "node scripts.js --file=dhtmlxscheduler_contrast_white",
|
|
12
|
+
"build-contrast_black": "node scripts.js --file=dhtmlxscheduler_contrast_black",
|
|
7
13
|
"watch": "npm-watch build"
|
|
8
14
|
},
|
|
9
15
|
"watch":{
|
|
@@ -17,11 +23,14 @@
|
|
|
17
23
|
"url": "https://github.com/DHTMLX/scheduler"
|
|
18
24
|
},
|
|
19
25
|
"author": "XB Software Ltd.",
|
|
20
|
-
"license": "
|
|
26
|
+
"license": "GPL-2.0",
|
|
21
27
|
"homepage": "https://dhtmlx.com",
|
|
22
28
|
"dependencies": {
|
|
23
29
|
"less": "^3.0.4",
|
|
24
|
-
"
|
|
30
|
+
"minimist": "^1.2.6",
|
|
31
|
+
"npm-watch": "^0.11.0",
|
|
32
|
+
"postcss": "^8.4.14",
|
|
33
|
+
"postcss-url": "^10.1.3"
|
|
25
34
|
},
|
|
26
35
|
"devDependencies": {}
|
|
27
36
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const less = require('less')
|
|
2
|
+
const postcss = require('postcss')
|
|
3
|
+
const url = require("postcss-url")
|
|
4
|
+
const fs = require('fs')
|
|
5
|
+
|
|
6
|
+
const argv = require('minimist')(process.argv.slice(2));
|
|
7
|
+
|
|
8
|
+
let themeArg = argv.file;
|
|
9
|
+
|
|
10
|
+
if (!themeArg) {
|
|
11
|
+
throw new Error("Theme root file not specified");
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const theme = String(themeArg).trim();
|
|
15
|
+
const inputFolder = `./`;
|
|
16
|
+
const inputPath = `${inputFolder}${theme}.less`;
|
|
17
|
+
const outputPath = `../../${theme}.css`;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
if (!theme.match(/^[a-zA-Z0-9_\-]+$/)) {
|
|
21
|
+
throw new Error(`Invalid theme root file: ${theme}, a local less file is expected.`);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
if (!fs.existsSync(inputPath)) {
|
|
25
|
+
throw new Error(`Theme file is not found: ${theme}`);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
console.log(`Building: ${theme}`);
|
|
29
|
+
|
|
30
|
+
less.render(fs.readFileSync(inputPath, "utf-8"), { rewriteUrls: "all" })
|
|
31
|
+
.then(function (output) {
|
|
32
|
+
runPostCss(output.css,
|
|
33
|
+
inputPath,
|
|
34
|
+
outputPath
|
|
35
|
+
)
|
|
36
|
+
},
|
|
37
|
+
function (error) {
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
function runPostCss(css, from, to) {
|
|
41
|
+
postcss()
|
|
42
|
+
.use(url({
|
|
43
|
+
url: 'inline'
|
|
44
|
+
}))
|
|
45
|
+
.process(css, {
|
|
46
|
+
from: from,
|
|
47
|
+
to: to
|
|
48
|
+
}).then(result => {
|
|
49
|
+
fs.writeFileSync(outputPath, result.css);
|
|
50
|
+
console.log(`Finished: ${theme}`);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
|
|
10
10
|
2. Navigation Bar and It's Elements
|
|
11
11
|
|___
|
|
12
|
-
|_______ 2.1 Tabs
|
|
12
|
+
|_______ 2.1 Tabs Position
|
|
13
13
|
|_______ 2.2 Navigation Button Hover
|
|
14
14
|
|_______ 2.3 Tabs Hover
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
3. Event and It's Elements
|
|
18
18
|
|___
|
|
19
|
-
|_______ 3.1 Selection
|
|
19
|
+
|_______ 3.1 Selection Menu ICONS
|
|
20
20
|
|_______ 3.2 Selected Event Menu
|
|
21
21
|
|
|
22
22
|
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
margin-top:-11px;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
// 3.1 Selection
|
|
230
|
+
// 3.1 Selection Menu ICONS
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
// 3.2 Selected Event Menu
|
|
@@ -1360,7 +1360,7 @@ textarea.dhx_cal_editor {
|
|
|
1360
1360
|
}
|
|
1361
1361
|
}
|
|
1362
1362
|
|
|
1363
|
-
// Lightbox
|
|
1363
|
+
// Lightbox Recurring form
|
|
1364
1364
|
.dhx_repeat_left {
|
|
1365
1365
|
width: 325px!important;
|
|
1366
1366
|
height: 50px!important;
|
|
@@ -1502,7 +1502,7 @@ input.dhx_repeat_text {
|
|
|
1502
1502
|
top: -1px;
|
|
1503
1503
|
}
|
|
1504
1504
|
|
|
1505
|
-
// Lightbox
|
|
1505
|
+
// Lightbox Recurring button
|
|
1506
1506
|
.dhx_cal_lsection div.dhx_custom_button {
|
|
1507
1507
|
padding: 0;
|
|
1508
1508
|
color:@base-color;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -2738,14 +2738,14 @@ input.dhx_repeat_checkbox {
|
|
|
2738
2738
|
|
|
2739
2739
|
2. Navigation Bar and It's Elements
|
|
2740
2740
|
|___
|
|
2741
|
-
|_______ 2.1 Tabs
|
|
2741
|
+
|_______ 2.1 Tabs Position
|
|
2742
2742
|
|_______ 2.2 Navigation Button Hover
|
|
2743
2743
|
|_______ 2.3 Tabs Hover
|
|
2744
2744
|
|
|
2745
2745
|
|
|
2746
2746
|
3. Event and It's Elements
|
|
2747
2747
|
|___
|
|
2748
|
-
|_______ 3.1 Selection
|
|
2748
|
+
|_______ 3.1 Selection Menu ICONS
|
|
2749
2749
|
|_______ 3.2 Selected Event Menu
|
|
2750
2750
|
|
|
2751
2751
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
|
@@ -2737,14 +2737,14 @@ input.dhx_repeat_checkbox {
|
|
|
2737
2737
|
|
|
2738
2738
|
2. Navigation Bar and It's Elements
|
|
2739
2739
|
|___
|
|
2740
|
-
|_______ 2.1 Tabs
|
|
2740
|
+
|_______ 2.1 Tabs Position
|
|
2741
2741
|
|_______ 2.2 Navigation Button Hover
|
|
2742
2742
|
|_______ 2.3 Tabs Hover
|
|
2743
2743
|
|
|
2744
2744
|
|
|
2745
2745
|
3. Event and It's Elements
|
|
2746
2746
|
|___
|
|
2747
|
-
|_______ 3.1 Selection
|
|
2747
|
+
|_______ 3.1 Selection Menu ICONS
|
|
2748
2748
|
|_______ 3.2 Selected Event Menu
|
|
2749
2749
|
|
|
2750
2750
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* dhtmlxScheduler v.6.0.
|
|
4
|
+
* dhtmlxScheduler v.6.0.2 Standard
|
|
5
5
|
*
|
|
6
6
|
* 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
|
|
7
7
|
*
|
package/package.json
CHANGED
package/whatsnew.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
### 6.0.2
|
|
2
|
+
|
|
3
|
+
Fix the regression in scripts for building Custom Skins
|
|
4
|
+
Fix the script errors occurred on pages with enabled Content Security Policy
|
|
5
|
+
Fix the incorrect work of the DataProcessor when it is initialized with the router object
|
|
6
|
+
Fix the typo in the name of the DOM attribute for cells of the Year view
|
|
7
|
+
|
|
1
8
|
### 6.0.1
|
|
2
9
|
|
|
3
10
|
- Fix compatibility with Salesforce LWC
|