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.modern.js
CHANGED
@@ -1128,7 +1128,15 @@ var DataTableCell = function DataTableCell(_ref2) {
|
|
1128
1128
|
_onChange = column.onChange,
|
1129
1129
|
options = column.options;
|
1130
1130
|
|
1131
|
-
if (id === "checked")
|
1131
|
+
if (id === "checked") {
|
1132
|
+
return /*#__PURE__*/React.createElement(CheckBox, {
|
1133
|
+
id: id,
|
1134
|
+
value: cell,
|
1135
|
+
onChange: function onChange(id, value) {
|
1136
|
+
return _onChange(row.id, id, value);
|
1137
|
+
}
|
1138
|
+
});
|
1139
|
+
} else if (editable && _onChange) {
|
1132
1140
|
switch (type) {
|
1133
1141
|
case "ICON":
|
1134
1142
|
return /*#__PURE__*/React.createElement(Icon, {
|