@getlupa/vue 0.20.4 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lupaSearch.mjs
CHANGED
|
@@ -13277,7 +13277,7 @@ const getApiUrl = (environment, customBaseUrl) => {
|
|
|
13277
13277
|
}
|
|
13278
13278
|
return Env[environment] || Env["production"];
|
|
13279
13279
|
};
|
|
13280
|
-
const _sfc_main$
|
|
13280
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
13281
13281
|
__name: "VoiceSearchProgressCircle",
|
|
13282
13282
|
props: {
|
|
13283
13283
|
isRecording: { type: Boolean },
|
|
@@ -13490,14 +13490,14 @@ function useVoiceRecorder(options) {
|
|
|
13490
13490
|
closeSocket
|
|
13491
13491
|
};
|
|
13492
13492
|
}
|
|
13493
|
-
const _hoisted_1$
|
|
13493
|
+
const _hoisted_1$1l = {
|
|
13494
13494
|
key: 0,
|
|
13495
13495
|
class: "lupa-dialog-overlay"
|
|
13496
13496
|
};
|
|
13497
|
-
const _hoisted_2$
|
|
13497
|
+
const _hoisted_2$W = { class: "lupa-dialog-content" };
|
|
13498
13498
|
const _hoisted_3$E = { class: "lupa-listening-text" };
|
|
13499
13499
|
const _hoisted_4$u = { class: "lupa-mic-button-wrapper" };
|
|
13500
|
-
const _sfc_main$
|
|
13500
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
13501
13501
|
__name: "VoiceSearchDialog",
|
|
13502
13502
|
props: {
|
|
13503
13503
|
isOpen: { type: Boolean },
|
|
@@ -13601,19 +13601,19 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
13601
13601
|
});
|
|
13602
13602
|
return (_ctx, _cache) => {
|
|
13603
13603
|
return openBlock(), createElementBlock("div", null, [
|
|
13604
|
-
props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
13604
|
+
props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1l, [
|
|
13605
13605
|
createElementVNode("button", {
|
|
13606
13606
|
class: "lupa-dialog-box-close-button",
|
|
13607
13607
|
onClick: _cache[0] || (_cache[0] = () => emit("close"))
|
|
13608
13608
|
}),
|
|
13609
|
-
createElementVNode("div", _hoisted_2$
|
|
13609
|
+
createElementVNode("div", _hoisted_2$W, [
|
|
13610
13610
|
createElementVNode("p", _hoisted_3$E, toDisplayString(description.value), 1),
|
|
13611
13611
|
createElementVNode("div", _hoisted_4$u, [
|
|
13612
13612
|
createElementVNode("button", {
|
|
13613
13613
|
class: normalizeClass(["lupa-mic-button", { recording: unref(isRecording) }]),
|
|
13614
13614
|
onClick: handleRecordingButtonClick
|
|
13615
13615
|
}, null, 2),
|
|
13616
|
-
createVNode(_sfc_main$
|
|
13616
|
+
createVNode(_sfc_main$1A, {
|
|
13617
13617
|
ref_key: "voiceSearchProgressBar",
|
|
13618
13618
|
ref: voiceSearchProgressBar,
|
|
13619
13619
|
class: "lupa-progress-circle",
|
|
@@ -13628,8 +13628,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
13628
13628
|
};
|
|
13629
13629
|
}
|
|
13630
13630
|
});
|
|
13631
|
-
const _hoisted_1$
|
|
13632
|
-
const _hoisted_2$
|
|
13631
|
+
const _hoisted_1$1k = { id: "lupa-search-box-input-container" };
|
|
13632
|
+
const _hoisted_2$V = { class: "lupa-input-clear" };
|
|
13633
13633
|
const _hoisted_3$D = { id: "lupa-search-box-input" };
|
|
13634
13634
|
const _hoisted_4$t = ["value"];
|
|
13635
13635
|
const _hoisted_5$k = ["aria-label", "placeholder"];
|
|
@@ -13638,7 +13638,7 @@ const _hoisted_6$8 = {
|
|
|
13638
13638
|
class: "lupa-close-label"
|
|
13639
13639
|
};
|
|
13640
13640
|
const _hoisted_7$5 = { key: 1 };
|
|
13641
|
-
const _sfc_main$
|
|
13641
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
13642
13642
|
__name: "SearchBoxInput",
|
|
13643
13643
|
props: {
|
|
13644
13644
|
options: {},
|
|
@@ -13766,8 +13766,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
13766
13766
|
};
|
|
13767
13767
|
__expose({ focus });
|
|
13768
13768
|
return (_ctx, _cache) => {
|
|
13769
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13770
|
-
createElementVNode("div", _hoisted_2$
|
|
13769
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1k, [
|
|
13770
|
+
createElementVNode("div", _hoisted_2$V, [
|
|
13771
13771
|
createElementVNode("div", {
|
|
13772
13772
|
class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
|
|
13773
13773
|
onClick: clear
|
|
@@ -13816,7 +13816,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
13816
13816
|
class: "lupa-voice-search-button"
|
|
13817
13817
|
})
|
|
13818
13818
|
])) : createCommentVNode("", true),
|
|
13819
|
-
isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$
|
|
13819
|
+
isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1z, {
|
|
13820
13820
|
key: 2,
|
|
13821
13821
|
ref_key: "voiceDialogOverlay",
|
|
13822
13822
|
ref: voiceDialogOverlay,
|
|
@@ -13830,7 +13830,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
13830
13830
|
};
|
|
13831
13831
|
}
|
|
13832
13832
|
});
|
|
13833
|
-
const _sfc_main$
|
|
13833
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
13834
13834
|
__name: "SearchBoxMoreResults",
|
|
13835
13835
|
props: {
|
|
13836
13836
|
labels: {},
|
|
@@ -13868,9 +13868,9 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
13868
13868
|
};
|
|
13869
13869
|
}
|
|
13870
13870
|
});
|
|
13871
|
-
const _hoisted_1$
|
|
13872
|
-
const _hoisted_2$
|
|
13873
|
-
const _sfc_main$
|
|
13871
|
+
const _hoisted_1$1j = { class: "lupa-search-box-history-item" };
|
|
13872
|
+
const _hoisted_2$U = { class: "lupa-search-box-history-item-content" };
|
|
13873
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
13874
13874
|
__name: "SearchBoxHistoryItem",
|
|
13875
13875
|
props: {
|
|
13876
13876
|
item: {},
|
|
@@ -13887,8 +13887,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
13887
13887
|
emit("click", { query: props.item });
|
|
13888
13888
|
};
|
|
13889
13889
|
return (_ctx, _cache) => {
|
|
13890
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13891
|
-
createElementVNode("div", _hoisted_2$
|
|
13890
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1j, [
|
|
13891
|
+
createElementVNode("div", _hoisted_2$U, [
|
|
13892
13892
|
createElementVNode("div", {
|
|
13893
13893
|
class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
|
|
13894
13894
|
onClick: click2
|
|
@@ -13902,11 +13902,11 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
13902
13902
|
};
|
|
13903
13903
|
}
|
|
13904
13904
|
});
|
|
13905
|
-
const _hoisted_1$
|
|
13905
|
+
const _hoisted_1$1i = {
|
|
13906
13906
|
key: 0,
|
|
13907
13907
|
class: "lupa-search-box-history-panel"
|
|
13908
13908
|
};
|
|
13909
|
-
const _sfc_main$
|
|
13909
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
13910
13910
|
__name: "SearchBoxHistoryPanel",
|
|
13911
13911
|
props: {
|
|
13912
13912
|
options: {}
|
|
@@ -13957,9 +13957,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
13957
13957
|
}
|
|
13958
13958
|
};
|
|
13959
13959
|
return (_ctx, _cache) => {
|
|
13960
|
-
return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
13960
|
+
return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1i, [
|
|
13961
13961
|
(openBlock(true), createElementBlock(Fragment, null, renderList(limitedHistory.value, (item, index) => {
|
|
13962
|
-
return openBlock(), createBlock(_sfc_main$
|
|
13962
|
+
return openBlock(), createBlock(_sfc_main$1w, {
|
|
13963
13963
|
key: item,
|
|
13964
13964
|
item,
|
|
13965
13965
|
highlighted: index === highlightIndex.value,
|
|
@@ -13975,15 +13975,15 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
13975
13975
|
};
|
|
13976
13976
|
}
|
|
13977
13977
|
});
|
|
13978
|
-
const _hoisted_1$
|
|
13979
|
-
const _sfc_main$
|
|
13978
|
+
const _hoisted_1$1h = { class: "lupa-search-box-no-results" };
|
|
13979
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
13980
13980
|
__name: "SearchBoxNoResults",
|
|
13981
13981
|
props: {
|
|
13982
13982
|
labels: {}
|
|
13983
13983
|
},
|
|
13984
13984
|
setup(__props) {
|
|
13985
13985
|
return (_ctx, _cache) => {
|
|
13986
|
-
return openBlock(), createElementBlock("p", _hoisted_1$
|
|
13986
|
+
return openBlock(), createElementBlock("p", _hoisted_1$1h, toDisplayString(_ctx.labels.noResults), 1);
|
|
13987
13987
|
};
|
|
13988
13988
|
}
|
|
13989
13989
|
});
|
|
@@ -14015,8 +14015,8 @@ const generateGridTemplate = (elements) => {
|
|
|
14015
14015
|
}
|
|
14016
14016
|
return gridTemplate.join(" ");
|
|
14017
14017
|
};
|
|
14018
|
-
const _hoisted_1$
|
|
14019
|
-
const _hoisted_2$
|
|
14018
|
+
const _hoisted_1$1g = ["innerHTML"];
|
|
14019
|
+
const _hoisted_2$T = {
|
|
14020
14020
|
key: 1,
|
|
14021
14021
|
"data-cy": "lupa-suggestion-value",
|
|
14022
14022
|
class: "lupa-suggestion-value"
|
|
@@ -14034,7 +14034,7 @@ const _hoisted_5$j = {
|
|
|
14034
14034
|
class: "lupa-suggestion-facet-value",
|
|
14035
14035
|
"data-cy": "lupa-suggestion-facet-value"
|
|
14036
14036
|
};
|
|
14037
|
-
const _sfc_main$
|
|
14037
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
14038
14038
|
__name: "SearchBoxSuggestion",
|
|
14039
14039
|
props: {
|
|
14040
14040
|
suggestion: {},
|
|
@@ -14071,7 +14071,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
14071
14071
|
class: "lupa-suggestion-value",
|
|
14072
14072
|
"data-cy": "lupa-suggestion-value",
|
|
14073
14073
|
innerHTML: _ctx.suggestion.displayHighlight
|
|
14074
|
-
}, null, 8, _hoisted_1$
|
|
14074
|
+
}, null, 8, _hoisted_1$1g)) : (openBlock(), createElementBlock("div", _hoisted_2$T, toDisplayString(_ctx.suggestion.display), 1)),
|
|
14075
14075
|
_ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
|
|
14076
14076
|
createElementVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
|
|
14077
14077
|
createElementVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
|
|
@@ -14080,11 +14080,11 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
14080
14080
|
};
|
|
14081
14081
|
}
|
|
14082
14082
|
});
|
|
14083
|
-
const _hoisted_1$
|
|
14083
|
+
const _hoisted_1$1f = {
|
|
14084
14084
|
id: "lupa-search-box-suggestions",
|
|
14085
14085
|
"data-cy": "lupa-search-box-suggestions"
|
|
14086
14086
|
};
|
|
14087
|
-
const _sfc_main$
|
|
14087
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
14088
14088
|
__name: "SearchBoxSuggestions",
|
|
14089
14089
|
props: {
|
|
14090
14090
|
items: {},
|
|
@@ -14151,9 +14151,9 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
14151
14151
|
});
|
|
14152
14152
|
});
|
|
14153
14153
|
return (_ctx, _cache) => {
|
|
14154
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14154
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1f, [
|
|
14155
14155
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
|
|
14156
|
-
return openBlock(), createBlock(_sfc_main$
|
|
14156
|
+
return openBlock(), createBlock(_sfc_main$1t, {
|
|
14157
14157
|
key: getSuggestionKey(item),
|
|
14158
14158
|
class: normalizeClass([
|
|
14159
14159
|
"lupa-suggestion",
|
|
@@ -14185,7 +14185,7 @@ const debounce = (func, timeout) => {
|
|
|
14185
14185
|
}, timeout);
|
|
14186
14186
|
};
|
|
14187
14187
|
};
|
|
14188
|
-
const _sfc_main$
|
|
14188
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
14189
14189
|
__name: "SearchBoxSuggestionsWrapper",
|
|
14190
14190
|
props: {
|
|
14191
14191
|
panel: {},
|
|
@@ -14228,7 +14228,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
14228
14228
|
const getSuggestionsDebounced = debounce(getSuggestions, props.debounce);
|
|
14229
14229
|
watch(() => props.panel.limit, getSuggestionsDebounced);
|
|
14230
14230
|
return (_ctx, _cache) => {
|
|
14231
|
-
return openBlock(), createBlock(_sfc_main$
|
|
14231
|
+
return openBlock(), createBlock(_sfc_main$1s, {
|
|
14232
14232
|
items: searchResult.value,
|
|
14233
14233
|
highlight: _ctx.panel.highlight,
|
|
14234
14234
|
queryKey: _ctx.panel.queryKey,
|
|
@@ -23568,9 +23568,9 @@ const replaceImageWithPlaceholder = (e2, placeholder) => {
|
|
|
23568
23568
|
targetImage.src = placeholder;
|
|
23569
23569
|
}
|
|
23570
23570
|
};
|
|
23571
|
-
const _hoisted_1$
|
|
23572
|
-
const _hoisted_2$
|
|
23573
|
-
const _sfc_main$
|
|
23571
|
+
const _hoisted_1$1e = ["src"];
|
|
23572
|
+
const _hoisted_2$S = ["src"];
|
|
23573
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
23574
23574
|
__name: "ProductImage",
|
|
23575
23575
|
props: {
|
|
23576
23576
|
item: {},
|
|
@@ -23712,7 +23712,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
23712
23712
|
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
|
|
23713
23713
|
onError: replaceWithPlaceholder,
|
|
23714
23714
|
key: finalUrl.value
|
|
23715
|
-
}), null, 16, _hoisted_1$
|
|
23715
|
+
}), null, 16, _hoisted_1$1e))
|
|
23716
23716
|
]),
|
|
23717
23717
|
_: 1
|
|
23718
23718
|
})) : (openBlock(), createElementBlock("img", mergeProps({
|
|
@@ -23720,12 +23720,12 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
23720
23720
|
class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
|
|
23721
23721
|
style: styleOverride.value,
|
|
23722
23722
|
src: finalMainImageUrl.value
|
|
23723
|
-
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$
|
|
23723
|
+
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$S))
|
|
23724
23724
|
], 38);
|
|
23725
23725
|
};
|
|
23726
23726
|
}
|
|
23727
23727
|
});
|
|
23728
|
-
const _sfc_main$
|
|
23728
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
23729
23729
|
__name: "SearchBoxProductImage",
|
|
23730
23730
|
props: {
|
|
23731
23731
|
item: {},
|
|
@@ -23733,7 +23733,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
23733
23733
|
},
|
|
23734
23734
|
setup(__props) {
|
|
23735
23735
|
return (_ctx, _cache) => {
|
|
23736
|
-
return openBlock(), createBlock(_sfc_main$
|
|
23736
|
+
return openBlock(), createBlock(_sfc_main$1q, {
|
|
23737
23737
|
item: _ctx.item,
|
|
23738
23738
|
options: _ctx.options,
|
|
23739
23739
|
"wrapper-class": "lupa-search-box-image-wrapper",
|
|
@@ -23742,12 +23742,12 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
23742
23742
|
};
|
|
23743
23743
|
}
|
|
23744
23744
|
});
|
|
23745
|
-
const _hoisted_1$
|
|
23746
|
-
const _hoisted_2$
|
|
23745
|
+
const _hoisted_1$1d = ["innerHTML"];
|
|
23746
|
+
const _hoisted_2$R = {
|
|
23747
23747
|
key: 1,
|
|
23748
23748
|
class: "lupa-search-box-product-title"
|
|
23749
23749
|
};
|
|
23750
|
-
const _sfc_main$
|
|
23750
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
23751
23751
|
__name: "SearchBoxProductTitle",
|
|
23752
23752
|
props: {
|
|
23753
23753
|
item: {},
|
|
@@ -23770,18 +23770,18 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
23770
23770
|
key: 0,
|
|
23771
23771
|
class: "lupa-search-box-product-title",
|
|
23772
23772
|
innerHTML: sanitizedTitle.value
|
|
23773
|
-
}, null, 8, _hoisted_1$
|
|
23773
|
+
}, null, 8, _hoisted_1$1d)) : (openBlock(), createElementBlock("div", _hoisted_2$R, [
|
|
23774
23774
|
createElementVNode("strong", null, toDisplayString(title.value), 1)
|
|
23775
23775
|
]));
|
|
23776
23776
|
};
|
|
23777
23777
|
}
|
|
23778
23778
|
});
|
|
23779
|
-
const _hoisted_1$
|
|
23780
|
-
const _hoisted_2$
|
|
23779
|
+
const _hoisted_1$1c = ["innerHTML"];
|
|
23780
|
+
const _hoisted_2$Q = {
|
|
23781
23781
|
key: 1,
|
|
23782
23782
|
class: "lupa-search-box-product-description"
|
|
23783
23783
|
};
|
|
23784
|
-
const _sfc_main$
|
|
23784
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
23785
23785
|
__name: "SearchBoxProductDescription",
|
|
23786
23786
|
props: {
|
|
23787
23787
|
item: {},
|
|
@@ -23804,12 +23804,12 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
23804
23804
|
key: 0,
|
|
23805
23805
|
class: "lupa-search-box-product-description",
|
|
23806
23806
|
innerHTML: sanitizedDescription.value
|
|
23807
|
-
}, null, 8, _hoisted_1$
|
|
23807
|
+
}, null, 8, _hoisted_1$1c)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(description.value), 1));
|
|
23808
23808
|
};
|
|
23809
23809
|
}
|
|
23810
23810
|
});
|
|
23811
|
-
const _hoisted_1$
|
|
23812
|
-
const _sfc_main$
|
|
23811
|
+
const _hoisted_1$1b = { class: "lupa-search-box-product-price" };
|
|
23812
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
23813
23813
|
__name: "SearchBoxProductPrice",
|
|
23814
23814
|
props: {
|
|
23815
23815
|
item: {},
|
|
@@ -23831,13 +23831,13 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
23831
23831
|
);
|
|
23832
23832
|
});
|
|
23833
23833
|
return (_ctx, _cache) => {
|
|
23834
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23834
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1b, [
|
|
23835
23835
|
createElementVNode("strong", null, toDisplayString(price.value), 1)
|
|
23836
23836
|
]);
|
|
23837
23837
|
};
|
|
23838
23838
|
}
|
|
23839
23839
|
});
|
|
23840
|
-
const _sfc_main$
|
|
23840
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
23841
23841
|
__name: "SearchBoxProductRegularPrice",
|
|
23842
23842
|
props: {
|
|
23843
23843
|
item: {},
|
|
@@ -23868,12 +23868,12 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
23868
23868
|
};
|
|
23869
23869
|
}
|
|
23870
23870
|
});
|
|
23871
|
-
const _hoisted_1$
|
|
23872
|
-
const _hoisted_2$
|
|
23871
|
+
const _hoisted_1$1a = ["innerHTML"];
|
|
23872
|
+
const _hoisted_2$P = { key: 0 };
|
|
23873
23873
|
const _hoisted_3$B = { key: 1 };
|
|
23874
23874
|
const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
|
|
23875
23875
|
const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
|
|
23876
|
-
const _sfc_main$
|
|
23876
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
23877
23877
|
__name: "SearchBoxProductCustom",
|
|
23878
23878
|
props: {
|
|
23879
23879
|
item: {},
|
|
@@ -23899,11 +23899,11 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
23899
23899
|
key: 0,
|
|
23900
23900
|
class: [className.value, "lupa-search-box-product-custom"],
|
|
23901
23901
|
innerHTML: text.value
|
|
23902
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$
|
|
23902
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$1a)) : (openBlock(), createElementBlock("div", mergeProps({
|
|
23903
23903
|
key: 1,
|
|
23904
23904
|
class: [className.value, "lupa-search-box-product-custom"]
|
|
23905
23905
|
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
|
|
23906
|
-
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
23906
|
+
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$B, [
|
|
23907
23907
|
createElementVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
|
|
23908
23908
|
createElementVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
|
|
23909
23909
|
]))
|
|
@@ -23911,8 +23911,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
23911
23911
|
};
|
|
23912
23912
|
}
|
|
23913
23913
|
});
|
|
23914
|
-
const _hoisted_1$
|
|
23915
|
-
const _sfc_main$
|
|
23914
|
+
const _hoisted_1$19 = ["innerHTML"];
|
|
23915
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
23916
23916
|
__name: "SearchBoxProductCustomHtml",
|
|
23917
23917
|
props: {
|
|
23918
23918
|
item: {},
|
|
@@ -23937,7 +23937,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
23937
23937
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
23938
23938
|
class: className.value,
|
|
23939
23939
|
innerHTML: text.value
|
|
23940
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$
|
|
23940
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$19);
|
|
23941
23941
|
};
|
|
23942
23942
|
}
|
|
23943
23943
|
});
|
|
@@ -24252,12 +24252,12 @@ const useSearchResultStore = /* @__PURE__ */ defineStore("searchResult", () => {
|
|
|
24252
24252
|
setRelatedQueriesApiEnabled
|
|
24253
24253
|
};
|
|
24254
24254
|
});
|
|
24255
|
-
const _hoisted_1$
|
|
24256
|
-
const _hoisted_2$
|
|
24255
|
+
const _hoisted_1$18 = { class: "lupa-search-box-add-to-cart-wrapper" };
|
|
24256
|
+
const _hoisted_2$O = { class: "lupa-search-box-product-addtocart" };
|
|
24257
24257
|
const _hoisted_3$A = ["disabled"];
|
|
24258
24258
|
const _hoisted_4$q = ["href"];
|
|
24259
24259
|
const _hoisted_5$h = ["disabled"];
|
|
24260
|
-
const _sfc_main$
|
|
24260
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
24261
24261
|
__name: "SearchBoxProductAddToCart",
|
|
24262
24262
|
props: {
|
|
24263
24263
|
item: {},
|
|
@@ -24296,8 +24296,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
24296
24296
|
return Boolean(props.link && props.options.link);
|
|
24297
24297
|
});
|
|
24298
24298
|
return (_ctx, _cache) => {
|
|
24299
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24300
|
-
createElementVNode("div", _hoisted_2$
|
|
24299
|
+
return openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
24300
|
+
createElementVNode("div", _hoisted_2$O, [
|
|
24301
24301
|
hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
24302
24302
|
key: 0,
|
|
24303
24303
|
class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
|
|
@@ -24318,23 +24318,23 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
24318
24318
|
};
|
|
24319
24319
|
}
|
|
24320
24320
|
});
|
|
24321
|
-
const _hoisted_1$
|
|
24321
|
+
const _hoisted_1$17 = {
|
|
24322
24322
|
key: 1,
|
|
24323
24323
|
class: "lupa-search-box-element-badge-wrapper"
|
|
24324
24324
|
};
|
|
24325
24325
|
const __default__$4 = {
|
|
24326
24326
|
components: {
|
|
24327
|
-
SearchBoxProductImage: _sfc_main$
|
|
24328
|
-
SearchBoxProductTitle: _sfc_main$
|
|
24329
|
-
SearchBoxProductDescription: _sfc_main$
|
|
24330
|
-
SearchBoxProductPrice: _sfc_main$
|
|
24331
|
-
SearchBoxProductRegularPrice: _sfc_main$
|
|
24332
|
-
SearchBoxProductCustom: _sfc_main$
|
|
24333
|
-
SearchBoxProductCustomHtml: _sfc_main$
|
|
24334
|
-
SearchBoxProductAddToCart: _sfc_main$
|
|
24327
|
+
SearchBoxProductImage: _sfc_main$1p,
|
|
24328
|
+
SearchBoxProductTitle: _sfc_main$1o,
|
|
24329
|
+
SearchBoxProductDescription: _sfc_main$1n,
|
|
24330
|
+
SearchBoxProductPrice: _sfc_main$1m,
|
|
24331
|
+
SearchBoxProductRegularPrice: _sfc_main$1l,
|
|
24332
|
+
SearchBoxProductCustom: _sfc_main$1k,
|
|
24333
|
+
SearchBoxProductCustomHtml: _sfc_main$1j,
|
|
24334
|
+
SearchBoxProductAddToCart: _sfc_main$1i
|
|
24335
24335
|
}
|
|
24336
24336
|
};
|
|
24337
|
-
const _sfc_main$
|
|
24337
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
|
|
24338
24338
|
__name: "SearchBoxProductElement",
|
|
24339
24339
|
props: {
|
|
24340
24340
|
item: {},
|
|
@@ -24406,7 +24406,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
|
|
|
24406
24406
|
"dynamic-attributes": dynamicAttributes.value,
|
|
24407
24407
|
link: _ctx.link
|
|
24408
24408
|
}, renderDynamicAttributesOnParentElement.value && dynamicAttributes.value), null, 16, ["item", "options", "labels", "class", "inStock", "dynamic-attributes", "link"])) : createCommentVNode("", true)
|
|
24409
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
24409
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$17, [
|
|
24410
24410
|
displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
|
|
24411
24411
|
key: 0,
|
|
24412
24412
|
item: enhancedItem.value,
|
|
@@ -24421,14 +24421,14 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
|
|
|
24421
24421
|
};
|
|
24422
24422
|
}
|
|
24423
24423
|
}));
|
|
24424
|
-
const _hoisted_1$
|
|
24425
|
-
const _hoisted_2$
|
|
24424
|
+
const _hoisted_1$16 = { class: "lupa-badge-title" };
|
|
24425
|
+
const _hoisted_2$N = ["src"];
|
|
24426
24426
|
const _hoisted_3$z = { key: 1 };
|
|
24427
24427
|
const _hoisted_4$p = {
|
|
24428
24428
|
key: 0,
|
|
24429
24429
|
class: "lupa-badge-full-text"
|
|
24430
24430
|
};
|
|
24431
|
-
const _sfc_main$
|
|
24431
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
24432
24432
|
__name: "SearchResultGeneratedBadge",
|
|
24433
24433
|
props: {
|
|
24434
24434
|
options: {},
|
|
@@ -24461,11 +24461,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
24461
24461
|
class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
|
|
24462
24462
|
style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
|
|
24463
24463
|
}, [
|
|
24464
|
-
createElementVNode("span", _hoisted_1$
|
|
24464
|
+
createElementVNode("span", _hoisted_1$16, [
|
|
24465
24465
|
image.value ? (openBlock(), createElementBlock("img", {
|
|
24466
24466
|
key: 0,
|
|
24467
24467
|
src: image.value
|
|
24468
|
-
}, null, 8, _hoisted_2$
|
|
24468
|
+
}, null, 8, _hoisted_2$N)) : createCommentVNode("", true),
|
|
24469
24469
|
hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$z, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
|
|
24470
24470
|
]),
|
|
24471
24471
|
hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
|
|
@@ -24473,8 +24473,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
24473
24473
|
};
|
|
24474
24474
|
}
|
|
24475
24475
|
});
|
|
24476
|
-
const _hoisted_1$
|
|
24477
|
-
const _sfc_main$
|
|
24476
|
+
const _hoisted_1$15 = { class: "lupa-generated-badges" };
|
|
24477
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
24478
24478
|
__name: "SearchResultGeneratedBadges",
|
|
24479
24479
|
props: {
|
|
24480
24480
|
options: {}
|
|
@@ -24500,9 +24500,9 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
24500
24500
|
})).filter((b) => Boolean(b.id));
|
|
24501
24501
|
});
|
|
24502
24502
|
return (_ctx, _cache) => {
|
|
24503
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24503
|
+
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
24504
24504
|
(openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
|
|
24505
|
-
return openBlock(), createBlock(_sfc_main$
|
|
24505
|
+
return openBlock(), createBlock(_sfc_main$1g, {
|
|
24506
24506
|
key: badge.id,
|
|
24507
24507
|
badge,
|
|
24508
24508
|
options: _ctx.options
|
|
@@ -24512,8 +24512,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
24512
24512
|
};
|
|
24513
24513
|
}
|
|
24514
24514
|
});
|
|
24515
|
-
const _hoisted_1$
|
|
24516
|
-
const _sfc_main$
|
|
24515
|
+
const _hoisted_1$14 = ["innerHTML"];
|
|
24516
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
24517
24517
|
__name: "CustomBadge",
|
|
24518
24518
|
props: {
|
|
24519
24519
|
badge: {}
|
|
@@ -24534,12 +24534,12 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
24534
24534
|
return openBlock(), createElementBlock("div", {
|
|
24535
24535
|
class: normalizeClass(className.value),
|
|
24536
24536
|
innerHTML: text.value
|
|
24537
|
-
}, null, 10, _hoisted_1$
|
|
24537
|
+
}, null, 10, _hoisted_1$14);
|
|
24538
24538
|
};
|
|
24539
24539
|
}
|
|
24540
24540
|
});
|
|
24541
|
-
const _hoisted_1$
|
|
24542
|
-
const _sfc_main$
|
|
24541
|
+
const _hoisted_1$13 = { class: "lupa-text-badges" };
|
|
24542
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
24543
24543
|
__name: "TextBadge",
|
|
24544
24544
|
props: {
|
|
24545
24545
|
badge: {}
|
|
@@ -24553,7 +24553,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
24553
24553
|
return badges.value.slice(0, props.badge.maxItems);
|
|
24554
24554
|
});
|
|
24555
24555
|
return (_ctx, _cache) => {
|
|
24556
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24556
|
+
return openBlock(), createElementBlock("div", _hoisted_1$13, [
|
|
24557
24557
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
|
|
24558
24558
|
return openBlock(), createElementBlock("div", {
|
|
24559
24559
|
class: "lupa-badge lupa-text-badge",
|
|
@@ -24564,9 +24564,9 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
24564
24564
|
};
|
|
24565
24565
|
}
|
|
24566
24566
|
});
|
|
24567
|
-
const _hoisted_1$
|
|
24568
|
-
const _hoisted_2$
|
|
24569
|
-
const _sfc_main$
|
|
24567
|
+
const _hoisted_1$12 = { class: "lupa-image-badges" };
|
|
24568
|
+
const _hoisted_2$M = ["src"];
|
|
24569
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
24570
24570
|
__name: "ImageBadge",
|
|
24571
24571
|
props: {
|
|
24572
24572
|
badge: {}
|
|
@@ -24586,7 +24586,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
24586
24586
|
return `${props.badge.rootImageUrl}${src}`;
|
|
24587
24587
|
};
|
|
24588
24588
|
return (_ctx, _cache) => {
|
|
24589
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24589
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
24590
24590
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
|
|
24591
24591
|
return openBlock(), createElementBlock("div", {
|
|
24592
24592
|
class: "lupa-badge lupa-image-badge",
|
|
@@ -24594,14 +24594,14 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
24594
24594
|
}, [
|
|
24595
24595
|
createElementVNode("img", {
|
|
24596
24596
|
src: getImageUrl(item)
|
|
24597
|
-
}, null, 8, _hoisted_2$
|
|
24597
|
+
}, null, 8, _hoisted_2$M)
|
|
24598
24598
|
]);
|
|
24599
24599
|
}), 128))
|
|
24600
24600
|
]);
|
|
24601
24601
|
};
|
|
24602
24602
|
}
|
|
24603
24603
|
});
|
|
24604
|
-
const _sfc_main$
|
|
24604
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
24605
24605
|
__name: "DiscountBadge",
|
|
24606
24606
|
props: {
|
|
24607
24607
|
badge: {}
|
|
@@ -24663,16 +24663,16 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
24663
24663
|
};
|
|
24664
24664
|
}
|
|
24665
24665
|
});
|
|
24666
|
-
const _hoisted_1$
|
|
24666
|
+
const _hoisted_1$11 = { id: "lupa-search-results-badges" };
|
|
24667
24667
|
const __default__$3 = {
|
|
24668
24668
|
components: {
|
|
24669
|
-
CustomBadge: _sfc_main$
|
|
24670
|
-
TextBadge: _sfc_main$
|
|
24671
|
-
ImageBadge: _sfc_main$
|
|
24672
|
-
DiscountBadge: _sfc_main$
|
|
24669
|
+
CustomBadge: _sfc_main$1e,
|
|
24670
|
+
TextBadge: _sfc_main$1d,
|
|
24671
|
+
ImageBadge: _sfc_main$1c,
|
|
24672
|
+
DiscountBadge: _sfc_main$1b
|
|
24673
24673
|
}
|
|
24674
24674
|
};
|
|
24675
|
-
const _sfc_main$
|
|
24675
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
|
|
24676
24676
|
__name: "SearchResultsBadgeWrapper",
|
|
24677
24677
|
props: {
|
|
24678
24678
|
position: {},
|
|
@@ -24735,7 +24735,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
|
|
|
24735
24735
|
}
|
|
24736
24736
|
};
|
|
24737
24737
|
return (_ctx, _cache) => {
|
|
24738
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
24738
|
+
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
24739
24739
|
createElementVNode("div", {
|
|
24740
24740
|
id: "lupa-badges",
|
|
24741
24741
|
class: normalizeClass(anchorPosition.value)
|
|
@@ -24746,7 +24746,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
|
|
|
24746
24746
|
badge
|
|
24747
24747
|
}, null, 8, ["badge"]);
|
|
24748
24748
|
}), 128)),
|
|
24749
|
-
positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$
|
|
24749
|
+
positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1f, {
|
|
24750
24750
|
key: 0,
|
|
24751
24751
|
options: _ctx.options
|
|
24752
24752
|
}, null, 8, ["options"])) : createCommentVNode("", true)
|
|
@@ -24755,13 +24755,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
|
|
|
24755
24755
|
};
|
|
24756
24756
|
}
|
|
24757
24757
|
}));
|
|
24758
|
-
const _hoisted_1
|
|
24759
|
-
const _hoisted_2$
|
|
24758
|
+
const _hoisted_1$10 = ["href"];
|
|
24759
|
+
const _hoisted_2$L = { class: "lupa-search-box-product-details-section" };
|
|
24760
24760
|
const _hoisted_3$y = {
|
|
24761
24761
|
key: 0,
|
|
24762
24762
|
class: "lupa-search-box-product-add-to-cart-section"
|
|
24763
24763
|
};
|
|
24764
|
-
const _sfc_main$
|
|
24764
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
24765
24765
|
__name: "SearchBoxProduct",
|
|
24766
24766
|
props: {
|
|
24767
24767
|
item: {},
|
|
@@ -24867,7 +24867,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
24867
24867
|
style: normalizeStyle(imageStyleOverride.value)
|
|
24868
24868
|
}, [
|
|
24869
24869
|
(openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
|
|
24870
|
-
return openBlock(), createBlock(_sfc_main$
|
|
24870
|
+
return openBlock(), createBlock(_sfc_main$1h, {
|
|
24871
24871
|
class: "lupa-search-box-product-element",
|
|
24872
24872
|
key: element.key,
|
|
24873
24873
|
item: _ctx.item,
|
|
@@ -24877,10 +24877,10 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
24877
24877
|
}, null, 8, ["item", "element", "labels", "link"]);
|
|
24878
24878
|
}), 128))
|
|
24879
24879
|
], 4),
|
|
24880
|
-
createElementVNode("div", _hoisted_2$
|
|
24880
|
+
createElementVNode("div", _hoisted_2$L, [
|
|
24881
24881
|
(openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
|
|
24882
24882
|
var _a25;
|
|
24883
|
-
return openBlock(), createBlock(_sfc_main$
|
|
24883
|
+
return openBlock(), createBlock(_sfc_main$1h, {
|
|
24884
24884
|
class: "lupa-search-box-product-element",
|
|
24885
24885
|
key: element.key,
|
|
24886
24886
|
item: _ctx.item,
|
|
@@ -24891,7 +24891,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
24891
24891
|
((_a25 = badgeOptions.value) == null ? void 0 : _a25.anchorElementKey) === element.key ? {
|
|
24892
24892
|
name: "badges",
|
|
24893
24893
|
fn: withCtx(() => [
|
|
24894
|
-
createVNode(_sfc_main$
|
|
24894
|
+
createVNode(_sfc_main$1a, {
|
|
24895
24895
|
options: badgeOptions.value,
|
|
24896
24896
|
position: "card"
|
|
24897
24897
|
}, null, 8, ["options"])
|
|
@@ -24907,7 +24907,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
24907
24907
|
class: normalizeClass(`lupa-search-box-group-${group}`)
|
|
24908
24908
|
}, [
|
|
24909
24909
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
|
|
24910
|
-
return openBlock(), createBlock(_sfc_main$
|
|
24910
|
+
return openBlock(), createBlock(_sfc_main$1h, {
|
|
24911
24911
|
class: "lupa-search-box-product-element",
|
|
24912
24912
|
key: element.key,
|
|
24913
24913
|
item: _ctx.item,
|
|
@@ -24920,7 +24920,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
24920
24920
|
], 2);
|
|
24921
24921
|
}), 128)),
|
|
24922
24922
|
addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
|
|
24923
|
-
createVNode(_sfc_main$
|
|
24923
|
+
createVNode(_sfc_main$1h, {
|
|
24924
24924
|
class: "lupa-search-box-product-element",
|
|
24925
24925
|
item: _ctx.item,
|
|
24926
24926
|
element: addToCartElement.value,
|
|
@@ -24929,7 +24929,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
24929
24929
|
isInStock: isInStock.value
|
|
24930
24930
|
}, null, 8, ["item", "element", "labels", "link", "isInStock"])
|
|
24931
24931
|
])) : createCommentVNode("", true)
|
|
24932
|
-
], 16, _hoisted_1
|
|
24932
|
+
], 16, _hoisted_1$10);
|
|
24933
24933
|
};
|
|
24934
24934
|
}
|
|
24935
24935
|
});
|
|
@@ -25001,8 +25001,8 @@ const useTrackingStore = /* @__PURE__ */ defineStore("tracking", () => {
|
|
|
25001
25001
|
};
|
|
25002
25002
|
return { trackSearch, trackResults, trackEvent, trackDelayedEvent };
|
|
25003
25003
|
});
|
|
25004
|
-
const _hoisted_1
|
|
25005
|
-
const _sfc_main$
|
|
25004
|
+
const _hoisted_1$$ = { id: "lupa-search-box-products" };
|
|
25005
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
25006
25006
|
__name: "SearchBoxProducts",
|
|
25007
25007
|
props: {
|
|
25008
25008
|
items: {},
|
|
@@ -25074,7 +25074,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
25074
25074
|
}
|
|
25075
25075
|
};
|
|
25076
25076
|
return (_ctx, _cache) => {
|
|
25077
|
-
return openBlock(), createElementBlock("div", _hoisted_1
|
|
25077
|
+
return openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
25078
25078
|
_ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
|
|
25079
25079
|
return renderSlot(_ctx.$slots, "productCard", {
|
|
25080
25080
|
key: index,
|
|
@@ -25086,7 +25086,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
25086
25086
|
itemClicked: handleProductClick
|
|
25087
25087
|
});
|
|
25088
25088
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.items, (item, index) => {
|
|
25089
|
-
return openBlock(), createBlock(_sfc_main$
|
|
25089
|
+
return openBlock(), createBlock(_sfc_main$19, {
|
|
25090
25090
|
key: index,
|
|
25091
25091
|
item,
|
|
25092
25092
|
panelOptions: _ctx.panelOptions,
|
|
@@ -25101,9 +25101,9 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
25101
25101
|
};
|
|
25102
25102
|
}
|
|
25103
25103
|
});
|
|
25104
|
-
const _hoisted_1$
|
|
25105
|
-
const _hoisted_2$
|
|
25106
|
-
const _sfc_main$
|
|
25104
|
+
const _hoisted_1$_ = { class: "lupa-search-box-documents-go-to-results-wrapper" };
|
|
25105
|
+
const _hoisted_2$K = { key: 0 };
|
|
25106
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
25107
25107
|
__name: "SearchBoxProductsGoToResultsButton",
|
|
25108
25108
|
props: {
|
|
25109
25109
|
options: {},
|
|
@@ -25134,13 +25134,13 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
25134
25134
|
emit("goToResults");
|
|
25135
25135
|
};
|
|
25136
25136
|
return (_ctx, _cache) => {
|
|
25137
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
25137
|
+
return openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
25138
25138
|
createElementVNode("button", {
|
|
25139
25139
|
class: "lupa-search-box-documents-go-to-results-button",
|
|
25140
25140
|
onClick: goToResults
|
|
25141
25141
|
}, [
|
|
25142
25142
|
createTextVNode(toDisplayString(goToResultsLabel.value) + " ", 1),
|
|
25143
|
-
totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
25143
|
+
totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$K, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
|
|
25144
25144
|
])
|
|
25145
25145
|
]);
|
|
25146
25146
|
};
|
|
@@ -25227,7 +25227,7 @@ const processExtractionObject = (value = {}) => {
|
|
|
25227
25227
|
}
|
|
25228
25228
|
return parsedObject;
|
|
25229
25229
|
};
|
|
25230
|
-
const _sfc_main$
|
|
25230
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
25231
25231
|
__name: "SearchBoxProductsWrapper",
|
|
25232
25232
|
props: {
|
|
25233
25233
|
panel: {},
|
|
@@ -25297,7 +25297,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
25297
25297
|
watch(() => props.panel.limit, getItemsDebounced);
|
|
25298
25298
|
return (_ctx, _cache) => {
|
|
25299
25299
|
var _a25, _b25;
|
|
25300
|
-
return openBlock(), createBlock(_sfc_main$
|
|
25300
|
+
return openBlock(), createBlock(_sfc_main$18, {
|
|
25301
25301
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
25302
25302
|
panelOptions: _ctx.panel,
|
|
25303
25303
|
labels: _ctx.labels,
|
|
@@ -25307,7 +25307,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
25307
25307
|
default: withCtx(() => {
|
|
25308
25308
|
var _a26;
|
|
25309
25309
|
return [
|
|
25310
|
-
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$
|
|
25310
|
+
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$17, {
|
|
25311
25311
|
key: 0,
|
|
25312
25312
|
options: _ctx.searchBoxOptions,
|
|
25313
25313
|
panel: _ctx.panel,
|
|
@@ -25328,7 +25328,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
25328
25328
|
};
|
|
25329
25329
|
}
|
|
25330
25330
|
});
|
|
25331
|
-
const _sfc_main$
|
|
25331
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
25332
25332
|
__name: "SearchBoxRelatedSourceWrapper",
|
|
25333
25333
|
props: {
|
|
25334
25334
|
panel: {},
|
|
@@ -25400,7 +25400,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
25400
25400
|
});
|
|
25401
25401
|
return (_ctx, _cache) => {
|
|
25402
25402
|
var _a25, _b25;
|
|
25403
|
-
return openBlock(), createBlock(_sfc_main$
|
|
25403
|
+
return openBlock(), createBlock(_sfc_main$18, {
|
|
25404
25404
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
25405
25405
|
panelOptions: documentPanelOptions.value,
|
|
25406
25406
|
labels: _ctx.labels,
|
|
@@ -25418,11 +25418,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
25418
25418
|
};
|
|
25419
25419
|
}
|
|
25420
25420
|
});
|
|
25421
|
-
const _hoisted_1$
|
|
25421
|
+
const _hoisted_1$Z = {
|
|
25422
25422
|
key: 0,
|
|
25423
25423
|
id: "lupa-search-box-panel"
|
|
25424
25424
|
};
|
|
25425
|
-
const _hoisted_2$
|
|
25425
|
+
const _hoisted_2$J = ["data-cy"];
|
|
25426
25426
|
const _hoisted_3$x = {
|
|
25427
25427
|
key: 0,
|
|
25428
25428
|
class: "lupa-panel-title lupa-panel-title-top-results"
|
|
@@ -25437,12 +25437,12 @@ const _hoisted_5$g = {
|
|
|
25437
25437
|
};
|
|
25438
25438
|
const __default__$2 = {
|
|
25439
25439
|
components: {
|
|
25440
|
-
SearchBoxSuggestionsWrapper: _sfc_main$
|
|
25441
|
-
SearchBoxProductsWrapper: _sfc_main$
|
|
25442
|
-
SearchBoxRelatedSourceWrapper: _sfc_main$
|
|
25440
|
+
SearchBoxSuggestionsWrapper: _sfc_main$1r,
|
|
25441
|
+
SearchBoxProductsWrapper: _sfc_main$16,
|
|
25442
|
+
SearchBoxRelatedSourceWrapper: _sfc_main$15
|
|
25443
25443
|
}
|
|
25444
25444
|
};
|
|
25445
|
-
const _sfc_main$
|
|
25445
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
|
|
25446
25446
|
__name: "SearchBoxMainPanel",
|
|
25447
25447
|
props: {
|
|
25448
25448
|
options: {},
|
|
@@ -25600,7 +25600,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
|
|
|
25600
25600
|
ref_key: "panelContainer",
|
|
25601
25601
|
ref: panelContainer
|
|
25602
25602
|
}, [
|
|
25603
|
-
displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
25603
|
+
displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
25604
25604
|
labels.value.closePanel ? (openBlock(), createElementBlock("a", {
|
|
25605
25605
|
key: 0,
|
|
25606
25606
|
class: "lupa-search-box-close-panel",
|
|
@@ -25645,21 +25645,21 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
|
|
|
25645
25645
|
key: "0"
|
|
25646
25646
|
} : void 0
|
|
25647
25647
|
]), 1064, ["panel", "search-box-options", "options", "debounce", "inputValue", "labels"])) : createCommentVNode("", true)
|
|
25648
|
-
], 14, _hoisted_2$
|
|
25648
|
+
], 14, _hoisted_2$J);
|
|
25649
25649
|
}), 128))
|
|
25650
25650
|
], 4),
|
|
25651
|
-
!unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$
|
|
25651
|
+
!unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1u, {
|
|
25652
25652
|
key: 1,
|
|
25653
25653
|
labels: labels.value
|
|
25654
25654
|
}, null, 8, ["labels"])) : createCommentVNode("", true),
|
|
25655
|
-
unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$
|
|
25655
|
+
unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1x, {
|
|
25656
25656
|
key: 2,
|
|
25657
25657
|
labels: labels.value,
|
|
25658
25658
|
options: _ctx.options,
|
|
25659
25659
|
onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
|
|
25660
25660
|
}, null, 8, ["labels", "options"])) : createCommentVNode("", true)
|
|
25661
25661
|
])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
|
|
25662
|
-
createVNode(_sfc_main$
|
|
25662
|
+
createVNode(_sfc_main$1v, {
|
|
25663
25663
|
options: _ctx.options.history,
|
|
25664
25664
|
history: history.value,
|
|
25665
25665
|
onGoToResults: handleGoToResults,
|
|
@@ -25684,8 +25684,8 @@ const unbindSearchTriggers = (triggers = [], event) => {
|
|
|
25684
25684
|
const elements = getElements(triggers);
|
|
25685
25685
|
elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
|
|
25686
25686
|
};
|
|
25687
|
-
const _hoisted_1$
|
|
25688
|
-
const _sfc_main$
|
|
25687
|
+
const _hoisted_1$Y = { class: "lupa-search-box-wrapper" };
|
|
25688
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
25689
25689
|
__name: "SearchBox",
|
|
25690
25690
|
props: {
|
|
25691
25691
|
options: {},
|
|
@@ -26007,8 +26007,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
26007
26007
|
id: "lupa-search-box",
|
|
26008
26008
|
class: normalizeClass({ "lupa-search-box-opened": opened.value })
|
|
26009
26009
|
}, [
|
|
26010
|
-
createElementVNode("div", _hoisted_1$
|
|
26011
|
-
createVNode(_sfc_main$
|
|
26010
|
+
createElementVNode("div", _hoisted_1$Y, [
|
|
26011
|
+
createVNode(_sfc_main$1y, {
|
|
26012
26012
|
options: inputOptions.value,
|
|
26013
26013
|
suggestedValue: suggestedValue.value,
|
|
26014
26014
|
"can-close": (_a26 = _ctx.isSearchContainer) != null ? _a26 : false,
|
|
@@ -26021,7 +26021,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
26021
26021
|
onSearch: handleSearch,
|
|
26022
26022
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
26023
26023
|
}, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
|
|
26024
|
-
opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$
|
|
26024
|
+
opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$14, {
|
|
26025
26025
|
key: 0,
|
|
26026
26026
|
options: panelOptions.value,
|
|
26027
26027
|
inputValue: inputValue.value,
|
|
@@ -26125,11 +26125,11 @@ const getInitialSearchResults = (options, getQueryParamName, defaultData) => __a
|
|
|
26125
26125
|
options.options.onError(e2);
|
|
26126
26126
|
}
|
|
26127
26127
|
});
|
|
26128
|
-
const _hoisted_1$
|
|
26128
|
+
const _hoisted_1$X = {
|
|
26129
26129
|
key: 0,
|
|
26130
26130
|
id: "lupa-search-results-did-you-mean"
|
|
26131
26131
|
};
|
|
26132
|
-
const _hoisted_2$
|
|
26132
|
+
const _hoisted_2$I = {
|
|
26133
26133
|
key: 0,
|
|
26134
26134
|
"data-cy": "suggested-search-text-label"
|
|
26135
26135
|
};
|
|
@@ -26138,7 +26138,7 @@ const _hoisted_3$w = {
|
|
|
26138
26138
|
"data-cy": "did-you-mean-label"
|
|
26139
26139
|
};
|
|
26140
26140
|
const _hoisted_4$n = { key: 1 };
|
|
26141
|
-
const _sfc_main$
|
|
26141
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
26142
26142
|
__name: "SearchResultsDidYouMean",
|
|
26143
26143
|
props: {
|
|
26144
26144
|
labels: {}
|
|
@@ -26170,8 +26170,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
26170
26170
|
paramStore.goToResults({ searchText, facet });
|
|
26171
26171
|
};
|
|
26172
26172
|
return (_ctx, _cache) => {
|
|
26173
|
-
return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26174
|
-
unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
26173
|
+
return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
26174
|
+
unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
|
|
26175
26175
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
|
|
26176
26176
|
return openBlock(), createElementBlock("span", { key: index }, [
|
|
26177
26177
|
createElementVNode("span", {
|
|
@@ -26196,12 +26196,12 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
26196
26196
|
};
|
|
26197
26197
|
}
|
|
26198
26198
|
});
|
|
26199
|
-
const _hoisted_1$
|
|
26199
|
+
const _hoisted_1$W = {
|
|
26200
26200
|
key: 0,
|
|
26201
26201
|
class: "lupa-search-results-summary"
|
|
26202
26202
|
};
|
|
26203
|
-
const _hoisted_2$
|
|
26204
|
-
const _sfc_main$
|
|
26203
|
+
const _hoisted_2$H = ["innerHTML"];
|
|
26204
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
26205
26205
|
__name: "SearchResultsSummary",
|
|
26206
26206
|
props: {
|
|
26207
26207
|
label: {},
|
|
@@ -26216,8 +26216,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
26216
26216
|
return addParamsToLabel(props.label, range2, `<span>${totalItems.value}</span>`);
|
|
26217
26217
|
});
|
|
26218
26218
|
return (_ctx, _cache) => {
|
|
26219
|
-
return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26220
|
-
createElementVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$
|
|
26219
|
+
return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
26220
|
+
createElementVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$H),
|
|
26221
26221
|
_ctx.clearable ? (openBlock(), createElementBlock("span", {
|
|
26222
26222
|
key: 0,
|
|
26223
26223
|
class: "lupa-filter-clear",
|
|
@@ -26228,19 +26228,19 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
26228
26228
|
};
|
|
26229
26229
|
}
|
|
26230
26230
|
});
|
|
26231
|
-
const _hoisted_1$
|
|
26231
|
+
const _hoisted_1$V = {
|
|
26232
26232
|
key: 0,
|
|
26233
26233
|
class: "lupa-result-page-title",
|
|
26234
26234
|
"data-cy": "lupa-result-page-title"
|
|
26235
26235
|
};
|
|
26236
|
-
const _hoisted_2$
|
|
26236
|
+
const _hoisted_2$G = { key: 0 };
|
|
26237
26237
|
const _hoisted_3$v = {
|
|
26238
26238
|
key: 1,
|
|
26239
26239
|
class: "lupa-results-total-count"
|
|
26240
26240
|
};
|
|
26241
26241
|
const _hoisted_4$m = { class: "lupa-results-total-count-number" };
|
|
26242
26242
|
const _hoisted_5$f = ["innerHTML"];
|
|
26243
|
-
const _sfc_main
|
|
26243
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
26244
26244
|
__name: "SearchResultsTitle",
|
|
26245
26245
|
props: {
|
|
26246
26246
|
options: {},
|
|
@@ -26283,16 +26283,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
26283
26283
|
});
|
|
26284
26284
|
return (_ctx, _cache) => {
|
|
26285
26285
|
return openBlock(), createElementBlock("div", null, [
|
|
26286
|
-
showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$
|
|
26286
|
+
showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$V, [
|
|
26287
26287
|
createTextVNode(toDisplayString(searchResultsTitleTemplate.value || _ctx.options.labels.searchResults), 1),
|
|
26288
|
-
queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
26288
|
+
queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$G, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
|
|
26289
26289
|
showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$v, [
|
|
26290
26290
|
createTextVNode("(" + toDisplayString(searchResultsCountLabel.value), 1),
|
|
26291
26291
|
createElementVNode("span", _hoisted_4$m, toDisplayString(unref(totalItems)), 1),
|
|
26292
26292
|
_cache[0] || (_cache[0] = createTextVNode(")"))
|
|
26293
26293
|
])) : createCommentVNode("", true)
|
|
26294
26294
|
])) : createCommentVNode("", true),
|
|
26295
|
-
_ctx.showSummary ? (openBlock(), createBlock(_sfc_main$
|
|
26295
|
+
_ctx.showSummary ? (openBlock(), createBlock(_sfc_main$11, {
|
|
26296
26296
|
key: 1,
|
|
26297
26297
|
label: summaryLabel.value
|
|
26298
26298
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
@@ -26305,15 +26305,15 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
26305
26305
|
};
|
|
26306
26306
|
}
|
|
26307
26307
|
});
|
|
26308
|
-
const _hoisted_1$
|
|
26308
|
+
const _hoisted_1$U = {
|
|
26309
26309
|
class: "lupa-current-filter-label",
|
|
26310
26310
|
"data-cy": "lupa-current-filter-label"
|
|
26311
26311
|
};
|
|
26312
|
-
const _hoisted_2$
|
|
26312
|
+
const _hoisted_2$F = {
|
|
26313
26313
|
class: "lupa-current-filter-value",
|
|
26314
26314
|
"data-cy": "lupa-current-filter-value"
|
|
26315
26315
|
};
|
|
26316
|
-
const _sfc_main
|
|
26316
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
26317
26317
|
__name: "CurrentFilterDisplay",
|
|
26318
26318
|
props: {
|
|
26319
26319
|
filter: {}
|
|
@@ -26355,14 +26355,14 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
26355
26355
|
onClick: handleClick,
|
|
26356
26356
|
"aria-label": "Remove filter"
|
|
26357
26357
|
}, "⨉"),
|
|
26358
|
-
createElementVNode("div", _hoisted_1$
|
|
26359
|
-
createElementVNode("div", _hoisted_2$
|
|
26358
|
+
createElementVNode("div", _hoisted_1$U, toDisplayString(_ctx.filter.label) + ": ", 1),
|
|
26359
|
+
createElementVNode("div", _hoisted_2$F, toDisplayString(formatFilterValue(props.filter)), 1)
|
|
26360
26360
|
], 2);
|
|
26361
26361
|
};
|
|
26362
26362
|
}
|
|
26363
26363
|
});
|
|
26364
|
-
const _hoisted_1$
|
|
26365
|
-
const _hoisted_2$
|
|
26364
|
+
const _hoisted_1$T = { class: "lupa-filter-title-text" };
|
|
26365
|
+
const _hoisted_2$E = {
|
|
26366
26366
|
key: 0,
|
|
26367
26367
|
class: "lupa-filter-count"
|
|
26368
26368
|
};
|
|
@@ -26371,7 +26371,7 @@ const _hoisted_3$u = {
|
|
|
26371
26371
|
class: "filter-values"
|
|
26372
26372
|
};
|
|
26373
26373
|
const _hoisted_4$l = { class: "lupa-current-filter-list" };
|
|
26374
|
-
const _sfc_main$
|
|
26374
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
26375
26375
|
__name: "CurrentFilters",
|
|
26376
26376
|
props: {
|
|
26377
26377
|
options: {},
|
|
@@ -26452,9 +26452,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
26452
26452
|
class: "lupa-current-filter-title",
|
|
26453
26453
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
26454
26454
|
}, [
|
|
26455
|
-
createElementVNode("div", _hoisted_1$
|
|
26455
|
+
createElementVNode("div", _hoisted_1$T, [
|
|
26456
26456
|
createTextVNode(toDisplayString((_c = (_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) != null ? _c : "") + " ", 1),
|
|
26457
|
-
_ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
26457
|
+
_ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$E, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
|
|
26458
26458
|
]),
|
|
26459
26459
|
_ctx.expandable ? (openBlock(), createElementBlock("div", {
|
|
26460
26460
|
key: 0,
|
|
@@ -26464,7 +26464,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
26464
26464
|
!_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
|
|
26465
26465
|
createElementVNode("div", _hoisted_4$l, [
|
|
26466
26466
|
(openBlock(true), createElementBlock(Fragment, null, renderList(currentDisplayFilters.value, (filter) => {
|
|
26467
|
-
return openBlock(), createBlock(_sfc_main
|
|
26467
|
+
return openBlock(), createBlock(_sfc_main$$, {
|
|
26468
26468
|
key: filter.key + "_" + filter.value,
|
|
26469
26469
|
filter,
|
|
26470
26470
|
units: units.value,
|
|
@@ -26482,8 +26482,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
26482
26482
|
};
|
|
26483
26483
|
}
|
|
26484
26484
|
});
|
|
26485
|
-
const _hoisted_1$
|
|
26486
|
-
const _sfc_main$
|
|
26485
|
+
const _hoisted_1$S = ["href"];
|
|
26486
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
26487
26487
|
__name: "CategoryFilterItem",
|
|
26488
26488
|
props: {
|
|
26489
26489
|
options: {},
|
|
@@ -26520,20 +26520,20 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
26520
26520
|
"data-cy": "lupa-child-category-item",
|
|
26521
26521
|
href: urlLink.value,
|
|
26522
26522
|
onClick: handleNavigation
|
|
26523
|
-
}, toDisplayString(title.value), 9, _hoisted_1$
|
|
26523
|
+
}, toDisplayString(title.value), 9, _hoisted_1$S)
|
|
26524
26524
|
], 2);
|
|
26525
26525
|
};
|
|
26526
26526
|
}
|
|
26527
26527
|
});
|
|
26528
|
-
const _hoisted_1$
|
|
26528
|
+
const _hoisted_1$R = {
|
|
26529
26529
|
class: "lupa-category-filter",
|
|
26530
26530
|
"data-cy": "lupa-category-filter"
|
|
26531
26531
|
};
|
|
26532
|
-
const _hoisted_2$
|
|
26532
|
+
const _hoisted_2$D = { class: "lupa-category-back" };
|
|
26533
26533
|
const _hoisted_3$t = ["href"];
|
|
26534
26534
|
const _hoisted_4$k = ["href"];
|
|
26535
26535
|
const _hoisted_5$e = { class: "lupa-child-category-list" };
|
|
26536
|
-
const _sfc_main$
|
|
26536
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
26537
26537
|
__name: "CategoryFilter",
|
|
26538
26538
|
props: {
|
|
26539
26539
|
options: {}
|
|
@@ -26621,8 +26621,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
26621
26621
|
};
|
|
26622
26622
|
__expose({ fetch: fetch2 });
|
|
26623
26623
|
return (_ctx, _cache) => {
|
|
26624
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26625
|
-
createElementVNode("div", _hoisted_2$
|
|
26624
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
26625
|
+
createElementVNode("div", _hoisted_2$D, [
|
|
26626
26626
|
hasBackButton.value ? (openBlock(), createElementBlock("a", {
|
|
26627
26627
|
key: 0,
|
|
26628
26628
|
"data-cy": "lupa-category-back",
|
|
@@ -26642,7 +26642,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
26642
26642
|
], 2),
|
|
26643
26643
|
createElementVNode("div", _hoisted_5$e, [
|
|
26644
26644
|
(openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
|
|
26645
|
-
return openBlock(), createBlock(_sfc_main$
|
|
26645
|
+
return openBlock(), createBlock(_sfc_main$Z, {
|
|
26646
26646
|
key: getCategoryKey(child),
|
|
26647
26647
|
item: child,
|
|
26648
26648
|
options: _ctx.options
|
|
@@ -26653,11 +26653,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
26653
26653
|
};
|
|
26654
26654
|
}
|
|
26655
26655
|
});
|
|
26656
|
-
const _hoisted_1$
|
|
26656
|
+
const _hoisted_1$Q = {
|
|
26657
26657
|
class: "lupa-search-result-facet-term-values",
|
|
26658
26658
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
26659
26659
|
};
|
|
26660
|
-
const _hoisted_2$
|
|
26660
|
+
const _hoisted_2$C = ["placeholder"];
|
|
26661
26661
|
const _hoisted_3$s = { class: "lupa-terms-list" };
|
|
26662
26662
|
const _hoisted_4$j = ["onClick"];
|
|
26663
26663
|
const _hoisted_5$d = { class: "lupa-term-checkbox-wrapper" };
|
|
@@ -26668,7 +26668,7 @@ const _hoisted_7$4 = {
|
|
|
26668
26668
|
};
|
|
26669
26669
|
const _hoisted_8$2 = { key: 0 };
|
|
26670
26670
|
const _hoisted_9$2 = { key: 1 };
|
|
26671
|
-
const _sfc_main$
|
|
26671
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
26672
26672
|
__name: "TermFacet",
|
|
26673
26673
|
props: {
|
|
26674
26674
|
options: {},
|
|
@@ -26758,14 +26758,14 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
26758
26758
|
}
|
|
26759
26759
|
};
|
|
26760
26760
|
return (_ctx, _cache) => {
|
|
26761
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26761
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Q, [
|
|
26762
26762
|
isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
|
|
26763
26763
|
key: 0,
|
|
26764
26764
|
class: "lupa-term-filter",
|
|
26765
26765
|
"data-cy": "lupa-term-filter",
|
|
26766
26766
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
|
|
26767
26767
|
placeholder: _ctx.options.labels.facetFilter
|
|
26768
|
-
}, null, 8, _hoisted_2$
|
|
26768
|
+
}, null, 8, _hoisted_2$C)), [
|
|
26769
26769
|
[vModelText, termFilter.value]
|
|
26770
26770
|
]) : createCommentVNode("", true),
|
|
26771
26771
|
createElementVNode("div", _hoisted_3$s, [
|
|
@@ -27695,8 +27695,8 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
|
|
|
27695
27695
|
m.render = function(e2, t, r, i, n, o) {
|
|
27696
27696
|
return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
|
|
27697
27697
|
}, m.__file = "src/Slider.vue";
|
|
27698
|
-
const _hoisted_1$
|
|
27699
|
-
const _hoisted_2$
|
|
27698
|
+
const _hoisted_1$P = { class: "lupa-search-result-facet-stats-values" };
|
|
27699
|
+
const _hoisted_2$B = {
|
|
27700
27700
|
key: 0,
|
|
27701
27701
|
class: "lupa-stats-facet-summary"
|
|
27702
27702
|
};
|
|
@@ -27724,7 +27724,7 @@ const _hoisted_14 = {
|
|
|
27724
27724
|
key: 2,
|
|
27725
27725
|
class: "lupa-stats-slider-wrapper"
|
|
27726
27726
|
};
|
|
27727
|
-
const _sfc_main$
|
|
27727
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
27728
27728
|
__name: "StatsFacet",
|
|
27729
27729
|
props: {
|
|
27730
27730
|
options: {},
|
|
@@ -27940,8 +27940,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
27940
27940
|
}
|
|
27941
27941
|
);
|
|
27942
27942
|
return (_ctx, _cache) => {
|
|
27943
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27944
|
-
!isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
27943
|
+
return openBlock(), createElementBlock("div", _hoisted_1$P, [
|
|
27944
|
+
!isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
|
|
27945
27945
|
createElementVNode("div", _hoisted_4$i, [
|
|
27946
27946
|
rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
|
|
27947
27947
|
withDirectives(createElementVNode("input", {
|
|
@@ -28005,8 +28005,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
28005
28005
|
};
|
|
28006
28006
|
}
|
|
28007
28007
|
});
|
|
28008
|
-
const _hoisted_1$
|
|
28009
|
-
const _hoisted_2$
|
|
28008
|
+
const _hoisted_1$O = { class: "lupa-term-checkbox-wrapper" };
|
|
28009
|
+
const _hoisted_2$A = { class: "lupa-term-label" };
|
|
28010
28010
|
const _hoisted_3$q = {
|
|
28011
28011
|
key: 0,
|
|
28012
28012
|
class: "lupa-term-count"
|
|
@@ -28015,7 +28015,7 @@ const _hoisted_4$h = {
|
|
|
28015
28015
|
key: 0,
|
|
28016
28016
|
class: "lupa-facet-level"
|
|
28017
28017
|
};
|
|
28018
|
-
const _sfc_main$
|
|
28018
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
28019
28019
|
__name: "HierarchyFacetLevel",
|
|
28020
28020
|
props: {
|
|
28021
28021
|
options: {},
|
|
@@ -28069,7 +28069,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
28069
28069
|
"data-cy": "lupa-facet-term",
|
|
28070
28070
|
onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
|
|
28071
28071
|
}, [
|
|
28072
|
-
createElementVNode("div", _hoisted_1$
|
|
28072
|
+
createElementVNode("div", _hoisted_1$O, [
|
|
28073
28073
|
createElementVNode("span", {
|
|
28074
28074
|
class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
|
|
28075
28075
|
}, null, 2)
|
|
@@ -28077,7 +28077,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
28077
28077
|
createElementVNode("div", {
|
|
28078
28078
|
class: normalizeClass(["lupa-term-checkbox-label", { [getFacetValueClass(_ctx.item)]: true }])
|
|
28079
28079
|
}, [
|
|
28080
|
-
createElementVNode("span", _hoisted_2$
|
|
28080
|
+
createElementVNode("span", _hoisted_2$A, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
|
|
28081
28081
|
_ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_3$q, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
|
|
28082
28082
|
], 2)
|
|
28083
28083
|
]),
|
|
@@ -28097,13 +28097,13 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
28097
28097
|
};
|
|
28098
28098
|
}
|
|
28099
28099
|
});
|
|
28100
|
-
const _hoisted_1$
|
|
28100
|
+
const _hoisted_1$N = {
|
|
28101
28101
|
class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
|
|
28102
28102
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
28103
28103
|
};
|
|
28104
|
-
const _hoisted_2$
|
|
28104
|
+
const _hoisted_2$z = { key: 0 };
|
|
28105
28105
|
const _hoisted_3$p = ["placeholder"];
|
|
28106
|
-
const _sfc_main$
|
|
28106
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
28107
28107
|
__name: "HierarchyFacet",
|
|
28108
28108
|
props: {
|
|
28109
28109
|
options: {},
|
|
@@ -28159,8 +28159,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
28159
28159
|
showAll.value = false;
|
|
28160
28160
|
};
|
|
28161
28161
|
return (_ctx, _cache) => {
|
|
28162
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28163
|
-
isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
28162
|
+
return openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
28163
|
+
isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
|
|
28164
28164
|
withDirectives(createElementVNode("input", {
|
|
28165
28165
|
class: "lupa-term-filter",
|
|
28166
28166
|
"data-cy": "lupa-term-filter",
|
|
@@ -28171,7 +28171,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
28171
28171
|
])
|
|
28172
28172
|
])) : createCommentVNode("", true),
|
|
28173
28173
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayValues.value, (item) => {
|
|
28174
|
-
return openBlock(), createBlock(_sfc_main$
|
|
28174
|
+
return openBlock(), createBlock(_sfc_main$V, {
|
|
28175
28175
|
key: item.title,
|
|
28176
28176
|
options: _ctx.options,
|
|
28177
28177
|
item,
|
|
@@ -28195,20 +28195,20 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
28195
28195
|
};
|
|
28196
28196
|
}
|
|
28197
28197
|
});
|
|
28198
|
-
const _hoisted_1$
|
|
28199
|
-
const _hoisted_2$
|
|
28198
|
+
const _hoisted_1$M = { class: "lupa-facet-label-text" };
|
|
28199
|
+
const _hoisted_2$y = {
|
|
28200
28200
|
key: 0,
|
|
28201
28201
|
class: "lupa-facet-content",
|
|
28202
28202
|
"data-cy": "lupa-facet-content"
|
|
28203
28203
|
};
|
|
28204
28204
|
const __default__$1 = {
|
|
28205
28205
|
components: {
|
|
28206
|
-
TermFacet: _sfc_main$
|
|
28207
|
-
StatsFacet: _sfc_main$
|
|
28208
|
-
HierarchyFacet: _sfc_main$
|
|
28206
|
+
TermFacet: _sfc_main$X,
|
|
28207
|
+
StatsFacet: _sfc_main$W,
|
|
28208
|
+
HierarchyFacet: _sfc_main$U
|
|
28209
28209
|
}
|
|
28210
28210
|
};
|
|
28211
|
-
const _sfc_main$
|
|
28211
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$1), {
|
|
28212
28212
|
__name: "FacetDisplay",
|
|
28213
28213
|
props: {
|
|
28214
28214
|
options: {},
|
|
@@ -28330,12 +28330,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
28330
28330
|
"data-cy": "lupa-search-result-facet-label",
|
|
28331
28331
|
onClick: toggleFacet
|
|
28332
28332
|
}, [
|
|
28333
|
-
createElementVNode("div", _hoisted_1$
|
|
28333
|
+
createElementVNode("div", _hoisted_1$M, toDisplayString(facetLabel.value), 1),
|
|
28334
28334
|
createElementVNode("div", {
|
|
28335
28335
|
class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
|
|
28336
28336
|
}, null, 2)
|
|
28337
28337
|
], 2),
|
|
28338
|
-
isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
28338
|
+
isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
28339
28339
|
(openBlock(), createBlock(resolveDynamicComponent(facetType.value), {
|
|
28340
28340
|
facet: facet.value,
|
|
28341
28341
|
currentFilters: currentFilters.value[facet.value.key],
|
|
@@ -28353,12 +28353,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
28353
28353
|
};
|
|
28354
28354
|
}
|
|
28355
28355
|
}));
|
|
28356
|
-
const _hoisted_1$
|
|
28357
|
-
const _hoisted_2$
|
|
28356
|
+
const _hoisted_1$L = { class: "lupa-search-result-facet-section" };
|
|
28357
|
+
const _hoisted_2$x = {
|
|
28358
28358
|
key: 0,
|
|
28359
28359
|
class: "lupa-facets-title"
|
|
28360
28360
|
};
|
|
28361
|
-
const _sfc_main$
|
|
28361
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
28362
28362
|
__name: "FacetList",
|
|
28363
28363
|
props: {
|
|
28364
28364
|
options: {},
|
|
@@ -28393,14 +28393,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
28393
28393
|
};
|
|
28394
28394
|
return (_ctx, _cache) => {
|
|
28395
28395
|
var _a25;
|
|
28396
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28397
|
-
_ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
28396
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
28397
|
+
_ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
|
|
28398
28398
|
createElementVNode("div", {
|
|
28399
28399
|
class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a25 = _ctx.facetStyle) != null ? _a25 : "")])
|
|
28400
28400
|
}, [
|
|
28401
28401
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayFacets.value, (facet) => {
|
|
28402
28402
|
var _a26;
|
|
28403
|
-
return openBlock(), createBlock(_sfc_main$
|
|
28403
|
+
return openBlock(), createBlock(_sfc_main$T, {
|
|
28404
28404
|
key: facet.key,
|
|
28405
28405
|
facet,
|
|
28406
28406
|
currentFilters: currentFiltersValue.value,
|
|
@@ -28415,7 +28415,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
28415
28415
|
};
|
|
28416
28416
|
}
|
|
28417
28417
|
});
|
|
28418
|
-
const _sfc_main$
|
|
28418
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
28419
28419
|
__name: "FacetsButton",
|
|
28420
28420
|
props: {
|
|
28421
28421
|
options: {}
|
|
@@ -28440,8 +28440,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
28440
28440
|
};
|
|
28441
28441
|
}
|
|
28442
28442
|
});
|
|
28443
|
-
const _hoisted_1$
|
|
28444
|
-
const _sfc_main$
|
|
28443
|
+
const _hoisted_1$K = { class: "lupa-facets-filter-button-wrapper" };
|
|
28444
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
28445
28445
|
__name: "Facets",
|
|
28446
28446
|
props: {
|
|
28447
28447
|
options: {},
|
|
@@ -28528,7 +28528,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
28528
28528
|
return openBlock(), createElementBlock("div", {
|
|
28529
28529
|
class: normalizeClass(["lupa-search-result-facets", { "lupa-search-result-facets-loading": unref(loadingFacets) }])
|
|
28530
28530
|
}, [
|
|
28531
|
-
regularFacets.value ? (openBlock(), createBlock(_sfc_main$
|
|
28531
|
+
regularFacets.value ? (openBlock(), createBlock(_sfc_main$S, {
|
|
28532
28532
|
key: 0,
|
|
28533
28533
|
options: _ctx.options,
|
|
28534
28534
|
facets: regularFacets.value,
|
|
@@ -28538,8 +28538,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
28538
28538
|
onSelect: handleFacetSelect,
|
|
28539
28539
|
onClear: clear
|
|
28540
28540
|
}, null, 8, ["options", "facets", "currentFilters", "facetStyle", "clearable"])) : createCommentVNode("", true),
|
|
28541
|
-
createElementVNode("div", _hoisted_1$
|
|
28542
|
-
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
28541
|
+
createElementVNode("div", _hoisted_1$K, [
|
|
28542
|
+
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$R, {
|
|
28543
28543
|
key: 0,
|
|
28544
28544
|
options: _ctx.options,
|
|
28545
28545
|
onFilter: filter
|
|
@@ -28549,12 +28549,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
28549
28549
|
};
|
|
28550
28550
|
}
|
|
28551
28551
|
});
|
|
28552
|
-
const _hoisted_1$
|
|
28552
|
+
const _hoisted_1$J = {
|
|
28553
28553
|
key: 0,
|
|
28554
28554
|
id: "lupa-search-result-filters",
|
|
28555
28555
|
class: "lupa-search-result-filters"
|
|
28556
28556
|
};
|
|
28557
|
-
const _sfc_main$
|
|
28557
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
28558
28558
|
__name: "SearchResultsFilters",
|
|
28559
28559
|
props: {
|
|
28560
28560
|
options: {},
|
|
@@ -28592,19 +28592,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
28592
28592
|
__expose({ fetch: fetch2 });
|
|
28593
28593
|
return (_ctx, _cache) => {
|
|
28594
28594
|
var _a25;
|
|
28595
|
-
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
28596
|
-
showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$
|
|
28595
|
+
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
28596
|
+
showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$_, {
|
|
28597
28597
|
key: 0,
|
|
28598
28598
|
options: _ctx.options.currentFilters,
|
|
28599
28599
|
expandable: (_a25 = _ctx.expandable) != null ? _a25 : false
|
|
28600
28600
|
}, null, 8, ["options", "expandable"])) : createCommentVNode("", true),
|
|
28601
|
-
_ctx.options.categories ? (openBlock(), createBlock(_sfc_main$
|
|
28601
|
+
_ctx.options.categories ? (openBlock(), createBlock(_sfc_main$Y, {
|
|
28602
28602
|
key: 1,
|
|
28603
28603
|
options: _ctx.options.categories,
|
|
28604
28604
|
ref_key: "categoryFilters",
|
|
28605
28605
|
ref: categoryFilters
|
|
28606
28606
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
28607
|
-
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$
|
|
28607
|
+
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
|
|
28608
28608
|
key: 2,
|
|
28609
28609
|
options: _ctx.options.facets,
|
|
28610
28610
|
onFilter: filter
|
|
@@ -28613,11 +28613,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
28613
28613
|
};
|
|
28614
28614
|
}
|
|
28615
28615
|
});
|
|
28616
|
-
const _hoisted_1$
|
|
28616
|
+
const _hoisted_1$I = {
|
|
28617
28617
|
key: 0,
|
|
28618
28618
|
class: "lupa-mobile-filter-sidebar"
|
|
28619
28619
|
};
|
|
28620
|
-
const _hoisted_2$
|
|
28620
|
+
const _hoisted_2$w = { class: "lupa-mobile-sidebar-content" };
|
|
28621
28621
|
const _hoisted_3$o = { class: "lupa-sidebar-top" };
|
|
28622
28622
|
const _hoisted_4$g = { class: "lupa-sidebar-title" };
|
|
28623
28623
|
const _hoisted_5$b = {
|
|
@@ -28625,7 +28625,7 @@ const _hoisted_5$b = {
|
|
|
28625
28625
|
class: "lupa-sidebar-filter-count"
|
|
28626
28626
|
};
|
|
28627
28627
|
const _hoisted_6$5 = { class: "lupa-sidebar-filter-options" };
|
|
28628
|
-
const _sfc_main$
|
|
28628
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
28629
28629
|
__name: "MobileFilterSidebar",
|
|
28630
28630
|
props: {
|
|
28631
28631
|
options: {}
|
|
@@ -28657,12 +28657,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
28657
28657
|
handleMobileToggle();
|
|
28658
28658
|
};
|
|
28659
28659
|
return (_ctx, _cache) => {
|
|
28660
|
-
return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
28660
|
+
return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
28661
28661
|
createElementVNode("div", {
|
|
28662
28662
|
class: "lupa-sidebar-close",
|
|
28663
28663
|
onClick: withModifiers(handleMobileToggle, ["stop"])
|
|
28664
28664
|
}),
|
|
28665
|
-
createElementVNode("div", _hoisted_2$
|
|
28665
|
+
createElementVNode("div", _hoisted_2$w, [
|
|
28666
28666
|
createElementVNode("div", _hoisted_3$o, [
|
|
28667
28667
|
createElementVNode("div", _hoisted_4$g, [
|
|
28668
28668
|
createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
|
|
@@ -28674,7 +28674,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
28674
28674
|
})
|
|
28675
28675
|
]),
|
|
28676
28676
|
createElementVNode("div", _hoisted_6$5, [
|
|
28677
|
-
createVNode(_sfc_main$
|
|
28677
|
+
createVNode(_sfc_main$P, {
|
|
28678
28678
|
options: _ctx.options,
|
|
28679
28679
|
expandable: isActiveFiltersExpanded.value,
|
|
28680
28680
|
onFilter: filter
|
|
@@ -28685,14 +28685,14 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
28685
28685
|
};
|
|
28686
28686
|
}
|
|
28687
28687
|
});
|
|
28688
|
-
const _hoisted_1$
|
|
28689
|
-
const _hoisted_2$
|
|
28688
|
+
const _hoisted_1$H = { id: "lupa-search-results-breadcrumbs" };
|
|
28689
|
+
const _hoisted_2$v = ["href", "onClick"];
|
|
28690
28690
|
const _hoisted_3$n = {
|
|
28691
28691
|
key: 1,
|
|
28692
28692
|
class: "lupa-search-results-breadcrumb-text"
|
|
28693
28693
|
};
|
|
28694
28694
|
const _hoisted_4$f = { key: 2 };
|
|
28695
|
-
const _sfc_main$
|
|
28695
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
28696
28696
|
__name: "SearchResultsBreadcrumbs",
|
|
28697
28697
|
props: {
|
|
28698
28698
|
breadcrumbs: {}
|
|
@@ -28717,7 +28717,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
28717
28717
|
handleRoutingEvent(link, event, hasEventRouting.value);
|
|
28718
28718
|
};
|
|
28719
28719
|
return (_ctx, _cache) => {
|
|
28720
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28720
|
+
return openBlock(), createElementBlock("div", _hoisted_1$H, [
|
|
28721
28721
|
(openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
|
|
28722
28722
|
var _a25;
|
|
28723
28723
|
return openBlock(), createElementBlock("span", {
|
|
@@ -28732,7 +28732,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
28732
28732
|
var _a26;
|
|
28733
28733
|
return handleNavigation(e2, (_a26 = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a26 : "");
|
|
28734
28734
|
}
|
|
28735
|
-
}, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$
|
|
28735
|
+
}, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$v)) : (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(getLabel(breadcrumb.label)), 1)),
|
|
28736
28736
|
index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$f, toDisplayString((_a25 = breadcrumb.separator) != null ? _a25 : "/"), 1)) : createCommentVNode("", true)
|
|
28737
28737
|
]);
|
|
28738
28738
|
}), 128))
|
|
@@ -28740,12 +28740,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
28740
28740
|
};
|
|
28741
28741
|
}
|
|
28742
28742
|
});
|
|
28743
|
-
const _hoisted_1$
|
|
28743
|
+
const _hoisted_1$G = {
|
|
28744
28744
|
key: 0,
|
|
28745
28745
|
id: "lupa-search-result-filters",
|
|
28746
28746
|
class: "lupa-search-result-filters lupa-search-result-top-filters"
|
|
28747
28747
|
};
|
|
28748
|
-
const _sfc_main$
|
|
28748
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
28749
28749
|
__name: "FiltersTopDropdown",
|
|
28750
28750
|
props: {
|
|
28751
28751
|
options: {}
|
|
@@ -28763,8 +28763,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
28763
28763
|
});
|
|
28764
28764
|
return (_ctx, _cache) => {
|
|
28765
28765
|
var _a25;
|
|
28766
|
-
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
28767
|
-
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$
|
|
28766
|
+
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
28767
|
+
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
|
|
28768
28768
|
key: 0,
|
|
28769
28769
|
options: _ctx.options.facets,
|
|
28770
28770
|
"facet-style": (_a25 = _ctx.options.facets.style) == null ? void 0 : _a25.type,
|
|
@@ -28775,8 +28775,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
28775
28775
|
};
|
|
28776
28776
|
}
|
|
28777
28777
|
});
|
|
28778
|
-
const _hoisted_1$
|
|
28779
|
-
const _sfc_main$
|
|
28778
|
+
const _hoisted_1$F = { id: "lupa-search-results-layout-selection" };
|
|
28779
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
28780
28780
|
__name: "SearchResultsLayoutSelection",
|
|
28781
28781
|
setup(__props) {
|
|
28782
28782
|
const searchResultStore = useSearchResultStore();
|
|
@@ -28787,7 +28787,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
28787
28787
|
searchResultStore.setLayout(layout2);
|
|
28788
28788
|
};
|
|
28789
28789
|
return (_ctx, _cache) => {
|
|
28790
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
28790
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
28791
28791
|
createElementVNode("div", {
|
|
28792
28792
|
class: normalizeClass([
|
|
28793
28793
|
"lupa-layout-selection-grid",
|
|
@@ -28809,11 +28809,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
28809
28809
|
};
|
|
28810
28810
|
}
|
|
28811
28811
|
});
|
|
28812
|
-
const _hoisted_1$
|
|
28812
|
+
const _hoisted_1$E = {
|
|
28813
28813
|
key: 0,
|
|
28814
28814
|
class: "lupa-mobile-toggle-filter-count"
|
|
28815
28815
|
};
|
|
28816
|
-
const _sfc_main$
|
|
28816
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
28817
28817
|
__name: "SearchResultsMobileToggle",
|
|
28818
28818
|
props: {
|
|
28819
28819
|
labels: {},
|
|
@@ -28861,12 +28861,12 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
28861
28861
|
onClick: handleMobileToggle
|
|
28862
28862
|
}, [
|
|
28863
28863
|
createTextVNode(toDisplayString(label.value) + " ", 1),
|
|
28864
|
-
_ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
28864
|
+
_ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$E, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
|
|
28865
28865
|
], 2);
|
|
28866
28866
|
};
|
|
28867
28867
|
}
|
|
28868
28868
|
});
|
|
28869
|
-
const _sfc_main$
|
|
28869
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
28870
28870
|
__name: "SearchResultsMobileFilterClose",
|
|
28871
28871
|
props: {
|
|
28872
28872
|
label: {}
|
|
@@ -28886,12 +28886,12 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
28886
28886
|
};
|
|
28887
28887
|
}
|
|
28888
28888
|
});
|
|
28889
|
-
const _hoisted_1$
|
|
28889
|
+
const _hoisted_1$D = {
|
|
28890
28890
|
key: 0,
|
|
28891
28891
|
id: "lupa-search-results-page-select",
|
|
28892
28892
|
"data-cy": "lupa-search-results-page-select"
|
|
28893
28893
|
};
|
|
28894
|
-
const _hoisted_2$
|
|
28894
|
+
const _hoisted_2$u = {
|
|
28895
28895
|
key: 0,
|
|
28896
28896
|
class: "lupa-page-number-separator"
|
|
28897
28897
|
};
|
|
@@ -28900,7 +28900,7 @@ const _hoisted_4$e = {
|
|
|
28900
28900
|
key: 0,
|
|
28901
28901
|
class: "lupa-page-number-separator"
|
|
28902
28902
|
};
|
|
28903
|
-
const _sfc_main$
|
|
28903
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
28904
28904
|
__name: "SearchResultsPageSelect",
|
|
28905
28905
|
props: {
|
|
28906
28906
|
lastPageLabel: {},
|
|
@@ -28977,7 +28977,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
28977
28977
|
}
|
|
28978
28978
|
};
|
|
28979
28979
|
return (_ctx, _cache) => {
|
|
28980
|
-
return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
28980
|
+
return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
|
|
28981
28981
|
showBack.value ? (openBlock(), createElementBlock("div", {
|
|
28982
28982
|
key: 0,
|
|
28983
28983
|
class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
|
|
@@ -28988,7 +28988,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
28988
28988
|
class: "lupa-page-number lupa-page-number-first",
|
|
28989
28989
|
onClick: _cache[1] || (_cache[1] = () => handlePageChange(1))
|
|
28990
28990
|
}, " 1 "),
|
|
28991
|
-
showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
28991
|
+
showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$u, "...")) : createCommentVNode("", true)
|
|
28992
28992
|
], 64)) : createCommentVNode("", true),
|
|
28993
28993
|
(openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page) => {
|
|
28994
28994
|
return openBlock(), createElementBlock("div", {
|
|
@@ -29021,15 +29021,15 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
29021
29021
|
};
|
|
29022
29022
|
}
|
|
29023
29023
|
});
|
|
29024
|
-
const _hoisted_1$
|
|
29024
|
+
const _hoisted_1$C = {
|
|
29025
29025
|
id: "lupa-search-results-page-size",
|
|
29026
29026
|
"data-cy": "lupa-search-results-page-size"
|
|
29027
29027
|
};
|
|
29028
|
-
const _hoisted_2$
|
|
29028
|
+
const _hoisted_2$t = { id: "lupa-select" };
|
|
29029
29029
|
const _hoisted_3$l = { class: "lupa-select-label" };
|
|
29030
29030
|
const _hoisted_4$d = ["aria-label"];
|
|
29031
29031
|
const _hoisted_5$a = ["value"];
|
|
29032
|
-
const _sfc_main$
|
|
29032
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
29033
29033
|
__name: "SearchResultsPageSize",
|
|
29034
29034
|
props: {
|
|
29035
29035
|
labels: {},
|
|
@@ -29057,8 +29057,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
29057
29057
|
});
|
|
29058
29058
|
};
|
|
29059
29059
|
return (_ctx, _cache) => {
|
|
29060
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29061
|
-
createElementVNode("div", _hoisted_2$
|
|
29060
|
+
return openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
29061
|
+
createElementVNode("div", _hoisted_2$t, [
|
|
29062
29062
|
createElementVNode("label", _hoisted_3$l, toDisplayString(label.value), 1),
|
|
29063
29063
|
createElementVNode("select", {
|
|
29064
29064
|
class: "lupa-select-dropdown",
|
|
@@ -29080,15 +29080,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
29080
29080
|
};
|
|
29081
29081
|
}
|
|
29082
29082
|
});
|
|
29083
|
-
const _hoisted_1$
|
|
29083
|
+
const _hoisted_1$B = {
|
|
29084
29084
|
id: "lupa-search-results-sort",
|
|
29085
29085
|
class: "lupa-search-results-sort"
|
|
29086
29086
|
};
|
|
29087
|
-
const _hoisted_2$
|
|
29087
|
+
const _hoisted_2$s = { id: "lupa-select" };
|
|
29088
29088
|
const _hoisted_3$k = { class: "lupa-select-label" };
|
|
29089
29089
|
const _hoisted_4$c = ["aria-label"];
|
|
29090
29090
|
const _hoisted_5$9 = ["value"];
|
|
29091
|
-
const _sfc_main$
|
|
29091
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
29092
29092
|
__name: "SearchResultsSort",
|
|
29093
29093
|
props: {
|
|
29094
29094
|
options: {},
|
|
@@ -29137,8 +29137,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
29137
29137
|
previousKey.value = selectedKey.value;
|
|
29138
29138
|
};
|
|
29139
29139
|
return (_ctx, _cache) => {
|
|
29140
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29141
|
-
createElementVNode("div", _hoisted_2$
|
|
29140
|
+
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
29141
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
29142
29142
|
createElementVNode("label", _hoisted_3$k, toDisplayString(_ctx.options.label), 1),
|
|
29143
29143
|
withDirectives(createElementVNode("select", {
|
|
29144
29144
|
class: "lupa-select-dropdown",
|
|
@@ -29162,8 +29162,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
29162
29162
|
};
|
|
29163
29163
|
}
|
|
29164
29164
|
});
|
|
29165
|
-
const _hoisted_1$
|
|
29166
|
-
const _hoisted_2$
|
|
29165
|
+
const _hoisted_1$A = { class: "lupa-toolbar-left" };
|
|
29166
|
+
const _hoisted_2$r = {
|
|
29167
29167
|
key: 0,
|
|
29168
29168
|
class: "lupa-toolbar-right-title"
|
|
29169
29169
|
};
|
|
@@ -29177,7 +29177,7 @@ const _hoisted_7$2 = {
|
|
|
29177
29177
|
};
|
|
29178
29178
|
const _hoisted_8 = { key: 2 };
|
|
29179
29179
|
const _hoisted_9 = { key: 4 };
|
|
29180
|
-
const _sfc_main$
|
|
29180
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
29181
29181
|
__name: "SearchResultsToolbar",
|
|
29182
29182
|
props: {
|
|
29183
29183
|
options: {},
|
|
@@ -29288,16 +29288,16 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
29288
29288
|
id: "lupa-search-results-toolbar",
|
|
29289
29289
|
class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
|
|
29290
29290
|
}, [
|
|
29291
|
-
createElementVNode("div", _hoisted_1$
|
|
29292
|
-
toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
29293
|
-
showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$
|
|
29294
|
-
showItemSummary.value ? (openBlock(), createBlock(_sfc_main$
|
|
29291
|
+
createElementVNode("div", _hoisted_1$A, [
|
|
29292
|
+
toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$r, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
|
|
29293
|
+
showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$L, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$j)),
|
|
29294
|
+
showItemSummary.value ? (openBlock(), createBlock(_sfc_main$11, {
|
|
29295
29295
|
key: 3,
|
|
29296
29296
|
label: searchSummaryLabel.value,
|
|
29297
29297
|
clearable: unref(hasAnyFilter) && showFilterClear.value,
|
|
29298
29298
|
onClear: handleClearAll
|
|
29299
29299
|
}, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$b)),
|
|
29300
|
-
displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$
|
|
29300
|
+
displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$I, {
|
|
29301
29301
|
key: 5,
|
|
29302
29302
|
options: paginationOptions.value.pageSelect,
|
|
29303
29303
|
"last-page-label": paginationOptions.value.labels.showMore,
|
|
@@ -29306,21 +29306,21 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
29306
29306
|
]),
|
|
29307
29307
|
createElementVNode("div", _hoisted_6$4, [
|
|
29308
29308
|
toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
|
|
29309
|
-
createVNode(_sfc_main$
|
|
29309
|
+
createVNode(_sfc_main$K, {
|
|
29310
29310
|
labels: optionsValue.value.labels,
|
|
29311
29311
|
"show-filter-count": showMobileFilterCount.value
|
|
29312
29312
|
}, null, 8, ["labels", "show-filter-count"]),
|
|
29313
|
-
paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$
|
|
29313
|
+
paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$H, {
|
|
29314
29314
|
key: 1,
|
|
29315
29315
|
options: paginationOptions.value.pageSize,
|
|
29316
29316
|
labels: paginationOptions.value.labels
|
|
29317
29317
|
}, null, 8, ["options", "labels"])) : (openBlock(), createElementBlock("div", _hoisted_8)),
|
|
29318
|
-
sortOptions.value ? (openBlock(), createBlock(_sfc_main$
|
|
29318
|
+
sortOptions.value ? (openBlock(), createBlock(_sfc_main$G, {
|
|
29319
29319
|
key: 3,
|
|
29320
29320
|
options: sortOptions.value,
|
|
29321
29321
|
callbacks: callbacks.value
|
|
29322
29322
|
}, null, 8, ["options", "callbacks"])) : (openBlock(), createElementBlock("div", _hoisted_9)),
|
|
29323
|
-
showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$
|
|
29323
|
+
showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$J, {
|
|
29324
29324
|
key: 5,
|
|
29325
29325
|
label: optionsValue.value.labels.mobileFilterCloseButton
|
|
29326
29326
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
@@ -29329,7 +29329,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
29329
29329
|
};
|
|
29330
29330
|
}
|
|
29331
29331
|
});
|
|
29332
|
-
const _sfc_main$
|
|
29332
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
29333
29333
|
__name: "SearchResultsProductImage",
|
|
29334
29334
|
props: {
|
|
29335
29335
|
item: {},
|
|
@@ -29337,7 +29337,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
29337
29337
|
},
|
|
29338
29338
|
setup(__props) {
|
|
29339
29339
|
return (_ctx, _cache) => {
|
|
29340
|
-
return openBlock(), createBlock(_sfc_main$
|
|
29340
|
+
return openBlock(), createBlock(_sfc_main$1q, {
|
|
29341
29341
|
item: _ctx.item,
|
|
29342
29342
|
options: _ctx.options,
|
|
29343
29343
|
"wrapper-class": "lupa-search-results-image-wrapper",
|
|
@@ -29346,8 +29346,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
29346
29346
|
};
|
|
29347
29347
|
}
|
|
29348
29348
|
});
|
|
29349
|
-
const _hoisted_1$
|
|
29350
|
-
const _hoisted_2$
|
|
29349
|
+
const _hoisted_1$z = ["title", "innerHTML"];
|
|
29350
|
+
const _hoisted_2$q = ["title"];
|
|
29351
29351
|
const _hoisted_3$i = ["href", "innerHTML"];
|
|
29352
29352
|
const _hoisted_4$a = ["title"];
|
|
29353
29353
|
const _hoisted_5$7 = {
|
|
@@ -29355,7 +29355,7 @@ const _hoisted_5$7 = {
|
|
|
29355
29355
|
class: "lupa-search-results-product-title-text"
|
|
29356
29356
|
};
|
|
29357
29357
|
const _hoisted_6$3 = ["href"];
|
|
29358
|
-
const _sfc_main$
|
|
29358
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
29359
29359
|
__name: "SearchResultsProductTitle",
|
|
29360
29360
|
props: {
|
|
29361
29361
|
item: {},
|
|
@@ -29392,7 +29392,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
29392
29392
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
29393
29393
|
title: sanitizedTitle.value,
|
|
29394
29394
|
innerHTML: sanitizedTitle.value
|
|
29395
|
-
}, null, 12, _hoisted_1$
|
|
29395
|
+
}, null, 12, _hoisted_1$z)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
|
|
29396
29396
|
key: 1,
|
|
29397
29397
|
class: "lupa-search-results-product-title",
|
|
29398
29398
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
@@ -29404,7 +29404,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
29404
29404
|
innerHTML: sanitizedTitle.value,
|
|
29405
29405
|
onClick: handleNavigation
|
|
29406
29406
|
}, null, 8, _hoisted_3$i)
|
|
29407
|
-
], 12, _hoisted_2$
|
|
29407
|
+
], 12, _hoisted_2$q)) : (openBlock(), createElementBlock("div", {
|
|
29408
29408
|
key: 2,
|
|
29409
29409
|
class: "lupa-search-results-product-title",
|
|
29410
29410
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
@@ -29421,8 +29421,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
29421
29421
|
};
|
|
29422
29422
|
}
|
|
29423
29423
|
});
|
|
29424
|
-
const _hoisted_1$
|
|
29425
|
-
const _sfc_main$
|
|
29424
|
+
const _hoisted_1$y = ["innerHTML"];
|
|
29425
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
29426
29426
|
__name: "SearchResultsProductDescription",
|
|
29427
29427
|
props: {
|
|
29428
29428
|
item: {},
|
|
@@ -29449,7 +29449,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
29449
29449
|
class: "lupa-search-results-product-description",
|
|
29450
29450
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
29451
29451
|
innerHTML: sanitizedDescription.value
|
|
29452
|
-
}, null, 12, _hoisted_1$
|
|
29452
|
+
}, null, 12, _hoisted_1$y)) : (openBlock(), createElementBlock("div", {
|
|
29453
29453
|
key: 1,
|
|
29454
29454
|
class: "lupa-search-results-product-description",
|
|
29455
29455
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
|
|
@@ -29457,15 +29457,15 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
29457
29457
|
};
|
|
29458
29458
|
}
|
|
29459
29459
|
});
|
|
29460
|
-
const _hoisted_1$
|
|
29461
|
-
const _hoisted_2$
|
|
29460
|
+
const _hoisted_1$x = { id: "lupa-search-results-rating" };
|
|
29461
|
+
const _hoisted_2$p = { class: "lupa-ratings" };
|
|
29462
29462
|
const _hoisted_3$h = { class: "lupa-ratings-base" };
|
|
29463
29463
|
const _hoisted_4$9 = ["innerHTML"];
|
|
29464
29464
|
const _hoisted_5$6 = { class: "lupa-rating-wrapper" };
|
|
29465
29465
|
const _hoisted_6$2 = ["innerHTML"];
|
|
29466
29466
|
const _hoisted_7$1 = ["href"];
|
|
29467
29467
|
const STAR_COUNT = 5;
|
|
29468
|
-
const _sfc_main$
|
|
29468
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
29469
29469
|
__name: "SearchResultsProductRating",
|
|
29470
29470
|
props: {
|
|
29471
29471
|
item: {},
|
|
@@ -29502,8 +29502,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29502
29502
|
return generateLink(props.options.links.ratingDetails, props.item);
|
|
29503
29503
|
});
|
|
29504
29504
|
return (_ctx, _cache) => {
|
|
29505
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29506
|
-
createElementVNode("div", _hoisted_2$
|
|
29505
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
29506
|
+
createElementVNode("div", _hoisted_2$p, [
|
|
29507
29507
|
createElementVNode("div", _hoisted_3$h, [
|
|
29508
29508
|
(openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
|
|
29509
29509
|
return openBlock(), createElementBlock("div", {
|
|
@@ -29536,11 +29536,11 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
29536
29536
|
};
|
|
29537
29537
|
}
|
|
29538
29538
|
});
|
|
29539
|
-
const _hoisted_1$
|
|
29539
|
+
const _hoisted_1$w = {
|
|
29540
29540
|
class: "lupa-search-results-product-regular-price",
|
|
29541
29541
|
"data-cy": "lupa-search-results-product-regular-price"
|
|
29542
29542
|
};
|
|
29543
|
-
const _sfc_main$
|
|
29543
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
29544
29544
|
__name: "SearchResultsProductRegularPrice",
|
|
29545
29545
|
props: {
|
|
29546
29546
|
item: {},
|
|
@@ -29562,11 +29562,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
29562
29562
|
);
|
|
29563
29563
|
});
|
|
29564
29564
|
return (_ctx, _cache) => {
|
|
29565
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29565
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, toDisplayString(price.value), 1);
|
|
29566
29566
|
};
|
|
29567
29567
|
}
|
|
29568
29568
|
});
|
|
29569
|
-
const _sfc_main$
|
|
29569
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
29570
29570
|
__name: "SearchResultsProductPrice",
|
|
29571
29571
|
props: {
|
|
29572
29572
|
item: {},
|
|
@@ -29600,12 +29600,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
29600
29600
|
};
|
|
29601
29601
|
}
|
|
29602
29602
|
});
|
|
29603
|
-
const _hoisted_1$
|
|
29604
|
-
const _hoisted_2$
|
|
29603
|
+
const _hoisted_1$v = { class: "lupa-search-results-add-to-cart-wrapper" };
|
|
29604
|
+
const _hoisted_2$o = { class: "lupa-search-results-product-addtocart" };
|
|
29605
29605
|
const _hoisted_3$g = ["disabled"];
|
|
29606
29606
|
const _hoisted_4$8 = ["href"];
|
|
29607
29607
|
const _hoisted_5$5 = ["id", "disabled"];
|
|
29608
|
-
const _sfc_main$
|
|
29608
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
29609
29609
|
__name: "SearchResultsProductAddToCart",
|
|
29610
29610
|
props: {
|
|
29611
29611
|
item: {},
|
|
@@ -29657,8 +29657,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
29657
29657
|
loading.value = false;
|
|
29658
29658
|
});
|
|
29659
29659
|
return (_ctx, _cache) => {
|
|
29660
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29661
|
-
createElementVNode("div", _hoisted_2$
|
|
29660
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
29661
|
+
createElementVNode("div", _hoisted_2$o, [
|
|
29662
29662
|
hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
29663
29663
|
key: 0,
|
|
29664
29664
|
class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
|
|
@@ -29680,12 +29680,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
29680
29680
|
};
|
|
29681
29681
|
}
|
|
29682
29682
|
});
|
|
29683
|
-
const _hoisted_1$
|
|
29684
|
-
const _hoisted_2$
|
|
29683
|
+
const _hoisted_1$u = ["innerHTML"];
|
|
29684
|
+
const _hoisted_2$n = { key: 0 };
|
|
29685
29685
|
const _hoisted_3$f = { key: 1 };
|
|
29686
29686
|
const _hoisted_4$7 = { class: "lupa-search-box-custom-label" };
|
|
29687
29687
|
const _hoisted_5$4 = { class: "lupa-search-box-custom-text" };
|
|
29688
|
-
const _sfc_main$
|
|
29688
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
29689
29689
|
__name: "SearchResultsProductCustom",
|
|
29690
29690
|
props: {
|
|
29691
29691
|
item: {},
|
|
@@ -29723,11 +29723,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
29723
29723
|
key: 0,
|
|
29724
29724
|
class: className.value,
|
|
29725
29725
|
innerHTML: text.value
|
|
29726
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$
|
|
29726
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$u)) : (openBlock(), createElementBlock("div", mergeProps({
|
|
29727
29727
|
key: 1,
|
|
29728
29728
|
class: className.value
|
|
29729
29729
|
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
|
|
29730
|
-
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
29730
|
+
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$f, [
|
|
29731
29731
|
createElementVNode("div", _hoisted_4$7, toDisplayString(label.value), 1),
|
|
29732
29732
|
createElementVNode("div", _hoisted_5$4, toDisplayString(text.value), 1)
|
|
29733
29733
|
]))
|
|
@@ -29735,8 +29735,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
29735
29735
|
};
|
|
29736
29736
|
}
|
|
29737
29737
|
});
|
|
29738
|
-
const _hoisted_1$
|
|
29739
|
-
const _sfc_main$
|
|
29738
|
+
const _hoisted_1$t = ["innerHTML"];
|
|
29739
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
29740
29740
|
__name: "SearchResultsProductCustomHtmlElement",
|
|
29741
29741
|
props: {
|
|
29742
29742
|
item: {},
|
|
@@ -29768,15 +29768,15 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
29768
29768
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
29769
29769
|
class: className.value,
|
|
29770
29770
|
innerHTML: text.value
|
|
29771
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$
|
|
29771
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$t);
|
|
29772
29772
|
};
|
|
29773
29773
|
}
|
|
29774
29774
|
});
|
|
29775
|
-
const _hoisted_1$
|
|
29776
|
-
const _hoisted_2$
|
|
29775
|
+
const _hoisted_1$s = { id: "lupa-search-results-rating" };
|
|
29776
|
+
const _hoisted_2$m = ["innerHTML"];
|
|
29777
29777
|
const _hoisted_3$e = { class: "lupa-ratings" };
|
|
29778
29778
|
const _hoisted_4$6 = ["href"];
|
|
29779
|
-
const _sfc_main$
|
|
29779
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
29780
29780
|
__name: "SearchResultsProductSingleStarRating",
|
|
29781
29781
|
props: {
|
|
29782
29782
|
item: {},
|
|
@@ -29804,11 +29804,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29804
29804
|
return RATING_STAR_HTML;
|
|
29805
29805
|
});
|
|
29806
29806
|
return (_ctx, _cache) => {
|
|
29807
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
29807
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
29808
29808
|
createElementVNode("div", {
|
|
29809
29809
|
innerHTML: star.value,
|
|
29810
29810
|
class: "lupa-rating lupa-rating-highlighted"
|
|
29811
|
-
}, null, 8, _hoisted_2$
|
|
29811
|
+
}, null, 8, _hoisted_2$m),
|
|
29812
29812
|
createElementVNode("div", _hoisted_3$e, toDisplayString(rating.value), 1),
|
|
29813
29813
|
createElementVNode("a", {
|
|
29814
29814
|
href: ratingLink.value,
|
|
@@ -29820,19 +29820,19 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
29820
29820
|
});
|
|
29821
29821
|
const __default__ = {
|
|
29822
29822
|
components: {
|
|
29823
|
-
SearchResultsProductImage: _sfc_main$
|
|
29824
|
-
SearchResultsProductTitle: _sfc_main$
|
|
29825
|
-
SearchResultsProductDescription: _sfc_main$
|
|
29826
|
-
SearchResultsProductRating: _sfc_main$
|
|
29827
|
-
SearchResultsProductRegularPrice: _sfc_main$
|
|
29828
|
-
SearchResultsProductPrice: _sfc_main$
|
|
29829
|
-
SearchResultsProductAddToCart: _sfc_main$
|
|
29830
|
-
SearchResultsProductCustom: _sfc_main$
|
|
29831
|
-
SearchResultsProductCustomHtmlElement: _sfc_main$
|
|
29832
|
-
SearchResultsProductSingleStarRating: _sfc_main$
|
|
29833
|
-
}
|
|
29834
|
-
};
|
|
29835
|
-
const _sfc_main$
|
|
29823
|
+
SearchResultsProductImage: _sfc_main$E,
|
|
29824
|
+
SearchResultsProductTitle: _sfc_main$D,
|
|
29825
|
+
SearchResultsProductDescription: _sfc_main$C,
|
|
29826
|
+
SearchResultsProductRating: _sfc_main$B,
|
|
29827
|
+
SearchResultsProductRegularPrice: _sfc_main$A,
|
|
29828
|
+
SearchResultsProductPrice: _sfc_main$z,
|
|
29829
|
+
SearchResultsProductAddToCart: _sfc_main$y,
|
|
29830
|
+
SearchResultsProductCustom: _sfc_main$x,
|
|
29831
|
+
SearchResultsProductCustomHtmlElement: _sfc_main$w,
|
|
29832
|
+
SearchResultsProductSingleStarRating: _sfc_main$v
|
|
29833
|
+
}
|
|
29834
|
+
};
|
|
29835
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__), {
|
|
29836
29836
|
__name: "SearchResultsProductCardElement",
|
|
29837
29837
|
props: {
|
|
29838
29838
|
item: {},
|
|
@@ -29910,13 +29910,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
29910
29910
|
};
|
|
29911
29911
|
}
|
|
29912
29912
|
}));
|
|
29913
|
-
const _hoisted_1$
|
|
29914
|
-
const _hoisted_2$
|
|
29913
|
+
const _hoisted_1$r = ["href"];
|
|
29914
|
+
const _hoisted_2$l = {
|
|
29915
29915
|
key: 0,
|
|
29916
29916
|
class: "lupa-out-of-stock"
|
|
29917
29917
|
};
|
|
29918
29918
|
const _hoisted_3$d = { class: "lupa-search-result-product-details-section" };
|
|
29919
|
-
const _sfc_main$
|
|
29919
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
29920
29920
|
__name: "SearchResultsProductCard",
|
|
29921
29921
|
props: {
|
|
29922
29922
|
product: {},
|
|
@@ -30092,7 +30092,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
30092
30092
|
default: withCtx(() => {
|
|
30093
30093
|
var _a25;
|
|
30094
30094
|
return [
|
|
30095
|
-
createVNode(_sfc_main$
|
|
30095
|
+
createVNode(_sfc_main$1a, { options: badgesOptions.value }, null, 8, ["options"]),
|
|
30096
30096
|
createElementVNode("div", {
|
|
30097
30097
|
class: normalizeClass(["lupa-search-result-product-contents", listLayoutClass.value])
|
|
30098
30098
|
}, [
|
|
@@ -30102,7 +30102,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
30102
30102
|
onClick: handleNavigation
|
|
30103
30103
|
}, [
|
|
30104
30104
|
(openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
|
|
30105
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30105
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
30106
30106
|
class: "lupa-search-results-product-element",
|
|
30107
30107
|
item: _ctx.product,
|
|
30108
30108
|
element,
|
|
@@ -30113,16 +30113,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
30113
30113
|
onProductEvent: handleProductEvent
|
|
30114
30114
|
}, null, 8, ["item", "element", "labels", "inStock", "link"]);
|
|
30115
30115
|
}), 128)),
|
|
30116
|
-
createVNode(_sfc_main$
|
|
30116
|
+
createVNode(_sfc_main$1a, {
|
|
30117
30117
|
options: badgesOptions.value,
|
|
30118
30118
|
position: "image",
|
|
30119
30119
|
class: "lupa-image-badges"
|
|
30120
30120
|
}, null, 8, ["options"]),
|
|
30121
|
-
((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30122
|
-
], 8, _hoisted_1$
|
|
30121
|
+
((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$l, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
|
|
30122
|
+
], 8, _hoisted_1$r),
|
|
30123
30123
|
createElementVNode("div", _hoisted_3$d, [
|
|
30124
30124
|
(openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
|
|
30125
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30125
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
30126
30126
|
class: "lupa-search-results-product-element",
|
|
30127
30127
|
item: _ctx.product,
|
|
30128
30128
|
element,
|
|
@@ -30140,7 +30140,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
30140
30140
|
class: normalizeClass("lupa-element-group-" + group)
|
|
30141
30141
|
}, [
|
|
30142
30142
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
|
|
30143
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30143
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
30144
30144
|
class: "lupa-search-results-product-element",
|
|
30145
30145
|
item: _ctx.product,
|
|
30146
30146
|
element,
|
|
@@ -30161,11 +30161,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
30161
30161
|
};
|
|
30162
30162
|
}
|
|
30163
30163
|
});
|
|
30164
|
-
const _hoisted_1$
|
|
30164
|
+
const _hoisted_1$q = {
|
|
30165
30165
|
id: "lupa-search-results-similar-queries",
|
|
30166
30166
|
"data-cy": "lupa-search-results-similar-queries"
|
|
30167
30167
|
};
|
|
30168
|
-
const _hoisted_2$
|
|
30168
|
+
const _hoisted_2$k = { class: "lupa-similar-queries-label" };
|
|
30169
30169
|
const _hoisted_3$c = {
|
|
30170
30170
|
class: "lupa-similar-query-label",
|
|
30171
30171
|
"data-cy": "lupa-similar-query-label"
|
|
@@ -30177,7 +30177,7 @@ const _hoisted_7 = {
|
|
|
30177
30177
|
class: "lupa-products",
|
|
30178
30178
|
"data-cy": "lupa-products"
|
|
30179
30179
|
};
|
|
30180
|
-
const _sfc_main$
|
|
30180
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
30181
30181
|
__name: "SearchResultsSimilarQueries",
|
|
30182
30182
|
props: {
|
|
30183
30183
|
labels: {},
|
|
@@ -30215,8 +30215,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30215
30215
|
};
|
|
30216
30216
|
};
|
|
30217
30217
|
return (_ctx, _cache) => {
|
|
30218
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30219
|
-
createElementVNode("div", _hoisted_2$
|
|
30218
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
30219
|
+
createElementVNode("div", _hoisted_2$k, toDisplayString(_ctx.labels.similarQueries), 1),
|
|
30220
30220
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarQueries.value, (similarQuery, index) => {
|
|
30221
30221
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
30222
30222
|
createElementVNode("div", _hoisted_3$c, [
|
|
@@ -30235,7 +30235,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30235
30235
|
]),
|
|
30236
30236
|
createElementVNode("div", _hoisted_7, [
|
|
30237
30237
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarQuery.items, (product, index2) => {
|
|
30238
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30238
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
30239
30239
|
style: normalizeStyle(_ctx.columnSize),
|
|
30240
30240
|
key: getDocumentKey(index2, product),
|
|
30241
30241
|
product,
|
|
@@ -30250,15 +30250,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30250
30250
|
};
|
|
30251
30251
|
}
|
|
30252
30252
|
});
|
|
30253
|
-
const _hoisted_1$
|
|
30253
|
+
const _hoisted_1$p = {
|
|
30254
30254
|
key: 0,
|
|
30255
30255
|
class: "lupa-results-additional-panel"
|
|
30256
30256
|
};
|
|
30257
|
-
const _hoisted_2$
|
|
30257
|
+
const _hoisted_2$j = {
|
|
30258
30258
|
class: "lupa-results-additional-panel-items",
|
|
30259
30259
|
"data-cy": "lupa-results-additional-panel-items"
|
|
30260
30260
|
};
|
|
30261
|
-
const _sfc_main$
|
|
30261
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
30262
30262
|
__name: "AdditionalPanel",
|
|
30263
30263
|
props: {
|
|
30264
30264
|
panel: {},
|
|
@@ -30331,10 +30331,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
30331
30331
|
handleQueryChange();
|
|
30332
30332
|
});
|
|
30333
30333
|
return (_ctx, _cache) => {
|
|
30334
|
-
return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
30335
|
-
createElementVNode("div", _hoisted_2$
|
|
30334
|
+
return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
30335
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
30336
30336
|
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleItems.value, (item, index) => {
|
|
30337
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30337
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
30338
30338
|
key: index,
|
|
30339
30339
|
product: item,
|
|
30340
30340
|
options: _ctx.panel,
|
|
@@ -30352,11 +30352,11 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
30352
30352
|
};
|
|
30353
30353
|
}
|
|
30354
30354
|
});
|
|
30355
|
-
const _hoisted_1$
|
|
30355
|
+
const _hoisted_1$o = {
|
|
30356
30356
|
key: 0,
|
|
30357
30357
|
class: "lupa-results-additional-panels"
|
|
30358
30358
|
};
|
|
30359
|
-
const _sfc_main$
|
|
30359
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
30360
30360
|
__name: "AdditionalPanels",
|
|
30361
30361
|
props: {
|
|
30362
30362
|
options: {},
|
|
@@ -30373,9 +30373,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
30373
30373
|
return locationPanels.value.length > 0;
|
|
30374
30374
|
});
|
|
30375
30375
|
return (_ctx, _cache) => {
|
|
30376
|
-
return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
30376
|
+
return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
30377
30377
|
(openBlock(true), createElementBlock(Fragment, null, renderList(locationPanels.value, (panel) => {
|
|
30378
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30378
|
+
return openBlock(), createBlock(_sfc_main$r, {
|
|
30379
30379
|
key: panel.queryKey,
|
|
30380
30380
|
panel,
|
|
30381
30381
|
options: _ctx.sdkOptions
|
|
@@ -30392,29 +30392,29 @@ const _export_sfc = (sfc, props) => {
|
|
|
30392
30392
|
}
|
|
30393
30393
|
return target2;
|
|
30394
30394
|
};
|
|
30395
|
-
const _sfc_main$
|
|
30396
|
-
const _hoisted_1$
|
|
30397
|
-
const _hoisted_2$
|
|
30395
|
+
const _sfc_main$p = {};
|
|
30396
|
+
const _hoisted_1$n = { class: "lupa-spinner-wrapper" };
|
|
30397
|
+
const _hoisted_2$i = { class: "lupa-spinner" };
|
|
30398
30398
|
function _sfc_render(_ctx, _cache) {
|
|
30399
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30400
|
-
createElementVNode("div", _hoisted_2$
|
|
30399
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
30400
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
30401
30401
|
(openBlock(), createElementBlock(Fragment, null, renderList(12, (x) => {
|
|
30402
30402
|
return createElementVNode("div", { key: x });
|
|
30403
30403
|
}), 64))
|
|
30404
30404
|
])
|
|
30405
30405
|
]);
|
|
30406
30406
|
}
|
|
30407
|
-
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30408
|
-
const _hoisted_1$
|
|
30407
|
+
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
|
|
30408
|
+
const _hoisted_1$m = {
|
|
30409
30409
|
id: "lupa-search-results-similar-results",
|
|
30410
30410
|
"data-cy": "lupa-search-results-similar-results"
|
|
30411
30411
|
};
|
|
30412
|
-
const _hoisted_2$
|
|
30412
|
+
const _hoisted_2$h = { class: "lupa-similar-results-label" };
|
|
30413
30413
|
const _hoisted_3$b = {
|
|
30414
30414
|
class: "lupa-products",
|
|
30415
30415
|
"data-cy": "lupa-products"
|
|
30416
30416
|
};
|
|
30417
|
-
const _sfc_main$
|
|
30417
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
30418
30418
|
__name: "SearchResultsSimilarResults",
|
|
30419
30419
|
props: {
|
|
30420
30420
|
columnSize: {},
|
|
@@ -30435,11 +30435,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
30435
30435
|
};
|
|
30436
30436
|
});
|
|
30437
30437
|
return (_ctx, _cache) => {
|
|
30438
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30439
|
-
createElementVNode("div", _hoisted_2$
|
|
30438
|
+
return openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
30439
|
+
createElementVNode("div", _hoisted_2$h, toDisplayString(_ctx.labels.similarResultsLabel), 1),
|
|
30440
30440
|
createElementVNode("div", _hoisted_3$b, [
|
|
30441
30441
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarResults.value.items, (product, index) => {
|
|
30442
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30442
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
30443
30443
|
style: normalizeStyle(_ctx.columnSize),
|
|
30444
30444
|
key: getDocumentKey(index, product),
|
|
30445
30445
|
product,
|
|
@@ -30560,15 +30560,15 @@ const extractRelatedSource = (source, searchResults, options, activeFilters) =>
|
|
|
30560
30560
|
return extractFacetsRelatedSource(source, searchResults, options, activeFilters);
|
|
30561
30561
|
}
|
|
30562
30562
|
});
|
|
30563
|
-
const _hoisted_1$
|
|
30564
|
-
const _hoisted_2$
|
|
30563
|
+
const _hoisted_1$l = { class: "lupa-related-query-item" };
|
|
30564
|
+
const _hoisted_2$g = { class: "lupa-related-query-image" };
|
|
30565
30565
|
const _hoisted_3$a = { class: "lupa-related-query-label" };
|
|
30566
30566
|
const _hoisted_4$4 = { class: "lupa-related-query-title" };
|
|
30567
30567
|
const _hoisted_5$2 = {
|
|
30568
30568
|
key: 0,
|
|
30569
30569
|
class: "lupa-related-query-count"
|
|
30570
30570
|
};
|
|
30571
|
-
const _sfc_main$
|
|
30571
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
30572
30572
|
__name: "RelatedQueryPanel",
|
|
30573
30573
|
props: {
|
|
30574
30574
|
query: {},
|
|
@@ -30664,9 +30664,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
30664
30664
|
});
|
|
30665
30665
|
return (_ctx, _cache) => {
|
|
30666
30666
|
var _a25;
|
|
30667
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30668
|
-
createElementVNode("div", _hoisted_2$
|
|
30669
|
-
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$
|
|
30667
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
30668
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
30669
|
+
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
30670
30670
|
key: 0,
|
|
30671
30671
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
30672
30672
|
"image-class": "lupa-related-query-image",
|
|
@@ -30682,16 +30682,16 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
30682
30682
|
};
|
|
30683
30683
|
}
|
|
30684
30684
|
});
|
|
30685
|
-
const _hoisted_1$
|
|
30685
|
+
const _hoisted_1$k = {
|
|
30686
30686
|
key: 0,
|
|
30687
30687
|
class: "lupa-related-queries"
|
|
30688
30688
|
};
|
|
30689
|
-
const _hoisted_2$
|
|
30689
|
+
const _hoisted_2$f = {
|
|
30690
30690
|
key: 0,
|
|
30691
30691
|
class: "lupa-related-queries-title"
|
|
30692
30692
|
};
|
|
30693
30693
|
const _hoisted_3$9 = ["onClick"];
|
|
30694
|
-
const _sfc_main$
|
|
30694
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
30695
30695
|
__name: "RelatedQueries",
|
|
30696
30696
|
props: {
|
|
30697
30697
|
options: {}
|
|
@@ -30785,8 +30785,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
30785
30785
|
};
|
|
30786
30786
|
return (_ctx, _cache) => {
|
|
30787
30787
|
var _a25, _b25, _c, _d;
|
|
30788
|
-
return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
30789
|
-
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$
|
|
30788
|
+
return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
30789
|
+
((_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),
|
|
30790
30790
|
createElementVNode("ul", null, [
|
|
30791
30791
|
(openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
|
|
30792
30792
|
return withDirectives((openBlock(), createElementBlock("li", {
|
|
@@ -30796,7 +30796,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
30796
30796
|
createElementVNode("a", {
|
|
30797
30797
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
30798
30798
|
}, [
|
|
30799
|
-
createVNode(_sfc_main$
|
|
30799
|
+
createVNode(_sfc_main$n, {
|
|
30800
30800
|
"source-key": query.key,
|
|
30801
30801
|
options: _ctx.options,
|
|
30802
30802
|
query: query.value,
|
|
@@ -30840,13 +30840,13 @@ const extractRedirectionSuggestion = (searchText = "", options) => {
|
|
|
30840
30840
|
}
|
|
30841
30841
|
return null;
|
|
30842
30842
|
};
|
|
30843
|
-
const _hoisted_1$
|
|
30843
|
+
const _hoisted_1$j = {
|
|
30844
30844
|
key: 0,
|
|
30845
30845
|
class: "lupa-redirection-suggestion"
|
|
30846
30846
|
};
|
|
30847
|
-
const _hoisted_2$
|
|
30847
|
+
const _hoisted_2$e = { class: "lupa-redirections-suggestion-label" };
|
|
30848
30848
|
const _hoisted_3$8 = ["href"];
|
|
30849
|
-
const _sfc_main$
|
|
30849
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
30850
30850
|
__name: "RedirectionSuggestions",
|
|
30851
30851
|
props: {
|
|
30852
30852
|
options: {}
|
|
@@ -30869,19 +30869,19 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
30869
30869
|
)
|
|
30870
30870
|
);
|
|
30871
30871
|
return (_ctx, _cache) => {
|
|
30872
|
-
return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
30873
|
-
createElementVNode("h4", _hoisted_2$
|
|
30872
|
+
return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
30873
|
+
createElementVNode("h4", _hoisted_2$e, [
|
|
30874
30874
|
createElementVNode("a", { href: link.value }, toDisplayString(label.value), 9, _hoisted_3$8)
|
|
30875
30875
|
])
|
|
30876
30876
|
])) : createCommentVNode("", true);
|
|
30877
30877
|
};
|
|
30878
30878
|
}
|
|
30879
30879
|
});
|
|
30880
|
-
const _hoisted_1$
|
|
30880
|
+
const _hoisted_1$i = {
|
|
30881
30881
|
key: 0,
|
|
30882
30882
|
class: "lupa-refiners-loading-notice"
|
|
30883
30883
|
};
|
|
30884
|
-
const _sfc_main$
|
|
30884
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
30885
30885
|
__name: "RefinersLoadingNotice",
|
|
30886
30886
|
props: {
|
|
30887
30887
|
labels: {}
|
|
@@ -30892,22 +30892,22 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
30892
30892
|
const props = __props;
|
|
30893
30893
|
const label = computed(() => props.labels.refinersLoadingNotice);
|
|
30894
30894
|
return (_ctx, _cache) => {
|
|
30895
|
-
return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
30895
|
+
return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
30896
30896
|
createElementVNode("p", null, toDisplayString(label.value), 1),
|
|
30897
30897
|
createVNode(Spinner)
|
|
30898
30898
|
])) : createCommentVNode("", true);
|
|
30899
30899
|
};
|
|
30900
30900
|
}
|
|
30901
30901
|
});
|
|
30902
|
-
const _hoisted_1$
|
|
30903
|
-
const _hoisted_2$
|
|
30902
|
+
const _hoisted_1$h = { class: "lupa-related-query-item" };
|
|
30903
|
+
const _hoisted_2$d = { class: "lupa-related-query-image" };
|
|
30904
30904
|
const _hoisted_3$7 = { class: "lupa-related-query-label" };
|
|
30905
30905
|
const _hoisted_4$3 = { class: "lupa-related-query-title" };
|
|
30906
30906
|
const _hoisted_5$1 = {
|
|
30907
30907
|
key: 0,
|
|
30908
30908
|
class: "lupa-related-query-count"
|
|
30909
30909
|
};
|
|
30910
|
-
const _sfc_main$
|
|
30910
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
30911
30911
|
__name: "RelatedQueryPanelApi",
|
|
30912
30912
|
props: {
|
|
30913
30913
|
relatedQuery: {},
|
|
@@ -30939,9 +30939,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
30939
30939
|
});
|
|
30940
30940
|
return (_ctx, _cache) => {
|
|
30941
30941
|
var _a25;
|
|
30942
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30943
|
-
createElementVNode("div", _hoisted_2$
|
|
30944
|
-
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$
|
|
30942
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
30943
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
30944
|
+
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
|
|
30945
30945
|
key: 0,
|
|
30946
30946
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
30947
30947
|
"image-class": "lupa-related-query-image",
|
|
@@ -30957,16 +30957,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
30957
30957
|
};
|
|
30958
30958
|
}
|
|
30959
30959
|
});
|
|
30960
|
-
const _hoisted_1$
|
|
30960
|
+
const _hoisted_1$g = {
|
|
30961
30961
|
key: 0,
|
|
30962
30962
|
class: "lupa-related-queries"
|
|
30963
30963
|
};
|
|
30964
|
-
const _hoisted_2$
|
|
30964
|
+
const _hoisted_2$c = {
|
|
30965
30965
|
key: 0,
|
|
30966
30966
|
class: "lupa-related-queries-title"
|
|
30967
30967
|
};
|
|
30968
30968
|
const _hoisted_3$6 = ["onClick"];
|
|
30969
|
-
const _sfc_main$
|
|
30969
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
30970
30970
|
__name: "RelatedQueriesApi",
|
|
30971
30971
|
props: {
|
|
30972
30972
|
options: {}
|
|
@@ -31018,8 +31018,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
31018
31018
|
};
|
|
31019
31019
|
return (_ctx, _cache) => {
|
|
31020
31020
|
var _a25, _b25, _c, _d;
|
|
31021
|
-
return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31022
|
-
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$
|
|
31021
|
+
return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
31022
|
+
((_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),
|
|
31023
31023
|
createElementVNode("ul", null, [
|
|
31024
31024
|
(openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
|
|
31025
31025
|
return openBlock(), createElementBlock("li", {
|
|
@@ -31029,7 +31029,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
31029
31029
|
createElementVNode("a", {
|
|
31030
31030
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
31031
31031
|
}, [
|
|
31032
|
-
createVNode(_sfc_main$
|
|
31032
|
+
createVNode(_sfc_main$j, {
|
|
31033
31033
|
relatedQuery: query,
|
|
31034
31034
|
options: _ctx.options
|
|
31035
31035
|
}, null, 8, ["relatedQuery", "options"])
|
|
@@ -31041,6 +31041,49 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
31041
31041
|
};
|
|
31042
31042
|
}
|
|
31043
31043
|
});
|
|
31044
|
+
const _hoisted_1$f = { key: 0 };
|
|
31045
|
+
const _hoisted_2$b = ["innerHTML"];
|
|
31046
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
31047
|
+
__name: "ZeroResults",
|
|
31048
|
+
props: {
|
|
31049
|
+
emptyResultsLabel: {},
|
|
31050
|
+
currentQueryText: {},
|
|
31051
|
+
hasSimilarQueries: { type: Boolean },
|
|
31052
|
+
zeroResults: {}
|
|
31053
|
+
},
|
|
31054
|
+
setup(__props) {
|
|
31055
|
+
const props = __props;
|
|
31056
|
+
const searchResultStore = useSearchResultStore();
|
|
31057
|
+
const { searchResult } = storeToRefs(searchResultStore);
|
|
31058
|
+
const showDefaultZeroResultsTemplate = computed(() => {
|
|
31059
|
+
var _a25, _b25;
|
|
31060
|
+
return props.emptyResultsLabel && ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) === void 0 || props.hasSimilarQueries && !((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries);
|
|
31061
|
+
});
|
|
31062
|
+
const showCustomZeroResultsTemplate = computed(() => {
|
|
31063
|
+
var _a25, _b25;
|
|
31064
|
+
return ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) !== void 0 && (!props.hasSimilarQueries || ((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries));
|
|
31065
|
+
});
|
|
31066
|
+
const htmlTemplate = computed(() => {
|
|
31067
|
+
var _a25;
|
|
31068
|
+
if ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) {
|
|
31069
|
+
return props.zeroResults.customHtml(searchResult.value);
|
|
31070
|
+
}
|
|
31071
|
+
return "";
|
|
31072
|
+
});
|
|
31073
|
+
return (_ctx, _cache) => {
|
|
31074
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
31075
|
+
showDefaultZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
31076
|
+
createTextVNode(toDisplayString(_ctx.emptyResultsLabel) + " ", 1),
|
|
31077
|
+
createElementVNode("span", null, toDisplayString(_ctx.currentQueryText), 1)
|
|
31078
|
+
])) : createCommentVNode("", true),
|
|
31079
|
+
showCustomZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", {
|
|
31080
|
+
key: 1,
|
|
31081
|
+
innerHTML: htmlTemplate.value
|
|
31082
|
+
}, null, 8, _hoisted_2$b)) : createCommentVNode("", true)
|
|
31083
|
+
], 64);
|
|
31084
|
+
};
|
|
31085
|
+
}
|
|
31086
|
+
});
|
|
31044
31087
|
const _hoisted_1$e = { id: "lupa-search-results-products" };
|
|
31045
31088
|
const _hoisted_2$a = {
|
|
31046
31089
|
class: "lupa-products",
|
|
@@ -31181,41 +31224,41 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
31181
31224
|
emit("filter");
|
|
31182
31225
|
};
|
|
31183
31226
|
return (_ctx, _cache) => {
|
|
31184
|
-
var _a25;
|
|
31227
|
+
var _a25, _b25, _c;
|
|
31185
31228
|
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
31186
31229
|
unref(loading) && !unref(isMobileSidebarVisible) ? (openBlock(), createBlock(Spinner, {
|
|
31187
31230
|
key: 0,
|
|
31188
31231
|
class: "lupa-loader"
|
|
31189
31232
|
})) : createCommentVNode("", true),
|
|
31190
|
-
createVNode(_sfc_main$
|
|
31233
|
+
createVNode(_sfc_main$l, {
|
|
31191
31234
|
options: _ctx.options.redirectionSuggestions
|
|
31192
31235
|
}, null, 8, ["options"]),
|
|
31193
|
-
createVNode(_sfc_main$
|
|
31236
|
+
createVNode(_sfc_main$q, {
|
|
31194
31237
|
options: _ctx.options,
|
|
31195
31238
|
location: "top",
|
|
31196
31239
|
sdkOptions: _ctx.options.options
|
|
31197
31240
|
}, null, 8, ["options", "sdkOptions"]),
|
|
31198
|
-
showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$
|
|
31241
|
+
showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$m, {
|
|
31199
31242
|
key: 1,
|
|
31200
31243
|
options: _ctx.options.relatedQueries
|
|
31201
31244
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
31202
|
-
showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$
|
|
31245
|
+
showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$i, {
|
|
31203
31246
|
key: 2,
|
|
31204
31247
|
options: _ctx.options.relatedQueries
|
|
31205
31248
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
31206
31249
|
unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
31207
|
-
showTopFilters.value ? (openBlock(), createBlock(_sfc_main$
|
|
31250
|
+
showTopFilters.value ? (openBlock(), createBlock(_sfc_main$M, {
|
|
31208
31251
|
key: 0,
|
|
31209
31252
|
options: (_a25 = _ctx.options.filters) != null ? _a25 : {}
|
|
31210
31253
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
31211
|
-
showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$
|
|
31254
|
+
showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$F, {
|
|
31212
31255
|
key: 1,
|
|
31213
31256
|
class: "lupa-toolbar-mobile",
|
|
31214
31257
|
options: _ctx.options,
|
|
31215
31258
|
"pagination-location": "top",
|
|
31216
31259
|
onFilter: filter
|
|
31217
31260
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
31218
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$
|
|
31261
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$_, {
|
|
31219
31262
|
key: 2,
|
|
31220
31263
|
class: normalizeClass(currentFiltersClass.value),
|
|
31221
31264
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
@@ -31224,12 +31267,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
31224
31267
|
}, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
|
|
31225
31268
|
], 64)) : createCommentVNode("", true),
|
|
31226
31269
|
unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
|
|
31227
|
-
createVNode(_sfc_main$
|
|
31270
|
+
createVNode(_sfc_main$F, {
|
|
31228
31271
|
class: "lupa-toolbar-top",
|
|
31229
31272
|
options: _ctx.options,
|
|
31230
31273
|
"pagination-location": "top"
|
|
31231
31274
|
}, null, 8, ["options"]),
|
|
31232
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$
|
|
31275
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$_, {
|
|
31233
31276
|
key: 0,
|
|
31234
31277
|
class: normalizeClass(currentFiltersClass.value),
|
|
31235
31278
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
@@ -31245,7 +31288,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
31245
31288
|
options: productCardOptions.value
|
|
31246
31289
|
});
|
|
31247
31290
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(searchResult).items, (product, index) => {
|
|
31248
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31291
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
31249
31292
|
style: normalizeStyle(columnSize.value),
|
|
31250
31293
|
key: getProductKeyAction(index, product),
|
|
31251
31294
|
product,
|
|
@@ -31262,32 +31305,36 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
31262
31305
|
onClick: goToFirstPage
|
|
31263
31306
|
}, toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : createCommentVNode("", true)
|
|
31264
31307
|
])) : createCommentVNode("", true),
|
|
31265
|
-
createVNode(_sfc_main$
|
|
31308
|
+
createVNode(_sfc_main$F, {
|
|
31266
31309
|
class: "lupa-toolbar-bottom",
|
|
31267
31310
|
options: _ctx.options,
|
|
31268
31311
|
"pagination-location": "bottom"
|
|
31269
31312
|
}, null, 8, ["options"]),
|
|
31270
|
-
createVNode(_sfc_main$
|
|
31313
|
+
createVNode(_sfc_main$q, {
|
|
31271
31314
|
options: _ctx.options,
|
|
31272
31315
|
location: "bottom",
|
|
31273
31316
|
sdkOptions: _ctx.options.options
|
|
31274
31317
|
}, null, 8, ["options", "sdkOptions"])
|
|
31275
31318
|
], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
|
|
31276
|
-
|
|
31277
|
-
|
|
31319
|
+
createVNode(_sfc_main$h, {
|
|
31320
|
+
emptyResultsLabel: (_b25 = _ctx.options.labels) == null ? void 0 : _b25.emptyResults,
|
|
31321
|
+
currentQueryText: unref(currentQueryText),
|
|
31322
|
+
hasSimilarQueries: hasSimilarQueries.value || hasSimilarResults.value,
|
|
31323
|
+
zeroResults: (_c = _ctx.options) == null ? void 0 : _c.zeroResults
|
|
31324
|
+
}, null, 8, ["emptyResultsLabel", "currentQueryText", "hasSimilarQueries", "zeroResults"])
|
|
31278
31325
|
])) : createCommentVNode("", true),
|
|
31279
|
-
createVNode(_sfc_main$
|
|
31326
|
+
createVNode(_sfc_main$k, {
|
|
31280
31327
|
labels: _ctx.options.labels
|
|
31281
31328
|
}, null, 8, ["labels"]),
|
|
31282
31329
|
hasSimilarQueries.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
31283
|
-
createVNode(_sfc_main$
|
|
31330
|
+
createVNode(_sfc_main$s, {
|
|
31284
31331
|
labels: similarQueriesLabels.value,
|
|
31285
31332
|
columnSize: columnSize.value,
|
|
31286
31333
|
productCardOptions: productCardOptions.value
|
|
31287
31334
|
}, null, 8, ["labels", "columnSize", "productCardOptions"])
|
|
31288
31335
|
])) : createCommentVNode("", true),
|
|
31289
31336
|
hasSimilarResults.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
31290
|
-
createVNode(_sfc_main$
|
|
31337
|
+
createVNode(_sfc_main$o, {
|
|
31291
31338
|
labels: similarResultsLabels.value,
|
|
31292
31339
|
columnSize: columnSize.value,
|
|
31293
31340
|
productCardOptions: productCardOptions.value
|
|
@@ -31366,14 +31413,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
31366
31413
|
])) : createCommentVNode("", true),
|
|
31367
31414
|
hasRelatedCategoryChildren.value ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
31368
31415
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(relatedCategoryChildren), (child) => {
|
|
31369
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31416
|
+
return openBlock(), createBlock(_sfc_main$Z, {
|
|
31370
31417
|
key: getCategoryKey(child),
|
|
31371
31418
|
item: child,
|
|
31372
31419
|
options: categoryOptions.value
|
|
31373
31420
|
}, null, 8, ["item", "options"]);
|
|
31374
31421
|
}), 128))
|
|
31375
31422
|
])) : createCommentVNode("", true),
|
|
31376
|
-
createVNode(_sfc_main$
|
|
31423
|
+
createVNode(_sfc_main$F, {
|
|
31377
31424
|
class: "lupa-toolbar-mobile",
|
|
31378
31425
|
"pagination-location": "top",
|
|
31379
31426
|
options: _ctx.options
|
|
@@ -31681,8 +31728,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
31681
31728
|
class: normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !unref(hasResults) }])
|
|
31682
31729
|
}, [
|
|
31683
31730
|
_ctx.isContainer ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
31684
|
-
createVNode(_sfc_main$
|
|
31685
|
-
createVNode(_sfc_main
|
|
31731
|
+
createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
31732
|
+
createVNode(_sfc_main$10, {
|
|
31686
31733
|
"show-summary": true,
|
|
31687
31734
|
options: _ctx.options,
|
|
31688
31735
|
"is-product-list": (_a25 = _ctx.isProductList) != null ? _a25 : false
|
|
@@ -31692,12 +31739,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
31692
31739
|
key: 1,
|
|
31693
31740
|
options: _ctx.options
|
|
31694
31741
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
31695
|
-
_ctx.options.filters ? (openBlock(), createBlock(_sfc_main$
|
|
31742
|
+
_ctx.options.filters ? (openBlock(), createBlock(_sfc_main$O, {
|
|
31696
31743
|
key: 2,
|
|
31697
31744
|
options: _ctx.options.filters,
|
|
31698
31745
|
onFilter: handleParamsChange
|
|
31699
31746
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
31700
|
-
unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$
|
|
31747
|
+
unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$N, {
|
|
31701
31748
|
key: 3,
|
|
31702
31749
|
breadcrumbs: _ctx.options.breadcrumbs
|
|
31703
31750
|
}, null, 8, ["breadcrumbs"])) : createCommentVNode("", true),
|
|
@@ -31706,7 +31753,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
31706
31753
|
id: "lupa-search-results",
|
|
31707
31754
|
class: normalizeClass(["top-layout-wrapper", indicatorClasses.value])
|
|
31708
31755
|
}, [
|
|
31709
|
-
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$
|
|
31756
|
+
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
|
|
31710
31757
|
key: 0,
|
|
31711
31758
|
options: (_b25 = _ctx.options.filters) != null ? _b25 : {},
|
|
31712
31759
|
ref_key: "searchResultsFilters",
|
|
@@ -31714,8 +31761,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
31714
31761
|
onFilter: handleParamsChange
|
|
31715
31762
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
31716
31763
|
createElementVNode("div", _hoisted_2$8, [
|
|
31717
|
-
createVNode(_sfc_main$
|
|
31718
|
-
createVNode(_sfc_main
|
|
31764
|
+
createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
31765
|
+
createVNode(_sfc_main$10, {
|
|
31719
31766
|
options: _ctx.options,
|
|
31720
31767
|
"is-product-list": (_c = _ctx.isProductList) != null ? _c : false
|
|
31721
31768
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -31731,8 +31778,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
31731
31778
|
}, 8, ["options", "ssr"])
|
|
31732
31779
|
])
|
|
31733
31780
|
], 2)) : (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
31734
|
-
createVNode(_sfc_main$
|
|
31735
|
-
createVNode(_sfc_main
|
|
31781
|
+
createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
31782
|
+
createVNode(_sfc_main$10, {
|
|
31736
31783
|
options: _ctx.options,
|
|
31737
31784
|
"is-product-list": (_d = _ctx.isProductList) != null ? _d : false
|
|
31738
31785
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -31740,7 +31787,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
31740
31787
|
id: "lupa-search-results",
|
|
31741
31788
|
class: normalizeClass(indicatorClasses.value)
|
|
31742
31789
|
}, [
|
|
31743
|
-
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$
|
|
31790
|
+
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
|
|
31744
31791
|
key: 0,
|
|
31745
31792
|
options: (_e = _ctx.options.filters) != null ? _e : {},
|
|
31746
31793
|
ref_key: "searchResultsFilters",
|
|
@@ -31891,7 +31938,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
31891
31938
|
onClick: withModifiers(innerClick, ["stop"])
|
|
31892
31939
|
}, [
|
|
31893
31940
|
createElementVNode("div", _hoisted_1$a, [
|
|
31894
|
-
createVNode(_sfc_main$
|
|
31941
|
+
createVNode(_sfc_main$13, {
|
|
31895
31942
|
options: fullSearchBoxOptions.value,
|
|
31896
31943
|
"is-search-container": true,
|
|
31897
31944
|
ref_key: "searchBox",
|
|
@@ -33526,7 +33573,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
33526
33573
|
key: getProductKeyAction(index, product)
|
|
33527
33574
|
}, {
|
|
33528
33575
|
default: withCtx(() => [
|
|
33529
|
-
createVNode(_sfc_main$
|
|
33576
|
+
createVNode(_sfc_main$t, {
|
|
33530
33577
|
product,
|
|
33531
33578
|
options: _ctx.options,
|
|
33532
33579
|
"click-tracking-settings": clickTrackingSettings.value,
|
|
@@ -33541,7 +33588,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
33541
33588
|
_: 1
|
|
33542
33589
|
}, 16)) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
33543
33590
|
(openBlock(true), createElementBlock(Fragment, null, renderList(recommendations.value, (product, index) => {
|
|
33544
|
-
return openBlock(), createBlock(_sfc_main$
|
|
33591
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
33545
33592
|
style: normalizeStyle(columnSize.value),
|
|
33546
33593
|
key: getProductKeyAction(index, product),
|
|
33547
33594
|
product,
|
|
@@ -33787,7 +33834,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
33787
33834
|
createElementVNode("a", {
|
|
33788
33835
|
href: getLink(product)
|
|
33789
33836
|
}, [
|
|
33790
|
-
createVNode(_sfc_main$
|
|
33837
|
+
createVNode(_sfc_main$E, {
|
|
33791
33838
|
item: product,
|
|
33792
33839
|
options: image.value
|
|
33793
33840
|
}, null, 8, ["item", "options"])
|
|
@@ -33952,7 +33999,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
33952
33999
|
return (_ctx, _cache) => {
|
|
33953
34000
|
return openBlock(), createElementBlock("section", _hoisted_1$3, [
|
|
33954
34001
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchResults, (product, index) => {
|
|
33955
|
-
return openBlock(), createBlock(_sfc_main$
|
|
34002
|
+
return openBlock(), createBlock(_sfc_main$t, {
|
|
33956
34003
|
class: "lupa-chat-product-card",
|
|
33957
34004
|
key: getProductKeyAction(index, product),
|
|
33958
34005
|
product,
|
|
@@ -34287,7 +34334,7 @@ export {
|
|
|
34287
34334
|
LupaSearch,
|
|
34288
34335
|
_sfc_main$c as ProductList,
|
|
34289
34336
|
_sfc_main$a as Recommendations,
|
|
34290
|
-
_sfc_main$
|
|
34337
|
+
_sfc_main$13 as SearchBox,
|
|
34291
34338
|
SearchBoxPanelType,
|
|
34292
34339
|
_sfc_main$b as SearchContainer,
|
|
34293
34340
|
_sfc_main$e as SearchResults,
|