@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
package/dist/es/ReactiveList.js
CHANGED
|
@@ -1,23 +1,188 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { helper, Actions } from '@appbaseio/reactivecore';
|
|
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 { withClickIds } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
6
6
|
import { css } from 'emotion';
|
|
7
7
|
import styled from '@appbaseio/vue-emotion';
|
|
8
8
|
import 'polished';
|
|
9
|
-
import './Button-
|
|
10
|
-
import { t as types } from './vueTypes-
|
|
11
|
-
import { P as Pagination } from './Pagination-b3e4054a.js';
|
|
9
|
+
import { p as pagination, B as Button } from './Button-91561391.js';
|
|
10
|
+
import { t as types } from './vueTypes-687b2304.js';
|
|
12
11
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
12
|
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-
|
|
13
|
+
import { c as connect, h as hasCustomRenderer, i as isQueryIdentical, u as updateDefaultQuery, a as isFunction, g as getComponent } from './index-cb1950b6.js';
|
|
14
|
+
import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
16
15
|
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
17
|
-
import './Title-
|
|
18
|
-
import { c as container } from './ListItem-
|
|
19
|
-
import { c as container$1 } from './Card-
|
|
20
|
-
import { F as Flex } from './Flex-
|
|
16
|
+
import './Title-3522ff56.js';
|
|
17
|
+
import { c as container } from './ListItem-8e8fb535.js';
|
|
18
|
+
import { c as container$1 } from './Card-6446f1b7.js';
|
|
19
|
+
import { F as Flex } from './Flex-8770345d.js';
|
|
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
|
+
};
|
|
21
186
|
|
|
22
187
|
var _templateObject;
|
|
23
188
|
var PoweredByImage = styled('img')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\twidth: 110px;\n"])));
|
|
@@ -262,7 +427,7 @@ var setQueryOptions = Actions.setQueryOptions,
|
|
|
262
427
|
recordResultClick = Actions.recordResultClick;
|
|
263
428
|
var isEqual$1 = helper.isEqual,
|
|
264
429
|
getQueryOptions = helper.getQueryOptions,
|
|
265
|
-
getClassName = helper.getClassName,
|
|
430
|
+
getClassName$1 = helper.getClassName,
|
|
266
431
|
parseHits = helper.parseHits,
|
|
267
432
|
getOptionsFromQuery = helper.getOptionsFromQuery,
|
|
268
433
|
getCompositeAggsQuery = helper.getCompositeAggsQuery,
|
|
@@ -636,7 +801,7 @@ var ReactiveList = {
|
|
|
636
801
|
"attrs": {
|
|
637
802
|
"labelPosition": this.sortOptions ? 'right' : 'left'
|
|
638
803
|
},
|
|
639
|
-
"class": getClassName(this.$props.innerClass, 'resultsInfo')
|
|
804
|
+
"class": getClassName$1(this.$props.innerClass, 'resultsInfo')
|
|
640
805
|
}, [this.sortOptions ? this.renderSortOptions() : null, this.$props.showResultStats && results.length ? this.renderStats() : null]), !this.isLoading && results.length === 0 ? this.renderNoResult() : null, this.shouldRenderPagination && (this.$props.paginationAt === 'top' || this.$props.paginationAt === 'both') ? h(Pagination, {
|
|
641
806
|
"attrs": {
|
|
642
807
|
"pages": this.$props.pages,
|
|
@@ -668,7 +833,7 @@ var ReactiveList = {
|
|
|
668
833
|
"attrs": {
|
|
669
834
|
"direction": "row-reverse"
|
|
670
835
|
},
|
|
671
|
-
"class": getClassName(this.$props.innerClass, 'poweredBy')
|
|
836
|
+
"class": getClassName$1(this.$props.innerClass, 'poweredBy')
|
|
672
837
|
}, [h(PoweredBy)]) : null]);
|
|
673
838
|
},
|
|
674
839
|
methods: {
|
|
@@ -688,7 +853,7 @@ var ReactiveList = {
|
|
|
688
853
|
var size = this.$props.size;
|
|
689
854
|
var renderItem = this.$scopedSlots.renderItem || this.$props.renderItem;
|
|
690
855
|
var element = this.hasCustomRender ? this.getComponent() : h("div", {
|
|
691
|
-
"class": this.$props.listClass + " " + getClassName(this.$props.innerClass, 'list')
|
|
856
|
+
"class": this.$props.listClass + " " + getClassName$1(this.$props.innerClass, 'list')
|
|
692
857
|
}, [this.data.map(function (item, index) {
|
|
693
858
|
return renderItem({
|
|
694
859
|
item: item,
|
|
@@ -806,7 +971,7 @@ var ReactiveList = {
|
|
|
806
971
|
|
|
807
972
|
if (this.stats.numberOfResults) {
|
|
808
973
|
return h("p", {
|
|
809
|
-
"class": resultStats + " " + getClassName(this.$props.innerClass, 'resultStats')
|
|
974
|
+
"class": resultStats + " " + getClassName$1(this.$props.innerClass, 'resultStats')
|
|
810
975
|
}, [this.stats.numberOfResults, " results found in ", this.stats.time || 0, "ms"]);
|
|
811
976
|
}
|
|
812
977
|
|
|
@@ -821,7 +986,7 @@ var ReactiveList = {
|
|
|
821
986
|
}
|
|
822
987
|
|
|
823
988
|
return h("p", {
|
|
824
|
-
"class": getClassName(this.$props.innerClass, 'noResults') || null
|
|
989
|
+
"class": getClassName$1(this.$props.innerClass, 'noResults') || null
|
|
825
990
|
}, [isFunction(renderNoResults) ? renderNoResults() : renderNoResults]);
|
|
826
991
|
},
|
|
827
992
|
handleSortChange: function handleSortChange(e) {
|
|
@@ -870,7 +1035,7 @@ var ReactiveList = {
|
|
|
870
1035
|
renderSortOptions: function renderSortOptions() {
|
|
871
1036
|
var h = this.$createElement;
|
|
872
1037
|
return h("select", {
|
|
873
|
-
"class": sortOptions + " " + getClassName(this.$props.innerClass, 'sortOptions'),
|
|
1038
|
+
"class": sortOptions + " " + getClassName$1(this.$props.innerClass, 'sortOptions'),
|
|
874
1039
|
"attrs": {
|
|
875
1040
|
"name": "sort-options",
|
|
876
1041
|
"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-0f24d612.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-687b2304.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-3522ff56.js';
|
|
9
|
+
import { I as Image, C as Card } from './Card-6446f1b7.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-0f24d612.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-687b2304.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-3522ff56.js';
|
|
9
|
+
import { I as Image, L as ListItem } from './ListItem-8e8fb535.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-0f24d612.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-91561391.js';
|
|
9
|
+
import { t as types } from './vueTypes-687b2304.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-cb1950b6.js';
|
|
12
|
+
import { T as Title } from './Title-3522ff56.js';
|
|
13
|
+
import { C as Container } from './Container-18b03fde.js';
|
|
14
14
|
|
|
15
15
|
var setValue = Actions.setValue,
|
|
16
16
|
clearValues = Actions.clearValues,
|
|
@@ -1,25 +1,24 @@
|
|
|
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 '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, 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, 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,
|
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-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, 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-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, R as Radio } from './FormControlList-
|
|
18
|
-
import { g as getAggsQuery } from './utils-
|
|
17
|
+
import { U as UL, R as Radio } 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,
|
package/dist/es/SingleRange.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_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, 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-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, R as Radio } from './FormControlList-704f8dee.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-0f24d612.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-cb1950b6.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-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 { 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-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, 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-cb1950b6.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-4f85a67e.js';
|
|
14
|
+
import { T as Title } from './Title-3522ff56.js';
|
|
15
|
+
import { C as Container } from './Container-18b03fde.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/{_rollupPluginBabelHelpers-ecf6c03c.js → _rollupPluginBabelHelpers-0f24d612.js}
RENAMED
|
@@ -16,22 +16,6 @@ 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
|
-
|
|
35
19
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
36
20
|
if (source == null) return {};
|
|
37
21
|
var target = {};
|
|
@@ -75,4 +59,4 @@ function _toPropertyKey(arg) {
|
|
|
75
59
|
return typeof key === "symbol" ? key : String(key);
|
|
76
60
|
}
|
|
77
61
|
|
|
78
|
-
export { _taggedTemplateLiteralLoose as _, _extends as a, _objectWithoutPropertiesLoose as b, _toPropertyKey as c
|
|
62
|
+
export { _taggedTemplateLiteralLoose as _, _extends as a, _objectWithoutPropertiesLoose as b, _toPropertyKey as c };
|
|
@@ -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-0f24d612.js';
|
|
3
3
|
import { validProps } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
4
4
|
import { bindActionCreators } from 'redux';
|
|
5
5
|
|
|
@@ -155,16 +155,10 @@ 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
|
-
|
|
162
|
-
} else {
|
|
163
|
-
var keys = Object.keys(objectValues);
|
|
164
|
-
selectedValues = keys.map(function (key) {
|
|
165
|
-
return objectValues[key] ? key : null;
|
|
166
|
-
});
|
|
167
|
-
}
|
|
158
|
+
var keys = Object.keys(objectValues);
|
|
159
|
+
var selectedValues = keys.map(function (key) {
|
|
160
|
+
return objectValues[key] ? key : null;
|
|
161
|
+
});
|
|
168
162
|
|
|
169
163
|
if (selectedValues.includes(currentValue)) {
|
|
170
164
|
return selectedValues.filter(function (item) {
|
package/dist/es/index.js
CHANGED
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_rollupPluginBabelHelpers-0f24d612.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-
|
|
11
|
-
import './Pagination-b3e4054a.js';
|
|
9
|
+
import './Button-91561391.js';
|
|
10
|
+
import './vueTypes-687b2304.js';
|
|
12
11
|
export { default as ReactiveList } from './ReactiveList.js';
|
|
13
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
14
13
|
import 'redux';
|
|
15
|
-
import './index-
|
|
16
|
-
import './ComponentWrapper-
|
|
14
|
+
import './index-cb1950b6.js';
|
|
15
|
+
import './ComponentWrapper-4f85a67e.js';
|
|
17
16
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
18
|
-
import './Title-
|
|
19
|
-
import './ListItem-
|
|
20
|
-
import './Card-
|
|
21
|
-
import './Flex-
|
|
17
|
+
import './Title-3522ff56.js';
|
|
18
|
+
import './ListItem-8e8fb535.js';
|
|
19
|
+
import './Card-6446f1b7.js';
|
|
20
|
+
import './Flex-8770345d.js';
|
|
22
21
|
import '@appbaseio/reactivecore/lib/actions/analytics';
|
|
23
22
|
import 'appbase-js';
|
|
24
23
|
import 'url-search-params-polyfill';
|
|
25
24
|
export { default as ReactiveBase } from './ReactiveBase.js';
|
|
26
25
|
import 'hotkeys-js';
|
|
27
|
-
export {
|
|
28
|
-
import './CancelSvg-
|
|
29
|
-
import './Input-
|
|
26
|
+
export { D as DataSearch } from './DataSearch-66e72d1d.js';
|
|
27
|
+
import './CancelSvg-c2c03a35.js';
|
|
28
|
+
import './Input-08bb1bcf.js';
|
|
30
29
|
import 'compute-scroll-into-view';
|
|
31
|
-
import './Container-
|
|
30
|
+
import './Container-18b03fde.js';
|
|
32
31
|
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';
|
|
33
34
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
34
|
-
import './FormControlList-
|
|
35
|
-
import './utils-
|
|
35
|
+
import './FormControlList-704f8dee.js';
|
|
36
|
+
import './utils-64a2e5f0.js';
|
|
36
37
|
export { default as SingleList } from './SingleList.js';
|
|
37
38
|
export { default as MultiList } from './MultiList.js';
|
|
38
|
-
import './DropDown-
|
|
39
|
+
import './DropDown-c8da0a2c.js';
|
|
39
40
|
export { default as SingleDropdownList } from './SingleDropdownList.js';
|
|
40
41
|
export { default as MultiDropdownList } from './MultiDropdownList.js';
|
|
41
42
|
export { default as ToggleButton } from './ToggleButton.js';
|
|
@@ -46,18 +47,10 @@ export { default as MultiRange } from './MultiRange.js';
|
|
|
46
47
|
export { default as ResultCard } from './ResultCard.js';
|
|
47
48
|
export { default as ResultList } from './ResultList.js';
|
|
48
49
|
import 'vue-no-ssr';
|
|
49
|
-
import './ssr-
|
|
50
|
+
import './ssr-a41dfea9.js';
|
|
50
51
|
export { default as RangeSlider } from './RangeSlider.js';
|
|
51
52
|
export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
|
|
52
53
|
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';
|
|
61
54
|
import '@appbaseio/reactivecore/lib/reducers/valueReducer';
|
|
62
55
|
import '@appbaseio/reactivecore/lib/reducers/queryReducer';
|
|
63
56
|
import '@appbaseio/reactivecore/lib/reducers/queryOptionsReducer';
|
|
@@ -70,8 +63,6 @@ export { default as initReactivesearch } from './initReactivesearch.js';
|
|
|
70
63
|
import version from './version.js';
|
|
71
64
|
export { default as version } from './version.js';
|
|
72
65
|
export { default as RangeInput } from './RangeInput.js';
|
|
73
|
-
import install from './install.js';
|
|
74
|
-
export { default as install } from './install.js';
|
|
75
66
|
|
|
76
67
|
// Add polyfills to support in IE
|
|
77
68
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-0f24d612.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';
|