@visactor/vtable-calendar 1.20.2 → 1.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vtable-calendar.js
CHANGED
|
@@ -52285,7 +52285,7 @@
|
|
|
52285
52285
|
if (table.eventManager.checkCellFillhandle(eventArgsSet)) table.fireListeners(TABLE_EVENT_TYPE.DBLCLICK_FILL_HANDLE, {});else if (table._canResizeColumn(resizeCol.col, resizeCol.row) && resizeCol.col >= 0 && !disableDblclickAutoResizeColWidth) {
|
|
52286
52286
|
table.scenegraph.updateAutoColWidth(resizeCol.col), table.internalProps._widthResizedColMap.add(resizeCol.col), table.scenegraph.updateChartSizeForResizeColWidth(resizeCol.col);
|
|
52287
52287
|
const state = table.stateManager;
|
|
52288
|
-
state.columnResize.col < state.table.frozenColCount && !state.table.isPivotTable() && !state.table.transpose && state.table.scenegraph.component.setFrozenColumnShadow(state.table.frozenColCount - 1, state.columnResize.isRightFrozen);
|
|
52288
|
+
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.columnResize.col >= state.table.colCount - state.table.rightFrozenColCount && !state.table.isPivotTable() && !state.table.transpose || state.table.options.rightFrozenColCount) && state.table.scenegraph.component.setRightFrozenColumnShadow(state.table.colCount - state.table.rightFrozenColCount);
|
|
52289
52289
|
const colWidths = [];
|
|
52290
52290
|
for (let col = 0; col < table.colCount; col++) colWidths.push(table.getColWidth(col));
|
|
52291
52291
|
table.fireListeners(TABLE_EVENT_TYPE.RESIZE_COLUMN_END, {
|
|
@@ -52703,7 +52703,7 @@
|
|
|
52703
52703
|
});
|
|
52704
52704
|
} else navigator.clipboard.read().then(clipboardItems => {
|
|
52705
52705
|
for (const item of clipboardItems) item.types.includes("text/plain") && item.getType("text/plain").then(blob => {
|
|
52706
|
-
blob.text().then(this._pasteValue);
|
|
52706
|
+
blob.text().then(data => this._pasteValue(data));
|
|
52707
52707
|
});
|
|
52708
52708
|
});
|
|
52709
52709
|
}));
|
|
@@ -55463,7 +55463,7 @@
|
|
|
55463
55463
|
}
|
|
55464
55464
|
constructor(container, options = {}) {
|
|
55465
55465
|
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;
|
|
55466
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.20.
|
|
55466
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.20.3", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), "node" === Env.mode ? (options = container, container = null) : container instanceof HTMLElement || (options = container, container = container.container ? container.container : null), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
|
|
55467
55467
|
this.pluginManager = new PluginManager(this, options), this.fireListeners(TABLE_EVENT_TYPE.BEFORE_INIT, {
|
|
55468
55468
|
options: options,
|
|
55469
55469
|
container: container
|