@linzjs/lui 21.22.0 → 21.23.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.
package/dist/lui.esm.js CHANGED
@@ -42307,6 +42307,12 @@ function Skeleton({ count = 1, wrapper: Wrapper, className: customClassName, con
42307
42307
  }
42308
42308
 
42309
42309
  var SKELETON_COUNT = 3;
42310
+ function isGroupedResult(result) {
42311
+ if (result && result.length) {
42312
+ return (result[0].items !== undefined);
42313
+ }
42314
+ return false;
42315
+ }
42310
42316
  var ResultsDisplay = function (_a) {
42311
42317
  var isLoading = _a.isLoading, onClick = _a.onClick, children = _a.children, selectedId = _a.selectedId, selectedRef = _a.selectedRef, setSelectedId = _a.setSelectedId, results = _a.results, renderItem = _a.renderItem;
42312
42318
  var ResultLine = function (result) {
@@ -42338,12 +42344,6 @@ var ResultsDisplay = function (_a) {
42338
42344
  children));
42339
42345
  };
42340
42346
 
42341
- function isGroupedResult(result) {
42342
- if (result && result.length) {
42343
- return result[0].items !== undefined;
42344
- }
42345
- return false;
42346
- }
42347
42347
  function flatten(items) {
42348
42348
  if (isGroupedResult(items)) {
42349
42349
  return items.flatMap(function (item) { return item.items; });