@getlupa/client 1.3.3 → 1.3.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/lupaChatStyle.css +1 -1
- package/dist/lupaSearch.iife.js +8 -16
- package/dist/lupaSearch.js +8 -16
- package/dist/lupaSearch.mjs +8 -16
- package/dist/lupaSearch.umd.js +8 -16
- package/package.json +2 -2
package/dist/lupaChatStyle.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;700&display=swap";.lupa-chat-section-title{font-family:"Roboto",sans-serif;font-weight:300;font-size:32px}.lupasearch-chat-input #lupa-search-box-input::after{display:none}.lupa-chat-input-container{z-index:100}.lupasearch-chat{max-width:1200px;margin:auto}.lupasearch-chat-content ul{list-style:none;padding-left:0;margin:0}.lupa-chat-phrase-title{margin-left:15px}.lupa-chat-content-entry{background:#fff;box-shadow:0px 3px 3px -2px rgba(0,0,0,.2),0px 3px 4px 0px rgba(0,0,0,.14),0px 1px 8px 0px rgba(0,0,0,.12);padding:15px;margin:20px 0}.lupa-chat-content-entry-phrase h3,.lupa-chat-best-matches h3{font-family:"Roboto",sans-serif;margin:15px 0 0;font-size:24px}.lupa-chat-content-entry-phrase sub,.lupa-chat-best-matches sub{display:block;font-family:"Roboto",sans-serif;font-size:13px;color:#9e9e9e}.lupa-chat-content-entry-phrase sub:last-child,.lupa-chat-best-matches sub:last-child{margin-bottom:20px}.lupa-chat-best-matches h3{margin-left:15px;margin-bottom:10px}.lupa-chat-best-matches p{margin-left:15px;font-family:"Roboto",sans-serif;font-weight:300}.lupa-chat-input-container{background:#fff;padding:20px;box-shadow:0px 3px 3px -2px rgba(0,0,0,.2),0px 3px 4px 0px rgba(0,0,0,.14),0px 1px 8px 0px rgba(0,0,0,.12)}.lupa-chat-input-container input{font-weight:300}.lupa-chat-logo img{width:300px;height:200px;margin:auto;display:block}.lupa-chat-spinner-main{margin-bottom:40px}.lupa-chat-spinner{text-align:center}.lupa-chat-spinner .lds-ring div{border:8px solid #3c53f4;border-color:#3c53f4 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}.lupa-chat-spinner-message{font-family:"Roboto",sans-serif;font-weight:300;font-size:16px;margin-top:10px;margin-bottom:15px}.lupa-chat-form-submit{appearance:none;border:none;background:#3c53f4;color:#fff;padding:14px;margin:0;cursor:pointer;appearance:none;font-family:"Roboto",sans-serif;font-size:16px;font-weight:700}.chat-input-form{display:flex;justify-content:space-between}.chat-input-form #lupa-search-box-input{flex-grow:1;margin-right:15px}.lupa-chat-results{display:flex;flex-wrap:wrap}.lupa-search-results-image{max-height:150px}.lupa-search-results-image-wrapper{padding-bottom:80%}.lupa-search-results-product-title-text{font-size:16px;font-weight:300;line-height:1.3}.lupa-chat-no-results p{font-family:"Roboto",sans-serif;font-weight:300;font-size:16px;margin-left:15px}.lupa-chat-product-card{width:20%}@media(max-width: 1200px){.lupa-chat-product-card{width:30%}}@media(max-width: 1024px){.lupa-chat-product-card{width:40%}}@media(max-width: 700px){.lupa-chat-product-card{width:50%}}.wrapper{background:none}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;700&display=swap";.lupa-chat-section-title{font-family:"Roboto",sans-serif;font-weight:300;font-size:32px}.lupasearch-chat-input #lupa-search-box-input::after{display:none}.lupa-chat-input-container{z-index:100}.lupasearch-chat{max-width:1200px;margin:auto}.lupasearch-chat-content ul{list-style:none;padding-left:0;margin:0}.lupa-chat-phrase-title{margin-left:15px}.lupa-chat-content-entry{background:#fff;box-shadow:0px 3px 3px -2px rgba(0,0,0,.2),0px 3px 4px 0px rgba(0,0,0,.14),0px 1px 8px 0px rgba(0,0,0,.12);padding:15px;margin:20px 0}.lupa-chat-content-entry-phrase h3,.lupa-chat-best-matches h3{font-family:"Roboto",sans-serif;margin:15px 0 0;font-size:24px}.lupa-chat-content-entry-phrase sub,.lupa-chat-best-matches sub{display:block;font-family:"Roboto",sans-serif;font-size:13px;color:#9e9e9e}.lupa-chat-content-entry-phrase sub:last-child,.lupa-chat-best-matches sub:last-child{margin-bottom:20px}.lupa-chat-best-matches h3{margin-left:15px;margin-bottom:10px}.lupa-chat-best-matches p{margin-left:15px;font-family:"Roboto",sans-serif;font-weight:300}.lupa-chat-input-container{background:#fff;padding:20px;box-shadow:0px 3px 3px -2px rgba(0,0,0,.2),0px 3px 4px 0px rgba(0,0,0,.14),0px 1px 8px 0px rgba(0,0,0,.12)}.lupa-chat-input-container input{font-weight:300}.lupa-chat-logo img{width:300px;height:200px;margin:auto;display:block}.lupa-chat-spinner-main{margin-bottom:40px}.lupa-chat-spinner{text-align:center}.lupa-chat-spinner .lds-ring div{border:8px solid #3c53f4;border-color:#3c53f4 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}.lds-ring{display:inline-block;position:relative;width:80px;height:80px}.lds-ring div{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border:8px solid #fff;border-radius:50%;animation:lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;border-color:#fff rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}.lds-ring div:nth-child(1){animation-delay:-0.45s}.lds-ring div:nth-child(2){animation-delay:-0.3s}.lds-ring div:nth-child(3){animation-delay:-0.15s}@keyframes lds-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.lds-ring.small{width:40px;height:40px;border-width:6px}.lds-ring.small div{width:32px;height:32px;border-width:6px}.lupa-chat-spinner-message{font-family:"Roboto",sans-serif;font-weight:300;font-size:16px;margin-top:10px;margin-bottom:15px}.lupa-chat-form-submit{appearance:none;border:none;background:#3c53f4;color:#fff;padding:14px;margin:0;cursor:pointer;appearance:none;font-family:"Roboto",sans-serif;font-size:16px;font-weight:700}.chat-input-form{display:flex;justify-content:space-between}.chat-input-form #lupa-search-box-input{flex-grow:1;margin-right:15px}.lupa-chat-results{display:flex;flex-wrap:wrap}.lupa-search-results-image{max-height:150px}.lupa-search-results-image-wrapper{padding-bottom:80%}.lupa-search-results-product-title-text{font-size:16px;font-weight:300;line-height:1.3}.lupa-chat-no-results p{font-family:"Roboto",sans-serif;font-weight:300;font-size:16px;margin-left:15px}.lupa-chat-product-card{width:20%}@media(max-width: 1200px){.lupa-chat-product-card{width:30%}}@media(max-width: 1024px){.lupa-chat-product-card{width:40%}}@media(max-width: 700px){.lupa-chat-product-card{width:50%}}.wrapper{background:none}
|
package/dist/lupaSearch.iife.js
CHANGED
|
@@ -1537,12 +1537,6 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
1537
1537
|
currentScopeId = instance && instance.type.__scopeId || null;
|
|
1538
1538
|
return prev;
|
|
1539
1539
|
}
|
|
1540
|
-
function pushScopeId(id) {
|
|
1541
|
-
currentScopeId = id;
|
|
1542
|
-
}
|
|
1543
|
-
function popScopeId() {
|
|
1544
|
-
currentScopeId = null;
|
|
1545
|
-
}
|
|
1546
1540
|
function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {
|
|
1547
1541
|
if (!ctx)
|
|
1548
1542
|
return fn;
|
|
@@ -20628,12 +20622,11 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20628
20622
|
};
|
|
20629
20623
|
}
|
|
20630
20624
|
});
|
|
20631
|
-
const _withScopeId = (n) => (pushScopeId("data-v-6fa22b2b"), n = n(), popScopeId(), n);
|
|
20632
20625
|
const _hoisted_1$6 = { class: "lupa-chat-spinner" };
|
|
20633
|
-
const _hoisted_2$4 = /* @__PURE__ */
|
|
20634
|
-
const _hoisted_3$4 = /* @__PURE__ */
|
|
20635
|
-
const _hoisted_4$2 = /* @__PURE__ */
|
|
20636
|
-
const _hoisted_5$2 = /* @__PURE__ */
|
|
20626
|
+
const _hoisted_2$4 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20627
|
+
const _hoisted_3$4 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20628
|
+
const _hoisted_4$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20629
|
+
const _hoisted_5$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20637
20630
|
const _hoisted_6$1 = [
|
|
20638
20631
|
_hoisted_2$4,
|
|
20639
20632
|
_hoisted_3$4,
|
|
@@ -20658,7 +20651,6 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20658
20651
|
};
|
|
20659
20652
|
}
|
|
20660
20653
|
});
|
|
20661
|
-
const ChatSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6fa22b2b"]]);
|
|
20662
20654
|
const _hoisted_1$5 = { class: "lupa-chat-input-container" };
|
|
20663
20655
|
const _hoisted_2$3 = { id: "lupa-search-box-input" };
|
|
20664
20656
|
const _hoisted_3$3 = {
|
|
@@ -20697,7 +20689,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20697
20689
|
[vModelText, inputValue.value]
|
|
20698
20690
|
])
|
|
20699
20691
|
]),
|
|
20700
|
-
!_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(
|
|
20692
|
+
!_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(_sfc_main$6, {
|
|
20701
20693
|
key: 1,
|
|
20702
20694
|
small: true
|
|
20703
20695
|
}))
|
|
@@ -20935,7 +20927,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20935
20927
|
}, null, 8, ["search-results", "options"])
|
|
20936
20928
|
]),
|
|
20937
20929
|
!loading.value && !searchResults2.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$1, _hoisted_6)) : createCommentVNode("", true),
|
|
20938
|
-
loading.value ? (openBlock(), createBlock(
|
|
20930
|
+
loading.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
20939
20931
|
key: 1,
|
|
20940
20932
|
message: currentAction.value
|
|
20941
20933
|
}, null, 8, ["message"])) : createCommentVNode("", true)
|
|
@@ -21023,7 +21015,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
21023
21015
|
createBaseVNode("section", _hoisted_1$2, [
|
|
21024
21016
|
_hoisted_2$1,
|
|
21025
21017
|
explanation.value ? (openBlock(), createElementBlock("p", _hoisted_3$1, toDisplayString(explanation.value), 1)) : createCommentVNode("", true),
|
|
21026
|
-
loading.value ? (openBlock(), createBlock(
|
|
21018
|
+
loading.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
21027
21019
|
key: 1,
|
|
21028
21020
|
message: "Selecting the best matches for you. This might take a few seconds."
|
|
21029
21021
|
})) : createCommentVNode("", true),
|
|
@@ -21143,7 +21135,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
21143
21135
|
}, null, 8, ["content", "options", "history"])
|
|
21144
21136
|
])) : createCommentVNode("", true),
|
|
21145
21137
|
loading.value ? (openBlock(), createElementBlock("section", _hoisted_4, [
|
|
21146
|
-
createVNode(
|
|
21138
|
+
createVNode(_sfc_main$6, { message: "Loading initial recommendations... This might take up to 20s" })
|
|
21147
21139
|
])) : createCommentVNode("", true),
|
|
21148
21140
|
createBaseVNode("section", _hoisted_5, [
|
|
21149
21141
|
createVNode(_sfc_main$5, {
|
package/dist/lupaSearch.js
CHANGED
|
@@ -1537,12 +1537,6 @@ function setCurrentRenderingInstance(instance) {
|
|
|
1537
1537
|
currentScopeId = instance && instance.type.__scopeId || null;
|
|
1538
1538
|
return prev;
|
|
1539
1539
|
}
|
|
1540
|
-
function pushScopeId(id) {
|
|
1541
|
-
currentScopeId = id;
|
|
1542
|
-
}
|
|
1543
|
-
function popScopeId() {
|
|
1544
|
-
currentScopeId = null;
|
|
1545
|
-
}
|
|
1546
1540
|
function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {
|
|
1547
1541
|
if (!ctx)
|
|
1548
1542
|
return fn;
|
|
@@ -20628,12 +20622,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
20628
20622
|
};
|
|
20629
20623
|
}
|
|
20630
20624
|
});
|
|
20631
|
-
const _withScopeId = (n) => (pushScopeId("data-v-6fa22b2b"), n = n(), popScopeId(), n);
|
|
20632
20625
|
const _hoisted_1$6 = { class: "lupa-chat-spinner" };
|
|
20633
|
-
const _hoisted_2$4 = /* @__PURE__ */
|
|
20634
|
-
const _hoisted_3$4 = /* @__PURE__ */
|
|
20635
|
-
const _hoisted_4$2 = /* @__PURE__ */
|
|
20636
|
-
const _hoisted_5$2 = /* @__PURE__ */
|
|
20626
|
+
const _hoisted_2$4 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20627
|
+
const _hoisted_3$4 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20628
|
+
const _hoisted_4$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20629
|
+
const _hoisted_5$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20637
20630
|
const _hoisted_6$1 = [
|
|
20638
20631
|
_hoisted_2$4,
|
|
20639
20632
|
_hoisted_3$4,
|
|
@@ -20658,7 +20651,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
20658
20651
|
};
|
|
20659
20652
|
}
|
|
20660
20653
|
});
|
|
20661
|
-
const ChatSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6fa22b2b"]]);
|
|
20662
20654
|
const _hoisted_1$5 = { class: "lupa-chat-input-container" };
|
|
20663
20655
|
const _hoisted_2$3 = { id: "lupa-search-box-input" };
|
|
20664
20656
|
const _hoisted_3$3 = {
|
|
@@ -20697,7 +20689,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
20697
20689
|
[vModelText, inputValue.value]
|
|
20698
20690
|
])
|
|
20699
20691
|
]),
|
|
20700
|
-
!_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(
|
|
20692
|
+
!_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(_sfc_main$6, {
|
|
20701
20693
|
key: 1,
|
|
20702
20694
|
small: true
|
|
20703
20695
|
}))
|
|
@@ -20935,7 +20927,7 @@ const _sfc_main$3$1 = /* @__PURE__ */ defineComponent({
|
|
|
20935
20927
|
}, null, 8, ["search-results", "options"])
|
|
20936
20928
|
]),
|
|
20937
20929
|
!loading.value && !searchResults2.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$1, _hoisted_6)) : createCommentVNode("", true),
|
|
20938
|
-
loading.value ? (openBlock(), createBlock(
|
|
20930
|
+
loading.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
20939
20931
|
key: 1,
|
|
20940
20932
|
message: currentAction.value
|
|
20941
20933
|
}, null, 8, ["message"])) : createCommentVNode("", true)
|
|
@@ -21023,7 +21015,7 @@ const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
|
|
|
21023
21015
|
createBaseVNode("section", _hoisted_1$2, [
|
|
21024
21016
|
_hoisted_2$1,
|
|
21025
21017
|
explanation.value ? (openBlock(), createElementBlock("p", _hoisted_3$1, toDisplayString(explanation.value), 1)) : createCommentVNode("", true),
|
|
21026
|
-
loading.value ? (openBlock(), createBlock(
|
|
21018
|
+
loading.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
21027
21019
|
key: 1,
|
|
21028
21020
|
message: "Selecting the best matches for you. This might take a few seconds."
|
|
21029
21021
|
})) : createCommentVNode("", true),
|
|
@@ -21143,7 +21135,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
21143
21135
|
}, null, 8, ["content", "options", "history"])
|
|
21144
21136
|
])) : createCommentVNode("", true),
|
|
21145
21137
|
loading.value ? (openBlock(), createElementBlock("section", _hoisted_4, [
|
|
21146
|
-
createVNode(
|
|
21138
|
+
createVNode(_sfc_main$6, { message: "Loading initial recommendations... This might take up to 20s" })
|
|
21147
21139
|
])) : createCommentVNode("", true),
|
|
21148
21140
|
createBaseVNode("section", _hoisted_5, [
|
|
21149
21141
|
createVNode(_sfc_main$5, {
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -1535,12 +1535,6 @@ function setCurrentRenderingInstance(instance) {
|
|
|
1535
1535
|
currentScopeId = instance && instance.type.__scopeId || null;
|
|
1536
1536
|
return prev;
|
|
1537
1537
|
}
|
|
1538
|
-
function pushScopeId(id) {
|
|
1539
|
-
currentScopeId = id;
|
|
1540
|
-
}
|
|
1541
|
-
function popScopeId() {
|
|
1542
|
-
currentScopeId = null;
|
|
1543
|
-
}
|
|
1544
1538
|
function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {
|
|
1545
1539
|
if (!ctx)
|
|
1546
1540
|
return fn;
|
|
@@ -20626,12 +20620,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
20626
20620
|
};
|
|
20627
20621
|
}
|
|
20628
20622
|
});
|
|
20629
|
-
const _withScopeId = (n) => (pushScopeId("data-v-6fa22b2b"), n = n(), popScopeId(), n);
|
|
20630
20623
|
const _hoisted_1$6 = { class: "lupa-chat-spinner" };
|
|
20631
|
-
const _hoisted_2$4 = /* @__PURE__ */
|
|
20632
|
-
const _hoisted_3$4 = /* @__PURE__ */
|
|
20633
|
-
const _hoisted_4$2 = /* @__PURE__ */
|
|
20634
|
-
const _hoisted_5$2 = /* @__PURE__ */
|
|
20624
|
+
const _hoisted_2$4 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20625
|
+
const _hoisted_3$4 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20626
|
+
const _hoisted_4$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20627
|
+
const _hoisted_5$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20635
20628
|
const _hoisted_6$1 = [
|
|
20636
20629
|
_hoisted_2$4,
|
|
20637
20630
|
_hoisted_3$4,
|
|
@@ -20656,7 +20649,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
20656
20649
|
};
|
|
20657
20650
|
}
|
|
20658
20651
|
});
|
|
20659
|
-
const ChatSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6fa22b2b"]]);
|
|
20660
20652
|
const _hoisted_1$5 = { class: "lupa-chat-input-container" };
|
|
20661
20653
|
const _hoisted_2$3 = { id: "lupa-search-box-input" };
|
|
20662
20654
|
const _hoisted_3$3 = {
|
|
@@ -20695,7 +20687,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
20695
20687
|
[vModelText, inputValue.value]
|
|
20696
20688
|
])
|
|
20697
20689
|
]),
|
|
20698
|
-
!_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(
|
|
20690
|
+
!_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(_sfc_main$6, {
|
|
20699
20691
|
key: 1,
|
|
20700
20692
|
small: true
|
|
20701
20693
|
}))
|
|
@@ -20933,7 +20925,7 @@ const _sfc_main$3$1 = /* @__PURE__ */ defineComponent({
|
|
|
20933
20925
|
}, null, 8, ["search-results", "options"])
|
|
20934
20926
|
]),
|
|
20935
20927
|
!loading.value && !searchResults2.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$1, _hoisted_6)) : createCommentVNode("", true),
|
|
20936
|
-
loading.value ? (openBlock(), createBlock(
|
|
20928
|
+
loading.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
20937
20929
|
key: 1,
|
|
20938
20930
|
message: currentAction.value
|
|
20939
20931
|
}, null, 8, ["message"])) : createCommentVNode("", true)
|
|
@@ -21021,7 +21013,7 @@ const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
|
|
|
21021
21013
|
createBaseVNode("section", _hoisted_1$2, [
|
|
21022
21014
|
_hoisted_2$1,
|
|
21023
21015
|
explanation.value ? (openBlock(), createElementBlock("p", _hoisted_3$1, toDisplayString(explanation.value), 1)) : createCommentVNode("", true),
|
|
21024
|
-
loading.value ? (openBlock(), createBlock(
|
|
21016
|
+
loading.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
21025
21017
|
key: 1,
|
|
21026
21018
|
message: "Selecting the best matches for you. This might take a few seconds."
|
|
21027
21019
|
})) : createCommentVNode("", true),
|
|
@@ -21141,7 +21133,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
21141
21133
|
}, null, 8, ["content", "options", "history"])
|
|
21142
21134
|
])) : createCommentVNode("", true),
|
|
21143
21135
|
loading.value ? (openBlock(), createElementBlock("section", _hoisted_4, [
|
|
21144
|
-
createVNode(
|
|
21136
|
+
createVNode(_sfc_main$6, { message: "Loading initial recommendations... This might take up to 20s" })
|
|
21145
21137
|
])) : createCommentVNode("", true),
|
|
21146
21138
|
createBaseVNode("section", _hoisted_5, [
|
|
21147
21139
|
createVNode(_sfc_main$5, {
|
package/dist/lupaSearch.umd.js
CHANGED
|
@@ -1539,12 +1539,6 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
1539
1539
|
currentScopeId = instance && instance.type.__scopeId || null;
|
|
1540
1540
|
return prev;
|
|
1541
1541
|
}
|
|
1542
|
-
function pushScopeId(id) {
|
|
1543
|
-
currentScopeId = id;
|
|
1544
|
-
}
|
|
1545
|
-
function popScopeId() {
|
|
1546
|
-
currentScopeId = null;
|
|
1547
|
-
}
|
|
1548
1542
|
function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {
|
|
1549
1543
|
if (!ctx)
|
|
1550
1544
|
return fn;
|
|
@@ -20630,12 +20624,11 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20630
20624
|
};
|
|
20631
20625
|
}
|
|
20632
20626
|
});
|
|
20633
|
-
const _withScopeId = (n) => (pushScopeId("data-v-6fa22b2b"), n = n(), popScopeId(), n);
|
|
20634
20627
|
const _hoisted_1$6 = { class: "lupa-chat-spinner" };
|
|
20635
|
-
const _hoisted_2$4 = /* @__PURE__ */
|
|
20636
|
-
const _hoisted_3$4 = /* @__PURE__ */
|
|
20637
|
-
const _hoisted_4$2 = /* @__PURE__ */
|
|
20638
|
-
const _hoisted_5$2 = /* @__PURE__ */
|
|
20628
|
+
const _hoisted_2$4 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20629
|
+
const _hoisted_3$4 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20630
|
+
const _hoisted_4$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20631
|
+
const _hoisted_5$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
|
|
20639
20632
|
const _hoisted_6$1 = [
|
|
20640
20633
|
_hoisted_2$4,
|
|
20641
20634
|
_hoisted_3$4,
|
|
@@ -20660,7 +20653,6 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20660
20653
|
};
|
|
20661
20654
|
}
|
|
20662
20655
|
});
|
|
20663
|
-
const ChatSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6fa22b2b"]]);
|
|
20664
20656
|
const _hoisted_1$5 = { class: "lupa-chat-input-container" };
|
|
20665
20657
|
const _hoisted_2$3 = { id: "lupa-search-box-input" };
|
|
20666
20658
|
const _hoisted_3$3 = {
|
|
@@ -20699,7 +20691,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20699
20691
|
[vModelText, inputValue.value]
|
|
20700
20692
|
])
|
|
20701
20693
|
]),
|
|
20702
|
-
!_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(
|
|
20694
|
+
!_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(_sfc_main$6, {
|
|
20703
20695
|
key: 1,
|
|
20704
20696
|
small: true
|
|
20705
20697
|
}))
|
|
@@ -20937,7 +20929,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
20937
20929
|
}, null, 8, ["search-results", "options"])
|
|
20938
20930
|
]),
|
|
20939
20931
|
!loading.value && !searchResults2.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$1, _hoisted_6)) : createCommentVNode("", true),
|
|
20940
|
-
loading.value ? (openBlock(), createBlock(
|
|
20932
|
+
loading.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
20941
20933
|
key: 1,
|
|
20942
20934
|
message: currentAction.value
|
|
20943
20935
|
}, null, 8, ["message"])) : createCommentVNode("", true)
|
|
@@ -21025,7 +21017,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
21025
21017
|
createBaseVNode("section", _hoisted_1$2, [
|
|
21026
21018
|
_hoisted_2$1,
|
|
21027
21019
|
explanation.value ? (openBlock(), createElementBlock("p", _hoisted_3$1, toDisplayString(explanation.value), 1)) : createCommentVNode("", true),
|
|
21028
|
-
loading.value ? (openBlock(), createBlock(
|
|
21020
|
+
loading.value ? (openBlock(), createBlock(_sfc_main$6, {
|
|
21029
21021
|
key: 1,
|
|
21030
21022
|
message: "Selecting the best matches for you. This might take a few seconds."
|
|
21031
21023
|
})) : createCommentVNode("", true),
|
|
@@ -21145,7 +21137,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
21145
21137
|
}, null, 8, ["content", "options", "history"])
|
|
21146
21138
|
])) : createCommentVNode("", true),
|
|
21147
21139
|
loading.value ? (openBlock(), createElementBlock("section", _hoisted_4, [
|
|
21148
|
-
createVNode(
|
|
21140
|
+
createVNode(_sfc_main$6, { message: "Loading initial recommendations... This might take up to 20s" })
|
|
21149
21141
|
])) : createCommentVNode("", true),
|
|
21150
21142
|
createBaseVNode("section", _hoisted_5, [
|
|
21151
21143
|
createVNode(_sfc_main$5, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getlupa/client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.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.3.
|
|
23
|
+
"@getlupa/vue": "0.3.3",
|
|
24
24
|
"@rushstack/eslint-patch": "^1.3.2",
|
|
25
25
|
"@tsconfig/node18": "^2.0.1",
|
|
26
26
|
"@types/jsdom": "^21.1.1",
|