@visactor/vtable 1.22.7-alpha.4 → 1.22.7-alpha.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.
Files changed (49) hide show
  1. package/cjs/body-helper/body-helper.js +1 -2
  2. package/cjs/body-helper/style.js +2 -1
  3. package/cjs/core/BaseTable.js +1 -1
  4. package/cjs/core/BaseTable.js.map +1 -1
  5. package/cjs/dataset/dataset-pivot-table.js +2 -1
  6. package/cjs/dataset/flatDataToObject.js +1 -2
  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 +2 -1
  13. package/cjs/layout/simple-header-layout.js +1 -1
  14. package/cjs/layout/tree-helper.js +1 -1
  15. package/cjs/plugins/interface.js +1 -2
  16. package/cjs/plugins/invert-highlight.js +1 -1
  17. package/cjs/plugins/list-tree-stick-cell.js +1 -1
  18. package/cjs/plugins/plugin-manager.js +1 -1
  19. package/cjs/scenegraph/graphic/active-cell-chart-list.js +2 -2
  20. package/cjs/scenegraph/graphic/active-cell-chart-list.js.map +1 -1
  21. package/cjs/scenegraph/graphic/chart.js +1 -1
  22. package/cjs/scenegraph/graphic/chart.js.map +1 -1
  23. package/cjs/vrender.js.map +1 -1
  24. package/dist/vtable.js +20 -15
  25. package/dist/vtable.min.js +1 -1
  26. package/es/body-helper/body-helper.js +1 -2
  27. package/es/body-helper/style.js +2 -1
  28. package/es/core/BaseTable.js +1 -1
  29. package/es/core/BaseTable.js.map +1 -1
  30. package/es/dataset/dataset-pivot-table.js +2 -1
  31. package/es/dataset/flatDataToObject.js +1 -2
  32. package/es/header-helper/header-helper.js +1 -1
  33. package/es/header-helper/style.js +1 -1
  34. package/es/index.d.ts +1 -1
  35. package/es/index.js +1 -1
  36. package/es/index.js.map +1 -1
  37. package/es/layout/index.js +2 -1
  38. package/es/layout/simple-header-layout.js +1 -1
  39. package/es/layout/tree-helper.js +1 -1
  40. package/es/plugins/interface.js +1 -2
  41. package/es/plugins/invert-highlight.js +1 -1
  42. package/es/plugins/list-tree-stick-cell.js +1 -1
  43. package/es/plugins/plugin-manager.js +1 -1
  44. package/es/scenegraph/graphic/active-cell-chart-list.js +2 -2
  45. package/es/scenegraph/graphic/active-cell-chart-list.js.map +1 -1
  46. package/es/scenegraph/graphic/chart.js +1 -1
  47. package/es/scenegraph/graphic/chart.js.map +1 -1
  48. package/es/vrender.js.map +1 -1
  49. package/package.json +9 -9
@@ -108,5 +108,4 @@ export class BodyHelper {
108
108
  var _a, _b;
109
109
  return this.expandIcon.width + (null !== (_a = this.expandIcon.marginLeft) && void 0 !== _a ? _a : 0) + (null !== (_b = this.expandIcon.marginRight) && void 0 !== _b ? _b : 0);
110
110
  }
111
- }
112
- //# sourceMappingURL=body-helper.js.map
111
+ }
@@ -25,4 +25,5 @@ export function of(columnStyle, bodyStyle, styleArg, StyleClassDef = Style, glob
25
25
  return columnStyle || bodyStyle ? columnStyle instanceof Style ? columnStyle : "function" == typeof columnStyle ? of(columnStyle(styleArg), bodyStyle, styleArg, StyleClassDef, globalAutoWrapText, theme) : (columnStyle || (columnStyle = {}),
26
26
  globalAutoWrapText && !isValid(columnStyle.autoWrapText) && (columnStyle.autoWrapText = !0),
27
27
  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 : {}) : StyleClassDef === SwitchStyle ? new SwitchStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_c = theme.switchStyle) && void 0 !== _c ? _c : {}) : StyleClassDef === ButtonStyle ? new ButtonStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_d = theme.buttonStyle) && void 0 !== _d ? _d : {}) : new StyleClassDef(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {})) : StyleClassDef.DEFAULT;
28
- }
28
+ }
29
+ //# sourceMappingURL=style.js.map
@@ -90,7 +90,7 @@ export class BaseTable extends EventTarget {
90
90
  }
91
91
  constructor(container, options = {}) {
92
92
  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;
93
- if (super(), this.showFrozenIcon = !0, this.version = "1.22.7-alpha.4", this.id = `VTable${Date.now()}`,
93
+ if (super(), this.showFrozenIcon = !0, this.version = "1.22.7-alpha.5", this.id = `VTable${Date.now()}`,
94
94
  this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200),
95
95
  "node" === Env.mode ? (options = container, container = null) : container instanceof HTMLElement || (options = container,
96
96
  container = container.container ? container.container : null), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");