@appbaseio/reactivesearch-vue 1.25.0 → 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 +176 -125
- 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/{CancelSvg-62d42af4.js → CancelSvg-4aa35935.js} +1 -14
- package/dist/cjs/DataSearch.js +4 -4
- package/dist/cjs/{DropDown-5847d6e4.js → DropDown-cf9bfffc.js} +2 -2
- package/dist/cjs/DynamicRangeSlider.js +9 -6
- package/dist/cjs/MultiDropdownList.js +5 -5
- package/dist/cjs/MultiList.js +3 -3
- 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 +1 -1
- package/dist/cjs/ReactiveComponent.js +1 -1
- package/dist/cjs/ReactiveList.js +1 -1
- 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 +5 -5
- package/dist/cjs/SingleList.js +3 -3
- package/dist/cjs/SingleRange.js +2 -2
- package/dist/cjs/StateProvider.js +6 -2
- package/dist/cjs/ToggleButton.js +2 -2
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/install.js +4 -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/{CancelSvg-e0cace2d.js → CancelSvg-c2c03a35.js} +1 -14
- package/dist/es/DataSearch.js +4 -4
- package/dist/es/{DropDown-1ee01031.js → DropDown-c8da0a2c.js} +2 -2
- package/dist/es/DynamicRangeSlider.js +9 -6
- package/dist/es/MultiDropdownList.js +5 -5
- package/dist/es/MultiList.js +3 -3
- 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 +1 -1
- package/dist/es/ReactiveComponent.js +1 -1
- package/dist/es/ReactiveList.js +1 -1
- 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 +5 -5
- package/dist/es/SingleList.js +3 -3
- package/dist/es/SingleRange.js +2 -2
- package/dist/es/StateProvider.js +6 -2
- package/dist/es/ToggleButton.js +2 -2
- package/dist/es/index.js +4 -4
- package/dist/es/install.js +4 -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
|
@@ -1351,7 +1351,6 @@
|
|
|
1351
1351
|
}
|
|
1352
1352
|
|
|
1353
1353
|
var defaultAnalyticsConfig = exports.defaultAnalyticsConfig = {
|
|
1354
|
-
searchStateHeader: false,
|
|
1355
1354
|
emptyQuery: true,
|
|
1356
1355
|
suggestionAnalytics: true,
|
|
1357
1356
|
userId: null,
|
|
@@ -1729,7 +1728,19 @@
|
|
|
1729
1728
|
return _extends({}, state, _defineProperty({}, action.component, _extends({}, state[action.component], action.payload)));
|
|
1730
1729
|
|
|
1731
1730
|
case constants.CLEAR_VALUES:
|
|
1732
|
-
|
|
1731
|
+
{
|
|
1732
|
+
if (action.resetValues) {
|
|
1733
|
+
var nextState = {};
|
|
1734
|
+
Object.keys(action.resetValues).forEach(function (componentId) {
|
|
1735
|
+
nextState[componentId] = _extends({}, state[componentId], {
|
|
1736
|
+
value: action.resetValues[componentId]
|
|
1737
|
+
});
|
|
1738
|
+
});
|
|
1739
|
+
return nextState;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
return {};
|
|
1743
|
+
}
|
|
1733
1744
|
|
|
1734
1745
|
case constants.REMOVE_COMPONENT:
|
|
1735
1746
|
{
|
|
@@ -4850,7 +4861,7 @@
|
|
|
4850
4861
|
Object.defineProperty(exports, "__esModule", {
|
|
4851
4862
|
value: true
|
|
4852
4863
|
});
|
|
4853
|
-
exports.getTopSuggestions = exports.withClickIds = exports.getCompositeAggsQuery = exports.getAggsQuery = exports.extractQueryFromDefaultQuery = exports.updateInternalQuery = exports.getSearchState = exports.getOptionsFromQuery = exports.parseHits = exports.handleA11yAction = exports.getInnerKey = exports.getClassName = exports.checkSomePropChange = exports.checkPropChange = exports.updateDefaultQuery = exports.updateCustomQuery = undefined;
|
|
4864
|
+
exports.suggestionTypes = exports.getTopSuggestions = exports.withClickIds = exports.getCompositeAggsQuery = exports.getAggsQuery = exports.extractQueryFromDefaultQuery = exports.updateInternalQuery = exports.getSearchState = exports.getOptionsFromQuery = exports.parseHits = exports.handleA11yAction = exports.getInnerKey = exports.getClassName = exports.checkSomePropChange = exports.checkPropChange = exports.updateDefaultQuery = exports.updateCustomQuery = undefined;
|
|
4854
4865
|
|
|
4855
4866
|
var _extends = Object.assign || function (target) {
|
|
4856
4867
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -5664,37 +5675,45 @@
|
|
|
5664
5675
|
function isValidDateRangeQueryFormat(queryFormat) {
|
|
5665
5676
|
return Object.keys(_dateFormats2["default"]).includes(queryFormat);
|
|
5666
5677
|
}
|
|
5678
|
+
|
|
5679
|
+
var suggestionTypes = exports.suggestionTypes = {
|
|
5680
|
+
Popular: 'popular',
|
|
5681
|
+
Index: 'index',
|
|
5682
|
+
Recent: 'recent',
|
|
5683
|
+
Promoted: 'promoted'
|
|
5684
|
+
};
|
|
5667
5685
|
});
|
|
5668
5686
|
unwrapExports(helper);
|
|
5669
|
-
var helper_1 = helper.
|
|
5670
|
-
var helper_2 = helper.
|
|
5671
|
-
var helper_3 = helper.
|
|
5672
|
-
var helper_4 = helper.
|
|
5673
|
-
var helper_5 = helper.
|
|
5674
|
-
var helper_6 = helper.
|
|
5675
|
-
var helper_7 = helper.
|
|
5676
|
-
var helper_8 = helper.
|
|
5677
|
-
var helper_9 = helper.
|
|
5678
|
-
var helper_10 = helper.
|
|
5679
|
-
var helper_11 = helper.
|
|
5680
|
-
var helper_12 = helper.
|
|
5681
|
-
var helper_13 = helper.
|
|
5682
|
-
var helper_14 = helper.
|
|
5683
|
-
var helper_15 = helper.
|
|
5684
|
-
var helper_16 = helper.
|
|
5685
|
-
var helper_17 = helper.
|
|
5686
|
-
var helper_18 = helper.
|
|
5687
|
-
var helper_19 = helper.
|
|
5688
|
-
var helper_20 = helper.
|
|
5689
|
-
var helper_21 = helper.
|
|
5690
|
-
var helper_22 = helper.
|
|
5691
|
-
var helper_23 = helper.
|
|
5692
|
-
var helper_24 = helper.
|
|
5693
|
-
var helper_25 = helper.
|
|
5694
|
-
var helper_26 = helper.
|
|
5695
|
-
var helper_27 = helper.
|
|
5696
|
-
var helper_28 = helper.
|
|
5697
|
-
var helper_29 = helper.
|
|
5687
|
+
var helper_1 = helper.suggestionTypes;
|
|
5688
|
+
var helper_2 = helper.getTopSuggestions;
|
|
5689
|
+
var helper_3 = helper.withClickIds;
|
|
5690
|
+
var helper_4 = helper.getCompositeAggsQuery;
|
|
5691
|
+
var helper_5 = helper.getAggsQuery;
|
|
5692
|
+
var helper_6 = helper.extractQueryFromDefaultQuery;
|
|
5693
|
+
var helper_7 = helper.updateInternalQuery;
|
|
5694
|
+
var helper_8 = helper.getSearchState;
|
|
5695
|
+
var helper_9 = helper.getOptionsFromQuery;
|
|
5696
|
+
var helper_10 = helper.parseHits;
|
|
5697
|
+
var helper_11 = helper.handleA11yAction;
|
|
5698
|
+
var helper_12 = helper.getInnerKey;
|
|
5699
|
+
var helper_13 = helper.getClassName;
|
|
5700
|
+
var helper_14 = helper.checkSomePropChange;
|
|
5701
|
+
var helper_15 = helper.checkPropChange;
|
|
5702
|
+
var helper_16 = helper.updateDefaultQuery;
|
|
5703
|
+
var helper_17 = helper.updateCustomQuery;
|
|
5704
|
+
var helper_18 = helper.isEqual;
|
|
5705
|
+
var helper_19 = helper.debounce;
|
|
5706
|
+
var helper_20 = helper.getQueryOptions;
|
|
5707
|
+
var helper_21 = helper.buildQuery;
|
|
5708
|
+
var helper_22 = helper.pushToAndClause;
|
|
5709
|
+
var helper_23 = helper.checkValueChange;
|
|
5710
|
+
var helper_24 = helper.getAggsOrder;
|
|
5711
|
+
var helper_25 = helper.formatDate;
|
|
5712
|
+
var helper_26 = helper.getResultStats;
|
|
5713
|
+
var helper_27 = helper.extractFieldsFromSource;
|
|
5714
|
+
var helper_28 = helper.normalizeDataField;
|
|
5715
|
+
var helper_29 = helper.handleOnSuggestions;
|
|
5716
|
+
var helper_30 = helper.isValidDateRangeQueryFormat;
|
|
5698
5717
|
|
|
5699
5718
|
var value = createCommonjsModule(function (module, exports) {
|
|
5700
5719
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5816,8 +5835,10 @@
|
|
|
5816
5835
|
}
|
|
5817
5836
|
|
|
5818
5837
|
function clearValues() {
|
|
5838
|
+
var resetValues = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
5819
5839
|
return {
|
|
5820
|
-
type: constants.CLEAR_VALUES
|
|
5840
|
+
type: constants.CLEAR_VALUES,
|
|
5841
|
+
resetValues: resetValues
|
|
5821
5842
|
};
|
|
5822
5843
|
}
|
|
5823
5844
|
});
|
|
@@ -7384,7 +7405,8 @@
|
|
|
7384
7405
|
execute = true;
|
|
7385
7406
|
}
|
|
7386
7407
|
|
|
7387
|
-
var
|
|
7408
|
+
var componentProps = store.props[component];
|
|
7409
|
+
var dependentQuery = getRSQuery(component, extractPropsFromState(store, component, _extends({}, componentProps && componentProps.componentType === constants$1.componentTypes.searchBox ? _extends({}, execute === false ? {
|
|
7388
7410
|
type: constants$1.queryTypes.search
|
|
7389
7411
|
} : {}, calcValues.category ? {
|
|
7390
7412
|
categoryValue: calcValues.category
|
|
@@ -8359,6 +8381,20 @@
|
|
|
8359
8381
|
value: true
|
|
8360
8382
|
});
|
|
8361
8383
|
|
|
8384
|
+
var _extends = Object.assign || function (target) {
|
|
8385
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
8386
|
+
var source = arguments[i];
|
|
8387
|
+
|
|
8388
|
+
for (var key in source) {
|
|
8389
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
8390
|
+
target[key] = source[key];
|
|
8391
|
+
}
|
|
8392
|
+
}
|
|
8393
|
+
}
|
|
8394
|
+
|
|
8395
|
+
return target;
|
|
8396
|
+
};
|
|
8397
|
+
|
|
8362
8398
|
var _crossFetch2 = _interopRequireDefault(browserPonyfill);
|
|
8363
8399
|
|
|
8364
8400
|
function _interopRequireDefault(obj) {
|
|
@@ -8367,20 +8403,26 @@
|
|
|
8367
8403
|
};
|
|
8368
8404
|
}
|
|
8369
8405
|
|
|
8370
|
-
var fetchGraphQL = function fetchGraphQL(
|
|
8406
|
+
var fetchGraphQL = function fetchGraphQL(requestOptions) {
|
|
8407
|
+
var graphQLUrl = requestOptions.graphQLUrl,
|
|
8408
|
+
url = requestOptions.url,
|
|
8409
|
+
credentials = requestOptions.credentials,
|
|
8410
|
+
app = requestOptions.app,
|
|
8411
|
+
query = requestOptions.query,
|
|
8412
|
+
headers = requestOptions.headers;
|
|
8371
8413
|
var fetchUrl = credentials ? url.replace('//', '//' + credentials + '@') : url;
|
|
8372
8414
|
return (0, _crossFetch2["default"])(graphQLUrl, {
|
|
8373
8415
|
method: 'POST',
|
|
8374
|
-
body: '\n\t\t\tquery{\n\t\t\t\
|
|
8416
|
+
body: '\n\t\t\tquery{\n\t\t\t\telastic77(host: "' + fetchUrl + '"){\n\t\t\t\t\tmsearch(\n\t\t\t\t\t\tindex: "' + app + '"\n\t\t\t\t\t\tbody: ' + JSON.stringify(query.map(function (item) {
|
|
8375
8417
|
return JSON.stringify(item);
|
|
8376
8418
|
})) + '\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t}\n\t\t',
|
|
8377
|
-
headers: {
|
|
8419
|
+
headers: _extends({}, headers, {
|
|
8378
8420
|
'Content-Type': 'application/graphql'
|
|
8379
|
-
}
|
|
8421
|
+
})
|
|
8380
8422
|
}).then(function (res) {
|
|
8381
8423
|
return res.json();
|
|
8382
8424
|
}).then(function (jsonRes) {
|
|
8383
|
-
return jsonRes.data.
|
|
8425
|
+
return jsonRes.data.elastic77.msearch;
|
|
8384
8426
|
})["catch"](function (error) {
|
|
8385
8427
|
console.error(error);
|
|
8386
8428
|
});
|
|
@@ -8490,6 +8532,15 @@
|
|
|
8490
8532
|
};
|
|
8491
8533
|
}
|
|
8492
8534
|
|
|
8535
|
+
var handleTransformRequest = function handleTransformRequest(transformRequest, res) {
|
|
8536
|
+
if (transformRequest && typeof transformRequest === 'function') {
|
|
8537
|
+
var transformRequestPromise = transformRequest(res);
|
|
8538
|
+
return transformRequestPromise instanceof Promise ? transformRequestPromise : Promise.resolve(transformRequestPromise);
|
|
8539
|
+
}
|
|
8540
|
+
|
|
8541
|
+
return Promise.resolve(res);
|
|
8542
|
+
};
|
|
8543
|
+
|
|
8493
8544
|
function msearch(query, orderOfQueries) {
|
|
8494
8545
|
var appendToHits = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
8495
8546
|
var isInternalComponent = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
@@ -8540,14 +8591,6 @@
|
|
|
8540
8591
|
}
|
|
8541
8592
|
}
|
|
8542
8593
|
|
|
8543
|
-
if (config.analyticsConfig.searchStateHeader) {
|
|
8544
|
-
var searchState = (0, helper.getSearchState)(getState(), true);
|
|
8545
|
-
|
|
8546
|
-
if (searchState && Object.keys(searchState).length) {
|
|
8547
|
-
searchHeaders['X-Search-State'] = JSON.stringify(searchState);
|
|
8548
|
-
}
|
|
8549
|
-
}
|
|
8550
|
-
|
|
8551
8594
|
if (config.analyticsConfig.userId) {
|
|
8552
8595
|
searchHeaders['X-User-Id'] = config.analyticsConfig.userId;
|
|
8553
8596
|
}
|
|
@@ -8563,14 +8606,29 @@
|
|
|
8563
8606
|
});
|
|
8564
8607
|
|
|
8565
8608
|
if (config.graphQLUrl) {
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8609
|
+
var requestOptions = {
|
|
8610
|
+
graphQLUrl: config.graphQLUrl,
|
|
8611
|
+
url: config.url,
|
|
8612
|
+
credentials: config.credentials,
|
|
8613
|
+
app: config.app,
|
|
8614
|
+
query: query,
|
|
8615
|
+
headers: headers
|
|
8616
|
+
};
|
|
8617
|
+
handleTransformRequest(appbaseRef.transformRequest, requestOptions).then(function (modifiedRequest) {
|
|
8618
|
+
(0, _graphQL2["default"])(modifiedRequest).then(function (res) {
|
|
8619
|
+
(0, utils.handleResponseMSearch)({
|
|
8620
|
+
res: res,
|
|
8621
|
+
isSuggestionsQuery: isSuggestionsQuery,
|
|
8622
|
+
orderOfQueries: orderOfQueries,
|
|
8623
|
+
appendToHits: appendToHits,
|
|
8624
|
+
appendToAggs: appendToAggs
|
|
8625
|
+
}, getState, dispatch);
|
|
8626
|
+
})["catch"](function (err) {
|
|
8627
|
+
(0, utils.handleError)({
|
|
8628
|
+
orderOfQueries: orderOfQueries,
|
|
8629
|
+
error: err
|
|
8630
|
+
}, getState, dispatch);
|
|
8631
|
+
});
|
|
8574
8632
|
})["catch"](function (err) {
|
|
8575
8633
|
(0, utils.handleError)({
|
|
8576
8634
|
orderOfQueries: orderOfQueries,
|
|
@@ -8767,7 +8825,7 @@
|
|
|
8767
8825
|
var isInternalComponent = componentId.endsWith('__internal');
|
|
8768
8826
|
var mainComponentProps = props[componentId];
|
|
8769
8827
|
|
|
8770
|
-
if (isInternalComponent && (0, transform.isSearchComponent)(mainComponentProps.componentType)) {
|
|
8828
|
+
if (isInternalComponent && mainComponentProps && (0, transform.isSearchComponent)(mainComponentProps.componentType)) {
|
|
8771
8829
|
value$1 = internalValues[componentId] && internalValues[componentId].value;
|
|
8772
8830
|
}
|
|
8773
8831
|
|
|
@@ -12846,19 +12904,19 @@
|
|
|
12846
12904
|
unit: VueTypes.oneOf(['mi', 'miles', 'yd', 'yards', 'ft', 'feet', 'in', 'inch', 'km', 'kilometers', 'm', 'meters', 'cm', 'centimeters', 'mm', 'millimeters', 'NM', 'nmi', 'nauticalmiles']),
|
|
12847
12905
|
value: VueTypes.string.def(undefined),
|
|
12848
12906
|
analyticsConfig: VueTypes.shape({
|
|
12849
|
-
searchStateHeader: VueTypes.bool,
|
|
12850
12907
|
emptyQuery: VueTypes.bool,
|
|
12851
12908
|
suggestionAnalytics: VueTypes.bool,
|
|
12852
12909
|
userId: VueTypes.string,
|
|
12853
12910
|
customEvents: VueTypes.object
|
|
12854
12911
|
}),
|
|
12855
12912
|
appbaseConfig: VueTypes.shape({
|
|
12856
|
-
enableQueryRules: VueTypes.bool,
|
|
12857
12913
|
recordAnalytics: VueTypes.bool,
|
|
12858
|
-
searchStateHeader: VueTypes.bool,
|
|
12859
12914
|
emptyQuery: VueTypes.bool,
|
|
12860
12915
|
suggestionAnalytics: VueTypes.bool,
|
|
12916
|
+
enableQueryRules: VueTypes.bool,
|
|
12917
|
+
enableSearchRelevancy: VueTypes.bool,
|
|
12861
12918
|
userId: VueTypes.string,
|
|
12919
|
+
useCache: VueTypes.bool,
|
|
12862
12920
|
customEvents: VueTypes.object,
|
|
12863
12921
|
enableTelemetry: VueTypes.bool.def(true)
|
|
12864
12922
|
}).def({}),
|
|
@@ -14114,7 +14172,7 @@
|
|
|
14114
14172
|
filteredResults = [].concat(parsedPromotedResults, filteredResults);
|
|
14115
14173
|
}
|
|
14116
14174
|
|
|
14117
|
-
return
|
|
14175
|
+
return helper_3(filteredResults);
|
|
14118
14176
|
}
|
|
14119
14177
|
},
|
|
14120
14178
|
watch: {
|
|
@@ -17087,14 +17145,14 @@
|
|
|
17087
17145
|
this.updateState(this.$props);
|
|
17088
17146
|
},
|
|
17089
17147
|
analyticsConfig: function analyticsConfig(newVal, oldVal) {
|
|
17090
|
-
if (!
|
|
17148
|
+
if (!helper_18(newVal, oldVal)) {
|
|
17091
17149
|
if (this.store) {
|
|
17092
17150
|
this.store.dispatch(analytics_3$1(newVal));
|
|
17093
17151
|
}
|
|
17094
17152
|
}
|
|
17095
17153
|
},
|
|
17096
17154
|
appbaseConfig: function appbaseConfig(newVal, oldVal) {
|
|
17097
|
-
if (!
|
|
17155
|
+
if (!helper_18(newVal, oldVal)) {
|
|
17098
17156
|
if (this.store) {
|
|
17099
17157
|
this.store.dispatch(analytics_3$1(newVal));
|
|
17100
17158
|
}
|
|
@@ -18027,8 +18085,7 @@
|
|
|
18027
18085
|
internal_isOpen: false,
|
|
18028
18086
|
internal_inputValue: '',
|
|
18029
18087
|
internal_selectedItem: null,
|
|
18030
|
-
internal_highlightedIndex: null
|
|
18031
|
-
internal_eventsCalled: {}
|
|
18088
|
+
internal_highlightedIndex: null
|
|
18032
18089
|
};
|
|
18033
18090
|
},
|
|
18034
18091
|
computed: {
|
|
@@ -18213,23 +18270,11 @@
|
|
|
18213
18270
|
}
|
|
18214
18271
|
|
|
18215
18272
|
var vm = this;
|
|
18216
|
-
setTimeout(function () {
|
|
18217
|
-
vm.internal_eventsCalled[index] = false;
|
|
18218
|
-
}, 0);
|
|
18219
18273
|
return {
|
|
18220
18274
|
mouseenter: function mouseenter() {
|
|
18221
18275
|
vm.setHighlightedIndex(newIndex);
|
|
18222
18276
|
},
|
|
18223
|
-
// for browsers not supporting click event (e.g. firefox android)
|
|
18224
|
-
mousedown: function mousedown(event) {
|
|
18225
|
-
if (vm.internal_eventsCalled[index]) return;
|
|
18226
|
-
vm.internal_eventsCalled[index] = true;
|
|
18227
|
-
event.stopPropagation();
|
|
18228
|
-
vm.selectItemAtIndex(newIndex);
|
|
18229
|
-
},
|
|
18230
18277
|
click: function click(event) {
|
|
18231
|
-
if (vm.internal_eventsCalled[index]) return;
|
|
18232
|
-
vm.internal_eventsCalled[index] = true;
|
|
18233
18278
|
event.stopPropagation();
|
|
18234
18279
|
vm.selectItemAtIndex(newIndex);
|
|
18235
18280
|
}
|
|
@@ -20110,7 +20155,7 @@
|
|
|
20110
20155
|
// returns size and aggs property
|
|
20111
20156
|
getBasicQueryOptions: function getBasicQueryOptions() {
|
|
20112
20157
|
var aggregationField = this.$props.aggregationField;
|
|
20113
|
-
var queryOptions =
|
|
20158
|
+
var queryOptions = helper_20(this.$props);
|
|
20114
20159
|
|
|
20115
20160
|
if (aggregationField) {
|
|
20116
20161
|
queryOptions.aggs = getCompositeAggsQuery$1({
|
|
@@ -20216,7 +20261,7 @@
|
|
|
20216
20261
|
updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
|
|
20217
20262
|
}
|
|
20218
20263
|
|
|
20219
|
-
this.setQueryOptions(this.internalComponent, _extends({}, this.queryOptions, defaultQueryOptions));
|
|
20264
|
+
this.setQueryOptions(this.internalComponent, _extends({}, this.queryOptions, defaultQueryOptions), false);
|
|
20220
20265
|
this.updateQuery({
|
|
20221
20266
|
componentId: this.internalComponent,
|
|
20222
20267
|
query: query,
|
|
@@ -20243,7 +20288,7 @@
|
|
|
20243
20288
|
|
|
20244
20289
|
customQueryOptions = getOptionsFromQuery$1(customQueryTobeSet);
|
|
20245
20290
|
updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
|
|
20246
|
-
this.setQueryOptions(componentId, _extends({}, this.queryOptions, customQueryOptions));
|
|
20291
|
+
this.setQueryOptions(componentId, _extends({}, this.queryOptions, customQueryOptions), false);
|
|
20247
20292
|
}
|
|
20248
20293
|
|
|
20249
20294
|
if (!this.isPending) {
|
|
@@ -21328,7 +21373,7 @@
|
|
|
21328
21373
|
updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
|
|
21329
21374
|
}
|
|
21330
21375
|
|
|
21331
|
-
this.setQueryOptions(this.internalComponent, defaultQueryOptions);
|
|
21376
|
+
this.setQueryOptions(this.internalComponent, defaultQueryOptions, false);
|
|
21332
21377
|
this.updateQuery({
|
|
21333
21378
|
componentId: this.internalComponent,
|
|
21334
21379
|
query: query,
|
|
@@ -21349,7 +21394,7 @@
|
|
|
21349
21394
|
updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
|
|
21350
21395
|
}
|
|
21351
21396
|
|
|
21352
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
21397
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
21353
21398
|
this.updateQuery({
|
|
21354
21399
|
componentId: props.componentId,
|
|
21355
21400
|
query: query,
|
|
@@ -21877,7 +21922,7 @@
|
|
|
21877
21922
|
updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
|
|
21878
21923
|
}
|
|
21879
21924
|
|
|
21880
|
-
this.setQueryOptions(this.internalComponent, defaultQueryOptions);
|
|
21925
|
+
this.setQueryOptions(this.internalComponent, defaultQueryOptions, false);
|
|
21881
21926
|
this.updateQuery({
|
|
21882
21927
|
componentId: this.internalComponent,
|
|
21883
21928
|
query: query,
|
|
@@ -21898,7 +21943,7 @@
|
|
|
21898
21943
|
updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
|
|
21899
21944
|
}
|
|
21900
21945
|
|
|
21901
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
21946
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
21902
21947
|
this.updateQuery({
|
|
21903
21948
|
componentId: props.componentId,
|
|
21904
21949
|
query: query,
|
|
@@ -22702,7 +22747,7 @@
|
|
|
22702
22747
|
updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
|
|
22703
22748
|
}
|
|
22704
22749
|
|
|
22705
|
-
this.setQueryOptions(this.internalComponent, defaultQueryOptions);
|
|
22750
|
+
this.setQueryOptions(this.internalComponent, defaultQueryOptions, false);
|
|
22706
22751
|
this.updateQuery({
|
|
22707
22752
|
componentId: this.internalComponent,
|
|
22708
22753
|
query: query,
|
|
@@ -22723,7 +22768,7 @@
|
|
|
22723
22768
|
updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
|
|
22724
22769
|
}
|
|
22725
22770
|
|
|
22726
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
22771
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
22727
22772
|
this.updateQuery({
|
|
22728
22773
|
componentId: props.componentId,
|
|
22729
22774
|
query: query,
|
|
@@ -23229,7 +23274,7 @@
|
|
|
23229
23274
|
updateDefaultQuery(props.componentId, this.setDefaultQuery, props, value);
|
|
23230
23275
|
}
|
|
23231
23276
|
|
|
23232
|
-
this.setQueryOptions(this.internalComponent, defaultQueryOptions);
|
|
23277
|
+
this.setQueryOptions(this.internalComponent, defaultQueryOptions, false);
|
|
23233
23278
|
this.updateQuery({
|
|
23234
23279
|
componentId: this.internalComponent,
|
|
23235
23280
|
query: query,
|
|
@@ -23250,7 +23295,7 @@
|
|
|
23250
23295
|
updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
|
|
23251
23296
|
}
|
|
23252
23297
|
|
|
23253
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
23298
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
23254
23299
|
this.updateQuery({
|
|
23255
23300
|
componentId: props.componentId,
|
|
23256
23301
|
query: query,
|
|
@@ -23615,7 +23660,7 @@
|
|
|
23615
23660
|
var _ref = customQuery(value, props) || {};
|
|
23616
23661
|
|
|
23617
23662
|
query = _ref.query;
|
|
23618
|
-
this.setQueryOptions(props.componentId, getOptionsFromQuery$6(customQuery(value, props)));
|
|
23663
|
+
this.setQueryOptions(props.componentId, getOptionsFromQuery$6(customQuery(value, props)), false);
|
|
23619
23664
|
updateCustomQuery(props.componentId, this.setCustomQuery, props, value);
|
|
23620
23665
|
}
|
|
23621
23666
|
|
|
@@ -24144,7 +24189,8 @@
|
|
|
24144
24189
|
innerClass: types.style,
|
|
24145
24190
|
showClearAll: VueTypes.bool.def(true),
|
|
24146
24191
|
title: types.title,
|
|
24147
|
-
resetToDefault: VueTypes.bool.def(false)
|
|
24192
|
+
resetToDefault: VueTypes.bool.def(false),
|
|
24193
|
+
resetToValues: VueTypes.object
|
|
24148
24194
|
},
|
|
24149
24195
|
inject: {
|
|
24150
24196
|
theme: {
|
|
@@ -24197,15 +24243,16 @@
|
|
|
24197
24243
|
this.$emit('clear', component, value);
|
|
24198
24244
|
},
|
|
24199
24245
|
clearValues: function clearValues() {
|
|
24200
|
-
var resetToDefault = this.resetToDefault
|
|
24246
|
+
var resetToDefault = this.resetToDefault,
|
|
24247
|
+
resetToValues = this.resetToValues;
|
|
24201
24248
|
|
|
24202
24249
|
if (resetToDefault) {
|
|
24203
24250
|
this.resetValuesToDefault();
|
|
24204
24251
|
} else {
|
|
24205
|
-
this.clearValuesAction();
|
|
24252
|
+
this.clearValuesAction(resetToValues);
|
|
24206
24253
|
}
|
|
24207
24254
|
|
|
24208
|
-
this.$emit('clear',
|
|
24255
|
+
this.$emit('clear', resetToValues);
|
|
24209
24256
|
},
|
|
24210
24257
|
renderValue: function renderValue(value, isArray) {
|
|
24211
24258
|
var _this2 = this;
|
|
@@ -24440,7 +24487,7 @@
|
|
|
24440
24487
|
updateCustomQuery(this.componentId, this.setCustomQuery, this.$props, this.currentValue);
|
|
24441
24488
|
}
|
|
24442
24489
|
|
|
24443
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
24490
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
24444
24491
|
this.updateQuery({
|
|
24445
24492
|
componentId: props.componentId,
|
|
24446
24493
|
query: query,
|
|
@@ -24649,7 +24696,7 @@
|
|
|
24649
24696
|
updateCustomQuery(this.componentId, this.setCustomQuery, this.$props, this.currentValue);
|
|
24650
24697
|
}
|
|
24651
24698
|
|
|
24652
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
24699
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
24653
24700
|
this.updateQuery({
|
|
24654
24701
|
componentId: props.componentId,
|
|
24655
24702
|
query: query,
|
|
@@ -25092,14 +25139,14 @@
|
|
|
25092
25139
|
var vueNoSsr_common = index$2;
|
|
25093
25140
|
|
|
25094
25141
|
var _templateObject$m;
|
|
25095
|
-
var Slider = index$1('div')(_templateObject$m || (_templateObject$m = _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
|
|
25142
|
+
var Slider = index$1('div')(_templateObject$m || (_templateObject$m = _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"])));
|
|
25096
25143
|
|
|
25097
25144
|
/**
|
|
25098
25145
|
* Caution: Please do not change this file without having a discussion with the Team.
|
|
25099
25146
|
* Any change may break the umd build, we're directly replacing the line no: 14
|
|
25100
25147
|
* `
|
|
25101
25148
|
var s = document.createElement("script");
|
|
25102
|
-
s.setAttribute("src","https://cdn.jsdelivr.net/npm/vue-slider-component@2.
|
|
25149
|
+
s.setAttribute("src","https://cdn.jsdelivr.net/npm/vue-slider-component@3.2.15/dist/vue-slider-component.umd.min.js");
|
|
25103
25150
|
s.onload = function(){
|
|
25104
25151
|
var VueSlider = global['vue-slider-component'];
|
|
25105
25152
|
components['vue-slider-component'] = VueSlider;
|
|
@@ -25120,7 +25167,7 @@
|
|
|
25120
25167
|
// eslint-disable-next-line
|
|
25121
25168
|
|
|
25122
25169
|
var s = document.createElement("script");
|
|
25123
|
-
s.setAttribute("src","https://cdn.jsdelivr.net/npm/vue-slider-component@2.
|
|
25170
|
+
s.setAttribute("src","https://cdn.jsdelivr.net/npm/vue-slider-component@3.2.15/dist/vue-slider-component.umd.min.js");
|
|
25124
25171
|
s.onload = function(){
|
|
25125
25172
|
var VueSlider = global$1['vue-slider-component'];
|
|
25126
25173
|
components['vue-slider-component'] = VueSlider;
|
|
@@ -25195,32 +25242,28 @@
|
|
|
25195
25242
|
});
|
|
25196
25243
|
}
|
|
25197
25244
|
},
|
|
25198
|
-
handleSlider: function handleSlider(
|
|
25199
|
-
var
|
|
25200
|
-
|
|
25201
|
-
clearTimeout(this.handleSliderChange._tId);
|
|
25202
|
-
this.handleSliderChange._tId = setTimeout(function () {
|
|
25203
|
-
_this.handleSliderChange(values);
|
|
25204
|
-
}, 100);
|
|
25245
|
+
handleSlider: function handleSlider() {
|
|
25246
|
+
var sliderValues = this.$refs.slider.getValue();
|
|
25247
|
+
this.handleSliderChange(sliderValues);
|
|
25205
25248
|
},
|
|
25206
25249
|
handleChange: function handleChange(currentValue, props) {
|
|
25207
|
-
var
|
|
25250
|
+
var _this = this;
|
|
25208
25251
|
|
|
25209
25252
|
if (props === void 0) {
|
|
25210
25253
|
props = this.$props;
|
|
25211
25254
|
}
|
|
25212
25255
|
|
|
25213
25256
|
var performUpdate = function performUpdate() {
|
|
25214
|
-
|
|
25257
|
+
_this.currentValue = currentValue;
|
|
25215
25258
|
|
|
25216
|
-
|
|
25259
|
+
_this.updateQueryHandler([currentValue[0], currentValue[1]], props);
|
|
25217
25260
|
|
|
25218
|
-
|
|
25261
|
+
_this.$emit('valueChange', {
|
|
25219
25262
|
start: currentValue[0],
|
|
25220
25263
|
end: currentValue[1]
|
|
25221
25264
|
});
|
|
25222
25265
|
|
|
25223
|
-
|
|
25266
|
+
_this.$emit('value-change', {
|
|
25224
25267
|
start: currentValue[0],
|
|
25225
25268
|
end: currentValue[1]
|
|
25226
25269
|
});
|
|
@@ -25252,7 +25295,7 @@
|
|
|
25252
25295
|
currentEnd = value[1]; // check if the slider is at its initial position
|
|
25253
25296
|
|
|
25254
25297
|
var isInitialValue = currentStart === start && currentEnd === end;
|
|
25255
|
-
this.setQueryOptions(props.componentId, customQueryOptions);
|
|
25298
|
+
this.setQueryOptions(props.componentId, customQueryOptions, false);
|
|
25256
25299
|
this.updateQuery({
|
|
25257
25300
|
componentId: props.componentId,
|
|
25258
25301
|
query: query,
|
|
@@ -25331,12 +25374,13 @@
|
|
|
25331
25374
|
"max": this.$props.range.end,
|
|
25332
25375
|
"dotSize": 20,
|
|
25333
25376
|
"height": 4,
|
|
25334
|
-
"enable-cross": false
|
|
25377
|
+
"enable-cross": false,
|
|
25378
|
+
"tooltip": "always"
|
|
25335
25379
|
},
|
|
25336
|
-
"
|
|
25337
|
-
|
|
25338
|
-
|
|
25339
|
-
})
|
|
25380
|
+
"on": {
|
|
25381
|
+
"drag-end": this.handleSlider
|
|
25382
|
+
},
|
|
25383
|
+
"props": _extends({}, this.$props.sliderOptions)
|
|
25340
25384
|
}), this.$props.rangeLabels && h("div", {
|
|
25341
25385
|
"class": "label-container"
|
|
25342
25386
|
}, [h("label", {
|
|
@@ -25579,8 +25623,9 @@
|
|
|
25579
25623
|
aggs: aggs
|
|
25580
25624
|
});
|
|
25581
25625
|
},
|
|
25582
|
-
handleSlider: function handleSlider(
|
|
25583
|
-
this.
|
|
25626
|
+
handleSlider: function handleSlider() {
|
|
25627
|
+
var sliderValues = this.$refs.slider.getValue();
|
|
25628
|
+
this.handleChange(sliderValues);
|
|
25584
25629
|
},
|
|
25585
25630
|
handleChange: function handleChange(currentValue) {
|
|
25586
25631
|
var _this2 = this;
|
|
@@ -25632,7 +25677,7 @@
|
|
|
25632
25677
|
currentEnd = value[1]; // check if the slider is at its initial position
|
|
25633
25678
|
|
|
25634
25679
|
var isInitialValue = currentStart === start && currentEnd === end;
|
|
25635
|
-
this.setQueryOptions(this.$props.componentId, customQueryOptions);
|
|
25680
|
+
this.setQueryOptions(this.$props.componentId, customQueryOptions, false);
|
|
25636
25681
|
this.updateQuery({
|
|
25637
25682
|
componentId: this.$props.componentId,
|
|
25638
25683
|
query: query,
|
|
@@ -25713,13 +25758,15 @@
|
|
|
25713
25758
|
}, [this.$props.title]), h(vueNoSsr_common, [h(Slider, {
|
|
25714
25759
|
"class": getClassName$e(this.$props.innerClass, 'slider')
|
|
25715
25760
|
}, [h("vue-slider-component", {
|
|
25761
|
+
"ref": "slider",
|
|
25716
25762
|
"attrs": {
|
|
25717
25763
|
"value": [Math.max(start, this.currentValue[0]), Math.min(end, this.currentValue[1])],
|
|
25718
25764
|
"min": Math.min(start, this.currentValue[0]),
|
|
25719
25765
|
"max": Math.max(end, this.currentValue[1]),
|
|
25720
25766
|
"dotSize": 20,
|
|
25721
25767
|
"height": 4,
|
|
25722
|
-
"enable-cross": false
|
|
25768
|
+
"enable-cross": false,
|
|
25769
|
+
"tooltip": "always"
|
|
25723
25770
|
},
|
|
25724
25771
|
"on": {
|
|
25725
25772
|
"drag-end": this.handleSlider
|
|
@@ -25821,6 +25868,10 @@
|
|
|
25821
25868
|
var defaultKeys = ['hits', 'value', 'aggregations', 'error'];
|
|
25822
25869
|
|
|
25823
25870
|
var filterProps = function filterProps(props) {
|
|
25871
|
+
if (props === void 0) {
|
|
25872
|
+
props = {};
|
|
25873
|
+
}
|
|
25874
|
+
|
|
25824
25875
|
return _extends({}, props, {
|
|
25825
25876
|
props: props.componentProps
|
|
25826
25877
|
});
|
|
@@ -25840,7 +25891,7 @@
|
|
|
25840
25891
|
return _ref = {}, _ref[componentIds] = state[componentIds], _ref;
|
|
25841
25892
|
}
|
|
25842
25893
|
|
|
25843
|
-
if (componentIds
|
|
25894
|
+
if (Array.isArray(componentIds)) {
|
|
25844
25895
|
var filteredState = {};
|
|
25845
25896
|
componentIds.forEach(function (componentId) {
|
|
25846
25897
|
filteredState[componentId] = state[componentId];
|
|
@@ -25879,7 +25930,7 @@
|
|
|
25879
25930
|
};
|
|
25880
25931
|
return this.__state;
|
|
25881
25932
|
},
|
|
25882
|
-
|
|
25933
|
+
created: function created() {
|
|
25883
25934
|
this.searchState = filterByKeys(getSearchState(filterProps(this.searchStateProps)), this.includeKeys);
|
|
25884
25935
|
},
|
|
25885
25936
|
computed: {
|
|
@@ -26204,7 +26255,7 @@
|
|
|
26204
26255
|
var react = component.react;
|
|
26205
26256
|
|
|
26206
26257
|
if (isInternalComponentPresent || isResultComponent) {
|
|
26207
|
-
react =
|
|
26258
|
+
react = helper_22(react, internalComponent);
|
|
26208
26259
|
}
|
|
26209
26260
|
|
|
26210
26261
|
dependencyTree = dependencyTreeReducer(dependencyTree, {
|
|
@@ -26250,7 +26301,7 @@
|
|
|
26250
26301
|
|
|
26251
26302
|
componentCollection.forEach(function (component) {
|
|
26252
26303
|
// eslint-disable-next-line
|
|
26253
|
-
var _buildQuery =
|
|
26304
|
+
var _buildQuery = helper_21(component.componentId, dependencyTree, queryList, queryOptions),
|
|
26254
26305
|
queryObj = _buildQuery.queryObj,
|
|
26255
26306
|
options = _buildQuery.options;
|
|
26256
26307
|
|
|
@@ -26459,7 +26510,7 @@
|
|
|
26459
26510
|
});
|
|
26460
26511
|
}
|
|
26461
26512
|
|
|
26462
|
-
var version = "1.
|
|
26513
|
+
var version = "1.26.0";
|
|
26463
26514
|
|
|
26464
26515
|
var _templateObject$n, _templateObject2$a;
|
|
26465
26516
|
|
|
@@ -26581,7 +26632,7 @@
|
|
|
26581
26632
|
}
|
|
26582
26633
|
},
|
|
26583
26634
|
handleOnChange: function handleOnChange(value) {
|
|
26584
|
-
this.handleChange(value, 'change');
|
|
26635
|
+
this.handleChange(value || this.$props.range, 'change');
|
|
26585
26636
|
},
|
|
26586
26637
|
handleValueChange: function handleValueChange(value) {
|
|
26587
26638
|
this.handleChange(value, 'value-change');
|