@appbaseio/reactivesearch-vue 3.0.1 → 3.0.2

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.
@@ -26524,7 +26524,7 @@
26524
26524
 
26525
26525
  var _templateObject$k, _templateObject2$8, _templateObject3$5, _templateObject4$2, _templateObject5$2, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject10, _templateObject11;
26526
26526
  var Chatbox = styled('div')(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose(["\n\tposition: relative;\n\tmargin: 0 auto;\n\tpadding: 10px;\n\tbackground-color: #fafafa;\n\twidth: 100%;\n\tbox-shadow: rgb(0 0 0 / 20%) 0px 0px 6px;\n\tborder-radius: 6px;\n\tmargin-bottom: 20px;\n\tbackground-color: ", ";\n\n\t.--trigger-message-wrapper {\n\t\tcursor: pointer;\n\t}\n"])), function (props) {
26527
- return props.theme && props.theme.colors ? curriedLighten(0.1, props.theme.colors.backgroundColor) : '#fff';
26527
+ return props.theme && props.theme.colors && props.theme.colors.backgroundColor ? curriedLighten(0.1, props.theme.colors.backgroundColor) : '#fff';
26528
26528
  });
26529
26529
  var ChatContainer = styled('div')(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-direction: column;\n\theight: 100%;\n\tposition: relative;\n\t.--ai-answer-error-container {\n\t\ttext-align: center;\n\t\tposition: absolute;\n\t\tbottom: 0px;\n\t\t", ";\n\t\tz-index: 1;\n\t\tleft: 50%;\n\t\ttransform: translateX(-50%);\n\t\twidth: 100%;\n\n\t\t.--default-error-element {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column;\n\t\t\talign-items: center;\n\t\t\tpadding: 10px;\n\t\t\tbackground-color: ", ";\n\t\t\tbox-shadow: 0 -5px 5px -2px\n\t\t\t\t", ";\n\n\t\t\tspan {\n\t\t\t\tmargin-bottom: 5px;\n\t\t\t}\n\n\t\t\tbutton {\n\t\t\t}\n\t\t}\n\t}\n\n\t", ";\n"])), function (props) {
26530
26530
  return props.showInput ? 'bottom: 48px;' : '';
@@ -27034,8 +27034,8 @@
27034
27034
  if (this.$props.AIUIConfig && this.$props.AIUIConfig.showSourceDocuments && newVal.response && newVal.response.answer && Array.isArray(newVal.response.answer.documentIds)) {
27035
27035
  this.sourceDocIds = newVal.response.answer.documentIds;
27036
27036
  var localCache = helper_2(constants_8$1) && helper_2(constants_8$1)[this.$props.componentId];
27037
- if (localCache && localCache.meta && localCache.meta.hits) {
27038
- this.initialHits = localCache.meta.hits;
27037
+ if (localCache && localCache.meta && localCache.meta.hits && localCache.meta.hits.hits) {
27038
+ this.initialHits = localCache.meta.hits.hits;
27039
27039
  }
27040
27040
  }
27041
27041
  }
@@ -44228,7 +44228,7 @@
44228
44228
  }, queryString, renderFunction);
44229
44229
  }
44230
44230
 
44231
- var version = "3.0.1";
44231
+ var version = "3.0.2";
44232
44232
 
44233
44233
  var components = [RLConnected, ResultCard, ResultList, ReactiveBase, SBConnected, ListConnected, ListConnected$1, RangeConnected$1, RangeConnected$2, RangeConnected$3, RangeConnected, RcConnected, RcConnected$1, RcConnected$2, TBConnected, ListConnected$2, ListConnected$3, StateProviderConnected, RangeConnected$4, TreeListConnected, AIConnected];
44234
44234
  function install$1 (Vue) {