@appbaseio/reactivesearch-vue 1.31.0 → 2.0.0-alpha
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 +9424 -75
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +21 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{Button-0e2e2c02.js → Button-446f819e.js} +1 -1
- package/dist/cjs/{CancelSvg-c48c1085.js → CancelSvg-9f258f4f.js} +1 -1
- package/dist/cjs/{Card-4fa0f769.js → Card-642547a8.js} +2 -2
- package/dist/cjs/{ComponentWrapper-6909bc2a.js → ComponentWrapper-ad3dad02.js} +2 -2
- package/dist/cjs/{Container-cfd69a34.js → Container-daf30918.js} +1 -1
- package/dist/cjs/{DataSearch-a8fabd77.js → DataSearch-6cf29cf0.js} +9 -9
- package/dist/cjs/DataSearch.js +10 -10
- package/dist/cjs/{DropDown-aa358fff.js → DropDown-c479bbb0.js} +5 -5
- package/dist/cjs/DynamicRangeSlider.js +6 -6
- package/dist/cjs/{Flex-63774e4d.js → Flex-aa517a13.js} +1 -1
- package/dist/cjs/{FormControlList-a9c64bb8.js → FormControlList-c195a592.js} +1 -1
- package/dist/cjs/{Input-43868594.js → Input-e6603a7e.js} +1 -1
- package/dist/cjs/{ListItem-38962297.js → ListItem-8c9e0d68.js} +2 -2
- package/dist/cjs/MultiDropdownList.js +11 -11
- package/dist/cjs/MultiList.js +9 -9
- package/dist/cjs/MultiRange.js +7 -7
- package/dist/cjs/Pagination-71e85fa9.js +182 -0
- package/dist/cjs/RangeInput.js +9 -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 +2336 -0
- package/dist/cjs/ReactiveList.js +19 -189
- 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 -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-26661936.js → Title-1de7d0f4.js} +1 -1
- package/dist/cjs/ToggleButton.js +7 -7
- package/dist/cjs/{_rollupPluginBabelHelpers-91d4b5a6.js → _rollupPluginBabelHelpers-c705cbe6.js} +16 -0
- package/dist/cjs/{index-2e0ea8d8.js → index-6a167fe0.js} +1 -1
- package/dist/cjs/index.js +23 -18
- package/dist/cjs/initReactivesearch.js +1 -1
- package/dist/cjs/{install-27314778.js → install-99716d95.js} +10 -10
- package/dist/cjs/install.js +19 -18
- package/dist/cjs/{ssr-949cafb5.js → ssr-3027b848.js} +1 -1
- package/dist/cjs/{utils-0df3cb93.js → utils-d6a52588.js} +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-3970ff42.js → vueTypes-727b7c63.js} +24 -13
- package/dist/es/{Button-e18ad90f.js → Button-d8bc15ea.js} +1 -1
- package/dist/es/{CancelSvg-e3b33cdd.js → CancelSvg-4cfae5fd.js} +1 -1
- package/dist/es/{Card-ad6ba09f.js → Card-450683f1.js} +2 -2
- package/dist/es/{ComponentWrapper-ca0354ea.js → ComponentWrapper-424e86fd.js} +2 -2
- package/dist/es/{Container-421450dc.js → Container-ba826e96.js} +1 -1
- package/dist/es/{DataSearch-da9347f7.js → DataSearch-4888aa43.js} +9 -9
- package/dist/es/DataSearch.js +10 -10
- package/dist/es/{DropDown-604374d2.js → DropDown-05a644a5.js} +5 -5
- package/dist/es/DynamicRangeSlider.js +6 -6
- package/dist/es/{Flex-09d40927.js → Flex-1f0795c3.js} +1 -1
- package/dist/es/{FormControlList-38ffe3d3.js → FormControlList-c22d64f6.js} +1 -1
- package/dist/es/{Input-c9d757bc.js → Input-7a2a9fac.js} +1 -1
- package/dist/es/{ListItem-41d6ddd7.js → ListItem-cad14c5e.js} +2 -2
- package/dist/es/MultiDropdownList.js +11 -11
- package/dist/es/MultiList.js +9 -9
- package/dist/es/MultiRange.js +7 -7
- package/dist/es/Pagination-784bf143.js +177 -0
- package/dist/es/RangeInput.js +9 -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 +2327 -0
- package/dist/es/ReactiveList.js +18 -188
- 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 -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-35edd732.js → Title-3342664a.js} +1 -1
- package/dist/es/ToggleButton.js +7 -7
- package/dist/es/{_rollupPluginBabelHelpers-51ce1182.js → _rollupPluginBabelHelpers-76660dab.js} +16 -1
- package/dist/es/{index-4715798c.js → index-7788a843.js} +1 -1
- package/dist/es/index.js +23 -19
- package/dist/es/initReactivesearch.js +1 -1
- package/dist/es/{install-5d9cb7ed.js → install-87984085.js} +10 -10
- package/dist/es/install.js +19 -18
- package/dist/es/{ssr-ad57b0ad.js → ssr-b2c0b401.js} +1 -1
- package/dist/es/{utils-9b45e0ab.js → utils-9e68acee.js} +1 -1
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-c0d8b875.js → vueTypes-b8146772.js} +24 -13
- package/package.json +8 -2
package/dist/es/ReactiveList.js
CHANGED
|
@@ -1,193 +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-76660dab.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-d8bc15ea.js';
|
|
10
|
+
import { t as types } from './vueTypes-b8146772.js';
|
|
11
|
+
import { P as Pagination } from './Pagination-784bf143.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-7788a843.js';
|
|
15
|
+
import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.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
|
-
var endPage = start;
|
|
76
|
-
|
|
77
|
-
if (start <= totalPages) {
|
|
78
|
-
var totalPagesToShow = pages < totalPages ? start + (pages - 1) : totalPages + 1;
|
|
79
|
-
|
|
80
|
-
if (showEndPage) {
|
|
81
|
-
totalPagesToShow = position === 'start' ? start + (Math.ceil(pages / 2) - pages % 2) : totalPages + 1;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
if (currentPage > totalPages - pages + 2) {
|
|
85
|
-
start = Math.max(2, totalPages - pages + 2);
|
|
86
|
-
totalPagesToShow = start + pages;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
var _loop = function _loop(i) {
|
|
90
|
-
var activeButton = currentPage === i - 1;
|
|
91
|
-
var classNameBtn = innerClassName || activeButton ? innerClassName + " " + (activeButton ? 'active' : '') : '';
|
|
92
|
-
var pageBtn = h(Button, {
|
|
93
|
-
"class": classNameBtn,
|
|
94
|
-
"attrs": {
|
|
95
|
-
"primary": activeButton,
|
|
96
|
-
"tabIndex": "0",
|
|
97
|
-
"alt": "page-" + i
|
|
98
|
-
},
|
|
99
|
-
"on": {
|
|
100
|
-
"keyPress": function keyPress(event) {
|
|
101
|
-
return handleA11yAction(event, function () {
|
|
102
|
-
return setPage(i - 1);
|
|
103
|
-
});
|
|
104
|
-
},
|
|
105
|
-
"click": function click() {
|
|
106
|
-
return setPage(i - 1);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}, [i]);
|
|
110
|
-
|
|
111
|
-
if (i <= totalPages + 1) {
|
|
112
|
-
paginationButtons.push(pageBtn);
|
|
113
|
-
|
|
114
|
-
if (i === Math.min(totalPages + 1, totalPagesToShow) - 1) {
|
|
115
|
-
endPage = i;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
for (var i = start; i < Math.min(totalPages + 1, totalPagesToShow); i += 1) {
|
|
121
|
-
_loop(i);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
return [paginationButtons, start, endPage];
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
var buildIntermediatePaginationDom = function buildIntermediatePaginationDom() {
|
|
129
|
-
var showEndPage = props.showEndPage,
|
|
130
|
-
currentPage = props.currentPage,
|
|
131
|
-
totalPages = props.totalPages,
|
|
132
|
-
pages = props.pages;
|
|
133
|
-
if (!showEndPage) return buildPaginationDOM('start')[0];
|
|
134
|
-
|
|
135
|
-
if (currentPage <= totalPages - pages + 2 || totalPages < pages) {
|
|
136
|
-
return buildPaginationDOM('start')[0];
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
return null;
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
return h("div", {
|
|
143
|
-
"class": pagination + " " + getClassName(props.innerClass, 'pagination')
|
|
144
|
-
}, [h(Button, {
|
|
145
|
-
"class": getClassName(props.innerClass, 'button') || '',
|
|
146
|
-
"attrs": {
|
|
147
|
-
"disabled": props.currentPage === 0,
|
|
148
|
-
"tabIndex": "0"
|
|
149
|
-
},
|
|
150
|
-
"on": {
|
|
151
|
-
"keyPress": function keyPress(event) {
|
|
152
|
-
return handleA11yAction(event, onPrevPage);
|
|
153
|
-
},
|
|
154
|
-
"click": onPrevPage
|
|
155
|
-
}
|
|
156
|
-
}, [props.prevLabel || 'Prev']), h(Button, {
|
|
157
|
-
"class": className,
|
|
158
|
-
"attrs": {
|
|
159
|
-
"primary": primary,
|
|
160
|
-
"tabIndex": "0"
|
|
161
|
-
},
|
|
162
|
-
"on": {
|
|
163
|
-
"keyPress": function keyPress(event) {
|
|
164
|
-
return handleA11yAction(event, function () {
|
|
165
|
-
return props.setPage(0);
|
|
166
|
-
});
|
|
167
|
-
},
|
|
168
|
-
"click": function click() {
|
|
169
|
-
return props.setPage(0);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}, ["1"]), props.showEndPage && props.currentPage >= Math.floor(props.pages / 2) + !!(props.pages % 2) && buildPaginationDOM('start')[1] !== 2 ? h("span", ["..."]) : null, buildIntermediatePaginationDom(), props.showEndPage && props.pages > 2 && props.currentPage <= props.totalPages - Math.ceil(props.pages * 0.75) && buildPaginationDOM('start')[2] !== buildPaginationDOM('end')[1] - 1 ? h("span", ["..."]) : null, props.showEndPage && props.totalPages >= props.pages && buildPaginationDOM('end')[0], h(Button, {
|
|
173
|
-
"class": getClassName(props.innerClass, 'button') || '',
|
|
174
|
-
"attrs": {
|
|
175
|
-
"disabled": props.currentPage >= props.totalPages - 1,
|
|
176
|
-
"tabIndex": "0"
|
|
177
|
-
},
|
|
178
|
-
"on": {
|
|
179
|
-
"keyPress": function keyPress(event) {
|
|
180
|
-
return handleA11yAction(event, onNextPage);
|
|
181
|
-
},
|
|
182
|
-
"click": onNextPage
|
|
183
|
-
}
|
|
184
|
-
}, [props.nextLabel || 'Next'])]);
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
|
|
188
|
-
Pagination.install = function (Vue) {
|
|
189
|
-
Vue.component(Pagination.name, Pagination);
|
|
190
|
-
};
|
|
17
|
+
import './Title-3342664a.js';
|
|
18
|
+
import { c as container } from './ListItem-cad14c5e.js';
|
|
19
|
+
import { c as container$1 } from './Card-450683f1.js';
|
|
20
|
+
import { F as Flex } from './Flex-1f0795c3.js';
|
|
191
21
|
|
|
192
22
|
var _templateObject;
|
|
193
23
|
var PoweredByImage = styled('img')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\twidth: 110px;\n"])));
|
|
@@ -432,7 +262,7 @@ var setQueryOptions = Actions.setQueryOptions,
|
|
|
432
262
|
recordResultClick = Actions.recordResultClick;
|
|
433
263
|
var isEqual$1 = helper.isEqual,
|
|
434
264
|
getQueryOptions = helper.getQueryOptions,
|
|
435
|
-
getClassName
|
|
265
|
+
getClassName = helper.getClassName,
|
|
436
266
|
parseHits = helper.parseHits,
|
|
437
267
|
getCompositeAggsQuery = helper.getCompositeAggsQuery,
|
|
438
268
|
getResultStats = helper.getResultStats,
|
|
@@ -799,7 +629,7 @@ var ReactiveList = {
|
|
|
799
629
|
"attrs": {
|
|
800
630
|
"labelPosition": this.sortOptions ? 'right' : 'left'
|
|
801
631
|
},
|
|
802
|
-
"class": getClassName
|
|
632
|
+
"class": getClassName(this.$props.innerClass, 'resultsInfo')
|
|
803
633
|
}, [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, {
|
|
804
634
|
"attrs": {
|
|
805
635
|
"pages": this.$props.pages,
|
|
@@ -831,7 +661,7 @@ var ReactiveList = {
|
|
|
831
661
|
"attrs": {
|
|
832
662
|
"direction": "row-reverse"
|
|
833
663
|
},
|
|
834
|
-
"class": getClassName
|
|
664
|
+
"class": getClassName(this.$props.innerClass, 'poweredBy')
|
|
835
665
|
}, [h(PoweredBy)]) : null]);
|
|
836
666
|
},
|
|
837
667
|
methods: {
|
|
@@ -851,7 +681,7 @@ var ReactiveList = {
|
|
|
851
681
|
var size = this.$props.size;
|
|
852
682
|
var renderItem = this.$scopedSlots.renderItem || this.$props.renderItem;
|
|
853
683
|
var element = this.hasCustomRender ? this.getComponent() : h("div", {
|
|
854
|
-
"class": this.$props.listClass + " " + getClassName
|
|
684
|
+
"class": this.$props.listClass + " " + getClassName(this.$props.innerClass, 'list')
|
|
855
685
|
}, [this.data.map(function (item, index) {
|
|
856
686
|
return renderItem({
|
|
857
687
|
item: item,
|
|
@@ -970,7 +800,7 @@ var ReactiveList = {
|
|
|
970
800
|
|
|
971
801
|
if (this.stats.numberOfResults) {
|
|
972
802
|
return h("p", {
|
|
973
|
-
"class": resultStats + " " + getClassName
|
|
803
|
+
"class": resultStats + " " + getClassName(this.$props.innerClass, 'resultStats')
|
|
974
804
|
}, [this.stats.numberOfResults, " results found in ", this.stats.time || 0, "ms"]);
|
|
975
805
|
}
|
|
976
806
|
|
|
@@ -985,7 +815,7 @@ var ReactiveList = {
|
|
|
985
815
|
}
|
|
986
816
|
|
|
987
817
|
return h("p", {
|
|
988
|
-
"class": getClassName
|
|
818
|
+
"class": getClassName(this.$props.innerClass, 'noResults') || null
|
|
989
819
|
}, [isFunction(renderNoResults) ? renderNoResults() : renderNoResults]);
|
|
990
820
|
},
|
|
991
821
|
handleSortChange: function handleSortChange(e) {
|
|
@@ -1037,7 +867,7 @@ var ReactiveList = {
|
|
|
1037
867
|
renderSortOptions: function renderSortOptions() {
|
|
1038
868
|
var h = this.$createElement;
|
|
1039
869
|
return h("select", {
|
|
1040
|
-
"class": sortOptions + " " + getClassName
|
|
870
|
+
"class": sortOptions + " " + getClassName(this.$props.innerClass, 'sortOptions'),
|
|
1041
871
|
"attrs": {
|
|
1042
872
|
"name": "sort-options",
|
|
1043
873
|
"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-76660dab.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-b8146772.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-3342664a.js';
|
|
9
|
+
import { I as Image, C as Card } from './Card-450683f1.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-76660dab.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-b8146772.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-3342664a.js';
|
|
9
|
+
import { I as Image, L as ListItem } from './ListItem-cad14c5e.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-76660dab.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-d8bc15ea.js';
|
|
9
|
+
import { t as types } from './vueTypes-b8146772.js';
|
|
10
10
|
import 'redux';
|
|
11
|
-
import { n as decodeHtml, c as connect } from './index-
|
|
12
|
-
import { T as Title } from './Title-
|
|
13
|
-
import { C as Container } from './Container-
|
|
11
|
+
import { n as decodeHtml, c as connect } from './index-7788a843.js';
|
|
12
|
+
import { T as Title } from './Title-3342664a.js';
|
|
13
|
+
import { C as Container } from './Container-ba826e96.js';
|
|
14
14
|
|
|
15
15
|
var setValue = Actions.setValue,
|
|
16
16
|
clearValues = Actions.clearValues,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-76660dab.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-d8bc15ea.js';
|
|
9
|
+
import { t as types } from './vueTypes-b8146772.js';
|
|
10
10
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
11
11
|
import 'redux';
|
|
12
|
-
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, h as hasCustomRenderer, c as connect } from './index-
|
|
13
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
+
import { f as updateCustomQuery, u as updateDefaultQuery, i as isQueryIdentical, a as isFunction, g as getComponent, h as hasCustomRenderer, c as connect } from './index-7788a843.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
|
|
14
14
|
import '@vue/babel-helper-vue-jsx-merge-props';
|
|
15
|
-
import { T as Title } from './Title-
|
|
16
|
-
import './CancelSvg-
|
|
17
|
-
import './Input-
|
|
15
|
+
import { T as Title } from './Title-3342664a.js';
|
|
16
|
+
import './CancelSvg-4cfae5fd.js';
|
|
17
|
+
import './Input-7a2a9fac.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
|
-
import { C as Container } from './Container-
|
|
19
|
+
import { C as Container } from './Container-ba826e96.js';
|
|
20
20
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
21
|
-
import { g as getAggsQuery } from './utils-
|
|
22
|
-
import { D as Dropdown } from './DropDown-
|
|
21
|
+
import { g as getAggsQuery } from './utils-9e68acee.js';
|
|
22
|
+
import { D as Dropdown } from './DropDown-05a644a5.js';
|
|
23
23
|
|
|
24
24
|
var updateQuery = Actions.updateQuery,
|
|
25
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-76660dab.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-b8146772.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, o 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, o as isEvent, h as hasCustomRenderer, c as connect } from './index-7788a843.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
|
|
13
|
+
import { T as Title } from './Title-3342664a.js';
|
|
14
|
+
import { I as Input } from './Input-7a2a9fac.js';
|
|
15
|
+
import { C as Container } from './Container-ba826e96.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-c22d64f6.js';
|
|
18
|
+
import { g as getAggsQuery } from './utils-9e68acee.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-76660dab.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-b8146772.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-7788a843.js';
|
|
12
|
+
import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
|
|
13
|
+
import { T as Title } from './Title-3342664a.js';
|
|
14
|
+
import { C as Container } from './Container-ba826e96.js';
|
|
15
|
+
import { U as UL, R as Radio } from './FormControlList-c22d64f6.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/StateProvider.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import { a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-76660dab.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import { isInternalComponent } from '@appbaseio/reactivecore/lib/utils/transform';
|
|
6
6
|
import 'redux';
|
|
7
|
-
import { c as connect } from './index-
|
|
7
|
+
import { c as connect } from './index-7788a843.js';
|
|
8
8
|
import { setValues } from '@appbaseio/reactivecore/lib/actions/value';
|
|
9
9
|
|
|
10
10
|
var getSearchState = helper.getSearchState;
|
package/dist/es/ToggleButton.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Actions, helper } from '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_rollupPluginBabelHelpers-76660dab.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-d8bc15ea.js';
|
|
9
|
+
import { t as types } from './vueTypes-b8146772.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-7788a843.js';
|
|
13
|
+
import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
|
|
14
|
+
import { T as Title } from './Title-3342664a.js';
|
|
15
|
+
import { C as Container } from './Container-ba826e96.js';
|
|
16
16
|
|
|
17
17
|
var updateQuery = Actions.updateQuery,
|
|
18
18
|
setQueryOptions = Actions.setQueryOptions,
|
package/dist/es/{_rollupPluginBabelHelpers-51ce1182.js → _rollupPluginBabelHelpers-76660dab.js}
RENAMED
|
@@ -15,6 +15,21 @@ function _extends() {
|
|
|
15
15
|
return _extends.apply(this, arguments);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
function _inheritsLoose(subClass, superClass) {
|
|
19
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
20
|
+
subClass.prototype.constructor = subClass;
|
|
21
|
+
|
|
22
|
+
_setPrototypeOf(subClass, superClass);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function _setPrototypeOf(o, p) {
|
|
26
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
27
|
+
o.__proto__ = p;
|
|
28
|
+
return o;
|
|
29
|
+
};
|
|
30
|
+
return _setPrototypeOf(o, p);
|
|
31
|
+
}
|
|
32
|
+
|
|
18
33
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
19
34
|
if (source == null) return {};
|
|
20
35
|
var target = {};
|
|
@@ -58,4 +73,4 @@ function _toPropertyKey(arg) {
|
|
|
58
73
|
return typeof key === "symbol" ? key : String(key);
|
|
59
74
|
}
|
|
60
75
|
|
|
61
|
-
export { _taggedTemplateLiteralLoose as _, _extends as a, _objectWithoutPropertiesLoose as b, _toPropertyKey as c };
|
|
76
|
+
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-76660dab.js';
|
|
3
3
|
import { validProps } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
4
4
|
import { bindActionCreators } from 'redux';
|
|
5
5
|
|
package/dist/es/index.js
CHANGED
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
import '@appbaseio/reactivecore';
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
2
|
+
import './_rollupPluginBabelHelpers-76660dab.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-d8bc15ea.js';
|
|
10
|
+
import './vueTypes-b8146772.js';
|
|
11
|
+
import './Pagination-784bf143.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-7788a843.js';
|
|
16
|
+
import './ComponentWrapper-424e86fd.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-3342664a.js';
|
|
19
|
+
import './ListItem-cad14c5e.js';
|
|
20
|
+
import './Card-450683f1.js';
|
|
21
|
+
import './Flex-1f0795c3.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 { D as DataSearch } from './DataSearch-
|
|
27
|
-
import './CancelSvg-
|
|
28
|
-
import './Input-
|
|
27
|
+
export { D as DataSearch } from './DataSearch-4888aa43.js';
|
|
28
|
+
import './CancelSvg-4cfae5fd.js';
|
|
29
|
+
import './Input-7a2a9fac.js';
|
|
29
30
|
import 'compute-scroll-into-view';
|
|
30
|
-
import './Container-
|
|
31
|
+
import './Container-ba826e96.js';
|
|
31
32
|
import 'vue-highlight-words';
|
|
32
|
-
import { i as install } from './install-
|
|
33
|
-
export { S as SearchBox, i as install } from './install-
|
|
33
|
+
import { i as install } from './install-87984085.js';
|
|
34
|
+
export { S as SearchBox, i as install } from './install-87984085.js';
|
|
34
35
|
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
35
|
-
import './FormControlList-
|
|
36
|
-
import './utils-
|
|
36
|
+
import './FormControlList-c22d64f6.js';
|
|
37
|
+
import './utils-9e68acee.js';
|
|
37
38
|
export { default as SingleList } from './SingleList.js';
|
|
38
39
|
export { default as MultiList } from './MultiList.js';
|
|
39
|
-
import './DropDown-
|
|
40
|
+
import './DropDown-05a644a5.js';
|
|
40
41
|
export { default as SingleDropdownList } from './SingleDropdownList.js';
|
|
41
42
|
export { default as MultiDropdownList } from './MultiDropdownList.js';
|
|
42
43
|
export { default as ToggleButton } from './ToggleButton.js';
|
|
@@ -47,11 +48,14 @@ export { default as MultiRange } from './MultiRange.js';
|
|
|
47
48
|
export { default as ResultCard } from './ResultCard.js';
|
|
48
49
|
export { default as ResultList } from './ResultList.js';
|
|
49
50
|
import 'vue-no-ssr';
|
|
50
|
-
import './ssr-
|
|
51
|
+
import './ssr-b2c0b401.js';
|
|
51
52
|
export { default as RangeSlider } from './RangeSlider.js';
|
|
52
53
|
export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
|
|
53
54
|
import '@appbaseio/reactivecore/lib/actions/value';
|
|
54
55
|
export { default as StateProvider } from './StateProvider.js';
|
|
56
|
+
import 'gmap-vue';
|
|
57
|
+
import 'ngeohash';
|
|
58
|
+
export { default as ReactiveGoogleMap } from './ReactiveGoogleMap.js';
|
|
55
59
|
import '@appbaseio/reactivecore/lib/reducers/valueReducer';
|
|
56
60
|
import '@appbaseio/reactivecore/lib/reducers/queryReducer';
|
|
57
61
|
import '@appbaseio/reactivecore/lib/reducers/queryOptionsReducer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { a as _extends, b as _objectWithoutPropertiesLoose } from './_rollupPluginBabelHelpers-76660dab.js';
|
|
2
2
|
import { validProps, componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
3
3
|
import { transformRequestUsingEndpoint, pushToAndClause, buildQuery, extractQueryFromCustomQuery, getOptionsForCustomQuery } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
4
4
|
import { isSearchComponent, getRSQuery, extractPropsFromState, getDependentQueries } from '@appbaseio/reactivecore/lib/utils/transform';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Actions, helper, causes } from '@appbaseio/reactivecore';
|
|
2
|
-
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-
|
|
2
|
+
import { _ as _taggedTemplateLiteralLoose, a as _extends } from './_rollupPluginBabelHelpers-76660dab.js';
|
|
3
3
|
import VueTypes from 'vue-types';
|
|
4
4
|
import { SEARCH_COMPONENTS_MODES, componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
|
|
5
5
|
import { getQueryOptions, suggestionTypes } from '@appbaseio/reactivecore/lib/utils/helper';
|
|
6
6
|
import styled from '@appbaseio/vue-emotion';
|
|
7
|
-
import { B as Button } from './Button-
|
|
8
|
-
import { t as types } from './vueTypes-
|
|
7
|
+
import { B as Button } from './Button-d8bc15ea.js';
|
|
8
|
+
import { t as types } from './vueTypes-b8146772.js';
|
|
9
9
|
import ReactiveList from './ReactiveList.js';
|
|
10
|
-
import { n as decodeHtml, h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, u as updateDefaultQuery, f as updateCustomQuery, a as isFunction, k as isEmpty, p as parseFocusShortcuts, l as extractModifierKeysFromFocusShortcuts, c as connect } from './index-
|
|
11
|
-
import { C as ComponentWrapper } from './ComponentWrapper-
|
|
12
|
-
import { T as Title } from './Title-
|
|
10
|
+
import { n as decodeHtml, h as hasCustomRenderer, i as isQueryIdentical, g as getComponent, u as updateDefaultQuery, f as updateCustomQuery, a as isFunction, k as isEmpty, p as parseFocusShortcuts, l as extractModifierKeysFromFocusShortcuts, c as connect } from './index-7788a843.js';
|
|
11
|
+
import { C as ComponentWrapper } from './ComponentWrapper-424e86fd.js';
|
|
12
|
+
import { T as Title } from './Title-3342664a.js';
|
|
13
13
|
import ReactiveBase from './ReactiveBase.js';
|
|
14
14
|
import hotkeys from 'hotkeys-js';
|
|
15
|
-
import { S as SearchSvg, a as SuggestionWrapper, I as InputAddon, M as Mic, T as TagItem, b as TagsContainer, c as InputGroup, C as CustomSvg, d as SuggestionItem, D as DataSearch } from './DataSearch-
|
|
16
|
-
import { C as CancelSvg, a as IconGroup, I as IconWrapper, D as Downshift, b as InputWrapper } from './CancelSvg-
|
|
17
|
-
import { s as suggestionsContainer, I as Input, a as suggestions } from './Input-
|
|
18
|
-
import { C as Container } from './Container-
|
|
15
|
+
import { S as SearchSvg, a as SuggestionWrapper, I as InputAddon, M as Mic, T as TagItem, b as TagsContainer, c as InputGroup, C as CustomSvg, d as SuggestionItem, D as DataSearch } from './DataSearch-4888aa43.js';
|
|
16
|
+
import { C as CancelSvg, a as IconGroup, I as IconWrapper, D as Downshift, b as InputWrapper } from './CancelSvg-4cfae5fd.js';
|
|
17
|
+
import { s as suggestionsContainer, I as Input, a as suggestions } from './Input-7a2a9fac.js';
|
|
18
|
+
import { C as Container } from './Container-ba826e96.js';
|
|
19
19
|
import SingleList from './SingleList.js';
|
|
20
20
|
import MultiList from './MultiList.js';
|
|
21
21
|
import SingleDropdownList from './SingleDropdownList.js';
|