@getlupa/client 1.13.4 → 1.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lupaSearch.iife.js +16 -8
- package/dist/lupaSearch.js +16 -8
- package/dist/lupaSearch.mjs +16 -8
- package/dist/lupaSearch.umd.js +16 -8
- package/package.json +2 -2
package/dist/lupaSearch.iife.js
CHANGED
|
@@ -8544,7 +8544,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8544
8544
|
};
|
|
8545
8545
|
});
|
|
8546
8546
|
const _hoisted_1$1d = { id: "lupa-search-box-input-container" };
|
|
8547
|
-
const _hoisted_2$
|
|
8547
|
+
const _hoisted_2$S = { class: "lupa-input-clear" };
|
|
8548
8548
|
const _hoisted_3$B = { id: "lupa-search-box-input" };
|
|
8549
8549
|
const _hoisted_4$t = ["value"];
|
|
8550
8550
|
const _hoisted_5$j = ["aria-label", "placeholder"];
|
|
@@ -8641,7 +8641,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8641
8641
|
__expose({ focus });
|
|
8642
8642
|
return (_ctx, _cache) => {
|
|
8643
8643
|
return openBlock(), createElementBlock("div", _hoisted_1$1d, [
|
|
8644
|
-
createBaseVNode("div", _hoisted_2$
|
|
8644
|
+
createBaseVNode("div", _hoisted_2$S, [
|
|
8645
8645
|
createBaseVNode("div", {
|
|
8646
8646
|
class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
|
|
8647
8647
|
onClick: clear2
|
|
@@ -8719,7 +8719,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8719
8719
|
}
|
|
8720
8720
|
});
|
|
8721
8721
|
const _hoisted_1$1c = { class: "lupa-search-box-history-item" };
|
|
8722
|
-
const _hoisted_2$
|
|
8722
|
+
const _hoisted_2$R = { class: "lupa-search-box-history-item-content" };
|
|
8723
8723
|
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
8724
8724
|
__name: "SearchBoxHistoryItem",
|
|
8725
8725
|
props: {
|
|
@@ -8737,7 +8737,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8737
8737
|
};
|
|
8738
8738
|
return (_ctx, _cache) => {
|
|
8739
8739
|
return openBlock(), createElementBlock("div", _hoisted_1$1c, [
|
|
8740
|
-
createBaseVNode("div", _hoisted_2$
|
|
8740
|
+
createBaseVNode("div", _hoisted_2$R, [
|
|
8741
8741
|
createBaseVNode("div", {
|
|
8742
8742
|
class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
|
|
8743
8743
|
onClick: click2
|
|
@@ -8827,7 +8827,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8827
8827
|
}
|
|
8828
8828
|
});
|
|
8829
8829
|
const _hoisted_1$19 = ["innerHTML"];
|
|
8830
|
-
const _hoisted_2$
|
|
8830
|
+
const _hoisted_2$Q = {
|
|
8831
8831
|
key: 1,
|
|
8832
8832
|
"data-cy": "lupa-suggestion-value",
|
|
8833
8833
|
class: "lupa-suggestion-value"
|
|
@@ -8881,7 +8881,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8881
8881
|
class: "lupa-suggestion-value",
|
|
8882
8882
|
"data-cy": "lupa-suggestion-value",
|
|
8883
8883
|
innerHTML: _ctx.suggestion.displayHighlight
|
|
8884
|
-
}, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8884
|
+
}, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(_ctx.suggestion.display), 1)),
|
|
8885
8885
|
_ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
8886
8886
|
createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
|
|
8887
8887
|
createBaseVNode("span", _hoisted_5$i, toDisplayString(_ctx.suggestion.facet.title), 1)
|
|
@@ -9130,6 +9130,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
9130
9130
|
}
|
|
9131
9131
|
};
|
|
9132
9132
|
const _hoisted_1$17 = ["src"];
|
|
9133
|
+
const _hoisted_2$P = ["src"];
|
|
9133
9134
|
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
9134
9135
|
__name: "ProductImage",
|
|
9135
9136
|
props: {
|
|
@@ -9240,7 +9241,10 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
9240
9241
|
onMouseenter: handleMouseEnter,
|
|
9241
9242
|
onMouseleave: handleMouseLeave
|
|
9242
9243
|
}, [
|
|
9243
|
-
|
|
9244
|
+
hasHoverImages.value ? (openBlock(), createBlock(Transition, {
|
|
9245
|
+
key: 0,
|
|
9246
|
+
name: "lupa-fade"
|
|
9247
|
+
}, {
|
|
9244
9248
|
default: withCtx(() => [
|
|
9245
9249
|
(openBlock(), createElementBlock("img", mergeProps({
|
|
9246
9250
|
class: ["lupa-images-hover-image", { [_ctx.imageClass]: true, "lupa-images-hover-image": isHover.value }],
|
|
@@ -9251,7 +9255,11 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
9251
9255
|
}), null, 16, _hoisted_1$17))
|
|
9252
9256
|
]),
|
|
9253
9257
|
_: 1
|
|
9254
|
-
})
|
|
9258
|
+
})) : (openBlock(), createElementBlock("img", mergeProps({
|
|
9259
|
+
key: 1,
|
|
9260
|
+
class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
|
|
9261
|
+
src: finalMainImageUrl.value
|
|
9262
|
+
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$P))
|
|
9255
9263
|
], 34);
|
|
9256
9264
|
};
|
|
9257
9265
|
}
|
package/dist/lupaSearch.js
CHANGED
|
@@ -8544,7 +8544,7 @@ const useSearchBoxStore = defineStore("searchBox", () => {
|
|
|
8544
8544
|
};
|
|
8545
8545
|
});
|
|
8546
8546
|
const _hoisted_1$1d = { id: "lupa-search-box-input-container" };
|
|
8547
|
-
const _hoisted_2$
|
|
8547
|
+
const _hoisted_2$S = { class: "lupa-input-clear" };
|
|
8548
8548
|
const _hoisted_3$B = { id: "lupa-search-box-input" };
|
|
8549
8549
|
const _hoisted_4$t = ["value"];
|
|
8550
8550
|
const _hoisted_5$j = ["aria-label", "placeholder"];
|
|
@@ -8641,7 +8641,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
8641
8641
|
__expose({ focus });
|
|
8642
8642
|
return (_ctx, _cache) => {
|
|
8643
8643
|
return openBlock(), createElementBlock("div", _hoisted_1$1d, [
|
|
8644
|
-
createBaseVNode("div", _hoisted_2$
|
|
8644
|
+
createBaseVNode("div", _hoisted_2$S, [
|
|
8645
8645
|
createBaseVNode("div", {
|
|
8646
8646
|
class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
|
|
8647
8647
|
onClick: clear2
|
|
@@ -8719,7 +8719,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
8719
8719
|
}
|
|
8720
8720
|
});
|
|
8721
8721
|
const _hoisted_1$1c = { class: "lupa-search-box-history-item" };
|
|
8722
|
-
const _hoisted_2$
|
|
8722
|
+
const _hoisted_2$R = { class: "lupa-search-box-history-item-content" };
|
|
8723
8723
|
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
8724
8724
|
__name: "SearchBoxHistoryItem",
|
|
8725
8725
|
props: {
|
|
@@ -8737,7 +8737,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
8737
8737
|
};
|
|
8738
8738
|
return (_ctx, _cache) => {
|
|
8739
8739
|
return openBlock(), createElementBlock("div", _hoisted_1$1c, [
|
|
8740
|
-
createBaseVNode("div", _hoisted_2$
|
|
8740
|
+
createBaseVNode("div", _hoisted_2$R, [
|
|
8741
8741
|
createBaseVNode("div", {
|
|
8742
8742
|
class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
|
|
8743
8743
|
onClick: click2
|
|
@@ -8827,7 +8827,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
8827
8827
|
}
|
|
8828
8828
|
});
|
|
8829
8829
|
const _hoisted_1$19 = ["innerHTML"];
|
|
8830
|
-
const _hoisted_2$
|
|
8830
|
+
const _hoisted_2$Q = {
|
|
8831
8831
|
key: 1,
|
|
8832
8832
|
"data-cy": "lupa-suggestion-value",
|
|
8833
8833
|
class: "lupa-suggestion-value"
|
|
@@ -8881,7 +8881,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
8881
8881
|
class: "lupa-suggestion-value",
|
|
8882
8882
|
"data-cy": "lupa-suggestion-value",
|
|
8883
8883
|
innerHTML: _ctx.suggestion.displayHighlight
|
|
8884
|
-
}, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8884
|
+
}, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(_ctx.suggestion.display), 1)),
|
|
8885
8885
|
_ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
8886
8886
|
createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
|
|
8887
8887
|
createBaseVNode("span", _hoisted_5$i, toDisplayString(_ctx.suggestion.facet.title), 1)
|
|
@@ -9130,6 +9130,7 @@ const replaceImageWithPlaceholder = (e2, placeholder) => {
|
|
|
9130
9130
|
}
|
|
9131
9131
|
};
|
|
9132
9132
|
const _hoisted_1$17 = ["src"];
|
|
9133
|
+
const _hoisted_2$P = ["src"];
|
|
9133
9134
|
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
9134
9135
|
__name: "ProductImage",
|
|
9135
9136
|
props: {
|
|
@@ -9240,7 +9241,10 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
9240
9241
|
onMouseenter: handleMouseEnter,
|
|
9241
9242
|
onMouseleave: handleMouseLeave
|
|
9242
9243
|
}, [
|
|
9243
|
-
|
|
9244
|
+
hasHoverImages.value ? (openBlock(), createBlock(Transition, {
|
|
9245
|
+
key: 0,
|
|
9246
|
+
name: "lupa-fade"
|
|
9247
|
+
}, {
|
|
9244
9248
|
default: withCtx(() => [
|
|
9245
9249
|
(openBlock(), createElementBlock("img", mergeProps({
|
|
9246
9250
|
class: ["lupa-images-hover-image", { [_ctx.imageClass]: true, "lupa-images-hover-image": isHover.value }],
|
|
@@ -9251,7 +9255,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
9251
9255
|
}), null, 16, _hoisted_1$17))
|
|
9252
9256
|
]),
|
|
9253
9257
|
_: 1
|
|
9254
|
-
})
|
|
9258
|
+
})) : (openBlock(), createElementBlock("img", mergeProps({
|
|
9259
|
+
key: 1,
|
|
9260
|
+
class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
|
|
9261
|
+
src: finalMainImageUrl.value
|
|
9262
|
+
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$P))
|
|
9255
9263
|
], 34);
|
|
9256
9264
|
};
|
|
9257
9265
|
}
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -8542,7 +8542,7 @@ const useSearchBoxStore = defineStore("searchBox", () => {
|
|
|
8542
8542
|
};
|
|
8543
8543
|
});
|
|
8544
8544
|
const _hoisted_1$1d = { id: "lupa-search-box-input-container" };
|
|
8545
|
-
const _hoisted_2$
|
|
8545
|
+
const _hoisted_2$S = { class: "lupa-input-clear" };
|
|
8546
8546
|
const _hoisted_3$B = { id: "lupa-search-box-input" };
|
|
8547
8547
|
const _hoisted_4$t = ["value"];
|
|
8548
8548
|
const _hoisted_5$j = ["aria-label", "placeholder"];
|
|
@@ -8639,7 +8639,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
8639
8639
|
__expose({ focus });
|
|
8640
8640
|
return (_ctx, _cache) => {
|
|
8641
8641
|
return openBlock(), createElementBlock("div", _hoisted_1$1d, [
|
|
8642
|
-
createBaseVNode("div", _hoisted_2$
|
|
8642
|
+
createBaseVNode("div", _hoisted_2$S, [
|
|
8643
8643
|
createBaseVNode("div", {
|
|
8644
8644
|
class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
|
|
8645
8645
|
onClick: clear2
|
|
@@ -8717,7 +8717,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
8717
8717
|
}
|
|
8718
8718
|
});
|
|
8719
8719
|
const _hoisted_1$1c = { class: "lupa-search-box-history-item" };
|
|
8720
|
-
const _hoisted_2$
|
|
8720
|
+
const _hoisted_2$R = { class: "lupa-search-box-history-item-content" };
|
|
8721
8721
|
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
8722
8722
|
__name: "SearchBoxHistoryItem",
|
|
8723
8723
|
props: {
|
|
@@ -8735,7 +8735,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
8735
8735
|
};
|
|
8736
8736
|
return (_ctx, _cache) => {
|
|
8737
8737
|
return openBlock(), createElementBlock("div", _hoisted_1$1c, [
|
|
8738
|
-
createBaseVNode("div", _hoisted_2$
|
|
8738
|
+
createBaseVNode("div", _hoisted_2$R, [
|
|
8739
8739
|
createBaseVNode("div", {
|
|
8740
8740
|
class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
|
|
8741
8741
|
onClick: click2
|
|
@@ -8825,7 +8825,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
8825
8825
|
}
|
|
8826
8826
|
});
|
|
8827
8827
|
const _hoisted_1$19 = ["innerHTML"];
|
|
8828
|
-
const _hoisted_2$
|
|
8828
|
+
const _hoisted_2$Q = {
|
|
8829
8829
|
key: 1,
|
|
8830
8830
|
"data-cy": "lupa-suggestion-value",
|
|
8831
8831
|
class: "lupa-suggestion-value"
|
|
@@ -8879,7 +8879,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
8879
8879
|
class: "lupa-suggestion-value",
|
|
8880
8880
|
"data-cy": "lupa-suggestion-value",
|
|
8881
8881
|
innerHTML: _ctx.suggestion.displayHighlight
|
|
8882
|
-
}, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8882
|
+
}, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(_ctx.suggestion.display), 1)),
|
|
8883
8883
|
_ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
8884
8884
|
createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
|
|
8885
8885
|
createBaseVNode("span", _hoisted_5$i, toDisplayString(_ctx.suggestion.facet.title), 1)
|
|
@@ -9128,6 +9128,7 @@ const replaceImageWithPlaceholder = (e2, placeholder) => {
|
|
|
9128
9128
|
}
|
|
9129
9129
|
};
|
|
9130
9130
|
const _hoisted_1$17 = ["src"];
|
|
9131
|
+
const _hoisted_2$P = ["src"];
|
|
9131
9132
|
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
9132
9133
|
__name: "ProductImage",
|
|
9133
9134
|
props: {
|
|
@@ -9238,7 +9239,10 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
9238
9239
|
onMouseenter: handleMouseEnter,
|
|
9239
9240
|
onMouseleave: handleMouseLeave
|
|
9240
9241
|
}, [
|
|
9241
|
-
|
|
9242
|
+
hasHoverImages.value ? (openBlock(), createBlock(Transition, {
|
|
9243
|
+
key: 0,
|
|
9244
|
+
name: "lupa-fade"
|
|
9245
|
+
}, {
|
|
9242
9246
|
default: withCtx(() => [
|
|
9243
9247
|
(openBlock(), createElementBlock("img", mergeProps({
|
|
9244
9248
|
class: ["lupa-images-hover-image", { [_ctx.imageClass]: true, "lupa-images-hover-image": isHover.value }],
|
|
@@ -9249,7 +9253,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
9249
9253
|
}), null, 16, _hoisted_1$17))
|
|
9250
9254
|
]),
|
|
9251
9255
|
_: 1
|
|
9252
|
-
})
|
|
9256
|
+
})) : (openBlock(), createElementBlock("img", mergeProps({
|
|
9257
|
+
key: 1,
|
|
9258
|
+
class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
|
|
9259
|
+
src: finalMainImageUrl.value
|
|
9260
|
+
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$P))
|
|
9253
9261
|
], 34);
|
|
9254
9262
|
};
|
|
9255
9263
|
}
|
package/dist/lupaSearch.umd.js
CHANGED
|
@@ -8546,7 +8546,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8546
8546
|
};
|
|
8547
8547
|
});
|
|
8548
8548
|
const _hoisted_1$1d = { id: "lupa-search-box-input-container" };
|
|
8549
|
-
const _hoisted_2$
|
|
8549
|
+
const _hoisted_2$S = { class: "lupa-input-clear" };
|
|
8550
8550
|
const _hoisted_3$B = { id: "lupa-search-box-input" };
|
|
8551
8551
|
const _hoisted_4$t = ["value"];
|
|
8552
8552
|
const _hoisted_5$j = ["aria-label", "placeholder"];
|
|
@@ -8643,7 +8643,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8643
8643
|
__expose({ focus });
|
|
8644
8644
|
return (_ctx, _cache) => {
|
|
8645
8645
|
return openBlock(), createElementBlock("div", _hoisted_1$1d, [
|
|
8646
|
-
createBaseVNode("div", _hoisted_2$
|
|
8646
|
+
createBaseVNode("div", _hoisted_2$S, [
|
|
8647
8647
|
createBaseVNode("div", {
|
|
8648
8648
|
class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
|
|
8649
8649
|
onClick: clear2
|
|
@@ -8721,7 +8721,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8721
8721
|
}
|
|
8722
8722
|
});
|
|
8723
8723
|
const _hoisted_1$1c = { class: "lupa-search-box-history-item" };
|
|
8724
|
-
const _hoisted_2$
|
|
8724
|
+
const _hoisted_2$R = { class: "lupa-search-box-history-item-content" };
|
|
8725
8725
|
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
8726
8726
|
__name: "SearchBoxHistoryItem",
|
|
8727
8727
|
props: {
|
|
@@ -8739,7 +8739,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8739
8739
|
};
|
|
8740
8740
|
return (_ctx, _cache) => {
|
|
8741
8741
|
return openBlock(), createElementBlock("div", _hoisted_1$1c, [
|
|
8742
|
-
createBaseVNode("div", _hoisted_2$
|
|
8742
|
+
createBaseVNode("div", _hoisted_2$R, [
|
|
8743
8743
|
createBaseVNode("div", {
|
|
8744
8744
|
class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
|
|
8745
8745
|
onClick: click2
|
|
@@ -8829,7 +8829,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8829
8829
|
}
|
|
8830
8830
|
});
|
|
8831
8831
|
const _hoisted_1$19 = ["innerHTML"];
|
|
8832
|
-
const _hoisted_2$
|
|
8832
|
+
const _hoisted_2$Q = {
|
|
8833
8833
|
key: 1,
|
|
8834
8834
|
"data-cy": "lupa-suggestion-value",
|
|
8835
8835
|
class: "lupa-suggestion-value"
|
|
@@ -8883,7 +8883,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
8883
8883
|
class: "lupa-suggestion-value",
|
|
8884
8884
|
"data-cy": "lupa-suggestion-value",
|
|
8885
8885
|
innerHTML: _ctx.suggestion.displayHighlight
|
|
8886
|
-
}, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8886
|
+
}, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(_ctx.suggestion.display), 1)),
|
|
8887
8887
|
_ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
8888
8888
|
createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
|
|
8889
8889
|
createBaseVNode("span", _hoisted_5$i, toDisplayString(_ctx.suggestion.facet.title), 1)
|
|
@@ -9132,6 +9132,7 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
9132
9132
|
}
|
|
9133
9133
|
};
|
|
9134
9134
|
const _hoisted_1$17 = ["src"];
|
|
9135
|
+
const _hoisted_2$P = ["src"];
|
|
9135
9136
|
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
9136
9137
|
__name: "ProductImage",
|
|
9137
9138
|
props: {
|
|
@@ -9242,7 +9243,10 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
9242
9243
|
onMouseenter: handleMouseEnter,
|
|
9243
9244
|
onMouseleave: handleMouseLeave
|
|
9244
9245
|
}, [
|
|
9245
|
-
|
|
9246
|
+
hasHoverImages.value ? (openBlock(), createBlock(Transition, {
|
|
9247
|
+
key: 0,
|
|
9248
|
+
name: "lupa-fade"
|
|
9249
|
+
}, {
|
|
9246
9250
|
default: withCtx(() => [
|
|
9247
9251
|
(openBlock(), createElementBlock("img", mergeProps({
|
|
9248
9252
|
class: ["lupa-images-hover-image", { [_ctx.imageClass]: true, "lupa-images-hover-image": isHover.value }],
|
|
@@ -9253,7 +9257,11 @@ var __async2 = (__this, __arguments, generator) => {
|
|
|
9253
9257
|
}), null, 16, _hoisted_1$17))
|
|
9254
9258
|
]),
|
|
9255
9259
|
_: 1
|
|
9256
|
-
})
|
|
9260
|
+
})) : (openBlock(), createElementBlock("img", mergeProps({
|
|
9261
|
+
key: 1,
|
|
9262
|
+
class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
|
|
9263
|
+
src: finalMainImageUrl.value
|
|
9264
|
+
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$P))
|
|
9257
9265
|
], 34);
|
|
9258
9266
|
};
|
|
9259
9267
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getlupa/client",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.5",
|
|
4
4
|
"main": "dist/lupaSearch.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@getlupa/client-sdk": "^1.3.4",
|
|
23
|
-
"@getlupa/vue": "0.13.
|
|
23
|
+
"@getlupa/vue": "0.13.5",
|
|
24
24
|
"@rushstack/eslint-patch": "^1.3.2",
|
|
25
25
|
"@tsconfig/node18": "^2.0.1",
|
|
26
26
|
"@types/jsdom": "^21.1.1",
|