ywana-core8 0.0.410 → 0.0.411
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.cjs
CHANGED
@@ -5767,11 +5767,20 @@ var TableFilters = function TableFilters(props) {
|
|
5767
5767
|
for (var key in filterSchema) {
|
5768
5768
|
if (filterSchema[key].filter === false) {
|
5769
5769
|
delete filterSchema[key];
|
5770
|
-
} else
|
5771
|
-
|
5770
|
+
} else {
|
5771
|
+
if (filterSchema[key].type === TYPES.ENTITY) {
|
5772
|
+
var fs = filterSchema[key].item;
|
5773
|
+
|
5774
|
+
for (var key in fs) {
|
5775
|
+
if (fs[key].filter === false) delete fs[key];
|
5776
|
+
}
|
5777
|
+
} // TODO: check this
|
5778
|
+
|
5779
|
+
|
5780
|
+
if (filterSchema[key].defValue) {
|
5781
|
+
var _change;
|
5772
5782
|
|
5773
|
-
|
5774
|
-
if (fs[key].filter === false) delete fs[key];
|
5783
|
+
change((_change = {}, _change[key] = defValue, _change));
|
5775
5784
|
}
|
5776
5785
|
}
|
5777
5786
|
} //Object.values(filterSchema).forEach(field => field.section = null)
|