@dxos/react-ui-canvas-compute 0.13.0 → 0.14.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/lib/chunk-types.mjs +142 -0
- package/dist/lib/chunk-types.mjs.map +1 -0
- package/dist/lib/index.mjs +526 -430
- package/dist/lib/index.mjs.map +1 -1
- package/dist/lib/types.mjs +2 -0
- package/dist/types/src/graph/controller.d.ts +1 -1
- package/dist/types/src/graph/controller.d.ts.map +1 -1
- package/dist/types/src/hooks/compute-context.d.ts +5 -4
- package/dist/types/src/hooks/compute-context.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +0 -1
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useGraphMonitor.d.ts +18 -1
- package/dist/types/src/hooks/useGraphMonitor.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/registry.d.ts +5 -8
- package/dist/types/src/registry.d.ts.map +1 -1
- package/dist/types/src/scene/compute.stories.d.ts.map +1 -1
- package/dist/types/src/scene/echo-store.d.ts +1 -1
- package/dist/types/src/scene/echo-store.d.ts.map +1 -1
- package/dist/types/src/scene/index.d.ts +0 -3
- package/dist/types/src/scene/index.d.ts.map +1 -1
- package/dist/types/src/scene/projection.d.ts.map +1 -1
- package/dist/types/src/scene/scene.d.ts +2 -2
- package/dist/types/src/scene/scene.d.ts.map +1 -1
- package/dist/types/src/shapes/Append.d.ts +2 -2
- package/dist/types/src/shapes/Append.d.ts.map +1 -1
- package/dist/types/src/shapes/Array.d.ts +3 -3
- package/dist/types/src/shapes/Array.d.ts.map +1 -1
- package/dist/types/src/shapes/Audio.d.ts +2 -2
- package/dist/types/src/shapes/Audio.d.ts.map +1 -1
- package/dist/types/src/shapes/Beacon.d.ts +2 -2
- package/dist/types/src/shapes/Beacon.d.ts.map +1 -1
- package/dist/types/src/shapes/Boolean.d.ts +4 -52
- package/dist/types/src/shapes/Boolean.d.ts.map +1 -1
- package/dist/types/src/shapes/Chat.d.ts +3 -3
- package/dist/types/src/shapes/Chat.d.ts.map +1 -1
- package/dist/types/src/shapes/Constant.d.ts +3 -4
- package/dist/types/src/shapes/Constant.d.ts.map +1 -1
- package/dist/types/src/shapes/Database.d.ts +2 -2
- package/dist/types/src/shapes/Database.d.ts.map +1 -1
- package/dist/types/src/shapes/Feed.d.ts +2 -2
- package/dist/types/src/shapes/Feed.d.ts.map +1 -1
- package/dist/types/src/shapes/Function.d.ts +3 -5
- package/dist/types/src/shapes/Function.d.ts.map +1 -1
- package/dist/types/src/shapes/Gpt.d.ts +2 -2
- package/dist/types/src/shapes/Gpt.d.ts.map +1 -1
- package/dist/types/src/shapes/GptRealtime.d.ts +2 -2
- package/dist/types/src/shapes/GptRealtime.d.ts.map +1 -1
- package/dist/types/src/shapes/Json.d.ts +5 -5
- package/dist/types/src/shapes/Json.d.ts.map +1 -1
- package/dist/types/src/shapes/Logic.d.ts +5 -5
- package/dist/types/src/shapes/Logic.d.ts.map +1 -1
- package/dist/types/src/shapes/RNG.d.ts +2 -2
- package/dist/types/src/shapes/RNG.d.ts.map +1 -1
- package/dist/types/src/shapes/Scope.d.ts +2 -2
- package/dist/types/src/shapes/Scope.d.ts.map +1 -1
- package/dist/types/src/shapes/Surface.d.ts +2 -2
- package/dist/types/src/shapes/Surface.d.ts.map +1 -1
- package/dist/types/src/shapes/Switch.d.ts +2 -2
- package/dist/types/src/shapes/Switch.d.ts.map +1 -1
- package/dist/types/src/shapes/Table.d.ts +2 -2
- package/dist/types/src/shapes/Table.d.ts.map +1 -1
- package/dist/types/src/shapes/Template.d.ts +2 -2
- package/dist/types/src/shapes/Template.d.ts.map +1 -1
- package/dist/types/src/shapes/Text.d.ts +2 -2
- package/dist/types/src/shapes/Text.d.ts.map +1 -1
- package/dist/types/src/shapes/TextToImage.d.ts +2 -2
- package/dist/types/src/shapes/TextToImage.d.ts.map +1 -1
- package/dist/types/src/shapes/Thread.d.ts +2 -2
- package/dist/types/src/shapes/Thread.d.ts.map +1 -1
- package/dist/types/src/shapes/Trigger.d.ts +3 -3
- package/dist/types/src/shapes/Trigger.d.ts.map +1 -1
- package/dist/types/src/shapes/append-def.d.ts +1 -2
- package/dist/types/src/shapes/append-def.d.ts.map +1 -1
- package/dist/types/src/shapes/array-def.d.ts +2 -3
- package/dist/types/src/shapes/array-def.d.ts.map +1 -1
- package/dist/types/src/shapes/audio-def.d.ts +1 -2
- package/dist/types/src/shapes/audio-def.d.ts.map +1 -1
- package/dist/types/src/shapes/beacon-def.d.ts +1 -2
- package/dist/types/src/shapes/beacon-def.d.ts.map +1 -1
- package/dist/types/src/shapes/chat-def.d.ts +1 -2
- package/dist/types/src/shapes/chat-def.d.ts.map +1 -1
- package/dist/types/src/shapes/common/Box.d.ts.map +1 -1
- package/dist/types/src/shapes/common/FunctionBody.d.ts.map +1 -1
- package/dist/types/src/shapes/common/TextBox.d.ts +26 -0
- package/dist/types/src/shapes/common/TextBox.d.ts.map +1 -0
- package/dist/types/src/shapes/common/index.d.ts +3 -1
- package/dist/types/src/shapes/common/index.d.ts.map +1 -1
- package/dist/types/src/shapes/common/node-def.d.ts +24 -0
- package/dist/types/src/shapes/common/node-def.d.ts.map +1 -0
- package/dist/types/src/shapes/common/ports.d.ts +33 -0
- package/dist/types/src/shapes/common/ports.d.ts.map +1 -0
- package/dist/types/src/shapes/constant-def.d.ts +1 -2
- package/dist/types/src/shapes/constant-def.d.ts.map +1 -1
- package/dist/types/src/shapes/database-def.d.ts +1 -2
- package/dist/types/src/shapes/database-def.d.ts.map +1 -1
- package/dist/types/src/shapes/defs.d.ts +7 -2
- package/dist/types/src/shapes/defs.d.ts.map +1 -1
- package/dist/types/src/shapes/feed-def.d.ts +1 -2
- package/dist/types/src/shapes/feed-def.d.ts.map +1 -1
- package/dist/types/src/shapes/function-def.d.ts +1 -2
- package/dist/types/src/shapes/function-def.d.ts.map +1 -1
- package/dist/types/src/shapes/gpt-def.d.ts +1 -2
- package/dist/types/src/shapes/gpt-def.d.ts.map +1 -1
- package/dist/types/src/shapes/gpt-realtime-def.d.ts +1 -2
- package/dist/types/src/shapes/gpt-realtime-def.d.ts.map +1 -1
- package/dist/types/src/shapes/json-def.d.ts +2 -3
- package/dist/types/src/shapes/json-def.d.ts.map +1 -1
- package/dist/types/src/shapes/logic-def.d.ts +2 -3
- package/dist/types/src/shapes/logic-def.d.ts.map +1 -1
- package/dist/types/src/shapes/ports.test.d.ts +2 -0
- package/dist/types/src/shapes/ports.test.d.ts.map +1 -0
- package/dist/types/src/shapes/rng-def.d.ts +1 -2
- package/dist/types/src/shapes/rng-def.d.ts.map +1 -1
- package/dist/types/src/shapes/scope-def.d.ts +1 -2
- package/dist/types/src/shapes/scope-def.d.ts.map +1 -1
- package/dist/types/src/shapes/surface-def.d.ts +1 -2
- package/dist/types/src/shapes/surface-def.d.ts.map +1 -1
- package/dist/types/src/shapes/switch-def.d.ts +1 -2
- package/dist/types/src/shapes/switch-def.d.ts.map +1 -1
- package/dist/types/src/shapes/table-def.d.ts +1 -2
- package/dist/types/src/shapes/table-def.d.ts.map +1 -1
- package/dist/types/src/shapes/template-def.d.ts +1 -2
- package/dist/types/src/shapes/template-def.d.ts.map +1 -1
- package/dist/types/src/shapes/text-def.d.ts +1 -2
- package/dist/types/src/shapes/text-def.d.ts.map +1 -1
- package/dist/types/src/shapes/text-to-image-def.d.ts +1 -2
- package/dist/types/src/shapes/text-to-image-def.d.ts.map +1 -1
- package/dist/types/src/shapes/thread-def.d.ts +1 -2
- package/dist/types/src/shapes/thread-def.d.ts.map +1 -1
- package/dist/types/src/shapes/trigger-def.d.ts +1 -2
- package/dist/types/src/shapes/trigger-def.d.ts.map +1 -1
- package/dist/types/src/testing/circuits.d.ts +1 -1
- package/dist/types/src/testing/circuits.d.ts.map +1 -1
- package/dist/types/src/types/canvas-board.test.d.ts +2 -0
- package/dist/types/src/types/canvas-board.test.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +4 -0
- package/dist/types/src/types/index.d.ts.map +1 -0
- package/dist/types/src/types/model.d.ts +10 -0
- package/dist/types/src/types/model.d.ts.map +1 -0
- package/dist/types/src/types/schema.d.ts +66 -0
- package/dist/types/src/types/schema.d.ts.map +1 -0
- package/dist/types/src/types/shapes.d.ts +114 -0
- package/dist/types/src/types/shapes.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +43 -35
- package/src/graph/controller.ts +1 -1
- package/src/hooks/compute-context.ts +7 -4
- package/src/hooks/index.ts +0 -1
- package/src/hooks/useGraphMonitor.ts +10 -1
- package/src/index.ts +1 -1
- package/src/playwright/scene.spec.ts +3 -3
- package/src/registry.ts +63 -91
- package/src/scene/compute.stories.tsx +3 -6
- package/src/scene/echo-store.test.ts +18 -7
- package/src/scene/echo-store.ts +7 -10
- package/src/scene/index.ts +0 -3
- package/src/scene/projection.ts +2 -3
- package/src/scene/scene.test.ts +4 -4
- package/src/scene/scene.ts +6 -4
- package/src/schema.test.ts +7 -36
- package/src/shapes/Append.tsx +2 -3
- package/src/shapes/Array.tsx +3 -4
- package/src/shapes/Audio.tsx +2 -2
- package/src/shapes/Beacon.tsx +2 -2
- package/src/shapes/Boolean.tsx +32 -29
- package/src/shapes/Chat.tsx +5 -10
- package/src/shapes/Constant.tsx +19 -12
- package/src/shapes/Database.tsx +2 -4
- package/src/shapes/Feed.tsx +2 -3
- package/src/shapes/Function.tsx +4 -10
- package/src/shapes/Gpt.tsx +2 -3
- package/src/shapes/GptRealtime.tsx +2 -2
- package/src/shapes/Json.tsx +5 -6
- package/src/shapes/Logic.tsx +5 -6
- package/src/shapes/RNG.tsx +2 -2
- package/src/shapes/Scope.tsx +2 -2
- package/src/shapes/Surface.tsx +9 -6
- package/src/shapes/Switch.tsx +10 -12
- package/src/shapes/Table.tsx +2 -4
- package/src/shapes/Template.tsx +10 -9
- package/src/shapes/Text.tsx +2 -3
- package/src/shapes/TextToImage.tsx +2 -4
- package/src/shapes/Thread.tsx +2 -3
- package/src/shapes/Trigger.tsx +3 -4
- package/src/shapes/append-def.ts +8 -7
- package/src/shapes/array-def.ts +8 -8
- package/src/shapes/audio-def.ts +8 -7
- package/src/shapes/beacon-def.ts +9 -8
- package/src/shapes/chat-def.tsx +8 -8
- package/src/shapes/common/Box.tsx +7 -4
- package/src/shapes/common/FunctionBody.tsx +13 -26
- package/src/shapes/common/TextBox.tsx +137 -0
- package/src/shapes/common/index.ts +3 -1
- package/src/shapes/common/node-def.tsx +117 -0
- package/src/shapes/common/ports.ts +107 -0
- package/src/shapes/constant-def.tsx +8 -8
- package/src/shapes/database-def.ts +8 -8
- package/src/shapes/defs.ts +21 -6
- package/src/shapes/feed-def.ts +8 -7
- package/src/shapes/function-def.ts +8 -7
- package/src/shapes/gpt-def.ts +8 -7
- package/src/shapes/gpt-realtime-def.ts +10 -10
- package/src/shapes/json-def.ts +15 -13
- package/src/shapes/logic-def.ts +14 -11
- package/src/shapes/ports.test.ts +23 -0
- package/src/shapes/rng-def.ts +8 -7
- package/src/shapes/scope-def.ts +8 -7
- package/src/shapes/surface-def.ts +8 -8
- package/src/shapes/switch-def.ts +8 -7
- package/src/shapes/table-def.ts +7 -7
- package/src/shapes/template-def.ts +8 -7
- package/src/shapes/text-def.ts +8 -8
- package/src/shapes/text-to-image-def.ts +8 -8
- package/src/shapes/thread-def.ts +8 -7
- package/src/shapes/trigger-def.ts +11 -8
- package/src/testing/circuits.ts +21 -7
- package/src/types/canvas-board.test.ts +84 -0
- package/src/types/index.ts +7 -0
- package/src/types/model.ts +63 -0
- package/src/types/schema.ts +73 -0
- package/src/types/shapes.ts +73 -0
- package/dist/types/src/compute-layout.d.ts +0 -9
- package/dist/types/src/compute-layout.d.ts.map +0 -1
- package/dist/types/src/compute.stories.d.ts +0 -58
- package/dist/types/src/compute.stories.d.ts.map +0 -1
- package/dist/types/src/hooks/useComputeGraphController.d.ts +0 -10
- package/dist/types/src/hooks/useComputeGraphController.d.ts.map +0 -1
- package/dist/types/src/scene/NodeView.d.ts +0 -11
- package/dist/types/src/scene/NodeView.d.ts.map +0 -1
- package/dist/types/src/scene/defs.d.ts +0 -5
- package/dist/types/src/scene/defs.d.ts.map +0 -1
- package/dist/types/src/scene/ports.d.ts +0 -5
- package/dist/types/src/scene/ports.d.ts.map +0 -1
- package/dist/types/src/shapes/common/function-anchors.d.ts +0 -12
- package/dist/types/src/shapes/common/function-anchors.d.ts.map +0 -1
- package/src/compute-layout.ts +0 -37
- package/src/compute.stories.tsx +0 -302
- package/src/hooks/useComputeGraphController.ts +0 -65
- package/src/scene/NodeView.tsx +0 -42
- package/src/scene/defs.ts +0 -158
- package/src/scene/ports.ts +0 -30
- package/src/shapes/common/function-anchors.ts +0 -44
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as RectangleShape, i as Polygon, l as schema_exports, n as NoteShape, o as isPath, r as PathShape, s as isPolygon, t as EllipseShape, u as CanvasGraphModel } from "./chunk-types.mjs";
|
|
2
|
+
export { schema_exports as CanvasBoard, CanvasGraphModel, EllipseShape, NoteShape, PathShape, Polygon, RectangleShape, isPath, isPolygon };
|
|
@@ -7,9 +7,9 @@ import type * as Operation from '@dxos/compute/Operation';
|
|
|
7
7
|
import { type ComputeEdge, type ComputeGraphModel, type ComputeNode, type ComputeNodeMeta, ComputeOutputEvent, type GptInput, type GptOutput, type GraphDiagnostic } from '@dxos/conductor';
|
|
8
8
|
import { Resource } from '@dxos/context';
|
|
9
9
|
import type { Database, Registry } from '@dxos/echo';
|
|
10
|
-
import { type CanvasGraphModel } from '@dxos/react-ui-canvas-editor';
|
|
11
10
|
import { type ContentBlock } from '@dxos/types';
|
|
12
11
|
import { type ComputeShape } from '../shapes/index.ts';
|
|
12
|
+
import { type CanvasGraphModel } from '../types/index.ts';
|
|
13
13
|
export declare const InvalidStateError: ErrorConstructor;
|
|
14
14
|
export type FunctionCallback<INPUT, OUTPUT> = (input: INPUT) => Promise<OUTPUT>;
|
|
15
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/graph/controller.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAKpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAgB,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,KAAK,UAAU,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAGL,KAAK,WAAW,EAEhB,KAAK,iBAAiB,EAEtB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,kBAAkB,EAClB,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,eAAe,EAKrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGrD,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../../../src/graph/controller.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAKpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,KAAK,EAAgB,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,KAAK,UAAU,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAE1D,OAAO,EAGL,KAAK,WAAW,EAEhB,KAAK,iBAAiB,EAEtB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,kBAAkB,EAClB,KAAK,QAAQ,EACb,K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AQ,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI,CAW5D;IAEK,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC,CAGzD;IAGK,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAIhC;IAEK,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA+C5C;IAED;;;OAGG;IAEG,IAAI,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoEhD;IAED,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,gBAAgB;IAKxB,OAAO,CAAC,iBAAiB;CAO1B"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type NodeDef } from '@dxos/react-ui-canvas/scene';
|
|
2
2
|
import type { ComputeGraphController } from '../graph/index.ts';
|
|
3
3
|
export type ComputeContextType = {
|
|
4
4
|
controller: ComputeGraphController;
|
|
5
|
-
/** Shape definitions for the frame chrome (icon, name, openable); the editor's own registry is the fallback. */
|
|
6
|
-
registry?: ShapeRegistry;
|
|
7
5
|
debug?: boolean;
|
|
8
|
-
/** Grows or shrinks a shape by `delta` px (a function body opening); absent, the
|
|
6
|
+
/** Grows or shrinks a shape by `delta` px (a function body opening); absent, the body opens in place. */
|
|
9
7
|
resize?: (id: string, delta: number) => void;
|
|
10
8
|
};
|
|
11
9
|
export declare const ComputeContext: import("react").Context<ComputeContextType | null>;
|
|
12
10
|
export declare const useComputeContext: () => ComputeContextType;
|
|
11
|
+
/** The definition of the node being rendered, from the registry the scene renders with, for the frame chrome. */
|
|
12
|
+
export declare const ComputeNodeDefContext: import("react").Context<NodeDef | undefined>;
|
|
13
|
+
export declare const useComputeNodeDef: () => NodeDef | undefined;
|
|
13
14
|
//# sourceMappingURL=compute-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-context.d.ts","sourceRoot":"","sources":["../../../../src/hooks/compute-context.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"compute-context.d.ts","sourceRoot":"","sources":["../../../../src/hooks/compute-context.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEhE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,EAAE,sBAAsB,CAAC;IACnC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yGAAyG;IACzG,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,cAAc,oDAAiD,CAAC;AAE7E,eAAO,MAAM,iBAAiB,0BAE7B,CAAC;AAEF,iHAAiH;AACjH,eAAO,MAAM,qBAAqB,8CAAgD,CAAC;AAEnF,eAAO,MAAM,iBAAiB,2BAA0C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAC;AACrC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
import { type ComputeEdge, ComputeGraphModel } from '@dxos/conductor';
|
|
2
|
-
import { type CanvasBoard, type CanvasGraphModel, type GraphMonitor } from '@dxos/react-ui-canvas-editor';
|
|
3
2
|
import { type ComputeShape } from '../shapes/index.ts';
|
|
3
|
+
import { type CanvasBoard, type CanvasGraphModel } from '../types/index.ts';
|
|
4
|
+
/**
|
|
5
|
+
* Model callback.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphMonitor<S extends CanvasBoard.Shape = CanvasBoard.Shape> {
|
|
8
|
+
onCreate: (props: {
|
|
9
|
+
graph: CanvasGraphModel<S>;
|
|
10
|
+
node: S;
|
|
11
|
+
}) => void;
|
|
12
|
+
onLink: (props: {
|
|
13
|
+
graph: CanvasGraphModel<S>;
|
|
14
|
+
edge: CanvasBoard.Connection;
|
|
15
|
+
}) => void;
|
|
16
|
+
onDelete: (props: {
|
|
17
|
+
graph: CanvasGraphModel<S>;
|
|
18
|
+
subgraph: CanvasGraphModel<S>;
|
|
19
|
+
}) => void;
|
|
20
|
+
}
|
|
4
21
|
/**
|
|
5
22
|
* Map canvas edge to compute edge.
|
|
6
23
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGraphMonitor.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphMonitor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,iBAAiB,EAAiC,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"useGraphMonitor.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphMonitor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,iBAAiB,EAAiC,MAAM,iBAAiB,CAAC;AAIrG,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE5E;;GAEG;AACH,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK;IAC3E,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;QAAC,IAAI,EAAE,CAAC,CAAA;KAAE,KAAK,IAAI,CAAC;IACnE,MAAM,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;QAAC,IAAI,EAAE,WAAW,CAAC,UAAU,CAAA;KAAE,KAAK,IAAI,CAAC;IACtF,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAA;KAAE,KAAK,IAAI,CAAC;CAC1F;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,UACX,gBAAgB,qCAC6C,WAAW,CAAC,UAAU,KACzF,IAAI,CAAC,WAAW,EAAE,IAAI,CAYxB,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,eAAe,WAAY,iBAAiB,KAAG,YAAY,CAAC,YAAY,CAwCpF,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,gBAAgB,CAAC,YAAY,CAAC,sBAiBxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import type
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
export declare const
|
|
6
|
-
title: string;
|
|
7
|
-
shapes: ShapeDef[];
|
|
8
|
-
}[];
|
|
1
|
+
import { type NodeDef, type NodeRegistry } from '@dxos/react-ui-canvas/scene';
|
|
2
|
+
/** The compute types in palette order, each under its group (Inputs, Transform, Operations, Outputs). */
|
|
3
|
+
export declare const computeNodeDefs: NodeDef[];
|
|
4
|
+
/** The compute types plus the engine's note under a `Misc` group. */
|
|
5
|
+
export declare const computeNodeRegistry: NodeRegistry;
|
|
9
6
|
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/registry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/registry.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,YAAY,EAAuB,MAAM,6BAA6B,CAAC;AAgCnG,yGAAyG;AACzG,eAAO,MAAM,eAAe,EAAE,OAAO,EA4BpC,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,mBAAmB,EAAE,YAGjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute.stories.d.ts","sourceRoot":"","sources":["../../../../src/scene/compute.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAoD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"compute.stories.d.ts","sourceRoot":"","sources":["../../../../src/scene/compute.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAoD,MAAM,OAAO,CAAC;AAqBzE,OAAO,EAAE,KAAK,sBAAsB,EAAgC,MAAM,mBAAmB,CAAC;AAG9F,OAAO,EAKL,kBA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
|
+
import { type CanvasBoard } from '../types/index.ts';
|
|
3
3
|
/** A board's layout as both representations see it: the arrays, whether live (ECHO) or plain. */
|
|
4
4
|
type Layout = {
|
|
5
5
|
nodes: CanvasBoard.Shape[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"echo-store.d.ts","sourceRoot":"","sources":["../../../../src/scene/echo-store.ts"],"names":[],"mappings":"AAoBA,OAAO,
|
|
1
|
+
{"version":3,"file":"echo-store.d.ts","sourceRoot":"","sources":["../../../../src/scene/echo-store.ts"],"names":[],"mappings":"AAoBA,OAAO,EAML,KAAK,KAAK,EACV,KAAK,OAAO,EAEZ,KAAK,UAAU,EAGhB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,iGAAiG;AACjG,KAAK,MAAM,GAAG;IAAE,KAAK,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC;IAAC,KAAK,EAAE,WAAW,CAAC,UAAU,EAAE,CAAA;CAAE,CAAC;AAE9E,iGAAiG;AACjG,eAAO,MAAM,YAAY,UAAW,WAAW,CAAC,WAAW,KAAG,OAAmB,CAAC;AAWlF;;;;GAIG;AACH,eAAO,MAAM,eAAe,OAAQ,OAAO,UAAU,OAAO,CAAC,MAAM,CAAC,GAAG,SAAS,SAAS,MAAM,KAAG,KAcjG,CAAC;AAwCF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,WAAY,MAAM,SAAS,KAAK,KAAG,IAGjE,CAAC;AAmFF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,uEAAuE;IACvE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,UAAW,WAAW,CAAC,WAAW,YAAW,gBAAgB,KAAQ,UA8BhG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/scene/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/scene/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../../../../src/scene/projection.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,KAAK,yBAAyB,EAI9B,KAAK,UAAU,EAKhB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,KAAK,sBAAsB,EAO5B,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../../../../src/scene/projection.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,KAAK,yBAAyB,EAI9B,KAAK,UAAU,EAKhB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACL,KAAK,sBAAsB,EAO5B,MAAM,mBAAmB,CAAC;AAG3B,6GAA6G;AAC7G,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,sBAAsB,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;AAElF,MAAM,MAAM,wBAAwB,GAAG,yBAAyB,GAAG;IACjE,UAAU,EAAE,kBAAkB,CAAC;CAChC,CAAC;AA6BF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,8CAKjC,wBAAwB,KAAG,UAsI7B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type CanvasGraphModel } from '@dxos/react-ui-canvas-editor';
|
|
2
1
|
import { type Scene } from '@dxos/react-ui-canvas/scene';
|
|
3
|
-
import {
|
|
2
|
+
import { ComputeShape } from '../shapes/index.ts';
|
|
3
|
+
import { type CanvasGraphModel } from '../types/index.ts';
|
|
4
4
|
export declare const sceneFromCircuit: (model: CanvasGraphModel<ComputeShape>, id?: string, name?: string) => Scene;
|
|
5
5
|
//# sourceMappingURL=scene.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../../../src/scene/scene.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../../../src/scene/scene.ts"],"names":[],"mappings":"AAaA,OAAO,EAAwB,KAAK,KAAK,EAAe,MAAM,6BAA6B,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAkB,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,eAAO,MAAM,gBAAgB,UAAW,gBAAgB,CAAC,YAAY,CAAC,sBAAyB,MAAM,KAAG,KAuBvG,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type ShapeComponentProps } from '@dxos/react-ui-canvas-editor';
|
|
3
2
|
import { type AppendShape } from './append-def.ts';
|
|
4
|
-
|
|
3
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
4
|
+
export declare const AppendComponent: ({ node: shape }: ComputeNodeViewProps<AppendShape>) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Append.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Append.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Append.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Append.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Append.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,KAAK,oBAAoB,EAAgB,MAAM,mBAAmB,CAAC;AAE5E,eAAO,MAAM,eAAe,oBAAqB,oBAAoB,CAAC,WAAW,CAAC,sBAEjF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type ShapeComponentProps } from '@dxos/react-ui-canvas-editor';
|
|
3
2
|
import { type ReducerShape } from './array-def.ts';
|
|
4
|
-
|
|
5
|
-
export
|
|
3
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
4
|
+
export type ReducerComponentProps = ComputeNodeViewProps<ReducerShape>;
|
|
5
|
+
export declare const ReducerComponent: ({ node: shape }: ReducerComponentProps) => React.JSX.Element;
|
|
6
6
|
//# sourceMappingURL=Array.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Array.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Array.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Array.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Array.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,oBAAoB,EAAgB,MAAM,mBAAmB,CAAC;AAM5E,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC;AAEvE,eAAO,MAAM,gBAAgB,oBAAqB,qBAAqB,sBAEtE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type ShapeComponentProps } from '@dxos/react-ui-canvas-editor';
|
|
3
2
|
import { type AudioShape } from './audio-def.ts';
|
|
4
|
-
|
|
3
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
4
|
+
export declare const AudioComponent: ({ node: shape }: ComputeNodeViewProps<AudioShape>) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Audio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Audio.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Audio.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Audio.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,eAAO,MAAM,cAAc,oBAAqB,oBAAoB,CAAC,UAAU,CAAC,sBAmB/E,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type ShapeComponentProps } from '@dxos/react-ui-canvas-editor';
|
|
3
2
|
import { type BeaconShape } from './beacon-def.ts';
|
|
4
|
-
|
|
3
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
4
|
+
export declare const BeaconComponent: ({ node: shape }: ComputeNodeViewProps<BeaconShape>) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Beacon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Beacon.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Beacon.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Beacon.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Beacon.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,eAAO,MAAM,eAAe,oBAAqB,oBAAoB,CAAC,WAAW,CAAC,sBAcjF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
|
-
import { type
|
|
2
|
+
import { type NodeDef } from '@dxos/react-ui-canvas/scene';
|
|
3
3
|
import { type CreateShapeProps } from './defs.ts';
|
|
4
4
|
type GateType = 'and' | 'or' | 'not';
|
|
5
5
|
declare const GateShape: Schema.Struct<{
|
|
@@ -58,23 +58,7 @@ export declare const createAnd: (props: Omit<CreateGateProps, 'type' | 'node'>)
|
|
|
58
58
|
node?: string | undefined;
|
|
59
59
|
readonly type: string;
|
|
60
60
|
};
|
|
61
|
-
export declare const
|
|
62
|
-
id: string;
|
|
63
|
-
data?: any;
|
|
64
|
-
text?: string | undefined;
|
|
65
|
-
guide?: boolean | undefined;
|
|
66
|
-
classNames?: string | undefined;
|
|
67
|
-
center: {
|
|
68
|
-
readonly x: number;
|
|
69
|
-
readonly y: number;
|
|
70
|
-
};
|
|
71
|
-
size: {
|
|
72
|
-
width: number;
|
|
73
|
-
height: number;
|
|
74
|
-
};
|
|
75
|
-
node?: string | undefined;
|
|
76
|
-
readonly type: string;
|
|
77
|
-
}>;
|
|
61
|
+
export declare const andNodeDef: NodeDef;
|
|
78
62
|
export declare const OrShape: Schema.Struct<{
|
|
79
63
|
readonly id: Schema.mutableKey<Schema.String>;
|
|
80
64
|
readonly data: Schema.mutableKey<Schema.optional<Schema.Any>>;
|
|
@@ -110,23 +94,7 @@ export declare const createOr: (props: Omit<CreateGateProps, 'type' | 'node'>) =
|
|
|
110
94
|
node?: string | undefined;
|
|
111
95
|
readonly type: string;
|
|
112
96
|
};
|
|
113
|
-
export declare const
|
|
114
|
-
id: string;
|
|
115
|
-
data?: any;
|
|
116
|
-
text?: string | undefined;
|
|
117
|
-
guide?: boolean | undefined;
|
|
118
|
-
classNames?: string | undefined;
|
|
119
|
-
center: {
|
|
120
|
-
readonly x: number;
|
|
121
|
-
readonly y: number;
|
|
122
|
-
};
|
|
123
|
-
size: {
|
|
124
|
-
width: number;
|
|
125
|
-
height: number;
|
|
126
|
-
};
|
|
127
|
-
node?: string | undefined;
|
|
128
|
-
readonly type: string;
|
|
129
|
-
}>;
|
|
97
|
+
export declare const orNodeDef: NodeDef;
|
|
130
98
|
export declare const NotShape: Schema.Struct<{
|
|
131
99
|
readonly id: Schema.mutableKey<Schema.String>;
|
|
132
100
|
readonly data: Schema.mutableKey<Schema.optional<Schema.Any>>;
|
|
@@ -162,22 +130,6 @@ export declare const createNot: (props: Omit<CreateGateProps, 'type' | 'node'>)
|
|
|
162
130
|
node?: string | undefined;
|
|
163
131
|
readonly type: string;
|
|
164
132
|
};
|
|
165
|
-
export declare const
|
|
166
|
-
id: string;
|
|
167
|
-
data?: any;
|
|
168
|
-
text?: string | undefined;
|
|
169
|
-
guide?: boolean | undefined;
|
|
170
|
-
classNames?: string | undefined;
|
|
171
|
-
center: {
|
|
172
|
-
readonly x: number;
|
|
173
|
-
readonly y: number;
|
|
174
|
-
};
|
|
175
|
-
size: {
|
|
176
|
-
width: number;
|
|
177
|
-
height: number;
|
|
178
|
-
};
|
|
179
|
-
node?: string | undefined;
|
|
180
|
-
readonly type: string;
|
|
181
|
-
}>;
|
|
133
|
+
export declare const notNodeDef: NodeDef;
|
|
182
134
|
export {};
|
|
183
135
|
//# sourceMappingURL=Boolean.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Boolean.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Boolean.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"Boolean.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Boolean.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAG3D,OAAO,EAAgB,KAAK,gBAAgB,EAAsC,MAAM,WAAW,CAAC;AAOpG,KAAK,QAAQ,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC;AAErC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;EAId,CAAC;AAEF,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAEtD,KAAK,eAAe,GAAG,gBAAgB,CAAC,SAAS,CAAC,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AA0GxE,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;EAAY,CAAC;AAClC,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC;AAEjC,eAAO,MAAM,SAAS,UAAW,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;CAEtE,CAAC;AACF,eAAO,MAAM,UAAU,SAOrB,CAAC;AAqBH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;EAAY,CAAC;AACjC,MAAM,MAAM,OAAO,GAAG,SAAS,CAAC;AAEhC,eAAO,MAAM,QAAQ,UAAW,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;CAErE,CAAC;AACF,eAAO,MAAM,SAAS,SAOpB,CAAC;AAuBH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;EAAY,CAAC;AAClC,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC;AAEjC,eAAO,MAAM,SAAS,UAAW,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;CAEtE,CAAC;AACF,eAAO,MAAM,UAAU,SAOrB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type ShapeComponentProps, type TextBoxProps } from '@dxos/react-ui-canvas-editor';
|
|
3
2
|
import { type ChatShape } from './chat-def.tsx';
|
|
4
|
-
|
|
3
|
+
import { type ComputeNodeViewProps, type TextBoxProps } from './common/index.ts';
|
|
4
|
+
export type TextInputComponentProps = ComputeNodeViewProps<ChatShape> & Pick<TextBoxProps, 'placeholder'> & {
|
|
5
5
|
title?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const TextInputComponent: ({ shape, title,
|
|
7
|
+
export declare const TextInputComponent: ({ node: shape, title, placeholder }: TextInputComponentProps) => React.JSX.Element;
|
|
8
8
|
//# sourceMappingURL=Chat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Chat.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAiB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Chat.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAKtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAO,KAAK,oBAAoB,EAAgC,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAMpH,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,CAAC,SAAS,CAAC,GACnE,IAAI,CAAC,YAAY,EAAE,aAAa,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzD,eAAO,MAAM,kBAAkB,wCAAyC,uBAAuB,sBAiB9F,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps, type TextBoxProps } from './common/index.ts';
|
|
3
3
|
import { type ConstantShape } from './constant-def.tsx';
|
|
4
|
-
export type ConstantComponentProps =
|
|
4
|
+
export type ConstantComponentProps = ComputeNodeViewProps<ConstantShape> & Pick<TextBoxProps, 'placeholder'> & {
|
|
5
5
|
title?: string;
|
|
6
|
-
chat?: boolean;
|
|
7
6
|
};
|
|
8
|
-
export declare const ConstantComponent: ({ shape, title,
|
|
7
|
+
export declare const ConstantComponent: ({ node: shape, title, placeholder }: ConstantComponentProps) => React.JSX.Element;
|
|
9
8
|
//# sourceMappingURL=Constant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constant.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Constant.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAwC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Constant.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Constant.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAQ7D,OAAO,EAEL,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EAElB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAMxD,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,CAAC,aAAa,CAAC,GACtE,IAAI,CAAC,YAAY,EAAE,aAAa,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAczD,eAAO,MAAM,iBAAiB,wCAAyC,sBAAsB,sBAuD5F,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
3
3
|
import { type DatabaseShape } from './database-def.ts';
|
|
4
|
-
export declare const DatabaseComponent: ({ shape }:
|
|
4
|
+
export declare const DatabaseComponent: ({ node: shape }: ComputeNodeViewProps<DatabaseShape>) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Database.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Database.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Database.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
|
1
|
+
{"version":3,"file":"Database.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Database.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAO,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,eAAO,MAAM,iBAAiB,oBAAqB,oBAAoB,CAAC,aAAa,CAAC,sBAErF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type ShapeComponentProps } from '@dxos/react-ui-canvas-editor';
|
|
3
2
|
import type * as Util from '@dxos/react-ui/Util';
|
|
3
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
4
4
|
import { type FeedShape } from './feed-def.ts';
|
|
5
|
-
export declare const FeedComponent: ({ shape }:
|
|
5
|
+
export declare const FeedComponent: ({ node: shape }: ComputeNodeViewProps<FeedShape>) => React.JSX.Element;
|
|
6
6
|
export declare const FeedItem: ({ classNames, item }: Util.ThemedClassName<{
|
|
7
7
|
item: any;
|
|
8
8
|
}>) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Feed.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Feed.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Feed.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Feed.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,KAAK,IAAI,MAAM,qBAAqB,CAAC;AAIjD,OAAO,EAAO,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,eAAO,MAAM,aAAa,oBAAqB,oBAAoB,CAAC,SAAS,CAAC,sBAe7E,CAAC;AAEF,eAAO,MAAM,QAAQ,yBAA0B,IAAI,CAAC,eAAe,CAAC;IAAE,IAAI,EAAE,GAAG,CAAA;CAAE,CAAC,sBAejF,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps, type TextBoxProps } from './common/index.ts';
|
|
3
3
|
import { type FunctionShape } from './function-def.ts';
|
|
4
|
-
type FunctionShapeComponentProps =
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export declare const FunctionShapeComponent: ({ shape, title, ...props }: FunctionShapeComponentProps) => React.JSX.Element;
|
|
4
|
+
type FunctionShapeComponentProps = ComputeNodeViewProps<FunctionShape> & Pick<TextBoxProps, 'placeholder'>;
|
|
5
|
+
export declare const FunctionShapeComponent: ({ node: shape, placeholder }: FunctionShapeComponentProps) => React.JSX.Element;
|
|
8
6
|
export {};
|
|
9
7
|
//# sourceMappingURL=Function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Function.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Function.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Function.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Function.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AASnD,OAAO,EAAO,KAAK,oBAAoB,EAAgC,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACpH,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAMvD,KAAK,2BAA2B,GAAG,oBAAoB,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;AAE3G,eAAO,MAAM,sBAAsB,iCAAkC,2BAA2B,sBAuD/F,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
3
3
|
import { type GptShape } from './gpt-def.ts';
|
|
4
|
-
export declare const GptComponent: ({ shape }:
|
|
4
|
+
export declare const GptComponent: ({ node: shape }: ComputeNodeViewProps<GptShape>) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Gpt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gpt.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Gpt.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Gpt.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Gpt.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,EAAE,KAAK,oBAAoB,EAAgB,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,eAAO,MAAM,YAAY,oBAAqB,oBAAoB,CAAC,QAAQ,CAAC,sBAqD3E,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
3
3
|
import { type GptRealtimeShape } from './gpt-realtime-def.ts';
|
|
4
|
-
export declare const GptRealtimeComponent: ({ shape }:
|
|
4
|
+
export declare const GptRealtimeComponent: ({ node: shape }: ComputeNodeViewProps<GptRealtimeShape>) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=GptRealtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GptRealtime.d.ts","sourceRoot":"","sources":["../../../../src/shapes/GptRealtime.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GptRealtime.d.ts","sourceRoot":"","sources":["../../../../src/shapes/GptRealtime.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,eAAO,MAAM,oBAAoB,oBAAqB,oBAAoB,CAAC,gBAAgB,CAAC,sBAkI3F,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
3
3
|
import { type JsonShape, type JsonTransformShape } from './json-def.ts';
|
|
4
|
-
export type JsonComponentProps =
|
|
5
|
-
export declare const JsonComponent: ({ shape
|
|
6
|
-
export type JsonTransformComponentProps =
|
|
7
|
-
export declare const JsonTransformComponent: ({ shape
|
|
4
|
+
export type JsonComponentProps = ComputeNodeViewProps<JsonShape>;
|
|
5
|
+
export declare const JsonComponent: ({ node: shape }: JsonComponentProps) => React.JSX.Element;
|
|
6
|
+
export type JsonTransformComponentProps = ComputeNodeViewProps<JsonTransformShape>;
|
|
7
|
+
export declare const JsonTransformComponent: ({ node: shape }: JsonTransformComponentProps) => React.JSX.Element;
|
|
8
8
|
//# sourceMappingURL=Json.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Json.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Json.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Json.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Json.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAO,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAMxE,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC;AAEjE,eAAO,MAAM,aAAa,oBAAqB,kBAAkB,sBAiBhE,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,oBAAoB,CAAC,kBAAkB,CAAC,CAAC;AAEnF,eAAO,MAAM,sBAAsB,oBAAqB,2BAA2B,sBAElF,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
3
3
|
import { type IfElseShape, type IfShape } from './logic-def.ts';
|
|
4
|
-
export type IfComponentProps =
|
|
5
|
-
export declare const IfComponent: ({ shape
|
|
6
|
-
export type IfElseComponentProps =
|
|
7
|
-
export declare const IfElseComponent: ({ shape
|
|
4
|
+
export type IfComponentProps = ComputeNodeViewProps<IfShape>;
|
|
5
|
+
export declare const IfComponent: ({ node: shape }: IfComponentProps) => React.JSX.Element;
|
|
6
|
+
export type IfElseComponentProps = ComputeNodeViewProps<IfElseShape>;
|
|
7
|
+
export declare const IfElseComponent: ({ node: shape }: IfElseComponentProps) => React.JSX.Element;
|
|
8
8
|
//# sourceMappingURL=Logic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logic.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Logic.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Logic.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Logic.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,oBAAoB,EAAgB,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAMhE,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAE7D,eAAO,MAAM,WAAW,oBAAqB,gBAAgB,sBAE5D,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,oBAAoB,CAAC,WAAW,CAAC,CAAC;AAErE,eAAO,MAAM,eAAe,oBAAqB,oBAAoB,sBAEpE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
3
3
|
import { type RandomShape } from './rng-def.ts';
|
|
4
|
-
export declare const RandomComponent: ({ shape }:
|
|
4
|
+
export declare const RandomComponent: ({ node: shape }: ComputeNodeViewProps<RandomShape>) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=RNG.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNG.d.ts","sourceRoot":"","sources":["../../../../src/shapes/RNG.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RNG.d.ts","sourceRoot":"","sources":["../../../../src/shapes/RNG.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAchD,eAAO,MAAM,eAAe,oBAAqB,oBAAoB,CAAC,WAAW,CAAC,sBAyCjF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
3
3
|
import { type ScopeShape } from './scope-def.ts';
|
|
4
|
-
export declare const ScopeComponent: ({ shape }:
|
|
4
|
+
export declare const ScopeComponent: ({ node: shape }: ComputeNodeViewProps<ScopeShape>) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Scope.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Scope.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Scope.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,eAAO,MAAM,cAAc,oBAAqB,oBAAoB,CAAC,UAAU,CAAC,sBAW/E,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ComputeNodeViewProps } from './common/index.ts';
|
|
3
3
|
import { type SurfaceShape } from './surface-def.ts';
|
|
4
|
-
export declare const SurfaceComponent: ({ shape }:
|
|
4
|
+
export declare const SurfaceComponent: ({ node: shape }: ComputeNodeViewProps<SurfaceShape>) => React.JSX.Element;
|
|
5
5
|
//# sourceMappingURL=Surface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAO,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,eAAO,MAAM,gBAAgB,oBAAqB,oBAAoB,CAAC,YAAY,CAAC,sBAiBnF,CAAC"}
|