aoi-comp 1.0.9 → 1.0.11

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.
@@ -1,4 +1,4 @@
1
- import { V as e, u as t } from "./Geometry-BM7su788.js";
1
+ import { V as e, u as t } from "./Geometry-yirqXUbT.js";
2
2
  //#region node_modules/.pnpm/pixi.js@8.20.1/node_modules/pixi.js/lib/rendering/batcher/gpu/getTextureBatchBindGroup.mjs
3
3
  var n = {};
4
4
  function r(e, t, r) {
@@ -0,0 +1,562 @@
1
+ import { $ as e, B as t, D as n, I as r, J as i, O as a, T as o, X as s, _t as c, b as l, c as u, d, ft as f, ht as p, it as m, p as h, q as g, rt as _, s as v, t as y, tt as b, y as x, z as S } from "./packages-DtEpsTpy.js";
2
+ import { message as C } from "antd";
3
+ import { createContext as w, use as T, useCallback as E, useContext as D, useEffect as O, useMemo as k, useRef as A, useState as j } from "react";
4
+ //#region node_modules/.pnpm/react-i18next@17.0.13_i18ne_77b937ecedfb676debf3096b5685165d/node_modules/react-i18next/dist/es/utils.js
5
+ var M = (e, t, n, r) => {
6
+ let i = [n, {
7
+ code: t,
8
+ ...r || {}
9
+ }];
10
+ if (e?.services?.logger?.forward) return e.services.logger.forward(i, "warn", "react-i18next::", !0);
11
+ z(i[0]) && (i[0] = `react-i18next:: ${i[0]}`), e?.services?.logger?.warn ? e.services.logger.warn(...i) : console?.warn && console.warn(...i);
12
+ }, N = {}, P = (e, t, n, r) => {
13
+ z(n) && N[n] || (z(n) && (N[n] = /* @__PURE__ */ new Date()), M(e, t, n, r));
14
+ }, F = (e, t) => () => {
15
+ if (e.isInitialized) t();
16
+ else {
17
+ let n = () => {
18
+ setTimeout(() => {
19
+ e.off("initialized", n);
20
+ }, 0), t();
21
+ };
22
+ e.on("initialized", n);
23
+ }
24
+ }, I = (e, t, n) => {
25
+ e.loadNamespaces(t, F(e, n));
26
+ }, L = (e, t, n, r) => {
27
+ if (z(n) && (n = [n]), e.options.preload && e.options.preload.indexOf(t) > -1) return I(e, n, r);
28
+ n.forEach((t) => {
29
+ e.options.ns.indexOf(t) < 0 && e.options.ns.push(t);
30
+ }), e.loadLanguages(t, F(e, r));
31
+ }, R = (e, t, n = {}) => !t.languages || !t.languages.length ? (P(t, "NO_LANGUAGES", "i18n.languages were undefined or empty", { languages: t.languages }), !0) : t.hasLoadedNamespace(e, {
32
+ lng: n.lng,
33
+ precheck: (t, r) => {
34
+ if (n.bindI18n && n.bindI18n.indexOf("languageChanging") > -1 && t.services.backendConnector.backend && t.isLanguageChangingTo && !r(t.isLanguageChangingTo, e)) return !1;
35
+ }
36
+ }), z = (e) => typeof e == "string", B = (e) => typeof e == "object" && !!e, V = w(), H = class {
37
+ constructor() {
38
+ this.usedNamespaces = {};
39
+ }
40
+ addUsedNamespaces(e) {
41
+ e.forEach((e) => {
42
+ this.usedNamespaces[e] || (this.usedNamespaces[e] = !0);
43
+ });
44
+ }
45
+ getUsedNamespaces() {
46
+ return Object.keys(this.usedNamespaces);
47
+ }
48
+ }, U = /* @__PURE__ */ p(((e) => {
49
+ var t = c("react");
50
+ function n(e, t) {
51
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
52
+ }
53
+ var r = typeof Object.is == "function" ? Object.is : n, i = t.useState, a = t.useEffect, o = t.useLayoutEffect, s = t.useDebugValue;
54
+ function l(e, t) {
55
+ var n = t(), r = i({ inst: {
56
+ value: n,
57
+ getSnapshot: t
58
+ } }), c = r[0].inst, l = r[1];
59
+ return o(function() {
60
+ c.value = n, c.getSnapshot = t, u(c) && l({ inst: c });
61
+ }, [
62
+ e,
63
+ n,
64
+ t
65
+ ]), a(function() {
66
+ return u(c) && l({ inst: c }), e(function() {
67
+ u(c) && l({ inst: c });
68
+ });
69
+ }, [e]), s(n), n;
70
+ }
71
+ function u(e) {
72
+ var t = e.getSnapshot;
73
+ e = e.value;
74
+ try {
75
+ var n = t();
76
+ return !r(e, n);
77
+ } catch {
78
+ return !0;
79
+ }
80
+ }
81
+ function d(e, t) {
82
+ return t();
83
+ }
84
+ var f = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? d : l;
85
+ e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? f : t.useSyncExternalStore;
86
+ })), W = /* @__PURE__ */ p(((e) => {
87
+ process.env.NODE_ENV !== "production" && (function() {
88
+ function t(e, t) {
89
+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
90
+ }
91
+ function n(e, t) {
92
+ f || a.startTransition === void 0 || (f = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
93
+ var n = t();
94
+ if (!p) {
95
+ var i = t();
96
+ o(n, i) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), p = !0);
97
+ }
98
+ i = s({ inst: {
99
+ value: n,
100
+ getSnapshot: t
101
+ } });
102
+ var c = i[0].inst, m = i[1];
103
+ return u(function() {
104
+ c.value = n, c.getSnapshot = t, r(c) && m({ inst: c });
105
+ }, [
106
+ e,
107
+ n,
108
+ t
109
+ ]), l(function() {
110
+ return r(c) && m({ inst: c }), e(function() {
111
+ r(c) && m({ inst: c });
112
+ });
113
+ }, [e]), d(n), n;
114
+ }
115
+ function r(e) {
116
+ var t = e.getSnapshot;
117
+ e = e.value;
118
+ try {
119
+ var n = t();
120
+ return !o(e, n);
121
+ } catch {
122
+ return !0;
123
+ }
124
+ }
125
+ function i(e, t) {
126
+ return t();
127
+ }
128
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
129
+ var a = c("react"), o = typeof Object.is == "function" ? Object.is : t, s = a.useState, l = a.useEffect, u = a.useLayoutEffect, d = a.useDebugValue, f = !1, p = !1, m = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? i : n;
130
+ e.useSyncExternalStore = a.useSyncExternalStore === void 0 ? m : a.useSyncExternalStore, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
131
+ })();
132
+ })), G = (/* @__PURE__ */ p(((e, t) => {
133
+ t.exports = process.env.NODE_ENV === "production" ? U() : W();
134
+ })))(), K = {
135
+ t: (e, t) => {
136
+ if (z(t)) return t;
137
+ if (B(t) && z(t.defaultValue)) return t.defaultValue;
138
+ if (typeof e == "function") return "";
139
+ if (Array.isArray(e)) {
140
+ let t = e[e.length - 1];
141
+ return typeof t == "function" ? "" : t;
142
+ }
143
+ return e;
144
+ },
145
+ ready: !1
146
+ }, q = () => () => {}, J = (e, t = {}) => {
147
+ let { i18n: n } = t, { i18n: r, defaultNS: i } = D(V) || {}, a = n || r || _();
148
+ a && !a.reportNamespaces && (a.reportNamespaces = new H()), a || P(a, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.");
149
+ let o = k(() => ({
150
+ ...m(),
151
+ ...a?.options?.react,
152
+ ...t
153
+ }), [a, t]), { useSuspense: s, keyPrefix: c } = o, l = e || i || a?.options?.defaultNS, u = z(l) ? [l] : l || ["translation"], d = k(() => u, u);
154
+ a?.reportNamespaces?.addUsedNamespaces?.(d);
155
+ let f = A(0), p = E((e) => {
156
+ if (!a) return q;
157
+ let { bindI18n: t, bindI18nStore: n } = o, r = () => {
158
+ f.current += 1, e();
159
+ };
160
+ return t && a.on(t, r), n && a.store.on(n, r), () => {
161
+ t && t.split(" ").forEach((e) => a.off(e, r)), n && n.split(" ").forEach((e) => a.store.off(e, r));
162
+ };
163
+ }, [a, o]), h = A(), g = E(() => {
164
+ if (!a) return K;
165
+ let e = !!(a.isInitialized || a.initializedStoreOnce) && d.every((e) => R(e, a, o)), n = t.lng || a.language, r = f.current, i = h.current;
166
+ if (i && i.ready === e && i.lng === n && i.keyPrefix === c && i.revision === r) return i;
167
+ let s = {
168
+ t: a.getFixedT(n, o.nsMode === "fallback" ? d : d[0], c, { scopeNs: d }),
169
+ ready: e,
170
+ lng: n,
171
+ keyPrefix: c,
172
+ revision: r
173
+ };
174
+ return h.current = s, s;
175
+ }, [
176
+ a,
177
+ d,
178
+ c,
179
+ o,
180
+ t.lng
181
+ ]), [v, y] = j(0), { t: b, ready: x } = (0, G.useSyncExternalStore)(p, g, g);
182
+ O(() => {
183
+ if (a && !x && !s) {
184
+ let e = () => y((e) => e + 1);
185
+ t.lng ? L(a, t.lng, d, e) : I(a, d, e);
186
+ }
187
+ }, [
188
+ a,
189
+ t.lng,
190
+ d,
191
+ x,
192
+ s,
193
+ v
194
+ ]);
195
+ let S = a || {}, C = A(null), w = A(), T = (e) => {
196
+ let t = Object.getOwnPropertyDescriptors(e);
197
+ t.__original && delete t.__original;
198
+ let n = Object.create(Object.getPrototypeOf(e), t);
199
+ if (!Object.prototype.hasOwnProperty.call(n, "__original")) try {
200
+ Object.defineProperty(n, "__original", {
201
+ value: e,
202
+ writable: !1,
203
+ enumerable: !1,
204
+ configurable: !1
205
+ });
206
+ } catch {}
207
+ return n;
208
+ }, M = k(() => {
209
+ let e = S, t = e?.language, n = e;
210
+ e && (C.current && C.current.__original === e && w.current === t ? n = C.current : (n = T(e), C.current = n, w.current = t));
211
+ let r = !x && !s ? (...e) => (P(a, "USE_T_BEFORE_READY", "useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."), b(...e)) : b, i = [
212
+ r,
213
+ n,
214
+ x
215
+ ];
216
+ return i.t = r, i.i18n = n, i.ready = x, i;
217
+ }, [
218
+ b,
219
+ S,
220
+ x,
221
+ S.resolvedLanguage,
222
+ S.language,
223
+ S.languages
224
+ ]);
225
+ if (a && s && !x) {
226
+ let e = !1;
227
+ try {
228
+ e = process.env.NODE_ENV !== "production";
229
+ } catch {}
230
+ throw e && P(a, "SUSPENDED_WHILE_LOADING", "useTranslation: suspended while translations are loading (useSuspense is true by default). Add a <Suspense> boundary above this component, or set react.useSuspense: false in the i18next init options. https://react.i18next.com/latest/usetranslation-hook"), new Promise((e) => {
231
+ let n = () => e();
232
+ t.lng ? L(a, t.lng, d, n) : I(a, d, n);
233
+ });
234
+ }
235
+ return M;
236
+ }, Y = { app: w("app") }, ee = (e = "app") => {
237
+ Y[e] || (Y[e] = w(e));
238
+ let t = T(Y[e]);
239
+ if (!t) throw Error(s.use.contextErr({ key: e }));
240
+ return t;
241
+ }, X = (e) => {
242
+ let t = A(), n = A();
243
+ return t.current = e, n.current ||= (...e) => t.current(...e), n.current;
244
+ }, te = (t = {}) => {
245
+ let [n, r] = j(Object.keys(t).reduce((e, t) => (e[t] = `vast-${t}-0`, e), {})), i = A(t), a = A(!1), s = X((e) => {
246
+ let t = `vast-${e}-${o("-")}`;
247
+ r({
248
+ ...n,
249
+ [e]: t
250
+ });
251
+ }), c = (n, r = t) => {
252
+ let a = n ? r[n] : r;
253
+ if (typeof a != "object" || !a) return;
254
+ let o = new Proxy(a, {
255
+ get(t, r, i) {
256
+ let a = b(t), o = Reflect.get(t, r, a === "map" || a === "set" ? t : i);
257
+ return e(o, "function") ? [
258
+ "add",
259
+ "set",
260
+ "delete",
261
+ "clear",
262
+ "fill",
263
+ "pop",
264
+ "push",
265
+ "reverse",
266
+ "shift",
267
+ "sort",
268
+ "splice",
269
+ "unshift"
270
+ ].includes(r) ? (...e) => {
271
+ let i = o.apply(t, e);
272
+ return s(n ?? r), i;
273
+ } : (...e) => o.apply(t, e) : o;
274
+ },
275
+ set(e, t, r, i) {
276
+ if (Reflect.get(e, t, i) === r) return !0;
277
+ let a = Reflect.set(e, t, r, i);
278
+ return s(n ?? t), a;
279
+ },
280
+ deleteProperty(e, t) {
281
+ if (!Reflect.has(e, t)) return !0;
282
+ let r = Reflect.deleteProperty(e, t);
283
+ return s(n ?? t), r;
284
+ }
285
+ });
286
+ if (n) i.current[n] = o;
287
+ else return o;
288
+ };
289
+ if (!a.current) {
290
+ i.current = c();
291
+ for (let e in t) c(e);
292
+ a.current = !0;
293
+ }
294
+ return O(() => () => {
295
+ for (let e in i.current) delete i.current[e];
296
+ a.current = !1;
297
+ }, []), [n, i.current];
298
+ }, ne = (e, t) => {
299
+ let [n, r] = j(!0), i = A({
300
+ isMounted: !1,
301
+ lastCallId: 0
302
+ }).current;
303
+ O(() => {
304
+ i.isMounted = !0;
305
+ let e = !t?.length && a();
306
+ return async () => {
307
+ (await e)?.(), i.isMounted = !1;
308
+ };
309
+ }, []);
310
+ let a = E((...t) => {
311
+ let a = ++i.lastCallId;
312
+ return n || r(!0), e(...t).then((e) => (i.isMounted && a === i.lastCallId && r(!1), e), (e) => (i.isMounted && a === i.lastCallId && r(!1), e));
313
+ }, t);
314
+ return [n, a];
315
+ }, Z = (e = "simple", t = []) => {
316
+ let n = {
317
+ exe: y.exe,
318
+ cv: y.cv,
319
+ db: y.db
320
+ }, r = A([
321
+ "store",
322
+ "system",
323
+ "project",
324
+ "level",
325
+ "defects",
326
+ "running",
327
+ ...t
328
+ ]).current, i = T(Y.app);
329
+ switch (e) {
330
+ case "privatize": return Object.assign(n, i);
331
+ case "simple": return r.reduce((e, t) => (e[t] = i[t], e), n);
332
+ case "action": return [r.reduce((e, t) => (e[t] = i[t], e), n), {
333
+ sysAction: i.sysAction,
334
+ setRunning: i.setRunning,
335
+ proAction: i.proAction
336
+ }];
337
+ default: throw Error(s.use.patternErr({ pattern: e }));
338
+ }
339
+ }, Q = (e, t, n = { immediate: !1 }) => {
340
+ let r = A({
341
+ oldValue: null,
342
+ isInit: n.immediate,
343
+ isWatch: !0
344
+ }).current;
345
+ return O(() => {
346
+ r.isWatch && (r.isInit ? (u(t, r.oldValue) || e(t, r.oldValue), r.oldValue = v(t)) : r.isInit = !0);
347
+ }, t), () => {
348
+ r.isWatch = !1;
349
+ };
350
+ }, re = (e = "") => {
351
+ if (!e) throw Error(s.use.prefixErr());
352
+ let { t } = J("translation", { keyPrefix: e });
353
+ return t;
354
+ }, ie = (e, t, n = !1) => {
355
+ let r = X(e);
356
+ return O(() => (n && r(), i(t, r), () => g(t, r)), []), r;
357
+ }, $ = (t, n) => {
358
+ let r = A({
359
+ immediate: !1,
360
+ fps: 17,
361
+ beforeFn: null
362
+ }).current;
363
+ if (e(n, "boolean")) r.immediate = n;
364
+ else if (e(n, "number")) r.fps = n;
365
+ else if (e(n, "function")) r.beforeFn = n;
366
+ else if (e(n, "object")) for (let e in n) Object.hasOwn(r, e) && (r[e] = n[e]);
367
+ let i = l(t, 60 * r.fps);
368
+ O(() => (r.beforeFn?.(), r.immediate && i(), window.addEventListener("resize", i), () => window.removeEventListener("resize", i)), []);
369
+ }, ae = (t, n, r) => {
370
+ let [i, a] = j({
371
+ width: r?.width || 0,
372
+ height: r?.height || 0
373
+ }), o = A(), s = A({
374
+ immediate: !1,
375
+ fps: 12,
376
+ beforeFn: null
377
+ }).current;
378
+ if (e(r, "boolean")) s.immediate = r;
379
+ else if (e(r, "number")) s.fps = r;
380
+ else if (e(r, "function")) s.beforeFn = r;
381
+ else if (e(r, "object")) for (let e in r) Object.hasOwn(s, e) && (s[e] = r[e]);
382
+ let c = () => o.current?.observe?.(n.current), u = () => o.current?.unobserve?.(n.current), d = X((e) => {
383
+ let n = e[0].contentRect, { width: r, height: o } = n;
384
+ (r !== i.width || o !== i.height) && t?.(n, i), a({
385
+ width: r,
386
+ height: o
387
+ });
388
+ });
389
+ return O(() => {
390
+ if (n.current) return o.current = new ResizeObserver(l(d, 10 * s.fps)), o.current.observe(n.current), () => o.current?.disconnect?.();
391
+ }, [n, t]), $(() => {
392
+ if (!n.current) return;
393
+ let e = n.current;
394
+ a({
395
+ width: e.offsetWidth,
396
+ height: e.offsetHeight
397
+ });
398
+ }, r), [i, {
399
+ observe: c,
400
+ unobserve: u
401
+ }];
402
+ }, oe = (e = "app", t = !1) => {
403
+ let { context: n } = Z("privatize"), r = A(C.useMessage()), i = A([]), a = (e, t, { key: n, duration: a = 3, onClose: s } = {}) => {
404
+ let c = n || `msg_${o()}`;
405
+ return i.current.push(c), r.current[0].open({
406
+ key: c,
407
+ type: e,
408
+ content: t,
409
+ duration: a,
410
+ classNames: { root: "aoi-message" },
411
+ onClose: () => {
412
+ let e = i.current.indexOf(c);
413
+ e !== -1 && i.current.splice(e, 1), s?.();
414
+ }
415
+ }), c;
416
+ }, s = (e, t = {}) => a("success", e, t), c = (e, t = {}) => a("error", e, t);
417
+ return O(() => {
418
+ if (!n.msgs) return;
419
+ let i = n.msgs.get(e);
420
+ return i ? r.current = i : t || n.msgs.set(e, r.current), () => {
421
+ t && n.msgs.delete(e);
422
+ };
423
+ }, []), [{
424
+ success: s,
425
+ error: c,
426
+ info: (e, t = {}) => a("info", e, t),
427
+ warning: (e, t = {}) => a("warning", e, t),
428
+ loading: (e, t = {}) => {
429
+ let n = a("loading", e, {
430
+ duration: 0,
431
+ ...t
432
+ });
433
+ return {
434
+ key: n,
435
+ ok: (e) => s(e, { key: n }),
436
+ err: (e) => c(e, { key: n })
437
+ };
438
+ }
439
+ }, t ? r.current[1] : void 0];
440
+ }, se = (t, i = {}) => {
441
+ let [a, o] = j(i), c = A(e(t, "function")).current, l = () => {
442
+ h(t, (e) => {
443
+ let t = {};
444
+ for (let n in i) t[n] = e?.[n] ?? i[n];
445
+ o(t);
446
+ });
447
+ }, u = (e) => {
448
+ n(t, e);
449
+ }, d = X((e, n, i = null) => {
450
+ let { db: l } = y, u = a[e];
451
+ a[e] = n, o({
452
+ ...a,
453
+ [e]: n
454
+ }), c && t(e, n), i?.(s.tool.setOk(), { key: r }), l && l.logOperate(S.INFO, { setProject: {
455
+ key: e,
456
+ oldValue: u,
457
+ value: n
458
+ } });
459
+ }), f = X((e, n = null) => {
460
+ o({
461
+ ...a,
462
+ ...e
463
+ }), c && t(e), n?.(s.tool.setOk(), { key: r });
464
+ });
465
+ O(() => {
466
+ c || l();
467
+ }, []);
468
+ let p = Q(([e]) => {
469
+ u(e);
470
+ }, [a]);
471
+ return c && p(), [a, {
472
+ setData: f,
473
+ setKey: d
474
+ }];
475
+ }, ce = (e, n = t) => {
476
+ let [r, i] = j([]), [a, o] = j(0), [s, c] = j({
477
+ current: 1,
478
+ pageSize: n[0]
479
+ }), l = A([]);
480
+ return [r, {
481
+ value: l.current,
482
+ current: s.current,
483
+ pageSize: s.pageSize,
484
+ options: n,
485
+ total: a,
486
+ setValue: (t, n) => {
487
+ let r = s.pageSize, a = s.current;
488
+ d(n) && (a = 1, !e && (l.current = t), o(n), c({
489
+ current: a,
490
+ pageSize: r
491
+ }));
492
+ let u = (a - 1) * r, f = u + r;
493
+ i(e ? t : t.slice(u, f));
494
+ },
495
+ onChange: (t, n) => {
496
+ let r = (t - 1) * n, a = r + n, o = {
497
+ current: t,
498
+ pageSize: n
499
+ };
500
+ e ? e(o) : i(l.current.slice(r, a)), c(o);
501
+ }
502
+ }];
503
+ }, le = (e) => {
504
+ let t = A([]), n = A(null), [r, i] = j(null), c = () => {
505
+ let e = t.current.shift();
506
+ e ? (n.current = e, i(e._id)) : (n.current = null, i(null));
507
+ }, l = X((e) => {
508
+ e._id = o("#"), t.current.push(e), !r && !n.current && c();
509
+ });
510
+ return O(() => {
511
+ let { exe: t, db: n } = y;
512
+ t && t.on("summaryDataUploaded(HeilsSummaryDataInfo)", async (t) => {
513
+ if (!t) {
514
+ let e = s.main.dataEmpty({ data: x(t) });
515
+ a.warning(e, s.exe.disposeErr()), n.logMessage(S.WARN, { dataEmpty: { data: t } });
516
+ return;
517
+ }
518
+ y.dev && console.log("Received data ...");
519
+ let r = await e?.(t);
520
+ if (!r) {
521
+ let e = s.main.dataErr({ data: x(t) });
522
+ a.error(e, s.exe.disposeErr()), n.logMessage(S.ERROR, { dataErr: { data: t } }), y.dev && console.error(t);
523
+ return;
524
+ }
525
+ l(r);
526
+ });
527
+ }, []), [r, {
528
+ data: n.current,
529
+ enqueue: l,
530
+ dequeue: c
531
+ }];
532
+ }, ue = () => {
533
+ let [e, t] = j({
534
+ ok: 0,
535
+ ng: 0
536
+ }), n = X((n) => {
537
+ let r = { ...e };
538
+ r[n ? "ok" : "ng"] += 1, t(r);
539
+ });
540
+ return {
541
+ statis: e,
542
+ data: k(() => [{
543
+ label: "OK",
544
+ value: e.ok,
545
+ color: f.ok
546
+ }, {
547
+ label: "NG",
548
+ value: e.ng,
549
+ color: f.ng
550
+ }], [e]),
551
+ increment: n,
552
+ clear: () => {
553
+ let { db: n } = y, r = { ...e };
554
+ t({
555
+ ok: 0,
556
+ ng: 0
557
+ }), n && n.logOperate(LogClass.INFO, { setRunStatis: { oldValue: r } });
558
+ }
559
+ };
560
+ };
561
+ //#endregion
562
+ export { P as S, J as _, le as a, z as b, ae as c, X as d, re as f, Q as g, te as h, ne as i, ie as l, Z as m, Y as n, se as o, $ as p, ee as r, oe as s, ue as t, ce as u, V as v, M as x, B as y };
package/dist/hooks.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./hooks-MstF8Y3K.js";
2
- export { c as Contexts, d as useAppContext, a as useAsync, e as useFileState, l as useMessage, f as useObserver, t as useOnEvent, o as usePagination, m as usePersistFn, n as usePrefixT, r as useResize, p as useRunStatis, u as useStore, s as useVastState, i as useWatch };
1
+ import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./hooks-Ww44LelW.js";
2
+ export { l as Contexts, f as useAppContext, o as useAsync, e as useDataQueue, u as useFileState, p as useMessage, t as useObserver, s as useOnEvent, h as usePagination, n as usePersistFn, r as usePrefixT, d as useResize, m as useRunStatis, c as useStore, a as useVastState, i as useWatch };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./packages-C9qBCygN.js";
1
+ import { n as e, t } from "./packages-DtEpsTpy.js";
2
2
  export { t as AoiGlobal, e as aoiInit };
@@ -1,6 +1,6 @@
1
- import { B as e, R as t, T as n, V as r, at as i, d as a, et as o, f as s, i as c, it as l, l as u, m as d, t as f, u as p } from "./Geometry-BM7su788.js";
2
- import { t as m } from "./canvasUtils-C0wKvLC1.js";
3
- import { t as h } from "./CanvasPool-x1nSZDIx.js";
1
+ import { B as e, R as t, T as n, V as r, at as i, d as a, et as o, f as s, i as c, it as l, l as u, m as d, t as f, u as p } from "./Geometry-yirqXUbT.js";
2
+ import { t as m } from "./canvasUtils-ByNFM8PZ.js";
3
+ import { t as h } from "./CanvasPool-CoJ6fp2T.js";
4
4
  //#region node_modules/.pnpm/pixi.js@8.20.1/node_modules/pixi.js/lib/scene/container/bounds/getRenderableBounds.mjs
5
5
  var g = new o();
6
6
  function _(e, t) {
@@ -1,5 +1,5 @@
1
- import { B as e, C as t, D as n, M as r, N as i, Q as a, R as o, U as s, V as c, W as l, _ as u, at as d, b as f, it as p, j as m, x as h, y as g } from "./Geometry-BM7su788.js";
2
- import { r as _ } from "./canvasUtils-C0wKvLC1.js";
1
+ import { B as e, C as t, D as n, M as r, N as i, Q as a, R as o, U as s, V as c, W as l, _ as u, at as d, b as f, it as p, j as m, x as h, y as g } from "./Geometry-yirqXUbT.js";
2
+ import { r as _ } from "./canvasUtils-ByNFM8PZ.js";
3
3
  //#region node_modules/.pnpm/pixi.js@8.20.1/node_modules/pixi.js/lib/rendering/mask/utils/addMaskBounds.mjs
4
4
  var v = new e();
5
5
  function y(e, t, n) {