@visactor/vtable 1.22.11-alpha.5 → 1.22.11-alpha.6

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 (137) hide show
  1. package/cjs/ListTable.d.ts +7 -34
  2. package/cjs/ListTable.js +14 -134
  3. package/cjs/ListTable.js.map +1 -1
  4. package/cjs/PivotChart.d.ts +3 -0
  5. package/cjs/PivotChart.js +12 -5
  6. package/cjs/PivotChart.js.map +1 -1
  7. package/cjs/body-helper/style.js +2 -1
  8. package/cjs/core/BaseTable.js +1 -1
  9. package/cjs/core/BaseTable.js.map +1 -1
  10. package/cjs/core/FouseInput.js +1 -2
  11. package/cjs/core/TABLE_EVENT_TYPE.d.ts +0 -1
  12. package/cjs/core/TABLE_EVENT_TYPE.js +0 -1
  13. package/cjs/core/TABLE_EVENT_TYPE.js.map +1 -1
  14. package/cjs/core/record-helper.d.ts +2 -4
  15. package/cjs/core/record-helper.js +24 -81
  16. package/cjs/core/record-helper.js.map +1 -1
  17. package/cjs/data/DataSource.d.ts +0 -1
  18. package/cjs/data/DataSource.js +3 -25
  19. package/cjs/data/DataSource.js.map +1 -1
  20. package/cjs/dataset/DataStatistics.js +2 -1
  21. package/cjs/dataset/dataset-pivot-table.js +1 -2
  22. package/cjs/event/event.d.ts +1 -2
  23. package/cjs/event/event.js +9 -20
  24. package/cjs/event/event.js.map +1 -1
  25. package/cjs/event/listener/table-group.js +10 -6
  26. package/cjs/event/listener/table-group.js.map +1 -1
  27. package/cjs/header-helper/style.js +2 -1
  28. package/cjs/index.d.ts +1 -1
  29. package/cjs/index.js +1 -1
  30. package/cjs/index.js.map +1 -1
  31. package/cjs/layout/index.js +1 -2
  32. package/cjs/layout/pivot-header-layout.d.ts +6 -0
  33. package/cjs/layout/pivot-header-layout.js +39 -20
  34. package/cjs/layout/pivot-header-layout.js.map +1 -1
  35. package/cjs/plugins/custom-cell-style.d.ts +0 -5
  36. package/cjs/plugins/custom-cell-style.js +1 -10
  37. package/cjs/plugins/custom-cell-style.js.map +1 -1
  38. package/cjs/scenegraph/graphic/active-cell-chart-list.d.ts +14 -2
  39. package/cjs/scenegraph/graphic/active-cell-chart-list.js +195 -75
  40. package/cjs/scenegraph/graphic/active-cell-chart-list.js.map +1 -1
  41. package/cjs/scenegraph/graphic/chart.d.ts +9 -1
  42. package/cjs/scenegraph/graphic/chart.js +48 -20
  43. package/cjs/scenegraph/graphic/chart.js.map +1 -1
  44. package/cjs/scenegraph/graphic/contributions/chart-render.js +3 -4
  45. package/cjs/scenegraph/graphic/contributions/chart-render.js.map +1 -1
  46. package/cjs/scenegraph/refresh-node/update-chart.d.ts +1 -1
  47. package/cjs/scenegraph/refresh-node/update-chart.js +2 -1
  48. package/cjs/scenegraph/refresh-node/update-chart.js.map +1 -1
  49. package/cjs/scenegraph/scenegraph.d.ts +2 -2
  50. package/cjs/scenegraph/scenegraph.js +41 -12
  51. package/cjs/scenegraph/scenegraph.js.map +1 -1
  52. package/cjs/state/state.js +1 -1
  53. package/cjs/themes/theme-define.js +6 -0
  54. package/cjs/themes/theme-define.js.map +1 -1
  55. package/cjs/tools/util.d.ts +5 -0
  56. package/cjs/tools/util.js +22 -4
  57. package/cjs/tools/util.js.map +1 -1
  58. package/cjs/ts-types/base-table.d.ts +2 -2
  59. package/cjs/ts-types/base-table.js.map +1 -1
  60. package/cjs/ts-types/events.d.ts +0 -15
  61. package/cjs/ts-types/events.js.map +1 -1
  62. package/cjs/ts-types/table-engine.d.ts +13 -32
  63. package/cjs/ts-types/table-engine.js.map +1 -1
  64. package/cjs/vrender.js.map +1 -1
  65. package/dist/vtable.js +585 -559
  66. package/dist/vtable.min.js +2 -2
  67. package/es/ListTable.d.ts +7 -34
  68. package/es/ListTable.js +14 -130
  69. package/es/ListTable.js.map +1 -1
  70. package/es/PivotChart.d.ts +3 -0
  71. package/es/PivotChart.js +13 -4
  72. package/es/PivotChart.js.map +1 -1
  73. package/es/body-helper/style.js +2 -1
  74. package/es/core/BaseTable.js +1 -1
  75. package/es/core/BaseTable.js.map +1 -1
  76. package/es/core/FouseInput.js +1 -2
  77. package/es/core/TABLE_EVENT_TYPE.d.ts +0 -1
  78. package/es/core/TABLE_EVENT_TYPE.js +0 -1
  79. package/es/core/TABLE_EVENT_TYPE.js.map +1 -1
  80. package/es/core/record-helper.d.ts +2 -4
  81. package/es/core/record-helper.js +20 -75
  82. package/es/core/record-helper.js.map +1 -1
  83. package/es/data/DataSource.d.ts +0 -1
  84. package/es/data/DataSource.js +3 -25
  85. package/es/data/DataSource.js.map +1 -1
  86. package/es/dataset/DataStatistics.js +2 -1
  87. package/es/dataset/dataset-pivot-table.js +1 -2
  88. package/es/event/event.d.ts +1 -2
  89. package/es/event/event.js +9 -20
  90. package/es/event/event.js.map +1 -1
  91. package/es/event/listener/table-group.js +9 -6
  92. package/es/event/listener/table-group.js.map +1 -1
  93. package/es/header-helper/style.js +2 -1
  94. package/es/index.d.ts +1 -1
  95. package/es/index.js +1 -1
  96. package/es/index.js.map +1 -1
  97. package/es/layout/index.js +1 -2
  98. package/es/layout/pivot-header-layout.d.ts +6 -0
  99. package/es/layout/pivot-header-layout.js +39 -20
  100. package/es/layout/pivot-header-layout.js.map +1 -1
  101. package/es/plugins/custom-cell-style.d.ts +0 -5
  102. package/es/plugins/custom-cell-style.js +1 -10
  103. package/es/plugins/custom-cell-style.js.map +1 -1
  104. package/es/scenegraph/graphic/active-cell-chart-list.d.ts +14 -2
  105. package/es/scenegraph/graphic/active-cell-chart-list.js +183 -68
  106. package/es/scenegraph/graphic/active-cell-chart-list.js.map +1 -1
  107. package/es/scenegraph/graphic/chart.d.ts +9 -1
  108. package/es/scenegraph/graphic/chart.js +47 -19
  109. package/es/scenegraph/graphic/chart.js.map +1 -1
  110. package/es/scenegraph/graphic/contributions/chart-render.js +3 -4
  111. package/es/scenegraph/graphic/contributions/chart-render.js.map +1 -1
  112. package/es/scenegraph/refresh-node/update-chart.d.ts +1 -1
  113. package/es/scenegraph/refresh-node/update-chart.js +2 -1
  114. package/es/scenegraph/refresh-node/update-chart.js.map +1 -1
  115. package/es/scenegraph/scenegraph.d.ts +2 -2
  116. package/es/scenegraph/scenegraph.js +41 -11
  117. package/es/scenegraph/scenegraph.js.map +1 -1
  118. package/es/state/state.js +1 -1
  119. package/es/themes/theme-define.js +6 -0
  120. package/es/themes/theme-define.js.map +1 -1
  121. package/es/tools/util.d.ts +5 -0
  122. package/es/tools/util.js +18 -0
  123. package/es/tools/util.js.map +1 -1
  124. package/es/ts-types/base-table.d.ts +2 -2
  125. package/es/ts-types/base-table.js.map +1 -1
  126. package/es/ts-types/events.d.ts +0 -15
  127. package/es/ts-types/events.js.map +1 -1
  128. package/es/ts-types/table-engine.d.ts +13 -32
  129. package/es/ts-types/table-engine.js.map +1 -1
  130. package/es/vrender.js.map +1 -1
  131. package/package.json +5 -5
  132. package/cjs/core/index.d.ts +0 -1
  133. package/cjs/core/index.js +0 -30
  134. package/cjs/core/index.js.map +0 -1
  135. package/es/core/index.d.ts +0 -1
  136. package/es/core/index.js +0 -2
  137. package/es/core/index.js.map +0 -1
@@ -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.11-alpha.5", this.id = `VTable${Date.now()}`,
93
+ if (super(), this.showFrozenIcon = !0, this.version = "1.22.11-alpha.6", 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");