@pixerate/editor 0.140.4 → 0.141.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/agent/canvasPlayback.d.cts +15 -0
- package/dist/agent/canvasPlayback.d.ts +15 -0
- package/dist/agent/index.cjs +144 -23
- package/dist/agent/index.d.cts +1 -0
- package/dist/agent/index.d.ts +1 -0
- package/dist/agent/index.js +125 -4
- package/dist/agent/providers.d.cts +8 -0
- package/dist/agent/providers.d.ts +8 -0
- package/dist/agent/types.d.cts +3 -0
- package/dist/agent/types.d.ts +3 -0
- package/dist/animation/index.cjs +2 -2
- package/dist/animation/index.js +1 -1
- package/dist/animation/presence.d.cts +1 -75
- package/dist/animation/presence.d.ts +1 -75
- package/dist/bridge/cli.cjs +3 -3
- package/dist/bridge/cli.js +2 -2
- package/dist/bridge/index.cjs +3 -3
- package/dist/bridge/index.js +2 -2
- package/dist/canvas/index.cjs +336 -646
- package/dist/canvas/index.d.cts +1 -0
- package/dist/canvas/index.d.ts +1 -0
- package/dist/canvas/index.js +44 -354
- package/dist/canvas/playback.d.cts +14 -0
- package/dist/canvas/playback.d.ts +14 -0
- package/dist/chart/index.cjs +7 -7
- package/dist/chart/index.js +1 -1
- package/dist/chunk-6SFREX6H.cjs +406 -0
- package/dist/chunk-DW4CV5H4.js +591 -0
- package/dist/{chunk-UMS6YFA6.js → chunk-EAQ4BGNS.js} +1 -1
- package/dist/{chunk-AGCD3EHB.cjs → chunk-ENIZYNEF.cjs} +7 -7
- package/dist/chunk-MFFE55CS.js +406 -0
- package/dist/{chunk-BSGPXPTW.js → chunk-PEEP2YR7.js} +1 -1
- package/dist/{chunk-RB62U6MS.js → chunk-RFBFTLVN.js} +27 -5
- package/dist/chunk-UBRYHNRU.cjs +591 -0
- package/dist/{chunk-GEY73RUW.cjs → chunk-UJGAA6AK.cjs} +1 -1
- package/dist/{chunk-HDK3T2QS.cjs → chunk-Y4BWZB6J.cjs} +29 -7
- package/dist/commands/index.cjs +37 -1
- package/dist/commands/index.js +36 -0
- package/dist/commands/registry.d.cts +11 -0
- package/dist/commands/registry.d.ts +11 -0
- package/dist/diagram/index.cjs +7 -7
- package/dist/diagram/index.js +1 -1
- package/dist/image-editor/index.cjs +108 -16
- package/dist/image-editor/index.d.cts +1 -0
- package/dist/image-editor/index.d.ts +1 -0
- package/dist/image-editor/index.js +107 -15
- package/dist/image-editor/playback.d.cts +22 -0
- package/dist/image-editor/playback.d.ts +22 -0
- package/dist/paint-editor/index.cjs +6 -6
- package/dist/paint-editor/index.js +1 -1
- package/dist/tools/index.cjs +33 -3
- package/dist/tools/index.d.cts +2 -0
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.js +32 -2
- package/dist/tools/playback.d.cts +205 -0
- package/dist/tools/playback.d.ts +205 -0
- package/dist/tools/presence.d.cts +82 -0
- package/dist/tools/presence.d.ts +82 -0
- package/dist/tools/registry.d.cts +45 -6
- package/dist/tools/registry.d.ts +45 -6
- package/dist/tools/view.d.cts +2 -4
- package/dist/tools/view.d.ts +2 -4
- package/dist/vector/index.cjs +217 -100
- package/dist/vector/index.d.cts +1 -0
- package/dist/vector/index.d.ts +1 -0
- package/dist/vector/index.js +140 -23
- package/dist/vector/playback.d.cts +13 -0
- package/dist/vector/playback.d.ts +13 -0
- package/package.json +1 -1
- package/skills/pixerate-agent-tools/SKILL.md +13 -0
- package/skills/pixerate-canvas/SKILL.md +3 -0
- package/skills/pixerate-image-editor/SKILL.md +2 -2
- package/skills/pixerate-vector/SKILL.md +5 -0
- package/dist/chunk-BTZS3KZY.js +0 -221
- package/dist/chunk-MRD3NXKR.cjs +0 -221
- /package/dist/{chunk-K73HMKQP.js → chunk-PLKIYNJZ.js} +0 -0
- /package/dist/{chunk-LACYURUW.cjs → chunk-TNCWKC5M.cjs} +0 -0
package/dist/commands/index.cjs
CHANGED
|
@@ -29,6 +29,10 @@ var _chunkGLQQ2VILcjs = require('../chunk-GLQQ2VIL.cjs');
|
|
|
29
29
|
var _chunk4EFNS2HVcjs = require('../chunk-4EFNS2HV.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
+
var _chunk6SFREX6Hcjs = require('../chunk-6SFREX6H.cjs');
|
|
33
|
+
require('../chunk-UJGAA6AK.cjs');
|
|
34
|
+
|
|
35
|
+
|
|
32
36
|
var _chunkWOFXZ3XUcjs = require('../chunk-WOFXZ3XU.cjs');
|
|
33
37
|
|
|
34
38
|
// src/commands/registry.ts
|
|
@@ -598,6 +602,21 @@ function createCommandToolProvider(registry, options = {}) {
|
|
|
598
602
|
if (!allowed(id)) return { ok: false, id, code: "unknown_command", message: `Unknown command "${id}".` };
|
|
599
603
|
return registry.executeAsync(id, _nullishCoalesce(params, () => ( {})), context());
|
|
600
604
|
}
|
|
605
|
+
function planOne(id, params) {
|
|
606
|
+
const spec = registry.get(id);
|
|
607
|
+
if (!spec) return null;
|
|
608
|
+
const surface = _nullishCoalesce(_nullishCoalesce(spec.playbackSurface, () => ( spec.scope)), () => ( (id.includes(".") ? id.slice(0, id.indexOf(".")) : void 0)));
|
|
609
|
+
const planned = _optionalChain([spec, 'access', _24 => _24.plan, 'optionalCall', _25 => _25(context(), _nullishCoalesce(params, () => ( {})))]);
|
|
610
|
+
const own = !planned ? [] : Array.isArray(planned) ? planned : planned.steps;
|
|
611
|
+
const steps = own.length ? own : _chunk6SFREX6Hcjs.derivePlaybackSteps.call(void 0, params);
|
|
612
|
+
return {
|
|
613
|
+
steps,
|
|
614
|
+
...surface ? { surface } : {},
|
|
615
|
+
...planned && !Array.isArray(planned) && planned.surface ? { surface: planned.surface } : {},
|
|
616
|
+
...spec.readOnly ? { readOnly: true } : {}
|
|
617
|
+
};
|
|
618
|
+
}
|
|
619
|
+
const hasRefs = (value) => typeof value === "string" ? value.startsWith("$") : Array.isArray(value) ? value.some(hasRefs) : !!value && typeof value === "object" && Object.values(value).some(hasRefs);
|
|
601
620
|
const listCommands = {
|
|
602
621
|
name: "list_commands",
|
|
603
622
|
title: "List commands",
|
|
@@ -646,6 +665,7 @@ function createCommandToolProvider(registry, options = {}) {
|
|
|
646
665
|
additionalProperties: false
|
|
647
666
|
},
|
|
648
667
|
annotations: { title: "Run a command", readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: false },
|
|
668
|
+
plan: ({ id, params }) => planOne(String(id), params),
|
|
649
669
|
handler: async ({ id, params }) => {
|
|
650
670
|
const result = await runOne(String(id), params);
|
|
651
671
|
return result.ok ? { id: result.id, ok: true, result: toJson(result.result) } : errorResult(result);
|
|
@@ -688,6 +708,22 @@ function createCommandToolProvider(registry, options = {}) {
|
|
|
688
708
|
idempotentHint: false,
|
|
689
709
|
openWorldHint: false
|
|
690
710
|
},
|
|
711
|
+
// Plays the steps' own plans one after another, then runs the batch once. Steps whose
|
|
712
|
+
// params refer to earlier results can't be planned before the batch runs and are skipped.
|
|
713
|
+
plan: ({ steps }) => {
|
|
714
|
+
const list = _nullishCoalesce(steps, () => ( []));
|
|
715
|
+
let surface;
|
|
716
|
+
const out = [];
|
|
717
|
+
for (const s of list) {
|
|
718
|
+
if (hasRefs(s.params)) continue;
|
|
719
|
+
const planned = planOne(s.id, s.params);
|
|
720
|
+
if (!planned) continue;
|
|
721
|
+
surface ??= planned.surface;
|
|
722
|
+
if (planned.surface && planned.surface !== surface) continue;
|
|
723
|
+
out.push(...planned.steps.filter((step) => step.type !== "commit"));
|
|
724
|
+
}
|
|
725
|
+
return out.length || surface ? { steps: out.length ? [...out, { type: "commit" }] : [], ...surface ? { surface } : {} } : null;
|
|
726
|
+
},
|
|
691
727
|
handler: async ({ steps, stopOnError = true, atomic = false, label = "Run commands" }) => {
|
|
692
728
|
let completed = 0;
|
|
693
729
|
let failed = 0;
|
|
@@ -854,7 +890,7 @@ function createCanvasAnimationCommands(controller, options = {}) {
|
|
|
854
890
|
time: { type: "number", minimum: 0, description: "Time in ms (default: the playhead)." }
|
|
855
891
|
}
|
|
856
892
|
},
|
|
857
|
-
run: (_ctx, params) => controller.addKeyframe(_optionalChain([params, 'optionalAccess',
|
|
893
|
+
run: (_ctx, params) => controller.addKeyframe(_optionalChain([params, 'optionalAccess', _26 => _26.ids]), _optionalChain([params, 'optionalAccess', _27 => _27.properties]), _optionalChain([params, 'optionalAccess', _28 => _28.time]))
|
|
858
894
|
},
|
|
859
895
|
{
|
|
860
896
|
...base,
|
package/dist/commands/index.js
CHANGED
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
shortcutCode,
|
|
28
28
|
toShortcutBindings
|
|
29
29
|
} from "../chunk-7KZ2HKKC.js";
|
|
30
|
+
import {
|
|
31
|
+
derivePlaybackSteps
|
|
32
|
+
} from "../chunk-MFFE55CS.js";
|
|
33
|
+
import "../chunk-PEEP2YR7.js";
|
|
30
34
|
import {
|
|
31
35
|
validateJsonSchema
|
|
32
36
|
} from "../chunk-V2ZCJRDM.js";
|
|
@@ -598,6 +602,21 @@ function createCommandToolProvider(registry, options = {}) {
|
|
|
598
602
|
if (!allowed(id)) return { ok: false, id, code: "unknown_command", message: `Unknown command "${id}".` };
|
|
599
603
|
return registry.executeAsync(id, params ?? {}, context());
|
|
600
604
|
}
|
|
605
|
+
function planOne(id, params) {
|
|
606
|
+
const spec = registry.get(id);
|
|
607
|
+
if (!spec) return null;
|
|
608
|
+
const surface = spec.playbackSurface ?? spec.scope ?? (id.includes(".") ? id.slice(0, id.indexOf(".")) : void 0);
|
|
609
|
+
const planned = spec.plan?.(context(), params ?? {});
|
|
610
|
+
const own = !planned ? [] : Array.isArray(planned) ? planned : planned.steps;
|
|
611
|
+
const steps = own.length ? own : derivePlaybackSteps(params);
|
|
612
|
+
return {
|
|
613
|
+
steps,
|
|
614
|
+
...surface ? { surface } : {},
|
|
615
|
+
...planned && !Array.isArray(planned) && planned.surface ? { surface: planned.surface } : {},
|
|
616
|
+
...spec.readOnly ? { readOnly: true } : {}
|
|
617
|
+
};
|
|
618
|
+
}
|
|
619
|
+
const hasRefs = (value) => typeof value === "string" ? value.startsWith("$") : Array.isArray(value) ? value.some(hasRefs) : !!value && typeof value === "object" && Object.values(value).some(hasRefs);
|
|
601
620
|
const listCommands = {
|
|
602
621
|
name: "list_commands",
|
|
603
622
|
title: "List commands",
|
|
@@ -646,6 +665,7 @@ function createCommandToolProvider(registry, options = {}) {
|
|
|
646
665
|
additionalProperties: false
|
|
647
666
|
},
|
|
648
667
|
annotations: { title: "Run a command", readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: false },
|
|
668
|
+
plan: ({ id, params }) => planOne(String(id), params),
|
|
649
669
|
handler: async ({ id, params }) => {
|
|
650
670
|
const result = await runOne(String(id), params);
|
|
651
671
|
return result.ok ? { id: result.id, ok: true, result: toJson(result.result) } : errorResult(result);
|
|
@@ -688,6 +708,22 @@ function createCommandToolProvider(registry, options = {}) {
|
|
|
688
708
|
idempotentHint: false,
|
|
689
709
|
openWorldHint: false
|
|
690
710
|
},
|
|
711
|
+
// Plays the steps' own plans one after another, then runs the batch once. Steps whose
|
|
712
|
+
// params refer to earlier results can't be planned before the batch runs and are skipped.
|
|
713
|
+
plan: ({ steps }) => {
|
|
714
|
+
const list = steps ?? [];
|
|
715
|
+
let surface;
|
|
716
|
+
const out = [];
|
|
717
|
+
for (const s of list) {
|
|
718
|
+
if (hasRefs(s.params)) continue;
|
|
719
|
+
const planned = planOne(s.id, s.params);
|
|
720
|
+
if (!planned) continue;
|
|
721
|
+
surface ??= planned.surface;
|
|
722
|
+
if (planned.surface && planned.surface !== surface) continue;
|
|
723
|
+
out.push(...planned.steps.filter((step) => step.type !== "commit"));
|
|
724
|
+
}
|
|
725
|
+
return out.length || surface ? { steps: out.length ? [...out, { type: "commit" }] : [], ...surface ? { surface } : {} } : null;
|
|
726
|
+
},
|
|
691
727
|
handler: async ({ steps, stopOnError = true, atomic = false, label = "Run commands" }) => {
|
|
692
728
|
let completed = 0;
|
|
693
729
|
let failed = 0;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PlaybackPlan } from '../tools/playback.cjs';
|
|
1
2
|
import { type JsonSchema, type SchemaValidationError } from '../tools/schema.cjs';
|
|
2
3
|
import type { KeyboardEventLike, Platform } from './chords.cjs';
|
|
3
4
|
import { ShortcutMap, type ShortcutInput, type ShortcutMapOptions, type ShortcutResolveOptions } from './shortcuts.cjs';
|
|
@@ -40,6 +41,16 @@ export interface CommandSpec<TContext = any, TParams = any, TResult = unknown> {
|
|
|
40
41
|
readOnly?: boolean;
|
|
41
42
|
/** Hide from the palette and `list()` unless `includeHidden` (still runnable by id). */
|
|
42
43
|
hidden?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Pure planner for agent playback: the cursor steps (surface coordinates) that act out a run
|
|
46
|
+
* with these params. Without one, playback visits the ids the params name (`ids`, `layerId`, …).
|
|
47
|
+
*/
|
|
48
|
+
plan?: (context: TContext, params: TParams) => PlaybackPlan;
|
|
49
|
+
/**
|
|
50
|
+
* The playback surface the command acts on (default: its `scope`, else the id's prefix,
|
|
51
|
+
* `canvas` for `canvas.alignLeft`).
|
|
52
|
+
*/
|
|
53
|
+
playbackSurface?: string;
|
|
43
54
|
}
|
|
44
55
|
export type CommandErrorCode = 'unknown_command' | 'disabled' | 'invalid_params' | 'failed';
|
|
45
56
|
export type CommandResult<T = unknown> = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PlaybackPlan } from '../tools/playback.js';
|
|
1
2
|
import { type JsonSchema, type SchemaValidationError } from '../tools/schema.js';
|
|
2
3
|
import type { KeyboardEventLike, Platform } from './chords.js';
|
|
3
4
|
import { ShortcutMap, type ShortcutInput, type ShortcutMapOptions, type ShortcutResolveOptions } from './shortcuts.js';
|
|
@@ -40,6 +41,16 @@ export interface CommandSpec<TContext = any, TParams = any, TResult = unknown> {
|
|
|
40
41
|
readOnly?: boolean;
|
|
41
42
|
/** Hide from the palette and `list()` unless `includeHidden` (still runnable by id). */
|
|
42
43
|
hidden?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Pure planner for agent playback: the cursor steps (surface coordinates) that act out a run
|
|
46
|
+
* with these params. Without one, playback visits the ids the params name (`ids`, `layerId`, …).
|
|
47
|
+
*/
|
|
48
|
+
plan?: (context: TContext, params: TParams) => PlaybackPlan;
|
|
49
|
+
/**
|
|
50
|
+
* The playback surface the command acts on (default: its `scope`, else the id's prefix,
|
|
51
|
+
* `canvas` for `canvas.alignLeft`).
|
|
52
|
+
*/
|
|
53
|
+
playbackSurface?: string;
|
|
43
54
|
}
|
|
44
55
|
export type CommandErrorCode = 'unknown_command' | 'disabled' | 'invalid_params' | 'failed';
|
|
45
56
|
export type CommandResult<T = unknown> = {
|
package/dist/diagram/index.cjs
CHANGED
|
@@ -123,7 +123,7 @@ var _chunkZVNAMTFOcjs = require('../chunk-ZVNAMTFO.cjs');
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
var
|
|
126
|
+
var _chunkUJGAA6AKcjs = require('../chunk-UJGAA6AK.cjs');
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
var _chunkFJ2MSI43cjs = require('../chunk-FJ2MSI43.cjs');
|
|
@@ -2280,8 +2280,8 @@ var DiagramDirector = class {
|
|
|
2280
2280
|
this.controller = controller;
|
|
2281
2281
|
this.options = options;
|
|
2282
2282
|
this.presence = presence;
|
|
2283
|
-
this.clock = _nullishCoalesce(options.clock, () => (
|
|
2284
|
-
this.queue = new (0,
|
|
2283
|
+
this.clock = _nullishCoalesce(options.clock, () => ( _chunkUJGAA6AKcjs.realPresenceClock));
|
|
2284
|
+
this.queue = new (0, _chunkUJGAA6AKcjs.PerformanceQueue)(presence, {
|
|
2285
2285
|
clock: this.clock,
|
|
2286
2286
|
linger: options.linger,
|
|
2287
2287
|
beginGesture: (key) => controller.beginGesture(key),
|
|
@@ -2340,7 +2340,7 @@ var DiagramDirector = class {
|
|
|
2340
2340
|
const fresh = changedItems(before, result.document.graph);
|
|
2341
2341
|
const target = fresh.length ? center(this.options.placement(), fresh[fresh.length - 1]) : null;
|
|
2342
2342
|
const actorNow = this.presence.get(actor.id);
|
|
2343
|
-
if (target && actorNow) await
|
|
2343
|
+
if (target && actorNow) await _chunkUJGAA6AKcjs.tweenPresenceCursor.call(void 0, this.presence, this.clock, actor.id, actorNow, target, pause);
|
|
2344
2344
|
else await this.clock.wait(pause);
|
|
2345
2345
|
}
|
|
2346
2346
|
return { ok: true, document: this.controller.getDocument() };
|
|
@@ -2377,7 +2377,7 @@ var DiagramDirector = class {
|
|
|
2377
2377
|
return null;
|
|
2378
2378
|
}
|
|
2379
2379
|
case "move":
|
|
2380
|
-
await
|
|
2380
|
+
await _chunkUJGAA6AKcjs.tweenPresenceCursor.call(void 0, this.presence, this.clock, id, where(), step.to, step.ms);
|
|
2381
2381
|
return null;
|
|
2382
2382
|
case "press":
|
|
2383
2383
|
this.presence.set({ id, pressed: true });
|
|
@@ -2388,7 +2388,7 @@ var DiagramDirector = class {
|
|
|
2388
2388
|
case "drag": {
|
|
2389
2389
|
const start = this.options.placement().positions[step.id];
|
|
2390
2390
|
let problem = null;
|
|
2391
|
-
await
|
|
2391
|
+
await _chunkUJGAA6AKcjs.tweenPresenceCursor.call(void 0, this.presence, this.clock, id, where(), step.to, step.ms, (e) => {
|
|
2392
2392
|
if (problem || !start) return;
|
|
2393
2393
|
const position = [start[0] + (step.position[0] - start[0]) * e, start[1] + (step.position[1] - start[1]) * e];
|
|
2394
2394
|
const result = this.controller.apply({ type: "moveNodes", moves: [{ id: step.id, position }] }, label);
|
|
@@ -2576,4 +2576,4 @@ function planDiagramEdits(source, place, ops, speed = 1) {
|
|
|
2576
2576
|
|
|
2577
2577
|
|
|
2578
2578
|
|
|
2579
|
-
exports.ARCH_METRICS = _chunkZVNAMTFOcjs.ARCH_METRICS; exports.C4_METRICS = _chunkZVNAMTFOcjs.C4_METRICS; exports.CLASS_RELATIONS = _chunkZVNAMTFOcjs.CLASS_RELATIONS; exports.DIRECTIONS = DIRECTIONS; exports.DiagramController = DiagramController; exports.DiagramDirector = DiagramDirector; exports.EDITABLE_DIAGRAM_FAMILIES = EDITABLE_DIAGRAM_FAMILIES; exports.ER_CARDINALITIES = _chunkZVNAMTFOcjs.ER_CARDINALITIES; exports.ER_PATTERNS = _chunkZVNAMTFOcjs.ER_PATTERNS; exports.FAMILY_BLANKS = FAMILY_BLANKS; exports.FAMILY_DESCRIPTIONS = FAMILY_DESCRIPTIONS; exports.FAMILY_TEMPLATES = FAMILY_TEMPLATES; exports.FAMILY_TITLES = FAMILY_TITLES; exports.FLOWCHART_SHAPES = _chunkZVNAMTFOcjs.FLOWCHART_SHAPES; exports.GANTT_CONFIG_KEYS = _chunkZVNAMTFOcjs.GANTT_CONFIG_KEYS; exports.GANTT_METRICS = _chunkZVNAMTFOcjs.GANTT_METRICS; exports.GANTT_TAGS = _chunkZVNAMTFOcjs.GANTT_TAGS; exports.META_COMMENT_PREFIX = _chunkZVNAMTFOcjs.META_COMMENT_PREFIX; exports.META_FRONTMATTER_KEY = _chunkZVNAMTFOcjs.META_FRONTMATTER_KEY; exports.POINT_BOX = _chunkZVNAMTFOcjs.POINT_BOX; exports.PRESENCE_COLORS =
|
|
2579
|
+
exports.ARCH_METRICS = _chunkZVNAMTFOcjs.ARCH_METRICS; exports.C4_METRICS = _chunkZVNAMTFOcjs.C4_METRICS; exports.CLASS_RELATIONS = _chunkZVNAMTFOcjs.CLASS_RELATIONS; exports.DIRECTIONS = DIRECTIONS; exports.DiagramController = DiagramController; exports.DiagramDirector = DiagramDirector; exports.EDITABLE_DIAGRAM_FAMILIES = EDITABLE_DIAGRAM_FAMILIES; exports.ER_CARDINALITIES = _chunkZVNAMTFOcjs.ER_CARDINALITIES; exports.ER_PATTERNS = _chunkZVNAMTFOcjs.ER_PATTERNS; exports.FAMILY_BLANKS = FAMILY_BLANKS; exports.FAMILY_DESCRIPTIONS = FAMILY_DESCRIPTIONS; exports.FAMILY_TEMPLATES = FAMILY_TEMPLATES; exports.FAMILY_TITLES = FAMILY_TITLES; exports.FLOWCHART_SHAPES = _chunkZVNAMTFOcjs.FLOWCHART_SHAPES; exports.GANTT_CONFIG_KEYS = _chunkZVNAMTFOcjs.GANTT_CONFIG_KEYS; exports.GANTT_METRICS = _chunkZVNAMTFOcjs.GANTT_METRICS; exports.GANTT_TAGS = _chunkZVNAMTFOcjs.GANTT_TAGS; exports.META_COMMENT_PREFIX = _chunkZVNAMTFOcjs.META_COMMENT_PREFIX; exports.META_FRONTMATTER_KEY = _chunkZVNAMTFOcjs.META_FRONTMATTER_KEY; exports.POINT_BOX = _chunkZVNAMTFOcjs.POINT_BOX; exports.PRESENCE_COLORS = _chunkUJGAA6AKcjs.PRESENCE_COLORS; exports.PerformanceQueue = _chunkUJGAA6AKcjs.PerformanceQueue; exports.PresenceStore = _chunkUJGAA6AKcjs.PresenceStore; exports.QUADRANT_METRICS = _chunkZVNAMTFOcjs.QUADRANT_METRICS; exports.RADAR_CHART_BOX = _chunkZVNAMTFOcjs.RADAR_CHART_BOX; exports.SEQUENCE_METRICS = _chunkZVNAMTFOcjs.SEQUENCE_METRICS; exports.STATE_SHAPES = _chunkZVNAMTFOcjs.STATE_SHAPES; exports.XY_CHART_BOX = _chunkZVNAMTFOcjs.XY_CHART_BOX; exports.afterIds = _chunkZVNAMTFOcjs.afterIds; exports.applyEdit = _chunkZVNAMTFOcjs.applyEdit; exports.applyEdits = _chunkZVNAMTFOcjs.applyEdits; exports.applyStatementEdit = _chunkZVNAMTFOcjs.applyStatementEdit; exports.architectureAdapter = _chunkZVNAMTFOcjs.architectureAdapter; exports.architectureArrow = _chunkZVNAMTFOcjs.architectureArrow; exports.architectureEdgeRoute = _chunkZVNAMTFOcjs.architectureEdgeRoute; exports.architectureGrammar = _chunkZVNAMTFOcjs.architectureGrammar; exports.architectureLayout = _chunkZVNAMTFOcjs.architectureLayout; exports.architectureUI = architectureUI; exports.c4Adapter = _chunkZVNAMTFOcjs.c4Adapter; exports.c4ArrowHead = _chunkZVNAMTFOcjs.c4ArrowHead; exports.c4BoundaryText = _chunkZVNAMTFOcjs.c4BoundaryText; exports.c4ElementGeometry = _chunkZVNAMTFOcjs.c4ElementGeometry; exports.c4ElementType = _chunkZVNAMTFOcjs.c4ElementType; exports.c4Grammar = _chunkZVNAMTFOcjs.c4Grammar; exports.c4Layout = _chunkZVNAMTFOcjs.c4Layout; exports.c4RelGeometry = _chunkZVNAMTFOcjs.c4RelGeometry; exports.c4Stereotype = _chunkZVNAMTFOcjs.c4Stereotype; exports.c4UI = c4UI; exports.canonicalShape = _chunkZVNAMTFOcjs.canonicalShape; exports.changedItems = changedItems; exports.checkFieldData = checkFieldData; exports.classGrammar = _chunkZVNAMTFOcjs.classGrammar; exports.classUI = classUI; exports.createDiagramToolProvider = createDiagramToolProvider; exports.createInstantPresenceClock = _chunkUJGAA6AKcjs.createInstantPresenceClock; exports.createLineAdapter = _chunkZVNAMTFOcjs.createLineAdapter; exports.createPassthroughAdapter = _chunkZVNAMTFOcjs.createPassthroughAdapter; exports.createStatementAdapter = _chunkZVNAMTFOcjs.createStatementAdapter; exports.describeDiagram = describeDiagram; exports.describeFields = describeFields; exports.detectFamily = _chunkZVNAMTFOcjs.detectFamily; exports.detectFamilyFromHeader = _chunkZVNAMTFOcjs.detectFamilyFromHeader; exports.diagramShapes = diagramShapes; exports.diagramSupportsDirection = diagramSupportsDirection; exports.diagramSupportsGroups = diagramSupportsGroups; exports.draftFrames = draftFrames; exports.dropMetaKeys = _chunkZVNAMTFOcjs.dropMetaKeys; exports.emptyMeta = _chunkZVNAMTFOcjs.emptyMeta; exports.erGrammar = _chunkZVNAMTFOcjs.erGrammar; exports.erUI = erUI; exports.familyUI = familyUI; exports.filterInPlace = _chunkZVNAMTFOcjs.filterInPlace; exports.findMermaidSources = findMermaidSources; exports.flowchartAdapter = _chunkZVNAMTFOcjs.flowchartAdapter; exports.flowchartUI = flowchartUI; exports.formatAxis = _chunkZVNAMTFOcjs.formatAxis; exports.formatChain = _chunkZVNAMTFOcjs.formatChain; exports.formatGanttDate = _chunkZVNAMTFOcjs.formatGanttDate; exports.formatLink = _chunkZVNAMTFOcjs.formatLink; exports.formatNode = _chunkZVNAMTFOcjs.formatNode; exports.ganttAdapter = _chunkZVNAMTFOcjs.ganttAdapter; exports.ganttGeometry = _chunkZVNAMTFOcjs.ganttGeometry; exports.ganttGrammar = _chunkZVNAMTFOcjs.ganttGrammar; exports.ganttUI = ganttUI; exports.getDiagramAdapter = _chunkZVNAMTFOcjs.getDiagramAdapter; exports.getFamilyLayout = _chunkZVNAMTFOcjs.getFamilyLayout; exports.gitGraphAdapter = _chunkZVNAMTFOcjs.gitGraphAdapter; exports.gitGraphGrammar = _chunkZVNAMTFOcjs.gitGraphGrammar; exports.gitGraphUI = gitGraphUI; exports.indentOf = _chunkZVNAMTFOcjs.indentOf; exports.isMetaEmpty = _chunkZVNAMTFOcjs.isMetaEmpty; exports.journeyAdapter = _chunkZVNAMTFOcjs.journeyAdapter; exports.journeyGrammar = _chunkZVNAMTFOcjs.journeyGrammar; exports.journeyLayout = _chunkZVNAMTFOcjs.journeyLayout; exports.journeyUI = journeyUI; exports.mergeMeta = _chunkZVNAMTFOcjs.mergeMeta; exports.mindmapAdapter = _chunkZVNAMTFOcjs.mindmapAdapter; exports.mindmapGrammar = _chunkZVNAMTFOcjs.mindmapGrammar; exports.mindmapUI = mindmapUI; exports.parseAttributes = _chunkZVNAMTFOcjs.parseAttributes; exports.parseChain = _chunkZVNAMTFOcjs.parseChain; exports.parseFlowchartSource = _chunkZVNAMTFOcjs.parseFlowchartSource; exports.parseGanttDate = _chunkZVNAMTFOcjs.parseGanttDate; exports.parseLink = _chunkZVNAMTFOcjs.parseLink; exports.parseMembers = _chunkZVNAMTFOcjs.parseMembers; exports.parseMermaid = _chunkZVNAMTFOcjs.parseMermaid; exports.parseSankey = parseSankey; exports.parseStatement = _chunkZVNAMTFOcjs.parseStatement; exports.parseStatementDocument = _chunkZVNAMTFOcjs.parseStatementDocument; exports.parseTreemap = parseTreemap; exports.pickFieldData = pickFieldData; exports.pieAdapter = _chunkZVNAMTFOcjs.pieAdapter; exports.pieGrammar = _chunkZVNAMTFOcjs.pieGrammar; exports.pieUI = pieUI; exports.planDiagramEdit = planDiagramEdit; exports.planDiagramEdits = planDiagramEdits; exports.pointCentre = _chunkZVNAMTFOcjs.pointCentre; exports.pointPosition = _chunkZVNAMTFOcjs.pointPosition; exports.positionToData = _chunkZVNAMTFOcjs.positionToData; exports.quadrantAdapter = _chunkZVNAMTFOcjs.quadrantAdapter; exports.quadrantGeometry = _chunkZVNAMTFOcjs.quadrantGeometry; exports.quadrantGrammar = _chunkZVNAMTFOcjs.quadrantGrammar; exports.quadrantSpace = _chunkZVNAMTFOcjs.quadrantSpace; exports.quadrantUI = quadrantUI; exports.quote = _chunkZVNAMTFOcjs.quote; exports.quoteLabelIfNeeded = _chunkZVNAMTFOcjs.quoteLabelIfNeeded; exports.radarAdapter = _chunkZVNAMTFOcjs.radarAdapter; exports.radarGrammar = _chunkZVNAMTFOcjs.radarGrammar; exports.radarUI = radarUI; exports.realPresenceClock = _chunkUJGAA6AKcjs.realPresenceClock; exports.registerDiagramAdapter = _chunkZVNAMTFOcjs.registerDiagramAdapter; exports.registerFamilyLayout = _chunkZVNAMTFOcjs.registerFamilyLayout; exports.relationFor = _chunkZVNAMTFOcjs.relationFor; exports.renameMetaKey = _chunkZVNAMTFOcjs.renameMetaKey; exports.resolveShape = _chunkZVNAMTFOcjs.resolveShape; exports.sequenceAdapter = _chunkZVNAMTFOcjs.sequenceAdapter; exports.sequenceGeometry = _chunkZVNAMTFOcjs.sequenceGeometry; exports.sequenceGrammar = _chunkZVNAMTFOcjs.sequenceGrammar; exports.sequenceUI = sequenceUI; exports.serializeMermaid = _chunkZVNAMTFOcjs.serializeMermaid; exports.serializeMeta = _chunkZVNAMTFOcjs.serializeMeta; exports.serializeStatementDocument = _chunkZVNAMTFOcjs.serializeStatementDocument; exports.serviceLabelLines = _chunkZVNAMTFOcjs.serviceLabelLines; exports.sharedFrameLayout = _chunkZVNAMTFOcjs.sharedFrameLayout; exports.slugId = _chunkZVNAMTFOcjs.slugId; exports.spaceInput = _chunkZVNAMTFOcjs.spaceInput; exports.splitOutsideQuotes = _chunkZVNAMTFOcjs.splitOutsideQuotes; exports.splitSource = _chunkZVNAMTFOcjs.splitSource; exports.splitStatements = _chunkZVNAMTFOcjs.splitStatements; exports.stateGrammar = _chunkZVNAMTFOcjs.stateGrammar; exports.stateUI = stateUI; exports.supportTierOf = _chunkZVNAMTFOcjs.supportTierOf; exports.timelineAdapter = _chunkZVNAMTFOcjs.timelineAdapter; exports.timelineGrammar = _chunkZVNAMTFOcjs.timelineGrammar; exports.timelineLayout = _chunkZVNAMTFOcjs.timelineLayout; exports.timelineUI = timelineUI; exports.treemapValue = treemapValue; exports.uniqueId = _chunkZVNAMTFOcjs.uniqueId; exports.unquote = _chunkZVNAMTFOcjs.unquote; exports.validateDiagramEdit = validateDiagramEdit; exports.xyChartAdapter = _chunkZVNAMTFOcjs.xyChartAdapter; exports.xyChartGrammar = _chunkZVNAMTFOcjs.xyChartGrammar; exports.xyChartUI = xyChartUI;
|
package/dist/diagram/index.js
CHANGED