@plasmicpkgs/plasmic-rich-components 1.0.106 → 1.0.108
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
CHANGED
|
@@ -1321,7 +1321,7 @@ function useSortedFilteredData(data, columns) {
|
|
|
1321
1321
|
const finalData = React__default.default.useMemo(() => {
|
|
1322
1322
|
var _a;
|
|
1323
1323
|
const filtered = (_a = data == null ? void 0 : data.data) == null ? void 0 : _a.filter(
|
|
1324
|
-
(row) => fastStringify__default.default(Object.values(row)).toLowerCase().includes(search)
|
|
1324
|
+
(row) => fastStringify__default.default(Object.values(row)).toLowerCase().includes(search.toLowerCase())
|
|
1325
1325
|
);
|
|
1326
1326
|
const sorted = (sortState == null ? void 0 : sortState.sorter.column) ? (
|
|
1327
1327
|
// We use .sort() rather than sortBy to use localeCompare
|
|
@@ -2512,15 +2512,6 @@ function useRoleDefinitions(data, props) {
|
|
|
2512
2512
|
(f) => f.role && f.role !== "unset" && !props[f.role]
|
|
2513
2513
|
)
|
|
2514
2514
|
];
|
|
2515
|
-
console.log("!!derived", {
|
|
2516
|
-
minimalFullLengthFieldsWithDefaults,
|
|
2517
|
-
minimalFullLengthFields,
|
|
2518
|
-
defaultMinimalFullLengthFields,
|
|
2519
|
-
mergedFieldsWithDefaults,
|
|
2520
|
-
mergedFields,
|
|
2521
|
-
defaultMergedFields,
|
|
2522
|
-
props
|
|
2523
|
-
});
|
|
2524
2515
|
const roleConfigs = ensure(
|
|
2525
2516
|
groupBy__default.default(mergedFieldsWithDefaults, (f) => f.role)
|
|
2526
2517
|
);
|