@appbaseio/reactivesearch-vue 1.16.0-alpha.32 → 1.16.0-alpha.35
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 +5247 -10936
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{Button-d2f1aeda.js → Button-11307285.js} +1 -1
- package/dist/cjs/{CancelSvg-82021d23.js → CancelSvg-4aa35935.js} +1 -1
- package/dist/cjs/{Card-4b915733.js → Card-fd94ef07.js} +2 -2
- package/dist/cjs/{ComponentWrapper-7302fe1a.js → ComponentWrapper-32481890.js} +2 -2
- package/dist/cjs/{Container-8a08d663.js → Container-526efa6a.js} +1 -1
- package/dist/cjs/DataSearch-8658fd8e.js +2154 -0
- package/dist/cjs/DataSearch.js +18 -2101
- package/dist/cjs/{DropDown-c46d8b0c.js → DropDown-cf9bfffc.js} +14 -19
- package/dist/cjs/DynamicRangeSlider.js +9 -42
- package/dist/cjs/{Flex-699639d2.js → Flex-f146cdad.js} +1 -1
- package/dist/cjs/{FormControlList-73497794.js → FormControlList-808dbcef.js} +1 -1
- package/dist/cjs/{Input-c6f181d5.js → Input-3cc3fa59.js} +1 -1
- package/dist/cjs/{ListItem-933c27e4.js → ListItem-b40adb04.js} +2 -2
- package/dist/cjs/MultiDropdownList.js +12 -13
- package/dist/cjs/MultiList.js +17 -22
- package/dist/cjs/MultiRange.js +7 -7
- package/dist/cjs/RangeInput.js +9 -13
- package/dist/cjs/RangeSlider.js +7 -7
- package/dist/cjs/ReactiveBase.js +3 -3
- package/dist/cjs/ReactiveComponent.js +4 -4
- package/dist/cjs/ReactiveList.js +184 -19
- package/dist/cjs/ResultCard.js +4 -4
- package/dist/cjs/ResultList.js +4 -4
- package/dist/cjs/SelectedFilters.js +6 -6
- package/dist/cjs/SingleDropdownList.js +11 -12
- package/dist/cjs/SingleList.js +9 -9
- package/dist/cjs/SingleRange.js +7 -7
- package/dist/cjs/StateProvider.js +2 -2
- package/dist/cjs/{Title-39765ee6.js → Title-584a8cc8.js} +1 -1
- package/dist/cjs/ToggleButton.js +7 -7
- package/dist/cjs/{_rollupPluginBabelHelpers-4abdbfff.js → _rollupPluginBabelHelpers-f127c8b7.js} +0 -17
- package/dist/cjs/{index-d44a0a21.js → index-89c39a9e.js} +5 -11
- package/dist/cjs/index.js +23 -32
- package/dist/cjs/initReactivesearch.js +1 -1
- package/dist/cjs/install-35f74190.js +1196 -0
- package/dist/cjs/install.js +37 -43
- package/dist/cjs/{ssr-c333c82c.js → ssr-0ee35a09.js} +1 -1
- package/dist/cjs/{utils-23afb20b.js → utils-1219e1fe.js} +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-6de9d2a9.js → vueTypes-57d01f18.js} +13 -24
- package/dist/es/{Button-799185e2.js → Button-91561391.js} +1 -1
- package/dist/es/{CancelSvg-4d9e0857.js → CancelSvg-c2c03a35.js} +1 -1
- package/dist/es/{Card-04b3c33e.js → Card-6446f1b7.js} +2 -2
- package/dist/es/{ComponentWrapper-bbb717bc.js → ComponentWrapper-4f85a67e.js} +2 -2
- package/dist/es/{Container-4383c6f0.js → Container-18b03fde.js} +1 -1
- package/dist/es/DataSearch-66e72d1d.js +2141 -0
- package/dist/es/DataSearch.js +17 -2100
- package/dist/es/{DropDown-4edaa621.js → DropDown-c8da0a2c.js} +14 -19
- package/dist/es/DynamicRangeSlider.js +9 -42
- package/dist/es/{Flex-aac91505.js → Flex-8770345d.js} +1 -1
- package/dist/es/{FormControlList-fe389a2e.js → FormControlList-704f8dee.js} +1 -1
- package/dist/es/{Input-d8519224.js → Input-08bb1bcf.js} +1 -1
- package/dist/es/{ListItem-bdb6d53d.js → ListItem-8e8fb535.js} +2 -2
- package/dist/es/MultiDropdownList.js +12 -13
- package/dist/es/MultiList.js +17 -22
- package/dist/es/MultiRange.js +7 -7
- package/dist/es/RangeInput.js +9 -13
- package/dist/es/RangeSlider.js +7 -7
- package/dist/es/ReactiveBase.js +3 -3
- package/dist/es/ReactiveComponent.js +4 -4
- package/dist/es/ReactiveList.js +183 -18
- package/dist/es/ResultCard.js +4 -4
- package/dist/es/ResultList.js +4 -4
- package/dist/es/SelectedFilters.js +6 -6
- package/dist/es/SingleDropdownList.js +11 -12
- package/dist/es/SingleList.js +9 -9
- package/dist/es/SingleRange.js +7 -7
- package/dist/es/StateProvider.js +2 -2
- package/dist/es/{Title-579f8d6c.js → Title-3522ff56.js} +1 -1
- package/dist/es/ToggleButton.js +7 -7
- package/dist/es/{_rollupPluginBabelHelpers-ecf6c03c.js → _rollupPluginBabelHelpers-0f24d612.js} +1 -17
- package/dist/es/{index-5daa8276.js → index-cb1950b6.js} +5 -11
- package/dist/es/index.js +19 -28
- package/dist/es/initReactivesearch.js +1 -1
- package/dist/es/install-ecef1861.js +1189 -0
- package/dist/es/install.js +35 -45
- package/dist/es/{ssr-e3196de1.js → ssr-a41dfea9.js} +1 -1
- package/dist/es/{utils-3a32e13f.js → utils-64a2e5f0.js} +1 -1
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-9326e0be.js → vueTypes-687b2304.js} +13 -24
- package/package.json +5 -11
- package/dist/cjs/Pagination-1b2320a7.js +0 -177
- package/dist/cjs/ReactiveGoogleMap.js +0 -1764
- package/dist/es/Pagination-b3e4054a.js +0 -172
- package/dist/es/ReactiveGoogleMap.js +0 -1756
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { css } from 'emotion';
|
|
5
5
|
import styled from '@appbaseio/vue-emotion';
|
|
6
|
-
import { t as types } from './vueTypes-
|
|
7
|
-
import { a as isFunction } from './index-
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-d8519224.js';
|
|
6
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
7
|
+
import { a as isFunction } from './index-cb1950b6.js';
|
|
8
|
+
import { D as Downshift, b as InputWrapper, a as IconGroup, I as IconWrapper, C as CancelSvg } from './CancelSvg-c2c03a35.js';
|
|
9
|
+
import { s as suggestionsContainer, a as suggestions, I as Input } from './Input-08bb1bcf.js';
|
|
11
10
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
12
11
|
|
|
13
12
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
@@ -121,8 +120,7 @@ var Dropdown = {
|
|
|
121
120
|
isOpen = _ref.isOpen,
|
|
122
121
|
highlightedIndex = _ref.highlightedIndex,
|
|
123
122
|
getButtonProps = _ref.getButtonProps,
|
|
124
|
-
getItemEvents = _ref.getItemEvents
|
|
125
|
-
getInputEvents = _ref.getInputEvents;
|
|
123
|
+
getItemEvents = _ref.getItemEvents;
|
|
126
124
|
return h("div", {
|
|
127
125
|
"class": suggestionsContainer
|
|
128
126
|
}, [h(Select, {
|
|
@@ -147,13 +145,7 @@ var Dropdown = {
|
|
|
147
145
|
getItemEvents: getItemEvents
|
|
148
146
|
}) : isOpen && itemsToRender.length ? h("ul", {
|
|
149
147
|
"class": suggestions(themePreset, _this.theme) + " " + (_this.$props.small ? 'small' : '') + " " + getClassName(_this.$props.innerClass, 'list')
|
|
150
|
-
}, [_this.$props.showSearch ? _this.renderSearchbox({
|
|
151
|
-
on: {
|
|
152
|
-
input: getInputEvents({
|
|
153
|
-
onInput: _this.handleInputChange
|
|
154
|
-
}).input
|
|
155
|
-
}
|
|
156
|
-
}) : null, !hasCustomRenderer && filteredItemsToRender.length === 0 ? _this.renderNoResult() : filteredItemsToRender.map(function (item, index) {
|
|
148
|
+
}, [_this.$props.showSearch ? _this.renderSearchbox() : null, !hasCustomRenderer && filteredItemsToRender.length === 0 ? _this.renderNoResult() : filteredItemsToRender.map(function (item, index) {
|
|
157
149
|
var selected = _this.$props.multi // MultiDropdownList
|
|
158
150
|
&& (selectedItem && !!selectedItem[item[keyField]] // MultiDropdownRange
|
|
159
151
|
|| Array.isArray(selectedItem) && selectedItem.find(function (value) {
|
|
@@ -274,7 +266,7 @@ var Dropdown = {
|
|
|
274
266
|
"class": getClassName(this.$props.innerClass, 'noResults') || null
|
|
275
267
|
}, [isFunction(renderNoResults) ? renderNoResults() : renderNoResults]);
|
|
276
268
|
},
|
|
277
|
-
renderSearchbox: function renderSearchbox(
|
|
269
|
+
renderSearchbox: function renderSearchbox() {
|
|
278
270
|
var h = this.$createElement;
|
|
279
271
|
var _this$$props2 = this.$props,
|
|
280
272
|
componentId = _this$$props2.componentId,
|
|
@@ -282,7 +274,7 @@ var Dropdown = {
|
|
|
282
274
|
showClear = _this$$props2.showClear,
|
|
283
275
|
themePreset = _this$$props2.themePreset,
|
|
284
276
|
innerClass = _this$$props2.innerClass;
|
|
285
|
-
var InputComponent = h(Input,
|
|
277
|
+
var InputComponent = h(Input, {
|
|
286
278
|
"attrs": {
|
|
287
279
|
"id": componentId + "-input",
|
|
288
280
|
"showIcon": false,
|
|
@@ -295,8 +287,11 @@ var Dropdown = {
|
|
|
295
287
|
border: 0,
|
|
296
288
|
borderBottom: '1px solid #ddd'
|
|
297
289
|
},
|
|
298
|
-
"class": getClassName(innerClass, 'input')
|
|
299
|
-
|
|
290
|
+
"class": getClassName(innerClass, 'input'),
|
|
291
|
+
"on": {
|
|
292
|
+
"change": this.handleInputChange
|
|
293
|
+
}
|
|
294
|
+
});
|
|
300
295
|
|
|
301
296
|
if (showClear) {
|
|
302
297
|
return h(InputWrapper, [InputComponent, this.searchTerm && h(IconGroup, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import '@appbaseio/vue-emotion';
|
|
6
|
-
import { t as types } from './vueTypes-
|
|
6
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
7
7
|
import 'redux';
|
|
8
|
-
import { f as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-
|
|
9
|
-
import { T as Title } from './Title-
|
|
10
|
-
import { C as Container } from './Container-
|
|
8
|
+
import { f as updateCustomQuery, d as getValidPropsKeys, i as isQueryIdentical, c as connect } from './index-cb1950b6.js';
|
|
9
|
+
import { T as Title } from './Title-3522ff56.js';
|
|
10
|
+
import { C as Container } from './Container-18b03fde.js';
|
|
11
11
|
import NoSSR from 'vue-no-ssr';
|
|
12
|
-
import { g as getComponents, S as Slider } from './ssr-
|
|
12
|
+
import { g as getComponents, S as Slider } from './ssr-a41dfea9.js';
|
|
13
13
|
|
|
14
14
|
var addComponent = Actions.addComponent,
|
|
15
15
|
removeComponent = Actions.removeComponent,
|
|
@@ -47,8 +47,7 @@ var DynamicRangeSlider = {
|
|
|
47
47
|
URLParams: VueTypes.bool.def(false),
|
|
48
48
|
sliderOptions: VueTypes.object.def({}),
|
|
49
49
|
nestedField: types.string,
|
|
50
|
-
index: VueTypes.string
|
|
51
|
-
value: types.range
|
|
50
|
+
index: VueTypes.string
|
|
52
51
|
},
|
|
53
52
|
data: function data() {
|
|
54
53
|
this.internalRangeComponent = this.$props.componentId + "__range__internal";
|
|
@@ -94,8 +93,6 @@ var DynamicRangeSlider = {
|
|
|
94
93
|
components = _this$$$store$getStat.components;
|
|
95
94
|
}
|
|
96
95
|
|
|
97
|
-
var value = this.$props.value;
|
|
98
|
-
|
|
99
96
|
if (this.destroyOnUnmount || components.indexOf(this.componentId) === -1) {
|
|
100
97
|
this.addComponent(this.componentId);
|
|
101
98
|
this.addComponent(this.internalRangeComponent);
|
|
@@ -104,8 +101,6 @@ var DynamicRangeSlider = {
|
|
|
104
101
|
this.handleChange(this.selectedValue);
|
|
105
102
|
} else if (this.selectedValue) {
|
|
106
103
|
this.handleChange(DynamicRangeSlider.parseValue(this.selectedValue, this.$props));
|
|
107
|
-
} else if (value) {
|
|
108
|
-
this.handleChange(DynamicRangeSlider.parseValue(value, this.$props));
|
|
109
104
|
} // get range before executing other queries
|
|
110
105
|
|
|
111
106
|
|
|
@@ -124,13 +119,6 @@ var DynamicRangeSlider = {
|
|
|
124
119
|
}
|
|
125
120
|
},
|
|
126
121
|
methods: {
|
|
127
|
-
isControlled: function isControlled() {
|
|
128
|
-
if (this.$props.value && this.$listeners) {
|
|
129
|
-
return true;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
return false;
|
|
133
|
-
},
|
|
134
122
|
setDefaultValue: function setDefaultValue(_ref) {
|
|
135
123
|
var start = _ref.start,
|
|
136
124
|
end = _ref.end;
|
|
@@ -141,8 +129,6 @@ var DynamicRangeSlider = {
|
|
|
141
129
|
defaultEnd = _this$$props$defaultV.end;
|
|
142
130
|
|
|
143
131
|
this.handleChange([defaultStart, defaultEnd]);
|
|
144
|
-
} else if (this.isControlled()) {
|
|
145
|
-
this.handleChange(DynamicRangeSlider.parseValue(this.$props.value), 'change');
|
|
146
132
|
} else {
|
|
147
133
|
this.currentValue = [start, end];
|
|
148
134
|
}
|
|
@@ -192,16 +178,7 @@ var DynamicRangeSlider = {
|
|
|
192
178
|
},
|
|
193
179
|
handleSlider: function handleSlider() {
|
|
194
180
|
var sliderValues = this.$refs.slider.getValue();
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
if (value === undefined) {
|
|
198
|
-
this.handleChange(sliderValues);
|
|
199
|
-
} else {
|
|
200
|
-
this.$emit('change', {
|
|
201
|
-
start: sliderValues[0],
|
|
202
|
-
end: sliderValues[1]
|
|
203
|
-
});
|
|
204
|
-
}
|
|
181
|
+
this.handleChange(sliderValues);
|
|
205
182
|
},
|
|
206
183
|
handleChange: function handleChange(currentValue) {
|
|
207
184
|
var _this2 = this;
|
|
@@ -294,7 +271,6 @@ var DynamicRangeSlider = {
|
|
|
294
271
|
start: this.range.start,
|
|
295
272
|
end: this.range.end
|
|
296
273
|
};
|
|
297
|
-
this.$emit('change', value);
|
|
298
274
|
this.handleChange(DynamicRangeSlider.parseValue(value, this.$props));
|
|
299
275
|
},
|
|
300
276
|
range: function range(newValue, oldValue) {
|
|
@@ -316,11 +292,6 @@ var DynamicRangeSlider = {
|
|
|
316
292
|
if (!isQueryIdentical(newVal, oldVal, this.$data.currentValue, this.$props)) {
|
|
317
293
|
this.updateQueryHandler(this.$data.currentValue);
|
|
318
294
|
}
|
|
319
|
-
},
|
|
320
|
-
value: function value(newVal, oldVal) {
|
|
321
|
-
if (!isEqual(newVal, oldVal)) {
|
|
322
|
-
this.handleChange(DynamicRangeSlider.parseValue(newVal, this.$props));
|
|
323
|
-
}
|
|
324
295
|
}
|
|
325
296
|
},
|
|
326
297
|
render: function render() {
|
|
@@ -394,11 +365,7 @@ DynamicRangeSlider.defaultQuery = function (values, props) {
|
|
|
394
365
|
};
|
|
395
366
|
|
|
396
367
|
DynamicRangeSlider.parseValue = function (value) {
|
|
397
|
-
|
|
398
|
-
return Array.isArray(value) ? value : [value.start, value.end];
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
return [];
|
|
368
|
+
return [value.start, value.end];
|
|
402
369
|
};
|
|
403
370
|
|
|
404
371
|
var mapStateToProps = function mapStateToProps(state, props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
2
2
|
import { css } from 'emotion';
|
|
3
3
|
import styled from '@appbaseio/vue-emotion';
|
|
4
4
|
import { lighten } from 'polished';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
2
2
|
import { css } from 'emotion';
|
|
3
3
|
import styled from '@appbaseio/vue-emotion';
|
|
4
4
|
import { lighten } from 'polished';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
2
2
|
import { css } from 'emotion';
|
|
3
3
|
import styled from '@appbaseio/vue-emotion';
|
|
4
4
|
import { lighten } from 'polished';
|
|
5
|
-
import './Title-
|
|
5
|
+
import './Title-3522ff56.js';
|
|
6
6
|
|
|
7
7
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
8
8
|
var container = css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tmargin: 0;\n\tborder-radius: 0.25rem;\n\toverflow: hidden;\n"])));
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
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-
|
|
9
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { l as loadMoreContainer, B as Button } from './Button-91561391.js';
|
|
9
|
+
import { t as types } from './vueTypes-687b2304.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, o as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
14
|
-
import '
|
|
15
|
-
import
|
|
16
|
-
import './
|
|
17
|
-
import './Input-d8519224.js';
|
|
12
|
+
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, o as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-cb1950b6.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
14
|
+
import { T as Title } from './Title-3522ff56.js';
|
|
15
|
+
import './CancelSvg-c2c03a35.js';
|
|
16
|
+
import './Input-08bb1bcf.js';
|
|
18
17
|
import 'compute-scroll-into-view';
|
|
19
|
-
import { C as Container } from './Container-
|
|
18
|
+
import { C as Container } from './Container-18b03fde.js';
|
|
20
19
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
21
|
-
import { g as getAggsQuery } from './utils-
|
|
22
|
-
import { D as Dropdown } from './DropDown-
|
|
20
|
+
import { g as getAggsQuery } from './utils-64a2e5f0.js';
|
|
21
|
+
import { D as Dropdown } from './DropDown-c8da0a2c.js';
|
|
23
22
|
|
|
24
23
|
var updateQuery = Actions.updateQuery,
|
|
25
24
|
setQueryOptions = Actions.setQueryOptions,
|
|
@@ -343,7 +342,7 @@ var MultiDropdownList = {
|
|
|
343
342
|
}
|
|
344
343
|
|
|
345
344
|
var performUpdate = function performUpdate() {
|
|
346
|
-
_this3.currentValue =
|
|
345
|
+
_this3.currentValue = currentValue;
|
|
347
346
|
|
|
348
347
|
_this3.updateQueryHandler(finalValues, props);
|
|
349
348
|
|
package/dist/es/MultiList.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import 'emotion';
|
|
6
6
|
import '@appbaseio/vue-emotion';
|
|
7
7
|
import 'polished';
|
|
8
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { t as types } from './vueTypes-687b2304.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, n as isEvent, o as parseValueArray, g as getComponent, h as hasCustomRenderer, c as connect } from './index-
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
-
import { T as Title } from './Title-
|
|
14
|
-
import { I as Input } from './Input-
|
|
15
|
-
import { C as Container } from './Container-
|
|
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-cb1950b6.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
13
|
+
import { T as Title } from './Title-3522ff56.js';
|
|
14
|
+
import { I as Input } from './Input-08bb1bcf.js';
|
|
15
|
+
import { C as Container } from './Container-18b03fde.js';
|
|
16
16
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
17
|
-
import { U as UL, C as Checkbox } from './FormControlList-
|
|
18
|
-
import { g as getAggsQuery } from './utils-
|
|
17
|
+
import { U as UL, C as Checkbox } from './FormControlList-704f8dee.js';
|
|
18
|
+
import { g as getAggsQuery } from './utils-64a2e5f0.js';
|
|
19
19
|
|
|
20
20
|
var updateQuery = Actions.updateQuery,
|
|
21
21
|
setQueryOptions = Actions.setQueryOptions,
|
|
@@ -84,14 +84,13 @@ var MultiList = {
|
|
|
84
84
|
},
|
|
85
85
|
beforeMount: function beforeMount() {
|
|
86
86
|
this.updateQueryHandlerOptions(this.$props);
|
|
87
|
-
var value = this.selectedValue || this.$props.value || this.$props.defaultValue;
|
|
88
|
-
this.setValue(value, !this.selectedValue);
|
|
89
|
-
},
|
|
90
|
-
mounted: function mounted() {
|
|
91
|
-
var currentValue = Object.keys(this.$data.currentValue);
|
|
92
87
|
|
|
93
|
-
if (this
|
|
94
|
-
this
|
|
88
|
+
if (this.selectedValue) {
|
|
89
|
+
this.setValue(this.selectedValue);
|
|
90
|
+
} else if (this.$props.value) {
|
|
91
|
+
this.setValue(this.$props.value, true);
|
|
92
|
+
} else if (this.$props.defaultValue) {
|
|
93
|
+
this.setValue(this.$props.defaultValue, true);
|
|
95
94
|
}
|
|
96
95
|
},
|
|
97
96
|
watch: {
|
|
@@ -136,11 +135,7 @@ var MultiList = {
|
|
|
136
135
|
}
|
|
137
136
|
|
|
138
137
|
if (!isEqual(selectedValue, newVal)) {
|
|
139
|
-
|
|
140
|
-
this.setValue(newVal, true);
|
|
141
|
-
} else {
|
|
142
|
-
this.$emit('change', newVal);
|
|
143
|
-
}
|
|
138
|
+
this.setValue(newVal || [], true);
|
|
144
139
|
}
|
|
145
140
|
},
|
|
146
141
|
defaultQuery: function defaultQuery(newVal, oldVal) {
|
|
@@ -439,7 +434,7 @@ var MultiList = {
|
|
|
439
434
|
if (value === undefined) {
|
|
440
435
|
this.setValue(currentValue);
|
|
441
436
|
} else {
|
|
442
|
-
var values = parseValueArray(value
|
|
437
|
+
var values = parseValueArray(value, currentValue);
|
|
443
438
|
this.$emit('change', values);
|
|
444
439
|
}
|
|
445
440
|
},
|
package/dist/es/MultiRange.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose, c as _toPropertyKey } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import 'emotion';
|
|
6
6
|
import '@appbaseio/vue-emotion';
|
|
7
7
|
import 'polished';
|
|
8
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
9
9
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import { o as parseValueArray, f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-
|
|
12
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
13
|
-
import { T as Title } from './Title-
|
|
14
|
-
import { C as Container } from './Container-
|
|
15
|
-
import { U as UL, C as Checkbox } from './FormControlList-
|
|
11
|
+
import { o as parseValueArray, f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-cb1950b6.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
13
|
+
import { T as Title } from './Title-3522ff56.js';
|
|
14
|
+
import { C as Container } from './Container-18b03fde.js';
|
|
15
|
+
import { U as UL, C as Checkbox } from './FormControlList-704f8dee.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/RangeInput.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import { css } from 'emotion';
|
|
6
6
|
import styled from '@appbaseio/vue-emotion';
|
|
7
7
|
import 'polished';
|
|
8
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { t as types } from './vueTypes-687b2304.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-
|
|
13
|
-
import './Title-
|
|
14
|
-
import { F as Flex } from './Flex-
|
|
15
|
-
import { I as Input } from './Input-
|
|
16
|
-
import { C as Container } from './Container-
|
|
11
|
+
import { c as connect } from './index-cb1950b6.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
13
|
+
import './Title-3522ff56.js';
|
|
14
|
+
import { F as Flex } from './Flex-8770345d.js';
|
|
15
|
+
import { I as Input } from './Input-08bb1bcf.js';
|
|
16
|
+
import { C as Container } from './Container-18b03fde.js';
|
|
17
17
|
import 'vue-no-ssr';
|
|
18
|
-
import './ssr-
|
|
18
|
+
import './ssr-a41dfea9.js';
|
|
19
19
|
import { RangeConnected as RangeConnected$1 } from './RangeSlider.js';
|
|
20
20
|
|
|
21
21
|
var _templateObject, _templateObject2;
|
|
@@ -193,10 +193,6 @@ var RangeInput = {
|
|
|
193
193
|
if (this.$props.defaultValue && this.$props.defaultValue.start && this.$props.defaultValue.end) {
|
|
194
194
|
this.handleChange(this.$props.defaultValue);
|
|
195
195
|
}
|
|
196
|
-
|
|
197
|
-
if (this.isControlled()) {
|
|
198
|
-
this.handleChange(this.$props.value, 'change');
|
|
199
|
-
}
|
|
200
196
|
},
|
|
201
197
|
render: function render() {
|
|
202
198
|
var h = arguments[0];
|
package/dist/es/RangeSlider.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import '@appbaseio/vue-emotion';
|
|
6
|
-
import { t as types } from './vueTypes-
|
|
6
|
+
import { t as types } from './vueTypes-687b2304.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-
|
|
11
|
-
import { T as Title } from './Title-
|
|
12
|
-
import { C as Container } from './Container-
|
|
9
|
+
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-cb1950b6.js';
|
|
10
|
+
import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
11
|
+
import { T as Title } from './Title-3522ff56.js';
|
|
12
|
+
import { C as Container } from './Container-18b03fde.js';
|
|
13
13
|
import NoSSR from 'vue-no-ssr';
|
|
14
|
-
import { g as getComponents, S as Slider } from './ssr-
|
|
14
|
+
import { g as getComponents, S as Slider } from './ssr-a41dfea9.js';
|
|
15
15
|
|
|
16
16
|
var updateQuery = Actions.updateQuery,
|
|
17
17
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/ReactiveBase.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import configureStore, { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import { isEqual as isEqual$1 } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
6
6
|
import styled from '@appbaseio/vue-emotion';
|
|
7
|
-
import { t as types } from './vueTypes-
|
|
7
|
+
import { t as types } from './vueTypes-687b2304.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-cb1950b6.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';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
|
-
import { t as types } from './vueTypes-
|
|
5
|
+
import { t as types } from './vueTypes-687b2304.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-cb1950b6.js';
|
|
9
|
+
import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
10
10
|
|
|
11
11
|
var _excluded = ["options"],
|
|
12
12
|
_excluded2 = ["query"],
|