dhtmlx-scheduler 7.0.0 → 7.0.1
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 +3 -3
- package/bower.json +1 -1
- package/codebase/dhtmlxscheduler.css +1 -1
- package/codebase/dhtmlxscheduler.es.js +11 -8
- package/codebase/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/dhtmlxscheduler.js +5 -5
- package/codebase/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.css +20 -4
- package/codebase/sources/dhtmlxscheduler.es.js +19 -4
- package/codebase/sources/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.js +19 -4
- package/codebase/sources/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/less/package.json +1 -1
- package/codebase/sources/less/src/columns_view.less +1 -0
- package/codebase/sources/less/src/icons.less +4 -0
- package/codebase/sources/less/src/quick_info.less +1 -1
- package/codebase/sources/less/src/timeline.less +16 -4
- package/package.json +1 -1
- package/whatsnew.md +8 -0
|
@@ -562,18 +562,22 @@ url("src/dhx-scheduler-icons.woff2?7d3dc8d31762f76ad3c385c23e9afbc6") format("wo
|
|
|
562
562
|
.scheduler_icon.chevron_down:before,
|
|
563
563
|
.dhx_menu_icon.icon_chevron_down:before {
|
|
564
564
|
content: "\f109";
|
|
565
|
+
font-size: 24px;
|
|
565
566
|
}
|
|
566
567
|
.scheduler_icon.chevron_left:before,
|
|
567
568
|
.dhx_menu_icon.icon_chevron_left:before {
|
|
568
569
|
content: "\f10a";
|
|
570
|
+
font-size: 24px;
|
|
569
571
|
}
|
|
570
572
|
.scheduler_icon.chevron_right:before,
|
|
571
573
|
.dhx_menu_icon.icon_chevron_right:before {
|
|
572
574
|
content: "\f10b";
|
|
575
|
+
font-size: 24px;
|
|
573
576
|
}
|
|
574
577
|
.scheduler_icon.chevron_up:before,
|
|
575
578
|
.dhx_menu_icon.icon_chevron_up:before {
|
|
576
579
|
content: "\f10c";
|
|
580
|
+
font-size: 24px;
|
|
577
581
|
}
|
|
578
582
|
.scheduler_icon.clock:before,
|
|
579
583
|
.dhx_menu_icon.icon_clock:before {
|
|
@@ -2010,6 +2014,7 @@ url("src/dhx-scheduler-icons.woff2?7d3dc8d31762f76ad3c385c23e9afbc6") format("wo
|
|
|
2010
2014
|
}
|
|
2011
2015
|
.dhx_scale_holder_now {
|
|
2012
2016
|
--dhx-scheduler-timescale-background: var(--dhx-scheduler-timescale-today-background);
|
|
2017
|
+
position: absolute;
|
|
2013
2018
|
}
|
|
2014
2019
|
.dhx_cal_container_rtl .dhx_scale_bar {
|
|
2015
2020
|
border-left: none;
|
|
@@ -2482,6 +2487,7 @@ url("src/dhx-scheduler-icons.woff2?7d3dc8d31762f76ad3c385c23e9afbc6") format("wo
|
|
|
2482
2487
|
display: flex;
|
|
2483
2488
|
flex-direction: column;
|
|
2484
2489
|
box-shadow: var(--dhx-scheduler-box-shadow-s);
|
|
2490
|
+
transition: left 0.5s ease, right 0.5s ease;
|
|
2485
2491
|
}
|
|
2486
2492
|
.dhx_cal_qi_tcontrols {
|
|
2487
2493
|
display: flex;
|
|
@@ -2761,10 +2767,14 @@ url("src/dhx-scheduler-icons.woff2?7d3dc8d31762f76ad3c385c23e9afbc6") format("wo
|
|
|
2761
2767
|
padding-left: 64px;
|
|
2762
2768
|
}
|
|
2763
2769
|
.dhx_matrix_scell.folder {
|
|
2764
|
-
border-right:
|
|
2770
|
+
border-right-color: transparent;
|
|
2765
2771
|
font-weight: 700;
|
|
2766
2772
|
text-align: left;
|
|
2767
2773
|
}
|
|
2774
|
+
.dhx_cal_container_rtl .dhx_matrix_scell.folder {
|
|
2775
|
+
border-right: var(--dhx-scheduler-default-border);
|
|
2776
|
+
border-left-color: transparent;
|
|
2777
|
+
}
|
|
2768
2778
|
.dhx_matrix_line {
|
|
2769
2779
|
overflow: hidden;
|
|
2770
2780
|
}
|
|
@@ -2783,6 +2793,7 @@ url("src/dhx-scheduler-icons.woff2?7d3dc8d31762f76ad3c385c23e9afbc6") format("wo
|
|
|
2783
2793
|
}
|
|
2784
2794
|
.dhx_matrix_scell.folder .dhx_scell_expand:before {
|
|
2785
2795
|
content: "\f109";
|
|
2796
|
+
font-size: 24px;
|
|
2786
2797
|
}
|
|
2787
2798
|
.dhx_matrix_scell.folder.closed .dhx_scell_expand {
|
|
2788
2799
|
transform: rotate(-90deg);
|
|
@@ -2794,7 +2805,6 @@ url("src/dhx-scheduler-icons.woff2?7d3dc8d31762f76ad3c385c23e9afbc6") format("wo
|
|
|
2794
2805
|
.dhx_matrix_scell.folder > div {
|
|
2795
2806
|
display: flex;
|
|
2796
2807
|
align-items: center;
|
|
2797
|
-
gap: 4px;
|
|
2798
2808
|
height: inherit;
|
|
2799
2809
|
}
|
|
2800
2810
|
.dhx_matrix_scell.folder .dhx_scell_expand {
|
|
@@ -2860,8 +2870,8 @@ url("src/dhx-scheduler-icons.woff2?7d3dc8d31762f76ad3c385c23e9afbc6") format("wo
|
|
|
2860
2870
|
.dhx_second_scale_bar {
|
|
2861
2871
|
border-bottom: var(--dhx-scheduler-header-border);
|
|
2862
2872
|
}
|
|
2863
|
-
.dhx_timeline_label_column,
|
|
2864
|
-
.dhx_timeline_label_column_header {
|
|
2873
|
+
div.dhx_timeline_label_column,
|
|
2874
|
+
div.dhx_timeline_label_column_header {
|
|
2865
2875
|
display: flex;
|
|
2866
2876
|
justify-content: center;
|
|
2867
2877
|
align-items: center;
|
|
@@ -2869,6 +2879,12 @@ url("src/dhx-scheduler-icons.woff2?7d3dc8d31762f76ad3c385c23e9afbc6") format("wo
|
|
|
2869
2879
|
flex-grow: 0;
|
|
2870
2880
|
flex-shrink: 0;
|
|
2871
2881
|
height: 100%;
|
|
2882
|
+
white-space: nowrap;
|
|
2883
|
+
}
|
|
2884
|
+
div.dhx_timeline_label_column .dhx_timeline_label_content_wrapper,
|
|
2885
|
+
div.dhx_timeline_label_column_header .dhx_timeline_label_content_wrapper {
|
|
2886
|
+
display: inline-block;
|
|
2887
|
+
text-align: left;
|
|
2872
2888
|
}
|
|
2873
2889
|
.dhx_timeline_label_column {
|
|
2874
2890
|
border-left: var(--dhx-scheduler-header-border);
|
|
@@ -988,6 +988,7 @@ function extend$j(scheduler2) {
|
|
|
988
988
|
pos = { x: ev.clientX + (b.scrollLeft || d.scrollLeft || 0) - b.clientLeft, y: ev.clientY + (b.scrollTop || d.scrollTop || 0) - b.clientTop };
|
|
989
989
|
if (this.config.rtl && this._colsS) {
|
|
990
990
|
pos.x = this.$container.querySelector(".dhx_cal_data").offsetWidth - pos.x;
|
|
991
|
+
pos.x += this.$domHelpers.getAbsoluteLeft(this._obj);
|
|
991
992
|
if (this._mode !== "month") {
|
|
992
993
|
pos.x -= this.xy.scale_width;
|
|
993
994
|
}
|
|
@@ -1420,6 +1421,8 @@ function extend$j(scheduler2) {
|
|
|
1420
1421
|
this._drag_id = null;
|
|
1421
1422
|
this._drag_mode = null;
|
|
1422
1423
|
this._drag_pos = null;
|
|
1424
|
+
this._drag_event = null;
|
|
1425
|
+
this._drag_from_start = null;
|
|
1423
1426
|
};
|
|
1424
1427
|
scheduler2._trigger_dyn_loading = function() {
|
|
1425
1428
|
if (this._load_mode && this._load()) {
|
|
@@ -3306,7 +3309,7 @@ function extend$e(scheduler2) {
|
|
|
3306
3309
|
} };
|
|
3307
3310
|
}
|
|
3308
3311
|
function extend$d(scheduler2) {
|
|
3309
|
-
scheduler2.config = { default_date: "%j %M %Y", month_date: "%F %Y", load_date: "%Y-%m-%d", week_date: "%l", day_date: "%D %j", hour_date: "%H:%i", month_day: "%d", date_format: "%Y-%m-%d %H:%i", api_date: "%d-%m-%Y %H:%i", parse_exact_format: false, preserve_length: true, time_step: 5, displayed_event_color: "#ff4a4a", displayed_event_text_color: "#ffef80", wide_form: 0, day_column_padding: 8, use_select_menu_space: true, fix_tab_position: true, start_on_monday: true, first_hour: 0, last_hour: 24, readonly: false, drag_resize: true, drag_move: true, drag_create: true, drag_event_body: true, dblclick_create: true, details_on_dblclick: true, edit_on_create: true, details_on_create: true, header: null, hour_size_px: 44, resize_month_events: false, resize_month_timed: false, responsive_lightbox: false, separate_short_events: true, rtl: false, cascade_event_display: false, cascade_event_count: 4, cascade_event_margin: 30, multi_day: true, multi_day_height_limit:
|
|
3312
|
+
scheduler2.config = { default_date: "%j %M %Y", month_date: "%F %Y", load_date: "%Y-%m-%d", week_date: "%l", day_date: "%D %j", hour_date: "%H:%i", month_day: "%d", date_format: "%Y-%m-%d %H:%i", api_date: "%d-%m-%Y %H:%i", parse_exact_format: false, preserve_length: true, time_step: 5, displayed_event_color: "#ff4a4a", displayed_event_text_color: "#ffef80", wide_form: 0, day_column_padding: 8, use_select_menu_space: true, fix_tab_position: true, start_on_monday: true, first_hour: 0, last_hour: 24, readonly: false, drag_resize: true, drag_move: true, drag_create: true, drag_event_body: true, dblclick_create: true, details_on_dblclick: true, edit_on_create: true, details_on_create: true, header: null, hour_size_px: 44, resize_month_events: false, resize_month_timed: false, responsive_lightbox: false, separate_short_events: true, rtl: false, cascade_event_display: false, cascade_event_count: 4, cascade_event_margin: 30, multi_day: true, multi_day_height_limit: 200, drag_lightbox: true, preserve_scroll: true, select: true, server_utc: false, touch: true, touch_tip: true, touch_drag: 500, touch_swipe_dates: false, quick_info_detached: true, positive_closing: false, drag_highlight: true, limit_drag_out: false, icons_edit: ["icon_save", "icon_cancel"], icons_select: ["icon_details", "icon_edit", "icon_delete"], buttons_left: ["dhx_save_btn", "dhx_cancel_btn"], buttons_right: ["dhx_delete_btn"], lightbox: { sections: [{ name: "description", map_to: "text", type: "textarea", focus: true }, { name: "time", height: 72, type: "time", map_to: "auto" }] }, highlight_displayed_event: true, left_border: false, ajax_error: "alert", delay_render: 0, timeline_swap_resize: true, wai_aria_attributes: true, wai_aria_application_role: true, csp: "auto", event_attribute: "data-event-id", show_errors: true };
|
|
3310
3313
|
scheduler2.config.buttons_left.$initial = scheduler2.config.buttons_left.join();
|
|
3311
3314
|
scheduler2.config.buttons_right.$initial = scheduler2.config.buttons_right.join();
|
|
3312
3315
|
scheduler2._helpers = { parseDate: function parseDate(date) {
|
|
@@ -7661,7 +7664,7 @@ class DatePicker {
|
|
|
7661
7664
|
}
|
|
7662
7665
|
}
|
|
7663
7666
|
function factoryMethod(extensionManager) {
|
|
7664
|
-
const scheduler2 = { version: "7.0.
|
|
7667
|
+
const scheduler2 = { version: "7.0.1" };
|
|
7665
7668
|
extend$n(scheduler2);
|
|
7666
7669
|
extend$i(scheduler2);
|
|
7667
7670
|
extend$j(scheduler2);
|
|
@@ -9307,7 +9310,11 @@ function marker(scheduler2) {
|
|
|
9307
9310
|
area = scheduler2.$container.querySelector(".dhx_cal_data");
|
|
9308
9311
|
}
|
|
9309
9312
|
var width = Math.max(1, end_pos - start_pos - 1);
|
|
9310
|
-
|
|
9313
|
+
let direction = "left";
|
|
9314
|
+
if (scheduler2.config.rtl) {
|
|
9315
|
+
direction = "right";
|
|
9316
|
+
}
|
|
9317
|
+
block.style.cssText = `height:${height}px; ${direction}:${start_pos}px; width:${width}px; top:${top}px;`;
|
|
9311
9318
|
if (area) {
|
|
9312
9319
|
area.appendChild(block);
|
|
9313
9320
|
blocks.push(block);
|
|
@@ -14145,6 +14152,13 @@ function quick_info(scheduler2) {
|
|
|
14145
14152
|
var height = qi.offsetHeight;
|
|
14146
14153
|
if (scheduler2.config.quick_info_detached) {
|
|
14147
14154
|
var left = pos.left - pos.dx * (width - pos.width);
|
|
14155
|
+
if (scheduler2.getView() && scheduler2.getView()._x_scroll) {
|
|
14156
|
+
if (scheduler2.config.rtl) {
|
|
14157
|
+
left += scheduler2.getView()._x_scroll;
|
|
14158
|
+
} else {
|
|
14159
|
+
left -= scheduler2.getView()._x_scroll;
|
|
14160
|
+
}
|
|
14161
|
+
}
|
|
14148
14162
|
var right = left + width;
|
|
14149
14163
|
if (right > window.innerWidth) {
|
|
14150
14164
|
left = window.innerWidth - width;
|
|
@@ -14153,7 +14167,8 @@ function quick_info(scheduler2) {
|
|
|
14153
14167
|
qi.style.left = left + "px";
|
|
14154
14168
|
qi.style.top = pos.top - (pos.dy ? height : -pos.height) + "px";
|
|
14155
14169
|
} else {
|
|
14156
|
-
|
|
14170
|
+
const dataPos = scheduler2.$container.querySelector(".dhx_cal_data").offsetTop;
|
|
14171
|
+
qi.style.top = dataPos + 20 + "px";
|
|
14157
14172
|
if (pos.dx == 1) {
|
|
14158
14173
|
qi.style.right = "auto";
|
|
14159
14174
|
qi.style.left = -width + "px";
|