vxe-gantt 4.9.9 → 4.9.10

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/dist/all.esm.js CHANGED
@@ -49,7 +49,7 @@ import { VxeUI as VxeUI2 } from "@vxe-ui/core";
49
49
  // packages_temp/ui/src/log.ts
50
50
  import { VxeUI } from "@vxe-ui/core";
51
51
  var { log } = VxeUI;
52
- var ganttVersion = `gantt v${"4.9.9"}`;
52
+ var ganttVersion = `gantt v${"4.9.10"}`;
53
53
  function createComponentLog(name) {
54
54
  const uiVersion = VxeUI.uiVersion ? `ui v${VxeUI.uiVersion}` : "";
55
55
  const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : "";
@@ -6551,12 +6551,9 @@ var gantt_default = (
6551
6551
  return h6(
6552
6552
  "div",
6553
6553
  {
6554
- class: [
6555
- "vxe-gantt--view-split-bar",
6556
- {
6557
- "is--resize": isResize
6558
- }
6559
- ]
6554
+ class: ["vxe-gantt--view-split-bar", {
6555
+ "is--resize": isResize
6556
+ }]
6560
6557
  },
6561
6558
  [
6562
6559
  h6("div", {
@@ -6569,37 +6566,29 @@ var gantt_default = (
6569
6566
  class: "vxe-gantt--view-split-bar-btn-wrapper"
6570
6567
  },
6571
6568
  [
6572
- showCollapseTableButton && showRightView ? h6(
6573
- "div",
6574
- {
6575
- class: ["vxe-gantt--view-split-bar-action-btn", showLeftView ? "is--prev" : "is--next"],
6576
- onClick: handleSplitLeftViewEvent
6577
- },
6578
- [
6579
- h6("i", {
6580
- class: showLeftView ? getIcon2().GANTT_VIEW_LEFT_OPEN : getIcon2().GANTT_VIEW_LEFT_CLOSE
6581
- })
6582
- ]
6583
- ) : renderEmptyElement3($xeGantt),
6584
- showCollapseTaskButton && showLeftView ? h6(
6585
- "div",
6586
- {
6587
- class: ["vxe-gantt--view-split-bar-action-btn", showRightView ? "is--next" : "is--prev"],
6588
- onClick: handleSplitRightViewEvent
6589
- },
6590
- [
6591
- h6("i", {
6592
- class: showRightView ? getIcon2().GANTT_VIEW_RIGHT_OPEN : getIcon2().GANTT_VIEW_RIGHT_CLOSE
6593
- })
6594
- ]
6595
- ) : renderEmptyElement3($xeGantt)
6569
+ showCollapseTableButton && showRightView ? h6("div", {
6570
+ class: ["vxe-gantt--view-split-bar-action-btn", showLeftView ? "is--prev" : "is--next"],
6571
+ onClick: handleSplitLeftViewEvent
6572
+ }, [
6573
+ h6("i", {
6574
+ class: showLeftView ? getIcon2().GANTT_VIEW_LEFT_OPEN : getIcon2().GANTT_VIEW_LEFT_CLOSE
6575
+ })
6576
+ ]) : renderEmptyElement3($xeGantt),
6577
+ showCollapseTaskButton && showLeftView ? h6("div", {
6578
+ class: ["vxe-gantt--view-split-bar-action-btn", showRightView ? "is--next" : "is--prev"],
6579
+ onClick: handleSplitRightViewEvent
6580
+ }, [
6581
+ h6("i", {
6582
+ class: showRightView ? getIcon2().GANTT_VIEW_RIGHT_OPEN : getIcon2().GANTT_VIEW_RIGHT_CLOSE
6583
+ })
6584
+ ]) : renderEmptyElement3($xeGantt)
6596
6585
  ]
6597
6586
  ) : renderEmptyElement3($xeGantt)
6598
6587
  ]
6599
6588
  );
6600
6589
  };
6601
6590
  const renderChildLayout = (layoutKeys) => {
6602
- const { showLeftView, showRightView } = reactData;
6591
+ const { showLeftView, showRightView, overflowY, overflowX } = reactData;
6603
6592
  const isVScrollbar = computeIsVScrollbar.value;
6604
6593
  const taskSplitOpts = computeTaskSplitOpts.value;
6605
6594
  const scrollbarXToTop = computeScrollbarXToTop.value;
@@ -6638,7 +6627,9 @@ var gantt_default = (
6638
6627
  "hide--left": !showLeftView,
6639
6628
  "show--right": showRightView,
6640
6629
  "hide--right": !showRightView,
6641
- "is--ah-split-btn": autoHideCollapseButton
6630
+ "is--ah-split-btn": autoHideCollapseButton,
6631
+ "is--scroll-y": overflowY,
6632
+ "is--scroll-x": overflowX
6642
6633
  }
6643
6634
  ]
6644
6635
  },
@@ -6985,7 +6976,7 @@ var gantt_default2 = VxeGantt;
6985
6976
  // packages_temp/ui/index.ts
6986
6977
  import { VxeUI as VxeUI9 } from "@vxe-ui/core";
6987
6978
  var { setConfig, setIcon } = VxeUI9;
6988
- VxeUI9.ganttVersion = "4.9.9";
6979
+ VxeUI9.ganttVersion = "4.9.10";
6989
6980
  var ymdFormat = "yyyy-MM-dd";
6990
6981
  var ymdhmsFormat = "yyyy-MM-dd HH:mm:ss";
6991
6982
  setConfig({