ywana-core8 0.0.410 → 0.0.413
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 +13 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +13 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +13 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/TablePage.js +11 -4
- package/src/html/table.test.js +0 -1
package/dist/index.modern.js
CHANGED
@@ -5759,11 +5759,20 @@ var TableFilters = function TableFilters(props) {
|
|
5759
5759
|
for (var key in filterSchema) {
|
5760
5760
|
if (filterSchema[key].filter === false) {
|
5761
5761
|
delete filterSchema[key];
|
5762
|
-
} else
|
5763
|
-
|
5762
|
+
} else {
|
5763
|
+
if (filterSchema[key].type === TYPES.ENTITY) {
|
5764
|
+
var fs = filterSchema[key].item;
|
5765
|
+
|
5766
|
+
for (var key in fs) {
|
5767
|
+
if (fs[key].filter === false) delete fs[key];
|
5768
|
+
}
|
5769
|
+
} // TODO: check this
|
5770
|
+
|
5771
|
+
|
5772
|
+
if (filterSchema[key].defValue) {
|
5773
|
+
var _change;
|
5764
5774
|
|
5765
|
-
|
5766
|
-
if (fs[key].filter === false) delete fs[key];
|
5775
|
+
change((_change = {}, _change[key] = filterSchema[key].defValue, _change));
|
5767
5776
|
}
|
5768
5777
|
}
|
5769
5778
|
} //Object.values(filterSchema).forEach(field => field.section = null)
|