ywana-core8 0.0.558 → 0.0.559
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 +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +8 -8
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +8 -8
- 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
@@ -1652,7 +1652,13 @@ var DataTableRow = function DataTableRow(props) {
|
|
1652
1652
|
onClick: function onClick(ev) {
|
1653
1653
|
return onSelect(row, ev);
|
1654
1654
|
}
|
1655
|
-
},
|
1655
|
+
}, row.info ? /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement(Icon, {
|
1656
|
+
icon: infoIcon,
|
1657
|
+
clickable: true,
|
1658
|
+
action: function action() {
|
1659
|
+
return toggleInfo(!isInfoOpen);
|
1660
|
+
}
|
1661
|
+
})) : /*#__PURE__*/React.createElement("td", null), columns.map(function (column, cindex) {
|
1656
1662
|
return /*#__PURE__*/React.createElement(DataTableCell, {
|
1657
1663
|
key: column.id + "_" + cindex,
|
1658
1664
|
index: index,
|
@@ -1661,13 +1667,7 @@ var DataTableRow = function DataTableRow(props) {
|
|
1661
1667
|
cell: row[column.id],
|
1662
1668
|
editable: editable
|
1663
1669
|
});
|
1664
|
-
}), row.info ? /*#__PURE__*/React.createElement("
|
1665
|
-
icon: infoIcon,
|
1666
|
-
clickable: true,
|
1667
|
-
action: function action() {
|
1668
|
-
return toggleInfo(!isInfoOpen);
|
1669
|
-
}
|
1670
|
-
})) : /*#__PURE__*/React.createElement("td", null)), row.info && isInfoOpen ? /*#__PURE__*/React.createElement("tr", {
|
1670
|
+
})), row.info && isInfoOpen ? /*#__PURE__*/React.createElement("tr", {
|
1671
1671
|
className: "table-row-info"
|
1672
1672
|
}, /*#__PURE__*/React.createElement("td", {
|
1673
1673
|
colSpan: columns.length + 1
|