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