@ahoo-wang/wow-view-engine 9.7.0 → 9.8.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/{actions-HgK33Jzg.js → actions-DDwX_NYM.js} +43 -104
- package/dist/{actions-HgK33Jzg.js.map → actions-DDwX_NYM.js.map} +1 -1
- package/dist/{clickDraft-CLkSgQNG.js → clickDraft-DVzI9buA.js} +2 -2
- package/dist/{clickDraft-CLkSgQNG.js.map → clickDraft-DVzI9buA.js.map} +1 -1
- package/dist/index.js +7 -11
- package/dist/index.js.map +1 -1
- package/dist/{react-2oicrdUx.js → react-Bk_WxJCP.js} +45 -99
- package/dist/{react-2oicrdUx.js.map → react-Bk_WxJCP.js.map} +1 -1
- package/dist/react.js +2 -2
- package/dist/testing.js +1 -1
- package/dist/ui.js +32 -108
- package/dist/ui.js.map +1 -1
- package/dist/{viewRuntimeTypes-JEPw0nsg.js → viewRuntimeTypes-DSFYiS5g.js} +28 -73
- package/dist/{viewRuntimeTypes-JEPw0nsg.js.map → viewRuntimeTypes-DSFYiS5g.js.map} +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $r as e, Aa as t, Ai as n, Bn as r, E as i, Ea as a, Er as o, Fa as s, Gr as c, Hs as l, Ht as u, Ir as d, La as f, Ma as p, Na as m, No as h, Oa as g, On as _, Pa as v, Qi as y, R as b, Ra as x, Ri as S, Rr as C, Rs as w, Sa as T, Ti as E, Ua as D, Un as O, Uo as k, Ur as A, Vn as j, Vo as M, Wa as N, Wn as P, Wo as F, X as I, Yo as L, Zo as R, _ as z, a as B, an as V, ao as H, ba as U, bn as W, c as ee, ca as te, cr as ne, d as G, dn as re, do as K, es as ie, et as ae, f as q, g as J, ga as oe, gn as se, gs as ce, h as le, ha as ue, i as de, is as fe, ja as Y, ji as pe, jn as me, k as he, ka as ge, kn as _e, l as ve, la as ye, ln as be, m as xe, n as Se, o as Ce, p as we, pa as Te, po as Ee, q as De, r as Oe, rs as ke, sr as Ae, t as je, tt as Me, u as Ne, ua as Pe, un as Fe, vn as Ie, xn as Le, zs as Re } from "./actions-
|
|
2
|
-
import { Bt as ze, Dt as Be, Et as Ve, Ft as He, It as Ue, Jt as We, Lt as Ge, Mt as Ke, Nt as qe, Ot as Je, Pt as Ye, Rt as Xe, S as Ze, St as Qe, Tt as $e, Vt as et, Wt as tt, Xt as nt, _t as rt, bt as it, c as at, d as ot, dn as st, en as ct, f as lt, g as ut, gn as dt, h as ft, hn as pt, ht as mt, jt as ht, kt as gt, l as _t, ln as vt, m as yt, mn as bt, n as xt, nn as St, p as Ct, pn as wt, r as Tt, t as Et, u as Dt, un as Ot, v as kt, wt as At, x as jt, xt as Mt, y as Nt, yn as Pt, yt as Ft, zt as It } from "./viewRuntimeTypes-
|
|
1
|
+
import { $r as e, Aa as t, Ai as n, Bn as r, E as i, Ea as a, Er as o, Fa as s, Gr as c, Hs as l, Ht as u, Ir as d, La as f, Ma as p, Na as m, No as h, Oa as g, On as _, Pa as v, Qi as y, R as b, Ra as x, Ri as S, Rr as C, Rs as w, Sa as T, Ti as E, Ua as D, Un as O, Uo as k, Ur as A, Vn as j, Vo as M, Wa as N, Wn as P, Wo as F, X as I, Yo as L, Zo as R, _ as z, a as B, an as V, ao as H, ba as U, bn as W, c as ee, ca as te, cr as ne, d as G, dn as re, do as K, es as ie, et as ae, f as q, g as J, ga as oe, gn as se, gs as ce, h as le, ha as ue, i as de, is as fe, ja as Y, ji as pe, jn as me, k as he, ka as ge, kn as _e, l as ve, la as ye, ln as be, m as xe, n as Se, o as Ce, p as we, pa as Te, po as Ee, q as De, r as Oe, rs as ke, sr as Ae, t as je, tt as Me, u as Ne, ua as Pe, un as Fe, vn as Ie, xn as Le, zs as Re } from "./actions-DDwX_NYM.js";
|
|
2
|
+
import { Bt as ze, Dt as Be, Et as Ve, Ft as He, It as Ue, Jt as We, Lt as Ge, Mt as Ke, Nt as qe, Ot as Je, Pt as Ye, Rt as Xe, S as Ze, St as Qe, Tt as $e, Vt as et, Wt as tt, Xt as nt, _t as rt, bt as it, c as at, d as ot, dn as st, en as ct, f as lt, g as ut, gn as dt, h as ft, hn as pt, ht as mt, jt as ht, kt as gt, l as _t, ln as vt, m as yt, mn as bt, n as xt, nn as St, p as Ct, pn as wt, r as Tt, t as Et, u as Dt, un as Ot, v as kt, wt as At, x as jt, xt as Mt, y as Nt, yn as Pt, yt as Ft, zt as It } from "./viewRuntimeTypes-DSFYiS5g.js";
|
|
3
3
|
import { dequal as Lt } from "dequal";
|
|
4
4
|
import { c as X } from "react/compiler-runtime";
|
|
5
5
|
import { useCallback as Z, useEffect as Q, useMemo as Rt, useRef as zt, useState as $, useSyncExternalStore as Bt } from "react";
|
|
@@ -352,9 +352,7 @@ function en(e, t, n) {
|
|
|
352
352
|
if (t === s) continue;
|
|
353
353
|
let e = $t(n) ? 1 : rn(s ?? Qt, t ?? Qt);
|
|
354
354
|
e > 0 && (i = !0), r += e;
|
|
355
|
-
|
|
356
|
-
}
|
|
357
|
-
Lt(t, s) || (r += 1);
|
|
355
|
+
} else Lt(t, s) || (r += 1);
|
|
358
356
|
}
|
|
359
357
|
return {
|
|
360
358
|
pending: r > 0,
|
|
@@ -444,17 +442,13 @@ function pn(e, t, n, r) {
|
|
|
444
442
|
...i,
|
|
445
443
|
scopeFilter: u.current
|
|
446
444
|
}).then((i) => {
|
|
447
|
-
|
|
448
|
-
e.close(i);
|
|
449
|
-
return;
|
|
450
|
-
}
|
|
451
|
-
n = i, s({
|
|
445
|
+
r ? e.close(i) : (n = i, s({
|
|
452
446
|
engine: e,
|
|
453
447
|
instanceId: t,
|
|
454
448
|
runtime: i,
|
|
455
449
|
error: null,
|
|
456
450
|
attempt: c.attempt
|
|
457
|
-
});
|
|
451
|
+
}));
|
|
458
452
|
}, (n) => {
|
|
459
453
|
r || s({
|
|
460
454
|
engine: e,
|
|
@@ -961,13 +955,7 @@ function In(e) {
|
|
|
961
955
|
}
|
|
962
956
|
let l;
|
|
963
957
|
t[14] === e ? l = t[15] : (l = (t) => {
|
|
964
|
-
|
|
965
|
-
if (e.kind === "dashboard") {
|
|
966
|
-
e.setRefreshInterval(t);
|
|
967
|
-
return;
|
|
968
|
-
}
|
|
969
|
-
e.edit({ refresh: { interval: t } }), e.apply();
|
|
970
|
-
}
|
|
958
|
+
e && (e.kind === "dashboard" ? e.setRefreshInterval(t) : (e.edit({ refresh: { interval: t } }), e.apply()));
|
|
971
959
|
}, t[14] = e, t[15] = l);
|
|
972
960
|
let u = l, d;
|
|
973
961
|
t[16] === e ? d = t[17] : (d = () => e?.refresh(), t[16] = e, t[17] = d);
|
|
@@ -1156,16 +1144,10 @@ function Kn(e = {}) {
|
|
|
1156
1144
|
Promise.all(w).finally(C);
|
|
1157
1145
|
}, [t]),
|
|
1158
1146
|
stop: Z(() => {
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
}
|
|
1164
|
-
c.current = !0, i((e) => e && {
|
|
1165
|
-
...e,
|
|
1166
|
-
stopping: !0
|
|
1167
|
-
});
|
|
1168
|
-
}
|
|
1147
|
+
s.current && (c.current ? l.current?.() : (c.current = !0, i((e) => e && {
|
|
1148
|
+
...e,
|
|
1149
|
+
stopping: !0
|
|
1150
|
+
})));
|
|
1169
1151
|
}, []),
|
|
1170
1152
|
running: r,
|
|
1171
1153
|
outcome: a,
|
|
@@ -1875,14 +1857,10 @@ function Br(e) {
|
|
|
1875
1857
|
}));
|
|
1876
1858
|
},
|
|
1877
1859
|
updateGroup(e, t) {
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
});
|
|
1883
|
-
return;
|
|
1884
|
-
}
|
|
1885
|
-
l((n) => v(n, e, (e) => "children" in e ? {
|
|
1860
|
+
e.length === 0 ? l((e) => e.op === t ? e : {
|
|
1861
|
+
...e,
|
|
1862
|
+
op: t
|
|
1863
|
+
}) : l((n) => v(n, e, (e) => "children" in e ? {
|
|
1886
1864
|
...e,
|
|
1887
1865
|
op: t
|
|
1888
1866
|
} : e));
|
|
@@ -2092,9 +2070,7 @@ function Jr(e, t, n) {
|
|
|
2092
2070
|
rows: e.length,
|
|
2093
2071
|
capped: !1
|
|
2094
2072
|
}, r);
|
|
2095
|
-
|
|
2096
|
-
}
|
|
2097
|
-
m(e, u?.mode === "paged" ? u.total ?? null : null, r);
|
|
2073
|
+
} else m(e, u?.mode === "paged" ? u.total ?? null : null, r);
|
|
2098
2074
|
}
|
|
2099
2075
|
}, [
|
|
2100
2076
|
m,
|
|
@@ -2377,13 +2353,7 @@ function xi(t) {
|
|
|
2377
2353
|
}, n[90] = F, n[91] = t, n[92] = qe) : qe = n[92];
|
|
2378
2354
|
let Je = qe, Ye;
|
|
2379
2355
|
n[93] !== L || n[94] !== F || n[95] !== t ? (Ye = () => {
|
|
2380
|
-
|
|
2381
|
-
if (F.mode === "cursor") {
|
|
2382
|
-
t.page({ cursor: F.nextCursor });
|
|
2383
|
-
return;
|
|
2384
|
-
}
|
|
2385
|
-
t.page({ index: F.index + 1 });
|
|
2386
|
-
}
|
|
2356
|
+
t && F && L && (F.mode === "cursor" ? t.page({ cursor: F.nextCursor }) : t.page({ index: F.index + 1 }));
|
|
2387
2357
|
}, n[93] = L, n[94] = F, n[95] = t, n[96] = Ye) : Ye = n[96];
|
|
2388
2358
|
let Xe = Ye, Ze;
|
|
2389
2359
|
n[97] !== F || n[98] !== t ? (Ze = () => {
|
|
@@ -3205,17 +3175,7 @@ function ya(e) {
|
|
|
3205
3175
|
let e = l.current;
|
|
3206
3176
|
l.current = n;
|
|
3207
3177
|
let t = d.current;
|
|
3208
|
-
|
|
3209
|
-
if ((n === void 0 ? u.current : n) === r) {
|
|
3210
|
-
u.current = r;
|
|
3211
|
-
return;
|
|
3212
|
-
}
|
|
3213
|
-
if (n !== void 0 && n !== e) {
|
|
3214
|
-
u.current = n, (c === t || c?.kind !== "view" || c.instanceId !== n) && i(n);
|
|
3215
|
-
return;
|
|
3216
|
-
}
|
|
3217
|
-
u.current !== r && (u.current = r, o?.(r));
|
|
3218
|
-
}
|
|
3178
|
+
d.current = c, !a && ((n === void 0 ? u.current : n) === r ? u.current = r : n !== void 0 && n !== e ? (u.current = n, (c === t || c?.kind !== "view" || c.instanceId !== n) && i(n)) : u.current !== r && (u.current = r, o?.(r)));
|
|
3219
3179
|
}, p = [
|
|
3220
3180
|
a,
|
|
3221
3181
|
r,
|
|
@@ -3312,33 +3272,23 @@ function ka(e, t) {
|
|
|
3312
3272
|
}, d = [], n[0] = u, n[1] = d) : (u = n[0], d = n[1]), Q(u, d);
|
|
3313
3273
|
let f, p;
|
|
3314
3274
|
n[2] !== i || n[3] !== r || n[4] !== e || n[5] !== s || n[6] !== a || n[7] !== c || n[8] !== o ? (f = () => {
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
o(() => c(e));
|
|
3322
|
-
return;
|
|
3323
|
-
}
|
|
3324
|
-
a.includes(e.config.kind) && o(() => {
|
|
3325
|
-
let t = r.create(i, {
|
|
3326
|
-
title: e.title,
|
|
3327
|
-
scope: "personal",
|
|
3328
|
-
config: e.config,
|
|
3329
|
-
scopeFilter: e.scopeFilter
|
|
3330
|
-
});
|
|
3331
|
-
s({
|
|
3332
|
-
runtime: t,
|
|
3333
|
-
draft: t.getSnapshot().draft,
|
|
3334
|
-
origin: null,
|
|
3335
|
-
from: null,
|
|
3336
|
-
handed: !0,
|
|
3337
|
-
...e.named ? { named: e.named } : {},
|
|
3338
|
-
...e.from ? { board: e.from } : {}
|
|
3339
|
-
});
|
|
3275
|
+
e ? l.current !== e && (l.current = e, e.kind === "view" ? o(() => c(e)) : a.includes(e.config.kind) && o(() => {
|
|
3276
|
+
let t = r.create(i, {
|
|
3277
|
+
title: e.title,
|
|
3278
|
+
scope: "personal",
|
|
3279
|
+
config: e.config,
|
|
3280
|
+
scopeFilter: e.scopeFilter
|
|
3340
3281
|
});
|
|
3341
|
-
|
|
3282
|
+
s({
|
|
3283
|
+
runtime: t,
|
|
3284
|
+
draft: t.getSnapshot().draft,
|
|
3285
|
+
origin: null,
|
|
3286
|
+
from: null,
|
|
3287
|
+
handed: !0,
|
|
3288
|
+
...e.named ? { named: e.named } : {},
|
|
3289
|
+
...e.from ? { board: e.from } : {}
|
|
3290
|
+
});
|
|
3291
|
+
})) : l.current = null;
|
|
3342
3292
|
}, p = [
|
|
3343
3293
|
e,
|
|
3344
3294
|
a,
|
|
@@ -3569,21 +3519,17 @@ function Fa(e, t, n) {
|
|
|
3569
3519
|
...st(Y, e.limits),
|
|
3570
3520
|
filter: It(V.applied.filter, n)
|
|
3571
3521
|
});
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
});
|
|
3584
|
-
return;
|
|
3585
|
-
}
|
|
3586
|
-
be(a, r, n, i);
|
|
3522
|
+
c ? c({
|
|
3523
|
+
definitionId: t,
|
|
3524
|
+
origin: {
|
|
3525
|
+
runtime: L,
|
|
3526
|
+
title: V.title,
|
|
3527
|
+
conditions: n
|
|
3528
|
+
},
|
|
3529
|
+
title: r,
|
|
3530
|
+
config: a,
|
|
3531
|
+
scopeFilter: L.scopeFilter
|
|
3532
|
+
}) : be(a, r, n, i);
|
|
3587
3533
|
}, r[83] = Se, r[84] = Y, r[85] = t, r[86] = e.limits, r[87] = be, r[88] = c, r[89] = L, r[90] = V, r[91] = Ce) : Ce = r[91];
|
|
3588
3534
|
let we = Ce, Te;
|
|
3589
3535
|
r[92] !== w || r[93] !== J ? (Te = () => {
|
|
@@ -3669,4 +3615,4 @@ function za(e, t) {
|
|
|
3669
3615
|
//#endregion
|
|
3670
3616
|
export { Tn as A, sr as C, qn as D, Zn as E, cn as F, nn as I, Gt as L, ln as M, pn as N, In as O, sn as P, Wt as R, yr as S, Qn as T, Jr as _, Oa as a, Fr as b, ma as c, qi as d, Yi as f, si as g, xi as h, Ma as i, yn as j, Bn as k, na as l, Ii as m, ka as n, Ca as o, Ui as p, Aa as r, ya as s, Fa as t, ea as u, Gr as v, er as w, br as x, Br as y, Ut as z };
|
|
3671
3617
|
|
|
3672
|
-
//# sourceMappingURL=react-
|
|
3618
|
+
//# sourceMappingURL=react-Bk_WxJCP.js.map
|