@graphysdk/react-renderer 1.9.0-beta.1791444651663 → 1.9.0-beta.1791447671234
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 +13 -3
- package/dist/editable.mjs +2105 -1974
- package/dist/{history-chords-Dx1LSW4M.cjs → history-chords-Byhpm0Qb.cjs} +2 -2
- package/dist/{history-chords-CatQPvcI.js → history-chords-SnVeFgJ4.js} +94 -93
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +97 -97
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { A as er, B as tr,
|
|
1
|
+
import { A as er, At as z, B as tr, Ct as rr, Dt as nr, Ft as sr, Gt as or, Ht as be, It as Y, Kt as ar, L as ir, Lt as Ee, M as cr, Nt as Te, Ot as lr, Pt as Re, Qt as dr, R as ur, Rt as mr, St as hr, V as gr, Vt as pr, Wt as fr, _n as Ne, a as vr, an as V, at as yr, bt as Sr, cn as br, dn as Er, fn as Tr, ft as Rr, gn as ee, h as Nr, hn as Ce, ht as Cr, i as Gr, in as Ge, it as Dr, j as qr, ln as Ir, mn as wr, mt as _r, n as Pr, nn as kr, on as Lr, pn as $r, qt as Mr, r as Hr, rn as xr, s as Ar, st as Br, t as De, un as Or, w as Kr, yn as J } from "./history-chords-SnVeFgJ4.js";
|
|
2
2
|
import { n as Ur } from "./theme.contract.css-oFmndjcI.js";
|
|
3
|
-
import { COMPILER_STAGE_KEYS as te, Geom as qe, GraphCompilationSession as Ie, areEditTargetsEqual as we, buildDiagnostic as se, createAnchorResolver as
|
|
4
|
-
import { Component as Ae, createContext as Be, useCallback as p, useContext as Oe, useEffect as
|
|
3
|
+
import { COMPILER_STAGE_KEYS as te, Geom as qe, GraphCompilationSession as Ie, areEditTargetsEqual as we, buildDiagnostic as se, createAnchorResolver as _e, createCompiler as Pe, createDataLabelPlacementResolver as ke, createSpecBuilder as Le, createStyleResolver as he, findAnnotation as $e, findLayerById as oe, isCompilerCachingEnabled as Me, resolveDefinition as He, setCompilerCachingEnabled as xe, toPercent as U } from "@graphysdk/viz-engine";
|
|
4
|
+
import { Component as Ae, createContext as Be, useCallback as p, useContext as Oe, useEffect as x, useId as Ke, useImperativeHandle as Fe, useMemo as H, useRef as ae, useState as b, useSyncExternalStore as Ue } from "react";
|
|
5
5
|
import { Fragment as je, jsx as a, jsxs as f } from "react/jsx-runtime";
|
|
6
|
-
import { useStore as
|
|
6
|
+
import { useStore as Z } from "zustand";
|
|
7
7
|
import { motion as W } from "motion/react";
|
|
8
8
|
import { createStore as re } from "zustand/vanilla";
|
|
9
9
|
import Ye from "clsx";
|
|
10
10
|
import './index.css';var Ve = "_1a5iqpb0", We = "_1a5iqpb1";
|
|
11
|
-
var Xe = "_1a5iqpb3",
|
|
11
|
+
var Xe = "_1a5iqpb3", Qe = "_1a5iqpb4", ze = "_1a5iqpb5";
|
|
12
12
|
var ie = ({ errors: e }) => {
|
|
13
13
|
const [t, ...r] = e;
|
|
14
14
|
return /* @__PURE__ */ f("div", {
|
|
@@ -30,11 +30,11 @@ var ie = ({ errors: e }) => {
|
|
|
30
30
|
className: Xe,
|
|
31
31
|
children: [
|
|
32
32
|
/* @__PURE__ */ a("span", {
|
|
33
|
-
className:
|
|
33
|
+
className: Qe,
|
|
34
34
|
children: e.code
|
|
35
35
|
}),
|
|
36
36
|
/* @__PURE__ */ a("p", {
|
|
37
|
-
className:
|
|
37
|
+
className: ze,
|
|
38
38
|
children: e.message
|
|
39
39
|
}),
|
|
40
40
|
e.suggestion && /* @__PURE__ */ a("p", {
|
|
@@ -43,10 +43,10 @@ var ie = ({ errors: e }) => {
|
|
|
43
43
|
})
|
|
44
44
|
]
|
|
45
45
|
});
|
|
46
|
-
function
|
|
46
|
+
function Je(e = [], t = []) {
|
|
47
47
|
return e.length === t.length && e.every((r, n) => Object.is(r, t[n]));
|
|
48
48
|
}
|
|
49
|
-
var
|
|
49
|
+
var Ze = class extends Ae {
|
|
50
50
|
constructor(...e) {
|
|
51
51
|
super(...e), this.state = { caughtDiagnostic: null };
|
|
52
52
|
}
|
|
@@ -55,10 +55,10 @@ var Je = class extends Ae {
|
|
|
55
55
|
}
|
|
56
56
|
componentDidCatch(e, t) {
|
|
57
57
|
const r = se(e);
|
|
58
|
-
|
|
58
|
+
J([r]), this.props.onError?.([r]), console.error("Chart render component stack:", t.componentStack);
|
|
59
59
|
}
|
|
60
60
|
componentDidUpdate(e) {
|
|
61
|
-
this.state.caughtDiagnostic && !
|
|
61
|
+
this.state.caughtDiagnostic && !Je(e.resetKeys, this.props.resetKeys) && this.setState({ caughtDiagnostic: null });
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
64
|
const { caughtDiagnostic: e } = this.state;
|
|
@@ -70,7 +70,7 @@ var Je = class extends Ae {
|
|
|
70
70
|
value: e,
|
|
71
71
|
children: t
|
|
72
72
|
}), X = () => Oe(pe), fe = (e) => typeof e == "object" && "geom" in e && "render" in e, ve = (e) => {
|
|
73
|
-
const t =
|
|
73
|
+
const t = He(e);
|
|
74
74
|
return t instanceof qe ? t : null;
|
|
75
75
|
}, et = (e, t) => {
|
|
76
76
|
const r = e.filter((n) => tt(n, t));
|
|
@@ -161,7 +161,7 @@ function ut(e, t) {
|
|
|
161
161
|
}] : []) : [] : []);
|
|
162
162
|
}
|
|
163
163
|
function de(e) {
|
|
164
|
-
const t = e.filter(fe), r = /* @__PURE__ */ new Set([...Object.keys(
|
|
164
|
+
const t = e.filter(fe), r = /* @__PURE__ */ new Set([...Object.keys(Ee), ...t.map((l) => l.geom)]), n = [], s = /* @__PURE__ */ new Set();
|
|
165
165
|
for (const l of e) {
|
|
166
166
|
const u = ve(l);
|
|
167
167
|
u === null || r.has(u.type) || s.has(u.type) || (s.add(u.type), n.push({
|
|
@@ -339,9 +339,9 @@ function bt(e) {
|
|
|
339
339
|
var Et = (e) => re((t) => ({
|
|
340
340
|
scene: e,
|
|
341
341
|
setScene: (r) => t((n) => n.scene === r ? n : { scene: r })
|
|
342
|
-
})), Tt = ({ spec: e, data: t, customPalettes: r, colorScheme: n, plugins: s, theme: c, resolveRenderer: i, anchorResolver: l, onSpecChange: u, onError: h, onWarnings:
|
|
343
|
-
const q =
|
|
344
|
-
const o =
|
|
342
|
+
})), Tt = ({ spec: e, data: t, customPalettes: r, colorScheme: n, plugins: s, theme: c, resolveRenderer: i, anchorResolver: l, onSpecChange: u, onError: h, onWarnings: _ }) => {
|
|
343
|
+
const q = z(u), T = z(h), R = z(_), [{ session: d, compileBus: g }] = b(() => {
|
|
344
|
+
const o = Pe({
|
|
345
345
|
plugins: s,
|
|
346
346
|
theme: c
|
|
347
347
|
});
|
|
@@ -381,11 +381,11 @@ var Et = (e) => re((t) => ({
|
|
|
381
381
|
...ut(o.scene, i),
|
|
382
382
|
...ft(o.scene, l)
|
|
383
383
|
] : o.warnings, [i, l]), G = p((o) => {
|
|
384
|
-
o.length !== 0 && (
|
|
384
|
+
o.length !== 0 && (J(o), T.current?.(o));
|
|
385
385
|
}, [T]), D = p((o) => {
|
|
386
|
-
o.length !== 0 && (
|
|
386
|
+
o.length !== 0 && (J(o), R.current?.(o));
|
|
387
387
|
}, [R]);
|
|
388
|
-
|
|
388
|
+
x(() => {
|
|
389
389
|
const o = w.current;
|
|
390
390
|
o && (G([...v.errors, ...o.ok ? [] : o.errors]), D([...v.warnings, ...E(o)]), o.ok && g.emit({ kind: "init" }));
|
|
391
391
|
}, [
|
|
@@ -394,7 +394,7 @@ var Et = (e) => re((t) => ({
|
|
|
394
394
|
D,
|
|
395
395
|
v,
|
|
396
396
|
E
|
|
397
|
-
]),
|
|
397
|
+
]), x(() => {
|
|
398
398
|
const o = d.update({
|
|
399
399
|
spec: e,
|
|
400
400
|
data: t,
|
|
@@ -440,9 +440,9 @@ var Et = (e) => re((t) => ({
|
|
|
440
440
|
return o.some((m) => !!m.scene);
|
|
441
441
|
}, [O]), K = p((o, m) => {
|
|
442
442
|
S(d.applyCommand(o, m));
|
|
443
|
-
}, [d, S]),
|
|
443
|
+
}, [d, S]), P = p(() => {
|
|
444
444
|
S(d.commit());
|
|
445
|
-
}, [d, S]), F = p(() => S(d.undo()), [d, S]), $ = p(() => S(d.redo()), [d, S]),
|
|
445
|
+
}, [d, S]), F = p(() => S(d.undo()), [d, S]), $ = p(() => S(d.redo()), [d, S]), Q = H(() => ({
|
|
446
446
|
stack: d.history,
|
|
447
447
|
undo: F,
|
|
448
448
|
redo: $
|
|
@@ -454,8 +454,8 @@ var Et = (e) => re((t) => ({
|
|
|
454
454
|
return {
|
|
455
455
|
store: C.current,
|
|
456
456
|
dispatch: K,
|
|
457
|
-
commit:
|
|
458
|
-
history:
|
|
457
|
+
commit: P,
|
|
458
|
+
history: Q,
|
|
459
459
|
subscribe: y.subscribe,
|
|
460
460
|
getScene: Se,
|
|
461
461
|
compileBus: g,
|
|
@@ -469,8 +469,8 @@ var Et = (e) => re((t) => ({
|
|
|
469
469
|
}),
|
|
470
470
|
notify: () => e.forEach((t) => t())
|
|
471
471
|
};
|
|
472
|
-
}, Nt = ({ data: e, spec: t, plugins: r = [], theme: n, formattingLocale: s, handleRef: c, onSpecChange: i, onError: l, onWarnings: u, customPalettes: h, colorScheme:
|
|
473
|
-
const [T] = b(() => n), R = T?.colorScheme ??
|
|
472
|
+
}, Nt = ({ data: e, spec: t, plugins: r = [], theme: n, formattingLocale: s, handleRef: c, onSpecChange: i, onError: l, onWarnings: u, customPalettes: h, colorScheme: _ = "light", children: q }) => {
|
|
473
|
+
const [T] = b(() => n), R = T?.colorScheme ?? _, [d] = b(() => Re([...T?.plugins ?? [], ...r].filter(fe))), g = Ke(), [v] = b(() => _e(r)), [w] = b(() => ke(r)), [y] = b(() => rt()), [C] = b(() => Te()), I = H(() => he({ colorScheme: R }), [R]), { store: N, dispatch: B, commit: k, history: E, subscribe: G, getScene: D, compileBus: L, compileErrors: O } = Tt({
|
|
474
474
|
spec: t,
|
|
475
475
|
data: e,
|
|
476
476
|
customPalettes: h,
|
|
@@ -483,15 +483,15 @@ var Et = (e) => re((t) => ({
|
|
|
483
483
|
onError: l,
|
|
484
484
|
onWarnings: u
|
|
485
485
|
});
|
|
486
|
-
|
|
486
|
+
x(() => {
|
|
487
487
|
if (N)
|
|
488
|
-
return N.subscribe((
|
|
489
|
-
if (
|
|
490
|
-
const { selection: $, setSelection:
|
|
491
|
-
$.length !== 0 &&
|
|
488
|
+
return N.subscribe((P, F) => {
|
|
489
|
+
if (P.scene.spec === F.scene.spec) return;
|
|
490
|
+
const { selection: $, setSelection: Q } = y.getState();
|
|
491
|
+
$.length !== 0 && Q(et($, P.scene.spec));
|
|
492
492
|
});
|
|
493
493
|
}, [N, y]);
|
|
494
|
-
const S =
|
|
494
|
+
const S = H(() => ({
|
|
495
495
|
dispatch: B,
|
|
496
496
|
commit: k
|
|
497
497
|
}), [B, k]);
|
|
@@ -502,7 +502,7 @@ var Et = (e) => re((t) => ({
|
|
|
502
502
|
subscribe: G,
|
|
503
503
|
getScene: D,
|
|
504
504
|
getSelection: () => y.getState().selection,
|
|
505
|
-
setSelection: (
|
|
505
|
+
setSelection: (P) => y.getState().setSelection(P),
|
|
506
506
|
subscribeSelection: y.subscribe,
|
|
507
507
|
canPlaceDataLabels: w.hasCapability,
|
|
508
508
|
canFormatDataLabelsAsPercentages: w.hasPercentageFormat
|
|
@@ -514,7 +514,7 @@ var Et = (e) => re((t) => ({
|
|
|
514
514
|
y,
|
|
515
515
|
w
|
|
516
516
|
]);
|
|
517
|
-
const K =
|
|
517
|
+
const K = H(() => N ? {
|
|
518
518
|
chartId: g,
|
|
519
519
|
store: N,
|
|
520
520
|
selectionStore: y,
|
|
@@ -539,13 +539,13 @@ var Et = (e) => re((t) => ({
|
|
|
539
539
|
I,
|
|
540
540
|
v
|
|
541
541
|
]);
|
|
542
|
-
return /* @__PURE__ */ a(
|
|
542
|
+
return /* @__PURE__ */ a(Ze, {
|
|
543
543
|
forcedErrors: O,
|
|
544
544
|
onError: l,
|
|
545
545
|
resetKeys: [t, e],
|
|
546
546
|
children: K ? /* @__PURE__ */ a(Ce.Provider, {
|
|
547
547
|
value: K,
|
|
548
|
-
children: /* @__PURE__ */ a(
|
|
548
|
+
children: /* @__PURE__ */ a(be, {
|
|
549
549
|
value: d,
|
|
550
550
|
children: /* @__PURE__ */ a(Ne, {
|
|
551
551
|
value: w,
|
|
@@ -558,7 +558,7 @@ var Et = (e) => re((t) => ({
|
|
|
558
558
|
}) : null
|
|
559
559
|
});
|
|
560
560
|
};
|
|
561
|
-
function
|
|
561
|
+
function Jr({ theme: e, ...t } = {}) {
|
|
562
562
|
const r = Le(t);
|
|
563
563
|
return {
|
|
564
564
|
...r,
|
|
@@ -622,7 +622,7 @@ var Ct = ({ shouldAnimateTransitions: e, cx: t, cy: r, r: n, ...s }) => e ? /* @
|
|
|
622
622
|
}) : /* @__PURE__ */ a("path", {
|
|
623
623
|
d: t,
|
|
624
624
|
...n
|
|
625
|
-
}),
|
|
625
|
+
}), Zr = (e) => {
|
|
626
626
|
const { Circle: t } = X();
|
|
627
627
|
return t === void 0 ? Ct(e) : /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(t, { ...e }) });
|
|
628
628
|
}, en = (e) => {
|
|
@@ -656,7 +656,7 @@ var Ct = ({ shouldAnimateTransitions: e, cx: t, cy: r, r: n, ...s }) => e ? /* @
|
|
|
656
656
|
overflow: "hidden",
|
|
657
657
|
pointerEvents: "none",
|
|
658
658
|
children: t
|
|
659
|
-
}), wt = "drqe3u0",
|
|
659
|
+
}), wt = "drqe3u0", _t = "drqe3u1", Pt = "drqe3u2", kt = "drqe3u3", M = "drqe3u4", Lt = "drqe3u5", $t = "drqe3u6", Mt = "drqe3u7", j = "drqe3u8", Ht = "drqe3u9", xt = "drqe3ua";
|
|
660
660
|
var At = "drqe3uc", Bt = "drqe3ud", Ot = "drqe3ue", Kt = "drqe3uf";
|
|
661
661
|
var Ft = "drqe3uh", Ut = "drqe3ui", ue = {
|
|
662
662
|
enabled: "drqe3uk drqe3uj",
|
|
@@ -670,18 +670,18 @@ var Ft = "drqe3uh", Ut = "drqe3ui", ue = {
|
|
|
670
670
|
untouched: "drqe3us drqe3up"
|
|
671
671
|
}, on = ({ width: e = 440, style: t, className: r } = {}) => {
|
|
672
672
|
const { compileBus: n } = ee(), [s] = b(() => it()), [c, i] = b(!1), [l, u] = b(Me);
|
|
673
|
-
|
|
673
|
+
x(() => {
|
|
674
674
|
const { recordCompile: d } = s.getState(), g = n.getLastTrigger(), v = n.getLastCompile();
|
|
675
675
|
return g && v && d(g, v), n.subscribe(d);
|
|
676
676
|
}, [s, n]);
|
|
677
|
-
const h =
|
|
677
|
+
const h = Z(s, (d) => d.lastCompile), _ = Z(s, (d) => d.history), q = n.getCacheStats(), T = h === null && _.length === 0, R = () => {
|
|
678
678
|
u((d) => {
|
|
679
679
|
const g = !d;
|
|
680
|
-
return
|
|
680
|
+
return xe(g), g;
|
|
681
681
|
});
|
|
682
682
|
};
|
|
683
683
|
return /* @__PURE__ */ f("div", {
|
|
684
|
-
className: Ye(
|
|
684
|
+
className: Ye(xt, r),
|
|
685
685
|
style: {
|
|
686
686
|
width: e,
|
|
687
687
|
...t
|
|
@@ -690,7 +690,7 @@ var Ft = "drqe3uh", Ut = "drqe3ui", ue = {
|
|
|
690
690
|
/* @__PURE__ */ f("div", {
|
|
691
691
|
className: wt,
|
|
692
692
|
children: [/* @__PURE__ */ f("div", { children: [/* @__PURE__ */ a("div", {
|
|
693
|
-
className:
|
|
693
|
+
className: _t,
|
|
694
694
|
children: "compile cache"
|
|
695
695
|
}), /* @__PURE__ */ a("div", {
|
|
696
696
|
className: Ot,
|
|
@@ -719,11 +719,11 @@ var Ft = "drqe3uh", Ut = "drqe3ui", ue = {
|
|
|
719
719
|
delta: h?.stages,
|
|
720
720
|
durations: h?.stageDurationsMs,
|
|
721
721
|
cumulative: q
|
|
722
|
-
}), /* @__PURE__ */ a(Yt, { entries:
|
|
722
|
+
}), /* @__PURE__ */ a(Yt, { entries: _ })] })
|
|
723
723
|
]
|
|
724
724
|
});
|
|
725
725
|
}, jt = ({ delta: e, durations: t, cumulative: r }) => /* @__PURE__ */ f("table", {
|
|
726
|
-
className:
|
|
726
|
+
className: Pt,
|
|
727
727
|
children: [/* @__PURE__ */ a("thead", { children: /* @__PURE__ */ f("tr", {
|
|
728
728
|
className: Ft,
|
|
729
729
|
children: [
|
|
@@ -811,7 +811,7 @@ var Ft = "drqe3uh", Ut = "drqe3ui", ue = {
|
|
|
811
811
|
children: t.label
|
|
812
812
|
}),
|
|
813
813
|
/* @__PURE__ */ f("span", {
|
|
814
|
-
className:
|
|
814
|
+
className: Ht,
|
|
815
815
|
children: [
|
|
816
816
|
r,
|
|
817
817
|
"/",
|
|
@@ -829,7 +829,7 @@ var Ft = "drqe3uh", Ut = "drqe3ui", ue = {
|
|
|
829
829
|
return r;
|
|
830
830
|
}, ne = (e) => e < 0.1 ? "<0.1ms" : e >= 10 ? `${e.toFixed(0)}ms` : `${e.toFixed(2)}ms`, an = () => {
|
|
831
831
|
const { history: e } = ee(), { stack: t, undo: r, redo: n } = e, s = p((l) => t.subscribe(l), [t]), c = p(() => t.getSnapshot(), [t]), i = Ue(s, c, c);
|
|
832
|
-
return
|
|
832
|
+
return H(() => ({
|
|
833
833
|
...i,
|
|
834
834
|
undo: r,
|
|
835
835
|
redo: n
|
|
@@ -851,11 +851,11 @@ var Ft = "drqe3uh", Ut = "drqe3ui", ue = {
|
|
|
851
851
|
"submit"
|
|
852
852
|
]), cn = (e, t = {}) => {
|
|
853
853
|
const { target: r, enabled: n = !0 } = t;
|
|
854
|
-
|
|
855
|
-
const s =
|
|
854
|
+
x(() => {
|
|
855
|
+
const s = Qt(r);
|
|
856
856
|
if (!n || !s) return;
|
|
857
857
|
const c = (i) => {
|
|
858
|
-
if (!
|
|
858
|
+
if (!zt(i) || i.defaultPrevented || Jt(i.target)) return;
|
|
859
859
|
const l = De(i);
|
|
860
860
|
if (!l) return;
|
|
861
861
|
const u = e.current;
|
|
@@ -867,72 +867,72 @@ var Ft = "drqe3uh", Ut = "drqe3ui", ue = {
|
|
|
867
867
|
r,
|
|
868
868
|
n
|
|
869
869
|
]);
|
|
870
|
-
},
|
|
870
|
+
}, Qt = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, zt = (e) => "key" in e, Jt = (e) => e instanceof HTMLInputElement ? !Xt.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, ln = () => {
|
|
871
871
|
const { targetBoundaryStore: e } = ee();
|
|
872
|
-
return
|
|
872
|
+
return Z(e, (t) => t.boundary);
|
|
873
873
|
};
|
|
874
874
|
export {
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
875
|
+
tr as BrandMark,
|
|
876
|
+
ar as CanvasTextMeasurer,
|
|
877
|
+
ur as DefaultFooter,
|
|
878
878
|
Ct as DefaultGeomCircle,
|
|
879
879
|
Gt as DefaultGeomLine,
|
|
880
880
|
qt as DefaultGeomPath,
|
|
881
881
|
Dt as DefaultGeomRect,
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
882
|
+
Ar as DefaultGrid,
|
|
883
|
+
ir as DefaultHeader,
|
|
884
|
+
pr as DefaultSwatch,
|
|
885
|
+
yr as DefaultTooltip,
|
|
886
886
|
on as DevToolsPanel,
|
|
887
|
-
|
|
888
|
-
|
|
887
|
+
Sr as GRAPH_MODES,
|
|
888
|
+
Zr as GeomCircle,
|
|
889
889
|
en as GeomLine,
|
|
890
890
|
rn as GeomPath,
|
|
891
891
|
tn as GeomRect,
|
|
892
|
-
|
|
892
|
+
Ze as GraphErrorBoundary,
|
|
893
893
|
ie as GraphErrorPanel,
|
|
894
894
|
Nt as GraphProvider,
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
895
|
+
vr as GraphRenderer,
|
|
896
|
+
lr as HoverProvider,
|
|
897
|
+
mr as IntroFade,
|
|
898
|
+
xr as IntroWipeClip,
|
|
899
|
+
fr as TextMeasurerProvider,
|
|
900
|
+
Rr as ThemeProvider,
|
|
901
901
|
sn as UnitBoxSvg,
|
|
902
902
|
nn as UnitSpaceSvg,
|
|
903
|
-
|
|
904
|
-
|
|
903
|
+
Lr as buildDotsEditOutlineShapes,
|
|
904
|
+
Jr as createGraphyKit,
|
|
905
905
|
_r as darkTheme,
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
906
|
+
sr as defineGeomRenderer,
|
|
907
|
+
Cr as lightTheme,
|
|
908
|
+
dr as lightenCss,
|
|
909
|
+
Ir as projectPointCartesian,
|
|
910
910
|
et as pruneSelection,
|
|
911
|
-
|
|
912
|
-
|
|
911
|
+
gr as resolveBrandMarkVisual,
|
|
912
|
+
br as scalePointToPanel,
|
|
913
913
|
er as stampAxisEditTarget,
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
914
|
+
qr as stampGridEditTarget,
|
|
915
|
+
cr as stampLegendEditTarget,
|
|
916
|
+
rr as useElementScreenRect,
|
|
917
|
+
nr as useGeomHitTest,
|
|
918
|
+
hr as useGeomHover,
|
|
919
|
+
Or as useGeomReaderTree,
|
|
920
|
+
Er as useGeomStyleReader,
|
|
921
|
+
Pr as useGraphCommands,
|
|
922
|
+
Gr as useGraphHandle,
|
|
923
923
|
an as useGraphHistory,
|
|
924
924
|
cn as useGraphHistoryShortcuts,
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
925
|
+
Dr as useGraphLocale,
|
|
926
|
+
Nr as useGraphSelection,
|
|
927
|
+
Kr as useGuidesTakePress,
|
|
928
|
+
Hr as useHandleScene,
|
|
929
|
+
Br as useHoverState,
|
|
930
|
+
kr as usePaintDefs,
|
|
931
|
+
Mr as useResolvedStyle,
|
|
932
|
+
wr as useSceneSelector,
|
|
933
|
+
Tr as useStyleReaderTree,
|
|
934
|
+
$r as useStyleResolver,
|
|
935
935
|
ln as useTargetBoundary,
|
|
936
|
-
|
|
936
|
+
or as useTextMeasurer,
|
|
937
937
|
Ur as vars
|
|
938
938
|
};
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"visualization",
|
|
12
12
|
"renderer"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.9.0-beta.
|
|
14
|
+
"version": "1.9.0-beta.1791447671234",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"sideEffects": [
|
|
17
17
|
"**/*.css.ts",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react-colorful": "^5.6.1",
|
|
56
56
|
"react-intl": "^8.1.3",
|
|
57
57
|
"zustand": "^5.0.12",
|
|
58
|
-
"@graphysdk/viz-engine": "1.9.0-beta.
|
|
58
|
+
"@graphysdk/viz-engine": "1.9.0-beta.1791447671234"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@tiptap/core": "^3.0.0",
|