e-virt-table 0.1.10 → 0.1.11
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/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Database.js +3 -2
- package/dist/lib/Database.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -790,7 +790,7 @@ class ii {
|
|
|
790
790
|
t.forEach((i, s) => {
|
|
791
791
|
let r = !1;
|
|
792
792
|
Array.isArray(i.children) && (r = !0, this.initData(i.children, e + 1));
|
|
793
|
-
const { ROW_KEY: o = "", DEFAULT_EXPAND_ALL: a, CELL_HEIGHT: l, SELECTABLE_METHOD: c, CHECKBOX_KEY: f } = this.ctx.config, d = i[o], x = d
|
|
793
|
+
const { ROW_KEY: o = "", DEFAULT_EXPAND_ALL: a, CELL_HEIGHT: l, SELECTABLE_METHOD: c, CHECKBOX_KEY: f } = this.ctx.config, d = i[o], x = d != null ? `${d}` : Ut();
|
|
794
794
|
this.itemRowKeyMap.set(i, x);
|
|
795
795
|
const u = i._height || l, g = i._readonly;
|
|
796
796
|
let w = !0;
|
|
@@ -1124,7 +1124,7 @@ class ii {
|
|
|
1124
1124
|
* @returns
|
|
1125
1125
|
*/
|
|
1126
1126
|
getRowDataItemForRowKey(t) {
|
|
1127
|
-
if (!this.rowKeyMap.has(t))
|
|
1127
|
+
if (console.log(typeof t), !this.rowKeyMap.has(t))
|
|
1128
1128
|
return {};
|
|
1129
1129
|
const { item: e } = this.rowKeyMap.get(t);
|
|
1130
1130
|
return e;
|
|
@@ -1262,7 +1262,7 @@ class ii {
|
|
|
1262
1262
|
rowKey: r,
|
|
1263
1263
|
colKey: o,
|
|
1264
1264
|
originalValue: s,
|
|
1265
|
-
row: this.
|
|
1265
|
+
row: this.ctx.database.getRowDataItemForRowKey(r),
|
|
1266
1266
|
value: e
|
|
1267
1267
|
});
|
|
1268
1268
|
}), t;
|