akeyless-client-commons 1.0.221 → 1.0.223
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/components/index.js
CHANGED
|
@@ -1723,10 +1723,11 @@ var TableProvider = function(props) {
|
|
|
1723
1723
|
return str.toLowerCase().trim();
|
|
1724
1724
|
};
|
|
1725
1725
|
var normalizedSearchQuery = cleanString(debouncedSearchQuery);
|
|
1726
|
+
var keys = allKeys.filter(function(val) {
|
|
1727
|
+
return !(noneSearchKeys === null || noneSearchKeys === void 0 ? void 0 : noneSearchKeys.includes(val));
|
|
1728
|
+
});
|
|
1726
1729
|
filtered = data.filter(function(item) {
|
|
1727
|
-
return allKeys.
|
|
1728
|
-
return !noneSearchKeys.includes(val);
|
|
1729
|
-
}).some(function(key) {
|
|
1730
|
+
return allKeys.some(function(key) {
|
|
1730
1731
|
return cleanString(String(item[key])).includes(normalizedSearchQuery);
|
|
1731
1732
|
});
|
|
1732
1733
|
});
|
|
@@ -5082,7 +5083,7 @@ var Filter = (0, import_react11.memo)(function(param) {
|
|
|
5082
5083
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", {
|
|
5083
5084
|
className: "overflow-auto h-[80%] flex flex-col gap-1 w-full cursor-pointer ",
|
|
5084
5085
|
children: (_filterOptions_filterableColumn_dataKey = filterOptions[filterableColumn.dataKey]) === null || _filterOptions_filterableColumn_dataKey === void 0 ? void 0 : _filterOptions_filterableColumn_dataKey.sort(function(a, b) {
|
|
5085
|
-
return
|
|
5086
|
+
return a.localeCompare(b);
|
|
5086
5087
|
}).map(function(option, i) {
|
|
5087
5088
|
var _filters_filterableColumn_dataKey;
|
|
5088
5089
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", {
|
|
@@ -1507,10 +1507,11 @@ var TableProvider = function(props) {
|
|
|
1507
1507
|
return str.toLowerCase().trim();
|
|
1508
1508
|
};
|
|
1509
1509
|
var normalizedSearchQuery = cleanString(debouncedSearchQuery);
|
|
1510
|
+
var keys = allKeys.filter(function(val) {
|
|
1511
|
+
return !(noneSearchKeys === null || noneSearchKeys === void 0 ? void 0 : noneSearchKeys.includes(val));
|
|
1512
|
+
});
|
|
1510
1513
|
filtered = data.filter(function(item) {
|
|
1511
|
-
return allKeys.
|
|
1512
|
-
return !noneSearchKeys.includes(val);
|
|
1513
|
-
}).some(function(key) {
|
|
1514
|
+
return allKeys.some(function(key) {
|
|
1514
1515
|
return cleanString(String(item[key])).includes(normalizedSearchQuery);
|
|
1515
1516
|
});
|
|
1516
1517
|
});
|
|
@@ -4866,7 +4867,7 @@ var Filter = memo(function(param) {
|
|
|
4866
4867
|
/* @__PURE__ */ jsx17("div", {
|
|
4867
4868
|
className: "overflow-auto h-[80%] flex flex-col gap-1 w-full cursor-pointer ",
|
|
4868
4869
|
children: (_filterOptions_filterableColumn_dataKey = filterOptions[filterableColumn.dataKey]) === null || _filterOptions_filterableColumn_dataKey === void 0 ? void 0 : _filterOptions_filterableColumn_dataKey.sort(function(a, b) {
|
|
4869
|
-
return
|
|
4870
|
+
return a.localeCompare(b);
|
|
4870
4871
|
}).map(function(option, i) {
|
|
4871
4872
|
var _filters_filterableColumn_dataKey;
|
|
4872
4873
|
return /* @__PURE__ */ jsxs12("div", {
|