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