@appbaseio/reactivesearch-vue 1.24.2 → 1.26.0
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 +481 -279
- 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/{DownShift-62e82255.js → CancelSvg-4aa35935.js} +58 -14
- package/dist/cjs/DataSearch.js +31 -82
- package/dist/cjs/{DropDown-6815b9b6.js → DropDown-cf9bfffc.js} +60 -23
- package/dist/cjs/DynamicRangeSlider.js +9 -6
- package/dist/cjs/MultiDropdownList.js +14 -7
- package/dist/cjs/MultiList.js +6 -5
- package/dist/cjs/MultiRange.js +2 -2
- package/dist/cjs/RangeInput.js +3 -3
- package/dist/cjs/RangeSlider.js +17 -20
- package/dist/cjs/ReactiveBase.js +5 -3
- package/dist/cjs/ReactiveComponent.js +12 -12
- package/dist/cjs/ReactiveList.js +54 -42
- package/dist/cjs/ResultCard.js +1 -1
- package/dist/cjs/ResultList.js +1 -1
- package/dist/cjs/SelectedFilters.js +7 -5
- package/dist/cjs/SingleDropdownList.js +14 -7
- package/dist/cjs/SingleList.js +7 -6
- package/dist/cjs/SingleRange.js +2 -2
- package/dist/cjs/StateProvider.js +6 -2
- package/dist/cjs/ToggleButton.js +3 -3
- package/dist/cjs/index.js +7 -4
- package/dist/cjs/initReactivesearch.js +31 -12
- package/dist/cjs/install.js +5 -4
- package/dist/cjs/ssr-0ee35a09.js +39 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/{vueTypes-4c19b4c8.js → vueTypes-57d01f18.js} +3 -3
- package/dist/es/{DownShift-3558d402.js → CancelSvg-c2c03a35.js} +55 -16
- package/dist/es/DataSearch.js +21 -72
- package/dist/es/{DropDown-035c804f.js → DropDown-c8da0a2c.js} +59 -22
- package/dist/es/DynamicRangeSlider.js +9 -6
- package/dist/es/MultiDropdownList.js +14 -7
- package/dist/es/MultiList.js +6 -5
- package/dist/es/MultiRange.js +2 -2
- package/dist/es/RangeInput.js +3 -3
- package/dist/es/RangeSlider.js +17 -20
- package/dist/es/ReactiveBase.js +5 -3
- package/dist/es/ReactiveComponent.js +12 -12
- package/dist/es/ReactiveList.js +54 -42
- package/dist/es/ResultCard.js +1 -1
- package/dist/es/ResultList.js +1 -1
- package/dist/es/SelectedFilters.js +7 -5
- package/dist/es/SingleDropdownList.js +14 -7
- package/dist/es/SingleList.js +7 -6
- package/dist/es/SingleRange.js +2 -2
- package/dist/es/StateProvider.js +6 -2
- package/dist/es/ToggleButton.js +3 -3
- package/dist/es/index.js +7 -4
- package/dist/es/initReactivesearch.js +31 -12
- package/dist/es/install.js +5 -4
- package/dist/es/ssr-a41dfea9.js +33 -0
- package/dist/es/version.js +1 -1
- package/dist/es/{vueTypes-fb61bb7b.js → vueTypes-687b2304.js} +3 -3
- package/package.json +3 -3
- package/dist/cjs/ssr-08e95ede.js +0 -39
- package/dist/es/ssr-5d255b08.js +0 -33
package/dist/es/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import 'emotion';
|
|
|
7
7
|
import '@appbaseio/vue-emotion';
|
|
8
8
|
import 'polished';
|
|
9
9
|
import './Button-91561391.js';
|
|
10
|
-
import './vueTypes-
|
|
10
|
+
import './vueTypes-687b2304.js';
|
|
11
11
|
export { default as ReactiveList } from './ReactiveList.js';
|
|
12
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
13
|
import 'redux';
|
|
@@ -24,16 +24,17 @@ import 'url-search-params-polyfill';
|
|
|
24
24
|
export { default as ReactiveBase } from './ReactiveBase.js';
|
|
25
25
|
import 'hotkeys-js';
|
|
26
26
|
export { default as DataSearch } from './DataSearch.js';
|
|
27
|
+
import './CancelSvg-c2c03a35.js';
|
|
27
28
|
import './Input-08bb1bcf.js';
|
|
28
29
|
import 'compute-scroll-into-view';
|
|
29
|
-
import './DownShift-3558d402.js';
|
|
30
30
|
import './Container-18b03fde.js';
|
|
31
31
|
import 'vue-highlight-words';
|
|
32
|
+
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
32
33
|
import './FormControlList-704f8dee.js';
|
|
33
34
|
import './utils-64a2e5f0.js';
|
|
34
35
|
export { default as SingleList } from './SingleList.js';
|
|
35
36
|
export { default as MultiList } from './MultiList.js';
|
|
36
|
-
import './DropDown-
|
|
37
|
+
import './DropDown-c8da0a2c.js';
|
|
37
38
|
export { default as SingleDropdownList } from './SingleDropdownList.js';
|
|
38
39
|
export { default as MultiDropdownList } from './MultiDropdownList.js';
|
|
39
40
|
export { default as ToggleButton } from './ToggleButton.js';
|
|
@@ -44,13 +45,15 @@ export { default as MultiRange } from './MultiRange.js';
|
|
|
44
45
|
export { default as ResultCard } from './ResultCard.js';
|
|
45
46
|
export { default as ResultList } from './ResultList.js';
|
|
46
47
|
import 'vue-no-ssr';
|
|
47
|
-
import './ssr-
|
|
48
|
+
import './ssr-a41dfea9.js';
|
|
48
49
|
export { default as RangeSlider } from './RangeSlider.js';
|
|
49
50
|
export { default as DynamicRangeSlider } from './DynamicRangeSlider.js';
|
|
50
51
|
export { default as StateProvider } from './StateProvider.js';
|
|
51
52
|
import '@appbaseio/reactivecore/lib/reducers/valueReducer';
|
|
52
53
|
import '@appbaseio/reactivecore/lib/reducers/queryReducer';
|
|
53
54
|
import '@appbaseio/reactivecore/lib/reducers/queryOptionsReducer';
|
|
55
|
+
import '@appbaseio/reactivecore/lib/reducers/compositeAggsReducer';
|
|
56
|
+
import '@appbaseio/reactivecore/lib/constants';
|
|
54
57
|
import '@appbaseio/reactivecore/lib/reducers/dependencyTreeReducer';
|
|
55
58
|
import '@appbaseio/reactivecore/lib/utils/graphQL';
|
|
56
59
|
import '@appbaseio/reactivecore/lib/actions/utils';
|
|
@@ -6,6 +6,8 @@ import Appbase from 'appbase-js';
|
|
|
6
6
|
import valueReducer from '@appbaseio/reactivecore/lib/reducers/valueReducer';
|
|
7
7
|
import queryReducer from '@appbaseio/reactivecore/lib/reducers/queryReducer';
|
|
8
8
|
import queryOptionsReducer from '@appbaseio/reactivecore/lib/reducers/queryOptionsReducer';
|
|
9
|
+
import compositeAggsReducer from '@appbaseio/reactivecore/lib/reducers/compositeAggsReducer';
|
|
10
|
+
import { UPDATE_COMPOSITE_AGGS } from '@appbaseio/reactivecore/lib/constants';
|
|
9
11
|
import dependencyTreeReducer from '@appbaseio/reactivecore/lib/reducers/dependencyTreeReducer';
|
|
10
12
|
import fetchGraphQL from '@appbaseio/reactivecore/lib/utils/graphQL';
|
|
11
13
|
import { isPropertyDefined } from '@appbaseio/reactivecore/lib/actions/utils';
|
|
@@ -102,6 +104,7 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
102
104
|
var orderOfQueries = [];
|
|
103
105
|
var hits = {};
|
|
104
106
|
var aggregations = {};
|
|
107
|
+
var compositeAggregations = {};
|
|
105
108
|
var state = {};
|
|
106
109
|
var customQueries = {};
|
|
107
110
|
var defaultQueries = {};
|
|
@@ -116,16 +119,7 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
116
119
|
compProps[key] = component[key];
|
|
117
120
|
}
|
|
118
121
|
});
|
|
119
|
-
var isInternalComponentPresent = false;
|
|
120
|
-
|
|
121
|
-
if (component.customQuery && typeof component.customQuery === 'function') {
|
|
122
|
-
customQueries[component.componentId] = component.customQuery(component.value, compProps);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
if (component.defaultQuery && typeof component.defaultQuery === 'function') {
|
|
126
|
-
defaultQueries[component.componentId] = component.defaultQuery(component.value, compProps);
|
|
127
|
-
}
|
|
128
|
-
|
|
122
|
+
var isInternalComponentPresent = false;
|
|
129
123
|
var isResultComponent = resultComponents.includes(componentType);
|
|
130
124
|
var internalComponent = component.componentId + "__internal";
|
|
131
125
|
var label = component.filterLabel || component.componentId;
|
|
@@ -149,7 +143,16 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
149
143
|
reference: reference,
|
|
150
144
|
showFilter: showFilter,
|
|
151
145
|
URLParams: component.URLParams || false
|
|
152
|
-
}); //
|
|
146
|
+
}); // Set custom and default queries
|
|
147
|
+
|
|
148
|
+
if (component.customQuery && typeof component.customQuery === 'function') {
|
|
149
|
+
customQueries[component.componentId] = component.customQuery(value, compProps);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (component.defaultQuery && typeof component.defaultQuery === 'function') {
|
|
153
|
+
defaultQueries[component.componentId] = component.defaultQuery(value, compProps);
|
|
154
|
+
} // [2] set query options - main component query (valid for result components)
|
|
155
|
+
|
|
153
156
|
|
|
154
157
|
if (componentsWithOptions.includes(componentType)) {
|
|
155
158
|
var options = component.source.generateQueryOptions ? component.source.generateQueryOptions(component) : null;
|
|
@@ -236,7 +239,7 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
236
239
|
|
|
237
240
|
|
|
238
241
|
if (isResultComponent) {
|
|
239
|
-
var _getQuery = getQuery(component,
|
|
242
|
+
var _getQuery = getQuery(component, value, componentType),
|
|
240
243
|
query = _getQuery.query;
|
|
241
244
|
|
|
242
245
|
queryList = queryReducer(queryList, {
|
|
@@ -336,6 +339,11 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
336
339
|
var _extends4;
|
|
337
340
|
|
|
338
341
|
aggregations = _extends({}, aggregations, (_extends4 = {}, _extends4[component] = response.aggregations, _extends4));
|
|
342
|
+
compositeAggregations = compositeAggsReducer(compositeAggregations, {
|
|
343
|
+
type: UPDATE_COMPOSITE_AGGS,
|
|
344
|
+
aggregations: response.aggregations,
|
|
345
|
+
append: false
|
|
346
|
+
});
|
|
339
347
|
}
|
|
340
348
|
|
|
341
349
|
hits = _extends({}, hits, (_extends5 = {}, _extends5[component] = {
|
|
@@ -362,6 +370,8 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
362
370
|
var promotedResults = {};
|
|
363
371
|
var rawData = {};
|
|
364
372
|
var customData = {};
|
|
373
|
+
var settingsResponse = {};
|
|
374
|
+
var timestamp = {};
|
|
365
375
|
var allPromises = orderOfQueries.map(function (component) {
|
|
366
376
|
return new Promise(function (responseResolve, responseReject) {
|
|
367
377
|
handleTransformResponse(res[component], component).then(function (response) {
|
|
@@ -380,6 +390,11 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
380
390
|
|
|
381
391
|
if (response.customData) {
|
|
382
392
|
customData[component] = response.customData;
|
|
393
|
+
} // Update settings
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
if (response.settings) {
|
|
397
|
+
settingsResponse[component] = response.settings;
|
|
383
398
|
}
|
|
384
399
|
|
|
385
400
|
if (response.aggregations) {
|
|
@@ -388,6 +403,7 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
388
403
|
aggregations = _extends({}, aggregations, (_extends6 = {}, _extends6[component] = response.aggregations, _extends6));
|
|
389
404
|
}
|
|
390
405
|
|
|
406
|
+
timestamp[component] = res._timestamp;
|
|
391
407
|
hits = _extends({}, hits, (_extends7 = {}, _extends7[component] = {
|
|
392
408
|
hits: response.hits.hits,
|
|
393
409
|
total: typeof response.hits.total === 'object' ? response.hits.total.value : response.hits.total,
|
|
@@ -403,8 +419,11 @@ function initReactivesearch(componentCollection, searchState, settings) {
|
|
|
403
419
|
Promise.all(allPromises).then(function () {
|
|
404
420
|
state = _extends({}, state, {
|
|
405
421
|
hits: hits,
|
|
422
|
+
timestamp: timestamp,
|
|
406
423
|
aggregations: aggregations,
|
|
424
|
+
compositeAggregations: compositeAggregations,
|
|
407
425
|
promotedResults: promotedResults,
|
|
426
|
+
settings: settingsResponse,
|
|
408
427
|
customData: customData,
|
|
409
428
|
rawData: rawData
|
|
410
429
|
});
|
package/dist/es/install.js
CHANGED
|
@@ -7,7 +7,7 @@ import 'emotion';
|
|
|
7
7
|
import '@appbaseio/vue-emotion';
|
|
8
8
|
import 'polished';
|
|
9
9
|
import './Button-91561391.js';
|
|
10
|
-
import './vueTypes-
|
|
10
|
+
import './vueTypes-687b2304.js';
|
|
11
11
|
import ReactiveList from './ReactiveList.js';
|
|
12
12
|
import '@appbaseio/reactivecore/lib/utils/transform';
|
|
13
13
|
import 'redux';
|
|
@@ -24,16 +24,17 @@ import 'url-search-params-polyfill';
|
|
|
24
24
|
import ReactiveBase from './ReactiveBase.js';
|
|
25
25
|
import 'hotkeys-js';
|
|
26
26
|
import DataSearch from './DataSearch.js';
|
|
27
|
+
import './CancelSvg-c2c03a35.js';
|
|
27
28
|
import './Input-08bb1bcf.js';
|
|
28
29
|
import 'compute-scroll-into-view';
|
|
29
|
-
import './DownShift-3558d402.js';
|
|
30
30
|
import './Container-18b03fde.js';
|
|
31
31
|
import 'vue-highlight-words';
|
|
32
|
+
import '@appbaseio/reactivecore/lib/utils/suggestions';
|
|
32
33
|
import './FormControlList-704f8dee.js';
|
|
33
34
|
import './utils-64a2e5f0.js';
|
|
34
35
|
import SingleList from './SingleList.js';
|
|
35
36
|
import MultiList from './MultiList.js';
|
|
36
|
-
import './DropDown-
|
|
37
|
+
import './DropDown-c8da0a2c.js';
|
|
37
38
|
import SingleDropdownList from './SingleDropdownList.js';
|
|
38
39
|
import MultiDropdownList from './MultiDropdownList.js';
|
|
39
40
|
import ToggleButton from './ToggleButton.js';
|
|
@@ -44,7 +45,7 @@ import MultiRange from './MultiRange.js';
|
|
|
44
45
|
import ResultCard from './ResultCard.js';
|
|
45
46
|
import ResultList from './ResultList.js';
|
|
46
47
|
import 'vue-no-ssr';
|
|
47
|
-
import './ssr-
|
|
48
|
+
import './ssr-a41dfea9.js';
|
|
48
49
|
import RangeSlider from './RangeSlider.js';
|
|
49
50
|
import DynamicRangeSlider from './DynamicRangeSlider.js';
|
|
50
51
|
import StateProvider from './StateProvider.js';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
2
|
+
import styled from '@appbaseio/vue-emotion';
|
|
3
|
+
import NoSSR from 'vue-no-ssr';
|
|
4
|
+
|
|
5
|
+
var _templateObject;
|
|
6
|
+
var Slider = styled('div')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tmargin-top: 30px;\n\tpadding: 10px;\n\n\t/* component style */\n\t.vue-slider-disabled {\n\t\topacity: 0.5;\n\t\tcursor: not-allowed;\n\t}\n\n\t/* rail style */\n\t.vue-slider-rail {\n\t\tbackground-color: #ccc;\n\t\tborder-radius: 15px;\n\t\theight: 4px;\n\t}\n\n\t/* process style */\n\t.vue-slider-process {\n\t\tbackground-color: #0b6aff;\n\t\tborder-radius: 15px;\n\t}\n\n\t/* mark style */\n\t.vue-slider-mark {\n\t\tz-index: 4;\n\t}\n\n\t.vue-slider-mark:first-child .vue-slider-mark-step,\n\t.vue-slider-mark:last-child .vue-slider-mark-step {\n\t\tdisplay: none;\n\t}\n\n\t.vue-slider-mark-step {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: rgba(0, 0, 0, 0.16);\n\t}\n\n\t.vue-slider-mark-label {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t}\n\n\t/* dot style */\n\t.vue-slider-dot {\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle {\n\t\tcursor: pointer;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: #fff;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid #9a9a9a;\n\t\tz-index: 2;\n\t\tbox-shadow: 0.5px 0.5px 2px 1px rgb(0 0 0 / 32%);\n\t}\n\n\t.vue-slider-dot-handle-disabled {\n\t\tcursor: not-allowed;\n\t\tbackground-color: #ccc;\n\t}\n\n\t.vue-slider-dot-tooltip-inner {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t\tpadding: 2px 5px;\n\t\tmin-width: 20px;\n\t\ttext-align: center;\n\t\tcolor: #fff;\n\t\tborder-radius: 5px;\n\t\tborder: 1px solid #3498db;\n\t\tbackground-color: #3498db;\n\t\tbox-sizing: content-box;\n\t}\n\n\t.vue-slider-dot-tooltip-inner::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-top::after {\n\t\ttop: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-top-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-bottom::after {\n\t\tbottom: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-bottom-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-left::after {\n\t\tleft: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-left-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-right::after {\n\t\tright: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-right-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-wrapper {\n\t\topacity: 0;\n\t\ttransition: all 0.3s;\n\t}\n\t.vue-slider-dot-tooltip-wrapper-show {\n\t\topacity: 1;\n\t}\n\n\t.label-container {\n\t\tmargin: 10px 0;\n\t\twidth: 100%;\n\t}\n\n\t.range-label-right {\n\t\tfloat: right;\n\t}\n"])));
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Caution: Please do not change this file without having a discussion with the Team.
|
|
10
|
+
* Any change may break the umd build, we're directly replacing the line no: 14
|
|
11
|
+
* `components['vue-slider-component'] = require('vue-slider-component');` in rollup umd build process with some script.
|
|
12
|
+
*/
|
|
13
|
+
// eslint-disable-next-line
|
|
14
|
+
|
|
15
|
+
var getComponents = function getComponents() {
|
|
16
|
+
var components = {
|
|
17
|
+
NoSSR: NoSSR
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
if (process.browser) {
|
|
21
|
+
try {
|
|
22
|
+
// in older versions of nuxt, it's process.BROWSER_BUILD
|
|
23
|
+
// eslint-disable-next-line
|
|
24
|
+
components['vue-slider-component'] = require('vue-slider-component');
|
|
25
|
+
} catch (e) {
|
|
26
|
+
console.error('Unable to load vue-slider', e);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return components;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export { Slider as S, getComponents as g };
|
package/dist/es/version.js
CHANGED
|
@@ -95,19 +95,19 @@ var types = {
|
|
|
95
95
|
unit: VueTypes.oneOf(['mi', 'miles', 'yd', 'yards', 'ft', 'feet', 'in', 'inch', 'km', 'kilometers', 'm', 'meters', 'cm', 'centimeters', 'mm', 'millimeters', 'NM', 'nmi', 'nauticalmiles']),
|
|
96
96
|
value: VueTypes.string.def(undefined),
|
|
97
97
|
analyticsConfig: VueTypes.shape({
|
|
98
|
-
searchStateHeader: VueTypes.bool,
|
|
99
98
|
emptyQuery: VueTypes.bool,
|
|
100
99
|
suggestionAnalytics: VueTypes.bool,
|
|
101
100
|
userId: VueTypes.string,
|
|
102
101
|
customEvents: VueTypes.object
|
|
103
102
|
}),
|
|
104
103
|
appbaseConfig: VueTypes.shape({
|
|
105
|
-
enableQueryRules: VueTypes.bool,
|
|
106
104
|
recordAnalytics: VueTypes.bool,
|
|
107
|
-
searchStateHeader: VueTypes.bool,
|
|
108
105
|
emptyQuery: VueTypes.bool,
|
|
109
106
|
suggestionAnalytics: VueTypes.bool,
|
|
107
|
+
enableQueryRules: VueTypes.bool,
|
|
108
|
+
enableSearchRelevancy: VueTypes.bool,
|
|
110
109
|
userId: VueTypes.string,
|
|
110
|
+
useCache: VueTypes.bool,
|
|
111
111
|
customEvents: VueTypes.object,
|
|
112
112
|
enableTelemetry: VueTypes.bool.def(true)
|
|
113
113
|
}).def({}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appbaseio/reactivesearch-vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"jsnext:main": "dist/es/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@appbaseio/reactivecore": "9.13.
|
|
37
|
+
"@appbaseio/reactivecore": "9.13.4",
|
|
38
38
|
"@appbaseio/vue-emotion": "0.4.4",
|
|
39
39
|
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
|
40
40
|
"appbase-js": "^4.5.1",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"url-search-params-polyfill": "^7.0.0",
|
|
47
47
|
"vue-highlight-words": "^1.2.0",
|
|
48
48
|
"vue-no-ssr": "^1.1.0",
|
|
49
|
-
"vue-slider-component": "^2.
|
|
49
|
+
"vue-slider-component": "^3.2.15",
|
|
50
50
|
"vue-types": "^1.3.3"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
package/dist/cjs/ssr-08e95ede.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
-
|
|
5
|
-
var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f127c8b7.js');
|
|
6
|
-
var styled = require('@appbaseio/vue-emotion');
|
|
7
|
-
var styled__default = _interopDefault(styled);
|
|
8
|
-
var NoSSR = _interopDefault(require('vue-no-ssr'));
|
|
9
|
-
|
|
10
|
-
var _templateObject;
|
|
11
|
-
var Slider = styled__default('div')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin-top: 30px;\n\tpadding: 10px;\n\n\t/* component style */\n\t.vue-slider-disabled {\n\t\topacity: 0.5;\n\t\tcursor: not-allowed;\n\t}\n\n\t/* rail style */\n\t.vue-slider-rail {\n\t\tbackground-color: #ccc;\n\t\tborder-radius: 15px;\n\t\theight: 4px;\n\t}\n\n\t/* process style */\n\t.vue-slider-process {\n\t\tbackground-color: #0b6aff;\n\t\tborder-radius: 15px;\n\t}\n\n\t/* mark style */\n\t.vue-slider-mark {\n\t\tz-index: 4;\n\t}\n\n\t.vue-slider-mark:first-child .vue-slider-mark-step,\n\t.vue-slider-mark:last-child .vue-slider-mark-step {\n\t\tdisplay: none;\n\t}\n\n\t.vue-slider-mark-step {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: rgba(0, 0, 0, 0.16);\n\t}\n\n\t.vue-slider-mark-label {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t}\n\n\t/* dot style */\n\t.vue-slider-dot{\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle {\n\t\tcursor: pointer;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: #fff;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid #9a9a9a;\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle-disabled {\n\t\tcursor: not-allowed;\n\t\tbackground-color: #ccc;\n\t}\n\n\t.vue-slider-dot-tooltip-inner {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t\tpadding: 2px 5px;\n\t\tmin-width: 20px;\n\t\ttext-align: center;\n\t\tcolor: #fff;\n\t\tborder-radius: 5px;\n\t\tborder-color: #000;\n\t\tbackground-color: #000;\n\t\tbox-sizing: content-box;\n\t}\n\n\t.vue-slider-dot-tooltip-inner::after {\n\t\tcontent: \"\";\n\t\tposition: absolute;\n\t}\n\n\t.vue-slider-dot -tooltip-inner-top::after {\n\t\ttop: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-top-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-bottom::after {\n\t\tbottom: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-bottom-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-left::after {\n\t\tleft: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-left-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-right::after {\n\t\tright: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-right-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-wrapper {\n\t\topacity: 0;\n\t\ttransition: all 0.3s;\n\t}\n\t.vue-slider-dot-tooltip-wrapper-show {\n\t\topacity: 1;\n\t}\n\n\t.label-container {\n\t\tmargin: 10px 0;\n\t\twidth: 100%;\n\t}\n\n\t.range-label-right {\n\t\tfloat: right;\n\t}\n"])));
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Caution: Please do not change this file without having a discussion with the Team.
|
|
15
|
-
* Any change may break the umd build, we're directly replacing the line no: 14
|
|
16
|
-
* `components['vue-slider-component'] = require('vue-slider-component');` in rollup umd build process with some script.
|
|
17
|
-
*/
|
|
18
|
-
// eslint-disable-next-line
|
|
19
|
-
|
|
20
|
-
var getComponents = function getComponents() {
|
|
21
|
-
var components = {
|
|
22
|
-
NoSSR: NoSSR
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
if (process.browser) {
|
|
26
|
-
try {
|
|
27
|
-
// in older versions of nuxt, it's process.BROWSER_BUILD
|
|
28
|
-
// eslint-disable-next-line
|
|
29
|
-
components['vue-slider-component'] = require('vue-slider-component');
|
|
30
|
-
} catch (e) {
|
|
31
|
-
console.error('Unable to load vue-slider', e);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return components;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
exports.Slider = Slider;
|
|
39
|
-
exports.getComponents = getComponents;
|
package/dist/es/ssr-5d255b08.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-0f24d612.js';
|
|
2
|
-
import styled from '@appbaseio/vue-emotion';
|
|
3
|
-
import NoSSR from 'vue-no-ssr';
|
|
4
|
-
|
|
5
|
-
var _templateObject;
|
|
6
|
-
var Slider = styled('div')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tmargin-top: 30px;\n\tpadding: 10px;\n\n\t/* component style */\n\t.vue-slider-disabled {\n\t\topacity: 0.5;\n\t\tcursor: not-allowed;\n\t}\n\n\t/* rail style */\n\t.vue-slider-rail {\n\t\tbackground-color: #ccc;\n\t\tborder-radius: 15px;\n\t\theight: 4px;\n\t}\n\n\t/* process style */\n\t.vue-slider-process {\n\t\tbackground-color: #0b6aff;\n\t\tborder-radius: 15px;\n\t}\n\n\t/* mark style */\n\t.vue-slider-mark {\n\t\tz-index: 4;\n\t}\n\n\t.vue-slider-mark:first-child .vue-slider-mark-step,\n\t.vue-slider-mark:last-child .vue-slider-mark-step {\n\t\tdisplay: none;\n\t}\n\n\t.vue-slider-mark-step {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: rgba(0, 0, 0, 0.16);\n\t}\n\n\t.vue-slider-mark-label {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t}\n\n\t/* dot style */\n\t.vue-slider-dot{\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle {\n\t\tcursor: pointer;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: #fff;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid #9a9a9a;\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle-disabled {\n\t\tcursor: not-allowed;\n\t\tbackground-color: #ccc;\n\t}\n\n\t.vue-slider-dot-tooltip-inner {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t\tpadding: 2px 5px;\n\t\tmin-width: 20px;\n\t\ttext-align: center;\n\t\tcolor: #fff;\n\t\tborder-radius: 5px;\n\t\tborder-color: #000;\n\t\tbackground-color: #000;\n\t\tbox-sizing: content-box;\n\t}\n\n\t.vue-slider-dot-tooltip-inner::after {\n\t\tcontent: \"\";\n\t\tposition: absolute;\n\t}\n\n\t.vue-slider-dot -tooltip-inner-top::after {\n\t\ttop: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-top-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-bottom::after {\n\t\tbottom: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-bottom-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-left::after {\n\t\tleft: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-left-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-right::after {\n\t\tright: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-right-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-wrapper {\n\t\topacity: 0;\n\t\ttransition: all 0.3s;\n\t}\n\t.vue-slider-dot-tooltip-wrapper-show {\n\t\topacity: 1;\n\t}\n\n\t.label-container {\n\t\tmargin: 10px 0;\n\t\twidth: 100%;\n\t}\n\n\t.range-label-right {\n\t\tfloat: right;\n\t}\n"])));
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Caution: Please do not change this file without having a discussion with the Team.
|
|
10
|
-
* Any change may break the umd build, we're directly replacing the line no: 14
|
|
11
|
-
* `components['vue-slider-component'] = require('vue-slider-component');` in rollup umd build process with some script.
|
|
12
|
-
*/
|
|
13
|
-
// eslint-disable-next-line
|
|
14
|
-
|
|
15
|
-
var getComponents = function getComponents() {
|
|
16
|
-
var components = {
|
|
17
|
-
NoSSR: NoSSR
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
if (process.browser) {
|
|
21
|
-
try {
|
|
22
|
-
// in older versions of nuxt, it's process.BROWSER_BUILD
|
|
23
|
-
// eslint-disable-next-line
|
|
24
|
-
components['vue-slider-component'] = require('vue-slider-component');
|
|
25
|
-
} catch (e) {
|
|
26
|
-
console.error('Unable to load vue-slider', e);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
return components;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export { Slider as S, getComponents as g };
|