@getlupa/client 1.13.0 → 1.13.4

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.
@@ -8545,7 +8545,7 @@ var __async2 = (__this, __arguments, generator) => {
8545
8545
  resetHighlightIndex
8546
8546
  };
8547
8547
  });
8548
- const _hoisted_1$1f = { id: "lupa-search-box-input-container" };
8548
+ const _hoisted_1$1d = { id: "lupa-search-box-input-container" };
8549
8549
  const _hoisted_2$R = { class: "lupa-input-clear" };
8550
8550
  const _hoisted_3$B = { id: "lupa-search-box-input" };
8551
8551
  const _hoisted_4$t = ["value"];
@@ -8642,7 +8642,7 @@ var __async2 = (__this, __arguments, generator) => {
8642
8642
  };
8643
8643
  __expose({ focus });
8644
8644
  return (_ctx, _cache) => {
8645
- return openBlock(), createElementBlock("div", _hoisted_1$1f, [
8645
+ return openBlock(), createElementBlock("div", _hoisted_1$1d, [
8646
8646
  createBaseVNode("div", _hoisted_2$R, [
8647
8647
  createBaseVNode("div", {
8648
8648
  class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
@@ -8720,7 +8720,7 @@ var __async2 = (__this, __arguments, generator) => {
8720
8720
  };
8721
8721
  }
8722
8722
  });
8723
- const _hoisted_1$1e = { class: "lupa-search-box-history-item" };
8723
+ const _hoisted_1$1c = { class: "lupa-search-box-history-item" };
8724
8724
  const _hoisted_2$Q = { class: "lupa-search-box-history-item-content" };
8725
8725
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
8726
8726
  __name: "SearchBoxHistoryItem",
@@ -8738,7 +8738,7 @@ var __async2 = (__this, __arguments, generator) => {
8738
8738
  emit2("click", { query: props.item });
8739
8739
  };
8740
8740
  return (_ctx, _cache) => {
8741
- return openBlock(), createElementBlock("div", _hoisted_1$1e, [
8741
+ return openBlock(), createElementBlock("div", _hoisted_1$1c, [
8742
8742
  createBaseVNode("div", _hoisted_2$Q, [
8743
8743
  createBaseVNode("div", {
8744
8744
  class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
@@ -8753,7 +8753,7 @@ var __async2 = (__this, __arguments, generator) => {
8753
8753
  };
8754
8754
  }
8755
8755
  });
8756
- const _hoisted_1$1d = {
8756
+ const _hoisted_1$1b = {
8757
8757
  key: 0,
8758
8758
  class: "lupa-search-box-history-panel"
8759
8759
  };
@@ -8798,7 +8798,7 @@ var __async2 = (__this, __arguments, generator) => {
8798
8798
  }
8799
8799
  };
8800
8800
  return (_ctx, _cache) => {
8801
- return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
8801
+ return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
8802
8802
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(history), (item, index) => {
8803
8803
  return openBlock(), createBlock(_sfc_main$1l, {
8804
8804
  key: item,
@@ -8816,7 +8816,7 @@ var __async2 = (__this, __arguments, generator) => {
8816
8816
  };
8817
8817
  }
8818
8818
  });
8819
- const _hoisted_1$1c = { class: "lupa-search-box-no-results" };
8819
+ const _hoisted_1$1a = { class: "lupa-search-box-no-results" };
8820
8820
  const _sfc_main$1j = /* @__PURE__ */ defineComponent({
8821
8821
  __name: "SearchBoxNoResults",
8822
8822
  props: {
@@ -8824,11 +8824,11 @@ var __async2 = (__this, __arguments, generator) => {
8824
8824
  },
8825
8825
  setup(__props) {
8826
8826
  return (_ctx, _cache) => {
8827
- return openBlock(), createElementBlock("p", _hoisted_1$1c, toDisplayString(_ctx.labels.noResults), 1);
8827
+ return openBlock(), createElementBlock("p", _hoisted_1$1a, toDisplayString(_ctx.labels.noResults), 1);
8828
8828
  };
8829
8829
  }
8830
8830
  });
8831
- const _hoisted_1$1b = ["innerHTML"];
8831
+ const _hoisted_1$19 = ["innerHTML"];
8832
8832
  const _hoisted_2$P = {
8833
8833
  key: 1,
8834
8834
  "data-cy": "lupa-suggestion-value",
@@ -8883,7 +8883,7 @@ var __async2 = (__this, __arguments, generator) => {
8883
8883
  class: "lupa-suggestion-value",
8884
8884
  "data-cy": "lupa-suggestion-value",
8885
8885
  innerHTML: _ctx.suggestion.displayHighlight
8886
- }, null, 8, _hoisted_1$1b)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(_ctx.suggestion.display), 1)),
8886
+ }, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(_ctx.suggestion.display), 1)),
8887
8887
  _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
8888
8888
  createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
8889
8889
  createBaseVNode("span", _hoisted_5$i, toDisplayString(_ctx.suggestion.facet.title), 1)
@@ -8892,7 +8892,7 @@ var __async2 = (__this, __arguments, generator) => {
8892
8892
  };
8893
8893
  }
8894
8894
  });
8895
- const _hoisted_1$1a = {
8895
+ const _hoisted_1$18 = {
8896
8896
  id: "lupa-search-box-suggestions",
8897
8897
  "data-cy": "lupa-search-box-suggestions"
8898
8898
  };
@@ -8956,7 +8956,7 @@ var __async2 = (__this, __arguments, generator) => {
8956
8956
  });
8957
8957
  });
8958
8958
  return (_ctx, _cache) => {
8959
- return openBlock(), createElementBlock("div", _hoisted_1$1a, [
8959
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [
8960
8960
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
8961
8961
  return openBlock(), createBlock(_sfc_main$1i, {
8962
8962
  key: getSuggestionKey(item),
@@ -9131,7 +9131,7 @@ var __async2 = (__this, __arguments, generator) => {
9131
9131
  targetImage.src = placeholder;
9132
9132
  }
9133
9133
  };
9134
- const _hoisted_1$19 = ["src"];
9134
+ const _hoisted_1$17 = ["src"];
9135
9135
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
9136
9136
  __name: "ProductImage",
9137
9137
  props: {
@@ -9250,7 +9250,7 @@ var __async2 = (__this, __arguments, generator) => {
9250
9250
  }, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
9251
9251
  onError: replaceWithPlaceholder,
9252
9252
  key: finalUrl.value
9253
- }), null, 16, _hoisted_1$19))
9253
+ }), null, 16, _hoisted_1$17))
9254
9254
  ]),
9255
9255
  _: 1
9256
9256
  })
@@ -9275,7 +9275,7 @@ var __async2 = (__this, __arguments, generator) => {
9275
9275
  };
9276
9276
  }
9277
9277
  });
9278
- const _hoisted_1$18 = ["innerHTML"];
9278
+ const _hoisted_1$16 = ["innerHTML"];
9279
9279
  const _hoisted_2$O = {
9280
9280
  key: 1,
9281
9281
  class: "lupa-search-box-product-title"
@@ -9300,13 +9300,13 @@ var __async2 = (__this, __arguments, generator) => {
9300
9300
  key: 0,
9301
9301
  class: "lupa-search-box-product-title",
9302
9302
  innerHTML: title.value
9303
- }, null, 8, _hoisted_1$18)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
9303
+ }, null, 8, _hoisted_1$16)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
9304
9304
  createBaseVNode("strong", null, toDisplayString(title.value), 1)
9305
9305
  ]));
9306
9306
  };
9307
9307
  }
9308
9308
  });
9309
- const _hoisted_1$17 = ["innerHTML"];
9309
+ const _hoisted_1$15 = ["innerHTML"];
9310
9310
  const _hoisted_2$N = {
9311
9311
  key: 1,
9312
9312
  class: "lupa-search-box-product-description"
@@ -9331,11 +9331,11 @@ var __async2 = (__this, __arguments, generator) => {
9331
9331
  key: 0,
9332
9332
  class: "lupa-search-box-product-description",
9333
9333
  innerHTML: description.value
9334
- }, null, 8, _hoisted_1$17)) : (openBlock(), createElementBlock("div", _hoisted_2$N, toDisplayString(description.value), 1));
9334
+ }, null, 8, _hoisted_1$15)) : (openBlock(), createElementBlock("div", _hoisted_2$N, toDisplayString(description.value), 1));
9335
9335
  };
9336
9336
  }
9337
9337
  });
9338
- const _hoisted_1$16 = { class: "lupa-search-box-product-price" };
9338
+ const _hoisted_1$14 = { class: "lupa-search-box-product-price" };
9339
9339
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
9340
9340
  __name: "SearchBoxProductPrice",
9341
9341
  props: {
@@ -9354,13 +9354,12 @@ var __async2 = (__this, __arguments, generator) => {
9354
9354
  );
9355
9355
  });
9356
9356
  return (_ctx, _cache) => {
9357
- return openBlock(), createElementBlock("div", _hoisted_1$16, [
9357
+ return openBlock(), createElementBlock("div", _hoisted_1$14, [
9358
9358
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
9359
9359
  ]);
9360
9360
  };
9361
9361
  }
9362
9362
  });
9363
- const _hoisted_1$15 = { class: "lupa-search-box-product-regular-price" };
9364
9363
  const _sfc_main$1a = /* @__PURE__ */ defineComponent({
9365
9364
  __name: "SearchBoxProductRegularPrice",
9366
9365
  props: {
@@ -9370,6 +9369,9 @@ var __async2 = (__this, __arguments, generator) => {
9370
9369
  },
9371
9370
  setup(__props) {
9372
9371
  const props = __props;
9372
+ const className = computed(() => {
9373
+ return props.options.className;
9374
+ });
9373
9375
  const price = computed(() => {
9374
9376
  var _a, _b;
9375
9377
  return formatPrice(
@@ -9379,11 +9381,13 @@ var __async2 = (__this, __arguments, generator) => {
9379
9381
  );
9380
9382
  });
9381
9383
  return (_ctx, _cache) => {
9382
- return openBlock(), createElementBlock("div", _hoisted_1$15, toDisplayString(price.value), 1);
9384
+ return openBlock(), createElementBlock("div", {
9385
+ class: normalizeClass([className.value, "lupa-search-box-product-regular-price"])
9386
+ }, toDisplayString(price.value), 3);
9383
9387
  };
9384
9388
  }
9385
9389
  });
9386
- const _hoisted_1$14 = ["innerHTML"];
9390
+ const _hoisted_1$13 = ["innerHTML"];
9387
9391
  const _hoisted_2$M = { key: 0 };
9388
9392
  const _hoisted_3$z = { key: 1 };
9389
9393
  const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
@@ -9414,7 +9418,7 @@ var __async2 = (__this, __arguments, generator) => {
9414
9418
  key: 0,
9415
9419
  class: [className.value, "lupa-search-box-product-custom"],
9416
9420
  innerHTML: text.value
9417
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$14)) : (openBlock(), createElementBlock("div", mergeProps({
9421
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$13)) : (openBlock(), createElementBlock("div", mergeProps({
9418
9422
  key: 1,
9419
9423
  class: [className.value, "lupa-search-box-product-custom"]
9420
9424
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
@@ -9426,7 +9430,7 @@ var __async2 = (__this, __arguments, generator) => {
9426
9430
  };
9427
9431
  }
9428
9432
  });
9429
- const _hoisted_1$13 = ["innerHTML"];
9433
+ const _hoisted_1$12 = ["innerHTML"];
9430
9434
  const _sfc_main$18 = /* @__PURE__ */ defineComponent({
9431
9435
  __name: "SearchBoxProductCustomHtml",
9432
9436
  props: {
@@ -9447,7 +9451,7 @@ var __async2 = (__this, __arguments, generator) => {
9447
9451
  return openBlock(), createElementBlock("div", mergeProps({
9448
9452
  class: className.value,
9449
9453
  innerHTML: text.value
9450
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$13);
9454
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$12);
9451
9455
  };
9452
9456
  }
9453
9457
  });
@@ -9675,7 +9679,7 @@ var __async2 = (__this, __arguments, generator) => {
9675
9679
  filterVisibleFilterValues
9676
9680
  };
9677
9681
  });
9678
- const _hoisted_1$12 = { class: "lupa-search-box-add-to-cart-wrapper" };
9682
+ const _hoisted_1$11 = { class: "lupa-search-box-add-to-cart-wrapper" };
9679
9683
  const _hoisted_2$L = { class: "lupa-search-box-product-addtocart" };
9680
9684
  const _hoisted_3$y = ["onClick", "disabled"];
9681
9685
  const _sfc_main$17 = /* @__PURE__ */ defineComponent({
@@ -9705,7 +9709,7 @@ var __async2 = (__this, __arguments, generator) => {
9705
9709
  loading.value = false;
9706
9710
  });
9707
9711
  return (_ctx, _cache) => {
9708
- return openBlock(), createElementBlock("div", _hoisted_1$12, [
9712
+ return openBlock(), createElementBlock("div", _hoisted_1$11, [
9709
9713
  createBaseVNode("div", _hoisted_2$L, [
9710
9714
  createBaseVNode("button", {
9711
9715
  onClick: withModifiers(handleClick, ["stop", "prevent"]),
@@ -9719,7 +9723,7 @@ var __async2 = (__this, __arguments, generator) => {
9719
9723
  };
9720
9724
  }
9721
9725
  });
9722
- const _hoisted_1$11 = {
9726
+ const _hoisted_1$10 = {
9723
9727
  key: 1,
9724
9728
  class: "lupa-search-box-element-badge-wrapper"
9725
9729
  };
@@ -9793,7 +9797,7 @@ var __async2 = (__this, __arguments, generator) => {
9793
9797
  class: normalizeClass({ "lupa-loading-dynamic-data": isLoadingDynamicData((_a = _ctx.item) == null ? void 0 : _a.id) }),
9794
9798
  inStock: _ctx.isInStock
9795
9799
  }, null, 8, ["item", "options", "labels", "class", "inStock"])) : createCommentVNode("", true)
9796
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$11, [
9800
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$10, [
9797
9801
  displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
9798
9802
  key: 0,
9799
9803
  item: enhancedItem.value,
@@ -9807,7 +9811,7 @@ var __async2 = (__this, __arguments, generator) => {
9807
9811
  };
9808
9812
  }
9809
9813
  }));
9810
- const _hoisted_1$10 = { class: "lupa-badge-title" };
9814
+ const _hoisted_1$$ = { class: "lupa-badge-title" };
9811
9815
  const _hoisted_2$K = ["src"];
9812
9816
  const _hoisted_3$x = { key: 1 };
9813
9817
  const _hoisted_4$q = {
@@ -9847,7 +9851,7 @@ var __async2 = (__this, __arguments, generator) => {
9847
9851
  class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
9848
9852
  style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
9849
9853
  }, [
9850
- createBaseVNode("span", _hoisted_1$10, [
9854
+ createBaseVNode("span", _hoisted_1$$, [
9851
9855
  image.value ? (openBlock(), createElementBlock("img", {
9852
9856
  key: 0,
9853
9857
  src: image.value
@@ -9859,7 +9863,7 @@ var __async2 = (__this, __arguments, generator) => {
9859
9863
  };
9860
9864
  }
9861
9865
  });
9862
- const _hoisted_1$$ = { class: "lupa-generated-badges" };
9866
+ const _hoisted_1$_ = { class: "lupa-generated-badges" };
9863
9867
  const _sfc_main$14 = /* @__PURE__ */ defineComponent({
9864
9868
  __name: "SearchResultGeneratedBadges",
9865
9869
  props: {
@@ -9886,7 +9890,7 @@ var __async2 = (__this, __arguments, generator) => {
9886
9890
  })).filter((b) => Boolean(b.id));
9887
9891
  });
9888
9892
  return (_ctx, _cache) => {
9889
- return openBlock(), createElementBlock("div", _hoisted_1$$, [
9893
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
9890
9894
  (openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
9891
9895
  return openBlock(), createBlock(_sfc_main$15, {
9892
9896
  key: badge.id,
@@ -9898,7 +9902,7 @@ var __async2 = (__this, __arguments, generator) => {
9898
9902
  };
9899
9903
  }
9900
9904
  });
9901
- const _hoisted_1$_ = ["innerHTML"];
9905
+ const _hoisted_1$Z = ["innerHTML"];
9902
9906
  const _sfc_main$13 = /* @__PURE__ */ defineComponent({
9903
9907
  __name: "CustomBadge",
9904
9908
  props: {
@@ -9918,11 +9922,11 @@ var __async2 = (__this, __arguments, generator) => {
9918
9922
  return openBlock(), createElementBlock("div", {
9919
9923
  class: normalizeClass(className.value),
9920
9924
  innerHTML: text.value
9921
- }, null, 10, _hoisted_1$_);
9925
+ }, null, 10, _hoisted_1$Z);
9922
9926
  };
9923
9927
  }
9924
9928
  });
9925
- const _hoisted_1$Z = { class: "lupa-text-badges" };
9929
+ const _hoisted_1$Y = { class: "lupa-text-badges" };
9926
9930
  const _sfc_main$12 = /* @__PURE__ */ defineComponent({
9927
9931
  __name: "TextBadge",
9928
9932
  props: {
@@ -9938,7 +9942,7 @@ var __async2 = (__this, __arguments, generator) => {
9938
9942
  return badges.value.slice(0, props.badge.maxItems);
9939
9943
  });
9940
9944
  return (_ctx, _cache) => {
9941
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
9945
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
9942
9946
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
9943
9947
  return openBlock(), createElementBlock("div", {
9944
9948
  class: "lupa-badge lupa-text-badge",
@@ -9949,7 +9953,7 @@ var __async2 = (__this, __arguments, generator) => {
9949
9953
  };
9950
9954
  }
9951
9955
  });
9952
- const _hoisted_1$Y = { class: "lupa-image-badges" };
9956
+ const _hoisted_1$X = { class: "lupa-image-badges" };
9953
9957
  const _hoisted_2$J = ["src"];
9954
9958
  const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9955
9959
  __name: "ImageBadge",
@@ -9971,7 +9975,7 @@ var __async2 = (__this, __arguments, generator) => {
9971
9975
  return `${props.badge.rootImageUrl}${src}`;
9972
9976
  };
9973
9977
  return (_ctx, _cache) => {
9974
- return openBlock(), createElementBlock("div", _hoisted_1$Y, [
9978
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
9975
9979
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
9976
9980
  return openBlock(), createElementBlock("div", {
9977
9981
  class: "lupa-badge lupa-image-badge",
@@ -9986,7 +9990,7 @@ var __async2 = (__this, __arguments, generator) => {
9986
9990
  };
9987
9991
  }
9988
9992
  });
9989
- const _hoisted_1$X = { id: "lupa-search-results-badges" };
9993
+ const _hoisted_1$W = { id: "lupa-search-results-badges" };
9990
9994
  const __default__$3 = {
9991
9995
  components: {
9992
9996
  CustomBadge: _sfc_main$13,
@@ -10050,7 +10054,7 @@ var __async2 = (__this, __arguments, generator) => {
10050
10054
  }
10051
10055
  };
10052
10056
  return (_ctx, _cache) => {
10053
- return openBlock(), createElementBlock("div", _hoisted_1$X, [
10057
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
10054
10058
  createBaseVNode("div", {
10055
10059
  id: "lupa-badges",
10056
10060
  class: normalizeClass(anchorPosition.value)
@@ -10070,7 +10074,7 @@ var __async2 = (__this, __arguments, generator) => {
10070
10074
  };
10071
10075
  }
10072
10076
  }));
10073
- const _hoisted_1$W = ["href"];
10077
+ const _hoisted_1$V = ["href"];
10074
10078
  const _hoisted_2$I = { class: "lupa-search-box-product-image-section" };
10075
10079
  const _hoisted_3$w = { class: "lupa-search-box-product-details-section" };
10076
10080
  const _hoisted_4$p = {
@@ -10182,7 +10186,7 @@ var __async2 = (__this, __arguments, generator) => {
10182
10186
  isInStock: isInStock.value
10183
10187
  }, null, 8, ["item", "element", "labels", "link", "isInStock"])
10184
10188
  ])) : createCommentVNode("", true)
10185
- ], 16, _hoisted_1$W);
10189
+ ], 16, _hoisted_1$V);
10186
10190
  };
10187
10191
  }
10188
10192
  });
@@ -10243,7 +10247,7 @@ var __async2 = (__this, __arguments, generator) => {
10243
10247
  };
10244
10248
  return { trackSearch, trackResults, trackEvent };
10245
10249
  });
10246
- const _hoisted_1$V = { id: "lupa-search-box-products" };
10250
+ const _hoisted_1$U = { id: "lupa-search-box-products" };
10247
10251
  const _sfc_main$_ = /* @__PURE__ */ defineComponent({
10248
10252
  __name: "SearchBoxProducts",
10249
10253
  props: {
@@ -10305,7 +10309,7 @@ var __async2 = (__this, __arguments, generator) => {
10305
10309
  handleRoutingEvent(link, event, boxRoutingBehavior.value === "event");
10306
10310
  };
10307
10311
  return (_ctx, _cache) => {
10308
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
10312
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
10309
10313
  _ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
10310
10314
  return renderSlot(_ctx.$slots, "productCard", {
10311
10315
  key: index,
@@ -10332,7 +10336,7 @@ var __async2 = (__this, __arguments, generator) => {
10332
10336
  };
10333
10337
  }
10334
10338
  });
10335
- const _hoisted_1$U = { class: "lupa-search-box-documents-go-to-results-wrapper" };
10339
+ const _hoisted_1$T = { class: "lupa-search-box-documents-go-to-results-wrapper" };
10336
10340
  const _hoisted_2$H = { key: 0 };
10337
10341
  const _sfc_main$Z = /* @__PURE__ */ defineComponent({
10338
10342
  __name: "SearchBoxProductsGoToResultsButton",
@@ -10364,7 +10368,7 @@ var __async2 = (__this, __arguments, generator) => {
10364
10368
  emit2("goToResults");
10365
10369
  };
10366
10370
  return (_ctx, _cache) => {
10367
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
10371
+ return openBlock(), createElementBlock("div", _hoisted_1$T, [
10368
10372
  createBaseVNode("button", {
10369
10373
  class: "lupa-search-box-documents-go-to-results-button",
10370
10374
  onClick: goToResults
@@ -10553,7 +10557,7 @@ var __async2 = (__this, __arguments, generator) => {
10553
10557
  };
10554
10558
  }
10555
10559
  });
10556
- const _hoisted_1$T = {
10560
+ const _hoisted_1$S = {
10557
10561
  key: 0,
10558
10562
  id: "lupa-search-box-panel"
10559
10563
  };
@@ -10723,7 +10727,7 @@ var __async2 = (__this, __arguments, generator) => {
10723
10727
  ref_key: "panelContainer",
10724
10728
  ref: panelContainer
10725
10729
  }, [
10726
- displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$T, [
10730
+ displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$S, [
10727
10731
  labels.value.closePanel ? (openBlock(), createElementBlock("a", {
10728
10732
  key: 0,
10729
10733
  class: "lupa-search-box-close-panel",
@@ -10806,7 +10810,7 @@ var __async2 = (__this, __arguments, generator) => {
10806
10810
  const elements = getElements(triggers);
10807
10811
  elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
10808
10812
  };
10809
- const _hoisted_1$S = { id: "lupa-search-box" };
10813
+ const _hoisted_1$R = { id: "lupa-search-box" };
10810
10814
  const _hoisted_2$F = { class: "lupa-search-box-wrapper" };
10811
10815
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
10812
10816
  __name: "SearchBox",
@@ -10923,6 +10927,7 @@ var __async2 = (__this, __arguments, generator) => {
10923
10927
  opened.value = true;
10924
10928
  inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
10925
10929
  suggestedValue.value = defaultSuggestedValue;
10930
+ searchBoxStore.resetHighlightIndex();
10926
10931
  trackSearchQuery(value);
10927
10932
  if (props.isSearchContainer) {
10928
10933
  goToResultsDebounced({
@@ -11059,7 +11064,7 @@ var __async2 = (__this, __arguments, generator) => {
11059
11064
  };
11060
11065
  return (_ctx, _cache) => {
11061
11066
  var _a2;
11062
- return openBlock(), createElementBlock("div", _hoisted_1$S, [
11067
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
11063
11068
  createBaseVNode("div", _hoisted_2$F, [
11064
11069
  createVNode(_sfc_main$1n, {
11065
11070
  options: inputOptions.value,
@@ -11161,7 +11166,7 @@ var __async2 = (__this, __arguments, generator) => {
11161
11166
  }
11162
11167
  return searchParams;
11163
11168
  };
11164
- const _hoisted_1$R = {
11169
+ const _hoisted_1$Q = {
11165
11170
  key: 0,
11166
11171
  id: "lupa-search-results-did-you-mean"
11167
11172
  };
@@ -11206,7 +11211,7 @@ var __async2 = (__this, __arguments, generator) => {
11206
11211
  paramStore.goToResults({ searchText, facet });
11207
11212
  };
11208
11213
  return (_ctx, _cache) => {
11209
- return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$R, [
11214
+ return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [
11210
11215
  unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$E, [
11211
11216
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
11212
11217
  return openBlock(), createElementBlock("span", { key: index }, [
@@ -11232,7 +11237,7 @@ var __async2 = (__this, __arguments, generator) => {
11232
11237
  };
11233
11238
  }
11234
11239
  });
11235
- const _hoisted_1$Q = {
11240
+ const _hoisted_1$P = {
11236
11241
  key: 0,
11237
11242
  class: "lupa-search-results-summary"
11238
11243
  };
@@ -11252,7 +11257,7 @@ var __async2 = (__this, __arguments, generator) => {
11252
11257
  return addParamsToLabel(props.label, range, `<span>${totalItems.value}</span>`);
11253
11258
  });
11254
11259
  return (_ctx, _cache) => {
11255
- return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [
11260
+ return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
11256
11261
  createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$D),
11257
11262
  _ctx.clearable ? (openBlock(), createElementBlock("span", {
11258
11263
  key: 0,
@@ -11264,7 +11269,7 @@ var __async2 = (__this, __arguments, generator) => {
11264
11269
  };
11265
11270
  }
11266
11271
  });
11267
- const _hoisted_1$P = {
11272
+ const _hoisted_1$O = {
11268
11273
  key: 0,
11269
11274
  class: "lupa-result-page-title",
11270
11275
  "data-cy": "lupa-result-page-title"
@@ -11315,7 +11320,7 @@ var __async2 = (__this, __arguments, generator) => {
11315
11320
  });
11316
11321
  return (_ctx, _cache) => {
11317
11322
  return openBlock(), createElementBlock("div", null, [
11318
- showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$P, [
11323
+ showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$O, [
11319
11324
  createTextVNode(toDisplayString(_ctx.options.labels.searchResults), 1),
11320
11325
  queryText.value ? (openBlock(), createElementBlock("span", _hoisted_2$C, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
11321
11326
  showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$t, [
@@ -11337,7 +11342,7 @@ var __async2 = (__this, __arguments, generator) => {
11337
11342
  };
11338
11343
  }
11339
11344
  });
11340
- const _hoisted_1$O = { class: "lupa-search-result-filter-value" };
11345
+ const _hoisted_1$N = { class: "lupa-search-result-filter-value" };
11341
11346
  const _hoisted_2$B = {
11342
11347
  class: "lupa-current-filter-label",
11343
11348
  "data-cy": "lupa-current-filter-label"
@@ -11358,7 +11363,7 @@ var __async2 = (__this, __arguments, generator) => {
11358
11363
  emit2("remove", { filter: props.filter });
11359
11364
  };
11360
11365
  return (_ctx, _cache) => {
11361
- return openBlock(), createElementBlock("div", _hoisted_1$O, [
11366
+ return openBlock(), createElementBlock("div", _hoisted_1$N, [
11362
11367
  createBaseVNode("div", {
11363
11368
  class: "lupa-current-filter-action",
11364
11369
  onClick: handleClick
@@ -11369,7 +11374,7 @@ var __async2 = (__this, __arguments, generator) => {
11369
11374
  };
11370
11375
  }
11371
11376
  });
11372
- const _hoisted_1$N = { class: "lupa-filter-title-text" };
11377
+ const _hoisted_1$M = { class: "lupa-filter-title-text" };
11373
11378
  const _hoisted_2$A = {
11374
11379
  key: 0,
11375
11380
  class: "lupa-filter-count"
@@ -11452,7 +11457,7 @@ var __async2 = (__this, __arguments, generator) => {
11452
11457
  class: "lupa-current-filter-title",
11453
11458
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
11454
11459
  }, [
11455
- createBaseVNode("div", _hoisted_1$N, [
11460
+ createBaseVNode("div", _hoisted_1$M, [
11456
11461
  createTextVNode(toDisplayString((_c = (_b = (_a = _ctx.options) == null ? void 0 : _a.labels) == null ? void 0 : _b.title) != null ? _c : "") + " ", 1),
11457
11462
  _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$A, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
11458
11463
  ]),
@@ -11481,7 +11486,7 @@ var __async2 = (__this, __arguments, generator) => {
11481
11486
  };
11482
11487
  }
11483
11488
  });
11484
- const _hoisted_1$M = ["href"];
11489
+ const _hoisted_1$L = ["href"];
11485
11490
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
11486
11491
  __name: "CategoryFilterItem",
11487
11492
  props: {
@@ -11519,12 +11524,12 @@ var __async2 = (__this, __arguments, generator) => {
11519
11524
  "data-cy": "lupa-child-category-item",
11520
11525
  href: urlLink.value,
11521
11526
  onClick: handleNavigation
11522
- }, toDisplayString(title.value), 9, _hoisted_1$M)
11527
+ }, toDisplayString(title.value), 9, _hoisted_1$L)
11523
11528
  ], 2);
11524
11529
  };
11525
11530
  }
11526
11531
  });
11527
- const _hoisted_1$L = {
11532
+ const _hoisted_1$K = {
11528
11533
  class: "lupa-category-filter",
11529
11534
  "data-cy": "lupa-category-filter"
11530
11535
  };
@@ -11618,7 +11623,7 @@ var __async2 = (__this, __arguments, generator) => {
11618
11623
  };
11619
11624
  __expose({ fetch: fetch2 });
11620
11625
  return (_ctx, _cache) => {
11621
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
11626
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
11622
11627
  createBaseVNode("div", _hoisted_2$z, [
11623
11628
  hasBackButton.value ? (openBlock(), createElementBlock("a", {
11624
11629
  key: 0,
@@ -11650,7 +11655,7 @@ var __async2 = (__this, __arguments, generator) => {
11650
11655
  };
11651
11656
  }
11652
11657
  });
11653
- const _hoisted_1$K = {
11658
+ const _hoisted_1$J = {
11654
11659
  class: "lupa-search-result-facet-term-values",
11655
11660
  "data-cy": "lupa-search-result-facet-term-values"
11656
11661
  };
@@ -11737,7 +11742,7 @@ var __async2 = (__this, __arguments, generator) => {
11737
11742
  return selectedItems == null ? void 0 : selectedItems.includes((_b = item.title) == null ? void 0 : _b.toString());
11738
11743
  };
11739
11744
  return (_ctx, _cache) => {
11740
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
11745
+ return openBlock(), createElementBlock("div", _hoisted_1$J, [
11741
11746
  isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
11742
11747
  key: 0,
11743
11748
  class: "lupa-term-filter",
@@ -12755,7 +12760,7 @@ var __async2 = (__this, __arguments, generator) => {
12755
12760
  m.render = function(e2, t, r, i, n, o) {
12756
12761
  return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
12757
12762
  }, m.__file = "src/Slider.vue";
12758
- const _hoisted_1$J = { class: "lupa-search-result-facet-stats-values" };
12763
+ const _hoisted_1$I = { class: "lupa-search-result-facet-stats-values" };
12759
12764
  const _hoisted_2$x = {
12760
12765
  key: 0,
12761
12766
  class: "lupa-stats-facet-summary"
@@ -12956,7 +12961,7 @@ var __async2 = (__this, __arguments, generator) => {
12956
12961
  innerSliderRange.value = value;
12957
12962
  };
12958
12963
  return (_ctx, _cache) => {
12959
- return openBlock(), createElementBlock("div", _hoisted_1$J, [
12964
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
12960
12965
  !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$o, [
12961
12966
  createBaseVNode("div", null, [
12962
12967
  rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_4$i, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
@@ -13023,7 +13028,7 @@ var __async2 = (__this, __arguments, generator) => {
13023
13028
  };
13024
13029
  }
13025
13030
  });
13026
- const _hoisted_1$I = { class: "lupa-term-checkbox-wrapper" };
13031
+ const _hoisted_1$H = { class: "lupa-term-checkbox-wrapper" };
13027
13032
  const _hoisted_2$w = { class: "lupa-term-checkbox-label" };
13028
13033
  const _hoisted_3$n = { class: "lupa-term-label" };
13029
13034
  const _hoisted_4$h = {
@@ -13080,7 +13085,7 @@ var __async2 = (__this, __arguments, generator) => {
13080
13085
  "data-cy": "lupa-facet-term",
13081
13086
  onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
13082
13087
  }, [
13083
- createBaseVNode("div", _hoisted_1$I, [
13088
+ createBaseVNode("div", _hoisted_1$H, [
13084
13089
  createBaseVNode("span", {
13085
13090
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
13086
13091
  }, null, 2)
@@ -13106,7 +13111,7 @@ var __async2 = (__this, __arguments, generator) => {
13106
13111
  };
13107
13112
  }
13108
13113
  });
13109
- const _hoisted_1$H = {
13114
+ const _hoisted_1$G = {
13110
13115
  class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
13111
13116
  "data-cy": "lupa-search-result-facet-term-values"
13112
13117
  };
@@ -13162,7 +13167,7 @@ var __async2 = (__this, __arguments, generator) => {
13162
13167
  showAll.value = true;
13163
13168
  };
13164
13169
  return (_ctx, _cache) => {
13165
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
13170
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
13166
13171
  isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$v, [
13167
13172
  withDirectives(createBaseVNode("input", {
13168
13173
  class: "lupa-term-filter",
@@ -13194,7 +13199,7 @@ var __async2 = (__this, __arguments, generator) => {
13194
13199
  };
13195
13200
  }
13196
13201
  });
13197
- const _hoisted_1$G = { class: "lupa-facet-label-text" };
13202
+ const _hoisted_1$F = { class: "lupa-facet-label-text" };
13198
13203
  const _hoisted_2$u = {
13199
13204
  key: 0,
13200
13205
  class: "lupa-facet-content",
@@ -13319,7 +13324,7 @@ var __async2 = (__this, __arguments, generator) => {
13319
13324
  "data-cy": "lupa-search-result-facet-label",
13320
13325
  onClick: toggleFacet
13321
13326
  }, [
13322
- createBaseVNode("div", _hoisted_1$G, toDisplayString(facet.value.label), 1),
13327
+ createBaseVNode("div", _hoisted_1$F, toDisplayString(facet.value.label), 1),
13323
13328
  createBaseVNode("div", {
13324
13329
  class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
13325
13330
  }, null, 2)
@@ -13342,7 +13347,7 @@ var __async2 = (__this, __arguments, generator) => {
13342
13347
  };
13343
13348
  }
13344
13349
  }));
13345
- const _hoisted_1$F = { class: "lupa-search-result-facet-section" };
13350
+ const _hoisted_1$E = { class: "lupa-search-result-facet-section" };
13346
13351
  const _hoisted_2$t = {
13347
13352
  key: 0,
13348
13353
  class: "lupa-facets-title"
@@ -13381,7 +13386,7 @@ var __async2 = (__this, __arguments, generator) => {
13381
13386
  };
13382
13387
  return (_ctx, _cache) => {
13383
13388
  var _a;
13384
- return openBlock(), createElementBlock("div", _hoisted_1$F, [
13389
+ return openBlock(), createElementBlock("div", _hoisted_1$E, [
13385
13390
  _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$t, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
13386
13391
  createBaseVNode("div", {
13387
13392
  class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a = _ctx.facetStyle) != null ? _a : "")])
@@ -13403,7 +13408,7 @@ var __async2 = (__this, __arguments, generator) => {
13403
13408
  };
13404
13409
  }
13405
13410
  });
13406
- const _hoisted_1$E = ["onClick"];
13411
+ const _hoisted_1$D = ["onClick"];
13407
13412
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
13408
13413
  __name: "FacetsButton",
13409
13414
  props: {
@@ -13424,11 +13429,11 @@ var __async2 = (__this, __arguments, generator) => {
13424
13429
  key: 0,
13425
13430
  class: "lupa-facets-button-filter",
13426
13431
  onClick: withModifiers(handleClick, ["stop"])
13427
- }, toDisplayString(label.value), 9, _hoisted_1$E)) : createCommentVNode("", true);
13432
+ }, toDisplayString(label.value), 9, _hoisted_1$D)) : createCommentVNode("", true);
13428
13433
  };
13429
13434
  }
13430
13435
  });
13431
- const _hoisted_1$D = { class: "lupa-search-result-facets" };
13436
+ const _hoisted_1$C = { class: "lupa-search-result-facets" };
13432
13437
  const _hoisted_2$s = { class: "lupa-facets-filter-button-wrapper" };
13433
13438
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
13434
13439
  __name: "Facets",
@@ -13513,7 +13518,7 @@ var __async2 = (__this, __arguments, generator) => {
13513
13518
  emit2("filter");
13514
13519
  };
13515
13520
  return (_ctx, _cache) => {
13516
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
13521
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
13517
13522
  regularFacets.value ? (openBlock(), createBlock(_sfc_main$I, {
13518
13523
  key: 0,
13519
13524
  options: _ctx.options,
@@ -13535,7 +13540,7 @@ var __async2 = (__this, __arguments, generator) => {
13535
13540
  };
13536
13541
  }
13537
13542
  });
13538
- const _hoisted_1$C = {
13543
+ const _hoisted_1$B = {
13539
13544
  id: "lupa-search-result-filters",
13540
13545
  class: "lupa-search-result-filters"
13541
13546
  };
@@ -13572,7 +13577,7 @@ var __async2 = (__this, __arguments, generator) => {
13572
13577
  __expose({ fetch: fetch2 });
13573
13578
  return (_ctx, _cache) => {
13574
13579
  var _a;
13575
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
13580
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
13576
13581
  showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$Q, {
13577
13582
  key: 0,
13578
13583
  options: _ctx.options.currentFilters,
@@ -13593,7 +13598,7 @@ var __async2 = (__this, __arguments, generator) => {
13593
13598
  };
13594
13599
  }
13595
13600
  });
13596
- const _hoisted_1$B = {
13601
+ const _hoisted_1$A = {
13597
13602
  key: 0,
13598
13603
  class: "lupa-mobile-filter-sidebar"
13599
13604
  };
@@ -13637,7 +13642,7 @@ var __async2 = (__this, __arguments, generator) => {
13637
13642
  handleMobileToggle();
13638
13643
  };
13639
13644
  return (_ctx, _cache) => {
13640
- return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
13645
+ return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
13641
13646
  createBaseVNode("div", {
13642
13647
  class: "lupa-sidebar-close",
13643
13648
  onClick: withModifiers(handleMobileToggle, ["stop"])
@@ -13665,7 +13670,7 @@ var __async2 = (__this, __arguments, generator) => {
13665
13670
  };
13666
13671
  }
13667
13672
  });
13668
- const _hoisted_1$A = { id: "lupa-search-results-breadcrumbs" };
13673
+ const _hoisted_1$z = { id: "lupa-search-results-breadcrumbs" };
13669
13674
  const _hoisted_2$q = ["href", "onClick"];
13670
13675
  const _hoisted_3$k = {
13671
13676
  key: 1,
@@ -13697,7 +13702,7 @@ var __async2 = (__this, __arguments, generator) => {
13697
13702
  handleRoutingEvent(link, event, hasEventRouting.value);
13698
13703
  };
13699
13704
  return (_ctx, _cache) => {
13700
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
13705
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
13701
13706
  (openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
13702
13707
  return openBlock(), createElementBlock("span", {
13703
13708
  class: "lupa-search-results-breadcrumb",
@@ -13719,9 +13724,9 @@ var __async2 = (__this, __arguments, generator) => {
13719
13724
  };
13720
13725
  }
13721
13726
  });
13722
- const _hoisted_1$z = {
13727
+ const _hoisted_1$y = {
13723
13728
  id: "lupa-search-result-filters",
13724
- class: "lupa-search-result-filters"
13729
+ class: "lupa-search-result-filters lupa-search-result-top-filters"
13725
13730
  };
13726
13731
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
13727
13732
  __name: "FiltersTopDropdown",
@@ -13735,7 +13740,7 @@ var __async2 = (__this, __arguments, generator) => {
13735
13740
  };
13736
13741
  return (_ctx, _cache) => {
13737
13742
  var _a;
13738
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
13743
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
13739
13744
  _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$G, {
13740
13745
  key: 0,
13741
13746
  options: _ctx.options.facets,
@@ -13747,7 +13752,7 @@ var __async2 = (__this, __arguments, generator) => {
13747
13752
  };
13748
13753
  }
13749
13754
  });
13750
- const _hoisted_1$y = { id: "lupa-search-results-layout-selection" };
13755
+ const _hoisted_1$x = { id: "lupa-search-results-layout-selection" };
13751
13756
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
13752
13757
  __name: "SearchResultsLayoutSelection",
13753
13758
  setup(__props) {
@@ -13759,7 +13764,7 @@ var __async2 = (__this, __arguments, generator) => {
13759
13764
  searchResultStore.setLayout(layout2);
13760
13765
  };
13761
13766
  return (_ctx, _cache) => {
13762
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
13767
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
13763
13768
  createBaseVNode("div", {
13764
13769
  class: normalizeClass([
13765
13770
  "lupa-layout-selection-grid",
@@ -13781,7 +13786,7 @@ var __async2 = (__this, __arguments, generator) => {
13781
13786
  };
13782
13787
  }
13783
13788
  });
13784
- const _hoisted_1$x = {
13789
+ const _hoisted_1$w = {
13785
13790
  key: 0,
13786
13791
  class: "lupa-mobile-toggle-filter-count"
13787
13792
  };
@@ -13803,12 +13808,12 @@ var __async2 = (__this, __arguments, generator) => {
13803
13808
  onClick: handleMobileToggle
13804
13809
  }, [
13805
13810
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
13806
- _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$x, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
13811
+ _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$w, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
13807
13812
  ], 2);
13808
13813
  };
13809
13814
  }
13810
13815
  });
13811
- const _hoisted_1$w = {
13816
+ const _hoisted_1$v = {
13812
13817
  key: 0,
13813
13818
  id: "lupa-search-results-page-select",
13814
13819
  "data-cy": "lupa-search-results-page-select"
@@ -13899,7 +13904,7 @@ var __async2 = (__this, __arguments, generator) => {
13899
13904
  }
13900
13905
  };
13901
13906
  return (_ctx, _cache) => {
13902
- return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
13907
+ return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
13903
13908
  showBack.value ? (openBlock(), createElementBlock("div", {
13904
13909
  key: 0,
13905
13910
  class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
@@ -13943,7 +13948,7 @@ var __async2 = (__this, __arguments, generator) => {
13943
13948
  };
13944
13949
  }
13945
13950
  });
13946
- const _hoisted_1$v = {
13951
+ const _hoisted_1$u = {
13947
13952
  id: "lupa-search-results-page-size",
13948
13953
  "data-cy": "lupa-search-results-page-size"
13949
13954
  };
@@ -13979,7 +13984,7 @@ var __async2 = (__this, __arguments, generator) => {
13979
13984
  });
13980
13985
  };
13981
13986
  return (_ctx, _cache) => {
13982
- return openBlock(), createElementBlock("div", _hoisted_1$v, [
13987
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
13983
13988
  createBaseVNode("div", _hoisted_2$o, [
13984
13989
  createBaseVNode("label", _hoisted_3$i, toDisplayString(label.value), 1),
13985
13990
  createBaseVNode("select", {
@@ -14002,7 +14007,7 @@ var __async2 = (__this, __arguments, generator) => {
14002
14007
  };
14003
14008
  }
14004
14009
  });
14005
- const _hoisted_1$u = {
14010
+ const _hoisted_1$t = {
14006
14011
  id: "lupa-search-results-sort",
14007
14012
  class: "lupa-search-results-sort"
14008
14013
  };
@@ -14059,7 +14064,7 @@ var __async2 = (__this, __arguments, generator) => {
14059
14064
  previousKey.value = selectedKey.value;
14060
14065
  };
14061
14066
  return (_ctx, _cache) => {
14062
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
14067
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
14063
14068
  createBaseVNode("div", _hoisted_2$n, [
14064
14069
  createBaseVNode("label", _hoisted_3$h, toDisplayString(_ctx.options.label), 1),
14065
14070
  withDirectives(createBaseVNode("select", {
@@ -14084,7 +14089,7 @@ var __async2 = (__this, __arguments, generator) => {
14084
14089
  };
14085
14090
  }
14086
14091
  });
14087
- const _hoisted_1$t = { class: "lupa-toolbar-left" };
14092
+ const _hoisted_1$s = { class: "lupa-toolbar-left" };
14088
14093
  const _hoisted_2$m = {
14089
14094
  key: 0,
14090
14095
  class: "lupa-toolbar-right-title"
@@ -14206,7 +14211,7 @@ var __async2 = (__this, __arguments, generator) => {
14206
14211
  id: "lupa-search-results-toolbar",
14207
14212
  class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
14208
14213
  }, [
14209
- createBaseVNode("div", _hoisted_1$t, [
14214
+ createBaseVNode("div", _hoisted_1$s, [
14210
14215
  toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
14211
14216
  showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$B, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$g)),
14212
14217
  showItemSummary.value ? (openBlock(), createBlock(_sfc_main$T, {
@@ -14260,7 +14265,7 @@ var __async2 = (__this, __arguments, generator) => {
14260
14265
  };
14261
14266
  }
14262
14267
  });
14263
- const _hoisted_1$s = ["innerHTML"];
14268
+ const _hoisted_1$r = ["innerHTML"];
14264
14269
  const _hoisted_2$l = ["title"];
14265
14270
  const _hoisted_3$f = {
14266
14271
  key: 0,
@@ -14300,7 +14305,7 @@ var __async2 = (__this, __arguments, generator) => {
14300
14305
  class: "lupa-search-results-product-title",
14301
14306
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
14302
14307
  innerHTML: title.value
14303
- }, null, 12, _hoisted_1$s)) : (openBlock(), createElementBlock("div", {
14308
+ }, null, 12, _hoisted_1$r)) : (openBlock(), createElementBlock("div", {
14304
14309
  key: 1,
14305
14310
  class: "lupa-search-results-product-title",
14306
14311
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -14317,7 +14322,7 @@ var __async2 = (__this, __arguments, generator) => {
14317
14322
  };
14318
14323
  }
14319
14324
  });
14320
- const _hoisted_1$r = ["innerHTML"];
14325
+ const _hoisted_1$q = ["innerHTML"];
14321
14326
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
14322
14327
  __name: "SearchResultsProductDescription",
14323
14328
  props: {
@@ -14342,7 +14347,7 @@ var __async2 = (__this, __arguments, generator) => {
14342
14347
  class: "lupa-search-results-product-description",
14343
14348
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
14344
14349
  innerHTML: description.value
14345
- }, null, 12, _hoisted_1$r)) : (openBlock(), createElementBlock("div", {
14350
+ }, null, 12, _hoisted_1$q)) : (openBlock(), createElementBlock("div", {
14346
14351
  key: 1,
14347
14352
  class: "lupa-search-results-product-description",
14348
14353
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
@@ -14350,7 +14355,7 @@ var __async2 = (__this, __arguments, generator) => {
14350
14355
  };
14351
14356
  }
14352
14357
  });
14353
- const _hoisted_1$q = { id: "lupa-search-results-rating" };
14358
+ const _hoisted_1$p = { id: "lupa-search-results-rating" };
14354
14359
  const _hoisted_2$k = { class: "lupa-ratings" };
14355
14360
  const _hoisted_3$e = { class: "lupa-ratings-base" };
14356
14361
  const _hoisted_4$9 = ["innerHTML"];
@@ -14389,7 +14394,7 @@ var __async2 = (__this, __arguments, generator) => {
14389
14394
  return generateLink(props.options.links.ratingDetails, props.item);
14390
14395
  });
14391
14396
  return (_ctx, _cache) => {
14392
- return openBlock(), createElementBlock("div", _hoisted_1$q, [
14397
+ return openBlock(), createElementBlock("div", _hoisted_1$p, [
14393
14398
  createBaseVNode("div", _hoisted_2$k, [
14394
14399
  createBaseVNode("div", _hoisted_3$e, [
14395
14400
  (openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
@@ -14423,7 +14428,7 @@ var __async2 = (__this, __arguments, generator) => {
14423
14428
  };
14424
14429
  }
14425
14430
  });
14426
- const _hoisted_1$p = {
14431
+ const _hoisted_1$o = {
14427
14432
  class: "lupa-search-results-product-regular-price",
14428
14433
  "data-cy": "lupa-search-results-product-regular-price"
14429
14434
  };
@@ -14445,14 +14450,10 @@ var __async2 = (__this, __arguments, generator) => {
14445
14450
  );
14446
14451
  });
14447
14452
  return (_ctx, _cache) => {
14448
- return openBlock(), createElementBlock("div", _hoisted_1$p, toDisplayString(price.value), 1);
14453
+ return openBlock(), createElementBlock("div", _hoisted_1$o, toDisplayString(price.value), 1);
14449
14454
  };
14450
14455
  }
14451
14456
  });
14452
- const _hoisted_1$o = {
14453
- class: "lupa-search-results-product-price",
14454
- "data-cy": "lupa-search-results-product-price"
14455
- };
14456
14457
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
14457
14458
  __name: "SearchResultsProductPrice",
14458
14459
  props: {
@@ -14462,6 +14463,9 @@ var __async2 = (__this, __arguments, generator) => {
14462
14463
  },
14463
14464
  setup(__props) {
14464
14465
  const props = __props;
14466
+ const className = computed(() => {
14467
+ return props.options.className;
14468
+ });
14465
14469
  const price = computed(() => {
14466
14470
  var _a, _b;
14467
14471
  return formatPrice(
@@ -14471,9 +14475,12 @@ var __async2 = (__this, __arguments, generator) => {
14471
14475
  );
14472
14476
  });
14473
14477
  return (_ctx, _cache) => {
14474
- return openBlock(), createElementBlock("div", _hoisted_1$o, [
14478
+ return openBlock(), createElementBlock("div", {
14479
+ class: normalizeClass([className.value, "lupa-search-results-product-price"]),
14480
+ "data-cy": "lupa-search-results-product-price"
14481
+ }, [
14475
14482
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
14476
- ]);
14483
+ ], 2);
14477
14484
  };
14478
14485
  }
14479
14486
  });
@@ -29590,7 +29597,8 @@ var __async2 = (__this, __arguments, generator) => {
29590
29597
  styleElement.innerHTML = `
29591
29598
  @import url('${baseStyleLink}');
29592
29599
  @import url('https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css')
29593
- ${(_a = configuration2.customStyles) != null ? _a : ""}`;
29600
+ ${(_a = configuration2.customStyles) != null ? _a : ""}
29601
+ `;
29594
29602
  }
29595
29603
  document.head.appendChild(styleElement);
29596
29604
  });