@visactor/vtable-gantt 1.25.1-alpha.0 → 1.26.0
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/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/vtable-gantt.js +150 -60
- package/dist/vtable-gantt.min.js +1 -15
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +6 -6
package/cjs/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as tools from './tools';
|
|
|
6
6
|
import * as VRender from './vrender';
|
|
7
7
|
import * as VTable from './vtable';
|
|
8
8
|
import * as plugins from './plugins';
|
|
9
|
-
export declare const version = "1.
|
|
9
|
+
export declare const version = "1.26.0";
|
|
10
10
|
export { TYPES, GanttConstructorOptions, Gantt, ColumnsDefine, ColumnDefine, LinkColumnDefine, ChartColumnDefine, ImageColumnDefine, SparklineColumnDefine, ProgressbarColumnDefine, TextColumnDefine, GroupColumnDefine, TextAlignType, TextBaselineType, tools, VRender, VTable, plugins };
|
package/cjs/index.js
CHANGED
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAwBlC,sBAAK;AAVP,mCAAgC;AAY9B,sFAZO,aAAK,OAYP;AAXP,+CAAiC;AAuB/B,sBAAK;AAtBP,mDAAqC;AAuBnC,0BAAO;AAtBT,iDAAmC;AAuBjC,wBAAM;AAtBR,mDAAqC;AAuBnC,0BAAO;AAtBI,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAwBlC,sBAAK;AAVP,mCAAgC;AAY9B,sFAZO,aAAK,OAYP;AAXP,+CAAiC;AAuB/B,sBAAK;AAtBP,mDAAqC;AAuBnC,0BAAO;AAtBT,iDAAmC;AAuBjC,wBAAM;AAtBR,mDAAqC;AAuBnC,0BAAO;AAtBI,QAAA,OAAO,GAAG,QAAQ,CAAC","file":"index.js","sourcesContent":["import type { GanttConstructorOptions } from './ts-types';\nimport * as TYPES from './ts-types';\nimport type {\n ColumnDefine,\n ColumnsDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n TextAlignType,\n TextBaselineType\n} from '@visactor/vtable';\nimport { Gantt } from './Gantt';\nimport * as tools from './tools';\nimport * as VRender from './vrender';\nimport * as VTable from './vtable';\nimport * as plugins from './plugins';\nexport const version = \"1.26.0\";\n/**\n * @namespace VTableGantt\n */\nexport {\n TYPES,\n GanttConstructorOptions,\n Gantt,\n ColumnsDefine,\n ColumnDefine,\n LinkColumnDefine,\n ChartColumnDefine,\n ImageColumnDefine,\n SparklineColumnDefine,\n ProgressbarColumnDefine,\n TextColumnDefine,\n GroupColumnDefine,\n TextAlignType,\n TextBaselineType,\n tools,\n VRender,\n VTable,\n plugins\n};\n"]}
|
package/dist/vtable-gantt.js
CHANGED
|
@@ -15128,9 +15128,10 @@
|
|
|
15128
15128
|
}), context.highPerformanceRestore(), context.setTransformForCurrent();
|
|
15129
15129
|
} else {
|
|
15130
15130
|
const {
|
|
15131
|
-
backgroundCornerRadius: backgroundCornerRadius
|
|
15131
|
+
backgroundCornerRadius: backgroundCornerRadius,
|
|
15132
|
+
backgroundOpacity = 1
|
|
15132
15133
|
} = graphic.attribute;
|
|
15133
|
-
context.highPerformanceSave(), context.setCommonStyle(graphic, graphic.attribute, x, y, graphicAttribute), context.fillStyle = background, backgroundCornerRadius ? (createRectPath(context, b.x1, b.y1, b.width(), b.height(), backgroundCornerRadius, !0), context.fill()) : context.fillRect(b.x1, b.y1, b.width(), b.height()), context.highPerformanceRestore();
|
|
15134
|
+
context.highPerformanceSave(), context.setCommonStyle(graphic, graphic.attribute, x, y, graphicAttribute), context.globalAlpha = backgroundOpacity, context.fillStyle = background, backgroundCornerRadius ? (createRectPath(context, b.x1, b.y1, b.width(), b.height(), backgroundCornerRadius, !0), context.fill()) : context.fillRect(b.x1, b.y1, b.width(), b.height()), context.highPerformanceRestore();
|
|
15134
15135
|
}
|
|
15135
15136
|
shouldReCalBounds && boundsAllocate.free(b), restore();
|
|
15136
15137
|
}
|
|
@@ -31329,6 +31330,16 @@
|
|
|
31329
31330
|
strokeBoundsBuffer: 0
|
|
31330
31331
|
}
|
|
31331
31332
|
};
|
|
31333
|
+
const LAYOUT_LEVEL = {
|
|
31334
|
+
background: 0,
|
|
31335
|
+
preview: 1,
|
|
31336
|
+
dragMask: 2,
|
|
31337
|
+
selectedBackground: 3,
|
|
31338
|
+
selectedPreview: 4,
|
|
31339
|
+
handler: 5,
|
|
31340
|
+
handlerText: 5,
|
|
31341
|
+
handlerMask: 999
|
|
31342
|
+
};
|
|
31332
31343
|
|
|
31333
31344
|
const isTextOverflow = (componentBoundsLike, textBounds, layout, isHorizontal) => {
|
|
31334
31345
|
if (!textBounds) return !1;
|
|
@@ -31459,12 +31470,14 @@
|
|
|
31459
31470
|
x: position.x + start * width,
|
|
31460
31471
|
y: position.y,
|
|
31461
31472
|
width: (end - start) * width,
|
|
31462
|
-
height: height
|
|
31473
|
+
height: height,
|
|
31474
|
+
zIndex: LAYOUT_LEVEL.dragMask
|
|
31463
31475
|
}, dragMaskStyle), "rect") : this._dragMask = this._getContainer().createOrUpdateChild("dragMask", Object.assign({
|
|
31464
31476
|
x: position.x,
|
|
31465
31477
|
y: position.y + start * height,
|
|
31466
31478
|
width: width,
|
|
31467
|
-
height: (end - start) * height
|
|
31479
|
+
height: (end - start) * height,
|
|
31480
|
+
zIndex: LAYOUT_LEVEL.dragMask
|
|
31468
31481
|
}, dragMaskStyle), "rect"), {
|
|
31469
31482
|
start: start,
|
|
31470
31483
|
end: end
|
|
@@ -31488,7 +31501,8 @@
|
|
|
31488
31501
|
y: position.y,
|
|
31489
31502
|
width: width,
|
|
31490
31503
|
height: height,
|
|
31491
|
-
cursor: brushSelect ? "crosshair" : "auto"
|
|
31504
|
+
cursor: brushSelect ? "crosshair" : "auto",
|
|
31505
|
+
zIndex: LAYOUT_LEVEL.background
|
|
31492
31506
|
}, backgroundStyle), {
|
|
31493
31507
|
pickable: !zoomLock && (null === (_a = backgroundStyle.pickable) || void 0 === _a || _a)
|
|
31494
31508
|
}), "rect");
|
|
@@ -31521,7 +31535,8 @@
|
|
|
31521
31535
|
x: position.x + start * width,
|
|
31522
31536
|
y: position.y - middleHandlerBackgroundSize,
|
|
31523
31537
|
width: (end - start) * width,
|
|
31524
|
-
height: middleHandlerBackgroundSize
|
|
31538
|
+
height: middleHandlerBackgroundSize,
|
|
31539
|
+
zIndex: LAYOUT_LEVEL.handler
|
|
31525
31540
|
}, null === (_d = middleHandlerStyle.background) || void 0 === _d ? void 0 : _d.style), {
|
|
31526
31541
|
pickable: !zoomLock && (null === (_g = null === (_f = null === (_e = middleHandlerStyle.background) || void 0 === _e ? void 0 : _e.style) || void 0 === _f ? void 0 : _f.pickable) || void 0 === _g || _g)
|
|
31527
31542
|
}), "rect"), this._middleHandlerSymbol = group.createOrUpdateChild("middleHandlerSymbol", Object.assign(Object.assign({
|
|
@@ -31529,24 +31544,29 @@
|
|
|
31529
31544
|
y: position.y - middleHandlerBackgroundSize / 2,
|
|
31530
31545
|
strokeBoundsBuffer: 0,
|
|
31531
31546
|
angle: 0,
|
|
31532
|
-
symbolType: null !== (_j = null === (_h = middleHandlerStyle.icon) || void 0 === _h ? void 0 : _h.symbolType) && void 0 !== _j ? _j : "square"
|
|
31547
|
+
symbolType: null !== (_j = null === (_h = middleHandlerStyle.icon) || void 0 === _h ? void 0 : _h.symbolType) && void 0 !== _j ? _j : "square",
|
|
31548
|
+
zIndex: LAYOUT_LEVEL.handler
|
|
31533
31549
|
}, middleHandlerStyle.icon), {
|
|
31534
31550
|
pickable: !zoomLock && (null === (_k = middleHandlerStyle.icon.pickable) || void 0 === _k || _k)
|
|
31535
31551
|
}), "symbol");
|
|
31536
31552
|
}
|
|
31537
|
-
this._startHandler = group.createOrUpdateChild("startHandler", Object.assign(Object.assign(Object.assign({
|
|
31553
|
+
this._startHandler = group.createOrUpdateChild("startHandler", Object.assign(Object.assign(Object.assign(Object.assign({
|
|
31538
31554
|
x: position.x + start * width,
|
|
31539
31555
|
y: position.y + height / 2,
|
|
31540
31556
|
size: height,
|
|
31541
31557
|
symbolType: null !== (_l = startHandlerStyle.symbolType) && void 0 !== _l ? _l : "square"
|
|
31542
|
-
}, DEFAULT_HANDLER_ATTR_MAP.horizontal),
|
|
31558
|
+
}, DEFAULT_HANDLER_ATTR_MAP.horizontal), {
|
|
31559
|
+
zIndex: LAYOUT_LEVEL.handler
|
|
31560
|
+
}), startHandlerStyle), {
|
|
31543
31561
|
pickable: !zoomLock && (null === (_m = startHandlerStyle.pickable) || void 0 === _m || _m)
|
|
31544
|
-
}), "symbol"), this._endHandler = group.createOrUpdateChild("endHandler", Object.assign(Object.assign(Object.assign({
|
|
31562
|
+
}), "symbol"), this._endHandler = group.createOrUpdateChild("endHandler", Object.assign(Object.assign(Object.assign(Object.assign({
|
|
31545
31563
|
x: position.x + end * width,
|
|
31546
31564
|
y: position.y + height / 2,
|
|
31547
31565
|
size: height,
|
|
31548
31566
|
symbolType: null !== (_o = endHandlerStyle.symbolType) && void 0 !== _o ? _o : "square"
|
|
31549
|
-
}, DEFAULT_HANDLER_ATTR_MAP.horizontal),
|
|
31567
|
+
}, DEFAULT_HANDLER_ATTR_MAP.horizontal), {
|
|
31568
|
+
zIndex: LAYOUT_LEVEL.handler
|
|
31569
|
+
}), endHandlerStyle), {
|
|
31550
31570
|
pickable: !zoomLock && (null === (_p = endHandlerStyle.pickable) || void 0 === _p || _p)
|
|
31551
31571
|
}), "symbol");
|
|
31552
31572
|
const startHandlerWidth = Math.max(this._startHandler.AABBBounds.width(), startHandlerMinSize),
|
|
@@ -31560,7 +31580,7 @@
|
|
|
31560
31580
|
height: startHandlerHeight,
|
|
31561
31581
|
fill: "white",
|
|
31562
31582
|
fillOpacity: 0,
|
|
31563
|
-
zIndex:
|
|
31583
|
+
zIndex: LAYOUT_LEVEL.handlerMask
|
|
31564
31584
|
}, DEFAULT_HANDLER_ATTR_MAP.horizontal), {
|
|
31565
31585
|
pickable: !zoomLock
|
|
31566
31586
|
}), "rect"), this._endHandlerMask = group.createOrUpdateChild("endHandlerMask", Object.assign(Object.assign({
|
|
@@ -31570,7 +31590,7 @@
|
|
|
31570
31590
|
height: endHandlerHeight,
|
|
31571
31591
|
fill: "white",
|
|
31572
31592
|
fillOpacity: 0,
|
|
31573
|
-
zIndex:
|
|
31593
|
+
zIndex: LAYOUT_LEVEL.handlerMask
|
|
31574
31594
|
}, DEFAULT_HANDLER_ATTR_MAP.horizontal), {
|
|
31575
31595
|
pickable: !zoomLock
|
|
31576
31596
|
}), "rect");
|
|
@@ -31581,7 +31601,8 @@
|
|
|
31581
31601
|
x: "left" === orient ? position.x - middleHandlerBackgroundSize : position.x + width,
|
|
31582
31602
|
y: position.y + start * height,
|
|
31583
31603
|
width: middleHandlerBackgroundSize,
|
|
31584
|
-
height: (end - start) * height
|
|
31604
|
+
height: (end - start) * height,
|
|
31605
|
+
zIndex: LAYOUT_LEVEL.handler
|
|
31585
31606
|
}, null === (_r = middleHandlerStyle.background) || void 0 === _r ? void 0 : _r.style), {
|
|
31586
31607
|
pickable: !zoomLock && (null === (_u = null === (_t = null === (_s = middleHandlerStyle.background) || void 0 === _s ? void 0 : _s.style) || void 0 === _t ? void 0 : _t.pickable) || void 0 === _u || _u)
|
|
31587
31608
|
}), "rect"), this._middleHandlerSymbol = group.createOrUpdateChild("middleHandlerSymbol", Object.assign(Object.assign({
|
|
@@ -31589,23 +31610,27 @@
|
|
|
31589
31610
|
y: position.y + (start + end) / 2 * height,
|
|
31590
31611
|
angle: Math.PI / 180 * 90,
|
|
31591
31612
|
symbolType: null !== (_w = null === (_v = middleHandlerStyle.icon) || void 0 === _v ? void 0 : _v.symbolType) && void 0 !== _w ? _w : "square",
|
|
31592
|
-
strokeBoundsBuffer: 0
|
|
31613
|
+
strokeBoundsBuffer: 0,
|
|
31614
|
+
zIndex: LAYOUT_LEVEL.handler
|
|
31593
31615
|
}, middleHandlerStyle.icon), {
|
|
31594
31616
|
pickable: !zoomLock && (null === (_y = null === (_x = middleHandlerStyle.icon) || void 0 === _x ? void 0 : _x.pickable) || void 0 === _y || _y)
|
|
31595
31617
|
}), "symbol");
|
|
31596
31618
|
}
|
|
31597
|
-
this._startHandler = group.createOrUpdateChild("startHandler", Object.assign(Object.assign(Object.assign({
|
|
31619
|
+
this._startHandler = group.createOrUpdateChild("startHandler", Object.assign(Object.assign(Object.assign(Object.assign({
|
|
31598
31620
|
x: position.x + width / 2,
|
|
31599
31621
|
y: position.y + start * height,
|
|
31600
31622
|
size: width,
|
|
31601
31623
|
symbolType: null !== (_z = startHandlerStyle.symbolType) && void 0 !== _z ? _z : "square"
|
|
31602
|
-
}, DEFAULT_HANDLER_ATTR_MAP.vertical),
|
|
31624
|
+
}, DEFAULT_HANDLER_ATTR_MAP.vertical), {
|
|
31625
|
+
zIndex: LAYOUT_LEVEL.handler
|
|
31626
|
+
}), startHandlerStyle), {
|
|
31603
31627
|
pickable: !zoomLock && (null === (_0 = startHandlerStyle.pickable) || void 0 === _0 || _0)
|
|
31604
31628
|
}), "symbol"), this._endHandler = group.createOrUpdateChild("endHandler", Object.assign(Object.assign(Object.assign({
|
|
31605
31629
|
x: position.x + width / 2,
|
|
31606
31630
|
y: position.y + end * height,
|
|
31607
31631
|
size: width,
|
|
31608
|
-
symbolType: null !== (_1 = endHandlerStyle.symbolType) && void 0 !== _1 ? _1 : "square"
|
|
31632
|
+
symbolType: null !== (_1 = endHandlerStyle.symbolType) && void 0 !== _1 ? _1 : "square",
|
|
31633
|
+
zIndex: LAYOUT_LEVEL.handler
|
|
31609
31634
|
}, DEFAULT_HANDLER_ATTR_MAP.vertical), endHandlerStyle), {
|
|
31610
31635
|
pickable: !zoomLock && (null === (_2 = endHandlerStyle.pickable) || void 0 === _2 || _2)
|
|
31611
31636
|
}), "symbol");
|
|
@@ -31620,7 +31645,7 @@
|
|
|
31620
31645
|
height: endHandlerWidth,
|
|
31621
31646
|
fill: "white",
|
|
31622
31647
|
fillOpacity: 0,
|
|
31623
|
-
zIndex:
|
|
31648
|
+
zIndex: LAYOUT_LEVEL.handlerMask
|
|
31624
31649
|
}, DEFAULT_HANDLER_ATTR_MAP.vertical), {
|
|
31625
31650
|
pickable: !zoomLock
|
|
31626
31651
|
}), "rect"), this._endHandlerMask = group.createOrUpdateChild("endHandlerMask", Object.assign(Object.assign({
|
|
@@ -31630,7 +31655,7 @@
|
|
|
31630
31655
|
height: endHandlerWidth,
|
|
31631
31656
|
fill: "white",
|
|
31632
31657
|
fillOpacity: 0,
|
|
31633
|
-
zIndex:
|
|
31658
|
+
zIndex: LAYOUT_LEVEL.handlerMask
|
|
31634
31659
|
}, DEFAULT_HANDLER_ATTR_MAP.vertical), {
|
|
31635
31660
|
pickable: !zoomLock
|
|
31636
31661
|
}), "rect");
|
|
@@ -31659,7 +31684,8 @@
|
|
|
31659
31684
|
y: position.y,
|
|
31660
31685
|
width: (end - start) * width,
|
|
31661
31686
|
height: height,
|
|
31662
|
-
cursor: brushSelect ? "crosshair" : "move"
|
|
31687
|
+
cursor: brushSelect ? "crosshair" : "move",
|
|
31688
|
+
zIndex: LAYOUT_LEVEL.selectedBackground
|
|
31663
31689
|
}, selectedBackgroundStyle), {
|
|
31664
31690
|
pickable: !zoomLock && (null === (_a = selectedBackgroundChartStyle.pickable) || void 0 === _a || _a)
|
|
31665
31691
|
}), "rect") : this._selectedBackground = group.createOrUpdateChild("selectedBackground", Object.assign(Object.assign({
|
|
@@ -31667,14 +31693,16 @@
|
|
|
31667
31693
|
y: position.y + start * height,
|
|
31668
31694
|
width: width,
|
|
31669
31695
|
height: (end - start) * height,
|
|
31670
|
-
cursor: brushSelect ? "crosshair" : "move"
|
|
31696
|
+
cursor: brushSelect ? "crosshair" : "move",
|
|
31697
|
+
zIndex: LAYOUT_LEVEL.selectedBackground
|
|
31671
31698
|
}, selectedBackgroundStyle), {
|
|
31672
31699
|
pickable: !zoomLock && (null === (_b = selectedBackgroundStyle.pickable) || void 0 === _b || _b)
|
|
31673
31700
|
}), "rect");
|
|
31674
31701
|
}
|
|
31675
31702
|
_setPreviewAttributes(type, group) {
|
|
31676
31703
|
this._previewGroup || (this._previewGroup = group.createOrUpdateChild("previewGroup", {
|
|
31677
|
-
pickable: !1
|
|
31704
|
+
pickable: !1,
|
|
31705
|
+
zIndex: LAYOUT_LEVEL.preview
|
|
31678
31706
|
}, "group")), "line" === type ? this._previewLine = this._previewGroup.createOrUpdateChild("previewLine", {}, "line") : this._previewArea = this._previewGroup.createOrUpdateChild("previewArea", {
|
|
31679
31707
|
curveType: "basis"
|
|
31680
31708
|
}, "area");
|
|
@@ -31693,7 +31721,8 @@
|
|
|
31693
31721
|
}
|
|
31694
31722
|
_setSelectedPreviewClipAttributes(type, group) {
|
|
31695
31723
|
this._selectedPreviewGroupClip || (this._selectedPreviewGroupClip = group.createOrUpdateChild("selectedPreviewGroupClip", {
|
|
31696
|
-
pickable: !1
|
|
31724
|
+
pickable: !1,
|
|
31725
|
+
zIndex: LAYOUT_LEVEL.selectedPreview
|
|
31697
31726
|
}, "group"), this._selectedPreviewGroup = this._selectedPreviewGroupClip.createOrUpdateChild("selectedPreviewGroup", {}, "group"));
|
|
31698
31727
|
const {
|
|
31699
31728
|
start: start,
|
|
@@ -31895,7 +31924,8 @@
|
|
|
31895
31924
|
visible: this._showText,
|
|
31896
31925
|
pickable: !1,
|
|
31897
31926
|
childrenPickable: !1,
|
|
31898
|
-
textStyle: startTextAlignStyle
|
|
31927
|
+
textStyle: startTextAlignStyle,
|
|
31928
|
+
zIndex: LAYOUT_LEVEL.handlerText
|
|
31899
31929
|
}), "data-zoom-start-text"), this._endText = this._maybeAddLabel(this._getContainer(), merge({}, restEndTextStyle, {
|
|
31900
31930
|
text: endTextValue,
|
|
31901
31931
|
x: endTextPosition.x,
|
|
@@ -31903,7 +31933,8 @@
|
|
|
31903
31933
|
visible: this._showText,
|
|
31904
31934
|
pickable: !1,
|
|
31905
31935
|
childrenPickable: !1,
|
|
31906
|
-
textStyle: endTextAlignStyle
|
|
31936
|
+
textStyle: endTextAlignStyle,
|
|
31937
|
+
zIndex: LAYOUT_LEVEL.handlerText
|
|
31907
31938
|
}), "data-zoom-end-text");
|
|
31908
31939
|
}
|
|
31909
31940
|
_maybeAddLabel(container, attributes, name) {
|
|
@@ -33747,7 +33778,31 @@
|
|
|
33747
33778
|
return graphicCreator.symbol(style);
|
|
33748
33779
|
}
|
|
33749
33780
|
_renderHandlerText(value, position) {
|
|
33750
|
-
|
|
33781
|
+
return graphicCreator.text(this._getHandlerTextAttributes(value, position));
|
|
33782
|
+
}
|
|
33783
|
+
_getHandlerPosition(isStart) {
|
|
33784
|
+
return this.attribute.range && isStart ? "start" : "end";
|
|
33785
|
+
}
|
|
33786
|
+
_getHandlerTextStyle(value, position) {
|
|
33787
|
+
const {
|
|
33788
|
+
align: align,
|
|
33789
|
+
handlerSize = 14,
|
|
33790
|
+
handlerText = {},
|
|
33791
|
+
railHeight: railHeight,
|
|
33792
|
+
railWidth: railWidth,
|
|
33793
|
+
slidable: slidable
|
|
33794
|
+
} = this.attribute;
|
|
33795
|
+
return isFunction$3(handlerText.style) ? handlerText.style(value, position, {
|
|
33796
|
+
layout: this.attribute.layout,
|
|
33797
|
+
align: align,
|
|
33798
|
+
railWidth: railWidth,
|
|
33799
|
+
railHeight: railHeight,
|
|
33800
|
+
handlerSize: handlerSize,
|
|
33801
|
+
slidable: slidable
|
|
33802
|
+
}) : handlerText.style;
|
|
33803
|
+
}
|
|
33804
|
+
_getHandlerTextAttributes(value, position) {
|
|
33805
|
+
var _a, _b;
|
|
33751
33806
|
const {
|
|
33752
33807
|
align: align,
|
|
33753
33808
|
handlerSize = 14,
|
|
@@ -33759,13 +33814,13 @@
|
|
|
33759
33814
|
isHorizontal = this._isHorizontal,
|
|
33760
33815
|
pos = this.calculatePosByValue(value, position),
|
|
33761
33816
|
textSpace = null !== (_a = handlerText.space) && void 0 !== _a ? _a : 4,
|
|
33817
|
+
handlerTextStyle = this._getHandlerTextStyle(value, position),
|
|
33762
33818
|
textStyle = {
|
|
33763
33819
|
text: handlerText.formatter ? handlerText.formatter(value) : value.toFixed(null !== (_b = handlerText.precision) && void 0 !== _b ? _b : 0),
|
|
33764
|
-
lineHeight: null
|
|
33820
|
+
lineHeight: null == handlerTextStyle ? void 0 : handlerTextStyle.lineHeight,
|
|
33765
33821
|
cursor: !1 === slidable ? "default" : getDefaultCursor(isHorizontal)
|
|
33766
33822
|
};
|
|
33767
|
-
isHorizontal ? "top" === align ? (textStyle.textBaseline = "bottom", textStyle.textAlign = "center", textStyle.x = pos, textStyle.y = (railHeight - handlerSize) / 2 - textSpace) : (textStyle.textBaseline = "top", textStyle.textAlign = "center", textStyle.x = pos, textStyle.y = (railHeight + handlerSize) / 2 + textSpace) : "left" === align ? (textStyle.textBaseline = "middle", textStyle.textAlign = "end", textStyle.x = (railWidth - handlerSize) / 2 - textSpace, textStyle.y = pos) : (textStyle.textBaseline = "middle", textStyle.textAlign = "start", textStyle.x = (railWidth + handlerSize) / 2 + textSpace, textStyle.y = pos);
|
|
33768
|
-
return graphicCreator.text(Object.assign(Object.assign({}, textStyle), handlerText.style));
|
|
33823
|
+
return isHorizontal ? "top" === align ? (textStyle.textBaseline = "bottom", textStyle.textAlign = "center", textStyle.x = pos, textStyle.y = (railHeight - handlerSize) / 2 - textSpace) : (textStyle.textBaseline = "top", textStyle.textAlign = "center", textStyle.x = pos, textStyle.y = (railHeight + handlerSize) / 2 + textSpace) : "left" === align ? (textStyle.textBaseline = "middle", textStyle.textAlign = "end", textStyle.x = (railWidth - handlerSize) / 2 - textSpace, textStyle.y = pos) : (textStyle.textBaseline = "middle", textStyle.textAlign = "start", textStyle.x = (railWidth + handlerSize) / 2 + textSpace, textStyle.y = pos), Object.assign(Object.assign({}, textStyle), handlerTextStyle);
|
|
33769
33824
|
}
|
|
33770
33825
|
_renderTooltip() {
|
|
33771
33826
|
var _a;
|
|
@@ -33893,31 +33948,19 @@
|
|
|
33893
33948
|
}
|
|
33894
33949
|
}
|
|
33895
33950
|
_updateHandler(handler, position, value) {
|
|
33896
|
-
var _a;
|
|
33897
33951
|
const isHorizontal = this._isHorizontal;
|
|
33898
33952
|
handler.setAttribute(isHorizontal ? "x" : "y", position);
|
|
33899
33953
|
const updateHandlerText = handler.name === SLIDER_ELEMENT_NAME.startHandler ? this._startHandlerText : this._endHandlerText;
|
|
33900
33954
|
if (updateHandlerText) {
|
|
33901
|
-
const
|
|
33902
|
-
|
|
33903
|
-
} = this.attribute;
|
|
33904
|
-
updateHandlerText.setAttributes({
|
|
33905
|
-
text: handlerText.formatter ? handlerText.formatter(value) : value.toFixed(null !== (_a = handlerText.precision) && void 0 !== _a ? _a : 0),
|
|
33906
|
-
[isHorizontal ? "x" : "y"]: position
|
|
33907
|
-
});
|
|
33955
|
+
const handlerPosition = this._getHandlerPosition(handler.name === SLIDER_ELEMENT_NAME.startHandler);
|
|
33956
|
+
updateHandlerText.setAttributes(this._getHandlerTextAttributes(value, handlerPosition));
|
|
33908
33957
|
}
|
|
33909
33958
|
handler.name === SLIDER_ELEMENT_NAME.startHandler ? (this._currentValue.startValue = value, this._currentValue.startPos = position) : (this._currentValue.endValue = value, this._currentValue.endPos = position);
|
|
33910
33959
|
}
|
|
33911
33960
|
_updateHandlerText(handlerText, position, value) {
|
|
33912
|
-
var _a;
|
|
33913
33961
|
const isHorizontal = this._isHorizontal,
|
|
33914
|
-
|
|
33915
|
-
|
|
33916
|
-
} = this.attribute;
|
|
33917
|
-
handlerText.setAttributes({
|
|
33918
|
-
[isHorizontal ? "x" : "y"]: position,
|
|
33919
|
-
text: handlerTextAttr.formatter ? handlerTextAttr.formatter(value) : value.toFixed(null !== (_a = handlerTextAttr.precision) && void 0 !== _a ? _a : 0)
|
|
33920
|
-
});
|
|
33962
|
+
handlerPosition = this._getHandlerPosition(handlerText.name === SLIDER_ELEMENT_NAME.startHandlerText);
|
|
33963
|
+
handlerText.setAttributes(this._getHandlerTextAttributes(value, handlerPosition));
|
|
33921
33964
|
const updateHandler = handlerText.name === SLIDER_ELEMENT_NAME.startHandlerText ? this._startHandler : this._endHandler;
|
|
33922
33965
|
updateHandler && updateHandler.setAttributes({
|
|
33923
33966
|
[isHorizontal ? "x" : "y"]: position
|
|
@@ -45364,15 +45407,17 @@
|
|
|
45364
45407
|
} else if ("sparkline" === type) {
|
|
45365
45408
|
cellGroup = Factory.getFunction("createSparkLineCellGroup")(null, columnGroup, 0, y, col, row, cellWidth, cellHeight, padding, table, cellTheme, isAsync);
|
|
45366
45409
|
} else if ("checkbox" === type) {
|
|
45367
|
-
|
|
45368
|
-
isSeriesNumber = table.internalProps.layoutMap.isSeriesNumber(col, row);
|
|
45369
|
-
if (isAggregation && isSeriesNumber) {
|
|
45410
|
+
if ("isAggregation" in table.internalProps.layoutMap && table.internalProps.layoutMap.isAggregation(col, row)) {
|
|
45370
45411
|
cellGroup = Factory.getFunction("createTextCellGroup")(table, value, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, !1, void 0, !0, cellTheme, range, isAsync);
|
|
45371
45412
|
} else {
|
|
45372
45413
|
cellGroup = Factory.getFunction("createCheckboxCellGroup")(null, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, mayHaveIcon, table, cellTheme, define, range, isAsync, !1);
|
|
45373
45414
|
}
|
|
45374
45415
|
} else if ("radio" === type) {
|
|
45375
|
-
|
|
45416
|
+
if ("isAggregation" in table.internalProps.layoutMap && table.internalProps.layoutMap.isAggregation(col, row)) {
|
|
45417
|
+
cellGroup = Factory.getFunction("createTextCellGroup")(table, value, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, !1, void 0, !0, cellTheme, range, isAsync);
|
|
45418
|
+
} else {
|
|
45419
|
+
cellGroup = Factory.getFunction("createRadioCellGroup")(null, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, table, cellTheme, define, range);
|
|
45420
|
+
}
|
|
45376
45421
|
} else if ("switch" === type) {
|
|
45377
45422
|
cellGroup = Factory.getFunction("createSwitchCellGroup")(null, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, mayHaveIcon, table, cellTheme, define, range, isAsync);
|
|
45378
45423
|
} else if ("button" === type) {
|
|
@@ -54553,6 +54598,7 @@
|
|
|
54553
54598
|
} else if (-1 === cellPos.col || -1 === cellPos.row || -1 !== col && -1 !== row) {
|
|
54554
54599
|
if (interactionState !== InteractionState.default || table.eventManager.isDraging || table.stateManager.isResizeCol()) {
|
|
54555
54600
|
if ((interactionState === InteractionState.grabing || table.eventManager.isDraging) && !table.stateManager.isResizeCol()) {
|
|
54601
|
+
if (col >= 0 && row >= 0 && isCellDisableSelect(table, col, row)) return void scenegraph.updateNextFrame();
|
|
54556
54602
|
let extendSelectRange = !isValid$1(skipBodyMerge) || !skipBodyMerge;
|
|
54557
54603
|
-1 === cellPos.col && (cellPos.col = col), -1 === cellPos.row && (cellPos.row = row), cellPos.col = col, cellPos.row = row;
|
|
54558
54604
|
const currentRange = state.select.ranges[state.select.ranges.length - 1];
|
|
@@ -55748,8 +55794,11 @@
|
|
|
55748
55794
|
updateOptionSetState() {
|
|
55749
55795
|
this._updateOptionSetState(), this.setHoverState(), this.setSelectState(), this.setFrozenState();
|
|
55750
55796
|
}
|
|
55797
|
+
endResizeIfResizing() {
|
|
55798
|
+
this.columnResize.resizing && (this.table.scenegraph.component.hideResizeCol(), this.columnResize.resizing = !1), this.rowResize.resizing && (this.table.scenegraph.component.hideResizeRow(), this.rowResize.resizing = !1), this.interactionState === InteractionState.grabing && (this.interactionState = InteractionState.default);
|
|
55799
|
+
}
|
|
55751
55800
|
_updateOptionSetState() {
|
|
55752
|
-
this.interactionState = InteractionState.default, this.hoverIcon = {
|
|
55801
|
+
this.endResizeIfResizing(), this.interactionState = InteractionState.default, this.hoverIcon = {
|
|
55753
55802
|
col: -1,
|
|
55754
55803
|
row: -1,
|
|
55755
55804
|
icon: null
|
|
@@ -56878,6 +56927,7 @@
|
|
|
56878
56927
|
}
|
|
56879
56928
|
|
|
56880
56929
|
function bindTableGroupListener$1(eventManager) {
|
|
56930
|
+
var _a, _b, _c;
|
|
56881
56931
|
const table = eventManager.table,
|
|
56882
56932
|
stateManager = table.stateManager,
|
|
56883
56933
|
getEventArgsSet = e => getCellEventArgsSetWithTable(e, table);
|
|
@@ -56994,7 +57044,13 @@
|
|
|
56994
57044
|
event: e.nativeEvent
|
|
56995
57045
|
});
|
|
56996
57046
|
}), table.scenegraph.tableGroup.addEventListener("pointerleave", e => {
|
|
56997
|
-
|
|
57047
|
+
var _a, _b, _c;
|
|
57048
|
+
stateManager.isResizeCol() || stateManager.isResizeRow() || stateManager.isMoveCol() || stateManager.isSelecting() || (stateManager.updateInteractionState(InteractionState.default), stateManager.updateCursor());
|
|
57049
|
+
const scrollStyle = table.theme.scrollStyle,
|
|
57050
|
+
horizontalVisible = null !== (_a = null == scrollStyle ? void 0 : scrollStyle.horizontalVisible) && void 0 !== _a ? _a : null == scrollStyle ? void 0 : scrollStyle.visible,
|
|
57051
|
+
verticalVisible = null !== (_b = null == scrollStyle ? void 0 : scrollStyle.verticalVisible) && void 0 !== _b ? _b : null == scrollStyle ? void 0 : scrollStyle.visible,
|
|
57052
|
+
barToSide = null !== (_c = null == scrollStyle ? void 0 : scrollStyle.barToSide) && void 0 !== _c && _c;
|
|
57053
|
+
barToSide || "focus" !== horizontalVisible || stateManager.hideHorizontalScrollBar(), barToSide || "focus" !== verticalVisible || stateManager.hideVerticalScrollBar(), table.hasListeners(TABLE_EVENT_TYPE.MOUSELEAVE_CELL) && -1 !== table.stateManager.hover.cellPos.col && -1 !== table.stateManager.hover.cellPos.row && table.fireListeners(TABLE_EVENT_TYPE.MOUSELEAVE_CELL, {
|
|
56998
57054
|
col: table.stateManager.hover.cellPos.col,
|
|
56999
57055
|
row: table.stateManager.hover.cellPos.row,
|
|
57000
57056
|
cellRange: table.getCellRangeRelativeRect({
|
|
@@ -57223,7 +57279,29 @@
|
|
|
57223
57279
|
const isHasSelected = !!(null === (_a = stateManager.select.ranges) || void 0 === _a ? void 0 : _a.length);
|
|
57224
57280
|
(null === (_b = table.options.customConfig) || void 0 === _b ? void 0 : _b.cancelSelectCellHook) ? (null === (_c = table.options.customConfig) || void 0 === _c ? void 0 : _c.cancelSelectCellHook(e)) && eventManager.dealTableSelect() : (null === (_e = null === (_d = table.options.select) || void 0 === _d ? void 0 : _d.blankAreaClickDeselect) || void 0 === _e || _e) && eventManager.dealTableSelect(), stateManager.endSelectCells(!0, isHasSelected), stateManager.updateCursor(), table.scenegraph.updateChartState(null, void 0), table.scenegraph.deactivateChart(-1, -1, !0);
|
|
57225
57281
|
}
|
|
57226
|
-
})
|
|
57282
|
+
});
|
|
57283
|
+
const scrollStyle = table.theme.scrollStyle,
|
|
57284
|
+
barToSide = null !== (_a = null == scrollStyle ? void 0 : scrollStyle.barToSide) && void 0 !== _a && _a,
|
|
57285
|
+
horizontalVisible = null !== (_b = null == scrollStyle ? void 0 : scrollStyle.horizontalVisible) && void 0 !== _b ? _b : null == scrollStyle ? void 0 : scrollStyle.visible,
|
|
57286
|
+
verticalVisible = null !== (_c = null == scrollStyle ? void 0 : scrollStyle.verticalVisible) && void 0 !== _c ? _c : null == scrollStyle ? void 0 : scrollStyle.visible,
|
|
57287
|
+
shouldShowScrollOnCanvasHover = barToSide && "focus" === horizontalVisible,
|
|
57288
|
+
shouldShowVScrollOnCanvasHover = barToSide && "focus" === verticalVisible;
|
|
57289
|
+
(shouldShowScrollOnCanvasHover || shouldShowVScrollOnCanvasHover) && (table.scenegraph.stage.addEventListener("pointerenter", e => {
|
|
57290
|
+
var _a, _b, _c;
|
|
57291
|
+
const target = e.target;
|
|
57292
|
+
if (target === table.scenegraph.stage || (null === (_a = null == target ? void 0 : target.isDescendantsOf) || void 0 === _a ? void 0 : _a.call(target, table.scenegraph.stage))) {
|
|
57293
|
+
if (shouldShowScrollOnCanvasHover) {
|
|
57294
|
+
const relativeX = e.x - table.tableX,
|
|
57295
|
+
target = table.options.scrollFrozenCols && (null === (_b = table.getFrozenColsOffset) || void 0 === _b ? void 0 : _b.call(table)) > 0 && relativeX >= 0 && relativeX < table.getFrozenColsWidth() ? "frozen" : table.options.scrollRightFrozenCols && (null === (_c = table.getRightFrozenColsOffset) || void 0 === _c ? void 0 : _c.call(table)) > 0 && relativeX > table.tableNoFrameWidth - table.getRightFrozenColsWidth() ? "rightFrozen" : "body";
|
|
57296
|
+
stateManager.showHorizontalScrollBar(!1, target);
|
|
57297
|
+
}
|
|
57298
|
+
shouldShowVScrollOnCanvasHover && stateManager.showVerticalScrollBar();
|
|
57299
|
+
}
|
|
57300
|
+
}), table.scenegraph.stage.addEventListener("pointerleave", e => {
|
|
57301
|
+
var _a;
|
|
57302
|
+
const relatedTarget = e.relatedTarget;
|
|
57303
|
+
(!relatedTarget || relatedTarget !== table.scenegraph.stage && !(null === (_a = relatedTarget.isDescendantsOf) || void 0 === _a ? void 0 : _a.call(relatedTarget, table.scenegraph.stage))) && (shouldShowScrollOnCanvasHover && stateManager.hideHorizontalScrollBar(), shouldShowVScrollOnCanvasHover && stateManager.hideVerticalScrollBar());
|
|
57304
|
+
})), table.scenegraph.stage.addEventListener("pointermove", e => {
|
|
57227
57305
|
var _a, _b, _c;
|
|
57228
57306
|
const eventArgsSet = getCellEventArgsSetWithTable(e, table);
|
|
57229
57307
|
null !== (_c = null === (_b = null === (_a = e.target) || void 0 === _a ? void 0 : _a.isDescendantsOf) || void 0 === _b ? void 0 : _b.call(_a, table.scenegraph.tableGroup)) && void 0 !== _c && _c && (stateManager.isResizeCol() || eventManager.checkColumnResize(eventArgsSet) ? table.stateManager.select && eventManager.checkCellFillhandle(eventArgsSet) ? stateManager.updateCursor("crosshair") : stateManager.updateCursor("col-resize") : stateManager.isResizeRow() || eventManager.checkRowResize(eventArgsSet) ? table.stateManager.select && eventManager.checkCellFillhandle(eventArgsSet) ? stateManager.updateCursor("crosshair") : stateManager.updateCursor("row-resize") : stateManager.isMoveCol() || stateManager.updateCursor());
|
|
@@ -57782,7 +57860,10 @@
|
|
|
57782
57860
|
right || left || (x > table.tableNoFrameWidth - table.getRightFrozenColsWidth() && x < table.tableNoFrameWidth || x > 0 && x < table.getFrozenColsWidth() ? (selectX = x, considerFrozenX = !0) : selectX = table.scrollLeft + frozenOffset + x), bottom || top || (y > table.tableNoFrameHeight - table.getBottomFrozenRowsHeight() && y < table.tableNoFrameHeight || y > 0 && y < table.getFrozenRowsHeight() ? (selectY = y, considerFrozenY = !0) : selectY = table.scrollTop + y), table.stateManager.updateInteractionState(InteractionState.grabing);
|
|
57783
57861
|
const targetCol = table.getTargetColAtConsiderRightFrozen(selectX, considerFrozenX),
|
|
57784
57862
|
targetRow = table.getTargetRowAtConsiderBottomFrozen(selectY, considerFrozenY);
|
|
57785
|
-
!(null === (_c = table.options.select) || void 0 === _c ? void 0 : _c.disableDragSelect) && isValid$1(targetCol) && isValid$1(targetRow)
|
|
57863
|
+
if (!(null === (_c = table.options.select) || void 0 === _c ? void 0 : _c.disableDragSelect) && isValid$1(targetCol) && isValid$1(targetRow)) {
|
|
57864
|
+
if (isCellDisableSelect(table, targetCol.col, targetRow.row)) return;
|
|
57865
|
+
table.stateManager.updateSelectPos("row" === table.stateManager.select.selectInline ? table.colCount - 1 : targetCol.col, "col" === table.stateManager.select.selectInline ? table.rowCount - 1 : targetRow.row, !1, !1, !1, !1);
|
|
57866
|
+
}
|
|
57786
57867
|
});
|
|
57787
57868
|
} else table.eventManager.inertiaScroll.isInertiaScrolling() ? table.eventManager.inertiaScroll.endInertia() : table.eventManager.scrollYSpeed = 0;
|
|
57788
57869
|
}
|
|
@@ -59858,6 +59939,7 @@
|
|
|
59858
59939
|
switch (headerType) {
|
|
59859
59940
|
case "text":
|
|
59860
59941
|
case "link":
|
|
59942
|
+
default:
|
|
59861
59943
|
return TextHeaderStyle;
|
|
59862
59944
|
case "image":
|
|
59863
59945
|
case "video":
|
|
@@ -60904,7 +60986,7 @@
|
|
|
60904
60986
|
}
|
|
60905
60987
|
constructor(container, options = {}) {
|
|
60906
60988
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
60907
|
-
if (super(), this.showFrozenIcon = !0, this._scrollToRowCorrectTimer = null, this._tableBorderWidth_left = 0, this._tableBorderWidth_right = 0, this._tableBorderWidth_top = 0, this._tableBorderWidth_bottom = 0, this.version = "1.
|
|
60989
|
+
if (super(), this.showFrozenIcon = !0, this._scrollToRowCorrectTimer = null, this._tableBorderWidth_left = 0, this._tableBorderWidth_right = 0, this._tableBorderWidth_top = 0, this._tableBorderWidth_bottom = 0, this.version = "1.26.0", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), "undefined" != typeof window) {
|
|
60908
60990
|
const g = window;
|
|
60909
60991
|
g[this.id] = this;
|
|
60910
60992
|
const registry = g.__vtable__ || (g.__vtable__ = {
|
|
@@ -62309,9 +62391,13 @@
|
|
|
62309
62391
|
}
|
|
62310
62392
|
getCellType(col, row) {
|
|
62311
62393
|
let cellType;
|
|
62312
|
-
|
|
62394
|
+
if (this.isSeriesNumberInHeader(col, row)) {
|
|
62395
|
+
const seriesHeaderCellType = this.internalProps.layoutMap.getSeriesNumberHeader(col, row).cellType;
|
|
62396
|
+
return "radio" === seriesHeaderCellType ? "text" : seriesHeaderCellType;
|
|
62397
|
+
}
|
|
62398
|
+
return cellType = this.isHeader(col, row) ? this.internalProps.layoutMap.getHeader(col, row).headerType : this.internalProps.layoutMap.getBody(col, row).cellType, getProp("cellType", {
|
|
62313
62399
|
cellType: cellType
|
|
62314
|
-
}, col, row, this)
|
|
62400
|
+
}, col, row, this);
|
|
62315
62401
|
}
|
|
62316
62402
|
getHeaderField(col, row) {
|
|
62317
62403
|
return this.internalProps.layoutMap.getHeaderField(col, row);
|
|
@@ -66307,7 +66393,7 @@
|
|
|
66307
66393
|
setRecords(records, option) {
|
|
66308
66394
|
var _a, _b, _c, _d, _e;
|
|
66309
66395
|
let sort;
|
|
66310
|
-
clearChartRenderQueue(), null === (_a = this.internalProps.dataSource) || void 0 === _a || _a.release(), this.internalProps.releaseList = null === (_b = this.internalProps.releaseList) || void 0 === _b ? void 0 : _b.filter(item => !item.dataSourceObj), this.internalProps.dataSource = null, Array.isArray(option) || (null == option ? void 0 : option.order) ? sort = option : option ? sort = option.sortState : null === option && (sort = null);
|
|
66396
|
+
this.stateManager.endResizeIfResizing(), clearChartRenderQueue(), null === (_a = this.internalProps.dataSource) || void 0 === _a || _a.release(), this.internalProps.releaseList = null === (_b = this.internalProps.releaseList) || void 0 === _b ? void 0 : _b.filter(item => !item.dataSourceObj), this.internalProps.dataSource = null, Array.isArray(option) || (null == option ? void 0 : option.order) ? sort = option : option ? sort = option.sortState : null === option && (sort = null);
|
|
66311
66397
|
"undefined" != typeof window && window.performance.now();
|
|
66312
66398
|
const oldHoverState = {
|
|
66313
66399
|
col: this.stateManager.hover.cellPos.col,
|
|
@@ -72035,7 +72121,7 @@
|
|
|
72035
72121
|
}
|
|
72036
72122
|
}
|
|
72037
72123
|
|
|
72038
|
-
|
|
72124
|
+
/******************************************************************************
|
|
72039
72125
|
Copyright (c) Microsoft Corporation.
|
|
72040
72126
|
|
|
72041
72127
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -72056,6 +72142,10 @@
|
|
|
72056
72142
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
72057
72143
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
72058
72144
|
}
|
|
72145
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
72146
|
+
var e = new Error(message);
|
|
72147
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
72148
|
+
};
|
|
72059
72149
|
|
|
72060
72150
|
let DateHeaderGroupBeforeRenderContribution = class DateHeaderGroupBeforeRenderContribution {
|
|
72061
72151
|
time = BaseRenderContributionTime.beforeFillStroke;
|
|
@@ -78391,7 +78481,7 @@
|
|
|
78391
78481
|
PluginManager: PluginManager
|
|
78392
78482
|
});
|
|
78393
78483
|
|
|
78394
|
-
const version = "1.
|
|
78484
|
+
const version = "1.26.0";
|
|
78395
78485
|
|
|
78396
78486
|
exports.Gantt = Gantt;
|
|
78397
78487
|
exports.TYPES = index$4;
|