@visactor/vtable-gantt 1.8.1-alpha.0 → 1.8.1-alpha.2
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 +40 -21
- package/dist/vtable-gantt.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +5 -5
package/cjs/index.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ import { Gantt } from './Gantt';
|
|
|
5
5
|
import * as tools from './tools';
|
|
6
6
|
import * as VRender from './vrender';
|
|
7
7
|
import * as VTable from './vtable';
|
|
8
|
-
export declare const version = "1.8.1-alpha.
|
|
8
|
+
export declare const version = "1.8.1-alpha.2";
|
|
9
9
|
export { TYPES, GanttConstructorOptions, Gantt, ColumnsDefine, ColumnDefine, LinkColumnDefine, ChartColumnDefine, ImageColumnDefine, SparklineColumnDefine, ProgressbarColumnDefine, TextColumnDefine, GroupColumnDefine, TextAlignType, TextBaselineType, tools, VRender, VTable };
|
package/cjs/index.js
CHANGED
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAuBlC,sBAAK;AATP,mCAAgC;AAW9B,sFAXO,aAAK,OAWP;AAVP,+CAAiC;AAsB/B,sBAAK;AArBP,mDAAqC;AAsBnC,0BAAO;AArBT,iDAAmC;AAsBjC,wBAAM;AArBK,QAAA,OAAO,GAAG,eAAe,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';\nexport const version = \"1.8.1-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAAoC;AAuBlC,sBAAK;AATP,mCAAgC;AAW9B,sFAXO,aAAK,OAWP;AAVP,+CAAiC;AAsB/B,sBAAK;AArBP,mDAAqC;AAsBnC,0BAAO;AArBT,iDAAmC;AAsBjC,wBAAM;AArBK,QAAA,OAAO,GAAG,eAAe,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';\nexport const version = \"1.8.1-alpha.2\";\n/**\n * @namespace VTable\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};\n"]}
|
package/dist/vtable-gantt.js
CHANGED
|
@@ -28390,6 +28390,7 @@
|
|
|
28390
28390
|
MOUSEENTER_TABLE: "mouseenter_table",
|
|
28391
28391
|
MOUSELEAVE_TABLE: "mouseleave_table",
|
|
28392
28392
|
MOUSEDOWN_TABLE: "mousedown_table",
|
|
28393
|
+
MOUSEMOVE_TABLE: "mousemove_table",
|
|
28393
28394
|
MOUSEMOVE_CELL: "mousemove_cell",
|
|
28394
28395
|
MOUSEENTER_CELL: "mouseenter_cell",
|
|
28395
28396
|
MOUSELEAVE_CELL: "mouseleave_cell",
|
|
@@ -28398,6 +28399,7 @@
|
|
|
28398
28399
|
RESIZE_COLUMN_END: "resize_column_end",
|
|
28399
28400
|
RESIZE_ROW: "resize_row",
|
|
28400
28401
|
RESIZE_ROW_END: "resize_row_end",
|
|
28402
|
+
CHANGE_HEADER_POSITION_START: "change_header_position_start",
|
|
28401
28403
|
CHANGE_HEADER_POSITION: "change_header_position",
|
|
28402
28404
|
SORT_CLICK: "sort_click",
|
|
28403
28405
|
FREEZE_CLICK: "freeze_click",
|
|
@@ -40922,8 +40924,9 @@
|
|
|
40922
40924
|
} else state.updateCursor("not-allowed"), state.columnMove.colTarget = state.columnMove.colSource, state.columnMove.rowTarget = state.columnMove.rowSource;
|
|
40923
40925
|
}
|
|
40924
40926
|
function endMoveCol(state) {
|
|
40927
|
+
var _a, _b;
|
|
40925
40928
|
let moveColResult = !1;
|
|
40926
|
-
if ("canMoveHeaderPosition" in state.table.internalProps.layoutMap && state.columnMove.moving && state.columnMove.colSource >= 0 && state.columnMove.rowSource >= 0 && state.columnMove.colTarget >= 0 && state.columnMove.rowTarget >= 0) {
|
|
40929
|
+
if ("canMoveHeaderPosition" in state.table.internalProps.layoutMap && state.columnMove.moving && state.columnMove.colSource >= 0 && state.columnMove.rowSource >= 0 && state.columnMove.colTarget >= 0 && state.columnMove.rowTarget >= 0 && !0 !== (null === (_a = state.table.options.customConfig) || void 0 === _a ? void 0 : _a.notUpdateInColumnRowMove)) {
|
|
40927
40930
|
const oldSourceMergeInfo = state.table.getCellRange(state.columnMove.colSource, state.columnMove.rowSource),
|
|
40928
40931
|
oldTargetMergeInfo = state.table.getCellRange(state.columnMove.colTarget, state.columnMove.rowTarget),
|
|
40929
40932
|
moveContext = state.table._moveHeaderPosition({
|
|
@@ -40947,7 +40950,7 @@
|
|
|
40947
40950
|
}
|
|
40948
40951
|
return setTimeout(() => {
|
|
40949
40952
|
state.columnMove.moving = !1, delete state.columnMove.colSource, delete state.columnMove.rowSource, delete state.columnMove.colTarget, delete state.columnMove.rowTarget;
|
|
40950
|
-
}, 0), state.table.scenegraph.component.hideMoveCol(), state.columnResize.col < state.table.frozenColCount && !state.table.isPivotTable() && !state.table.transpose ? (state.table.scenegraph.component.setFrozenColumnShadow(state.table.frozenColCount - 1, state.columnResize.isRightFrozen), state.table.scenegraph.component.setRightFrozenColumnShadow(state.table.colCount - state.table.rightFrozenColCount)) : state.columnResize.col >= state.table.colCount - state.table.rightFrozenColCount && !state.table.isPivotTable() && !state.table.transpose ? state.table.scenegraph.component.setRightFrozenColumnShadow(state.table.colCount - state.table.rightFrozenColCount) : state.table.options.frozenColCount ? state.table.scenegraph.component.setFrozenColumnShadow(state.table.frozenColCount - 1) : state.table.options.rightFrozenColCount && state.table.scenegraph.component.setRightFrozenColumnShadow(state.table.colCount - state.table.rightFrozenColCount), state.table.scenegraph.updateNextFrame(), moveColResult;
|
|
40953
|
+
}, 0), state.table.scenegraph.component.hideMoveCol(), state.columnResize.col < state.table.frozenColCount && !state.table.isPivotTable() && !state.table.transpose ? (state.table.scenegraph.component.setFrozenColumnShadow(state.table.frozenColCount - 1, state.columnResize.isRightFrozen), state.table.scenegraph.component.setRightFrozenColumnShadow(state.table.colCount - state.table.rightFrozenColCount)) : state.columnResize.col >= state.table.colCount - state.table.rightFrozenColCount && !state.table.isPivotTable() && !state.table.transpose ? state.table.scenegraph.component.setRightFrozenColumnShadow(state.table.colCount - state.table.rightFrozenColCount) : state.table.options.frozenColCount ? state.table.scenegraph.component.setFrozenColumnShadow(state.table.frozenColCount - 1) : state.table.options.rightFrozenColCount && state.table.scenegraph.component.setRightFrozenColumnShadow(state.table.colCount - state.table.rightFrozenColCount), state.table.scenegraph.updateNextFrame(), !0 === (null === (_b = state.table.options.customConfig) || void 0 === _b ? void 0 : _b.notUpdateInColumnRowMove) || moveColResult;
|
|
40951
40954
|
}
|
|
40952
40955
|
function clearWidthsAndHeightsCache(colMin, colMax, rowMin, rowMax, table) {
|
|
40953
40956
|
for (let col = colMin; col <= colMax; col++) table._clearColRangeWidthsMap(col);
|
|
@@ -41299,8 +41302,8 @@
|
|
|
41299
41302
|
|
|
41300
41303
|
let StateManager$1 = class StateManager {
|
|
41301
41304
|
constructor(table) {
|
|
41302
|
-
this.fastScrolling = !1, this.checkedState = [], this.headerCheckedState = {}, this._checkboxCellTypeFields = [], this._headerCheckFuncs = {}, this.radioState = {}, this.resetInteractionState = debounce$1(
|
|
41303
|
-
this.updateInteractionState(InteractionState.default);
|
|
41305
|
+
this.fastScrolling = !1, this.checkedState = [], this.headerCheckedState = {}, this._checkboxCellTypeFields = [], this._headerCheckFuncs = {}, this.radioState = {}, this.resetInteractionState = debounce$1(state => {
|
|
41306
|
+
this.updateInteractionState(null != state ? state : InteractionState.default);
|
|
41304
41307
|
}, 100), this.table = table, this.initState(), this.updateVerticalScrollBar = this.updateVerticalScrollBar.bind(this), this.updateHorizontalScrollBar = this.updateHorizontalScrollBar.bind(this);
|
|
41305
41308
|
}
|
|
41306
41309
|
initState() {
|
|
@@ -41486,6 +41489,7 @@
|
|
|
41486
41489
|
}
|
|
41487
41490
|
updateInteractionState(mode) {
|
|
41488
41491
|
if (this.interactionState === mode) return;
|
|
41492
|
+
mode === InteractionState.scrolling && (this.interactionStateBeforeScroll = this.interactionState);
|
|
41489
41493
|
const oldState = this.interactionState;
|
|
41490
41494
|
this.interactionState = mode, oldState === InteractionState.scrolling && InteractionState.default;
|
|
41491
41495
|
}
|
|
@@ -41611,7 +41615,12 @@
|
|
|
41611
41615
|
}), this.fillHandle.beforeFillMaxCol = void 0, this.fillHandle.beforeFillMaxRow = void 0, this.fillHandle.beforeFillMinCol = void 0, this.fillHandle.beforeFillMinRow = void 0;
|
|
41612
41616
|
}
|
|
41613
41617
|
startMoveCol(col, row, x, y) {
|
|
41614
|
-
startMoveCol(col, row, x, y, this)
|
|
41618
|
+
startMoveCol(col, row, x, y, this), this.table.fireListeners(TABLE_EVENT_TYPE.CHANGE_HEADER_POSITION_START, {
|
|
41619
|
+
col: col,
|
|
41620
|
+
row: row,
|
|
41621
|
+
x: x,
|
|
41622
|
+
y: y
|
|
41623
|
+
});
|
|
41615
41624
|
}
|
|
41616
41625
|
updateMoveCol(col, row, x, y) {
|
|
41617
41626
|
updateMoveCol(col, row, x, y, this);
|
|
@@ -42083,7 +42092,7 @@
|
|
|
42083
42092
|
horizontal: 1,
|
|
42084
42093
|
vertical: 1
|
|
42085
42094
|
});
|
|
42086
|
-
(optimizedDeltaX || optimizedDeltaY) && state.interactionState !== InteractionState.scrolling && state.updateInteractionState(InteractionState.scrolling), optimizedDeltaX && (state.setScrollLeft(state.scroll.horizontalBarPos + optimizedDeltaX, event), state.showHorizontalScrollBar(!0)), optimizedDeltaY && (state.setScrollTop(state.scroll.verticalBarPos + optimizedDeltaY, event), state.showVerticalScrollBar(!0)), isWheelEvent && state.resetInteractionState(), (null === (_a = event.nativeEvent) || void 0 === _a ? void 0 : _a.cancelable) && ("none" === state.table.internalProps.overscrollBehavior || Math.abs(deltaY) >= Math.abs(deltaX) && 0 !== deltaY && isVerticalScrollable(deltaY, state) || Math.abs(deltaY) <= Math.abs(deltaX) && 0 !== deltaX && isHorizontalScrollable(deltaX, state)) && event.nativeEvent.preventDefault();
|
|
42095
|
+
(optimizedDeltaX || optimizedDeltaY) && state.interactionState !== InteractionState.scrolling && state.updateInteractionState(InteractionState.scrolling), optimizedDeltaX && (state.setScrollLeft(state.scroll.horizontalBarPos + optimizedDeltaX, event), state.showHorizontalScrollBar(!0)), optimizedDeltaY && (state.setScrollTop(state.scroll.verticalBarPos + optimizedDeltaY, event), state.showVerticalScrollBar(!0)), isWheelEvent && state.resetInteractionState(state.interactionStateBeforeScroll), (null === (_a = event.nativeEvent) || void 0 === _a ? void 0 : _a.cancelable) && ("none" === state.table.internalProps.overscrollBehavior || Math.abs(deltaY) >= Math.abs(deltaX) && 0 !== deltaY && isVerticalScrollable(deltaY, state) || Math.abs(deltaY) <= Math.abs(deltaX) && 0 !== deltaX && isHorizontalScrollable(deltaX, state)) && event.nativeEvent.preventDefault();
|
|
42087
42096
|
}
|
|
42088
42097
|
function optimizeScrollXY(x, y, ratio) {
|
|
42089
42098
|
var _a, _b;
|
|
@@ -42150,7 +42159,7 @@
|
|
|
42150
42159
|
const table = eventManager.table,
|
|
42151
42160
|
stateManager = table.stateManager;
|
|
42152
42161
|
table.scenegraph.tableGroup.addEventListener("pointermove", e => {
|
|
42153
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
42162
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
42154
42163
|
const lastX = null !== (_b = null === (_a = table.eventManager.LastPointerXY) || void 0 === _a ? void 0 : _a.x) && void 0 !== _b ? _b : e.x,
|
|
42155
42164
|
lastY = null !== (_d = null === (_c = table.eventManager.LastPointerXY) || void 0 === _c ? void 0 : _c.y) && void 0 !== _d ? _d : e.y;
|
|
42156
42165
|
table.eventManager.LastPointerXY = {
|
|
@@ -42158,8 +42167,16 @@
|
|
|
42158
42167
|
y: e.y
|
|
42159
42168
|
}, eventManager.touchSetTimeout && (clearTimeout(eventManager.touchSetTimeout), eventManager.touchSetTimeout = void 0);
|
|
42160
42169
|
const eventArgsSet = getCellEventArgsSet(e);
|
|
42161
|
-
if (
|
|
42162
|
-
|
|
42170
|
+
if (eventArgsSet.eventArgs && table.hasListeners(TABLE_EVENT_TYPE.MOUSEMOVE_TABLE) && table.fireListeners(TABLE_EVENT_TYPE.MOUSEMOVE_TABLE, {
|
|
42171
|
+
col: eventArgsSet.eventArgs.col,
|
|
42172
|
+
row: eventArgsSet.eventArgs.row,
|
|
42173
|
+
x: eventArgsSet.abstractPos.x,
|
|
42174
|
+
y: eventArgsSet.abstractPos.y,
|
|
42175
|
+
event: e.nativeEvent,
|
|
42176
|
+
target: null === (_e = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _e ? void 0 : _e.target,
|
|
42177
|
+
mergeCellInfo: null === (_f = eventArgsSet.eventArgs) || void 0 === _f ? void 0 : _f.mergeInfo
|
|
42178
|
+
}), stateManager.interactionState === InteractionState.grabing && !(null === (_g = table.editorManager) || void 0 === _g ? void 0 : _g.editingEditor)) return void (Math.abs(lastX - e.x) + Math.abs(lastY - e.y) >= 1 && (stateManager.isResizeCol() || (stateManager.isMoveCol() ? eventManager.dealColumnMover(eventArgsSet) : stateManager.isFillHandle() ? eventManager.dealFillSelect(eventArgsSet, !0) : (null === (_h = table.options.select) || void 0 === _h ? void 0 : _h.disableDragSelect) || eventManager.dealTableSelect(eventArgsSet, !0))));
|
|
42179
|
+
!(null === (_j = table.options.select) || void 0 === _j ? void 0 : _j.disableDragSelect) && table.eventManager.isDraging && stateManager.isSelecting() && !(null === (_k = table.editorManager) || void 0 === _k ? void 0 : _k.editingEditor) && eventManager.dealTableSelect(eventArgsSet, !0);
|
|
42163
42180
|
const cellGoup = e.path.find(node => "cell" === node.role);
|
|
42164
42181
|
if (table.hasListeners(TABLE_EVENT_TYPE.MOUSELEAVE_CELL) && (-1 === table.stateManager.hover.cellPos.col || -1 === table.stateManager.hover.cellPos.row || (null == cellGoup ? void 0 : cellGoup.col) === table.stateManager.hover.cellPos.col && (null == cellGoup ? void 0 : cellGoup.row) === table.stateManager.hover.cellPos.row || table.fireListeners(TABLE_EVENT_TYPE.MOUSELEAVE_CELL, {
|
|
42165
42182
|
col: table.stateManager.hover.cellPos.col,
|
|
@@ -42170,8 +42187,8 @@
|
|
|
42170
42187
|
}),
|
|
42171
42188
|
scaleRatio: table.canvas.getBoundingClientRect().width / table.canvas.offsetWidth,
|
|
42172
42189
|
event: e.nativeEvent,
|
|
42173
|
-
target: null === (
|
|
42174
|
-
})), table.hasListeners(TABLE_EVENT_TYPE.MOUSEENTER_CELL) && ("cell" !== (null == cellGoup ? void 0 : cellGoup.role) || !isValid$1(cellGoup.col) || !isValid$1(cellGoup.row) || cellGoup.col === table.stateManager.hover.cellPos.col && cellGoup.row === table.stateManager.hover.cellPos.row || cellGoup.col === (null === (
|
|
42190
|
+
target: null === (_l = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _l ? void 0 : _l.target
|
|
42191
|
+
})), table.hasListeners(TABLE_EVENT_TYPE.MOUSEENTER_CELL) && ("cell" !== (null == cellGoup ? void 0 : cellGoup.role) || !isValid$1(cellGoup.col) || !isValid$1(cellGoup.row) || cellGoup.col === table.stateManager.hover.cellPos.col && cellGoup.row === table.stateManager.hover.cellPos.row || cellGoup.col === (null === (_m = table.stateManager.hover.cellPosContainHeader) || void 0 === _m ? void 0 : _m.col) && cellGoup.row === (null === (_o = table.stateManager.hover.cellPosContainHeader) || void 0 === _o ? void 0 : _o.row) || table.fireListeners(TABLE_EVENT_TYPE.MOUSEENTER_CELL, {
|
|
42175
42192
|
col: cellGoup.col,
|
|
42176
42193
|
row: cellGoup.row,
|
|
42177
42194
|
cellRange: table.getCellRangeRelativeRect({
|
|
@@ -42180,12 +42197,12 @@
|
|
|
42180
42197
|
}),
|
|
42181
42198
|
scaleRatio: table.canvas.getBoundingClientRect().width / table.canvas.offsetWidth,
|
|
42182
42199
|
event: e.nativeEvent,
|
|
42183
|
-
target: null === (
|
|
42184
|
-
mergeCellInfo: null === (
|
|
42200
|
+
target: null === (_p = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _p ? void 0 : _p.target,
|
|
42201
|
+
mergeCellInfo: null === (_q = eventArgsSet.eventArgs) || void 0 === _q ? void 0 : _q.mergeInfo
|
|
42185
42202
|
})), eventManager.dealIconHover(eventArgsSet), eventManager.dealTableHover(eventArgsSet), eventArgsSet.eventArgs && table.hasListeners(TABLE_EVENT_TYPE.MOUSEMOVE_CELL)) {
|
|
42186
42203
|
let icon, position;
|
|
42187
|
-
if (null === (
|
|
42188
|
-
const iconInfo = getIconAndPositionFromTarget(null === (
|
|
42204
|
+
if (null === (_r = eventArgsSet.eventArgs) || void 0 === _r ? void 0 : _r.target) {
|
|
42205
|
+
const iconInfo = getIconAndPositionFromTarget(null === (_s = eventArgsSet.eventArgs) || void 0 === _s ? void 0 : _s.target);
|
|
42189
42206
|
iconInfo && (icon = iconInfo.icon, position = iconInfo.position);
|
|
42190
42207
|
}
|
|
42191
42208
|
table.fireListeners(TABLE_EVENT_TYPE.MOUSEMOVE_CELL, {
|
|
@@ -42199,8 +42216,8 @@
|
|
|
42199
42216
|
position: position,
|
|
42200
42217
|
funcType: icon.attribute.funcType
|
|
42201
42218
|
} : void 0,
|
|
42202
|
-
target: null === (
|
|
42203
|
-
mergeCellInfo: null === (
|
|
42219
|
+
target: null === (_t = null == eventArgsSet ? void 0 : eventArgsSet.eventArgs) || void 0 === _t ? void 0 : _t.target,
|
|
42220
|
+
mergeCellInfo: null === (_u = eventArgsSet.eventArgs) || void 0 === _u ? void 0 : _u.mergeInfo
|
|
42204
42221
|
});
|
|
42205
42222
|
}
|
|
42206
42223
|
}), table.scenegraph.tableGroup.addEventListener("pointerout", e => {
|
|
@@ -42272,7 +42289,8 @@
|
|
|
42272
42289
|
source: {
|
|
42273
42290
|
col: table.stateManager.columnMove.colSource,
|
|
42274
42291
|
row: table.stateManager.columnMove.rowSource
|
|
42275
|
-
}
|
|
42292
|
+
},
|
|
42293
|
+
event: e.nativeEvent
|
|
42276
42294
|
});
|
|
42277
42295
|
} else if (stateManager.isSelecting() && (null === (_h = null === (_g = table.stateManager.select) || void 0 === _g ? void 0 : _g.ranges) || void 0 === _h ? void 0 : _h.length)) {
|
|
42278
42296
|
const lastCol = table.stateManager.select.ranges[table.stateManager.select.ranges.length - 1].end.col,
|
|
@@ -42360,7 +42378,8 @@
|
|
|
42360
42378
|
source: {
|
|
42361
42379
|
col: table.stateManager.columnMove.colSource,
|
|
42362
42380
|
row: table.stateManager.columnMove.rowSource
|
|
42363
|
-
}
|
|
42381
|
+
},
|
|
42382
|
+
event: e.nativeEvent
|
|
42364
42383
|
});
|
|
42365
42384
|
} else if (stateManager.isSelecting()) {
|
|
42366
42385
|
table.stateManager.endSelectCells(), table.stateManager.isFillHandle() && table.stateManager.endFillSelect();
|
|
@@ -45719,7 +45738,7 @@
|
|
|
45719
45738
|
constructor(container) {
|
|
45720
45739
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
45721
45740
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
45722
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.8.1-alpha.
|
|
45741
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.8.1-alpha.2", 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");
|
|
45723
45742
|
const {
|
|
45724
45743
|
frozenColCount = 0,
|
|
45725
45744
|
frozenRowCount: frozenRowCount,
|
|
@@ -55094,7 +55113,7 @@
|
|
|
55094
55113
|
themes: themes$1
|
|
55095
55114
|
});
|
|
55096
55115
|
|
|
55097
|
-
const version = "1.8.1-alpha.
|
|
55116
|
+
const version = "1.8.1-alpha.2";
|
|
55098
55117
|
|
|
55099
55118
|
exports.Gantt = Gantt;
|
|
55100
55119
|
exports.TYPES = index$2;
|