@appbaseio/reactivesearch-vue 3.3.5 → 3.3.7-beta.1
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 +90 -31
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +4 -4
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/SearchBox-17eeed1a.js +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/es/{SearchBox-e655a9ad.js → SearchBox-81bbbe04.js} +5 -5
- package/dist/es/SearchBox.js +1 -1
- package/dist/es/index.js +3 -3
- package/dist/es/{install-cb0ab348.js → install-16ae86fa.js} +1 -1
- package/dist/es/install.js +2 -2
- package/dist/es/version.js +1 -1
- package/package.json +2 -2
|
@@ -21,7 +21,7 @@ var Title = require('./Title-d513ac26.js');
|
|
|
21
21
|
var Flex = require('./Flex-f7af0673.js');
|
|
22
22
|
var analytics = require('@appbaseio/reactivecore/lib/actions/analytics');
|
|
23
23
|
var hotkeys = _interopDefault(require('hotkeys-js'));
|
|
24
|
-
var DOMPurify =
|
|
24
|
+
var DOMPurify = require('isomorphic-dompurify');
|
|
25
25
|
var remarkable = require('remarkable');
|
|
26
26
|
var CancelSvg = require('./CancelSvg-6094cd37.js');
|
|
27
27
|
var Input = require('./Input-55fbd8e1.js');
|
package/dist/cjs/version.js
CHANGED
|
@@ -17,7 +17,7 @@ import { T as Title } from './Title-100fe896.js';
|
|
|
17
17
|
import { F as Flex } from './Flex-5d11362e.js';
|
|
18
18
|
import { recordAISessionUsefulness } from '@appbaseio/reactivecore/lib/actions/analytics';
|
|
19
19
|
import hotkeys from 'hotkeys-js';
|
|
20
|
-
import
|
|
20
|
+
import { sanitize } from 'isomorphic-dompurify';
|
|
21
21
|
import { Remarkable } from 'remarkable';
|
|
22
22
|
import { I as IconWrapper, C as CancelSvg, a as IconGroup, B as ButtonIconWrapper, D as Downshift, b as InputWrapper } from './CancelSvg-5b82ad4f.js';
|
|
23
23
|
import { n as noSuggestions, T as TextArea, I as Input, s as suggestionsContainer, A as Actions$1, a as suggestions, b as searchboxSuggestions } from './Input-cda7f4ad.js';
|
|
@@ -1234,7 +1234,7 @@ var SearchBox = defineComponent({
|
|
|
1234
1234
|
if (typeof renderItem === 'function') {
|
|
1235
1235
|
var jsxEl = renderItem(newSuggestion);
|
|
1236
1236
|
var innerValue = innerText(jsxEl);
|
|
1237
|
-
newSuggestion.value =
|
|
1237
|
+
newSuggestion.value = sanitize(innerValue);
|
|
1238
1238
|
}
|
|
1239
1239
|
return newSuggestion;
|
|
1240
1240
|
}
|
|
@@ -2574,7 +2574,7 @@ var SearchBox = defineComponent({
|
|
|
2574
2574
|
"style": {
|
|
2575
2575
|
display: 'flex'
|
|
2576
2576
|
},
|
|
2577
|
-
"innerHTML":
|
|
2577
|
+
"innerHTML": sanitize(item.icon)
|
|
2578
2578
|
}, null);
|
|
2579
2579
|
};
|
|
2580
2580
|
}
|
|
@@ -2585,7 +2585,7 @@ var SearchBox = defineComponent({
|
|
|
2585
2585
|
"style": {
|
|
2586
2586
|
maxWidth: '30px'
|
|
2587
2587
|
},
|
|
2588
|
-
"src":
|
|
2588
|
+
"src": sanitize(item.iconURL),
|
|
2589
2589
|
"alt": item.value
|
|
2590
2590
|
}, null)
|
|
2591
2591
|
);
|
|
@@ -2623,7 +2623,7 @@ var SearchBox = defineComponent({
|
|
|
2623
2623
|
}), !_this19.showAIScreen && _this19.parsedSuggestions.map(function (item, itemIndex) {
|
|
2624
2624
|
var index = indexOffset + itemIndex;
|
|
2625
2625
|
if (Array.isArray(item)) {
|
|
2626
|
-
var sectionHtml =
|
|
2626
|
+
var sectionHtml = sanitize(item[0].sectionLabel);
|
|
2627
2627
|
indexOffset += item.length - 1;
|
|
2628
2628
|
return createVNode("div", {
|
|
2629
2629
|
"key": "section-" + itemIndex,
|
package/dist/es/SearchBox.js
CHANGED
|
@@ -21,7 +21,7 @@ import '@appbaseio/reactivecore/lib/actions/analytics';
|
|
|
21
21
|
import 'hotkeys-js';
|
|
22
22
|
import 'isomorphic-dompurify';
|
|
23
23
|
import 'remarkable';
|
|
24
|
-
export { S as SBConnected, a as default } from './SearchBox-
|
|
24
|
+
export { S as SBConnected, a as default } from './SearchBox-81bbbe04.js';
|
|
25
25
|
import './CancelSvg-5b82ad4f.js';
|
|
26
26
|
import './Input-cda7f4ad.js';
|
|
27
27
|
import 'compute-scroll-into-view';
|
package/dist/es/index.js
CHANGED
|
@@ -30,15 +30,15 @@ export { default as ReactiveBase } from './ReactiveBase.js';
|
|
|
30
30
|
import 'hotkeys-js';
|
|
31
31
|
import 'isomorphic-dompurify';
|
|
32
32
|
import 'remarkable';
|
|
33
|
-
export { a as SearchBox } from './SearchBox-
|
|
33
|
+
export { a as SearchBox } from './SearchBox-81bbbe04.js';
|
|
34
34
|
import './CancelSvg-5b82ad4f.js';
|
|
35
35
|
import './Input-cda7f4ad.js';
|
|
36
36
|
import 'compute-scroll-into-view';
|
|
37
37
|
import './Container-e2261542.js';
|
|
38
38
|
import 'vue-highlight-words';
|
|
39
39
|
import '@appbaseio/reactivecore/lib/actions/query';
|
|
40
|
-
import { i as install } from './install-
|
|
41
|
-
export { A as AIAnswer, R as ReactiveComponentPrivate, T as TreeList, i as install } from './install-
|
|
40
|
+
import { i as install } from './install-16ae86fa.js';
|
|
41
|
+
export { A as AIAnswer, R as ReactiveComponentPrivate, T as TreeList, i as install } from './install-16ae86fa.js';
|
|
42
42
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
43
43
|
import './FormControlList-968ff972.js';
|
|
44
44
|
import './utils-badbb2a8.js';
|
|
@@ -18,7 +18,7 @@ import { F as Flex } from './Flex-5d11362e.js';
|
|
|
18
18
|
import { recordAISessionUsefulness } from '@appbaseio/reactivecore/lib/actions/analytics';
|
|
19
19
|
import ReactiveBase from './ReactiveBase.js';
|
|
20
20
|
import { Remarkable } from 'remarkable';
|
|
21
|
-
import { F as Footer, b as SourceTags, c as SearchSvg, M as Mic, C as Chatbox, d as ChatContainer, e as MessagesContainer, f as Message, T as TypingIndicator, g as TypingDot, A as AIFeedback, h as MessageInputContainer, I as InputGroup, i as MessageInput, j as SendButton, S as SearchBox } from './SearchBox-
|
|
21
|
+
import { F as Footer, b as SourceTags, c as SearchSvg, M as Mic, C as Chatbox, d as ChatContainer, e as MessagesContainer, f as Message, T as TypingIndicator, g as TypingDot, A as AIFeedback, h as MessageInputContainer, I as InputGroup, i as MessageInput, j as SendButton, S as SearchBox } from './SearchBox-81bbbe04.js';
|
|
22
22
|
import { a as IconGroup, I as IconWrapper, b as InputWrapper } from './CancelSvg-5b82ad4f.js';
|
|
23
23
|
import { I as Input } from './Input-cda7f4ad.js';
|
|
24
24
|
import { C as Container } from './Container-e2261542.js';
|
package/dist/es/install.js
CHANGED
|
@@ -30,14 +30,14 @@ import './ReactiveBase.js';
|
|
|
30
30
|
import 'hotkeys-js';
|
|
31
31
|
import 'isomorphic-dompurify';
|
|
32
32
|
import 'remarkable';
|
|
33
|
-
import './SearchBox-
|
|
33
|
+
import './SearchBox-81bbbe04.js';
|
|
34
34
|
import './CancelSvg-5b82ad4f.js';
|
|
35
35
|
import './Input-cda7f4ad.js';
|
|
36
36
|
import 'compute-scroll-into-view';
|
|
37
37
|
import './Container-e2261542.js';
|
|
38
38
|
import 'vue-highlight-words';
|
|
39
39
|
import '@appbaseio/reactivecore/lib/actions/query';
|
|
40
|
-
export { i as default } from './install-
|
|
40
|
+
export { i as default } from './install-16ae86fa.js';
|
|
41
41
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
42
42
|
import './FormControlList-968ff972.js';
|
|
43
43
|
import './utils-badbb2a8.js';
|
package/dist/es/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appbaseio/reactivesearch-vue",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.7-beta.1",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"jsnext:main": "dist/es/index.js",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"compute-scroll-into-view": "^1.0.11",
|
|
45
45
|
"emotion": "11.0.0",
|
|
46
46
|
"hotkeys-js": "^3.8.7",
|
|
47
|
-
"isomorphic-dompurify": "^
|
|
47
|
+
"isomorphic-dompurify": "^2.11.0",
|
|
48
48
|
"ngeohash": "^0.6.3",
|
|
49
49
|
"polished": "^2.2.0",
|
|
50
50
|
"redux": "^4.0.0",
|