@dxos/react-ui-canvas-compute 0.8.0 → 0.8.1-main.013e445
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/browser/index.mjs +85 -34
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +234 -184
- package/dist/lib/node/index.cjs.map +4 -4
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +85 -34
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/DiagnosticOverlay.d.ts +2 -1
- package/dist/types/src/components/DiagnosticOverlay.d.ts.map +1 -1
- package/dist/types/src/compute.stories.d.ts +2 -1
- package/dist/types/src/compute.stories.d.ts.map +1 -1
- package/dist/types/src/graph/controller.d.ts +14 -13
- package/dist/types/src/graph/controller.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +1 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useComputeGraphController.d.ts +10 -0
- package/dist/types/src/hooks/useComputeGraphController.d.ts.map +1 -0
- package/dist/types/src/shapes/Append.d.ts +2 -1
- package/dist/types/src/shapes/Append.d.ts.map +1 -1
- package/dist/types/src/shapes/Array.d.ts +2 -1
- package/dist/types/src/shapes/Array.d.ts.map +1 -1
- package/dist/types/src/shapes/Audio.d.ts +2 -1
- package/dist/types/src/shapes/Audio.d.ts.map +1 -1
- package/dist/types/src/shapes/Beacon.d.ts +2 -1
- package/dist/types/src/shapes/Beacon.d.ts.map +1 -1
- package/dist/types/src/shapes/Boolean.d.ts.map +1 -1
- package/dist/types/src/shapes/Chat.d.ts +2 -1
- package/dist/types/src/shapes/Chat.d.ts.map +1 -1
- package/dist/types/src/shapes/Constant.d.ts +2 -1
- package/dist/types/src/shapes/Constant.d.ts.map +1 -1
- package/dist/types/src/shapes/Database.d.ts +2 -1
- package/dist/types/src/shapes/Database.d.ts.map +1 -1
- package/dist/types/src/shapes/Function.d.ts.map +1 -1
- package/dist/types/src/shapes/Gpt.d.ts +2 -1
- package/dist/types/src/shapes/Gpt.d.ts.map +1 -1
- package/dist/types/src/shapes/GptRealtime.d.ts +2 -1
- package/dist/types/src/shapes/GptRealtime.d.ts.map +1 -1
- package/dist/types/src/shapes/Json.d.ts +3 -2
- package/dist/types/src/shapes/Json.d.ts.map +1 -1
- package/dist/types/src/shapes/Logic.d.ts +3 -2
- package/dist/types/src/shapes/Logic.d.ts.map +1 -1
- package/dist/types/src/shapes/Queue.d.ts +3 -2
- package/dist/types/src/shapes/Queue.d.ts.map +1 -1
- package/dist/types/src/shapes/RNG.d.ts +2 -1
- package/dist/types/src/shapes/RNG.d.ts.map +1 -1
- package/dist/types/src/shapes/Scope.d.ts +2 -1
- package/dist/types/src/shapes/Scope.d.ts.map +1 -1
- package/dist/types/src/shapes/Surface.d.ts +2 -1
- package/dist/types/src/shapes/Surface.d.ts.map +1 -1
- package/dist/types/src/shapes/Switch.d.ts +2 -1
- package/dist/types/src/shapes/Switch.d.ts.map +1 -1
- package/dist/types/src/shapes/Table.d.ts +2 -1
- package/dist/types/src/shapes/Table.d.ts.map +1 -1
- package/dist/types/src/shapes/Template.d.ts.map +1 -1
- package/dist/types/src/shapes/Text.d.ts +2 -1
- package/dist/types/src/shapes/Text.d.ts.map +1 -1
- package/dist/types/src/shapes/TextToImage.d.ts +2 -1
- package/dist/types/src/shapes/TextToImage.d.ts.map +1 -1
- package/dist/types/src/shapes/Thread.d.ts +3 -2
- package/dist/types/src/shapes/Thread.d.ts.map +1 -1
- package/dist/types/src/shapes/Trigger.d.ts +4 -3
- package/dist/types/src/shapes/Trigger.d.ts.map +1 -1
- package/dist/types/src/shapes/common/FunctionBody.d.ts +1 -1
- package/dist/types/src/shapes/common/FunctionBody.d.ts.map +1 -1
- package/dist/types/src/shapes/common/TypeSelect.d.ts +2 -1
- package/dist/types/src/shapes/common/TypeSelect.d.ts.map +1 -1
- package/dist/types/src/shapes/defs.d.ts +1 -1
- package/dist/types/src/shapes/defs.d.ts.map +1 -1
- package/dist/types/src/testing/circuits.d.ts +20 -3
- package/dist/types/src/testing/circuits.d.ts.map +1 -1
- package/package.json +40 -41
- package/src/compute.stories.tsx +20 -51
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useComputeGraphController.ts +65 -0
- package/src/shapes/Function.tsx +3 -3
- package/src/shapes/Trigger.tsx +1 -1
- package/src/shapes/defs.ts +1 -1
- package/src/testing/circuits.ts +12 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef, type TextBoxProps } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -30,7 +31,7 @@ export type ChatShape = S.Schema.Type<typeof ChatShape>;
|
|
|
30
31
|
export type TextInputComponentProps = ShapeComponentProps<ChatShape> & TextBoxProps & {
|
|
31
32
|
title?: string;
|
|
32
33
|
};
|
|
33
|
-
export declare const TextInputComponent: ({ shape, title, ...props }: TextInputComponentProps) =>
|
|
34
|
+
export declare const TextInputComponent: ({ shape, title, ...props }: TextInputComponentProps) => React.JSX.Element;
|
|
34
35
|
export type CreateChatProps = CreateShapeProps<ChatShape>;
|
|
35
36
|
export declare const createChat: (props: CreateChatProps) => {
|
|
36
37
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Chat.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Chat.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAGtC,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EAGb,KAAK,YAAY,EAClB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAO1F,eAAO,MAAM,SAAS;;;;;;;iBA6BkB,EAAG,MAAM;UAAW,EAAG,QAC1D,QACH,EACF,MAEC;WAID,EAAE,QAAQ,QAAO,EAAG,OAAO;gBAAkB,EAAG,QAAQ,QAErD,EAAI,MAAK;;YAA8B,EAAG,MAAM;kBAClC,EAAG,MAAM;kBAAmB,EAAI,MAAK;;UAAmB,EAAG,OAAO,CAAE,EAAC,MAEpF;sBAAwB,EAAG,MAAM;uBACxB,EAAG,MACV;;;;;;GAxCH,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAMxD,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,CAAC,SAAS,CAAC,GAAG,YAAY,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzG,eAAO,MAAM,kBAAkB,+BAAgC,uBAAuB,sBAiBrF,CAAC;AAMF,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAE1D,eAAO,MAAM,UAAU,UAAW,eAAe;;;;;;;;;;;;;;;;;;;CACsC,CAAC;AAExF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,SAAS,CAQzC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef, type TextBoxProps } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -32,7 +33,7 @@ export type ConstantComponentProps = ShapeComponentProps<ConstantShape> & TextBo
|
|
|
32
33
|
title?: string;
|
|
33
34
|
chat?: boolean;
|
|
34
35
|
};
|
|
35
|
-
export declare const ConstantComponent: ({ shape, title, chat, ...props }: ConstantComponentProps) =>
|
|
36
|
+
export declare const ConstantComponent: ({ shape, title, chat, ...props }: ConstantComponentProps) => React.JSX.Element;
|
|
36
37
|
export type CreateConstantProps = CreateShapeProps<ConstantShape>;
|
|
37
38
|
export declare const createConstant: (props: CreateConstantProps) => {
|
|
38
39
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Constant.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Constant.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Constant.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Constant.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAG7D,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,QAAQ,EAGb,KAAK,YAAY,EAClB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAO1F,eAAO,MAAM,aAAa;;;;;;;iBA0BxB,EACD,MAEE;UAAW,EAAG,QAAQ,QAAQ,EAAG,MAAK;WAAa,EAAG,QAAQ,QAAO,EAAG,OAAO;gBAC/E,EAAG,QAAQ,QAAO,EAAG,MAAM;;YACjB,EAAG,MAAM;kBAAoB,EAAG,MAAM;kBAAmB,EAAG,MAAM;;UACvE,EAAE,OAAO,CAAE,EAAC,MAAM;sBAExB,EAAC,MAAM;uBAAwB,EAAG,MAAM;;;;;;;GA5BzC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAC;AAMhE,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,CAAC,aAAa,CAAC,GACrE,YAAY,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAcpD,eAAO,MAAM,iBAAiB,qCAAsC,sBAAsB,sBAiDzF,CAAC;AAMF,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc,UAAW,mBAAmB;;;;;;;;;;;;;;;;;;;;CACsC,CAAC;AAEhG,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,aAAa,CAQjD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -48,6 +49,6 @@ export declare const createDatabase: (props: CreateDatabaseProps) => {
|
|
|
48
49
|
} & {
|
|
49
50
|
readonly type: "database";
|
|
50
51
|
};
|
|
51
|
-
export declare const DatabaseComponent: ({ shape }: ShapeComponentProps<DatabaseShape>) =>
|
|
52
|
+
export declare const DatabaseComponent: ({ shape }: ShapeComponentProps<DatabaseShape>) => React.JSX.Element;
|
|
52
53
|
export declare const databaseShape: ShapeDef<DatabaseShape>;
|
|
53
54
|
//# sourceMappingURL=Database.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Database.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Database.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Database.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Database.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAIvF,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1F,eAAO,MAAM,aAAa;;;;;;;iBA0B8H,EAAG,MAAM;UAAW,EAAG,QAAQ,QAAO,EAAG,MAAM;WAAa,EAAG,QAAQ,QAAO,EAAG,OAAO;gBAAkB,EAAG,QAAQ,QAAO,EAAG,MAAM;;YAA8B,EAAG,MAAM;kBAAoB,EAAG,MAAM;kBAAmB,EAAG,MAAM;;UAAmB,EAAG,OAAO,CAAC,EAAE,MAAM;sBAAwB,EAAG,MAAM;uBAAwB,EAAG,MAAM;;;;;;GArBpe,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAC;AAEhE,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc,UAAW,mBAAmB;;;;;;;;;;;;;;;;;;;CACqC,CAAC;AAE/F,eAAO,MAAM,iBAAiB,cAAe,mBAAmB,CAAC,aAAa,CAAC,sBAE9E,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,aAAa,CAOjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Function.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Function.tsx"],"names":[],"mappings":"AAOA,OAAO,
|
|
1
|
+
{"version":3,"file":"Function.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Function.tsx"],"names":[],"mappings":"AAOA,OAAO,EAA6B,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAIjE,OAAO,EAKL,KAAK,QAAQ,EACd,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG1E,eAAO,MAAM,aAAa;;;;;;;iBAqBpB,EAAG,MAAM;UAAW,EACxB,QAAK,QAAO,EAAG,MAAM;WAAa,EAAG,QAAQ,QAAO,EACpD,OAAM;gBAAkB,EAAG,QAAQ,QAAO,EAAG,MAE5C;;YAA8B,EAC7B,MAAG;kBAAqB,EACtB,MAAA;kBAAmB,EAAG,MAC3B;;UAAmB,EAAG,OAAO,CAAE,EAAE,MAAK;sBAC5B,EAAG,MAAM;uBACX,EAAG,MACV;;;;;;GA1BD,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAC;AAEhE,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAElE,eAAO,MAAM,cAAc,UAAW,mBAAmB;;;;;;;;;;;;;;;;;;;CACsC,CAAC;AAuEhG,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,aAAa,CAOjD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -48,6 +49,6 @@ export declare const createGpt: (props: CreateGptProps) => {
|
|
|
48
49
|
} & {
|
|
49
50
|
readonly type: "gpt";
|
|
50
51
|
};
|
|
51
|
-
export declare const GptComponent: ({ shape }: ShapeComponentProps<GptShape>) =>
|
|
52
|
+
export declare const GptComponent: ({ shape }: ShapeComponentProps<GptShape>) => React.JSX.Element;
|
|
52
53
|
export declare const gptShape: ShapeDef<GptShape>;
|
|
53
54
|
//# sourceMappingURL=Gpt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gpt.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Gpt.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Gpt.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Gpt.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG1E,eAAO,MAAM,QAAQ;;;;;;;iBA8Bb,EAAA,MAAI;UAAW,EACb,QAAD,QAAO,EAAG,MAAM;WAAa,EAAG,QAAQ,QACvC,EAAA,OAAD;gBAAkB,EAAG,QACxB,QAAO,EAAI,MAAK;;YACR,EAAC,MAAM;kBACL,EAAA,MAAR;kBAAmB,EAAG,MAAM;;UAClB,EAAG,OAAO,CAAE,EAAE,MAAK;sBACnB,EAAA,MAAE;uBACA,EAAA,MAAL;;;;;;GAjCd,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEtD,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;AAExD,eAAO,MAAM,SAAS,UAAW,cAAc;;;;;;;;;;;;;;;;;;;CAK3C,CAAC;AAEL,eAAO,MAAM,YAAY,cAAe,mBAAmB,CAAC,QAAQ,CAAC,sBA+CpE,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAQvC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -48,6 +49,6 @@ export declare const createGptRealtime: (props: CreateGptRealtimeProps) => {
|
|
|
48
49
|
} & {
|
|
49
50
|
readonly type: "gpt-realtime";
|
|
50
51
|
};
|
|
51
|
-
export declare const GptRealtimeComponent: ({ shape }: ShapeComponentProps<GptRealtimeShape>) =>
|
|
52
|
+
export declare const GptRealtimeComponent: ({ shape }: ShapeComponentProps<GptRealtimeShape>) => React.JSX.Element;
|
|
52
53
|
export declare const gptRealtimeShape: ShapeDef<GptRealtimeShape>;
|
|
53
54
|
//# sourceMappingURL=GptRealtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GptRealtime.d.ts","sourceRoot":"","sources":["../../../../src/shapes/GptRealtime.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GptRealtime.d.ts","sourceRoot":"","sources":["../../../../src/shapes/GptRealtime.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAItC,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1E,eAAO,MAAM,gBAAgB;;;;;;;iBA4BjB,EAAG,MAAM;UAAW,EAAG,QAAQ,QAAO,EAAG,MAAM;WACjD,EAAG,QAAQ,QAAO,EAAG,OAAO;gBAC9B,EAAA,QAAQ,QAAO,EAAG,MAAM;;YACR,EAAG,MAAM;kBACnB,EAAG,MAAM;kBAAmB,EAClC,MAAF;;UAAmB,EAAG,OAAO,CAAC,EAAE,MAAM;sBACzB,EAAG,MACpB;uBAEc,EAAG,MAAM;;;;;;GAhCxB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEtE,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB,UAAW,sBAAsB;;;;;;;;;;;;;;;;;;;CACuC,CAAC;AAEvG,eAAO,MAAM,oBAAoB,cAAe,mBAAmB,CAAC,gBAAgB,CAAC,sBA6HpF,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAgBvD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -54,9 +55,9 @@ export declare const JsonTransformShape: S.extend<S.extend<S.mutable<S.extend<S.
|
|
|
54
55
|
}>>;
|
|
55
56
|
export type JsonTransformShape = S.Schema.Type<typeof JsonTransformShape>;
|
|
56
57
|
export type JsonComponentProps = ShapeComponentProps<JsonShape>;
|
|
57
|
-
export declare const JsonComponent: ({ shape, ...props }: JsonComponentProps) =>
|
|
58
|
+
export declare const JsonComponent: ({ shape, ...props }: JsonComponentProps) => React.JSX.Element;
|
|
58
59
|
export type JsonTransformComponentProps = ShapeComponentProps<JsonTransformShape>;
|
|
59
|
-
export declare const JsonTransformComponent: ({ shape, ...props }: JsonTransformComponentProps) =>
|
|
60
|
+
export declare const JsonTransformComponent: ({ shape, ...props }: JsonTransformComponentProps) => React.JSX.Element;
|
|
60
61
|
export type CreateJsonProps = CreateShapeProps<JsonShape>;
|
|
61
62
|
export declare const createJson: (props: CreateJsonProps) => {
|
|
62
63
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Json.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Json.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Json.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Json.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAKvF,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAO1F,e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E,QAAQ,CAAC,SAAS,CAYzC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,gBAAgB,CAAC,kBAAkB,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtG,eAAO,MAAM,mBAAmB,UAAW,wBAAwB;;;;;;;;;;;;;;;;;;;CAK/D,CAAC;AAEL,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,kBAAkB,CAQ3D,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -54,9 +55,9 @@ export declare const IfElseShape: S.extend<S.extend<S.mutable<S.extend<S.extend<
|
|
|
54
55
|
}>>;
|
|
55
56
|
export type IfElseShape = S.Schema.Type<typeof IfElseShape>;
|
|
56
57
|
export type IfComponentProps = ShapeComponentProps<IfShape>;
|
|
57
|
-
export declare const IfComponent: ({ shape, ...props }: IfComponentProps) =>
|
|
58
|
+
export declare const IfComponent: ({ shape, ...props }: IfComponentProps) => React.JSX.Element;
|
|
58
59
|
export type IfElseComponentProps = ShapeComponentProps<IfElseShape>;
|
|
59
|
-
export declare const IfElseComponent: ({ shape, ...props }: IfElseComponentProps) =>
|
|
60
|
+
export declare const IfElseComponent: ({ shape, ...props }: IfElseComponentProps) => React.JSX.Element;
|
|
60
61
|
export type CreateIfProps = CreateShapeProps<IfShape> & {
|
|
61
62
|
if?: string;
|
|
62
63
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logic.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Logic.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Logic.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Logic.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,M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E,eAAO,MAAM,eAAe,wBAAyB,oBAAoB,sBAExE,CAAC;AAMF,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,eAAO,MAAM,QAAQ,UAAW,aAAa;;;;;;;;;;;;;;;;;;;CACqD,CAAC;AAEnG,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,CAOrC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5E,eAAO,MAAM,YAAY,UAAW,iBAAiB;;;;;;;;;;;;;;;;;;;CAC0D,CAAC;AAEhH,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAO7C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
4
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
@@ -49,9 +50,9 @@ export declare const createQueue: (props: CreateQueueProps) => {
|
|
|
49
50
|
} & {
|
|
50
51
|
readonly type: "queue";
|
|
51
52
|
};
|
|
52
|
-
export declare const QueueComponent: ({ shape }: ShapeComponentProps<QueueShape>) =>
|
|
53
|
+
export declare const QueueComponent: ({ shape }: ShapeComponentProps<QueueShape>) => React.JSX.Element;
|
|
53
54
|
export declare const QueueItem: ({ classNames, item }: ThemedClassName<{
|
|
54
55
|
item: any;
|
|
55
|
-
}>) =>
|
|
56
|
+
}>) => React.JSX.Element;
|
|
56
57
|
export declare const queueShape: ShapeDef<QueueShape>;
|
|
57
58
|
//# sourceMappingURL=Queue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Queue.d.ts","sourceRoot":"","s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1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -52,6 +53,6 @@ export declare const createRandom: (props: CreateRandomProps) => {
|
|
|
52
53
|
readonly max?: number | undefined;
|
|
53
54
|
readonly min?: number | undefined;
|
|
54
55
|
};
|
|
55
|
-
export declare const RandomComponent: ({ shape }: ShapeComponentProps<RandomShape>) =>
|
|
56
|
+
export declare const RandomComponent: ({ shape }: ShapeComponentProps<RandomShape>) => React.JSX.Element;
|
|
56
57
|
export declare const randomShape: ShapeDef<RandomShape>;
|
|
57
58
|
//# sourceMappingURL=RNG.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNG.d.ts","sourceRoot":"","sources":["../../../../src/shapes/RNG.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RNG.d.ts","sourceRoot":"","sources":["../../../../src/shapes/RNG.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAmB,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGxG,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG1F,eAAO,MAAM,WAAW;;;;;;;iBA6Bb,EAAG,MAAM;UAAW,EAAG,QAAQ,QAExC,EAAA,MAAK;WAAa,EAAI,QAAO,QAAO,EAAG,OACpC;gBAAmB,EAAE,QAAQ,QAAO,EAAG,MAC1C;;YACU,EAAG,MACX;kBAGA,EAAE,MAAM;kBAAoB,EAAE,MAAM;;UACpC,EAAA,OAAM,CAAC,EAAE,MAAM;sBAAwB,EAAG,MAAM;uBAChC,EAAG,MAAM;;;;;;;;GAjC5B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAE5D,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,UAAW,iBAAiB;;;;;;;;;;;;;;;;;;;;;CACiC,CAAC;AAcvF,eAAO,MAAM,eAAe,cAAe,mBAAmB,CAAC,WAAW,CAAC,sBA+B1E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAO7C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -48,6 +49,6 @@ export declare const createScope: (props: CreateScopeProps) => {
|
|
|
48
49
|
} & {
|
|
49
50
|
readonly type: "scope";
|
|
50
51
|
};
|
|
51
|
-
export declare const ScopeComponent: ({ shape }: ShapeComponentProps<ScopeShape>) =>
|
|
52
|
+
export declare const ScopeComponent: ({ shape }: ShapeComponentProps<ScopeShape>) => React.JSX.Element;
|
|
52
53
|
export declare const scopeShape: ShapeDef<ScopeShape>;
|
|
53
54
|
//# sourceMappingURL=Scope.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Scope.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Scope.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Scope.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAmB,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGxG,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG1F,eAAO,MAAM,UAAU;;;;;;;iBA2BiC,EAAG,MAAM;UAAW,EAAG,QAAQ,QAAQ,EAAE,MAAM;WAErG,EAAC,QAGD,QAAO,EAAI,OAAM;gBAAkB,EAAG,QAAQ,QAC3C,EAAG,MAAM;;YAEJ,EAAG,MAAM;kBACb,EAAG,MAAM;kBACV,EAAG,MAAM;;UACT,EAAG,OAAO,CAAC,EAAE,MAAM;sBAAwB,EAAG,MAAM;uBAAyB,EAAE,MAAM;;;;;;GAjCzF,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAE5D,eAAO,MAAM,WAAW,UAAW,gBAAgB;;;;;;;;;;;;;;;;;;;CAM/C,CAAC;AAEL,eAAO,MAAM,cAAc,cAAe,mBAAmB,CAAC,UAAU,CAAC,sBAWxE,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,CAO3C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -48,6 +49,6 @@ export declare const createSurface: (props: CreateSurfaceProps) => {
|
|
|
48
49
|
} & {
|
|
49
50
|
readonly type: "surface";
|
|
50
51
|
};
|
|
51
|
-
export declare const SurfaceComponent: ({ shape }: ShapeComponentProps<SurfaceShape>) =>
|
|
52
|
+
export declare const SurfaceComponent: ({ shape }: ShapeComponentProps<SurfaceShape>) => React.JSX.Element;
|
|
52
53
|
export declare const surfaceShape: ShapeDef<SurfaceShape>;
|
|
53
54
|
//# sourceMappingURL=Surface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Surface.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Surface.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAIvF,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG1F,eAAO,MAAM,YAAY;;;;;;;iBA0BA,EAAG,MAAM;UAAW,EACvC,QAAE,QAAO,EAAG,MAAM;WAAa,EAAG,QAAQ,QAAO,EAAG,OAAO;gBAC7D,EAAA,QAAM,QAET,EAED,MAAM;;YAA8B,EAAG,MAAM;kBAClC,EAAG,MACb;kBACC,EAAE,MAAM;;UAAmB,EAAG,OAC/B,CAAC,EAAE,MAAM;sBACP,EAAG,MAAM;uBACN,EAAG,MAAM;;;;;;GAjCd,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAEhE,eAAO,MAAM,aAAa,UAAW,kBAAkB;;;;;;;;;;;;;;;;;;;CACsC,CAAC;AAE9F,eAAO,MAAM,gBAAgB,cAAe,mBAAmB,CAAC,YAAY,CAAC,sBAgB5E,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,YAAY,CAQ/C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -48,6 +49,6 @@ export declare const createSwitch: (props: CreateSwitchProps) => {
|
|
|
48
49
|
} & {
|
|
49
50
|
readonly type: "switch";
|
|
50
51
|
};
|
|
51
|
-
export declare const SwitchComponent: ({ shape }: ShapeComponentProps<SwitchShape>) =>
|
|
52
|
+
export declare const SwitchComponent: ({ shape }: ShapeComponentProps<SwitchShape>) => React.JSX.Element;
|
|
52
53
|
export declare const switchShape: ShapeDef<SwitchShape>;
|
|
53
54
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Switch.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Switch.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAmB,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAExG,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG1F,eAAO,MAAM,WAAW;;;;;;;iBAyBwC,EAAG,MAAM;UAAW,EAC9E,QAAG,QAAO,EACZ,MAAC;WAIL,EAAC,QAAQ,QAAO,EAAG,OAAO;gBAAkB,EAAI,QAC7C,QAAO,EAAG,MACZ;;YACY,EAAG,MAAM;kBAChB,EAAG,MAAM;kBACX,EAAG,MAAM;;UACV,EAAG,OAAO,CAAC,EAAE,MAAM;sBAAwB,EAAI,MAAK;uBAAyB,EAAG,MAAK;;;;;;GAhCvF,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAE5D,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,UAAW,iBAAiB;;;;;;;;;;;;;;;;;;;CACoC,CAAC;AAG1F,eAAO,MAAM,eAAe,cAAe,mBAAmB,CAAC,WAAW,CAAC,sBAc1E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAO7C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -48,6 +49,6 @@ export declare const createTable: (props: CreateTableProps) => {
|
|
|
48
49
|
} & {
|
|
49
50
|
readonly type: "table";
|
|
50
51
|
};
|
|
51
|
-
export declare const TableComponent: ({ shape }: ShapeComponentProps<TableShape>) =>
|
|
52
|
+
export declare const TableComponent: ({ shape }: ShapeComponentProps<TableShape>) => React.JSX.Element;
|
|
52
53
|
export declare const tableShape: ShapeDef<TableShape>;
|
|
53
54
|
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Table.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Table.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAK1E,eAAO,MAAM,UAAU;;;;;;;iBA6BvB,EAAE,MAAM;UAAW,EAAG,QAAQ,QAAO,EAAG,MAAM;WAAa,EAAG,QAAQ,QAAO,EAAG,OAAO;gBAAkB,EAAG,QAAQ,QAAO,EAAG,MAAM;;YAA8B,EAAG,MAAM;kBAAoB,EAAG,MAAM;kBAAmB,EAAG,MAAM;;UAAmB,EAAG,OAAO,CAAC,EAAE,MAAM;sBAAwB,EAAG,MAAM;uBAAwB,EAAG,MAAM;;;;;;GAxB3U,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAE5D,eAAO,MAAM,WAAW,UAAW,gBAAgB;;;;;;;;;;;;;;;;;;;CACsC,CAAC;AAE1F,eAAO,MAAM,cAAc,cAAe,mBAAmB,CAAC,UAAU,CAAC,sBAIxE,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,UAAU,CAQ3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Template.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Template.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAgB,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAEL,KAAK,QAAQ,EAId,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAO1E,eAAO,MAAM,aAAa;;;;;;;
|
|
1
|
+
{"version":3,"file":"Template.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Template.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAgB,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAEL,KAAK,QAAQ,EAId,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAO1E,eAAO,MAAM,aAAa;;;;;;;iBAyBP,EAAG,MACpB;UAAW,EAAG,QAAQ,QAAO,EAAG,MAAM;WAEtC,EAAC,QAEE,QAAO,EAAG,OAAO;gBAAkB,EAAG,QAC1C,QAAO,EAAG,MAAM;;YAA8B,EAAG,MAAM;kBAE7C,EAAG,MAAM;kBACX,EAAG,MAAM;;UAAmB,EAAG,OAAO,CAAC,EAAE,MAAM;sBAGjD,EACH,MAAC;uBAEC,EAAA,MAAG;;;;;;;GAlCR,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAC;AAmDhE,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,aAAa,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtF,eAAO,MAAM,cAAc,UAAW,mBAAmB;;;;;;;;;;;;;;;;;;;;CACsC,CAAC;AAEhG,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,aAAa,CAQjD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -48,6 +49,6 @@ export declare const createText: (props: CreateTextProps) => {
|
|
|
48
49
|
} & {
|
|
49
50
|
readonly type: "text";
|
|
50
51
|
};
|
|
51
|
-
export declare const TextComponent: ({ shape }: ShapeComponentProps<TextShape>) =>
|
|
52
|
+
export declare const TextComponent: ({ shape }: ShapeComponentProps<TextShape>) => React.JSX.Element;
|
|
52
53
|
export declare const textShape: ShapeDef<TextShape>;
|
|
53
54
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Text.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Text.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAW,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAIhG,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAG1F,eAAO,MAAM,SAAS;;;;;;;iBAgCpB,EAAG,MAAM;UAAW,EAAG,QAAQ,QAAO,EAAI,MAC3C;WAAa,EACZ,QAAO,QACP,EAAC,OAAO;gBAAkB,EAC1B,QAAK,QAAO,EAAG,MAAM;;YACE,EACvB,MAAK;kBAAoB,EAAG,MAAM;kBAAmB,EAAG,MAAM;;UAAmB,EAAG,OAAO,CAAC,EAC5F,MAAG;sBAEE,EAAG,MAAM;uBAAwB,EAAG,MAAM;;;;;;GApChD,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAExD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAE1D,eAAO,MAAM,UAAU,UAAW,eAAe;;;;;;;;;;;;;;;;;;;CACsC,CAAC;AAExF,eAAO,MAAM,aAAa,cAAe,mBAAmB,CAAC,SAAS,CAAC,sBAgBtE,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,SAAS,CAQzC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
3
4
|
import { type CreateShapeProps } from './defs';
|
|
@@ -48,6 +49,6 @@ export declare const createTextToImage: (props: CreateTextToImageProps) => {
|
|
|
48
49
|
} & {
|
|
49
50
|
readonly type: "text-to-image";
|
|
50
51
|
};
|
|
51
|
-
export declare const TextToImageComponent: ({ shape }: ShapeComponentProps<TextToImageShape>) =>
|
|
52
|
+
export declare const TextToImageComponent: ({ shape }: ShapeComponentProps<TextToImageShape>) => React.JSX.Element;
|
|
52
53
|
export declare const textToImageShape: ShapeDef<TextToImageShape>;
|
|
53
54
|
//# sourceMappingURL=TextToImage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextToImage.d.ts","sourceRoot":"","sources":["../../../../src/shapes/TextToImage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextToImage.d.ts","sourceRoot":"","sources":["../../../../src/shapes/TextToImage.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAIvF,OAAO,EAA6C,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1F,eAAO,MAAM,gBAAgB;;;;;;;iBA0BoE,EAAG,MAAM;UAAW,EAAG,QAAQ,QAAO,EAAG,MAAM;WAAa,EAAG,QAAQ,QAAO,EAAG,OAAO;gBAAkB,EAAG,QAAQ,QAAO,EAAG,MAAM;;YAA8B,EAAG,MAAM;kBAAoB,EAAG,MAAM;kBAAmB,EAAG,MAAM;;UAAmB,EAAG,OAAO,CAAC,EAAE,MAAM;sBAAwB,EAAG,MAAM;uBAAwB,EAAG,MAAM;;;;;;GArB7a,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEtE,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB,UAAW,sBAAsB;;;;;;;;;;;;;;;;;;;CACuC,CAAC;AAEvG,eAAO,MAAM,oBAAoB,cAAe,mBAAmB,CAAC,gBAAgB,CAAC,sBAEpF,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,gBAAgB,CAOvD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
3
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
4
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
@@ -49,9 +50,9 @@ export declare const createThread: (props: CreateThreadProps) => {
|
|
|
49
50
|
} & {
|
|
50
51
|
readonly type: "thread";
|
|
51
52
|
};
|
|
52
|
-
export declare const ThreadComponent: ({ shape }: ShapeComponentProps<ThreadShape>) =>
|
|
53
|
+
export declare const ThreadComponent: ({ shape }: ShapeComponentProps<ThreadShape>) => React.JSX.Element;
|
|
53
54
|
export declare const ThreadItem: ({ classNames, item }: ThemedClassName<{
|
|
54
55
|
item: any;
|
|
55
|
-
}>) =>
|
|
56
|
+
}>) => React.JSX.Element;
|
|
56
57
|
export declare const threadShape: ShapeDef<ThreadShape>;
|
|
57
58
|
//# sourceMappingURL=Thread.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Thread.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Thread.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Thread.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Thread.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAIvF,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAK1E,eAAO,MAAM,WAAW;;;;;;;iBAuBf,EACL,MAAG;UAAW,EAAG,QAChB,QAAO,EAAG,MAAM;WAAa,EAAG,QAAQ,QAAO,EAAG,OAAO;gBAAkB,EAAG,QACjF,QAAO,EAAG,MAAM;;YACR,EAAE,MAAM;kBAAoB,EAAI,MACxC;kBACO,EACL,MAAC;;UAID,EAAG,OAAO,CAAC,EAAE,MAAM;sBAAwB,EAAG,MAAM;uBAAyB,EAAG,MACjF;;;;;;GA9BF,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAE5D,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAE9D,eAAO,MAAM,YAAY,UAAW,iBAAiB;;;;;;;;;;;;;;;;;;;CACsC,CAAC;AAE5F,eAAO,MAAM,eAAe,cAAe,mBAAmB,CAAC,WAAW,CAAC,sBAkB1E,CAAC;AAEF,eAAO,MAAM,UAAU,yBAA0B,eAAe,CAAC;IAAE,IAAI,EAAE,GAAG,CAAA;CAAE,CAAC,sBAwB9E,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,WAAW,CAQ7C,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { S } from '@dxos/echo-schema';
|
|
2
|
-
import { TriggerKind } from '@dxos/functions';
|
|
3
|
+
import { TriggerKind } from '@dxos/functions/types';
|
|
3
4
|
import { SpaceId } from '@dxos/keys';
|
|
4
5
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
5
6
|
import { type CreateShapeProps } from './defs';
|
|
@@ -51,7 +52,7 @@ export declare const TriggerShape: S.extend<S.extend<S.mutable<S.extend<S.extend
|
|
|
51
52
|
type: S.Literal<[TriggerKind.Email]>;
|
|
52
53
|
}>>, S.mutable<S.Struct<{
|
|
53
54
|
type: S.Literal<[TriggerKind.Queue]>;
|
|
54
|
-
queue: S.refine<string, S.
|
|
55
|
+
queue: S.refine<string, typeof S.NonEmptyString>;
|
|
55
56
|
}>>]>>;
|
|
56
57
|
readonly meta: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
|
|
57
58
|
}, import("@dxos/echo-schema").TypedObjectOptions>>>;
|
|
@@ -63,6 +64,6 @@ export type CreateTriggerProps = CreateShapeProps<Omit<TriggerShape, 'functionTr
|
|
|
63
64
|
};
|
|
64
65
|
export declare const createTrigger: (props: CreateTriggerProps) => TriggerShape;
|
|
65
66
|
export type TriggerComponentProps = ShapeComponentProps<TriggerShape>;
|
|
66
|
-
export declare const TriggerComponent: ({ shape }: TriggerComponentProps) =>
|
|
67
|
+
export declare const TriggerComponent: ({ shape }: TriggerComponentProps) => React.JSX.Element | undefined;
|
|
67
68
|
export declare const triggerShape: ShapeDef<TriggerShape>;
|
|
68
69
|
//# sourceMappingURL=Trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Trigger.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Trigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Trigger.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Trigger.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAUzC,OAAO,EAAiB,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAML,WAAW,EAGZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAO,OAAO,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1E,eAAO,MAAM,YAAY;;;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,SAAQ,EAAG,GAAG;;GA5HnmB,CAAC;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC,GAAG;IACzF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,kBAAkB,KAAG,YAWzD,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,CAAC,YAAY,CAAC,CAAC;AAEtE,eAAO,MAAM,gBAAgB,cAAe,qBAAqB,kCAkChE,CAAC;AAsDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,YAAY,CAY/C,CAAC"}
|
|
@@ -9,7 +9,7 @@ export type FunctionBodyProps = {
|
|
|
9
9
|
inputSchema?: S.Schema.Any;
|
|
10
10
|
outputSchema?: S.Schema.Any;
|
|
11
11
|
} & Pick<BoxProps, 'status'>;
|
|
12
|
-
export declare const FunctionBody: ({ shape, name, content, inputSchema, outputSchema, ...props }: FunctionBodyProps) =>
|
|
12
|
+
export declare const FunctionBody: ({ shape, name, content, inputSchema, outputSchema, ...props }: FunctionBodyProps) => JSX.Element;
|
|
13
13
|
export declare const getHeight: (input: S.Schema<any>) => number;
|
|
14
14
|
export declare const createFunctionAnchors: (shape: Polygon, input?: S.Schema<any>, output?: S.Schema<any>) => Record<string, import("@dxos/react-ui-canvas-editor").Anchor>;
|
|
15
15
|
//# sourceMappingURL=FunctionBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionBody.d.ts","sourceRoot":"","sources":["../../../../../src/shapes/common/FunctionBody.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,GAAG,EAAoB,MAAM,OAAO,CAAC;AAG1D,OAAO,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AAM,YAAY,kEAOtB,iBAAiB,gBAwEnB,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,WAG7C,CAAC;AAEF,eAAO,MAAM,qBAAqB,UACzB,OAAO,UACP,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,WACZ,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,kEAMtB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type SelectRootProps } from '@dxos/react-ui';
|
|
2
|
-
export declare const TypeSelect: ({ value, onValueChange }: Pick<SelectRootProps, "value" | "onValueChange">) =>
|
|
3
|
+
export declare const TypeSelect: ({ value, onValueChange }: Pick<SelectRootProps, "value" | "onValueChange">) => React.JSX.Element;
|
|
3
4
|
//# sourceMappingURL=TypeSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSelect.d.ts","sourceRoot":"","sources":["../../../../../src/shapes/common/TypeSelect.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TypeSelect.d.ts","sourceRoot":"","sources":["../../../../../src/shapes/common/TypeSelect.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAU,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAG9D,eAAO,MAAM,UAAU,6BAA8B,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,eAAe,CAAC,sBAoBpG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../src/shapes/defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../src/shapes/defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,IAAI,GAAG,EAAE,MAAM,Q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{ ComputeGraphController, type Services } from '../graph';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
export declare const createComputeGraphController: (graph?: CanvasGraphModel<{
|
|
4
|
+
id: string;
|
|
5
|
+
data?: any;
|
|
6
|
+
type: string;
|
|
7
|
+
text?: string | undefined;
|
|
8
|
+
guide?: boolean | undefined;
|
|
9
|
+
classNames?: string | undefined;
|
|
10
|
+
center: {
|
|
11
|
+
readonly x: number;
|
|
12
|
+
readonly y: number;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
} & {
|
|
19
|
+
node?: string | undefined;
|
|
20
|
+
}>, services?: Partial<Services>) => {
|
|
5
21
|
controller: ComputeGraphController;
|
|
6
22
|
graph: CanvasGraphModel<{
|
|
7
23
|
id: string;
|
|
@@ -20,7 +36,7 @@ export declare const createComputeGraphController: (graph?: CanvasGraphModel<Com
|
|
|
20
36
|
};
|
|
21
37
|
} & {
|
|
22
38
|
node?: string | undefined;
|
|
23
|
-
}
|
|
39
|
+
}>;
|
|
24
40
|
};
|
|
25
41
|
export declare const createBasicCircuit: () => CanvasGraphModel<{
|
|
26
42
|
id: string;
|
|
@@ -136,6 +152,7 @@ export declare const createGptCircuit: (options: {
|
|
|
136
152
|
image?: boolean;
|
|
137
153
|
history?: boolean;
|
|
138
154
|
artifact?: boolean;
|
|
155
|
+
instructions?: boolean;
|
|
139
156
|
}) => CanvasGraphModel<{
|
|
140
157
|
id: string;
|
|
141
158
|
data?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"circuits.d.ts","sourceRoot":"","sources":["../../../../src/testing/circuits.ts"],"names":[],"mappings":"AAQA,OAAO,EAAyD,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEvH,OAAO,EAAE,sBAAsB,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"circuits.d.ts","sourceRoot":"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