@graphysdk/react-renderer 1.9.0-beta.1795000550340 → 1.9.0-beta.1795002363248
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.mjs +3498 -3452
- package/dist/history-chords-BOD1b_Ce.cjs +2 -0
- package/dist/{history-chords-D4AyLOx_.js → history-chords-CFZrBEp1.js} +2208 -2168
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +186 -186
- package/package.json +5 -5
- package/dist/history-chords-g5NkgMkq.cjs +0 -2
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import { COMPILER_STAGE_KEYS as ce, DEFAULT_LOCALE as Ze, Geom as
|
|
1
|
+
import { $n as ke, $t as _e, An as kr, B as _r, Bn as z, Bt as $r, En as Hr, Fn as te, Gn as xr, Gt as Mr, Hn as U, In as Ie, J as Ar, Jn as $e, Jt as Q, Kn as Or, Kt as Br, Ln as He, Mn as Ne, Mt as Fr, Nn as Kr, Ot as zr, Pn as xe, Pt as Ur, Rn as jr, St as Wr, Un as Yr, Ut as Vr, V as Xr, Vn as re, Wt as Jr, X as Zr, Xn as Qr, Y as en, Yn as Me, Zn as Ae, Zt as Oe, a as tn, an as ne, ar as Be, bn as rn, bt as nn, dn as Fe, dr as ee, er as Pe, fn as Ke, gn as sn, hn as on, i as an, in as cn, ir as ln, j as dn, jn as j, jt as un, kn as mn, l as hn, lr as ze, mn as gn, n as pn, nn as Ue, nr as fn, on as je, or as We, pn as vn, q as yn, qn as Ye, r as Sn, rn as bn, rr as Tn, sn as Gn, sr as ae, t as Ve, tn as Xe, tr as En, un as Rn, xt as In, y as Nn, yt as Pn, z as wn, zn as Je } from "./history-chords-CFZrBEp1.js";
|
|
2
|
+
import { COMPILER_STAGE_KEYS as ce, DEFAULT_LOCALE as Ze, Geom as Qe, GraphCompilationSession as et, areEditTargetsEqual as tt, buildDiagnostic as me, buildPointSymbolPath as rt, canonicalizeLocale as nt, createAnchorResolver as st, createCompiler as ot, createDataLabelPlacementResolver as it, createSpecBuilder as at, createStyleResolver as we, findAnnotation as ct, findIntlLocale as lt, findLayerById as he, foldGeomCornerRadii as dt, isCompilerCachingEnabled as ut, isGeometricSymbol as le, isImageSymbol as mt, resolveDefinition as ht, resolveGeomCornerRadiusPx as ge, setCompilerCachingEnabled as gt, toPercent as J } from "@graphysdk/viz-engine";
|
|
3
3
|
import { Component as pt, useCallback as p, useEffect as _, useId as ft, useImperativeHandle as vt, useMemo as H, useRef as pe, useState as y, useSyncExternalStore as yt } from "react";
|
|
4
4
|
import { Fragment as St, jsx as c, jsxs as f } from "react/jsx-runtime";
|
|
5
5
|
import { useStore as ie } from "zustand";
|
|
6
6
|
import { motion as se } from "motion/react";
|
|
7
7
|
import { createStore as de } from "zustand/vanilla";
|
|
8
8
|
import bt from "clsx";
|
|
9
|
-
import './index.css';var Tt = "_1a5iqpb0",
|
|
10
|
-
var
|
|
9
|
+
import './index.css';var Tt = "_1a5iqpb0", Gt = "_1a5iqpb1";
|
|
10
|
+
var Et = "_1a5iqpb3", Rt = "_1a5iqpb4", It = "_1a5iqpb5";
|
|
11
11
|
var fe = ({ errors: e }) => {
|
|
12
12
|
const [t, ...r] = e;
|
|
13
13
|
return /* @__PURE__ */ f("div", {
|
|
@@ -15,7 +15,7 @@ var fe = ({ errors: e }) => {
|
|
|
15
15
|
className: Tt,
|
|
16
16
|
children: [
|
|
17
17
|
/* @__PURE__ */ c("strong", {
|
|
18
|
-
className:
|
|
18
|
+
className: Gt,
|
|
19
19
|
children: "This chart could not be rendered."
|
|
20
20
|
}),
|
|
21
21
|
t && /* @__PURE__ */ c(ve, { diagnostic: t }),
|
|
@@ -26,7 +26,7 @@ var fe = ({ errors: e }) => {
|
|
|
26
26
|
]
|
|
27
27
|
});
|
|
28
28
|
}, ve = ({ diagnostic: e }) => /* @__PURE__ */ f("div", {
|
|
29
|
-
className:
|
|
29
|
+
className: Et,
|
|
30
30
|
children: [
|
|
31
31
|
/* @__PURE__ */ c("span", {
|
|
32
32
|
className: Rt,
|
|
@@ -45,7 +45,7 @@ var fe = ({ errors: e }) => {
|
|
|
45
45
|
function Nt(e = [], t = []) {
|
|
46
46
|
return e.length === t.length && e.every((r, n) => Object.is(r, t[n]));
|
|
47
47
|
}
|
|
48
|
-
var
|
|
48
|
+
var Pt = class extends pt {
|
|
49
49
|
constructor(...e) {
|
|
50
50
|
super(...e), this.state = { caughtDiagnostic: null };
|
|
51
51
|
}
|
|
@@ -67,8 +67,8 @@ var wt = class extends pt {
|
|
|
67
67
|
}
|
|
68
68
|
}, Ce = (e) => typeof e == "object" && "geom" in e && "render" in e, De = (e) => {
|
|
69
69
|
const t = ht(e);
|
|
70
|
-
return t instanceof
|
|
71
|
-
},
|
|
70
|
+
return t instanceof Qe ? t : null;
|
|
71
|
+
}, wt = (e, t) => {
|
|
72
72
|
const r = e.filter((n) => Ct(n, t));
|
|
73
73
|
return r.length === e.length ? e : r;
|
|
74
74
|
}, Ct = (e, t) => e.kind === "annotation" ? ct(t.annotations, e.id) !== null : e.kind === "observations" ? he(t.layers, e.layerId) !== void 0 : e.kind === "layer" && e.layerId !== void 0 ? he(t.layers, e.layerId) !== void 0 : !0, ye = [], Dt = () => de((e) => ({
|
|
@@ -79,7 +79,7 @@ var wt = class extends pt {
|
|
|
79
79
|
const s = t[n];
|
|
80
80
|
return s !== void 0 && tt(r, s);
|
|
81
81
|
}), qt = 5, kt = (e) => {
|
|
82
|
-
if (!
|
|
82
|
+
if (!Pe) return {
|
|
83
83
|
emit: () => {
|
|
84
84
|
},
|
|
85
85
|
subscribe: () => $t,
|
|
@@ -120,7 +120,7 @@ var wt = class extends pt {
|
|
|
120
120
|
};
|
|
121
121
|
return {
|
|
122
122
|
lastCompile: s,
|
|
123
|
-
history:
|
|
123
|
+
history: xt(n.history, s, qt),
|
|
124
124
|
nextId: n.nextId + 1,
|
|
125
125
|
lastSnapshot: r
|
|
126
126
|
};
|
|
@@ -137,12 +137,12 @@ var wt = class extends pt {
|
|
|
137
137
|
case "command":
|
|
138
138
|
return e.command.metadata.description;
|
|
139
139
|
}
|
|
140
|
-
},
|
|
140
|
+
}, xt = (e, t, r) => {
|
|
141
141
|
const n = e.length >= r ? e.length - (r - 1) : 0;
|
|
142
142
|
return [...e.slice(n), t];
|
|
143
143
|
};
|
|
144
144
|
function Se(e) {
|
|
145
|
-
const t = e.filter(Ce), r = /* @__PURE__ */ new Set([...Object.keys(
|
|
145
|
+
const t = e.filter(Ce), r = /* @__PURE__ */ new Set([...Object.keys(je), ...t.map((l) => l.geom)]), n = [], s = /* @__PURE__ */ new Set();
|
|
146
146
|
for (const l of e) {
|
|
147
147
|
const d = De(l);
|
|
148
148
|
d === null || r.has(d.type) || s.has(d.type) || (s.add(d.type), n.push({
|
|
@@ -180,12 +180,12 @@ function Se(e) {
|
|
|
180
180
|
},
|
|
181
181
|
suggestion: `Keep a single render-only override for ('${l}', '${d}').`
|
|
182
182
|
});
|
|
183
|
-
return a.push(...
|
|
183
|
+
return a.push(...jt(e)), {
|
|
184
184
|
errors: n,
|
|
185
185
|
warnings: a
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Mt(e, t) {
|
|
189
189
|
const { coordSystem: r, layers: n } = e, s = /* @__PURE__ */ new Set(), i = [];
|
|
190
190
|
for (const a of n)
|
|
191
191
|
t(a.geom, r.type) !== null || s.has(a.geom) || (s.add(a.geom), i.push({
|
|
@@ -294,7 +294,7 @@ function Kt(e, t) {
|
|
|
294
294
|
}
|
|
295
295
|
function zt(e, t) {
|
|
296
296
|
let r;
|
|
297
|
-
return e.layers.flatMap((n, s) => ne(t(n.geom, e.coordSystem.type)) ? Ut(n) ? (r ??=
|
|
297
|
+
return e.layers.flatMap((n, s) => ne(t(n.geom, e.coordSystem.type)) ? Ut(n) ? (r ??= we().readers(e), (r.geom(n).get("overpaint", void 0, "hovered")?.length ?? 0) === 0 ? [] : [{
|
|
298
298
|
kind: "userInput",
|
|
299
299
|
severity: "warning",
|
|
300
300
|
code: "INVALID_STYLE_RULE",
|
|
@@ -308,7 +308,7 @@ function zt(e, t) {
|
|
|
308
308
|
}]) : [] : []);
|
|
309
309
|
}
|
|
310
310
|
var Ut = (e) => [e.styles.defaults, e.styles.overrides].some((t) => t.some((r) => r.state === "hovered" && (r.declarations.overpaint?.length ?? 0) > 0));
|
|
311
|
-
function
|
|
311
|
+
function jt(e) {
|
|
312
312
|
const t = /* @__PURE__ */ new Set(), r = [];
|
|
313
313
|
for (const n of e) {
|
|
314
314
|
const s = De(n);
|
|
@@ -326,11 +326,11 @@ function Wt(e) {
|
|
|
326
326
|
}
|
|
327
327
|
return r;
|
|
328
328
|
}
|
|
329
|
-
var
|
|
329
|
+
var Wt = (e) => de((t) => ({
|
|
330
330
|
scene: e,
|
|
331
331
|
setScene: (r) => t((n) => n.scene === r ? n : { scene: r })
|
|
332
|
-
})),
|
|
333
|
-
const S =
|
|
332
|
+
})), Yt = ({ spec: e, data: t, colorScheme: r, plugins: n, theme: s, resolveRenderer: i, anchorResolver: a, onSpecChange: l, onError: d, onWarnings: h }) => {
|
|
333
|
+
const S = Q(l), D = Q(d), N = Q(h), [{ session: g, compileBus: m, findGeom: T }] = y(() => {
|
|
334
334
|
const o = ot({
|
|
335
335
|
plugins: n,
|
|
336
336
|
theme: s
|
|
@@ -346,24 +346,24 @@ var Yt = (e) => de((t) => ({
|
|
|
346
346
|
errors: [...u.errors, ...o.errors],
|
|
347
347
|
warnings: [...u.warnings, ...o.warnings]
|
|
348
348
|
};
|
|
349
|
-
}), L = pe(null), [R] = y(
|
|
349
|
+
}), L = pe(null), [R] = y(Vt), G = pe(null), P = p((o) => v.errors.length === 0 ? o : [...v.errors, ...o ?? []], [v]), q = p((o) => {
|
|
350
350
|
if (!o.ok) return o.errors;
|
|
351
|
-
if (
|
|
351
|
+
if (G.current) G.current.getState().setScene(o.scene);
|
|
352
352
|
else {
|
|
353
|
-
const u =
|
|
354
|
-
u.subscribe(R.notify),
|
|
353
|
+
const u = Wt(o.scene);
|
|
354
|
+
u.subscribe(R.notify), G.current = u, R.notify();
|
|
355
355
|
}
|
|
356
356
|
return null;
|
|
357
|
-
}, [R]), [I,
|
|
357
|
+
}, [R]), [I, x] = y(() => {
|
|
358
358
|
const o = g.compile({
|
|
359
359
|
spec: e,
|
|
360
360
|
data: t,
|
|
361
361
|
colorScheme: r
|
|
362
362
|
});
|
|
363
|
-
return L.current = o,
|
|
364
|
-
}),
|
|
363
|
+
return L.current = o, P(q(o));
|
|
364
|
+
}), w = p((o) => o.ok ? [
|
|
365
365
|
...o.warnings,
|
|
366
|
-
...
|
|
366
|
+
...Mt(o.scene, i),
|
|
367
367
|
...At(o.scene, i),
|
|
368
368
|
...Ot(o.scene),
|
|
369
369
|
...Bt(o.scene, i),
|
|
@@ -377,13 +377,13 @@ var Yt = (e) => de((t) => ({
|
|
|
377
377
|
}, [N]);
|
|
378
378
|
_(() => {
|
|
379
379
|
const o = L.current;
|
|
380
|
-
o && (b([...v.errors, ...o.ok ? [] : o.errors]), C([...v.warnings, ...
|
|
380
|
+
o && (b([...v.errors, ...o.ok ? [] : o.errors]), C([...v.warnings, ...w(o)]), o.ok && m.emit({ kind: "init" }));
|
|
381
381
|
}, [
|
|
382
382
|
m,
|
|
383
383
|
b,
|
|
384
384
|
C,
|
|
385
385
|
v,
|
|
386
|
-
|
|
386
|
+
w
|
|
387
387
|
]), _(() => {
|
|
388
388
|
const o = g.update({
|
|
389
389
|
spec: e,
|
|
@@ -393,7 +393,7 @@ var Yt = (e) => de((t) => ({
|
|
|
393
393
|
if (!o) return;
|
|
394
394
|
o.committedSpec && S.current?.(o.committedSpec);
|
|
395
395
|
const u = q(o.result);
|
|
396
|
-
|
|
396
|
+
x(P(u)), u && b(u), C(w(o.result)), u || m.emit({ kind: o.hasSpecChange ? "spec" : "data" });
|
|
397
397
|
}, [
|
|
398
398
|
e,
|
|
399
399
|
t,
|
|
@@ -403,39 +403,39 @@ var Yt = (e) => de((t) => ({
|
|
|
403
403
|
q,
|
|
404
404
|
b,
|
|
405
405
|
C,
|
|
406
|
-
w,
|
|
407
406
|
P,
|
|
407
|
+
w,
|
|
408
408
|
S
|
|
409
409
|
]);
|
|
410
|
-
const
|
|
411
|
-
|
|
410
|
+
const M = p((o) => {
|
|
411
|
+
x((u) => u === null ? u : P(null)), C(w(o));
|
|
412
412
|
}, [
|
|
413
|
-
|
|
413
|
+
P,
|
|
414
414
|
C,
|
|
415
|
-
|
|
415
|
+
w
|
|
416
416
|
]), A = p((o) => {
|
|
417
|
-
o.scene &&
|
|
417
|
+
o.scene && G.current?.getState().setScene(o.scene), o.result && M(o.result), o.command && m.emit({
|
|
418
418
|
kind: "command",
|
|
419
419
|
command: o.command
|
|
420
420
|
}), o.spec && S.current?.(o.spec), o.errors && b([...o.errors]);
|
|
421
421
|
}, [
|
|
422
|
-
|
|
422
|
+
M,
|
|
423
423
|
m,
|
|
424
424
|
S,
|
|
425
425
|
b
|
|
426
|
-
]),
|
|
426
|
+
]), E = p((o) => {
|
|
427
427
|
for (const u of o) A(u);
|
|
428
428
|
return o.some((u) => !!u.scene);
|
|
429
429
|
}, [A]), k = p((o, u) => {
|
|
430
|
-
|
|
431
|
-
}, [g,
|
|
432
|
-
|
|
433
|
-
}, [g,
|
|
430
|
+
E(g.applyCommand(o, u));
|
|
431
|
+
}, [g, E]), W = p(() => {
|
|
432
|
+
E(g.commit());
|
|
433
|
+
}, [g, E]), O = p(() => E(g.undo()), [g, E]), B = p(() => E(g.redo()), [g, E]), oe = p((o) => {
|
|
434
434
|
const u = g.preview(o).find((X) => X.scene)?.scene;
|
|
435
|
-
return u ? (
|
|
436
|
-
}, [g]),
|
|
435
|
+
return u ? (G.current?.getState().setScene(u), !0) : !1;
|
|
436
|
+
}, [g]), Y = p(() => {
|
|
437
437
|
const o = g.scene;
|
|
438
|
-
o &&
|
|
438
|
+
o && G.current?.getState().setScene(o);
|
|
439
439
|
}, [g]), $ = H(() => ({
|
|
440
440
|
stack: g.history,
|
|
441
441
|
undo: O,
|
|
@@ -444,21 +444,21 @@ var Yt = (e) => de((t) => ({
|
|
|
444
444
|
g,
|
|
445
445
|
O,
|
|
446
446
|
B
|
|
447
|
-
]),
|
|
447
|
+
]), V = p(() => G.current?.getState().scene ?? null, []);
|
|
448
448
|
return {
|
|
449
|
-
store:
|
|
449
|
+
store: G.current,
|
|
450
450
|
dispatch: k,
|
|
451
|
-
commit:
|
|
451
|
+
commit: W,
|
|
452
452
|
paintPreview: oe,
|
|
453
|
-
clearPreview:
|
|
453
|
+
clearPreview: Y,
|
|
454
454
|
history: $,
|
|
455
455
|
subscribe: R.subscribe,
|
|
456
|
-
getScene:
|
|
456
|
+
getScene: V,
|
|
457
457
|
compileBus: m,
|
|
458
458
|
compileErrors: I,
|
|
459
459
|
findGeom: T
|
|
460
460
|
};
|
|
461
|
-
},
|
|
461
|
+
}, Vt = () => {
|
|
462
462
|
const e = /* @__PURE__ */ new Set();
|
|
463
463
|
return {
|
|
464
464
|
subscribe: (t) => (e.add(t), () => {
|
|
@@ -466,17 +466,17 @@ var Yt = (e) => de((t) => ({
|
|
|
466
466
|
}),
|
|
467
467
|
notify: () => e.forEach((t) => t())
|
|
468
468
|
};
|
|
469
|
-
}, Xt = ["cartesian", "polar"],
|
|
470
|
-
const g =
|
|
471
|
-
|
|
472
|
-
const
|
|
469
|
+
}, Xt = ["cartesian", "polar"], Jt = ({ data: e, spec: t, plugins: r = [], theme: n, glyphs: s, formattingLocale: i, handleRef: a, onSpecChange: l, onError: d, onWarnings: h, colorScheme: S = "light", mode: D = _e.readonly, children: N }) => {
|
|
470
|
+
const g = Xe(D), m = er(i, h), [T] = y(() => n), [v] = y(() => Ae(n?.glyphs, s)), L = T?.colorScheme ?? S, [R] = y(() => Ue([...T?.plugins ?? [], ...r].filter(Ce)));
|
|
471
|
+
Qt(R, v);
|
|
472
|
+
const G = ft(), [P] = y(() => st(r)), [q] = y(() => it(r)), [I] = y(() => Dt()), [x] = y(() => Oe()), w = H(() => we({ colorScheme: L }), [L]), { store: b, dispatch: C, commit: M, paintPreview: A, clearPreview: E, history: k, subscribe: W, getScene: O, compileBus: B, compileErrors: oe, findGeom: Y } = Yt({
|
|
473
473
|
spec: t,
|
|
474
474
|
data: e,
|
|
475
475
|
colorScheme: L,
|
|
476
476
|
plugins: r,
|
|
477
477
|
theme: T,
|
|
478
478
|
resolveRenderer: R,
|
|
479
|
-
anchorResolver:
|
|
479
|
+
anchorResolver: P,
|
|
480
480
|
onSpecChange: l,
|
|
481
481
|
onError: d,
|
|
482
482
|
onWarnings: h
|
|
@@ -486,25 +486,25 @@ var Yt = (e) => de((t) => ({
|
|
|
486
486
|
return b.subscribe((o, u) => {
|
|
487
487
|
if (o.scene.spec === u.scene.spec) return;
|
|
488
488
|
const { selection: X, setSelection: qe } = I.getState();
|
|
489
|
-
X.length !== 0 && qe(
|
|
489
|
+
X.length !== 0 && qe(wt(X, o.scene.spec));
|
|
490
490
|
});
|
|
491
491
|
}, [b, I]);
|
|
492
492
|
const $ = H(() => ({
|
|
493
493
|
dispatch: C,
|
|
494
|
-
commit:
|
|
494
|
+
commit: M,
|
|
495
495
|
paintPreview: A,
|
|
496
|
-
clearPreview:
|
|
496
|
+
clearPreview: E
|
|
497
497
|
}), [
|
|
498
498
|
C,
|
|
499
|
-
|
|
499
|
+
M,
|
|
500
500
|
A,
|
|
501
|
-
|
|
501
|
+
E
|
|
502
502
|
]);
|
|
503
503
|
vt(a, () => ({
|
|
504
504
|
commands: $,
|
|
505
505
|
undo: k.undo,
|
|
506
506
|
redo: k.redo,
|
|
507
|
-
subscribe:
|
|
507
|
+
subscribe: W,
|
|
508
508
|
getScene: O,
|
|
509
509
|
formattingLocale: m,
|
|
510
510
|
getSelection: () => I.getState().selection,
|
|
@@ -517,7 +517,7 @@ var Yt = (e) => de((t) => ({
|
|
|
517
517
|
}), [
|
|
518
518
|
$,
|
|
519
519
|
k,
|
|
520
|
-
|
|
520
|
+
W,
|
|
521
521
|
O,
|
|
522
522
|
m,
|
|
523
523
|
I,
|
|
@@ -525,48 +525,48 @@ var Yt = (e) => de((t) => ({
|
|
|
525
525
|
v,
|
|
526
526
|
R
|
|
527
527
|
]);
|
|
528
|
-
const
|
|
529
|
-
chartId:
|
|
528
|
+
const V = H(() => b ? {
|
|
529
|
+
chartId: G,
|
|
530
530
|
store: b,
|
|
531
531
|
selectionStore: I,
|
|
532
|
-
targetBoundaryStore:
|
|
532
|
+
targetBoundaryStore: x,
|
|
533
533
|
commands: $,
|
|
534
534
|
history: k,
|
|
535
535
|
formattingLocale: m,
|
|
536
536
|
compileBus: B,
|
|
537
537
|
colorScheme: L,
|
|
538
538
|
mode: g,
|
|
539
|
-
styleResolver:
|
|
540
|
-
anchorResolver:
|
|
541
|
-
findGeom:
|
|
539
|
+
styleResolver: w,
|
|
540
|
+
anchorResolver: P,
|
|
541
|
+
findGeom: Y
|
|
542
542
|
} : null, [
|
|
543
|
-
|
|
543
|
+
G,
|
|
544
544
|
b,
|
|
545
545
|
I,
|
|
546
|
-
|
|
546
|
+
x,
|
|
547
547
|
$,
|
|
548
548
|
k,
|
|
549
549
|
m,
|
|
550
550
|
B,
|
|
551
551
|
L,
|
|
552
552
|
g,
|
|
553
|
-
P,
|
|
554
553
|
w,
|
|
555
|
-
|
|
554
|
+
P,
|
|
555
|
+
Y
|
|
556
556
|
]);
|
|
557
|
-
return /* @__PURE__ */ c(
|
|
557
|
+
return /* @__PURE__ */ c(Pt, {
|
|
558
558
|
forcedErrors: oe,
|
|
559
559
|
onError: d,
|
|
560
560
|
resetKeys: [t, e],
|
|
561
|
-
children:
|
|
562
|
-
value:
|
|
563
|
-
children: /* @__PURE__ */ c(
|
|
561
|
+
children: V ? /* @__PURE__ */ c(We.Provider, {
|
|
562
|
+
value: V,
|
|
563
|
+
children: /* @__PURE__ */ c(Fe, {
|
|
564
564
|
value: R,
|
|
565
|
-
children: /* @__PURE__ */ c(
|
|
565
|
+
children: /* @__PURE__ */ c(ze, {
|
|
566
566
|
value: q,
|
|
567
|
-
children: /* @__PURE__ */ c(
|
|
567
|
+
children: /* @__PURE__ */ c(j, {
|
|
568
568
|
shapes: T?.shapes,
|
|
569
|
-
children: /* @__PURE__ */ c(
|
|
569
|
+
children: /* @__PURE__ */ c(Me, {
|
|
570
570
|
glyphs: v,
|
|
571
571
|
children: N
|
|
572
572
|
})
|
|
@@ -575,14 +575,14 @@ var Yt = (e) => de((t) => ({
|
|
|
575
575
|
})
|
|
576
576
|
}) : null
|
|
577
577
|
});
|
|
578
|
-
}, Zt = (e, t) => (e ?? []).filter((r) => !le(r) && !t.has(r)),
|
|
578
|
+
}, Zt = (e, t) => (e ?? []).filter((r) => !le(r) && !t.has(r)), Qt = (e, t) => {
|
|
579
579
|
_(() => {
|
|
580
|
-
if (!
|
|
580
|
+
if (!Pe) return;
|
|
581
581
|
const r = new Set(t.map(({ name: n }) => n));
|
|
582
582
|
for (const n of Xt) for (const s of Zt(e("point", n)?.symbols, r)) console.warn(`[graphy] The ${n} point renderer lists "${s}", but no glyph has that name. The shape menu offers it, and SymbolFigure draws the first listed symbol in its place.`);
|
|
583
583
|
}, [e, t]);
|
|
584
584
|
}, er = (e, t) => {
|
|
585
|
-
const r =
|
|
585
|
+
const r = Q(t);
|
|
586
586
|
return _(() => {
|
|
587
587
|
if (e === void 0 || lt(e) !== void 0) return;
|
|
588
588
|
const n = [{
|
|
@@ -598,7 +598,7 @@ function Hn({ theme: e, glyphs: t, ...r } = {}) {
|
|
|
598
598
|
const n = at(r);
|
|
599
599
|
return {
|
|
600
600
|
...n,
|
|
601
|
-
GraphProvider: (i) => /* @__PURE__ */ c(
|
|
601
|
+
GraphProvider: (i) => /* @__PURE__ */ c(Jt, {
|
|
602
602
|
...i,
|
|
603
603
|
plugins: n.plugins,
|
|
604
604
|
theme: e,
|
|
@@ -611,7 +611,7 @@ var K = (e, t) => {
|
|
|
611
611
|
if (!e.endsWith("%")) return null;
|
|
612
612
|
const r = Number.parseFloat(e);
|
|
613
613
|
return Number.isFinite(r) ? r / 100 * t : null;
|
|
614
|
-
},
|
|
614
|
+
}, xn = ({ x: e, y: t, width: r, height: n }, s) => {
|
|
615
615
|
const i = K(e, s.width), a = K(t, s.height), l = K(r, s.width), d = K(n, s.height);
|
|
616
616
|
return i === null || a === null || l === null || d === null ? null : {
|
|
617
617
|
x: i,
|
|
@@ -620,7 +620,7 @@ var K = (e, t) => {
|
|
|
620
620
|
height: d
|
|
621
621
|
};
|
|
622
622
|
}, tr = ({ animateTransitions: e, cx: t, cy: r, r: n, effects: s, ...i }) => {
|
|
623
|
-
const a =
|
|
623
|
+
const a = U(s);
|
|
624
624
|
return e ? /* @__PURE__ */ c(se.circle, {
|
|
625
625
|
initial: !1,
|
|
626
626
|
animate: {
|
|
@@ -628,7 +628,7 @@ var K = (e, t) => {
|
|
|
628
628
|
cy: r,
|
|
629
629
|
r: n
|
|
630
630
|
},
|
|
631
|
-
transition:
|
|
631
|
+
transition: z,
|
|
632
632
|
style: a,
|
|
633
633
|
...i
|
|
634
634
|
}) : /* @__PURE__ */ c("circle", {
|
|
@@ -639,7 +639,7 @@ var K = (e, t) => {
|
|
|
639
639
|
...i
|
|
640
640
|
});
|
|
641
641
|
}, rr = ({ animateTransitions: e, x1: t, y1: r, x2: n, y2: s, effects: i, ...a }) => {
|
|
642
|
-
const l =
|
|
642
|
+
const l = U(i);
|
|
643
643
|
return e ? /* @__PURE__ */ c(se.line, {
|
|
644
644
|
initial: !1,
|
|
645
645
|
animate: {
|
|
@@ -648,7 +648,7 @@ var K = (e, t) => {
|
|
|
648
648
|
x2: n,
|
|
649
649
|
y2: s
|
|
650
650
|
},
|
|
651
|
-
transition:
|
|
651
|
+
transition: z,
|
|
652
652
|
style: l,
|
|
653
653
|
...a
|
|
654
654
|
}) : /* @__PURE__ */ c("line", {
|
|
@@ -660,7 +660,7 @@ var K = (e, t) => {
|
|
|
660
660
|
...a
|
|
661
661
|
});
|
|
662
662
|
}, nr = ({ animateTransitions: e, x: t, y: r, width: n, height: s, rx: i, ry: a, effects: l, ...d }) => {
|
|
663
|
-
const h =
|
|
663
|
+
const h = U(l);
|
|
664
664
|
return e ? /* @__PURE__ */ c(se.rect, {
|
|
665
665
|
initial: !1,
|
|
666
666
|
animate: {
|
|
@@ -673,7 +673,7 @@ var K = (e, t) => {
|
|
|
673
673
|
ry: a
|
|
674
674
|
} : {}
|
|
675
675
|
},
|
|
676
|
-
transition:
|
|
676
|
+
transition: z,
|
|
677
677
|
style: h,
|
|
678
678
|
...d
|
|
679
679
|
}) : /* @__PURE__ */ c("rect", {
|
|
@@ -687,7 +687,7 @@ var K = (e, t) => {
|
|
|
687
687
|
...d
|
|
688
688
|
});
|
|
689
689
|
}, sr = ({ animateTransitions: e, d: t, source: r, effects: n, ...s }) => {
|
|
690
|
-
const i =
|
|
690
|
+
const i = U(n);
|
|
691
691
|
return e ? /* @__PURE__ */ c(or, {
|
|
692
692
|
d: t,
|
|
693
693
|
source: r,
|
|
@@ -698,15 +698,15 @@ var K = (e, t) => {
|
|
|
698
698
|
style: i,
|
|
699
699
|
...s
|
|
700
700
|
});
|
|
701
|
-
},
|
|
702
|
-
const { Circle: t } =
|
|
701
|
+
}, Mn = (e) => {
|
|
702
|
+
const { Circle: t } = te(), { animateTransitions: r } = re(), { symbol: n, ...s } = e, i = {
|
|
703
703
|
...s,
|
|
704
704
|
animateTransitions: r
|
|
705
705
|
};
|
|
706
706
|
return n !== void 0 && n !== "circle" ? /* @__PURE__ */ c("g", {
|
|
707
|
-
style:
|
|
707
|
+
style: U(e.effects),
|
|
708
708
|
"data-testid": e["data-testid"],
|
|
709
|
-
children: /* @__PURE__ */ c(
|
|
709
|
+
children: /* @__PURE__ */ c(Ye, {
|
|
710
710
|
symbol: n,
|
|
711
711
|
cx: be(e.cx),
|
|
712
712
|
cy: be(e.cy),
|
|
@@ -718,33 +718,33 @@ var K = (e, t) => {
|
|
|
718
718
|
strokeOpacity: e.strokeOpacity,
|
|
719
719
|
strokeWidth: e.strokeWidth,
|
|
720
720
|
motion: r ? {
|
|
721
|
-
transition:
|
|
721
|
+
transition: z,
|
|
722
722
|
intro: !1,
|
|
723
723
|
fadesIn: !1
|
|
724
724
|
} : null
|
|
725
725
|
})
|
|
726
|
-
}) : t === void 0 ? tr(i) : /* @__PURE__ */ c(
|
|
726
|
+
}) : t === void 0 ? tr(i) : /* @__PURE__ */ c(j, { children: /* @__PURE__ */ c(t, { ...i }) });
|
|
727
727
|
}, An = (e) => {
|
|
728
|
-
const { Line: t } =
|
|
728
|
+
const { Line: t } = te(), { animateTransitions: r } = re(), n = {
|
|
729
729
|
...e,
|
|
730
730
|
animateTransitions: r
|
|
731
731
|
};
|
|
732
|
-
return t === void 0 ? rr(n) : /* @__PURE__ */ c(
|
|
732
|
+
return t === void 0 ? rr(n) : /* @__PURE__ */ c(j, { children: /* @__PURE__ */ c(t, { ...n }) });
|
|
733
733
|
}, On = ({ cornerRadius: e, ...t }) => {
|
|
734
|
-
const { Rect: r } =
|
|
734
|
+
const { Rect: r } = te(), n = Ie()?.size ?? null, s = xe(), { animateTransitions: i } = re(), a = {
|
|
735
735
|
...t,
|
|
736
736
|
animateTransitions: i,
|
|
737
737
|
...ir(e, t, n, s)
|
|
738
738
|
};
|
|
739
|
-
return r === void 0 ? nr(a) : /* @__PURE__ */ c(
|
|
739
|
+
return r === void 0 ? nr(a) : /* @__PURE__ */ c(j, { children: /* @__PURE__ */ c(r, { ...a }) });
|
|
740
740
|
}, Bn = (e) => {
|
|
741
|
-
const { Path: t } =
|
|
741
|
+
const { Path: t } = te(), { animateTransitions: r } = re(), n = {
|
|
742
742
|
...e,
|
|
743
743
|
animateTransitions: r
|
|
744
744
|
};
|
|
745
|
-
return t === void 0 ? sr(n) : /* @__PURE__ */ c(
|
|
745
|
+
return t === void 0 ? sr(n) : /* @__PURE__ */ c(j, { children: /* @__PURE__ */ c(t, { ...n }) });
|
|
746
746
|
}, be = (e) => typeof e == "number" ? `${e}px` : e, or = ({ d: e, source: t, ...r }) => {
|
|
747
|
-
const n =
|
|
747
|
+
const n = Je(e, z, t);
|
|
748
748
|
return /* @__PURE__ */ c(se.path, {
|
|
749
749
|
d: n,
|
|
750
750
|
...r
|
|
@@ -755,12 +755,12 @@ var K = (e, t) => {
|
|
|
755
755
|
if (s === void 0) return {};
|
|
756
756
|
const i = ar(t, r, n);
|
|
757
757
|
if (i === null)
|
|
758
|
-
return s === "full" ? {} :
|
|
758
|
+
return s === "full" ? {} : Ge(ge({ cornerRadius: s }), n);
|
|
759
759
|
const a = Math.min(ge({
|
|
760
760
|
cornerRadius: s,
|
|
761
761
|
box: i
|
|
762
762
|
}), Math.min(i.width, i.height) / 2);
|
|
763
|
-
return
|
|
763
|
+
return Ge(a, n);
|
|
764
764
|
}, ar = (e, t, r) => {
|
|
765
765
|
const n = Te(e.width, t?.width, r.x), s = Te(e.height, t?.height, r.y);
|
|
766
766
|
return n === null || s === null ? null : {
|
|
@@ -772,14 +772,14 @@ var K = (e, t) => {
|
|
|
772
772
|
if (t === void 0) return null;
|
|
773
773
|
const n = K(e, t);
|
|
774
774
|
return n === null ? null : Math.abs(n);
|
|
775
|
-
},
|
|
775
|
+
}, Ge = (e, t) => t.x <= 0 || t.y <= 0 ? {
|
|
776
776
|
rx: 0,
|
|
777
777
|
ry: 0
|
|
778
778
|
} : {
|
|
779
779
|
rx: e / t.x,
|
|
780
780
|
ry: e / t.y
|
|
781
781
|
}, Fn = ({ symbol: e, size: t, fill: r, fillOpacity: n, stroke: s, strokeOpacity: i, strokeWidth: a }) => {
|
|
782
|
-
const l =
|
|
782
|
+
const l = ke(), d = Ke(), h = Be((N) => N.coordSystem.type), S = cr(e, d("point", h)?.symbols ?? [], l), D = {
|
|
783
783
|
size: t,
|
|
784
784
|
fill: r,
|
|
785
785
|
fillOpacity: n,
|
|
@@ -795,7 +795,7 @@ var K = (e, t) => {
|
|
|
795
795
|
strokeOpacity: i,
|
|
796
796
|
strokeWidth: a,
|
|
797
797
|
strokeLinejoin: "round"
|
|
798
|
-
}) : /* @__PURE__ */ c(
|
|
798
|
+
}) : /* @__PURE__ */ c($e, {
|
|
799
799
|
symbol: S,
|
|
800
800
|
glyphs: l,
|
|
801
801
|
...D
|
|
@@ -816,15 +816,15 @@ var K = (e, t) => {
|
|
|
816
816
|
})
|
|
817
817
|
});
|
|
818
818
|
}, zn = ({ box: e, children: t }) => {
|
|
819
|
-
const r =
|
|
819
|
+
const r = He(), n = r === null ? null : r.width * (e.x1 - e.x0), s = r === null ? null : r.height * (e.y1 - e.y0), i = H(() => n === null || s === null ? null : {
|
|
820
820
|
width: n,
|
|
821
821
|
height: s
|
|
822
822
|
}, [n, s]);
|
|
823
823
|
return /* @__PURE__ */ c("svg", {
|
|
824
|
-
x:
|
|
825
|
-
y:
|
|
826
|
-
width:
|
|
827
|
-
height:
|
|
824
|
+
x: J(e.x0),
|
|
825
|
+
y: J(e.y0),
|
|
826
|
+
width: J(e.x1 - e.x0),
|
|
827
|
+
height: J(e.y1 - e.y0),
|
|
828
828
|
overflow: "hidden",
|
|
829
829
|
pointerEvents: "none",
|
|
830
830
|
children: /* @__PURE__ */ c(Ne, {
|
|
@@ -834,7 +834,7 @@ var K = (e, t) => {
|
|
|
834
834
|
});
|
|
835
835
|
}, lr = "drqe3u0", dr = "drqe3u1", ur = "drqe3u2", mr = "drqe3u3", F = "drqe3u4", hr = "drqe3u5", gr = "drqe3u6", pr = "drqe3u7", Z = "drqe3u8", fr = "drqe3u9", vr = "drqe3ua";
|
|
836
836
|
var yr = "drqe3uc", Sr = "drqe3ud", br = "drqe3ue", Tr = "drqe3uf";
|
|
837
|
-
var
|
|
837
|
+
var Gr = "drqe3uh", Er = "drqe3ui", Ee = {
|
|
838
838
|
enabled: "drqe3uk drqe3uj",
|
|
839
839
|
disabled: "drqe3ul drqe3uj"
|
|
840
840
|
}, Re = {
|
|
@@ -883,7 +883,7 @@ var Er = "drqe3uh", Gr = "drqe3ui", Ge = {
|
|
|
883
883
|
children: [/* @__PURE__ */ f("button", {
|
|
884
884
|
type: "button",
|
|
885
885
|
onClick: g,
|
|
886
|
-
className: l ?
|
|
886
|
+
className: l ? Ee.enabled : Ee.disabled,
|
|
887
887
|
"aria-pressed": l,
|
|
888
888
|
children: ["cache ", l ? "enabled" : "disabled"]
|
|
889
889
|
}), /* @__PURE__ */ c("span", {
|
|
@@ -901,7 +901,7 @@ var Er = "drqe3uh", Gr = "drqe3ui", Ge = {
|
|
|
901
901
|
}, Rr = ({ delta: e, durations: t, cumulative: r }) => /* @__PURE__ */ f("table", {
|
|
902
902
|
className: ur,
|
|
903
903
|
children: [/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ f("tr", {
|
|
904
|
-
className:
|
|
904
|
+
className: Gr,
|
|
905
905
|
children: [
|
|
906
906
|
/* @__PURE__ */ c("th", {
|
|
907
907
|
className: mr,
|
|
@@ -970,10 +970,10 @@ var Er = "drqe3uh", Gr = "drqe3ui", Ge = {
|
|
|
970
970
|
}), Ir = ({ entries: e }) => e.length === 0 ? null : /* @__PURE__ */ f("div", {
|
|
971
971
|
className: Sr,
|
|
972
972
|
children: [/* @__PURE__ */ c("div", {
|
|
973
|
-
className:
|
|
973
|
+
className: Er,
|
|
974
974
|
children: "recent compiles"
|
|
975
975
|
}), e.map((t) => {
|
|
976
|
-
const r =
|
|
976
|
+
const r = Pr(t.stages, (i) => i.misses > 0), n = ce.length;
|
|
977
977
|
return /* @__PURE__ */ f("div", {
|
|
978
978
|
className: gr,
|
|
979
979
|
children: [
|
|
@@ -999,11 +999,11 @@ var Er = "drqe3uh", Gr = "drqe3ui", Ge = {
|
|
|
999
999
|
]
|
|
1000
1000
|
}, t.id);
|
|
1001
1001
|
})]
|
|
1002
|
-
}), Nr = (e) => !e || e.hits === 0 && e.misses === 0 ? "untouched" : e.misses > 0 ? "ran" : "cached",
|
|
1002
|
+
}), Nr = (e) => !e || e.hits === 0 && e.misses === 0 ? "untouched" : e.misses > 0 ? "ran" : "cached", Pr = (e, t) => {
|
|
1003
1003
|
let r = 0;
|
|
1004
1004
|
for (const n of ce) t(e[n]) && (r += 1);
|
|
1005
1005
|
return r;
|
|
1006
|
-
}, ue = (e) => e < 0.1 ? "<0.1ms" : e >= 10 ? `${e.toFixed(0)}ms` : `${e.toFixed(2)}ms`,
|
|
1006
|
+
}, ue = (e) => e < 0.1 ? "<0.1ms" : e >= 10 ? `${e.toFixed(0)}ms` : `${e.toFixed(2)}ms`, jn = () => {
|
|
1007
1007
|
const { history: e } = ae(), { stack: t, undo: r, redo: n } = e, s = p((l) => t.subscribe(l), [t]), i = p(() => t.getSnapshot(), [t]), a = yt(s, i, i);
|
|
1008
1008
|
return H(() => ({
|
|
1009
1009
|
...a,
|
|
@@ -1014,7 +1014,7 @@ var Er = "drqe3uh", Gr = "drqe3ui", Ge = {
|
|
|
1014
1014
|
r,
|
|
1015
1015
|
n
|
|
1016
1016
|
]);
|
|
1017
|
-
},
|
|
1017
|
+
}, wr = /* @__PURE__ */ new Set([
|
|
1018
1018
|
"button",
|
|
1019
1019
|
"checkbox",
|
|
1020
1020
|
"color",
|
|
@@ -1025,14 +1025,14 @@ var Er = "drqe3uh", Gr = "drqe3ui", Ge = {
|
|
|
1025
1025
|
"range",
|
|
1026
1026
|
"reset",
|
|
1027
1027
|
"submit"
|
|
1028
|
-
]),
|
|
1028
|
+
]), Wn = (e, t = {}) => {
|
|
1029
1029
|
const { target: r, enabled: n = !0 } = t;
|
|
1030
1030
|
_(() => {
|
|
1031
1031
|
const s = Cr(r);
|
|
1032
1032
|
if (!n || !s) return;
|
|
1033
1033
|
const i = (a) => {
|
|
1034
1034
|
if (!Dr(a) || a.defaultPrevented || Lr(a.target)) return;
|
|
1035
|
-
const l =
|
|
1035
|
+
const l = Ve(a);
|
|
1036
1036
|
if (!l) return;
|
|
1037
1037
|
const d = e.current;
|
|
1038
1038
|
d && (l === "undo" ? d.undo() : d.redo()) && a.preventDefault();
|
|
@@ -1043,84 +1043,84 @@ var Er = "drqe3uh", Gr = "drqe3ui", Ge = {
|
|
|
1043
1043
|
r,
|
|
1044
1044
|
n
|
|
1045
1045
|
]);
|
|
1046
|
-
}, Cr = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, Dr = (e) => "key" in e, Lr = (e) => e instanceof HTMLInputElement ? !
|
|
1046
|
+
}, Cr = (e) => e === void 0 ? window : e !== null && "current" in e ? e.current : e, Dr = (e) => "key" in e, Lr = (e) => e instanceof HTMLInputElement ? !wr.has(e.type) : e instanceof HTMLElement ? e.isContentEditable || e.tagName === "TEXTAREA" : !1, Yn = () => {
|
|
1047
1047
|
const { targetBoundaryStore: e } = ae();
|
|
1048
1048
|
return ie(e, (t) => t.boundary);
|
|
1049
1049
|
};
|
|
1050
1050
|
export {
|
|
1051
|
-
|
|
1052
|
-
|
|
1051
|
+
on as CanvasTextMeasurer,
|
|
1052
|
+
Ar as DefaultFooter,
|
|
1053
1053
|
tr as DefaultGeomCircle,
|
|
1054
1054
|
rr as DefaultGeomLine,
|
|
1055
1055
|
sr as DefaultGeomPath,
|
|
1056
1056
|
nr as DefaultGeomRect,
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1057
|
+
hn as DefaultGrid,
|
|
1058
|
+
yn as DefaultHeader,
|
|
1059
|
+
Rn as DefaultSwatch,
|
|
1060
|
+
In as DefaultTooltip,
|
|
1061
1061
|
Un as DevToolsPanel,
|
|
1062
|
-
|
|
1063
|
-
|
|
1062
|
+
_e as GRAPH_MODES,
|
|
1063
|
+
Mn as GeomCircle,
|
|
1064
1064
|
An as GeomLine,
|
|
1065
|
-
|
|
1066
|
-
|
|
1065
|
+
Jr as GeomOverpaint,
|
|
1066
|
+
kr as GeomPanelSizeProvider,
|
|
1067
1067
|
Bn as GeomPath,
|
|
1068
1068
|
On as GeomRect,
|
|
1069
|
-
|
|
1069
|
+
Pt as GraphErrorBoundary,
|
|
1070
1070
|
fe as GraphErrorPanel,
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1071
|
+
Jt as GraphProvider,
|
|
1072
|
+
tn as GraphRenderer,
|
|
1073
|
+
en as GraphyBadge,
|
|
1074
|
+
Br as HoverProvider,
|
|
1075
1075
|
Ur as IntlProvider,
|
|
1076
|
-
|
|
1077
|
-
|
|
1076
|
+
Gn as IntroFade,
|
|
1077
|
+
jr as IntroWipeClip,
|
|
1078
1078
|
Fn as SymbolFigure,
|
|
1079
|
-
|
|
1080
|
-
|
|
1079
|
+
vn as TextMeasurerProvider,
|
|
1080
|
+
zr as ThemeProvider,
|
|
1081
1081
|
zn as UnitBoxSvg,
|
|
1082
1082
|
Kn as UnitSpaceSvg,
|
|
1083
|
-
|
|
1083
|
+
xr as buildDotsEditOutlineShapes,
|
|
1084
1084
|
Hn as createGraphyKit,
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1085
|
+
un as darkTheme,
|
|
1086
|
+
bn as defineGeomRenderer,
|
|
1087
|
+
Qr as defineGlyph,
|
|
1088
|
+
cn as getBuiltInEditOutlineShapes,
|
|
1089
|
+
Fr as lightTheme,
|
|
1090
|
+
rn as lightenCss,
|
|
1091
|
+
wt as pruneSelection,
|
|
1092
1092
|
K as readPositionPixels,
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1093
|
+
xn as readRectPixels,
|
|
1094
|
+
Zr as resolveGraphyBadgeVariant,
|
|
1095
|
+
Yr as resolvePathStroke,
|
|
1096
1096
|
Or as scalePointToPanel,
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1097
|
+
wn as stampAxisEditTarget,
|
|
1098
|
+
_r as stampGridEditTarget,
|
|
1099
|
+
Xr as stampLegendEditTarget,
|
|
1100
|
+
$r as useElementScreenRect,
|
|
1101
|
+
Pn as useFormattingLocale,
|
|
1102
|
+
Mr as useGeomHitTest,
|
|
1103
|
+
Vr as useGeomHover,
|
|
1104
|
+
Kr as useGeomPanelSize,
|
|
1105
|
+
En as useGeomReaderTree,
|
|
1106
|
+
fn as useGeomStyleReader,
|
|
1107
|
+
He as useGeomViewportSize,
|
|
1108
|
+
re as useGraphAnimation,
|
|
1109
|
+
pn as useGraphCommands,
|
|
1110
|
+
an as useGraphHandle,
|
|
1111
|
+
jn as useGraphHistory,
|
|
1112
|
+
Wn as useGraphHistoryShortcuts,
|
|
1113
|
+
nn as useGraphLocale,
|
|
1114
|
+
Nn as useGraphSelection,
|
|
1115
|
+
dn as useGuidesTakePress,
|
|
1116
|
+
Sn as useHandleScene,
|
|
1117
|
+
Wr as useHoverState,
|
|
1118
|
+
mn as usePaintDefs,
|
|
1119
|
+
sn as useResolvedStyle,
|
|
1120
|
+
Be as useSceneSelector,
|
|
1121
|
+
Tn as useStyleReaderTree,
|
|
1122
|
+
ln as useStyleResolver,
|
|
1123
|
+
Yn as useTargetBoundary,
|
|
1124
|
+
gn as useTextMeasurer,
|
|
1125
|
+
Hr as vars
|
|
1126
1126
|
};
|