@graphty/graphty-element 2.2.4 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai.js +3 -3
- package/dist/catalog.js +5 -5
- package/dist/chunks/{AiManager-DC3JWPeM.js → AiManager-Bd_r1Hei.js} +7 -2
- package/dist/chunks/{DataSource-DEg3igzS.js → DataSource-bt0DhBjG.js} +3 -3
- package/dist/chunks/{GraphSession-DDrQWABb.js → GraphSession-iNyKm7Ds.js} +3308 -3284
- package/dist/chunks/{VoiceInputAdapter-BueUG885.js → VoiceInputAdapter-DszYl6Ha.js} +442 -424
- package/dist/chunks/{XRPivotCameraController-DENGN2uV.js → XRPivotCameraController-XtxbbZ-D.js} +1 -1
- package/dist/chunks/{capability-check-BC3Qn6fS.js → capability-check-BqIEXcun.js} +1 -1
- package/dist/chunks/{detect-CqN0mC6u.js → detect-DM29BEaB.js} +1 -1
- package/dist/chunks/{format-detection-C8vbCSlS.js → format-detection-BEdmtvsy.js} +1 -1
- package/dist/chunks/{index-COss7yTG.js → index-CD0_RJv-.js} +1001 -848
- package/dist/chunks/{paletteRegistry-NrWOKT-A.js → paletteRegistry-DnWHQsAD.js} +162 -160
- package/dist/chunks/{scales-DKsbJE2L.js → scales-DyuwlJKI.js} +237 -236
- package/dist/extend.js +3 -3
- package/dist/graphty-catalog.json +1 -1
- package/dist/graphty.bundle.js +22378 -22178
- package/dist/graphty.js +3 -3
- package/dist/session.js +37 -52
- package/dist/src/Graph.d.ts +3 -0
- package/dist/src/acceleration/AccelerationController.d.ts +11 -0
- package/dist/src/ai/input/VoiceInputAdapter.d.ts +18 -0
- package/dist/src/algorithms/metrics/context.d.ts +7 -5
- package/dist/src/algorithms/results/types.d.ts +17 -1
- package/dist/src/data/ingest.d.ts +13 -0
- package/dist/src/managers/DataManager.d.ts +51 -0
- package/dist/src/managers/RenderManager.d.ts +21 -0
- package/dist/src/managers/UpdateManager.d.ts +38 -23
- package/dist/src/session/limits.d.ts +24 -5
- package/package.json +4 -4
package/dist/ai.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as p } from "./chunks/AiManager-
|
|
2
|
-
import { A as L, a as M, b as D, C as V, M as j, S as E, c as z, V as N, d as q, e as W, g as G, h as T, i as F, j as U, k as _, l as B, m as J, q as O, s as Y, n as H, o as Q, p as K, r as X, z as Z } from "./chunks/AiManager-
|
|
1
|
+
import { f as p } from "./chunks/AiManager-Bd_r1Hei.js";
|
|
2
|
+
import { A as L, a as M, b as D, C as V, M as j, S as E, c as z, V as N, d as q, e as W, g as G, h as T, i as F, j as U, k as _, l as B, m as J, q as O, s as Y, n as H, o as Q, p as K, r as X, z as Z } from "./chunks/AiManager-Bd_r1Hei.js";
|
|
3
3
|
import { A as te } from "./chunks/ApiKeyManager-C0ac91dE.js";
|
|
4
|
-
import { V as se } from "./chunks/VoiceInputAdapter-
|
|
4
|
+
import { V as se } from "./chunks/VoiceInputAdapter-DszYl6Ha.js";
|
|
5
5
|
import { z as r } from "zod";
|
|
6
6
|
import { A as u } from "./chunks/Algorithm-RQ629NLb.js";
|
|
7
7
|
const m = r.object({
|
package/dist/catalog.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as y,
|
|
1
|
+
import { B as y, a as f, L as m, P as T, S, U as v, b as O, c as E, l as A, d as N, e as I, p as R, f as k, s as x, g as _ } from "./chunks/scales-DyuwlJKI.js";
|
|
2
2
|
import { C, a as L, b as P, c as W, d as U, e as F, f as B } from "./chunks/cameras-ii4vngYY.js";
|
|
3
|
-
import { d as M, a as K } from "./chunks/detect-
|
|
4
|
-
import { F as Y, U as
|
|
3
|
+
import { d as M, a as K } from "./chunks/detect-DM29BEaB.js";
|
|
4
|
+
import { F as Y, U as z, y as G, z as V, o as q } from "./chunks/paletteRegistry-DnWHQsAD.js";
|
|
5
5
|
import { L as Z, l as $ } from "./chunks/GraphtyLogger-5KEttFUo.js";
|
|
6
6
|
import { A as Q, C as ee, f as te, K as ae, a as oe, b as ne, c as re, d as ie, g as se, O as he, R as le, h as de, j as ce, k as we, i as ue, e as pe } from "./chunks/types-B7bX5c0K.js";
|
|
7
7
|
const d = Object.keys({
|
|
@@ -192,7 +192,7 @@ export {
|
|
|
192
192
|
S as SCALE_DESCRIPTORS,
|
|
193
193
|
u as UNPAINTED_CHANNELS,
|
|
194
194
|
w as UNREACHABLE_STYLE_FIELDS,
|
|
195
|
-
|
|
195
|
+
z as UNSERVED_FORMAT_IDS,
|
|
196
196
|
v as UNSERVED_LAYOUT_IDS,
|
|
197
197
|
l as WAIVER_EXPIRY_UNSET,
|
|
198
198
|
c as WAIVER_HORIZON_DAYS,
|
|
@@ -206,7 +206,7 @@ export {
|
|
|
206
206
|
B as channelsFor,
|
|
207
207
|
M as detectFormat,
|
|
208
208
|
K as detectFormats,
|
|
209
|
-
|
|
209
|
+
G as formatDescriptor,
|
|
210
210
|
V as formatsForExtension,
|
|
211
211
|
de as isAttributeType,
|
|
212
212
|
ce as isCostClass,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as _ } from "./VoiceInputAdapter-
|
|
1
|
+
import { l as _ } from "./VoiceInputAdapter-DszYl6Ha.js";
|
|
2
2
|
import { G as K } from "./GraphtyLogger-5KEttFUo.js";
|
|
3
3
|
import W from "jmespath";
|
|
4
4
|
import { z as m } from "zod";
|
|
@@ -2374,7 +2374,12 @@ class F {
|
|
|
2374
2374
|
provider: this.provider,
|
|
2375
2375
|
commandRegistry: this.commandRegistry,
|
|
2376
2376
|
graph: this.graph,
|
|
2377
|
-
schemaManager: this.schemaManager
|
|
2377
|
+
schemaManager: this.schemaManager,
|
|
2378
|
+
// Onto the graph's own event channel, so `addListener` and the element's DOM
|
|
2379
|
+
// forwarder both deliver every AI event.
|
|
2380
|
+
emitEvent: (r) => {
|
|
2381
|
+
e.eventManager.emitGraphEvent(r.type, { ...r });
|
|
2382
|
+
}
|
|
2378
2383
|
}), this.initialized = !0);
|
|
2379
2384
|
}
|
|
2380
2385
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z as p } from "zod/v4";
|
|
2
2
|
import * as $ from "zod/v4/core";
|
|
3
|
-
import { F as w,
|
|
3
|
+
import { F as w, A as E } from "./paletteRegistry-DnWHQsAD.js";
|
|
4
4
|
import { b as F } from "./GraphtyLogger-5KEttFUo.js";
|
|
5
5
|
import { G as f } from "./GraphtyError-BwcnblTH.js";
|
|
6
6
|
class C {
|
|
@@ -198,7 +198,7 @@ function k(c, e) {
|
|
|
198
198
|
`the format "${c}" says it can be written, and there is nowhere to register a writer: a "Save as" menu built from the catalogue would offer a format nothing can save`
|
|
199
199
|
), e;
|
|
200
200
|
}
|
|
201
|
-
function
|
|
201
|
+
function A(c, e) {
|
|
202
202
|
if (e !== void 0)
|
|
203
203
|
return typeof e != "function" && h(
|
|
204
204
|
"detect",
|
|
@@ -453,7 +453,7 @@ const u = class u {
|
|
|
453
453
|
});
|
|
454
454
|
return l.set(r, e), e;
|
|
455
455
|
}
|
|
456
|
-
const s =
|
|
456
|
+
const s = A(r, e.detect);
|
|
457
457
|
return E(
|
|
458
458
|
{
|
|
459
459
|
descriptor: k(r, e.descriptor),
|