@visactor/vtable 1.17.4-alpha.1 → 1.17.4-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.
Files changed (53) hide show
  1. package/cjs/body-helper/body-helper.js +1 -1
  2. package/cjs/body-helper/style.js +2 -1
  3. package/cjs/core/BaseTable.js +2 -3
  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/index.d.ts +1 -1
  8. package/cjs/index.js +1 -1
  9. package/cjs/index.js.map +1 -1
  10. package/cjs/layout/index.js +2 -1
  11. package/cjs/layout/pivot-header-layout.js +0 -1
  12. package/cjs/plugins/custom-cell-style.js +1 -1
  13. package/cjs/plugins/icons.js +1 -1
  14. package/cjs/scenegraph/graphic/chart.d.ts +2 -2
  15. package/cjs/scenegraph/graphic/chart.js +1 -1
  16. package/cjs/scenegraph/graphic/chart.js.map +1 -1
  17. package/cjs/scenegraph/graphic/contributions/index.js +4 -2
  18. package/cjs/scenegraph/graphic/contributions/index.js.map +1 -1
  19. package/cjs/scenegraph/graphic/contributions/picker-interceptor.d.ts +8 -0
  20. package/cjs/scenegraph/graphic/contributions/picker-interceptor.js +42 -0
  21. package/cjs/scenegraph/graphic/contributions/picker-interceptor.js.map +1 -0
  22. package/cjs/scenegraph/graphic/contributions/vchart-graphic-picker.d.ts +6 -0
  23. package/cjs/scenegraph/graphic/contributions/vchart-graphic-picker.js +31 -0
  24. package/cjs/scenegraph/graphic/contributions/vchart-graphic-picker.js.map +1 -0
  25. package/cjs/vrender.js.map +1 -1
  26. package/dist/vtable.js +26 -3
  27. package/dist/vtable.min.js +1 -1
  28. package/es/body-helper/body-helper.js +1 -1
  29. package/es/body-helper/style.js +2 -1
  30. package/es/core/BaseTable.js +2 -3
  31. package/es/core/BaseTable.js.map +1 -1
  32. package/es/dataset/dataset-pivot-table.js +2 -1
  33. package/es/dataset/flatDataToObject.js +1 -2
  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/pivot-header-layout.js +1 -2
  39. package/es/plugins/custom-cell-style.js +1 -1
  40. package/es/plugins/icons.js +1 -1
  41. package/es/scenegraph/graphic/chart.d.ts +2 -2
  42. package/es/scenegraph/graphic/chart.js +2 -2
  43. package/es/scenegraph/graphic/chart.js.map +1 -1
  44. package/es/scenegraph/graphic/contributions/index.js +5 -2
  45. package/es/scenegraph/graphic/contributions/index.js.map +1 -1
  46. package/es/scenegraph/graphic/contributions/picker-interceptor.d.ts +8 -0
  47. package/es/scenegraph/graphic/contributions/picker-interceptor.js +37 -0
  48. package/es/scenegraph/graphic/contributions/picker-interceptor.js.map +1 -0
  49. package/es/scenegraph/graphic/contributions/vchart-graphic-picker.d.ts +6 -0
  50. package/es/scenegraph/graphic/contributions/vchart-graphic-picker.js +29 -0
  51. package/es/scenegraph/graphic/contributions/vchart-graphic-picker.js.map +1 -0
  52. package/es/vrender.js.map +1 -1
  53. package/package.json +4 -4
@@ -109,4 +109,4 @@ export class BodyHelper {
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
111
  }
112
- //# sourceMappingURL=body-helper.js.map
112
+ //# sourceMappingURL=body-helper.js.map
@@ -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;
93
- if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.1", this.id = `VTable${Date.now()}`,
93
+ if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.2", this.id = `VTable${Date.now()}`,
94
94
  this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200),
95
95
  !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
96
96
  !1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
@@ -1884,5 +1884,4 @@ export class BaseTable extends EventTarget {
1884
1884
  checkHasColumnAutoWidth() {
1885
1885
  return checkHasColumnAutoWidth(this);
1886
1886
  }
1887
- }
1888
- //# sourceMappingURL=BaseTable.js.map
1887
+ }