@visactor/vtable 1.10.2 → 1.10.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.
Files changed (45) hide show
  1. package/cjs/body-helper/style.js +1 -2
  2. package/cjs/core/BaseTable.js +1 -1
  3. package/cjs/core/BaseTable.js.map +1 -1
  4. package/cjs/core/FouseInput.js +2 -1
  5. package/cjs/dataset/dataset-pivot-table.js +1 -2
  6. package/cjs/edit/edit-manager.js +2 -1
  7. package/cjs/header-helper/header-helper.js +1 -1
  8. package/cjs/header-helper/style.js +1 -1
  9. package/cjs/index.d.ts +1 -1
  10. package/cjs/index.js +1 -1
  11. package/cjs/index.js.map +1 -1
  12. package/cjs/layout/index.js +1 -2
  13. package/cjs/layout/simple-header-layout.js +1 -1
  14. package/cjs/layout/tree-helper.js +2 -2
  15. package/cjs/plugins/custom-cell-style.js +1 -1
  16. package/cjs/plugins/icons.js +2 -1
  17. package/cjs/plugins/list-tree-stick-cell.js +1 -1
  18. package/cjs/plugins/themes.js +1 -1
  19. package/cjs/ts-types/table-engine.d.ts +1 -1
  20. package/cjs/ts-types/table-engine.js.map +1 -1
  21. package/cjs/vrender.js.map +1 -1
  22. package/dist/vtable.js +2 -2
  23. package/dist/vtable.min.js +1 -1
  24. package/es/body-helper/style.js +1 -2
  25. package/es/core/BaseTable.js +1 -1
  26. package/es/core/BaseTable.js.map +1 -1
  27. package/es/core/FouseInput.js +2 -1
  28. package/es/dataset/dataset-pivot-table.js +1 -2
  29. package/es/edit/edit-manager.js +2 -1
  30. package/es/header-helper/header-helper.js +1 -1
  31. package/es/header-helper/style.js +1 -1
  32. package/es/index.d.ts +1 -1
  33. package/es/index.js +1 -1
  34. package/es/index.js.map +1 -1
  35. package/es/layout/index.js +1 -2
  36. package/es/layout/simple-header-layout.js +1 -1
  37. package/es/layout/tree-helper.js +1 -1
  38. package/es/plugins/custom-cell-style.js +1 -1
  39. package/es/plugins/icons.js +2 -1
  40. package/es/plugins/list-tree-stick-cell.js +1 -1
  41. package/es/plugins/themes.js +1 -1
  42. package/es/ts-types/table-engine.d.ts +1 -1
  43. package/es/ts-types/table-engine.js.map +1 -1
  44. package/es/vrender.js.map +1 -1
  45. package/package.json +4 -4
@@ -21,5 +21,4 @@ export function of(columnStyle, bodyStyle, styleArg, StyleClassDef = Style, glob
21
21
  return columnStyle || bodyStyle ? columnStyle instanceof Style ? columnStyle : "function" == typeof columnStyle ? of(columnStyle(styleArg), bodyStyle, styleArg, StyleClassDef, globalAutoWrapText, theme) : (columnStyle || (columnStyle = {}),
22
22
  globalAutoWrapText && !isValid(columnStyle.autoWrapText) && (columnStyle.autoWrapText = !0),
23
23
  StyleClassDef === CheckboxStyle ? new CheckboxStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_a = theme.checkboxStyle) && void 0 !== _a ? _a : {}) : StyleClassDef === RadioStyle ? new RadioStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_b = theme.radioStyle) && void 0 !== _b ? _b : {}) : new StyleClassDef(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {})) : StyleClassDef.DEFAULT;
24
- }
25
- //# sourceMappingURL=style.js.map
24
+ }
@@ -84,7 +84,7 @@ export class BaseTable extends EventTarget {
84
84
  }
85
85
  constructor(container, options = {}) {
86
86
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
87
- if (super(), this.showFrozenIcon = !0, this.version = "1.10.2", this.id = `VTable${Date.now()}`,
87
+ if (super(), this.showFrozenIcon = !0, this.version = "1.10.3", this.id = `VTable${Date.now()}`,
88
88
  this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200),
89
89
  !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
90
90
  const {frozenColCount: frozenColCount = 0, frozenRowCount: frozenRowCount, defaultRowHeight: defaultRowHeight = 40, defaultHeaderRowHeight: defaultHeaderRowHeight, defaultColWidth: defaultColWidth = 80, defaultHeaderColWidth: defaultHeaderColWidth, widthMode: widthMode = "standard", heightMode: heightMode = "standard", autoFillWidth: autoFillWidth = !1, autoFillHeight: autoFillHeight = !1, widthAdaptiveMode: widthAdaptiveMode = "only-body", heightAdaptiveMode: heightAdaptiveMode = "only-body", keyboardOptions: keyboardOptions, eventOptions: eventOptions, rowSeriesNumber: rowSeriesNumber, columnResizeMode: columnResizeMode, rowResizeMode: rowResizeMode = "none", dragHeaderMode: dragHeaderMode, showFrozenIcon: showFrozenIcon, allowFrozenColCount: allowFrozenColCount, padding: padding, hover: hover, menu: menu, select: click, customRender: customRender, pixelRatio: pixelRatio = defaultPixelRatio, renderChartAsync: renderChartAsync, renderChartAsyncBatchCount: renderChartAsyncBatchCount, mode: mode, modeParams: modeParams, canvasWidth: canvasWidth, canvasHeight: canvasHeight, overscrollBehavior: overscrollBehavior, limitMinWidth: limitMinWidth, limitMinHeight: limitMinHeight, clearDOM: clearDOM = !0} = options;