@getlupa/vue 0.3.2 → 0.3.4

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.
@@ -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}
@@ -15995,12 +15995,11 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
15995
15995
  };
15996
15996
  }
15997
15997
  });
15998
- const _withScopeId = (n) => (vue.pushScopeId("data-v-6fa22b2b"), n = n(), vue.popScopeId(), n);
15999
15998
  const _hoisted_1$6 = { class: "lupa-chat-spinner" };
16000
- const _hoisted_2$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
16001
- const _hoisted_3$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
16002
- const _hoisted_4$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
16003
- const _hoisted_5$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", null, null, -1));
15999
+ const _hoisted_2$4 = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
16000
+ const _hoisted_3$4 = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
16001
+ const _hoisted_4$2 = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
16002
+ const _hoisted_5$2 = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
16004
16003
  const _hoisted_6$1 = [
16005
16004
  _hoisted_2$4,
16006
16005
  _hoisted_3$4,
@@ -16025,8 +16024,6 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
16025
16024
  };
16026
16025
  }
16027
16026
  });
16028
- const ChatSpinner_vue_vue_type_style_index_0_scoped_6fa22b2b_lang = "";
16029
- const ChatSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6fa22b2b"]]);
16030
16027
  const _hoisted_1$5 = { class: "lupa-chat-input-container" };
16031
16028
  const _hoisted_2$3 = { id: "lupa-search-box-input" };
16032
16029
  const _hoisted_3$3 = {
@@ -16065,7 +16062,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
16065
16062
  [vue.vModelText, inputValue.value]
16066
16063
  ])
16067
16064
  ]),
16068
- !_ctx.disabled ? (vue.openBlock(), vue.createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (vue.openBlock(), vue.createBlock(ChatSpinner, {
16065
+ !_ctx.disabled ? (vue.openBlock(), vue.createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (vue.openBlock(), vue.createBlock(_sfc_main$6, {
16069
16066
  key: 1,
16070
16067
  small: true
16071
16068
  }))
@@ -16089,9 +16086,11 @@ const getApiUrl = (environment, customBaseUrl) => {
16089
16086
  return Env[environment] || Env["production"];
16090
16087
  };
16091
16088
  const suggestSearchChatPhrases = (options, request) => __async(exports, null, function* () {
16089
+ var _a;
16092
16090
  const { environment, customBaseUrl } = options;
16093
16091
  const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/`, __spreadProps(__spreadValues({}, defaultConfig), {
16094
- body: JSON.stringify(request)
16092
+ body: JSON.stringify(request),
16093
+ headers: (_a = options.customHeaders) != null ? _a : {}
16095
16094
  }));
16096
16095
  if (res.status < 400) {
16097
16096
  const data = yield res.json();
@@ -16101,9 +16100,11 @@ const suggestSearchChatPhrases = (options, request) => __async(exports, null, fu
16101
16100
  return { success: false, errors };
16102
16101
  });
16103
16102
  const suggestPhraseAlternatives = (_0, _1) => __async(exports, [_0, _1], function* (options, { phrases }) {
16103
+ var _a;
16104
16104
  const { environment, customBaseUrl } = options;
16105
16105
  const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/phraseAlternatives`, __spreadProps(__spreadValues({}, defaultConfig), {
16106
- body: JSON.stringify({ phrases })
16106
+ body: JSON.stringify({ phrases }),
16107
+ headers: (_a = options.customHeaders) != null ? _a : {}
16107
16108
  }));
16108
16109
  if (res.status < 400) {
16109
16110
  const data = yield res.json();
@@ -16113,9 +16114,11 @@ const suggestPhraseAlternatives = (_0, _1) => __async(exports, [_0, _1], functio
16113
16114
  return { success: false, errors };
16114
16115
  });
16115
16116
  const suggestSimplifiedPhrases = (_0, _1) => __async(exports, [_0, _1], function* (options, { phrases }) {
16117
+ var _a;
16116
16118
  const { environment, customBaseUrl } = options;
16117
16119
  const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/simplify`, __spreadProps(__spreadValues({}, defaultConfig), {
16118
- body: JSON.stringify({ phrases })
16120
+ body: JSON.stringify({ phrases }),
16121
+ headers: (_a = options.customHeaders) != null ? _a : {}
16119
16122
  }));
16120
16123
  if (res.status < 400) {
16121
16124
  const data = yield res.json();
@@ -16130,9 +16133,11 @@ const suggestBestProductMatches = (_0, _1) => __async(exports, [_0, _1], functio
16130
16133
  productStrings,
16131
16134
  messageHistory
16132
16135
  }) {
16136
+ var _a;
16133
16137
  const { environment, customBaseUrl } = options;
16134
16138
  const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/bestProducts`, __spreadProps(__spreadValues({}, defaultConfig), {
16135
- body: JSON.stringify({ initialQuery, messageHistory, productStrings })
16139
+ body: JSON.stringify({ initialQuery, messageHistory, productStrings }),
16140
+ headers: (_a = options.customHeaders) != null ? _a : {}
16136
16141
  }));
16137
16142
  if (res.status < 400) {
16138
16143
  const data = yield res.json();
@@ -16303,7 +16308,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
16303
16308
  }, null, 8, ["search-results", "options"])
16304
16309
  ]),
16305
16310
  !loading.value && !searchResults.value.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, _hoisted_6)) : vue.createCommentVNode("", true),
16306
- loading.value ? (vue.openBlock(), vue.createBlock(ChatSpinner, {
16311
+ loading.value ? (vue.openBlock(), vue.createBlock(_sfc_main$6, {
16307
16312
  key: 1,
16308
16313
  message: currentAction.value
16309
16314
  }, null, 8, ["message"])) : vue.createCommentVNode("", true)
@@ -16391,7 +16396,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
16391
16396
  vue.createElementVNode("section", _hoisted_1$2, [
16392
16397
  _hoisted_2$1,
16393
16398
  explanation.value ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$1, vue.toDisplayString(explanation.value), 1)) : vue.createCommentVNode("", true),
16394
- loading.value ? (vue.openBlock(), vue.createBlock(ChatSpinner, {
16399
+ loading.value ? (vue.openBlock(), vue.createBlock(_sfc_main$6, {
16395
16400
  key: 1,
16396
16401
  message: "Selecting the best matches for you. This might take a few seconds."
16397
16402
  })) : vue.createCommentVNode("", true),
@@ -16511,7 +16516,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
16511
16516
  }, null, 8, ["content", "options", "history"])
16512
16517
  ])) : vue.createCommentVNode("", true),
16513
16518
  loading.value ? (vue.openBlock(), vue.createElementBlock("section", _hoisted_4, [
16514
- vue.createVNode(ChatSpinner, { message: "Loading initial recommendations... This might take up to 20s" })
16519
+ vue.createVNode(_sfc_main$6, { message: "Loading initial recommendations... This might take up to 20s" })
16515
16520
  ])) : vue.createCommentVNode("", true),
16516
16521
  vue.createElementVNode("section", _hoisted_5, [
16517
16522
  vue.createVNode(_sfc_main$5, {
@@ -37,7 +37,7 @@ var __async = (__this, __arguments, generator) => {
37
37
  step((generator = generator.apply(__this, __arguments)).next());
38
38
  });
39
39
  };
40
- import { toRaw, isRef, isReactive, toRef, effectScope, ref, markRaw, hasInjectionContext, inject, getCurrentInstance, watch, reactive, nextTick, computed, unref, getCurrentScope, onScopeDispose, toRefs, defineComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, withDirectives, mergeProps, vModelText, toDisplayString, createCommentVNode, onMounted, onBeforeMount, Fragment, renderList, createBlock, toHandlers, withModifiers, resolveDynamicComponent, createVNode, renderSlot, createSlots, withCtx, normalizeProps, guardReactiveProps, onBeforeUnmount, createTextVNode, onUnmounted, resolveComponent, vModelSelect, normalizeStyle, h as h$1, provide, cloneVNode, pushScopeId, popScopeId } from "vue";
40
+ import { toRaw, isRef, isReactive, toRef, effectScope, ref, markRaw, hasInjectionContext, inject, getCurrentInstance, watch, reactive, nextTick, computed, unref, getCurrentScope, onScopeDispose, toRefs, defineComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, withDirectives, mergeProps, vModelText, toDisplayString, createCommentVNode, onMounted, onBeforeMount, Fragment, renderList, createBlock, toHandlers, withModifiers, resolveDynamicComponent, createVNode, renderSlot, createSlots, withCtx, normalizeProps, guardReactiveProps, onBeforeUnmount, createTextVNode, onUnmounted, resolveComponent, vModelSelect, normalizeStyle, h as h$1, provide, cloneVNode } from "vue";
41
41
  var isVue2 = false;
42
42
  function set(target, key, val) {
43
43
  if (Array.isArray(target)) {
@@ -15993,12 +15993,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
15993
15993
  };
15994
15994
  }
15995
15995
  });
15996
- const _withScopeId = (n) => (pushScopeId("data-v-6fa22b2b"), n = n(), popScopeId(), n);
15997
15996
  const _hoisted_1$6 = { class: "lupa-chat-spinner" };
15998
- const _hoisted_2$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
15999
- const _hoisted_3$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
16000
- const _hoisted_4$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
16001
- const _hoisted_5$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, null, -1));
15997
+ const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
15998
+ const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
15999
+ const _hoisted_4$2 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
16000
+ const _hoisted_5$2 = /* @__PURE__ */ createElementVNode("div", null, null, -1);
16002
16001
  const _hoisted_6$1 = [
16003
16002
  _hoisted_2$4,
16004
16003
  _hoisted_3$4,
@@ -16023,8 +16022,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
16023
16022
  };
16024
16023
  }
16025
16024
  });
16026
- const ChatSpinner_vue_vue_type_style_index_0_scoped_6fa22b2b_lang = "";
16027
- const ChatSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6fa22b2b"]]);
16028
16025
  const _hoisted_1$5 = { class: "lupa-chat-input-container" };
16029
16026
  const _hoisted_2$3 = { id: "lupa-search-box-input" };
16030
16027
  const _hoisted_3$3 = {
@@ -16063,7 +16060,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
16063
16060
  [vModelText, inputValue.value]
16064
16061
  ])
16065
16062
  ]),
16066
- !_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(ChatSpinner, {
16063
+ !_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$3, "Ask LupaChat")) : (openBlock(), createBlock(_sfc_main$6, {
16067
16064
  key: 1,
16068
16065
  small: true
16069
16066
  }))
@@ -16087,9 +16084,11 @@ const getApiUrl = (environment, customBaseUrl) => {
16087
16084
  return Env[environment] || Env["production"];
16088
16085
  };
16089
16086
  const suggestSearchChatPhrases = (options, request) => __async(void 0, null, function* () {
16087
+ var _a;
16090
16088
  const { environment, customBaseUrl } = options;
16091
16089
  const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/`, __spreadProps(__spreadValues({}, defaultConfig), {
16092
- body: JSON.stringify(request)
16090
+ body: JSON.stringify(request),
16091
+ headers: (_a = options.customHeaders) != null ? _a : {}
16093
16092
  }));
16094
16093
  if (res.status < 400) {
16095
16094
  const data = yield res.json();
@@ -16099,9 +16098,11 @@ const suggestSearchChatPhrases = (options, request) => __async(void 0, null, fun
16099
16098
  return { success: false, errors };
16100
16099
  });
16101
16100
  const suggestPhraseAlternatives = (_0, _1) => __async(void 0, [_0, _1], function* (options, { phrases }) {
16101
+ var _a;
16102
16102
  const { environment, customBaseUrl } = options;
16103
16103
  const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/phraseAlternatives`, __spreadProps(__spreadValues({}, defaultConfig), {
16104
- body: JSON.stringify({ phrases })
16104
+ body: JSON.stringify({ phrases }),
16105
+ headers: (_a = options.customHeaders) != null ? _a : {}
16105
16106
  }));
16106
16107
  if (res.status < 400) {
16107
16108
  const data = yield res.json();
@@ -16111,9 +16112,11 @@ const suggestPhraseAlternatives = (_0, _1) => __async(void 0, [_0, _1], function
16111
16112
  return { success: false, errors };
16112
16113
  });
16113
16114
  const suggestSimplifiedPhrases = (_0, _1) => __async(void 0, [_0, _1], function* (options, { phrases }) {
16115
+ var _a;
16114
16116
  const { environment, customBaseUrl } = options;
16115
16117
  const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/simplify`, __spreadProps(__spreadValues({}, defaultConfig), {
16116
- body: JSON.stringify({ phrases })
16118
+ body: JSON.stringify({ phrases }),
16119
+ headers: (_a = options.customHeaders) != null ? _a : {}
16117
16120
  }));
16118
16121
  if (res.status < 400) {
16119
16122
  const data = yield res.json();
@@ -16128,9 +16131,11 @@ const suggestBestProductMatches = (_0, _1) => __async(void 0, [_0, _1], function
16128
16131
  productStrings,
16129
16132
  messageHistory
16130
16133
  }) {
16134
+ var _a;
16131
16135
  const { environment, customBaseUrl } = options;
16132
16136
  const res = yield fetch(`${getApiUrl(environment, customBaseUrl)}chat/bestProducts`, __spreadProps(__spreadValues({}, defaultConfig), {
16133
- body: JSON.stringify({ initialQuery, messageHistory, productStrings })
16137
+ body: JSON.stringify({ initialQuery, messageHistory, productStrings }),
16138
+ headers: (_a = options.customHeaders) != null ? _a : {}
16134
16139
  }));
16135
16140
  if (res.status < 400) {
16136
16141
  const data = yield res.json();
@@ -16301,7 +16306,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
16301
16306
  }, null, 8, ["search-results", "options"])
16302
16307
  ]),
16303
16308
  !loading.value && !searchResults.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$1, _hoisted_6)) : createCommentVNode("", true),
16304
- loading.value ? (openBlock(), createBlock(ChatSpinner, {
16309
+ loading.value ? (openBlock(), createBlock(_sfc_main$6, {
16305
16310
  key: 1,
16306
16311
  message: currentAction.value
16307
16312
  }, null, 8, ["message"])) : createCommentVNode("", true)
@@ -16389,7 +16394,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
16389
16394
  createElementVNode("section", _hoisted_1$2, [
16390
16395
  _hoisted_2$1,
16391
16396
  explanation.value ? (openBlock(), createElementBlock("p", _hoisted_3$1, toDisplayString(explanation.value), 1)) : createCommentVNode("", true),
16392
- loading.value ? (openBlock(), createBlock(ChatSpinner, {
16397
+ loading.value ? (openBlock(), createBlock(_sfc_main$6, {
16393
16398
  key: 1,
16394
16399
  message: "Selecting the best matches for you. This might take a few seconds."
16395
16400
  })) : createCommentVNode("", true),
@@ -16509,7 +16514,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16509
16514
  }, null, 8, ["content", "options", "history"])
16510
16515
  ])) : createCommentVNode("", true),
16511
16516
  loading.value ? (openBlock(), createElementBlock("section", _hoisted_4, [
16512
- createVNode(ChatSpinner, { message: "Loading initial recommendations... This might take up to 20s" })
16517
+ createVNode(_sfc_main$6, { message: "Loading initial recommendations... This might take up to 20s" })
16513
16518
  ])) : createCommentVNode("", true),
16514
16519
  createElementVNode("section", _hoisted_5, [
16515
16520
  createVNode(_sfc_main$5, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/vue",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/lupaSearch.mjs",
6
6
  "types": "dist/src/index.d.ts",