@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.
@@ -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 = _interopDefault(require('isomorphic-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');
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "3.3.5";
5
+ var version = "3.3.7-beta.1";
6
6
 
7
7
  exports.default = version;
@@ -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 DOMPurify from 'isomorphic-dompurify';
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 = DOMPurify.sanitize(innerValue);
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": DOMPurify.sanitize(item.icon)
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": DOMPurify.sanitize(item.iconURL),
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 = DOMPurify.sanitize(item[0].sectionLabel);
2626
+ var sectionHtml = sanitize(item[0].sectionLabel);
2627
2627
  indexOffset += item.length - 1;
2628
2628
  return createVNode("div", {
2629
2629
  "key": "section-" + itemIndex,
@@ -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-e655a9ad.js';
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-e655a9ad.js';
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-cb0ab348.js';
41
- export { A as AIAnswer, R as ReactiveComponentPrivate, T as TreeList, i as install } from './install-cb0ab348.js';
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-e655a9ad.js';
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';
@@ -30,14 +30,14 @@ import './ReactiveBase.js';
30
30
  import 'hotkeys-js';
31
31
  import 'isomorphic-dompurify';
32
32
  import 'remarkable';
33
- import './SearchBox-e655a9ad.js';
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-cb0ab348.js';
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';
@@ -1,3 +1,3 @@
1
- var version = "3.3.5";
1
+ var version = "3.3.7-beta.1";
2
2
 
3
3
  export default version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appbaseio/reactivesearch-vue",
3
- "version": "3.3.5",
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": "^1.12.0",
47
+ "isomorphic-dompurify": "^2.11.0",
48
48
  "ngeohash": "^0.6.3",
49
49
  "polished": "^2.2.0",
50
50
  "redux": "^4.0.0",