react-instantsearch-core 7.19.0 → 7.20.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/cjs/version.js +1 -1
- package/dist/es/version.d.ts +1 -1
- package/dist/es/version.js +1 -1
- package/dist/umd/ReactInstantSearchCore.js +12 -8
- package/dist/umd/ReactInstantSearchCore.js.map +1 -1
- package/dist/umd/ReactInstantSearchCore.min.js +1 -1
- package/dist/umd/ReactInstantSearchCore.min.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/version.js
CHANGED
package/dist/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.
|
|
1
|
+
declare const _default: "7.20.0";
|
|
2
2
|
export default _default;
|
package/dist/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '7.
|
|
1
|
+
export default '7.20.0';
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
var React__default = 'default' in React ? React['default'] : React;
|
|
9
9
|
|
|
10
|
-
var version = '7.
|
|
10
|
+
var version = '7.20.0';
|
|
11
11
|
|
|
12
12
|
function _arrayLikeToArray(r, a) {
|
|
13
13
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -10063,6 +10063,12 @@
|
|
|
10063
10063
|
helper: helper
|
|
10064
10064
|
})));
|
|
10065
10065
|
},
|
|
10066
|
+
scheduleLocalSearch: defer(function () {
|
|
10067
|
+
if (isolated) {
|
|
10068
|
+
var _helper2;
|
|
10069
|
+
(_helper2 = helper) === null || _helper2 === void 0 ? void 0 : _helper2.search();
|
|
10070
|
+
}
|
|
10071
|
+
}),
|
|
10066
10072
|
getWidgets: function getWidgets() {
|
|
10067
10073
|
return localWidgets;
|
|
10068
10074
|
},
|
|
@@ -10128,8 +10134,7 @@
|
|
|
10128
10134
|
}
|
|
10129
10135
|
});
|
|
10130
10136
|
if (isolated) {
|
|
10131
|
-
|
|
10132
|
-
(_helper2 = helper) === null || _helper2 === void 0 ? void 0 : _helper2.search();
|
|
10137
|
+
this.scheduleLocalSearch();
|
|
10133
10138
|
} else {
|
|
10134
10139
|
localInstantSearchInstance.scheduleSearch();
|
|
10135
10140
|
}
|
|
@@ -10208,8 +10213,7 @@
|
|
|
10208
10213
|
helper.recommendState = cleanedRecommendState;
|
|
10209
10214
|
if (localWidgets.length) {
|
|
10210
10215
|
if (isolated) {
|
|
10211
|
-
|
|
10212
|
-
(_helper3 = helper) === null || _helper3 === void 0 ? void 0 : _helper3.search();
|
|
10216
|
+
this.scheduleLocalSearch();
|
|
10213
10217
|
} else {
|
|
10214
10218
|
localInstantSearchInstance.scheduleSearch();
|
|
10215
10219
|
}
|
|
@@ -10453,7 +10457,7 @@
|
|
|
10453
10457
|
},
|
|
10454
10458
|
dispose: function dispose() {
|
|
10455
10459
|
var _this5 = this,
|
|
10456
|
-
|
|
10460
|
+
_helper3,
|
|
10457
10461
|
_derivedHelper3;
|
|
10458
10462
|
localWidgets.forEach(function (widget) {
|
|
10459
10463
|
if (widget.dispose && helper) {
|
|
@@ -10473,7 +10477,7 @@
|
|
|
10473
10477
|
});
|
|
10474
10478
|
localInstantSearchInstance = null;
|
|
10475
10479
|
localParent = null;
|
|
10476
|
-
(
|
|
10480
|
+
(_helper3 = helper) === null || _helper3 === void 0 ? void 0 : _helper3.removeAllListeners();
|
|
10477
10481
|
helper = null;
|
|
10478
10482
|
(_derivedHelper3 = derivedHelper) === null || _derivedHelper3 === void 0 ? void 0 : _derivedHelper3.detach();
|
|
10479
10483
|
derivedHelper = null;
|
|
@@ -12825,7 +12829,7 @@
|
|
|
12825
12829
|
};
|
|
12826
12830
|
}
|
|
12827
12831
|
|
|
12828
|
-
var version$2 = '4.
|
|
12832
|
+
var version$2 = '4.84.0';
|
|
12829
12833
|
|
|
12830
12834
|
function _typeof$l(o) {
|
|
12831
12835
|
"@babel/helpers - typeof";
|