@getlupa/vue 0.20.3 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lupaSearch.js
CHANGED
|
@@ -12963,7 +12963,7 @@ const useParamsStore = /* @__PURE__ */ defineStore("params", () => {
|
|
|
12963
12963
|
const routing = (_b25 = optionsStore.boxRoutingBehavior) != null ? _b25 : "direct-link";
|
|
12964
12964
|
redirectToResultsPage(
|
|
12965
12965
|
searchResultsLink.value,
|
|
12966
|
-
searchText,
|
|
12966
|
+
encodeParam(searchText),
|
|
12967
12967
|
optionsStore.getQueryParamName,
|
|
12968
12968
|
facet,
|
|
12969
12969
|
routing
|
|
@@ -13279,7 +13279,7 @@ const getApiUrl = (environment, customBaseUrl) => {
|
|
|
13279
13279
|
}
|
|
13280
13280
|
return Env[environment] || Env["production"];
|
|
13281
13281
|
};
|
|
13282
|
-
const _sfc_main$
|
|
13282
|
+
const _sfc_main$1A = /* @__PURE__ */ vue.defineComponent({
|
|
13283
13283
|
__name: "VoiceSearchProgressCircle",
|
|
13284
13284
|
props: {
|
|
13285
13285
|
isRecording: { type: Boolean },
|
|
@@ -13492,14 +13492,14 @@ function useVoiceRecorder(options) {
|
|
|
13492
13492
|
closeSocket
|
|
13493
13493
|
};
|
|
13494
13494
|
}
|
|
13495
|
-
const _hoisted_1$
|
|
13495
|
+
const _hoisted_1$1l = {
|
|
13496
13496
|
key: 0,
|
|
13497
13497
|
class: "lupa-dialog-overlay"
|
|
13498
13498
|
};
|
|
13499
|
-
const _hoisted_2$
|
|
13499
|
+
const _hoisted_2$W = { class: "lupa-dialog-content" };
|
|
13500
13500
|
const _hoisted_3$E = { class: "lupa-listening-text" };
|
|
13501
13501
|
const _hoisted_4$u = { class: "lupa-mic-button-wrapper" };
|
|
13502
|
-
const _sfc_main$
|
|
13502
|
+
const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
|
|
13503
13503
|
__name: "VoiceSearchDialog",
|
|
13504
13504
|
props: {
|
|
13505
13505
|
isOpen: { type: Boolean },
|
|
@@ -13603,19 +13603,19 @@ const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
|
|
|
13603
13603
|
});
|
|
13604
13604
|
return (_ctx, _cache) => {
|
|
13605
13605
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
13606
|
-
props.isOpen ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
13606
|
+
props.isOpen ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1l, [
|
|
13607
13607
|
vue.createElementVNode("button", {
|
|
13608
13608
|
class: "lupa-dialog-box-close-button",
|
|
13609
13609
|
onClick: _cache[0] || (_cache[0] = () => emit("close"))
|
|
13610
13610
|
}),
|
|
13611
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
13611
|
+
vue.createElementVNode("div", _hoisted_2$W, [
|
|
13612
13612
|
vue.createElementVNode("p", _hoisted_3$E, vue.toDisplayString(description.value), 1),
|
|
13613
13613
|
vue.createElementVNode("div", _hoisted_4$u, [
|
|
13614
13614
|
vue.createElementVNode("button", {
|
|
13615
13615
|
class: vue.normalizeClass(["lupa-mic-button", { recording: vue.unref(isRecording) }]),
|
|
13616
13616
|
onClick: handleRecordingButtonClick
|
|
13617
13617
|
}, null, 2),
|
|
13618
|
-
vue.createVNode(_sfc_main$
|
|
13618
|
+
vue.createVNode(_sfc_main$1A, {
|
|
13619
13619
|
ref_key: "voiceSearchProgressBar",
|
|
13620
13620
|
ref: voiceSearchProgressBar,
|
|
13621
13621
|
class: "lupa-progress-circle",
|
|
@@ -13630,8 +13630,8 @@ const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
|
|
|
13630
13630
|
};
|
|
13631
13631
|
}
|
|
13632
13632
|
});
|
|
13633
|
-
const _hoisted_1$
|
|
13634
|
-
const _hoisted_2$
|
|
13633
|
+
const _hoisted_1$1k = { id: "lupa-search-box-input-container" };
|
|
13634
|
+
const _hoisted_2$V = { class: "lupa-input-clear" };
|
|
13635
13635
|
const _hoisted_3$D = { id: "lupa-search-box-input" };
|
|
13636
13636
|
const _hoisted_4$t = ["value"];
|
|
13637
13637
|
const _hoisted_5$k = ["aria-label", "placeholder"];
|
|
@@ -13640,7 +13640,7 @@ const _hoisted_6$8 = {
|
|
|
13640
13640
|
class: "lupa-close-label"
|
|
13641
13641
|
};
|
|
13642
13642
|
const _hoisted_7$5 = { key: 1 };
|
|
13643
|
-
const _sfc_main$
|
|
13643
|
+
const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
|
|
13644
13644
|
__name: "SearchBoxInput",
|
|
13645
13645
|
props: {
|
|
13646
13646
|
options: {},
|
|
@@ -13768,8 +13768,8 @@ const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
|
|
|
13768
13768
|
};
|
|
13769
13769
|
__expose({ focus });
|
|
13770
13770
|
return (_ctx, _cache) => {
|
|
13771
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
13772
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
13771
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1k, [
|
|
13772
|
+
vue.createElementVNode("div", _hoisted_2$V, [
|
|
13773
13773
|
vue.createElementVNode("div", {
|
|
13774
13774
|
class: vue.normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
|
|
13775
13775
|
onClick: clear
|
|
@@ -13818,7 +13818,7 @@ const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
|
|
|
13818
13818
|
class: "lupa-voice-search-button"
|
|
13819
13819
|
})
|
|
13820
13820
|
])) : vue.createCommentVNode("", true),
|
|
13821
|
-
isVoiceSearchEnabled.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
13821
|
+
isVoiceSearchEnabled.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1z, {
|
|
13822
13822
|
key: 2,
|
|
13823
13823
|
ref_key: "voiceDialogOverlay",
|
|
13824
13824
|
ref: voiceDialogOverlay,
|
|
@@ -13832,7 +13832,7 @@ const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
|
|
|
13832
13832
|
};
|
|
13833
13833
|
}
|
|
13834
13834
|
});
|
|
13835
|
-
const _sfc_main$
|
|
13835
|
+
const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
|
|
13836
13836
|
__name: "SearchBoxMoreResults",
|
|
13837
13837
|
props: {
|
|
13838
13838
|
labels: {},
|
|
@@ -13870,9 +13870,9 @@ const _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
|
|
|
13870
13870
|
};
|
|
13871
13871
|
}
|
|
13872
13872
|
});
|
|
13873
|
-
const _hoisted_1$
|
|
13874
|
-
const _hoisted_2$
|
|
13875
|
-
const _sfc_main$
|
|
13873
|
+
const _hoisted_1$1j = { class: "lupa-search-box-history-item" };
|
|
13874
|
+
const _hoisted_2$U = { class: "lupa-search-box-history-item-content" };
|
|
13875
|
+
const _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
|
|
13876
13876
|
__name: "SearchBoxHistoryItem",
|
|
13877
13877
|
props: {
|
|
13878
13878
|
item: {},
|
|
@@ -13889,8 +13889,8 @@ const _sfc_main$1v = /* @__PURE__ */ vue.defineComponent({
|
|
|
13889
13889
|
emit("click", { query: props.item });
|
|
13890
13890
|
};
|
|
13891
13891
|
return (_ctx, _cache) => {
|
|
13892
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
13893
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
13892
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1j, [
|
|
13893
|
+
vue.createElementVNode("div", _hoisted_2$U, [
|
|
13894
13894
|
vue.createElementVNode("div", {
|
|
13895
13895
|
class: vue.normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
|
|
13896
13896
|
onClick: click2
|
|
@@ -13904,11 +13904,11 @@ const _sfc_main$1v = /* @__PURE__ */ vue.defineComponent({
|
|
|
13904
13904
|
};
|
|
13905
13905
|
}
|
|
13906
13906
|
});
|
|
13907
|
-
const _hoisted_1$
|
|
13907
|
+
const _hoisted_1$1i = {
|
|
13908
13908
|
key: 0,
|
|
13909
13909
|
class: "lupa-search-box-history-panel"
|
|
13910
13910
|
};
|
|
13911
|
-
const _sfc_main$
|
|
13911
|
+
const _sfc_main$1v = /* @__PURE__ */ vue.defineComponent({
|
|
13912
13912
|
__name: "SearchBoxHistoryPanel",
|
|
13913
13913
|
props: {
|
|
13914
13914
|
options: {}
|
|
@@ -13959,9 +13959,9 @@ const _sfc_main$1u = /* @__PURE__ */ vue.defineComponent({
|
|
|
13959
13959
|
}
|
|
13960
13960
|
};
|
|
13961
13961
|
return (_ctx, _cache) => {
|
|
13962
|
-
return hasHistory.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
13962
|
+
return hasHistory.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1i, [
|
|
13963
13963
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(limitedHistory.value, (item, index) => {
|
|
13964
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
13964
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1w, {
|
|
13965
13965
|
key: item,
|
|
13966
13966
|
item,
|
|
13967
13967
|
highlighted: index === highlightIndex.value,
|
|
@@ -13977,15 +13977,15 @@ const _sfc_main$1u = /* @__PURE__ */ vue.defineComponent({
|
|
|
13977
13977
|
};
|
|
13978
13978
|
}
|
|
13979
13979
|
});
|
|
13980
|
-
const _hoisted_1$
|
|
13981
|
-
const _sfc_main$
|
|
13980
|
+
const _hoisted_1$1h = { class: "lupa-search-box-no-results" };
|
|
13981
|
+
const _sfc_main$1u = /* @__PURE__ */ vue.defineComponent({
|
|
13982
13982
|
__name: "SearchBoxNoResults",
|
|
13983
13983
|
props: {
|
|
13984
13984
|
labels: {}
|
|
13985
13985
|
},
|
|
13986
13986
|
setup(__props) {
|
|
13987
13987
|
return (_ctx, _cache) => {
|
|
13988
|
-
return vue.openBlock(), vue.createElementBlock("p", _hoisted_1$
|
|
13988
|
+
return vue.openBlock(), vue.createElementBlock("p", _hoisted_1$1h, vue.toDisplayString(_ctx.labels.noResults), 1);
|
|
13989
13989
|
};
|
|
13990
13990
|
}
|
|
13991
13991
|
});
|
|
@@ -14017,8 +14017,8 @@ const generateGridTemplate = (elements) => {
|
|
|
14017
14017
|
}
|
|
14018
14018
|
return gridTemplate.join(" ");
|
|
14019
14019
|
};
|
|
14020
|
-
const _hoisted_1$
|
|
14021
|
-
const _hoisted_2$
|
|
14020
|
+
const _hoisted_1$1g = ["innerHTML"];
|
|
14021
|
+
const _hoisted_2$T = {
|
|
14022
14022
|
key: 1,
|
|
14023
14023
|
"data-cy": "lupa-suggestion-value",
|
|
14024
14024
|
class: "lupa-suggestion-value"
|
|
@@ -14036,7 +14036,7 @@ const _hoisted_5$j = {
|
|
|
14036
14036
|
class: "lupa-suggestion-facet-value",
|
|
14037
14037
|
"data-cy": "lupa-suggestion-facet-value"
|
|
14038
14038
|
};
|
|
14039
|
-
const _sfc_main$
|
|
14039
|
+
const _sfc_main$1t = /* @__PURE__ */ vue.defineComponent({
|
|
14040
14040
|
__name: "SearchBoxSuggestion",
|
|
14041
14041
|
props: {
|
|
14042
14042
|
suggestion: {},
|
|
@@ -14073,7 +14073,7 @@ const _sfc_main$1s = /* @__PURE__ */ vue.defineComponent({
|
|
|
14073
14073
|
class: "lupa-suggestion-value",
|
|
14074
14074
|
"data-cy": "lupa-suggestion-value",
|
|
14075
14075
|
innerHTML: _ctx.suggestion.displayHighlight
|
|
14076
|
-
}, null, 8, _hoisted_1$
|
|
14076
|
+
}, null, 8, _hoisted_1$1g)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$T, vue.toDisplayString(_ctx.suggestion.display), 1)),
|
|
14077
14077
|
_ctx.suggestion.facet ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$C, [
|
|
14078
14078
|
vue.createElementVNode("span", _hoisted_4$s, vue.toDisplayString(facetLabel.value), 1),
|
|
14079
14079
|
vue.createElementVNode("span", _hoisted_5$j, vue.toDisplayString(_ctx.suggestion.facet.title), 1)
|
|
@@ -14082,11 +14082,11 @@ const _sfc_main$1s = /* @__PURE__ */ vue.defineComponent({
|
|
|
14082
14082
|
};
|
|
14083
14083
|
}
|
|
14084
14084
|
});
|
|
14085
|
-
const _hoisted_1$
|
|
14085
|
+
const _hoisted_1$1f = {
|
|
14086
14086
|
id: "lupa-search-box-suggestions",
|
|
14087
14087
|
"data-cy": "lupa-search-box-suggestions"
|
|
14088
14088
|
};
|
|
14089
|
-
const _sfc_main$
|
|
14089
|
+
const _sfc_main$1s = /* @__PURE__ */ vue.defineComponent({
|
|
14090
14090
|
__name: "SearchBoxSuggestions",
|
|
14091
14091
|
props: {
|
|
14092
14092
|
items: {},
|
|
@@ -14153,9 +14153,9 @@ const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
|
|
|
14153
14153
|
});
|
|
14154
14154
|
});
|
|
14155
14155
|
return (_ctx, _cache) => {
|
|
14156
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
14156
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1f, [
|
|
14157
14157
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items.value, (item, index) => {
|
|
14158
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
14158
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1t, {
|
|
14159
14159
|
key: getSuggestionKey(item),
|
|
14160
14160
|
class: vue.normalizeClass([
|
|
14161
14161
|
"lupa-suggestion",
|
|
@@ -14187,7 +14187,7 @@ const debounce = (func, timeout) => {
|
|
|
14187
14187
|
}, timeout);
|
|
14188
14188
|
};
|
|
14189
14189
|
};
|
|
14190
|
-
const _sfc_main$
|
|
14190
|
+
const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
|
|
14191
14191
|
__name: "SearchBoxSuggestionsWrapper",
|
|
14192
14192
|
props: {
|
|
14193
14193
|
panel: {},
|
|
@@ -14230,7 +14230,7 @@ const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
|
|
|
14230
14230
|
const getSuggestionsDebounced = debounce(getSuggestions, props.debounce);
|
|
14231
14231
|
vue.watch(() => props.panel.limit, getSuggestionsDebounced);
|
|
14232
14232
|
return (_ctx, _cache) => {
|
|
14233
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
14233
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1s, {
|
|
14234
14234
|
items: searchResult.value,
|
|
14235
14235
|
highlight: _ctx.panel.highlight,
|
|
14236
14236
|
queryKey: _ctx.panel.queryKey,
|
|
@@ -23570,9 +23570,9 @@ const replaceImageWithPlaceholder = (e2, placeholder) => {
|
|
|
23570
23570
|
targetImage.src = placeholder;
|
|
23571
23571
|
}
|
|
23572
23572
|
};
|
|
23573
|
-
const _hoisted_1$
|
|
23574
|
-
const _hoisted_2$
|
|
23575
|
-
const _sfc_main$
|
|
23573
|
+
const _hoisted_1$1e = ["src"];
|
|
23574
|
+
const _hoisted_2$S = ["src"];
|
|
23575
|
+
const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
|
|
23576
23576
|
__name: "ProductImage",
|
|
23577
23577
|
props: {
|
|
23578
23578
|
item: {},
|
|
@@ -23714,7 +23714,7 @@ const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
|
|
|
23714
23714
|
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
|
|
23715
23715
|
onError: replaceWithPlaceholder,
|
|
23716
23716
|
key: finalUrl.value
|
|
23717
|
-
}), null, 16, _hoisted_1$
|
|
23717
|
+
}), null, 16, _hoisted_1$1e))
|
|
23718
23718
|
]),
|
|
23719
23719
|
_: 1
|
|
23720
23720
|
})) : (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
@@ -23722,12 +23722,12 @@ const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
|
|
|
23722
23722
|
class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
|
|
23723
23723
|
style: styleOverride.value,
|
|
23724
23724
|
src: finalMainImageUrl.value
|
|
23725
|
-
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$
|
|
23725
|
+
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$S))
|
|
23726
23726
|
], 38);
|
|
23727
23727
|
};
|
|
23728
23728
|
}
|
|
23729
23729
|
});
|
|
23730
|
-
const _sfc_main$
|
|
23730
|
+
const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
|
|
23731
23731
|
__name: "SearchBoxProductImage",
|
|
23732
23732
|
props: {
|
|
23733
23733
|
item: {},
|
|
@@ -23735,7 +23735,7 @@ const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
|
|
|
23735
23735
|
},
|
|
23736
23736
|
setup(__props) {
|
|
23737
23737
|
return (_ctx, _cache) => {
|
|
23738
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
23738
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1q, {
|
|
23739
23739
|
item: _ctx.item,
|
|
23740
23740
|
options: _ctx.options,
|
|
23741
23741
|
"wrapper-class": "lupa-search-box-image-wrapper",
|
|
@@ -23744,12 +23744,12 @@ const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
|
|
|
23744
23744
|
};
|
|
23745
23745
|
}
|
|
23746
23746
|
});
|
|
23747
|
-
const _hoisted_1$
|
|
23748
|
-
const _hoisted_2$
|
|
23747
|
+
const _hoisted_1$1d = ["innerHTML"];
|
|
23748
|
+
const _hoisted_2$R = {
|
|
23749
23749
|
key: 1,
|
|
23750
23750
|
class: "lupa-search-box-product-title"
|
|
23751
23751
|
};
|
|
23752
|
-
const _sfc_main$
|
|
23752
|
+
const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
|
|
23753
23753
|
__name: "SearchBoxProductTitle",
|
|
23754
23754
|
props: {
|
|
23755
23755
|
item: {},
|
|
@@ -23772,18 +23772,18 @@ const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
|
|
|
23772
23772
|
key: 0,
|
|
23773
23773
|
class: "lupa-search-box-product-title",
|
|
23774
23774
|
innerHTML: sanitizedTitle.value
|
|
23775
|
-
}, null, 8, _hoisted_1$
|
|
23775
|
+
}, null, 8, _hoisted_1$1d)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$R, [
|
|
23776
23776
|
vue.createElementVNode("strong", null, vue.toDisplayString(title.value), 1)
|
|
23777
23777
|
]));
|
|
23778
23778
|
};
|
|
23779
23779
|
}
|
|
23780
23780
|
});
|
|
23781
|
-
const _hoisted_1$
|
|
23782
|
-
const _hoisted_2$
|
|
23781
|
+
const _hoisted_1$1c = ["innerHTML"];
|
|
23782
|
+
const _hoisted_2$Q = {
|
|
23783
23783
|
key: 1,
|
|
23784
23784
|
class: "lupa-search-box-product-description"
|
|
23785
23785
|
};
|
|
23786
|
-
const _sfc_main$
|
|
23786
|
+
const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
|
|
23787
23787
|
__name: "SearchBoxProductDescription",
|
|
23788
23788
|
props: {
|
|
23789
23789
|
item: {},
|
|
@@ -23806,12 +23806,12 @@ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
|
23806
23806
|
key: 0,
|
|
23807
23807
|
class: "lupa-search-box-product-description",
|
|
23808
23808
|
innerHTML: sanitizedDescription.value
|
|
23809
|
-
}, null, 8, _hoisted_1$
|
|
23809
|
+
}, null, 8, _hoisted_1$1c)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$Q, vue.toDisplayString(description.value), 1));
|
|
23810
23810
|
};
|
|
23811
23811
|
}
|
|
23812
23812
|
});
|
|
23813
|
-
const _hoisted_1$
|
|
23814
|
-
const _sfc_main$
|
|
23813
|
+
const _hoisted_1$1b = { class: "lupa-search-box-product-price" };
|
|
23814
|
+
const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
23815
23815
|
__name: "SearchBoxProductPrice",
|
|
23816
23816
|
props: {
|
|
23817
23817
|
item: {},
|
|
@@ -23833,13 +23833,13 @@ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
|
23833
23833
|
);
|
|
23834
23834
|
});
|
|
23835
23835
|
return (_ctx, _cache) => {
|
|
23836
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
23836
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1b, [
|
|
23837
23837
|
vue.createElementVNode("strong", null, vue.toDisplayString(price.value), 1)
|
|
23838
23838
|
]);
|
|
23839
23839
|
};
|
|
23840
23840
|
}
|
|
23841
23841
|
});
|
|
23842
|
-
const _sfc_main$
|
|
23842
|
+
const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
23843
23843
|
__name: "SearchBoxProductRegularPrice",
|
|
23844
23844
|
props: {
|
|
23845
23845
|
item: {},
|
|
@@ -23870,12 +23870,12 @@ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
|
23870
23870
|
};
|
|
23871
23871
|
}
|
|
23872
23872
|
});
|
|
23873
|
-
const _hoisted_1$
|
|
23874
|
-
const _hoisted_2$
|
|
23873
|
+
const _hoisted_1$1a = ["innerHTML"];
|
|
23874
|
+
const _hoisted_2$P = { key: 0 };
|
|
23875
23875
|
const _hoisted_3$B = { key: 1 };
|
|
23876
23876
|
const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
|
|
23877
23877
|
const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
|
|
23878
|
-
const _sfc_main$
|
|
23878
|
+
const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
23879
23879
|
__name: "SearchBoxProductCustom",
|
|
23880
23880
|
props: {
|
|
23881
23881
|
item: {},
|
|
@@ -23901,11 +23901,11 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
|
23901
23901
|
key: 0,
|
|
23902
23902
|
class: [className.value, "lupa-search-box-product-custom"],
|
|
23903
23903
|
innerHTML: text.value
|
|
23904
|
-
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$
|
|
23904
|
+
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$1a)) : (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
23905
23905
|
key: 1,
|
|
23906
23906
|
class: [className.value, "lupa-search-box-product-custom"]
|
|
23907
23907
|
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
|
|
23908
|
-
!label.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
23908
|
+
!label.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$P, vue.toDisplayString(text.value), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$B, [
|
|
23909
23909
|
vue.createElementVNode("div", _hoisted_4$r, vue.toDisplayString(label.value), 1),
|
|
23910
23910
|
vue.createElementVNode("div", _hoisted_5$i, vue.toDisplayString(text.value), 1)
|
|
23911
23911
|
]))
|
|
@@ -23913,8 +23913,8 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
|
23913
23913
|
};
|
|
23914
23914
|
}
|
|
23915
23915
|
});
|
|
23916
|
-
const _hoisted_1$
|
|
23917
|
-
const _sfc_main$
|
|
23916
|
+
const _hoisted_1$19 = ["innerHTML"];
|
|
23917
|
+
const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
23918
23918
|
__name: "SearchBoxProductCustomHtml",
|
|
23919
23919
|
props: {
|
|
23920
23920
|
item: {},
|
|
@@ -23939,7 +23939,7 @@ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
|
23939
23939
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
23940
23940
|
class: className.value,
|
|
23941
23941
|
innerHTML: text.value
|
|
23942
|
-
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$
|
|
23942
|
+
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$19);
|
|
23943
23943
|
};
|
|
23944
23944
|
}
|
|
23945
23945
|
});
|
|
@@ -24254,12 +24254,12 @@ const useSearchResultStore = /* @__PURE__ */ defineStore("searchResult", () => {
|
|
|
24254
24254
|
setRelatedQueriesApiEnabled
|
|
24255
24255
|
};
|
|
24256
24256
|
});
|
|
24257
|
-
const _hoisted_1$
|
|
24258
|
-
const _hoisted_2$
|
|
24257
|
+
const _hoisted_1$18 = { class: "lupa-search-box-add-to-cart-wrapper" };
|
|
24258
|
+
const _hoisted_2$O = { class: "lupa-search-box-product-addtocart" };
|
|
24259
24259
|
const _hoisted_3$A = ["disabled"];
|
|
24260
24260
|
const _hoisted_4$q = ["href"];
|
|
24261
24261
|
const _hoisted_5$h = ["disabled"];
|
|
24262
|
-
const _sfc_main$
|
|
24262
|
+
const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
24263
24263
|
__name: "SearchBoxProductAddToCart",
|
|
24264
24264
|
props: {
|
|
24265
24265
|
item: {},
|
|
@@ -24298,8 +24298,8 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
|
24298
24298
|
return Boolean(props.link && props.options.link);
|
|
24299
24299
|
});
|
|
24300
24300
|
return (_ctx, _cache) => {
|
|
24301
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
24302
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
24301
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$18, [
|
|
24302
|
+
vue.createElementVNode("div", _hoisted_2$O, [
|
|
24303
24303
|
hasLink.value ? (vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
24304
24304
|
key: 0,
|
|
24305
24305
|
class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
|
|
@@ -24320,23 +24320,23 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
|
24320
24320
|
};
|
|
24321
24321
|
}
|
|
24322
24322
|
});
|
|
24323
|
-
const _hoisted_1$
|
|
24323
|
+
const _hoisted_1$17 = {
|
|
24324
24324
|
key: 1,
|
|
24325
24325
|
class: "lupa-search-box-element-badge-wrapper"
|
|
24326
24326
|
};
|
|
24327
24327
|
const __default__$4 = {
|
|
24328
24328
|
components: {
|
|
24329
|
-
SearchBoxProductImage: _sfc_main$
|
|
24330
|
-
SearchBoxProductTitle: _sfc_main$
|
|
24331
|
-
SearchBoxProductDescription: _sfc_main$
|
|
24332
|
-
SearchBoxProductPrice: _sfc_main$
|
|
24333
|
-
SearchBoxProductRegularPrice: _sfc_main$
|
|
24334
|
-
SearchBoxProductCustom: _sfc_main$
|
|
24335
|
-
SearchBoxProductCustomHtml: _sfc_main$
|
|
24336
|
-
SearchBoxProductAddToCart: _sfc_main$
|
|
24329
|
+
SearchBoxProductImage: _sfc_main$1p,
|
|
24330
|
+
SearchBoxProductTitle: _sfc_main$1o,
|
|
24331
|
+
SearchBoxProductDescription: _sfc_main$1n,
|
|
24332
|
+
SearchBoxProductPrice: _sfc_main$1m,
|
|
24333
|
+
SearchBoxProductRegularPrice: _sfc_main$1l,
|
|
24334
|
+
SearchBoxProductCustom: _sfc_main$1k,
|
|
24335
|
+
SearchBoxProductCustomHtml: _sfc_main$1j,
|
|
24336
|
+
SearchBoxProductAddToCart: _sfc_main$1i
|
|
24337
24337
|
}
|
|
24338
24338
|
};
|
|
24339
|
-
const _sfc_main$
|
|
24339
|
+
const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
|
|
24340
24340
|
__name: "SearchBoxProductElement",
|
|
24341
24341
|
props: {
|
|
24342
24342
|
item: {},
|
|
@@ -24408,7 +24408,7 @@ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadV
|
|
|
24408
24408
|
"dynamic-attributes": dynamicAttributes.value,
|
|
24409
24409
|
link: _ctx.link
|
|
24410
24410
|
}, renderDynamicAttributesOnParentElement.value && dynamicAttributes.value), null, 16, ["item", "options", "labels", "class", "inStock", "dynamic-attributes", "link"])) : vue.createCommentVNode("", true)
|
|
24411
|
-
], 64)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
24411
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$17, [
|
|
24412
24412
|
displayElement.value ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(elementComponent.value), {
|
|
24413
24413
|
key: 0,
|
|
24414
24414
|
item: enhancedItem.value,
|
|
@@ -24423,14 +24423,14 @@ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadV
|
|
|
24423
24423
|
};
|
|
24424
24424
|
}
|
|
24425
24425
|
}));
|
|
24426
|
-
const _hoisted_1$
|
|
24427
|
-
const _hoisted_2$
|
|
24426
|
+
const _hoisted_1$16 = { class: "lupa-badge-title" };
|
|
24427
|
+
const _hoisted_2$N = ["src"];
|
|
24428
24428
|
const _hoisted_3$z = { key: 1 };
|
|
24429
24429
|
const _hoisted_4$p = {
|
|
24430
24430
|
key: 0,
|
|
24431
24431
|
class: "lupa-badge-full-text"
|
|
24432
24432
|
};
|
|
24433
|
-
const _sfc_main$
|
|
24433
|
+
const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
24434
24434
|
__name: "SearchResultGeneratedBadge",
|
|
24435
24435
|
props: {
|
|
24436
24436
|
options: {},
|
|
@@ -24463,11 +24463,11 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
24463
24463
|
class: vue.normalizeClass(["lupa-dynamic-badge", customClassName.value]),
|
|
24464
24464
|
style: vue.normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
|
|
24465
24465
|
}, [
|
|
24466
|
-
vue.createElementVNode("span", _hoisted_1$
|
|
24466
|
+
vue.createElementVNode("span", _hoisted_1$16, [
|
|
24467
24467
|
image.value ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
24468
24468
|
key: 0,
|
|
24469
24469
|
src: image.value
|
|
24470
|
-
}, null, 8, _hoisted_2$
|
|
24470
|
+
}, null, 8, _hoisted_2$N)) : vue.createCommentVNode("", true),
|
|
24471
24471
|
hasTitleText.value && showTitle.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$z, vue.toDisplayString(_ctx.badge.titleText), 1)) : vue.createCommentVNode("", true)
|
|
24472
24472
|
]),
|
|
24473
24473
|
hasAdditionalText.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$p, vue.toDisplayString(_ctx.badge.additionalText), 1)) : vue.createCommentVNode("", true)
|
|
@@ -24475,8 +24475,8 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
24475
24475
|
};
|
|
24476
24476
|
}
|
|
24477
24477
|
});
|
|
24478
|
-
const _hoisted_1$
|
|
24479
|
-
const _sfc_main$
|
|
24478
|
+
const _hoisted_1$15 = { class: "lupa-generated-badges" };
|
|
24479
|
+
const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
24480
24480
|
__name: "SearchResultGeneratedBadges",
|
|
24481
24481
|
props: {
|
|
24482
24482
|
options: {}
|
|
@@ -24502,9 +24502,9 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
24502
24502
|
})).filter((b) => Boolean(b.id));
|
|
24503
24503
|
});
|
|
24504
24504
|
return (_ctx, _cache) => {
|
|
24505
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
24505
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$15, [
|
|
24506
24506
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(badges.value, (badge) => {
|
|
24507
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24507
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1g, {
|
|
24508
24508
|
key: badge.id,
|
|
24509
24509
|
badge,
|
|
24510
24510
|
options: _ctx.options
|
|
@@ -24514,8 +24514,8 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
24514
24514
|
};
|
|
24515
24515
|
}
|
|
24516
24516
|
});
|
|
24517
|
-
const _hoisted_1$
|
|
24518
|
-
const _sfc_main$
|
|
24517
|
+
const _hoisted_1$14 = ["innerHTML"];
|
|
24518
|
+
const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
24519
24519
|
__name: "CustomBadge",
|
|
24520
24520
|
props: {
|
|
24521
24521
|
badge: {}
|
|
@@ -24536,12 +24536,12 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
24536
24536
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
24537
24537
|
class: vue.normalizeClass(className.value),
|
|
24538
24538
|
innerHTML: text.value
|
|
24539
|
-
}, null, 10, _hoisted_1$
|
|
24539
|
+
}, null, 10, _hoisted_1$14);
|
|
24540
24540
|
};
|
|
24541
24541
|
}
|
|
24542
24542
|
});
|
|
24543
|
-
const _hoisted_1$
|
|
24544
|
-
const _sfc_main$
|
|
24543
|
+
const _hoisted_1$13 = { class: "lupa-text-badges" };
|
|
24544
|
+
const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
24545
24545
|
__name: "TextBadge",
|
|
24546
24546
|
props: {
|
|
24547
24547
|
badge: {}
|
|
@@ -24555,7 +24555,7 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
24555
24555
|
return badges.value.slice(0, props.badge.maxItems);
|
|
24556
24556
|
});
|
|
24557
24557
|
return (_ctx, _cache) => {
|
|
24558
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
24558
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$13, [
|
|
24559
24559
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayBadges.value, (item) => {
|
|
24560
24560
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
24561
24561
|
class: "lupa-badge lupa-text-badge",
|
|
@@ -24566,9 +24566,9 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
24566
24566
|
};
|
|
24567
24567
|
}
|
|
24568
24568
|
});
|
|
24569
|
-
const _hoisted_1$
|
|
24570
|
-
const _hoisted_2$
|
|
24571
|
-
const _sfc_main$
|
|
24569
|
+
const _hoisted_1$12 = { class: "lupa-image-badges" };
|
|
24570
|
+
const _hoisted_2$M = ["src"];
|
|
24571
|
+
const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
24572
24572
|
__name: "ImageBadge",
|
|
24573
24573
|
props: {
|
|
24574
24574
|
badge: {}
|
|
@@ -24588,7 +24588,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
24588
24588
|
return `${props.badge.rootImageUrl}${src}`;
|
|
24589
24589
|
};
|
|
24590
24590
|
return (_ctx, _cache) => {
|
|
24591
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
24591
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$12, [
|
|
24592
24592
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayBadges.value, (item) => {
|
|
24593
24593
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
24594
24594
|
class: "lupa-badge lupa-image-badge",
|
|
@@ -24596,14 +24596,14 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
24596
24596
|
}, [
|
|
24597
24597
|
vue.createElementVNode("img", {
|
|
24598
24598
|
src: getImageUrl(item)
|
|
24599
|
-
}, null, 8, _hoisted_2$
|
|
24599
|
+
}, null, 8, _hoisted_2$M)
|
|
24600
24600
|
]);
|
|
24601
24601
|
}), 128))
|
|
24602
24602
|
]);
|
|
24603
24603
|
};
|
|
24604
24604
|
}
|
|
24605
24605
|
});
|
|
24606
|
-
const _sfc_main$
|
|
24606
|
+
const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
24607
24607
|
__name: "DiscountBadge",
|
|
24608
24608
|
props: {
|
|
24609
24609
|
badge: {}
|
|
@@ -24665,16 +24665,16 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
|
24665
24665
|
};
|
|
24666
24666
|
}
|
|
24667
24667
|
});
|
|
24668
|
-
const _hoisted_1$
|
|
24668
|
+
const _hoisted_1$11 = { id: "lupa-search-results-badges" };
|
|
24669
24669
|
const __default__$3 = {
|
|
24670
24670
|
components: {
|
|
24671
|
-
CustomBadge: _sfc_main$
|
|
24672
|
-
TextBadge: _sfc_main$
|
|
24673
|
-
ImageBadge: _sfc_main$
|
|
24674
|
-
DiscountBadge: _sfc_main$
|
|
24671
|
+
CustomBadge: _sfc_main$1e,
|
|
24672
|
+
TextBadge: _sfc_main$1d,
|
|
24673
|
+
ImageBadge: _sfc_main$1c,
|
|
24674
|
+
DiscountBadge: _sfc_main$1b
|
|
24675
24675
|
}
|
|
24676
24676
|
};
|
|
24677
|
-
const _sfc_main$
|
|
24677
|
+
const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
|
|
24678
24678
|
__name: "SearchResultsBadgeWrapper",
|
|
24679
24679
|
props: {
|
|
24680
24680
|
position: {},
|
|
@@ -24737,7 +24737,7 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadV
|
|
|
24737
24737
|
}
|
|
24738
24738
|
};
|
|
24739
24739
|
return (_ctx, _cache) => {
|
|
24740
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
24740
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
|
|
24741
24741
|
vue.createElementVNode("div", {
|
|
24742
24742
|
id: "lupa-badges",
|
|
24743
24743
|
class: vue.normalizeClass(anchorPosition.value)
|
|
@@ -24748,7 +24748,7 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadV
|
|
|
24748
24748
|
badge
|
|
24749
24749
|
}, null, 8, ["badge"]);
|
|
24750
24750
|
}), 128)),
|
|
24751
|
-
positionValue.value === "card" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24751
|
+
positionValue.value === "card" ? (vue.openBlock(), vue.createBlock(_sfc_main$1f, {
|
|
24752
24752
|
key: 0,
|
|
24753
24753
|
options: _ctx.options
|
|
24754
24754
|
}, null, 8, ["options"])) : vue.createCommentVNode("", true)
|
|
@@ -24757,13 +24757,13 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadV
|
|
|
24757
24757
|
};
|
|
24758
24758
|
}
|
|
24759
24759
|
}));
|
|
24760
|
-
const _hoisted_1
|
|
24761
|
-
const _hoisted_2$
|
|
24760
|
+
const _hoisted_1$10 = ["href"];
|
|
24761
|
+
const _hoisted_2$L = { class: "lupa-search-box-product-details-section" };
|
|
24762
24762
|
const _hoisted_3$y = {
|
|
24763
24763
|
key: 0,
|
|
24764
24764
|
class: "lupa-search-box-product-add-to-cart-section"
|
|
24765
24765
|
};
|
|
24766
|
-
const _sfc_main$
|
|
24766
|
+
const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
24767
24767
|
__name: "SearchBoxProduct",
|
|
24768
24768
|
props: {
|
|
24769
24769
|
item: {},
|
|
@@ -24869,7 +24869,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
24869
24869
|
style: vue.normalizeStyle(imageStyleOverride.value)
|
|
24870
24870
|
}, [
|
|
24871
24871
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(imageElements.value, (element) => {
|
|
24872
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24872
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1h, {
|
|
24873
24873
|
class: "lupa-search-box-product-element",
|
|
24874
24874
|
key: element.key,
|
|
24875
24875
|
item: _ctx.item,
|
|
@@ -24879,10 +24879,10 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
24879
24879
|
}, null, 8, ["item", "element", "labels", "link"]);
|
|
24880
24880
|
}), 128))
|
|
24881
24881
|
], 4),
|
|
24882
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
24882
|
+
vue.createElementVNode("div", _hoisted_2$L, [
|
|
24883
24883
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(detailElements.value, (element) => {
|
|
24884
24884
|
var _a25;
|
|
24885
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24885
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1h, {
|
|
24886
24886
|
class: "lupa-search-box-product-element",
|
|
24887
24887
|
key: element.key,
|
|
24888
24888
|
item: _ctx.item,
|
|
@@ -24893,7 +24893,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
24893
24893
|
((_a25 = badgeOptions.value) == null ? void 0 : _a25.anchorElementKey) === element.key ? {
|
|
24894
24894
|
name: "badges",
|
|
24895
24895
|
fn: vue.withCtx(() => [
|
|
24896
|
-
vue.createVNode(_sfc_main$
|
|
24896
|
+
vue.createVNode(_sfc_main$1a, {
|
|
24897
24897
|
options: badgeOptions.value,
|
|
24898
24898
|
position: "card"
|
|
24899
24899
|
}, null, 8, ["options"])
|
|
@@ -24909,7 +24909,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
24909
24909
|
class: vue.normalizeClass(`lupa-search-box-group-${group}`)
|
|
24910
24910
|
}, [
|
|
24911
24911
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getGroupElements(group), (element) => {
|
|
24912
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24912
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1h, {
|
|
24913
24913
|
class: "lupa-search-box-product-element",
|
|
24914
24914
|
key: element.key,
|
|
24915
24915
|
item: _ctx.item,
|
|
@@ -24922,7 +24922,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
24922
24922
|
], 2);
|
|
24923
24923
|
}), 128)),
|
|
24924
24924
|
addToCartElement.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$y, [
|
|
24925
|
-
vue.createVNode(_sfc_main$
|
|
24925
|
+
vue.createVNode(_sfc_main$1h, {
|
|
24926
24926
|
class: "lupa-search-box-product-element",
|
|
24927
24927
|
item: _ctx.item,
|
|
24928
24928
|
element: addToCartElement.value,
|
|
@@ -24931,7 +24931,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
24931
24931
|
isInStock: isInStock.value
|
|
24932
24932
|
}, null, 8, ["item", "element", "labels", "link", "isInStock"])
|
|
24933
24933
|
])) : vue.createCommentVNode("", true)
|
|
24934
|
-
], 16, _hoisted_1
|
|
24934
|
+
], 16, _hoisted_1$10);
|
|
24935
24935
|
};
|
|
24936
24936
|
}
|
|
24937
24937
|
});
|
|
@@ -25003,8 +25003,8 @@ const useTrackingStore = /* @__PURE__ */ defineStore("tracking", () => {
|
|
|
25003
25003
|
};
|
|
25004
25004
|
return { trackSearch, trackResults, trackEvent, trackDelayedEvent };
|
|
25005
25005
|
});
|
|
25006
|
-
const _hoisted_1
|
|
25007
|
-
const _sfc_main$
|
|
25006
|
+
const _hoisted_1$$ = { id: "lupa-search-box-products" };
|
|
25007
|
+
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
25008
25008
|
__name: "SearchBoxProducts",
|
|
25009
25009
|
props: {
|
|
25010
25010
|
items: {},
|
|
@@ -25076,7 +25076,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
25076
25076
|
}
|
|
25077
25077
|
};
|
|
25078
25078
|
return (_ctx, _cache) => {
|
|
25079
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1
|
|
25079
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$$, [
|
|
25080
25080
|
_ctx.$slots.productCard ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.items, (item, index) => {
|
|
25081
25081
|
return vue.renderSlot(_ctx.$slots, "productCard", {
|
|
25082
25082
|
key: index,
|
|
@@ -25088,7 +25088,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
25088
25088
|
itemClicked: handleProductClick
|
|
25089
25089
|
});
|
|
25090
25090
|
}), 128)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(_ctx.items, (item, index) => {
|
|
25091
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
25091
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$19, {
|
|
25092
25092
|
key: index,
|
|
25093
25093
|
item,
|
|
25094
25094
|
panelOptions: _ctx.panelOptions,
|
|
@@ -25103,9 +25103,9 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
25103
25103
|
};
|
|
25104
25104
|
}
|
|
25105
25105
|
});
|
|
25106
|
-
const _hoisted_1$
|
|
25107
|
-
const _hoisted_2$
|
|
25108
|
-
const _sfc_main$
|
|
25106
|
+
const _hoisted_1$_ = { class: "lupa-search-box-documents-go-to-results-wrapper" };
|
|
25107
|
+
const _hoisted_2$K = { key: 0 };
|
|
25108
|
+
const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
25109
25109
|
__name: "SearchBoxProductsGoToResultsButton",
|
|
25110
25110
|
props: {
|
|
25111
25111
|
options: {},
|
|
@@ -25136,13 +25136,13 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
25136
25136
|
emit("goToResults");
|
|
25137
25137
|
};
|
|
25138
25138
|
return (_ctx, _cache) => {
|
|
25139
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
25139
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$_, [
|
|
25140
25140
|
vue.createElementVNode("button", {
|
|
25141
25141
|
class: "lupa-search-box-documents-go-to-results-button",
|
|
25142
25142
|
onClick: goToResults
|
|
25143
25143
|
}, [
|
|
25144
25144
|
vue.createTextVNode(vue.toDisplayString(goToResultsLabel.value) + " ", 1),
|
|
25145
|
-
totalCount.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
25145
|
+
totalCount.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$K, " " + vue.toDisplayString(totalCount.value), 1)) : vue.createCommentVNode("", true)
|
|
25146
25146
|
])
|
|
25147
25147
|
]);
|
|
25148
25148
|
};
|
|
@@ -25229,7 +25229,7 @@ const processExtractionObject = (value = {}) => {
|
|
|
25229
25229
|
}
|
|
25230
25230
|
return parsedObject;
|
|
25231
25231
|
};
|
|
25232
|
-
const _sfc_main$
|
|
25232
|
+
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
25233
25233
|
__name: "SearchBoxProductsWrapper",
|
|
25234
25234
|
props: {
|
|
25235
25235
|
panel: {},
|
|
@@ -25299,7 +25299,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
25299
25299
|
vue.watch(() => props.panel.limit, getItemsDebounced);
|
|
25300
25300
|
return (_ctx, _cache) => {
|
|
25301
25301
|
var _a25, _b25;
|
|
25302
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
25302
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$18, {
|
|
25303
25303
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
25304
25304
|
panelOptions: _ctx.panel,
|
|
25305
25305
|
labels: _ctx.labels,
|
|
@@ -25309,7 +25309,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
25309
25309
|
default: vue.withCtx(() => {
|
|
25310
25310
|
var _a26;
|
|
25311
25311
|
return [
|
|
25312
|
-
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
25312
|
+
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (vue.openBlock(), vue.createBlock(_sfc_main$17, {
|
|
25313
25313
|
key: 0,
|
|
25314
25314
|
options: _ctx.searchBoxOptions,
|
|
25315
25315
|
panel: _ctx.panel,
|
|
@@ -25330,7 +25330,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
25330
25330
|
};
|
|
25331
25331
|
}
|
|
25332
25332
|
});
|
|
25333
|
-
const _sfc_main$
|
|
25333
|
+
const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
25334
25334
|
__name: "SearchBoxRelatedSourceWrapper",
|
|
25335
25335
|
props: {
|
|
25336
25336
|
panel: {},
|
|
@@ -25402,7 +25402,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
25402
25402
|
});
|
|
25403
25403
|
return (_ctx, _cache) => {
|
|
25404
25404
|
var _a25, _b25;
|
|
25405
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
25405
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$18, {
|
|
25406
25406
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
25407
25407
|
panelOptions: documentPanelOptions.value,
|
|
25408
25408
|
labels: _ctx.labels,
|
|
@@ -25420,11 +25420,11 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
25420
25420
|
};
|
|
25421
25421
|
}
|
|
25422
25422
|
});
|
|
25423
|
-
const _hoisted_1$
|
|
25423
|
+
const _hoisted_1$Z = {
|
|
25424
25424
|
key: 0,
|
|
25425
25425
|
id: "lupa-search-box-panel"
|
|
25426
25426
|
};
|
|
25427
|
-
const _hoisted_2$
|
|
25427
|
+
const _hoisted_2$J = ["data-cy"];
|
|
25428
25428
|
const _hoisted_3$x = {
|
|
25429
25429
|
key: 0,
|
|
25430
25430
|
class: "lupa-panel-title lupa-panel-title-top-results"
|
|
@@ -25439,12 +25439,12 @@ const _hoisted_5$g = {
|
|
|
25439
25439
|
};
|
|
25440
25440
|
const __default__$2 = {
|
|
25441
25441
|
components: {
|
|
25442
|
-
SearchBoxSuggestionsWrapper: _sfc_main$
|
|
25443
|
-
SearchBoxProductsWrapper: _sfc_main$
|
|
25444
|
-
SearchBoxRelatedSourceWrapper: _sfc_main$
|
|
25442
|
+
SearchBoxSuggestionsWrapper: _sfc_main$1r,
|
|
25443
|
+
SearchBoxProductsWrapper: _sfc_main$16,
|
|
25444
|
+
SearchBoxRelatedSourceWrapper: _sfc_main$15
|
|
25445
25445
|
}
|
|
25446
25446
|
};
|
|
25447
|
-
const _sfc_main$
|
|
25447
|
+
const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
|
|
25448
25448
|
__name: "SearchBoxMainPanel",
|
|
25449
25449
|
props: {
|
|
25450
25450
|
options: {},
|
|
@@ -25602,7 +25602,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadV
|
|
|
25602
25602
|
ref_key: "panelContainer",
|
|
25603
25603
|
ref: panelContainer
|
|
25604
25604
|
}, [
|
|
25605
|
-
displayResults.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
25605
|
+
displayResults.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Z, [
|
|
25606
25606
|
labels.value.closePanel ? (vue.openBlock(), vue.createElementBlock("a", {
|
|
25607
25607
|
key: 0,
|
|
25608
25608
|
class: "lupa-search-box-close-panel",
|
|
@@ -25647,21 +25647,21 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadV
|
|
|
25647
25647
|
key: "0"
|
|
25648
25648
|
} : void 0
|
|
25649
25649
|
]), 1064, ["panel", "search-box-options", "options", "debounce", "inputValue", "labels"])) : vue.createCommentVNode("", true)
|
|
25650
|
-
], 14, _hoisted_2$
|
|
25650
|
+
], 14, _hoisted_2$J);
|
|
25651
25651
|
}), 128))
|
|
25652
25652
|
], 4),
|
|
25653
|
-
!vue.unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
25653
|
+
!vue.unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (vue.openBlock(), vue.createBlock(_sfc_main$1u, {
|
|
25654
25654
|
key: 1,
|
|
25655
25655
|
labels: labels.value
|
|
25656
25656
|
}, null, 8, ["labels"])) : vue.createCommentVNode("", true),
|
|
25657
|
-
vue.unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
25657
|
+
vue.unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (vue.openBlock(), vue.createBlock(_sfc_main$1x, {
|
|
25658
25658
|
key: 2,
|
|
25659
25659
|
labels: labels.value,
|
|
25660
25660
|
options: _ctx.options,
|
|
25661
25661
|
onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
|
|
25662
25662
|
}, null, 8, ["labels", "options"])) : vue.createCommentVNode("", true)
|
|
25663
25663
|
])) : displayHistory.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$g, [
|
|
25664
|
-
vue.createVNode(_sfc_main$
|
|
25664
|
+
vue.createVNode(_sfc_main$1v, {
|
|
25665
25665
|
options: _ctx.options.history,
|
|
25666
25666
|
history: history.value,
|
|
25667
25667
|
onGoToResults: handleGoToResults,
|
|
@@ -25686,8 +25686,8 @@ const unbindSearchTriggers = (triggers = [], event) => {
|
|
|
25686
25686
|
const elements = getElements(triggers);
|
|
25687
25687
|
elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
|
|
25688
25688
|
};
|
|
25689
|
-
const _hoisted_1$
|
|
25690
|
-
const _sfc_main$
|
|
25689
|
+
const _hoisted_1$Y = { class: "lupa-search-box-wrapper" };
|
|
25690
|
+
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
25691
25691
|
__name: "SearchBox",
|
|
25692
25692
|
props: {
|
|
25693
25693
|
options: {},
|
|
@@ -26009,8 +26009,8 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
26009
26009
|
id: "lupa-search-box",
|
|
26010
26010
|
class: vue.normalizeClass({ "lupa-search-box-opened": opened.value })
|
|
26011
26011
|
}, [
|
|
26012
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
26013
|
-
vue.createVNode(_sfc_main$
|
|
26012
|
+
vue.createElementVNode("div", _hoisted_1$Y, [
|
|
26013
|
+
vue.createVNode(_sfc_main$1y, {
|
|
26014
26014
|
options: inputOptions.value,
|
|
26015
26015
|
suggestedValue: suggestedValue.value,
|
|
26016
26016
|
"can-close": (_a26 = _ctx.isSearchContainer) != null ? _a26 : false,
|
|
@@ -26023,7 +26023,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
26023
26023
|
onSearch: handleSearch,
|
|
26024
26024
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
26025
26025
|
}, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
|
|
26026
|
-
opened.value || _ctx.isSearchContainer ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
26026
|
+
opened.value || _ctx.isSearchContainer ? (vue.openBlock(), vue.createBlock(_sfc_main$14, {
|
|
26027
26027
|
key: 0,
|
|
26028
26028
|
options: panelOptions.value,
|
|
26029
26029
|
inputValue: inputValue.value,
|
|
@@ -26127,11 +26127,11 @@ const getInitialSearchResults = (options, getQueryParamName, defaultData) => __a
|
|
|
26127
26127
|
options.options.onError(e2);
|
|
26128
26128
|
}
|
|
26129
26129
|
});
|
|
26130
|
-
const _hoisted_1$
|
|
26130
|
+
const _hoisted_1$X = {
|
|
26131
26131
|
key: 0,
|
|
26132
26132
|
id: "lupa-search-results-did-you-mean"
|
|
26133
26133
|
};
|
|
26134
|
-
const _hoisted_2$
|
|
26134
|
+
const _hoisted_2$I = {
|
|
26135
26135
|
key: 0,
|
|
26136
26136
|
"data-cy": "suggested-search-text-label"
|
|
26137
26137
|
};
|
|
@@ -26140,7 +26140,7 @@ const _hoisted_3$w = {
|
|
|
26140
26140
|
"data-cy": "did-you-mean-label"
|
|
26141
26141
|
};
|
|
26142
26142
|
const _hoisted_4$n = { key: 1 };
|
|
26143
|
-
const _sfc_main$
|
|
26143
|
+
const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
26144
26144
|
__name: "SearchResultsDidYouMean",
|
|
26145
26145
|
props: {
|
|
26146
26146
|
labels: {}
|
|
@@ -26172,8 +26172,8 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
26172
26172
|
paramStore.goToResults({ searchText, facet });
|
|
26173
26173
|
};
|
|
26174
26174
|
return (_ctx, _cache) => {
|
|
26175
|
-
return vue.unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
26176
|
-
vue.unref(searchResult).suggestedSearchText ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
26175
|
+
return vue.unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
|
|
26176
|
+
vue.unref(searchResult).suggestedSearchText ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$I, [
|
|
26177
26177
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
|
|
26178
26178
|
return vue.openBlock(), vue.createElementBlock("span", { key: index }, [
|
|
26179
26179
|
vue.createElementVNode("span", {
|
|
@@ -26198,12 +26198,12 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
26198
26198
|
};
|
|
26199
26199
|
}
|
|
26200
26200
|
});
|
|
26201
|
-
const _hoisted_1$
|
|
26201
|
+
const _hoisted_1$W = {
|
|
26202
26202
|
key: 0,
|
|
26203
26203
|
class: "lupa-search-results-summary"
|
|
26204
26204
|
};
|
|
26205
|
-
const _hoisted_2$
|
|
26206
|
-
const _sfc_main$
|
|
26205
|
+
const _hoisted_2$H = ["innerHTML"];
|
|
26206
|
+
const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
26207
26207
|
__name: "SearchResultsSummary",
|
|
26208
26208
|
props: {
|
|
26209
26209
|
label: {},
|
|
@@ -26218,8 +26218,8 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
26218
26218
|
return addParamsToLabel(props.label, range2, `<span>${totalItems.value}</span>`);
|
|
26219
26219
|
});
|
|
26220
26220
|
return (_ctx, _cache) => {
|
|
26221
|
-
return vue.unref(totalItems) > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
26222
|
-
vue.createElementVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$
|
|
26221
|
+
return vue.unref(totalItems) > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
|
|
26222
|
+
vue.createElementVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$H),
|
|
26223
26223
|
_ctx.clearable ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
26224
26224
|
key: 0,
|
|
26225
26225
|
class: "lupa-filter-clear",
|
|
@@ -26230,19 +26230,19 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
26230
26230
|
};
|
|
26231
26231
|
}
|
|
26232
26232
|
});
|
|
26233
|
-
const _hoisted_1$
|
|
26233
|
+
const _hoisted_1$V = {
|
|
26234
26234
|
key: 0,
|
|
26235
26235
|
class: "lupa-result-page-title",
|
|
26236
26236
|
"data-cy": "lupa-result-page-title"
|
|
26237
26237
|
};
|
|
26238
|
-
const _hoisted_2$
|
|
26238
|
+
const _hoisted_2$G = { key: 0 };
|
|
26239
26239
|
const _hoisted_3$v = {
|
|
26240
26240
|
key: 1,
|
|
26241
26241
|
class: "lupa-results-total-count"
|
|
26242
26242
|
};
|
|
26243
26243
|
const _hoisted_4$m = { class: "lupa-results-total-count-number" };
|
|
26244
26244
|
const _hoisted_5$f = ["innerHTML"];
|
|
26245
|
-
const _sfc_main
|
|
26245
|
+
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
26246
26246
|
__name: "SearchResultsTitle",
|
|
26247
26247
|
props: {
|
|
26248
26248
|
options: {},
|
|
@@ -26285,16 +26285,16 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
26285
26285
|
});
|
|
26286
26286
|
return (_ctx, _cache) => {
|
|
26287
26287
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
26288
|
-
showSearchTitle.value ? (vue.openBlock(), vue.createElementBlock("h1", _hoisted_1$
|
|
26288
|
+
showSearchTitle.value ? (vue.openBlock(), vue.createElementBlock("h1", _hoisted_1$V, [
|
|
26289
26289
|
vue.createTextVNode(vue.toDisplayString(searchResultsTitleTemplate.value || _ctx.options.labels.searchResults), 1),
|
|
26290
|
-
queryText.value && !searchResultsTitleTemplate.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
26290
|
+
queryText.value && !searchResultsTitleTemplate.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$G, "'" + vue.toDisplayString(queryText.value) + "'", 1)) : vue.createCommentVNode("", true),
|
|
26291
26291
|
showProductCount.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$v, [
|
|
26292
26292
|
vue.createTextVNode("(" + vue.toDisplayString(searchResultsCountLabel.value), 1),
|
|
26293
26293
|
vue.createElementVNode("span", _hoisted_4$m, vue.toDisplayString(vue.unref(totalItems)), 1),
|
|
26294
26294
|
_cache[0] || (_cache[0] = vue.createTextVNode(")"))
|
|
26295
26295
|
])) : vue.createCommentVNode("", true)
|
|
26296
26296
|
])) : vue.createCommentVNode("", true),
|
|
26297
|
-
_ctx.showSummary ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
26297
|
+
_ctx.showSummary ? (vue.openBlock(), vue.createBlock(_sfc_main$11, {
|
|
26298
26298
|
key: 1,
|
|
26299
26299
|
label: summaryLabel.value
|
|
26300
26300
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
@@ -26307,15 +26307,15 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
26307
26307
|
};
|
|
26308
26308
|
}
|
|
26309
26309
|
});
|
|
26310
|
-
const _hoisted_1$
|
|
26310
|
+
const _hoisted_1$U = {
|
|
26311
26311
|
class: "lupa-current-filter-label",
|
|
26312
26312
|
"data-cy": "lupa-current-filter-label"
|
|
26313
26313
|
};
|
|
26314
|
-
const _hoisted_2$
|
|
26314
|
+
const _hoisted_2$F = {
|
|
26315
26315
|
class: "lupa-current-filter-value",
|
|
26316
26316
|
"data-cy": "lupa-current-filter-value"
|
|
26317
26317
|
};
|
|
26318
|
-
const _sfc_main
|
|
26318
|
+
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
26319
26319
|
__name: "CurrentFilterDisplay",
|
|
26320
26320
|
props: {
|
|
26321
26321
|
filter: {}
|
|
@@ -26357,14 +26357,14 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
26357
26357
|
onClick: handleClick,
|
|
26358
26358
|
"aria-label": "Remove filter"
|
|
26359
26359
|
}, "⨉"),
|
|
26360
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
26361
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
26360
|
+
vue.createElementVNode("div", _hoisted_1$U, vue.toDisplayString(_ctx.filter.label) + ": ", 1),
|
|
26361
|
+
vue.createElementVNode("div", _hoisted_2$F, vue.toDisplayString(formatFilterValue(props.filter)), 1)
|
|
26362
26362
|
], 2);
|
|
26363
26363
|
};
|
|
26364
26364
|
}
|
|
26365
26365
|
});
|
|
26366
|
-
const _hoisted_1$
|
|
26367
|
-
const _hoisted_2$
|
|
26366
|
+
const _hoisted_1$T = { class: "lupa-filter-title-text" };
|
|
26367
|
+
const _hoisted_2$E = {
|
|
26368
26368
|
key: 0,
|
|
26369
26369
|
class: "lupa-filter-count"
|
|
26370
26370
|
};
|
|
@@ -26373,7 +26373,7 @@ const _hoisted_3$u = {
|
|
|
26373
26373
|
class: "filter-values"
|
|
26374
26374
|
};
|
|
26375
26375
|
const _hoisted_4$l = { class: "lupa-current-filter-list" };
|
|
26376
|
-
const _sfc_main$
|
|
26376
|
+
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
26377
26377
|
__name: "CurrentFilters",
|
|
26378
26378
|
props: {
|
|
26379
26379
|
options: {},
|
|
@@ -26454,9 +26454,9 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
26454
26454
|
class: "lupa-current-filter-title",
|
|
26455
26455
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
26456
26456
|
}, [
|
|
26457
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
26457
|
+
vue.createElementVNode("div", _hoisted_1$T, [
|
|
26458
26458
|
vue.createTextVNode(vue.toDisplayString((_c = (_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) != null ? _c : "") + " ", 1),
|
|
26459
|
-
_ctx.expandable ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
26459
|
+
_ctx.expandable ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$E, " (" + vue.toDisplayString(vue.unref(currentFilterCount)) + ") ", 1)) : vue.createCommentVNode("", true)
|
|
26460
26460
|
]),
|
|
26461
26461
|
_ctx.expandable ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
26462
26462
|
key: 0,
|
|
@@ -26466,7 +26466,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
26466
26466
|
!_ctx.expandable || isOpen.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$u, [
|
|
26467
26467
|
vue.createElementVNode("div", _hoisted_4$l, [
|
|
26468
26468
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(currentDisplayFilters.value, (filter) => {
|
|
26469
|
-
return vue.openBlock(), vue.createBlock(_sfc_main
|
|
26469
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$$, {
|
|
26470
26470
|
key: filter.key + "_" + filter.value,
|
|
26471
26471
|
filter,
|
|
26472
26472
|
units: units.value,
|
|
@@ -26484,8 +26484,8 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
26484
26484
|
};
|
|
26485
26485
|
}
|
|
26486
26486
|
});
|
|
26487
|
-
const _hoisted_1$
|
|
26488
|
-
const _sfc_main$
|
|
26487
|
+
const _hoisted_1$S = ["href"];
|
|
26488
|
+
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
26489
26489
|
__name: "CategoryFilterItem",
|
|
26490
26490
|
props: {
|
|
26491
26491
|
options: {},
|
|
@@ -26522,20 +26522,20 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
26522
26522
|
"data-cy": "lupa-child-category-item",
|
|
26523
26523
|
href: urlLink.value,
|
|
26524
26524
|
onClick: handleNavigation
|
|
26525
|
-
}, vue.toDisplayString(title.value), 9, _hoisted_1$
|
|
26525
|
+
}, vue.toDisplayString(title.value), 9, _hoisted_1$S)
|
|
26526
26526
|
], 2);
|
|
26527
26527
|
};
|
|
26528
26528
|
}
|
|
26529
26529
|
});
|
|
26530
|
-
const _hoisted_1$
|
|
26530
|
+
const _hoisted_1$R = {
|
|
26531
26531
|
class: "lupa-category-filter",
|
|
26532
26532
|
"data-cy": "lupa-category-filter"
|
|
26533
26533
|
};
|
|
26534
|
-
const _hoisted_2$
|
|
26534
|
+
const _hoisted_2$D = { class: "lupa-category-back" };
|
|
26535
26535
|
const _hoisted_3$t = ["href"];
|
|
26536
26536
|
const _hoisted_4$k = ["href"];
|
|
26537
26537
|
const _hoisted_5$e = { class: "lupa-child-category-list" };
|
|
26538
|
-
const _sfc_main$
|
|
26538
|
+
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
26539
26539
|
__name: "CategoryFilter",
|
|
26540
26540
|
props: {
|
|
26541
26541
|
options: {}
|
|
@@ -26623,8 +26623,8 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
26623
26623
|
};
|
|
26624
26624
|
__expose({ fetch: fetch2 });
|
|
26625
26625
|
return (_ctx, _cache) => {
|
|
26626
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
26627
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
26626
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
|
|
26627
|
+
vue.createElementVNode("div", _hoisted_2$D, [
|
|
26628
26628
|
hasBackButton.value ? (vue.openBlock(), vue.createElementBlock("a", {
|
|
26629
26629
|
key: 0,
|
|
26630
26630
|
"data-cy": "lupa-category-back",
|
|
@@ -26644,7 +26644,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
26644
26644
|
], 2),
|
|
26645
26645
|
vue.createElementVNode("div", _hoisted_5$e, [
|
|
26646
26646
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(categoryChildren.value, (child) => {
|
|
26647
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
26647
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$Z, {
|
|
26648
26648
|
key: getCategoryKey(child),
|
|
26649
26649
|
item: child,
|
|
26650
26650
|
options: _ctx.options
|
|
@@ -26655,11 +26655,11 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
26655
26655
|
};
|
|
26656
26656
|
}
|
|
26657
26657
|
});
|
|
26658
|
-
const _hoisted_1$
|
|
26658
|
+
const _hoisted_1$Q = {
|
|
26659
26659
|
class: "lupa-search-result-facet-term-values",
|
|
26660
26660
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
26661
26661
|
};
|
|
26662
|
-
const _hoisted_2$
|
|
26662
|
+
const _hoisted_2$C = ["placeholder"];
|
|
26663
26663
|
const _hoisted_3$s = { class: "lupa-terms-list" };
|
|
26664
26664
|
const _hoisted_4$j = ["onClick"];
|
|
26665
26665
|
const _hoisted_5$d = { class: "lupa-term-checkbox-wrapper" };
|
|
@@ -26670,7 +26670,7 @@ const _hoisted_7$4 = {
|
|
|
26670
26670
|
};
|
|
26671
26671
|
const _hoisted_8$2 = { key: 0 };
|
|
26672
26672
|
const _hoisted_9$2 = { key: 1 };
|
|
26673
|
-
const _sfc_main$
|
|
26673
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
26674
26674
|
__name: "TermFacet",
|
|
26675
26675
|
props: {
|
|
26676
26676
|
options: {},
|
|
@@ -26760,14 +26760,14 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
26760
26760
|
}
|
|
26761
26761
|
};
|
|
26762
26762
|
return (_ctx, _cache) => {
|
|
26763
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
26763
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
|
|
26764
26764
|
isFilterable.value ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
26765
26765
|
key: 0,
|
|
26766
26766
|
class: "lupa-term-filter",
|
|
26767
26767
|
"data-cy": "lupa-term-filter",
|
|
26768
26768
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
|
|
26769
26769
|
placeholder: _ctx.options.labels.facetFilter
|
|
26770
|
-
}, null, 8, _hoisted_2$
|
|
26770
|
+
}, null, 8, _hoisted_2$C)), [
|
|
26771
26771
|
[vue.vModelText, termFilter.value]
|
|
26772
26772
|
]) : vue.createCommentVNode("", true),
|
|
26773
26773
|
vue.createElementVNode("div", _hoisted_3$s, [
|
|
@@ -27697,8 +27697,8 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
|
|
|
27697
27697
|
m.render = function(e2, t, r, i, n, o) {
|
|
27698
27698
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
|
|
27699
27699
|
}, m.__file = "src/Slider.vue";
|
|
27700
|
-
const _hoisted_1$
|
|
27701
|
-
const _hoisted_2$
|
|
27700
|
+
const _hoisted_1$P = { class: "lupa-search-result-facet-stats-values" };
|
|
27701
|
+
const _hoisted_2$B = {
|
|
27702
27702
|
key: 0,
|
|
27703
27703
|
class: "lupa-stats-facet-summary"
|
|
27704
27704
|
};
|
|
@@ -27726,7 +27726,7 @@ const _hoisted_14 = {
|
|
|
27726
27726
|
key: 2,
|
|
27727
27727
|
class: "lupa-stats-slider-wrapper"
|
|
27728
27728
|
};
|
|
27729
|
-
const _sfc_main$
|
|
27729
|
+
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
27730
27730
|
__name: "StatsFacet",
|
|
27731
27731
|
props: {
|
|
27732
27732
|
options: {},
|
|
@@ -27942,8 +27942,8 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
27942
27942
|
}
|
|
27943
27943
|
);
|
|
27944
27944
|
return (_ctx, _cache) => {
|
|
27945
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
27946
|
-
!isInputVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
27945
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, [
|
|
27946
|
+
!isInputVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$B, vue.toDisplayString(statsSummary.value), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$r, [
|
|
27947
27947
|
vue.createElementVNode("div", _hoisted_4$i, [
|
|
27948
27948
|
rangeLabelFrom.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$c, vue.toDisplayString(rangeLabelFrom.value), 1)) : vue.createCommentVNode("", true),
|
|
27949
27949
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
@@ -28007,8 +28007,8 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
28007
28007
|
};
|
|
28008
28008
|
}
|
|
28009
28009
|
});
|
|
28010
|
-
const _hoisted_1$
|
|
28011
|
-
const _hoisted_2$
|
|
28010
|
+
const _hoisted_1$O = { class: "lupa-term-checkbox-wrapper" };
|
|
28011
|
+
const _hoisted_2$A = { class: "lupa-term-label" };
|
|
28012
28012
|
const _hoisted_3$q = {
|
|
28013
28013
|
key: 0,
|
|
28014
28014
|
class: "lupa-term-count"
|
|
@@ -28017,7 +28017,7 @@ const _hoisted_4$h = {
|
|
|
28017
28017
|
key: 0,
|
|
28018
28018
|
class: "lupa-facet-level"
|
|
28019
28019
|
};
|
|
28020
|
-
const _sfc_main$
|
|
28020
|
+
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
28021
28021
|
__name: "HierarchyFacetLevel",
|
|
28022
28022
|
props: {
|
|
28023
28023
|
options: {},
|
|
@@ -28071,7 +28071,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
28071
28071
|
"data-cy": "lupa-facet-term",
|
|
28072
28072
|
onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
|
|
28073
28073
|
}, [
|
|
28074
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
28074
|
+
vue.createElementVNode("div", _hoisted_1$O, [
|
|
28075
28075
|
vue.createElementVNode("span", {
|
|
28076
28076
|
class: vue.normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
|
|
28077
28077
|
}, null, 2)
|
|
@@ -28079,7 +28079,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
28079
28079
|
vue.createElementVNode("div", {
|
|
28080
28080
|
class: vue.normalizeClass(["lupa-term-checkbox-label", { [getFacetValueClass(_ctx.item)]: true }])
|
|
28081
28081
|
}, [
|
|
28082
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
28082
|
+
vue.createElementVNode("span", _hoisted_2$A, vue.toDisplayString(_ctx.item.title) + vue.toDisplayString(" "), 1),
|
|
28083
28083
|
_ctx.options.showDocumentCount ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$q, "(" + vue.toDisplayString(_ctx.item.count) + ")", 1)) : vue.createCommentVNode("", true)
|
|
28084
28084
|
], 2)
|
|
28085
28085
|
]),
|
|
@@ -28099,13 +28099,13 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
28099
28099
|
};
|
|
28100
28100
|
}
|
|
28101
28101
|
});
|
|
28102
|
-
const _hoisted_1$
|
|
28102
|
+
const _hoisted_1$N = {
|
|
28103
28103
|
class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
|
|
28104
28104
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
28105
28105
|
};
|
|
28106
|
-
const _hoisted_2$
|
|
28106
|
+
const _hoisted_2$z = { key: 0 };
|
|
28107
28107
|
const _hoisted_3$p = ["placeholder"];
|
|
28108
|
-
const _sfc_main$
|
|
28108
|
+
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
28109
28109
|
__name: "HierarchyFacet",
|
|
28110
28110
|
props: {
|
|
28111
28111
|
options: {},
|
|
@@ -28161,8 +28161,8 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
28161
28161
|
showAll.value = false;
|
|
28162
28162
|
};
|
|
28163
28163
|
return (_ctx, _cache) => {
|
|
28164
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28165
|
-
isFilterable.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
28164
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
|
|
28165
|
+
isFilterable.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
|
|
28166
28166
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
28167
28167
|
class: "lupa-term-filter",
|
|
28168
28168
|
"data-cy": "lupa-term-filter",
|
|
@@ -28173,7 +28173,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
28173
28173
|
])
|
|
28174
28174
|
])) : vue.createCommentVNode("", true),
|
|
28175
28175
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayValues.value, (item) => {
|
|
28176
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
28176
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$V, {
|
|
28177
28177
|
key: item.title,
|
|
28178
28178
|
options: _ctx.options,
|
|
28179
28179
|
item,
|
|
@@ -28197,20 +28197,20 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
28197
28197
|
};
|
|
28198
28198
|
}
|
|
28199
28199
|
});
|
|
28200
|
-
const _hoisted_1$
|
|
28201
|
-
const _hoisted_2$
|
|
28200
|
+
const _hoisted_1$M = { class: "lupa-facet-label-text" };
|
|
28201
|
+
const _hoisted_2$y = {
|
|
28202
28202
|
key: 0,
|
|
28203
28203
|
class: "lupa-facet-content",
|
|
28204
28204
|
"data-cy": "lupa-facet-content"
|
|
28205
28205
|
};
|
|
28206
28206
|
const __default__$1 = {
|
|
28207
28207
|
components: {
|
|
28208
|
-
TermFacet: _sfc_main$
|
|
28209
|
-
StatsFacet: _sfc_main$
|
|
28210
|
-
HierarchyFacet: _sfc_main$
|
|
28208
|
+
TermFacet: _sfc_main$X,
|
|
28209
|
+
StatsFacet: _sfc_main$W,
|
|
28210
|
+
HierarchyFacet: _sfc_main$U
|
|
28211
28211
|
}
|
|
28212
28212
|
};
|
|
28213
|
-
const _sfc_main$
|
|
28213
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__$1), {
|
|
28214
28214
|
__name: "FacetDisplay",
|
|
28215
28215
|
props: {
|
|
28216
28216
|
options: {},
|
|
@@ -28332,12 +28332,12 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
|
|
|
28332
28332
|
"data-cy": "lupa-search-result-facet-label",
|
|
28333
28333
|
onClick: toggleFacet
|
|
28334
28334
|
}, [
|
|
28335
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
28335
|
+
vue.createElementVNode("div", _hoisted_1$M, vue.toDisplayString(facetLabel.value), 1),
|
|
28336
28336
|
vue.createElementVNode("div", {
|
|
28337
28337
|
class: vue.normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
|
|
28338
28338
|
}, null, 2)
|
|
28339
28339
|
], 2),
|
|
28340
|
-
isOpen.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
28340
|
+
isOpen.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
|
|
28341
28341
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(facetType.value), {
|
|
28342
28342
|
facet: facet.value,
|
|
28343
28343
|
currentFilters: currentFilters.value[facet.value.key],
|
|
@@ -28355,12 +28355,12 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
|
|
|
28355
28355
|
};
|
|
28356
28356
|
}
|
|
28357
28357
|
}));
|
|
28358
|
-
const _hoisted_1$
|
|
28359
|
-
const _hoisted_2$
|
|
28358
|
+
const _hoisted_1$L = { class: "lupa-search-result-facet-section" };
|
|
28359
|
+
const _hoisted_2$x = {
|
|
28360
28360
|
key: 0,
|
|
28361
28361
|
class: "lupa-facets-title"
|
|
28362
28362
|
};
|
|
28363
|
-
const _sfc_main$
|
|
28363
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
28364
28364
|
__name: "FacetList",
|
|
28365
28365
|
props: {
|
|
28366
28366
|
options: {},
|
|
@@ -28395,14 +28395,14 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
28395
28395
|
};
|
|
28396
28396
|
return (_ctx, _cache) => {
|
|
28397
28397
|
var _a25;
|
|
28398
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28399
|
-
_ctx.options.labels.title ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
28398
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
|
|
28399
|
+
_ctx.options.labels.title ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$x, vue.toDisplayString(_ctx.options.labels.title), 1)) : vue.createCommentVNode("", true),
|
|
28400
28400
|
vue.createElementVNode("div", {
|
|
28401
28401
|
class: vue.normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a25 = _ctx.facetStyle) != null ? _a25 : "")])
|
|
28402
28402
|
}, [
|
|
28403
28403
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(displayFacets.value, (facet) => {
|
|
28404
28404
|
var _a26;
|
|
28405
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
28405
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$T, {
|
|
28406
28406
|
key: facet.key,
|
|
28407
28407
|
facet,
|
|
28408
28408
|
currentFilters: currentFiltersValue.value,
|
|
@@ -28417,7 +28417,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
28417
28417
|
};
|
|
28418
28418
|
}
|
|
28419
28419
|
});
|
|
28420
|
-
const _sfc_main$
|
|
28420
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
28421
28421
|
__name: "FacetsButton",
|
|
28422
28422
|
props: {
|
|
28423
28423
|
options: {}
|
|
@@ -28442,8 +28442,8 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
28442
28442
|
};
|
|
28443
28443
|
}
|
|
28444
28444
|
});
|
|
28445
|
-
const _hoisted_1$
|
|
28446
|
-
const _sfc_main$
|
|
28445
|
+
const _hoisted_1$K = { class: "lupa-facets-filter-button-wrapper" };
|
|
28446
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
28447
28447
|
__name: "Facets",
|
|
28448
28448
|
props: {
|
|
28449
28449
|
options: {},
|
|
@@ -28530,7 +28530,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
28530
28530
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
28531
28531
|
class: vue.normalizeClass(["lupa-search-result-facets", { "lupa-search-result-facets-loading": vue.unref(loadingFacets) }])
|
|
28532
28532
|
}, [
|
|
28533
|
-
regularFacets.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
28533
|
+
regularFacets.value ? (vue.openBlock(), vue.createBlock(_sfc_main$S, {
|
|
28534
28534
|
key: 0,
|
|
28535
28535
|
options: _ctx.options,
|
|
28536
28536
|
facets: regularFacets.value,
|
|
@@ -28540,8 +28540,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
28540
28540
|
onSelect: handleFacetSelect,
|
|
28541
28541
|
onClear: clear
|
|
28542
28542
|
}, null, 8, ["options", "facets", "currentFilters", "facetStyle", "clearable"])) : vue.createCommentVNode("", true),
|
|
28543
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
28544
|
-
showFilterButton.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
28543
|
+
vue.createElementVNode("div", _hoisted_1$K, [
|
|
28544
|
+
showFilterButton.value ? (vue.openBlock(), vue.createBlock(_sfc_main$R, {
|
|
28545
28545
|
key: 0,
|
|
28546
28546
|
options: _ctx.options,
|
|
28547
28547
|
onFilter: filter
|
|
@@ -28551,12 +28551,12 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
28551
28551
|
};
|
|
28552
28552
|
}
|
|
28553
28553
|
});
|
|
28554
|
-
const _hoisted_1$
|
|
28554
|
+
const _hoisted_1$J = {
|
|
28555
28555
|
key: 0,
|
|
28556
28556
|
id: "lupa-search-result-filters",
|
|
28557
28557
|
class: "lupa-search-result-filters"
|
|
28558
28558
|
};
|
|
28559
|
-
const _sfc_main$
|
|
28559
|
+
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
28560
28560
|
__name: "SearchResultsFilters",
|
|
28561
28561
|
props: {
|
|
28562
28562
|
options: {},
|
|
@@ -28594,19 +28594,19 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
28594
28594
|
__expose({ fetch: fetch2 });
|
|
28595
28595
|
return (_ctx, _cache) => {
|
|
28596
28596
|
var _a25;
|
|
28597
|
-
return visible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28598
|
-
showCurrentFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
28597
|
+
return visible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
|
|
28598
|
+
showCurrentFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$_, {
|
|
28599
28599
|
key: 0,
|
|
28600
28600
|
options: _ctx.options.currentFilters,
|
|
28601
28601
|
expandable: (_a25 = _ctx.expandable) != null ? _a25 : false
|
|
28602
28602
|
}, null, 8, ["options", "expandable"])) : vue.createCommentVNode("", true),
|
|
28603
|
-
_ctx.options.categories ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
28603
|
+
_ctx.options.categories ? (vue.openBlock(), vue.createBlock(_sfc_main$Y, {
|
|
28604
28604
|
key: 1,
|
|
28605
28605
|
options: _ctx.options.categories,
|
|
28606
28606
|
ref_key: "categoryFilters",
|
|
28607
28607
|
ref: categoryFilters
|
|
28608
28608
|
}, null, 8, ["options"])) : vue.createCommentVNode("", true),
|
|
28609
|
-
_ctx.options.facets ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
28609
|
+
_ctx.options.facets ? (vue.openBlock(), vue.createBlock(_sfc_main$Q, {
|
|
28610
28610
|
key: 2,
|
|
28611
28611
|
options: _ctx.options.facets,
|
|
28612
28612
|
onFilter: filter
|
|
@@ -28615,11 +28615,11 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
28615
28615
|
};
|
|
28616
28616
|
}
|
|
28617
28617
|
});
|
|
28618
|
-
const _hoisted_1$
|
|
28618
|
+
const _hoisted_1$I = {
|
|
28619
28619
|
key: 0,
|
|
28620
28620
|
class: "lupa-mobile-filter-sidebar"
|
|
28621
28621
|
};
|
|
28622
|
-
const _hoisted_2$
|
|
28622
|
+
const _hoisted_2$w = { class: "lupa-mobile-sidebar-content" };
|
|
28623
28623
|
const _hoisted_3$o = { class: "lupa-sidebar-top" };
|
|
28624
28624
|
const _hoisted_4$g = { class: "lupa-sidebar-title" };
|
|
28625
28625
|
const _hoisted_5$b = {
|
|
@@ -28627,7 +28627,7 @@ const _hoisted_5$b = {
|
|
|
28627
28627
|
class: "lupa-sidebar-filter-count"
|
|
28628
28628
|
};
|
|
28629
28629
|
const _hoisted_6$5 = { class: "lupa-sidebar-filter-options" };
|
|
28630
|
-
const _sfc_main$
|
|
28630
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
28631
28631
|
__name: "MobileFilterSidebar",
|
|
28632
28632
|
props: {
|
|
28633
28633
|
options: {}
|
|
@@ -28659,12 +28659,12 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
28659
28659
|
handleMobileToggle();
|
|
28660
28660
|
};
|
|
28661
28661
|
return (_ctx, _cache) => {
|
|
28662
|
-
return isMobileSidebarVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28662
|
+
return isMobileSidebarVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
28663
28663
|
vue.createElementVNode("div", {
|
|
28664
28664
|
class: "lupa-sidebar-close",
|
|
28665
28665
|
onClick: vue.withModifiers(handleMobileToggle, ["stop"])
|
|
28666
28666
|
}),
|
|
28667
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
28667
|
+
vue.createElementVNode("div", _hoisted_2$w, [
|
|
28668
28668
|
vue.createElementVNode("div", _hoisted_3$o, [
|
|
28669
28669
|
vue.createElementVNode("div", _hoisted_4$g, [
|
|
28670
28670
|
vue.createTextVNode(vue.toDisplayString(sidebarTitle.value) + " ", 1),
|
|
@@ -28676,7 +28676,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
28676
28676
|
})
|
|
28677
28677
|
]),
|
|
28678
28678
|
vue.createElementVNode("div", _hoisted_6$5, [
|
|
28679
|
-
vue.createVNode(_sfc_main$
|
|
28679
|
+
vue.createVNode(_sfc_main$P, {
|
|
28680
28680
|
options: _ctx.options,
|
|
28681
28681
|
expandable: isActiveFiltersExpanded.value,
|
|
28682
28682
|
onFilter: filter
|
|
@@ -28687,14 +28687,14 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
28687
28687
|
};
|
|
28688
28688
|
}
|
|
28689
28689
|
});
|
|
28690
|
-
const _hoisted_1$
|
|
28691
|
-
const _hoisted_2$
|
|
28690
|
+
const _hoisted_1$H = { id: "lupa-search-results-breadcrumbs" };
|
|
28691
|
+
const _hoisted_2$v = ["href", "onClick"];
|
|
28692
28692
|
const _hoisted_3$n = {
|
|
28693
28693
|
key: 1,
|
|
28694
28694
|
class: "lupa-search-results-breadcrumb-text"
|
|
28695
28695
|
};
|
|
28696
28696
|
const _hoisted_4$f = { key: 2 };
|
|
28697
|
-
const _sfc_main$
|
|
28697
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
28698
28698
|
__name: "SearchResultsBreadcrumbs",
|
|
28699
28699
|
props: {
|
|
28700
28700
|
breadcrumbs: {}
|
|
@@ -28719,7 +28719,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
28719
28719
|
handleRoutingEvent(link, event, hasEventRouting.value);
|
|
28720
28720
|
};
|
|
28721
28721
|
return (_ctx, _cache) => {
|
|
28722
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28722
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
|
|
28723
28723
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(breadcrumbsValue.value, (breadcrumb, index) => {
|
|
28724
28724
|
var _a25;
|
|
28725
28725
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -28734,7 +28734,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
28734
28734
|
var _a26;
|
|
28735
28735
|
return handleNavigation(e2, (_a26 = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a26 : "");
|
|
28736
28736
|
}
|
|
28737
|
-
}, vue.toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$
|
|
28737
|
+
}, vue.toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$v)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$n, vue.toDisplayString(getLabel(breadcrumb.label)), 1)),
|
|
28738
28738
|
index < breadcrumbsValue.value.length - 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$f, vue.toDisplayString((_a25 = breadcrumb.separator) != null ? _a25 : "/"), 1)) : vue.createCommentVNode("", true)
|
|
28739
28739
|
]);
|
|
28740
28740
|
}), 128))
|
|
@@ -28742,12 +28742,12 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
28742
28742
|
};
|
|
28743
28743
|
}
|
|
28744
28744
|
});
|
|
28745
|
-
const _hoisted_1$
|
|
28745
|
+
const _hoisted_1$G = {
|
|
28746
28746
|
key: 0,
|
|
28747
28747
|
id: "lupa-search-result-filters",
|
|
28748
28748
|
class: "lupa-search-result-filters lupa-search-result-top-filters"
|
|
28749
28749
|
};
|
|
28750
|
-
const _sfc_main$
|
|
28750
|
+
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
28751
28751
|
__name: "FiltersTopDropdown",
|
|
28752
28752
|
props: {
|
|
28753
28753
|
options: {}
|
|
@@ -28765,8 +28765,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
28765
28765
|
});
|
|
28766
28766
|
return (_ctx, _cache) => {
|
|
28767
28767
|
var _a25;
|
|
28768
|
-
return visible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28769
|
-
_ctx.options.facets ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
28768
|
+
return visible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
|
|
28769
|
+
_ctx.options.facets ? (vue.openBlock(), vue.createBlock(_sfc_main$Q, {
|
|
28770
28770
|
key: 0,
|
|
28771
28771
|
options: _ctx.options.facets,
|
|
28772
28772
|
"facet-style": (_a25 = _ctx.options.facets.style) == null ? void 0 : _a25.type,
|
|
@@ -28777,8 +28777,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
28777
28777
|
};
|
|
28778
28778
|
}
|
|
28779
28779
|
});
|
|
28780
|
-
const _hoisted_1$
|
|
28781
|
-
const _sfc_main$
|
|
28780
|
+
const _hoisted_1$F = { id: "lupa-search-results-layout-selection" };
|
|
28781
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
28782
28782
|
__name: "SearchResultsLayoutSelection",
|
|
28783
28783
|
setup(__props) {
|
|
28784
28784
|
const searchResultStore = useSearchResultStore();
|
|
@@ -28789,7 +28789,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
28789
28789
|
searchResultStore.setLayout(layout2);
|
|
28790
28790
|
};
|
|
28791
28791
|
return (_ctx, _cache) => {
|
|
28792
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28792
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
28793
28793
|
vue.createElementVNode("div", {
|
|
28794
28794
|
class: vue.normalizeClass([
|
|
28795
28795
|
"lupa-layout-selection-grid",
|
|
@@ -28811,11 +28811,11 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
28811
28811
|
};
|
|
28812
28812
|
}
|
|
28813
28813
|
});
|
|
28814
|
-
const _hoisted_1$
|
|
28814
|
+
const _hoisted_1$E = {
|
|
28815
28815
|
key: 0,
|
|
28816
28816
|
class: "lupa-mobile-toggle-filter-count"
|
|
28817
28817
|
};
|
|
28818
|
-
const _sfc_main$
|
|
28818
|
+
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
28819
28819
|
__name: "SearchResultsMobileToggle",
|
|
28820
28820
|
props: {
|
|
28821
28821
|
labels: {},
|
|
@@ -28863,12 +28863,12 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
28863
28863
|
onClick: handleMobileToggle
|
|
28864
28864
|
}, [
|
|
28865
28865
|
vue.createTextVNode(vue.toDisplayString(label.value) + " ", 1),
|
|
28866
|
-
_ctx.showFilterCount && vue.unref(currentFilterCount) > 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
28866
|
+
_ctx.showFilterCount && vue.unref(currentFilterCount) > 0 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$E, vue.toDisplayString(vue.unref(currentFilterCount)), 1)) : vue.createCommentVNode("", true)
|
|
28867
28867
|
], 2);
|
|
28868
28868
|
};
|
|
28869
28869
|
}
|
|
28870
28870
|
});
|
|
28871
|
-
const _sfc_main$
|
|
28871
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
28872
28872
|
__name: "SearchResultsMobileFilterClose",
|
|
28873
28873
|
props: {
|
|
28874
28874
|
label: {}
|
|
@@ -28888,12 +28888,12 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
28888
28888
|
};
|
|
28889
28889
|
}
|
|
28890
28890
|
});
|
|
28891
|
-
const _hoisted_1$
|
|
28891
|
+
const _hoisted_1$D = {
|
|
28892
28892
|
key: 0,
|
|
28893
28893
|
id: "lupa-search-results-page-select",
|
|
28894
28894
|
"data-cy": "lupa-search-results-page-select"
|
|
28895
28895
|
};
|
|
28896
|
-
const _hoisted_2$
|
|
28896
|
+
const _hoisted_2$u = {
|
|
28897
28897
|
key: 0,
|
|
28898
28898
|
class: "lupa-page-number-separator"
|
|
28899
28899
|
};
|
|
@@ -28902,7 +28902,7 @@ const _hoisted_4$e = {
|
|
|
28902
28902
|
key: 0,
|
|
28903
28903
|
class: "lupa-page-number-separator"
|
|
28904
28904
|
};
|
|
28905
|
-
const _sfc_main$
|
|
28905
|
+
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
28906
28906
|
__name: "SearchResultsPageSelect",
|
|
28907
28907
|
props: {
|
|
28908
28908
|
lastPageLabel: {},
|
|
@@ -28979,7 +28979,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
28979
28979
|
}
|
|
28980
28980
|
};
|
|
28981
28981
|
return (_ctx, _cache) => {
|
|
28982
|
-
return showPagination.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
28982
|
+
return showPagination.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
|
|
28983
28983
|
showBack.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
28984
28984
|
key: 0,
|
|
28985
28985
|
class: vue.normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
|
|
@@ -28990,7 +28990,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
28990
28990
|
class: "lupa-page-number lupa-page-number-first",
|
|
28991
28991
|
onClick: _cache[1] || (_cache[1] = () => handlePageChange(1))
|
|
28992
28992
|
}, " 1 "),
|
|
28993
|
-
showFirstPageSeparator.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
28993
|
+
showFirstPageSeparator.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$u, "...")) : vue.createCommentVNode("", true)
|
|
28994
28994
|
], 64)) : vue.createCommentVNode("", true),
|
|
28995
28995
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pages.value, (page) => {
|
|
28996
28996
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -29023,15 +29023,15 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
29023
29023
|
};
|
|
29024
29024
|
}
|
|
29025
29025
|
});
|
|
29026
|
-
const _hoisted_1$
|
|
29026
|
+
const _hoisted_1$C = {
|
|
29027
29027
|
id: "lupa-search-results-page-size",
|
|
29028
29028
|
"data-cy": "lupa-search-results-page-size"
|
|
29029
29029
|
};
|
|
29030
|
-
const _hoisted_2$
|
|
29030
|
+
const _hoisted_2$t = { id: "lupa-select" };
|
|
29031
29031
|
const _hoisted_3$l = { class: "lupa-select-label" };
|
|
29032
29032
|
const _hoisted_4$d = ["aria-label"];
|
|
29033
29033
|
const _hoisted_5$a = ["value"];
|
|
29034
|
-
const _sfc_main$
|
|
29034
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
29035
29035
|
__name: "SearchResultsPageSize",
|
|
29036
29036
|
props: {
|
|
29037
29037
|
labels: {},
|
|
@@ -29059,8 +29059,8 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
29059
29059
|
});
|
|
29060
29060
|
};
|
|
29061
29061
|
return (_ctx, _cache) => {
|
|
29062
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
29063
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
29062
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
|
|
29063
|
+
vue.createElementVNode("div", _hoisted_2$t, [
|
|
29064
29064
|
vue.createElementVNode("label", _hoisted_3$l, vue.toDisplayString(label.value), 1),
|
|
29065
29065
|
vue.createElementVNode("select", {
|
|
29066
29066
|
class: "lupa-select-dropdown",
|
|
@@ -29082,15 +29082,15 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
29082
29082
|
};
|
|
29083
29083
|
}
|
|
29084
29084
|
});
|
|
29085
|
-
const _hoisted_1$
|
|
29085
|
+
const _hoisted_1$B = {
|
|
29086
29086
|
id: "lupa-search-results-sort",
|
|
29087
29087
|
class: "lupa-search-results-sort"
|
|
29088
29088
|
};
|
|
29089
|
-
const _hoisted_2$
|
|
29089
|
+
const _hoisted_2$s = { id: "lupa-select" };
|
|
29090
29090
|
const _hoisted_3$k = { class: "lupa-select-label" };
|
|
29091
29091
|
const _hoisted_4$c = ["aria-label"];
|
|
29092
29092
|
const _hoisted_5$9 = ["value"];
|
|
29093
|
-
const _sfc_main$
|
|
29093
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
29094
29094
|
__name: "SearchResultsSort",
|
|
29095
29095
|
props: {
|
|
29096
29096
|
options: {},
|
|
@@ -29139,8 +29139,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
29139
29139
|
previousKey.value = selectedKey.value;
|
|
29140
29140
|
};
|
|
29141
29141
|
return (_ctx, _cache) => {
|
|
29142
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
29143
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
29142
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
29143
|
+
vue.createElementVNode("div", _hoisted_2$s, [
|
|
29144
29144
|
vue.createElementVNode("label", _hoisted_3$k, vue.toDisplayString(_ctx.options.label), 1),
|
|
29145
29145
|
vue.withDirectives(vue.createElementVNode("select", {
|
|
29146
29146
|
class: "lupa-select-dropdown",
|
|
@@ -29164,8 +29164,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
29164
29164
|
};
|
|
29165
29165
|
}
|
|
29166
29166
|
});
|
|
29167
|
-
const _hoisted_1$
|
|
29168
|
-
const _hoisted_2$
|
|
29167
|
+
const _hoisted_1$A = { class: "lupa-toolbar-left" };
|
|
29168
|
+
const _hoisted_2$r = {
|
|
29169
29169
|
key: 0,
|
|
29170
29170
|
class: "lupa-toolbar-right-title"
|
|
29171
29171
|
};
|
|
@@ -29179,7 +29179,7 @@ const _hoisted_7$2 = {
|
|
|
29179
29179
|
};
|
|
29180
29180
|
const _hoisted_8 = { key: 2 };
|
|
29181
29181
|
const _hoisted_9 = { key: 4 };
|
|
29182
|
-
const _sfc_main$
|
|
29182
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
29183
29183
|
__name: "SearchResultsToolbar",
|
|
29184
29184
|
props: {
|
|
29185
29185
|
options: {},
|
|
@@ -29290,16 +29290,16 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
29290
29290
|
id: "lupa-search-results-toolbar",
|
|
29291
29291
|
class: vue.normalizeClass({ "lupa-filter-no-results": !hasResults.value })
|
|
29292
29292
|
}, [
|
|
29293
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
29294
|
-
toolbarLeftLabel.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
29295
|
-
showLayoutSelection.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
29296
|
-
showItemSummary.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
29293
|
+
vue.createElementVNode("div", _hoisted_1$A, [
|
|
29294
|
+
toolbarLeftLabel.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$r, vue.toDisplayString(toolbarLeftLabel.value), 1)) : vue.createCommentVNode("", true),
|
|
29295
|
+
showLayoutSelection.value ? (vue.openBlock(), vue.createBlock(_sfc_main$L, { key: 1 })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$j)),
|
|
29296
|
+
showItemSummary.value ? (vue.openBlock(), vue.createBlock(_sfc_main$11, {
|
|
29297
29297
|
key: 3,
|
|
29298
29298
|
label: searchSummaryLabel.value,
|
|
29299
29299
|
clearable: vue.unref(hasAnyFilter) && showFilterClear.value,
|
|
29300
29300
|
onClear: handleClearAll
|
|
29301
29301
|
}, null, 8, ["label", "clearable"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$b)),
|
|
29302
|
-
displayPageSelect.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
29302
|
+
displayPageSelect.value ? (vue.openBlock(), vue.createBlock(_sfc_main$I, {
|
|
29303
29303
|
key: 5,
|
|
29304
29304
|
options: paginationOptions.value.pageSelect,
|
|
29305
29305
|
"last-page-label": paginationOptions.value.labels.showMore,
|
|
@@ -29308,21 +29308,21 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
29308
29308
|
]),
|
|
29309
29309
|
vue.createElementVNode("div", _hoisted_6$4, [
|
|
29310
29310
|
toolbarRightLabel.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$2, vue.toDisplayString(toolbarRightLabel.value), 1)) : vue.createCommentVNode("", true),
|
|
29311
|
-
vue.createVNode(_sfc_main$
|
|
29311
|
+
vue.createVNode(_sfc_main$K, {
|
|
29312
29312
|
labels: optionsValue.value.labels,
|
|
29313
29313
|
"show-filter-count": showMobileFilterCount.value
|
|
29314
29314
|
}, null, 8, ["labels", "show-filter-count"]),
|
|
29315
|
-
paginationDisplay.value.pageSize ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
29315
|
+
paginationDisplay.value.pageSize ? (vue.openBlock(), vue.createBlock(_sfc_main$H, {
|
|
29316
29316
|
key: 1,
|
|
29317
29317
|
options: paginationOptions.value.pageSize,
|
|
29318
29318
|
labels: paginationOptions.value.labels
|
|
29319
29319
|
}, null, 8, ["options", "labels"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8)),
|
|
29320
|
-
sortOptions.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
29320
|
+
sortOptions.value ? (vue.openBlock(), vue.createBlock(_sfc_main$G, {
|
|
29321
29321
|
key: 3,
|
|
29322
29322
|
options: sortOptions.value,
|
|
29323
29323
|
callbacks: callbacks.value
|
|
29324
29324
|
}, null, 8, ["options", "callbacks"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_9)),
|
|
29325
|
-
showFiltersCloseButton.value && vue.unref(isMobileSidebarVisible) ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
29325
|
+
showFiltersCloseButton.value && vue.unref(isMobileSidebarVisible) ? (vue.openBlock(), vue.createBlock(_sfc_main$J, {
|
|
29326
29326
|
key: 5,
|
|
29327
29327
|
label: optionsValue.value.labels.mobileFilterCloseButton
|
|
29328
29328
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
@@ -29331,7 +29331,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
29331
29331
|
};
|
|
29332
29332
|
}
|
|
29333
29333
|
});
|
|
29334
|
-
const _sfc_main$
|
|
29334
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
29335
29335
|
__name: "SearchResultsProductImage",
|
|
29336
29336
|
props: {
|
|
29337
29337
|
item: {},
|
|
@@ -29339,7 +29339,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
29339
29339
|
},
|
|
29340
29340
|
setup(__props) {
|
|
29341
29341
|
return (_ctx, _cache) => {
|
|
29342
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
29342
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$1q, {
|
|
29343
29343
|
item: _ctx.item,
|
|
29344
29344
|
options: _ctx.options,
|
|
29345
29345
|
"wrapper-class": "lupa-search-results-image-wrapper",
|
|
@@ -29348,8 +29348,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
29348
29348
|
};
|
|
29349
29349
|
}
|
|
29350
29350
|
});
|
|
29351
|
-
const _hoisted_1$
|
|
29352
|
-
const _hoisted_2$
|
|
29351
|
+
const _hoisted_1$z = ["title", "innerHTML"];
|
|
29352
|
+
const _hoisted_2$q = ["title"];
|
|
29353
29353
|
const _hoisted_3$i = ["href", "innerHTML"];
|
|
29354
29354
|
const _hoisted_4$a = ["title"];
|
|
29355
29355
|
const _hoisted_5$7 = {
|
|
@@ -29357,7 +29357,7 @@ const _hoisted_5$7 = {
|
|
|
29357
29357
|
class: "lupa-search-results-product-title-text"
|
|
29358
29358
|
};
|
|
29359
29359
|
const _hoisted_6$3 = ["href"];
|
|
29360
|
-
const _sfc_main$
|
|
29360
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
29361
29361
|
__name: "SearchResultsProductTitle",
|
|
29362
29362
|
props: {
|
|
29363
29363
|
item: {},
|
|
@@ -29394,7 +29394,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
29394
29394
|
style: vue.normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
29395
29395
|
title: sanitizedTitle.value,
|
|
29396
29396
|
innerHTML: sanitizedTitle.value
|
|
29397
|
-
}, null, 12, _hoisted_1$
|
|
29397
|
+
}, null, 12, _hoisted_1$z)) : isHtml.value && _ctx.options.link ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
29398
29398
|
key: 1,
|
|
29399
29399
|
class: "lupa-search-results-product-title",
|
|
29400
29400
|
style: vue.normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
@@ -29406,7 +29406,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
29406
29406
|
innerHTML: sanitizedTitle.value,
|
|
29407
29407
|
onClick: handleNavigation
|
|
29408
29408
|
}, null, 8, _hoisted_3$i)
|
|
29409
|
-
], 12, _hoisted_2$
|
|
29409
|
+
], 12, _hoisted_2$q)) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
29410
29410
|
key: 2,
|
|
29411
29411
|
class: "lupa-search-results-product-title",
|
|
29412
29412
|
style: vue.normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
@@ -29423,8 +29423,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
29423
29423
|
};
|
|
29424
29424
|
}
|
|
29425
29425
|
});
|
|
29426
|
-
const _hoisted_1$
|
|
29427
|
-
const _sfc_main$
|
|
29426
|
+
const _hoisted_1$y = ["innerHTML"];
|
|
29427
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
29428
29428
|
__name: "SearchResultsProductDescription",
|
|
29429
29429
|
props: {
|
|
29430
29430
|
item: {},
|
|
@@ -29451,7 +29451,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
29451
29451
|
class: "lupa-search-results-product-description",
|
|
29452
29452
|
style: vue.normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
29453
29453
|
innerHTML: sanitizedDescription.value
|
|
29454
|
-
}, null, 12, _hoisted_1$
|
|
29454
|
+
}, null, 12, _hoisted_1$y)) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
29455
29455
|
key: 1,
|
|
29456
29456
|
class: "lupa-search-results-product-description",
|
|
29457
29457
|
style: vue.normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
|
|
@@ -29459,15 +29459,15 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
29459
29459
|
};
|
|
29460
29460
|
}
|
|
29461
29461
|
});
|
|
29462
|
-
const _hoisted_1$
|
|
29463
|
-
const _hoisted_2$
|
|
29462
|
+
const _hoisted_1$x = { id: "lupa-search-results-rating" };
|
|
29463
|
+
const _hoisted_2$p = { class: "lupa-ratings" };
|
|
29464
29464
|
const _hoisted_3$h = { class: "lupa-ratings-base" };
|
|
29465
29465
|
const _hoisted_4$9 = ["innerHTML"];
|
|
29466
29466
|
const _hoisted_5$6 = { class: "lupa-rating-wrapper" };
|
|
29467
29467
|
const _hoisted_6$2 = ["innerHTML"];
|
|
29468
29468
|
const _hoisted_7$1 = ["href"];
|
|
29469
29469
|
const STAR_COUNT = 5;
|
|
29470
|
-
const _sfc_main$
|
|
29470
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
29471
29471
|
__name: "SearchResultsProductRating",
|
|
29472
29472
|
props: {
|
|
29473
29473
|
item: {},
|
|
@@ -29504,8 +29504,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
29504
29504
|
return generateLink(props.options.links.ratingDetails, props.item);
|
|
29505
29505
|
});
|
|
29506
29506
|
return (_ctx, _cache) => {
|
|
29507
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
29508
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
29507
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
|
|
29508
|
+
vue.createElementVNode("div", _hoisted_2$p, [
|
|
29509
29509
|
vue.createElementVNode("div", _hoisted_3$h, [
|
|
29510
29510
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(baseStars.value, (star, index) => {
|
|
29511
29511
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -29538,11 +29538,11 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
29538
29538
|
};
|
|
29539
29539
|
}
|
|
29540
29540
|
});
|
|
29541
|
-
const _hoisted_1$
|
|
29541
|
+
const _hoisted_1$w = {
|
|
29542
29542
|
class: "lupa-search-results-product-regular-price",
|
|
29543
29543
|
"data-cy": "lupa-search-results-product-regular-price"
|
|
29544
29544
|
};
|
|
29545
|
-
const _sfc_main$
|
|
29545
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
29546
29546
|
__name: "SearchResultsProductRegularPrice",
|
|
29547
29547
|
props: {
|
|
29548
29548
|
item: {},
|
|
@@ -29564,11 +29564,11 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
29564
29564
|
);
|
|
29565
29565
|
});
|
|
29566
29566
|
return (_ctx, _cache) => {
|
|
29567
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
29567
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, vue.toDisplayString(price.value), 1);
|
|
29568
29568
|
};
|
|
29569
29569
|
}
|
|
29570
29570
|
});
|
|
29571
|
-
const _sfc_main$
|
|
29571
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
29572
29572
|
__name: "SearchResultsProductPrice",
|
|
29573
29573
|
props: {
|
|
29574
29574
|
item: {},
|
|
@@ -29602,12 +29602,12 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
29602
29602
|
};
|
|
29603
29603
|
}
|
|
29604
29604
|
});
|
|
29605
|
-
const _hoisted_1$
|
|
29606
|
-
const _hoisted_2$
|
|
29605
|
+
const _hoisted_1$v = { class: "lupa-search-results-add-to-cart-wrapper" };
|
|
29606
|
+
const _hoisted_2$o = { class: "lupa-search-results-product-addtocart" };
|
|
29607
29607
|
const _hoisted_3$g = ["disabled"];
|
|
29608
29608
|
const _hoisted_4$8 = ["href"];
|
|
29609
29609
|
const _hoisted_5$5 = ["id", "disabled"];
|
|
29610
|
-
const _sfc_main$
|
|
29610
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
29611
29611
|
__name: "SearchResultsProductAddToCart",
|
|
29612
29612
|
props: {
|
|
29613
29613
|
item: {},
|
|
@@ -29659,8 +29659,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
29659
29659
|
loading.value = false;
|
|
29660
29660
|
});
|
|
29661
29661
|
return (_ctx, _cache) => {
|
|
29662
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
29663
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
29662
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
|
|
29663
|
+
vue.createElementVNode("div", _hoisted_2$o, [
|
|
29664
29664
|
hasLink.value ? (vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
29665
29665
|
key: 0,
|
|
29666
29666
|
class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
|
|
@@ -29682,12 +29682,12 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
29682
29682
|
};
|
|
29683
29683
|
}
|
|
29684
29684
|
});
|
|
29685
|
-
const _hoisted_1$
|
|
29686
|
-
const _hoisted_2$
|
|
29685
|
+
const _hoisted_1$u = ["innerHTML"];
|
|
29686
|
+
const _hoisted_2$n = { key: 0 };
|
|
29687
29687
|
const _hoisted_3$f = { key: 1 };
|
|
29688
29688
|
const _hoisted_4$7 = { class: "lupa-search-box-custom-label" };
|
|
29689
29689
|
const _hoisted_5$4 = { class: "lupa-search-box-custom-text" };
|
|
29690
|
-
const _sfc_main$
|
|
29690
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
29691
29691
|
__name: "SearchResultsProductCustom",
|
|
29692
29692
|
props: {
|
|
29693
29693
|
item: {},
|
|
@@ -29725,11 +29725,11 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
29725
29725
|
key: 0,
|
|
29726
29726
|
class: className.value,
|
|
29727
29727
|
innerHTML: text.value
|
|
29728
|
-
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$
|
|
29728
|
+
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$u)) : (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
29729
29729
|
key: 1,
|
|
29730
29730
|
class: className.value
|
|
29731
29731
|
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
|
|
29732
|
-
!label.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
29732
|
+
!label.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$n, vue.toDisplayString(text.value), 1)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$f, [
|
|
29733
29733
|
vue.createElementVNode("div", _hoisted_4$7, vue.toDisplayString(label.value), 1),
|
|
29734
29734
|
vue.createElementVNode("div", _hoisted_5$4, vue.toDisplayString(text.value), 1)
|
|
29735
29735
|
]))
|
|
@@ -29737,8 +29737,8 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
29737
29737
|
};
|
|
29738
29738
|
}
|
|
29739
29739
|
});
|
|
29740
|
-
const _hoisted_1$
|
|
29741
|
-
const _sfc_main$
|
|
29740
|
+
const _hoisted_1$t = ["innerHTML"];
|
|
29741
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
29742
29742
|
__name: "SearchResultsProductCustomHtmlElement",
|
|
29743
29743
|
props: {
|
|
29744
29744
|
item: {},
|
|
@@ -29770,15 +29770,15 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
29770
29770
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
29771
29771
|
class: className.value,
|
|
29772
29772
|
innerHTML: text.value
|
|
29773
|
-
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$
|
|
29773
|
+
}, vue.toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$t);
|
|
29774
29774
|
};
|
|
29775
29775
|
}
|
|
29776
29776
|
});
|
|
29777
|
-
const _hoisted_1$
|
|
29778
|
-
const _hoisted_2$
|
|
29777
|
+
const _hoisted_1$s = { id: "lupa-search-results-rating" };
|
|
29778
|
+
const _hoisted_2$m = ["innerHTML"];
|
|
29779
29779
|
const _hoisted_3$e = { class: "lupa-ratings" };
|
|
29780
29780
|
const _hoisted_4$6 = ["href"];
|
|
29781
|
-
const _sfc_main$
|
|
29781
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
29782
29782
|
__name: "SearchResultsProductSingleStarRating",
|
|
29783
29783
|
props: {
|
|
29784
29784
|
item: {},
|
|
@@ -29806,11 +29806,11 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
29806
29806
|
return RATING_STAR_HTML;
|
|
29807
29807
|
});
|
|
29808
29808
|
return (_ctx, _cache) => {
|
|
29809
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
29809
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
29810
29810
|
vue.createElementVNode("div", {
|
|
29811
29811
|
innerHTML: star.value,
|
|
29812
29812
|
class: "lupa-rating lupa-rating-highlighted"
|
|
29813
|
-
}, null, 8, _hoisted_2$
|
|
29813
|
+
}, null, 8, _hoisted_2$m),
|
|
29814
29814
|
vue.createElementVNode("div", _hoisted_3$e, vue.toDisplayString(rating.value), 1),
|
|
29815
29815
|
vue.createElementVNode("a", {
|
|
29816
29816
|
href: ratingLink.value,
|
|
@@ -29822,19 +29822,19 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
29822
29822
|
});
|
|
29823
29823
|
const __default__ = {
|
|
29824
29824
|
components: {
|
|
29825
|
-
SearchResultsProductImage: _sfc_main$
|
|
29826
|
-
SearchResultsProductTitle: _sfc_main$
|
|
29827
|
-
SearchResultsProductDescription: _sfc_main$
|
|
29828
|
-
SearchResultsProductRating: _sfc_main$
|
|
29829
|
-
SearchResultsProductRegularPrice: _sfc_main$
|
|
29830
|
-
SearchResultsProductPrice: _sfc_main$
|
|
29831
|
-
SearchResultsProductAddToCart: _sfc_main$
|
|
29832
|
-
SearchResultsProductCustom: _sfc_main$
|
|
29833
|
-
SearchResultsProductCustomHtmlElement: _sfc_main$
|
|
29834
|
-
SearchResultsProductSingleStarRating: _sfc_main$
|
|
29835
|
-
}
|
|
29836
|
-
};
|
|
29837
|
-
const _sfc_main$
|
|
29825
|
+
SearchResultsProductImage: _sfc_main$E,
|
|
29826
|
+
SearchResultsProductTitle: _sfc_main$D,
|
|
29827
|
+
SearchResultsProductDescription: _sfc_main$C,
|
|
29828
|
+
SearchResultsProductRating: _sfc_main$B,
|
|
29829
|
+
SearchResultsProductRegularPrice: _sfc_main$A,
|
|
29830
|
+
SearchResultsProductPrice: _sfc_main$z,
|
|
29831
|
+
SearchResultsProductAddToCart: _sfc_main$y,
|
|
29832
|
+
SearchResultsProductCustom: _sfc_main$x,
|
|
29833
|
+
SearchResultsProductCustomHtmlElement: _sfc_main$w,
|
|
29834
|
+
SearchResultsProductSingleStarRating: _sfc_main$v
|
|
29835
|
+
}
|
|
29836
|
+
};
|
|
29837
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadValues({}, __default__), {
|
|
29838
29838
|
__name: "SearchResultsProductCardElement",
|
|
29839
29839
|
props: {
|
|
29840
29840
|
item: {},
|
|
@@ -29912,13 +29912,13 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
|
|
|
29912
29912
|
};
|
|
29913
29913
|
}
|
|
29914
29914
|
}));
|
|
29915
|
-
const _hoisted_1$
|
|
29916
|
-
const _hoisted_2$
|
|
29915
|
+
const _hoisted_1$r = ["href"];
|
|
29916
|
+
const _hoisted_2$l = {
|
|
29917
29917
|
key: 0,
|
|
29918
29918
|
class: "lupa-out-of-stock"
|
|
29919
29919
|
};
|
|
29920
29920
|
const _hoisted_3$d = { class: "lupa-search-result-product-details-section" };
|
|
29921
|
-
const _sfc_main$
|
|
29921
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
29922
29922
|
__name: "SearchResultsProductCard",
|
|
29923
29923
|
props: {
|
|
29924
29924
|
product: {},
|
|
@@ -30094,7 +30094,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
30094
30094
|
default: vue.withCtx(() => {
|
|
30095
30095
|
var _a25;
|
|
30096
30096
|
return [
|
|
30097
|
-
vue.createVNode(_sfc_main$
|
|
30097
|
+
vue.createVNode(_sfc_main$1a, { options: badgesOptions.value }, null, 8, ["options"]),
|
|
30098
30098
|
vue.createElementVNode("div", {
|
|
30099
30099
|
class: vue.normalizeClass(["lupa-search-result-product-contents", listLayoutClass.value])
|
|
30100
30100
|
}, [
|
|
@@ -30104,7 +30104,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
30104
30104
|
onClick: handleNavigation
|
|
30105
30105
|
}, [
|
|
30106
30106
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(imageElements.value, (element) => {
|
|
30107
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30107
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
30108
30108
|
class: "lupa-search-results-product-element",
|
|
30109
30109
|
item: _ctx.product,
|
|
30110
30110
|
element,
|
|
@@ -30115,16 +30115,16 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
30115
30115
|
onProductEvent: handleProductEvent
|
|
30116
30116
|
}, null, 8, ["item", "element", "labels", "inStock", "link"]);
|
|
30117
30117
|
}), 128)),
|
|
30118
|
-
vue.createVNode(_sfc_main$
|
|
30118
|
+
vue.createVNode(_sfc_main$1a, {
|
|
30119
30119
|
options: badgesOptions.value,
|
|
30120
30120
|
position: "image",
|
|
30121
30121
|
class: "lupa-image-badges"
|
|
30122
30122
|
}, null, 8, ["options"]),
|
|
30123
|
-
((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
30124
|
-
], 8, _hoisted_1$
|
|
30123
|
+
((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$l, vue.toDisplayString(labels.value.outOfStock), 1)) : vue.createCommentVNode("", true)
|
|
30124
|
+
], 8, _hoisted_1$r),
|
|
30125
30125
|
vue.createElementVNode("div", _hoisted_3$d, [
|
|
30126
30126
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(detailElements.value, (element) => {
|
|
30127
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30127
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
30128
30128
|
class: "lupa-search-results-product-element",
|
|
30129
30129
|
item: _ctx.product,
|
|
30130
30130
|
element,
|
|
@@ -30142,7 +30142,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
30142
30142
|
class: vue.normalizeClass("lupa-element-group-" + group)
|
|
30143
30143
|
}, [
|
|
30144
30144
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getGroupElements(group), (element) => {
|
|
30145
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30145
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
30146
30146
|
class: "lupa-search-results-product-element",
|
|
30147
30147
|
item: _ctx.product,
|
|
30148
30148
|
element,
|
|
@@ -30163,11 +30163,11 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
30163
30163
|
};
|
|
30164
30164
|
}
|
|
30165
30165
|
});
|
|
30166
|
-
const _hoisted_1$
|
|
30166
|
+
const _hoisted_1$q = {
|
|
30167
30167
|
id: "lupa-search-results-similar-queries",
|
|
30168
30168
|
"data-cy": "lupa-search-results-similar-queries"
|
|
30169
30169
|
};
|
|
30170
|
-
const _hoisted_2$
|
|
30170
|
+
const _hoisted_2$k = { class: "lupa-similar-queries-label" };
|
|
30171
30171
|
const _hoisted_3$c = {
|
|
30172
30172
|
class: "lupa-similar-query-label",
|
|
30173
30173
|
"data-cy": "lupa-similar-query-label"
|
|
@@ -30179,7 +30179,7 @@ const _hoisted_7 = {
|
|
|
30179
30179
|
class: "lupa-products",
|
|
30180
30180
|
"data-cy": "lupa-products"
|
|
30181
30181
|
};
|
|
30182
|
-
const _sfc_main$
|
|
30182
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
30183
30183
|
__name: "SearchResultsSimilarQueries",
|
|
30184
30184
|
props: {
|
|
30185
30185
|
labels: {},
|
|
@@ -30217,8 +30217,8 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
30217
30217
|
};
|
|
30218
30218
|
};
|
|
30219
30219
|
return (_ctx, _cache) => {
|
|
30220
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30221
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
30220
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
|
|
30221
|
+
vue.createElementVNode("div", _hoisted_2$k, vue.toDisplayString(_ctx.labels.similarQueries), 1),
|
|
30222
30222
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(similarQueries.value, (similarQuery, index) => {
|
|
30223
30223
|
return vue.openBlock(), vue.createElementBlock("div", { key: index }, [
|
|
30224
30224
|
vue.createElementVNode("div", _hoisted_3$c, [
|
|
@@ -30237,7 +30237,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
30237
30237
|
]),
|
|
30238
30238
|
vue.createElementVNode("div", _hoisted_7, [
|
|
30239
30239
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(similarQuery.items, (product, index2) => {
|
|
30240
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30240
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
30241
30241
|
style: vue.normalizeStyle(_ctx.columnSize),
|
|
30242
30242
|
key: getDocumentKey(index2, product),
|
|
30243
30243
|
product,
|
|
@@ -30252,15 +30252,15 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
30252
30252
|
};
|
|
30253
30253
|
}
|
|
30254
30254
|
});
|
|
30255
|
-
const _hoisted_1$
|
|
30255
|
+
const _hoisted_1$p = {
|
|
30256
30256
|
key: 0,
|
|
30257
30257
|
class: "lupa-results-additional-panel"
|
|
30258
30258
|
};
|
|
30259
|
-
const _hoisted_2$
|
|
30259
|
+
const _hoisted_2$j = {
|
|
30260
30260
|
class: "lupa-results-additional-panel-items",
|
|
30261
30261
|
"data-cy": "lupa-results-additional-panel-items"
|
|
30262
30262
|
};
|
|
30263
|
-
const _sfc_main$
|
|
30263
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
30264
30264
|
__name: "AdditionalPanel",
|
|
30265
30265
|
props: {
|
|
30266
30266
|
panel: {},
|
|
@@ -30333,10 +30333,10 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
30333
30333
|
handleQueryChange();
|
|
30334
30334
|
});
|
|
30335
30335
|
return (_ctx, _cache) => {
|
|
30336
|
-
return hasResults.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30337
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
30336
|
+
return hasResults.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
|
|
30337
|
+
vue.createElementVNode("div", _hoisted_2$j, [
|
|
30338
30338
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(visibleItems.value, (item, index) => {
|
|
30339
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30339
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
30340
30340
|
key: index,
|
|
30341
30341
|
product: item,
|
|
30342
30342
|
options: _ctx.panel,
|
|
@@ -30354,11 +30354,11 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
30354
30354
|
};
|
|
30355
30355
|
}
|
|
30356
30356
|
});
|
|
30357
|
-
const _hoisted_1$
|
|
30357
|
+
const _hoisted_1$o = {
|
|
30358
30358
|
key: 0,
|
|
30359
30359
|
class: "lupa-results-additional-panels"
|
|
30360
30360
|
};
|
|
30361
|
-
const _sfc_main$
|
|
30361
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
30362
30362
|
__name: "AdditionalPanels",
|
|
30363
30363
|
props: {
|
|
30364
30364
|
options: {},
|
|
@@ -30375,9 +30375,9 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
30375
30375
|
return locationPanels.value.length > 0;
|
|
30376
30376
|
});
|
|
30377
30377
|
return (_ctx, _cache) => {
|
|
30378
|
-
return isVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30378
|
+
return isVisible.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
|
|
30379
30379
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(locationPanels.value, (panel) => {
|
|
30380
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30380
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$r, {
|
|
30381
30381
|
key: panel.queryKey,
|
|
30382
30382
|
panel,
|
|
30383
30383
|
options: _ctx.sdkOptions
|
|
@@ -30394,29 +30394,29 @@ const _export_sfc = (sfc, props) => {
|
|
|
30394
30394
|
}
|
|
30395
30395
|
return target2;
|
|
30396
30396
|
};
|
|
30397
|
-
const _sfc_main$
|
|
30398
|
-
const _hoisted_1$
|
|
30399
|
-
const _hoisted_2$
|
|
30397
|
+
const _sfc_main$p = {};
|
|
30398
|
+
const _hoisted_1$n = { class: "lupa-spinner-wrapper" };
|
|
30399
|
+
const _hoisted_2$i = { class: "lupa-spinner" };
|
|
30400
30400
|
function _sfc_render(_ctx, _cache) {
|
|
30401
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30402
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
30401
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
|
|
30402
|
+
vue.createElementVNode("div", _hoisted_2$i, [
|
|
30403
30403
|
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(12, (x) => {
|
|
30404
30404
|
return vue.createElementVNode("div", { key: x });
|
|
30405
30405
|
}), 64))
|
|
30406
30406
|
])
|
|
30407
30407
|
]);
|
|
30408
30408
|
}
|
|
30409
|
-
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30410
|
-
const _hoisted_1$
|
|
30409
|
+
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
|
|
30410
|
+
const _hoisted_1$m = {
|
|
30411
30411
|
id: "lupa-search-results-similar-results",
|
|
30412
30412
|
"data-cy": "lupa-search-results-similar-results"
|
|
30413
30413
|
};
|
|
30414
|
-
const _hoisted_2$
|
|
30414
|
+
const _hoisted_2$h = { class: "lupa-similar-results-label" };
|
|
30415
30415
|
const _hoisted_3$b = {
|
|
30416
30416
|
class: "lupa-products",
|
|
30417
30417
|
"data-cy": "lupa-products"
|
|
30418
30418
|
};
|
|
30419
|
-
const _sfc_main$
|
|
30419
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
30420
30420
|
__name: "SearchResultsSimilarResults",
|
|
30421
30421
|
props: {
|
|
30422
30422
|
columnSize: {},
|
|
@@ -30437,11 +30437,11 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
30437
30437
|
};
|
|
30438
30438
|
});
|
|
30439
30439
|
return (_ctx, _cache) => {
|
|
30440
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30441
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
30440
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
|
|
30441
|
+
vue.createElementVNode("div", _hoisted_2$h, vue.toDisplayString(_ctx.labels.similarResultsLabel), 1),
|
|
30442
30442
|
vue.createElementVNode("div", _hoisted_3$b, [
|
|
30443
30443
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(similarResults.value.items, (product, index) => {
|
|
30444
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30444
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
30445
30445
|
style: vue.normalizeStyle(_ctx.columnSize),
|
|
30446
30446
|
key: getDocumentKey(index, product),
|
|
30447
30447
|
product,
|
|
@@ -30562,15 +30562,15 @@ const extractRelatedSource = (source, searchResults, options, activeFilters) =>
|
|
|
30562
30562
|
return extractFacetsRelatedSource(source, searchResults, options, activeFilters);
|
|
30563
30563
|
}
|
|
30564
30564
|
});
|
|
30565
|
-
const _hoisted_1$
|
|
30566
|
-
const _hoisted_2$
|
|
30565
|
+
const _hoisted_1$l = { class: "lupa-related-query-item" };
|
|
30566
|
+
const _hoisted_2$g = { class: "lupa-related-query-image" };
|
|
30567
30567
|
const _hoisted_3$a = { class: "lupa-related-query-label" };
|
|
30568
30568
|
const _hoisted_4$4 = { class: "lupa-related-query-title" };
|
|
30569
30569
|
const _hoisted_5$2 = {
|
|
30570
30570
|
key: 0,
|
|
30571
30571
|
class: "lupa-related-query-count"
|
|
30572
30572
|
};
|
|
30573
|
-
const _sfc_main$
|
|
30573
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
30574
30574
|
__name: "RelatedQueryPanel",
|
|
30575
30575
|
props: {
|
|
30576
30576
|
query: {},
|
|
@@ -30666,9 +30666,9 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
30666
30666
|
});
|
|
30667
30667
|
return (_ctx, _cache) => {
|
|
30668
30668
|
var _a25;
|
|
30669
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30670
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
30671
|
-
itemToDisplay.value && image.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30669
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
|
|
30670
|
+
vue.createElementVNode("div", _hoisted_2$g, [
|
|
30671
|
+
itemToDisplay.value && image.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1q, {
|
|
30672
30672
|
key: 0,
|
|
30673
30673
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
30674
30674
|
"image-class": "lupa-related-query-image",
|
|
@@ -30684,16 +30684,16 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
30684
30684
|
};
|
|
30685
30685
|
}
|
|
30686
30686
|
});
|
|
30687
|
-
const _hoisted_1$
|
|
30687
|
+
const _hoisted_1$k = {
|
|
30688
30688
|
key: 0,
|
|
30689
30689
|
class: "lupa-related-queries"
|
|
30690
30690
|
};
|
|
30691
|
-
const _hoisted_2$
|
|
30691
|
+
const _hoisted_2$f = {
|
|
30692
30692
|
key: 0,
|
|
30693
30693
|
class: "lupa-related-queries-title"
|
|
30694
30694
|
};
|
|
30695
30695
|
const _hoisted_3$9 = ["onClick"];
|
|
30696
|
-
const _sfc_main$
|
|
30696
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
30697
30697
|
__name: "RelatedQueries",
|
|
30698
30698
|
props: {
|
|
30699
30699
|
options: {}
|
|
@@ -30787,8 +30787,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
30787
30787
|
};
|
|
30788
30788
|
return (_ctx, _cache) => {
|
|
30789
30789
|
var _a25, _b25, _c, _d;
|
|
30790
|
-
return _ctx.options && hasEnoughRelatedQueries.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30791
|
-
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_2$
|
|
30790
|
+
return _ctx.options && hasEnoughRelatedQueries.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
|
|
30791
|
+
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_2$f, vue.toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : vue.createCommentVNode("", true),
|
|
30792
30792
|
vue.createElementVNode("ul", null, [
|
|
30793
30793
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(relatedQueries2.value, (query) => {
|
|
30794
30794
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", {
|
|
@@ -30798,7 +30798,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
30798
30798
|
vue.createElementVNode("a", {
|
|
30799
30799
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
30800
30800
|
}, [
|
|
30801
|
-
vue.createVNode(_sfc_main$
|
|
30801
|
+
vue.createVNode(_sfc_main$n, {
|
|
30802
30802
|
"source-key": query.key,
|
|
30803
30803
|
options: _ctx.options,
|
|
30804
30804
|
query: query.value,
|
|
@@ -30842,13 +30842,13 @@ const extractRedirectionSuggestion = (searchText = "", options) => {
|
|
|
30842
30842
|
}
|
|
30843
30843
|
return null;
|
|
30844
30844
|
};
|
|
30845
|
-
const _hoisted_1$
|
|
30845
|
+
const _hoisted_1$j = {
|
|
30846
30846
|
key: 0,
|
|
30847
30847
|
class: "lupa-redirection-suggestion"
|
|
30848
30848
|
};
|
|
30849
|
-
const _hoisted_2$
|
|
30849
|
+
const _hoisted_2$e = { class: "lupa-redirections-suggestion-label" };
|
|
30850
30850
|
const _hoisted_3$8 = ["href"];
|
|
30851
|
-
const _sfc_main$
|
|
30851
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
30852
30852
|
__name: "RedirectionSuggestions",
|
|
30853
30853
|
props: {
|
|
30854
30854
|
options: {}
|
|
@@ -30871,19 +30871,19 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
30871
30871
|
)
|
|
30872
30872
|
);
|
|
30873
30873
|
return (_ctx, _cache) => {
|
|
30874
|
-
return redirectionSuggestion.value && label.value && link.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30875
|
-
vue.createElementVNode("h4", _hoisted_2$
|
|
30874
|
+
return redirectionSuggestion.value && label.value && link.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
|
|
30875
|
+
vue.createElementVNode("h4", _hoisted_2$e, [
|
|
30876
30876
|
vue.createElementVNode("a", { href: link.value }, vue.toDisplayString(label.value), 9, _hoisted_3$8)
|
|
30877
30877
|
])
|
|
30878
30878
|
])) : vue.createCommentVNode("", true);
|
|
30879
30879
|
};
|
|
30880
30880
|
}
|
|
30881
30881
|
});
|
|
30882
|
-
const _hoisted_1$
|
|
30882
|
+
const _hoisted_1$i = {
|
|
30883
30883
|
key: 0,
|
|
30884
30884
|
class: "lupa-refiners-loading-notice"
|
|
30885
30885
|
};
|
|
30886
|
-
const _sfc_main$
|
|
30886
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
30887
30887
|
__name: "RefinersLoadingNotice",
|
|
30888
30888
|
props: {
|
|
30889
30889
|
labels: {}
|
|
@@ -30894,22 +30894,22 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
30894
30894
|
const props = __props;
|
|
30895
30895
|
const label = vue.computed(() => props.labels.refinersLoadingNotice);
|
|
30896
30896
|
return (_ctx, _cache) => {
|
|
30897
|
-
return label.value && vue.unref(loadingRefiners) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30897
|
+
return label.value && vue.unref(loadingRefiners) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
|
|
30898
30898
|
vue.createElementVNode("p", null, vue.toDisplayString(label.value), 1),
|
|
30899
30899
|
vue.createVNode(Spinner)
|
|
30900
30900
|
])) : vue.createCommentVNode("", true);
|
|
30901
30901
|
};
|
|
30902
30902
|
}
|
|
30903
30903
|
});
|
|
30904
|
-
const _hoisted_1$
|
|
30905
|
-
const _hoisted_2$
|
|
30904
|
+
const _hoisted_1$h = { class: "lupa-related-query-item" };
|
|
30905
|
+
const _hoisted_2$d = { class: "lupa-related-query-image" };
|
|
30906
30906
|
const _hoisted_3$7 = { class: "lupa-related-query-label" };
|
|
30907
30907
|
const _hoisted_4$3 = { class: "lupa-related-query-title" };
|
|
30908
30908
|
const _hoisted_5$1 = {
|
|
30909
30909
|
key: 0,
|
|
30910
30910
|
class: "lupa-related-query-count"
|
|
30911
30911
|
};
|
|
30912
|
-
const _sfc_main$
|
|
30912
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
30913
30913
|
__name: "RelatedQueryPanelApi",
|
|
30914
30914
|
props: {
|
|
30915
30915
|
relatedQuery: {},
|
|
@@ -30941,9 +30941,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
30941
30941
|
});
|
|
30942
30942
|
return (_ctx, _cache) => {
|
|
30943
30943
|
var _a25;
|
|
30944
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
30945
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
30946
|
-
itemToDisplay.value && image.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
30944
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
|
|
30945
|
+
vue.createElementVNode("div", _hoisted_2$d, [
|
|
30946
|
+
itemToDisplay.value && image.value ? (vue.openBlock(), vue.createBlock(_sfc_main$1q, {
|
|
30947
30947
|
key: 0,
|
|
30948
30948
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
30949
30949
|
"image-class": "lupa-related-query-image",
|
|
@@ -30959,16 +30959,16 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
30959
30959
|
};
|
|
30960
30960
|
}
|
|
30961
30961
|
});
|
|
30962
|
-
const _hoisted_1$
|
|
30962
|
+
const _hoisted_1$g = {
|
|
30963
30963
|
key: 0,
|
|
30964
30964
|
class: "lupa-related-queries"
|
|
30965
30965
|
};
|
|
30966
|
-
const _hoisted_2$
|
|
30966
|
+
const _hoisted_2$c = {
|
|
30967
30967
|
key: 0,
|
|
30968
30968
|
class: "lupa-related-queries-title"
|
|
30969
30969
|
};
|
|
30970
30970
|
const _hoisted_3$6 = ["onClick"];
|
|
30971
|
-
const _sfc_main$
|
|
30971
|
+
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
30972
30972
|
__name: "RelatedQueriesApi",
|
|
30973
30973
|
props: {
|
|
30974
30974
|
options: {}
|
|
@@ -31020,8 +31020,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
31020
31020
|
};
|
|
31021
31021
|
return (_ctx, _cache) => {
|
|
31022
31022
|
var _a25, _b25, _c, _d;
|
|
31023
|
-
return hasEnoughRelatedQueries.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
31024
|
-
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_2$
|
|
31023
|
+
return hasEnoughRelatedQueries.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
|
|
31024
|
+
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_2$c, vue.toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : vue.createCommentVNode("", true),
|
|
31025
31025
|
vue.createElementVNode("ul", null, [
|
|
31026
31026
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(relatedQueries2.value, (query) => {
|
|
31027
31027
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
@@ -31031,7 +31031,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
31031
31031
|
vue.createElementVNode("a", {
|
|
31032
31032
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
31033
31033
|
}, [
|
|
31034
|
-
vue.createVNode(_sfc_main$
|
|
31034
|
+
vue.createVNode(_sfc_main$j, {
|
|
31035
31035
|
relatedQuery: query,
|
|
31036
31036
|
options: _ctx.options
|
|
31037
31037
|
}, null, 8, ["relatedQuery", "options"])
|
|
@@ -31043,6 +31043,49 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
31043
31043
|
};
|
|
31044
31044
|
}
|
|
31045
31045
|
});
|
|
31046
|
+
const _hoisted_1$f = { key: 0 };
|
|
31047
|
+
const _hoisted_2$b = ["innerHTML"];
|
|
31048
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
31049
|
+
__name: "ZeroResults",
|
|
31050
|
+
props: {
|
|
31051
|
+
emptyResultsLabel: {},
|
|
31052
|
+
currentQueryText: {},
|
|
31053
|
+
hasSimilarQueries: { type: Boolean },
|
|
31054
|
+
zeroResults: {}
|
|
31055
|
+
},
|
|
31056
|
+
setup(__props) {
|
|
31057
|
+
const props = __props;
|
|
31058
|
+
const searchResultStore = useSearchResultStore();
|
|
31059
|
+
const { searchResult } = storeToRefs(searchResultStore);
|
|
31060
|
+
const showDefaultZeroResultsTemplate = vue.computed(() => {
|
|
31061
|
+
var _a25, _b25;
|
|
31062
|
+
return props.emptyResultsLabel && ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) === void 0 || props.hasSimilarQueries && !((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries);
|
|
31063
|
+
});
|
|
31064
|
+
const showCustomZeroResultsTemplate = vue.computed(() => {
|
|
31065
|
+
var _a25, _b25;
|
|
31066
|
+
return ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) !== void 0 && (!props.hasSimilarQueries || ((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries));
|
|
31067
|
+
});
|
|
31068
|
+
const htmlTemplate = vue.computed(() => {
|
|
31069
|
+
var _a25;
|
|
31070
|
+
if ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) {
|
|
31071
|
+
return props.zeroResults.customHtml(searchResult.value);
|
|
31072
|
+
}
|
|
31073
|
+
return "";
|
|
31074
|
+
});
|
|
31075
|
+
return (_ctx, _cache) => {
|
|
31076
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
31077
|
+
showDefaultZeroResultsTemplate.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
|
|
31078
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.emptyResultsLabel) + " ", 1),
|
|
31079
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.currentQueryText), 1)
|
|
31080
|
+
])) : vue.createCommentVNode("", true),
|
|
31081
|
+
showCustomZeroResultsTemplate.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
31082
|
+
key: 1,
|
|
31083
|
+
innerHTML: htmlTemplate.value
|
|
31084
|
+
}, null, 8, _hoisted_2$b)) : vue.createCommentVNode("", true)
|
|
31085
|
+
], 64);
|
|
31086
|
+
};
|
|
31087
|
+
}
|
|
31088
|
+
});
|
|
31046
31089
|
const _hoisted_1$e = { id: "lupa-search-results-products" };
|
|
31047
31090
|
const _hoisted_2$a = {
|
|
31048
31091
|
class: "lupa-products",
|
|
@@ -31183,41 +31226,41 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
31183
31226
|
emit("filter");
|
|
31184
31227
|
};
|
|
31185
31228
|
return (_ctx, _cache) => {
|
|
31186
|
-
var _a25;
|
|
31229
|
+
var _a25, _b25, _c;
|
|
31187
31230
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
|
|
31188
31231
|
vue.unref(loading) && !vue.unref(isMobileSidebarVisible) ? (vue.openBlock(), vue.createBlock(Spinner, {
|
|
31189
31232
|
key: 0,
|
|
31190
31233
|
class: "lupa-loader"
|
|
31191
31234
|
})) : vue.createCommentVNode("", true),
|
|
31192
|
-
vue.createVNode(_sfc_main$
|
|
31235
|
+
vue.createVNode(_sfc_main$l, {
|
|
31193
31236
|
options: _ctx.options.redirectionSuggestions
|
|
31194
31237
|
}, null, 8, ["options"]),
|
|
31195
|
-
vue.createVNode(_sfc_main$
|
|
31238
|
+
vue.createVNode(_sfc_main$q, {
|
|
31196
31239
|
options: _ctx.options,
|
|
31197
31240
|
location: "top",
|
|
31198
31241
|
sdkOptions: _ctx.options.options
|
|
31199
31242
|
}, null, 8, ["options", "sdkOptions"]),
|
|
31200
|
-
showLocalRelatedQueries.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31243
|
+
showLocalRelatedQueries.value ? (vue.openBlock(), vue.createBlock(_sfc_main$m, {
|
|
31201
31244
|
key: 1,
|
|
31202
31245
|
options: _ctx.options.relatedQueries
|
|
31203
31246
|
}, null, 8, ["options"])) : vue.createCommentVNode("", true),
|
|
31204
|
-
showApiRelatedQueries.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31247
|
+
showApiRelatedQueries.value ? (vue.openBlock(), vue.createBlock(_sfc_main$i, {
|
|
31205
31248
|
key: 2,
|
|
31206
31249
|
options: _ctx.options.relatedQueries
|
|
31207
31250
|
}, null, 8, ["options"])) : vue.createCommentVNode("", true),
|
|
31208
31251
|
vue.unref(hasResults) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
31209
|
-
showTopFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31252
|
+
showTopFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$M, {
|
|
31210
31253
|
key: 0,
|
|
31211
31254
|
options: (_a25 = _ctx.options.filters) != null ? _a25 : {}
|
|
31212
31255
|
}, null, 8, ["options"])) : vue.createCommentVNode("", true),
|
|
31213
|
-
showMobileFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31256
|
+
showMobileFilters.value ? (vue.openBlock(), vue.createBlock(_sfc_main$F, {
|
|
31214
31257
|
key: 1,
|
|
31215
31258
|
class: "lupa-toolbar-mobile",
|
|
31216
31259
|
options: _ctx.options,
|
|
31217
31260
|
"pagination-location": "top",
|
|
31218
31261
|
onFilter: filter
|
|
31219
31262
|
}, null, 8, ["options"])) : vue.createCommentVNode("", true),
|
|
31220
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31263
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (vue.openBlock(), vue.createBlock(_sfc_main$_, {
|
|
31221
31264
|
key: 2,
|
|
31222
31265
|
class: vue.normalizeClass(currentFiltersClass.value),
|
|
31223
31266
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
@@ -31226,12 +31269,12 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
31226
31269
|
}, null, 8, ["class", "options", "expandable"])) : vue.createCommentVNode("", true)
|
|
31227
31270
|
], 64)) : vue.createCommentVNode("", true),
|
|
31228
31271
|
vue.unref(hasResults) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 4 }, [
|
|
31229
|
-
vue.createVNode(_sfc_main$
|
|
31272
|
+
vue.createVNode(_sfc_main$F, {
|
|
31230
31273
|
class: "lupa-toolbar-top",
|
|
31231
31274
|
options: _ctx.options,
|
|
31232
31275
|
"pagination-location": "top"
|
|
31233
31276
|
}, null, 8, ["options"]),
|
|
31234
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31277
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (vue.openBlock(), vue.createBlock(_sfc_main$_, {
|
|
31235
31278
|
key: 0,
|
|
31236
31279
|
class: vue.normalizeClass(currentFiltersClass.value),
|
|
31237
31280
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
@@ -31247,7 +31290,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
31247
31290
|
options: productCardOptions.value
|
|
31248
31291
|
});
|
|
31249
31292
|
}), 128)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(vue.unref(searchResult).items, (product, index) => {
|
|
31250
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31293
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
31251
31294
|
style: vue.normalizeStyle(columnSize.value),
|
|
31252
31295
|
key: getProductKeyAction(index, product),
|
|
31253
31296
|
product,
|
|
@@ -31264,32 +31307,36 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
31264
31307
|
onClick: goToFirstPage
|
|
31265
31308
|
}, vue.toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : vue.createCommentVNode("", true)
|
|
31266
31309
|
])) : vue.createCommentVNode("", true),
|
|
31267
|
-
vue.createVNode(_sfc_main$
|
|
31310
|
+
vue.createVNode(_sfc_main$F, {
|
|
31268
31311
|
class: "lupa-toolbar-bottom",
|
|
31269
31312
|
options: _ctx.options,
|
|
31270
31313
|
"pagination-location": "bottom"
|
|
31271
31314
|
}, null, 8, ["options"]),
|
|
31272
|
-
vue.createVNode(_sfc_main$
|
|
31315
|
+
vue.createVNode(_sfc_main$q, {
|
|
31273
31316
|
options: _ctx.options,
|
|
31274
31317
|
location: "bottom",
|
|
31275
31318
|
sdkOptions: _ctx.options.options
|
|
31276
31319
|
}, null, 8, ["options", "sdkOptions"])
|
|
31277
31320
|
], 64)) : !vue.unref(loading) && vue.unref(currentQueryText) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$2, [
|
|
31278
|
-
vue.
|
|
31279
|
-
|
|
31321
|
+
vue.createVNode(_sfc_main$h, {
|
|
31322
|
+
emptyResultsLabel: (_b25 = _ctx.options.labels) == null ? void 0 : _b25.emptyResults,
|
|
31323
|
+
currentQueryText: vue.unref(currentQueryText),
|
|
31324
|
+
hasSimilarQueries: hasSimilarQueries.value || hasSimilarResults.value,
|
|
31325
|
+
zeroResults: (_c = _ctx.options) == null ? void 0 : _c.zeroResults
|
|
31326
|
+
}, null, 8, ["emptyResultsLabel", "currentQueryText", "hasSimilarQueries", "zeroResults"])
|
|
31280
31327
|
])) : vue.createCommentVNode("", true),
|
|
31281
|
-
vue.createVNode(_sfc_main$
|
|
31328
|
+
vue.createVNode(_sfc_main$k, {
|
|
31282
31329
|
labels: _ctx.options.labels
|
|
31283
31330
|
}, null, 8, ["labels"]),
|
|
31284
31331
|
hasSimilarQueries.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
31285
|
-
vue.createVNode(_sfc_main$
|
|
31332
|
+
vue.createVNode(_sfc_main$s, {
|
|
31286
31333
|
labels: similarQueriesLabels.value,
|
|
31287
31334
|
columnSize: columnSize.value,
|
|
31288
31335
|
productCardOptions: productCardOptions.value
|
|
31289
31336
|
}, null, 8, ["labels", "columnSize", "productCardOptions"])
|
|
31290
31337
|
])) : vue.createCommentVNode("", true),
|
|
31291
31338
|
hasSimilarResults.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
31292
|
-
vue.createVNode(_sfc_main$
|
|
31339
|
+
vue.createVNode(_sfc_main$o, {
|
|
31293
31340
|
labels: similarResultsLabels.value,
|
|
31294
31341
|
columnSize: columnSize.value,
|
|
31295
31342
|
productCardOptions: productCardOptions.value
|
|
@@ -31368,14 +31415,14 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
31368
31415
|
])) : vue.createCommentVNode("", true),
|
|
31369
31416
|
hasRelatedCategoryChildren.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [
|
|
31370
31417
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(relatedCategoryChildren), (child) => {
|
|
31371
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31418
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$Z, {
|
|
31372
31419
|
key: getCategoryKey(child),
|
|
31373
31420
|
item: child,
|
|
31374
31421
|
options: categoryOptions.value
|
|
31375
31422
|
}, null, 8, ["item", "options"]);
|
|
31376
31423
|
}), 128))
|
|
31377
31424
|
])) : vue.createCommentVNode("", true),
|
|
31378
|
-
vue.createVNode(_sfc_main$
|
|
31425
|
+
vue.createVNode(_sfc_main$F, {
|
|
31379
31426
|
class: "lupa-toolbar-mobile",
|
|
31380
31427
|
"pagination-location": "top",
|
|
31381
31428
|
options: _ctx.options
|
|
@@ -31683,8 +31730,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
31683
31730
|
class: vue.normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !vue.unref(hasResults) }])
|
|
31684
31731
|
}, [
|
|
31685
31732
|
_ctx.isContainer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
|
|
31686
|
-
vue.createVNode(_sfc_main$
|
|
31687
|
-
vue.createVNode(_sfc_main
|
|
31733
|
+
vue.createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
31734
|
+
vue.createVNode(_sfc_main$10, {
|
|
31688
31735
|
"show-summary": true,
|
|
31689
31736
|
options: _ctx.options,
|
|
31690
31737
|
"is-product-list": (_a25 = _ctx.isProductList) != null ? _a25 : false
|
|
@@ -31694,12 +31741,12 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
31694
31741
|
key: 1,
|
|
31695
31742
|
options: _ctx.options
|
|
31696
31743
|
}, null, 8, ["options"])) : vue.createCommentVNode("", true),
|
|
31697
|
-
_ctx.options.filters ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31744
|
+
_ctx.options.filters ? (vue.openBlock(), vue.createBlock(_sfc_main$O, {
|
|
31698
31745
|
key: 2,
|
|
31699
31746
|
options: _ctx.options.filters,
|
|
31700
31747
|
onFilter: handleParamsChange
|
|
31701
31748
|
}, null, 8, ["options"])) : vue.createCommentVNode("", true),
|
|
31702
|
-
vue.unref(currentQueryText) || _ctx.isProductList ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31749
|
+
vue.unref(currentQueryText) || _ctx.isProductList ? (vue.openBlock(), vue.createBlock(_sfc_main$N, {
|
|
31703
31750
|
key: 3,
|
|
31704
31751
|
breadcrumbs: _ctx.options.breadcrumbs
|
|
31705
31752
|
}, null, 8, ["breadcrumbs"])) : vue.createCommentVNode("", true),
|
|
@@ -31708,7 +31755,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
31708
31755
|
id: "lupa-search-results",
|
|
31709
31756
|
class: vue.normalizeClass(["top-layout-wrapper", indicatorClasses.value])
|
|
31710
31757
|
}, [
|
|
31711
|
-
showFilterSidebar.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31758
|
+
showFilterSidebar.value ? (vue.openBlock(), vue.createBlock(_sfc_main$P, {
|
|
31712
31759
|
key: 0,
|
|
31713
31760
|
options: (_b25 = _ctx.options.filters) != null ? _b25 : {},
|
|
31714
31761
|
ref_key: "searchResultsFilters",
|
|
@@ -31716,8 +31763,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
31716
31763
|
onFilter: handleParamsChange
|
|
31717
31764
|
}, null, 8, ["options"])) : vue.createCommentVNode("", true),
|
|
31718
31765
|
vue.createElementVNode("div", _hoisted_2$8, [
|
|
31719
|
-
vue.createVNode(_sfc_main$
|
|
31720
|
-
vue.createVNode(_sfc_main
|
|
31766
|
+
vue.createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
31767
|
+
vue.createVNode(_sfc_main$10, {
|
|
31721
31768
|
options: _ctx.options,
|
|
31722
31769
|
"is-product-list": (_c = _ctx.isProductList) != null ? _c : false
|
|
31723
31770
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -31733,8 +31780,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
31733
31780
|
}, 8, ["options", "ssr"])
|
|
31734
31781
|
])
|
|
31735
31782
|
], 2)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 5 }, [
|
|
31736
|
-
vue.createVNode(_sfc_main$
|
|
31737
|
-
vue.createVNode(_sfc_main
|
|
31783
|
+
vue.createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
31784
|
+
vue.createVNode(_sfc_main$10, {
|
|
31738
31785
|
options: _ctx.options,
|
|
31739
31786
|
"is-product-list": (_d = _ctx.isProductList) != null ? _d : false
|
|
31740
31787
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -31742,7 +31789,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
31742
31789
|
id: "lupa-search-results",
|
|
31743
31790
|
class: vue.normalizeClass(indicatorClasses.value)
|
|
31744
31791
|
}, [
|
|
31745
|
-
showFilterSidebar.value ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
31792
|
+
showFilterSidebar.value ? (vue.openBlock(), vue.createBlock(_sfc_main$P, {
|
|
31746
31793
|
key: 0,
|
|
31747
31794
|
options: (_e = _ctx.options.filters) != null ? _e : {},
|
|
31748
31795
|
ref_key: "searchResultsFilters",
|
|
@@ -31893,7 +31940,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
31893
31940
|
onClick: vue.withModifiers(innerClick, ["stop"])
|
|
31894
31941
|
}, [
|
|
31895
31942
|
vue.createElementVNode("div", _hoisted_1$a, [
|
|
31896
|
-
vue.createVNode(_sfc_main$
|
|
31943
|
+
vue.createVNode(_sfc_main$13, {
|
|
31897
31944
|
options: fullSearchBoxOptions.value,
|
|
31898
31945
|
"is-search-container": true,
|
|
31899
31946
|
ref_key: "searchBox",
|
|
@@ -33528,7 +33575,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
33528
33575
|
key: getProductKeyAction(index, product)
|
|
33529
33576
|
}, {
|
|
33530
33577
|
default: vue.withCtx(() => [
|
|
33531
|
-
vue.createVNode(_sfc_main$
|
|
33578
|
+
vue.createVNode(_sfc_main$t, {
|
|
33532
33579
|
product,
|
|
33533
33580
|
options: _ctx.options,
|
|
33534
33581
|
"click-tracking-settings": clickTrackingSettings.value,
|
|
@@ -33543,7 +33590,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
33543
33590
|
_: 1
|
|
33544
33591
|
}, 16)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$3, [
|
|
33545
33592
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(recommendations.value, (product, index) => {
|
|
33546
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
33593
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
33547
33594
|
style: vue.normalizeStyle(columnSize.value),
|
|
33548
33595
|
key: getProductKeyAction(index, product),
|
|
33549
33596
|
product,
|
|
@@ -33789,7 +33836,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
33789
33836
|
vue.createElementVNode("a", {
|
|
33790
33837
|
href: getLink(product)
|
|
33791
33838
|
}, [
|
|
33792
|
-
vue.createVNode(_sfc_main$
|
|
33839
|
+
vue.createVNode(_sfc_main$E, {
|
|
33793
33840
|
item: product,
|
|
33794
33841
|
options: image.value
|
|
33795
33842
|
}, null, 8, ["item", "options"])
|
|
@@ -33954,7 +34001,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
33954
34001
|
return (_ctx, _cache) => {
|
|
33955
34002
|
return vue.openBlock(), vue.createElementBlock("section", _hoisted_1$3, [
|
|
33956
34003
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.searchResults, (product, index) => {
|
|
33957
|
-
return vue.openBlock(), vue.createBlock(_sfc_main$
|
|
34004
|
+
return vue.openBlock(), vue.createBlock(_sfc_main$t, {
|
|
33958
34005
|
class: "lupa-chat-product-card",
|
|
33959
34006
|
key: getProductKeyAction(index, product),
|
|
33960
34007
|
product,
|
|
@@ -34288,7 +34335,7 @@ exports.DocumentElementType = DocumentElementType;
|
|
|
34288
34335
|
exports.LupaSearch = LupaSearch;
|
|
34289
34336
|
exports.ProductList = _sfc_main$c;
|
|
34290
34337
|
exports.Recommendations = _sfc_main$a;
|
|
34291
|
-
exports.SearchBox = _sfc_main$
|
|
34338
|
+
exports.SearchBox = _sfc_main$13;
|
|
34292
34339
|
exports.SearchBoxPanelType = SearchBoxPanelType;
|
|
34293
34340
|
exports.SearchContainer = _sfc_main$b;
|
|
34294
34341
|
exports.SearchResults = _sfc_main$e;
|