@getlupa/client 1.20.6 → 1.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.iife.js +485 -438
- package/dist/lupaSearch.js +485 -438
- package/dist/lupaSearch.mjs +485 -438
- package/dist/lupaSearch.umd.js +485 -438
- package/package.json +2 -2
package/dist/lupaSearch.js
CHANGED
|
@@ -19547,7 +19547,7 @@ const getApiUrl = (environment, customBaseUrl) => {
|
|
|
19547
19547
|
}
|
|
19548
19548
|
return Env[environment] || Env["production"];
|
|
19549
19549
|
};
|
|
19550
|
-
const _sfc_main$
|
|
19550
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
19551
19551
|
__name: "VoiceSearchProgressCircle",
|
|
19552
19552
|
props: {
|
|
19553
19553
|
isRecording: { type: Boolean },
|
|
@@ -19760,14 +19760,14 @@ function useVoiceRecorder(options) {
|
|
|
19760
19760
|
closeSocket
|
|
19761
19761
|
};
|
|
19762
19762
|
}
|
|
19763
|
-
const _hoisted_1$
|
|
19763
|
+
const _hoisted_1$1l = {
|
|
19764
19764
|
key: 0,
|
|
19765
19765
|
class: "lupa-dialog-overlay"
|
|
19766
19766
|
};
|
|
19767
|
-
const _hoisted_2$
|
|
19767
|
+
const _hoisted_2$W = { class: "lupa-dialog-content" };
|
|
19768
19768
|
const _hoisted_3$E = { class: "lupa-listening-text" };
|
|
19769
19769
|
const _hoisted_4$u = { class: "lupa-mic-button-wrapper" };
|
|
19770
|
-
const _sfc_main$
|
|
19770
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
19771
19771
|
__name: "VoiceSearchDialog",
|
|
19772
19772
|
props: {
|
|
19773
19773
|
isOpen: { type: Boolean },
|
|
@@ -19871,19 +19871,19 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
19871
19871
|
});
|
|
19872
19872
|
return (_ctx, _cache) => {
|
|
19873
19873
|
return openBlock(), createElementBlock("div", null, [
|
|
19874
|
-
props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
19874
|
+
props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1l, [
|
|
19875
19875
|
createBaseVNode("button", {
|
|
19876
19876
|
class: "lupa-dialog-box-close-button",
|
|
19877
19877
|
onClick: _cache[0] || (_cache[0] = () => emit2("close"))
|
|
19878
19878
|
}),
|
|
19879
|
-
createBaseVNode("div", _hoisted_2$
|
|
19879
|
+
createBaseVNode("div", _hoisted_2$W, [
|
|
19880
19880
|
createBaseVNode("p", _hoisted_3$E, toDisplayString(description.value), 1),
|
|
19881
19881
|
createBaseVNode("div", _hoisted_4$u, [
|
|
19882
19882
|
createBaseVNode("button", {
|
|
19883
19883
|
class: normalizeClass(["lupa-mic-button", { recording: unref(isRecording) }]),
|
|
19884
19884
|
onClick: handleRecordingButtonClick
|
|
19885
19885
|
}, null, 2),
|
|
19886
|
-
createVNode(_sfc_main$
|
|
19886
|
+
createVNode(_sfc_main$1A, {
|
|
19887
19887
|
ref_key: "voiceSearchProgressBar",
|
|
19888
19888
|
ref: voiceSearchProgressBar,
|
|
19889
19889
|
class: "lupa-progress-circle",
|
|
@@ -19898,8 +19898,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
19898
19898
|
};
|
|
19899
19899
|
}
|
|
19900
19900
|
});
|
|
19901
|
-
const _hoisted_1$
|
|
19902
|
-
const _hoisted_2$
|
|
19901
|
+
const _hoisted_1$1k = { id: "lupa-search-box-input-container" };
|
|
19902
|
+
const _hoisted_2$V = { class: "lupa-input-clear" };
|
|
19903
19903
|
const _hoisted_3$D = { id: "lupa-search-box-input" };
|
|
19904
19904
|
const _hoisted_4$t = ["value"];
|
|
19905
19905
|
const _hoisted_5$k = ["aria-label", "placeholder"];
|
|
@@ -19908,7 +19908,7 @@ const _hoisted_6$8 = {
|
|
|
19908
19908
|
class: "lupa-close-label"
|
|
19909
19909
|
};
|
|
19910
19910
|
const _hoisted_7$5 = { key: 1 };
|
|
19911
|
-
const _sfc_main$
|
|
19911
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
19912
19912
|
__name: "SearchBoxInput",
|
|
19913
19913
|
props: {
|
|
19914
19914
|
options: {},
|
|
@@ -20036,8 +20036,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
20036
20036
|
};
|
|
20037
20037
|
__expose({ focus });
|
|
20038
20038
|
return (_ctx, _cache) => {
|
|
20039
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20040
|
-
createBaseVNode("div", _hoisted_2$
|
|
20039
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1k, [
|
|
20040
|
+
createBaseVNode("div", _hoisted_2$V, [
|
|
20041
20041
|
createBaseVNode("div", {
|
|
20042
20042
|
class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
|
|
20043
20043
|
onClick: clear
|
|
@@ -20086,7 +20086,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
20086
20086
|
class: "lupa-voice-search-button"
|
|
20087
20087
|
})
|
|
20088
20088
|
])) : createCommentVNode("", true),
|
|
20089
|
-
isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$
|
|
20089
|
+
isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1z, {
|
|
20090
20090
|
key: 2,
|
|
20091
20091
|
ref_key: "voiceDialogOverlay",
|
|
20092
20092
|
ref: voiceDialogOverlay,
|
|
@@ -20100,7 +20100,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
20100
20100
|
};
|
|
20101
20101
|
}
|
|
20102
20102
|
});
|
|
20103
|
-
const _sfc_main$
|
|
20103
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
20104
20104
|
__name: "SearchBoxMoreResults",
|
|
20105
20105
|
props: {
|
|
20106
20106
|
labels: {},
|
|
@@ -20138,9 +20138,9 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
20138
20138
|
};
|
|
20139
20139
|
}
|
|
20140
20140
|
});
|
|
20141
|
-
const _hoisted_1$
|
|
20142
|
-
const _hoisted_2$
|
|
20143
|
-
const _sfc_main$
|
|
20141
|
+
const _hoisted_1$1j = { class: "lupa-search-box-history-item" };
|
|
20142
|
+
const _hoisted_2$U = { class: "lupa-search-box-history-item-content" };
|
|
20143
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
20144
20144
|
__name: "SearchBoxHistoryItem",
|
|
20145
20145
|
props: {
|
|
20146
20146
|
item: {},
|
|
@@ -20157,8 +20157,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
20157
20157
|
emit2("click", { query: props.item });
|
|
20158
20158
|
};
|
|
20159
20159
|
return (_ctx, _cache) => {
|
|
20160
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20161
|
-
createBaseVNode("div", _hoisted_2$
|
|
20160
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1j, [
|
|
20161
|
+
createBaseVNode("div", _hoisted_2$U, [
|
|
20162
20162
|
createBaseVNode("div", {
|
|
20163
20163
|
class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
|
|
20164
20164
|
onClick: click2
|
|
@@ -20172,11 +20172,11 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
20172
20172
|
};
|
|
20173
20173
|
}
|
|
20174
20174
|
});
|
|
20175
|
-
const _hoisted_1$
|
|
20175
|
+
const _hoisted_1$1i = {
|
|
20176
20176
|
key: 0,
|
|
20177
20177
|
class: "lupa-search-box-history-panel"
|
|
20178
20178
|
};
|
|
20179
|
-
const _sfc_main$
|
|
20179
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
20180
20180
|
__name: "SearchBoxHistoryPanel",
|
|
20181
20181
|
props: {
|
|
20182
20182
|
options: {}
|
|
@@ -20227,9 +20227,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
20227
20227
|
}
|
|
20228
20228
|
};
|
|
20229
20229
|
return (_ctx, _cache) => {
|
|
20230
|
-
return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
20230
|
+
return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1i, [
|
|
20231
20231
|
(openBlock(true), createElementBlock(Fragment, null, renderList(limitedHistory.value, (item, index) => {
|
|
20232
|
-
return openBlock(), createBlock(_sfc_main$
|
|
20232
|
+
return openBlock(), createBlock(_sfc_main$1w, {
|
|
20233
20233
|
key: item,
|
|
20234
20234
|
item,
|
|
20235
20235
|
highlighted: index === highlightIndex.value,
|
|
@@ -20245,15 +20245,15 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
20245
20245
|
};
|
|
20246
20246
|
}
|
|
20247
20247
|
});
|
|
20248
|
-
const _hoisted_1$
|
|
20249
|
-
const _sfc_main$
|
|
20248
|
+
const _hoisted_1$1h = { class: "lupa-search-box-no-results" };
|
|
20249
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
20250
20250
|
__name: "SearchBoxNoResults",
|
|
20251
20251
|
props: {
|
|
20252
20252
|
labels: {}
|
|
20253
20253
|
},
|
|
20254
20254
|
setup(__props) {
|
|
20255
20255
|
return (_ctx, _cache) => {
|
|
20256
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
20256
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1h, toDisplayString(_ctx.labels.noResults), 1);
|
|
20257
20257
|
};
|
|
20258
20258
|
}
|
|
20259
20259
|
});
|
|
@@ -20285,8 +20285,8 @@ const generateGridTemplate = (elements) => {
|
|
|
20285
20285
|
}
|
|
20286
20286
|
return gridTemplate.join(" ");
|
|
20287
20287
|
};
|
|
20288
|
-
const _hoisted_1$
|
|
20289
|
-
const _hoisted_2$
|
|
20288
|
+
const _hoisted_1$1g = ["innerHTML"];
|
|
20289
|
+
const _hoisted_2$T = {
|
|
20290
20290
|
key: 1,
|
|
20291
20291
|
"data-cy": "lupa-suggestion-value",
|
|
20292
20292
|
class: "lupa-suggestion-value"
|
|
@@ -20304,7 +20304,7 @@ const _hoisted_5$j = {
|
|
|
20304
20304
|
class: "lupa-suggestion-facet-value",
|
|
20305
20305
|
"data-cy": "lupa-suggestion-facet-value"
|
|
20306
20306
|
};
|
|
20307
|
-
const _sfc_main$
|
|
20307
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
20308
20308
|
__name: "SearchBoxSuggestion",
|
|
20309
20309
|
props: {
|
|
20310
20310
|
suggestion: {},
|
|
@@ -20341,7 +20341,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
20341
20341
|
class: "lupa-suggestion-value",
|
|
20342
20342
|
"data-cy": "lupa-suggestion-value",
|
|
20343
20343
|
innerHTML: _ctx.suggestion.displayHighlight
|
|
20344
|
-
}, null, 8, _hoisted_1$
|
|
20344
|
+
}, null, 8, _hoisted_1$1g)) : (openBlock(), createElementBlock("div", _hoisted_2$T, toDisplayString(_ctx.suggestion.display), 1)),
|
|
20345
20345
|
_ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
20346
20346
|
createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
|
|
20347
20347
|
createBaseVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
|
|
@@ -20350,11 +20350,11 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
20350
20350
|
};
|
|
20351
20351
|
}
|
|
20352
20352
|
});
|
|
20353
|
-
const _hoisted_1$
|
|
20353
|
+
const _hoisted_1$1f = {
|
|
20354
20354
|
id: "lupa-search-box-suggestions",
|
|
20355
20355
|
"data-cy": "lupa-search-box-suggestions"
|
|
20356
20356
|
};
|
|
20357
|
-
const _sfc_main$
|
|
20357
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
20358
20358
|
__name: "SearchBoxSuggestions",
|
|
20359
20359
|
props: {
|
|
20360
20360
|
items: {},
|
|
@@ -20421,9 +20421,9 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
20421
20421
|
});
|
|
20422
20422
|
});
|
|
20423
20423
|
return (_ctx, _cache) => {
|
|
20424
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20424
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1f, [
|
|
20425
20425
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
|
|
20426
|
-
return openBlock(), createBlock(_sfc_main$
|
|
20426
|
+
return openBlock(), createBlock(_sfc_main$1t, {
|
|
20427
20427
|
key: getSuggestionKey(item),
|
|
20428
20428
|
class: normalizeClass([
|
|
20429
20429
|
"lupa-suggestion",
|
|
@@ -20455,7 +20455,7 @@ const debounce = (func, timeout) => {
|
|
|
20455
20455
|
}, timeout);
|
|
20456
20456
|
};
|
|
20457
20457
|
};
|
|
20458
|
-
const _sfc_main$
|
|
20458
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
20459
20459
|
__name: "SearchBoxSuggestionsWrapper",
|
|
20460
20460
|
props: {
|
|
20461
20461
|
panel: {},
|
|
@@ -20498,7 +20498,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
20498
20498
|
const getSuggestionsDebounced = debounce(getSuggestions, props.debounce);
|
|
20499
20499
|
watch(() => props.panel.limit, getSuggestionsDebounced);
|
|
20500
20500
|
return (_ctx, _cache) => {
|
|
20501
|
-
return openBlock(), createBlock(_sfc_main$
|
|
20501
|
+
return openBlock(), createBlock(_sfc_main$1s, {
|
|
20502
20502
|
items: searchResult.value,
|
|
20503
20503
|
highlight: _ctx.panel.highlight,
|
|
20504
20504
|
queryKey: _ctx.panel.queryKey,
|
|
@@ -29780,9 +29780,9 @@ const replaceImageWithPlaceholder = (e2, placeholder) => {
|
|
|
29780
29780
|
targetImage.src = placeholder;
|
|
29781
29781
|
}
|
|
29782
29782
|
};
|
|
29783
|
-
const _hoisted_1$
|
|
29784
|
-
const _hoisted_2$
|
|
29785
|
-
const _sfc_main$
|
|
29783
|
+
const _hoisted_1$1e = ["src"];
|
|
29784
|
+
const _hoisted_2$S = ["src"];
|
|
29785
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
29786
29786
|
__name: "ProductImage",
|
|
29787
29787
|
props: {
|
|
29788
29788
|
item: {},
|
|
@@ -29924,7 +29924,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
29924
29924
|
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
|
|
29925
29925
|
onError: replaceWithPlaceholder,
|
|
29926
29926
|
key: finalUrl.value
|
|
29927
|
-
}), null, 16, _hoisted_1$
|
|
29927
|
+
}), null, 16, _hoisted_1$1e))
|
|
29928
29928
|
]),
|
|
29929
29929
|
_: 1
|
|
29930
29930
|
})) : (openBlock(), createElementBlock("img", mergeProps({
|
|
@@ -29932,12 +29932,12 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
29932
29932
|
class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
|
|
29933
29933
|
style: styleOverride.value,
|
|
29934
29934
|
src: finalMainImageUrl.value
|
|
29935
|
-
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$
|
|
29935
|
+
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$S))
|
|
29936
29936
|
], 38);
|
|
29937
29937
|
};
|
|
29938
29938
|
}
|
|
29939
29939
|
});
|
|
29940
|
-
const _sfc_main$
|
|
29940
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
29941
29941
|
__name: "SearchBoxProductImage",
|
|
29942
29942
|
props: {
|
|
29943
29943
|
item: {},
|
|
@@ -29945,7 +29945,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
29945
29945
|
},
|
|
29946
29946
|
setup(__props) {
|
|
29947
29947
|
return (_ctx, _cache) => {
|
|
29948
|
-
return openBlock(), createBlock(_sfc_main$
|
|
29948
|
+
return openBlock(), createBlock(_sfc_main$1q, {
|
|
29949
29949
|
item: _ctx.item,
|
|
29950
29950
|
options: _ctx.options,
|
|
29951
29951
|
"wrapper-class": "lupa-search-box-image-wrapper",
|
|
@@ -29954,12 +29954,12 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
29954
29954
|
};
|
|
29955
29955
|
}
|
|
29956
29956
|
});
|
|
29957
|
-
const _hoisted_1$
|
|
29958
|
-
const _hoisted_2$
|
|
29957
|
+
const _hoisted_1$1d = ["innerHTML"];
|
|
29958
|
+
const _hoisted_2$R = {
|
|
29959
29959
|
key: 1,
|
|
29960
29960
|
class: "lupa-search-box-product-title"
|
|
29961
29961
|
};
|
|
29962
|
-
const _sfc_main$
|
|
29962
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
29963
29963
|
__name: "SearchBoxProductTitle",
|
|
29964
29964
|
props: {
|
|
29965
29965
|
item: {},
|
|
@@ -29982,18 +29982,18 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
29982
29982
|
key: 0,
|
|
29983
29983
|
class: "lupa-search-box-product-title",
|
|
29984
29984
|
innerHTML: sanitizedTitle.value
|
|
29985
|
-
}, null, 8, _hoisted_1$
|
|
29985
|
+
}, null, 8, _hoisted_1$1d)) : (openBlock(), createElementBlock("div", _hoisted_2$R, [
|
|
29986
29986
|
createBaseVNode("strong", null, toDisplayString(title.value), 1)
|
|
29987
29987
|
]));
|
|
29988
29988
|
};
|
|
29989
29989
|
}
|
|
29990
29990
|
});
|
|
29991
|
-
const _hoisted_1$
|
|
29992
|
-
const _hoisted_2$
|
|
29991
|
+
const _hoisted_1$1c = ["innerHTML"];
|
|
29992
|
+
const _hoisted_2$Q = {
|
|
29993
29993
|
key: 1,
|
|
29994
29994
|
class: "lupa-search-box-product-description"
|
|
29995
29995
|
};
|
|
29996
|
-
const _sfc_main$
|
|
29996
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
29997
29997
|
__name: "SearchBoxProductDescription",
|
|
29998
29998
|
props: {
|
|
29999
29999
|
item: {},
|
|
@@ -30016,12 +30016,12 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
30016
30016
|
key: 0,
|
|
30017
30017
|
class: "lupa-search-box-product-description",
|
|
30018
30018
|
innerHTML: sanitizedDescription.value
|
|
30019
|
-
}, null, 8, _hoisted_1$
|
|
30019
|
+
}, null, 8, _hoisted_1$1c)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(description.value), 1));
|
|
30020
30020
|
};
|
|
30021
30021
|
}
|
|
30022
30022
|
});
|
|
30023
|
-
const _hoisted_1$
|
|
30024
|
-
const _sfc_main$
|
|
30023
|
+
const _hoisted_1$1b = { class: "lupa-search-box-product-price" };
|
|
30024
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
30025
30025
|
__name: "SearchBoxProductPrice",
|
|
30026
30026
|
props: {
|
|
30027
30027
|
item: {},
|
|
@@ -30043,13 +30043,13 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
30043
30043
|
);
|
|
30044
30044
|
});
|
|
30045
30045
|
return (_ctx, _cache) => {
|
|
30046
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30046
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1b, [
|
|
30047
30047
|
createBaseVNode("strong", null, toDisplayString(price.value), 1)
|
|
30048
30048
|
]);
|
|
30049
30049
|
};
|
|
30050
30050
|
}
|
|
30051
30051
|
});
|
|
30052
|
-
const _sfc_main$
|
|
30052
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
30053
30053
|
__name: "SearchBoxProductRegularPrice",
|
|
30054
30054
|
props: {
|
|
30055
30055
|
item: {},
|
|
@@ -30080,12 +30080,12 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
30080
30080
|
};
|
|
30081
30081
|
}
|
|
30082
30082
|
});
|
|
30083
|
-
const _hoisted_1$
|
|
30084
|
-
const _hoisted_2$
|
|
30083
|
+
const _hoisted_1$1a = ["innerHTML"];
|
|
30084
|
+
const _hoisted_2$P = { key: 0 };
|
|
30085
30085
|
const _hoisted_3$B = { key: 1 };
|
|
30086
30086
|
const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
|
|
30087
30087
|
const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
|
|
30088
|
-
const _sfc_main$
|
|
30088
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
30089
30089
|
__name: "SearchBoxProductCustom",
|
|
30090
30090
|
props: {
|
|
30091
30091
|
item: {},
|
|
@@ -30111,11 +30111,11 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
30111
30111
|
key: 0,
|
|
30112
30112
|
class: [className.value, "lupa-search-box-product-custom"],
|
|
30113
30113
|
innerHTML: text.value
|
|
30114
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
30114
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$1a)) : (openBlock(), createElementBlock("div", mergeProps({
|
|
30115
30115
|
key: 1,
|
|
30116
30116
|
class: [className.value, "lupa-search-box-product-custom"]
|
|
30117
30117
|
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
|
|
30118
|
-
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30118
|
+
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$B, [
|
|
30119
30119
|
createBaseVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
|
|
30120
30120
|
createBaseVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
|
|
30121
30121
|
]))
|
|
@@ -30123,8 +30123,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
30123
30123
|
};
|
|
30124
30124
|
}
|
|
30125
30125
|
});
|
|
30126
|
-
const _hoisted_1$
|
|
30127
|
-
const _sfc_main$
|
|
30126
|
+
const _hoisted_1$19 = ["innerHTML"];
|
|
30127
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
30128
30128
|
__name: "SearchBoxProductCustomHtml",
|
|
30129
30129
|
props: {
|
|
30130
30130
|
item: {},
|
|
@@ -30149,7 +30149,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
30149
30149
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
30150
30150
|
class: className.value,
|
|
30151
30151
|
innerHTML: text.value
|
|
30152
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
30152
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$19);
|
|
30153
30153
|
};
|
|
30154
30154
|
}
|
|
30155
30155
|
});
|
|
@@ -30464,12 +30464,12 @@ const useSearchResultStore = /* @__PURE__ */ defineStore("searchResult", () => {
|
|
|
30464
30464
|
setRelatedQueriesApiEnabled
|
|
30465
30465
|
};
|
|
30466
30466
|
});
|
|
30467
|
-
const _hoisted_1$
|
|
30468
|
-
const _hoisted_2$
|
|
30467
|
+
const _hoisted_1$18 = { class: "lupa-search-box-add-to-cart-wrapper" };
|
|
30468
|
+
const _hoisted_2$O = { class: "lupa-search-box-product-addtocart" };
|
|
30469
30469
|
const _hoisted_3$A = ["disabled"];
|
|
30470
30470
|
const _hoisted_4$q = ["href"];
|
|
30471
30471
|
const _hoisted_5$h = ["disabled"];
|
|
30472
|
-
const _sfc_main$
|
|
30472
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
30473
30473
|
__name: "SearchBoxProductAddToCart",
|
|
30474
30474
|
props: {
|
|
30475
30475
|
item: {},
|
|
@@ -30508,8 +30508,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
30508
30508
|
return Boolean(props.link && props.options.link);
|
|
30509
30509
|
});
|
|
30510
30510
|
return (_ctx, _cache) => {
|
|
30511
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30512
|
-
createBaseVNode("div", _hoisted_2$
|
|
30511
|
+
return openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
30512
|
+
createBaseVNode("div", _hoisted_2$O, [
|
|
30513
30513
|
hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
30514
30514
|
key: 0,
|
|
30515
30515
|
class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
|
|
@@ -30530,23 +30530,23 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
30530
30530
|
};
|
|
30531
30531
|
}
|
|
30532
30532
|
});
|
|
30533
|
-
const _hoisted_1$
|
|
30533
|
+
const _hoisted_1$17 = {
|
|
30534
30534
|
key: 1,
|
|
30535
30535
|
class: "lupa-search-box-element-badge-wrapper"
|
|
30536
30536
|
};
|
|
30537
30537
|
const __default__$4 = {
|
|
30538
30538
|
components: {
|
|
30539
|
-
SearchBoxProductImage: _sfc_main$
|
|
30540
|
-
SearchBoxProductTitle: _sfc_main$
|
|
30541
|
-
SearchBoxProductDescription: _sfc_main$
|
|
30542
|
-
SearchBoxProductPrice: _sfc_main$
|
|
30543
|
-
SearchBoxProductRegularPrice: _sfc_main$
|
|
30544
|
-
SearchBoxProductCustom: _sfc_main$
|
|
30545
|
-
SearchBoxProductCustomHtml: _sfc_main$
|
|
30546
|
-
SearchBoxProductAddToCart: _sfc_main$
|
|
30539
|
+
SearchBoxProductImage: _sfc_main$1p,
|
|
30540
|
+
SearchBoxProductTitle: _sfc_main$1o,
|
|
30541
|
+
SearchBoxProductDescription: _sfc_main$1n,
|
|
30542
|
+
SearchBoxProductPrice: _sfc_main$1m,
|
|
30543
|
+
SearchBoxProductRegularPrice: _sfc_main$1l,
|
|
30544
|
+
SearchBoxProductCustom: _sfc_main$1k,
|
|
30545
|
+
SearchBoxProductCustomHtml: _sfc_main$1j,
|
|
30546
|
+
SearchBoxProductAddToCart: _sfc_main$1i
|
|
30547
30547
|
}
|
|
30548
30548
|
};
|
|
30549
|
-
const _sfc_main$
|
|
30549
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
|
|
30550
30550
|
__name: "SearchBoxProductElement",
|
|
30551
30551
|
props: {
|
|
30552
30552
|
item: {},
|
|
@@ -30618,7 +30618,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
|
|
|
30618
30618
|
"dynamic-attributes": dynamicAttributes.value,
|
|
30619
30619
|
link: _ctx.link
|
|
30620
30620
|
}, renderDynamicAttributesOnParentElement.value && dynamicAttributes.value), null, 16, ["item", "options", "labels", "class", "inStock", "dynamic-attributes", "link"])) : createCommentVNode("", true)
|
|
30621
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
30621
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$17, [
|
|
30622
30622
|
displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
|
|
30623
30623
|
key: 0,
|
|
30624
30624
|
item: enhancedItem.value,
|
|
@@ -30633,14 +30633,14 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
|
|
|
30633
30633
|
};
|
|
30634
30634
|
}
|
|
30635
30635
|
}));
|
|
30636
|
-
const _hoisted_1$
|
|
30637
|
-
const _hoisted_2$
|
|
30636
|
+
const _hoisted_1$16 = { class: "lupa-badge-title" };
|
|
30637
|
+
const _hoisted_2$N = ["src"];
|
|
30638
30638
|
const _hoisted_3$z = { key: 1 };
|
|
30639
30639
|
const _hoisted_4$p = {
|
|
30640
30640
|
key: 0,
|
|
30641
30641
|
class: "lupa-badge-full-text"
|
|
30642
30642
|
};
|
|
30643
|
-
const _sfc_main$
|
|
30643
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
30644
30644
|
__name: "SearchResultGeneratedBadge",
|
|
30645
30645
|
props: {
|
|
30646
30646
|
options: {},
|
|
@@ -30673,11 +30673,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
30673
30673
|
class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
|
|
30674
30674
|
style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
|
|
30675
30675
|
}, [
|
|
30676
|
-
createBaseVNode("span", _hoisted_1$
|
|
30676
|
+
createBaseVNode("span", _hoisted_1$16, [
|
|
30677
30677
|
image.value ? (openBlock(), createElementBlock("img", {
|
|
30678
30678
|
key: 0,
|
|
30679
30679
|
src: image.value
|
|
30680
|
-
}, null, 8, _hoisted_2$
|
|
30680
|
+
}, null, 8, _hoisted_2$N)) : createCommentVNode("", true),
|
|
30681
30681
|
hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$z, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
|
|
30682
30682
|
]),
|
|
30683
30683
|
hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
|
|
@@ -30685,8 +30685,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
30685
30685
|
};
|
|
30686
30686
|
}
|
|
30687
30687
|
});
|
|
30688
|
-
const _hoisted_1$
|
|
30689
|
-
const _sfc_main$
|
|
30688
|
+
const _hoisted_1$15 = { class: "lupa-generated-badges" };
|
|
30689
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
30690
30690
|
__name: "SearchResultGeneratedBadges",
|
|
30691
30691
|
props: {
|
|
30692
30692
|
options: {}
|
|
@@ -30712,9 +30712,9 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
30712
30712
|
})).filter((b) => Boolean(b.id));
|
|
30713
30713
|
});
|
|
30714
30714
|
return (_ctx, _cache) => {
|
|
30715
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30715
|
+
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
30716
30716
|
(openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
|
|
30717
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30717
|
+
return openBlock(), createBlock(_sfc_main$1g, {
|
|
30718
30718
|
key: badge.id,
|
|
30719
30719
|
badge,
|
|
30720
30720
|
options: _ctx.options
|
|
@@ -30724,8 +30724,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
30724
30724
|
};
|
|
30725
30725
|
}
|
|
30726
30726
|
});
|
|
30727
|
-
const _hoisted_1$
|
|
30728
|
-
const _sfc_main$
|
|
30727
|
+
const _hoisted_1$14 = ["innerHTML"];
|
|
30728
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
30729
30729
|
__name: "CustomBadge",
|
|
30730
30730
|
props: {
|
|
30731
30731
|
badge: {}
|
|
@@ -30746,12 +30746,12 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
30746
30746
|
return openBlock(), createElementBlock("div", {
|
|
30747
30747
|
class: normalizeClass(className.value),
|
|
30748
30748
|
innerHTML: text.value
|
|
30749
|
-
}, null, 10, _hoisted_1$
|
|
30749
|
+
}, null, 10, _hoisted_1$14);
|
|
30750
30750
|
};
|
|
30751
30751
|
}
|
|
30752
30752
|
});
|
|
30753
|
-
const _hoisted_1$
|
|
30754
|
-
const _sfc_main$
|
|
30753
|
+
const _hoisted_1$13 = { class: "lupa-text-badges" };
|
|
30754
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
30755
30755
|
__name: "TextBadge",
|
|
30756
30756
|
props: {
|
|
30757
30757
|
badge: {}
|
|
@@ -30765,7 +30765,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
30765
30765
|
return badges.value.slice(0, props.badge.maxItems);
|
|
30766
30766
|
});
|
|
30767
30767
|
return (_ctx, _cache) => {
|
|
30768
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30768
|
+
return openBlock(), createElementBlock("div", _hoisted_1$13, [
|
|
30769
30769
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
|
|
30770
30770
|
return openBlock(), createElementBlock("div", {
|
|
30771
30771
|
class: "lupa-badge lupa-text-badge",
|
|
@@ -30776,9 +30776,9 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
30776
30776
|
};
|
|
30777
30777
|
}
|
|
30778
30778
|
});
|
|
30779
|
-
const _hoisted_1$
|
|
30780
|
-
const _hoisted_2$
|
|
30781
|
-
const _sfc_main$
|
|
30779
|
+
const _hoisted_1$12 = { class: "lupa-image-badges" };
|
|
30780
|
+
const _hoisted_2$M = ["src"];
|
|
30781
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
30782
30782
|
__name: "ImageBadge",
|
|
30783
30783
|
props: {
|
|
30784
30784
|
badge: {}
|
|
@@ -30798,7 +30798,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
30798
30798
|
return `${props.badge.rootImageUrl}${src}`;
|
|
30799
30799
|
};
|
|
30800
30800
|
return (_ctx, _cache) => {
|
|
30801
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30801
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
30802
30802
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
|
|
30803
30803
|
return openBlock(), createElementBlock("div", {
|
|
30804
30804
|
class: "lupa-badge lupa-image-badge",
|
|
@@ -30806,14 +30806,14 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
30806
30806
|
}, [
|
|
30807
30807
|
createBaseVNode("img", {
|
|
30808
30808
|
src: getImageUrl(item)
|
|
30809
|
-
}, null, 8, _hoisted_2$
|
|
30809
|
+
}, null, 8, _hoisted_2$M)
|
|
30810
30810
|
]);
|
|
30811
30811
|
}), 128))
|
|
30812
30812
|
]);
|
|
30813
30813
|
};
|
|
30814
30814
|
}
|
|
30815
30815
|
});
|
|
30816
|
-
const _sfc_main$
|
|
30816
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
30817
30817
|
__name: "DiscountBadge",
|
|
30818
30818
|
props: {
|
|
30819
30819
|
badge: {}
|
|
@@ -30875,16 +30875,16 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
30875
30875
|
};
|
|
30876
30876
|
}
|
|
30877
30877
|
});
|
|
30878
|
-
const _hoisted_1$
|
|
30878
|
+
const _hoisted_1$11 = { id: "lupa-search-results-badges" };
|
|
30879
30879
|
const __default__$3 = {
|
|
30880
30880
|
components: {
|
|
30881
|
-
CustomBadge: _sfc_main$
|
|
30882
|
-
TextBadge: _sfc_main$
|
|
30883
|
-
ImageBadge: _sfc_main$
|
|
30884
|
-
DiscountBadge: _sfc_main$
|
|
30881
|
+
CustomBadge: _sfc_main$1e,
|
|
30882
|
+
TextBadge: _sfc_main$1d,
|
|
30883
|
+
ImageBadge: _sfc_main$1c,
|
|
30884
|
+
DiscountBadge: _sfc_main$1b
|
|
30885
30885
|
}
|
|
30886
30886
|
};
|
|
30887
|
-
const _sfc_main$
|
|
30887
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
|
|
30888
30888
|
__name: "SearchResultsBadgeWrapper",
|
|
30889
30889
|
props: {
|
|
30890
30890
|
position: {},
|
|
@@ -30947,7 +30947,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
|
|
|
30947
30947
|
}
|
|
30948
30948
|
};
|
|
30949
30949
|
return (_ctx, _cache) => {
|
|
30950
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30950
|
+
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
30951
30951
|
createBaseVNode("div", {
|
|
30952
30952
|
id: "lupa-badges",
|
|
30953
30953
|
class: normalizeClass(anchorPosition.value)
|
|
@@ -30958,7 +30958,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
|
|
|
30958
30958
|
badge
|
|
30959
30959
|
}, null, 8, ["badge"]);
|
|
30960
30960
|
}), 128)),
|
|
30961
|
-
positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$
|
|
30961
|
+
positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1f, {
|
|
30962
30962
|
key: 0,
|
|
30963
30963
|
options: _ctx.options
|
|
30964
30964
|
}, null, 8, ["options"])) : createCommentVNode("", true)
|
|
@@ -30967,13 +30967,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
|
|
|
30967
30967
|
};
|
|
30968
30968
|
}
|
|
30969
30969
|
}));
|
|
30970
|
-
const _hoisted_1
|
|
30971
|
-
const _hoisted_2$
|
|
30970
|
+
const _hoisted_1$10 = ["href"];
|
|
30971
|
+
const _hoisted_2$L = { class: "lupa-search-box-product-details-section" };
|
|
30972
30972
|
const _hoisted_3$y = {
|
|
30973
30973
|
key: 0,
|
|
30974
30974
|
class: "lupa-search-box-product-add-to-cart-section"
|
|
30975
30975
|
};
|
|
30976
|
-
const _sfc_main$
|
|
30976
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
30977
30977
|
__name: "SearchBoxProduct",
|
|
30978
30978
|
props: {
|
|
30979
30979
|
item: {},
|
|
@@ -31079,7 +31079,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
31079
31079
|
style: normalizeStyle(imageStyleOverride.value)
|
|
31080
31080
|
}, [
|
|
31081
31081
|
(openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
|
|
31082
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31082
|
+
return openBlock(), createBlock(_sfc_main$1h, {
|
|
31083
31083
|
class: "lupa-search-box-product-element",
|
|
31084
31084
|
key: element.key,
|
|
31085
31085
|
item: _ctx.item,
|
|
@@ -31089,10 +31089,10 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
31089
31089
|
}, null, 8, ["item", "element", "labels", "link"]);
|
|
31090
31090
|
}), 128))
|
|
31091
31091
|
], 4),
|
|
31092
|
-
createBaseVNode("div", _hoisted_2$
|
|
31092
|
+
createBaseVNode("div", _hoisted_2$L, [
|
|
31093
31093
|
(openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
|
|
31094
31094
|
var _a25;
|
|
31095
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31095
|
+
return openBlock(), createBlock(_sfc_main$1h, {
|
|
31096
31096
|
class: "lupa-search-box-product-element",
|
|
31097
31097
|
key: element.key,
|
|
31098
31098
|
item: _ctx.item,
|
|
@@ -31103,7 +31103,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
31103
31103
|
((_a25 = badgeOptions.value) == null ? void 0 : _a25.anchorElementKey) === element.key ? {
|
|
31104
31104
|
name: "badges",
|
|
31105
31105
|
fn: withCtx(() => [
|
|
31106
|
-
createVNode(_sfc_main$
|
|
31106
|
+
createVNode(_sfc_main$1a, {
|
|
31107
31107
|
options: badgeOptions.value,
|
|
31108
31108
|
position: "card"
|
|
31109
31109
|
}, null, 8, ["options"])
|
|
@@ -31119,7 +31119,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
31119
31119
|
class: normalizeClass(`lupa-search-box-group-${group}`)
|
|
31120
31120
|
}, [
|
|
31121
31121
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
|
|
31122
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31122
|
+
return openBlock(), createBlock(_sfc_main$1h, {
|
|
31123
31123
|
class: "lupa-search-box-product-element",
|
|
31124
31124
|
key: element.key,
|
|
31125
31125
|
item: _ctx.item,
|
|
@@ -31132,7 +31132,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
31132
31132
|
], 2);
|
|
31133
31133
|
}), 128)),
|
|
31134
31134
|
addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
|
|
31135
|
-
createVNode(_sfc_main$
|
|
31135
|
+
createVNode(_sfc_main$1h, {
|
|
31136
31136
|
class: "lupa-search-box-product-element",
|
|
31137
31137
|
item: _ctx.item,
|
|
31138
31138
|
element: addToCartElement.value,
|
|
@@ -31141,7 +31141,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
31141
31141
|
isInStock: isInStock.value
|
|
31142
31142
|
}, null, 8, ["item", "element", "labels", "link", "isInStock"])
|
|
31143
31143
|
])) : createCommentVNode("", true)
|
|
31144
|
-
], 16, _hoisted_1
|
|
31144
|
+
], 16, _hoisted_1$10);
|
|
31145
31145
|
};
|
|
31146
31146
|
}
|
|
31147
31147
|
});
|
|
@@ -31213,8 +31213,8 @@ const useTrackingStore = /* @__PURE__ */ defineStore("tracking", () => {
|
|
|
31213
31213
|
};
|
|
31214
31214
|
return { trackSearch, trackResults, trackEvent, trackDelayedEvent };
|
|
31215
31215
|
});
|
|
31216
|
-
const _hoisted_1
|
|
31217
|
-
const _sfc_main$
|
|
31216
|
+
const _hoisted_1$$ = { id: "lupa-search-box-products" };
|
|
31217
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
31218
31218
|
__name: "SearchBoxProducts",
|
|
31219
31219
|
props: {
|
|
31220
31220
|
items: {},
|
|
@@ -31286,7 +31286,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
31286
31286
|
}
|
|
31287
31287
|
};
|
|
31288
31288
|
return (_ctx, _cache) => {
|
|
31289
|
-
return openBlock(), createElementBlock("div", _hoisted_1
|
|
31289
|
+
return openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
31290
31290
|
_ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
|
|
31291
31291
|
return renderSlot(_ctx.$slots, "productCard", {
|
|
31292
31292
|
key: index,
|
|
@@ -31298,7 +31298,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
31298
31298
|
itemClicked: handleProductClick
|
|
31299
31299
|
});
|
|
31300
31300
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.items, (item, index) => {
|
|
31301
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31301
|
+
return openBlock(), createBlock(_sfc_main$19, {
|
|
31302
31302
|
key: index,
|
|
31303
31303
|
item,
|
|
31304
31304
|
panelOptions: _ctx.panelOptions,
|
|
@@ -31313,9 +31313,9 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
31313
31313
|
};
|
|
31314
31314
|
}
|
|
31315
31315
|
});
|
|
31316
|
-
const _hoisted_1$
|
|
31317
|
-
const _hoisted_2$
|
|
31318
|
-
const _sfc_main$
|
|
31316
|
+
const _hoisted_1$_ = { class: "lupa-search-box-documents-go-to-results-wrapper" };
|
|
31317
|
+
const _hoisted_2$K = { key: 0 };
|
|
31318
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
31319
31319
|
__name: "SearchBoxProductsGoToResultsButton",
|
|
31320
31320
|
props: {
|
|
31321
31321
|
options: {},
|
|
@@ -31346,13 +31346,13 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
31346
31346
|
emit2("goToResults");
|
|
31347
31347
|
};
|
|
31348
31348
|
return (_ctx, _cache) => {
|
|
31349
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31349
|
+
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
31350
31350
|
createBaseVNode("button", {
|
|
31351
31351
|
class: "lupa-search-box-documents-go-to-results-button",
|
|
31352
31352
|
onClick: goToResults
|
|
31353
31353
|
}, [
|
|
31354
31354
|
createTextVNode(toDisplayString(goToResultsLabel.value) + " ", 1),
|
|
31355
|
-
totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
31355
|
+
totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$K, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
|
|
31356
31356
|
])
|
|
31357
31357
|
]);
|
|
31358
31358
|
};
|
|
@@ -31439,7 +31439,7 @@ const processExtractionObject = (value = {}) => {
|
|
|
31439
31439
|
}
|
|
31440
31440
|
return parsedObject;
|
|
31441
31441
|
};
|
|
31442
|
-
const _sfc_main$
|
|
31442
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
31443
31443
|
__name: "SearchBoxProductsWrapper",
|
|
31444
31444
|
props: {
|
|
31445
31445
|
panel: {},
|
|
@@ -31509,7 +31509,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
31509
31509
|
watch(() => props.panel.limit, getItemsDebounced);
|
|
31510
31510
|
return (_ctx, _cache) => {
|
|
31511
31511
|
var _a25, _b25;
|
|
31512
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31512
|
+
return openBlock(), createBlock(_sfc_main$18, {
|
|
31513
31513
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
31514
31514
|
panelOptions: _ctx.panel,
|
|
31515
31515
|
labels: _ctx.labels,
|
|
@@ -31519,7 +31519,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
31519
31519
|
default: withCtx(() => {
|
|
31520
31520
|
var _a26;
|
|
31521
31521
|
return [
|
|
31522
|
-
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$
|
|
31522
|
+
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$17, {
|
|
31523
31523
|
key: 0,
|
|
31524
31524
|
options: _ctx.searchBoxOptions,
|
|
31525
31525
|
panel: _ctx.panel,
|
|
@@ -31540,7 +31540,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
31540
31540
|
};
|
|
31541
31541
|
}
|
|
31542
31542
|
});
|
|
31543
|
-
const _sfc_main$
|
|
31543
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
31544
31544
|
__name: "SearchBoxRelatedSourceWrapper",
|
|
31545
31545
|
props: {
|
|
31546
31546
|
panel: {},
|
|
@@ -31612,7 +31612,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
31612
31612
|
});
|
|
31613
31613
|
return (_ctx, _cache) => {
|
|
31614
31614
|
var _a25, _b25;
|
|
31615
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31615
|
+
return openBlock(), createBlock(_sfc_main$18, {
|
|
31616
31616
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
31617
31617
|
panelOptions: documentPanelOptions.value,
|
|
31618
31618
|
labels: _ctx.labels,
|
|
@@ -31630,11 +31630,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
31630
31630
|
};
|
|
31631
31631
|
}
|
|
31632
31632
|
});
|
|
31633
|
-
const _hoisted_1$
|
|
31633
|
+
const _hoisted_1$Z = {
|
|
31634
31634
|
key: 0,
|
|
31635
31635
|
id: "lupa-search-box-panel"
|
|
31636
31636
|
};
|
|
31637
|
-
const _hoisted_2$
|
|
31637
|
+
const _hoisted_2$J = ["data-cy"];
|
|
31638
31638
|
const _hoisted_3$x = {
|
|
31639
31639
|
key: 0,
|
|
31640
31640
|
class: "lupa-panel-title lupa-panel-title-top-results"
|
|
@@ -31649,12 +31649,12 @@ const _hoisted_5$g = {
|
|
|
31649
31649
|
};
|
|
31650
31650
|
const __default__$2 = {
|
|
31651
31651
|
components: {
|
|
31652
|
-
SearchBoxSuggestionsWrapper: _sfc_main$
|
|
31653
|
-
SearchBoxProductsWrapper: _sfc_main$
|
|
31654
|
-
SearchBoxRelatedSourceWrapper: _sfc_main$
|
|
31652
|
+
SearchBoxSuggestionsWrapper: _sfc_main$1r,
|
|
31653
|
+
SearchBoxProductsWrapper: _sfc_main$16,
|
|
31654
|
+
SearchBoxRelatedSourceWrapper: _sfc_main$15
|
|
31655
31655
|
}
|
|
31656
31656
|
};
|
|
31657
|
-
const _sfc_main$
|
|
31657
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
|
|
31658
31658
|
__name: "SearchBoxMainPanel",
|
|
31659
31659
|
props: {
|
|
31660
31660
|
options: {},
|
|
@@ -31812,7 +31812,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
|
|
|
31812
31812
|
ref_key: "panelContainer",
|
|
31813
31813
|
ref: panelContainer
|
|
31814
31814
|
}, [
|
|
31815
|
-
displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31815
|
+
displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
31816
31816
|
labels.value.closePanel ? (openBlock(), createElementBlock("a", {
|
|
31817
31817
|
key: 0,
|
|
31818
31818
|
class: "lupa-search-box-close-panel",
|
|
@@ -31857,21 +31857,21 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
|
|
|
31857
31857
|
key: "0"
|
|
31858
31858
|
} : void 0
|
|
31859
31859
|
]), 1064, ["panel", "search-box-options", "options", "debounce", "inputValue", "labels"])) : createCommentVNode("", true)
|
|
31860
|
-
], 14, _hoisted_2$
|
|
31860
|
+
], 14, _hoisted_2$J);
|
|
31861
31861
|
}), 128))
|
|
31862
31862
|
], 4),
|
|
31863
|
-
!unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$
|
|
31863
|
+
!unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1u, {
|
|
31864
31864
|
key: 1,
|
|
31865
31865
|
labels: labels.value
|
|
31866
31866
|
}, null, 8, ["labels"])) : createCommentVNode("", true),
|
|
31867
|
-
unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$
|
|
31867
|
+
unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1x, {
|
|
31868
31868
|
key: 2,
|
|
31869
31869
|
labels: labels.value,
|
|
31870
31870
|
options: _ctx.options,
|
|
31871
31871
|
onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
|
|
31872
31872
|
}, null, 8, ["labels", "options"])) : createCommentVNode("", true)
|
|
31873
31873
|
])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
|
|
31874
|
-
createVNode(_sfc_main$
|
|
31874
|
+
createVNode(_sfc_main$1v, {
|
|
31875
31875
|
options: _ctx.options.history,
|
|
31876
31876
|
history: history.value,
|
|
31877
31877
|
onGoToResults: handleGoToResults,
|
|
@@ -31896,8 +31896,8 @@ const unbindSearchTriggers = (triggers = [], event) => {
|
|
|
31896
31896
|
const elements = getElements(triggers);
|
|
31897
31897
|
elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
|
|
31898
31898
|
};
|
|
31899
|
-
const _hoisted_1$
|
|
31900
|
-
const _sfc_main$
|
|
31899
|
+
const _hoisted_1$Y = { class: "lupa-search-box-wrapper" };
|
|
31900
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
31901
31901
|
__name: "SearchBox",
|
|
31902
31902
|
props: {
|
|
31903
31903
|
options: {},
|
|
@@ -32219,8 +32219,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
32219
32219
|
id: "lupa-search-box",
|
|
32220
32220
|
class: normalizeClass({ "lupa-search-box-opened": opened.value })
|
|
32221
32221
|
}, [
|
|
32222
|
-
createBaseVNode("div", _hoisted_1$
|
|
32223
|
-
createVNode(_sfc_main$
|
|
32222
|
+
createBaseVNode("div", _hoisted_1$Y, [
|
|
32223
|
+
createVNode(_sfc_main$1y, {
|
|
32224
32224
|
options: inputOptions.value,
|
|
32225
32225
|
suggestedValue: suggestedValue.value,
|
|
32226
32226
|
"can-close": (_a26 = _ctx.isSearchContainer) != null ? _a26 : false,
|
|
@@ -32233,7 +32233,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
32233
32233
|
onSearch: handleSearch,
|
|
32234
32234
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
32235
32235
|
}, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
|
|
32236
|
-
opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$
|
|
32236
|
+
opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$14, {
|
|
32237
32237
|
key: 0,
|
|
32238
32238
|
options: panelOptions.value,
|
|
32239
32239
|
inputValue: inputValue.value,
|
|
@@ -32321,11 +32321,11 @@ const getSearchParams = (url, params, baseUrl) => {
|
|
|
32321
32321
|
}
|
|
32322
32322
|
return searchParams;
|
|
32323
32323
|
};
|
|
32324
|
-
const _hoisted_1$
|
|
32324
|
+
const _hoisted_1$X = {
|
|
32325
32325
|
key: 0,
|
|
32326
32326
|
id: "lupa-search-results-did-you-mean"
|
|
32327
32327
|
};
|
|
32328
|
-
const _hoisted_2$
|
|
32328
|
+
const _hoisted_2$I = {
|
|
32329
32329
|
key: 0,
|
|
32330
32330
|
"data-cy": "suggested-search-text-label"
|
|
32331
32331
|
};
|
|
@@ -32334,7 +32334,7 @@ const _hoisted_3$w = {
|
|
|
32334
32334
|
"data-cy": "did-you-mean-label"
|
|
32335
32335
|
};
|
|
32336
32336
|
const _hoisted_4$n = { key: 1 };
|
|
32337
|
-
const _sfc_main$
|
|
32337
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
32338
32338
|
__name: "SearchResultsDidYouMean",
|
|
32339
32339
|
props: {
|
|
32340
32340
|
labels: {}
|
|
@@ -32366,8 +32366,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
32366
32366
|
paramStore.goToResults({ searchText, facet });
|
|
32367
32367
|
};
|
|
32368
32368
|
return (_ctx, _cache) => {
|
|
32369
|
-
return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32370
|
-
unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
32369
|
+
return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
32370
|
+
unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
|
|
32371
32371
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
|
|
32372
32372
|
return openBlock(), createElementBlock("span", { key: index }, [
|
|
32373
32373
|
createBaseVNode("span", {
|
|
@@ -32392,12 +32392,12 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
32392
32392
|
};
|
|
32393
32393
|
}
|
|
32394
32394
|
});
|
|
32395
|
-
const _hoisted_1$
|
|
32395
|
+
const _hoisted_1$W = {
|
|
32396
32396
|
key: 0,
|
|
32397
32397
|
class: "lupa-search-results-summary"
|
|
32398
32398
|
};
|
|
32399
|
-
const _hoisted_2$
|
|
32400
|
-
const _sfc_main$
|
|
32399
|
+
const _hoisted_2$H = ["innerHTML"];
|
|
32400
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
32401
32401
|
__name: "SearchResultsSummary",
|
|
32402
32402
|
props: {
|
|
32403
32403
|
label: {},
|
|
@@ -32412,8 +32412,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
32412
32412
|
return addParamsToLabel(props.label, range2, `<span>${totalItems.value}</span>`);
|
|
32413
32413
|
});
|
|
32414
32414
|
return (_ctx, _cache) => {
|
|
32415
|
-
return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32416
|
-
createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$
|
|
32415
|
+
return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
32416
|
+
createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$H),
|
|
32417
32417
|
_ctx.clearable ? (openBlock(), createElementBlock("span", {
|
|
32418
32418
|
key: 0,
|
|
32419
32419
|
class: "lupa-filter-clear",
|
|
@@ -32424,19 +32424,19 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
32424
32424
|
};
|
|
32425
32425
|
}
|
|
32426
32426
|
});
|
|
32427
|
-
const _hoisted_1$
|
|
32427
|
+
const _hoisted_1$V = {
|
|
32428
32428
|
key: 0,
|
|
32429
32429
|
class: "lupa-result-page-title",
|
|
32430
32430
|
"data-cy": "lupa-result-page-title"
|
|
32431
32431
|
};
|
|
32432
|
-
const _hoisted_2$
|
|
32432
|
+
const _hoisted_2$G = { key: 0 };
|
|
32433
32433
|
const _hoisted_3$v = {
|
|
32434
32434
|
key: 1,
|
|
32435
32435
|
class: "lupa-results-total-count"
|
|
32436
32436
|
};
|
|
32437
32437
|
const _hoisted_4$m = { class: "lupa-results-total-count-number" };
|
|
32438
32438
|
const _hoisted_5$f = ["innerHTML"];
|
|
32439
|
-
const _sfc_main
|
|
32439
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
32440
32440
|
__name: "SearchResultsTitle",
|
|
32441
32441
|
props: {
|
|
32442
32442
|
options: {},
|
|
@@ -32479,16 +32479,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
32479
32479
|
});
|
|
32480
32480
|
return (_ctx, _cache) => {
|
|
32481
32481
|
return openBlock(), createElementBlock("div", null, [
|
|
32482
|
-
showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$
|
|
32482
|
+
showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$V, [
|
|
32483
32483
|
createTextVNode(toDisplayString(searchResultsTitleTemplate.value || _ctx.options.labels.searchResults), 1),
|
|
32484
|
-
queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
32484
|
+
queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$G, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
|
|
32485
32485
|
showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$v, [
|
|
32486
32486
|
createTextVNode("(" + toDisplayString(searchResultsCountLabel.value), 1),
|
|
32487
32487
|
createBaseVNode("span", _hoisted_4$m, toDisplayString(unref(totalItems)), 1),
|
|
32488
32488
|
_cache[0] || (_cache[0] = createTextVNode(")"))
|
|
32489
32489
|
])) : createCommentVNode("", true)
|
|
32490
32490
|
])) : createCommentVNode("", true),
|
|
32491
|
-
_ctx.showSummary ? (openBlock(), createBlock(_sfc_main$
|
|
32491
|
+
_ctx.showSummary ? (openBlock(), createBlock(_sfc_main$11, {
|
|
32492
32492
|
key: 1,
|
|
32493
32493
|
label: summaryLabel.value
|
|
32494
32494
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
@@ -32501,15 +32501,15 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
32501
32501
|
};
|
|
32502
32502
|
}
|
|
32503
32503
|
});
|
|
32504
|
-
const _hoisted_1$
|
|
32504
|
+
const _hoisted_1$U = {
|
|
32505
32505
|
class: "lupa-current-filter-label",
|
|
32506
32506
|
"data-cy": "lupa-current-filter-label"
|
|
32507
32507
|
};
|
|
32508
|
-
const _hoisted_2$
|
|
32508
|
+
const _hoisted_2$F = {
|
|
32509
32509
|
class: "lupa-current-filter-value",
|
|
32510
32510
|
"data-cy": "lupa-current-filter-value"
|
|
32511
32511
|
};
|
|
32512
|
-
const _sfc_main
|
|
32512
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
32513
32513
|
__name: "CurrentFilterDisplay",
|
|
32514
32514
|
props: {
|
|
32515
32515
|
filter: {}
|
|
@@ -32551,14 +32551,14 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
32551
32551
|
onClick: handleClick,
|
|
32552
32552
|
"aria-label": "Remove filter"
|
|
32553
32553
|
}, "⨉"),
|
|
32554
|
-
createBaseVNode("div", _hoisted_1$
|
|
32555
|
-
createBaseVNode("div", _hoisted_2$
|
|
32554
|
+
createBaseVNode("div", _hoisted_1$U, toDisplayString(_ctx.filter.label) + ": ", 1),
|
|
32555
|
+
createBaseVNode("div", _hoisted_2$F, toDisplayString(formatFilterValue(props.filter)), 1)
|
|
32556
32556
|
], 2);
|
|
32557
32557
|
};
|
|
32558
32558
|
}
|
|
32559
32559
|
});
|
|
32560
|
-
const _hoisted_1$
|
|
32561
|
-
const _hoisted_2$
|
|
32560
|
+
const _hoisted_1$T = { class: "lupa-filter-title-text" };
|
|
32561
|
+
const _hoisted_2$E = {
|
|
32562
32562
|
key: 0,
|
|
32563
32563
|
class: "lupa-filter-count"
|
|
32564
32564
|
};
|
|
@@ -32567,7 +32567,7 @@ const _hoisted_3$u = {
|
|
|
32567
32567
|
class: "filter-values"
|
|
32568
32568
|
};
|
|
32569
32569
|
const _hoisted_4$l = { class: "lupa-current-filter-list" };
|
|
32570
|
-
const _sfc_main$
|
|
32570
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
32571
32571
|
__name: "CurrentFilters",
|
|
32572
32572
|
props: {
|
|
32573
32573
|
options: {},
|
|
@@ -32648,9 +32648,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
32648
32648
|
class: "lupa-current-filter-title",
|
|
32649
32649
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
32650
32650
|
}, [
|
|
32651
|
-
createBaseVNode("div", _hoisted_1$
|
|
32651
|
+
createBaseVNode("div", _hoisted_1$T, [
|
|
32652
32652
|
createTextVNode(toDisplayString((_c = (_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) != null ? _c : "") + " ", 1),
|
|
32653
|
-
_ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
32653
|
+
_ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$E, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
|
|
32654
32654
|
]),
|
|
32655
32655
|
_ctx.expandable ? (openBlock(), createElementBlock("div", {
|
|
32656
32656
|
key: 0,
|
|
@@ -32660,7 +32660,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
32660
32660
|
!_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
32661
32661
|
createBaseVNode("div", _hoisted_4$l, [
|
|
32662
32662
|
(openBlock(true), createElementBlock(Fragment, null, renderList(currentDisplayFilters.value, (filter) => {
|
|
32663
|
-
return openBlock(), createBlock(_sfc_main
|
|
32663
|
+
return openBlock(), createBlock(_sfc_main$$, {
|
|
32664
32664
|
key: filter.key + "_" + filter.value,
|
|
32665
32665
|
filter,
|
|
32666
32666
|
units: units.value,
|
|
@@ -32678,8 +32678,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
32678
32678
|
};
|
|
32679
32679
|
}
|
|
32680
32680
|
});
|
|
32681
|
-
const _hoisted_1$
|
|
32682
|
-
const _sfc_main$
|
|
32681
|
+
const _hoisted_1$S = ["href"];
|
|
32682
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
32683
32683
|
__name: "CategoryFilterItem",
|
|
32684
32684
|
props: {
|
|
32685
32685
|
options: {},
|
|
@@ -32716,20 +32716,20 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
32716
32716
|
"data-cy": "lupa-child-category-item",
|
|
32717
32717
|
href: urlLink.value,
|
|
32718
32718
|
onClick: handleNavigation
|
|
32719
|
-
}, toDisplayString(title.value), 9, _hoisted_1$
|
|
32719
|
+
}, toDisplayString(title.value), 9, _hoisted_1$S)
|
|
32720
32720
|
], 2);
|
|
32721
32721
|
};
|
|
32722
32722
|
}
|
|
32723
32723
|
});
|
|
32724
|
-
const _hoisted_1$
|
|
32724
|
+
const _hoisted_1$R = {
|
|
32725
32725
|
class: "lupa-category-filter",
|
|
32726
32726
|
"data-cy": "lupa-category-filter"
|
|
32727
32727
|
};
|
|
32728
|
-
const _hoisted_2$
|
|
32728
|
+
const _hoisted_2$D = { class: "lupa-category-back" };
|
|
32729
32729
|
const _hoisted_3$t = ["href"];
|
|
32730
32730
|
const _hoisted_4$k = ["href"];
|
|
32731
32731
|
const _hoisted_5$e = { class: "lupa-child-category-list" };
|
|
32732
|
-
const _sfc_main$
|
|
32732
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
32733
32733
|
__name: "CategoryFilter",
|
|
32734
32734
|
props: {
|
|
32735
32735
|
options: {}
|
|
@@ -32817,8 +32817,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
32817
32817
|
};
|
|
32818
32818
|
__expose({ fetch: fetch2 });
|
|
32819
32819
|
return (_ctx, _cache) => {
|
|
32820
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
32821
|
-
createBaseVNode("div", _hoisted_2$
|
|
32820
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
32821
|
+
createBaseVNode("div", _hoisted_2$D, [
|
|
32822
32822
|
hasBackButton.value ? (openBlock(), createElementBlock("a", {
|
|
32823
32823
|
key: 0,
|
|
32824
32824
|
"data-cy": "lupa-category-back",
|
|
@@ -32838,7 +32838,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
32838
32838
|
], 2),
|
|
32839
32839
|
createBaseVNode("div", _hoisted_5$e, [
|
|
32840
32840
|
(openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
|
|
32841
|
-
return openBlock(), createBlock(_sfc_main$
|
|
32841
|
+
return openBlock(), createBlock(_sfc_main$Z, {
|
|
32842
32842
|
key: getCategoryKey(child),
|
|
32843
32843
|
item: child,
|
|
32844
32844
|
options: _ctx.options
|
|
@@ -32849,11 +32849,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
32849
32849
|
};
|
|
32850
32850
|
}
|
|
32851
32851
|
});
|
|
32852
|
-
const _hoisted_1$
|
|
32852
|
+
const _hoisted_1$Q = {
|
|
32853
32853
|
class: "lupa-search-result-facet-term-values",
|
|
32854
32854
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
32855
32855
|
};
|
|
32856
|
-
const _hoisted_2$
|
|
32856
|
+
const _hoisted_2$C = ["placeholder"];
|
|
32857
32857
|
const _hoisted_3$s = { class: "lupa-terms-list" };
|
|
32858
32858
|
const _hoisted_4$j = ["onClick"];
|
|
32859
32859
|
const _hoisted_5$d = { class: "lupa-term-checkbox-wrapper" };
|
|
@@ -32864,7 +32864,7 @@ const _hoisted_7$4 = {
|
|
|
32864
32864
|
};
|
|
32865
32865
|
const _hoisted_8$2 = { key: 0 };
|
|
32866
32866
|
const _hoisted_9$2 = { key: 1 };
|
|
32867
|
-
const _sfc_main$
|
|
32867
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
32868
32868
|
__name: "TermFacet",
|
|
32869
32869
|
props: {
|
|
32870
32870
|
options: {},
|
|
@@ -32954,14 +32954,14 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
32954
32954
|
}
|
|
32955
32955
|
};
|
|
32956
32956
|
return (_ctx, _cache) => {
|
|
32957
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
32957
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
32958
32958
|
isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
|
|
32959
32959
|
key: 0,
|
|
32960
32960
|
class: "lupa-term-filter",
|
|
32961
32961
|
"data-cy": "lupa-term-filter",
|
|
32962
32962
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
|
|
32963
32963
|
placeholder: _ctx.options.labels.facetFilter
|
|
32964
|
-
}, null, 8, _hoisted_2$
|
|
32964
|
+
}, null, 8, _hoisted_2$C)), [
|
|
32965
32965
|
[vModelText, termFilter.value]
|
|
32966
32966
|
]) : createCommentVNode("", true),
|
|
32967
32967
|
createBaseVNode("div", _hoisted_3$s, [
|
|
@@ -33891,8 +33891,8 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
|
|
|
33891
33891
|
m.render = function(e2, t, r, i, n, o) {
|
|
33892
33892
|
return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
|
|
33893
33893
|
}, m.__file = "src/Slider.vue";
|
|
33894
|
-
const _hoisted_1$
|
|
33895
|
-
const _hoisted_2$
|
|
33894
|
+
const _hoisted_1$P = { class: "lupa-search-result-facet-stats-values" };
|
|
33895
|
+
const _hoisted_2$B = {
|
|
33896
33896
|
key: 0,
|
|
33897
33897
|
class: "lupa-stats-facet-summary"
|
|
33898
33898
|
};
|
|
@@ -33920,7 +33920,7 @@ const _hoisted_14 = {
|
|
|
33920
33920
|
key: 2,
|
|
33921
33921
|
class: "lupa-stats-slider-wrapper"
|
|
33922
33922
|
};
|
|
33923
|
-
const _sfc_main$
|
|
33923
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
33924
33924
|
__name: "StatsFacet",
|
|
33925
33925
|
props: {
|
|
33926
33926
|
options: {},
|
|
@@ -34136,8 +34136,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
34136
34136
|
}
|
|
34137
34137
|
);
|
|
34138
34138
|
return (_ctx, _cache) => {
|
|
34139
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34140
|
-
!isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34139
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
34140
|
+
!isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
|
|
34141
34141
|
createBaseVNode("div", _hoisted_4$i, [
|
|
34142
34142
|
rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
|
|
34143
34143
|
withDirectives(createBaseVNode("input", {
|
|
@@ -34201,8 +34201,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
34201
34201
|
};
|
|
34202
34202
|
}
|
|
34203
34203
|
});
|
|
34204
|
-
const _hoisted_1$
|
|
34205
|
-
const _hoisted_2$
|
|
34204
|
+
const _hoisted_1$O = { class: "lupa-term-checkbox-wrapper" };
|
|
34205
|
+
const _hoisted_2$A = { class: "lupa-term-label" };
|
|
34206
34206
|
const _hoisted_3$q = {
|
|
34207
34207
|
key: 0,
|
|
34208
34208
|
class: "lupa-term-count"
|
|
@@ -34211,7 +34211,7 @@ const _hoisted_4$h = {
|
|
|
34211
34211
|
key: 0,
|
|
34212
34212
|
class: "lupa-facet-level"
|
|
34213
34213
|
};
|
|
34214
|
-
const _sfc_main$
|
|
34214
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
34215
34215
|
__name: "HierarchyFacetLevel",
|
|
34216
34216
|
props: {
|
|
34217
34217
|
options: {},
|
|
@@ -34265,7 +34265,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
34265
34265
|
"data-cy": "lupa-facet-term",
|
|
34266
34266
|
onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
|
|
34267
34267
|
}, [
|
|
34268
|
-
createBaseVNode("div", _hoisted_1$
|
|
34268
|
+
createBaseVNode("div", _hoisted_1$O, [
|
|
34269
34269
|
createBaseVNode("span", {
|
|
34270
34270
|
class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
|
|
34271
34271
|
}, null, 2)
|
|
@@ -34273,7 +34273,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
34273
34273
|
createBaseVNode("div", {
|
|
34274
34274
|
class: normalizeClass(["lupa-term-checkbox-label", { [getFacetValueClass(_ctx.item)]: true }])
|
|
34275
34275
|
}, [
|
|
34276
|
-
createBaseVNode("span", _hoisted_2$
|
|
34276
|
+
createBaseVNode("span", _hoisted_2$A, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
|
|
34277
34277
|
_ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_3$q, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
|
|
34278
34278
|
], 2)
|
|
34279
34279
|
]),
|
|
@@ -34293,13 +34293,13 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
34293
34293
|
};
|
|
34294
34294
|
}
|
|
34295
34295
|
});
|
|
34296
|
-
const _hoisted_1$
|
|
34296
|
+
const _hoisted_1$N = {
|
|
34297
34297
|
class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
|
|
34298
34298
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
34299
34299
|
};
|
|
34300
|
-
const _hoisted_2$
|
|
34300
|
+
const _hoisted_2$z = { key: 0 };
|
|
34301
34301
|
const _hoisted_3$p = ["placeholder"];
|
|
34302
|
-
const _sfc_main$
|
|
34302
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
34303
34303
|
__name: "HierarchyFacet",
|
|
34304
34304
|
props: {
|
|
34305
34305
|
options: {},
|
|
@@ -34355,8 +34355,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
34355
34355
|
showAll.value = false;
|
|
34356
34356
|
};
|
|
34357
34357
|
return (_ctx, _cache) => {
|
|
34358
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34359
|
-
isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34358
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
34359
|
+
isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
|
|
34360
34360
|
withDirectives(createBaseVNode("input", {
|
|
34361
34361
|
class: "lupa-term-filter",
|
|
34362
34362
|
"data-cy": "lupa-term-filter",
|
|
@@ -34367,7 +34367,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
34367
34367
|
])
|
|
34368
34368
|
])) : createCommentVNode("", true),
|
|
34369
34369
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayValues.value, (item) => {
|
|
34370
|
-
return openBlock(), createBlock(_sfc_main$
|
|
34370
|
+
return openBlock(), createBlock(_sfc_main$V, {
|
|
34371
34371
|
key: item.title,
|
|
34372
34372
|
options: _ctx.options,
|
|
34373
34373
|
item,
|
|
@@ -34391,20 +34391,20 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
34391
34391
|
};
|
|
34392
34392
|
}
|
|
34393
34393
|
});
|
|
34394
|
-
const _hoisted_1$
|
|
34395
|
-
const _hoisted_2$
|
|
34394
|
+
const _hoisted_1$M = { class: "lupa-facet-label-text" };
|
|
34395
|
+
const _hoisted_2$y = {
|
|
34396
34396
|
key: 0,
|
|
34397
34397
|
class: "lupa-facet-content",
|
|
34398
34398
|
"data-cy": "lupa-facet-content"
|
|
34399
34399
|
};
|
|
34400
34400
|
const __default__$1 = {
|
|
34401
34401
|
components: {
|
|
34402
|
-
TermFacet: _sfc_main$
|
|
34403
|
-
StatsFacet: _sfc_main$
|
|
34404
|
-
HierarchyFacet: _sfc_main$
|
|
34402
|
+
TermFacet: _sfc_main$X,
|
|
34403
|
+
StatsFacet: _sfc_main$W,
|
|
34404
|
+
HierarchyFacet: _sfc_main$U
|
|
34405
34405
|
}
|
|
34406
34406
|
};
|
|
34407
|
-
const _sfc_main$
|
|
34407
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
|
|
34408
34408
|
__name: "FacetDisplay",
|
|
34409
34409
|
props: {
|
|
34410
34410
|
options: {},
|
|
@@ -34526,12 +34526,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
|
|
|
34526
34526
|
"data-cy": "lupa-search-result-facet-label",
|
|
34527
34527
|
onClick: toggleFacet
|
|
34528
34528
|
}, [
|
|
34529
|
-
createBaseVNode("div", _hoisted_1$
|
|
34529
|
+
createBaseVNode("div", _hoisted_1$M, toDisplayString(facetLabel.value), 1),
|
|
34530
34530
|
createBaseVNode("div", {
|
|
34531
34531
|
class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
|
|
34532
34532
|
}, null, 2)
|
|
34533
34533
|
], 2),
|
|
34534
|
-
isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34534
|
+
isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
34535
34535
|
(openBlock(), createBlock(resolveDynamicComponent(facetType.value), {
|
|
34536
34536
|
facet: facet.value,
|
|
34537
34537
|
currentFilters: currentFilters.value[facet.value.key],
|
|
@@ -34549,12 +34549,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
|
|
|
34549
34549
|
};
|
|
34550
34550
|
}
|
|
34551
34551
|
}));
|
|
34552
|
-
const _hoisted_1$
|
|
34553
|
-
const _hoisted_2$
|
|
34552
|
+
const _hoisted_1$L = { class: "lupa-search-result-facet-section" };
|
|
34553
|
+
const _hoisted_2$x = {
|
|
34554
34554
|
key: 0,
|
|
34555
34555
|
class: "lupa-facets-title"
|
|
34556
34556
|
};
|
|
34557
|
-
const _sfc_main$
|
|
34557
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
34558
34558
|
__name: "FacetList",
|
|
34559
34559
|
props: {
|
|
34560
34560
|
options: {},
|
|
@@ -34589,14 +34589,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
34589
34589
|
};
|
|
34590
34590
|
return (_ctx, _cache) => {
|
|
34591
34591
|
var _a25;
|
|
34592
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34593
|
-
_ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34592
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
34593
|
+
_ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
|
|
34594
34594
|
createBaseVNode("div", {
|
|
34595
34595
|
class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a25 = _ctx.facetStyle) != null ? _a25 : "")])
|
|
34596
34596
|
}, [
|
|
34597
34597
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayFacets.value, (facet) => {
|
|
34598
34598
|
var _a26;
|
|
34599
|
-
return openBlock(), createBlock(_sfc_main$
|
|
34599
|
+
return openBlock(), createBlock(_sfc_main$T, {
|
|
34600
34600
|
key: facet.key,
|
|
34601
34601
|
facet,
|
|
34602
34602
|
currentFilters: currentFiltersValue.value,
|
|
@@ -34611,7 +34611,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
34611
34611
|
};
|
|
34612
34612
|
}
|
|
34613
34613
|
});
|
|
34614
|
-
const _sfc_main$
|
|
34614
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
34615
34615
|
__name: "FacetsButton",
|
|
34616
34616
|
props: {
|
|
34617
34617
|
options: {}
|
|
@@ -34636,8 +34636,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
34636
34636
|
};
|
|
34637
34637
|
}
|
|
34638
34638
|
});
|
|
34639
|
-
const _hoisted_1$
|
|
34640
|
-
const _sfc_main$
|
|
34639
|
+
const _hoisted_1$K = { class: "lupa-facets-filter-button-wrapper" };
|
|
34640
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
34641
34641
|
__name: "Facets",
|
|
34642
34642
|
props: {
|
|
34643
34643
|
options: {},
|
|
@@ -34724,7 +34724,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
34724
34724
|
return openBlock(), createElementBlock("div", {
|
|
34725
34725
|
class: normalizeClass(["lupa-search-result-facets", { "lupa-search-result-facets-loading": unref(loadingFacets) }])
|
|
34726
34726
|
}, [
|
|
34727
|
-
regularFacets.value ? (openBlock(), createBlock(_sfc_main$
|
|
34727
|
+
regularFacets.value ? (openBlock(), createBlock(_sfc_main$S, {
|
|
34728
34728
|
key: 0,
|
|
34729
34729
|
options: _ctx.options,
|
|
34730
34730
|
facets: regularFacets.value,
|
|
@@ -34734,8 +34734,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
34734
34734
|
onSelect: handleFacetSelect,
|
|
34735
34735
|
onClear: clear
|
|
34736
34736
|
}, null, 8, ["options", "facets", "currentFilters", "facetStyle", "clearable"])) : createCommentVNode("", true),
|
|
34737
|
-
createBaseVNode("div", _hoisted_1$
|
|
34738
|
-
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
34737
|
+
createBaseVNode("div", _hoisted_1$K, [
|
|
34738
|
+
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$R, {
|
|
34739
34739
|
key: 0,
|
|
34740
34740
|
options: _ctx.options,
|
|
34741
34741
|
onFilter: filter
|
|
@@ -34745,12 +34745,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
34745
34745
|
};
|
|
34746
34746
|
}
|
|
34747
34747
|
});
|
|
34748
|
-
const _hoisted_1$
|
|
34748
|
+
const _hoisted_1$J = {
|
|
34749
34749
|
key: 0,
|
|
34750
34750
|
id: "lupa-search-result-filters",
|
|
34751
34751
|
class: "lupa-search-result-filters"
|
|
34752
34752
|
};
|
|
34753
|
-
const _sfc_main$
|
|
34753
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
34754
34754
|
__name: "SearchResultsFilters",
|
|
34755
34755
|
props: {
|
|
34756
34756
|
options: {},
|
|
@@ -34788,19 +34788,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
34788
34788
|
__expose({ fetch: fetch2 });
|
|
34789
34789
|
return (_ctx, _cache) => {
|
|
34790
34790
|
var _a25;
|
|
34791
|
-
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
34792
|
-
showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$
|
|
34791
|
+
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
34792
|
+
showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$_, {
|
|
34793
34793
|
key: 0,
|
|
34794
34794
|
options: _ctx.options.currentFilters,
|
|
34795
34795
|
expandable: (_a25 = _ctx.expandable) != null ? _a25 : false
|
|
34796
34796
|
}, null, 8, ["options", "expandable"])) : createCommentVNode("", true),
|
|
34797
|
-
_ctx.options.categories ? (openBlock(), createBlock(_sfc_main$
|
|
34797
|
+
_ctx.options.categories ? (openBlock(), createBlock(_sfc_main$Y, {
|
|
34798
34798
|
key: 1,
|
|
34799
34799
|
options: _ctx.options.categories,
|
|
34800
34800
|
ref_key: "categoryFilters",
|
|
34801
34801
|
ref: categoryFilters
|
|
34802
34802
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
34803
|
-
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$
|
|
34803
|
+
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
|
|
34804
34804
|
key: 2,
|
|
34805
34805
|
options: _ctx.options.facets,
|
|
34806
34806
|
onFilter: filter
|
|
@@ -34809,11 +34809,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
34809
34809
|
};
|
|
34810
34810
|
}
|
|
34811
34811
|
});
|
|
34812
|
-
const _hoisted_1$
|
|
34812
|
+
const _hoisted_1$I = {
|
|
34813
34813
|
key: 0,
|
|
34814
34814
|
class: "lupa-mobile-filter-sidebar"
|
|
34815
34815
|
};
|
|
34816
|
-
const _hoisted_2$
|
|
34816
|
+
const _hoisted_2$w = { class: "lupa-mobile-sidebar-content" };
|
|
34817
34817
|
const _hoisted_3$o = { class: "lupa-sidebar-top" };
|
|
34818
34818
|
const _hoisted_4$g = { class: "lupa-sidebar-title" };
|
|
34819
34819
|
const _hoisted_5$b = {
|
|
@@ -34821,7 +34821,7 @@ const _hoisted_5$b = {
|
|
|
34821
34821
|
class: "lupa-sidebar-filter-count"
|
|
34822
34822
|
};
|
|
34823
34823
|
const _hoisted_6$5 = { class: "lupa-sidebar-filter-options" };
|
|
34824
|
-
const _sfc_main$
|
|
34824
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
34825
34825
|
__name: "MobileFilterSidebar",
|
|
34826
34826
|
props: {
|
|
34827
34827
|
options: {}
|
|
@@ -34853,12 +34853,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
34853
34853
|
handleMobileToggle();
|
|
34854
34854
|
};
|
|
34855
34855
|
return (_ctx, _cache) => {
|
|
34856
|
-
return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
34856
|
+
return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
34857
34857
|
createBaseVNode("div", {
|
|
34858
34858
|
class: "lupa-sidebar-close",
|
|
34859
34859
|
onClick: withModifiers(handleMobileToggle, ["stop"])
|
|
34860
34860
|
}),
|
|
34861
|
-
createBaseVNode("div", _hoisted_2$
|
|
34861
|
+
createBaseVNode("div", _hoisted_2$w, [
|
|
34862
34862
|
createBaseVNode("div", _hoisted_3$o, [
|
|
34863
34863
|
createBaseVNode("div", _hoisted_4$g, [
|
|
34864
34864
|
createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
|
|
@@ -34870,7 +34870,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
34870
34870
|
})
|
|
34871
34871
|
]),
|
|
34872
34872
|
createBaseVNode("div", _hoisted_6$5, [
|
|
34873
|
-
createVNode(_sfc_main$
|
|
34873
|
+
createVNode(_sfc_main$P, {
|
|
34874
34874
|
options: _ctx.options,
|
|
34875
34875
|
expandable: isActiveFiltersExpanded.value,
|
|
34876
34876
|
onFilter: filter
|
|
@@ -34881,14 +34881,14 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
34881
34881
|
};
|
|
34882
34882
|
}
|
|
34883
34883
|
});
|
|
34884
|
-
const _hoisted_1$
|
|
34885
|
-
const _hoisted_2$
|
|
34884
|
+
const _hoisted_1$H = { id: "lupa-search-results-breadcrumbs" };
|
|
34885
|
+
const _hoisted_2$v = ["href", "onClick"];
|
|
34886
34886
|
const _hoisted_3$n = {
|
|
34887
34887
|
key: 1,
|
|
34888
34888
|
class: "lupa-search-results-breadcrumb-text"
|
|
34889
34889
|
};
|
|
34890
34890
|
const _hoisted_4$f = { key: 2 };
|
|
34891
|
-
const _sfc_main$
|
|
34891
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
34892
34892
|
__name: "SearchResultsBreadcrumbs",
|
|
34893
34893
|
props: {
|
|
34894
34894
|
breadcrumbs: {}
|
|
@@ -34913,7 +34913,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
34913
34913
|
handleRoutingEvent(link, event, hasEventRouting.value);
|
|
34914
34914
|
};
|
|
34915
34915
|
return (_ctx, _cache) => {
|
|
34916
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34916
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
34917
34917
|
(openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
|
|
34918
34918
|
var _a25;
|
|
34919
34919
|
return openBlock(), createElementBlock("span", {
|
|
@@ -34928,7 +34928,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
34928
34928
|
var _a26;
|
|
34929
34929
|
return handleNavigation(e2, (_a26 = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a26 : "");
|
|
34930
34930
|
}
|
|
34931
|
-
}, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$
|
|
34931
|
+
}, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$v)) : (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(getLabel(breadcrumb.label)), 1)),
|
|
34932
34932
|
index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$f, toDisplayString((_a25 = breadcrumb.separator) != null ? _a25 : "/"), 1)) : createCommentVNode("", true)
|
|
34933
34933
|
]);
|
|
34934
34934
|
}), 128))
|
|
@@ -34936,12 +34936,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
34936
34936
|
};
|
|
34937
34937
|
}
|
|
34938
34938
|
});
|
|
34939
|
-
const _hoisted_1$
|
|
34939
|
+
const _hoisted_1$G = {
|
|
34940
34940
|
key: 0,
|
|
34941
34941
|
id: "lupa-search-result-filters",
|
|
34942
34942
|
class: "lupa-search-result-filters lupa-search-result-top-filters"
|
|
34943
34943
|
};
|
|
34944
|
-
const _sfc_main$
|
|
34944
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
34945
34945
|
__name: "FiltersTopDropdown",
|
|
34946
34946
|
props: {
|
|
34947
34947
|
options: {}
|
|
@@ -34959,8 +34959,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
34959
34959
|
});
|
|
34960
34960
|
return (_ctx, _cache) => {
|
|
34961
34961
|
var _a25;
|
|
34962
|
-
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
34963
|
-
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$
|
|
34962
|
+
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
34963
|
+
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
|
|
34964
34964
|
key: 0,
|
|
34965
34965
|
options: _ctx.options.facets,
|
|
34966
34966
|
"facet-style": (_a25 = _ctx.options.facets.style) == null ? void 0 : _a25.type,
|
|
@@ -34971,8 +34971,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
34971
34971
|
};
|
|
34972
34972
|
}
|
|
34973
34973
|
});
|
|
34974
|
-
const _hoisted_1$
|
|
34975
|
-
const _sfc_main$
|
|
34974
|
+
const _hoisted_1$F = { id: "lupa-search-results-layout-selection" };
|
|
34975
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
34976
34976
|
__name: "SearchResultsLayoutSelection",
|
|
34977
34977
|
setup(__props) {
|
|
34978
34978
|
const searchResultStore = useSearchResultStore();
|
|
@@ -34983,7 +34983,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
34983
34983
|
searchResultStore.setLayout(layout2);
|
|
34984
34984
|
};
|
|
34985
34985
|
return (_ctx, _cache) => {
|
|
34986
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34986
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
34987
34987
|
createBaseVNode("div", {
|
|
34988
34988
|
class: normalizeClass([
|
|
34989
34989
|
"lupa-layout-selection-grid",
|
|
@@ -35005,11 +35005,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
35005
35005
|
};
|
|
35006
35006
|
}
|
|
35007
35007
|
});
|
|
35008
|
-
const _hoisted_1$
|
|
35008
|
+
const _hoisted_1$E = {
|
|
35009
35009
|
key: 0,
|
|
35010
35010
|
class: "lupa-mobile-toggle-filter-count"
|
|
35011
35011
|
};
|
|
35012
|
-
const _sfc_main$
|
|
35012
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
35013
35013
|
__name: "SearchResultsMobileToggle",
|
|
35014
35014
|
props: {
|
|
35015
35015
|
labels: {},
|
|
@@ -35057,12 +35057,12 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
35057
35057
|
onClick: handleMobileToggle
|
|
35058
35058
|
}, [
|
|
35059
35059
|
createTextVNode(toDisplayString(label.value) + " ", 1),
|
|
35060
|
-
_ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
35060
|
+
_ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$E, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
|
|
35061
35061
|
], 2);
|
|
35062
35062
|
};
|
|
35063
35063
|
}
|
|
35064
35064
|
});
|
|
35065
|
-
const _sfc_main$
|
|
35065
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
35066
35066
|
__name: "SearchResultsMobileFilterClose",
|
|
35067
35067
|
props: {
|
|
35068
35068
|
label: {}
|
|
@@ -35082,12 +35082,12 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
35082
35082
|
};
|
|
35083
35083
|
}
|
|
35084
35084
|
});
|
|
35085
|
-
const _hoisted_1$
|
|
35085
|
+
const _hoisted_1$D = {
|
|
35086
35086
|
key: 0,
|
|
35087
35087
|
id: "lupa-search-results-page-select",
|
|
35088
35088
|
"data-cy": "lupa-search-results-page-select"
|
|
35089
35089
|
};
|
|
35090
|
-
const _hoisted_2$
|
|
35090
|
+
const _hoisted_2$u = {
|
|
35091
35091
|
key: 0,
|
|
35092
35092
|
class: "lupa-page-number-separator"
|
|
35093
35093
|
};
|
|
@@ -35096,7 +35096,7 @@ const _hoisted_4$e = {
|
|
|
35096
35096
|
key: 0,
|
|
35097
35097
|
class: "lupa-page-number-separator"
|
|
35098
35098
|
};
|
|
35099
|
-
const _sfc_main$
|
|
35099
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
35100
35100
|
__name: "SearchResultsPageSelect",
|
|
35101
35101
|
props: {
|
|
35102
35102
|
lastPageLabel: {},
|
|
@@ -35173,7 +35173,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
35173
35173
|
}
|
|
35174
35174
|
};
|
|
35175
35175
|
return (_ctx, _cache) => {
|
|
35176
|
-
return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
35176
|
+
return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
35177
35177
|
showBack.value ? (openBlock(), createElementBlock("div", {
|
|
35178
35178
|
key: 0,
|
|
35179
35179
|
class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
|
|
@@ -35184,7 +35184,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
35184
35184
|
class: "lupa-page-number lupa-page-number-first",
|
|
35185
35185
|
onClick: _cache[1] || (_cache[1] = () => handlePageChange(1))
|
|
35186
35186
|
}, " 1 "),
|
|
35187
|
-
showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
35187
|
+
showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$u, "...")) : createCommentVNode("", true)
|
|
35188
35188
|
], 64)) : createCommentVNode("", true),
|
|
35189
35189
|
(openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page) => {
|
|
35190
35190
|
return openBlock(), createElementBlock("div", {
|
|
@@ -35217,15 +35217,15 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
35217
35217
|
};
|
|
35218
35218
|
}
|
|
35219
35219
|
});
|
|
35220
|
-
const _hoisted_1$
|
|
35220
|
+
const _hoisted_1$C = {
|
|
35221
35221
|
id: "lupa-search-results-page-size",
|
|
35222
35222
|
"data-cy": "lupa-search-results-page-size"
|
|
35223
35223
|
};
|
|
35224
|
-
const _hoisted_2$
|
|
35224
|
+
const _hoisted_2$t = { id: "lupa-select" };
|
|
35225
35225
|
const _hoisted_3$l = { class: "lupa-select-label" };
|
|
35226
35226
|
const _hoisted_4$d = ["aria-label"];
|
|
35227
35227
|
const _hoisted_5$a = ["value"];
|
|
35228
|
-
const _sfc_main$
|
|
35228
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
35229
35229
|
__name: "SearchResultsPageSize",
|
|
35230
35230
|
props: {
|
|
35231
35231
|
labels: {},
|
|
@@ -35253,8 +35253,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
35253
35253
|
});
|
|
35254
35254
|
};
|
|
35255
35255
|
return (_ctx, _cache) => {
|
|
35256
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35257
|
-
createBaseVNode("div", _hoisted_2$
|
|
35256
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
35257
|
+
createBaseVNode("div", _hoisted_2$t, [
|
|
35258
35258
|
createBaseVNode("label", _hoisted_3$l, toDisplayString(label.value), 1),
|
|
35259
35259
|
createBaseVNode("select", {
|
|
35260
35260
|
class: "lupa-select-dropdown",
|
|
@@ -35276,15 +35276,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
35276
35276
|
};
|
|
35277
35277
|
}
|
|
35278
35278
|
});
|
|
35279
|
-
const _hoisted_1$
|
|
35279
|
+
const _hoisted_1$B = {
|
|
35280
35280
|
id: "lupa-search-results-sort",
|
|
35281
35281
|
class: "lupa-search-results-sort"
|
|
35282
35282
|
};
|
|
35283
|
-
const _hoisted_2$
|
|
35283
|
+
const _hoisted_2$s = { id: "lupa-select" };
|
|
35284
35284
|
const _hoisted_3$k = { class: "lupa-select-label" };
|
|
35285
35285
|
const _hoisted_4$c = ["aria-label"];
|
|
35286
35286
|
const _hoisted_5$9 = ["value"];
|
|
35287
|
-
const _sfc_main$
|
|
35287
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
35288
35288
|
__name: "SearchResultsSort",
|
|
35289
35289
|
props: {
|
|
35290
35290
|
options: {},
|
|
@@ -35333,8 +35333,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
35333
35333
|
previousKey.value = selectedKey.value;
|
|
35334
35334
|
};
|
|
35335
35335
|
return (_ctx, _cache) => {
|
|
35336
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35337
|
-
createBaseVNode("div", _hoisted_2$
|
|
35336
|
+
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
35337
|
+
createBaseVNode("div", _hoisted_2$s, [
|
|
35338
35338
|
createBaseVNode("label", _hoisted_3$k, toDisplayString(_ctx.options.label), 1),
|
|
35339
35339
|
withDirectives(createBaseVNode("select", {
|
|
35340
35340
|
class: "lupa-select-dropdown",
|
|
@@ -35358,8 +35358,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
35358
35358
|
};
|
|
35359
35359
|
}
|
|
35360
35360
|
});
|
|
35361
|
-
const _hoisted_1$
|
|
35362
|
-
const _hoisted_2$
|
|
35361
|
+
const _hoisted_1$A = { class: "lupa-toolbar-left" };
|
|
35362
|
+
const _hoisted_2$r = {
|
|
35363
35363
|
key: 0,
|
|
35364
35364
|
class: "lupa-toolbar-right-title"
|
|
35365
35365
|
};
|
|
@@ -35373,7 +35373,7 @@ const _hoisted_7$2 = {
|
|
|
35373
35373
|
};
|
|
35374
35374
|
const _hoisted_8 = { key: 2 };
|
|
35375
35375
|
const _hoisted_9 = { key: 4 };
|
|
35376
|
-
const _sfc_main$
|
|
35376
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
35377
35377
|
__name: "SearchResultsToolbar",
|
|
35378
35378
|
props: {
|
|
35379
35379
|
options: {},
|
|
@@ -35484,16 +35484,16 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
35484
35484
|
id: "lupa-search-results-toolbar",
|
|
35485
35485
|
class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
|
|
35486
35486
|
}, [
|
|
35487
|
-
createBaseVNode("div", _hoisted_1$
|
|
35488
|
-
toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
35489
|
-
showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$
|
|
35490
|
-
showItemSummary.value ? (openBlock(), createBlock(_sfc_main$
|
|
35487
|
+
createBaseVNode("div", _hoisted_1$A, [
|
|
35488
|
+
toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$r, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
|
|
35489
|
+
showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$L, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$j)),
|
|
35490
|
+
showItemSummary.value ? (openBlock(), createBlock(_sfc_main$11, {
|
|
35491
35491
|
key: 3,
|
|
35492
35492
|
label: searchSummaryLabel.value,
|
|
35493
35493
|
clearable: unref(hasAnyFilter) && showFilterClear.value,
|
|
35494
35494
|
onClear: handleClearAll
|
|
35495
35495
|
}, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$b)),
|
|
35496
|
-
displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$
|
|
35496
|
+
displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$I, {
|
|
35497
35497
|
key: 5,
|
|
35498
35498
|
options: paginationOptions.value.pageSelect,
|
|
35499
35499
|
"last-page-label": paginationOptions.value.labels.showMore,
|
|
@@ -35502,21 +35502,21 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
35502
35502
|
]),
|
|
35503
35503
|
createBaseVNode("div", _hoisted_6$4, [
|
|
35504
35504
|
toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
|
|
35505
|
-
createVNode(_sfc_main$
|
|
35505
|
+
createVNode(_sfc_main$K, {
|
|
35506
35506
|
labels: optionsValue.value.labels,
|
|
35507
35507
|
"show-filter-count": showMobileFilterCount.value
|
|
35508
35508
|
}, null, 8, ["labels", "show-filter-count"]),
|
|
35509
|
-
paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$
|
|
35509
|
+
paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$H, {
|
|
35510
35510
|
key: 1,
|
|
35511
35511
|
options: paginationOptions.value.pageSize,
|
|
35512
35512
|
labels: paginationOptions.value.labels
|
|
35513
35513
|
}, null, 8, ["options", "labels"])) : (openBlock(), createElementBlock("div", _hoisted_8)),
|
|
35514
|
-
sortOptions.value ? (openBlock(), createBlock(_sfc_main$
|
|
35514
|
+
sortOptions.value ? (openBlock(), createBlock(_sfc_main$G, {
|
|
35515
35515
|
key: 3,
|
|
35516
35516
|
options: sortOptions.value,
|
|
35517
35517
|
callbacks: callbacks.value
|
|
35518
35518
|
}, null, 8, ["options", "callbacks"])) : (openBlock(), createElementBlock("div", _hoisted_9)),
|
|
35519
|
-
showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$
|
|
35519
|
+
showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$J, {
|
|
35520
35520
|
key: 5,
|
|
35521
35521
|
label: optionsValue.value.labels.mobileFilterCloseButton
|
|
35522
35522
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
@@ -35525,7 +35525,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
35525
35525
|
};
|
|
35526
35526
|
}
|
|
35527
35527
|
});
|
|
35528
|
-
const _sfc_main$
|
|
35528
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
35529
35529
|
__name: "SearchResultsProductImage",
|
|
35530
35530
|
props: {
|
|
35531
35531
|
item: {},
|
|
@@ -35533,7 +35533,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
35533
35533
|
},
|
|
35534
35534
|
setup(__props) {
|
|
35535
35535
|
return (_ctx, _cache) => {
|
|
35536
|
-
return openBlock(), createBlock(_sfc_main$
|
|
35536
|
+
return openBlock(), createBlock(_sfc_main$1q, {
|
|
35537
35537
|
item: _ctx.item,
|
|
35538
35538
|
options: _ctx.options,
|
|
35539
35539
|
"wrapper-class": "lupa-search-results-image-wrapper",
|
|
@@ -35542,8 +35542,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
35542
35542
|
};
|
|
35543
35543
|
}
|
|
35544
35544
|
});
|
|
35545
|
-
const _hoisted_1$
|
|
35546
|
-
const _hoisted_2$
|
|
35545
|
+
const _hoisted_1$z = ["title", "innerHTML"];
|
|
35546
|
+
const _hoisted_2$q = ["title"];
|
|
35547
35547
|
const _hoisted_3$i = ["href", "innerHTML"];
|
|
35548
35548
|
const _hoisted_4$a = ["title"];
|
|
35549
35549
|
const _hoisted_5$7 = {
|
|
@@ -35551,7 +35551,7 @@ const _hoisted_5$7 = {
|
|
|
35551
35551
|
class: "lupa-search-results-product-title-text"
|
|
35552
35552
|
};
|
|
35553
35553
|
const _hoisted_6$3 = ["href"];
|
|
35554
|
-
const _sfc_main$
|
|
35554
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
35555
35555
|
__name: "SearchResultsProductTitle",
|
|
35556
35556
|
props: {
|
|
35557
35557
|
item: {},
|
|
@@ -35588,7 +35588,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
35588
35588
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
35589
35589
|
title: sanitizedTitle.value,
|
|
35590
35590
|
innerHTML: sanitizedTitle.value
|
|
35591
|
-
}, null, 12, _hoisted_1$
|
|
35591
|
+
}, null, 12, _hoisted_1$z)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
|
|
35592
35592
|
key: 1,
|
|
35593
35593
|
class: "lupa-search-results-product-title",
|
|
35594
35594
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
@@ -35600,7 +35600,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
35600
35600
|
innerHTML: sanitizedTitle.value,
|
|
35601
35601
|
onClick: handleNavigation
|
|
35602
35602
|
}, null, 8, _hoisted_3$i)
|
|
35603
|
-
], 12, _hoisted_2$
|
|
35603
|
+
], 12, _hoisted_2$q)) : (openBlock(), createElementBlock("div", {
|
|
35604
35604
|
key: 2,
|
|
35605
35605
|
class: "lupa-search-results-product-title",
|
|
35606
35606
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
@@ -35617,8 +35617,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
35617
35617
|
};
|
|
35618
35618
|
}
|
|
35619
35619
|
});
|
|
35620
|
-
const _hoisted_1$
|
|
35621
|
-
const _sfc_main$
|
|
35620
|
+
const _hoisted_1$y = ["innerHTML"];
|
|
35621
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
35622
35622
|
__name: "SearchResultsProductDescription",
|
|
35623
35623
|
props: {
|
|
35624
35624
|
item: {},
|
|
@@ -35645,7 +35645,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
35645
35645
|
class: "lupa-search-results-product-description",
|
|
35646
35646
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
35647
35647
|
innerHTML: sanitizedDescription.value
|
|
35648
|
-
}, null, 12, _hoisted_1$
|
|
35648
|
+
}, null, 12, _hoisted_1$y)) : (openBlock(), createElementBlock("div", {
|
|
35649
35649
|
key: 1,
|
|
35650
35650
|
class: "lupa-search-results-product-description",
|
|
35651
35651
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
|
|
@@ -35653,15 +35653,15 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
35653
35653
|
};
|
|
35654
35654
|
}
|
|
35655
35655
|
});
|
|
35656
|
-
const _hoisted_1$
|
|
35657
|
-
const _hoisted_2$
|
|
35656
|
+
const _hoisted_1$x = { id: "lupa-search-results-rating" };
|
|
35657
|
+
const _hoisted_2$p = { class: "lupa-ratings" };
|
|
35658
35658
|
const _hoisted_3$h = { class: "lupa-ratings-base" };
|
|
35659
35659
|
const _hoisted_4$9 = ["innerHTML"];
|
|
35660
35660
|
const _hoisted_5$6 = { class: "lupa-rating-wrapper" };
|
|
35661
35661
|
const _hoisted_6$2 = ["innerHTML"];
|
|
35662
35662
|
const _hoisted_7$1 = ["href"];
|
|
35663
35663
|
const STAR_COUNT = 5;
|
|
35664
|
-
const _sfc_main$
|
|
35664
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
35665
35665
|
__name: "SearchResultsProductRating",
|
|
35666
35666
|
props: {
|
|
35667
35667
|
item: {},
|
|
@@ -35698,8 +35698,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
35698
35698
|
return generateLink(props.options.links.ratingDetails, props.item);
|
|
35699
35699
|
});
|
|
35700
35700
|
return (_ctx, _cache) => {
|
|
35701
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35702
|
-
createBaseVNode("div", _hoisted_2$
|
|
35701
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
35702
|
+
createBaseVNode("div", _hoisted_2$p, [
|
|
35703
35703
|
createBaseVNode("div", _hoisted_3$h, [
|
|
35704
35704
|
(openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
|
|
35705
35705
|
return openBlock(), createElementBlock("div", {
|
|
@@ -35732,11 +35732,11 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
35732
35732
|
};
|
|
35733
35733
|
}
|
|
35734
35734
|
});
|
|
35735
|
-
const _hoisted_1$
|
|
35735
|
+
const _hoisted_1$w = {
|
|
35736
35736
|
class: "lupa-search-results-product-regular-price",
|
|
35737
35737
|
"data-cy": "lupa-search-results-product-regular-price"
|
|
35738
35738
|
};
|
|
35739
|
-
const _sfc_main$
|
|
35739
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
35740
35740
|
__name: "SearchResultsProductRegularPrice",
|
|
35741
35741
|
props: {
|
|
35742
35742
|
item: {},
|
|
@@ -35758,11 +35758,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
35758
35758
|
);
|
|
35759
35759
|
});
|
|
35760
35760
|
return (_ctx, _cache) => {
|
|
35761
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35761
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, toDisplayString(price.value), 1);
|
|
35762
35762
|
};
|
|
35763
35763
|
}
|
|
35764
35764
|
});
|
|
35765
|
-
const _sfc_main$
|
|
35765
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
35766
35766
|
__name: "SearchResultsProductPrice",
|
|
35767
35767
|
props: {
|
|
35768
35768
|
item: {},
|
|
@@ -35796,12 +35796,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
35796
35796
|
};
|
|
35797
35797
|
}
|
|
35798
35798
|
});
|
|
35799
|
-
const _hoisted_1$
|
|
35800
|
-
const _hoisted_2$
|
|
35799
|
+
const _hoisted_1$v = { class: "lupa-search-results-add-to-cart-wrapper" };
|
|
35800
|
+
const _hoisted_2$o = { class: "lupa-search-results-product-addtocart" };
|
|
35801
35801
|
const _hoisted_3$g = ["disabled"];
|
|
35802
35802
|
const _hoisted_4$8 = ["href"];
|
|
35803
35803
|
const _hoisted_5$5 = ["id", "disabled"];
|
|
35804
|
-
const _sfc_main$
|
|
35804
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
35805
35805
|
__name: "SearchResultsProductAddToCart",
|
|
35806
35806
|
props: {
|
|
35807
35807
|
item: {},
|
|
@@ -35853,8 +35853,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
35853
35853
|
loading.value = false;
|
|
35854
35854
|
});
|
|
35855
35855
|
return (_ctx, _cache) => {
|
|
35856
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35857
|
-
createBaseVNode("div", _hoisted_2$
|
|
35856
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
35857
|
+
createBaseVNode("div", _hoisted_2$o, [
|
|
35858
35858
|
hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
35859
35859
|
key: 0,
|
|
35860
35860
|
class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
|
|
@@ -35876,12 +35876,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
35876
35876
|
};
|
|
35877
35877
|
}
|
|
35878
35878
|
});
|
|
35879
|
-
const _hoisted_1$
|
|
35880
|
-
const _hoisted_2$
|
|
35879
|
+
const _hoisted_1$u = ["innerHTML"];
|
|
35880
|
+
const _hoisted_2$n = { key: 0 };
|
|
35881
35881
|
const _hoisted_3$f = { key: 1 };
|
|
35882
35882
|
const _hoisted_4$7 = { class: "lupa-search-box-custom-label" };
|
|
35883
35883
|
const _hoisted_5$4 = { class: "lupa-search-box-custom-text" };
|
|
35884
|
-
const _sfc_main$
|
|
35884
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
35885
35885
|
__name: "SearchResultsProductCustom",
|
|
35886
35886
|
props: {
|
|
35887
35887
|
item: {},
|
|
@@ -35919,11 +35919,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
35919
35919
|
key: 0,
|
|
35920
35920
|
class: className.value,
|
|
35921
35921
|
innerHTML: text.value
|
|
35922
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
35922
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$u)) : (openBlock(), createElementBlock("div", mergeProps({
|
|
35923
35923
|
key: 1,
|
|
35924
35924
|
class: className.value
|
|
35925
35925
|
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
|
|
35926
|
-
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
35926
|
+
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
35927
35927
|
createBaseVNode("div", _hoisted_4$7, toDisplayString(label.value), 1),
|
|
35928
35928
|
createBaseVNode("div", _hoisted_5$4, toDisplayString(text.value), 1)
|
|
35929
35929
|
]))
|
|
@@ -35931,8 +35931,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
35931
35931
|
};
|
|
35932
35932
|
}
|
|
35933
35933
|
});
|
|
35934
|
-
const _hoisted_1$
|
|
35935
|
-
const _sfc_main$
|
|
35934
|
+
const _hoisted_1$t = ["innerHTML"];
|
|
35935
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
35936
35936
|
__name: "SearchResultsProductCustomHtmlElement",
|
|
35937
35937
|
props: {
|
|
35938
35938
|
item: {},
|
|
@@ -35964,15 +35964,15 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
35964
35964
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
35965
35965
|
class: className.value,
|
|
35966
35966
|
innerHTML: text.value
|
|
35967
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
35967
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$t);
|
|
35968
35968
|
};
|
|
35969
35969
|
}
|
|
35970
35970
|
});
|
|
35971
|
-
const _hoisted_1$
|
|
35972
|
-
const _hoisted_2$
|
|
35971
|
+
const _hoisted_1$s = { id: "lupa-search-results-rating" };
|
|
35972
|
+
const _hoisted_2$m = ["innerHTML"];
|
|
35973
35973
|
const _hoisted_3$e = { class: "lupa-ratings" };
|
|
35974
35974
|
const _hoisted_4$6 = ["href"];
|
|
35975
|
-
const _sfc_main$
|
|
35975
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
35976
35976
|
__name: "SearchResultsProductSingleStarRating",
|
|
35977
35977
|
props: {
|
|
35978
35978
|
item: {},
|
|
@@ -36000,11 +36000,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
36000
36000
|
return RATING_STAR_HTML;
|
|
36001
36001
|
});
|
|
36002
36002
|
return (_ctx, _cache) => {
|
|
36003
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36003
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
36004
36004
|
createBaseVNode("div", {
|
|
36005
36005
|
innerHTML: star.value,
|
|
36006
36006
|
class: "lupa-rating lupa-rating-highlighted"
|
|
36007
|
-
}, null, 8, _hoisted_2$
|
|
36007
|
+
}, null, 8, _hoisted_2$m),
|
|
36008
36008
|
createBaseVNode("div", _hoisted_3$e, toDisplayString(rating.value), 1),
|
|
36009
36009
|
createBaseVNode("a", {
|
|
36010
36010
|
href: ratingLink.value,
|
|
@@ -36016,19 +36016,19 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
36016
36016
|
});
|
|
36017
36017
|
const __default__ = {
|
|
36018
36018
|
components: {
|
|
36019
|
-
SearchResultsProductImage: _sfc_main$
|
|
36020
|
-
SearchResultsProductTitle: _sfc_main$
|
|
36021
|
-
SearchResultsProductDescription: _sfc_main$
|
|
36022
|
-
SearchResultsProductRating: _sfc_main$
|
|
36023
|
-
SearchResultsProductRegularPrice: _sfc_main$
|
|
36024
|
-
SearchResultsProductPrice: _sfc_main$
|
|
36025
|
-
SearchResultsProductAddToCart: _sfc_main$
|
|
36026
|
-
SearchResultsProductCustom: _sfc_main$
|
|
36027
|
-
SearchResultsProductCustomHtmlElement: _sfc_main$
|
|
36028
|
-
SearchResultsProductSingleStarRating: _sfc_main$
|
|
36029
|
-
}
|
|
36030
|
-
};
|
|
36031
|
-
const _sfc_main$
|
|
36019
|
+
SearchResultsProductImage: _sfc_main$E,
|
|
36020
|
+
SearchResultsProductTitle: _sfc_main$D,
|
|
36021
|
+
SearchResultsProductDescription: _sfc_main$C,
|
|
36022
|
+
SearchResultsProductRating: _sfc_main$B,
|
|
36023
|
+
SearchResultsProductRegularPrice: _sfc_main$A,
|
|
36024
|
+
SearchResultsProductPrice: _sfc_main$z,
|
|
36025
|
+
SearchResultsProductAddToCart: _sfc_main$y,
|
|
36026
|
+
SearchResultsProductCustom: _sfc_main$x,
|
|
36027
|
+
SearchResultsProductCustomHtmlElement: _sfc_main$w,
|
|
36028
|
+
SearchResultsProductSingleStarRating: _sfc_main$v
|
|
36029
|
+
}
|
|
36030
|
+
};
|
|
36031
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
|
|
36032
36032
|
__name: "SearchResultsProductCardElement",
|
|
36033
36033
|
props: {
|
|
36034
36034
|
item: {},
|
|
@@ -36106,13 +36106,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
|
|
|
36106
36106
|
};
|
|
36107
36107
|
}
|
|
36108
36108
|
}));
|
|
36109
|
-
const _hoisted_1$
|
|
36110
|
-
const _hoisted_2$
|
|
36109
|
+
const _hoisted_1$r = ["href"];
|
|
36110
|
+
const _hoisted_2$l = {
|
|
36111
36111
|
key: 0,
|
|
36112
36112
|
class: "lupa-out-of-stock"
|
|
36113
36113
|
};
|
|
36114
36114
|
const _hoisted_3$d = { class: "lupa-search-result-product-details-section" };
|
|
36115
|
-
const _sfc_main$
|
|
36115
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
36116
36116
|
__name: "SearchResultsProductCard",
|
|
36117
36117
|
props: {
|
|
36118
36118
|
product: {},
|
|
@@ -36288,7 +36288,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
36288
36288
|
default: withCtx(() => {
|
|
36289
36289
|
var _a25;
|
|
36290
36290
|
return [
|
|
36291
|
-
createVNode(_sfc_main$
|
|
36291
|
+
createVNode(_sfc_main$1a, { options: badgesOptions.value }, null, 8, ["options"]),
|
|
36292
36292
|
createBaseVNode("div", {
|
|
36293
36293
|
class: normalizeClass(["lupa-search-result-product-contents", listLayoutClass.value])
|
|
36294
36294
|
}, [
|
|
@@ -36298,7 +36298,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
36298
36298
|
onClick: handleNavigation
|
|
36299
36299
|
}, [
|
|
36300
36300
|
(openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
|
|
36301
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36301
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
36302
36302
|
class: "lupa-search-results-product-element",
|
|
36303
36303
|
item: _ctx.product,
|
|
36304
36304
|
element,
|
|
@@ -36309,16 +36309,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
36309
36309
|
onProductEvent: handleProductEvent
|
|
36310
36310
|
}, null, 8, ["item", "element", "labels", "inStock", "link"]);
|
|
36311
36311
|
}), 128)),
|
|
36312
|
-
createVNode(_sfc_main$
|
|
36312
|
+
createVNode(_sfc_main$1a, {
|
|
36313
36313
|
options: badgesOptions.value,
|
|
36314
36314
|
position: "image",
|
|
36315
36315
|
class: "lupa-image-badges"
|
|
36316
36316
|
}, null, 8, ["options"]),
|
|
36317
|
-
((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
36318
|
-
], 8, _hoisted_1$
|
|
36317
|
+
((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$l, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
|
|
36318
|
+
], 8, _hoisted_1$r),
|
|
36319
36319
|
createBaseVNode("div", _hoisted_3$d, [
|
|
36320
36320
|
(openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
|
|
36321
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36321
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
36322
36322
|
class: "lupa-search-results-product-element",
|
|
36323
36323
|
item: _ctx.product,
|
|
36324
36324
|
element,
|
|
@@ -36336,7 +36336,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
36336
36336
|
class: normalizeClass("lupa-element-group-" + group)
|
|
36337
36337
|
}, [
|
|
36338
36338
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
|
|
36339
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36339
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
36340
36340
|
class: "lupa-search-results-product-element",
|
|
36341
36341
|
item: _ctx.product,
|
|
36342
36342
|
element,
|
|
@@ -36357,11 +36357,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
36357
36357
|
};
|
|
36358
36358
|
}
|
|
36359
36359
|
});
|
|
36360
|
-
const _hoisted_1$
|
|
36360
|
+
const _hoisted_1$q = {
|
|
36361
36361
|
id: "lupa-search-results-similar-queries",
|
|
36362
36362
|
"data-cy": "lupa-search-results-similar-queries"
|
|
36363
36363
|
};
|
|
36364
|
-
const _hoisted_2$
|
|
36364
|
+
const _hoisted_2$k = { class: "lupa-similar-queries-label" };
|
|
36365
36365
|
const _hoisted_3$c = {
|
|
36366
36366
|
class: "lupa-similar-query-label",
|
|
36367
36367
|
"data-cy": "lupa-similar-query-label"
|
|
@@ -36373,7 +36373,7 @@ const _hoisted_7 = {
|
|
|
36373
36373
|
class: "lupa-products",
|
|
36374
36374
|
"data-cy": "lupa-products"
|
|
36375
36375
|
};
|
|
36376
|
-
const _sfc_main$
|
|
36376
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
36377
36377
|
__name: "SearchResultsSimilarQueries",
|
|
36378
36378
|
props: {
|
|
36379
36379
|
labels: {},
|
|
@@ -36411,8 +36411,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
36411
36411
|
};
|
|
36412
36412
|
};
|
|
36413
36413
|
return (_ctx, _cache) => {
|
|
36414
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36415
|
-
createBaseVNode("div", _hoisted_2$
|
|
36414
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
36415
|
+
createBaseVNode("div", _hoisted_2$k, toDisplayString(_ctx.labels.similarQueries), 1),
|
|
36416
36416
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarQueries.value, (similarQuery, index) => {
|
|
36417
36417
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
36418
36418
|
createBaseVNode("div", _hoisted_3$c, [
|
|
@@ -36431,7 +36431,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
36431
36431
|
]),
|
|
36432
36432
|
createBaseVNode("div", _hoisted_7, [
|
|
36433
36433
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarQuery.items, (product, index2) => {
|
|
36434
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36434
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
36435
36435
|
style: normalizeStyle(_ctx.columnSize),
|
|
36436
36436
|
key: getDocumentKey(index2, product),
|
|
36437
36437
|
product,
|
|
@@ -36446,15 +36446,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
36446
36446
|
};
|
|
36447
36447
|
}
|
|
36448
36448
|
});
|
|
36449
|
-
const _hoisted_1$
|
|
36449
|
+
const _hoisted_1$p = {
|
|
36450
36450
|
key: 0,
|
|
36451
36451
|
class: "lupa-results-additional-panel"
|
|
36452
36452
|
};
|
|
36453
|
-
const _hoisted_2$
|
|
36453
|
+
const _hoisted_2$j = {
|
|
36454
36454
|
class: "lupa-results-additional-panel-items",
|
|
36455
36455
|
"data-cy": "lupa-results-additional-panel-items"
|
|
36456
36456
|
};
|
|
36457
|
-
const _sfc_main$
|
|
36457
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
36458
36458
|
__name: "AdditionalPanel",
|
|
36459
36459
|
props: {
|
|
36460
36460
|
panel: {},
|
|
@@ -36527,10 +36527,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
36527
36527
|
handleQueryChange();
|
|
36528
36528
|
});
|
|
36529
36529
|
return (_ctx, _cache) => {
|
|
36530
|
-
return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36531
|
-
createBaseVNode("div", _hoisted_2$
|
|
36530
|
+
return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
36531
|
+
createBaseVNode("div", _hoisted_2$j, [
|
|
36532
36532
|
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleItems.value, (item, index) => {
|
|
36533
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36533
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
36534
36534
|
key: index,
|
|
36535
36535
|
product: item,
|
|
36536
36536
|
options: _ctx.panel,
|
|
@@ -36548,11 +36548,11 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
36548
36548
|
};
|
|
36549
36549
|
}
|
|
36550
36550
|
});
|
|
36551
|
-
const _hoisted_1$
|
|
36551
|
+
const _hoisted_1$o = {
|
|
36552
36552
|
key: 0,
|
|
36553
36553
|
class: "lupa-results-additional-panels"
|
|
36554
36554
|
};
|
|
36555
|
-
const _sfc_main$
|
|
36555
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
36556
36556
|
__name: "AdditionalPanels",
|
|
36557
36557
|
props: {
|
|
36558
36558
|
options: {},
|
|
@@ -36569,9 +36569,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
36569
36569
|
return locationPanels.value.length > 0;
|
|
36570
36570
|
});
|
|
36571
36571
|
return (_ctx, _cache) => {
|
|
36572
|
-
return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36572
|
+
return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
36573
36573
|
(openBlock(true), createElementBlock(Fragment, null, renderList(locationPanels.value, (panel) => {
|
|
36574
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36574
|
+
return openBlock(), createBlock(_sfc_main$r, {
|
|
36575
36575
|
key: panel.queryKey,
|
|
36576
36576
|
panel,
|
|
36577
36577
|
options: _ctx.sdkOptions
|
|
@@ -36588,29 +36588,29 @@ const _export_sfc = (sfc, props) => {
|
|
|
36588
36588
|
}
|
|
36589
36589
|
return target2;
|
|
36590
36590
|
};
|
|
36591
|
-
const _sfc_main$
|
|
36592
|
-
const _hoisted_1$
|
|
36593
|
-
const _hoisted_2$
|
|
36591
|
+
const _sfc_main$p = {};
|
|
36592
|
+
const _hoisted_1$n = { class: "lupa-spinner-wrapper" };
|
|
36593
|
+
const _hoisted_2$i = { class: "lupa-spinner" };
|
|
36594
36594
|
function _sfc_render(_ctx, _cache) {
|
|
36595
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36596
|
-
createBaseVNode("div", _hoisted_2$
|
|
36595
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
36596
|
+
createBaseVNode("div", _hoisted_2$i, [
|
|
36597
36597
|
(openBlock(), createElementBlock(Fragment, null, renderList(12, (x) => {
|
|
36598
36598
|
return createBaseVNode("div", { key: x });
|
|
36599
36599
|
}), 64))
|
|
36600
36600
|
])
|
|
36601
36601
|
]);
|
|
36602
36602
|
}
|
|
36603
|
-
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
36604
|
-
const _hoisted_1$
|
|
36603
|
+
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
|
|
36604
|
+
const _hoisted_1$m = {
|
|
36605
36605
|
id: "lupa-search-results-similar-results",
|
|
36606
36606
|
"data-cy": "lupa-search-results-similar-results"
|
|
36607
36607
|
};
|
|
36608
|
-
const _hoisted_2$
|
|
36608
|
+
const _hoisted_2$h = { class: "lupa-similar-results-label" };
|
|
36609
36609
|
const _hoisted_3$b = {
|
|
36610
36610
|
class: "lupa-products",
|
|
36611
36611
|
"data-cy": "lupa-products"
|
|
36612
36612
|
};
|
|
36613
|
-
const _sfc_main$
|
|
36613
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
36614
36614
|
__name: "SearchResultsSimilarResults",
|
|
36615
36615
|
props: {
|
|
36616
36616
|
columnSize: {},
|
|
@@ -36631,11 +36631,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
36631
36631
|
};
|
|
36632
36632
|
});
|
|
36633
36633
|
return (_ctx, _cache) => {
|
|
36634
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36635
|
-
createBaseVNode("div", _hoisted_2$
|
|
36634
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
36635
|
+
createBaseVNode("div", _hoisted_2$h, toDisplayString(_ctx.labels.similarResultsLabel), 1),
|
|
36636
36636
|
createBaseVNode("div", _hoisted_3$b, [
|
|
36637
36637
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarResults.value.items, (product, index) => {
|
|
36638
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36638
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
36639
36639
|
style: normalizeStyle(_ctx.columnSize),
|
|
36640
36640
|
key: getDocumentKey(index, product),
|
|
36641
36641
|
product,
|
|
@@ -36756,15 +36756,15 @@ const extractRelatedSource = (source, searchResults2, options, activeFilters) =>
|
|
|
36756
36756
|
return extractFacetsRelatedSource(source, searchResults2, options, activeFilters);
|
|
36757
36757
|
}
|
|
36758
36758
|
});
|
|
36759
|
-
const _hoisted_1$
|
|
36760
|
-
const _hoisted_2$
|
|
36759
|
+
const _hoisted_1$l = { class: "lupa-related-query-item" };
|
|
36760
|
+
const _hoisted_2$g = { class: "lupa-related-query-image" };
|
|
36761
36761
|
const _hoisted_3$a = { class: "lupa-related-query-label" };
|
|
36762
36762
|
const _hoisted_4$4 = { class: "lupa-related-query-title" };
|
|
36763
36763
|
const _hoisted_5$2 = {
|
|
36764
36764
|
key: 0,
|
|
36765
36765
|
class: "lupa-related-query-count"
|
|
36766
36766
|
};
|
|
36767
|
-
const _sfc_main$
|
|
36767
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
36768
36768
|
__name: "RelatedQueryPanel",
|
|
36769
36769
|
props: {
|
|
36770
36770
|
query: {},
|
|
@@ -36860,9 +36860,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
36860
36860
|
});
|
|
36861
36861
|
return (_ctx, _cache) => {
|
|
36862
36862
|
var _a25;
|
|
36863
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36864
|
-
createBaseVNode("div", _hoisted_2$
|
|
36865
|
-
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$
|
|
36863
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
36864
|
+
createBaseVNode("div", _hoisted_2$g, [
|
|
36865
|
+
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
36866
36866
|
key: 0,
|
|
36867
36867
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
36868
36868
|
"image-class": "lupa-related-query-image",
|
|
@@ -36878,16 +36878,16 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
36878
36878
|
};
|
|
36879
36879
|
}
|
|
36880
36880
|
});
|
|
36881
|
-
const _hoisted_1$
|
|
36881
|
+
const _hoisted_1$k = {
|
|
36882
36882
|
key: 0,
|
|
36883
36883
|
class: "lupa-related-queries"
|
|
36884
36884
|
};
|
|
36885
|
-
const _hoisted_2$
|
|
36885
|
+
const _hoisted_2$f = {
|
|
36886
36886
|
key: 0,
|
|
36887
36887
|
class: "lupa-related-queries-title"
|
|
36888
36888
|
};
|
|
36889
36889
|
const _hoisted_3$9 = ["onClick"];
|
|
36890
|
-
const _sfc_main$
|
|
36890
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
36891
36891
|
__name: "RelatedQueries",
|
|
36892
36892
|
props: {
|
|
36893
36893
|
options: {}
|
|
@@ -36981,8 +36981,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
36981
36981
|
};
|
|
36982
36982
|
return (_ctx, _cache) => {
|
|
36983
36983
|
var _a25, _b25, _c, _d;
|
|
36984
|
-
return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36985
|
-
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$
|
|
36984
|
+
return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
36985
|
+
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$f, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
|
|
36986
36986
|
createBaseVNode("ul", null, [
|
|
36987
36987
|
(openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
|
|
36988
36988
|
return withDirectives((openBlock(), createElementBlock("li", {
|
|
@@ -36992,7 +36992,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
36992
36992
|
createBaseVNode("a", {
|
|
36993
36993
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
36994
36994
|
}, [
|
|
36995
|
-
createVNode(_sfc_main$
|
|
36995
|
+
createVNode(_sfc_main$n, {
|
|
36996
36996
|
"source-key": query.key,
|
|
36997
36997
|
options: _ctx.options,
|
|
36998
36998
|
query: query.value,
|
|
@@ -37036,13 +37036,13 @@ const extractRedirectionSuggestion = (searchText = "", options) => {
|
|
|
37036
37036
|
}
|
|
37037
37037
|
return null;
|
|
37038
37038
|
};
|
|
37039
|
-
const _hoisted_1$
|
|
37039
|
+
const _hoisted_1$j = {
|
|
37040
37040
|
key: 0,
|
|
37041
37041
|
class: "lupa-redirection-suggestion"
|
|
37042
37042
|
};
|
|
37043
|
-
const _hoisted_2$
|
|
37043
|
+
const _hoisted_2$e = { class: "lupa-redirections-suggestion-label" };
|
|
37044
37044
|
const _hoisted_3$8 = ["href"];
|
|
37045
|
-
const _sfc_main$
|
|
37045
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
37046
37046
|
__name: "RedirectionSuggestions",
|
|
37047
37047
|
props: {
|
|
37048
37048
|
options: {}
|
|
@@ -37065,19 +37065,19 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
37065
37065
|
)
|
|
37066
37066
|
);
|
|
37067
37067
|
return (_ctx, _cache) => {
|
|
37068
|
-
return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37069
|
-
createBaseVNode("h4", _hoisted_2$
|
|
37068
|
+
return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
37069
|
+
createBaseVNode("h4", _hoisted_2$e, [
|
|
37070
37070
|
createBaseVNode("a", { href: link.value }, toDisplayString(label.value), 9, _hoisted_3$8)
|
|
37071
37071
|
])
|
|
37072
37072
|
])) : createCommentVNode("", true);
|
|
37073
37073
|
};
|
|
37074
37074
|
}
|
|
37075
37075
|
});
|
|
37076
|
-
const _hoisted_1$
|
|
37076
|
+
const _hoisted_1$i = {
|
|
37077
37077
|
key: 0,
|
|
37078
37078
|
class: "lupa-refiners-loading-notice"
|
|
37079
37079
|
};
|
|
37080
|
-
const _sfc_main$
|
|
37080
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
37081
37081
|
__name: "RefinersLoadingNotice",
|
|
37082
37082
|
props: {
|
|
37083
37083
|
labels: {}
|
|
@@ -37088,22 +37088,22 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
37088
37088
|
const props = __props;
|
|
37089
37089
|
const label = computed(() => props.labels.refinersLoadingNotice);
|
|
37090
37090
|
return (_ctx, _cache) => {
|
|
37091
|
-
return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37091
|
+
return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
37092
37092
|
createBaseVNode("p", null, toDisplayString(label.value), 1),
|
|
37093
37093
|
createVNode(Spinner)
|
|
37094
37094
|
])) : createCommentVNode("", true);
|
|
37095
37095
|
};
|
|
37096
37096
|
}
|
|
37097
37097
|
});
|
|
37098
|
-
const _hoisted_1$
|
|
37099
|
-
const _hoisted_2$
|
|
37098
|
+
const _hoisted_1$h = { class: "lupa-related-query-item" };
|
|
37099
|
+
const _hoisted_2$d = { class: "lupa-related-query-image" };
|
|
37100
37100
|
const _hoisted_3$7 = { class: "lupa-related-query-label" };
|
|
37101
37101
|
const _hoisted_4$3 = { class: "lupa-related-query-title" };
|
|
37102
37102
|
const _hoisted_5$1 = {
|
|
37103
37103
|
key: 0,
|
|
37104
37104
|
class: "lupa-related-query-count"
|
|
37105
37105
|
};
|
|
37106
|
-
const _sfc_main$
|
|
37106
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
37107
37107
|
__name: "RelatedQueryPanelApi",
|
|
37108
37108
|
props: {
|
|
37109
37109
|
relatedQuery: {},
|
|
@@ -37135,9 +37135,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
37135
37135
|
});
|
|
37136
37136
|
return (_ctx, _cache) => {
|
|
37137
37137
|
var _a25;
|
|
37138
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
37139
|
-
createBaseVNode("div", _hoisted_2$
|
|
37140
|
-
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$
|
|
37138
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
37139
|
+
createBaseVNode("div", _hoisted_2$d, [
|
|
37140
|
+
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
37141
37141
|
key: 0,
|
|
37142
37142
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
37143
37143
|
"image-class": "lupa-related-query-image",
|
|
@@ -37153,16 +37153,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
37153
37153
|
};
|
|
37154
37154
|
}
|
|
37155
37155
|
});
|
|
37156
|
-
const _hoisted_1$
|
|
37156
|
+
const _hoisted_1$g = {
|
|
37157
37157
|
key: 0,
|
|
37158
37158
|
class: "lupa-related-queries"
|
|
37159
37159
|
};
|
|
37160
|
-
const _hoisted_2$
|
|
37160
|
+
const _hoisted_2$c = {
|
|
37161
37161
|
key: 0,
|
|
37162
37162
|
class: "lupa-related-queries-title"
|
|
37163
37163
|
};
|
|
37164
37164
|
const _hoisted_3$6 = ["onClick"];
|
|
37165
|
-
const _sfc_main$
|
|
37165
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
37166
37166
|
__name: "RelatedQueriesApi",
|
|
37167
37167
|
props: {
|
|
37168
37168
|
options: {}
|
|
@@ -37214,8 +37214,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
37214
37214
|
};
|
|
37215
37215
|
return (_ctx, _cache) => {
|
|
37216
37216
|
var _a25, _b25, _c, _d;
|
|
37217
|
-
return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37218
|
-
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$
|
|
37217
|
+
return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
37218
|
+
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$c, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
|
|
37219
37219
|
createBaseVNode("ul", null, [
|
|
37220
37220
|
(openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
|
|
37221
37221
|
return openBlock(), createElementBlock("li", {
|
|
@@ -37225,7 +37225,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
37225
37225
|
createBaseVNode("a", {
|
|
37226
37226
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
37227
37227
|
}, [
|
|
37228
|
-
createVNode(_sfc_main$
|
|
37228
|
+
createVNode(_sfc_main$j, {
|
|
37229
37229
|
relatedQuery: query,
|
|
37230
37230
|
options: _ctx.options
|
|
37231
37231
|
}, null, 8, ["relatedQuery", "options"])
|
|
@@ -37237,6 +37237,49 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
37237
37237
|
};
|
|
37238
37238
|
}
|
|
37239
37239
|
});
|
|
37240
|
+
const _hoisted_1$f = { key: 0 };
|
|
37241
|
+
const _hoisted_2$b = ["innerHTML"];
|
|
37242
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
37243
|
+
__name: "ZeroResults",
|
|
37244
|
+
props: {
|
|
37245
|
+
emptyResultsLabel: {},
|
|
37246
|
+
currentQueryText: {},
|
|
37247
|
+
hasSimilarQueries: { type: Boolean },
|
|
37248
|
+
zeroResults: {}
|
|
37249
|
+
},
|
|
37250
|
+
setup(__props) {
|
|
37251
|
+
const props = __props;
|
|
37252
|
+
const searchResultStore = useSearchResultStore();
|
|
37253
|
+
const { searchResult } = storeToRefs(searchResultStore);
|
|
37254
|
+
const showDefaultZeroResultsTemplate = computed(() => {
|
|
37255
|
+
var _a25, _b25;
|
|
37256
|
+
return props.emptyResultsLabel && ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) === void 0 || props.hasSimilarQueries && !((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries);
|
|
37257
|
+
});
|
|
37258
|
+
const showCustomZeroResultsTemplate = computed(() => {
|
|
37259
|
+
var _a25, _b25;
|
|
37260
|
+
return ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) !== void 0 && (!props.hasSimilarQueries || ((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries));
|
|
37261
|
+
});
|
|
37262
|
+
const htmlTemplate = computed(() => {
|
|
37263
|
+
var _a25;
|
|
37264
|
+
if ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) {
|
|
37265
|
+
return props.zeroResults.customHtml(searchResult.value);
|
|
37266
|
+
}
|
|
37267
|
+
return "";
|
|
37268
|
+
});
|
|
37269
|
+
return (_ctx, _cache) => {
|
|
37270
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
37271
|
+
showDefaultZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
37272
|
+
createTextVNode(toDisplayString(_ctx.emptyResultsLabel) + " ", 1),
|
|
37273
|
+
createBaseVNode("span", null, toDisplayString(_ctx.currentQueryText), 1)
|
|
37274
|
+
])) : createCommentVNode("", true),
|
|
37275
|
+
showCustomZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", {
|
|
37276
|
+
key: 1,
|
|
37277
|
+
innerHTML: htmlTemplate.value
|
|
37278
|
+
}, null, 8, _hoisted_2$b)) : createCommentVNode("", true)
|
|
37279
|
+
], 64);
|
|
37280
|
+
};
|
|
37281
|
+
}
|
|
37282
|
+
});
|
|
37240
37283
|
const _hoisted_1$e = { id: "lupa-search-results-products" };
|
|
37241
37284
|
const _hoisted_2$a = {
|
|
37242
37285
|
class: "lupa-products",
|
|
@@ -37377,41 +37420,41 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
37377
37420
|
emit2("filter");
|
|
37378
37421
|
};
|
|
37379
37422
|
return (_ctx, _cache) => {
|
|
37380
|
-
var _a25;
|
|
37423
|
+
var _a25, _b25, _c;
|
|
37381
37424
|
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
37382
37425
|
unref(loading) && !unref(isMobileSidebarVisible) ? (openBlock(), createBlock(Spinner, {
|
|
37383
37426
|
key: 0,
|
|
37384
37427
|
class: "lupa-loader"
|
|
37385
37428
|
})) : createCommentVNode("", true),
|
|
37386
|
-
createVNode(_sfc_main$
|
|
37429
|
+
createVNode(_sfc_main$l, {
|
|
37387
37430
|
options: _ctx.options.redirectionSuggestions
|
|
37388
37431
|
}, null, 8, ["options"]),
|
|
37389
|
-
createVNode(_sfc_main$
|
|
37432
|
+
createVNode(_sfc_main$q, {
|
|
37390
37433
|
options: _ctx.options,
|
|
37391
37434
|
location: "top",
|
|
37392
37435
|
sdkOptions: _ctx.options.options
|
|
37393
37436
|
}, null, 8, ["options", "sdkOptions"]),
|
|
37394
|
-
showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$
|
|
37437
|
+
showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$m, {
|
|
37395
37438
|
key: 1,
|
|
37396
37439
|
options: _ctx.options.relatedQueries
|
|
37397
37440
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37398
|
-
showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$
|
|
37441
|
+
showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$i, {
|
|
37399
37442
|
key: 2,
|
|
37400
37443
|
options: _ctx.options.relatedQueries
|
|
37401
37444
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37402
37445
|
unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
37403
|
-
showTopFilters.value ? (openBlock(), createBlock(_sfc_main$
|
|
37446
|
+
showTopFilters.value ? (openBlock(), createBlock(_sfc_main$M, {
|
|
37404
37447
|
key: 0,
|
|
37405
37448
|
options: (_a25 = _ctx.options.filters) != null ? _a25 : {}
|
|
37406
37449
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37407
|
-
showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$
|
|
37450
|
+
showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$F, {
|
|
37408
37451
|
key: 1,
|
|
37409
37452
|
class: "lupa-toolbar-mobile",
|
|
37410
37453
|
options: _ctx.options,
|
|
37411
37454
|
"pagination-location": "top",
|
|
37412
37455
|
onFilter: filter
|
|
37413
37456
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37414
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$
|
|
37457
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$_, {
|
|
37415
37458
|
key: 2,
|
|
37416
37459
|
class: normalizeClass(currentFiltersClass.value),
|
|
37417
37460
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
@@ -37420,12 +37463,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
37420
37463
|
}, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
|
|
37421
37464
|
], 64)) : createCommentVNode("", true),
|
|
37422
37465
|
unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
37423
|
-
createVNode(_sfc_main$
|
|
37466
|
+
createVNode(_sfc_main$F, {
|
|
37424
37467
|
class: "lupa-toolbar-top",
|
|
37425
37468
|
options: _ctx.options,
|
|
37426
37469
|
"pagination-location": "top"
|
|
37427
37470
|
}, null, 8, ["options"]),
|
|
37428
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$
|
|
37471
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$_, {
|
|
37429
37472
|
key: 0,
|
|
37430
37473
|
class: normalizeClass(currentFiltersClass.value),
|
|
37431
37474
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
@@ -37441,7 +37484,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
37441
37484
|
options: productCardOptions.value
|
|
37442
37485
|
});
|
|
37443
37486
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(searchResult).items, (product, index) => {
|
|
37444
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37487
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
37445
37488
|
style: normalizeStyle(columnSize.value),
|
|
37446
37489
|
key: getProductKeyAction(index, product),
|
|
37447
37490
|
product,
|
|
@@ -37458,32 +37501,36 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
37458
37501
|
onClick: goToFirstPage
|
|
37459
37502
|
}, toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : createCommentVNode("", true)
|
|
37460
37503
|
])) : createCommentVNode("", true),
|
|
37461
|
-
createVNode(_sfc_main$
|
|
37504
|
+
createVNode(_sfc_main$F, {
|
|
37462
37505
|
class: "lupa-toolbar-bottom",
|
|
37463
37506
|
options: _ctx.options,
|
|
37464
37507
|
"pagination-location": "bottom"
|
|
37465
37508
|
}, null, 8, ["options"]),
|
|
37466
|
-
createVNode(_sfc_main$
|
|
37509
|
+
createVNode(_sfc_main$q, {
|
|
37467
37510
|
options: _ctx.options,
|
|
37468
37511
|
location: "bottom",
|
|
37469
37512
|
sdkOptions: _ctx.options.options
|
|
37470
37513
|
}, null, 8, ["options", "sdkOptions"])
|
|
37471
37514
|
], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
|
|
37472
|
-
|
|
37473
|
-
|
|
37515
|
+
createVNode(_sfc_main$h, {
|
|
37516
|
+
emptyResultsLabel: (_b25 = _ctx.options.labels) == null ? void 0 : _b25.emptyResults,
|
|
37517
|
+
currentQueryText: unref(currentQueryText),
|
|
37518
|
+
hasSimilarQueries: hasSimilarQueries.value || hasSimilarResults.value,
|
|
37519
|
+
zeroResults: (_c = _ctx.options) == null ? void 0 : _c.zeroResults
|
|
37520
|
+
}, null, 8, ["emptyResultsLabel", "currentQueryText", "hasSimilarQueries", "zeroResults"])
|
|
37474
37521
|
])) : createCommentVNode("", true),
|
|
37475
|
-
createVNode(_sfc_main$
|
|
37522
|
+
createVNode(_sfc_main$k, {
|
|
37476
37523
|
labels: _ctx.options.labels
|
|
37477
37524
|
}, null, 8, ["labels"]),
|
|
37478
37525
|
hasSimilarQueries.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
37479
|
-
createVNode(_sfc_main$
|
|
37526
|
+
createVNode(_sfc_main$s, {
|
|
37480
37527
|
labels: similarQueriesLabels.value,
|
|
37481
37528
|
columnSize: columnSize.value,
|
|
37482
37529
|
productCardOptions: productCardOptions.value
|
|
37483
37530
|
}, null, 8, ["labels", "columnSize", "productCardOptions"])
|
|
37484
37531
|
])) : createCommentVNode("", true),
|
|
37485
37532
|
hasSimilarResults.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
37486
|
-
createVNode(_sfc_main$
|
|
37533
|
+
createVNode(_sfc_main$o, {
|
|
37487
37534
|
labels: similarResultsLabels.value,
|
|
37488
37535
|
columnSize: columnSize.value,
|
|
37489
37536
|
productCardOptions: productCardOptions.value
|
|
@@ -37562,14 +37609,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
37562
37609
|
])) : createCommentVNode("", true),
|
|
37563
37610
|
hasRelatedCategoryChildren.value ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
37564
37611
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(relatedCategoryChildren), (child) => {
|
|
37565
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37612
|
+
return openBlock(), createBlock(_sfc_main$Z, {
|
|
37566
37613
|
key: getCategoryKey(child),
|
|
37567
37614
|
item: child,
|
|
37568
37615
|
options: categoryOptions.value
|
|
37569
37616
|
}, null, 8, ["item", "options"]);
|
|
37570
37617
|
}), 128))
|
|
37571
37618
|
])) : createCommentVNode("", true),
|
|
37572
|
-
createVNode(_sfc_main$
|
|
37619
|
+
createVNode(_sfc_main$F, {
|
|
37573
37620
|
class: "lupa-toolbar-mobile",
|
|
37574
37621
|
"pagination-location": "top",
|
|
37575
37622
|
options: _ctx.options
|
|
@@ -37877,8 +37924,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
37877
37924
|
class: normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !unref(hasResults) }])
|
|
37878
37925
|
}, [
|
|
37879
37926
|
_ctx.isContainer ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
37880
|
-
createVNode(_sfc_main$
|
|
37881
|
-
createVNode(_sfc_main
|
|
37927
|
+
createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
37928
|
+
createVNode(_sfc_main$10, {
|
|
37882
37929
|
"show-summary": true,
|
|
37883
37930
|
options: _ctx.options,
|
|
37884
37931
|
"is-product-list": (_a25 = _ctx.isProductList) != null ? _a25 : false
|
|
@@ -37888,12 +37935,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
37888
37935
|
key: 1,
|
|
37889
37936
|
options: _ctx.options
|
|
37890
37937
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37891
|
-
_ctx.options.filters ? (openBlock(), createBlock(_sfc_main$
|
|
37938
|
+
_ctx.options.filters ? (openBlock(), createBlock(_sfc_main$O, {
|
|
37892
37939
|
key: 2,
|
|
37893
37940
|
options: _ctx.options.filters,
|
|
37894
37941
|
onFilter: handleParamsChange
|
|
37895
37942
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37896
|
-
unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$
|
|
37943
|
+
unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$N, {
|
|
37897
37944
|
key: 3,
|
|
37898
37945
|
breadcrumbs: _ctx.options.breadcrumbs
|
|
37899
37946
|
}, null, 8, ["breadcrumbs"])) : createCommentVNode("", true),
|
|
@@ -37902,7 +37949,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
37902
37949
|
id: "lupa-search-results",
|
|
37903
37950
|
class: normalizeClass(["top-layout-wrapper", indicatorClasses.value])
|
|
37904
37951
|
}, [
|
|
37905
|
-
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$
|
|
37952
|
+
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
|
|
37906
37953
|
key: 0,
|
|
37907
37954
|
options: (_b25 = _ctx.options.filters) != null ? _b25 : {},
|
|
37908
37955
|
ref_key: "searchResultsFilters",
|
|
@@ -37910,8 +37957,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
37910
37957
|
onFilter: handleParamsChange
|
|
37911
37958
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37912
37959
|
createBaseVNode("div", _hoisted_2$8, [
|
|
37913
|
-
createVNode(_sfc_main$
|
|
37914
|
-
createVNode(_sfc_main
|
|
37960
|
+
createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
37961
|
+
createVNode(_sfc_main$10, {
|
|
37915
37962
|
options: _ctx.options,
|
|
37916
37963
|
"is-product-list": (_c = _ctx.isProductList) != null ? _c : false
|
|
37917
37964
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -37927,8 +37974,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
37927
37974
|
}, 8, ["options", "ssr"])
|
|
37928
37975
|
])
|
|
37929
37976
|
], 2)) : (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
37930
|
-
createVNode(_sfc_main$
|
|
37931
|
-
createVNode(_sfc_main
|
|
37977
|
+
createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
37978
|
+
createVNode(_sfc_main$10, {
|
|
37932
37979
|
options: _ctx.options,
|
|
37933
37980
|
"is-product-list": (_d = _ctx.isProductList) != null ? _d : false
|
|
37934
37981
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -37936,7 +37983,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
37936
37983
|
id: "lupa-search-results",
|
|
37937
37984
|
class: normalizeClass(indicatorClasses.value)
|
|
37938
37985
|
}, [
|
|
37939
|
-
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$
|
|
37986
|
+
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
|
|
37940
37987
|
key: 0,
|
|
37941
37988
|
options: (_e = _ctx.options.filters) != null ? _e : {},
|
|
37942
37989
|
ref_key: "searchResultsFilters",
|
|
@@ -38087,7 +38134,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
38087
38134
|
onClick: withModifiers(innerClick, ["stop"])
|
|
38088
38135
|
}, [
|
|
38089
38136
|
createBaseVNode("div", _hoisted_1$a, [
|
|
38090
|
-
createVNode(_sfc_main$
|
|
38137
|
+
createVNode(_sfc_main$13, {
|
|
38091
38138
|
options: fullSearchBoxOptions.value,
|
|
38092
38139
|
"is-search-container": true,
|
|
38093
38140
|
ref_key: "searchBox",
|
|
@@ -39655,7 +39702,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
39655
39702
|
key: getProductKeyAction(index, product)
|
|
39656
39703
|
}, {
|
|
39657
39704
|
default: withCtx(() => [
|
|
39658
|
-
createVNode(_sfc_main$
|
|
39705
|
+
createVNode(_sfc_main$t, {
|
|
39659
39706
|
product,
|
|
39660
39707
|
options: _ctx.options,
|
|
39661
39708
|
"click-tracking-settings": clickTrackingSettings.value,
|
|
@@ -39670,7 +39717,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
39670
39717
|
_: 1
|
|
39671
39718
|
}, 16)) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
39672
39719
|
(openBlock(true), createElementBlock(Fragment, null, renderList(recommendations2.value, (product, index) => {
|
|
39673
|
-
return openBlock(), createBlock(_sfc_main$
|
|
39720
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
39674
39721
|
style: normalizeStyle(columnSize.value),
|
|
39675
39722
|
key: getProductKeyAction(index, product),
|
|
39676
39723
|
product,
|
|
@@ -39916,7 +39963,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
39916
39963
|
createBaseVNode("a", {
|
|
39917
39964
|
href: getLink(product)
|
|
39918
39965
|
}, [
|
|
39919
|
-
createVNode(_sfc_main$
|
|
39966
|
+
createVNode(_sfc_main$E, {
|
|
39920
39967
|
item: product,
|
|
39921
39968
|
options: image.value
|
|
39922
39969
|
}, null, 8, ["item", "options"])
|
|
@@ -40081,7 +40128,7 @@ const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
|
|
|
40081
40128
|
return (_ctx, _cache) => {
|
|
40082
40129
|
return openBlock(), createElementBlock("section", _hoisted_1$3, [
|
|
40083
40130
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchResults, (product, index) => {
|
|
40084
|
-
return openBlock(), createBlock(_sfc_main$
|
|
40131
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
40085
40132
|
class: "lupa-chat-product-card",
|
|
40086
40133
|
key: getProductKeyAction(index, product),
|
|
40087
40134
|
product,
|
|
@@ -40277,7 +40324,7 @@ const _hoisted_4 = {
|
|
|
40277
40324
|
key: 0,
|
|
40278
40325
|
class: "lupasearch-chat-content"
|
|
40279
40326
|
};
|
|
40280
|
-
const _sfc_main$
|
|
40327
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
40281
40328
|
__name: "ChatContainer",
|
|
40282
40329
|
props: {
|
|
40283
40330
|
options: {}
|
|
@@ -46301,7 +46348,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
46301
46348
|
};
|
|
46302
46349
|
__expose({ fetch: fetch2 });
|
|
46303
46350
|
return (_ctx, _cache) => {
|
|
46304
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
46351
|
+
return openBlock(), createBlock(unref(_sfc_main$13), {
|
|
46305
46352
|
ref_key: "searchBox",
|
|
46306
46353
|
ref: searchBox2,
|
|
46307
46354
|
options: fullSearchBoxOptions.value
|
|
@@ -46962,7 +47009,7 @@ const chat = (options, mountOptions) => {
|
|
|
46962
47009
|
const instance = createVue(
|
|
46963
47010
|
options.displayOptions.containerSelector,
|
|
46964
47011
|
mountOptions == null ? void 0 : mountOptions.mountingBehavior,
|
|
46965
|
-
_sfc_main$
|
|
47012
|
+
_sfc_main$1B,
|
|
46966
47013
|
{
|
|
46967
47014
|
options
|
|
46968
47015
|
}
|