ywana-core8 0.0.412 → 0.0.415
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 +4 -2
package/dist/index.modern.js
CHANGED
@@ -1295,7 +1295,7 @@ var ContentType = /*#__PURE__*/function () {
|
|
1295
1295
|
var id = _ref4[0],
|
1296
1296
|
field = _ref4[1];
|
1297
1297
|
form[id] = Object.assign({}, field, {
|
1298
|
-
value: data[id]
|
1298
|
+
value: data[id] || field.defValue
|
1299
1299
|
});
|
1300
1300
|
return form;
|
1301
1301
|
}, {});
|
@@ -5766,13 +5766,6 @@ var TableFilters = function TableFilters(props) {
|
|
5766
5766
|
for (var key in fs) {
|
5767
5767
|
if (fs[key].filter === false) delete fs[key];
|
5768
5768
|
}
|
5769
|
-
} // TODO: check this
|
5770
|
-
|
5771
|
-
|
5772
|
-
if (filterSchema[key].defValue) {
|
5773
|
-
var _change;
|
5774
|
-
|
5775
|
-
change((_change = {}, _change[key] = filterSchema[key].defValue, _change));
|
5776
5769
|
}
|
5777
5770
|
}
|
5778
5771
|
} //Object.values(filterSchema).forEach(field => field.section = null)
|