ywana-core8 0.0.96 → 0.0.97
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 +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +9 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +9 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +1 -1
package/dist/index.cjs
CHANGED
@@ -1135,7 +1135,15 @@ var DataTableCell = function DataTableCell(_ref2) {
|
|
1135
1135
|
_onChange = column.onChange,
|
1136
1136
|
options = column.options;
|
1137
1137
|
|
1138
|
-
if (id === "checked")
|
1138
|
+
if (id === "checked") {
|
1139
|
+
return /*#__PURE__*/React__default["default"].createElement(CheckBox, {
|
1140
|
+
id: id,
|
1141
|
+
value: cell,
|
1142
|
+
onChange: function onChange(id, value) {
|
1143
|
+
return _onChange(row.id, id, value);
|
1144
|
+
}
|
1145
|
+
});
|
1146
|
+
} else if (editable && _onChange) {
|
1139
1147
|
switch (type) {
|
1140
1148
|
case "ICON":
|
1141
1149
|
return /*#__PURE__*/React__default["default"].createElement(Icon, {
|