ywana-core8 0.0.664 → 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 +7 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +7 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +7 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage2.js +3 -1
- package/src/incubator/wizard.js +2 -2
package/dist/index.modern.js
CHANGED
@@ -7567,7 +7567,8 @@ var TablePage2 = function TablePage2(props) {
|
|
7567
7567
|
editorFilter = _props$editorFilter === void 0 ? false : _props$editorFilter,
|
7568
7568
|
tabbedBy = props.tabbedBy,
|
7569
7569
|
tableClassName = props.tableClassName,
|
7570
|
-
children = props.children
|
7570
|
+
children = props.children,
|
7571
|
+
onSelect = props.onSelect;
|
7571
7572
|
|
7572
7573
|
var _useContext = useContext(PageContext),
|
7573
7574
|
pageContext = _useContext[0],
|
@@ -7600,6 +7601,7 @@ var TablePage2 = function TablePage2(props) {
|
|
7600
7601
|
}, []);
|
7601
7602
|
useEffect(function () {
|
7602
7603
|
setForm(selected);
|
7604
|
+
if (onSelect) onSelect(selected);
|
7603
7605
|
}, [selected]);
|
7604
7606
|
useEffect(function () {
|
7605
7607
|
if (autosave) {
|
@@ -9670,7 +9672,7 @@ var Wizard = function Wizard(props) {
|
|
9670
9672
|
current = _useState2$ === void 0 ? 0 : _useState2$,
|
9671
9673
|
setCurrent = _useState2[1];
|
9672
9674
|
|
9673
|
-
var _useState3 = useState(
|
9675
|
+
var _useState3 = useState(false),
|
9674
9676
|
valid = _useState3[0],
|
9675
9677
|
setValid = _useState3[1];
|
9676
9678
|
|
@@ -9690,13 +9692,14 @@ var Wizard = function Wizard(props) {
|
|
9690
9692
|
onChange: validate
|
9691
9693
|
});
|
9692
9694
|
var nextButton = current < steps.length - 1 ? /*#__PURE__*/React.createElement(Button, {
|
9693
|
-
label: "
|
9695
|
+
label: "Siguiente",
|
9694
9696
|
action: next,
|
9695
9697
|
raised: true,
|
9696
9698
|
disabled: !valid
|
9697
9699
|
}) : /*#__PURE__*/React.createElement(Button, {
|
9698
9700
|
label: "Finish",
|
9699
|
-
action: finish
|
9701
|
+
action: finish,
|
9702
|
+
disabled: !valid
|
9700
9703
|
});
|
9701
9704
|
var prevButton = current > 0 ? /*#__PURE__*/React.createElement(Button, {
|
9702
9705
|
label: "Atr\xE1s",
|