@coveo/headless 3.29.1-pre.0ccf634146 → 3.29.1-pre.0e3cf541ab

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.
@@ -800,7 +800,7 @@ var import_bueno5 = require("@coveo/bueno");
800
800
  var import_toolkit7 = require("@reduxjs/toolkit");
801
801
 
802
802
  // src/utils/version.ts
803
- var VERSION = "3.29.1-pre.0ccf634146";
803
+ var VERSION = "3.29.1-pre.0e3cf541ab";
804
804
  var COVEO_FRAMEWORK = ["@coveo/atomic", "@coveo/quantic"];
805
805
 
806
806
  // src/features/configuration/configuration-actions.ts
@@ -1149,7 +1149,7 @@ var import_bueno6 = require("@coveo/bueno");
1149
1149
  var import_toolkit4 = require("@reduxjs/toolkit");
1150
1150
 
1151
1151
  // src/utils/version.ts
1152
- var VERSION = "3.29.1-pre.0ccf634146";
1152
+ var VERSION = "3.29.1-pre.0e3cf541ab";
1153
1153
  var COVEO_FRAMEWORK = ["@coveo/atomic", "@coveo/quantic"];
1154
1154
 
1155
1155
  // src/features/configuration/configuration-actions.ts
@@ -15928,14 +15928,14 @@ function buildCategoryFacet(engine, options) {
15928
15928
  isForFieldSuggestions: false
15929
15929
  });
15930
15930
  const getRequest = () => facetRequestSelector(engine[stateKey], facetId2);
15931
- const findDeepestSelectedChildren = (values) => {
15931
+ const findSelectedValueChildren = (values) => {
15932
15932
  const selectedValue = values.find((value) => value.state === "selected");
15933
15933
  if (selectedValue) {
15934
15934
  return selectedValue.children;
15935
15935
  }
15936
15936
  for (const value of values) {
15937
15937
  if (value.children.length > 0) {
15938
- const result = findDeepestSelectedChildren(value.children);
15938
+ const result = findSelectedValueChildren(value.children);
15939
15939
  if (result !== value.children) {
15940
15940
  return result;
15941
15941
  }
@@ -15950,7 +15950,7 @@ function buildCategoryFacet(engine, options) {
15950
15950
  toggleSelect,
15951
15951
  showMoreValues() {
15952
15952
  const { initialNumberOfValues, values, numberOfValues: numberOfValues2 } = getRequest();
15953
- const currentLevelValues = findDeepestSelectedChildren(values);
15953
+ const currentLevelValues = findSelectedValueChildren(values);
15954
15954
  if (!initialNumberOfValues && !numberOfValues2) {
15955
15955
  return;
15956
15956
  }