@megha-ui/react 1.3.137 → 1.3.139
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.
|
@@ -1138,17 +1138,6 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1138
1138
|
freezeColumnsAvailable ||
|
|
1139
1139
|
filterDetails.filtersUpdated ||
|
|
1140
1140
|
hasCustomOperation;
|
|
1141
|
-
console.log({
|
|
1142
|
-
shouldShowHeaderActionsSpacer,
|
|
1143
|
-
isSummarise,
|
|
1144
|
-
showHideAvailable,
|
|
1145
|
-
exportAvailable,
|
|
1146
|
-
isHideDupsAvailable,
|
|
1147
|
-
fullScreen,
|
|
1148
|
-
freezeColumnsAvailable,
|
|
1149
|
-
filterDetails,
|
|
1150
|
-
hasCustomOperation,
|
|
1151
|
-
});
|
|
1152
1141
|
useEffect(() => {
|
|
1153
1142
|
if (showHideAvailable ||
|
|
1154
1143
|
exportAvailable ||
|
|
@@ -476,6 +476,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
476
476
|
background: ((_r = headerColumns.find((column) => column.key === _groupBy)) === null || _r === void 0 ? void 0 : _r.search)
|
|
477
477
|
? "var(--background)"
|
|
478
478
|
: "var(--disabled-bg)",
|
|
479
|
+
flex: 1,
|
|
479
480
|
}, value: ((_t = searchQueries[((_s = headerColumns.find((column) => column.key === _groupBy)) === null || _s === void 0 ? void 0 : _s.key) || ""]) === null || _t === void 0 ? void 0 : _t.text) || "", disabled: !((_u = headerColumns.find((column) => column.key === _groupBy)) === null || _u === void 0 ? void 0 : _u.search), height: 32, extraInputStyle: { minWidth: 10 }, className: "w-full", backgroundColor: "#fff" }), _jsx(Dropdown, { options: searchOptions.filter((item) => {
|
|
480
481
|
var _a, _b, _c;
|
|
481
482
|
return ((_a = headerColumns.find((column) => column.key === _groupBy)) === null || _a === void 0 ? void 0 : _a.dataType) === "number" ||
|
|
@@ -592,6 +593,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
592
593
|
background: ((_24 = headerColumns.find((column) => column.key === _groupBy)) === null || _24 === void 0 ? void 0 : _24.search)
|
|
593
594
|
? "var(--background)"
|
|
594
595
|
: "var(--disabled-bg)",
|
|
596
|
+
flex: 1,
|
|
595
597
|
}, value: ((_26 = searchQueries[((_25 = headerColumns.find((column) => column.key === _groupBy)) === null || _25 === void 0 ? void 0 : _25.key) || ""]) === null || _26 === void 0 ? void 0 : _26.text) || "", disabled: !((_27 = headerColumns.find((column) => column.key === _groupBy)) === null || _27 === void 0 ? void 0 : _27.search), height: 32, extraInputStyle: { minWidth: 10 }, className: "w-full", backgroundColor: "#fff" }), _jsx(Dropdown, { options: searchOptions.filter((item) => {
|
|
596
598
|
var _a, _b, _c;
|
|
597
599
|
return ((_a = headerColumns.find((column) => column.key === _groupBy)) === null || _a === void 0 ? void 0 : _a.dataType) === "number" ||
|
|
@@ -708,6 +710,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
708
710
|
background: ((_57 = headerColumns.find((column) => column.key === _groupBy)) === null || _57 === void 0 ? void 0 : _57.search)
|
|
709
711
|
? "var(--background)"
|
|
710
712
|
: "var(--disabled-bg)",
|
|
713
|
+
flex: 1,
|
|
711
714
|
}, value: ((_59 = searchQueries[((_58 = headerColumns.find((column) => column.key === _groupBy)) === null || _58 === void 0 ? void 0 : _58.key) || ""]) === null || _59 === void 0 ? void 0 : _59.text) || "", disabled: !((_60 = headerColumns.find((column) => column.key === _groupBy)) === null || _60 === void 0 ? void 0 : _60.search), height: 32, extraInputStyle: { minWidth: 10 }, className: "w-full", backgroundColor: "#fff" }), _jsx(Dropdown, { options: searchOptions.filter((item) => {
|
|
712
715
|
var _a, _b, _c;
|
|
713
716
|
return ((_a = headerColumns.find((column) => column.key === _groupBy)) === null || _a === void 0 ? void 0 : _a.dataType) === "number" ||
|
|
@@ -1010,6 +1013,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
1010
1013
|
background: column.search
|
|
1011
1014
|
? "var(--background)"
|
|
1012
1015
|
: "var(--disabled-bg)",
|
|
1016
|
+
flex: 1,
|
|
1013
1017
|
}, value: ((_p = searchQueries[column.key]) === null || _p === void 0 ? void 0 : _p.text) || "", disabled: !column.search, height: 32, extraInputStyle: { minWidth: 10 }, className: "w-full", backgroundColor: "#fff" }), _jsx(Dropdown, { options: searchOptions.filter((item) => column.dataType === "number" ||
|
|
1014
1018
|
column.dataType === "currency"
|
|
1015
1019
|
? numberTypeSearch.includes(item.value)
|
package/package.json
CHANGED