mario-core 2.9.204-release → 2.9.206-release
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.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +101 -101
package/dist/index.modern.js
CHANGED
|
@@ -27714,10 +27714,11 @@ var useTableHeader = function useTableHeader(props) {
|
|
|
27714
27714
|
}));
|
|
27715
27715
|
}, [JSON.stringify(popoverFilters)]);
|
|
27716
27716
|
var handleChangeFilters = useCallback(function (value, searchBy) {
|
|
27717
|
-
|
|
27718
|
-
|
|
27719
|
-
|
|
27720
|
-
|
|
27717
|
+
if (!!searchBy) {
|
|
27718
|
+
var _extends2;
|
|
27719
|
+
|
|
27720
|
+
onChangeFilters === null || onChangeFilters === void 0 ? void 0 : onChangeFilters(_extends({}, filters, (_extends2 = {}, _extends2[SearchBy[searchBy]] = value, _extends2)));
|
|
27721
|
+
}
|
|
27721
27722
|
}, [JSON.stringify(filters)]);
|
|
27722
27723
|
useEffect(function () {
|
|
27723
27724
|
popoverFilters.searchBy !== undefined && getData();
|
|
@@ -30412,7 +30413,7 @@ var useCategorySelector = function useCategorySelector() {
|
|
|
30412
30413
|
label: c.name,
|
|
30413
30414
|
value: c.id,
|
|
30414
30415
|
level: 0,
|
|
30415
|
-
isDisabled:
|
|
30416
|
+
isDisabled: false
|
|
30416
30417
|
});
|
|
30417
30418
|
|
|
30418
30419
|
result = result.concat(convertOptions(categories, category, childrenOfCategory));
|
|
@@ -30430,7 +30431,7 @@ var useCategorySelector = function useCategorySelector() {
|
|
|
30430
30431
|
label: c.name,
|
|
30431
30432
|
value: c.id,
|
|
30432
30433
|
level: parent.level ? parent.level + 1 : 1,
|
|
30433
|
-
isDisabled:
|
|
30434
|
+
isDisabled: false
|
|
30434
30435
|
});
|
|
30435
30436
|
|
|
30436
30437
|
result = result.concat(convertOptions(categories, category, childrenOfCategory));
|