jaml-ui 2.2.0 → 2.2.1
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.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22643,7 +22643,7 @@ function nE({ seeds: e = [], value: t, onChange: n, onCopy: r, editable: i = !1,
|
|
|
22643
22643
|
//#endregion
|
|
22644
22644
|
//#region src/components/Jamlyzer.tsx
|
|
22645
22645
|
function rE(e) {
|
|
22646
|
-
return
|
|
22646
|
+
return e.hit;
|
|
22647
22647
|
}
|
|
22648
22648
|
function iE(e) {
|
|
22649
22649
|
let t = vt[e];
|
|
@@ -22710,6 +22710,7 @@ function lE({ jaml: e, className: t = "", style: n }) {
|
|
|
22710
22710
|
let t = c.get(e);
|
|
22711
22711
|
return {
|
|
22712
22712
|
seed: e,
|
|
22713
|
+
hit: c.has(e),
|
|
22713
22714
|
score: t?.score ?? 0,
|
|
22714
22715
|
tallies: t ? Array.from(t.tallies) : [],
|
|
22715
22716
|
analysis: k.jamlyze(e, r.deck, r.stake)
|
|
@@ -24140,7 +24141,7 @@ function lD() {
|
|
|
24140
24141
|
i(), t({
|
|
24141
24142
|
...sD,
|
|
24142
24143
|
status: "running"
|
|
24143
|
-
});
|
|
24144
|
+
}), await new Promise((e) => setTimeout(e, 0));
|
|
24144
24145
|
let c = (e) => {
|
|
24145
24146
|
t((t) => ({
|
|
24146
24147
|
...t,
|
|
@@ -24163,7 +24164,7 @@ function lD() {
|
|
|
24163
24164
|
};
|
|
24164
24165
|
k.onProgress.subscribe(l), r.current = () => {
|
|
24165
24166
|
k.onScoredResult.unsubscribe(c), k.onProgress.unsubscribe(l);
|
|
24166
|
-
}, o.predicate && (at(o.predicate), k.jimmolateEnabled = !0)
|
|
24167
|
+
}, o.predicate && (at(o.predicate), k.jimmolateEnabled = !0);
|
|
24167
24168
|
try {
|
|
24168
24169
|
let r = cD(e, a, o);
|
|
24169
24170
|
n.current = r, t((e) => ({
|
|
@@ -24248,7 +24249,7 @@ function hD(e, t) {
|
|
|
24248
24249
|
return n;
|
|
24249
24250
|
}
|
|
24250
24251
|
function gD(e, t) {
|
|
24251
|
-
let n = 35n ** BigInt(e), r = n / BigInt(t), i = n - r * BigInt(t), a = [], o = 0n;
|
|
24252
|
+
let n = 35n ** BigInt(8 - e), r = n / BigInt(t), i = n - r * BigInt(t), a = [], o = 0n;
|
|
24252
24253
|
for (let e = 0; e < t; e++) {
|
|
24253
24254
|
let t = r + (BigInt(e) < i ? 1n : 0n);
|
|
24254
24255
|
a.push({
|