ywana-core8 0.0.665 → 0.0.666
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 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage2.js +3 -1
package/dist/index.cjs
CHANGED
@@ -7575,7 +7575,8 @@ var TablePage2 = function TablePage2(props) {
|
|
7575
7575
|
editorFilter = _props$editorFilter === void 0 ? false : _props$editorFilter,
|
7576
7576
|
tabbedBy = props.tabbedBy,
|
7577
7577
|
tableClassName = props.tableClassName,
|
7578
|
-
children = props.children
|
7578
|
+
children = props.children,
|
7579
|
+
onSelect = props.onSelect;
|
7579
7580
|
|
7580
7581
|
var _useContext = React.useContext(PageContext),
|
7581
7582
|
pageContext = _useContext[0],
|
@@ -7608,6 +7609,7 @@ var TablePage2 = function TablePage2(props) {
|
|
7608
7609
|
}, []);
|
7609
7610
|
React.useEffect(function () {
|
7610
7611
|
setForm(selected);
|
7612
|
+
if (onSelect) onSelect(selected);
|
7611
7613
|
}, [selected]);
|
7612
7614
|
React.useEffect(function () {
|
7613
7615
|
if (autosave) {
|