@getlupa/client 1.14.0 → 1.14.3

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.
@@ -8562,10 +8562,10 @@ var __async = (__this, __arguments, generator) => {
8562
8562
  const _hoisted_2$S = { class: "lupa-input-clear" };
8563
8563
  const _hoisted_3$B = { id: "lupa-search-box-input" };
8564
8564
  const _hoisted_4$t = ["value"];
8565
- const _hoisted_5$j = ["aria-label", "placeholder"];
8566
- const _hoisted_6$9 = /* @__PURE__ */ createBaseVNode("span", { class: "lupa-search-submit-icon" }, null, -1);
8565
+ const _hoisted_5$k = ["aria-label", "placeholder"];
8566
+ const _hoisted_6$a = /* @__PURE__ */ createBaseVNode("span", { class: "lupa-search-submit-icon" }, null, -1);
8567
8567
  const _hoisted_7$7 = [
8568
- _hoisted_6$9
8568
+ _hoisted_6$a
8569
8569
  ];
8570
8570
  const _hoisted_8$3 = {
8571
8571
  key: 0,
@@ -8682,7 +8682,7 @@ var __async = (__this, __arguments, generator) => {
8682
8682
  placeholder: labels.value.placeholder,
8683
8683
  onInput: handleInput,
8684
8684
  onFocus: handleFocus
8685
- }), null, 16, _hoisted_5$j), [
8685
+ }), null, 16, _hoisted_5$k), [
8686
8686
  [vModelText, inputValue.value]
8687
8687
  ]),
8688
8688
  _ctx.options.showSubmitButton ? (openBlock(), createElementBlock("button", {
@@ -8856,7 +8856,7 @@ var __async = (__this, __arguments, generator) => {
8856
8856
  class: "lupa-suggestion-facet-label",
8857
8857
  "data-cy": "lupa-suggestion-facet-label"
8858
8858
  };
8859
- const _hoisted_5$i = {
8859
+ const _hoisted_5$j = {
8860
8860
  class: "lupa-suggestion-facet-value",
8861
8861
  "data-cy": "lupa-suggestion-facet-value"
8862
8862
  };
@@ -8899,7 +8899,7 @@ var __async = (__this, __arguments, generator) => {
8899
8899
  }, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(_ctx.suggestion.display), 1)),
8900
8900
  _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
8901
8901
  createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
8902
- createBaseVNode("span", _hoisted_5$i, toDisplayString(_ctx.suggestion.facet.title), 1)
8902
+ createBaseVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
8903
8903
  ])) : createCommentVNode("", true)
8904
8904
  ]);
8905
8905
  };
@@ -18388,7 +18388,7 @@ and ensure you are accounting for this risk.
18388
18388
  const _hoisted_2$M = { key: 0 };
18389
18389
  const _hoisted_3$z = { key: 1 };
18390
18390
  const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
18391
- const _hoisted_5$h = { class: "lupa-search-box-custom-text" };
18391
+ const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
18392
18392
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
18393
18393
  __name: "SearchBoxProductCustom",
18394
18394
  props: {
@@ -18421,7 +18421,7 @@ and ensure you are accounting for this risk.
18421
18421
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
18422
18422
  !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$M, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$z, [
18423
18423
  createBaseVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
18424
- createBaseVNode("div", _hoisted_5$h, toDisplayString(text.value), 1)
18424
+ createBaseVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
18425
18425
  ]))
18426
18426
  ], 16));
18427
18427
  };
@@ -19593,7 +19593,7 @@ and ensure you are accounting for this risk.
19593
19593
  key: 1,
19594
19594
  class: "lupa-panel-title"
19595
19595
  };
19596
- const _hoisted_5$g = {
19596
+ const _hoisted_5$h = {
19597
19597
  key: 1,
19598
19598
  id: "lupa-search-box-panel"
19599
19599
  };
@@ -19807,7 +19807,7 @@ and ensure you are accounting for this risk.
19807
19807
  showTotalCount: (_a = _ctx.options.showTotalCount) != null ? _a : false,
19808
19808
  onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
19809
19809
  }, null, 8, ["labels", "showTotalCount"])) : createCommentVNode("", true)
19810
- ])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
19810
+ ])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$h, [
19811
19811
  createVNode(_sfc_main$1k, {
19812
19812
  options: _ctx.options.history,
19813
19813
  history: history.value,
@@ -20303,7 +20303,7 @@ and ensure you are accounting for this risk.
20303
20303
  class: "lupa-results-total-count"
20304
20304
  };
20305
20305
  const _hoisted_4$m = { class: "lupa-results-total-count-number" };
20306
- const _hoisted_5$f = ["innerHTML"];
20306
+ const _hoisted_5$g = ["innerHTML"];
20307
20307
  const _sfc_main$S = /* @__PURE__ */ defineComponent({
20308
20308
  __name: "SearchResultsTitle",
20309
20309
  props: {
@@ -20360,7 +20360,7 @@ and ensure you are accounting for this risk.
20360
20360
  key: 2,
20361
20361
  class: "lupa-result-page-description-top",
20362
20362
  innerHTML: descriptionTop.value
20363
- }, null, 8, _hoisted_5$f)) : createCommentVNode("", true)
20363
+ }, null, 8, _hoisted_5$g)) : createCommentVNode("", true)
20364
20364
  ]);
20365
20365
  };
20366
20366
  }
@@ -20559,7 +20559,7 @@ and ensure you are accounting for this risk.
20559
20559
  const _hoisted_2$z = { class: "lupa-category-back" };
20560
20560
  const _hoisted_3$q = ["href"];
20561
20561
  const _hoisted_4$k = ["href"];
20562
- const _hoisted_5$e = { class: "lupa-child-category-list" };
20562
+ const _hoisted_5$f = { class: "lupa-child-category-list" };
20563
20563
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
20564
20564
  __name: "CategoryFilter",
20565
20565
  props: {
@@ -20665,7 +20665,7 @@ and ensure you are accounting for this risk.
20665
20665
  onClick: handleNavigationParent
20666
20666
  }, toDisplayString(parentTitle.value), 11, _hoisted_4$k)
20667
20667
  ], 2),
20668
- createBaseVNode("div", _hoisted_5$e, [
20668
+ createBaseVNode("div", _hoisted_5$f, [
20669
20669
  (openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
20670
20670
  return openBlock(), createBlock(_sfc_main$P, {
20671
20671
  key: getCategoryKey(child),
@@ -20685,8 +20685,8 @@ and ensure you are accounting for this risk.
20685
20685
  const _hoisted_2$y = ["placeholder"];
20686
20686
  const _hoisted_3$p = { class: "lupa-terms-list" };
20687
20687
  const _hoisted_4$j = ["onClick"];
20688
- const _hoisted_5$d = { class: "lupa-term-checkbox-wrapper" };
20689
- const _hoisted_6$8 = { class: "lupa-term-checkbox-label" };
20688
+ const _hoisted_5$e = { class: "lupa-term-checkbox-wrapper" };
20689
+ const _hoisted_6$9 = { class: "lupa-term-checkbox-label" };
20690
20690
  const _hoisted_7$6 = { class: "lupa-term-label" };
20691
20691
  const _hoisted_8$2 = {
20692
20692
  key: 0,
@@ -20783,12 +20783,12 @@ and ensure you are accounting for this risk.
20783
20783
  key: item.title,
20784
20784
  onClick: ($event) => handleFacetClick(item)
20785
20785
  }, [
20786
- createBaseVNode("div", _hoisted_5$d, [
20786
+ createBaseVNode("div", _hoisted_5$e, [
20787
20787
  createBaseVNode("span", {
20788
20788
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked(item) }])
20789
20789
  }, null, 2)
20790
20790
  ]),
20791
- createBaseVNode("div", _hoisted_6$8, [
20791
+ createBaseVNode("div", _hoisted_6$9, [
20792
20792
  createBaseVNode("span", _hoisted_7$6, toDisplayString(item.title), 1),
20793
20793
  _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_8$2, "(" + toDisplayString(item.count) + ")", 1)) : createCommentVNode("", true)
20794
20794
  ])
@@ -21796,8 +21796,8 @@ and ensure you are accounting for this risk.
21796
21796
  key: 0,
21797
21797
  class: "lupa-stats-range-label"
21798
21798
  };
21799
- const _hoisted_5$c = { class: "lupa-stats-from" };
21800
- const _hoisted_6$7 = ["max", "min", "pattern", "aria-label"];
21799
+ const _hoisted_5$d = { class: "lupa-stats-from" };
21800
+ const _hoisted_6$8 = ["max", "min", "pattern", "aria-label"];
21801
21801
  const _hoisted_7$5 = { key: 0 };
21802
21802
  const _hoisted_8$1 = /* @__PURE__ */ createBaseVNode("div", { class: "lupa-stats-separator" }, null, -1);
21803
21803
  const _hoisted_9$1 = {
@@ -21988,7 +21988,7 @@ and ensure you are accounting for this risk.
21988
21988
  !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$o, [
21989
21989
  createBaseVNode("div", null, [
21990
21990
  rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_4$i, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
21991
- createBaseVNode("div", _hoisted_5$c, [
21991
+ createBaseVNode("div", _hoisted_5$d, [
21992
21992
  withDirectives(createBaseVNode("input", {
21993
21993
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
21994
21994
  type: "text",
@@ -21997,7 +21997,7 @@ and ensure you are accounting for this risk.
21997
21997
  min: facetMin.value,
21998
21998
  pattern: sliderInputFormat.value,
21999
21999
  "aria-label": ariaLabelFrom.value
22000
- }, null, 8, _hoisted_6$7), [
22000
+ }, null, 8, _hoisted_6$8), [
22001
22001
  [
22002
22002
  vModelText,
22003
22003
  fromValue.value,
@@ -22058,7 +22058,7 @@ and ensure you are accounting for this risk.
22058
22058
  key: 0,
22059
22059
  class: "lupa-term-count"
22060
22060
  };
22061
- const _hoisted_5$b = {
22061
+ const _hoisted_5$c = {
22062
22062
  key: 0,
22063
22063
  class: "lupa-facet-level"
22064
22064
  };
@@ -22118,7 +22118,7 @@ and ensure you are accounting for this risk.
22118
22118
  _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_4$h, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
22119
22119
  ])
22120
22120
  ]),
22121
- showChildren.value ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
22121
+ showChildren.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
22122
22122
  (openBlock(true), createElementBlock(Fragment, null, renderList(treeItem.value.children, (itemChild) => {
22123
22123
  return openBlock(), createBlock(_component_HierarchyFacetLevel, {
22124
22124
  key: itemChild.title,
@@ -22628,8 +22628,8 @@ and ensure you are accounting for this risk.
22628
22628
  const _hoisted_2$r = ["onClick"];
22629
22629
  const _hoisted_3$l = { class: "lupa-mobile-sidebar-content" };
22630
22630
  const _hoisted_4$g = { class: "lupa-sidebar-top" };
22631
- const _hoisted_5$a = { class: "lupa-sidebar-title" };
22632
- const _hoisted_6$6 = {
22631
+ const _hoisted_5$b = { class: "lupa-sidebar-title" };
22632
+ const _hoisted_6$7 = {
22633
22633
  key: 0,
22634
22634
  class: "lupa-sidebar-filter-count"
22635
22635
  };
@@ -22672,9 +22672,9 @@ and ensure you are accounting for this risk.
22672
22672
  }, null, 8, _hoisted_2$r),
22673
22673
  createBaseVNode("div", _hoisted_3$l, [
22674
22674
  createBaseVNode("div", _hoisted_4$g, [
22675
- createBaseVNode("div", _hoisted_5$a, [
22675
+ createBaseVNode("div", _hoisted_5$b, [
22676
22676
  createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
22677
- isFilterCountVisible.value ? (openBlock(), createElementBlock("span", _hoisted_6$6, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
22677
+ isFilterCountVisible.value ? (openBlock(), createElementBlock("span", _hoisted_6$7, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
22678
22678
  ]),
22679
22679
  createBaseVNode("div", {
22680
22680
  class: "lupa-filter-toggle-mobile",
@@ -22978,7 +22978,7 @@ and ensure you are accounting for this risk.
22978
22978
  const _hoisted_2$o = { id: "lupa-select" };
22979
22979
  const _hoisted_3$i = { class: "lupa-select-label" };
22980
22980
  const _hoisted_4$d = ["aria-label"];
22981
- const _hoisted_5$9 = ["value"];
22981
+ const _hoisted_5$a = ["value"];
22982
22982
  const _sfc_main$y = /* @__PURE__ */ defineComponent({
22983
22983
  __name: "SearchResultsPageSize",
22984
22984
  props: {
@@ -23022,7 +23022,7 @@ and ensure you are accounting for this risk.
23022
23022
  return openBlock(), createElementBlock("option", {
23023
23023
  key: option,
23024
23024
  value: option
23025
- }, toDisplayString(prefixLabel.value) + toDisplayString(option), 9, _hoisted_5$9);
23025
+ }, toDisplayString(prefixLabel.value) + toDisplayString(option), 9, _hoisted_5$a);
23026
23026
  }), 128))
23027
23027
  ], 40, _hoisted_4$d)
23028
23028
  ])
@@ -23037,7 +23037,7 @@ and ensure you are accounting for this risk.
23037
23037
  const _hoisted_2$n = { id: "lupa-select" };
23038
23038
  const _hoisted_3$h = { class: "lupa-select-label" };
23039
23039
  const _hoisted_4$c = ["aria-label"];
23040
- const _hoisted_5$8 = ["value"];
23040
+ const _hoisted_5$9 = ["value"];
23041
23041
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
23042
23042
  __name: "SearchResultsSort",
23043
23043
  props: {
@@ -23102,7 +23102,7 @@ and ensure you are accounting for this risk.
23102
23102
  return openBlock(), createElementBlock("option", {
23103
23103
  key: option.key,
23104
23104
  value: option.key
23105
- }, toDisplayString(option.label), 9, _hoisted_5$8);
23105
+ }, toDisplayString(option.label), 9, _hoisted_5$9);
23106
23106
  }), 128))
23107
23107
  ], 40, _hoisted_4$c), [
23108
23108
  [vModelSelect, selectedKey.value]
@@ -23119,8 +23119,8 @@ and ensure you are accounting for this risk.
23119
23119
  };
23120
23120
  const _hoisted_3$g = { key: 2 };
23121
23121
  const _hoisted_4$b = { key: 4 };
23122
- const _hoisted_5$7 = { key: 6 };
23123
- const _hoisted_6$5 = { class: "lupa-toolbar-right" };
23122
+ const _hoisted_5$8 = { key: 6 };
23123
+ const _hoisted_6$6 = { class: "lupa-toolbar-right" };
23124
23124
  const _hoisted_7$3 = {
23125
23125
  key: 0,
23126
23126
  class: "lupa-toolbar-right-title"
@@ -23248,9 +23248,9 @@ and ensure you are accounting for this risk.
23248
23248
  options: paginationOptions.value.pageSelect,
23249
23249
  "last-page-label": paginationOptions.value.labels.showMore,
23250
23250
  "first-page-label": paginationOptions.value.labels.showLess
23251
- }, null, 8, ["options", "last-page-label", "first-page-label"])) : (openBlock(), createElementBlock("div", _hoisted_5$7))
23251
+ }, null, 8, ["options", "last-page-label", "first-page-label"])) : (openBlock(), createElementBlock("div", _hoisted_5$8))
23252
23252
  ]),
23253
- createBaseVNode("div", _hoisted_6$5, [
23253
+ createBaseVNode("div", _hoisted_6$6, [
23254
23254
  toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$3, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
23255
23255
  createVNode(_sfc_main$A, {
23256
23256
  label: optionsValue.value.labels.mobileFilterButton,
@@ -23288,13 +23288,15 @@ and ensure you are accounting for this risk.
23288
23288
  };
23289
23289
  }
23290
23290
  });
23291
- const _hoisted_1$r = ["innerHTML"];
23291
+ const _hoisted_1$r = ["title", "innerHTML"];
23292
23292
  const _hoisted_2$l = ["title"];
23293
- const _hoisted_3$f = {
23293
+ const _hoisted_3$f = ["href", "innerHTML"];
23294
+ const _hoisted_4$a = ["title"];
23295
+ const _hoisted_5$7 = {
23294
23296
  key: 0,
23295
23297
  class: "lupa-search-results-product-title-text"
23296
23298
  };
23297
- const _hoisted_4$a = ["href"];
23299
+ const _hoisted_6$5 = ["href"];
23298
23300
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
23299
23301
  __name: "SearchResultsProductTitle",
23300
23302
  props: {
@@ -23326,25 +23328,38 @@ and ensure you are accounting for this risk.
23326
23328
  handleRoutingEvent(props.link, event, hasEventRouting.value);
23327
23329
  };
23328
23330
  return (_ctx, _cache) => {
23329
- return isHtml.value ? (openBlock(), createElementBlock("div", {
23331
+ return isHtml.value && !_ctx.options.link ? (openBlock(), createElementBlock("div", {
23330
23332
  key: 0,
23331
23333
  class: "lupa-search-results-product-title",
23332
23334
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
23335
+ title: sanitizedTitle.value,
23333
23336
  innerHTML: sanitizedTitle.value
23334
- }, null, 12, _hoisted_1$r)) : (openBlock(), createElementBlock("div", {
23337
+ }, null, 12, _hoisted_1$r)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
23335
23338
  key: 1,
23336
23339
  class: "lupa-search-results-product-title",
23337
23340
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
23341
+ title: sanitizedTitle.value
23342
+ }, [
23343
+ createBaseVNode("a", {
23344
+ href: _ctx.link,
23345
+ class: "lupa-search-results-product-title-text lupa-title-link",
23346
+ innerHTML: sanitizedTitle.value,
23347
+ onClick: handleNavigation
23348
+ }, null, 8, _hoisted_3$f)
23349
+ ], 12, _hoisted_2$l)) : (openBlock(), createElementBlock("div", {
23350
+ key: 2,
23351
+ class: "lupa-search-results-product-title",
23352
+ style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
23338
23353
  title: title.value
23339
23354
  }, [
23340
- !_ctx.options.link ? (openBlock(), createElementBlock("span", _hoisted_3$f, toDisplayString(title.value), 1)) : createCommentVNode("", true),
23355
+ !_ctx.options.link ? (openBlock(), createElementBlock("span", _hoisted_5$7, toDisplayString(title.value), 1)) : createCommentVNode("", true),
23341
23356
  _ctx.options.link ? (openBlock(), createElementBlock("a", {
23342
23357
  key: 1,
23343
23358
  href: _ctx.link,
23344
23359
  class: "lupa-search-results-product-title-text lupa-title-link",
23345
23360
  onClick: handleNavigation
23346
- }, toDisplayString(title.value), 9, _hoisted_4$a)) : createCommentVNode("", true)
23347
- ], 12, _hoisted_2$l));
23361
+ }, toDisplayString(title.value), 9, _hoisted_6$5)) : createCommentVNode("", true)
23362
+ ], 12, _hoisted_4$a));
23348
23363
  };
23349
23364
  }
23350
23365
  });
@@ -8562,10 +8562,10 @@ const _hoisted_1$1d = { id: "lupa-search-box-input-container" };
8562
8562
  const _hoisted_2$S = { class: "lupa-input-clear" };
8563
8563
  const _hoisted_3$B = { id: "lupa-search-box-input" };
8564
8564
  const _hoisted_4$t = ["value"];
8565
- const _hoisted_5$j = ["aria-label", "placeholder"];
8566
- const _hoisted_6$9 = /* @__PURE__ */ createBaseVNode("span", { class: "lupa-search-submit-icon" }, null, -1);
8565
+ const _hoisted_5$k = ["aria-label", "placeholder"];
8566
+ const _hoisted_6$a = /* @__PURE__ */ createBaseVNode("span", { class: "lupa-search-submit-icon" }, null, -1);
8567
8567
  const _hoisted_7$7 = [
8568
- _hoisted_6$9
8568
+ _hoisted_6$a
8569
8569
  ];
8570
8570
  const _hoisted_8$3 = {
8571
8571
  key: 0,
@@ -8682,7 +8682,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
8682
8682
  placeholder: labels.value.placeholder,
8683
8683
  onInput: handleInput,
8684
8684
  onFocus: handleFocus
8685
- }), null, 16, _hoisted_5$j), [
8685
+ }), null, 16, _hoisted_5$k), [
8686
8686
  [vModelText, inputValue.value]
8687
8687
  ]),
8688
8688
  _ctx.options.showSubmitButton ? (openBlock(), createElementBlock("button", {
@@ -8856,7 +8856,7 @@ const _hoisted_4$s = {
8856
8856
  class: "lupa-suggestion-facet-label",
8857
8857
  "data-cy": "lupa-suggestion-facet-label"
8858
8858
  };
8859
- const _hoisted_5$i = {
8859
+ const _hoisted_5$j = {
8860
8860
  class: "lupa-suggestion-facet-value",
8861
8861
  "data-cy": "lupa-suggestion-facet-value"
8862
8862
  };
@@ -8899,7 +8899,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
8899
8899
  }, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(_ctx.suggestion.display), 1)),
8900
8900
  _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
8901
8901
  createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
8902
- createBaseVNode("span", _hoisted_5$i, toDisplayString(_ctx.suggestion.facet.title), 1)
8902
+ createBaseVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
8903
8903
  ])) : createCommentVNode("", true)
8904
8904
  ]);
8905
8905
  };
@@ -18388,7 +18388,7 @@ const _hoisted_1$13 = ["innerHTML"];
18388
18388
  const _hoisted_2$M = { key: 0 };
18389
18389
  const _hoisted_3$z = { key: 1 };
18390
18390
  const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
18391
- const _hoisted_5$h = { class: "lupa-search-box-custom-text" };
18391
+ const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
18392
18392
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
18393
18393
  __name: "SearchBoxProductCustom",
18394
18394
  props: {
@@ -18421,7 +18421,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
18421
18421
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
18422
18422
  !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$M, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$z, [
18423
18423
  createBaseVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
18424
- createBaseVNode("div", _hoisted_5$h, toDisplayString(text.value), 1)
18424
+ createBaseVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
18425
18425
  ]))
18426
18426
  ], 16));
18427
18427
  };
@@ -19593,7 +19593,7 @@ const _hoisted_4$o = {
19593
19593
  key: 1,
19594
19594
  class: "lupa-panel-title"
19595
19595
  };
19596
- const _hoisted_5$g = {
19596
+ const _hoisted_5$h = {
19597
19597
  key: 1,
19598
19598
  id: "lupa-search-box-panel"
19599
19599
  };
@@ -19807,7 +19807,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
19807
19807
  showTotalCount: (_a = _ctx.options.showTotalCount) != null ? _a : false,
19808
19808
  onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
19809
19809
  }, null, 8, ["labels", "showTotalCount"])) : createCommentVNode("", true)
19810
- ])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
19810
+ ])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$h, [
19811
19811
  createVNode(_sfc_main$1k, {
19812
19812
  options: _ctx.options.history,
19813
19813
  history: history.value,
@@ -20303,7 +20303,7 @@ const _hoisted_3$t = {
20303
20303
  class: "lupa-results-total-count"
20304
20304
  };
20305
20305
  const _hoisted_4$m = { class: "lupa-results-total-count-number" };
20306
- const _hoisted_5$f = ["innerHTML"];
20306
+ const _hoisted_5$g = ["innerHTML"];
20307
20307
  const _sfc_main$S = /* @__PURE__ */ defineComponent({
20308
20308
  __name: "SearchResultsTitle",
20309
20309
  props: {
@@ -20360,7 +20360,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
20360
20360
  key: 2,
20361
20361
  class: "lupa-result-page-description-top",
20362
20362
  innerHTML: descriptionTop.value
20363
- }, null, 8, _hoisted_5$f)) : createCommentVNode("", true)
20363
+ }, null, 8, _hoisted_5$g)) : createCommentVNode("", true)
20364
20364
  ]);
20365
20365
  };
20366
20366
  }
@@ -20559,7 +20559,7 @@ const _hoisted_1$K = {
20559
20559
  const _hoisted_2$z = { class: "lupa-category-back" };
20560
20560
  const _hoisted_3$q = ["href"];
20561
20561
  const _hoisted_4$k = ["href"];
20562
- const _hoisted_5$e = { class: "lupa-child-category-list" };
20562
+ const _hoisted_5$f = { class: "lupa-child-category-list" };
20563
20563
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
20564
20564
  __name: "CategoryFilter",
20565
20565
  props: {
@@ -20665,7 +20665,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
20665
20665
  onClick: handleNavigationParent
20666
20666
  }, toDisplayString(parentTitle.value), 11, _hoisted_4$k)
20667
20667
  ], 2),
20668
- createBaseVNode("div", _hoisted_5$e, [
20668
+ createBaseVNode("div", _hoisted_5$f, [
20669
20669
  (openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
20670
20670
  return openBlock(), createBlock(_sfc_main$P, {
20671
20671
  key: getCategoryKey(child),
@@ -20685,8 +20685,8 @@ const _hoisted_1$J = {
20685
20685
  const _hoisted_2$y = ["placeholder"];
20686
20686
  const _hoisted_3$p = { class: "lupa-terms-list" };
20687
20687
  const _hoisted_4$j = ["onClick"];
20688
- const _hoisted_5$d = { class: "lupa-term-checkbox-wrapper" };
20689
- const _hoisted_6$8 = { class: "lupa-term-checkbox-label" };
20688
+ const _hoisted_5$e = { class: "lupa-term-checkbox-wrapper" };
20689
+ const _hoisted_6$9 = { class: "lupa-term-checkbox-label" };
20690
20690
  const _hoisted_7$6 = { class: "lupa-term-label" };
20691
20691
  const _hoisted_8$2 = {
20692
20692
  key: 0,
@@ -20783,12 +20783,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
20783
20783
  key: item.title,
20784
20784
  onClick: ($event) => handleFacetClick(item)
20785
20785
  }, [
20786
- createBaseVNode("div", _hoisted_5$d, [
20786
+ createBaseVNode("div", _hoisted_5$e, [
20787
20787
  createBaseVNode("span", {
20788
20788
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked(item) }])
20789
20789
  }, null, 2)
20790
20790
  ]),
20791
- createBaseVNode("div", _hoisted_6$8, [
20791
+ createBaseVNode("div", _hoisted_6$9, [
20792
20792
  createBaseVNode("span", _hoisted_7$6, toDisplayString(item.title), 1),
20793
20793
  _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_8$2, "(" + toDisplayString(item.count) + ")", 1)) : createCommentVNode("", true)
20794
20794
  ])
@@ -21796,8 +21796,8 @@ const _hoisted_4$i = {
21796
21796
  key: 0,
21797
21797
  class: "lupa-stats-range-label"
21798
21798
  };
21799
- const _hoisted_5$c = { class: "lupa-stats-from" };
21800
- const _hoisted_6$7 = ["max", "min", "pattern", "aria-label"];
21799
+ const _hoisted_5$d = { class: "lupa-stats-from" };
21800
+ const _hoisted_6$8 = ["max", "min", "pattern", "aria-label"];
21801
21801
  const _hoisted_7$5 = { key: 0 };
21802
21802
  const _hoisted_8$1 = /* @__PURE__ */ createBaseVNode("div", { class: "lupa-stats-separator" }, null, -1);
21803
21803
  const _hoisted_9$1 = {
@@ -21988,7 +21988,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
21988
21988
  !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$o, [
21989
21989
  createBaseVNode("div", null, [
21990
21990
  rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_4$i, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
21991
- createBaseVNode("div", _hoisted_5$c, [
21991
+ createBaseVNode("div", _hoisted_5$d, [
21992
21992
  withDirectives(createBaseVNode("input", {
21993
21993
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
21994
21994
  type: "text",
@@ -21997,7 +21997,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
21997
21997
  min: facetMin.value,
21998
21998
  pattern: sliderInputFormat.value,
21999
21999
  "aria-label": ariaLabelFrom.value
22000
- }, null, 8, _hoisted_6$7), [
22000
+ }, null, 8, _hoisted_6$8), [
22001
22001
  [
22002
22002
  vModelText,
22003
22003
  fromValue.value,
@@ -22058,7 +22058,7 @@ const _hoisted_4$h = {
22058
22058
  key: 0,
22059
22059
  class: "lupa-term-count"
22060
22060
  };
22061
- const _hoisted_5$b = {
22061
+ const _hoisted_5$c = {
22062
22062
  key: 0,
22063
22063
  class: "lupa-facet-level"
22064
22064
  };
@@ -22118,7 +22118,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
22118
22118
  _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_4$h, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
22119
22119
  ])
22120
22120
  ]),
22121
- showChildren.value ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
22121
+ showChildren.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
22122
22122
  (openBlock(true), createElementBlock(Fragment, null, renderList(treeItem.value.children, (itemChild) => {
22123
22123
  return openBlock(), createBlock(_component_HierarchyFacetLevel, {
22124
22124
  key: itemChild.title,
@@ -22628,8 +22628,8 @@ const _hoisted_1$A = {
22628
22628
  const _hoisted_2$r = ["onClick"];
22629
22629
  const _hoisted_3$l = { class: "lupa-mobile-sidebar-content" };
22630
22630
  const _hoisted_4$g = { class: "lupa-sidebar-top" };
22631
- const _hoisted_5$a = { class: "lupa-sidebar-title" };
22632
- const _hoisted_6$6 = {
22631
+ const _hoisted_5$b = { class: "lupa-sidebar-title" };
22632
+ const _hoisted_6$7 = {
22633
22633
  key: 0,
22634
22634
  class: "lupa-sidebar-filter-count"
22635
22635
  };
@@ -22672,9 +22672,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
22672
22672
  }, null, 8, _hoisted_2$r),
22673
22673
  createBaseVNode("div", _hoisted_3$l, [
22674
22674
  createBaseVNode("div", _hoisted_4$g, [
22675
- createBaseVNode("div", _hoisted_5$a, [
22675
+ createBaseVNode("div", _hoisted_5$b, [
22676
22676
  createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
22677
- isFilterCountVisible.value ? (openBlock(), createElementBlock("span", _hoisted_6$6, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
22677
+ isFilterCountVisible.value ? (openBlock(), createElementBlock("span", _hoisted_6$7, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
22678
22678
  ]),
22679
22679
  createBaseVNode("div", {
22680
22680
  class: "lupa-filter-toggle-mobile",
@@ -22978,7 +22978,7 @@ const _hoisted_1$u = {
22978
22978
  const _hoisted_2$o = { id: "lupa-select" };
22979
22979
  const _hoisted_3$i = { class: "lupa-select-label" };
22980
22980
  const _hoisted_4$d = ["aria-label"];
22981
- const _hoisted_5$9 = ["value"];
22981
+ const _hoisted_5$a = ["value"];
22982
22982
  const _sfc_main$y = /* @__PURE__ */ defineComponent({
22983
22983
  __name: "SearchResultsPageSize",
22984
22984
  props: {
@@ -23022,7 +23022,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
23022
23022
  return openBlock(), createElementBlock("option", {
23023
23023
  key: option,
23024
23024
  value: option
23025
- }, toDisplayString(prefixLabel.value) + toDisplayString(option), 9, _hoisted_5$9);
23025
+ }, toDisplayString(prefixLabel.value) + toDisplayString(option), 9, _hoisted_5$a);
23026
23026
  }), 128))
23027
23027
  ], 40, _hoisted_4$d)
23028
23028
  ])
@@ -23037,7 +23037,7 @@ const _hoisted_1$t = {
23037
23037
  const _hoisted_2$n = { id: "lupa-select" };
23038
23038
  const _hoisted_3$h = { class: "lupa-select-label" };
23039
23039
  const _hoisted_4$c = ["aria-label"];
23040
- const _hoisted_5$8 = ["value"];
23040
+ const _hoisted_5$9 = ["value"];
23041
23041
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
23042
23042
  __name: "SearchResultsSort",
23043
23043
  props: {
@@ -23102,7 +23102,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
23102
23102
  return openBlock(), createElementBlock("option", {
23103
23103
  key: option.key,
23104
23104
  value: option.key
23105
- }, toDisplayString(option.label), 9, _hoisted_5$8);
23105
+ }, toDisplayString(option.label), 9, _hoisted_5$9);
23106
23106
  }), 128))
23107
23107
  ], 40, _hoisted_4$c), [
23108
23108
  [vModelSelect, selectedKey.value]
@@ -23119,8 +23119,8 @@ const _hoisted_2$m = {
23119
23119
  };
23120
23120
  const _hoisted_3$g = { key: 2 };
23121
23121
  const _hoisted_4$b = { key: 4 };
23122
- const _hoisted_5$7 = { key: 6 };
23123
- const _hoisted_6$5 = { class: "lupa-toolbar-right" };
23122
+ const _hoisted_5$8 = { key: 6 };
23123
+ const _hoisted_6$6 = { class: "lupa-toolbar-right" };
23124
23124
  const _hoisted_7$3 = {
23125
23125
  key: 0,
23126
23126
  class: "lupa-toolbar-right-title"
@@ -23248,9 +23248,9 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23248
23248
  options: paginationOptions.value.pageSelect,
23249
23249
  "last-page-label": paginationOptions.value.labels.showMore,
23250
23250
  "first-page-label": paginationOptions.value.labels.showLess
23251
- }, null, 8, ["options", "last-page-label", "first-page-label"])) : (openBlock(), createElementBlock("div", _hoisted_5$7))
23251
+ }, null, 8, ["options", "last-page-label", "first-page-label"])) : (openBlock(), createElementBlock("div", _hoisted_5$8))
23252
23252
  ]),
23253
- createBaseVNode("div", _hoisted_6$5, [
23253
+ createBaseVNode("div", _hoisted_6$6, [
23254
23254
  toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$3, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
23255
23255
  createVNode(_sfc_main$A, {
23256
23256
  label: optionsValue.value.labels.mobileFilterButton,
@@ -23288,13 +23288,15 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
23288
23288
  };
23289
23289
  }
23290
23290
  });
23291
- const _hoisted_1$r = ["innerHTML"];
23291
+ const _hoisted_1$r = ["title", "innerHTML"];
23292
23292
  const _hoisted_2$l = ["title"];
23293
- const _hoisted_3$f = {
23293
+ const _hoisted_3$f = ["href", "innerHTML"];
23294
+ const _hoisted_4$a = ["title"];
23295
+ const _hoisted_5$7 = {
23294
23296
  key: 0,
23295
23297
  class: "lupa-search-results-product-title-text"
23296
23298
  };
23297
- const _hoisted_4$a = ["href"];
23299
+ const _hoisted_6$5 = ["href"];
23298
23300
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
23299
23301
  __name: "SearchResultsProductTitle",
23300
23302
  props: {
@@ -23326,25 +23328,38 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
23326
23328
  handleRoutingEvent(props.link, event, hasEventRouting.value);
23327
23329
  };
23328
23330
  return (_ctx, _cache) => {
23329
- return isHtml.value ? (openBlock(), createElementBlock("div", {
23331
+ return isHtml.value && !_ctx.options.link ? (openBlock(), createElementBlock("div", {
23330
23332
  key: 0,
23331
23333
  class: "lupa-search-results-product-title",
23332
23334
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
23335
+ title: sanitizedTitle.value,
23333
23336
  innerHTML: sanitizedTitle.value
23334
- }, null, 12, _hoisted_1$r)) : (openBlock(), createElementBlock("div", {
23337
+ }, null, 12, _hoisted_1$r)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
23335
23338
  key: 1,
23336
23339
  class: "lupa-search-results-product-title",
23337
23340
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
23341
+ title: sanitizedTitle.value
23342
+ }, [
23343
+ createBaseVNode("a", {
23344
+ href: _ctx.link,
23345
+ class: "lupa-search-results-product-title-text lupa-title-link",
23346
+ innerHTML: sanitizedTitle.value,
23347
+ onClick: handleNavigation
23348
+ }, null, 8, _hoisted_3$f)
23349
+ ], 12, _hoisted_2$l)) : (openBlock(), createElementBlock("div", {
23350
+ key: 2,
23351
+ class: "lupa-search-results-product-title",
23352
+ style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
23338
23353
  title: title.value
23339
23354
  }, [
23340
- !_ctx.options.link ? (openBlock(), createElementBlock("span", _hoisted_3$f, toDisplayString(title.value), 1)) : createCommentVNode("", true),
23355
+ !_ctx.options.link ? (openBlock(), createElementBlock("span", _hoisted_5$7, toDisplayString(title.value), 1)) : createCommentVNode("", true),
23341
23356
  _ctx.options.link ? (openBlock(), createElementBlock("a", {
23342
23357
  key: 1,
23343
23358
  href: _ctx.link,
23344
23359
  class: "lupa-search-results-product-title-text lupa-title-link",
23345
23360
  onClick: handleNavigation
23346
- }, toDisplayString(title.value), 9, _hoisted_4$a)) : createCommentVNode("", true)
23347
- ], 12, _hoisted_2$l));
23361
+ }, toDisplayString(title.value), 9, _hoisted_6$5)) : createCommentVNode("", true)
23362
+ ], 12, _hoisted_4$a));
23348
23363
  };
23349
23364
  }
23350
23365
  });