ywana-core8 0.0.213 → 0.0.214
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +3 -3
package/dist/index.umd.js
CHANGED
@@ -1335,9 +1335,10 @@
|
|
1335
1335
|
var id = _ref.id,
|
1336
1336
|
label = _ref.label,
|
1337
1337
|
type = _ref.type,
|
1338
|
+
item = _ref.item,
|
1338
1339
|
sortable = _ref.sortable;
|
1339
1340
|
|
1340
|
-
var _ref2 = type === TYPES.ENTITY ? [1,
|
1341
|
+
var _ref2 = type === TYPES.ENTITY ? [1, Object.keys(item).length] : [2, 1],
|
1341
1342
|
rowspan = _ref2[0],
|
1342
1343
|
colspan = _ref2[1];
|
1343
1344
|
|
@@ -1363,7 +1364,7 @@
|
|
1363
1364
|
var item = column.item;
|
1364
1365
|
var fields = item ? Object.values(item) : [];
|
1365
1366
|
return fields.filter(function (field) {
|
1366
|
-
return
|
1367
|
+
return field.column === true;
|
1367
1368
|
}).map(function (field) {
|
1368
1369
|
return /*#__PURE__*/React__default["default"].createElement("th", null, field.label);
|
1369
1370
|
});
|