k-vtable 1.0.5 → 1.0.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.
- package/cjs/body-helper/style.js +1 -2
- package/cjs/core/BaseTable.js +3 -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/animation.js +1 -1
- package/cjs/core/factory.js +1 -1
- package/cjs/core/group-helper.js +1 -1
- package/cjs/core/record-helper.js +1 -1
- package/cjs/core/row-series-number-helper.js +1 -1
- package/cjs/core/style-helper.js +1 -1
- package/cjs/core/style.js +1 -1
- package/cjs/core/tableHelper.js +1 -1
- package/cjs/data/DataSource.js +2 -3
- package/cjs/data/DataSource.js.map +1 -1
- package/cjs/dataset/flatDataToObject.js +2 -1
- package/cjs/event/helper.js +1 -2
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/cjs/layout/index.js +1 -1
- package/cjs/layout/layout-helper.js +1 -1
- package/cjs/layout/pivot-header-layout.js +1 -1
- package/cjs/layout/pivot-layout.js +0 -2
- package/cjs/layout/row-height-map.js +1 -1
- package/cjs/layout/simple-header-layout.js +1 -2
- package/cjs/layout/tree-helper.js +1 -1
- package/cjs/plugins/interface.js +2 -1
- package/cjs/scenegraph/debug-tool/debug-tool.js +2 -1
- package/cjs/scenegraph/debug-tool/debug-tool.js.map +1 -1
- package/cjs/scenegraph/layout/frozen-react.js +13 -8
- package/cjs/scenegraph/layout/frozen-react.js.map +1 -1
- package/cjs/state/select/update-position.js +2 -5
- package/cjs/state/select/update-position.js.map +1 -1
- package/cjs/state/state.js +1 -1
- package/cjs/themes/ARCO.js +1 -1
- package/cjs/themes/BRIGHT.js +1 -1
- package/cjs/themes/DARK.js +1 -1
- package/cjs/themes/DEFAULT.js +1 -1
- package/cjs/themes/SIMPLIFY.js +1 -1
- package/cjs/ts-types/base-table.d.ts +2 -0
- package/cjs/ts-types/base-table.js.map +1 -1
- package/cjs/vrender.js.map +1 -1
- package/dist/vtable.js +14 -7
- package/dist/vtable.min.js +2 -2
- package/es/body-helper/style.js +1 -2
- package/es/core/BaseTable.js +3 -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/animation.js +1 -1
- package/es/core/factory.js +1 -1
- package/es/core/group-helper.js +1 -1
- package/es/core/record-helper.js +1 -1
- package/es/core/row-series-number-helper.js +1 -1
- package/es/core/style-helper.js +1 -1
- package/es/core/style.js +1 -1
- package/es/core/tableHelper.js +1 -1
- package/es/data/DataSource.js +2 -3
- package/es/data/DataSource.js.map +1 -1
- package/es/dataset/flatDataToObject.js +2 -1
- package/es/event/helper.js +1 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/es/layout/index.js +1 -1
- package/es/layout/layout-helper.js +1 -1
- package/es/layout/pivot-header-layout.js +1 -1
- package/es/layout/pivot-layout.js +0 -2
- package/es/layout/row-height-map.js +1 -1
- package/es/layout/simple-header-layout.js +1 -2
- package/es/layout/tree-helper.js +1 -1
- package/es/plugins/interface.js +2 -1
- package/es/scenegraph/debug-tool/debug-tool.js +2 -1
- package/es/scenegraph/debug-tool/debug-tool.js.map +1 -1
- package/es/scenegraph/layout/frozen-react.js +13 -8
- package/es/scenegraph/layout/frozen-react.js.map +1 -1
- package/es/state/select/update-position.js +2 -5
- package/es/state/select/update-position.js.map +1 -1
- package/es/state/state.js +1 -1
- package/es/themes/ARCO.js +1 -1
- package/es/themes/BRIGHT.js +1 -1
- package/es/themes/DARK.js +1 -1
- package/es/themes/DEFAULT.js +1 -1
- package/es/themes/SIMPLIFY.js +1 -1
- package/es/ts-types/base-table.d.ts +2 -0
- package/es/ts-types/base-table.js.map +1 -1
- package/es/vrender.js.map +1 -1
- package/package.json +1 -1
package/cjs/body-helper/style.js
CHANGED
|
@@ -49,5 +49,4 @@ 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;
|
|
53
|
-
//# sourceMappingURL=style.js.map
|
|
52
|
+
exports.EVENT_TYPE = EVENT_TYPE, exports.of = of;
|
package/cjs/core/BaseTable.js
CHANGED
|
@@ -43,7 +43,7 @@ class BaseTable extends EventTarget_1.EventTarget {
|
|
|
43
43
|
}
|
|
44
44
|
constructor(container, options = {}) {
|
|
45
45
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
46
|
-
if (super(), this.showFrozenIcon = !0, this.version = "1.0.
|
|
46
|
+
if (super(), this.showFrozenIcon = !0, this.version = "1.0.6", this.id = `VTable${Date.now()}`,
|
|
47
47
|
this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = (0, util_1.throttle2)(this.render.bind(this), 200),
|
|
48
48
|
"node" === env_1.Env.mode ? (options = container, container = null) : container instanceof HTMLElement || (options = container,
|
|
49
49
|
container = container.container ? container.container : null), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
|
|
@@ -1957,4 +1957,5 @@ class BaseTable extends EventTarget_1.EventTarget {
|
|
|
1957
1957
|
}
|
|
1958
1958
|
}
|
|
1959
1959
|
|
|
1960
|
-
exports.BaseTable = BaseTable;
|
|
1960
|
+
exports.BaseTable = BaseTable;
|
|
1961
|
+
//# sourceMappingURL=BaseTable.js.map
|