ywana-core8 0.0.693 → 0.0.695
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +9 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +9 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +1 -1
- package/src/site/dialog.js +2 -1
package/dist/index.umd.js
CHANGED
@@ -3955,9 +3955,12 @@
|
|
3955
3955
|
toolbar = props.toolbar,
|
3956
3956
|
children = props.children,
|
3957
3957
|
actions = props.actions,
|
3958
|
-
className = props.className
|
3958
|
+
className = props.className,
|
3959
|
+
onClose = props.onClose;
|
3959
3960
|
|
3960
3961
|
function close() {
|
3962
|
+
if (onClose) onClose();
|
3963
|
+
|
3961
3964
|
if (className === "prompt") {
|
3962
3965
|
site.closePromptDialog();
|
3963
3966
|
} else {
|
@@ -6286,7 +6289,6 @@
|
|
6286
6289
|
setForm = _useState5[1];
|
6287
6290
|
|
6288
6291
|
React.useEffect(function () {
|
6289
|
-
console.log(selected);
|
6290
6292
|
setForm(selected);
|
6291
6293
|
}, [selected]);
|
6292
6294
|
React.useEffect(function () {
|
@@ -6371,7 +6373,11 @@
|
|
6371
6373
|
}, /*#__PURE__*/React__default["default"].createElement(Menu, null, canDelete ? /*#__PURE__*/React__default["default"].createElement(MenuItem, {
|
6372
6374
|
label: "Eliminar",
|
6373
6375
|
onSelect: remove
|
6374
|
-
}) : null)),
|
6376
|
+
}) : null)), /*#__PURE__*/React__default["default"].createElement(Icon, {
|
6377
|
+
icon: "refresh",
|
6378
|
+
clickable: true,
|
6379
|
+
action: onReload
|
6380
|
+
}), autosave === true ? null : /*#__PURE__*/React__default["default"].createElement(Button, {
|
6375
6381
|
icon: "save",
|
6376
6382
|
label: "Guardar Cambios",
|
6377
6383
|
raised: true,
|