ywana-core8 0.0.940 → 0.0.941
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 +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +3 -2
package/dist/index.umd.js
CHANGED
@@ -7459,6 +7459,9 @@
|
|
7459
7459
|
onReload: reloadSelection,
|
7460
7460
|
patch: patch,
|
7461
7461
|
onChange: onChange,
|
7462
|
+
onClose: function onClose() {
|
7463
|
+
return onSelect(null);
|
7464
|
+
},
|
7462
7465
|
actions: editorActions,
|
7463
7466
|
title: editorTitle,
|
7464
7467
|
validator: editValidator
|
@@ -7819,6 +7822,7 @@
|
|
7819
7822
|
canDelete = props.canDelete,
|
7820
7823
|
onReload = props.onReload,
|
7821
7824
|
onChange = props.onChange,
|
7825
|
+
onClose = props.onClose,
|
7822
7826
|
_props$patch2 = props.patch,
|
7823
7827
|
patch = _props$patch2 === void 0 ? false : _props$patch2,
|
7824
7828
|
actions = props.actions,
|
@@ -7841,6 +7845,7 @@
|
|
7841
7845
|
function clear() {
|
7842
7846
|
pageContext.clear();
|
7843
7847
|
setPageContext(Object.assign({}, pageContext));
|
7848
|
+
if (onClose) onClose();
|
7844
7849
|
}
|
7845
7850
|
function change(next) {
|
7846
7851
|
setForm(next);
|