@appbaseio/reactivesearch-vue 1.16.0-alpha.58 → 1.16.0-alpha.60
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 +557 -303
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +7 -7
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{ComponentWrapper-ca5f0cbd.js → ComponentWrapper-e131f28a.js} +1 -1
- package/dist/cjs/{DataSearch-f63fcf44.js → DataSearch-85ca95d1.js} +2 -2
- package/dist/cjs/DataSearch.js +3 -3
- package/dist/cjs/{DropDown-c3f83a46.js → DropDown-14a6460c.js} +1 -1
- package/dist/cjs/DynamicRangeSlider.js +1 -1
- package/dist/cjs/MultiDropdownList.js +3 -3
- package/dist/cjs/MultiList.js +2 -2
- package/dist/cjs/MultiRange.js +2 -2
- package/dist/cjs/RangeInput.js +2 -2
- package/dist/cjs/RangeSlider.js +2 -2
- package/dist/cjs/ReactiveBase.js +1 -1
- package/dist/cjs/ReactiveComponent.js +2 -2
- package/dist/cjs/ReactiveGoogleMap.js +2 -2
- package/dist/cjs/ReactiveList.js +2 -2
- package/dist/cjs/SelectedFilters.js +4 -4
- package/dist/cjs/SingleDropdownList.js +3 -3
- package/dist/cjs/SingleList.js +2 -2
- package/dist/cjs/SingleRange.js +3 -3
- package/dist/cjs/StateProvider.js +29 -4
- package/dist/cjs/ToggleButton.js +3 -2
- package/dist/cjs/{index-c288153a.js → index-9fb734df.js} +8 -0
- package/dist/cjs/index.js +6 -5
- package/dist/cjs/{install-b494733c.js → install-7e220cb1.js} +10 -9
- package/dist/cjs/install.js +6 -5
- package/dist/cjs/version.js +1 -1
- package/dist/es/{ComponentWrapper-6ad0997b.js → ComponentWrapper-3654ce36.js} +1 -1
- package/dist/es/{DataSearch-1dba393f.js → DataSearch-9bd510ea.js} +2 -2
- package/dist/es/DataSearch.js +3 -3
- package/dist/es/{DropDown-2ddad7ae.js → DropDown-219d9321.js} +1 -1
- package/dist/es/DynamicRangeSlider.js +1 -1
- package/dist/es/MultiDropdownList.js +3 -3
- package/dist/es/MultiList.js +2 -2
- package/dist/es/MultiRange.js +2 -2
- package/dist/es/RangeInput.js +2 -2
- package/dist/es/RangeSlider.js +2 -2
- package/dist/es/ReactiveBase.js +1 -1
- package/dist/es/ReactiveComponent.js +2 -2
- package/dist/es/ReactiveGoogleMap.js +2 -2
- package/dist/es/ReactiveList.js +2 -2
- package/dist/es/SelectedFilters.js +2 -2
- package/dist/es/SingleDropdownList.js +3 -3
- package/dist/es/SingleList.js +2 -2
- package/dist/es/SingleRange.js +3 -3
- package/dist/es/StateProvider.js +29 -4
- package/dist/es/ToggleButton.js +3 -2
- package/dist/es/{index-3d98f51b.js → index-32f9d554.js} +8 -1
- package/dist/es/index.js +7 -6
- package/dist/es/{install-cde230d4.js → install-32e60122.js} +8 -7
- package/dist/es/install.js +6 -5
- package/dist/es/version.js +1 -1
- package/package.json +3 -3
package/dist/es/MultiRange.js
CHANGED
|
@@ -8,8 +8,8 @@ import 'polished';
|
|
|
8
8
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import {
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
11
|
+
import { q as parseValueArray, f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-32f9d554.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
13
13
|
import { T as Title } from './Title-3342664a.js';
|
|
14
14
|
import { C as Container } from './Container-ba826e96.js';
|
|
15
15
|
import { U as UL, C as Checkbox } from './FormControlList-c22d64f6.js';
|
package/dist/es/RangeInput.js
CHANGED
|
@@ -8,8 +8,8 @@ import 'polished';
|
|
|
8
8
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import { c as connect } from './index-
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
11
|
+
import { c as connect } from './index-32f9d554.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
13
13
|
import './Title-3342664a.js';
|
|
14
14
|
import { F as Flex } from './Flex-1f0795c3.js';
|
|
15
15
|
import { I as Input } from './Input-7a2a9fac.js';
|
package/dist/es/RangeSlider.js
CHANGED
|
@@ -6,8 +6,8 @@ import '@appbaseio/vue-emotion';
|
|
|
6
6
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
7
7
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
8
8
|
import 'redux';
|
|
9
|
-
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-
|
|
10
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
9
|
+
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-32f9d554.js';
|
|
10
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
11
11
|
import { T as Title } from './Title-3342664a.js';
|
|
12
12
|
import { C as Container } from './Container-ba826e96.js';
|
|
13
13
|
import NoSSR from 'vue-no-ssr';
|
package/dist/es/ReactiveBase.js
CHANGED
|
@@ -6,7 +6,7 @@ import { isEqual as isEqual$1 } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
|
6
6
|
import styled from '@appbaseio/vue-emotion';
|
|
7
7
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
8
8
|
import 'redux';
|
|
9
|
-
import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './index-
|
|
9
|
+
import { c as connect, e as composeThemeObject, X as X_SEARCH_CLIENT } from './index-32f9d554.js';
|
|
10
10
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
11
11
|
import { updateAnalyticsConfig } from '@appbaseio/reactivecore/lib/actions/analytics';
|
|
12
12
|
import Appbase from 'appbase-js';
|
|
@@ -5,8 +5,8 @@ import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
|
5
5
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
6
6
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
7
7
|
import 'redux';
|
|
8
|
-
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, c as connect } from './index-
|
|
9
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
8
|
+
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, c as connect } from './index-32f9d554.js';
|
|
9
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
10
10
|
|
|
11
11
|
var _excluded = ["options"];
|
|
12
12
|
var updateQuery = Actions.updateQuery,
|
|
@@ -10,8 +10,8 @@ import { t as types } from './vueTypes-9326e0be.js';
|
|
|
10
10
|
import { P as Pagination } from './Pagination-491c44ee.js';
|
|
11
11
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
12
12
|
import 'redux';
|
|
13
|
-
import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as isFunction, c as connect } from './index-
|
|
14
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
+
import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, a as isFunction, c as connect } from './index-32f9d554.js';
|
|
14
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
15
15
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
16
16
|
import { C as Checkbox } from './FormControlList-c22d64f6.js';
|
|
17
17
|
import GmapVue, { components } from 'gmap-vue';
|
package/dist/es/ReactiveList.js
CHANGED
|
@@ -11,8 +11,8 @@ import { t as types } from './vueTypes-9326e0be.js';
|
|
|
11
11
|
import { P as Pagination } from './Pagination-491c44ee.js';
|
|
12
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
13
|
import 'redux';
|
|
14
|
-
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-
|
|
15
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
+
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-32f9d554.js';
|
|
15
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
16
16
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
17
17
|
import './Title-3342664a.js';
|
|
18
18
|
import { c as container } from './ListItem-cad14c5e.js';
|
|
@@ -8,7 +8,7 @@ import 'polished';
|
|
|
8
8
|
import { f as filters, B as Button } from './Button-d8bc15ea.js';
|
|
9
9
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import { c as connect } from './index-
|
|
11
|
+
import { n as decodeHtml, c as connect } from './index-32f9d554.js';
|
|
12
12
|
import { T as Title } from './Title-3342664a.js';
|
|
13
13
|
import { C as Container } from './Container-ba826e96.js';
|
|
14
14
|
|
|
@@ -164,7 +164,7 @@ var SelectedFilters = {
|
|
|
164
164
|
|
|
165
165
|
return _this3.renderFilterButton(component, component + "-" + (index + 1), function () {
|
|
166
166
|
return _this3.remove(component, value);
|
|
167
|
-
}, selectedValues[component].label + ": " + valueToRender);
|
|
167
|
+
}, selectedValues[component].label + ": " + decodeHtml(valueToRender));
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
return null;
|
|
@@ -9,8 +9,8 @@ import { l as loadMoreContainer, B as Button } from './Button-d8bc15ea.js';
|
|
|
9
9
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
|
-
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, h as hasCustomRenderer, c as connect } from './index-
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
+
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, h as hasCustomRenderer, c as connect } from './index-32f9d554.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
14
14
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
15
15
|
import { T as Title } from './Title-3342664a.js';
|
|
16
16
|
import './CancelSvg-4cfae5fd.js';
|
|
@@ -19,7 +19,7 @@ import 'compute-scroll-into-view';
|
|
|
19
19
|
import { C as Container } from './Container-ba826e96.js';
|
|
20
20
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
21
21
|
import { g as getAggsQuery } from './utils-9e68acee.js';
|
|
22
|
-
import { D as Dropdown } from './DropDown-
|
|
22
|
+
import { D as Dropdown } from './DropDown-219d9321.js';
|
|
23
23
|
|
|
24
24
|
var updateQuery = Actions.updateQuery,
|
|
25
25
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/SingleList.js
CHANGED
|
@@ -8,8 +8,8 @@ import 'polished';
|
|
|
8
8
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent,
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
11
|
+
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, o as isEvent, h as hasCustomRenderer, c as connect } from './index-32f9d554.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
13
13
|
import { T as Title } from './Title-3342664a.js';
|
|
14
14
|
import { I as Input } from './Input-7a2a9fac.js';
|
|
15
15
|
import { C as Container } from './Container-ba826e96.js';
|
package/dist/es/SingleRange.js
CHANGED
|
@@ -8,8 +8,8 @@ import 'polished';
|
|
|
8
8
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
11
|
+
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-32f9d554.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
13
13
|
import { T as Title } from './Title-3342664a.js';
|
|
14
14
|
import { C as Container } from './Container-ba826e96.js';
|
|
15
15
|
import { U as UL, R as Radio } from './FormControlList-c22d64f6.js';
|
|
@@ -133,7 +133,7 @@ var SingleRange = {
|
|
|
133
133
|
props = this.$props;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
var currentValue = SingleRange.parseValue(value, props);
|
|
136
|
+
var currentValue = typeof value === 'string' ? SingleRange.parseValue(value, props) : value;
|
|
137
137
|
|
|
138
138
|
var performUpdate = function performUpdate() {
|
|
139
139
|
_this2.currentValue = currentValue;
|
package/dist/es/StateProvider.js
CHANGED
|
@@ -2,8 +2,10 @@ import { helper } from '@appbaseio/reactivecore';
|
|
|
2
2
|
import { a as _extends } from './_rollupPluginBabelHelpers-76660dab.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
|
+
import { isInternalComponent } from '@appbaseio/reactivecore/lib/utils/transform';
|
|
5
6
|
import 'redux';
|
|
6
|
-
import { c as connect } from './index-
|
|
7
|
+
import { c as connect } from './index-32f9d554.js';
|
|
8
|
+
import { setValues } from '@appbaseio/reactivecore/lib/actions/value';
|
|
7
9
|
|
|
8
10
|
var getSearchState = helper.getSearchState;
|
|
9
11
|
var defaultKeys = ['hits', 'value', 'aggregations', 'error'];
|
|
@@ -147,13 +149,32 @@ var StateProvider = {
|
|
|
147
149
|
if (this.isStateChanged(newVal, oldVal)) {
|
|
148
150
|
this.searchState = filterByKeys(getSearchState(filterProps(this.searchStateProps)), this.includeKeys);
|
|
149
151
|
}
|
|
152
|
+
},
|
|
153
|
+
setSearchState: function setSearchState(valuesMap) {
|
|
154
|
+
if (valuesMap === void 0) {
|
|
155
|
+
valuesMap = {};
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
var components = this.components;
|
|
159
|
+
var computedValuesMap = {};
|
|
160
|
+
components.filter(function (component) {
|
|
161
|
+
return !isInternalComponent(component);
|
|
162
|
+
}).forEach(function (component) {
|
|
163
|
+
if (component in valuesMap) {
|
|
164
|
+
computedValuesMap[component] = valuesMap[component];
|
|
165
|
+
} else {
|
|
166
|
+
computedValuesMap[component] = null;
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
this.setValues(computedValuesMap);
|
|
150
170
|
}
|
|
151
171
|
},
|
|
152
172
|
render: function render() {
|
|
153
173
|
var searchState = this.searchState;
|
|
154
174
|
var dom = this.$scopedSlots["default"];
|
|
155
175
|
return dom ? dom({
|
|
156
|
-
searchState: searchState
|
|
176
|
+
searchState: searchState,
|
|
177
|
+
setSearchState: this.setSearchState
|
|
157
178
|
}) : null;
|
|
158
179
|
}
|
|
159
180
|
};
|
|
@@ -171,11 +192,15 @@ var mapStateToProps = function mapStateToProps(state, props) {
|
|
|
171
192
|
promotedResults: filterByComponentIds(state.promotedResults, props),
|
|
172
193
|
customData: filterByComponentIds(state.customData, props),
|
|
173
194
|
settings: filterByComponentIds(state.settings, props),
|
|
174
|
-
rawData: filterByComponentIds(state.rawData, props)
|
|
195
|
+
rawData: filterByComponentIds(state.rawData, props),
|
|
196
|
+
components: filterByComponentIds(state.components, props)
|
|
175
197
|
};
|
|
176
198
|
};
|
|
177
199
|
|
|
178
|
-
var
|
|
200
|
+
var mapDispatchtoProps = {
|
|
201
|
+
setValues: setValues
|
|
202
|
+
};
|
|
203
|
+
var StateProviderConnected = connect(mapStateToProps, mapDispatchtoProps)(StateProvider);
|
|
179
204
|
|
|
180
205
|
StateProvider.install = function (Vue) {
|
|
181
206
|
Vue.component(StateProvider.name, StateProviderConnected);
|
package/dist/es/ToggleButton.js
CHANGED
|
@@ -9,8 +9,8 @@ import { B as Button, t as toggleButtons } from './Button-d8bc15ea.js';
|
|
|
9
9
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
|
-
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
+
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-32f9d554.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
14
14
|
import { T as Title } from './Title-3342664a.js';
|
|
15
15
|
import { C as Container } from './Container-ba826e96.js';
|
|
16
16
|
|
|
@@ -26,6 +26,7 @@ var ToggleButton = {
|
|
|
26
26
|
name: 'ToggleButton',
|
|
27
27
|
props: {
|
|
28
28
|
componentId: types.stringRequired,
|
|
29
|
+
customQuery: types.func,
|
|
29
30
|
data: types.data,
|
|
30
31
|
dataField: types.stringRequired,
|
|
31
32
|
defaultValue: types.any,
|
|
@@ -364,5 +364,12 @@ function extractModifierKeysFromFocusShortcuts(focusShortcutsArray) {
|
|
|
364
364
|
return MODIFIER_KEYS.includes(shortcutKey);
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
|
+
function decodeHtml(str) {
|
|
368
|
+
return str.replace(/&#([0-9]{1,3});/gi, function (match, numStr) {
|
|
369
|
+
var num = parseInt(numStr, 10); // read num as normal number
|
|
367
370
|
|
|
368
|
-
|
|
371
|
+
return String.fromCharCode(num);
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export { X_SEARCH_CLIENT as X, isFunction as a, getCamelCase as b, connect as c, getValidPropsKeys as d, composeThemeObject as e, updateCustomQuery as f, getComponent as g, hasCustomRenderer as h, isQueryIdentical as i, getQuerySuggestionsComponent as j, isEmpty as k, extractModifierKeysFromFocusShortcuts as l, hasQuerySuggestionsRenderer as m, decodeHtml as n, isEvent as o, parseFocusShortcuts as p, parseValueArray as q, updateDefaultQuery as u };
|
package/dist/es/index.js
CHANGED
|
@@ -12,8 +12,8 @@ import './Pagination-491c44ee.js';
|
|
|
12
12
|
export { default as ReactiveList } from './ReactiveList.js';
|
|
13
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
14
14
|
import 'redux';
|
|
15
|
-
import './index-
|
|
16
|
-
import './ComponentWrapper-
|
|
15
|
+
import './index-32f9d554.js';
|
|
16
|
+
import './ComponentWrapper-3654ce36.js';
|
|
17
17
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
18
18
|
import './Title-3342664a.js';
|
|
19
19
|
import './ListItem-cad14c5e.js';
|
|
@@ -24,20 +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 { D as DataSearch } from './DataSearch-
|
|
27
|
+
export { D as DataSearch } from './DataSearch-9bd510ea.js';
|
|
28
28
|
import './CancelSvg-4cfae5fd.js';
|
|
29
29
|
import './Input-7a2a9fac.js';
|
|
30
30
|
import 'compute-scroll-into-view';
|
|
31
31
|
import './Container-ba826e96.js';
|
|
32
32
|
import 'vue-highlight-words';
|
|
33
|
-
import { i as install } from './install-
|
|
34
|
-
export { S as SearchBox, i as install } from './install-
|
|
33
|
+
import { i as install } from './install-32e60122.js';
|
|
34
|
+
export { S as SearchBox, i as install } from './install-32e60122.js';
|
|
35
35
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
36
36
|
import './FormControlList-c22d64f6.js';
|
|
37
37
|
import './utils-9e68acee.js';
|
|
38
38
|
export { default as SingleList } from './SingleList.js';
|
|
39
39
|
export { default as MultiList } from './MultiList.js';
|
|
40
|
-
import './DropDown-
|
|
40
|
+
import './DropDown-219d9321.js';
|
|
41
41
|
export { default as SingleDropdownList } from './SingleDropdownList.js';
|
|
42
42
|
export { default as MultiDropdownList } from './MultiDropdownList.js';
|
|
43
43
|
export { default as ToggleButton } from './ToggleButton.js';
|
|
@@ -51,6 +51,7 @@ import 'vue-no-ssr';
|
|
|
51
51
|
import './ssr-b2c0b401.js';
|
|
52
52
|
export { default as RangeSlider } from './RangeSlider.js';
|
|
53
53
|
export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
|
|
54
|
+
import '@appbaseio/reactivecore/lib/actions/value';
|
|
54
55
|
export { default as StateProvider } from './StateProvider.js';
|
|
55
56
|
import 'gmap-vue';
|
|
56
57
|
import 'ngeohash';
|
|
@@ -7,12 +7,12 @@ import styled from '@appbaseio/vue-emotion';
|
|
|
7
7
|
import { B as Button } from './Button-d8bc15ea.js';
|
|
8
8
|
import { t as types } from './vueTypes-9326e0be.js';
|
|
9
9
|
import ReactiveList from './ReactiveList.js';
|
|
10
|
-
import { h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, u as updateDefaultQuery, f as updateCustomQuery, a as isFunction, k as isEmpty, p as parseFocusShortcuts, l as extractModifierKeysFromFocusShortcuts, c as connect } from './index-
|
|
11
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
10
|
+
import { n as decodeHtml, h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, u as updateDefaultQuery, f as updateCustomQuery, a as isFunction, k as isEmpty, p as parseFocusShortcuts, l as extractModifierKeysFromFocusShortcuts, c as connect } from './index-32f9d554.js';
|
|
11
|
+
import { C as ComponentWrapper } from './ComponentWrapper-3654ce36.js';
|
|
12
12
|
import { T as Title } from './Title-3342664a.js';
|
|
13
13
|
import ReactiveBase from './ReactiveBase.js';
|
|
14
14
|
import hotkeys from 'hotkeys-js';
|
|
15
|
-
import { S as SearchSvg, a as SuggestionWrapper, I as InputAddon, M as Mic, T as TagItem, b as TagsContainer, c as InputGroup, C as CustomSvg, d as SuggestionItem, D as DataSearch } from './DataSearch-
|
|
15
|
+
import { S as SearchSvg, a as SuggestionWrapper, I as InputAddon, M as Mic, T as TagItem, b as TagsContainer, c as InputGroup, C as CustomSvg, d as SuggestionItem, D as DataSearch } from './DataSearch-9bd510ea.js';
|
|
16
16
|
import { C as CancelSvg, a as IconGroup, I as IconWrapper, D as Downshift, b as InputWrapper } from './CancelSvg-4cfae5fd.js';
|
|
17
17
|
import { s as suggestionsContainer, I as Input, a as suggestions } from './Input-7a2a9fac.js';
|
|
18
18
|
import { C as Container } from './Container-ba826e96.js';
|
|
@@ -118,7 +118,7 @@ var SearchBox = {
|
|
|
118
118
|
console.warn('Warning(ReactiveSearch): In order to use the `index` prop, the `enableAppbase` prop must be set to true in `ReactiveBase`.');
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
this.currentValue = this.selectedValue || this.value || this.defaultValue || '';
|
|
121
|
+
this.currentValue = decodeHtml(this.selectedValue || this.value || this.defaultValue || '');
|
|
122
122
|
|
|
123
123
|
if (this.$options.isTagsMode) {
|
|
124
124
|
this.currentValue = '';
|
|
@@ -215,7 +215,8 @@ var SearchBox = {
|
|
|
215
215
|
enterButton: VueTypes.bool.def(false),
|
|
216
216
|
renderEnterButton: VueTypes.any,
|
|
217
217
|
mode: VueTypes.oneOf(['select', 'tag']).def('select'),
|
|
218
|
-
renderSelectedTags: VueTypes.any
|
|
218
|
+
renderSelectedTags: VueTypes.any,
|
|
219
|
+
searchboxId: VueTypes.string
|
|
219
220
|
},
|
|
220
221
|
beforeMount: function beforeMount() {
|
|
221
222
|
if (this.selectedValue) {
|
|
@@ -459,7 +460,7 @@ var SearchBox = {
|
|
|
459
460
|
|
|
460
461
|
_this.currentValue = '';
|
|
461
462
|
} else {
|
|
462
|
-
_this.currentValue = value;
|
|
463
|
+
_this.currentValue = decodeHtml(value);
|
|
463
464
|
}
|
|
464
465
|
|
|
465
466
|
var queryHandlerValue = value;
|
|
@@ -965,7 +966,7 @@ var SearchBox = {
|
|
|
965
966
|
onAutofillClick: function onAutofillClick(suggestion) {
|
|
966
967
|
var value = suggestion.value;
|
|
967
968
|
this.isOpen = true;
|
|
968
|
-
this.currentValue = value;
|
|
969
|
+
this.currentValue = decodeHtml(value);
|
|
969
970
|
this.triggerDefaultQuery(value);
|
|
970
971
|
},
|
|
971
972
|
renderAutoFill: function renderAutoFill(suggestion) {
|
package/dist/es/install.js
CHANGED
|
@@ -12,8 +12,8 @@ import './Pagination-491c44ee.js';
|
|
|
12
12
|
import './ReactiveList.js';
|
|
13
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
14
14
|
import 'redux';
|
|
15
|
-
import './index-
|
|
16
|
-
import './ComponentWrapper-
|
|
15
|
+
import './index-32f9d554.js';
|
|
16
|
+
import './ComponentWrapper-3654ce36.js';
|
|
17
17
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
18
18
|
import './Title-3342664a.js';
|
|
19
19
|
import './ListItem-cad14c5e.js';
|
|
@@ -24,19 +24,19 @@ import 'appbase-js';
|
|
|
24
24
|
import 'url-search-params-polyfill';
|
|
25
25
|
import './ReactiveBase.js';
|
|
26
26
|
import 'hotkeys-js';
|
|
27
|
-
import './DataSearch-
|
|
27
|
+
import './DataSearch-9bd510ea.js';
|
|
28
28
|
import './CancelSvg-4cfae5fd.js';
|
|
29
29
|
import './Input-7a2a9fac.js';
|
|
30
30
|
import 'compute-scroll-into-view';
|
|
31
31
|
import './Container-ba826e96.js';
|
|
32
32
|
import 'vue-highlight-words';
|
|
33
|
-
export { i as default } from './install-
|
|
33
|
+
export { i as default } from './install-32e60122.js';
|
|
34
34
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
35
35
|
import './FormControlList-c22d64f6.js';
|
|
36
36
|
import './utils-9e68acee.js';
|
|
37
37
|
import './SingleList.js';
|
|
38
38
|
import './MultiList.js';
|
|
39
|
-
import './DropDown-
|
|
39
|
+
import './DropDown-219d9321.js';
|
|
40
40
|
import './SingleDropdownList.js';
|
|
41
41
|
import './MultiDropdownList.js';
|
|
42
42
|
import './ToggleButton.js';
|
|
@@ -50,5 +50,6 @@ import 'vue-no-ssr';
|
|
|
50
50
|
import './ssr-b2c0b401.js';
|
|
51
51
|
import './RangeSlider.js';
|
|
52
52
|
import './DynamicRangeSlider.js';
|
|
53
|
+
import '@appbaseio/reactivecore/lib/actions/value';
|
|
53
54
|
import './StateProvider.js';
|
|
54
55
|
import './RangeInput.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": "1.16.0-alpha.
|
|
3
|
+
"version": "1.16.0-alpha.60",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"jsnext:main": "dist/es/index.js",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
],
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@appbaseio/reactivecore": "9.14.
|
|
37
|
+
"@appbaseio/reactivecore": "9.14.17",
|
|
38
38
|
"@appbaseio/vue-emotion": "0.4.4",
|
|
39
39
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
|
40
40
|
"appbase-js": "^5.0.0",
|
|
41
41
|
"compute-scroll-into-view": "^1.0.11",
|
|
42
42
|
"emotion": "9.2.12",
|
|
43
|
-
"gmap-vue": "^3.5.
|
|
43
|
+
"gmap-vue": "^3.5.4",
|
|
44
44
|
"hotkeys-js": "^3.8.7",
|
|
45
45
|
"ngeohash": "^0.6.3",
|
|
46
46
|
"polished": "^2.2.0",
|