@genfeedai/workflow-ui 0.2.3 → 0.2.5
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/canvas.d.ts +22 -22
- package/dist/canvas.mjs +16 -16
- package/dist/{chunk-XPZAHIWY.mjs → chunk-2FUPL67V.mjs} +1592 -1044
- package/dist/{chunk-HWVTD2LC.mjs → chunk-53XDE62A.mjs} +818 -623
- package/dist/{chunk-PCIWWD37.mjs → chunk-7LV4UAUS.mjs} +19 -19
- package/dist/{chunk-7SKSRSS7.mjs → chunk-B4EAAKYF.mjs} +16 -16
- package/dist/{chunk-ZJD5WMR3.mjs → chunk-C6MQBJFC.mjs} +45 -13
- package/dist/{chunk-7H3WJJYS.mjs → chunk-ESVULCFY.mjs} +12 -6
- package/dist/{chunk-GWBGK3KL.mjs → chunk-FWJIAW2E.mjs} +82 -47
- package/dist/{chunk-R727OFBR.mjs → chunk-GPYIIWD5.mjs} +404 -350
- package/dist/{chunk-OQREHJXK.mjs → chunk-IYFWAJBB.mjs} +208 -203
- package/dist/{chunk-N5NJZTK4.mjs → chunk-MGLAKMDP.mjs} +23 -21
- package/dist/{chunk-LT3ZJJL6.mjs → chunk-OJWVEEMM.mjs} +497 -399
- package/dist/{chunk-ZD2BADZO.mjs → chunk-ORVDYXDP.mjs} +221 -175
- package/dist/{chunk-CV4M7CNU.mjs → chunk-QQVHGJ2G.mjs} +149 -142
- package/dist/{chunk-6PSJTBNV.mjs → chunk-U4QPE4CY.mjs} +387 -347
- package/dist/{chunk-EFXQT23N.mjs → chunk-VVQ4CH77.mjs} +5 -5
- package/dist/{chunk-VRN3UWE5.mjs → chunk-XRC3O5GK.mjs} +73 -73
- package/dist/{chunk-FT33LFII.mjs → chunk-YUIK4AHM.mjs} +1 -1
- package/dist/{chunk-FMJPFB6W.mjs → chunk-ZSITTZ4S.mjs} +630 -569
- package/dist/hooks.d.ts +37 -37
- package/dist/hooks.mjs +10 -10
- package/dist/index.d.ts +26 -11
- package/dist/index.mjs +105 -19
- package/dist/lib.d.ts +203 -203
- package/dist/lib.mjs +228 -198
- package/dist/nodes.d.ts +2 -2
- package/dist/nodes.mjs +12 -12
- package/dist/panels.d.ts +2 -3
- package/dist/panels.mjs +3 -3
- package/dist/provider.d.ts +2 -2
- package/dist/provider.mjs +2 -2
- package/dist/stores.d.ts +5 -5
- package/dist/stores.mjs +5 -5
- package/dist/toolbar.d.ts +42 -24
- package/dist/toolbar.mjs +4 -4
- package/dist/ui.d.ts +2 -2
- package/dist/ui.mjs +2 -2
- package/dist/{useCommentNavigation-BakbiiIc.d.ts → useRequiredInputs-ByoIS-fT.d.ts} +160 -160
- package/dist/{promptLibraryStore-Dl3Q3cP6.d.ts → workflowStore-Bsz0nd5c.d.ts} +368 -368
- package/dist/workflowStore-N2F7WIG3.mjs +2 -0
- package/package.json +77 -75
- package/src/styles/workflow-ui.css +56 -19
- package/dist/workflowStore-UAAKOOIK.mjs +0 -2
- package/dist/{types-IEKYuYhu.d.ts → types-CRXJnajq.d.ts} +1 -1
package/dist/canvas.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
1
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
3
|
+
import { EdgeProps, NodeTypes } from '@xyflow/react';
|
|
3
4
|
import { WorkflowNode } from '@genfeedai/types';
|
|
4
|
-
import * as react from 'react';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
declare function
|
|
6
|
+
declare function ConnectionDropMenuComponent(): react_jsx_runtime.JSX.Element | null;
|
|
7
|
+
declare const ConnectionDropMenu: react.MemoExoticComponent<typeof ConnectionDropMenuComponent>;
|
|
8
|
+
|
|
9
|
+
declare function EdgeToolbarComponent(): react_jsx_runtime.JSX.Element | null;
|
|
10
|
+
declare const EdgeToolbar: react.MemoExoticComponent<typeof EdgeToolbarComponent>;
|
|
11
|
+
|
|
12
|
+
declare function EditableEdgeComponent({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, data, selected, }: EdgeProps): react_jsx_runtime.JSX.Element;
|
|
13
|
+
declare const EditableEdge: react.MemoExoticComponent<typeof EditableEdgeComponent>;
|
|
14
|
+
|
|
15
|
+
declare function GroupOverlayComponent(): react_jsx_runtime.JSX.Element;
|
|
16
|
+
declare const GroupOverlay: react.MemoExoticComponent<typeof GroupOverlayComponent>;
|
|
13
17
|
|
|
14
18
|
interface HelperLinesProps {
|
|
15
19
|
draggingNodeId: string | null;
|
|
@@ -17,25 +21,21 @@ interface HelperLinesProps {
|
|
|
17
21
|
declare function HelperLinesComponent({ draggingNodeId }: HelperLinesProps): react_jsx_runtime.JSX.Element | null;
|
|
18
22
|
declare const HelperLines: react.MemoExoticComponent<typeof HelperLinesComponent>;
|
|
19
23
|
|
|
20
|
-
declare function GroupOverlayComponent(): react_jsx_runtime.JSX.Element;
|
|
21
|
-
declare const GroupOverlay: react.MemoExoticComponent<typeof GroupOverlayComponent>;
|
|
22
|
-
|
|
23
24
|
declare function NodeSearch(): react_jsx_runtime.JSX.Element | null;
|
|
24
25
|
|
|
25
|
-
declare function ShortcutHelpModal(): react_jsx_runtime.JSX.Element | null;
|
|
26
|
-
|
|
27
26
|
declare function PauseEdgeComponent({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, data, }: EdgeProps): react_jsx_runtime.JSX.Element;
|
|
28
27
|
declare const PauseEdge: react.MemoExoticComponent<typeof PauseEdgeComponent>;
|
|
29
28
|
|
|
30
|
-
declare function
|
|
31
|
-
declare const ConnectionDropMenu: react.MemoExoticComponent<typeof ConnectionDropMenuComponent>;
|
|
32
|
-
|
|
33
|
-
declare function EditableEdgeComponent({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, data, selected, }: EdgeProps): react_jsx_runtime.JSX.Element;
|
|
34
|
-
declare const EditableEdge: react.MemoExoticComponent<typeof EditableEdgeComponent>;
|
|
29
|
+
declare function ReferenceEdge({ id, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, source, target, }: EdgeProps): react_jsx_runtime.JSX.Element;
|
|
35
30
|
|
|
36
|
-
declare function
|
|
37
|
-
declare const EdgeToolbar: react.MemoExoticComponent<typeof EdgeToolbarComponent>;
|
|
31
|
+
declare function ShortcutHelpModal(): react_jsx_runtime.JSX.Element | null;
|
|
38
32
|
|
|
39
|
-
|
|
33
|
+
interface WorkflowCanvasProps {
|
|
34
|
+
/** Override default node types. Pass merged core + cloud nodeTypes here. */
|
|
35
|
+
nodeTypes?: NodeTypes;
|
|
36
|
+
/** Optional callback for download-as-ZIP of selected nodes */
|
|
37
|
+
onDownloadAsZip?: (nodes: WorkflowNode[]) => void;
|
|
38
|
+
}
|
|
39
|
+
declare function WorkflowCanvas({ nodeTypes: nodeTypesProp, onDownloadAsZip, }?: WorkflowCanvasProps): react_jsx_runtime.JSX.Element;
|
|
40
40
|
|
|
41
41
|
export { ConnectionDropMenu, EdgeToolbar, EditableEdge, GroupOverlay, HelperLines, NodeSearch, PauseEdge, ReferenceEdge, ShortcutHelpModal, WorkflowCanvas };
|
package/dist/canvas.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { ConnectionDropMenu, EdgeToolbar, EditableEdge, GroupOverlay, HelperLines, NodeSearch, PauseEdge, ReferenceEdge, ShortcutHelpModal, WorkflowCanvas } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-CV4M7CNU.mjs';
|
|
11
|
-
import './chunk-PCIWWD37.mjs';
|
|
12
|
-
import './chunk-LDN7IX4Y.mjs';
|
|
13
|
-
import './chunk-LT3ZJJL6.mjs';
|
|
14
|
-
import './chunk-R727OFBR.mjs';
|
|
1
|
+
export { ConnectionDropMenu, EdgeToolbar, EditableEdge, GroupOverlay, HelperLines, NodeSearch, PauseEdge, ReferenceEdge, ShortcutHelpModal, WorkflowCanvas } from './chunk-53XDE62A.mjs';
|
|
2
|
+
import './chunk-ORVDYXDP.mjs';
|
|
3
|
+
import './chunk-MGLAKMDP.mjs';
|
|
4
|
+
import './chunk-2FUPL67V.mjs';
|
|
5
|
+
import './chunk-C6MQBJFC.mjs';
|
|
6
|
+
import './chunk-FWJIAW2E.mjs';
|
|
7
|
+
import './chunk-B4EAAKYF.mjs';
|
|
8
|
+
import './chunk-U4QPE4CY.mjs';
|
|
9
|
+
import './chunk-VVQ4CH77.mjs';
|
|
15
10
|
import './chunk-MLJJBBTB.mjs';
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
11
|
+
import './chunk-YUIK4AHM.mjs';
|
|
12
|
+
import './chunk-7LV4UAUS.mjs';
|
|
13
|
+
import './chunk-QQVHGJ2G.mjs';
|
|
14
|
+
import './chunk-LDN7IX4Y.mjs';
|
|
15
|
+
import './chunk-OJWVEEMM.mjs';
|
|
16
|
+
import './chunk-GPYIIWD5.mjs';
|
|
17
|
+
import './chunk-XRC3O5GK.mjs';
|