ywana-core8 0.0.856 → 0.0.858
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 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +4 -2
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +2 -2
- package/src/domain2/DynamicForm.js +2 -1
- package/src/widgets/image/ImageViewer.css +4 -2
package/dist/index.cjs
CHANGED
@@ -6483,6 +6483,8 @@ var CollectionPage$1 = function CollectionPage(props) {
|
|
6483
6483
|
editorTitle = props.editorTitle,
|
6484
6484
|
editorActions = props.editorActions,
|
6485
6485
|
editValidator = props.editValidator,
|
6486
|
+
_props$grouped = props.grouped,
|
6487
|
+
grouped = _props$grouped === void 0 ? false : _props$grouped,
|
6486
6488
|
listItemRenderer = props.listItemRenderer,
|
6487
6489
|
filters = props.filters,
|
6488
6490
|
footer = props.footer,
|
@@ -6572,6 +6574,7 @@ var CollectionPage$1 = function CollectionPage(props) {
|
|
6572
6574
|
icon: icon,
|
6573
6575
|
schema: schema,
|
6574
6576
|
layout: editor,
|
6577
|
+
grouped: grouped,
|
6575
6578
|
autosave: autosave,
|
6576
6579
|
delay: delay,
|
6577
6580
|
canDelete: canDelete,
|
@@ -10500,10 +10503,11 @@ var DynamicForm = function DynamicForm(props) {
|
|
10500
10503
|
className: "dynamic-form"
|
10501
10504
|
}, fields.map(function (field) {
|
10502
10505
|
var id = field.id;
|
10506
|
+
var value = values[id] || field["default"];
|
10503
10507
|
return /*#__PURE__*/React__default["default"].createElement(DynamicFormField, {
|
10504
10508
|
key: id,
|
10505
10509
|
field: field,
|
10506
|
-
value:
|
10510
|
+
value: value,
|
10507
10511
|
onChange: change
|
10508
10512
|
});
|
10509
10513
|
}));
|