@visactor/vtable 0.9.1-alpha.2 → 0.9.1-alpha.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 (91) hide show
  1. package/cjs/core/BaseTable.js +2 -2
  2. package/cjs/core/BaseTable.js.map +1 -1
  3. package/cjs/core/FouseInput.js +1 -1
  4. package/cjs/core/TABLE_EVENT_TYPE.js +1 -1
  5. package/cjs/core/style.js +1 -1
  6. package/cjs/core/tableHelper.js +3 -3
  7. package/cjs/core/tableHelper.js.map +1 -1
  8. package/cjs/data/CachedDataSource.js +1 -2
  9. package/cjs/dataset/flatDataToObject.js +2 -1
  10. package/cjs/index.d.ts +1 -1
  11. package/cjs/index.js +1 -1
  12. package/cjs/index.js.map +1 -1
  13. package/cjs/layout/pivot-header-layout.js +1 -2
  14. package/cjs/plugins/themes.js +2 -1
  15. package/cjs/scenegraph/component/cell-content.js +9 -3
  16. package/cjs/scenegraph/component/cell-content.js.map +1 -1
  17. package/cjs/scenegraph/component/custom.js +2 -0
  18. package/cjs/scenegraph/component/custom.js.map +1 -1
  19. package/cjs/scenegraph/component/table-component.js +6 -5
  20. package/cjs/scenegraph/component/table-component.js.map +1 -1
  21. package/cjs/scenegraph/graphic/contributions/group-contribution-render.js +13 -9
  22. package/cjs/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -1
  23. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js +6 -2
  24. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  25. package/cjs/scenegraph/layout/update-width.js +34 -16
  26. package/cjs/scenegraph/layout/update-width.js.map +1 -1
  27. package/cjs/scenegraph/scenegraph.js +6 -5
  28. package/cjs/scenegraph/scenegraph.js.map +1 -1
  29. package/cjs/scenegraph/stick-text/index.d.ts +2 -0
  30. package/cjs/scenegraph/stick-text/index.js +72 -0
  31. package/cjs/scenegraph/stick-text/index.js.map +1 -0
  32. package/cjs/scenegraph/style/frame-border.js +1 -1
  33. package/cjs/scenegraph/style/frame-border.js.map +1 -1
  34. package/cjs/scenegraph/utils/text-icon-layout.js +3 -1
  35. package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -1
  36. package/cjs/tools/NumberMap.js +1 -2
  37. package/cjs/tools/env.js +1 -0
  38. package/cjs/tools/icons.js +1 -1
  39. package/cjs/tools/isx.js +1 -1
  40. package/cjs/tools/pixel-ratio.js +1 -1
  41. package/cjs/tools/sort.js +1 -1
  42. package/cjs/tools/style.js +1 -1
  43. package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.d.ts +1 -1
  44. package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.js.map +1 -1
  45. package/dist/vtable.js +202 -99
  46. package/dist/vtable.min.js +2 -2
  47. package/es/core/BaseTable.js +2 -2
  48. package/es/core/BaseTable.js.map +1 -1
  49. package/es/core/FouseInput.js +1 -1
  50. package/es/core/TABLE_EVENT_TYPE.js +1 -1
  51. package/es/core/style.js +1 -1
  52. package/es/core/tableHelper.js +2 -2
  53. package/es/core/tableHelper.js.map +1 -1
  54. package/es/data/CachedDataSource.js +1 -2
  55. package/es/dataset/flatDataToObject.js +2 -1
  56. package/es/index.d.ts +1 -1
  57. package/es/index.js +1 -1
  58. package/es/index.js.map +1 -1
  59. package/es/layout/pivot-header-layout.js +1 -2
  60. package/es/plugins/themes.js +2 -1
  61. package/es/scenegraph/component/cell-content.js +9 -3
  62. package/es/scenegraph/component/cell-content.js.map +1 -1
  63. package/es/scenegraph/component/custom.js +2 -0
  64. package/es/scenegraph/component/custom.js.map +1 -1
  65. package/es/scenegraph/component/table-component.js +6 -5
  66. package/es/scenegraph/component/table-component.js.map +1 -1
  67. package/es/scenegraph/graphic/contributions/group-contribution-render.js +14 -8
  68. package/es/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -1
  69. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js +6 -2
  70. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  71. package/es/scenegraph/layout/update-width.js +34 -16
  72. package/es/scenegraph/layout/update-width.js.map +1 -1
  73. package/es/scenegraph/scenegraph.js +7 -4
  74. package/es/scenegraph/scenegraph.js.map +1 -1
  75. package/es/scenegraph/stick-text/index.d.ts +2 -0
  76. package/es/scenegraph/stick-text/index.js +64 -0
  77. package/es/scenegraph/stick-text/index.js.map +1 -0
  78. package/es/scenegraph/style/frame-border.js +1 -1
  79. package/es/scenegraph/style/frame-border.js.map +1 -1
  80. package/es/scenegraph/utils/text-icon-layout.js +3 -1
  81. package/es/scenegraph/utils/text-icon-layout.js.map +1 -1
  82. package/es/tools/NumberMap.js +1 -2
  83. package/es/tools/env.js +1 -0
  84. package/es/tools/icons.js +1 -1
  85. package/es/tools/isx.js +1 -2
  86. package/es/tools/pixel-ratio.js +1 -1
  87. package/es/tools/sort.js +1 -1
  88. package/es/tools/style.js +1 -1
  89. package/es/ts-types/pivot-table/dimension/multilinetext-dimension.d.ts +1 -1
  90. package/es/ts-types/pivot-table/dimension/multilinetext-dimension.js.map +1 -1
  91. package/package.json +13 -5
@@ -43,7 +43,7 @@ class BaseTable extends EventTarget_1.EventTarget {
43
43
  }
44
44
  constructor(options = {}) {
45
45
  var _a, _b, _c, _d, _e, _f, _g, _h;
46
- super(), this.showPin = !0, this.showSort = !0, this.version = "0.9.1-alpha.2",
46
+ super(), this.showPin = !0, this.showSort = !0, this.version = "0.9.1-alpha.3",
47
47
  this.id = `VTable${Date.now()}`, this.throttleInvalidate = (0, util_1.throttle2)(this.invalidate.bind(this), 200);
48
48
  const {frozenColCount: frozenColCount = 0, defaultRowHeight: defaultRowHeight = 40, defaultHeaderRowHeight: defaultHeaderRowHeight, defaultColWidth: defaultColWidth = 80, defaultHeaderColWidth: defaultHeaderColWidth, widthMode: widthMode = "standard", keyboardOptions: keyboardOptions, parentElement: parentElement, columnResizeMode: columnResizeMode, dragHeaderMode: dragHeaderMode, showPin: showPin, allowFrozenColCount: allowFrozenColCount, padding: padding, hover: hover, menu: menu, select: click, customRender: customRender, pixelRatio: pixelRatio = pixel_ratio_1.defaultPixelRatio} = options;
49
49
  this.options = options, this._widthMode = widthMode, this.customRender = customRender,
@@ -1273,4 +1273,4 @@ class BaseTable extends EventTarget_1.EventTarget {
1273
1273
  }
1274
1274
 
1275
1275
  exports.BaseTable = BaseTable;
1276
- //# sourceMappingURL=BaseTable.js.map
1276
+ //# sourceMappingURL=BaseTable.js.map