@graphysdk/react-renderer 1.8.1-beta.1786025839240 → 1.8.1-beta.1786352280463
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/editable.cjs +1 -1
- package/dist/editable.css +1 -1
- package/dist/editable.d.ts +285 -43
- package/dist/editable.mjs +2032 -1421
- package/dist/{font-values-gPf-gY2d.js → font-values-CPxYeqns.js} +1 -0
- package/dist/{font-values-F2fq9P-M.cjs → font-values-CStAZ2d1.cjs} +1 -1
- package/dist/graph-config.cjs +1 -1
- package/dist/graph-config.d.ts +1 -0
- package/dist/graph-config.mjs +1 -1
- package/dist/history-chords-Bfvf75tz.cjs +1 -0
- package/dist/{history-chords-CNYK3SiJ.js → history-chords-V6t-FaHD.js} +1784 -1609
- package/dist/history-chords.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +96 -96
- package/package.json +2 -2
- package/dist/history-chords-C81ObHa3.cjs +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { g as tr } from "./font-values-
|
|
1
|
+
import { $ as wt, A as _t, C as kt, E as It, F as Dt, G as ae, H as ce, J as $t, K as Ht, O as xt, P as Mt, R as Pt, S as Lt, T as Kt, U as Ot, V as K, W as A, X as Bt, Y as At, _ as Yt, a as jt, g as Ft, i as Ut, j as Wt, n as Vt, nt as de, o as Xt, q as le, r as zt, rt as te, t as ue, tt as Jt, w as Qt, z as Zt } from "./history-chords-V6t-FaHD.js";
|
|
2
|
+
import { g as tr } from "./font-values-CPxYeqns.js";
|
|
3
3
|
import { COMPILER_STAGE_KEYS as Y, Geom as me, GraphCompilationSession as ge, areEditTargetsEqual as he, buildDiagnostic as W, createAnchorResolver as pe, createCompiler as fe, createGraphyBuilder as ve, findAnnotation as ye, isCompilerCachingEnabled as be, resolveDefinition as Se, setCompilerCachingEnabled as Ee } from "@graphysdk/viz-engine";
|
|
4
4
|
import { Component as Te, useCallback as f, useEffect as $, useId as Ce, useImperativeHandle as Ne, useMemo as P, useRef as V, useState as T, useSyncExternalStore as Re } from "react";
|
|
5
5
|
import { Fragment as qe, jsx as c, jsxs as v } from "react/jsx-runtime";
|
|
6
|
-
import { useStore as
|
|
7
|
-
import { createStore as
|
|
6
|
+
import { useStore as X } from "zustand";
|
|
7
|
+
import { createStore as j } from "zustand/vanilla";
|
|
8
8
|
import Ge from "clsx";
|
|
9
|
-
import './index.css';function
|
|
9
|
+
import './index.css';function B(e) {
|
|
10
10
|
for (const t of e) (t.severity === "error" ? console.error : console.warn)(`[graphy] ${t.code}: ${t.message}`, t);
|
|
11
11
|
}
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
var we = "_1a5iqpb0", _e = "_1a5iqpb1";
|
|
13
|
+
var ke = "_1a5iqpb3", Ie = "_1a5iqpb4", De = "_1a5iqpb5";
|
|
14
|
+
var z = ({ errors: e }) => {
|
|
15
15
|
const [t, ...r] = e;
|
|
16
16
|
return /* @__PURE__ */ v("div", {
|
|
17
17
|
role: "alert",
|
|
18
|
-
className:
|
|
18
|
+
className: we,
|
|
19
19
|
children: [
|
|
20
20
|
/* @__PURE__ */ c("strong", {
|
|
21
|
-
className:
|
|
21
|
+
className: _e,
|
|
22
22
|
children: "This chart could not be rendered."
|
|
23
23
|
}),
|
|
24
24
|
t && /* @__PURE__ */ c(J, { diagnostic: t }),
|
|
@@ -29,7 +29,7 @@ var X = ({ errors: e }) => {
|
|
|
29
29
|
]
|
|
30
30
|
});
|
|
31
31
|
}, J = ({ diagnostic: e }) => /* @__PURE__ */ v("div", {
|
|
32
|
-
className:
|
|
32
|
+
className: ke,
|
|
33
33
|
children: [
|
|
34
34
|
/* @__PURE__ */ c("span", {
|
|
35
35
|
className: Ie,
|
|
@@ -57,16 +57,16 @@ var He = class extends Te {
|
|
|
57
57
|
}
|
|
58
58
|
componentDidCatch(e, t) {
|
|
59
59
|
const r = W(e);
|
|
60
|
-
|
|
60
|
+
B([r]), this.props.onError?.([r]), console.error("Chart render component stack:", t.componentStack);
|
|
61
61
|
}
|
|
62
62
|
componentDidUpdate(e) {
|
|
63
63
|
this.state.caughtDiagnostic && !$e(e.resetKeys, this.props.resetKeys) && this.setState({ caughtDiagnostic: null });
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
66
|
const { caughtDiagnostic: e } = this.state;
|
|
67
|
-
if (e) return /* @__PURE__ */ c(
|
|
67
|
+
if (e) return /* @__PURE__ */ c(z, { errors: [e] });
|
|
68
68
|
const { forcedErrors: t, children: r } = this.props;
|
|
69
|
-
return t && t.length > 0 ? /* @__PURE__ */ c(
|
|
69
|
+
return t && t.length > 0 ? /* @__PURE__ */ c(z, { errors: t }) : r;
|
|
70
70
|
}
|
|
71
71
|
}, re = (e) => typeof e == "object" && "geom" in e && "render" in e, xe = (e) => {
|
|
72
72
|
const t = Se(e);
|
|
@@ -74,14 +74,14 @@ var He = class extends Te {
|
|
|
74
74
|
}, Me = (e, t) => {
|
|
75
75
|
const r = e.filter((n) => Pe(n, t));
|
|
76
76
|
return r.length === e.length ? e : r;
|
|
77
|
-
}, Pe = (e, t) => e.kind !== "annotation" ? !0 : ye(t.annotations, e.id) !== null,
|
|
78
|
-
selection:
|
|
77
|
+
}, Pe = (e, t) => e.kind !== "annotation" ? !0 : ye(t.annotations, e.id) !== null, Q = [], Le = () => j((e) => ({
|
|
78
|
+
selection: Q,
|
|
79
79
|
setSelection: (t) => e((r) => Ke(r.selection, t) ? r : { selection: t }),
|
|
80
|
-
clearSelection: () => e((t) => t.selection.length === 0 ? t : { selection:
|
|
80
|
+
clearSelection: () => e((t) => t.selection.length === 0 ? t : { selection: Q })
|
|
81
81
|
})), Ke = (e, t) => e === t ? !0 : e.length !== t.length ? !1 : e.every((r, n) => {
|
|
82
82
|
const o = t[n];
|
|
83
83
|
return o !== void 0 && he(r, o);
|
|
84
|
-
}),
|
|
84
|
+
}), Oe = 5, Be = (e) => {
|
|
85
85
|
if (process.env.NODE_ENV === "production") return {
|
|
86
86
|
emit: () => {
|
|
87
87
|
},
|
|
@@ -107,7 +107,7 @@ var He = class extends Te {
|
|
|
107
107
|
getLastCompile: () => e.getLastCompile(),
|
|
108
108
|
getCacheStats: () => e.getCacheStats()
|
|
109
109
|
};
|
|
110
|
-
}, Ae = () =>
|
|
110
|
+
}, Ae = () => j((e) => ({
|
|
111
111
|
lastCompile: null,
|
|
112
112
|
history: [],
|
|
113
113
|
nextId: 1,
|
|
@@ -116,19 +116,19 @@ var He = class extends Te {
|
|
|
116
116
|
if (n.lastSnapshot === r) return n;
|
|
117
117
|
const o = {
|
|
118
118
|
id: n.nextId,
|
|
119
|
-
label:
|
|
119
|
+
label: je(t),
|
|
120
120
|
stages: r.stages,
|
|
121
121
|
durationMs: r.durationMs
|
|
122
122
|
};
|
|
123
123
|
return {
|
|
124
124
|
lastCompile: o,
|
|
125
|
-
history:
|
|
125
|
+
history: Fe(n.history, o, Oe),
|
|
126
126
|
nextId: n.nextId + 1,
|
|
127
127
|
lastSnapshot: r
|
|
128
128
|
};
|
|
129
129
|
})
|
|
130
130
|
})), Ye = () => {
|
|
131
|
-
},
|
|
131
|
+
}, je = (e) => {
|
|
132
132
|
switch (e.kind) {
|
|
133
133
|
case "init":
|
|
134
134
|
return "init";
|
|
@@ -139,12 +139,12 @@ var He = class extends Te {
|
|
|
139
139
|
case "command":
|
|
140
140
|
return e.command.metadata.description;
|
|
141
141
|
}
|
|
142
|
-
},
|
|
142
|
+
}, Fe = (e, t, r) => {
|
|
143
143
|
const n = e.length >= r ? e.length - (r - 1) : 0;
|
|
144
144
|
return [...e.slice(n), t];
|
|
145
145
|
};
|
|
146
|
-
function
|
|
147
|
-
const t = e.filter(re), r = /* @__PURE__ */ new Set([...Object.keys(
|
|
146
|
+
function Ue(e) {
|
|
147
|
+
const t = e.filter(re), r = /* @__PURE__ */ new Set([...Object.keys(ae), ...t.map((a) => a.geom)]), n = [], o = /* @__PURE__ */ new Set();
|
|
148
148
|
for (const a of e) {
|
|
149
149
|
const l = xe(a);
|
|
150
150
|
l === null || r.has(l.type) || o.has(l.type) || (o.add(l.type), n.push({
|
|
@@ -222,7 +222,7 @@ function Ve(e, t) {
|
|
|
222
222
|
}
|
|
223
223
|
return d;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function Xe(e) {
|
|
226
226
|
const t = /* @__PURE__ */ new Set(), r = [];
|
|
227
227
|
for (const n of e.layers) {
|
|
228
228
|
const o = n.identityKey;
|
|
@@ -240,7 +240,7 @@ function Qe(e) {
|
|
|
240
240
|
}
|
|
241
241
|
return r;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function ze(e, t) {
|
|
244
244
|
const { coordSystem: r, layers: n } = e, o = /* @__PURE__ */ new Set(), d = [];
|
|
245
245
|
for (const i of n) {
|
|
246
246
|
if (i.interactive === !1 || i.spatialKind !== "render-hit-test" || o.has(i.geom)) continue;
|
|
@@ -275,7 +275,7 @@ function Je(e, t) {
|
|
|
275
275
|
})));
|
|
276
276
|
return n;
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function Qe(e, t) {
|
|
279
279
|
const { coordSystem: r, layers: n } = e, o = /* @__PURE__ */ new Set(), d = [];
|
|
280
280
|
for (const i of n) {
|
|
281
281
|
if (i.interactive === !1 || i.spatialKind === "render-hit-test" || o.has(i.geom)) continue;
|
|
@@ -294,21 +294,21 @@ function Ze(e, t) {
|
|
|
294
294
|
}
|
|
295
295
|
return d;
|
|
296
296
|
}
|
|
297
|
-
var
|
|
297
|
+
var Ze = (e) => j((t) => ({
|
|
298
298
|
compiled: e,
|
|
299
299
|
setCompiled: (r) => t((n) => n.compiled === r ? n : { compiled: r })
|
|
300
300
|
})), et = ({ input: e, data: t, customPalettes: r, plugins: n, resolveRenderer: o, anchorResolver: d, onChange: i, onError: a, onWarnings: l }) => {
|
|
301
|
-
const m = K(i), q = K(a),
|
|
301
|
+
const m = K(i), q = K(a), k = K(l), [{ session: g, compileBus: b }] = T(() => {
|
|
302
302
|
const s = fe({ plugins: n });
|
|
303
303
|
return {
|
|
304
304
|
session: new ge(s),
|
|
305
|
-
compileBus:
|
|
305
|
+
compileBus: Be(s)
|
|
306
306
|
};
|
|
307
|
-
}), [u] = T(() =>
|
|
307
|
+
}), [u] = T(() => Ue(n ?? [])), h = V(null), [y] = T(tt), C = V(null), G = f((s) => u.errors.length === 0 ? s : [...u.errors, ...s ?? []], [u]), N = f((s) => {
|
|
308
308
|
if (!s.ok) return s.errors;
|
|
309
309
|
if (C.current) C.current.getState().setCompiled(s.compiled);
|
|
310
310
|
else {
|
|
311
|
-
const p =
|
|
311
|
+
const p = Ze(s.compiled);
|
|
312
312
|
p.subscribe(y.notify), C.current = p, y.notify();
|
|
313
313
|
}
|
|
314
314
|
return null;
|
|
@@ -323,21 +323,21 @@ var ze = (e) => U((t) => ({
|
|
|
323
323
|
...s.warnings,
|
|
324
324
|
...We(s.compiled, o),
|
|
325
325
|
...Ve(s.compiled, o),
|
|
326
|
-
...
|
|
327
|
-
...
|
|
328
|
-
...
|
|
326
|
+
...Xe(s.compiled),
|
|
327
|
+
...ze(s.compiled, o),
|
|
328
|
+
...Qe(s.compiled, o),
|
|
329
329
|
...Je(s.compiled, d)
|
|
330
|
-
] : s.warnings, [o, d]),
|
|
331
|
-
s.length !== 0 && (
|
|
330
|
+
] : s.warnings, [o, d]), w = f((s) => {
|
|
331
|
+
s.length !== 0 && (B(s), q.current?.(s));
|
|
332
332
|
}, [q]), S = f((s) => {
|
|
333
|
-
s.length !== 0 && (
|
|
334
|
-
}, [
|
|
333
|
+
s.length !== 0 && (B(s), k.current?.(s));
|
|
334
|
+
}, [k]);
|
|
335
335
|
$(() => {
|
|
336
336
|
const s = h.current;
|
|
337
|
-
s && (
|
|
337
|
+
s && (w([...u.errors, ...s.ok ? [] : s.errors]), S([...u.warnings, ...R(s)]), s.ok && b.emit({ kind: "init" }));
|
|
338
338
|
}, [
|
|
339
339
|
b,
|
|
340
|
-
|
|
340
|
+
w,
|
|
341
341
|
S,
|
|
342
342
|
u,
|
|
343
343
|
R
|
|
@@ -350,7 +350,7 @@ var ze = (e) => U((t) => ({
|
|
|
350
350
|
if (!s) return;
|
|
351
351
|
s.sealedInput && m.current?.(s.sealedInput);
|
|
352
352
|
const p = N(s.result);
|
|
353
|
-
I(G(p)), p &&
|
|
353
|
+
I(G(p)), p && w(p), S(R(s.result)), p || b.emit({ kind: s.inputChanged ? "input" : "data" });
|
|
354
354
|
}, [
|
|
355
355
|
e,
|
|
356
356
|
t,
|
|
@@ -358,7 +358,7 @@ var ze = (e) => U((t) => ({
|
|
|
358
358
|
g,
|
|
359
359
|
b,
|
|
360
360
|
N,
|
|
361
|
-
|
|
361
|
+
w,
|
|
362
362
|
S,
|
|
363
363
|
G,
|
|
364
364
|
R,
|
|
@@ -370,31 +370,31 @@ var ze = (e) => U((t) => ({
|
|
|
370
370
|
G,
|
|
371
371
|
S,
|
|
372
372
|
R
|
|
373
|
-
]),
|
|
373
|
+
]), _ = f((s) => {
|
|
374
374
|
s.compiled && C.current?.getState().setCompiled(s.compiled), s.result && D(s.result), s.command && b.emit({
|
|
375
375
|
kind: "command",
|
|
376
376
|
command: s.command
|
|
377
|
-
}), s.input && m.current?.(s.input), s.errors &&
|
|
377
|
+
}), s.input && m.current?.(s.input), s.errors && w([...s.errors]);
|
|
378
378
|
}, [
|
|
379
379
|
D,
|
|
380
380
|
b,
|
|
381
381
|
m,
|
|
382
|
-
|
|
382
|
+
w
|
|
383
383
|
]), E = f((s) => {
|
|
384
|
-
for (const p of s)
|
|
384
|
+
for (const p of s) _(p);
|
|
385
385
|
return s.some((p) => !!p.compiled);
|
|
386
|
-
}, [
|
|
386
|
+
}, [_]), x = f((s, p) => {
|
|
387
387
|
E(g.applyCommand(s, p));
|
|
388
388
|
}, [g, E]), L = f(() => {
|
|
389
389
|
E(g.seal());
|
|
390
|
-
}, [g, E]),
|
|
390
|
+
}, [g, E]), F = f(() => E(g.undo()), [g, E]), U = f(() => E(g.redo()), [g, E]), oe = P(() => ({
|
|
391
391
|
stack: g.history,
|
|
392
|
-
undo:
|
|
393
|
-
redo:
|
|
392
|
+
undo: F,
|
|
393
|
+
redo: U
|
|
394
394
|
}), [
|
|
395
395
|
g,
|
|
396
|
-
|
|
397
|
-
|
|
396
|
+
F,
|
|
397
|
+
U
|
|
398
398
|
]), ie = f(() => C.current?.getState().compiled ?? null, []);
|
|
399
399
|
return {
|
|
400
400
|
store: C.current,
|
|
@@ -414,8 +414,8 @@ var ze = (e) => U((t) => ({
|
|
|
414
414
|
}),
|
|
415
415
|
notify: () => e.forEach((t) => t())
|
|
416
416
|
};
|
|
417
|
-
}, rt = {}, nt = ({ data: e, input: t, plugins: r = [], formattingLocale: n, handleRef: o, onChange: d, onError: i, onWarnings: a, customPalettes: l, colorScheme: m = "light", themeOverrides: q = rt, children:
|
|
418
|
-
const [g] = T(() =>
|
|
417
|
+
}, rt = {}, nt = ({ data: e, input: t, plugins: r = [], formattingLocale: n, handleRef: o, onChange: d, onError: i, onWarnings: a, customPalettes: l, colorScheme: m = "light", themeOverrides: q = rt, children: k }) => {
|
|
418
|
+
const [g] = T(() => ce(r.filter(re))), b = Ce(), [u] = T(() => pe(r)), [h] = T(() => Le()), { store: y, dispatch: C, seal: G, history: N, subscribe: H, getCompiled: I, compileBus: R, compileErrors: w } = et({
|
|
419
419
|
input: t,
|
|
420
420
|
data: e,
|
|
421
421
|
customPalettes: l,
|
|
@@ -428,10 +428,10 @@ var ze = (e) => U((t) => ({
|
|
|
428
428
|
});
|
|
429
429
|
$(() => {
|
|
430
430
|
if (y)
|
|
431
|
-
return y.subscribe((
|
|
432
|
-
if (
|
|
431
|
+
return y.subscribe((_, E) => {
|
|
432
|
+
if (_.compiled.spec === E.compiled.spec) return;
|
|
433
433
|
const { selection: x, setSelection: L } = h.getState();
|
|
434
|
-
x.length !== 0 && L(Me(x,
|
|
434
|
+
x.length !== 0 && L(Me(x, _.compiled.spec));
|
|
435
435
|
});
|
|
436
436
|
}, [y, h]);
|
|
437
437
|
const S = P(() => ({
|
|
@@ -445,7 +445,7 @@ var ze = (e) => U((t) => ({
|
|
|
445
445
|
subscribe: H,
|
|
446
446
|
getCompiled: I,
|
|
447
447
|
getSelection: () => h.getState().selection,
|
|
448
|
-
setSelection: (
|
|
448
|
+
setSelection: (_) => h.getState().setSelection(_),
|
|
449
449
|
subscribeSelection: h.subscribe
|
|
450
450
|
}), [
|
|
451
451
|
S,
|
|
@@ -478,14 +478,14 @@ var ze = (e) => U((t) => ({
|
|
|
478
478
|
u
|
|
479
479
|
]);
|
|
480
480
|
return /* @__PURE__ */ c(He, {
|
|
481
|
-
forcedErrors:
|
|
481
|
+
forcedErrors: w,
|
|
482
482
|
onError: i,
|
|
483
483
|
resetKeys: [t, e],
|
|
484
|
-
children: D ? /* @__PURE__ */ c(
|
|
484
|
+
children: D ? /* @__PURE__ */ c(de.Provider, {
|
|
485
485
|
value: D,
|
|
486
|
-
children: /* @__PURE__ */ c(
|
|
486
|
+
children: /* @__PURE__ */ c(le, {
|
|
487
487
|
value: g,
|
|
488
|
-
children:
|
|
488
|
+
children: k
|
|
489
489
|
})
|
|
490
490
|
}) : null
|
|
491
491
|
});
|
|
@@ -508,9 +508,9 @@ var dr = ({ children: e, ...t }) => /* @__PURE__ */ c("svg", {
|
|
|
508
508
|
pointerEvents: "none",
|
|
509
509
|
...t,
|
|
510
510
|
children: e
|
|
511
|
-
}), st = "drqe3u0", ot = "drqe3u1", it = "drqe3u2", at = "drqe3u3", M = "drqe3u4", ct = "drqe3u5", dt = "drqe3u6", lt = "drqe3u7",
|
|
511
|
+
}), st = "drqe3u0", ot = "drqe3u1", it = "drqe3u2", at = "drqe3u3", M = "drqe3u4", ct = "drqe3u5", dt = "drqe3u6", lt = "drqe3u7", O = "drqe3u8", ut = "drqe3u9", mt = "drqe3ua";
|
|
512
512
|
var gt = "drqe3uc", ht = "drqe3ud", pt = "drqe3ue", ft = "drqe3uf";
|
|
513
|
-
var vt = "drqe3uh", yt = "drqe3ui",
|
|
513
|
+
var vt = "drqe3uh", yt = "drqe3ui", Z = {
|
|
514
514
|
enabled: "drqe3uk drqe3uj",
|
|
515
515
|
disabled: "drqe3ul drqe3uj"
|
|
516
516
|
}, ee = {
|
|
@@ -526,7 +526,7 @@ var vt = "drqe3uh", yt = "drqe3ui", z = {
|
|
|
526
526
|
const { recordCompile: u } = o.getState(), h = n.getLastTrigger(), y = n.getLastCompile();
|
|
527
527
|
return h && y && u(h, y), n.subscribe(u);
|
|
528
528
|
}, [o, n]);
|
|
529
|
-
const m =
|
|
529
|
+
const m = X(o, (u) => u.lastCompile), q = X(o, (u) => u.history), k = n.getCacheStats(), g = m === null && q.length === 0, b = () => {
|
|
530
530
|
l((u) => {
|
|
531
531
|
const h = !u;
|
|
532
532
|
return Ee(h), h;
|
|
@@ -559,7 +559,7 @@ var vt = "drqe3uh", yt = "drqe3ui", z = {
|
|
|
559
559
|
children: [/* @__PURE__ */ v("button", {
|
|
560
560
|
type: "button",
|
|
561
561
|
onClick: b,
|
|
562
|
-
className: a ?
|
|
562
|
+
className: a ? Z.enabled : Z.disabled,
|
|
563
563
|
"aria-pressed": a,
|
|
564
564
|
children: ["cache ", a ? "enabled" : "disabled"]
|
|
565
565
|
}), /* @__PURE__ */ c("span", {
|
|
@@ -569,7 +569,7 @@ var vt = "drqe3uh", yt = "drqe3ui", z = {
|
|
|
569
569
|
}),
|
|
570
570
|
!d && !g && /* @__PURE__ */ v(qe, { children: [/* @__PURE__ */ c(bt, {
|
|
571
571
|
delta: m?.stages,
|
|
572
|
-
cumulative:
|
|
572
|
+
cumulative: k
|
|
573
573
|
}), /* @__PURE__ */ c(St, { entries: q })] })
|
|
574
574
|
]
|
|
575
575
|
});
|
|
@@ -620,15 +620,15 @@ var vt = "drqe3uh", yt = "drqe3ui", z = {
|
|
|
620
620
|
children: n?.misses ?? 0
|
|
621
621
|
}),
|
|
622
622
|
/* @__PURE__ */ c("td", {
|
|
623
|
-
className:
|
|
623
|
+
className: O,
|
|
624
624
|
children: n?.hits ?? 0
|
|
625
625
|
}),
|
|
626
626
|
/* @__PURE__ */ c("td", {
|
|
627
|
-
className:
|
|
627
|
+
className: O,
|
|
628
628
|
children: t[r].misses
|
|
629
629
|
}),
|
|
630
630
|
/* @__PURE__ */ c("td", {
|
|
631
|
-
className:
|
|
631
|
+
className: O,
|
|
632
632
|
children: t[r].hits
|
|
633
633
|
})
|
|
634
634
|
]
|
|
@@ -712,40 +712,40 @@ var vt = "drqe3uh", yt = "drqe3ui", z = {
|
|
|
712
712
|
]);
|
|
713
713
|
}, Nt = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, Rt = (e) => "key" in e, qt = (e) => e instanceof HTMLInputElement ? !Ct.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1;
|
|
714
714
|
export {
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
715
|
+
kt as BrandMark,
|
|
716
|
+
Bt as CanvasTextMeasurer,
|
|
717
|
+
Yt as DefaultFooter,
|
|
718
718
|
jt as DefaultGrid,
|
|
719
719
|
Ft as DefaultHeader,
|
|
720
|
-
|
|
721
|
-
|
|
720
|
+
Ht as DefaultSwatch,
|
|
721
|
+
Kt as DefaultTooltip,
|
|
722
722
|
lr as DevToolsPanel,
|
|
723
723
|
He as GraphErrorBoundary,
|
|
724
|
-
|
|
724
|
+
z as GraphErrorPanel,
|
|
725
725
|
nt as GraphProvider,
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
726
|
+
Ut as GraphRenderer,
|
|
727
|
+
Zt as HoverProvider,
|
|
728
|
+
$t as TextMeasurerProvider,
|
|
729
|
+
xt as ThemeProvider,
|
|
730
730
|
dr as UnitSpaceSvg,
|
|
731
731
|
cr as createGraphyKit,
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
732
|
+
_t as darkTheme,
|
|
733
|
+
Ot as defineGeomRenderer,
|
|
734
|
+
Wt as lightTheme,
|
|
735
|
+
wt as lightenCss,
|
|
736
736
|
Me as pruneSelection,
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
737
|
+
Qt as resolveBrandMarkVisual,
|
|
738
|
+
Jt as useCompiledSelector,
|
|
739
|
+
Dt as useElementScreenRect,
|
|
740
|
+
Pt as useGeomHitTest,
|
|
741
|
+
Mt as useGeomHover,
|
|
742
|
+
Lt as useGraphCommands,
|
|
743
|
+
zt as useGraphHandle,
|
|
744
744
|
ur as useGraphHistory,
|
|
745
745
|
mr as useGraphHistoryShortcuts,
|
|
746
746
|
Xt as useGraphSelection,
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
747
|
+
Vt as useHandleCompiled,
|
|
748
|
+
It as useHoverState,
|
|
749
|
+
At as useTextMeasurer,
|
|
750
750
|
tr as vars
|
|
751
751
|
};
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"visualization",
|
|
12
12
|
"renderer"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.8.1-beta.
|
|
14
|
+
"version": "1.8.1-beta.1786352280463",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"sideEffects": [
|
|
17
17
|
"**/*.css.ts",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"react-colorful": "^5.6.1",
|
|
49
49
|
"react-intl": "^8.1.3",
|
|
50
50
|
"zustand": "^5.0.12",
|
|
51
|
-
"@graphysdk/viz-engine": "1.8.1-beta.
|
|
51
|
+
"@graphysdk/viz-engine": "1.8.1-beta.1786352280463"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@tiptap/core": "^3.0.0",
|