dhtmlx-scheduler 7.0.4 → 7.0.5
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.css +1 -1
- package/codebase/dhtmlxscheduler.es.js +17 -16
- package/codebase/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/dhtmlxscheduler.js +2 -2
- package/codebase/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.css +3 -0
- package/codebase/sources/dhtmlxscheduler.es.js +7 -3
- package/codebase/sources/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.js +7 -3
- package/codebase/sources/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/less/package.json +1 -1
- package/codebase/sources/less/src/datepicker.less +3 -0
- package/package.json +1 -1
- package/whatsnew.md +6 -0
|
@@ -4038,7 +4038,7 @@
|
|
|
4038
4038
|
parentWidth -= this.config.day_column_padding;
|
|
4039
4039
|
}
|
|
4040
4040
|
var width = Math.floor((parentWidth - menu_offset) / ev_count);
|
|
4041
|
-
var left = ev_sorder * width +
|
|
4041
|
+
var left = ev_sorder * width + 1;
|
|
4042
4042
|
if (!ev._inner)
|
|
4043
4043
|
width = width * (ev_count - ev_sorder);
|
|
4044
4044
|
if (this.config.cascade_event_display) {
|
|
@@ -4153,7 +4153,7 @@
|
|
|
4153
4153
|
if (this.config.cascade_event_display) {
|
|
4154
4154
|
cs2 += " dhx_cal_event_cascade";
|
|
4155
4155
|
}
|
|
4156
|
-
var boxWidth = w;
|
|
4156
|
+
var boxWidth = w - 1;
|
|
4157
4157
|
var html = '<div event_id="' + id2 + '" ' + this.config.event_attribute + '="' + id2 + '" class="' + cs2 + '" style="position:absolute; top:' + y + "px; " + (this.config.rtl ? "right:" : "left:") + x + "px; width:" + boxWidth + "px; height:" + h + "px;" + (style || "") + '"></div>';
|
|
4158
4158
|
d.innerHTML = html;
|
|
4159
4159
|
var container = d.cloneNode(true).firstChild;
|
|
@@ -7500,6 +7500,7 @@
|
|
|
7500
7500
|
const monthStart = scheduler2.date.month_start(new Date(date));
|
|
7501
7501
|
const monthEnd = scheduler2.date.add(scheduler2.date.month_start(new Date(date)), 1, "month");
|
|
7502
7502
|
let lastDate = scheduler2.date.add(scheduler2.date.month_start(new Date(date)), 1, "month");
|
|
7503
|
+
const currentCalDate = scheduler2.date.date_part(scheduler2._currentDate());
|
|
7503
7504
|
if (lastDate.getDay() !== 0) {
|
|
7504
7505
|
lastDate = scheduler2.date.add(scheduler2.date.week_start(lastDate), 1, "week");
|
|
7505
7506
|
}
|
|
@@ -7528,6 +7529,9 @@
|
|
|
7528
7529
|
if (currDate.getDay() === 0 || currDate.getDay() === 6) {
|
|
7529
7530
|
dayElement.classList.add("dhx_cal_datepicker_weekend");
|
|
7530
7531
|
}
|
|
7532
|
+
if (currDate.valueOf() == currentCalDate.valueOf()) {
|
|
7533
|
+
dayElement.classList.add("dhx_now");
|
|
7534
|
+
}
|
|
7531
7535
|
if (minSchedulerDate && maxSchedulerDate) {
|
|
7532
7536
|
if (currDate.valueOf() >= minSchedulerDate.valueOf() && currDate.valueOf() < maxSchedulerDate.valueOf()) {
|
|
7533
7537
|
dayElement.classList.add("dhx_cal_datepicker_current");
|
|
@@ -7620,7 +7624,7 @@
|
|
|
7620
7624
|
}
|
|
7621
7625
|
}
|
|
7622
7626
|
function factoryMethod(extensionManager) {
|
|
7623
|
-
const scheduler2 = { version: "7.0.
|
|
7627
|
+
const scheduler2 = { version: "7.0.5" };
|
|
7624
7628
|
extend$n(scheduler2);
|
|
7625
7629
|
extend$i(scheduler2);
|
|
7626
7630
|
extend$j(scheduler2);
|