@visactor/vtable-gantt 1.11.3 → 1.11.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.
@@ -47453,85 +47453,6 @@
47453
47453
  }
47454
47454
  }
47455
47455
 
47456
- class CustomCellStylePlugin {
47457
- constructor(table, customCellStyle, customCellStyleArrangement) {
47458
- this.table = table, this.customCellStyle = customCellStyle, this.customCellStyleArrangement = customCellStyleArrangement;
47459
- }
47460
- getCustomCellStyle(col, row) {
47461
- const customStyleIds = this.getCustomCellStyleIds(col, row);
47462
- if (customStyleIds.length) {
47463
- const styles = [];
47464
- return customStyleIds.forEach(customStyleId => {
47465
- const styleOption = this.getCustomCellStyleOption(customStyleId);
47466
- (null == styleOption ? void 0 : styleOption.style) && styles.push(styleOption.style);
47467
- }), merge({}, ...styles);
47468
- }
47469
- }
47470
- getCustomCellStyleIds(col, row) {
47471
- const customStyleIds = [],
47472
- range = this.table.getCellRange(col, row);
47473
- for (let c = range.start.col; c <= range.end.col; c++) for (let r = range.start.row; r <= range.end.row; r++) this.customCellStyleArrangement.forEach(style => {
47474
- style.cellPosition.range ? style.cellPosition.range.start.col <= c && style.cellPosition.range.end.col >= c && style.cellPosition.range.start.row <= r && style.cellPosition.range.end.row >= r && customStyleIds.push(style.customStyleId) : style.cellPosition.col === c && style.cellPosition.row === r && customStyleIds.push(style.customStyleId);
47475
- });
47476
- return customStyleIds;
47477
- }
47478
- getCustomCellStyleOption(customStyleId) {
47479
- return this.customCellStyle.find(style => style.id === customStyleId);
47480
- }
47481
- registerCustomCellStyle(customStyleId, customStyle) {
47482
- const index = this.customCellStyle.findIndex(style => style.id === customStyleId);
47483
- -1 === index ? this.customCellStyle.push({
47484
- id: customStyleId,
47485
- style: customStyle
47486
- }) : this.customCellStyle[index] = {
47487
- id: customStyleId,
47488
- style: customStyle
47489
- }, this.customCellStyleArrangement.forEach(cellStyle => {
47490
- const cellPos = cellStyle.cellPosition;
47491
- if (cellStyle.customStyleId === customStyleId) if (cellPos.range) for (let col = Math.max(0, cellPos.range.start.col); col <= Math.min(this.table.colCount - 1, cellPos.range.end.col); col++) for (let row = Math.max(0, cellPos.range.start.row); row <= Math.min(this.table.rowCount - 1, cellPos.range.end.row); row++) this.table.scenegraph.updateCellContent(col, row);else this.table.scenegraph.updateCellContent(cellPos.col, cellPos.row);
47492
- }), this.table.scenegraph.updateNextFrame();
47493
- }
47494
- arrangeCustomCellStyle(cellPos, customStyleId) {
47495
- const index = this.customCellStyleArrangement.findIndex(style => style.cellPosition.range && cellPos.range ? style.cellPosition.range.start.col === cellPos.range.start.col && style.cellPosition.range.start.row === cellPos.range.start.row && style.cellPosition.range.end.col === cellPos.range.end.col && style.cellPosition.range.end.row === cellPos.range.end.row : style.cellPosition.col === cellPos.col && style.cellPosition.row === cellPos.row);
47496
- if (-1 !== index || customStyleId) {
47497
- if (-1 === index && customStyleId) this.customCellStyleArrangement.push({
47498
- cellPosition: {
47499
- col: cellPos.col,
47500
- row: cellPos.row,
47501
- range: cellPos.range
47502
- },
47503
- customStyleId: customStyleId
47504
- });else {
47505
- if (this.customCellStyleArrangement[index].customStyleId === customStyleId) return;
47506
- customStyleId ? this.customCellStyleArrangement[index].customStyleId = customStyleId : this.customCellStyleArrangement.splice(index, 1);
47507
- }
47508
- if (cellPos.range) for (let col = Math.max(0, cellPos.range.start.col); col <= Math.min(this.table.colCount - 1, cellPos.range.end.col); col++) for (let row = Math.max(0, cellPos.range.start.row); row <= Math.min(this.table.rowCount - 1, cellPos.range.end.row); row++) {
47509
- const range = this.table.getCellRange(col, row);
47510
- for (let c = range.start.col; c <= range.end.col; c++) for (let r = range.start.row; r <= range.end.row; r++) this.table.scenegraph.updateCellContent(c, r);
47511
- } else this.table.scenegraph.updateCellContent(cellPos.col, cellPos.row);
47512
- this.table.scenegraph.updateNextFrame();
47513
- }
47514
- }
47515
- updateCustomCell(customCellStyle, customCellStyleArrangement) {
47516
- this.customCellStyle.length = 0, this.customCellStyleArrangement.length = 0, customCellStyle.forEach(cellStyle => {
47517
- this.registerCustomCellStyle(cellStyle.id, cellStyle.style);
47518
- }), customCellStyleArrangement.forEach(cellStyle => {
47519
- this.arrangeCustomCellStyle(cellStyle.cellPosition, cellStyle.customStyleId);
47520
- });
47521
- }
47522
- hasCustomCellStyle(customStyleId) {
47523
- return this.customCellStyle.some(style => style.id === customStyleId);
47524
- }
47525
- }
47526
- function mergeStyle(cacheStyle, customCellStyle) {
47527
- cacheStyle = cacheStyle.clone();
47528
- for (const key in customCellStyle) {
47529
- const value = customCellStyle[key];
47530
- value && (cacheStyle[`_${key}`] = value);
47531
- }
47532
- return cacheStyle;
47533
- }
47534
-
47535
47456
  class DimensionTree {
47536
47457
  constructor(tree, sharedVar) {
47537
47458
  let hierarchyType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "grid";
@@ -48454,10 +48375,92 @@
48454
48375
  Direction.vertical = "vertical", Direction.horizontal = "horizontal";
48455
48376
  }(Direction || (Direction = {}));
48456
48377
 
48378
+ class CustomCellStylePlugin {
48379
+ constructor(table, customCellStyle, customCellStyleArrangement) {
48380
+ this.table = table, this.customCellStyle = customCellStyle, this.customCellStyleArrangement = customCellStyleArrangement;
48381
+ }
48382
+ getCustomCellStyle(col, row) {
48383
+ const customStyleIds = this.getCustomCellStyleIds(col, row);
48384
+ if (customStyleIds.length) {
48385
+ const styles = [];
48386
+ return customStyleIds.forEach(customStyleId => {
48387
+ const styleOption = this.getCustomCellStyleOption(customStyleId);
48388
+ (null == styleOption ? void 0 : styleOption.style) && styles.push(styleOption.style);
48389
+ }), merge({}, ...styles);
48390
+ }
48391
+ }
48392
+ getCustomCellStyleIds(col, row) {
48393
+ const customStyleIds = [],
48394
+ range = this.table.getCellRange(col, row);
48395
+ for (let c = range.start.col; c <= range.end.col; c++) for (let r = range.start.row; r <= range.end.row; r++) this.customCellStyleArrangement.forEach(style => {
48396
+ style.cellPosition.range ? style.cellPosition.range.start.col <= c && style.cellPosition.range.end.col >= c && style.cellPosition.range.start.row <= r && style.cellPosition.range.end.row >= r && customStyleIds.push(style.customStyleId) : style.cellPosition.col === c && style.cellPosition.row === r && customStyleIds.push(style.customStyleId);
48397
+ });
48398
+ return customStyleIds;
48399
+ }
48400
+ getCustomCellStyleOption(customStyleId) {
48401
+ return this.customCellStyle.find(style => style.id === customStyleId);
48402
+ }
48403
+ registerCustomCellStyle(customStyleId, customStyle) {
48404
+ const index = this.customCellStyle.findIndex(style => style.id === customStyleId);
48405
+ -1 === index ? this.customCellStyle.push({
48406
+ id: customStyleId,
48407
+ style: customStyle
48408
+ }) : this.customCellStyle[index] = {
48409
+ id: customStyleId,
48410
+ style: customStyle
48411
+ }, this.customCellStyleArrangement.forEach(cellStyle => {
48412
+ const cellPos = cellStyle.cellPosition;
48413
+ if (cellStyle.customStyleId === customStyleId) if (cellPos.range) for (let col = Math.max(0, cellPos.range.start.col); col <= Math.min(this.table.colCount - 1, cellPos.range.end.col); col++) for (let row = Math.max(0, cellPos.range.start.row); row <= Math.min(this.table.rowCount - 1, cellPos.range.end.row); row++) this.table.scenegraph.updateCellContent(col, row);else this.table.scenegraph.updateCellContent(cellPos.col, cellPos.row);
48414
+ }), this.table.scenegraph.updateNextFrame();
48415
+ }
48416
+ arrangeCustomCellStyle(cellPos, customStyleId) {
48417
+ const index = this.customCellStyleArrangement.findIndex(style => style.cellPosition.range && cellPos.range ? style.cellPosition.range.start.col === cellPos.range.start.col && style.cellPosition.range.start.row === cellPos.range.start.row && style.cellPosition.range.end.col === cellPos.range.end.col && style.cellPosition.range.end.row === cellPos.range.end.row : style.cellPosition.col === cellPos.col && style.cellPosition.row === cellPos.row);
48418
+ if (-1 !== index || customStyleId) {
48419
+ if (-1 === index && customStyleId) this.customCellStyleArrangement.push({
48420
+ cellPosition: {
48421
+ col: cellPos.col,
48422
+ row: cellPos.row,
48423
+ range: cellPos.range
48424
+ },
48425
+ customStyleId: customStyleId
48426
+ });else {
48427
+ if (this.customCellStyleArrangement[index].customStyleId === customStyleId) return;
48428
+ customStyleId ? this.customCellStyleArrangement[index].customStyleId = customStyleId : this.customCellStyleArrangement.splice(index, 1);
48429
+ }
48430
+ if (cellPos.range) for (let col = Math.max(0, cellPos.range.start.col); col <= Math.min(this.table.colCount - 1, cellPos.range.end.col); col++) for (let row = Math.max(0, cellPos.range.start.row); row <= Math.min(this.table.rowCount - 1, cellPos.range.end.row); row++) {
48431
+ const range = this.table.getCellRange(col, row);
48432
+ for (let c = range.start.col; c <= range.end.col; c++) for (let r = range.start.row; r <= range.end.row; r++) this.table.scenegraph.updateCellContent(c, r);
48433
+ } else this.table.scenegraph.updateCellContent(cellPos.col, cellPos.row);
48434
+ this.table.scenegraph.updateNextFrame();
48435
+ }
48436
+ }
48437
+ updateCustomCell(customCellStyle, customCellStyleArrangement) {
48438
+ this.customCellStyle.length = 0, this.customCellStyleArrangement.length = 0, customCellStyle.forEach(cellStyle => {
48439
+ this.registerCustomCellStyle(cellStyle.id, cellStyle.style);
48440
+ }), customCellStyleArrangement.forEach(cellStyle => {
48441
+ this.arrangeCustomCellStyle(cellStyle.cellPosition, cellStyle.customStyleId);
48442
+ });
48443
+ }
48444
+ hasCustomCellStyle(customStyleId) {
48445
+ return this.customCellStyle.some(style => style.id === customStyleId);
48446
+ }
48447
+ }
48448
+ function mergeStyle(cacheStyle, customCellStyle) {
48449
+ cacheStyle = cacheStyle.clone();
48450
+ for (const key in customCellStyle) {
48451
+ const value = customCellStyle[key];
48452
+ value && (cacheStyle[`_${key}`] = value);
48453
+ }
48454
+ return cacheStyle;
48455
+ }
48456
+ const registerCustomCellStylePlugin = () => {
48457
+ Factory.registerComponent("customCellStylePlugin", CustomCellStylePlugin);
48458
+ };
48459
+
48457
48460
  const EMPTY_STYLE = {};
48458
48461
  function getCellStyle(col, row, table) {
48459
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
48460
- const customCellStyle = table.customCellStylePlugin.getCustomCellStyle(col, row),
48462
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
48463
+ const customCellStyle = null === (_a = table.customCellStylePlugin) || void 0 === _a ? void 0 : _a.getCustomCellStyle(col, row),
48461
48464
  {
48462
48465
  layoutMap: layoutMap
48463
48466
  } = table.internalProps;
@@ -48473,9 +48476,9 @@
48473
48476
  const hd = layoutMap.getHeader(col, row);
48474
48477
  let paddingForAxis;
48475
48478
  if (table.isPivotChart() && isTopOrBottomAxis(col, row, layoutMap) && layoutMap.isAxisCell(col, row)) {
48476
- paddingForAxis = null !== (_b = null === (_a = layoutMap.getBody(col, table.rowHeaderLevelCount).style) || void 0 === _a ? void 0 : _a.padding) && void 0 !== _b ? _b : table.theme.bodyStyle.padding;
48479
+ paddingForAxis = null !== (_c = null === (_b = layoutMap.getBody(col, table.rowHeaderLevelCount).style) || void 0 === _b ? void 0 : _b.padding) && void 0 !== _c ? _c : table.theme.bodyStyle.padding;
48477
48480
  } else if (table.isPivotChart() && isLeftOrRightAxis(col, row, layoutMap) && layoutMap.isAxisCell(col, row)) {
48478
- paddingForAxis = null !== (_d = null === (_c = layoutMap.getBody(table.columnHeaderLevelCount, row).style) || void 0 === _c ? void 0 : _c.padding) && void 0 !== _d ? _d : table.theme.bodyStyle.padding;
48481
+ paddingForAxis = null !== (_e = null === (_d = layoutMap.getBody(table.columnHeaderLevelCount, row).style) || void 0 === _d ? void 0 : _d.padding) && void 0 !== _e ? _e : table.theme.bodyStyle.padding;
48479
48482
  }
48480
48483
  if ((!hd || hd.isEmpty) && (layoutMap.isLeftBottomCorner(col, row) || layoutMap.isRightBottomCorner(col, row) || layoutMap.isCornerHeader(col, row) || layoutMap.isRightTopCorner(col, row))) return EMPTY_STYLE;
48481
48484
  const styleClass = table.internalProps.headerHelper.getStyleClass((null == hd ? void 0 : hd.headerType) || "text");
@@ -48511,7 +48514,7 @@
48511
48514
  return table.headerStyleCache.set(cacheKey, cacheStyle), customCellStyle ? mergeStyle(cacheStyle, customCellStyle) : cacheStyle;
48512
48515
  }
48513
48516
  let bgColorFunc, cacheKey;
48514
- (null === (_f = null === (_e = table.internalProps) || void 0 === _e ? void 0 : _e.dataConfig) || void 0 === _f ? void 0 : _f.mappingRules) && !table.isHeader(col, row) && (null === (_j = null === (_h = null === (_g = table.internalProps) || void 0 === _g ? void 0 : _g.dataConfig) || void 0 === _h ? void 0 : _h.mappingRules) || void 0 === _j || _j.forEach((mappingRule, i) => {
48517
+ (null === (_g = null === (_f = table.internalProps) || void 0 === _f ? void 0 : _f.dataConfig) || void 0 === _g ? void 0 : _g.mappingRules) && !table.isHeader(col, row) && (null === (_k = null === (_j = null === (_h = table.internalProps) || void 0 === _h ? void 0 : _h.dataConfig) || void 0 === _j ? void 0 : _j.mappingRules) || void 0 === _k || _k.forEach((mappingRule, i) => {
48515
48518
  mappingRule.bgColor && table.internalProps.layoutMap.getIndicatorKey(col, row) === mappingRule.bgColor.indicatorKey && (bgColorFunc = mappingRule.bgColor.mapping);
48516
48519
  }));
48517
48520
  const cellType = table.getCellType(col, row),
@@ -48589,7 +48592,7 @@
48589
48592
  constructor(container) {
48590
48593
  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
48591
48594
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
48592
- if (super(), this.showFrozenIcon = !0, this.version = "1.11.3", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
48595
+ if (super(), this.showFrozenIcon = !0, this.version = "1.11.5", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
48593
48596
  const {
48594
48597
  frozenColCount = 0,
48595
48598
  frozenRowCount: frozenRowCount,
@@ -48673,7 +48676,9 @@
48673
48676
  }
48674
48677
  this.headerStyleCache = new Map(), this.bodyStyleCache = new Map(), this.bodyMergeTitleCache = new Map(), this.bodyBottomStyleCache = new Map(), internalProps.stick = {
48675
48678
  changedCells: new Map()
48676
- }, internalProps.customMergeCell = options.customMergeCell, this.customCellStylePlugin = new CustomCellStylePlugin(this, null !== (_j = options.customCellStyle) && void 0 !== _j ? _j : [], null !== (_k = options.customCellStyleArrangement) && void 0 !== _k ? _k : []);
48679
+ }, internalProps.customMergeCell = options.customMergeCell;
48680
+ const CustomCellStylePlugin = Factory.getComponent("customCellStylePlugin");
48681
+ CustomCellStylePlugin && (this.customCellStylePlugin = new CustomCellStylePlugin(this, null !== (_j = options.customCellStyle) && void 0 !== _j ? _j : [], null !== (_k = options.customCellStyleArrangement) && void 0 !== _k ? _k : []));
48677
48682
  }
48678
48683
  getContainer() {
48679
48684
  return this.container;
@@ -49355,7 +49360,7 @@
49355
49360
  return super.fireListeners(type, event);
49356
49361
  }
49357
49362
  updateOption(options) {
49358
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
49363
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
49359
49364
  this.options = options, this._hasAutoImageColumn = void 0;
49360
49365
  const {
49361
49366
  frozenColCount = 0,
@@ -49423,7 +49428,7 @@
49423
49428
  const MenuHandler = Factory.getComponent("menuHandler");
49424
49429
  internalProps.menuHandler = new MenuHandler(this);
49425
49430
  }
49426
- this.clearCellStyleCache(), this.clearColWidthCache(), this.clearRowHeightCache(), internalProps.customMergeCell = options.customMergeCell, this.customCellStylePlugin.updateCustomCell(null !== (_l = options.customCellStyle) && void 0 !== _l ? _l : [], null !== (_m = options.customCellStyleArrangement) && void 0 !== _m ? _m : []);
49431
+ this.clearCellStyleCache(), this.clearColWidthCache(), this.clearRowHeightCache(), internalProps.customMergeCell = options.customMergeCell, null === (_l = this.customCellStylePlugin) || void 0 === _l || _l.updateCustomCell(null !== (_m = options.customCellStyle) && void 0 !== _m ? _m : [], null !== (_o = options.customCellStyleArrangement) && void 0 !== _o ? _o : []);
49427
49432
  }
49428
49433
  renderWithRecreateCells() {
49429
49434
  const oldHoverState = {
@@ -50277,13 +50282,16 @@
50277
50282
  }
50278
50283
  changeRecordOrder(source, target) {}
50279
50284
  hasCustomCellStyle(customStyleId) {
50280
- return this.customCellStylePlugin.hasCustomCellStyle(customStyleId);
50285
+ var _a;
50286
+ return null === (_a = this.customCellStylePlugin) || void 0 === _a ? void 0 : _a.hasCustomCellStyle(customStyleId);
50281
50287
  }
50282
50288
  registerCustomCellStyle(customStyleId, customStyle) {
50283
- this.customCellStylePlugin.registerCustomCellStyle(customStyleId, customStyle);
50289
+ var _a;
50290
+ null === (_a = this.customCellStylePlugin) || void 0 === _a || _a.registerCustomCellStyle(customStyleId, customStyle);
50284
50291
  }
50285
50292
  arrangeCustomCellStyle(cellPos, customStyleId) {
50286
- this.customCellStylePlugin.arrangeCustomCellStyle(cellPos, customStyleId);
50293
+ var _a;
50294
+ null === (_a = this.customCellStylePlugin) || void 0 === _a || _a.arrangeCustomCellStyle(cellPos, customStyleId);
50287
50295
  }
50288
50296
  isSeriesNumber(col, row) {
50289
50297
  return this.internalProps.layoutMap.isSeriesNumber(col, row);
@@ -56182,7 +56190,7 @@
56182
56190
  Factory.registerFunction("createVideoCellGroup", createVideoCellGroup);
56183
56191
  };
56184
56192
 
56185
- registerAxis(), registerEmptyTip(), registerLegend(), registerMenu(), registerTitle(), registerTooltip(), registerListTreeStickCellPlugin(), registerChartCell(), registerCheckboxCell(), registerImageCell(), registerProgressBarCell(), registerRadioCell(), registerSparkLineCell(), registerTextCell(), registerVideoCell();
56193
+ registerAxis(), registerEmptyTip(), registerLegend(), registerMenu(), registerTitle(), registerTooltip(), registerListTreeStickCellPlugin(), registerCustomCellStylePlugin(), registerChartCell(), registerCheckboxCell(), registerImageCell(), registerProgressBarCell(), registerRadioCell(), registerSparkLineCell(), registerTextCell(), registerVideoCell();
56186
56194
  class ListTableAll extends ListTable {}
56187
56195
 
56188
56196
  class Circle extends Circle$1 {
@@ -56739,6 +56747,7 @@
56739
56747
  const taskIndex = getTaskIndexByY(e.offset.y, scene._gantt);
56740
56748
  const record = scene._gantt.getRecordByIndex(taskIndex);
56741
56749
  scene._gantt.fireListeners(GANTT_EVENT_TYPE.MOUSEENTER_TASK_BAR, {
56750
+ federatedEvent: e,
56742
56751
  event: e.nativeEvent,
56743
56752
  index: taskIndex,
56744
56753
  record
@@ -56753,6 +56762,7 @@
56753
56762
  const taskIndex = getTaskIndexByY(e.offset.y, scene._gantt);
56754
56763
  const record = scene._gantt.getRecordByIndex(taskIndex);
56755
56764
  scene._gantt.fireListeners(GANTT_EVENT_TYPE.MOUSELEAVE_TASK_BAR, {
56765
+ federatedEvent: e,
56756
56766
  event: e.nativeEvent,
56757
56767
  index: taskIndex,
56758
56768
  record
@@ -56875,6 +56885,7 @@
56875
56885
  const taskIndex = getTaskIndexByY(e.offset.y, gantt);
56876
56886
  const record = gantt.getRecordByIndex(taskIndex);
56877
56887
  gantt.fireListeners(GANTT_EVENT_TYPE.CLICK_TASK_BAR, {
56888
+ federatedEvent: e,
56878
56889
  event: e.nativeEvent,
56879
56890
  index: taskIndex,
56880
56891
  record
@@ -56895,6 +56906,7 @@
56895
56906
  gantt.updateTaskRecord(recordTaskInfo.taskRecord, taskIndex);
56896
56907
  if (gantt.hasListeners(GANTT_EVENT_TYPE.CREATE_TASK_SCHEDULE)) {
56897
56908
  gantt.fireListeners(GANTT_EVENT_TYPE.CREATE_TASK_SCHEDULE, {
56909
+ federatedEvent: e,
56898
56910
  event: e.nativeEvent,
56899
56911
  index: taskIndex,
56900
56912
  startDate: recordTaskInfo.taskRecord[gantt.parsedOptions.startDateField],
@@ -56930,6 +56942,7 @@
56930
56942
  const link = stateManager.endCreateDependencyLine(e.offset.y);
56931
56943
  if (gantt.hasListeners(GANTT_EVENT_TYPE.CREATE_DEPENDENCY_LINK)) {
56932
56944
  gantt.fireListeners(GANTT_EVENT_TYPE.CREATE_DEPENDENCY_LINK, {
56945
+ federatedEvent: e,
56933
56946
  event: e.nativeEvent,
56934
56947
  link
56935
56948
  });
@@ -56941,6 +56954,7 @@
56941
56954
  const link = stateManager.endCreateDependencyLine(e.offset.y);
56942
56955
  if (gantt.hasListeners(GANTT_EVENT_TYPE.CREATE_DEPENDENCY_LINK)) {
56943
56956
  gantt.fireListeners(GANTT_EVENT_TYPE.CREATE_DEPENDENCY_LINK, {
56957
+ federatedEvent: e,
56944
56958
  event: e.nativeEvent,
56945
56959
  link
56946
56960
  });
@@ -58525,7 +58539,7 @@
58525
58539
  themes: themes$1
58526
58540
  });
58527
58541
 
58528
- const version = "1.11.3";
58542
+ const version = "1.11.5";
58529
58543
 
58530
58544
  exports.Gantt = Gantt;
58531
58545
  exports.TYPES = index$2;