This commit is contained in:
Mirco Wittrien 2023-04-09 12:09:07 +02:00
parent 45b4adcf64
commit a1281a93c3
3 changed files with 3 additions and 2 deletions

View File

@ -2433,7 +2433,7 @@ module.exports = (_ => {
if (!n || !n[1]) return;
let funcString = typeof n[1] == "function" ? n[1].toString() : (_ => {try {return JSON.stringify(n[1])}catch(err){return n[1].toString()}})();
let renderFuncString = typeof n[1].render == "function" && n[1].render.toString() || "";
return [dataStorage[item].funcStrings].flat(10).filter(s => s && typeof s == "string").every(string => funcString && funcString.indexOf(string) > -1 || renderFuncString && renderFuncString.indexOf(string) > -1);
return (funcString || renderFuncString) && [dataStorage[item].funcStrings].flat(10).filter(s => s && typeof s == "string").every(string => funcString && funcString.indexOf(string) > -1 || renderFuncString && renderFuncString.indexOf(string) > -1);
}) || [])[1];
if (dataStorage[item].map) {
dataStorage[item]._originalModule = moduleStorage[item];

View File

@ -242,7 +242,7 @@
"PopoutContainer": {"props": ["Animation", "defaultProps"]},
"RadioGroup": {"strings": ["itemInfoClassName", "hasSelection", ".radioItemIconClassName"]},
"SearchBar": {"strings": [").inputRef", ".containerRef", ".handleOnChange"]},
"SearchableSelect": {"strings": ["serialize", "haspopup", ".maxVisibleItems"], "exported": false, "value": "exports", "funcStrings": [".onChange,", ".jsx)", "isSelected:function"]},
"SearchableSelect": {"strings": ["serialize", "haspopup", ".maxVisibleItems"]},
"Slider": {"strings": [".stickToMarkers", "sortedMarkers"]},
"TabBar": {"props": ["Item", "Header", "Panel"]},
"Table": {"props": ["SortDirection", "defaultProps"]},

View File

@ -565,6 +565,7 @@ img:not([src]), img[src=""], img[src="null"] {
[REPLACE_CLASS_selectwrapper] [REPLACE_CLASS_select] {
flex: 1 1 auto;
}
[REPLACE_CLASS_selectwrapper] [REPLACE_CLASS_selectouter],
[REPLACE_CLASS_selectwrapper] [REPLACE_CLASS_selectsearchinput] {
width: 100%;
}