@socotra/ec-react-components 2.25.2-next.2 → 2.25.3-next.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/index.es.js +7 -13
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -68252,27 +68252,21 @@ const R$t = Mo(
|
|
|
68252
68252
|
getEvaluatedConstraints: e,
|
|
68253
68253
|
enabled: t = !0
|
|
68254
68254
|
}) => {
|
|
68255
|
-
const [r, n] = Qe(!1), [a, i] = Qe(void 0);
|
|
68255
|
+
const [r, n] = Qe(!1), [a, i] = Qe(void 0), [u, d] = Qe(!1);
|
|
68256
68256
|
return St(() => {
|
|
68257
68257
|
(async () => {
|
|
68258
|
-
if (
|
|
68259
|
-
|
|
68260
|
-
|
|
68261
|
-
|
|
68262
|
-
i(h), n(!1);
|
|
68258
|
+
if (u || !e || !t) return;
|
|
68259
|
+
d(!0), n(!0);
|
|
68260
|
+
const b = await e();
|
|
68261
|
+
i(b), n(!1);
|
|
68263
68262
|
})();
|
|
68264
|
-
}, [
|
|
68265
|
-
t,
|
|
68266
|
-
a,
|
|
68267
|
-
e,
|
|
68268
|
-
i
|
|
68269
|
-
]), {
|
|
68263
|
+
}, [t, e, u]), {
|
|
68270
68264
|
isFetchingEvaluatedConstraints: r,
|
|
68271
68265
|
setIsFetchingEvaluatedConstraints: n,
|
|
68272
68266
|
evaluatedConstraints: a,
|
|
68273
68267
|
setEvaluatedConstraints: i,
|
|
68274
68268
|
handleRefetchEvaluatedConstraints: () => {
|
|
68275
|
-
|
|
68269
|
+
d(!1);
|
|
68276
68270
|
}
|
|
68277
68271
|
};
|
|
68278
68272
|
};
|