@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.
- package/dist/@appbaseio/reactivesearch-vue.umd.js +4 -4
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +2 -2
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{install-5d1a97a5.js → install-f7d9b812.js} +3 -3
- package/dist/cjs/install.js +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/index.js +2 -2
- package/dist/es/{install-01aaa4e0.js → install-3af47936.js} +3 -3
- package/dist/es/install.js +1 -1
- package/dist/es/version.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -34,7 +34,7 @@ var ReactiveBase = require('./ReactiveBase.js');
|
|
|
34
34
|
require('hotkeys-js');
|
|
35
35
|
require('xss');
|
|
36
36
|
require('remarkable');
|
|
37
|
-
var install = require('./install-
|
|
37
|
+
var install = require('./install-f7d9b812.js');
|
|
38
38
|
require('./DropDown-26666911.js');
|
|
39
39
|
require('./Input-3ecdb905.js');
|
|
40
40
|
require('compute-scroll-into-view');
|
|
@@ -809,7 +809,7 @@ var HorizontalSkeletonLoader = vue.defineComponent({
|
|
|
809
809
|
|
|
810
810
|
var _templateObject$7, _templateObject2$2, _templateObject3$1, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
|
|
811
811
|
var Chatbox = vueEmotion.styled('div')(_templateObject$7 || (_templateObject$7 = _rollupPluginBabelHelpers._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) {
|
|
812
|
-
return props.theme && props.theme.colors ? polished.lighten(0.1, props.theme.colors.backgroundColor) : '#fff';
|
|
812
|
+
return props.theme && props.theme.colors && props.theme.colors.backgroundColor ? polished.lighten(0.1, props.theme.colors.backgroundColor) : '#fff';
|
|
813
813
|
});
|
|
814
814
|
var ChatContainer = vueEmotion.styled('div')(_templateObject2$2 || (_templateObject2$2 = _rollupPluginBabelHelpers._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) {
|
|
815
815
|
return props.showInput ? 'bottom: 48px;' : '';
|
|
@@ -1319,8 +1319,8 @@ var SearchBox = vue.defineComponent({
|
|
|
1319
1319
|
if (this.$props.AIUIConfig && this.$props.AIUIConfig.showSourceDocuments && newVal.response && newVal.response.answer && Array.isArray(newVal.response.answer.documentIds)) {
|
|
1320
1320
|
this.sourceDocIds = newVal.response.answer.documentIds;
|
|
1321
1321
|
var localCache = helper.getObjectFromLocalStorage(constants.AI_LOCAL_CACHE_KEY) && helper.getObjectFromLocalStorage(constants.AI_LOCAL_CACHE_KEY)[this.$props.componentId];
|
|
1322
|
-
if (localCache && localCache.meta && localCache.meta.hits) {
|
|
1323
|
-
this.initialHits = localCache.meta.hits;
|
|
1322
|
+
if (localCache && localCache.meta && localCache.meta.hits && localCache.meta.hits.hits) {
|
|
1323
|
+
this.initialHits = localCache.meta.hits.hits;
|
|
1324
1324
|
}
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
package/dist/cjs/install.js
CHANGED
|
@@ -34,7 +34,7 @@ require('./ReactiveBase.js');
|
|
|
34
34
|
require('hotkeys-js');
|
|
35
35
|
require('xss');
|
|
36
36
|
require('remarkable');
|
|
37
|
-
var install = require('./install-
|
|
37
|
+
var install = require('./install-f7d9b812.js');
|
|
38
38
|
require('./DropDown-26666911.js');
|
|
39
39
|
require('./Input-3ecdb905.js');
|
|
40
40
|
require('compute-scroll-into-view');
|
package/dist/cjs/version.js
CHANGED
package/dist/es/index.js
CHANGED
|
@@ -30,8 +30,8 @@ export { default as ReactiveBase } from './ReactiveBase.js';
|
|
|
30
30
|
import 'hotkeys-js';
|
|
31
31
|
import 'xss';
|
|
32
32
|
import 'remarkable';
|
|
33
|
-
import { i as install } from './install-
|
|
34
|
-
export { A as AIAnswer, R as ReactiveComponentPrivate, S as SearchBox, T as TreeList, i as install } from './install-
|
|
33
|
+
import { i as install } from './install-3af47936.js';
|
|
34
|
+
export { A as AIAnswer, R as ReactiveComponentPrivate, S as SearchBox, T as TreeList, i as install } from './install-3af47936.js';
|
|
35
35
|
import './DropDown-48045fde.js';
|
|
36
36
|
import './Input-83dee8c5.js';
|
|
37
37
|
import 'compute-scroll-into-view';
|
|
@@ -805,7 +805,7 @@ var HorizontalSkeletonLoader = defineComponent({
|
|
|
805
805
|
|
|
806
806
|
var _templateObject$7, _templateObject2$2, _templateObject3$1, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
|
|
807
807
|
var Chatbox = styled('div')(_templateObject$7 || (_templateObject$7 = _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) {
|
|
808
|
-
return props.theme && props.theme.colors ? lighten(0.1, props.theme.colors.backgroundColor) : '#fff';
|
|
808
|
+
return props.theme && props.theme.colors && props.theme.colors.backgroundColor ? lighten(0.1, props.theme.colors.backgroundColor) : '#fff';
|
|
809
809
|
});
|
|
810
810
|
var ChatContainer = styled('div')(_templateObject2$2 || (_templateObject2$2 = _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) {
|
|
811
811
|
return props.showInput ? 'bottom: 48px;' : '';
|
|
@@ -1315,8 +1315,8 @@ var SearchBox = defineComponent({
|
|
|
1315
1315
|
if (this.$props.AIUIConfig && this.$props.AIUIConfig.showSourceDocuments && newVal.response && newVal.response.answer && Array.isArray(newVal.response.answer.documentIds)) {
|
|
1316
1316
|
this.sourceDocIds = newVal.response.answer.documentIds;
|
|
1317
1317
|
var localCache = getObjectFromLocalStorage(AI_LOCAL_CACHE_KEY) && getObjectFromLocalStorage(AI_LOCAL_CACHE_KEY)[this.$props.componentId];
|
|
1318
|
-
if (localCache && localCache.meta && localCache.meta.hits) {
|
|
1319
|
-
this.initialHits = localCache.meta.hits;
|
|
1318
|
+
if (localCache && localCache.meta && localCache.meta.hits && localCache.meta.hits.hits) {
|
|
1319
|
+
this.initialHits = localCache.meta.hits.hits;
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
1322
|
}
|
package/dist/es/install.js
CHANGED
|
@@ -30,7 +30,7 @@ import './ReactiveBase.js';
|
|
|
30
30
|
import 'hotkeys-js';
|
|
31
31
|
import 'xss';
|
|
32
32
|
import 'remarkable';
|
|
33
|
-
export { i as default } from './install-
|
|
33
|
+
export { i as default } from './install-3af47936.js';
|
|
34
34
|
import './DropDown-48045fde.js';
|
|
35
35
|
import './Input-83dee8c5.js';
|
|
36
36
|
import 'compute-scroll-into-view';
|
package/dist/es/version.js
CHANGED