vxe-gantt 3.9.4 → 3.9.6

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 (48) hide show
  1. package/es/components.d.ts +2 -1
  2. package/es/components.js +3 -4
  3. package/es/gantt/src/gantt-body.js +103 -79
  4. package/es/gantt/src/gantt-chart.js +376 -252
  5. package/es/gantt/src/gantt-footer.js +22 -14
  6. package/es/gantt/src/gantt-header.js +141 -110
  7. package/es/gantt/src/gantt-view.js +243 -198
  8. package/es/gantt/src/gantt.js +295 -187
  9. package/es/index.esm.js +4 -2
  10. package/es/index.js +4 -2
  11. package/es/ui/index.d.ts +0 -1
  12. package/es/ui/index.js +1 -2
  13. package/es/ui/src/log.js +1 -1
  14. package/es/ui/src/utils.d.ts +1 -1
  15. package/lib/components.js +5 -6
  16. package/lib/gantt/src/gantt-body.js +103 -79
  17. package/lib/gantt/src/gantt-chart.js +376 -252
  18. package/lib/gantt/src/gantt-footer.js +22 -14
  19. package/lib/gantt/src/gantt-header.js +141 -110
  20. package/lib/gantt/src/gantt-view.js +243 -198
  21. package/lib/gantt/src/gantt.js +295 -187
  22. package/lib/index.common.js +4 -2
  23. package/lib/index.js +4 -2
  24. package/lib/index.umd.js +1369 -1029
  25. package/lib/index.umd.min.js +1 -1
  26. package/lib/ui/index.js +1 -2
  27. package/lib/ui/src/log.js +1 -1
  28. package/package.json +7 -7
  29. package/packages/components.ts +21 -22
  30. package/packages/gantt/index.ts +32 -32
  31. package/packages/gantt/src/gantt-body.ts +349 -325
  32. package/packages/gantt/src/gantt-chart.ts +699 -575
  33. package/packages/gantt/src/gantt-footer.ts +81 -73
  34. package/packages/gantt/src/gantt-header.ts +218 -187
  35. package/packages/gantt/src/gantt-view.ts +2861 -2823
  36. package/packages/gantt/src/gantt.ts +3308 -3192
  37. package/packages/gantt/src/static.ts +35 -35
  38. package/packages/gantt/src/util.ts +35 -35
  39. package/packages/index.ts +15 -13
  40. package/packages/ui/index.ts +132 -135
  41. package/packages/ui/src/comp.ts +3 -3
  42. package/packages/ui/src/depend.ts +14 -14
  43. package/packages/ui/src/dom.ts +202 -202
  44. package/packages/ui/src/log.ts +19 -19
  45. package/packages/ui/src/utils.ts +68 -68
  46. package/packages/ui/src/vn.ts +13 -13
  47. package/types/all.d.ts +29 -29
  48. package/types/index.d.ts +4 -4
@@ -1107,18 +1107,22 @@ function handleSubTaskMinMaxSize($xeGanttView, $xeTable, list) {
1107
1107
  const typeField = $xeGantt.computeTypeField;
1108
1108
  let minChildLeftSize = 0;
1109
1109
  let maxChildLeftSize = 0;
1110
- XEUtils.eachTree(list, (childRow) => {
1111
- const childRowid = $xeTable.getRowid(childRow);
1112
- const renderTaskType = XEUtils.get(childRow, typeField);
1113
- if (hasSubviewTask(renderTaskType)) {
1114
- return;
1115
- }
1116
- const childChartRest = childRowid ? chartMaps[childRowid] : null;
1117
- if (childChartRest) {
1118
- maxChildLeftSize = Math.max(maxChildLeftSize, childChartRest.oLeftSize + childChartRest.oWidthSize);
1119
- minChildLeftSize = minChildLeftSize ? Math.min(minChildLeftSize, childChartRest.oLeftSize) : childChartRest.oLeftSize;
1120
- }
1121
- }, { children: childrenField });
1110
+ XEUtils.eachTree(
1111
+ list,
1112
+ (childRow) => {
1113
+ const childRowid = $xeTable.getRowid(childRow);
1114
+ const renderTaskType = XEUtils.get(childRow, typeField);
1115
+ if (hasSubviewTask(renderTaskType)) {
1116
+ return;
1117
+ }
1118
+ const childChartRest = childRowid ? chartMaps[childRowid] : null;
1119
+ if (childChartRest) {
1120
+ maxChildLeftSize = Math.max(maxChildLeftSize, childChartRest.oLeftSize + childChartRest.oWidthSize);
1121
+ minChildLeftSize = minChildLeftSize ? Math.min(minChildLeftSize, childChartRest.oLeftSize) : childChartRest.oLeftSize;
1122
+ }
1123
+ },
1124
+ { children: childrenField }
1125
+ );
1122
1126
  return {
1123
1127
  minSize: minChildLeftSize,
1124
1128
  maxSize: maxChildLeftSize
@@ -1311,10 +1315,7 @@ function updateStyle($xeGanttView) {
1311
1315
  bodyTableElem.style.width = `${vmTableWidth}px`;
1312
1316
  }
1313
1317
  reactData.scrollXWidth = viewTableWidth;
1314
- return Promise.all([
1315
- updateTaskChartStyle($xeGanttView),
1316
- $xeGantt.handleUpTaskLinkStyle ? $xeGantt.handleUpTaskLinkStyle($xeGanttView) : null
1317
- ]);
1318
+ return Promise.all([updateTaskChartStyle($xeGanttView), $xeGantt.handleUpTaskLinkStyle ? $xeGantt.handleUpTaskLinkStyle($xeGanttView) : null]);
1318
1319
  }
1319
1320
  function handleRecalculateStyle($xeGanttView) {
1320
1321
  const internalData = $xeGanttView.internalData;
@@ -1345,18 +1346,14 @@ function handleLazyRecalculate($xeGanttView) {
1345
1346
  if (rceTimeout) {
1346
1347
  clearTimeout(rceTimeout);
1347
1348
  if (rceRunTime && rceRunTime + (refreshDelay - 5) < Date.now()) {
1348
- resolve(
1349
- handleRecalculateStyle($xeGanttView)
1350
- );
1349
+ resolve(handleRecalculateStyle($xeGanttView));
1351
1350
  } else {
1352
1351
  $xeGanttView.$nextTick(() => {
1353
1352
  resolve();
1354
1353
  });
1355
1354
  }
1356
1355
  } else {
1357
- resolve(
1358
- handleRecalculateStyle($xeGanttView)
1359
- );
1356
+ resolve(handleRecalculateStyle($xeGanttView));
1360
1357
  }
1361
1358
  internalData.rceTimeout = setTimeout(() => {
1362
1359
  internalData.rceTimeout = void 0;
@@ -1611,10 +1608,7 @@ function syncTableScrollTop($xeGanttView, scrollTop) {
1611
1608
  }
1612
1609
  var gantt_view_default = defineVxeComponent({
1613
1610
  name: "VxeGanttView",
1614
- mixins: [
1615
- globalMixins.vScrollbarMixin,
1616
- globalMixins.initVScrollbarMixin
1617
- ],
1611
+ mixins: [globalMixins.vScrollbarMixin, globalMixins.initVScrollbarMixin],
1618
1612
  inject: {
1619
1613
  $xeGantt: {
1620
1614
  default: null
@@ -1726,17 +1720,20 @@ var gantt_view_default = defineVxeComponent({
1726
1720
  const scrollbarYToLeft = $xeGantt.computeScrollbarYToLeft;
1727
1721
  const scrollXVisible = $xeGanttView.computeScrollXVisible;
1728
1722
  const scrollYVisible = $xeGanttView.computeScrollYVisible;
1729
- return domUtils.buildClass([
1730
- "vxe-scrollbar is--virtual",
1731
- scrollbarOpts.fluentOverlay ? "is--fluent-overlay" : "is--default-mode",
1732
- `ov-x--${scrollXVisible === false ? "hidden" : "visible"}`,
1733
- `ov-y--${scrollYVisible === false ? "hidden" : "visible"}`,
1734
- `sx-pos--${scrollbarXToTop ? "top" : "bottom"}`,
1735
- `sy-pos--${scrollbarYToLeft ? "left" : "right"}`
1736
- ], {
1737
- "overflow-y": yThumbHeight,
1738
- "overflow-x": xThumbWidth
1739
- });
1723
+ return domUtils.buildClass(
1724
+ [
1725
+ "vxe-scrollbar is--virtual",
1726
+ scrollbarOpts.fluentOverlay ? "is--fluent-overlay" : "is--default-mode",
1727
+ `ov-x--${scrollXVisible === false ? "hidden" : "visible"}`,
1728
+ `ov-y--${scrollYVisible === false ? "hidden" : "visible"}`,
1729
+ `sx-pos--${scrollbarXToTop ? "top" : "bottom"}`,
1730
+ `sy-pos--${scrollbarYToLeft ? "left" : "right"}`
1731
+ ],
1732
+ {
1733
+ "overflow-y": yThumbHeight,
1734
+ "overflow-x": xThumbWidth
1735
+ }
1736
+ );
1740
1737
  },
1741
1738
  computeScaleDateList() {
1742
1739
  const $xeGanttView = this;
@@ -2259,99 +2256,121 @@ var gantt_view_default = defineVxeComponent({
2259
2256
  //
2260
2257
  renderScrollX(h) {
2261
2258
  const $xeGanttView = this;
2262
- return h("div", {
2263
- key: "vsx",
2264
- ref: "refScrollXVirtualElem",
2265
- class: "vxe-gantt-view--scroll-x-virtual"
2266
- }, [
2267
- h("div", {
2268
- ref: "refScrollXLeftCornerElem",
2269
- class: "vxe-gantt-view--scroll-x-left-corner"
2270
- }),
2271
- h("div", {
2272
- ref: "refScrollXWrapperElem",
2273
- class: "vxe-gantt-view--scroll-x-wrapper"
2274
- }, [
2259
+ return h(
2260
+ "div",
2261
+ {
2262
+ key: "vsx",
2263
+ ref: "refScrollXVirtualElem",
2264
+ class: "vxe-gantt-view--scroll-x-virtual"
2265
+ },
2266
+ [
2275
2267
  h("div", {
2276
- ref: "refScrollXHandleElem",
2277
- class: "vxe-gantt-view--scroll-x-handle",
2278
- on: {
2279
- scroll: $xeGanttView.triggerVirtualScrollXEvent
2280
- }
2281
- }, [
2282
- h("div", {
2283
- ref: "refScrollXSpaceElem",
2284
- class: "vxe-gantt-view--scroll-x-space"
2285
- })
2286
- ]),
2268
+ ref: "refScrollXLeftCornerElem",
2269
+ class: "vxe-gantt-view--scroll-x-left-corner"
2270
+ }),
2271
+ h(
2272
+ "div",
2273
+ {
2274
+ ref: "refScrollXWrapperElem",
2275
+ class: "vxe-gantt-view--scroll-x-wrapper"
2276
+ },
2277
+ [
2278
+ h(
2279
+ "div",
2280
+ {
2281
+ ref: "refScrollXHandleElem",
2282
+ class: "vxe-gantt-view--scroll-x-handle",
2283
+ on: {
2284
+ scroll: $xeGanttView.triggerVirtualScrollXEvent
2285
+ }
2286
+ },
2287
+ [
2288
+ h("div", {
2289
+ ref: "refScrollXSpaceElem",
2290
+ class: "vxe-gantt-view--scroll-x-space"
2291
+ })
2292
+ ]
2293
+ ),
2294
+ h("div", {
2295
+ class: "vxe-gantt-view--scroll-x-handle-appearance"
2296
+ })
2297
+ ]
2298
+ ),
2287
2299
  h("div", {
2288
- class: "vxe-gantt-view--scroll-x-handle-appearance"
2300
+ ref: "refScrollXRightCornerElem",
2301
+ class: "vxe-gantt-view--scroll-x-right-corner"
2289
2302
  })
2290
- ]),
2291
- h("div", {
2292
- ref: "refScrollXRightCornerElem",
2293
- class: "vxe-gantt-view--scroll-x-right-corner"
2294
- })
2295
- ]);
2303
+ ]
2304
+ );
2296
2305
  },
2297
2306
  renderScrollY(h) {
2298
2307
  const $xeGanttView = this;
2299
- return h("div", {
2300
- ref: "refScrollYVirtualElem",
2301
- class: "vxe-gantt-view--scroll-y-virtual"
2302
- }, [
2303
- h("div", {
2304
- ref: "refScrollYTopCornerElem",
2305
- class: "vxe-gantt-view--scroll-y-top-corner"
2306
- }),
2307
- h("div", {
2308
- ref: "refScrollYWrapperElem",
2309
- class: "vxe-gantt-view--scroll-y-wrapper"
2310
- }, [
2308
+ return h(
2309
+ "div",
2310
+ {
2311
+ ref: "refScrollYVirtualElem",
2312
+ class: "vxe-gantt-view--scroll-y-virtual"
2313
+ },
2314
+ [
2311
2315
  h("div", {
2312
- ref: "refScrollYHandleElem",
2313
- class: "vxe-gantt-view--scroll-y-handle",
2314
- on: {
2315
- scroll: $xeGanttView.triggerVirtualScrollYEvent
2316
- }
2317
- }, [
2318
- h("div", {
2319
- ref: "refScrollYSpaceElem",
2320
- class: "vxe-gantt-view--scroll-y-space"
2321
- })
2322
- ]),
2316
+ ref: "refScrollYTopCornerElem",
2317
+ class: "vxe-gantt-view--scroll-y-top-corner"
2318
+ }),
2319
+ h(
2320
+ "div",
2321
+ {
2322
+ ref: "refScrollYWrapperElem",
2323
+ class: "vxe-gantt-view--scroll-y-wrapper"
2324
+ },
2325
+ [
2326
+ h(
2327
+ "div",
2328
+ {
2329
+ ref: "refScrollYHandleElem",
2330
+ class: "vxe-gantt-view--scroll-y-handle",
2331
+ on: {
2332
+ scroll: $xeGanttView.triggerVirtualScrollYEvent
2333
+ }
2334
+ },
2335
+ [
2336
+ h("div", {
2337
+ ref: "refScrollYSpaceElem",
2338
+ class: "vxe-gantt-view--scroll-y-space"
2339
+ })
2340
+ ]
2341
+ ),
2342
+ h("div", {
2343
+ class: "vxe-gantt-view--scroll-y-handle-appearance"
2344
+ })
2345
+ ]
2346
+ ),
2323
2347
  h("div", {
2324
- class: "vxe-gantt-view--scroll-y-handle-appearance"
2348
+ ref: "refScrollYBottomCornerElem",
2349
+ class: "vxe-gantt-view--scroll-y-bottom-corner"
2325
2350
  })
2326
- ]),
2327
- h("div", {
2328
- ref: "refScrollYBottomCornerElem",
2329
- class: "vxe-gantt-view--scroll-y-bottom-corner"
2330
- })
2331
- ]);
2351
+ ]
2352
+ );
2332
2353
  },
2333
2354
  renderViewport(h) {
2334
- return h("div", {
2335
- class: "vxe-gantt-view--viewport-wrapper"
2336
- }, [
2337
- h(GanttViewHeaderComponent),
2338
- h(GanttViewBodyComponent),
2339
- h(GanttViewFooterComponent)
2340
- ]);
2355
+ return h(
2356
+ "div",
2357
+ {
2358
+ class: "vxe-gantt-view--viewport-wrapper"
2359
+ },
2360
+ [h(GanttViewHeaderComponent), h(GanttViewBodyComponent), h(GanttViewFooterComponent)]
2361
+ );
2341
2362
  },
2342
2363
  renderNativeBody(h) {
2343
2364
  const $xeGanttView = this;
2344
2365
  const $xeGantt = $xeGanttView.$xeGantt;
2345
2366
  const scrollbarYToLeft = $xeGantt.computeScrollbarYToLeft;
2346
- return h("div", {
2347
- class: "vxe-gantt-view--layout-wrapper"
2348
- }, scrollbarYToLeft ? [
2349
- $xeGanttView.renderScrollY(h),
2350
- $xeGanttView.renderViewport(h)
2351
- ] : [
2352
- $xeGanttView.renderViewport(h),
2353
- $xeGanttView.renderScrollY(h)
2354
- ]);
2367
+ return h(
2368
+ "div",
2369
+ {
2370
+ class: "vxe-gantt-view--layout-wrapper"
2371
+ },
2372
+ scrollbarYToLeft ? [$xeGanttView.renderScrollY(h), $xeGanttView.renderViewport(h)] : [$xeGanttView.renderViewport(h), $xeGanttView.renderScrollY(h)]
2373
+ );
2355
2374
  },
2356
2375
  renderVirtualBody(h) {
2357
2376
  const $xeGanttView = this;
@@ -2369,61 +2388,82 @@ var gantt_view_default = defineVxeComponent({
2369
2388
  const scrollbarXToTop = $xeGanttView.computeScrollbarXToTop;
2370
2389
  const scrollbarYToLeft = $xeGantt.computeScrollbarYToLeft;
2371
2390
  const scrollbarWrapperClss = $xeGanttView.computeScrollbarWrapperClss;
2372
- return h("div", {
2373
- key: "lvb",
2374
- class: ["vxe-gantt--layout-wrapper", `sx-pos--${scrollbarXToTop ? "top" : "bottom"}`, `sy-pos--${scrollbarYToLeft ? "left" : "right"}`, {
2375
- "is--virtual-scrollbar": isVScrollbar,
2376
- "ov-padding": isVScrollbar && scrollbarOpts.padding,
2377
- "ov-x--auto-hide": isVScrollbar && scrollXAutoHide,
2378
- "ov-y--auto-hide": isVScrollbar && scrollYAutoHide,
2379
- "overflow-y": yThumbHeight,
2380
- "overflow-x": xThumbWidth
2381
- }]
2382
- }, [
2383
- $xeGanttView.renderViewport(h),
2384
- h("div", {
2385
- class: scrollbarWrapperClss
2386
- }, [
2387
- scrollXVisible === false ? renderEmptyElement($xeGantt) : h("div", {
2388
- ref: "refTrackXElem",
2389
- class: "vxe-scrollbar--track-x",
2390
- on: {
2391
- click: $xeGanttView.clickTrackXEvent
2392
- }
2393
- }, [
2394
- h("div", {
2395
- ref: "refThumbXElem",
2396
- class: "vxe-scrollbar--thumb-x",
2397
- on: {
2398
- pointerdown: $xeGanttView.pointerdownThumbXEvent,
2399
- pointermove: $xeGanttView.pointermoveThumbXEvent,
2400
- pointerup: $xeGanttView.cleatPointerThumbEvent,
2401
- pointercancel: $xeGanttView.cleatPointerThumbEvent,
2402
- lostpointercapture: $xeGanttView.cleatPointerThumbEvent
2403
- }
2404
- })
2405
- ]),
2406
- scrollbarYToLeft && showLeftView || scrollYVisible === false ? renderEmptyElement($xeGantt) : h("div", {
2407
- ref: "refTrackYElem",
2408
- class: "vxe-scrollbar--track-y",
2409
- on: {
2410
- click: $xeGanttView.clickTrackYEvent
2391
+ return h(
2392
+ "div",
2393
+ {
2394
+ key: "lvb",
2395
+ class: [
2396
+ "vxe-gantt--layout-wrapper",
2397
+ `sx-pos--${scrollbarXToTop ? "top" : "bottom"}`,
2398
+ `sy-pos--${scrollbarYToLeft ? "left" : "right"}`,
2399
+ {
2400
+ "is--virtual-scrollbar": isVScrollbar,
2401
+ "ov-padding": isVScrollbar && scrollbarOpts.padding,
2402
+ "ov-x--auto-hide": isVScrollbar && scrollXAutoHide,
2403
+ "ov-y--auto-hide": isVScrollbar && scrollYAutoHide,
2404
+ "overflow-y": yThumbHeight,
2405
+ "overflow-x": xThumbWidth
2411
2406
  }
2412
- }, [
2413
- h("div", {
2414
- ref: "refThumbYElem",
2415
- class: "vxe-scrollbar--thumb-y",
2416
- on: {
2417
- pointerdown: $xeGanttView.pointerdownThumbYEvent,
2418
- pointermove: $xeGanttView.pointermoveThumbYEvent,
2419
- pointerup: $xeGanttView.cleatPointerThumbEvent,
2420
- pointercancel: $xeGanttView.cleatPointerThumbEvent,
2421
- lostpointercapture: $xeGanttView.cleatPointerThumbEvent
2422
- }
2423
- })
2424
- ])
2425
- ])
2426
- ]);
2407
+ ]
2408
+ },
2409
+ [
2410
+ $xeGanttView.renderViewport(h),
2411
+ h(
2412
+ "div",
2413
+ {
2414
+ class: scrollbarWrapperClss
2415
+ },
2416
+ [
2417
+ scrollXVisible === false ? renderEmptyElement($xeGantt) : h(
2418
+ "div",
2419
+ {
2420
+ ref: "refTrackXElem",
2421
+ class: "vxe-scrollbar--track-x",
2422
+ on: {
2423
+ click: $xeGanttView.clickTrackXEvent
2424
+ }
2425
+ },
2426
+ [
2427
+ h("div", {
2428
+ ref: "refThumbXElem",
2429
+ class: "vxe-scrollbar--thumb-x",
2430
+ on: {
2431
+ pointerdown: $xeGanttView.pointerdownThumbXEvent,
2432
+ pointermove: $xeGanttView.pointermoveThumbXEvent,
2433
+ pointerup: $xeGanttView.cleatPointerThumbEvent,
2434
+ pointercancel: $xeGanttView.cleatPointerThumbEvent,
2435
+ lostpointercapture: $xeGanttView.cleatPointerThumbEvent
2436
+ }
2437
+ })
2438
+ ]
2439
+ ),
2440
+ scrollbarYToLeft && showLeftView || scrollYVisible === false ? renderEmptyElement($xeGantt) : h(
2441
+ "div",
2442
+ {
2443
+ ref: "refTrackYElem",
2444
+ class: "vxe-scrollbar--track-y",
2445
+ on: {
2446
+ click: $xeGanttView.clickTrackYEvent
2447
+ }
2448
+ },
2449
+ [
2450
+ h("div", {
2451
+ ref: "refThumbYElem",
2452
+ class: "vxe-scrollbar--thumb-y",
2453
+ on: {
2454
+ pointerdown: $xeGanttView.pointerdownThumbYEvent,
2455
+ pointermove: $xeGanttView.pointermoveThumbYEvent,
2456
+ pointerup: $xeGanttView.cleatPointerThumbEvent,
2457
+ pointercancel: $xeGanttView.cleatPointerThumbEvent,
2458
+ lostpointercapture: $xeGanttView.cleatPointerThumbEvent
2459
+ }
2460
+ })
2461
+ ]
2462
+ )
2463
+ ]
2464
+ )
2465
+ ]
2466
+ );
2427
2467
  },
2428
2468
  renderVN(h) {
2429
2469
  const $xeGanttView = this;
@@ -2432,37 +2472,42 @@ var gantt_view_default = defineVxeComponent({
2432
2472
  const { overflowX, overflowY, scrollXLoad, scrollYLoad } = reactData;
2433
2473
  const isVScrollbar = $xeGanttView.computeGanttIsVScrollbar;
2434
2474
  const scrollbarXToTop = $xeGantt.computeScrollbarXToTop;
2435
- return h("div", {
2436
- ref: "refElem",
2437
- class: ["vxe-gantt-view", {
2438
- "is--scroll-y": overflowY,
2439
- "is--scroll-x": overflowX,
2440
- "is--virtual-x": scrollXLoad,
2441
- "is--virtual-y": scrollYLoad
2442
- }]
2443
- }, [
2444
- h(
2445
- "div",
2446
- {
2447
- class: "vxe-gantt-view--render-wrapper"
2448
- },
2449
- isVScrollbar ? [$xeGanttView.renderVirtualBody(h)] : scrollbarXToTop ? [
2450
- $xeGanttView.renderScrollX(h),
2451
- $xeGanttView.renderNativeBody(h)
2452
- ] : [
2453
- $xeGanttView.renderNativeBody(h),
2454
- $xeGanttView.renderScrollX(h)
2475
+ return h(
2476
+ "div",
2477
+ {
2478
+ ref: "refElem",
2479
+ class: [
2480
+ "vxe-gantt-view",
2481
+ {
2482
+ "is--scroll-y": overflowY,
2483
+ "is--scroll-x": overflowX,
2484
+ "is--virtual-x": scrollXLoad,
2485
+ "is--virtual-y": scrollYLoad
2486
+ }
2455
2487
  ]
2456
- ),
2457
- h("div", {
2458
- class: "vxe-gantt-view--render-vars"
2459
- }, [
2460
- h("div", {
2461
- ref: "refColInfoElem",
2462
- class: "vxe-gantt-view--column-info"
2463
- })
2464
- ])
2465
- ]);
2488
+ },
2489
+ [
2490
+ h(
2491
+ "div",
2492
+ {
2493
+ class: "vxe-gantt-view--render-wrapper"
2494
+ },
2495
+ isVScrollbar ? [$xeGanttView.renderVirtualBody(h)] : scrollbarXToTop ? [$xeGanttView.renderScrollX(h), $xeGanttView.renderNativeBody(h)] : [$xeGanttView.renderNativeBody(h), $xeGanttView.renderScrollX(h)]
2496
+ ),
2497
+ h(
2498
+ "div",
2499
+ {
2500
+ class: "vxe-gantt-view--render-vars"
2501
+ },
2502
+ [
2503
+ h("div", {
2504
+ ref: "refColInfoElem",
2505
+ class: "vxe-gantt-view--column-info"
2506
+ })
2507
+ ]
2508
+ )
2509
+ ]
2510
+ );
2466
2511
  }
2467
2512
  },
2468
2513
  watch: {