sccoreui 5.9.99 → 6.0.0
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.
|
@@ -137,7 +137,7 @@ const TableFilter = () => {
|
|
|
137
137
|
setAllFieldsFilled(isAllFieldsFilled && enbleApply);
|
|
138
138
|
}, [conditionsArray, enbleApply]);
|
|
139
139
|
console.log(isOverlayOpened, globalFilters.length, 'toggle property');
|
|
140
|
-
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: `cursor-pointer filter-btn-grid font-semibold sc_icon_hover flex align-items-center gap-2 border-round-lg ${isOverlayOpened ||
|
|
140
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: `cursor-pointer filter-btn-grid font-semibold hover:bg-primary-50 sc_icon_hover flex align-items-center gap-2 border-round-lg ${isOverlayOpened ||
|
|
141
141
|
(globalFilters === null || globalFilters === void 0 ? void 0 : globalFilters.filter((each) => each.isActive).length) >= 1
|
|
142
142
|
? "bg-primary-50"
|
|
143
143
|
: "bg-white"}` }, { children: (0, jsx_runtime_1.jsxs)("span", Object.assign({ onClick: (e) => onClickFilter(e), className: "flex" }, { children: [(0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "filter-lines", size: 18, color: isOverlayOpened ||
|
|
@@ -202,6 +202,7 @@ function ParentForGrid(props) {
|
|
|
202
202
|
const response = yield getData(startRow, endRow, currentFeatures, params === null || params === void 0 ? void 0 : params.request);
|
|
203
203
|
// simulating real server call with a 500ms delay
|
|
204
204
|
if (((_g = response.rowData) === null || _g === void 0 ? void 0 : _g.length) > 0) {
|
|
205
|
+
gridRef.current.api.hideOverlay();
|
|
205
206
|
// supply rows for requested block to grid
|
|
206
207
|
params.success({ rowData: response.rowData, rowCount: response === null || response === void 0 ? void 0 : response.actualEndRow });
|
|
207
208
|
}
|