@appbaseio/reactivesearch-vue 1.16.0-alpha.33 → 1.16.0-alpha.36
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 +10968 -5239
- 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-11307285.js → Button-d2f1aeda.js} +1 -1
- package/dist/cjs/{CancelSvg-4aa35935.js → CancelSvg-82021d23.js} +1 -1
- package/dist/cjs/{Card-fd94ef07.js → Card-4b915733.js} +2 -2
- package/dist/cjs/{ComponentWrapper-32481890.js → ComponentWrapper-7302fe1a.js} +2 -2
- package/dist/cjs/{Container-526efa6a.js → Container-8a08d663.js} +1 -1
- package/dist/cjs/DataSearch.js +2101 -18
- package/dist/cjs/{DropDown-cf9bfffc.js → DropDown-c46d8b0c.js} +19 -14
- package/dist/cjs/DynamicRangeSlider.js +45 -12
- package/dist/cjs/{Flex-f146cdad.js → Flex-699639d2.js} +1 -1
- package/dist/cjs/{FormControlList-808dbcef.js → FormControlList-73497794.js} +1 -1
- package/dist/cjs/{Input-3cc3fa59.js → Input-c6f181d5.js} +1 -1
- package/dist/cjs/{ListItem-b40adb04.js → ListItem-933c27e4.js} +2 -2
- package/dist/cjs/MultiDropdownList.js +13 -12
- package/dist/cjs/MultiList.js +22 -17
- package/dist/cjs/MultiRange.js +7 -7
- package/dist/cjs/Pagination-1b2320a7.js +177 -0
- package/dist/cjs/RangeInput.js +13 -9
- package/dist/cjs/RangeSlider.js +7 -7
- package/dist/cjs/ReactiveBase.js +3 -3
- package/dist/cjs/ReactiveComponent.js +4 -4
- package/dist/cjs/ReactiveGoogleMap.js +1764 -0
- package/dist/cjs/ReactiveList.js +19 -184
- 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 +12 -11
- 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-584a8cc8.js → Title-39765ee6.js} +1 -1
- package/dist/cjs/ToggleButton.js +7 -7
- package/dist/cjs/{_rollupPluginBabelHelpers-f127c8b7.js → _rollupPluginBabelHelpers-4abdbfff.js} +17 -0
- package/dist/cjs/{index-89c39a9e.js → index-d44a0a21.js} +11 -5
- package/dist/cjs/index.js +32 -23
- package/dist/cjs/initReactivesearch.js +1 -1
- package/dist/cjs/install.js +43 -37
- package/dist/cjs/{ssr-0ee35a09.js → ssr-c333c82c.js} +1 -1
- package/dist/cjs/{utils-1219e1fe.js → utils-23afb20b.js} +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-57d01f18.js → vueTypes-6de9d2a9.js} +24 -13
- package/dist/es/{Button-91561391.js → Button-799185e2.js} +1 -1
- package/dist/es/{CancelSvg-c2c03a35.js → CancelSvg-4d9e0857.js} +1 -1
- package/dist/es/{Card-6446f1b7.js → Card-04b3c33e.js} +2 -2
- package/dist/es/{ComponentWrapper-4f85a67e.js → ComponentWrapper-bbb717bc.js} +2 -2
- package/dist/es/{Container-18b03fde.js → Container-4383c6f0.js} +1 -1
- package/dist/es/DataSearch.js +2100 -17
- package/dist/es/{DropDown-c8da0a2c.js → DropDown-4edaa621.js} +19 -14
- package/dist/es/DynamicRangeSlider.js +45 -12
- package/dist/es/{Flex-8770345d.js → Flex-aac91505.js} +1 -1
- package/dist/es/{FormControlList-704f8dee.js → FormControlList-fe389a2e.js} +1 -1
- package/dist/es/{Input-08bb1bcf.js → Input-d8519224.js} +1 -1
- package/dist/es/{ListItem-8e8fb535.js → ListItem-bdb6d53d.js} +2 -2
- package/dist/es/MultiDropdownList.js +13 -12
- package/dist/es/MultiList.js +22 -17
- package/dist/es/MultiRange.js +7 -7
- package/dist/es/Pagination-b3e4054a.js +172 -0
- package/dist/es/RangeInput.js +13 -9
- package/dist/es/RangeSlider.js +7 -7
- package/dist/es/ReactiveBase.js +3 -3
- package/dist/es/ReactiveComponent.js +4 -4
- package/dist/es/ReactiveGoogleMap.js +1756 -0
- package/dist/es/ReactiveList.js +19 -184
- 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 +12 -11
- 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-3522ff56.js → Title-579f8d6c.js} +1 -1
- package/dist/es/ToggleButton.js +7 -7
- package/dist/es/{_rollupPluginBabelHelpers-0f24d612.js → _rollupPluginBabelHelpers-ecf6c03c.js} +17 -1
- package/dist/es/{index-cb1950b6.js → index-5daa8276.js} +11 -5
- package/dist/es/index.js +28 -19
- package/dist/es/initReactivesearch.js +1 -1
- package/dist/es/install.js +45 -35
- package/dist/es/{ssr-a41dfea9.js → ssr-e3196de1.js} +1 -1
- package/dist/es/{utils-64a2e5f0.js → utils-3a32e13f.js} +1 -1
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-687b2304.js → vueTypes-9326e0be.js} +24 -13
- package/package.json +10 -4
- package/dist/cjs/DataSearch-8658fd8e.js +0 -2154
- package/dist/cjs/install-35f74190.js +0 -1196
- package/dist/es/DataSearch-66e72d1d.js +0 -2141
- package/dist/es/install-ecef1861.js +0 -1189
package/dist/es/ReactiveList.js
CHANGED
|
@@ -1,188 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
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
|
|
10
|
-
import { t as types } from './vueTypes-
|
|
9
|
+
import './Button-799185e2.js';
|
|
10
|
+
import { t as types } from './vueTypes-9326e0be.js';
|
|
11
|
+
import { P as Pagination } from './Pagination-b3e4054a.js';
|
|
11
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
12
13
|
import 'redux';
|
|
13
|
-
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-
|
|
14
|
-
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-5daa8276.js';
|
|
15
|
+
import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
|
|
15
16
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
16
|
-
import './Title-
|
|
17
|
-
import { c as container } from './ListItem-
|
|
18
|
-
import { c as container$1 } from './Card-
|
|
19
|
-
import { F as Flex } from './Flex-
|
|
20
|
-
|
|
21
|
-
var getClassName = helper.getClassName,
|
|
22
|
-
handleA11yAction = helper.handleA11yAction;
|
|
23
|
-
|
|
24
|
-
function getStartPage(totalPages, currentPage, showEndPage) {
|
|
25
|
-
var midValue = parseInt(totalPages / 2, 10);
|
|
26
|
-
var start = currentPage - (showEndPage ? Math.ceil(midValue / 2) - 1 : midValue);
|
|
27
|
-
return start > 1 ? start : 2;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
var Pagination = {
|
|
31
|
-
name: 'Pagination',
|
|
32
|
-
functional: true,
|
|
33
|
-
props: {
|
|
34
|
-
currentPage: types.number,
|
|
35
|
-
innerClass: types.style,
|
|
36
|
-
pages: types.number,
|
|
37
|
-
setPage: types.func,
|
|
38
|
-
totalPages: types.number,
|
|
39
|
-
showEndPage: VueTypes.bool,
|
|
40
|
-
prevLabel: types.string,
|
|
41
|
-
nextLabel: types.string
|
|
42
|
-
},
|
|
43
|
-
render: function render(createElement, context) {
|
|
44
|
-
var h = arguments[0];
|
|
45
|
-
var props = context.props;
|
|
46
|
-
|
|
47
|
-
var onPrevPage = function onPrevPage() {
|
|
48
|
-
if (props.currentPage) {
|
|
49
|
-
props.setPage(props.currentPage - 1);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
var onNextPage = function onNextPage() {
|
|
54
|
-
if (props.currentPage < props.totalPages - 1) {
|
|
55
|
-
props.setPage(props.currentPage + 1);
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
if (!props.totalPages) {
|
|
60
|
-
return null;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
var innerClassName = getClassName(props.innerClass, 'button');
|
|
64
|
-
var primary = props.currentPage === 0;
|
|
65
|
-
var className = innerClassName || primary ? innerClassName + " " + (primary ? 'active' : '') : '';
|
|
66
|
-
|
|
67
|
-
var buildPaginationDOM = function buildPaginationDOM(position) {
|
|
68
|
-
var pages = props.pages,
|
|
69
|
-
currentPage = props.currentPage,
|
|
70
|
-
totalPages = props.totalPages,
|
|
71
|
-
setPage = props.setPage,
|
|
72
|
-
showEndPage = props.showEndPage;
|
|
73
|
-
var start = position === 'start' ? getStartPage(pages, currentPage, showEndPage) : Math.max(2, Math.ceil(totalPages - (pages - 1) / 2 + 1));
|
|
74
|
-
var paginationButtons = [];
|
|
75
|
-
|
|
76
|
-
if (start <= totalPages) {
|
|
77
|
-
var totalPagesToShow = pages < totalPages ? start + (pages - 1) : totalPages + 1;
|
|
78
|
-
|
|
79
|
-
if (showEndPage) {
|
|
80
|
-
totalPagesToShow = position === 'start' ? start + (Math.ceil(pages / 2) - pages % 2) : totalPages + 1;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
if (currentPage > totalPages - pages + 2) {
|
|
84
|
-
start = Math.max(2, totalPages - pages + 2);
|
|
85
|
-
totalPagesToShow = start + pages;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
var _loop = function _loop(i) {
|
|
89
|
-
var activeButton = currentPage === i - 1;
|
|
90
|
-
var classNameBtn = innerClassName || activeButton ? innerClassName + " " + (activeButton ? 'active' : '') : '';
|
|
91
|
-
var pageBtn = h(Button, {
|
|
92
|
-
"class": classNameBtn,
|
|
93
|
-
"attrs": {
|
|
94
|
-
"primary": activeButton,
|
|
95
|
-
"tabIndex": "0",
|
|
96
|
-
"alt": "page-" + i
|
|
97
|
-
},
|
|
98
|
-
"on": {
|
|
99
|
-
"keyPress": function keyPress(event) {
|
|
100
|
-
return handleA11yAction(event, function () {
|
|
101
|
-
return setPage(i - 1);
|
|
102
|
-
});
|
|
103
|
-
},
|
|
104
|
-
"click": function click() {
|
|
105
|
-
return setPage(i - 1);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}, [i]);
|
|
109
|
-
|
|
110
|
-
if (i <= totalPages + 1) {
|
|
111
|
-
paginationButtons.push(pageBtn);
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
for (var i = start; i < Math.min(totalPages + 1, totalPagesToShow); i += 1) {
|
|
116
|
-
_loop(i);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
return paginationButtons;
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
var buildIntermediatePaginationDom = function buildIntermediatePaginationDom() {
|
|
124
|
-
var showEndPage = props.showEndPage,
|
|
125
|
-
currentPage = props.currentPage,
|
|
126
|
-
totalPages = props.totalPages,
|
|
127
|
-
pages = props.pages;
|
|
128
|
-
if (!showEndPage) return buildPaginationDOM('start');
|
|
129
|
-
|
|
130
|
-
if (currentPage <= totalPages - pages + 2 || totalPages <= pages) {
|
|
131
|
-
return buildPaginationDOM('start');
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
return null;
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
return h("div", {
|
|
138
|
-
"class": pagination + " " + getClassName(props.innerClass, 'pagination')
|
|
139
|
-
}, [h(Button, {
|
|
140
|
-
"class": getClassName(props.innerClass, 'button') || '',
|
|
141
|
-
"attrs": {
|
|
142
|
-
"disabled": props.currentPage === 0,
|
|
143
|
-
"tabIndex": "0"
|
|
144
|
-
},
|
|
145
|
-
"on": {
|
|
146
|
-
"keyPress": function keyPress(event) {
|
|
147
|
-
return handleA11yAction(event, onPrevPage);
|
|
148
|
-
},
|
|
149
|
-
"click": onPrevPage
|
|
150
|
-
}
|
|
151
|
-
}, [props.prevLabel || 'Prev']), h(Button, {
|
|
152
|
-
"class": className,
|
|
153
|
-
"attrs": {
|
|
154
|
-
"primary": primary,
|
|
155
|
-
"tabIndex": "0"
|
|
156
|
-
},
|
|
157
|
-
"on": {
|
|
158
|
-
"keyPress": function keyPress(event) {
|
|
159
|
-
return handleA11yAction(event, function () {
|
|
160
|
-
return props.setPage(0);
|
|
161
|
-
});
|
|
162
|
-
},
|
|
163
|
-
"click": function click() {
|
|
164
|
-
return props.setPage(0);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}, ["1"]), props.showEndPage && props.currentPage >= Math.floor(props.pages / 2) + !!(props.pages % 2) ? h("span", ["..."]) : null, buildIntermediatePaginationDom(), props.showEndPage && props.pages > 2 && props.currentPage <= props.totalPages - Math.ceil(props.pages * 0.75) ? h("span", ["..."]) : null, props.showEndPage && props.totalPages >= props.pages && buildPaginationDOM('end'), h(Button, {
|
|
168
|
-
"class": getClassName(props.innerClass, 'button') || '',
|
|
169
|
-
"attrs": {
|
|
170
|
-
"disabled": props.currentPage >= props.totalPages - 1,
|
|
171
|
-
"tabIndex": "0"
|
|
172
|
-
},
|
|
173
|
-
"on": {
|
|
174
|
-
"keyPress": function keyPress(event) {
|
|
175
|
-
return handleA11yAction(event, onNextPage);
|
|
176
|
-
},
|
|
177
|
-
"click": onNextPage
|
|
178
|
-
}
|
|
179
|
-
}, [props.nextLabel || 'Next'])]);
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
Pagination.install = function (Vue) {
|
|
184
|
-
Vue.component(Pagination.name, Pagination);
|
|
185
|
-
};
|
|
17
|
+
import './Title-579f8d6c.js';
|
|
18
|
+
import { c as container } from './ListItem-bdb6d53d.js';
|
|
19
|
+
import { c as container$1 } from './Card-04b3c33e.js';
|
|
20
|
+
import { F as Flex } from './Flex-aac91505.js';
|
|
186
21
|
|
|
187
22
|
var _templateObject;
|
|
188
23
|
var PoweredByImage = styled('img')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\twidth: 110px;\n"])));
|
|
@@ -427,7 +262,7 @@ var setQueryOptions = Actions.setQueryOptions,
|
|
|
427
262
|
recordResultClick = Actions.recordResultClick;
|
|
428
263
|
var isEqual$1 = helper.isEqual,
|
|
429
264
|
getQueryOptions = helper.getQueryOptions,
|
|
430
|
-
getClassName
|
|
265
|
+
getClassName = helper.getClassName,
|
|
431
266
|
parseHits = helper.parseHits,
|
|
432
267
|
getOptionsFromQuery = helper.getOptionsFromQuery,
|
|
433
268
|
getCompositeAggsQuery = helper.getCompositeAggsQuery,
|
|
@@ -801,8 +636,8 @@ var ReactiveList = {
|
|
|
801
636
|
"attrs": {
|
|
802
637
|
"labelPosition": this.sortOptions ? 'right' : 'left'
|
|
803
638
|
},
|
|
804
|
-
"class": getClassName
|
|
805
|
-
}, [this.sortOptions ? this.renderSortOptions() : null, this.$props.showResultStats && results.length ? this.renderStats() : null]), !this.isLoading &&
|
|
639
|
+
"class": getClassName(this.$props.innerClass, 'resultsInfo')
|
|
640
|
+
}, [this.sortOptions ? this.renderSortOptions() : null, this.$props.showResultStats && results.length ? this.renderStats() : null]), !this.isLoading && hits && hits.length === 0 ? this.renderNoResult() : null, this.shouldRenderPagination && (this.$props.paginationAt === 'top' || this.$props.paginationAt === 'both') ? h(Pagination, {
|
|
806
641
|
"attrs": {
|
|
807
642
|
"pages": this.$props.pages,
|
|
808
643
|
"totalPages": this.totalPages,
|
|
@@ -833,7 +668,7 @@ var ReactiveList = {
|
|
|
833
668
|
"attrs": {
|
|
834
669
|
"direction": "row-reverse"
|
|
835
670
|
},
|
|
836
|
-
"class": getClassName
|
|
671
|
+
"class": getClassName(this.$props.innerClass, 'poweredBy')
|
|
837
672
|
}, [h(PoweredBy)]) : null]);
|
|
838
673
|
},
|
|
839
674
|
methods: {
|
|
@@ -853,7 +688,7 @@ var ReactiveList = {
|
|
|
853
688
|
var size = this.$props.size;
|
|
854
689
|
var renderItem = this.$scopedSlots.renderItem || this.$props.renderItem;
|
|
855
690
|
var element = this.hasCustomRender ? this.getComponent() : h("div", {
|
|
856
|
-
"class": this.$props.listClass + " " + getClassName
|
|
691
|
+
"class": this.$props.listClass + " " + getClassName(this.$props.innerClass, 'list')
|
|
857
692
|
}, [this.data.map(function (item, index) {
|
|
858
693
|
return renderItem({
|
|
859
694
|
item: item,
|
|
@@ -971,7 +806,7 @@ var ReactiveList = {
|
|
|
971
806
|
|
|
972
807
|
if (this.stats.numberOfResults) {
|
|
973
808
|
return h("p", {
|
|
974
|
-
"class": resultStats + " " + getClassName
|
|
809
|
+
"class": resultStats + " " + getClassName(this.$props.innerClass, 'resultStats')
|
|
975
810
|
}, [this.stats.numberOfResults, " results found in ", this.stats.time || 0, "ms"]);
|
|
976
811
|
}
|
|
977
812
|
|
|
@@ -986,7 +821,7 @@ var ReactiveList = {
|
|
|
986
821
|
}
|
|
987
822
|
|
|
988
823
|
return h("p", {
|
|
989
|
-
"class": getClassName
|
|
824
|
+
"class": getClassName(this.$props.innerClass, 'noResults') || null
|
|
990
825
|
}, [isFunction(renderNoResults) ? renderNoResults() : renderNoResults]);
|
|
991
826
|
},
|
|
992
827
|
handleSortChange: function handleSortChange(e) {
|
|
@@ -1035,7 +870,7 @@ var ReactiveList = {
|
|
|
1035
870
|
renderSortOptions: function renderSortOptions() {
|
|
1036
871
|
var h = this.$createElement;
|
|
1037
872
|
return h("select", {
|
|
1038
|
-
"class": sortOptions + " " + getClassName
|
|
873
|
+
"class": sortOptions + " " + getClassName(this.$props.innerClass, 'sortOptions'),
|
|
1039
874
|
"attrs": {
|
|
1040
875
|
"name": "sort-options",
|
|
1041
876
|
"aria-label": "Sort options"
|
package/dist/es/ResultCard.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
|
|
2
2
|
import VueTypes from 'vue-types';
|
|
3
3
|
import 'emotion';
|
|
4
4
|
import '@appbaseio/vue-emotion';
|
|
5
5
|
import 'polished';
|
|
6
|
-
import { t as types } from './vueTypes-
|
|
6
|
+
import { t as types } from './vueTypes-9326e0be.js';
|
|
7
7
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
8
|
-
import { T as Title } from './Title-
|
|
9
|
-
import { I as Image, C as Card } from './Card-
|
|
8
|
+
import { T as Title } from './Title-579f8d6c.js';
|
|
9
|
+
import { I as Image, C as Card } from './Card-04b3c33e.js';
|
|
10
10
|
|
|
11
11
|
var ResultCardTitle = {
|
|
12
12
|
name: 'ResultCardTitle',
|
package/dist/es/ResultList.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
|
|
2
2
|
import VueTypes from 'vue-types';
|
|
3
3
|
import 'emotion';
|
|
4
4
|
import '@appbaseio/vue-emotion';
|
|
5
5
|
import 'polished';
|
|
6
|
-
import { t as types } from './vueTypes-
|
|
6
|
+
import { t as types } from './vueTypes-9326e0be.js';
|
|
7
7
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
8
|
-
import { T as Title } from './Title-
|
|
9
|
-
import { I as Image, L as ListItem } from './ListItem-
|
|
8
|
+
import { T as Title } from './Title-579f8d6c.js';
|
|
9
|
+
import { I as Image, L as ListItem } from './ListItem-bdb6d53d.js';
|
|
10
10
|
|
|
11
11
|
var ResultListContent = {
|
|
12
12
|
name: 'ResultListContent',
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
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-
|
|
9
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { f as filters, B as Button } from './Button-799185e2.js';
|
|
9
|
+
import { t as types } from './vueTypes-9326e0be.js';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import { c as connect } from './index-
|
|
12
|
-
import { T as Title } from './Title-
|
|
13
|
-
import { C as Container } from './Container-
|
|
11
|
+
import { c as connect } from './index-5daa8276.js';
|
|
12
|
+
import { T as Title } from './Title-579f8d6c.js';
|
|
13
|
+
import { C as Container } from './Container-4383c6f0.js';
|
|
14
14
|
|
|
15
15
|
var setValue = Actions.setValue,
|
|
16
16
|
clearValues = Actions.clearValues,
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.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-799185e2.js';
|
|
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-
|
|
14
|
-
import
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
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-5daa8276.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
|
|
14
|
+
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
15
|
+
import { T as Title } from './Title-579f8d6c.js';
|
|
16
|
+
import './CancelSvg-4d9e0857.js';
|
|
17
|
+
import './Input-d8519224.js';
|
|
17
18
|
import 'compute-scroll-into-view';
|
|
18
|
-
import { C as Container } from './Container-
|
|
19
|
+
import { C as Container } from './Container-4383c6f0.js';
|
|
19
20
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
20
|
-
import { g as getAggsQuery } from './utils-
|
|
21
|
-
import { D as Dropdown } from './DropDown-
|
|
21
|
+
import { g as getAggsQuery } from './utils-3a32e13f.js';
|
|
22
|
+
import { D as Dropdown } from './DropDown-4edaa621.js';
|
|
22
23
|
|
|
23
24
|
var updateQuery = Actions.updateQuery,
|
|
24
25
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/SingleList.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.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-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, n as isEvent, 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, g as getComponent, n as isEvent, h as hasCustomRenderer, c as connect } from './index-5daa8276.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
|
|
13
|
+
import { T as Title } from './Title-579f8d6c.js';
|
|
14
|
+
import { I as Input } from './Input-d8519224.js';
|
|
15
|
+
import { C as Container } from './Container-4383c6f0.js';
|
|
16
16
|
import { replaceDiacritics } from '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
17
|
-
import { U as UL, R as Radio } from './FormControlList-
|
|
18
|
-
import { g as getAggsQuery } from './utils-
|
|
17
|
+
import { U as UL, R as Radio } from './FormControlList-fe389a2e.js';
|
|
18
|
+
import { g as getAggsQuery } from './utils-3a32e13f.js';
|
|
19
19
|
|
|
20
20
|
var updateQuery = Actions.updateQuery,
|
|
21
21
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/SingleRange.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_rollupPluginBabelHelpers-ecf6c03c.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-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-
|
|
13
|
-
import { T as Title } from './Title-
|
|
14
|
-
import { C as Container } from './Container-
|
|
15
|
-
import { U as UL, R as Radio } from './FormControlList-
|
|
11
|
+
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-5daa8276.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
|
|
13
|
+
import { T as Title } from './Title-579f8d6c.js';
|
|
14
|
+
import { C as Container } from './Container-4383c6f0.js';
|
|
15
|
+
import { U as UL, R as Radio } from './FormControlList-fe389a2e.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/StateProvider.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import 'redux';
|
|
6
|
-
import { c as connect } from './index-
|
|
6
|
+
import { c as connect } from './index-5daa8276.js';
|
|
7
7
|
|
|
8
8
|
var getSearchState = helper.getSearchState;
|
|
9
9
|
var defaultKeys = ['hits', 'value', 'aggregations', 'error'];
|
package/dist/es/ToggleButton.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_rollupPluginBabelHelpers-ecf6c03c.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 { B as Button, t as toggleButtons } from './Button-
|
|
9
|
-
import { t as types } from './vueTypes-
|
|
8
|
+
import { B as Button, t as toggleButtons } from './Button-799185e2.js';
|
|
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-
|
|
14
|
-
import { T as Title } from './Title-
|
|
15
|
-
import { C as Container } from './Container-
|
|
12
|
+
import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-5daa8276.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-bbb717bc.js';
|
|
14
|
+
import { T as Title } from './Title-579f8d6c.js';
|
|
15
|
+
import { C as Container } from './Container-4383c6f0.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/{_rollupPluginBabelHelpers-0f24d612.js → _rollupPluginBabelHelpers-ecf6c03c.js}
RENAMED
|
@@ -16,6 +16,22 @@ function _extends() {
|
|
|
16
16
|
return _extends.apply(this, arguments);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
function _inheritsLoose(subClass, superClass) {
|
|
20
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
21
|
+
subClass.prototype.constructor = subClass;
|
|
22
|
+
|
|
23
|
+
_setPrototypeOf(subClass, superClass);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function _setPrototypeOf(o, p) {
|
|
27
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
28
|
+
o.__proto__ = p;
|
|
29
|
+
return o;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
return _setPrototypeOf(o, p);
|
|
33
|
+
}
|
|
34
|
+
|
|
19
35
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
20
36
|
if (source == null) return {};
|
|
21
37
|
var target = {};
|
|
@@ -59,4 +75,4 @@ function _toPropertyKey(arg) {
|
|
|
59
75
|
return typeof key === "symbol" ? key : String(key);
|
|
60
76
|
}
|
|
61
77
|
|
|
62
|
-
export { _taggedTemplateLiteralLoose as _, _extends as a, _objectWithoutPropertiesLoose as b, _toPropertyKey as c };
|
|
78
|
+
export { _taggedTemplateLiteralLoose as _, _extends as a, _objectWithoutPropertiesLoose as b, _toPropertyKey as c, _inheritsLoose as d };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-ecf6c03c.js';
|
|
3
3
|
import { validProps } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
4
4
|
import { bindActionCreators } from 'redux';
|
|
5
5
|
|
|
@@ -155,10 +155,16 @@ var isFunction = function isFunction(element) {
|
|
|
155
155
|
}; // parses current array (i.e. this.$props.value) for `onChange` callback for multi-* components
|
|
156
156
|
|
|
157
157
|
function parseValueArray(objectValues, currentValue) {
|
|
158
|
-
var
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
var selectedValues;
|
|
159
|
+
|
|
160
|
+
if (Array.isArray(objectValues)) {
|
|
161
|
+
selectedValues = [].concat(objectValues);
|
|
162
|
+
} else {
|
|
163
|
+
var keys = Object.keys(objectValues);
|
|
164
|
+
selectedValues = keys.map(function (key) {
|
|
165
|
+
return objectValues[key] ? key : null;
|
|
166
|
+
});
|
|
167
|
+
}
|
|
162
168
|
|
|
163
169
|
if (selectedValues.includes(currentValue)) {
|
|
164
170
|
return selectedValues.filter(function (item) {
|
package/dist/es/index.js
CHANGED
|
@@ -1,42 +1,41 @@
|
|
|
1
1
|
import '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_rollupPluginBabelHelpers-ecf6c03c.js';
|
|
3
3
|
import 'vue-types';
|
|
4
4
|
import '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import '@appbaseio/reactivecore/lib/utils/helper';
|
|
6
6
|
import 'emotion';
|
|
7
7
|
import '@appbaseio/vue-emotion';
|
|
8
8
|
import 'polished';
|
|
9
|
-
import './Button-
|
|
10
|
-
import './vueTypes-
|
|
9
|
+
import './Button-799185e2.js';
|
|
10
|
+
import './vueTypes-9326e0be.js';
|
|
11
|
+
import './Pagination-b3e4054a.js';
|
|
11
12
|
export { default as ReactiveList } from './ReactiveList.js';
|
|
12
13
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
14
|
import 'redux';
|
|
14
|
-
import './index-
|
|
15
|
-
import './ComponentWrapper-
|
|
15
|
+
import './index-5daa8276.js';
|
|
16
|
+
import './ComponentWrapper-bbb717bc.js';
|
|
16
17
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
17
|
-
import './Title-
|
|
18
|
-
import './ListItem-
|
|
19
|
-
import './Card-
|
|
20
|
-
import './Flex-
|
|
18
|
+
import './Title-579f8d6c.js';
|
|
19
|
+
import './ListItem-bdb6d53d.js';
|
|
20
|
+
import './Card-04b3c33e.js';
|
|
21
|
+
import './Flex-aac91505.js';
|
|
21
22
|
import '@appbaseio/reactivecore/lib/actions/analytics';
|
|
22
23
|
import 'appbase-js';
|
|
23
24
|
import 'url-search-params-polyfill';
|
|
24
25
|
export { default as ReactiveBase } from './ReactiveBase.js';
|
|
25
26
|
import 'hotkeys-js';
|
|
26
|
-
export {
|
|
27
|
-
import './CancelSvg-
|
|
28
|
-
import './Input-
|
|
27
|
+
export { default as DataSearch } from './DataSearch.js';
|
|
28
|
+
import './CancelSvg-4d9e0857.js';
|
|
29
|
+
import './Input-d8519224.js';
|
|
29
30
|
import 'compute-scroll-into-view';
|
|
30
|
-
import './Container-
|
|
31
|
+
import './Container-4383c6f0.js';
|
|
31
32
|
import 'vue-highlight-words';
|
|
32
|
-
import { i as install } from './install-ecef1861.js';
|
|
33
|
-
export { S as SearchBox, i as install } from './install-ecef1861.js';
|
|
34
33
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
35
|
-
import './FormControlList-
|
|
36
|
-
import './utils-
|
|
34
|
+
import './FormControlList-fe389a2e.js';
|
|
35
|
+
import './utils-3a32e13f.js';
|
|
37
36
|
export { default as SingleList } from './SingleList.js';
|
|
38
37
|
export { default as MultiList } from './MultiList.js';
|
|
39
|
-
import './DropDown-
|
|
38
|
+
import './DropDown-4edaa621.js';
|
|
40
39
|
export { default as SingleDropdownList } from './SingleDropdownList.js';
|
|
41
40
|
export { default as MultiDropdownList } from './MultiDropdownList.js';
|
|
42
41
|
export { default as ToggleButton } from './ToggleButton.js';
|
|
@@ -47,10 +46,18 @@ export { default as MultiRange } from './MultiRange.js';
|
|
|
47
46
|
export { default as ResultCard } from './ResultCard.js';
|
|
48
47
|
export { default as ResultList } from './ResultList.js';
|
|
49
48
|
import 'vue-no-ssr';
|
|
50
|
-
import './ssr-
|
|
49
|
+
import './ssr-e3196de1.js';
|
|
51
50
|
export { default as RangeSlider } from './RangeSlider.js';
|
|
52
51
|
export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
|
|
53
52
|
export { default as StateProvider } from './StateProvider.js';
|
|
53
|
+
import 'gmap-vue';
|
|
54
|
+
import 'gmap-vue/dist/components-implementation/map';
|
|
55
|
+
import 'ngeohash';
|
|
56
|
+
export { default as ReactiveGoogleMap } from './ReactiveGoogleMap.js';
|
|
57
|
+
import 'gmap-vue/dist/components/cluster';
|
|
58
|
+
import 'gmap-vue/dist/components-implementation/info-window';
|
|
59
|
+
import 'gmap-vue/dist/components/marker';
|
|
60
|
+
import 'gmap-vue/dist/mixins/map-element';
|
|
54
61
|
import '@appbaseio/reactivecore/lib/reducers/valueReducer';
|
|
55
62
|
import '@appbaseio/reactivecore/lib/reducers/queryReducer';
|
|
56
63
|
import '@appbaseio/reactivecore/lib/reducers/queryOptionsReducer';
|
|
@@ -63,6 +70,8 @@ export { default as initReactivesearch } from './initReactivesearch.js';
|
|
|
63
70
|
import version from './version.js';
|
|
64
71
|
export { default as version } from './version.js';
|
|
65
72
|
export { default as RangeInput } from './RangeInput.js';
|
|
73
|
+
import install from './install.js';
|
|
74
|
+
export { default as install } from './install.js';
|
|
66
75
|
|
|
67
76
|
// Add polyfills to support in IE
|
|
68
77
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-ecf6c03c.js';
|
|
2
2
|
import { validProps, componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
3
3
|
import { pushToAndClause, buildQuery } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
4
4
|
import { getRSQuery, extractPropsFromState, getDependentQueries } from '@appbaseio/reactivecore/lib/utils/transform';
|