@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.
- package/cjs/core/BaseTable.js +2 -2
- package/cjs/core/BaseTable.js.map +1 -1
- package/cjs/core/FouseInput.js +1 -1
- package/cjs/core/TABLE_EVENT_TYPE.js +1 -1
- package/cjs/core/style.js +1 -1
- package/cjs/core/tableHelper.js +3 -3
- package/cjs/core/tableHelper.js.map +1 -1
- package/cjs/data/CachedDataSource.js +1 -2
- package/cjs/dataset/flatDataToObject.js +2 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/cjs/layout/pivot-header-layout.js +1 -2
- package/cjs/plugins/themes.js +2 -1
- package/cjs/scenegraph/component/cell-content.js +9 -3
- package/cjs/scenegraph/component/cell-content.js.map +1 -1
- package/cjs/scenegraph/component/custom.js +2 -0
- package/cjs/scenegraph/component/custom.js.map +1 -1
- package/cjs/scenegraph/component/table-component.js +6 -5
- package/cjs/scenegraph/component/table-component.js.map +1 -1
- package/cjs/scenegraph/graphic/contributions/group-contribution-render.js +13 -9
- package/cjs/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -1
- package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js +6 -2
- package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
- package/cjs/scenegraph/layout/update-width.js +34 -16
- package/cjs/scenegraph/layout/update-width.js.map +1 -1
- package/cjs/scenegraph/scenegraph.js +6 -5
- package/cjs/scenegraph/scenegraph.js.map +1 -1
- package/cjs/scenegraph/stick-text/index.d.ts +2 -0
- package/cjs/scenegraph/stick-text/index.js +72 -0
- package/cjs/scenegraph/stick-text/index.js.map +1 -0
- package/cjs/scenegraph/style/frame-border.js +1 -1
- package/cjs/scenegraph/style/frame-border.js.map +1 -1
- package/cjs/scenegraph/utils/text-icon-layout.js +3 -1
- package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -1
- package/cjs/tools/NumberMap.js +1 -2
- package/cjs/tools/env.js +1 -0
- package/cjs/tools/icons.js +1 -1
- package/cjs/tools/isx.js +1 -1
- package/cjs/tools/pixel-ratio.js +1 -1
- package/cjs/tools/sort.js +1 -1
- package/cjs/tools/style.js +1 -1
- package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.d.ts +1 -1
- package/cjs/ts-types/pivot-table/dimension/multilinetext-dimension.js.map +1 -1
- package/dist/vtable.js +202 -99
- package/dist/vtable.min.js +2 -2
- package/es/core/BaseTable.js +2 -2
- package/es/core/BaseTable.js.map +1 -1
- package/es/core/FouseInput.js +1 -1
- package/es/core/TABLE_EVENT_TYPE.js +1 -1
- package/es/core/style.js +1 -1
- package/es/core/tableHelper.js +2 -2
- package/es/core/tableHelper.js.map +1 -1
- package/es/data/CachedDataSource.js +1 -2
- package/es/dataset/flatDataToObject.js +2 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/es/layout/pivot-header-layout.js +1 -2
- package/es/plugins/themes.js +2 -1
- package/es/scenegraph/component/cell-content.js +9 -3
- package/es/scenegraph/component/cell-content.js.map +1 -1
- package/es/scenegraph/component/custom.js +2 -0
- package/es/scenegraph/component/custom.js.map +1 -1
- package/es/scenegraph/component/table-component.js +6 -5
- package/es/scenegraph/component/table-component.js.map +1 -1
- package/es/scenegraph/graphic/contributions/group-contribution-render.js +14 -8
- package/es/scenegraph/graphic/contributions/group-contribution-render.js.map +1 -1
- package/es/scenegraph/group-creater/cell-type/spark-line-cell.js +6 -2
- package/es/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
- package/es/scenegraph/layout/update-width.js +34 -16
- package/es/scenegraph/layout/update-width.js.map +1 -1
- package/es/scenegraph/scenegraph.js +7 -4
- package/es/scenegraph/scenegraph.js.map +1 -1
- package/es/scenegraph/stick-text/index.d.ts +2 -0
- package/es/scenegraph/stick-text/index.js +64 -0
- package/es/scenegraph/stick-text/index.js.map +1 -0
- package/es/scenegraph/style/frame-border.js +1 -1
- package/es/scenegraph/style/frame-border.js.map +1 -1
- package/es/scenegraph/utils/text-icon-layout.js +3 -1
- package/es/scenegraph/utils/text-icon-layout.js.map +1 -1
- package/es/tools/NumberMap.js +1 -2
- package/es/tools/env.js +1 -0
- package/es/tools/icons.js +1 -1
- package/es/tools/isx.js +1 -2
- package/es/tools/pixel-ratio.js +1 -1
- package/es/tools/sort.js +1 -1
- package/es/tools/style.js +1 -1
- package/es/ts-types/pivot-table/dimension/multilinetext-dimension.d.ts +1 -1
- package/es/ts-types/pivot-table/dimension/multilinetext-dimension.js.map +1 -1
- package/package.json +13 -5
package/cjs/core/BaseTable.js
CHANGED
|
@@ -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.
|
|
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
|