@visactor/vtable 1.26.1 → 1.27.0-alpha.0

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 (41) hide show
  1. package/cjs/body-helper/style.js +2 -1
  2. package/cjs/core/BaseTable.js +2 -3
  3. package/cjs/core/BaseTable.js.map +1 -1
  4. package/cjs/data/CachedDataSource.js +0 -1
  5. package/cjs/dataset/DataStatistics.js +2 -1
  6. package/cjs/event/sparkline-event.js +1 -2
  7. package/cjs/header-helper/style.js +2 -1
  8. package/cjs/plugins/custom-cell-style.js +1 -1
  9. package/cjs/scenegraph/animation/appear.js +5 -3
  10. package/cjs/scenegraph/animation/appear.js.map +1 -1
  11. package/cjs/scenegraph/scenegraph.d.ts +3 -1
  12. package/cjs/scenegraph/scenegraph.js +19 -4
  13. package/cjs/scenegraph/scenegraph.js.map +1 -1
  14. package/cjs/vrender-app.d.ts +14 -0
  15. package/cjs/vrender-app.js +65 -0
  16. package/cjs/vrender-app.js.map +1 -0
  17. package/cjs/vrender.d.ts +18 -1
  18. package/cjs/vrender.js +51 -14
  19. package/cjs/vrender.js.map +1 -1
  20. package/dist/vtable.js +21122 -14424
  21. package/dist/vtable.min.js +1 -1
  22. package/es/body-helper/style.js +2 -1
  23. package/es/core/BaseTable.js +2 -3
  24. package/es/core/BaseTable.js.map +1 -1
  25. package/es/data/CachedDataSource.js +1 -2
  26. package/es/dataset/DataStatistics.js +2 -1
  27. package/es/event/sparkline-event.js +1 -2
  28. package/es/header-helper/style.js +2 -1
  29. package/es/plugins/custom-cell-style.js +1 -1
  30. package/es/scenegraph/animation/appear.js +5 -3
  31. package/es/scenegraph/animation/appear.js.map +1 -1
  32. package/es/scenegraph/scenegraph.d.ts +3 -1
  33. package/es/scenegraph/scenegraph.js +18 -5
  34. package/es/scenegraph/scenegraph.js.map +1 -1
  35. package/es/vrender-app.d.ts +14 -0
  36. package/es/vrender-app.js +63 -0
  37. package/es/vrender-app.js.map +1 -0
  38. package/es/vrender.d.ts +18 -1
  39. package/es/vrender.js +31 -8
  40. package/es/vrender.js.map +1 -1
  41. package/package.json +11 -10
@@ -49,4 +49,5 @@ function of(columnStyle, bodyStyle, styleArg, StyleClassDef = Style_1.Style, glo
49
49
  StyleClassDef === CheckboxStyle_1.CheckboxStyle ? new CheckboxStyle_1.CheckboxStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_a = theme.checkboxStyle) && void 0 !== _a ? _a : {}) : StyleClassDef === RadioStyle_1.RadioStyle ? new RadioStyle_1.RadioStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_b = theme.radioStyle) && void 0 !== _b ? _b : {}) : StyleClassDef === SwitchStyle_1.SwitchStyle ? new SwitchStyle_1.SwitchStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_c = theme.switchStyle) && void 0 !== _c ? _c : {}) : StyleClassDef === ButtonStyle_1.ButtonStyle ? new ButtonStyle_1.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;
50
50
  }
51
51
 
52
- exports.EVENT_TYPE = EVENT_TYPE, exports.of = of;
52
+ exports.EVENT_TYPE = EVENT_TYPE, exports.of = of;
53
+ //# sourceMappingURL=style.js.map
@@ -1006,7 +1006,7 @@ class BaseTable extends EventTarget_1.EventTarget {
1006
1006
  internalProps.layoutMap.release(), internalProps.releaseList && (internalProps.releaseList.forEach((releaseObj => {
1007
1007
  var _a;
1008
1008
  return null === (_a = null == releaseObj ? void 0 : releaseObj.release) || void 0 === _a ? void 0 : _a.call(releaseObj);
1009
- })), internalProps.releaseList = null), this.scenegraph.stage.release(), this.scenegraph.proxy.release();
1009
+ })), internalProps.releaseList = null), this.scenegraph.releaseStage(), this.scenegraph.proxy.release();
1010
1010
  const parentElement = null === (_0 = internalProps.element) || void 0 === _0 ? void 0 : _0.parentElement;
1011
1011
  parentElement && !this.options.canvas && parentElement.removeChild(internalProps.element),
1012
1012
  null === (_3 = null === (_2 = null === (_1 = this.editorManager) || void 0 === _1 ? void 0 : _1.editingEditor) || void 0 === _2 ? void 0 : _2.onEnd) || void 0 === _3 || _3.call(_2),
@@ -2270,5 +2270,4 @@ class BaseTable extends EventTarget_1.EventTarget {
2270
2270
  }
2271
2271
  }
2272
2272
 
2273
- exports.BaseTable = BaseTable;
2274
- //# sourceMappingURL=BaseTable.js.map
2273
+ exports.BaseTable = BaseTable;