dhtmlx-scheduler 6.0.2 → 6.0.3

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.
Files changed (28) hide show
  1. package/README.md +2 -2
  2. package/bower.json +1 -1
  3. package/codebase/dhtmlxscheduler.css +2 -2
  4. package/codebase/dhtmlxscheduler.js +2 -2
  5. package/codebase/dhtmlxscheduler.js.map +1 -1
  6. package/codebase/dhtmlxscheduler_contrast_black.css +2 -2
  7. package/codebase/dhtmlxscheduler_contrast_white.css +2 -2
  8. package/codebase/dhtmlxscheduler_flat.css +2 -2
  9. package/codebase/dhtmlxscheduler_material.css +2 -2
  10. package/codebase/dhtmlxscheduler_material_nofont.css +2 -2
  11. package/codebase/dhtmlxscheduler_terrace.css +2 -2
  12. package/codebase/sources/dhtmlxscheduler.css +2 -2
  13. package/codebase/sources/dhtmlxscheduler.js +67 -121
  14. package/codebase/sources/less/package.json +1 -1
  15. package/codebase/sources/less/skins/basic/skin.less +1 -1
  16. package/codebase/sources/less/skins/contrast_black/skin.less +1 -1
  17. package/codebase/sources/less/skins/flat/skin.less +1 -1
  18. package/codebase/sources/less/skins/material/add_styles.less +1 -1
  19. package/codebase/sources/less/skins/material/skin.less +1 -1
  20. package/codebase/sources/less/skins/terrace/skin.less +1 -1
  21. package/codebase/sources/skins/dhtmlxscheduler_contrast_black.css +2 -2
  22. package/codebase/sources/skins/dhtmlxscheduler_contrast_white.css +2 -2
  23. package/codebase/sources/skins/dhtmlxscheduler_flat.css +2 -2
  24. package/codebase/sources/skins/dhtmlxscheduler_material.css +3 -3
  25. package/codebase/sources/skins/dhtmlxscheduler_material_nofont.css +3 -3
  26. package/codebase/sources/skins/dhtmlxscheduler_terrace.css +2 -2
  27. package/package.json +1 -1
  28. package/whatsnew.md +8 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @license
3
3
  *
4
- * dhtmlxScheduler v.6.0.2 Standard
4
+ * dhtmlxScheduler v.6.0.3 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
  *
@@ -8984,8 +8984,8 @@ function extend(scheduler) {
8984
8984
 
8985
8985
  var defaults = scheduler._lightbox_controls.defaults.select;
8986
8986
  var defaultHeight = defaults ? defaults.height : 23;
8987
- var height = defaultHeight || 30;
8988
- return "<div style='height:" + height + "px;padding-top:0px;font-size:inherit;' class='dhx_section_time'>" + html + "<span style='font-weight:normal; font-size:10pt;'> &nbsp;&ndash;&nbsp; </span>" + html + "</div>";
8987
+ var height = (sns.height || defaultHeight || 23) + "px";
8988
+ return "<div style='height:" + height + ";padding-top:0px;font-size:inherit;' class='dhx_section_time'>" + html + "<span style='font-weight:normal; font-size:10pt;'> &nbsp;&ndash;&nbsp; </span>" + html + "</div>";
8989
8989
  },
8990
8990
  set_value: function set_value(node, value, ev, config) {
8991
8991
  var cfg = scheduler.config;
@@ -9305,7 +9305,7 @@ function extend(scheduler) {
9305
9305
 
9306
9306
  scheduler.cancel_lightbox = function () {
9307
9307
  if (this._lightbox_id) {
9308
- this.callEvent("onEventCancel", [this._lightbox_id, this._new_event]);
9308
+ this.callEvent("onEventCancel", [this._lightbox_id, !!this._new_event]);
9309
9309
  }
9310
9310
 
9311
9311
  this.hide_lightbox();
@@ -18051,9 +18051,17 @@ __webpack_require__.r(__webpack_exports__);
18051
18051
  nextIndex = view.size && view.position ? view.position : 0;
18052
18052
  }
18053
18053
 
18054
- nextIndex = nextIndex < 0 ? nextIndex = (view.options || view.y_unit).length - 1 : nextIndex;
18054
+ if (nextIndex < 0) {
18055
+ nextIndex = 0;
18056
+ }
18057
+
18055
18058
  var options = view.options || view.y_unit;
18056
18059
 
18060
+ if (nextIndex >= options.length) {
18061
+ nextIndex = options.length - 1;
18062
+ } //nextIndex = nextIndex < 0 ? nextIndex = (view.options || view.y_unit).length -1 : nextIndex;
18063
+
18064
+
18057
18065
  if (options[nextIndex]) {
18058
18066
  return options[nextIndex].key;
18059
18067
  } else {
@@ -18090,6 +18098,12 @@ __webpack_require__.r(__webpack_exports__);
18090
18098
  return this.getNodes()[0];
18091
18099
  },
18092
18100
  focus: function focus() {
18101
+ if (this.section && scheduler.getView() && scheduler.getView().smart_rendering && scheduler.getView().scrollTo && !scheduler.$container.querySelector("[data-section-id=\"".concat(this.section, "\"]"))) {
18102
+ scheduler.getView().scrollTo({
18103
+ section: this.section
18104
+ });
18105
+ }
18106
+
18093
18107
  scheduler.$keyboardNavigation.marker.render(this.start_date, this.end_date, this.section);
18094
18108
  scheduler.$keyboardNavigation.KeyNavNode.prototype.focus.apply(this);
18095
18109
  scheduler.$keyboardNavigation._pasteDate = this.start_date;
@@ -19129,8 +19143,12 @@ __webpack_require__.r(__webpack_exports__);
19129
19143
 
19130
19144
  var width = Math.max(1, end_pos - start_pos - 1);
19131
19145
  block.style.cssText = "height: " + height + "px; left: " + start_pos + "px; width: " + width + "px; top: " + top + "px;";
19132
- area.appendChild(block);
19133
- blocks.push(block);
19146
+
19147
+ if (area) {
19148
+ area.appendChild(block);
19149
+ blocks.push(block);
19150
+ }
19151
+
19134
19152
  return blocks;
19135
19153
  },
19136
19154
  renderMonthCell: function renderMonthCell(date) {
@@ -25585,29 +25603,34 @@ __webpack_require__.r(__webpack_exports__);
25585
25603
  return ev.text;
25586
25604
  };
25587
25605
 
25588
- var is_year_mode = function is_year_mode() {
25606
+ var isYearMode = function isYearMode() {
25589
25607
  return scheduler._mode == "year";
25590
25608
  };
25591
25609
 
25592
- scheduler.dblclick_dhx_month_head = function (e) {
25593
- if (is_year_mode()) {
25594
- var t = e.target || e.srcElement;
25610
+ var getCellDate = function getCellDate(node) {
25611
+ var day = scheduler.$domHelpers.closest(node, "[data-cell-date]");
25612
+ if (!day || !day.hasAttribute("data-cell-date")) return null;
25613
+ return scheduler.templates.parse_date(day.getAttribute("data-cell-date"));
25614
+ }; // dbl click hook for scheduler._on_dbl_click
25595
25615
 
25596
- var className = scheduler._getClassName(t.parentNode);
25597
25616
 
25598
- if (className.indexOf("dhx_before") != -1 || className.indexOf("dhx_after") != -1) return false;
25599
- var monthNode = t;
25617
+ scheduler.dblclick_dhx_month_head = function (e) {
25618
+ if (isYearMode()) {
25619
+ var target = e.target;
25600
25620
 
25601
- while (monthNode && !(monthNode.hasAttribute && monthNode.hasAttribute("date"))) {
25602
- monthNode = monthNode.parentNode;
25621
+ if (scheduler.$domHelpers.closest(target, ".dhx_before") || scheduler.$domHelpers.closest(target, ".dhx_after")) {
25622
+ return false;
25603
25623
  }
25604
25624
 
25605
- if (monthNode) {
25606
- var start = this._helpers.parseDate(monthNode.getAttribute("date"));
25625
+ var date = getCellDate(target);
25607
25626
 
25608
- start.setDate(parseInt(t.innerHTML, 10));
25627
+ if (date) {
25628
+ var start = date;
25609
25629
  var end = this.date.add(start, 1, "day");
25610
- if (!this.config.readonly && this.config.dblclick_create) this.addEventNow(start.valueOf(), end.valueOf(), e);
25630
+
25631
+ if (!this.config.readonly && this.config.dblclick_create) {
25632
+ this.addEventNow(start.valueOf(), end.valueOf(), e);
25633
+ }
25611
25634
  }
25612
25635
  }
25613
25636
  };
@@ -25616,13 +25639,13 @@ __webpack_require__.r(__webpack_exports__);
25616
25639
 
25617
25640
  scheduler.changeEventId = function () {
25618
25641
  chid.apply(this, arguments);
25619
- if (is_year_mode()) this.year_view(true);
25642
+ if (isYearMode()) this.year_view(true);
25620
25643
  };
25621
25644
 
25622
25645
  var old = scheduler.render_data;
25623
25646
 
25624
25647
  scheduler.render_data = function (evs) {
25625
- if (!is_year_mode()) return old.apply(this, arguments);
25648
+ if (!isYearMode()) return old.apply(this, arguments);
25626
25649
 
25627
25650
  for (var i = 0; i < evs.length; i++) {
25628
25651
  this._year_render_event(evs[i]);
@@ -25632,7 +25655,7 @@ __webpack_require__.r(__webpack_exports__);
25632
25655
  var clear = scheduler.clear_view;
25633
25656
 
25634
25657
  scheduler.clear_view = function () {
25635
- if (!is_year_mode()) return clear.apply(this, arguments);
25658
+ if (!isYearMode()) return clear.apply(this, arguments);
25636
25659
  var dates = scheduler._year_marked_cells,
25637
25660
  div = null;
25638
25661
 
@@ -25641,6 +25664,7 @@ __webpack_require__.r(__webpack_exports__);
25641
25664
  div = dates[date];
25642
25665
  div.className = "dhx_month_head";
25643
25666
  div.removeAttribute("date");
25667
+ div.removeAttribute("data-year-date");
25644
25668
  }
25645
25669
  }
25646
25670
 
@@ -25689,7 +25713,7 @@ __webpack_require__.r(__webpack_exports__);
25689
25713
  };
25690
25714
 
25691
25715
  scheduler._year_view_tooltip_handler = function (e) {
25692
- if (!is_year_mode()) return;
25716
+ if (!isYearMode()) return;
25693
25717
  var src = e.target || e.srcElement;
25694
25718
  if (src.tagName.toLowerCase() == 'a') // fix for active links extension (it adds links to the date in the cell)
25695
25719
  src = src.parentNode;
@@ -25703,15 +25727,16 @@ __webpack_require__.r(__webpack_exports__);
25703
25727
  };
25704
25728
 
25705
25729
  scheduler._get_year_cell = function (d) {
25706
- //there can be more than 1 year in view
25707
- //year can start not from January
25708
- var m = d.getMonth() + 12 * (d.getFullYear() - this._min_date.getFullYear()) - this.week_starts._month;
25730
+ var dateString = scheduler.templates.format_date(d);
25731
+ var cells = this.$root.querySelectorAll(".dhx_cal_data [data-cell-date=\"".concat(dateString, "\"] .dhx_month_head"));
25732
+
25733
+ for (var i = 0; i < cells.length; i++) {
25734
+ if (!scheduler.$domHelpers.closest(cells[i], ".dhx_after, .dhx_before")) {
25735
+ return cells[i];
25736
+ }
25737
+ }
25709
25738
 
25710
- var yearBox = this._els["dhx_cal_data"][0].childNodes[m];
25711
- var dayIndex = this.week_starts[m] + d.getDate() - 1;
25712
- var row = yearBox.querySelectorAll(".dhx_year_body tr")[Math.floor(dayIndex / 7)];
25713
- var cell = row.querySelectorAll("td")[dayIndex % 7];
25714
- return cell.querySelector(".dhx_month_head");
25739
+ return null;
25715
25740
  };
25716
25741
 
25717
25742
  scheduler._year_marked_cells = {};
@@ -25728,7 +25753,8 @@ __webpack_require__.r(__webpack_exports__);
25728
25753
  var ev_class = this.templates.event_class(event.start_date, event.end_date, event);
25729
25754
 
25730
25755
  if (!scheduler._year_marked_cells[dateString]) {
25731
- cell.className = "dhx_month_head dhx_year_event";
25756
+ cell.classList.add("dhx_year_event"); // = "dhx_month_head dhx_year_event";
25757
+
25732
25758
  cell.setAttribute("data-year-date", dateString);
25733
25759
  cell.setAttribute("date", dateString);
25734
25760
  scheduler._year_marked_cells[dateString] = cell;
@@ -25852,6 +25878,7 @@ __webpack_require__.r(__webpack_exports__);
25852
25878
  d.className = "dhx_year_box";
25853
25879
  d.style.cssText = "position:absolute;";
25854
25880
  d.setAttribute("date", this._helpers.formatDate(sd));
25881
+ d.setAttribute("data-month-date", this._helpers.formatDate(sd));
25855
25882
  d.innerHTML = "<div class='dhx_year_month'></div><div class='dhx_year_grid'><div class='dhx_year_week'>" + week_template.innerHTML + "</div><div class='dhx_year_body'></div></div>";
25856
25883
  var header = d.querySelector(".dhx_year_month");
25857
25884
  var grid = d.querySelector(".dhx_year_grid");
@@ -25900,75 +25927,26 @@ __webpack_require__.r(__webpack_exports__);
25900
25927
  var getActionData = scheduler.getActionData;
25901
25928
 
25902
25929
  scheduler.getActionData = function (n_ev) {
25903
- if (!is_year_mode()) return getActionData.apply(scheduler, arguments);
25904
- var trg = n_ev.target;
25905
-
25906
- var date = scheduler._get_year_month_date(trg);
25907
-
25908
- var day = scheduler._get_year_month_cell(trg);
25909
-
25910
- var pos = scheduler._get_year_day_indexes(day);
25911
-
25912
- if (pos && date) {
25913
- date = scheduler.date.add(date, pos.week, "week");
25914
- date = scheduler.date.add(date, pos.day, "day");
25915
- } else {
25916
- date = null;
25930
+ if (!isYearMode()) {
25931
+ return getActionData.apply(scheduler, arguments);
25917
25932
  }
25918
25933
 
25934
+ var date = getCellDate(n_ev.target);
25919
25935
  return {
25920
25936
  date: date,
25921
25937
  section: null
25922
25938
  };
25923
25939
  };
25924
25940
 
25925
- scheduler._get_year_day_indexes = function (targetCell) {
25926
- var month = scheduler._get_year_el_node(targetCell, this._locate_year_month_table);
25927
-
25928
- if (!month) return null;
25929
- var week = 0,
25930
- day = 0;
25931
-
25932
- for (var week = 0, weeks = month.rows.length; week < weeks; week++) {
25933
- var w = month.rows[week].getElementsByTagName("td");
25934
-
25935
- for (var day = 0, days = w.length; day < days; day++) {
25936
- if (w[day] == targetCell) break;
25937
- }
25938
-
25939
- if (day < days) break;
25940
- }
25941
-
25942
- if (week < weeks) return {
25943
- day: day,
25944
- week: week
25945
- };else return null;
25946
- };
25947
-
25948
- scheduler._get_year_month_date = function (node) {
25949
- var node = scheduler._get_year_el_node(node, scheduler._locate_year_month_root);
25950
-
25951
- if (!node) return null;
25952
- var date = node.getAttribute("data-year-date");
25953
- if (!date) return null;
25954
- return scheduler.date.week_start(scheduler.date.month_start(scheduler.templates.parse_date(date)));
25955
- };
25956
-
25957
- scheduler._locate_year_month_day = function (n) {
25958
- return scheduler._getClassName(n).indexOf("dhx_year_event") != -1 && n.hasAttribute && n.hasAttribute("data-year-date");
25959
- };
25960
-
25961
25941
  var locateEvent = scheduler._locate_event;
25962
25942
 
25963
25943
  scheduler._locate_event = function (node) {
25964
25944
  var id = locateEvent.apply(scheduler, arguments);
25965
25945
 
25966
25946
  if (!id) {
25967
- var day = scheduler._get_year_el_node(node, scheduler._locate_year_month_day);
25968
-
25969
- if (!day || !day.hasAttribute("data-year-date")) return null;
25970
- var dat = scheduler.templates.parse_date(day.getAttribute("data-year-date"));
25971
- var evs = scheduler.getEvents(dat, scheduler.date.add(dat, 1, "day"));
25947
+ var date = getCellDate(node);
25948
+ if (!date) return null;
25949
+ var evs = scheduler.getEvents(date, scheduler.date.add(date, 1, "day"));
25972
25950
  if (!evs.length) return null; //can be multiple events in the cell, return any single one
25973
25951
 
25974
25952
  id = evs[0].id;
@@ -25977,38 +25955,6 @@ __webpack_require__.r(__webpack_exports__);
25977
25955
  return id;
25978
25956
  };
25979
25957
 
25980
- scheduler._locate_year_month_cell = function (n) {
25981
- return n.nodeName.toLowerCase() == "td";
25982
- };
25983
-
25984
- scheduler._locate_year_month_table = function (n) {
25985
- return n.nodeName.toLowerCase() == "table";
25986
- };
25987
-
25988
- scheduler._locate_year_month_root = function (n) {
25989
- return n.hasAttribute && n.hasAttribute("data-year-date");
25990
- };
25991
-
25992
- scheduler._get_year_month_cell = function (node) {
25993
- return this._get_year_el_node(node, this._locate_year_month_cell);
25994
- };
25995
-
25996
- scheduler._get_year_month_table = function (node) {
25997
- return this._get_year_el_node(node, this._locate_year_month_table);
25998
- };
25999
-
26000
- scheduler._get_year_month_root = function (node) {
26001
- return this._get_year_el_node(this._get_year_month_table(node), this._locate_year_month_root);
26002
- };
26003
-
26004
- scheduler._get_year_el_node = function (node, condition) {
26005
- while (node && !condition(node)) {
26006
- node = node.parentNode;
26007
- }
26008
-
26009
- return node;
26010
- };
26011
-
26012
25958
  scheduler.attachEvent("onDestroy", function () {
26013
25959
  scheduler._hideToolTip();
26014
25960
  });
@@ -29221,7 +29167,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
29221
29167
 
29222
29168
  /* harmony default export */ __webpack_exports__["default"] = (function (extensionManager) {
29223
29169
  var scheduler = {
29224
- version: "6.0.2"
29170
+ version: "6.0.3"
29225
29171
  };
29226
29172
  Object(_core_common_errors__WEBPACK_IMPORTED_MODULE_2__["default"])(scheduler);
29227
29173
  Object(_core_common__WEBPACK_IMPORTED_MODULE_5__["default"])(scheduler);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhtmlx-scheduler-skins",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "Less sources and a build tool for DHTMLXScheduler skins",
5
5
  "scripts": {
6
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",
@@ -637,7 +637,7 @@
637
637
  @lightbox-area-time-block-padding-left: 0;
638
638
  @lightbox-area-time-block-padding: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-right @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-left ~'!important';
639
639
  @lightbox-area-time-block-padding-rtl: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-left @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-right ~'!important';
640
- @lightbox-area-time-block-height: 20px ~'!important';
640
+ @lightbox-area-time-block-height: 20px;
641
641
  @lightbox-area-time-block-textaligment: center;
642
642
  @lightbox-responsive-time-select-width: 14.648vw;
643
643
  @lightbox-responsive-time-select-padding:1.953vw !important;
@@ -671,7 +671,7 @@
671
671
  @lightbox-area-time-block-padding-left: 0;
672
672
  @lightbox-area-time-block-padding: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-right @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-left ~'!important';
673
673
  @lightbox-area-time-block-padding-rtl: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-left @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-right ~'!important';
674
- @lightbox-area-time-block-height: 20px ~'!important';
674
+ @lightbox-area-time-block-height: 20px;
675
675
  @lightbox-area-time-block-textaligment: center;
676
676
 
677
677
 
@@ -603,7 +603,7 @@
603
603
  @lightbox-area-time-block-padding-left: 0;
604
604
  @lightbox-area-time-block-padding: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-right @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-left ~'!important';
605
605
  @lightbox-area-time-block-padding-rtl: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-left @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-right ~'!important';
606
- @lightbox-area-time-block-height: 20px ~'!important';
606
+ @lightbox-area-time-block-height: 20px;
607
607
  @lightbox-area-time-block-textaligment: center;
608
608
 
609
609
 
@@ -1134,7 +1134,7 @@ textarea.dhx_cal_editor {
1134
1134
  }*/
1135
1135
 
1136
1136
  .dhx_cal_light .dhx_wrap_section .dhx_section_time {
1137
- height: 100%!important;
1137
+ height: 100%;
1138
1138
  line-height:32px;
1139
1139
 
1140
1140
  &:after {
@@ -714,7 +714,7 @@
714
714
  @lightbox-area-time-block-padding-left: 117px;
715
715
  @lightbox-area-time-block-padding: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-right @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-left ~'!important';
716
716
  @lightbox-area-time-block-padding-rtl: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-left @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-right ~'!important';
717
- @lightbox-area-time-block-height: 20px ~'!important';
717
+ @lightbox-area-time-block-height: 20px;
718
718
  @lightbox-area-time-block-textaligment: center;
719
719
  @lightbox-responsive-time-select-width: 18.555vw;
720
720
  @lightbox-responsive-time-select-padding:5.859vw !important;
@@ -619,7 +619,7 @@
619
619
  @lightbox-area-time-block-padding-left: 0;
620
620
  @lightbox-area-time-block-padding: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-right @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-left ~'!important';
621
621
  @lightbox-area-time-block-padding-rtl: @lightbox-area-time-block-padding-top @lightbox-area-time-block-padding-left @lightbox-area-time-block-padding-bottom @lightbox-area-time-block-padding-right ~'!important';
622
- @lightbox-area-time-block-height: 20px ~'!important';
622
+ @lightbox-area-time-block-height: 20px;
623
623
  @lightbox-area-time-block-textaligment: center;
624
624
 
625
625
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @license
3
3
  *
4
- * dhtmlxScheduler v.6.0.2 Standard
4
+ * dhtmlxScheduler v.6.0.3 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
  *
@@ -691,7 +691,7 @@ div.icon_delete {
691
691
  }
692
692
  .dhx_cal_light_wide .dhx_section_time {
693
693
  padding: 2px 0 0 0 !important;
694
- height: 20px !important;
694
+ height: 20px;
695
695
  }
696
696
  .dhx_section_time {
697
697
  text-align: center;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @license
3
3
  *
4
- * dhtmlxScheduler v.6.0.2 Standard
4
+ * dhtmlxScheduler v.6.0.3 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
  *
@@ -688,7 +688,7 @@ div.icon_delete {
688
688
  }
689
689
  .dhx_cal_light_wide .dhx_section_time {
690
690
  padding: 2px 0 0 0 !important;
691
- height: 20px !important;
691
+ height: 20px;
692
692
  }
693
693
  .dhx_section_time {
694
694
  text-align: center;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @license
3
3
  *
4
- * dhtmlxScheduler v.6.0.2 Standard
4
+ * dhtmlxScheduler v.6.0.3 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
  *
@@ -632,7 +632,7 @@ div.icon_delete {
632
632
  }
633
633
  .dhx_cal_light_wide .dhx_section_time {
634
634
  padding: 2px 0 0 0 !important;
635
- height: 20px !important;
635
+ height: 20px;
636
636
  }
637
637
  .dhx_section_time {
638
638
  text-align: center;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @license
3
3
  *
4
- * dhtmlxScheduler v.6.0.2 Standard
4
+ * dhtmlxScheduler v.6.0.3 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
  *
@@ -632,7 +632,7 @@ div.icon_delete {
632
632
  }
633
633
  .dhx_cal_light_wide .dhx_section_time {
634
634
  padding: 2px 0 0 117px !important;
635
- height: 20px !important;
635
+ height: 20px;
636
636
  }
637
637
  .dhx_section_time {
638
638
  text-align: center;
@@ -3634,7 +3634,7 @@ textarea.dhx_cal_editor {
3634
3634
  height: 32px!important;
3635
3635
  }*/
3636
3636
  .dhx_cal_light .dhx_wrap_section .dhx_section_time {
3637
- height: 100%!important;
3637
+ height: 100%;
3638
3638
  line-height: 32px;
3639
3639
  }
3640
3640
  .dhx_cal_light .dhx_wrap_section .dhx_section_time:after {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @license
3
3
  *
4
- * dhtmlxScheduler v.6.0.2 Standard
4
+ * dhtmlxScheduler v.6.0.3 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
  *
@@ -631,7 +631,7 @@ div.icon_delete {
631
631
  }
632
632
  .dhx_cal_light_wide .dhx_section_time {
633
633
  padding: 2px 0 0 117px !important;
634
- height: 20px !important;
634
+ height: 20px;
635
635
  }
636
636
  .dhx_section_time {
637
637
  text-align: center;
@@ -3633,7 +3633,7 @@ textarea.dhx_cal_editor {
3633
3633
  height: 32px!important;
3634
3634
  }*/
3635
3635
  .dhx_cal_light .dhx_wrap_section .dhx_section_time {
3636
- height: 100%!important;
3636
+ height: 100%;
3637
3637
  line-height: 32px;
3638
3638
  }
3639
3639
  .dhx_cal_light .dhx_wrap_section .dhx_section_time:after {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @license
3
3
  *
4
- * dhtmlxScheduler v.6.0.2 Standard
4
+ * dhtmlxScheduler v.6.0.3 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
  *
@@ -688,7 +688,7 @@ div.icon_delete {
688
688
  }
689
689
  .dhx_cal_light_wide .dhx_section_time {
690
690
  padding: 2px 0 0 0 !important;
691
- height: 20px !important;
691
+ height: 20px;
692
692
  }
693
693
  .dhx_section_time {
694
694
  text-align: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhtmlx-scheduler",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "JavaScript event calendar. Allows to manage events and appointments in different views",
5
5
  "main": "codebase/dhtmlxscheduler.js",
6
6
  "types": "codebase/dhtmlxscheduler.d.ts",
package/whatsnew.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 6.0.3
2
+
3
+ Fix the regression in the Year view which caused incorrect date arguments for the 'onEmptyClick' event handler
4
+ Fix work of the 'height' property of the 'time' section of the lightbox
5
+ Fix the issue with the incorrect height of the time scale in the timeline view when the 'second_scale' was specified
6
+ Fix the value of the new event flag in the 'onEventCancel' event arguments (the flag must have a boolean value)
7
+ Fix the script error which happened on scroll in the Tree Timeline view when 'smart_rendering' was enabled and sections were initially loaded in the 'closed' state
8
+
1
9
  ### 6.0.2
2
10
 
3
11
  Fix the regression in scripts for building Custom Skins