@getlupa/client 1.20.5 → 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 +515 -466
- package/dist/lupaSearch.js +515 -466
- package/dist/lupaSearch.mjs +515 -466
- package/dist/lupaSearch.umd.js +515 -466
- package/dist/mounting.d.ts +1 -1
- package/package.json +2 -2
package/dist/lupaSearch.umd.js
CHANGED
|
@@ -19549,7 +19549,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19549
19549
|
}
|
|
19550
19550
|
return Env[environment] || Env["production"];
|
|
19551
19551
|
};
|
|
19552
|
-
const _sfc_main$
|
|
19552
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
19553
19553
|
__name: "VoiceSearchProgressCircle",
|
|
19554
19554
|
props: {
|
|
19555
19555
|
isRecording: { type: Boolean },
|
|
@@ -19762,14 +19762,14 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19762
19762
|
closeSocket
|
|
19763
19763
|
};
|
|
19764
19764
|
}
|
|
19765
|
-
const _hoisted_1$
|
|
19765
|
+
const _hoisted_1$1l = {
|
|
19766
19766
|
key: 0,
|
|
19767
19767
|
class: "lupa-dialog-overlay"
|
|
19768
19768
|
};
|
|
19769
|
-
const _hoisted_2$
|
|
19769
|
+
const _hoisted_2$W = { class: "lupa-dialog-content" };
|
|
19770
19770
|
const _hoisted_3$E = { class: "lupa-listening-text" };
|
|
19771
19771
|
const _hoisted_4$u = { class: "lupa-mic-button-wrapper" };
|
|
19772
|
-
const _sfc_main$
|
|
19772
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
19773
19773
|
__name: "VoiceSearchDialog",
|
|
19774
19774
|
props: {
|
|
19775
19775
|
isOpen: { type: Boolean },
|
|
@@ -19873,19 +19873,19 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19873
19873
|
});
|
|
19874
19874
|
return (_ctx, _cache) => {
|
|
19875
19875
|
return openBlock(), createElementBlock("div", null, [
|
|
19876
|
-
props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
19876
|
+
props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1l, [
|
|
19877
19877
|
createBaseVNode("button", {
|
|
19878
19878
|
class: "lupa-dialog-box-close-button",
|
|
19879
19879
|
onClick: _cache[0] || (_cache[0] = () => emit2("close"))
|
|
19880
19880
|
}),
|
|
19881
|
-
createBaseVNode("div", _hoisted_2$
|
|
19881
|
+
createBaseVNode("div", _hoisted_2$W, [
|
|
19882
19882
|
createBaseVNode("p", _hoisted_3$E, toDisplayString(description.value), 1),
|
|
19883
19883
|
createBaseVNode("div", _hoisted_4$u, [
|
|
19884
19884
|
createBaseVNode("button", {
|
|
19885
19885
|
class: normalizeClass(["lupa-mic-button", { recording: unref(isRecording) }]),
|
|
19886
19886
|
onClick: handleRecordingButtonClick
|
|
19887
19887
|
}, null, 2),
|
|
19888
|
-
createVNode(_sfc_main$
|
|
19888
|
+
createVNode(_sfc_main$1A, {
|
|
19889
19889
|
ref_key: "voiceSearchProgressBar",
|
|
19890
19890
|
ref: voiceSearchProgressBar,
|
|
19891
19891
|
class: "lupa-progress-circle",
|
|
@@ -19900,8 +19900,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19900
19900
|
};
|
|
19901
19901
|
}
|
|
19902
19902
|
});
|
|
19903
|
-
const _hoisted_1$
|
|
19904
|
-
const _hoisted_2$
|
|
19903
|
+
const _hoisted_1$1k = { id: "lupa-search-box-input-container" };
|
|
19904
|
+
const _hoisted_2$V = { class: "lupa-input-clear" };
|
|
19905
19905
|
const _hoisted_3$D = { id: "lupa-search-box-input" };
|
|
19906
19906
|
const _hoisted_4$t = ["value"];
|
|
19907
19907
|
const _hoisted_5$k = ["aria-label", "placeholder"];
|
|
@@ -19910,7 +19910,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19910
19910
|
class: "lupa-close-label"
|
|
19911
19911
|
};
|
|
19912
19912
|
const _hoisted_7$5 = { key: 1 };
|
|
19913
|
-
const _sfc_main$
|
|
19913
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
19914
19914
|
__name: "SearchBoxInput",
|
|
19915
19915
|
props: {
|
|
19916
19916
|
options: {},
|
|
@@ -20038,8 +20038,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20038
20038
|
};
|
|
20039
20039
|
__expose({ focus });
|
|
20040
20040
|
return (_ctx, _cache) => {
|
|
20041
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20042
|
-
createBaseVNode("div", _hoisted_2$
|
|
20041
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1k, [
|
|
20042
|
+
createBaseVNode("div", _hoisted_2$V, [
|
|
20043
20043
|
createBaseVNode("div", {
|
|
20044
20044
|
class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
|
|
20045
20045
|
onClick: clear
|
|
@@ -20088,7 +20088,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20088
20088
|
class: "lupa-voice-search-button"
|
|
20089
20089
|
})
|
|
20090
20090
|
])) : createCommentVNode("", true),
|
|
20091
|
-
isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$
|
|
20091
|
+
isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1z, {
|
|
20092
20092
|
key: 2,
|
|
20093
20093
|
ref_key: "voiceDialogOverlay",
|
|
20094
20094
|
ref: voiceDialogOverlay,
|
|
@@ -20102,7 +20102,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20102
20102
|
};
|
|
20103
20103
|
}
|
|
20104
20104
|
});
|
|
20105
|
-
const _sfc_main$
|
|
20105
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
20106
20106
|
__name: "SearchBoxMoreResults",
|
|
20107
20107
|
props: {
|
|
20108
20108
|
labels: {},
|
|
@@ -20140,9 +20140,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20140
20140
|
};
|
|
20141
20141
|
}
|
|
20142
20142
|
});
|
|
20143
|
-
const _hoisted_1$
|
|
20144
|
-
const _hoisted_2$
|
|
20145
|
-
const _sfc_main$
|
|
20143
|
+
const _hoisted_1$1j = { class: "lupa-search-box-history-item" };
|
|
20144
|
+
const _hoisted_2$U = { class: "lupa-search-box-history-item-content" };
|
|
20145
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
20146
20146
|
__name: "SearchBoxHistoryItem",
|
|
20147
20147
|
props: {
|
|
20148
20148
|
item: {},
|
|
@@ -20159,8 +20159,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20159
20159
|
emit2("click", { query: props.item });
|
|
20160
20160
|
};
|
|
20161
20161
|
return (_ctx, _cache) => {
|
|
20162
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20163
|
-
createBaseVNode("div", _hoisted_2$
|
|
20162
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1j, [
|
|
20163
|
+
createBaseVNode("div", _hoisted_2$U, [
|
|
20164
20164
|
createBaseVNode("div", {
|
|
20165
20165
|
class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
|
|
20166
20166
|
onClick: click2
|
|
@@ -20174,11 +20174,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20174
20174
|
};
|
|
20175
20175
|
}
|
|
20176
20176
|
});
|
|
20177
|
-
const _hoisted_1$
|
|
20177
|
+
const _hoisted_1$1i = {
|
|
20178
20178
|
key: 0,
|
|
20179
20179
|
class: "lupa-search-box-history-panel"
|
|
20180
20180
|
};
|
|
20181
|
-
const _sfc_main$
|
|
20181
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
20182
20182
|
__name: "SearchBoxHistoryPanel",
|
|
20183
20183
|
props: {
|
|
20184
20184
|
options: {}
|
|
@@ -20229,9 +20229,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20229
20229
|
}
|
|
20230
20230
|
};
|
|
20231
20231
|
return (_ctx, _cache) => {
|
|
20232
|
-
return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
20232
|
+
return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1i, [
|
|
20233
20233
|
(openBlock(true), createElementBlock(Fragment, null, renderList(limitedHistory.value, (item, index) => {
|
|
20234
|
-
return openBlock(), createBlock(_sfc_main$
|
|
20234
|
+
return openBlock(), createBlock(_sfc_main$1w, {
|
|
20235
20235
|
key: item,
|
|
20236
20236
|
item,
|
|
20237
20237
|
highlighted: index === highlightIndex.value,
|
|
@@ -20247,15 +20247,15 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20247
20247
|
};
|
|
20248
20248
|
}
|
|
20249
20249
|
});
|
|
20250
|
-
const _hoisted_1$
|
|
20251
|
-
const _sfc_main$
|
|
20250
|
+
const _hoisted_1$1h = { class: "lupa-search-box-no-results" };
|
|
20251
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
20252
20252
|
__name: "SearchBoxNoResults",
|
|
20253
20253
|
props: {
|
|
20254
20254
|
labels: {}
|
|
20255
20255
|
},
|
|
20256
20256
|
setup(__props) {
|
|
20257
20257
|
return (_ctx, _cache) => {
|
|
20258
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
20258
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1h, toDisplayString(_ctx.labels.noResults), 1);
|
|
20259
20259
|
};
|
|
20260
20260
|
}
|
|
20261
20261
|
});
|
|
@@ -20287,8 +20287,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20287
20287
|
}
|
|
20288
20288
|
return gridTemplate.join(" ");
|
|
20289
20289
|
};
|
|
20290
|
-
const _hoisted_1$
|
|
20291
|
-
const _hoisted_2$
|
|
20290
|
+
const _hoisted_1$1g = ["innerHTML"];
|
|
20291
|
+
const _hoisted_2$T = {
|
|
20292
20292
|
key: 1,
|
|
20293
20293
|
"data-cy": "lupa-suggestion-value",
|
|
20294
20294
|
class: "lupa-suggestion-value"
|
|
@@ -20306,7 +20306,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20306
20306
|
class: "lupa-suggestion-facet-value",
|
|
20307
20307
|
"data-cy": "lupa-suggestion-facet-value"
|
|
20308
20308
|
};
|
|
20309
|
-
const _sfc_main$
|
|
20309
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
20310
20310
|
__name: "SearchBoxSuggestion",
|
|
20311
20311
|
props: {
|
|
20312
20312
|
suggestion: {},
|
|
@@ -20343,7 +20343,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20343
20343
|
class: "lupa-suggestion-value",
|
|
20344
20344
|
"data-cy": "lupa-suggestion-value",
|
|
20345
20345
|
innerHTML: _ctx.suggestion.displayHighlight
|
|
20346
|
-
}, null, 8, _hoisted_1$
|
|
20346
|
+
}, null, 8, _hoisted_1$1g)) : (openBlock(), createElementBlock("div", _hoisted_2$T, toDisplayString(_ctx.suggestion.display), 1)),
|
|
20347
20347
|
_ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
20348
20348
|
createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
|
|
20349
20349
|
createBaseVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
|
|
@@ -20352,11 +20352,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20352
20352
|
};
|
|
20353
20353
|
}
|
|
20354
20354
|
});
|
|
20355
|
-
const _hoisted_1$
|
|
20355
|
+
const _hoisted_1$1f = {
|
|
20356
20356
|
id: "lupa-search-box-suggestions",
|
|
20357
20357
|
"data-cy": "lupa-search-box-suggestions"
|
|
20358
20358
|
};
|
|
20359
|
-
const _sfc_main$
|
|
20359
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
20360
20360
|
__name: "SearchBoxSuggestions",
|
|
20361
20361
|
props: {
|
|
20362
20362
|
items: {},
|
|
@@ -20423,9 +20423,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20423
20423
|
});
|
|
20424
20424
|
});
|
|
20425
20425
|
return (_ctx, _cache) => {
|
|
20426
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20426
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1f, [
|
|
20427
20427
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
|
|
20428
|
-
return openBlock(), createBlock(_sfc_main$
|
|
20428
|
+
return openBlock(), createBlock(_sfc_main$1t, {
|
|
20429
20429
|
key: getSuggestionKey(item),
|
|
20430
20430
|
class: normalizeClass([
|
|
20431
20431
|
"lupa-suggestion",
|
|
@@ -20457,7 +20457,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20457
20457
|
}, timeout);
|
|
20458
20458
|
};
|
|
20459
20459
|
};
|
|
20460
|
-
const _sfc_main$
|
|
20460
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
20461
20461
|
__name: "SearchBoxSuggestionsWrapper",
|
|
20462
20462
|
props: {
|
|
20463
20463
|
panel: {},
|
|
@@ -20500,7 +20500,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20500
20500
|
const getSuggestionsDebounced = debounce(getSuggestions, props.debounce);
|
|
20501
20501
|
watch(() => props.panel.limit, getSuggestionsDebounced);
|
|
20502
20502
|
return (_ctx, _cache) => {
|
|
20503
|
-
return openBlock(), createBlock(_sfc_main$
|
|
20503
|
+
return openBlock(), createBlock(_sfc_main$1s, {
|
|
20504
20504
|
items: searchResult.value,
|
|
20505
20505
|
highlight: _ctx.panel.highlight,
|
|
20506
20506
|
queryKey: _ctx.panel.queryKey,
|
|
@@ -29782,9 +29782,9 @@ and ensure you are accounting for this risk.
|
|
|
29782
29782
|
targetImage.src = placeholder;
|
|
29783
29783
|
}
|
|
29784
29784
|
};
|
|
29785
|
-
const _hoisted_1$
|
|
29786
|
-
const _hoisted_2$
|
|
29787
|
-
const _sfc_main$
|
|
29785
|
+
const _hoisted_1$1e = ["src"];
|
|
29786
|
+
const _hoisted_2$S = ["src"];
|
|
29787
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
29788
29788
|
__name: "ProductImage",
|
|
29789
29789
|
props: {
|
|
29790
29790
|
item: {},
|
|
@@ -29926,7 +29926,7 @@ and ensure you are accounting for this risk.
|
|
|
29926
29926
|
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
|
|
29927
29927
|
onError: replaceWithPlaceholder,
|
|
29928
29928
|
key: finalUrl.value
|
|
29929
|
-
}), null, 16, _hoisted_1$
|
|
29929
|
+
}), null, 16, _hoisted_1$1e))
|
|
29930
29930
|
]),
|
|
29931
29931
|
_: 1
|
|
29932
29932
|
})) : (openBlock(), createElementBlock("img", mergeProps({
|
|
@@ -29934,12 +29934,12 @@ and ensure you are accounting for this risk.
|
|
|
29934
29934
|
class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
|
|
29935
29935
|
style: styleOverride.value,
|
|
29936
29936
|
src: finalMainImageUrl.value
|
|
29937
|
-
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$
|
|
29937
|
+
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$S))
|
|
29938
29938
|
], 38);
|
|
29939
29939
|
};
|
|
29940
29940
|
}
|
|
29941
29941
|
});
|
|
29942
|
-
const _sfc_main$
|
|
29942
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
29943
29943
|
__name: "SearchBoxProductImage",
|
|
29944
29944
|
props: {
|
|
29945
29945
|
item: {},
|
|
@@ -29947,7 +29947,7 @@ and ensure you are accounting for this risk.
|
|
|
29947
29947
|
},
|
|
29948
29948
|
setup(__props) {
|
|
29949
29949
|
return (_ctx, _cache) => {
|
|
29950
|
-
return openBlock(), createBlock(_sfc_main$
|
|
29950
|
+
return openBlock(), createBlock(_sfc_main$1q, {
|
|
29951
29951
|
item: _ctx.item,
|
|
29952
29952
|
options: _ctx.options,
|
|
29953
29953
|
"wrapper-class": "lupa-search-box-image-wrapper",
|
|
@@ -29956,12 +29956,12 @@ and ensure you are accounting for this risk.
|
|
|
29956
29956
|
};
|
|
29957
29957
|
}
|
|
29958
29958
|
});
|
|
29959
|
-
const _hoisted_1$
|
|
29960
|
-
const _hoisted_2$
|
|
29959
|
+
const _hoisted_1$1d = ["innerHTML"];
|
|
29960
|
+
const _hoisted_2$R = {
|
|
29961
29961
|
key: 1,
|
|
29962
29962
|
class: "lupa-search-box-product-title"
|
|
29963
29963
|
};
|
|
29964
|
-
const _sfc_main$
|
|
29964
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
29965
29965
|
__name: "SearchBoxProductTitle",
|
|
29966
29966
|
props: {
|
|
29967
29967
|
item: {},
|
|
@@ -29984,18 +29984,18 @@ and ensure you are accounting for this risk.
|
|
|
29984
29984
|
key: 0,
|
|
29985
29985
|
class: "lupa-search-box-product-title",
|
|
29986
29986
|
innerHTML: sanitizedTitle.value
|
|
29987
|
-
}, null, 8, _hoisted_1$
|
|
29987
|
+
}, null, 8, _hoisted_1$1d)) : (openBlock(), createElementBlock("div", _hoisted_2$R, [
|
|
29988
29988
|
createBaseVNode("strong", null, toDisplayString(title.value), 1)
|
|
29989
29989
|
]));
|
|
29990
29990
|
};
|
|
29991
29991
|
}
|
|
29992
29992
|
});
|
|
29993
|
-
const _hoisted_1$
|
|
29994
|
-
const _hoisted_2$
|
|
29993
|
+
const _hoisted_1$1c = ["innerHTML"];
|
|
29994
|
+
const _hoisted_2$Q = {
|
|
29995
29995
|
key: 1,
|
|
29996
29996
|
class: "lupa-search-box-product-description"
|
|
29997
29997
|
};
|
|
29998
|
-
const _sfc_main$
|
|
29998
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
29999
29999
|
__name: "SearchBoxProductDescription",
|
|
30000
30000
|
props: {
|
|
30001
30001
|
item: {},
|
|
@@ -30018,12 +30018,12 @@ and ensure you are accounting for this risk.
|
|
|
30018
30018
|
key: 0,
|
|
30019
30019
|
class: "lupa-search-box-product-description",
|
|
30020
30020
|
innerHTML: sanitizedDescription.value
|
|
30021
|
-
}, null, 8, _hoisted_1$
|
|
30021
|
+
}, null, 8, _hoisted_1$1c)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(description.value), 1));
|
|
30022
30022
|
};
|
|
30023
30023
|
}
|
|
30024
30024
|
});
|
|
30025
|
-
const _hoisted_1$
|
|
30026
|
-
const _sfc_main$
|
|
30025
|
+
const _hoisted_1$1b = { class: "lupa-search-box-product-price" };
|
|
30026
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
30027
30027
|
__name: "SearchBoxProductPrice",
|
|
30028
30028
|
props: {
|
|
30029
30029
|
item: {},
|
|
@@ -30045,13 +30045,13 @@ and ensure you are accounting for this risk.
|
|
|
30045
30045
|
);
|
|
30046
30046
|
});
|
|
30047
30047
|
return (_ctx, _cache) => {
|
|
30048
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30048
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1b, [
|
|
30049
30049
|
createBaseVNode("strong", null, toDisplayString(price.value), 1)
|
|
30050
30050
|
]);
|
|
30051
30051
|
};
|
|
30052
30052
|
}
|
|
30053
30053
|
});
|
|
30054
|
-
const _sfc_main$
|
|
30054
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
30055
30055
|
__name: "SearchBoxProductRegularPrice",
|
|
30056
30056
|
props: {
|
|
30057
30057
|
item: {},
|
|
@@ -30082,12 +30082,12 @@ and ensure you are accounting for this risk.
|
|
|
30082
30082
|
};
|
|
30083
30083
|
}
|
|
30084
30084
|
});
|
|
30085
|
-
const _hoisted_1$
|
|
30086
|
-
const _hoisted_2$
|
|
30085
|
+
const _hoisted_1$1a = ["innerHTML"];
|
|
30086
|
+
const _hoisted_2$P = { key: 0 };
|
|
30087
30087
|
const _hoisted_3$B = { key: 1 };
|
|
30088
30088
|
const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
|
|
30089
30089
|
const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
|
|
30090
|
-
const _sfc_main$
|
|
30090
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
30091
30091
|
__name: "SearchBoxProductCustom",
|
|
30092
30092
|
props: {
|
|
30093
30093
|
item: {},
|
|
@@ -30113,11 +30113,11 @@ and ensure you are accounting for this risk.
|
|
|
30113
30113
|
key: 0,
|
|
30114
30114
|
class: [className.value, "lupa-search-box-product-custom"],
|
|
30115
30115
|
innerHTML: text.value
|
|
30116
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
30116
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$1a)) : (openBlock(), createElementBlock("div", mergeProps({
|
|
30117
30117
|
key: 1,
|
|
30118
30118
|
class: [className.value, "lupa-search-box-product-custom"]
|
|
30119
30119
|
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
|
|
30120
|
-
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30120
|
+
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$B, [
|
|
30121
30121
|
createBaseVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
|
|
30122
30122
|
createBaseVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
|
|
30123
30123
|
]))
|
|
@@ -30125,8 +30125,8 @@ and ensure you are accounting for this risk.
|
|
|
30125
30125
|
};
|
|
30126
30126
|
}
|
|
30127
30127
|
});
|
|
30128
|
-
const _hoisted_1$
|
|
30129
|
-
const _sfc_main$
|
|
30128
|
+
const _hoisted_1$19 = ["innerHTML"];
|
|
30129
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
30130
30130
|
__name: "SearchBoxProductCustomHtml",
|
|
30131
30131
|
props: {
|
|
30132
30132
|
item: {},
|
|
@@ -30151,7 +30151,7 @@ and ensure you are accounting for this risk.
|
|
|
30151
30151
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
30152
30152
|
class: className.value,
|
|
30153
30153
|
innerHTML: text.value
|
|
30154
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
30154
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$19);
|
|
30155
30155
|
};
|
|
30156
30156
|
}
|
|
30157
30157
|
});
|
|
@@ -30466,12 +30466,12 @@ and ensure you are accounting for this risk.
|
|
|
30466
30466
|
setRelatedQueriesApiEnabled
|
|
30467
30467
|
};
|
|
30468
30468
|
});
|
|
30469
|
-
const _hoisted_1$
|
|
30470
|
-
const _hoisted_2$
|
|
30469
|
+
const _hoisted_1$18 = { class: "lupa-search-box-add-to-cart-wrapper" };
|
|
30470
|
+
const _hoisted_2$O = { class: "lupa-search-box-product-addtocart" };
|
|
30471
30471
|
const _hoisted_3$A = ["disabled"];
|
|
30472
30472
|
const _hoisted_4$q = ["href"];
|
|
30473
30473
|
const _hoisted_5$h = ["disabled"];
|
|
30474
|
-
const _sfc_main$
|
|
30474
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
30475
30475
|
__name: "SearchBoxProductAddToCart",
|
|
30476
30476
|
props: {
|
|
30477
30477
|
item: {},
|
|
@@ -30510,8 +30510,8 @@ and ensure you are accounting for this risk.
|
|
|
30510
30510
|
return Boolean(props.link && props.options.link);
|
|
30511
30511
|
});
|
|
30512
30512
|
return (_ctx, _cache) => {
|
|
30513
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30514
|
-
createBaseVNode("div", _hoisted_2$
|
|
30513
|
+
return openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
30514
|
+
createBaseVNode("div", _hoisted_2$O, [
|
|
30515
30515
|
hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
30516
30516
|
key: 0,
|
|
30517
30517
|
class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
|
|
@@ -30532,23 +30532,23 @@ and ensure you are accounting for this risk.
|
|
|
30532
30532
|
};
|
|
30533
30533
|
}
|
|
30534
30534
|
});
|
|
30535
|
-
const _hoisted_1$
|
|
30535
|
+
const _hoisted_1$17 = {
|
|
30536
30536
|
key: 1,
|
|
30537
30537
|
class: "lupa-search-box-element-badge-wrapper"
|
|
30538
30538
|
};
|
|
30539
30539
|
const __default__$4 = {
|
|
30540
30540
|
components: {
|
|
30541
|
-
SearchBoxProductImage: _sfc_main$
|
|
30542
|
-
SearchBoxProductTitle: _sfc_main$
|
|
30543
|
-
SearchBoxProductDescription: _sfc_main$
|
|
30544
|
-
SearchBoxProductPrice: _sfc_main$
|
|
30545
|
-
SearchBoxProductRegularPrice: _sfc_main$
|
|
30546
|
-
SearchBoxProductCustom: _sfc_main$
|
|
30547
|
-
SearchBoxProductCustomHtml: _sfc_main$
|
|
30548
|
-
SearchBoxProductAddToCart: _sfc_main$
|
|
30541
|
+
SearchBoxProductImage: _sfc_main$1p,
|
|
30542
|
+
SearchBoxProductTitle: _sfc_main$1o,
|
|
30543
|
+
SearchBoxProductDescription: _sfc_main$1n,
|
|
30544
|
+
SearchBoxProductPrice: _sfc_main$1m,
|
|
30545
|
+
SearchBoxProductRegularPrice: _sfc_main$1l,
|
|
30546
|
+
SearchBoxProductCustom: _sfc_main$1k,
|
|
30547
|
+
SearchBoxProductCustomHtml: _sfc_main$1j,
|
|
30548
|
+
SearchBoxProductAddToCart: _sfc_main$1i
|
|
30549
30549
|
}
|
|
30550
30550
|
};
|
|
30551
|
-
const _sfc_main$
|
|
30551
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
|
|
30552
30552
|
__name: "SearchBoxProductElement",
|
|
30553
30553
|
props: {
|
|
30554
30554
|
item: {},
|
|
@@ -30620,7 +30620,7 @@ and ensure you are accounting for this risk.
|
|
|
30620
30620
|
"dynamic-attributes": dynamicAttributes.value,
|
|
30621
30621
|
link: _ctx.link
|
|
30622
30622
|
}, renderDynamicAttributesOnParentElement.value && dynamicAttributes.value), null, 16, ["item", "options", "labels", "class", "inStock", "dynamic-attributes", "link"])) : createCommentVNode("", true)
|
|
30623
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
30623
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$17, [
|
|
30624
30624
|
displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
|
|
30625
30625
|
key: 0,
|
|
30626
30626
|
item: enhancedItem.value,
|
|
@@ -30635,14 +30635,14 @@ and ensure you are accounting for this risk.
|
|
|
30635
30635
|
};
|
|
30636
30636
|
}
|
|
30637
30637
|
}));
|
|
30638
|
-
const _hoisted_1$
|
|
30639
|
-
const _hoisted_2$
|
|
30638
|
+
const _hoisted_1$16 = { class: "lupa-badge-title" };
|
|
30639
|
+
const _hoisted_2$N = ["src"];
|
|
30640
30640
|
const _hoisted_3$z = { key: 1 };
|
|
30641
30641
|
const _hoisted_4$p = {
|
|
30642
30642
|
key: 0,
|
|
30643
30643
|
class: "lupa-badge-full-text"
|
|
30644
30644
|
};
|
|
30645
|
-
const _sfc_main$
|
|
30645
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
30646
30646
|
__name: "SearchResultGeneratedBadge",
|
|
30647
30647
|
props: {
|
|
30648
30648
|
options: {},
|
|
@@ -30675,11 +30675,11 @@ and ensure you are accounting for this risk.
|
|
|
30675
30675
|
class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
|
|
30676
30676
|
style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
|
|
30677
30677
|
}, [
|
|
30678
|
-
createBaseVNode("span", _hoisted_1$
|
|
30678
|
+
createBaseVNode("span", _hoisted_1$16, [
|
|
30679
30679
|
image.value ? (openBlock(), createElementBlock("img", {
|
|
30680
30680
|
key: 0,
|
|
30681
30681
|
src: image.value
|
|
30682
|
-
}, null, 8, _hoisted_2$
|
|
30682
|
+
}, null, 8, _hoisted_2$N)) : createCommentVNode("", true),
|
|
30683
30683
|
hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$z, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
|
|
30684
30684
|
]),
|
|
30685
30685
|
hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
|
|
@@ -30687,8 +30687,8 @@ and ensure you are accounting for this risk.
|
|
|
30687
30687
|
};
|
|
30688
30688
|
}
|
|
30689
30689
|
});
|
|
30690
|
-
const _hoisted_1$
|
|
30691
|
-
const _sfc_main$
|
|
30690
|
+
const _hoisted_1$15 = { class: "lupa-generated-badges" };
|
|
30691
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
30692
30692
|
__name: "SearchResultGeneratedBadges",
|
|
30693
30693
|
props: {
|
|
30694
30694
|
options: {}
|
|
@@ -30714,9 +30714,9 @@ and ensure you are accounting for this risk.
|
|
|
30714
30714
|
})).filter((b) => Boolean(b.id));
|
|
30715
30715
|
});
|
|
30716
30716
|
return (_ctx, _cache) => {
|
|
30717
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30717
|
+
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
30718
30718
|
(openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
|
|
30719
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30719
|
+
return openBlock(), createBlock(_sfc_main$1g, {
|
|
30720
30720
|
key: badge.id,
|
|
30721
30721
|
badge,
|
|
30722
30722
|
options: _ctx.options
|
|
@@ -30726,8 +30726,8 @@ and ensure you are accounting for this risk.
|
|
|
30726
30726
|
};
|
|
30727
30727
|
}
|
|
30728
30728
|
});
|
|
30729
|
-
const _hoisted_1$
|
|
30730
|
-
const _sfc_main$
|
|
30729
|
+
const _hoisted_1$14 = ["innerHTML"];
|
|
30730
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
30731
30731
|
__name: "CustomBadge",
|
|
30732
30732
|
props: {
|
|
30733
30733
|
badge: {}
|
|
@@ -30748,12 +30748,12 @@ and ensure you are accounting for this risk.
|
|
|
30748
30748
|
return openBlock(), createElementBlock("div", {
|
|
30749
30749
|
class: normalizeClass(className.value),
|
|
30750
30750
|
innerHTML: text.value
|
|
30751
|
-
}, null, 10, _hoisted_1$
|
|
30751
|
+
}, null, 10, _hoisted_1$14);
|
|
30752
30752
|
};
|
|
30753
30753
|
}
|
|
30754
30754
|
});
|
|
30755
|
-
const _hoisted_1$
|
|
30756
|
-
const _sfc_main$
|
|
30755
|
+
const _hoisted_1$13 = { class: "lupa-text-badges" };
|
|
30756
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
30757
30757
|
__name: "TextBadge",
|
|
30758
30758
|
props: {
|
|
30759
30759
|
badge: {}
|
|
@@ -30767,7 +30767,7 @@ and ensure you are accounting for this risk.
|
|
|
30767
30767
|
return badges.value.slice(0, props.badge.maxItems);
|
|
30768
30768
|
});
|
|
30769
30769
|
return (_ctx, _cache) => {
|
|
30770
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30770
|
+
return openBlock(), createElementBlock("div", _hoisted_1$13, [
|
|
30771
30771
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
|
|
30772
30772
|
return openBlock(), createElementBlock("div", {
|
|
30773
30773
|
class: "lupa-badge lupa-text-badge",
|
|
@@ -30778,9 +30778,9 @@ and ensure you are accounting for this risk.
|
|
|
30778
30778
|
};
|
|
30779
30779
|
}
|
|
30780
30780
|
});
|
|
30781
|
-
const _hoisted_1$
|
|
30782
|
-
const _hoisted_2$
|
|
30783
|
-
const _sfc_main$
|
|
30781
|
+
const _hoisted_1$12 = { class: "lupa-image-badges" };
|
|
30782
|
+
const _hoisted_2$M = ["src"];
|
|
30783
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
30784
30784
|
__name: "ImageBadge",
|
|
30785
30785
|
props: {
|
|
30786
30786
|
badge: {}
|
|
@@ -30800,7 +30800,7 @@ and ensure you are accounting for this risk.
|
|
|
30800
30800
|
return `${props.badge.rootImageUrl}${src}`;
|
|
30801
30801
|
};
|
|
30802
30802
|
return (_ctx, _cache) => {
|
|
30803
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30803
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
30804
30804
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
|
|
30805
30805
|
return openBlock(), createElementBlock("div", {
|
|
30806
30806
|
class: "lupa-badge lupa-image-badge",
|
|
@@ -30808,14 +30808,14 @@ and ensure you are accounting for this risk.
|
|
|
30808
30808
|
}, [
|
|
30809
30809
|
createBaseVNode("img", {
|
|
30810
30810
|
src: getImageUrl(item)
|
|
30811
|
-
}, null, 8, _hoisted_2$
|
|
30811
|
+
}, null, 8, _hoisted_2$M)
|
|
30812
30812
|
]);
|
|
30813
30813
|
}), 128))
|
|
30814
30814
|
]);
|
|
30815
30815
|
};
|
|
30816
30816
|
}
|
|
30817
30817
|
});
|
|
30818
|
-
const _sfc_main$
|
|
30818
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
30819
30819
|
__name: "DiscountBadge",
|
|
30820
30820
|
props: {
|
|
30821
30821
|
badge: {}
|
|
@@ -30877,16 +30877,16 @@ and ensure you are accounting for this risk.
|
|
|
30877
30877
|
};
|
|
30878
30878
|
}
|
|
30879
30879
|
});
|
|
30880
|
-
const _hoisted_1$
|
|
30880
|
+
const _hoisted_1$11 = { id: "lupa-search-results-badges" };
|
|
30881
30881
|
const __default__$3 = {
|
|
30882
30882
|
components: {
|
|
30883
|
-
CustomBadge: _sfc_main$
|
|
30884
|
-
TextBadge: _sfc_main$
|
|
30885
|
-
ImageBadge: _sfc_main$
|
|
30886
|
-
DiscountBadge: _sfc_main$
|
|
30883
|
+
CustomBadge: _sfc_main$1e,
|
|
30884
|
+
TextBadge: _sfc_main$1d,
|
|
30885
|
+
ImageBadge: _sfc_main$1c,
|
|
30886
|
+
DiscountBadge: _sfc_main$1b
|
|
30887
30887
|
}
|
|
30888
30888
|
};
|
|
30889
|
-
const _sfc_main$
|
|
30889
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
|
|
30890
30890
|
__name: "SearchResultsBadgeWrapper",
|
|
30891
30891
|
props: {
|
|
30892
30892
|
position: {},
|
|
@@ -30949,7 +30949,7 @@ and ensure you are accounting for this risk.
|
|
|
30949
30949
|
}
|
|
30950
30950
|
};
|
|
30951
30951
|
return (_ctx, _cache) => {
|
|
30952
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30952
|
+
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
30953
30953
|
createBaseVNode("div", {
|
|
30954
30954
|
id: "lupa-badges",
|
|
30955
30955
|
class: normalizeClass(anchorPosition.value)
|
|
@@ -30960,7 +30960,7 @@ and ensure you are accounting for this risk.
|
|
|
30960
30960
|
badge
|
|
30961
30961
|
}, null, 8, ["badge"]);
|
|
30962
30962
|
}), 128)),
|
|
30963
|
-
positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$
|
|
30963
|
+
positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1f, {
|
|
30964
30964
|
key: 0,
|
|
30965
30965
|
options: _ctx.options
|
|
30966
30966
|
}, null, 8, ["options"])) : createCommentVNode("", true)
|
|
@@ -30969,13 +30969,13 @@ and ensure you are accounting for this risk.
|
|
|
30969
30969
|
};
|
|
30970
30970
|
}
|
|
30971
30971
|
}));
|
|
30972
|
-
const _hoisted_1
|
|
30973
|
-
const _hoisted_2$
|
|
30972
|
+
const _hoisted_1$10 = ["href"];
|
|
30973
|
+
const _hoisted_2$L = { class: "lupa-search-box-product-details-section" };
|
|
30974
30974
|
const _hoisted_3$y = {
|
|
30975
30975
|
key: 0,
|
|
30976
30976
|
class: "lupa-search-box-product-add-to-cart-section"
|
|
30977
30977
|
};
|
|
30978
|
-
const _sfc_main$
|
|
30978
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
30979
30979
|
__name: "SearchBoxProduct",
|
|
30980
30980
|
props: {
|
|
30981
30981
|
item: {},
|
|
@@ -31081,7 +31081,7 @@ and ensure you are accounting for this risk.
|
|
|
31081
31081
|
style: normalizeStyle(imageStyleOverride.value)
|
|
31082
31082
|
}, [
|
|
31083
31083
|
(openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
|
|
31084
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31084
|
+
return openBlock(), createBlock(_sfc_main$1h, {
|
|
31085
31085
|
class: "lupa-search-box-product-element",
|
|
31086
31086
|
key: element.key,
|
|
31087
31087
|
item: _ctx.item,
|
|
@@ -31091,10 +31091,10 @@ and ensure you are accounting for this risk.
|
|
|
31091
31091
|
}, null, 8, ["item", "element", "labels", "link"]);
|
|
31092
31092
|
}), 128))
|
|
31093
31093
|
], 4),
|
|
31094
|
-
createBaseVNode("div", _hoisted_2$
|
|
31094
|
+
createBaseVNode("div", _hoisted_2$L, [
|
|
31095
31095
|
(openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
|
|
31096
31096
|
var _a25;
|
|
31097
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31097
|
+
return openBlock(), createBlock(_sfc_main$1h, {
|
|
31098
31098
|
class: "lupa-search-box-product-element",
|
|
31099
31099
|
key: element.key,
|
|
31100
31100
|
item: _ctx.item,
|
|
@@ -31105,7 +31105,7 @@ and ensure you are accounting for this risk.
|
|
|
31105
31105
|
((_a25 = badgeOptions.value) == null ? void 0 : _a25.anchorElementKey) === element.key ? {
|
|
31106
31106
|
name: "badges",
|
|
31107
31107
|
fn: withCtx(() => [
|
|
31108
|
-
createVNode(_sfc_main$
|
|
31108
|
+
createVNode(_sfc_main$1a, {
|
|
31109
31109
|
options: badgeOptions.value,
|
|
31110
31110
|
position: "card"
|
|
31111
31111
|
}, null, 8, ["options"])
|
|
@@ -31121,7 +31121,7 @@ and ensure you are accounting for this risk.
|
|
|
31121
31121
|
class: normalizeClass(`lupa-search-box-group-${group}`)
|
|
31122
31122
|
}, [
|
|
31123
31123
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
|
|
31124
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31124
|
+
return openBlock(), createBlock(_sfc_main$1h, {
|
|
31125
31125
|
class: "lupa-search-box-product-element",
|
|
31126
31126
|
key: element.key,
|
|
31127
31127
|
item: _ctx.item,
|
|
@@ -31134,7 +31134,7 @@ and ensure you are accounting for this risk.
|
|
|
31134
31134
|
], 2);
|
|
31135
31135
|
}), 128)),
|
|
31136
31136
|
addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
|
|
31137
|
-
createVNode(_sfc_main$
|
|
31137
|
+
createVNode(_sfc_main$1h, {
|
|
31138
31138
|
class: "lupa-search-box-product-element",
|
|
31139
31139
|
item: _ctx.item,
|
|
31140
31140
|
element: addToCartElement.value,
|
|
@@ -31143,7 +31143,7 @@ and ensure you are accounting for this risk.
|
|
|
31143
31143
|
isInStock: isInStock.value
|
|
31144
31144
|
}, null, 8, ["item", "element", "labels", "link", "isInStock"])
|
|
31145
31145
|
])) : createCommentVNode("", true)
|
|
31146
|
-
], 16, _hoisted_1
|
|
31146
|
+
], 16, _hoisted_1$10);
|
|
31147
31147
|
};
|
|
31148
31148
|
}
|
|
31149
31149
|
});
|
|
@@ -31215,8 +31215,8 @@ and ensure you are accounting for this risk.
|
|
|
31215
31215
|
};
|
|
31216
31216
|
return { trackSearch, trackResults, trackEvent, trackDelayedEvent };
|
|
31217
31217
|
});
|
|
31218
|
-
const _hoisted_1
|
|
31219
|
-
const _sfc_main$
|
|
31218
|
+
const _hoisted_1$$ = { id: "lupa-search-box-products" };
|
|
31219
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
31220
31220
|
__name: "SearchBoxProducts",
|
|
31221
31221
|
props: {
|
|
31222
31222
|
items: {},
|
|
@@ -31288,7 +31288,7 @@ and ensure you are accounting for this risk.
|
|
|
31288
31288
|
}
|
|
31289
31289
|
};
|
|
31290
31290
|
return (_ctx, _cache) => {
|
|
31291
|
-
return openBlock(), createElementBlock("div", _hoisted_1
|
|
31291
|
+
return openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
31292
31292
|
_ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
|
|
31293
31293
|
return renderSlot(_ctx.$slots, "productCard", {
|
|
31294
31294
|
key: index,
|
|
@@ -31300,7 +31300,7 @@ and ensure you are accounting for this risk.
|
|
|
31300
31300
|
itemClicked: handleProductClick
|
|
31301
31301
|
});
|
|
31302
31302
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.items, (item, index) => {
|
|
31303
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31303
|
+
return openBlock(), createBlock(_sfc_main$19, {
|
|
31304
31304
|
key: index,
|
|
31305
31305
|
item,
|
|
31306
31306
|
panelOptions: _ctx.panelOptions,
|
|
@@ -31315,9 +31315,9 @@ and ensure you are accounting for this risk.
|
|
|
31315
31315
|
};
|
|
31316
31316
|
}
|
|
31317
31317
|
});
|
|
31318
|
-
const _hoisted_1$
|
|
31319
|
-
const _hoisted_2$
|
|
31320
|
-
const _sfc_main$
|
|
31318
|
+
const _hoisted_1$_ = { class: "lupa-search-box-documents-go-to-results-wrapper" };
|
|
31319
|
+
const _hoisted_2$K = { key: 0 };
|
|
31320
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
31321
31321
|
__name: "SearchBoxProductsGoToResultsButton",
|
|
31322
31322
|
props: {
|
|
31323
31323
|
options: {},
|
|
@@ -31348,13 +31348,13 @@ and ensure you are accounting for this risk.
|
|
|
31348
31348
|
emit2("goToResults");
|
|
31349
31349
|
};
|
|
31350
31350
|
return (_ctx, _cache) => {
|
|
31351
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31351
|
+
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
31352
31352
|
createBaseVNode("button", {
|
|
31353
31353
|
class: "lupa-search-box-documents-go-to-results-button",
|
|
31354
31354
|
onClick: goToResults
|
|
31355
31355
|
}, [
|
|
31356
31356
|
createTextVNode(toDisplayString(goToResultsLabel.value) + " ", 1),
|
|
31357
|
-
totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
31357
|
+
totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$K, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
|
|
31358
31358
|
])
|
|
31359
31359
|
]);
|
|
31360
31360
|
};
|
|
@@ -31441,7 +31441,7 @@ and ensure you are accounting for this risk.
|
|
|
31441
31441
|
}
|
|
31442
31442
|
return parsedObject;
|
|
31443
31443
|
};
|
|
31444
|
-
const _sfc_main$
|
|
31444
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
31445
31445
|
__name: "SearchBoxProductsWrapper",
|
|
31446
31446
|
props: {
|
|
31447
31447
|
panel: {},
|
|
@@ -31511,7 +31511,7 @@ and ensure you are accounting for this risk.
|
|
|
31511
31511
|
watch(() => props.panel.limit, getItemsDebounced);
|
|
31512
31512
|
return (_ctx, _cache) => {
|
|
31513
31513
|
var _a25, _b25;
|
|
31514
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31514
|
+
return openBlock(), createBlock(_sfc_main$18, {
|
|
31515
31515
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
31516
31516
|
panelOptions: _ctx.panel,
|
|
31517
31517
|
labels: _ctx.labels,
|
|
@@ -31521,7 +31521,7 @@ and ensure you are accounting for this risk.
|
|
|
31521
31521
|
default: withCtx(() => {
|
|
31522
31522
|
var _a26;
|
|
31523
31523
|
return [
|
|
31524
|
-
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$
|
|
31524
|
+
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$17, {
|
|
31525
31525
|
key: 0,
|
|
31526
31526
|
options: _ctx.searchBoxOptions,
|
|
31527
31527
|
panel: _ctx.panel,
|
|
@@ -31542,7 +31542,7 @@ and ensure you are accounting for this risk.
|
|
|
31542
31542
|
};
|
|
31543
31543
|
}
|
|
31544
31544
|
});
|
|
31545
|
-
const _sfc_main$
|
|
31545
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
31546
31546
|
__name: "SearchBoxRelatedSourceWrapper",
|
|
31547
31547
|
props: {
|
|
31548
31548
|
panel: {},
|
|
@@ -31614,7 +31614,7 @@ and ensure you are accounting for this risk.
|
|
|
31614
31614
|
});
|
|
31615
31615
|
return (_ctx, _cache) => {
|
|
31616
31616
|
var _a25, _b25;
|
|
31617
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31617
|
+
return openBlock(), createBlock(_sfc_main$18, {
|
|
31618
31618
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
31619
31619
|
panelOptions: documentPanelOptions.value,
|
|
31620
31620
|
labels: _ctx.labels,
|
|
@@ -31632,11 +31632,11 @@ and ensure you are accounting for this risk.
|
|
|
31632
31632
|
};
|
|
31633
31633
|
}
|
|
31634
31634
|
});
|
|
31635
|
-
const _hoisted_1$
|
|
31635
|
+
const _hoisted_1$Z = {
|
|
31636
31636
|
key: 0,
|
|
31637
31637
|
id: "lupa-search-box-panel"
|
|
31638
31638
|
};
|
|
31639
|
-
const _hoisted_2$
|
|
31639
|
+
const _hoisted_2$J = ["data-cy"];
|
|
31640
31640
|
const _hoisted_3$x = {
|
|
31641
31641
|
key: 0,
|
|
31642
31642
|
class: "lupa-panel-title lupa-panel-title-top-results"
|
|
@@ -31651,12 +31651,12 @@ and ensure you are accounting for this risk.
|
|
|
31651
31651
|
};
|
|
31652
31652
|
const __default__$2 = {
|
|
31653
31653
|
components: {
|
|
31654
|
-
SearchBoxSuggestionsWrapper: _sfc_main$
|
|
31655
|
-
SearchBoxProductsWrapper: _sfc_main$
|
|
31656
|
-
SearchBoxRelatedSourceWrapper: _sfc_main$
|
|
31654
|
+
SearchBoxSuggestionsWrapper: _sfc_main$1r,
|
|
31655
|
+
SearchBoxProductsWrapper: _sfc_main$16,
|
|
31656
|
+
SearchBoxRelatedSourceWrapper: _sfc_main$15
|
|
31657
31657
|
}
|
|
31658
31658
|
};
|
|
31659
|
-
const _sfc_main$
|
|
31659
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
|
|
31660
31660
|
__name: "SearchBoxMainPanel",
|
|
31661
31661
|
props: {
|
|
31662
31662
|
options: {},
|
|
@@ -31814,7 +31814,7 @@ and ensure you are accounting for this risk.
|
|
|
31814
31814
|
ref_key: "panelContainer",
|
|
31815
31815
|
ref: panelContainer
|
|
31816
31816
|
}, [
|
|
31817
|
-
displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31817
|
+
displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
31818
31818
|
labels.value.closePanel ? (openBlock(), createElementBlock("a", {
|
|
31819
31819
|
key: 0,
|
|
31820
31820
|
class: "lupa-search-box-close-panel",
|
|
@@ -31859,21 +31859,21 @@ and ensure you are accounting for this risk.
|
|
|
31859
31859
|
key: "0"
|
|
31860
31860
|
} : void 0
|
|
31861
31861
|
]), 1064, ["panel", "search-box-options", "options", "debounce", "inputValue", "labels"])) : createCommentVNode("", true)
|
|
31862
|
-
], 14, _hoisted_2$
|
|
31862
|
+
], 14, _hoisted_2$J);
|
|
31863
31863
|
}), 128))
|
|
31864
31864
|
], 4),
|
|
31865
|
-
!unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$
|
|
31865
|
+
!unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1u, {
|
|
31866
31866
|
key: 1,
|
|
31867
31867
|
labels: labels.value
|
|
31868
31868
|
}, null, 8, ["labels"])) : createCommentVNode("", true),
|
|
31869
|
-
unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$
|
|
31869
|
+
unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1x, {
|
|
31870
31870
|
key: 2,
|
|
31871
31871
|
labels: labels.value,
|
|
31872
31872
|
options: _ctx.options,
|
|
31873
31873
|
onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
|
|
31874
31874
|
}, null, 8, ["labels", "options"])) : createCommentVNode("", true)
|
|
31875
31875
|
])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
|
|
31876
|
-
createVNode(_sfc_main$
|
|
31876
|
+
createVNode(_sfc_main$1v, {
|
|
31877
31877
|
options: _ctx.options.history,
|
|
31878
31878
|
history: history.value,
|
|
31879
31879
|
onGoToResults: handleGoToResults,
|
|
@@ -31898,8 +31898,8 @@ and ensure you are accounting for this risk.
|
|
|
31898
31898
|
const elements = getElements(triggers);
|
|
31899
31899
|
elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
|
|
31900
31900
|
};
|
|
31901
|
-
const _hoisted_1$
|
|
31902
|
-
const _sfc_main$
|
|
31901
|
+
const _hoisted_1$Y = { class: "lupa-search-box-wrapper" };
|
|
31902
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
31903
31903
|
__name: "SearchBox",
|
|
31904
31904
|
props: {
|
|
31905
31905
|
options: {},
|
|
@@ -32221,8 +32221,8 @@ and ensure you are accounting for this risk.
|
|
|
32221
32221
|
id: "lupa-search-box",
|
|
32222
32222
|
class: normalizeClass({ "lupa-search-box-opened": opened.value })
|
|
32223
32223
|
}, [
|
|
32224
|
-
createBaseVNode("div", _hoisted_1$
|
|
32225
|
-
createVNode(_sfc_main$
|
|
32224
|
+
createBaseVNode("div", _hoisted_1$Y, [
|
|
32225
|
+
createVNode(_sfc_main$1y, {
|
|
32226
32226
|
options: inputOptions.value,
|
|
32227
32227
|
suggestedValue: suggestedValue.value,
|
|
32228
32228
|
"can-close": (_a26 = _ctx.isSearchContainer) != null ? _a26 : false,
|
|
@@ -32235,7 +32235,7 @@ and ensure you are accounting for this risk.
|
|
|
32235
32235
|
onSearch: handleSearch,
|
|
32236
32236
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
32237
32237
|
}, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
|
|
32238
|
-
opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$
|
|
32238
|
+
opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$14, {
|
|
32239
32239
|
key: 0,
|
|
32240
32240
|
options: panelOptions.value,
|
|
32241
32241
|
inputValue: inputValue.value,
|
|
@@ -32323,11 +32323,11 @@ and ensure you are accounting for this risk.
|
|
|
32323
32323
|
}
|
|
32324
32324
|
return searchParams;
|
|
32325
32325
|
};
|
|
32326
|
-
const _hoisted_1$
|
|
32326
|
+
const _hoisted_1$X = {
|
|
32327
32327
|
key: 0,
|
|
32328
32328
|
id: "lupa-search-results-did-you-mean"
|
|
32329
32329
|
};
|
|
32330
|
-
const _hoisted_2$
|
|
32330
|
+
const _hoisted_2$I = {
|
|
32331
32331
|
key: 0,
|
|
32332
32332
|
"data-cy": "suggested-search-text-label"
|
|
32333
32333
|
};
|
|
@@ -32336,7 +32336,7 @@ and ensure you are accounting for this risk.
|
|
|
32336
32336
|
"data-cy": "did-you-mean-label"
|
|
32337
32337
|
};
|
|
32338
32338
|
const _hoisted_4$n = { key: 1 };
|
|
32339
|
-
const _sfc_main$
|
|
32339
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
32340
32340
|
__name: "SearchResultsDidYouMean",
|
|
32341
32341
|
props: {
|
|
32342
32342
|
labels: {}
|
|
@@ -32368,8 +32368,8 @@ and ensure you are accounting for this risk.
|
|
|
32368
32368
|
paramStore.goToResults({ searchText, facet });
|
|
32369
32369
|
};
|
|
32370
32370
|
return (_ctx, _cache) => {
|
|
32371
|
-
return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32372
|
-
unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
32371
|
+
return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
32372
|
+
unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
|
|
32373
32373
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
|
|
32374
32374
|
return openBlock(), createElementBlock("span", { key: index }, [
|
|
32375
32375
|
createBaseVNode("span", {
|
|
@@ -32394,12 +32394,12 @@ and ensure you are accounting for this risk.
|
|
|
32394
32394
|
};
|
|
32395
32395
|
}
|
|
32396
32396
|
});
|
|
32397
|
-
const _hoisted_1$
|
|
32397
|
+
const _hoisted_1$W = {
|
|
32398
32398
|
key: 0,
|
|
32399
32399
|
class: "lupa-search-results-summary"
|
|
32400
32400
|
};
|
|
32401
|
-
const _hoisted_2$
|
|
32402
|
-
const _sfc_main$
|
|
32401
|
+
const _hoisted_2$H = ["innerHTML"];
|
|
32402
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
32403
32403
|
__name: "SearchResultsSummary",
|
|
32404
32404
|
props: {
|
|
32405
32405
|
label: {},
|
|
@@ -32414,8 +32414,8 @@ and ensure you are accounting for this risk.
|
|
|
32414
32414
|
return addParamsToLabel(props.label, range2, `<span>${totalItems.value}</span>`);
|
|
32415
32415
|
});
|
|
32416
32416
|
return (_ctx, _cache) => {
|
|
32417
|
-
return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32418
|
-
createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$
|
|
32417
|
+
return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
32418
|
+
createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$H),
|
|
32419
32419
|
_ctx.clearable ? (openBlock(), createElementBlock("span", {
|
|
32420
32420
|
key: 0,
|
|
32421
32421
|
class: "lupa-filter-clear",
|
|
@@ -32426,19 +32426,19 @@ and ensure you are accounting for this risk.
|
|
|
32426
32426
|
};
|
|
32427
32427
|
}
|
|
32428
32428
|
});
|
|
32429
|
-
const _hoisted_1$
|
|
32429
|
+
const _hoisted_1$V = {
|
|
32430
32430
|
key: 0,
|
|
32431
32431
|
class: "lupa-result-page-title",
|
|
32432
32432
|
"data-cy": "lupa-result-page-title"
|
|
32433
32433
|
};
|
|
32434
|
-
const _hoisted_2$
|
|
32434
|
+
const _hoisted_2$G = { key: 0 };
|
|
32435
32435
|
const _hoisted_3$v = {
|
|
32436
32436
|
key: 1,
|
|
32437
32437
|
class: "lupa-results-total-count"
|
|
32438
32438
|
};
|
|
32439
32439
|
const _hoisted_4$m = { class: "lupa-results-total-count-number" };
|
|
32440
32440
|
const _hoisted_5$f = ["innerHTML"];
|
|
32441
|
-
const _sfc_main
|
|
32441
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
32442
32442
|
__name: "SearchResultsTitle",
|
|
32443
32443
|
props: {
|
|
32444
32444
|
options: {},
|
|
@@ -32481,16 +32481,16 @@ and ensure you are accounting for this risk.
|
|
|
32481
32481
|
});
|
|
32482
32482
|
return (_ctx, _cache) => {
|
|
32483
32483
|
return openBlock(), createElementBlock("div", null, [
|
|
32484
|
-
showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$
|
|
32484
|
+
showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$V, [
|
|
32485
32485
|
createTextVNode(toDisplayString(searchResultsTitleTemplate.value || _ctx.options.labels.searchResults), 1),
|
|
32486
|
-
queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
32486
|
+
queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$G, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
|
|
32487
32487
|
showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$v, [
|
|
32488
32488
|
createTextVNode("(" + toDisplayString(searchResultsCountLabel.value), 1),
|
|
32489
32489
|
createBaseVNode("span", _hoisted_4$m, toDisplayString(unref(totalItems)), 1),
|
|
32490
32490
|
_cache[0] || (_cache[0] = createTextVNode(")"))
|
|
32491
32491
|
])) : createCommentVNode("", true)
|
|
32492
32492
|
])) : createCommentVNode("", true),
|
|
32493
|
-
_ctx.showSummary ? (openBlock(), createBlock(_sfc_main$
|
|
32493
|
+
_ctx.showSummary ? (openBlock(), createBlock(_sfc_main$11, {
|
|
32494
32494
|
key: 1,
|
|
32495
32495
|
label: summaryLabel.value
|
|
32496
32496
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
@@ -32503,15 +32503,15 @@ and ensure you are accounting for this risk.
|
|
|
32503
32503
|
};
|
|
32504
32504
|
}
|
|
32505
32505
|
});
|
|
32506
|
-
const _hoisted_1$
|
|
32506
|
+
const _hoisted_1$U = {
|
|
32507
32507
|
class: "lupa-current-filter-label",
|
|
32508
32508
|
"data-cy": "lupa-current-filter-label"
|
|
32509
32509
|
};
|
|
32510
|
-
const _hoisted_2$
|
|
32510
|
+
const _hoisted_2$F = {
|
|
32511
32511
|
class: "lupa-current-filter-value",
|
|
32512
32512
|
"data-cy": "lupa-current-filter-value"
|
|
32513
32513
|
};
|
|
32514
|
-
const _sfc_main
|
|
32514
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
32515
32515
|
__name: "CurrentFilterDisplay",
|
|
32516
32516
|
props: {
|
|
32517
32517
|
filter: {}
|
|
@@ -32553,14 +32553,14 @@ and ensure you are accounting for this risk.
|
|
|
32553
32553
|
onClick: handleClick,
|
|
32554
32554
|
"aria-label": "Remove filter"
|
|
32555
32555
|
}, "⨉"),
|
|
32556
|
-
createBaseVNode("div", _hoisted_1$
|
|
32557
|
-
createBaseVNode("div", _hoisted_2$
|
|
32556
|
+
createBaseVNode("div", _hoisted_1$U, toDisplayString(_ctx.filter.label) + ": ", 1),
|
|
32557
|
+
createBaseVNode("div", _hoisted_2$F, toDisplayString(formatFilterValue(props.filter)), 1)
|
|
32558
32558
|
], 2);
|
|
32559
32559
|
};
|
|
32560
32560
|
}
|
|
32561
32561
|
});
|
|
32562
|
-
const _hoisted_1$
|
|
32563
|
-
const _hoisted_2$
|
|
32562
|
+
const _hoisted_1$T = { class: "lupa-filter-title-text" };
|
|
32563
|
+
const _hoisted_2$E = {
|
|
32564
32564
|
key: 0,
|
|
32565
32565
|
class: "lupa-filter-count"
|
|
32566
32566
|
};
|
|
@@ -32569,7 +32569,7 @@ and ensure you are accounting for this risk.
|
|
|
32569
32569
|
class: "filter-values"
|
|
32570
32570
|
};
|
|
32571
32571
|
const _hoisted_4$l = { class: "lupa-current-filter-list" };
|
|
32572
|
-
const _sfc_main$
|
|
32572
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
32573
32573
|
__name: "CurrentFilters",
|
|
32574
32574
|
props: {
|
|
32575
32575
|
options: {},
|
|
@@ -32650,9 +32650,9 @@ and ensure you are accounting for this risk.
|
|
|
32650
32650
|
class: "lupa-current-filter-title",
|
|
32651
32651
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
32652
32652
|
}, [
|
|
32653
|
-
createBaseVNode("div", _hoisted_1$
|
|
32653
|
+
createBaseVNode("div", _hoisted_1$T, [
|
|
32654
32654
|
createTextVNode(toDisplayString((_c = (_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) != null ? _c : "") + " ", 1),
|
|
32655
|
-
_ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
32655
|
+
_ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$E, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
|
|
32656
32656
|
]),
|
|
32657
32657
|
_ctx.expandable ? (openBlock(), createElementBlock("div", {
|
|
32658
32658
|
key: 0,
|
|
@@ -32662,7 +32662,7 @@ and ensure you are accounting for this risk.
|
|
|
32662
32662
|
!_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
32663
32663
|
createBaseVNode("div", _hoisted_4$l, [
|
|
32664
32664
|
(openBlock(true), createElementBlock(Fragment, null, renderList(currentDisplayFilters.value, (filter) => {
|
|
32665
|
-
return openBlock(), createBlock(_sfc_main
|
|
32665
|
+
return openBlock(), createBlock(_sfc_main$$, {
|
|
32666
32666
|
key: filter.key + "_" + filter.value,
|
|
32667
32667
|
filter,
|
|
32668
32668
|
units: units.value,
|
|
@@ -32680,8 +32680,8 @@ and ensure you are accounting for this risk.
|
|
|
32680
32680
|
};
|
|
32681
32681
|
}
|
|
32682
32682
|
});
|
|
32683
|
-
const _hoisted_1$
|
|
32684
|
-
const _sfc_main$
|
|
32683
|
+
const _hoisted_1$S = ["href"];
|
|
32684
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
32685
32685
|
__name: "CategoryFilterItem",
|
|
32686
32686
|
props: {
|
|
32687
32687
|
options: {},
|
|
@@ -32718,20 +32718,20 @@ and ensure you are accounting for this risk.
|
|
|
32718
32718
|
"data-cy": "lupa-child-category-item",
|
|
32719
32719
|
href: urlLink.value,
|
|
32720
32720
|
onClick: handleNavigation
|
|
32721
|
-
}, toDisplayString(title.value), 9, _hoisted_1$
|
|
32721
|
+
}, toDisplayString(title.value), 9, _hoisted_1$S)
|
|
32722
32722
|
], 2);
|
|
32723
32723
|
};
|
|
32724
32724
|
}
|
|
32725
32725
|
});
|
|
32726
|
-
const _hoisted_1$
|
|
32726
|
+
const _hoisted_1$R = {
|
|
32727
32727
|
class: "lupa-category-filter",
|
|
32728
32728
|
"data-cy": "lupa-category-filter"
|
|
32729
32729
|
};
|
|
32730
|
-
const _hoisted_2$
|
|
32730
|
+
const _hoisted_2$D = { class: "lupa-category-back" };
|
|
32731
32731
|
const _hoisted_3$t = ["href"];
|
|
32732
32732
|
const _hoisted_4$k = ["href"];
|
|
32733
32733
|
const _hoisted_5$e = { class: "lupa-child-category-list" };
|
|
32734
|
-
const _sfc_main$
|
|
32734
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
32735
32735
|
__name: "CategoryFilter",
|
|
32736
32736
|
props: {
|
|
32737
32737
|
options: {}
|
|
@@ -32819,8 +32819,8 @@ and ensure you are accounting for this risk.
|
|
|
32819
32819
|
};
|
|
32820
32820
|
__expose({ fetch: fetch2 });
|
|
32821
32821
|
return (_ctx, _cache) => {
|
|
32822
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
32823
|
-
createBaseVNode("div", _hoisted_2$
|
|
32822
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
32823
|
+
createBaseVNode("div", _hoisted_2$D, [
|
|
32824
32824
|
hasBackButton.value ? (openBlock(), createElementBlock("a", {
|
|
32825
32825
|
key: 0,
|
|
32826
32826
|
"data-cy": "lupa-category-back",
|
|
@@ -32840,7 +32840,7 @@ and ensure you are accounting for this risk.
|
|
|
32840
32840
|
], 2),
|
|
32841
32841
|
createBaseVNode("div", _hoisted_5$e, [
|
|
32842
32842
|
(openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
|
|
32843
|
-
return openBlock(), createBlock(_sfc_main$
|
|
32843
|
+
return openBlock(), createBlock(_sfc_main$Z, {
|
|
32844
32844
|
key: getCategoryKey(child),
|
|
32845
32845
|
item: child,
|
|
32846
32846
|
options: _ctx.options
|
|
@@ -32851,11 +32851,11 @@ and ensure you are accounting for this risk.
|
|
|
32851
32851
|
};
|
|
32852
32852
|
}
|
|
32853
32853
|
});
|
|
32854
|
-
const _hoisted_1$
|
|
32854
|
+
const _hoisted_1$Q = {
|
|
32855
32855
|
class: "lupa-search-result-facet-term-values",
|
|
32856
32856
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
32857
32857
|
};
|
|
32858
|
-
const _hoisted_2$
|
|
32858
|
+
const _hoisted_2$C = ["placeholder"];
|
|
32859
32859
|
const _hoisted_3$s = { class: "lupa-terms-list" };
|
|
32860
32860
|
const _hoisted_4$j = ["onClick"];
|
|
32861
32861
|
const _hoisted_5$d = { class: "lupa-term-checkbox-wrapper" };
|
|
@@ -32866,7 +32866,7 @@ and ensure you are accounting for this risk.
|
|
|
32866
32866
|
};
|
|
32867
32867
|
const _hoisted_8$2 = { key: 0 };
|
|
32868
32868
|
const _hoisted_9$2 = { key: 1 };
|
|
32869
|
-
const _sfc_main$
|
|
32869
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
32870
32870
|
__name: "TermFacet",
|
|
32871
32871
|
props: {
|
|
32872
32872
|
options: {},
|
|
@@ -32956,14 +32956,14 @@ and ensure you are accounting for this risk.
|
|
|
32956
32956
|
}
|
|
32957
32957
|
};
|
|
32958
32958
|
return (_ctx, _cache) => {
|
|
32959
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
32959
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
32960
32960
|
isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
|
|
32961
32961
|
key: 0,
|
|
32962
32962
|
class: "lupa-term-filter",
|
|
32963
32963
|
"data-cy": "lupa-term-filter",
|
|
32964
32964
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
|
|
32965
32965
|
placeholder: _ctx.options.labels.facetFilter
|
|
32966
|
-
}, null, 8, _hoisted_2$
|
|
32966
|
+
}, null, 8, _hoisted_2$C)), [
|
|
32967
32967
|
[vModelText, termFilter.value]
|
|
32968
32968
|
]) : createCommentVNode("", true),
|
|
32969
32969
|
createBaseVNode("div", _hoisted_3$s, [
|
|
@@ -33893,8 +33893,8 @@ and ensure you are accounting for this risk.
|
|
|
33893
33893
|
m.render = function(e2, t, r, i, n, o) {
|
|
33894
33894
|
return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
|
|
33895
33895
|
}, m.__file = "src/Slider.vue";
|
|
33896
|
-
const _hoisted_1$
|
|
33897
|
-
const _hoisted_2$
|
|
33896
|
+
const _hoisted_1$P = { class: "lupa-search-result-facet-stats-values" };
|
|
33897
|
+
const _hoisted_2$B = {
|
|
33898
33898
|
key: 0,
|
|
33899
33899
|
class: "lupa-stats-facet-summary"
|
|
33900
33900
|
};
|
|
@@ -33922,7 +33922,7 @@ and ensure you are accounting for this risk.
|
|
|
33922
33922
|
key: 2,
|
|
33923
33923
|
class: "lupa-stats-slider-wrapper"
|
|
33924
33924
|
};
|
|
33925
|
-
const _sfc_main$
|
|
33925
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
33926
33926
|
__name: "StatsFacet",
|
|
33927
33927
|
props: {
|
|
33928
33928
|
options: {},
|
|
@@ -34138,8 +34138,8 @@ and ensure you are accounting for this risk.
|
|
|
34138
34138
|
}
|
|
34139
34139
|
);
|
|
34140
34140
|
return (_ctx, _cache) => {
|
|
34141
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34142
|
-
!isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34141
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
34142
|
+
!isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
|
|
34143
34143
|
createBaseVNode("div", _hoisted_4$i, [
|
|
34144
34144
|
rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
|
|
34145
34145
|
withDirectives(createBaseVNode("input", {
|
|
@@ -34203,8 +34203,8 @@ and ensure you are accounting for this risk.
|
|
|
34203
34203
|
};
|
|
34204
34204
|
}
|
|
34205
34205
|
});
|
|
34206
|
-
const _hoisted_1$
|
|
34207
|
-
const _hoisted_2$
|
|
34206
|
+
const _hoisted_1$O = { class: "lupa-term-checkbox-wrapper" };
|
|
34207
|
+
const _hoisted_2$A = { class: "lupa-term-label" };
|
|
34208
34208
|
const _hoisted_3$q = {
|
|
34209
34209
|
key: 0,
|
|
34210
34210
|
class: "lupa-term-count"
|
|
@@ -34213,7 +34213,7 @@ and ensure you are accounting for this risk.
|
|
|
34213
34213
|
key: 0,
|
|
34214
34214
|
class: "lupa-facet-level"
|
|
34215
34215
|
};
|
|
34216
|
-
const _sfc_main$
|
|
34216
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
34217
34217
|
__name: "HierarchyFacetLevel",
|
|
34218
34218
|
props: {
|
|
34219
34219
|
options: {},
|
|
@@ -34267,7 +34267,7 @@ and ensure you are accounting for this risk.
|
|
|
34267
34267
|
"data-cy": "lupa-facet-term",
|
|
34268
34268
|
onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
|
|
34269
34269
|
}, [
|
|
34270
|
-
createBaseVNode("div", _hoisted_1$
|
|
34270
|
+
createBaseVNode("div", _hoisted_1$O, [
|
|
34271
34271
|
createBaseVNode("span", {
|
|
34272
34272
|
class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
|
|
34273
34273
|
}, null, 2)
|
|
@@ -34275,7 +34275,7 @@ and ensure you are accounting for this risk.
|
|
|
34275
34275
|
createBaseVNode("div", {
|
|
34276
34276
|
class: normalizeClass(["lupa-term-checkbox-label", { [getFacetValueClass(_ctx.item)]: true }])
|
|
34277
34277
|
}, [
|
|
34278
|
-
createBaseVNode("span", _hoisted_2$
|
|
34278
|
+
createBaseVNode("span", _hoisted_2$A, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
|
|
34279
34279
|
_ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_3$q, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
|
|
34280
34280
|
], 2)
|
|
34281
34281
|
]),
|
|
@@ -34295,13 +34295,13 @@ and ensure you are accounting for this risk.
|
|
|
34295
34295
|
};
|
|
34296
34296
|
}
|
|
34297
34297
|
});
|
|
34298
|
-
const _hoisted_1$
|
|
34298
|
+
const _hoisted_1$N = {
|
|
34299
34299
|
class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
|
|
34300
34300
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
34301
34301
|
};
|
|
34302
|
-
const _hoisted_2$
|
|
34302
|
+
const _hoisted_2$z = { key: 0 };
|
|
34303
34303
|
const _hoisted_3$p = ["placeholder"];
|
|
34304
|
-
const _sfc_main$
|
|
34304
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
34305
34305
|
__name: "HierarchyFacet",
|
|
34306
34306
|
props: {
|
|
34307
34307
|
options: {},
|
|
@@ -34357,8 +34357,8 @@ and ensure you are accounting for this risk.
|
|
|
34357
34357
|
showAll.value = false;
|
|
34358
34358
|
};
|
|
34359
34359
|
return (_ctx, _cache) => {
|
|
34360
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34361
|
-
isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34360
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
34361
|
+
isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
|
|
34362
34362
|
withDirectives(createBaseVNode("input", {
|
|
34363
34363
|
class: "lupa-term-filter",
|
|
34364
34364
|
"data-cy": "lupa-term-filter",
|
|
@@ -34369,7 +34369,7 @@ and ensure you are accounting for this risk.
|
|
|
34369
34369
|
])
|
|
34370
34370
|
])) : createCommentVNode("", true),
|
|
34371
34371
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayValues.value, (item) => {
|
|
34372
|
-
return openBlock(), createBlock(_sfc_main$
|
|
34372
|
+
return openBlock(), createBlock(_sfc_main$V, {
|
|
34373
34373
|
key: item.title,
|
|
34374
34374
|
options: _ctx.options,
|
|
34375
34375
|
item,
|
|
@@ -34393,20 +34393,20 @@ and ensure you are accounting for this risk.
|
|
|
34393
34393
|
};
|
|
34394
34394
|
}
|
|
34395
34395
|
});
|
|
34396
|
-
const _hoisted_1$
|
|
34397
|
-
const _hoisted_2$
|
|
34396
|
+
const _hoisted_1$M = { class: "lupa-facet-label-text" };
|
|
34397
|
+
const _hoisted_2$y = {
|
|
34398
34398
|
key: 0,
|
|
34399
34399
|
class: "lupa-facet-content",
|
|
34400
34400
|
"data-cy": "lupa-facet-content"
|
|
34401
34401
|
};
|
|
34402
34402
|
const __default__$1 = {
|
|
34403
34403
|
components: {
|
|
34404
|
-
TermFacet: _sfc_main$
|
|
34405
|
-
StatsFacet: _sfc_main$
|
|
34406
|
-
HierarchyFacet: _sfc_main$
|
|
34404
|
+
TermFacet: _sfc_main$X,
|
|
34405
|
+
StatsFacet: _sfc_main$W,
|
|
34406
|
+
HierarchyFacet: _sfc_main$U
|
|
34407
34407
|
}
|
|
34408
34408
|
};
|
|
34409
|
-
const _sfc_main$
|
|
34409
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
|
|
34410
34410
|
__name: "FacetDisplay",
|
|
34411
34411
|
props: {
|
|
34412
34412
|
options: {},
|
|
@@ -34528,12 +34528,12 @@ and ensure you are accounting for this risk.
|
|
|
34528
34528
|
"data-cy": "lupa-search-result-facet-label",
|
|
34529
34529
|
onClick: toggleFacet
|
|
34530
34530
|
}, [
|
|
34531
|
-
createBaseVNode("div", _hoisted_1$
|
|
34531
|
+
createBaseVNode("div", _hoisted_1$M, toDisplayString(facetLabel.value), 1),
|
|
34532
34532
|
createBaseVNode("div", {
|
|
34533
34533
|
class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
|
|
34534
34534
|
}, null, 2)
|
|
34535
34535
|
], 2),
|
|
34536
|
-
isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34536
|
+
isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
34537
34537
|
(openBlock(), createBlock(resolveDynamicComponent(facetType.value), {
|
|
34538
34538
|
facet: facet.value,
|
|
34539
34539
|
currentFilters: currentFilters.value[facet.value.key],
|
|
@@ -34551,12 +34551,12 @@ and ensure you are accounting for this risk.
|
|
|
34551
34551
|
};
|
|
34552
34552
|
}
|
|
34553
34553
|
}));
|
|
34554
|
-
const _hoisted_1$
|
|
34555
|
-
const _hoisted_2$
|
|
34554
|
+
const _hoisted_1$L = { class: "lupa-search-result-facet-section" };
|
|
34555
|
+
const _hoisted_2$x = {
|
|
34556
34556
|
key: 0,
|
|
34557
34557
|
class: "lupa-facets-title"
|
|
34558
34558
|
};
|
|
34559
|
-
const _sfc_main$
|
|
34559
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
34560
34560
|
__name: "FacetList",
|
|
34561
34561
|
props: {
|
|
34562
34562
|
options: {},
|
|
@@ -34591,14 +34591,14 @@ and ensure you are accounting for this risk.
|
|
|
34591
34591
|
};
|
|
34592
34592
|
return (_ctx, _cache) => {
|
|
34593
34593
|
var _a25;
|
|
34594
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34595
|
-
_ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
34594
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
34595
|
+
_ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
|
|
34596
34596
|
createBaseVNode("div", {
|
|
34597
34597
|
class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a25 = _ctx.facetStyle) != null ? _a25 : "")])
|
|
34598
34598
|
}, [
|
|
34599
34599
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayFacets.value, (facet) => {
|
|
34600
34600
|
var _a26;
|
|
34601
|
-
return openBlock(), createBlock(_sfc_main$
|
|
34601
|
+
return openBlock(), createBlock(_sfc_main$T, {
|
|
34602
34602
|
key: facet.key,
|
|
34603
34603
|
facet,
|
|
34604
34604
|
currentFilters: currentFiltersValue.value,
|
|
@@ -34613,7 +34613,7 @@ and ensure you are accounting for this risk.
|
|
|
34613
34613
|
};
|
|
34614
34614
|
}
|
|
34615
34615
|
});
|
|
34616
|
-
const _sfc_main$
|
|
34616
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
34617
34617
|
__name: "FacetsButton",
|
|
34618
34618
|
props: {
|
|
34619
34619
|
options: {}
|
|
@@ -34638,8 +34638,8 @@ and ensure you are accounting for this risk.
|
|
|
34638
34638
|
};
|
|
34639
34639
|
}
|
|
34640
34640
|
});
|
|
34641
|
-
const _hoisted_1$
|
|
34642
|
-
const _sfc_main$
|
|
34641
|
+
const _hoisted_1$K = { class: "lupa-facets-filter-button-wrapper" };
|
|
34642
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
34643
34643
|
__name: "Facets",
|
|
34644
34644
|
props: {
|
|
34645
34645
|
options: {},
|
|
@@ -34726,7 +34726,7 @@ and ensure you are accounting for this risk.
|
|
|
34726
34726
|
return openBlock(), createElementBlock("div", {
|
|
34727
34727
|
class: normalizeClass(["lupa-search-result-facets", { "lupa-search-result-facets-loading": unref(loadingFacets) }])
|
|
34728
34728
|
}, [
|
|
34729
|
-
regularFacets.value ? (openBlock(), createBlock(_sfc_main$
|
|
34729
|
+
regularFacets.value ? (openBlock(), createBlock(_sfc_main$S, {
|
|
34730
34730
|
key: 0,
|
|
34731
34731
|
options: _ctx.options,
|
|
34732
34732
|
facets: regularFacets.value,
|
|
@@ -34736,8 +34736,8 @@ and ensure you are accounting for this risk.
|
|
|
34736
34736
|
onSelect: handleFacetSelect,
|
|
34737
34737
|
onClear: clear
|
|
34738
34738
|
}, null, 8, ["options", "facets", "currentFilters", "facetStyle", "clearable"])) : createCommentVNode("", true),
|
|
34739
|
-
createBaseVNode("div", _hoisted_1$
|
|
34740
|
-
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
34739
|
+
createBaseVNode("div", _hoisted_1$K, [
|
|
34740
|
+
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$R, {
|
|
34741
34741
|
key: 0,
|
|
34742
34742
|
options: _ctx.options,
|
|
34743
34743
|
onFilter: filter
|
|
@@ -34747,12 +34747,12 @@ and ensure you are accounting for this risk.
|
|
|
34747
34747
|
};
|
|
34748
34748
|
}
|
|
34749
34749
|
});
|
|
34750
|
-
const _hoisted_1$
|
|
34750
|
+
const _hoisted_1$J = {
|
|
34751
34751
|
key: 0,
|
|
34752
34752
|
id: "lupa-search-result-filters",
|
|
34753
34753
|
class: "lupa-search-result-filters"
|
|
34754
34754
|
};
|
|
34755
|
-
const _sfc_main$
|
|
34755
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
34756
34756
|
__name: "SearchResultsFilters",
|
|
34757
34757
|
props: {
|
|
34758
34758
|
options: {},
|
|
@@ -34790,19 +34790,19 @@ and ensure you are accounting for this risk.
|
|
|
34790
34790
|
__expose({ fetch: fetch2 });
|
|
34791
34791
|
return (_ctx, _cache) => {
|
|
34792
34792
|
var _a25;
|
|
34793
|
-
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
34794
|
-
showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$
|
|
34793
|
+
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
34794
|
+
showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$_, {
|
|
34795
34795
|
key: 0,
|
|
34796
34796
|
options: _ctx.options.currentFilters,
|
|
34797
34797
|
expandable: (_a25 = _ctx.expandable) != null ? _a25 : false
|
|
34798
34798
|
}, null, 8, ["options", "expandable"])) : createCommentVNode("", true),
|
|
34799
|
-
_ctx.options.categories ? (openBlock(), createBlock(_sfc_main$
|
|
34799
|
+
_ctx.options.categories ? (openBlock(), createBlock(_sfc_main$Y, {
|
|
34800
34800
|
key: 1,
|
|
34801
34801
|
options: _ctx.options.categories,
|
|
34802
34802
|
ref_key: "categoryFilters",
|
|
34803
34803
|
ref: categoryFilters
|
|
34804
34804
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
34805
|
-
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$
|
|
34805
|
+
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
|
|
34806
34806
|
key: 2,
|
|
34807
34807
|
options: _ctx.options.facets,
|
|
34808
34808
|
onFilter: filter
|
|
@@ -34811,11 +34811,11 @@ and ensure you are accounting for this risk.
|
|
|
34811
34811
|
};
|
|
34812
34812
|
}
|
|
34813
34813
|
});
|
|
34814
|
-
const _hoisted_1$
|
|
34814
|
+
const _hoisted_1$I = {
|
|
34815
34815
|
key: 0,
|
|
34816
34816
|
class: "lupa-mobile-filter-sidebar"
|
|
34817
34817
|
};
|
|
34818
|
-
const _hoisted_2$
|
|
34818
|
+
const _hoisted_2$w = { class: "lupa-mobile-sidebar-content" };
|
|
34819
34819
|
const _hoisted_3$o = { class: "lupa-sidebar-top" };
|
|
34820
34820
|
const _hoisted_4$g = { class: "lupa-sidebar-title" };
|
|
34821
34821
|
const _hoisted_5$b = {
|
|
@@ -34823,7 +34823,7 @@ and ensure you are accounting for this risk.
|
|
|
34823
34823
|
class: "lupa-sidebar-filter-count"
|
|
34824
34824
|
};
|
|
34825
34825
|
const _hoisted_6$5 = { class: "lupa-sidebar-filter-options" };
|
|
34826
|
-
const _sfc_main$
|
|
34826
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
34827
34827
|
__name: "MobileFilterSidebar",
|
|
34828
34828
|
props: {
|
|
34829
34829
|
options: {}
|
|
@@ -34855,12 +34855,12 @@ and ensure you are accounting for this risk.
|
|
|
34855
34855
|
handleMobileToggle();
|
|
34856
34856
|
};
|
|
34857
34857
|
return (_ctx, _cache) => {
|
|
34858
|
-
return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
34858
|
+
return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
34859
34859
|
createBaseVNode("div", {
|
|
34860
34860
|
class: "lupa-sidebar-close",
|
|
34861
34861
|
onClick: withModifiers(handleMobileToggle, ["stop"])
|
|
34862
34862
|
}),
|
|
34863
|
-
createBaseVNode("div", _hoisted_2$
|
|
34863
|
+
createBaseVNode("div", _hoisted_2$w, [
|
|
34864
34864
|
createBaseVNode("div", _hoisted_3$o, [
|
|
34865
34865
|
createBaseVNode("div", _hoisted_4$g, [
|
|
34866
34866
|
createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
|
|
@@ -34872,7 +34872,7 @@ and ensure you are accounting for this risk.
|
|
|
34872
34872
|
})
|
|
34873
34873
|
]),
|
|
34874
34874
|
createBaseVNode("div", _hoisted_6$5, [
|
|
34875
|
-
createVNode(_sfc_main$
|
|
34875
|
+
createVNode(_sfc_main$P, {
|
|
34876
34876
|
options: _ctx.options,
|
|
34877
34877
|
expandable: isActiveFiltersExpanded.value,
|
|
34878
34878
|
onFilter: filter
|
|
@@ -34883,14 +34883,14 @@ and ensure you are accounting for this risk.
|
|
|
34883
34883
|
};
|
|
34884
34884
|
}
|
|
34885
34885
|
});
|
|
34886
|
-
const _hoisted_1$
|
|
34887
|
-
const _hoisted_2$
|
|
34886
|
+
const _hoisted_1$H = { id: "lupa-search-results-breadcrumbs" };
|
|
34887
|
+
const _hoisted_2$v = ["href", "onClick"];
|
|
34888
34888
|
const _hoisted_3$n = {
|
|
34889
34889
|
key: 1,
|
|
34890
34890
|
class: "lupa-search-results-breadcrumb-text"
|
|
34891
34891
|
};
|
|
34892
34892
|
const _hoisted_4$f = { key: 2 };
|
|
34893
|
-
const _sfc_main$
|
|
34893
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
34894
34894
|
__name: "SearchResultsBreadcrumbs",
|
|
34895
34895
|
props: {
|
|
34896
34896
|
breadcrumbs: {}
|
|
@@ -34915,7 +34915,7 @@ and ensure you are accounting for this risk.
|
|
|
34915
34915
|
handleRoutingEvent(link, event, hasEventRouting.value);
|
|
34916
34916
|
};
|
|
34917
34917
|
return (_ctx, _cache) => {
|
|
34918
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34918
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
34919
34919
|
(openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
|
|
34920
34920
|
var _a25;
|
|
34921
34921
|
return openBlock(), createElementBlock("span", {
|
|
@@ -34930,7 +34930,7 @@ and ensure you are accounting for this risk.
|
|
|
34930
34930
|
var _a26;
|
|
34931
34931
|
return handleNavigation(e2, (_a26 = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a26 : "");
|
|
34932
34932
|
}
|
|
34933
|
-
}, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$
|
|
34933
|
+
}, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$v)) : (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(getLabel(breadcrumb.label)), 1)),
|
|
34934
34934
|
index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$f, toDisplayString((_a25 = breadcrumb.separator) != null ? _a25 : "/"), 1)) : createCommentVNode("", true)
|
|
34935
34935
|
]);
|
|
34936
34936
|
}), 128))
|
|
@@ -34938,12 +34938,12 @@ and ensure you are accounting for this risk.
|
|
|
34938
34938
|
};
|
|
34939
34939
|
}
|
|
34940
34940
|
});
|
|
34941
|
-
const _hoisted_1$
|
|
34941
|
+
const _hoisted_1$G = {
|
|
34942
34942
|
key: 0,
|
|
34943
34943
|
id: "lupa-search-result-filters",
|
|
34944
34944
|
class: "lupa-search-result-filters lupa-search-result-top-filters"
|
|
34945
34945
|
};
|
|
34946
|
-
const _sfc_main$
|
|
34946
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
34947
34947
|
__name: "FiltersTopDropdown",
|
|
34948
34948
|
props: {
|
|
34949
34949
|
options: {}
|
|
@@ -34961,8 +34961,8 @@ and ensure you are accounting for this risk.
|
|
|
34961
34961
|
});
|
|
34962
34962
|
return (_ctx, _cache) => {
|
|
34963
34963
|
var _a25;
|
|
34964
|
-
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
34965
|
-
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$
|
|
34964
|
+
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
34965
|
+
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
|
|
34966
34966
|
key: 0,
|
|
34967
34967
|
options: _ctx.options.facets,
|
|
34968
34968
|
"facet-style": (_a25 = _ctx.options.facets.style) == null ? void 0 : _a25.type,
|
|
@@ -34973,8 +34973,8 @@ and ensure you are accounting for this risk.
|
|
|
34973
34973
|
};
|
|
34974
34974
|
}
|
|
34975
34975
|
});
|
|
34976
|
-
const _hoisted_1$
|
|
34977
|
-
const _sfc_main$
|
|
34976
|
+
const _hoisted_1$F = { id: "lupa-search-results-layout-selection" };
|
|
34977
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
34978
34978
|
__name: "SearchResultsLayoutSelection",
|
|
34979
34979
|
setup(__props) {
|
|
34980
34980
|
const searchResultStore = useSearchResultStore();
|
|
@@ -34985,7 +34985,7 @@ and ensure you are accounting for this risk.
|
|
|
34985
34985
|
searchResultStore.setLayout(layout2);
|
|
34986
34986
|
};
|
|
34987
34987
|
return (_ctx, _cache) => {
|
|
34988
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34988
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
34989
34989
|
createBaseVNode("div", {
|
|
34990
34990
|
class: normalizeClass([
|
|
34991
34991
|
"lupa-layout-selection-grid",
|
|
@@ -35007,11 +35007,11 @@ and ensure you are accounting for this risk.
|
|
|
35007
35007
|
};
|
|
35008
35008
|
}
|
|
35009
35009
|
});
|
|
35010
|
-
const _hoisted_1$
|
|
35010
|
+
const _hoisted_1$E = {
|
|
35011
35011
|
key: 0,
|
|
35012
35012
|
class: "lupa-mobile-toggle-filter-count"
|
|
35013
35013
|
};
|
|
35014
|
-
const _sfc_main$
|
|
35014
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
35015
35015
|
__name: "SearchResultsMobileToggle",
|
|
35016
35016
|
props: {
|
|
35017
35017
|
labels: {},
|
|
@@ -35059,12 +35059,12 @@ and ensure you are accounting for this risk.
|
|
|
35059
35059
|
onClick: handleMobileToggle
|
|
35060
35060
|
}, [
|
|
35061
35061
|
createTextVNode(toDisplayString(label.value) + " ", 1),
|
|
35062
|
-
_ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
35062
|
+
_ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$E, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
|
|
35063
35063
|
], 2);
|
|
35064
35064
|
};
|
|
35065
35065
|
}
|
|
35066
35066
|
});
|
|
35067
|
-
const _sfc_main$
|
|
35067
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
35068
35068
|
__name: "SearchResultsMobileFilterClose",
|
|
35069
35069
|
props: {
|
|
35070
35070
|
label: {}
|
|
@@ -35084,12 +35084,12 @@ and ensure you are accounting for this risk.
|
|
|
35084
35084
|
};
|
|
35085
35085
|
}
|
|
35086
35086
|
});
|
|
35087
|
-
const _hoisted_1$
|
|
35087
|
+
const _hoisted_1$D = {
|
|
35088
35088
|
key: 0,
|
|
35089
35089
|
id: "lupa-search-results-page-select",
|
|
35090
35090
|
"data-cy": "lupa-search-results-page-select"
|
|
35091
35091
|
};
|
|
35092
|
-
const _hoisted_2$
|
|
35092
|
+
const _hoisted_2$u = {
|
|
35093
35093
|
key: 0,
|
|
35094
35094
|
class: "lupa-page-number-separator"
|
|
35095
35095
|
};
|
|
@@ -35098,7 +35098,7 @@ and ensure you are accounting for this risk.
|
|
|
35098
35098
|
key: 0,
|
|
35099
35099
|
class: "lupa-page-number-separator"
|
|
35100
35100
|
};
|
|
35101
|
-
const _sfc_main$
|
|
35101
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
35102
35102
|
__name: "SearchResultsPageSelect",
|
|
35103
35103
|
props: {
|
|
35104
35104
|
lastPageLabel: {},
|
|
@@ -35175,7 +35175,7 @@ and ensure you are accounting for this risk.
|
|
|
35175
35175
|
}
|
|
35176
35176
|
};
|
|
35177
35177
|
return (_ctx, _cache) => {
|
|
35178
|
-
return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
35178
|
+
return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
35179
35179
|
showBack.value ? (openBlock(), createElementBlock("div", {
|
|
35180
35180
|
key: 0,
|
|
35181
35181
|
class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
|
|
@@ -35186,7 +35186,7 @@ and ensure you are accounting for this risk.
|
|
|
35186
35186
|
class: "lupa-page-number lupa-page-number-first",
|
|
35187
35187
|
onClick: _cache[1] || (_cache[1] = () => handlePageChange(1))
|
|
35188
35188
|
}, " 1 "),
|
|
35189
|
-
showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
35189
|
+
showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$u, "...")) : createCommentVNode("", true)
|
|
35190
35190
|
], 64)) : createCommentVNode("", true),
|
|
35191
35191
|
(openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page) => {
|
|
35192
35192
|
return openBlock(), createElementBlock("div", {
|
|
@@ -35219,15 +35219,15 @@ and ensure you are accounting for this risk.
|
|
|
35219
35219
|
};
|
|
35220
35220
|
}
|
|
35221
35221
|
});
|
|
35222
|
-
const _hoisted_1$
|
|
35222
|
+
const _hoisted_1$C = {
|
|
35223
35223
|
id: "lupa-search-results-page-size",
|
|
35224
35224
|
"data-cy": "lupa-search-results-page-size"
|
|
35225
35225
|
};
|
|
35226
|
-
const _hoisted_2$
|
|
35226
|
+
const _hoisted_2$t = { id: "lupa-select" };
|
|
35227
35227
|
const _hoisted_3$l = { class: "lupa-select-label" };
|
|
35228
35228
|
const _hoisted_4$d = ["aria-label"];
|
|
35229
35229
|
const _hoisted_5$a = ["value"];
|
|
35230
|
-
const _sfc_main$
|
|
35230
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
35231
35231
|
__name: "SearchResultsPageSize",
|
|
35232
35232
|
props: {
|
|
35233
35233
|
labels: {},
|
|
@@ -35255,8 +35255,8 @@ and ensure you are accounting for this risk.
|
|
|
35255
35255
|
});
|
|
35256
35256
|
};
|
|
35257
35257
|
return (_ctx, _cache) => {
|
|
35258
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35259
|
-
createBaseVNode("div", _hoisted_2$
|
|
35258
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
35259
|
+
createBaseVNode("div", _hoisted_2$t, [
|
|
35260
35260
|
createBaseVNode("label", _hoisted_3$l, toDisplayString(label.value), 1),
|
|
35261
35261
|
createBaseVNode("select", {
|
|
35262
35262
|
class: "lupa-select-dropdown",
|
|
@@ -35278,15 +35278,15 @@ and ensure you are accounting for this risk.
|
|
|
35278
35278
|
};
|
|
35279
35279
|
}
|
|
35280
35280
|
});
|
|
35281
|
-
const _hoisted_1$
|
|
35281
|
+
const _hoisted_1$B = {
|
|
35282
35282
|
id: "lupa-search-results-sort",
|
|
35283
35283
|
class: "lupa-search-results-sort"
|
|
35284
35284
|
};
|
|
35285
|
-
const _hoisted_2$
|
|
35285
|
+
const _hoisted_2$s = { id: "lupa-select" };
|
|
35286
35286
|
const _hoisted_3$k = { class: "lupa-select-label" };
|
|
35287
35287
|
const _hoisted_4$c = ["aria-label"];
|
|
35288
35288
|
const _hoisted_5$9 = ["value"];
|
|
35289
|
-
const _sfc_main$
|
|
35289
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
35290
35290
|
__name: "SearchResultsSort",
|
|
35291
35291
|
props: {
|
|
35292
35292
|
options: {},
|
|
@@ -35335,8 +35335,8 @@ and ensure you are accounting for this risk.
|
|
|
35335
35335
|
previousKey.value = selectedKey.value;
|
|
35336
35336
|
};
|
|
35337
35337
|
return (_ctx, _cache) => {
|
|
35338
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35339
|
-
createBaseVNode("div", _hoisted_2$
|
|
35338
|
+
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
35339
|
+
createBaseVNode("div", _hoisted_2$s, [
|
|
35340
35340
|
createBaseVNode("label", _hoisted_3$k, toDisplayString(_ctx.options.label), 1),
|
|
35341
35341
|
withDirectives(createBaseVNode("select", {
|
|
35342
35342
|
class: "lupa-select-dropdown",
|
|
@@ -35360,8 +35360,8 @@ and ensure you are accounting for this risk.
|
|
|
35360
35360
|
};
|
|
35361
35361
|
}
|
|
35362
35362
|
});
|
|
35363
|
-
const _hoisted_1$
|
|
35364
|
-
const _hoisted_2$
|
|
35363
|
+
const _hoisted_1$A = { class: "lupa-toolbar-left" };
|
|
35364
|
+
const _hoisted_2$r = {
|
|
35365
35365
|
key: 0,
|
|
35366
35366
|
class: "lupa-toolbar-right-title"
|
|
35367
35367
|
};
|
|
@@ -35375,7 +35375,7 @@ and ensure you are accounting for this risk.
|
|
|
35375
35375
|
};
|
|
35376
35376
|
const _hoisted_8 = { key: 2 };
|
|
35377
35377
|
const _hoisted_9 = { key: 4 };
|
|
35378
|
-
const _sfc_main$
|
|
35378
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
35379
35379
|
__name: "SearchResultsToolbar",
|
|
35380
35380
|
props: {
|
|
35381
35381
|
options: {},
|
|
@@ -35486,16 +35486,16 @@ and ensure you are accounting for this risk.
|
|
|
35486
35486
|
id: "lupa-search-results-toolbar",
|
|
35487
35487
|
class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
|
|
35488
35488
|
}, [
|
|
35489
|
-
createBaseVNode("div", _hoisted_1$
|
|
35490
|
-
toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
35491
|
-
showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$
|
|
35492
|
-
showItemSummary.value ? (openBlock(), createBlock(_sfc_main$
|
|
35489
|
+
createBaseVNode("div", _hoisted_1$A, [
|
|
35490
|
+
toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$r, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
|
|
35491
|
+
showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$L, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$j)),
|
|
35492
|
+
showItemSummary.value ? (openBlock(), createBlock(_sfc_main$11, {
|
|
35493
35493
|
key: 3,
|
|
35494
35494
|
label: searchSummaryLabel.value,
|
|
35495
35495
|
clearable: unref(hasAnyFilter) && showFilterClear.value,
|
|
35496
35496
|
onClear: handleClearAll
|
|
35497
35497
|
}, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$b)),
|
|
35498
|
-
displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$
|
|
35498
|
+
displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$I, {
|
|
35499
35499
|
key: 5,
|
|
35500
35500
|
options: paginationOptions.value.pageSelect,
|
|
35501
35501
|
"last-page-label": paginationOptions.value.labels.showMore,
|
|
@@ -35504,21 +35504,21 @@ and ensure you are accounting for this risk.
|
|
|
35504
35504
|
]),
|
|
35505
35505
|
createBaseVNode("div", _hoisted_6$4, [
|
|
35506
35506
|
toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
|
|
35507
|
-
createVNode(_sfc_main$
|
|
35507
|
+
createVNode(_sfc_main$K, {
|
|
35508
35508
|
labels: optionsValue.value.labels,
|
|
35509
35509
|
"show-filter-count": showMobileFilterCount.value
|
|
35510
35510
|
}, null, 8, ["labels", "show-filter-count"]),
|
|
35511
|
-
paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$
|
|
35511
|
+
paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$H, {
|
|
35512
35512
|
key: 1,
|
|
35513
35513
|
options: paginationOptions.value.pageSize,
|
|
35514
35514
|
labels: paginationOptions.value.labels
|
|
35515
35515
|
}, null, 8, ["options", "labels"])) : (openBlock(), createElementBlock("div", _hoisted_8)),
|
|
35516
|
-
sortOptions.value ? (openBlock(), createBlock(_sfc_main$
|
|
35516
|
+
sortOptions.value ? (openBlock(), createBlock(_sfc_main$G, {
|
|
35517
35517
|
key: 3,
|
|
35518
35518
|
options: sortOptions.value,
|
|
35519
35519
|
callbacks: callbacks.value
|
|
35520
35520
|
}, null, 8, ["options", "callbacks"])) : (openBlock(), createElementBlock("div", _hoisted_9)),
|
|
35521
|
-
showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$
|
|
35521
|
+
showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$J, {
|
|
35522
35522
|
key: 5,
|
|
35523
35523
|
label: optionsValue.value.labels.mobileFilterCloseButton
|
|
35524
35524
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
@@ -35527,7 +35527,7 @@ and ensure you are accounting for this risk.
|
|
|
35527
35527
|
};
|
|
35528
35528
|
}
|
|
35529
35529
|
});
|
|
35530
|
-
const _sfc_main$
|
|
35530
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
35531
35531
|
__name: "SearchResultsProductImage",
|
|
35532
35532
|
props: {
|
|
35533
35533
|
item: {},
|
|
@@ -35535,7 +35535,7 @@ and ensure you are accounting for this risk.
|
|
|
35535
35535
|
},
|
|
35536
35536
|
setup(__props) {
|
|
35537
35537
|
return (_ctx, _cache) => {
|
|
35538
|
-
return openBlock(), createBlock(_sfc_main$
|
|
35538
|
+
return openBlock(), createBlock(_sfc_main$1q, {
|
|
35539
35539
|
item: _ctx.item,
|
|
35540
35540
|
options: _ctx.options,
|
|
35541
35541
|
"wrapper-class": "lupa-search-results-image-wrapper",
|
|
@@ -35544,8 +35544,8 @@ and ensure you are accounting for this risk.
|
|
|
35544
35544
|
};
|
|
35545
35545
|
}
|
|
35546
35546
|
});
|
|
35547
|
-
const _hoisted_1$
|
|
35548
|
-
const _hoisted_2$
|
|
35547
|
+
const _hoisted_1$z = ["title", "innerHTML"];
|
|
35548
|
+
const _hoisted_2$q = ["title"];
|
|
35549
35549
|
const _hoisted_3$i = ["href", "innerHTML"];
|
|
35550
35550
|
const _hoisted_4$a = ["title"];
|
|
35551
35551
|
const _hoisted_5$7 = {
|
|
@@ -35553,7 +35553,7 @@ and ensure you are accounting for this risk.
|
|
|
35553
35553
|
class: "lupa-search-results-product-title-text"
|
|
35554
35554
|
};
|
|
35555
35555
|
const _hoisted_6$3 = ["href"];
|
|
35556
|
-
const _sfc_main$
|
|
35556
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
35557
35557
|
__name: "SearchResultsProductTitle",
|
|
35558
35558
|
props: {
|
|
35559
35559
|
item: {},
|
|
@@ -35590,7 +35590,7 @@ and ensure you are accounting for this risk.
|
|
|
35590
35590
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
35591
35591
|
title: sanitizedTitle.value,
|
|
35592
35592
|
innerHTML: sanitizedTitle.value
|
|
35593
|
-
}, null, 12, _hoisted_1$
|
|
35593
|
+
}, null, 12, _hoisted_1$z)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
|
|
35594
35594
|
key: 1,
|
|
35595
35595
|
class: "lupa-search-results-product-title",
|
|
35596
35596
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
@@ -35602,7 +35602,7 @@ and ensure you are accounting for this risk.
|
|
|
35602
35602
|
innerHTML: sanitizedTitle.value,
|
|
35603
35603
|
onClick: handleNavigation
|
|
35604
35604
|
}, null, 8, _hoisted_3$i)
|
|
35605
|
-
], 12, _hoisted_2$
|
|
35605
|
+
], 12, _hoisted_2$q)) : (openBlock(), createElementBlock("div", {
|
|
35606
35606
|
key: 2,
|
|
35607
35607
|
class: "lupa-search-results-product-title",
|
|
35608
35608
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
@@ -35619,8 +35619,8 @@ and ensure you are accounting for this risk.
|
|
|
35619
35619
|
};
|
|
35620
35620
|
}
|
|
35621
35621
|
});
|
|
35622
|
-
const _hoisted_1$
|
|
35623
|
-
const _sfc_main$
|
|
35622
|
+
const _hoisted_1$y = ["innerHTML"];
|
|
35623
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
35624
35624
|
__name: "SearchResultsProductDescription",
|
|
35625
35625
|
props: {
|
|
35626
35626
|
item: {},
|
|
@@ -35647,7 +35647,7 @@ and ensure you are accounting for this risk.
|
|
|
35647
35647
|
class: "lupa-search-results-product-description",
|
|
35648
35648
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
35649
35649
|
innerHTML: sanitizedDescription.value
|
|
35650
|
-
}, null, 12, _hoisted_1$
|
|
35650
|
+
}, null, 12, _hoisted_1$y)) : (openBlock(), createElementBlock("div", {
|
|
35651
35651
|
key: 1,
|
|
35652
35652
|
class: "lupa-search-results-product-description",
|
|
35653
35653
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
|
|
@@ -35655,15 +35655,15 @@ and ensure you are accounting for this risk.
|
|
|
35655
35655
|
};
|
|
35656
35656
|
}
|
|
35657
35657
|
});
|
|
35658
|
-
const _hoisted_1$
|
|
35659
|
-
const _hoisted_2$
|
|
35658
|
+
const _hoisted_1$x = { id: "lupa-search-results-rating" };
|
|
35659
|
+
const _hoisted_2$p = { class: "lupa-ratings" };
|
|
35660
35660
|
const _hoisted_3$h = { class: "lupa-ratings-base" };
|
|
35661
35661
|
const _hoisted_4$9 = ["innerHTML"];
|
|
35662
35662
|
const _hoisted_5$6 = { class: "lupa-rating-wrapper" };
|
|
35663
35663
|
const _hoisted_6$2 = ["innerHTML"];
|
|
35664
35664
|
const _hoisted_7$1 = ["href"];
|
|
35665
35665
|
const STAR_COUNT = 5;
|
|
35666
|
-
const _sfc_main$
|
|
35666
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
35667
35667
|
__name: "SearchResultsProductRating",
|
|
35668
35668
|
props: {
|
|
35669
35669
|
item: {},
|
|
@@ -35700,8 +35700,8 @@ and ensure you are accounting for this risk.
|
|
|
35700
35700
|
return generateLink(props.options.links.ratingDetails, props.item);
|
|
35701
35701
|
});
|
|
35702
35702
|
return (_ctx, _cache) => {
|
|
35703
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35704
|
-
createBaseVNode("div", _hoisted_2$
|
|
35703
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
35704
|
+
createBaseVNode("div", _hoisted_2$p, [
|
|
35705
35705
|
createBaseVNode("div", _hoisted_3$h, [
|
|
35706
35706
|
(openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
|
|
35707
35707
|
return openBlock(), createElementBlock("div", {
|
|
@@ -35734,11 +35734,11 @@ and ensure you are accounting for this risk.
|
|
|
35734
35734
|
};
|
|
35735
35735
|
}
|
|
35736
35736
|
});
|
|
35737
|
-
const _hoisted_1$
|
|
35737
|
+
const _hoisted_1$w = {
|
|
35738
35738
|
class: "lupa-search-results-product-regular-price",
|
|
35739
35739
|
"data-cy": "lupa-search-results-product-regular-price"
|
|
35740
35740
|
};
|
|
35741
|
-
const _sfc_main$
|
|
35741
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
35742
35742
|
__name: "SearchResultsProductRegularPrice",
|
|
35743
35743
|
props: {
|
|
35744
35744
|
item: {},
|
|
@@ -35760,11 +35760,11 @@ and ensure you are accounting for this risk.
|
|
|
35760
35760
|
);
|
|
35761
35761
|
});
|
|
35762
35762
|
return (_ctx, _cache) => {
|
|
35763
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35763
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, toDisplayString(price.value), 1);
|
|
35764
35764
|
};
|
|
35765
35765
|
}
|
|
35766
35766
|
});
|
|
35767
|
-
const _sfc_main$
|
|
35767
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
35768
35768
|
__name: "SearchResultsProductPrice",
|
|
35769
35769
|
props: {
|
|
35770
35770
|
item: {},
|
|
@@ -35798,12 +35798,12 @@ and ensure you are accounting for this risk.
|
|
|
35798
35798
|
};
|
|
35799
35799
|
}
|
|
35800
35800
|
});
|
|
35801
|
-
const _hoisted_1$
|
|
35802
|
-
const _hoisted_2$
|
|
35801
|
+
const _hoisted_1$v = { class: "lupa-search-results-add-to-cart-wrapper" };
|
|
35802
|
+
const _hoisted_2$o = { class: "lupa-search-results-product-addtocart" };
|
|
35803
35803
|
const _hoisted_3$g = ["disabled"];
|
|
35804
35804
|
const _hoisted_4$8 = ["href"];
|
|
35805
35805
|
const _hoisted_5$5 = ["id", "disabled"];
|
|
35806
|
-
const _sfc_main$
|
|
35806
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
35807
35807
|
__name: "SearchResultsProductAddToCart",
|
|
35808
35808
|
props: {
|
|
35809
35809
|
item: {},
|
|
@@ -35855,8 +35855,8 @@ and ensure you are accounting for this risk.
|
|
|
35855
35855
|
loading.value = false;
|
|
35856
35856
|
});
|
|
35857
35857
|
return (_ctx, _cache) => {
|
|
35858
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35859
|
-
createBaseVNode("div", _hoisted_2$
|
|
35858
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
35859
|
+
createBaseVNode("div", _hoisted_2$o, [
|
|
35860
35860
|
hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
35861
35861
|
key: 0,
|
|
35862
35862
|
class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
|
|
@@ -35878,12 +35878,12 @@ and ensure you are accounting for this risk.
|
|
|
35878
35878
|
};
|
|
35879
35879
|
}
|
|
35880
35880
|
});
|
|
35881
|
-
const _hoisted_1$
|
|
35882
|
-
const _hoisted_2$
|
|
35881
|
+
const _hoisted_1$u = ["innerHTML"];
|
|
35882
|
+
const _hoisted_2$n = { key: 0 };
|
|
35883
35883
|
const _hoisted_3$f = { key: 1 };
|
|
35884
35884
|
const _hoisted_4$7 = { class: "lupa-search-box-custom-label" };
|
|
35885
35885
|
const _hoisted_5$4 = { class: "lupa-search-box-custom-text" };
|
|
35886
|
-
const _sfc_main$
|
|
35886
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
35887
35887
|
__name: "SearchResultsProductCustom",
|
|
35888
35888
|
props: {
|
|
35889
35889
|
item: {},
|
|
@@ -35921,11 +35921,11 @@ and ensure you are accounting for this risk.
|
|
|
35921
35921
|
key: 0,
|
|
35922
35922
|
class: className.value,
|
|
35923
35923
|
innerHTML: text.value
|
|
35924
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
35924
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$u)) : (openBlock(), createElementBlock("div", mergeProps({
|
|
35925
35925
|
key: 1,
|
|
35926
35926
|
class: className.value
|
|
35927
35927
|
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
|
|
35928
|
-
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
35928
|
+
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
35929
35929
|
createBaseVNode("div", _hoisted_4$7, toDisplayString(label.value), 1),
|
|
35930
35930
|
createBaseVNode("div", _hoisted_5$4, toDisplayString(text.value), 1)
|
|
35931
35931
|
]))
|
|
@@ -35933,8 +35933,8 @@ and ensure you are accounting for this risk.
|
|
|
35933
35933
|
};
|
|
35934
35934
|
}
|
|
35935
35935
|
});
|
|
35936
|
-
const _hoisted_1$
|
|
35937
|
-
const _sfc_main$
|
|
35936
|
+
const _hoisted_1$t = ["innerHTML"];
|
|
35937
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
35938
35938
|
__name: "SearchResultsProductCustomHtmlElement",
|
|
35939
35939
|
props: {
|
|
35940
35940
|
item: {},
|
|
@@ -35966,15 +35966,15 @@ and ensure you are accounting for this risk.
|
|
|
35966
35966
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
35967
35967
|
class: className.value,
|
|
35968
35968
|
innerHTML: text.value
|
|
35969
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
35969
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$t);
|
|
35970
35970
|
};
|
|
35971
35971
|
}
|
|
35972
35972
|
});
|
|
35973
|
-
const _hoisted_1$
|
|
35974
|
-
const _hoisted_2$
|
|
35973
|
+
const _hoisted_1$s = { id: "lupa-search-results-rating" };
|
|
35974
|
+
const _hoisted_2$m = ["innerHTML"];
|
|
35975
35975
|
const _hoisted_3$e = { class: "lupa-ratings" };
|
|
35976
35976
|
const _hoisted_4$6 = ["href"];
|
|
35977
|
-
const _sfc_main$
|
|
35977
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
35978
35978
|
__name: "SearchResultsProductSingleStarRating",
|
|
35979
35979
|
props: {
|
|
35980
35980
|
item: {},
|
|
@@ -36002,11 +36002,11 @@ and ensure you are accounting for this risk.
|
|
|
36002
36002
|
return RATING_STAR_HTML;
|
|
36003
36003
|
});
|
|
36004
36004
|
return (_ctx, _cache) => {
|
|
36005
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36005
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
36006
36006
|
createBaseVNode("div", {
|
|
36007
36007
|
innerHTML: star.value,
|
|
36008
36008
|
class: "lupa-rating lupa-rating-highlighted"
|
|
36009
|
-
}, null, 8, _hoisted_2$
|
|
36009
|
+
}, null, 8, _hoisted_2$m),
|
|
36010
36010
|
createBaseVNode("div", _hoisted_3$e, toDisplayString(rating.value), 1),
|
|
36011
36011
|
createBaseVNode("a", {
|
|
36012
36012
|
href: ratingLink.value,
|
|
@@ -36018,19 +36018,19 @@ and ensure you are accounting for this risk.
|
|
|
36018
36018
|
});
|
|
36019
36019
|
const __default__ = {
|
|
36020
36020
|
components: {
|
|
36021
|
-
SearchResultsProductImage: _sfc_main$
|
|
36022
|
-
SearchResultsProductTitle: _sfc_main$
|
|
36023
|
-
SearchResultsProductDescription: _sfc_main$
|
|
36024
|
-
SearchResultsProductRating: _sfc_main$
|
|
36025
|
-
SearchResultsProductRegularPrice: _sfc_main$
|
|
36026
|
-
SearchResultsProductPrice: _sfc_main$
|
|
36027
|
-
SearchResultsProductAddToCart: _sfc_main$
|
|
36028
|
-
SearchResultsProductCustom: _sfc_main$
|
|
36029
|
-
SearchResultsProductCustomHtmlElement: _sfc_main$
|
|
36030
|
-
SearchResultsProductSingleStarRating: _sfc_main$
|
|
36031
|
-
}
|
|
36032
|
-
};
|
|
36033
|
-
const _sfc_main$
|
|
36021
|
+
SearchResultsProductImage: _sfc_main$E,
|
|
36022
|
+
SearchResultsProductTitle: _sfc_main$D,
|
|
36023
|
+
SearchResultsProductDescription: _sfc_main$C,
|
|
36024
|
+
SearchResultsProductRating: _sfc_main$B,
|
|
36025
|
+
SearchResultsProductRegularPrice: _sfc_main$A,
|
|
36026
|
+
SearchResultsProductPrice: _sfc_main$z,
|
|
36027
|
+
SearchResultsProductAddToCart: _sfc_main$y,
|
|
36028
|
+
SearchResultsProductCustom: _sfc_main$x,
|
|
36029
|
+
SearchResultsProductCustomHtmlElement: _sfc_main$w,
|
|
36030
|
+
SearchResultsProductSingleStarRating: _sfc_main$v
|
|
36031
|
+
}
|
|
36032
|
+
};
|
|
36033
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
|
|
36034
36034
|
__name: "SearchResultsProductCardElement",
|
|
36035
36035
|
props: {
|
|
36036
36036
|
item: {},
|
|
@@ -36108,13 +36108,13 @@ and ensure you are accounting for this risk.
|
|
|
36108
36108
|
};
|
|
36109
36109
|
}
|
|
36110
36110
|
}));
|
|
36111
|
-
const _hoisted_1$
|
|
36112
|
-
const _hoisted_2$
|
|
36111
|
+
const _hoisted_1$r = ["href"];
|
|
36112
|
+
const _hoisted_2$l = {
|
|
36113
36113
|
key: 0,
|
|
36114
36114
|
class: "lupa-out-of-stock"
|
|
36115
36115
|
};
|
|
36116
36116
|
const _hoisted_3$d = { class: "lupa-search-result-product-details-section" };
|
|
36117
|
-
const _sfc_main$
|
|
36117
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
36118
36118
|
__name: "SearchResultsProductCard",
|
|
36119
36119
|
props: {
|
|
36120
36120
|
product: {},
|
|
@@ -36290,7 +36290,7 @@ and ensure you are accounting for this risk.
|
|
|
36290
36290
|
default: withCtx(() => {
|
|
36291
36291
|
var _a25;
|
|
36292
36292
|
return [
|
|
36293
|
-
createVNode(_sfc_main$
|
|
36293
|
+
createVNode(_sfc_main$1a, { options: badgesOptions.value }, null, 8, ["options"]),
|
|
36294
36294
|
createBaseVNode("div", {
|
|
36295
36295
|
class: normalizeClass(["lupa-search-result-product-contents", listLayoutClass.value])
|
|
36296
36296
|
}, [
|
|
@@ -36300,7 +36300,7 @@ and ensure you are accounting for this risk.
|
|
|
36300
36300
|
onClick: handleNavigation
|
|
36301
36301
|
}, [
|
|
36302
36302
|
(openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
|
|
36303
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36303
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
36304
36304
|
class: "lupa-search-results-product-element",
|
|
36305
36305
|
item: _ctx.product,
|
|
36306
36306
|
element,
|
|
@@ -36311,16 +36311,16 @@ and ensure you are accounting for this risk.
|
|
|
36311
36311
|
onProductEvent: handleProductEvent
|
|
36312
36312
|
}, null, 8, ["item", "element", "labels", "inStock", "link"]);
|
|
36313
36313
|
}), 128)),
|
|
36314
|
-
createVNode(_sfc_main$
|
|
36314
|
+
createVNode(_sfc_main$1a, {
|
|
36315
36315
|
options: badgesOptions.value,
|
|
36316
36316
|
position: "image",
|
|
36317
36317
|
class: "lupa-image-badges"
|
|
36318
36318
|
}, null, 8, ["options"]),
|
|
36319
|
-
((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
36320
|
-
], 8, _hoisted_1$
|
|
36319
|
+
((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$l, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
|
|
36320
|
+
], 8, _hoisted_1$r),
|
|
36321
36321
|
createBaseVNode("div", _hoisted_3$d, [
|
|
36322
36322
|
(openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
|
|
36323
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36323
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
36324
36324
|
class: "lupa-search-results-product-element",
|
|
36325
36325
|
item: _ctx.product,
|
|
36326
36326
|
element,
|
|
@@ -36338,7 +36338,7 @@ and ensure you are accounting for this risk.
|
|
|
36338
36338
|
class: normalizeClass("lupa-element-group-" + group)
|
|
36339
36339
|
}, [
|
|
36340
36340
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
|
|
36341
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36341
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
36342
36342
|
class: "lupa-search-results-product-element",
|
|
36343
36343
|
item: _ctx.product,
|
|
36344
36344
|
element,
|
|
@@ -36359,11 +36359,11 @@ and ensure you are accounting for this risk.
|
|
|
36359
36359
|
};
|
|
36360
36360
|
}
|
|
36361
36361
|
});
|
|
36362
|
-
const _hoisted_1$
|
|
36362
|
+
const _hoisted_1$q = {
|
|
36363
36363
|
id: "lupa-search-results-similar-queries",
|
|
36364
36364
|
"data-cy": "lupa-search-results-similar-queries"
|
|
36365
36365
|
};
|
|
36366
|
-
const _hoisted_2$
|
|
36366
|
+
const _hoisted_2$k = { class: "lupa-similar-queries-label" };
|
|
36367
36367
|
const _hoisted_3$c = {
|
|
36368
36368
|
class: "lupa-similar-query-label",
|
|
36369
36369
|
"data-cy": "lupa-similar-query-label"
|
|
@@ -36375,7 +36375,7 @@ and ensure you are accounting for this risk.
|
|
|
36375
36375
|
class: "lupa-products",
|
|
36376
36376
|
"data-cy": "lupa-products"
|
|
36377
36377
|
};
|
|
36378
|
-
const _sfc_main$
|
|
36378
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
36379
36379
|
__name: "SearchResultsSimilarQueries",
|
|
36380
36380
|
props: {
|
|
36381
36381
|
labels: {},
|
|
@@ -36413,8 +36413,8 @@ and ensure you are accounting for this risk.
|
|
|
36413
36413
|
};
|
|
36414
36414
|
};
|
|
36415
36415
|
return (_ctx, _cache) => {
|
|
36416
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36417
|
-
createBaseVNode("div", _hoisted_2$
|
|
36416
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
36417
|
+
createBaseVNode("div", _hoisted_2$k, toDisplayString(_ctx.labels.similarQueries), 1),
|
|
36418
36418
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarQueries.value, (similarQuery, index) => {
|
|
36419
36419
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
36420
36420
|
createBaseVNode("div", _hoisted_3$c, [
|
|
@@ -36433,7 +36433,7 @@ and ensure you are accounting for this risk.
|
|
|
36433
36433
|
]),
|
|
36434
36434
|
createBaseVNode("div", _hoisted_7, [
|
|
36435
36435
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarQuery.items, (product, index2) => {
|
|
36436
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36436
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
36437
36437
|
style: normalizeStyle(_ctx.columnSize),
|
|
36438
36438
|
key: getDocumentKey(index2, product),
|
|
36439
36439
|
product,
|
|
@@ -36448,15 +36448,15 @@ and ensure you are accounting for this risk.
|
|
|
36448
36448
|
};
|
|
36449
36449
|
}
|
|
36450
36450
|
});
|
|
36451
|
-
const _hoisted_1$
|
|
36451
|
+
const _hoisted_1$p = {
|
|
36452
36452
|
key: 0,
|
|
36453
36453
|
class: "lupa-results-additional-panel"
|
|
36454
36454
|
};
|
|
36455
|
-
const _hoisted_2$
|
|
36455
|
+
const _hoisted_2$j = {
|
|
36456
36456
|
class: "lupa-results-additional-panel-items",
|
|
36457
36457
|
"data-cy": "lupa-results-additional-panel-items"
|
|
36458
36458
|
};
|
|
36459
|
-
const _sfc_main$
|
|
36459
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
36460
36460
|
__name: "AdditionalPanel",
|
|
36461
36461
|
props: {
|
|
36462
36462
|
panel: {},
|
|
@@ -36529,10 +36529,10 @@ and ensure you are accounting for this risk.
|
|
|
36529
36529
|
handleQueryChange();
|
|
36530
36530
|
});
|
|
36531
36531
|
return (_ctx, _cache) => {
|
|
36532
|
-
return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36533
|
-
createBaseVNode("div", _hoisted_2$
|
|
36532
|
+
return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
36533
|
+
createBaseVNode("div", _hoisted_2$j, [
|
|
36534
36534
|
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleItems.value, (item, index) => {
|
|
36535
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36535
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
36536
36536
|
key: index,
|
|
36537
36537
|
product: item,
|
|
36538
36538
|
options: _ctx.panel,
|
|
@@ -36550,11 +36550,11 @@ and ensure you are accounting for this risk.
|
|
|
36550
36550
|
};
|
|
36551
36551
|
}
|
|
36552
36552
|
});
|
|
36553
|
-
const _hoisted_1$
|
|
36553
|
+
const _hoisted_1$o = {
|
|
36554
36554
|
key: 0,
|
|
36555
36555
|
class: "lupa-results-additional-panels"
|
|
36556
36556
|
};
|
|
36557
|
-
const _sfc_main$
|
|
36557
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
36558
36558
|
__name: "AdditionalPanels",
|
|
36559
36559
|
props: {
|
|
36560
36560
|
options: {},
|
|
@@ -36571,9 +36571,9 @@ and ensure you are accounting for this risk.
|
|
|
36571
36571
|
return locationPanels.value.length > 0;
|
|
36572
36572
|
});
|
|
36573
36573
|
return (_ctx, _cache) => {
|
|
36574
|
-
return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36574
|
+
return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
36575
36575
|
(openBlock(true), createElementBlock(Fragment, null, renderList(locationPanels.value, (panel) => {
|
|
36576
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36576
|
+
return openBlock(), createBlock(_sfc_main$r, {
|
|
36577
36577
|
key: panel.queryKey,
|
|
36578
36578
|
panel,
|
|
36579
36579
|
options: _ctx.sdkOptions
|
|
@@ -36590,29 +36590,29 @@ and ensure you are accounting for this risk.
|
|
|
36590
36590
|
}
|
|
36591
36591
|
return target2;
|
|
36592
36592
|
};
|
|
36593
|
-
const _sfc_main$
|
|
36594
|
-
const _hoisted_1$
|
|
36595
|
-
const _hoisted_2$
|
|
36593
|
+
const _sfc_main$p = {};
|
|
36594
|
+
const _hoisted_1$n = { class: "lupa-spinner-wrapper" };
|
|
36595
|
+
const _hoisted_2$i = { class: "lupa-spinner" };
|
|
36596
36596
|
function _sfc_render(_ctx, _cache) {
|
|
36597
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36598
|
-
createBaseVNode("div", _hoisted_2$
|
|
36597
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
36598
|
+
createBaseVNode("div", _hoisted_2$i, [
|
|
36599
36599
|
(openBlock(), createElementBlock(Fragment, null, renderList(12, (x) => {
|
|
36600
36600
|
return createBaseVNode("div", { key: x });
|
|
36601
36601
|
}), 64))
|
|
36602
36602
|
])
|
|
36603
36603
|
]);
|
|
36604
36604
|
}
|
|
36605
|
-
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
36606
|
-
const _hoisted_1$
|
|
36605
|
+
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
|
|
36606
|
+
const _hoisted_1$m = {
|
|
36607
36607
|
id: "lupa-search-results-similar-results",
|
|
36608
36608
|
"data-cy": "lupa-search-results-similar-results"
|
|
36609
36609
|
};
|
|
36610
|
-
const _hoisted_2$
|
|
36610
|
+
const _hoisted_2$h = { class: "lupa-similar-results-label" };
|
|
36611
36611
|
const _hoisted_3$b = {
|
|
36612
36612
|
class: "lupa-products",
|
|
36613
36613
|
"data-cy": "lupa-products"
|
|
36614
36614
|
};
|
|
36615
|
-
const _sfc_main$
|
|
36615
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
36616
36616
|
__name: "SearchResultsSimilarResults",
|
|
36617
36617
|
props: {
|
|
36618
36618
|
columnSize: {},
|
|
@@ -36633,11 +36633,11 @@ and ensure you are accounting for this risk.
|
|
|
36633
36633
|
};
|
|
36634
36634
|
});
|
|
36635
36635
|
return (_ctx, _cache) => {
|
|
36636
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36637
|
-
createBaseVNode("div", _hoisted_2$
|
|
36636
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
36637
|
+
createBaseVNode("div", _hoisted_2$h, toDisplayString(_ctx.labels.similarResultsLabel), 1),
|
|
36638
36638
|
createBaseVNode("div", _hoisted_3$b, [
|
|
36639
36639
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarResults.value.items, (product, index) => {
|
|
36640
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36640
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
36641
36641
|
style: normalizeStyle(_ctx.columnSize),
|
|
36642
36642
|
key: getDocumentKey(index, product),
|
|
36643
36643
|
product,
|
|
@@ -36758,15 +36758,15 @@ and ensure you are accounting for this risk.
|
|
|
36758
36758
|
return extractFacetsRelatedSource(source, searchResults2, options, activeFilters);
|
|
36759
36759
|
}
|
|
36760
36760
|
});
|
|
36761
|
-
const _hoisted_1$
|
|
36762
|
-
const _hoisted_2$
|
|
36761
|
+
const _hoisted_1$l = { class: "lupa-related-query-item" };
|
|
36762
|
+
const _hoisted_2$g = { class: "lupa-related-query-image" };
|
|
36763
36763
|
const _hoisted_3$a = { class: "lupa-related-query-label" };
|
|
36764
36764
|
const _hoisted_4$4 = { class: "lupa-related-query-title" };
|
|
36765
36765
|
const _hoisted_5$2 = {
|
|
36766
36766
|
key: 0,
|
|
36767
36767
|
class: "lupa-related-query-count"
|
|
36768
36768
|
};
|
|
36769
|
-
const _sfc_main$
|
|
36769
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
36770
36770
|
__name: "RelatedQueryPanel",
|
|
36771
36771
|
props: {
|
|
36772
36772
|
query: {},
|
|
@@ -36862,9 +36862,9 @@ and ensure you are accounting for this risk.
|
|
|
36862
36862
|
});
|
|
36863
36863
|
return (_ctx, _cache) => {
|
|
36864
36864
|
var _a25;
|
|
36865
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36866
|
-
createBaseVNode("div", _hoisted_2$
|
|
36867
|
-
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$
|
|
36865
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
36866
|
+
createBaseVNode("div", _hoisted_2$g, [
|
|
36867
|
+
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
36868
36868
|
key: 0,
|
|
36869
36869
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
36870
36870
|
"image-class": "lupa-related-query-image",
|
|
@@ -36880,16 +36880,16 @@ and ensure you are accounting for this risk.
|
|
|
36880
36880
|
};
|
|
36881
36881
|
}
|
|
36882
36882
|
});
|
|
36883
|
-
const _hoisted_1$
|
|
36883
|
+
const _hoisted_1$k = {
|
|
36884
36884
|
key: 0,
|
|
36885
36885
|
class: "lupa-related-queries"
|
|
36886
36886
|
};
|
|
36887
|
-
const _hoisted_2$
|
|
36887
|
+
const _hoisted_2$f = {
|
|
36888
36888
|
key: 0,
|
|
36889
36889
|
class: "lupa-related-queries-title"
|
|
36890
36890
|
};
|
|
36891
36891
|
const _hoisted_3$9 = ["onClick"];
|
|
36892
|
-
const _sfc_main$
|
|
36892
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
36893
36893
|
__name: "RelatedQueries",
|
|
36894
36894
|
props: {
|
|
36895
36895
|
options: {}
|
|
@@ -36983,8 +36983,8 @@ and ensure you are accounting for this risk.
|
|
|
36983
36983
|
};
|
|
36984
36984
|
return (_ctx, _cache) => {
|
|
36985
36985
|
var _a25, _b25, _c, _d;
|
|
36986
|
-
return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36987
|
-
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$
|
|
36986
|
+
return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
36987
|
+
((_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),
|
|
36988
36988
|
createBaseVNode("ul", null, [
|
|
36989
36989
|
(openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
|
|
36990
36990
|
return withDirectives((openBlock(), createElementBlock("li", {
|
|
@@ -36994,7 +36994,7 @@ and ensure you are accounting for this risk.
|
|
|
36994
36994
|
createBaseVNode("a", {
|
|
36995
36995
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
36996
36996
|
}, [
|
|
36997
|
-
createVNode(_sfc_main$
|
|
36997
|
+
createVNode(_sfc_main$n, {
|
|
36998
36998
|
"source-key": query.key,
|
|
36999
36999
|
options: _ctx.options,
|
|
37000
37000
|
query: query.value,
|
|
@@ -37038,13 +37038,13 @@ and ensure you are accounting for this risk.
|
|
|
37038
37038
|
}
|
|
37039
37039
|
return null;
|
|
37040
37040
|
};
|
|
37041
|
-
const _hoisted_1$
|
|
37041
|
+
const _hoisted_1$j = {
|
|
37042
37042
|
key: 0,
|
|
37043
37043
|
class: "lupa-redirection-suggestion"
|
|
37044
37044
|
};
|
|
37045
|
-
const _hoisted_2$
|
|
37045
|
+
const _hoisted_2$e = { class: "lupa-redirections-suggestion-label" };
|
|
37046
37046
|
const _hoisted_3$8 = ["href"];
|
|
37047
|
-
const _sfc_main$
|
|
37047
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
37048
37048
|
__name: "RedirectionSuggestions",
|
|
37049
37049
|
props: {
|
|
37050
37050
|
options: {}
|
|
@@ -37067,19 +37067,19 @@ and ensure you are accounting for this risk.
|
|
|
37067
37067
|
)
|
|
37068
37068
|
);
|
|
37069
37069
|
return (_ctx, _cache) => {
|
|
37070
|
-
return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37071
|
-
createBaseVNode("h4", _hoisted_2$
|
|
37070
|
+
return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
37071
|
+
createBaseVNode("h4", _hoisted_2$e, [
|
|
37072
37072
|
createBaseVNode("a", { href: link.value }, toDisplayString(label.value), 9, _hoisted_3$8)
|
|
37073
37073
|
])
|
|
37074
37074
|
])) : createCommentVNode("", true);
|
|
37075
37075
|
};
|
|
37076
37076
|
}
|
|
37077
37077
|
});
|
|
37078
|
-
const _hoisted_1$
|
|
37078
|
+
const _hoisted_1$i = {
|
|
37079
37079
|
key: 0,
|
|
37080
37080
|
class: "lupa-refiners-loading-notice"
|
|
37081
37081
|
};
|
|
37082
|
-
const _sfc_main$
|
|
37082
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
37083
37083
|
__name: "RefinersLoadingNotice",
|
|
37084
37084
|
props: {
|
|
37085
37085
|
labels: {}
|
|
@@ -37090,22 +37090,22 @@ and ensure you are accounting for this risk.
|
|
|
37090
37090
|
const props = __props;
|
|
37091
37091
|
const label = computed(() => props.labels.refinersLoadingNotice);
|
|
37092
37092
|
return (_ctx, _cache) => {
|
|
37093
|
-
return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37093
|
+
return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
37094
37094
|
createBaseVNode("p", null, toDisplayString(label.value), 1),
|
|
37095
37095
|
createVNode(Spinner)
|
|
37096
37096
|
])) : createCommentVNode("", true);
|
|
37097
37097
|
};
|
|
37098
37098
|
}
|
|
37099
37099
|
});
|
|
37100
|
-
const _hoisted_1$
|
|
37101
|
-
const _hoisted_2$
|
|
37100
|
+
const _hoisted_1$h = { class: "lupa-related-query-item" };
|
|
37101
|
+
const _hoisted_2$d = { class: "lupa-related-query-image" };
|
|
37102
37102
|
const _hoisted_3$7 = { class: "lupa-related-query-label" };
|
|
37103
37103
|
const _hoisted_4$3 = { class: "lupa-related-query-title" };
|
|
37104
37104
|
const _hoisted_5$1 = {
|
|
37105
37105
|
key: 0,
|
|
37106
37106
|
class: "lupa-related-query-count"
|
|
37107
37107
|
};
|
|
37108
|
-
const _sfc_main$
|
|
37108
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
37109
37109
|
__name: "RelatedQueryPanelApi",
|
|
37110
37110
|
props: {
|
|
37111
37111
|
relatedQuery: {},
|
|
@@ -37137,9 +37137,9 @@ and ensure you are accounting for this risk.
|
|
|
37137
37137
|
});
|
|
37138
37138
|
return (_ctx, _cache) => {
|
|
37139
37139
|
var _a25;
|
|
37140
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
37141
|
-
createBaseVNode("div", _hoisted_2$
|
|
37142
|
-
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$
|
|
37140
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
37141
|
+
createBaseVNode("div", _hoisted_2$d, [
|
|
37142
|
+
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
37143
37143
|
key: 0,
|
|
37144
37144
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
37145
37145
|
"image-class": "lupa-related-query-image",
|
|
@@ -37155,16 +37155,16 @@ and ensure you are accounting for this risk.
|
|
|
37155
37155
|
};
|
|
37156
37156
|
}
|
|
37157
37157
|
});
|
|
37158
|
-
const _hoisted_1$
|
|
37158
|
+
const _hoisted_1$g = {
|
|
37159
37159
|
key: 0,
|
|
37160
37160
|
class: "lupa-related-queries"
|
|
37161
37161
|
};
|
|
37162
|
-
const _hoisted_2$
|
|
37162
|
+
const _hoisted_2$c = {
|
|
37163
37163
|
key: 0,
|
|
37164
37164
|
class: "lupa-related-queries-title"
|
|
37165
37165
|
};
|
|
37166
37166
|
const _hoisted_3$6 = ["onClick"];
|
|
37167
|
-
const _sfc_main$
|
|
37167
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
37168
37168
|
__name: "RelatedQueriesApi",
|
|
37169
37169
|
props: {
|
|
37170
37170
|
options: {}
|
|
@@ -37216,8 +37216,8 @@ and ensure you are accounting for this risk.
|
|
|
37216
37216
|
};
|
|
37217
37217
|
return (_ctx, _cache) => {
|
|
37218
37218
|
var _a25, _b25, _c, _d;
|
|
37219
|
-
return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37220
|
-
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$
|
|
37219
|
+
return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
37220
|
+
((_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),
|
|
37221
37221
|
createBaseVNode("ul", null, [
|
|
37222
37222
|
(openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
|
|
37223
37223
|
return openBlock(), createElementBlock("li", {
|
|
@@ -37227,7 +37227,7 @@ and ensure you are accounting for this risk.
|
|
|
37227
37227
|
createBaseVNode("a", {
|
|
37228
37228
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
37229
37229
|
}, [
|
|
37230
|
-
createVNode(_sfc_main$
|
|
37230
|
+
createVNode(_sfc_main$j, {
|
|
37231
37231
|
relatedQuery: query,
|
|
37232
37232
|
options: _ctx.options
|
|
37233
37233
|
}, null, 8, ["relatedQuery", "options"])
|
|
@@ -37239,6 +37239,49 @@ and ensure you are accounting for this risk.
|
|
|
37239
37239
|
};
|
|
37240
37240
|
}
|
|
37241
37241
|
});
|
|
37242
|
+
const _hoisted_1$f = { key: 0 };
|
|
37243
|
+
const _hoisted_2$b = ["innerHTML"];
|
|
37244
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
37245
|
+
__name: "ZeroResults",
|
|
37246
|
+
props: {
|
|
37247
|
+
emptyResultsLabel: {},
|
|
37248
|
+
currentQueryText: {},
|
|
37249
|
+
hasSimilarQueries: { type: Boolean },
|
|
37250
|
+
zeroResults: {}
|
|
37251
|
+
},
|
|
37252
|
+
setup(__props) {
|
|
37253
|
+
const props = __props;
|
|
37254
|
+
const searchResultStore = useSearchResultStore();
|
|
37255
|
+
const { searchResult } = storeToRefs(searchResultStore);
|
|
37256
|
+
const showDefaultZeroResultsTemplate = computed(() => {
|
|
37257
|
+
var _a25, _b25;
|
|
37258
|
+
return props.emptyResultsLabel && ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) === void 0 || props.hasSimilarQueries && !((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries);
|
|
37259
|
+
});
|
|
37260
|
+
const showCustomZeroResultsTemplate = computed(() => {
|
|
37261
|
+
var _a25, _b25;
|
|
37262
|
+
return ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) !== void 0 && (!props.hasSimilarQueries || ((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries));
|
|
37263
|
+
});
|
|
37264
|
+
const htmlTemplate = computed(() => {
|
|
37265
|
+
var _a25;
|
|
37266
|
+
if ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) {
|
|
37267
|
+
return props.zeroResults.customHtml(searchResult.value);
|
|
37268
|
+
}
|
|
37269
|
+
return "";
|
|
37270
|
+
});
|
|
37271
|
+
return (_ctx, _cache) => {
|
|
37272
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
37273
|
+
showDefaultZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
37274
|
+
createTextVNode(toDisplayString(_ctx.emptyResultsLabel) + " ", 1),
|
|
37275
|
+
createBaseVNode("span", null, toDisplayString(_ctx.currentQueryText), 1)
|
|
37276
|
+
])) : createCommentVNode("", true),
|
|
37277
|
+
showCustomZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", {
|
|
37278
|
+
key: 1,
|
|
37279
|
+
innerHTML: htmlTemplate.value
|
|
37280
|
+
}, null, 8, _hoisted_2$b)) : createCommentVNode("", true)
|
|
37281
|
+
], 64);
|
|
37282
|
+
};
|
|
37283
|
+
}
|
|
37284
|
+
});
|
|
37242
37285
|
const _hoisted_1$e = { id: "lupa-search-results-products" };
|
|
37243
37286
|
const _hoisted_2$a = {
|
|
37244
37287
|
class: "lupa-products",
|
|
@@ -37379,41 +37422,41 @@ and ensure you are accounting for this risk.
|
|
|
37379
37422
|
emit2("filter");
|
|
37380
37423
|
};
|
|
37381
37424
|
return (_ctx, _cache) => {
|
|
37382
|
-
var _a25;
|
|
37425
|
+
var _a25, _b25, _c;
|
|
37383
37426
|
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
37384
37427
|
unref(loading) && !unref(isMobileSidebarVisible) ? (openBlock(), createBlock(Spinner, {
|
|
37385
37428
|
key: 0,
|
|
37386
37429
|
class: "lupa-loader"
|
|
37387
37430
|
})) : createCommentVNode("", true),
|
|
37388
|
-
createVNode(_sfc_main$
|
|
37431
|
+
createVNode(_sfc_main$l, {
|
|
37389
37432
|
options: _ctx.options.redirectionSuggestions
|
|
37390
37433
|
}, null, 8, ["options"]),
|
|
37391
|
-
createVNode(_sfc_main$
|
|
37434
|
+
createVNode(_sfc_main$q, {
|
|
37392
37435
|
options: _ctx.options,
|
|
37393
37436
|
location: "top",
|
|
37394
37437
|
sdkOptions: _ctx.options.options
|
|
37395
37438
|
}, null, 8, ["options", "sdkOptions"]),
|
|
37396
|
-
showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$
|
|
37439
|
+
showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$m, {
|
|
37397
37440
|
key: 1,
|
|
37398
37441
|
options: _ctx.options.relatedQueries
|
|
37399
37442
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37400
|
-
showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$
|
|
37443
|
+
showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$i, {
|
|
37401
37444
|
key: 2,
|
|
37402
37445
|
options: _ctx.options.relatedQueries
|
|
37403
37446
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37404
37447
|
unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
37405
|
-
showTopFilters.value ? (openBlock(), createBlock(_sfc_main$
|
|
37448
|
+
showTopFilters.value ? (openBlock(), createBlock(_sfc_main$M, {
|
|
37406
37449
|
key: 0,
|
|
37407
37450
|
options: (_a25 = _ctx.options.filters) != null ? _a25 : {}
|
|
37408
37451
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37409
|
-
showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$
|
|
37452
|
+
showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$F, {
|
|
37410
37453
|
key: 1,
|
|
37411
37454
|
class: "lupa-toolbar-mobile",
|
|
37412
37455
|
options: _ctx.options,
|
|
37413
37456
|
"pagination-location": "top",
|
|
37414
37457
|
onFilter: filter
|
|
37415
37458
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37416
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$
|
|
37459
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$_, {
|
|
37417
37460
|
key: 2,
|
|
37418
37461
|
class: normalizeClass(currentFiltersClass.value),
|
|
37419
37462
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
@@ -37422,12 +37465,12 @@ and ensure you are accounting for this risk.
|
|
|
37422
37465
|
}, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
|
|
37423
37466
|
], 64)) : createCommentVNode("", true),
|
|
37424
37467
|
unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
37425
|
-
createVNode(_sfc_main$
|
|
37468
|
+
createVNode(_sfc_main$F, {
|
|
37426
37469
|
class: "lupa-toolbar-top",
|
|
37427
37470
|
options: _ctx.options,
|
|
37428
37471
|
"pagination-location": "top"
|
|
37429
37472
|
}, null, 8, ["options"]),
|
|
37430
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$
|
|
37473
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$_, {
|
|
37431
37474
|
key: 0,
|
|
37432
37475
|
class: normalizeClass(currentFiltersClass.value),
|
|
37433
37476
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
@@ -37443,7 +37486,7 @@ and ensure you are accounting for this risk.
|
|
|
37443
37486
|
options: productCardOptions.value
|
|
37444
37487
|
});
|
|
37445
37488
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(searchResult).items, (product, index) => {
|
|
37446
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37489
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
37447
37490
|
style: normalizeStyle(columnSize.value),
|
|
37448
37491
|
key: getProductKeyAction(index, product),
|
|
37449
37492
|
product,
|
|
@@ -37460,32 +37503,36 @@ and ensure you are accounting for this risk.
|
|
|
37460
37503
|
onClick: goToFirstPage
|
|
37461
37504
|
}, toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : createCommentVNode("", true)
|
|
37462
37505
|
])) : createCommentVNode("", true),
|
|
37463
|
-
createVNode(_sfc_main$
|
|
37506
|
+
createVNode(_sfc_main$F, {
|
|
37464
37507
|
class: "lupa-toolbar-bottom",
|
|
37465
37508
|
options: _ctx.options,
|
|
37466
37509
|
"pagination-location": "bottom"
|
|
37467
37510
|
}, null, 8, ["options"]),
|
|
37468
|
-
createVNode(_sfc_main$
|
|
37511
|
+
createVNode(_sfc_main$q, {
|
|
37469
37512
|
options: _ctx.options,
|
|
37470
37513
|
location: "bottom",
|
|
37471
37514
|
sdkOptions: _ctx.options.options
|
|
37472
37515
|
}, null, 8, ["options", "sdkOptions"])
|
|
37473
37516
|
], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
|
|
37474
|
-
|
|
37475
|
-
|
|
37517
|
+
createVNode(_sfc_main$h, {
|
|
37518
|
+
emptyResultsLabel: (_b25 = _ctx.options.labels) == null ? void 0 : _b25.emptyResults,
|
|
37519
|
+
currentQueryText: unref(currentQueryText),
|
|
37520
|
+
hasSimilarQueries: hasSimilarQueries.value || hasSimilarResults.value,
|
|
37521
|
+
zeroResults: (_c = _ctx.options) == null ? void 0 : _c.zeroResults
|
|
37522
|
+
}, null, 8, ["emptyResultsLabel", "currentQueryText", "hasSimilarQueries", "zeroResults"])
|
|
37476
37523
|
])) : createCommentVNode("", true),
|
|
37477
|
-
createVNode(_sfc_main$
|
|
37524
|
+
createVNode(_sfc_main$k, {
|
|
37478
37525
|
labels: _ctx.options.labels
|
|
37479
37526
|
}, null, 8, ["labels"]),
|
|
37480
37527
|
hasSimilarQueries.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
37481
|
-
createVNode(_sfc_main$
|
|
37528
|
+
createVNode(_sfc_main$s, {
|
|
37482
37529
|
labels: similarQueriesLabels.value,
|
|
37483
37530
|
columnSize: columnSize.value,
|
|
37484
37531
|
productCardOptions: productCardOptions.value
|
|
37485
37532
|
}, null, 8, ["labels", "columnSize", "productCardOptions"])
|
|
37486
37533
|
])) : createCommentVNode("", true),
|
|
37487
37534
|
hasSimilarResults.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
37488
|
-
createVNode(_sfc_main$
|
|
37535
|
+
createVNode(_sfc_main$o, {
|
|
37489
37536
|
labels: similarResultsLabels.value,
|
|
37490
37537
|
columnSize: columnSize.value,
|
|
37491
37538
|
productCardOptions: productCardOptions.value
|
|
@@ -37564,14 +37611,14 @@ and ensure you are accounting for this risk.
|
|
|
37564
37611
|
])) : createCommentVNode("", true),
|
|
37565
37612
|
hasRelatedCategoryChildren.value ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
37566
37613
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(relatedCategoryChildren), (child) => {
|
|
37567
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37614
|
+
return openBlock(), createBlock(_sfc_main$Z, {
|
|
37568
37615
|
key: getCategoryKey(child),
|
|
37569
37616
|
item: child,
|
|
37570
37617
|
options: categoryOptions.value
|
|
37571
37618
|
}, null, 8, ["item", "options"]);
|
|
37572
37619
|
}), 128))
|
|
37573
37620
|
])) : createCommentVNode("", true),
|
|
37574
|
-
createVNode(_sfc_main$
|
|
37621
|
+
createVNode(_sfc_main$F, {
|
|
37575
37622
|
class: "lupa-toolbar-mobile",
|
|
37576
37623
|
"pagination-location": "top",
|
|
37577
37624
|
options: _ctx.options
|
|
@@ -37879,8 +37926,8 @@ and ensure you are accounting for this risk.
|
|
|
37879
37926
|
class: normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !unref(hasResults) }])
|
|
37880
37927
|
}, [
|
|
37881
37928
|
_ctx.isContainer ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
37882
|
-
createVNode(_sfc_main$
|
|
37883
|
-
createVNode(_sfc_main
|
|
37929
|
+
createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
37930
|
+
createVNode(_sfc_main$10, {
|
|
37884
37931
|
"show-summary": true,
|
|
37885
37932
|
options: _ctx.options,
|
|
37886
37933
|
"is-product-list": (_a25 = _ctx.isProductList) != null ? _a25 : false
|
|
@@ -37890,12 +37937,12 @@ and ensure you are accounting for this risk.
|
|
|
37890
37937
|
key: 1,
|
|
37891
37938
|
options: _ctx.options
|
|
37892
37939
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37893
|
-
_ctx.options.filters ? (openBlock(), createBlock(_sfc_main$
|
|
37940
|
+
_ctx.options.filters ? (openBlock(), createBlock(_sfc_main$O, {
|
|
37894
37941
|
key: 2,
|
|
37895
37942
|
options: _ctx.options.filters,
|
|
37896
37943
|
onFilter: handleParamsChange
|
|
37897
37944
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37898
|
-
unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$
|
|
37945
|
+
unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$N, {
|
|
37899
37946
|
key: 3,
|
|
37900
37947
|
breadcrumbs: _ctx.options.breadcrumbs
|
|
37901
37948
|
}, null, 8, ["breadcrumbs"])) : createCommentVNode("", true),
|
|
@@ -37904,7 +37951,7 @@ and ensure you are accounting for this risk.
|
|
|
37904
37951
|
id: "lupa-search-results",
|
|
37905
37952
|
class: normalizeClass(["top-layout-wrapper", indicatorClasses.value])
|
|
37906
37953
|
}, [
|
|
37907
|
-
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$
|
|
37954
|
+
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
|
|
37908
37955
|
key: 0,
|
|
37909
37956
|
options: (_b25 = _ctx.options.filters) != null ? _b25 : {},
|
|
37910
37957
|
ref_key: "searchResultsFilters",
|
|
@@ -37912,8 +37959,8 @@ and ensure you are accounting for this risk.
|
|
|
37912
37959
|
onFilter: handleParamsChange
|
|
37913
37960
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
37914
37961
|
createBaseVNode("div", _hoisted_2$8, [
|
|
37915
|
-
createVNode(_sfc_main$
|
|
37916
|
-
createVNode(_sfc_main
|
|
37962
|
+
createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
37963
|
+
createVNode(_sfc_main$10, {
|
|
37917
37964
|
options: _ctx.options,
|
|
37918
37965
|
"is-product-list": (_c = _ctx.isProductList) != null ? _c : false
|
|
37919
37966
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -37929,8 +37976,8 @@ and ensure you are accounting for this risk.
|
|
|
37929
37976
|
}, 8, ["options", "ssr"])
|
|
37930
37977
|
])
|
|
37931
37978
|
], 2)) : (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
37932
|
-
createVNode(_sfc_main$
|
|
37933
|
-
createVNode(_sfc_main
|
|
37979
|
+
createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
37980
|
+
createVNode(_sfc_main$10, {
|
|
37934
37981
|
options: _ctx.options,
|
|
37935
37982
|
"is-product-list": (_d = _ctx.isProductList) != null ? _d : false
|
|
37936
37983
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -37938,7 +37985,7 @@ and ensure you are accounting for this risk.
|
|
|
37938
37985
|
id: "lupa-search-results",
|
|
37939
37986
|
class: normalizeClass(indicatorClasses.value)
|
|
37940
37987
|
}, [
|
|
37941
|
-
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$
|
|
37988
|
+
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
|
|
37942
37989
|
key: 0,
|
|
37943
37990
|
options: (_e = _ctx.options.filters) != null ? _e : {},
|
|
37944
37991
|
ref_key: "searchResultsFilters",
|
|
@@ -38089,7 +38136,7 @@ and ensure you are accounting for this risk.
|
|
|
38089
38136
|
onClick: withModifiers(innerClick, ["stop"])
|
|
38090
38137
|
}, [
|
|
38091
38138
|
createBaseVNode("div", _hoisted_1$a, [
|
|
38092
|
-
createVNode(_sfc_main$
|
|
38139
|
+
createVNode(_sfc_main$13, {
|
|
38093
38140
|
options: fullSearchBoxOptions.value,
|
|
38094
38141
|
"is-search-container": true,
|
|
38095
38142
|
ref_key: "searchBox",
|
|
@@ -39657,7 +39704,7 @@ and ensure you are accounting for this risk.
|
|
|
39657
39704
|
key: getProductKeyAction(index, product)
|
|
39658
39705
|
}, {
|
|
39659
39706
|
default: withCtx(() => [
|
|
39660
|
-
createVNode(_sfc_main$
|
|
39707
|
+
createVNode(_sfc_main$t, {
|
|
39661
39708
|
product,
|
|
39662
39709
|
options: _ctx.options,
|
|
39663
39710
|
"click-tracking-settings": clickTrackingSettings.value,
|
|
@@ -39672,7 +39719,7 @@ and ensure you are accounting for this risk.
|
|
|
39672
39719
|
_: 1
|
|
39673
39720
|
}, 16)) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
39674
39721
|
(openBlock(true), createElementBlock(Fragment, null, renderList(recommendations2.value, (product, index) => {
|
|
39675
|
-
return openBlock(), createBlock(_sfc_main$
|
|
39722
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
39676
39723
|
style: normalizeStyle(columnSize.value),
|
|
39677
39724
|
key: getProductKeyAction(index, product),
|
|
39678
39725
|
product,
|
|
@@ -39918,7 +39965,7 @@ and ensure you are accounting for this risk.
|
|
|
39918
39965
|
createBaseVNode("a", {
|
|
39919
39966
|
href: getLink(product)
|
|
39920
39967
|
}, [
|
|
39921
|
-
createVNode(_sfc_main$
|
|
39968
|
+
createVNode(_sfc_main$E, {
|
|
39922
39969
|
item: product,
|
|
39923
39970
|
options: image.value
|
|
39924
39971
|
}, null, 8, ["item", "options"])
|
|
@@ -40083,7 +40130,7 @@ and ensure you are accounting for this risk.
|
|
|
40083
40130
|
return (_ctx, _cache) => {
|
|
40084
40131
|
return openBlock(), createElementBlock("section", _hoisted_1$3, [
|
|
40085
40132
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchResults, (product, index) => {
|
|
40086
|
-
return openBlock(), createBlock(_sfc_main$
|
|
40133
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
40087
40134
|
class: "lupa-chat-product-card",
|
|
40088
40135
|
key: getProductKeyAction(index, product),
|
|
40089
40136
|
product,
|
|
@@ -40279,7 +40326,7 @@ and ensure you are accounting for this risk.
|
|
|
40279
40326
|
key: 0,
|
|
40280
40327
|
class: "lupasearch-chat-content"
|
|
40281
40328
|
};
|
|
40282
|
-
const _sfc_main$
|
|
40329
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
40283
40330
|
__name: "ChatContainer",
|
|
40284
40331
|
props: {
|
|
40285
40332
|
options: {}
|
|
@@ -46303,7 +46350,7 @@ and ensure you are accounting for this risk.
|
|
|
46303
46350
|
};
|
|
46304
46351
|
__expose({ fetch: fetch2 });
|
|
46305
46352
|
return (_ctx, _cache) => {
|
|
46306
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
46353
|
+
return openBlock(), createBlock(unref(_sfc_main$13), {
|
|
46307
46354
|
ref_key: "searchBox",
|
|
46308
46355
|
ref: searchBox2,
|
|
46309
46356
|
options: fullSearchBoxOptions.value
|
|
@@ -46683,6 +46730,33 @@ and ensure you are accounting for this risk.
|
|
|
46683
46730
|
}
|
|
46684
46731
|
return true;
|
|
46685
46732
|
};
|
|
46733
|
+
const waitForElementToBeVisible = (element, retries = 0, maxRetries = 30, interval = 10) => __async(null, null, function* () {
|
|
46734
|
+
let foundElement = null;
|
|
46735
|
+
if (typeof element === "string") {
|
|
46736
|
+
foundElement = document.querySelector(element);
|
|
46737
|
+
} else {
|
|
46738
|
+
foundElement = element;
|
|
46739
|
+
}
|
|
46740
|
+
if (foundElement) {
|
|
46741
|
+
return true;
|
|
46742
|
+
}
|
|
46743
|
+
if (retries >= maxRetries) {
|
|
46744
|
+
return false;
|
|
46745
|
+
}
|
|
46746
|
+
return new Promise((resolve2) => {
|
|
46747
|
+
setTimeout(() => {
|
|
46748
|
+
resolve2(
|
|
46749
|
+
waitForElementToBeVisible(
|
|
46750
|
+
element,
|
|
46751
|
+
retries + 1,
|
|
46752
|
+
maxRetries,
|
|
46753
|
+
Math.min(500, interval + Math.round(0.5 * interval))
|
|
46754
|
+
)
|
|
46755
|
+
);
|
|
46756
|
+
}, interval);
|
|
46757
|
+
});
|
|
46758
|
+
});
|
|
46759
|
+
const MAX_ELEMENT_MOUNT_RETRIES$1 = 25;
|
|
46686
46760
|
const app = {
|
|
46687
46761
|
box: {},
|
|
46688
46762
|
results: {},
|
|
@@ -46743,7 +46817,7 @@ and ensure you are accounting for this risk.
|
|
|
46743
46817
|
});
|
|
46744
46818
|
return newOptions;
|
|
46745
46819
|
};
|
|
46746
|
-
const applySearchBox = (options, mountOptions) => {
|
|
46820
|
+
const applySearchBox = (options, mountOptions) => __async(null, null, function* () {
|
|
46747
46821
|
const existingInstance = app.box[options.inputSelector];
|
|
46748
46822
|
if (existingInstance) {
|
|
46749
46823
|
existingInstance.props.searchBoxOptions = options;
|
|
@@ -46755,6 +46829,7 @@ and ensure you are accounting for this risk.
|
|
|
46755
46829
|
}
|
|
46756
46830
|
return;
|
|
46757
46831
|
}
|
|
46832
|
+
yield waitForElementToBeVisible(options.inputSelector, 0, MAX_ELEMENT_MOUNT_RETRIES$1);
|
|
46758
46833
|
const instance = createVue(
|
|
46759
46834
|
options.inputSelector,
|
|
46760
46835
|
mountOptions == null ? void 0 : mountOptions.mountingBehavior,
|
|
@@ -46766,7 +46841,7 @@ and ensure you are accounting for this risk.
|
|
|
46766
46841
|
return;
|
|
46767
46842
|
}
|
|
46768
46843
|
app.box[options.inputSelector] = instance;
|
|
46769
|
-
};
|
|
46844
|
+
});
|
|
46770
46845
|
const searchBox = (options, mountOptions) => {
|
|
46771
46846
|
var _a25;
|
|
46772
46847
|
if (!canMount(mountOptions == null ? void 0 : mountOptions.allowedMountUrls)) {
|
|
@@ -46936,7 +47011,7 @@ and ensure you are accounting for this risk.
|
|
|
46936
47011
|
const instance = createVue(
|
|
46937
47012
|
options.displayOptions.containerSelector,
|
|
46938
47013
|
mountOptions == null ? void 0 : mountOptions.mountingBehavior,
|
|
46939
|
-
_sfc_main$
|
|
47014
|
+
_sfc_main$1B,
|
|
46940
47015
|
{
|
|
46941
47016
|
options
|
|
46942
47017
|
}
|
|
@@ -47030,32 +47105,6 @@ and ensure you are accounting for this risk.
|
|
|
47030
47105
|
} catch (e2) {
|
|
47031
47106
|
}
|
|
47032
47107
|
};
|
|
47033
|
-
const waitForElementToBeVisible = (element, retries = 0, maxRetries = 30, interval = 10) => __async(null, null, function* () {
|
|
47034
|
-
let foundElement = null;
|
|
47035
|
-
if (typeof element === "string") {
|
|
47036
|
-
foundElement = document.querySelector(element);
|
|
47037
|
-
} else {
|
|
47038
|
-
foundElement = element;
|
|
47039
|
-
}
|
|
47040
|
-
if (foundElement) {
|
|
47041
|
-
return true;
|
|
47042
|
-
}
|
|
47043
|
-
if (retries >= maxRetries) {
|
|
47044
|
-
return false;
|
|
47045
|
-
}
|
|
47046
|
-
return new Promise((resolve2) => {
|
|
47047
|
-
setTimeout(() => {
|
|
47048
|
-
resolve2(
|
|
47049
|
-
waitForElementToBeVisible(
|
|
47050
|
-
element,
|
|
47051
|
-
retries + 1,
|
|
47052
|
-
maxRetries,
|
|
47053
|
-
Math.min(500, interval + Math.round(0.5 * interval))
|
|
47054
|
-
)
|
|
47055
|
-
);
|
|
47056
|
-
}, interval);
|
|
47057
|
-
});
|
|
47058
|
-
});
|
|
47059
47108
|
const isObject = (item) => typeof item === "object" && !Array.isArray(item);
|
|
47060
47109
|
const merge = (target2, source) => {
|
|
47061
47110
|
const isDeep2 = (prop) => isObject(source[prop]) && Object.prototype.hasOwnProperty.call(target2, prop) && isObject(target2[prop]);
|