@appbaseio/reactivesearch-vue 1.16.0-alpha.48 → 1.16.0-alpha.50

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.
Files changed (45) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +1800 -405
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/{Button-d2f1aeda.js → Button-10e5cf51.js} +1 -1
  6. package/dist/cjs/DataSearch-deda2e96.js +2171 -0
  7. package/dist/cjs/DataSearch.js +18 -2107
  8. package/dist/cjs/{DropDown-c46d8b0c.js → DropDown-16a2a728.js} +1 -1
  9. package/dist/cjs/{Input-c6f181d5.js → Input-64087a69.js} +1 -1
  10. package/dist/cjs/MultiDropdownList.js +3 -3
  11. package/dist/cjs/MultiList.js +1 -1
  12. package/dist/cjs/{Pagination-1b2320a7.js → Pagination-e0654529.js} +1 -1
  13. package/dist/cjs/RangeInput.js +1 -1
  14. package/dist/cjs/ReactiveGoogleMap.js +2 -2
  15. package/dist/cjs/ReactiveList.js +2 -2
  16. package/dist/cjs/SelectedFilters.js +6 -4
  17. package/dist/cjs/SingleDropdownList.js +3 -3
  18. package/dist/cjs/SingleList.js +1 -1
  19. package/dist/cjs/ToggleButton.js +1 -1
  20. package/dist/cjs/index.js +11 -10
  21. package/dist/cjs/initReactivesearch.js +0 -7
  22. package/dist/cjs/install-d0645b5f.js +1244 -0
  23. package/dist/cjs/install.js +25 -30
  24. package/dist/cjs/version.js +1 -1
  25. package/dist/es/{Button-799185e2.js → Button-8b211174.js} +1 -1
  26. package/dist/es/DataSearch-7a8a9368.js +2158 -0
  27. package/dist/es/DataSearch.js +17 -2106
  28. package/dist/es/{DropDown-4edaa621.js → DropDown-7639f223.js} +1 -1
  29. package/dist/es/{Input-d8519224.js → Input-d1bb4868.js} +1 -1
  30. package/dist/es/MultiDropdownList.js +3 -3
  31. package/dist/es/MultiList.js +1 -1
  32. package/dist/es/{Pagination-b3e4054a.js → Pagination-3c50d4ba.js} +1 -1
  33. package/dist/es/RangeInput.js +1 -1
  34. package/dist/es/ReactiveGoogleMap.js +2 -2
  35. package/dist/es/ReactiveList.js +2 -2
  36. package/dist/es/SelectedFilters.js +6 -4
  37. package/dist/es/SingleDropdownList.js +3 -3
  38. package/dist/es/SingleList.js +1 -1
  39. package/dist/es/ToggleButton.js +1 -1
  40. package/dist/es/index.js +7 -7
  41. package/dist/es/initReactivesearch.js +0 -7
  42. package/dist/es/install-183f5d19.js +1237 -0
  43. package/dist/es/install.js +23 -32
  44. package/dist/es/version.js +1 -1
  45. package/package.json +4 -4
@@ -7,7 +7,7 @@ import { t as types } from './vueTypes-9326e0be.js';
7
7
  import { a as isFunction } from './index-5daa8276.js';
8
8
  import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
9
9
  import { D as Downshift, b as InputWrapper, a as IconGroup, I as IconWrapper, C as CancelSvg } from './CancelSvg-4d9e0857.js';
10
- import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-d8519224.js';
10
+ import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-d1bb4868.js';
11
11
  import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
12
12
 
13
13
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
@@ -59,7 +59,7 @@ var Input = styled('input')(_templateObject5 || (_templateObject5 = _taggedTempl
59
59
  });
60
60
 
61
61
  var suggestions = function suggestions(themePreset, theme) {
62
- return css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder: 1px solid #ccc;\n\tborder-top: none;\n\tbackground-color: #fff;\n\tfont-size: 0.9rem;\n\tz-index: 3;\n\tposition: absolute;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tmax-height: 395px;\n\toverflow-y: auto;\n\n\t&.small {\n\t\ttop: 30px;\n\t}\n\n\tli {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tcursor: pointer;\n\t\tpadding: 10px;\n\t\tuser-select: none;\n\n\t\t& > .trim {\n\t\t\tdisplay: -webkit-box;\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t\tmax-height: 2.3rem;\n\t\t\tline-height: 1.2rem;\n\t\t\t-webkit-line-clamp: 2;\n\t\t\t-webkit-box-orient: vertical;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\t\t}\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: #eee;\n\t\t}\n\t}\n\n\t", ";\n"])), themePreset === 'dark' && theme && dark(theme));
62
+ return css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteralLoose(["\n\tdisplay: block;\n\twidth: 100%;\n\tborder: 1px solid #ccc;\n\tborder-top: none;\n\tbackground-color: #fff;\n\tfont-size: 0.9rem;\n\tz-index: 3;\n\tposition: absolute;\n\tmargin: 0;\n\tpadding: 0;\n\tlist-style: none;\n\tmax-height: min(100vh, 402px);\n\toverflow-y: auto;\n\n\t&.small {\n\t\ttop: 30px;\n\t}\n\n\tli {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tcursor: pointer;\n\t\tpadding: 10px;\n\t\tuser-select: none;\n\n\t\t& > .trim {\n\t\t\tdisplay: -webkit-box;\n\t\t\tdisplay: block;\n\t\t\twidth: 100%;\n\t\t\tmax-height: 2.3rem;\n\t\t\tline-height: 1.2rem;\n\t\t\t-webkit-line-clamp: 2;\n\t\t\t-webkit-box-orient: vertical;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\twhite-space: nowrap;\n\t\t}\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: #eee;\n\t\t}\n\t}\n\n\t", ";\n"])), themePreset === 'dark' && theme && dark(theme));
63
63
  };
64
64
 
65
65
  var suggestionsContainer = css(_templateObject15 || (_templateObject15 = _taggedTemplateLiteralLoose(["\n\tposition: relative;\n\t.cancel-icon {\n\t\tcursor: pointer;\n\t}\n"])));
@@ -5,7 +5,7 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { l as loadMoreContainer, B as Button } from './Button-799185e2.js';
8
+ import { l as loadMoreContainer, B as Button } from './Button-8b211174.js';
9
9
  import { t as types } from './vueTypes-9326e0be.js';
10
10
  import '@appbaseio/reactivecore/lib/utils/transform';
11
11
  import 'redux';
@@ -14,12 +14,12 @@ import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
14
14
  import '@vue/babel-helper-vue-jsx-merge-props';
15
15
  import { T as Title } from './Title-579f8d6c.js';
16
16
  import './CancelSvg-4d9e0857.js';
17
- import './Input-d8519224.js';
17
+ import './Input-d1bb4868.js';
18
18
  import 'compute-scroll-into-view';
19
19
  import { C as Container } from './Container-4383c6f0.js';
20
20
  import '@appbaseio/reactivecore/lib/utils/suggestions';
21
21
  import { g as getAggsQuery } from './utils-3a32e13f.js';
22
- import { D as Dropdown } from './DropDown-4edaa621.js';
22
+ import { D as Dropdown } from './DropDown-7639f223.js';
23
23
 
24
24
  var updateQuery = Actions.updateQuery,
25
25
  setQueryOptions = Actions.setQueryOptions,
@@ -11,7 +11,7 @@ import 'redux';
11
11
  import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, n as isEvent, o as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-5daa8276.js';
12
12
  import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
13
13
  import { T as Title } from './Title-579f8d6c.js';
14
- import { I as Input } from './Input-d8519224.js';
14
+ import { I as Input } from './Input-d1bb4868.js';
15
15
  import { C as Container } from './Container-4383c6f0.js';
16
16
  import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
17
17
  import { U as UL, C as Checkbox } from './FormControlList-fe389a2e.js';
@@ -1,6 +1,6 @@
1
1
  import { helper } from '@appbaseio/reactivecore';
2
2
  import VueTypes from 'vue-types';
3
- import { p as pagination, B as Button } from './Button-799185e2.js';
3
+ import { p as pagination, B as Button } from './Button-8b211174.js';
4
4
  import { t as types } from './vueTypes-9326e0be.js';
5
5
 
6
6
  var getClassName = helper.getClassName,
@@ -12,7 +12,7 @@ import { c as connect } from './index-5daa8276.js';
12
12
  import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
13
13
  import './Title-579f8d6c.js';
14
14
  import { F as Flex } from './Flex-aac91505.js';
15
- import { I as Input } from './Input-d8519224.js';
15
+ import { I as Input } from './Input-d1bb4868.js';
16
16
  import { C as Container } from './Container-4383c6f0.js';
17
17
  import 'vue-no-ssr';
18
18
  import './ssr-e3196de1.js';
@@ -5,9 +5,9 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import styled, { css } from '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import './Button-799185e2.js';
8
+ import './Button-8b211174.js';
9
9
  import { t as types } from './vueTypes-9326e0be.js';
10
- import { P as Pagination } from './Pagination-b3e4054a.js';
10
+ import { P as Pagination } from './Pagination-3c50d4ba.js';
11
11
  import '@appbaseio/reactivecore/lib/utils/transform';
12
12
  import 'redux';
13
13
  import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as isFunction, c as connect } from './index-5daa8276.js';
@@ -6,9 +6,9 @@ import { withClickIds } from '@appbaseio/reactivecore/lib/utils/helper';
6
6
  import { css } from 'emotion';
7
7
  import styled from '@appbaseio/vue-emotion';
8
8
  import 'polished';
9
- import './Button-799185e2.js';
9
+ import './Button-8b211174.js';
10
10
  import { t as types } from './vueTypes-9326e0be.js';
11
- import { P as Pagination } from './Pagination-b3e4054a.js';
11
+ import { P as Pagination } from './Pagination-3c50d4ba.js';
12
12
  import '@appbaseio/reactivecore/lib/utils/transform';
13
13
  import 'redux';
14
14
  import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-5daa8276.js';
@@ -5,7 +5,7 @@ import '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { f as filters, B as Button } from './Button-799185e2.js';
8
+ import { f as filters, B as Button } from './Button-8b211174.js';
9
9
  import { t as types } from './vueTypes-9326e0be.js';
10
10
  import 'redux';
11
11
  import { c as connect } from './index-5daa8276.js';
@@ -26,6 +26,7 @@ var SelectedFilters = {
26
26
  showClearAll: VueTypes.bool.def(true),
27
27
  title: types.title,
28
28
  resetToDefault: VueTypes.bool.def(false),
29
+ clearAllBlacklistComponents: VueTypes.array,
29
30
  resetToValues: VueTypes.object
30
31
  },
31
32
  inject: {
@@ -80,12 +81,13 @@ var SelectedFilters = {
80
81
  },
81
82
  clearValues: function clearValues() {
82
83
  var resetToDefault = this.resetToDefault,
83
- resetToValues = this.resetToValues;
84
+ resetToValues = this.resetToValues,
85
+ clearAllBlacklistComponents = this.clearAllBlacklistComponents;
84
86
 
85
87
  if (resetToDefault) {
86
- this.resetValuesToDefault();
88
+ this.resetValuesToDefault(clearAllBlacklistComponents);
87
89
  } else {
88
- this.clearValuesAction(resetToValues);
90
+ this.clearValuesAction(resetToValues, clearAllBlacklistComponents);
89
91
  }
90
92
 
91
93
  this.$emit('clear', resetToValues);
@@ -5,7 +5,7 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { l as loadMoreContainer, B as Button } from './Button-799185e2.js';
8
+ import { l as loadMoreContainer, B as Button } from './Button-8b211174.js';
9
9
  import { t as types } from './vueTypes-9326e0be.js';
10
10
  import '@appbaseio/reactivecore/lib/utils/transform';
11
11
  import 'redux';
@@ -14,12 +14,12 @@ import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
14
14
  import '@vue/babel-helper-vue-jsx-merge-props';
15
15
  import { T as Title } from './Title-579f8d6c.js';
16
16
  import './CancelSvg-4d9e0857.js';
17
- import './Input-d8519224.js';
17
+ import './Input-d1bb4868.js';
18
18
  import 'compute-scroll-into-view';
19
19
  import { C as Container } from './Container-4383c6f0.js';
20
20
  import '@appbaseio/reactivecore/lib/utils/suggestions';
21
21
  import { g as getAggsQuery } from './utils-3a32e13f.js';
22
- import { D as Dropdown } from './DropDown-4edaa621.js';
22
+ import { D as Dropdown } from './DropDown-7639f223.js';
23
23
 
24
24
  var updateQuery = Actions.updateQuery,
25
25
  setQueryOptions = Actions.setQueryOptions,
@@ -11,7 +11,7 @@ import 'redux';
11
11
  import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, n as isEvent, h as hasCustomRenderer, c as connect } from './index-5daa8276.js';
12
12
  import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
13
13
  import { T as Title } from './Title-579f8d6c.js';
14
- import { I as Input } from './Input-d8519224.js';
14
+ import { I as Input } from './Input-d1bb4868.js';
15
15
  import { C as Container } from './Container-4383c6f0.js';
16
16
  import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
17
17
  import { U as UL, R as Radio } from './FormControlList-fe389a2e.js';
@@ -5,7 +5,7 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
5
5
  import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
7
  import 'polished';
8
- import { B as Button, t as toggleButtons } from './Button-799185e2.js';
8
+ import { B as Button, t as toggleButtons } from './Button-8b211174.js';
9
9
  import { t as types } from './vueTypes-9326e0be.js';
10
10
  import '@appbaseio/reactivecore/lib/utils/transform';
11
11
  import 'redux';
package/dist/es/index.js CHANGED
@@ -6,9 +6,9 @@ import '@appbaseio/reactivecore/lib/utils/helper';
6
6
  import 'emotion';
7
7
  import '@appbaseio/vue-emotion';
8
8
  import 'polished';
9
- import './Button-799185e2.js';
9
+ import './Button-8b211174.js';
10
10
  import './vueTypes-9326e0be.js';
11
- import './Pagination-b3e4054a.js';
11
+ import './Pagination-3c50d4ba.js';
12
12
  export { default as ReactiveList } from './ReactiveList.js';
13
13
  import '@appbaseio/reactivecore/lib/utils/transform';
14
14
  import 'redux';
@@ -24,18 +24,20 @@ import 'appbase-js';
24
24
  import 'url-search-params-polyfill';
25
25
  export { default as ReactiveBase } from './ReactiveBase.js';
26
26
  import 'hotkeys-js';
27
- export { default as DataSearch } from './DataSearch.js';
27
+ export { D as DataSearch } from './DataSearch-7a8a9368.js';
28
28
  import './CancelSvg-4d9e0857.js';
29
- import './Input-d8519224.js';
29
+ import './Input-d1bb4868.js';
30
30
  import 'compute-scroll-into-view';
31
31
  import './Container-4383c6f0.js';
32
32
  import 'vue-highlight-words';
33
+ import { i as install } from './install-183f5d19.js';
34
+ export { S as SearchBox, i as install } from './install-183f5d19.js';
33
35
  import '@appbaseio/reactivecore/lib/utils/suggestions';
34
36
  import './FormControlList-fe389a2e.js';
35
37
  import './utils-3a32e13f.js';
36
38
  export { default as SingleList } from './SingleList.js';
37
39
  export { default as MultiList } from './MultiList.js';
38
- import './DropDown-4edaa621.js';
40
+ import './DropDown-7639f223.js';
39
41
  export { default as SingleDropdownList } from './SingleDropdownList.js';
40
42
  export { default as MultiDropdownList } from './MultiDropdownList.js';
41
43
  export { default as ToggleButton } from './ToggleButton.js';
@@ -70,8 +72,6 @@ export { default as initReactivesearch } from './initReactivesearch.js';
70
72
  import version from './version.js';
71
73
  export { default as version } from './version.js';
72
74
  export { default as RangeInput } from './RangeInput.js';
73
- import install from './install.js';
74
- export { default as install } from './install.js';
75
75
 
76
76
  // Add polyfills to support in IE
77
77
 
@@ -496,13 +496,6 @@ function initReactivesearch(componentCollection, searchState, settings) {
496
496
  rsAPISettings.customEvents = isPropertyDefined(config.analyticsConfig.customEvents) ? config.analyticsConfig.customEvents : undefined;
497
497
  }
498
498
 
499
- console.log('APPBASE REF', JSON.stringify({
500
- index: appbaseRef.app,
501
- url: appbaseRef.url,
502
- credentials: appbaseRef.credentials
503
- }));
504
- console.log('FINAL QUERY', JSON.stringify(finalQuery));
505
- console.log('RS API SETTINGS', JSON.stringify(rsAPISettings));
506
499
  appbaseRef.reactiveSearchv3(finalQuery, rsAPISettings).then(function (res) {
507
500
  handleRSResponse(res);
508
501
  })["catch"](function (err) {