ywana-core8 0.0.413 → 0.0.414
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 +1 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -8
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -8
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentType.js +1 -1
- package/src/domain/TablePage.js +1 -4
package/dist/index.cjs
CHANGED
@@ -1303,7 +1303,7 @@ var ContentType = /*#__PURE__*/function () {
|
|
1303
1303
|
var id = _ref4[0],
|
1304
1304
|
field = _ref4[1];
|
1305
1305
|
form[id] = Object.assign({}, field, {
|
1306
|
-
value: data[id]
|
1306
|
+
value: data[id] || field.defValue
|
1307
1307
|
});
|
1308
1308
|
return form;
|
1309
1309
|
}, {});
|
@@ -5774,13 +5774,6 @@ var TableFilters = function TableFilters(props) {
|
|
5774
5774
|
for (var key in fs) {
|
5775
5775
|
if (fs[key].filter === false) delete fs[key];
|
5776
5776
|
}
|
5777
|
-
} // TODO: check this
|
5778
|
-
|
5779
|
-
|
5780
|
-
if (filterSchema[key].defValue) {
|
5781
|
-
var _change;
|
5782
|
-
|
5783
|
-
change((_change = {}, _change[key] = filterSchema[key].defValue, _change));
|
5784
5777
|
}
|
5785
5778
|
}
|
5786
5779
|
} //Object.values(filterSchema).forEach(field => field.section = null)
|