@goplasmatic/datalogic-ui 5.0.0 → 5.0.1

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 (114) hide show
  1. package/README.md +3 -3
  2. package/dist/components/logic-editor/AutoFitView.d.ts +7 -0
  3. package/dist/components/logic-editor/AutoFitView.d.ts.map +1 -1
  4. package/dist/components/logic-editor/DataLogicEditor.d.ts +1 -1
  5. package/dist/components/logic-editor/DataLogicEditor.d.ts.map +1 -1
  6. package/dist/components/logic-editor/EditorToolbar.d.ts +4 -1
  7. package/dist/components/logic-editor/EditorToolbar.d.ts.map +1 -1
  8. package/dist/components/logic-editor/UndoRedoToolbar.d.ts +1 -1
  9. package/dist/components/logic-editor/UndoRedoToolbar.d.ts.map +1 -1
  10. package/dist/components/logic-editor/constants/index.d.ts +1 -1
  11. package/dist/components/logic-editor/constants/index.d.ts.map +1 -1
  12. package/dist/components/logic-editor/constants/layout.d.ts +13 -4
  13. package/dist/components/logic-editor/constants/layout.d.ts.map +1 -1
  14. package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts +1 -1
  15. package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts.map +1 -1
  16. package/dist/components/logic-editor/context/DirectionContextDef.d.ts +11 -0
  17. package/dist/components/logic-editor/context/DirectionContextDef.d.ts.map +1 -0
  18. package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts +1 -1
  19. package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts.map +1 -1
  20. package/dist/components/logic-editor/context/editor/EditorContext.d.ts +1 -1
  21. package/dist/components/logic-editor/context/editor/EditorContext.d.ts.map +1 -1
  22. package/dist/components/logic-editor/context/index.d.ts +2 -0
  23. package/dist/components/logic-editor/context/index.d.ts.map +1 -1
  24. package/dist/components/logic-editor/context/useDirection.d.ts +6 -0
  25. package/dist/components/logic-editor/context/useDirection.d.ts.map +1 -0
  26. package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts +1 -1
  27. package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts.map +1 -1
  28. package/dist/components/logic-editor/context-menu/ContextMenu.d.ts +1 -1
  29. package/dist/components/logic-editor/context-menu/ContextMenu.d.ts.map +1 -1
  30. package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts +2 -2
  31. package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts.map +1 -1
  32. package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts +1 -1
  33. package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts.map +1 -1
  34. package/dist/components/logic-editor/edges/EditableEdge.d.ts +1 -1
  35. package/dist/components/logic-editor/edges/EditableEdge.d.ts.map +1 -1
  36. package/dist/components/logic-editor/edges/index.d.ts +1 -1
  37. package/dist/components/logic-editor/hooks/useLogicEditor.d.ts +4 -1
  38. package/dist/components/logic-editor/hooks/useLogicEditor.d.ts.map +1 -1
  39. package/dist/components/logic-editor/nodes/CellHandles.d.ts +1 -1
  40. package/dist/components/logic-editor/nodes/CellHandles.d.ts.map +1 -1
  41. package/dist/components/logic-editor/nodes/CellRow.d.ts +1 -1
  42. package/dist/components/logic-editor/nodes/CellRow.d.ts.map +1 -1
  43. package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts +1 -1
  44. package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts.map +1 -1
  45. package/dist/components/logic-editor/nodes/LiteralNode.d.ts +1 -1
  46. package/dist/components/logic-editor/nodes/LiteralNode.d.ts.map +1 -1
  47. package/dist/components/logic-editor/nodes/StructureNode.d.ts +1 -1
  48. package/dist/components/logic-editor/nodes/StructureNode.d.ts.map +1 -1
  49. package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts +1 -1
  50. package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts.map +1 -1
  51. package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts +1 -1
  52. package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts.map +1 -1
  53. package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts +1 -1
  54. package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts.map +1 -1
  55. package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts +6 -3
  56. package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts.map +1 -1
  57. package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts +1 -1
  58. package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts.map +1 -1
  59. package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts +1 -1
  60. package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts.map +1 -1
  61. package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts +1 -1
  62. package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts.map +1 -1
  63. package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts +1 -1
  64. package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts.map +1 -1
  65. package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts +1 -1
  66. package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts.map +1 -1
  67. package/dist/components/logic-editor/panel-inputs/PathInput.d.ts +1 -1
  68. package/dist/components/logic-editor/panel-inputs/PathInput.d.ts.map +1 -1
  69. package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts +1 -1
  70. package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts.map +1 -1
  71. package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts +1 -1
  72. package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts.map +1 -1
  73. package/dist/components/logic-editor/panel-inputs/TextInput.d.ts +1 -1
  74. package/dist/components/logic-editor/panel-inputs/TextInput.d.ts.map +1 -1
  75. package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts +1 -1
  76. package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts.map +1 -1
  77. package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts +1 -1
  78. package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts.map +1 -1
  79. package/dist/components/logic-editor/properties-panel/HelpSection.d.ts +1 -1
  80. package/dist/components/logic-editor/properties-panel/HelpSection.d.ts.map +1 -1
  81. package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts +1 -1
  82. package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts.map +1 -1
  83. package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts +1 -1
  84. package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts.map +1 -1
  85. package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts +6 -0
  86. package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts.map +1 -1
  87. package/dist/components/logic-editor/utils/converters/operator-converter.d.ts.map +1 -1
  88. package/dist/components/logic-editor/utils/edge-builder.d.ts +5 -4
  89. package/dist/components/logic-editor/utils/edge-builder.d.ts.map +1 -1
  90. package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts +7 -0
  91. package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts.map +1 -1
  92. package/dist/components/logic-editor/utils/formatting/index.d.ts +1 -1
  93. package/dist/components/logic-editor/utils/formatting/index.d.ts.map +1 -1
  94. package/dist/components/logic-editor/utils/inline-vars.d.ts +15 -0
  95. package/dist/components/logic-editor/utils/inline-vars.d.ts.map +1 -0
  96. package/dist/components/logic-editor/utils/layout.d.ts +2 -1
  97. package/dist/components/logic-editor/utils/layout.d.ts.map +1 -1
  98. package/dist/components/logic-editor/utils/node-factory.d.ts.map +1 -1
  99. package/dist/components/logic-editor/utils/nodeShape.d.ts +23 -0
  100. package/dist/components/logic-editor/utils/nodeShape.d.ts.map +1 -0
  101. package/dist/components/logic-editor/utils/signal.d.ts +10 -0
  102. package/dist/components/logic-editor/utils/signal.d.ts.map +1 -0
  103. package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts +4 -2
  104. package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts.map +1 -1
  105. package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts.map +1 -1
  106. package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts.map +1 -1
  107. package/dist/datalogic_wasm-BOuSyKtI.cjs +1148 -0
  108. package/dist/datalogic_wasm-Dloh5u2g.js +1145 -0
  109. package/dist/index.cjs +2521 -2028
  110. package/dist/index.js +2522 -2029
  111. package/dist/styles.css +1118 -378
  112. package/package.json +31 -25
  113. package/dist/datalogic_wasm-CF1jcNAu.js +0 -634
  114. package/dist/datalogic_wasm-Dj9TEPTG.cjs +0 -637
package/README.md CHANGED
@@ -9,7 +9,7 @@ JSONLogic expressions as interactive node-based flow diagrams.
9
9
  This is the **React surface** of the
10
10
  [`datalogic-rs`](https://github.com/GoPlasmatic/datalogic-rs) monorepo.
11
11
  It consumes the WASM binding
12
- ([`@goplasmatic/datalogic-wasm`](../bindings/wasm/README.md)) for evaluation
12
+ ([`@goplasmatic/datalogic-wasm`](https://github.com/GoPlasmatic/datalogic-rs/blob/main/bindings/wasm/README.md)) for evaluation
13
13
  and tracing — for the engine itself and the cross-runtime overview,
14
14
  see the [repo README](https://github.com/GoPlasmatic/datalogic-rs#readme).
15
15
 
@@ -222,8 +222,8 @@ For complete documentation including all props, customization options, and advan
222
222
  ## Learn more
223
223
 
224
224
  - [Repo README](https://github.com/GoPlasmatic/datalogic-rs#readme) — cross-runtime overview, all binding READMEs
225
- - [WASM binding README](../bindings/wasm/README.md) — `@goplasmatic/datalogic-wasm`, the JS/TS engine this UI consumes
226
- - [Rust crate README](../crates/datalogic-rs/README.md) — engine design, the 5-tier API model
225
+ - [WASM binding README](https://github.com/GoPlasmatic/datalogic-rs/blob/main/bindings/wasm/README.md) — `@goplasmatic/datalogic-wasm`, the JS/TS engine this UI consumes
226
+ - [Rust crate README](https://github.com/GoPlasmatic/datalogic-rs/blob/main/crates/datalogic-rs/README.md) — engine design, the 5-tier API model
227
227
  - [Full documentation](https://goplasmatic.github.io/datalogic-rs/)
228
228
  - [Online playground](https://goplasmatic.github.io/datalogic-rs/playground/)
229
229
 
@@ -1,3 +1,10 @@
1
+ /**
2
+ * Fits the diagram to the viewport on load/reload. The component is remounted
3
+ * whenever the expression's structure (or direction) changes, so this effect
4
+ * re-runs on every reload. Two animation frames let ReactFlow measure the
5
+ * freshly-laid-out nodes before fitting, and a short fallback timer catches the
6
+ * case where the layout settles a beat later (async relayout, fonts).
7
+ */
1
8
  export declare function AutoFitView({ nodeCount }: {
2
9
  nodeCount: number;
3
10
  }): null;
@@ -1 +1 @@
1
- {"version":3,"file":"AutoFitView.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/AutoFitView.tsx"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,QAc/D"}
1
+ {"version":3,"file":"AutoFitView.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/AutoFitView.tsx"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,QAsB/D"}
@@ -1,4 +1,4 @@
1
1
  import { DataLogicEditorProps } from './types';
2
- export declare function DataLogicEditor({ value, onChange, data, theme: themeProp, className, templating, onTemplatingChange, editable, exampleSuggestions, onSelectExample, }: DataLogicEditorProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function DataLogicEditor({ value, onChange, data, theme: themeProp, className, templating, onTemplatingChange, editable, exampleSuggestions, onSelectExample, }: DataLogicEditorProps): import("react").JSX.Element;
3
3
  export default DataLogicEditor;
4
4
  //# sourceMappingURL=DataLogicEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataLogicEditor.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/DataLogicEditor.tsx"],"names":[],"mappings":"AAUA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AAmB1E,OAAO,oBAAoB,CAAC;AAC5B,OAAO,mBAAmB,CAAC;AA0R3B,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,KAAK,EAAE,SAAS,EAChB,SAAc,EACd,UAAkB,EAClB,kBAAkB,EAClB,QAAgB,EAChB,kBAAkB,EAClB,eAAe,GAChB,EAAE,oBAAoB,2CAgMtB;AAED,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"DataLogicEditor.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/DataLogicEditor.tsx"],"names":[],"mappings":"AAWA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AAmB1E,OAAO,oBAAoB,CAAC;AAC5B,OAAO,mBAAmB,CAAC;AAuS3B,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,KAAK,EAAE,SAAS,EAChB,SAAc,EACd,UAAkB,EAClB,kBAAkB,EAClB,QAAgB,EAChB,kBAAkB,EAClB,eAAe,GAChB,EAAE,oBAAoB,+BAiNtB;AAED,eAAe,eAAe,CAAC"}
@@ -1,9 +1,12 @@
1
+ import { FlowDirection } from './context';
1
2
  interface EditorToolbarProps {
2
3
  isEditMode: boolean;
3
4
  hasDebugger: boolean;
4
5
  templating: boolean;
5
6
  onTemplatingChange?: (value: boolean) => void;
7
+ direction: FlowDirection;
8
+ onDirectionChange?: (value: FlowDirection) => void;
6
9
  }
7
- export declare const EditorToolbar: import('react').MemoExoticComponent<({ isEditMode, hasDebugger, templating, onTemplatingChange, }: EditorToolbarProps) => import("react/jsx-runtime").JSX.Element>;
10
+ export declare const EditorToolbar: import('react').MemoExoticComponent<({ isEditMode, hasDebugger, templating, onTemplatingChange, direction, onDirectionChange, }: EditorToolbarProps) => import("react").JSX.Element>;
8
11
  export {};
9
12
  //# sourceMappingURL=EditorToolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditorToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/EditorToolbar.tsx"],"names":[],"mappings":"AAKA,UAAU,kBAAkB;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,eAAO,MAAM,aAAa,qGAKvB,kBAAkB,6CAwBnB,CAAC"}
1
+ {"version":3,"file":"EditorToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/EditorToolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,UAAU,kBAAkB;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,SAAS,EAAE,aAAa,CAAC;IACzB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,aAAa,mIAOvB,kBAAkB,iCAqDnB,CAAC"}
@@ -4,6 +4,6 @@
4
4
  * Inline undo/redo buttons for the editor toolbar.
5
5
  * Only renders when there are actions to undo or redo.
6
6
  */
7
- export declare const UndoRedoToolbar: import('react').MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element | null>;
7
+ export declare const UndoRedoToolbar: import('react').MemoExoticComponent<() => import("react").JSX.Element | null>;
8
8
  export default UndoRedoToolbar;
9
9
  //# sourceMappingURL=UndoRedoToolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UndoRedoToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/UndoRedoToolbar.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,eAAO,MAAM,eAAe,2FA8B1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"UndoRedoToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/UndoRedoToolbar.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,eAAO,MAAM,eAAe,+EA8B1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export { TRUNCATION_LIMITS } from './formatting';
2
2
  export { BRANCH_COLORS, CATEGORY_COLORS } from './colors';
3
- export { NODE_DIMENSIONS, VERTICAL_CELL_DIMENSIONS, TEXT_METRICS, NODE_PADDING, DAGRE_OPTIONS, FIXED_WIDTHS, DECISION_NODE_DIMENSIONS, REACT_FLOW_OPTIONS, } from './layout';
3
+ export { NODE_DIMENSIONS, VERTICAL_CELL_DIMENSIONS, TEXT_METRICS, NODE_PADDING, DAGRE_OPTIONS, FIXED_WIDTHS, DECISION_NODE_DIMENSIONS, GATE_NODE, gateNodeHeight, DECISION_NODE, REACT_FLOW_OPTIONS, } from './layout';
4
4
  export { HANDLE_IDS, HANDLE_POSITIONS, EDGE_IDS } from './handles';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,SAAS,EACT,cAAc,EACd,aAAa,EACb,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
@@ -14,17 +14,18 @@ export declare const TEXT_METRICS: {
14
14
  readonly charWidthHeader: 10;
15
15
  };
16
16
  export declare const NODE_PADDING: {
17
- readonly contentPadding: 80;
17
+ readonly contentPadding: 52;
18
18
  readonly iconWidth: 30;
19
19
  readonly typeIconWidth: 25;
20
+ readonly collapseButtonWidth: 22;
20
21
  };
21
22
  export declare const DAGRE_OPTIONS: {
22
- readonly rankSep: 80;
23
- readonly nodeSep: 40;
23
+ readonly rankSep: 50;
24
+ readonly nodeSep: 28;
24
25
  readonly edgeSep: 20;
25
26
  readonly marginX: 50;
26
27
  readonly marginY: 50;
27
- readonly rankDir: "LR";
28
+ readonly rankDir: "RL";
28
29
  };
29
30
  export declare const FIXED_WIDTHS: {
30
31
  readonly fallbackNode: 100;
@@ -34,6 +35,14 @@ export declare const DECISION_NODE_DIMENSIONS: {
34
35
  readonly minWidth: 180;
35
36
  readonly height: 132;
36
37
  };
38
+ export declare const GATE_NODE: {
39
+ readonly width: 84;
40
+ };
41
+ export declare function gateNodeHeight(cellCount: number): number;
42
+ export declare const DECISION_NODE: {
43
+ readonly width: 72;
44
+ readonly height: 72;
45
+ };
37
46
  export declare const REACT_FLOW_OPTIONS: {
38
47
  readonly fitViewPadding: 0.2;
39
48
  readonly maxZoom: 0.75;
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/layout.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAGX,eAAO,MAAM,YAAY;;;;CAOf,CAAC;AAGX,eAAO,MAAM,YAAY;;;;CAOf,CAAC;AAGX,eAAO,MAAM,aAAa;;;;;;;CAYhB,CAAC;AAGX,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;CAI3B,CAAC;AAGX,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC"}
1
+ {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/layout.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAGX,eAAO,MAAM,YAAY;;;;CAOf,CAAC;AAGX,eAAO,MAAM,YAAY;;;;;CAaf,CAAC;AAGX,eAAO,MAAM,aAAa;;;;;;;CAkBhB,CAAC;AAGX,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;CAI3B,CAAC;AAOX,eAAO,MAAM,SAAS;;CAGZ,CAAC;AAKX,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAExD;AAKD,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAGX,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC"}
@@ -4,6 +4,6 @@ interface ConnectedHandlesProviderProps {
4
4
  edges: LogicEdge[];
5
5
  children: ReactNode;
6
6
  }
7
- export declare function ConnectedHandlesProvider({ edges, children, }: ConnectedHandlesProviderProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ConnectedHandlesProvider({ edges, children, }: ConnectedHandlesProviderProps): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=ConnectedHandlesContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectedHandlesContext.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/ConnectedHandlesContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,UAAU,6BAA6B;IACrC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,wBAAwB,CAAC,EACvC,KAAK,EACL,QAAQ,GACT,EAAE,6BAA6B,2CA4B/B"}
1
+ {"version":3,"file":"ConnectedHandlesContext.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/ConnectedHandlesContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,UAAU,6BAA6B;IACrC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,wBAAwB,CAAC,EACvC,KAAK,EACL,QAAQ,GACT,EAAE,6BAA6B,+BA4B/B"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Diagram direction:
3
+ * - 'flow' — data flows left → right, root/result on the RIGHT (Signal Board default).
4
+ * - 'hierarchy' — root operator on the LEFT, operands nesting to the right (JSON order).
5
+ *
6
+ * The two are exact mirrors: dagre rankDir, edge orientation, and handle sides
7
+ * all flip together. Node handle components read this to place their handles.
8
+ */
9
+ export type FlowDirection = 'flow' | 'hierarchy';
10
+ export declare const DirectionContext: import('react').Context<FlowDirection>;
11
+ //# sourceMappingURL=DirectionContextDef.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DirectionContextDef.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/DirectionContextDef.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,WAAW,CAAC;AAEjD,eAAO,MAAM,gBAAgB,wCAAuC,CAAC"}
@@ -7,6 +7,6 @@ interface DebuggerProviderProps {
7
7
  traceNodeMap: Map<string, string>;
8
8
  nodes: LogicNode[];
9
9
  }
10
- export declare function DebuggerProvider({ children, steps, traceNodeMap, nodes }: DebuggerProviderProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function DebuggerProvider({ children, steps, traceNodeMap, nodes }: DebuggerProviderProps): import("react").JSX.Element;
11
11
  export {};
12
12
  //# sourceMappingURL=DebuggerProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebuggerProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/debugger/DebuggerProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAK7C,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAGD,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,qBAAqB,2CAkI/F"}
1
+ {"version":3,"file":"DebuggerProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/debugger/DebuggerProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAK7C,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAGD,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,qBAAqB,+BAkI/F"}
@@ -7,6 +7,6 @@ interface EditorProviderProps {
7
7
  /** Callback when nodes change (for propagating changes up) */
8
8
  onNodesChange?: (nodes: LogicNode[]) => void;
9
9
  }
10
- export declare function EditorProvider({ children, nodes: propNodes, initialEditMode, onNodesChange, }: EditorProviderProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function EditorProvider({ children, nodes: propNodes, initialEditMode, onNodesChange, }: EditorProviderProps): import("react").JSX.Element;
11
11
  export {};
12
12
  //# sourceMappingURL=EditorContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditorContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/EditorContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAS7C,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8DAA8D;IAC9D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,KAAK,EAAE,SAAS,EAChB,eAAuB,EACvB,aAAa,GACd,EAAE,mBAAmB,2CAoQrB"}
1
+ {"version":3,"file":"EditorContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/EditorContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAS7C,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8DAA8D;IAC9D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,KAAK,EAAE,SAAS,EAChB,eAAuB,EACvB,aAAa,GACd,EAAE,mBAAmB,+BAoQrB"}
@@ -2,6 +2,8 @@ export { EvaluationContext, useEvaluationResult, useEvaluationResults } from './
2
2
  export { DebuggerProvider, useDebuggerContext, useNodeDebugState } from './debugger';
3
3
  export { ConnectedHandlesProvider } from './ConnectedHandlesContext';
4
4
  export { useIsHandleConnected } from './useConnectedHandles';
5
+ export { DirectionContext, type FlowDirection } from './DirectionContextDef';
6
+ export { useDirection, useIsFlowDirection } from './useDirection';
5
7
  export { EditorProvider, useEditorContext, useSelection, useEditMode, usePanelValues } from './editor';
6
8
  export type { EditorState, EditorActions, EditorContextValue } from './editor';
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACvG,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACnG,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACvG,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { FlowDirection } from './DirectionContextDef';
2
+ /** The current diagram direction ('flow' by default). */
3
+ export declare function useDirection(): FlowDirection;
4
+ /** True when data flows left → right with the root on the right (the default). */
5
+ export declare function useIsFlowDirection(): boolean;
6
+ //# sourceMappingURL=useDirection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDirection.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/useDirection.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE7E,yDAAyD;AACzD,wBAAgB,YAAY,IAAI,aAAa,CAE5C;AAED,kFAAkF;AAClF,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C"}
@@ -19,5 +19,5 @@ export interface CanvasContextMenuProps {
19
19
  /** Called when menu should close */
20
20
  onClose: () => void;
21
21
  }
22
- export declare const CanvasContextMenu: import('react').MemoExoticComponent<({ x, y, onClose, }: CanvasContextMenuProps) => import("react/jsx-runtime").JSX.Element>;
22
+ export declare const CanvasContextMenu: import('react').MemoExoticComponent<({ x, y, onClose, }: CanvasContextMenuProps) => import("react").JSX.Element>;
23
23
  //# sourceMappingURL=CanvasContextMenu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CanvasContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/CanvasContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAoBH,MAAM,WAAW,sBAAsB;IACrC,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,oCAAoC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,2DAI3B,sBAAsB,6CA+IvB,CAAC"}
1
+ {"version":3,"file":"CanvasContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/CanvasContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAoBH,MAAM,WAAW,sBAAsB;IACrC,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,oCAAoC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,2DAI3B,sBAAsB,iCA+IvB,CAAC"}
@@ -19,5 +19,5 @@ export interface ContextMenuProps {
19
19
  /** Called when menu should close */
20
20
  onClose: () => void;
21
21
  }
22
- export declare const ContextMenu: import('react').MemoExoticComponent<({ x, y, items, onClose, }: ContextMenuProps) => import("react/jsx-runtime").JSX.Element>;
22
+ export declare const ContextMenu: import('react').MemoExoticComponent<({ x, y, items, onClose, }: ContextMenuProps) => import("react").JSX.Element>;
23
23
  //# sourceMappingURL=ContextMenu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAkD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,4BAA4B;IAC5B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,oCAAoC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,kEAKrB,gBAAgB,6CAgOjB,CAAC"}
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAkD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,4BAA4B;IAC5B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,oCAAoC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,kEAKrB,gBAAgB,iCAgOjB,CAAC"}
@@ -1,3 +1,3 @@
1
- export declare function DebuggerControlsInline(): import("react/jsx-runtime").JSX.Element;
2
- export declare function DebuggerControls(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function DebuggerControlsInline(): import("react").JSX.Element;
2
+ export declare function DebuggerControls(): import("react").JSX.Element;
3
3
  //# sourceMappingURL=DebuggerControls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebuggerControls.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/DebuggerControls.tsx"],"names":[],"mappings":"AAYA,OAAO,wBAAwB,CAAC;AAEhC,wBAAgB,sBAAsB,4CAErC;AAED,wBAAgB,gBAAgB,4CAE/B"}
1
+ {"version":3,"file":"DebuggerControls.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/DebuggerControls.tsx"],"names":[],"mappings":"AAYA,OAAO,wBAAwB,CAAC;AAEhC,wBAAgB,sBAAsB,gCAErC;AAED,wBAAgB,gBAAgB,gCAE/B"}
@@ -13,6 +13,6 @@ interface EdgeOperatorPickerProps {
13
13
  edgeInfo: EdgeInfo;
14
14
  onClose: () => void;
15
15
  }
16
- export declare const EdgeOperatorPicker: import('react').MemoExoticComponent<({ edgeInfo, onClose, }: EdgeOperatorPickerProps) => import("react/jsx-runtime").JSX.Element>;
16
+ export declare const EdgeOperatorPicker: import('react').MemoExoticComponent<({ edgeInfo, onClose, }: EdgeOperatorPickerProps) => import("react").JSX.Element>;
17
17
  export default EdgeOperatorPicker;
18
18
  //# sourceMappingURL=EdgeOperatorPicker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EdgeOperatorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EdgeOperatorPicker.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAYH,UAAU,QAAQ;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,+DAG5B,uBAAuB,6CA4LxB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"EdgeOperatorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EdgeOperatorPicker.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAYH,UAAU,QAAQ;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,+DAG5B,uBAAuB,iCA4LxB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { EdgeProps } from '@xyflow/react';
2
- export declare const EditableEdge: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: EdgeProps) => import("react/jsx-runtime").JSX.Element>;
2
+ export declare const EditableEdge: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: EdgeProps) => import("react").JSX.Element>;
3
3
  export default EditableEdge;
4
4
  //# sourceMappingURL=EditableEdge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditableEdge.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EditableEdge.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAA2B,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,YAAY,kIAStB,SAAS,6CAWV,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"EditableEdge.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EditableEdge.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAA2B,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,YAAY,kIAStB,SAAS,iCAWV,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -6,6 +6,6 @@
6
6
  export { EditableEdge } from './EditableEdge';
7
7
  export { EdgeOperatorPicker } from './EdgeOperatorPicker';
8
8
  export declare const edgeTypes: {
9
- editable: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: import('@xyflow/react').EdgeProps) => import("react/jsx-runtime").JSX.Element>;
9
+ editable: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: import('@xyflow/react').EdgeProps) => import("react").JSX.Element>;
10
10
  };
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { LogicNode, LogicEdge, JsonLogicValue, TracedResult, ExecutionStep } from '../types';
2
+ import { FlowDirection } from '../context/DirectionContextDef';
2
3
  export interface EvaluationResult {
3
4
  value: unknown;
4
5
  error: string | null;
@@ -11,6 +12,8 @@ interface UseLogicEditorOptions {
11
12
  data?: unknown;
12
13
  /** Enable templating mode (multi-key objects compile to output-shaping templates with embedded JSONLogic). */
13
14
  templating?: boolean;
15
+ /** Diagram direction — flips the layout rankDir (default 'flow'). */
16
+ direction?: FlowDirection;
14
17
  }
15
18
  interface UseLogicEditorReturn {
16
19
  nodes: LogicNode[];
@@ -21,6 +24,6 @@ interface UseLogicEditorReturn {
21
24
  steps: ExecutionStep[];
22
25
  traceNodeMap: Map<string, string>;
23
26
  }
24
- export declare function useLogicEditor({ value, evaluateWithTrace, data, templating, }: UseLogicEditorOptions): UseLogicEditorReturn;
27
+ export declare function useLogicEditor({ value, evaluateWithTrace, data, templating, direction, }: UseLogicEditorOptions): UseLogicEditorReturn;
25
28
  export {};
26
29
  //# sourceMappingURL=useLogicEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLogicEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useLogicEditor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,cAAc,EACd,YAAY,EACZ,aAAa,EACd,MAAM,UAAU,CAAC;AAMlB,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;CACnF;AAED,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEjE,UAAU,qBAAqB;IAC7B,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,YAAY,CAAC;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8GAA8G;IAC9G,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,oBAAoB;IAC5B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,EAAE,oBAAoB,CAAC;IACxC,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;AASD,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,iBAAiB,EACjB,IAAI,EACJ,UAAkB,GACnB,EAAE,qBAAqB,GAAG,oBAAoB,CAgH9C"}
1
+ {"version":3,"file":"useLogicEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useLogicEditor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,cAAc,EACd,YAAY,EACZ,aAAa,EACd,MAAM,UAAU,CAAC;AAKlB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEpE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;CACnF;AAED,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEjE,UAAU,qBAAqB;IAC7B,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,YAAY,CAAC;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8GAA8G;IAC9G,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qEAAqE;IACrE,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED,UAAU,oBAAoB;IAC5B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,EAAE,oBAAoB,CAAC;IACxC,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;AASD,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,iBAAiB,EACjB,IAAI,EACJ,UAAkB,EAClB,SAAkB,GACnB,EAAE,qBAAqB,GAAG,oBAAoB,CAqH9C"}
@@ -8,6 +8,6 @@ interface CellHandlesProps {
8
8
  * Handle IDs are based on cell index for stability - they don't change when other cells collapse.
9
9
  * Format: branch-{cellIndex} or branch-{cellIndex}-cond / branch-{cellIndex}-then for if/then cells
10
10
  */
11
- export declare const CellHandles: import('react').MemoExoticComponent<({ cell, color, }: CellHandlesProps) => import("react/jsx-runtime").JSX.Element>;
11
+ export declare const CellHandles: import('react').MemoExoticComponent<({ cell, color, }: CellHandlesProps) => import("react").JSX.Element>;
12
12
  export {};
13
13
  //# sourceMappingURL=CellHandles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CellHandles.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellHandles.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGzC,UAAU,gBAAgB;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,yDAGrB,gBAAgB,6CAqCjB,CAAC"}
1
+ {"version":3,"file":"CellHandles.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellHandles.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIzC,UAAU,gBAAgB;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,yDAGrB,gBAAgB,iCA0CjB,CAAC"}
@@ -3,6 +3,6 @@ interface CellRowProps {
3
3
  cell: CellData;
4
4
  color: string;
5
5
  }
6
- export declare const CellRow: import('react').MemoExoticComponent<({ cell, color, }: CellRowProps) => import("react/jsx-runtime").JSX.Element>;
6
+ export declare const CellRow: import('react').MemoExoticComponent<({ cell, color }: CellRowProps) => import("react").JSX.Element>;
7
7
  export {};
8
8
  //# sourceMappingURL=CellRow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CellRow.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMzC,UAAU,YAAY;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,OAAO,yDAGjB,YAAY,6CAuDb,CAAC"}
1
+ {"version":3,"file":"CellRow.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAOzC,UAAU,YAAY;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAeD,eAAO,MAAM,OAAO,wDAA0C,YAAY,iCAsExE,CAAC"}
@@ -3,6 +3,6 @@ interface DebugInfoBubbleProps {
3
3
  step: ExecutionStep;
4
4
  position?: 'top' | 'right' | 'bottom';
5
5
  }
6
- export declare const DebugInfoBubble: import('react').MemoExoticComponent<({ step, position, }: DebugInfoBubbleProps) => import("react/jsx-runtime").JSX.Element>;
6
+ export declare const DebugInfoBubble: import('react').MemoExoticComponent<({ step, position, }: DebugInfoBubbleProps) => import("react").JSX.Element>;
7
7
  export {};
8
8
  //# sourceMappingURL=DebugInfoBubble.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebugInfoBubble.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/DebugInfoBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKpD,UAAU,oBAAoB;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAsBD,eAAO,MAAM,eAAe,4DAGzB,oBAAoB,6CAgDrB,CAAC"}
1
+ {"version":3,"file":"DebugInfoBubble.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/DebugInfoBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKpD,UAAU,oBAAoB;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAsBD,eAAO,MAAM,eAAe,4DAGzB,oBAAoB,iCAgDrB,CAAC"}
@@ -4,6 +4,6 @@ interface LiteralNodeProps {
4
4
  data: LiteralNodeData;
5
5
  selected?: boolean;
6
6
  }
7
- export declare const LiteralNode: import('react').MemoExoticComponent<({ id, data, selected, }: LiteralNodeProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export declare const LiteralNode: import('react').MemoExoticComponent<({ id, data, selected, }: LiteralNodeProps) => import("react").JSX.Element>;
8
8
  export {};
9
9
  //# sourceMappingURL=LiteralNode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiteralNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/LiteralNode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAOhD,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,gEAIrB,gBAAgB,6CAwBjB,CAAC"}
1
+ {"version":3,"file":"LiteralNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/LiteralNode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAMhD,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAWD,eAAO,MAAM,WAAW,gEAIrB,gBAAgB,iCAoBjB,CAAC"}
@@ -4,6 +4,6 @@ interface StructureNodeProps {
4
4
  data: StructureNodeData;
5
5
  selected?: boolean;
6
6
  }
7
- export declare const StructureNode: import('react').MemoExoticComponent<({ id, data, selected, }: StructureNodeProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export declare const StructureNode: import('react').MemoExoticComponent<({ id, data, selected, }: StructureNodeProps) => import("react").JSX.Element>;
8
8
  export {};
9
9
  //# sourceMappingURL=StructureNode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StructureNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/StructureNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAgBlD,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,gEAIvB,kBAAkB,6CAmFnB,CAAC"}
1
+ {"version":3,"file":"StructureNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/StructureNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAiBlD,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,gEAIvB,kBAAkB,iCAiFnB,CAAC"}
@@ -4,6 +4,6 @@ interface UnifiedOperatorNodeProps {
4
4
  data: OperatorNodeData;
5
5
  selected?: boolean;
6
6
  }
7
- export declare const UnifiedOperatorNode: import('react').MemoExoticComponent<({ id, data, selected, }: UnifiedOperatorNodeProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export declare const UnifiedOperatorNode: import('react').MemoExoticComponent<({ id, data, selected, }: UnifiedOperatorNodeProps) => import("react").JSX.Element>;
8
8
  export {};
9
9
  //# sourceMappingURL=UnifiedOperatorNode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnifiedOperatorNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/UnifiedOperatorNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAWjD,UAAU,wBAAwB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,gEAI7B,wBAAwB,6CAgLzB,CAAC"}
1
+ {"version":3,"file":"UnifiedOperatorNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/UnifiedOperatorNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAY,MAAM,UAAU,CAAC;AAmB3D,UAAU,wBAAwB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAgCD,eAAO,MAAM,mBAAmB,gEAI7B,wBAAwB,iCAsNzB,CAAC"}
@@ -5,6 +5,6 @@ interface CollapseToggleButtonProps {
5
5
  /**
6
6
  * Reusable collapse/expand toggle button for node headers.
7
7
  */
8
- export declare const CollapseToggleButton: import('react').MemoExoticComponent<({ isCollapsed, onClick, }: CollapseToggleButtonProps) => import("react/jsx-runtime").JSX.Element>;
8
+ export declare const CollapseToggleButton: import('react').MemoExoticComponent<({ isCollapsed, onClick, }: CollapseToggleButtonProps) => import("react").JSX.Element>;
9
9
  export {};
10
10
  //# sourceMappingURL=CollapseToggleButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CollapseToggleButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/CollapseToggleButton.tsx"],"names":[],"mappings":"AAEA,UAAU,yBAAyB;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CACxC;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,kEAG9B,yBAAyB,6CAU1B,CAAC"}
1
+ {"version":3,"file":"CollapseToggleButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/CollapseToggleButton.tsx"],"names":[],"mappings":"AAEA,UAAU,yBAAyB;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CACxC;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,kEAG9B,yBAAyB,iCAU1B,CAAC"}
@@ -6,6 +6,6 @@ interface NodeDebugBubbleProps {
6
6
  * Wrapper component that conditionally renders a DebugInfoBubble
7
7
  * when the node is the current step in debugging.
8
8
  */
9
- export declare const NodeDebugBubble: import('react').MemoExoticComponent<({ nodeId, position, }: NodeDebugBubbleProps) => import("react/jsx-runtime").JSX.Element | null>;
9
+ export declare const NodeDebugBubble: import('react').MemoExoticComponent<({ nodeId, position, }: NodeDebugBubbleProps) => import("react").JSX.Element | null>;
10
10
  export {};
11
11
  //# sourceMappingURL=NodeDebugBubble.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeDebugBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/NodeDebugBubble.tsx"],"names":[],"mappings":"AAIA,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,8DAGzB,oBAAoB,oDAQrB,CAAC"}
1
+ {"version":3,"file":"NodeDebugBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/NodeDebugBubble.tsx"],"names":[],"mappings":"AAIA,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,8DAGzB,oBAAoB,wCAQrB,CAAC"}
@@ -3,9 +3,12 @@ interface NodeInputHandlesProps {
3
3
  color: string;
4
4
  }
5
5
  /**
6
- * Renders input handles (top and left) for a node.
7
- * Only shows handles if they have connections.
6
+ * Renders this node's link to its parent/consumer (its result). Handle IDs are
7
+ * kept as 'left'/'top' for backwards compatibility with the edge model. In
8
+ * 'flow' the parent is on the right, so this is a source on the RIGHT; in
9
+ * 'hierarchy' the parent is on the left, so it's a target on the LEFT. Only
10
+ * shown when connected.
8
11
  */
9
- export declare const NodeInputHandles: import('react').MemoExoticComponent<({ nodeId, color, }: NodeInputHandlesProps) => import("react/jsx-runtime").JSX.Element>;
12
+ export declare const NodeInputHandles: import('react').MemoExoticComponent<({ nodeId, color, }: NodeInputHandlesProps) => import("react").JSX.Element>;
10
13
  export {};
11
14
  //# sourceMappingURL=NodeInputHandles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeInputHandles.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/NodeInputHandles.tsx"],"names":[],"mappings":"AAIA,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,2DAG1B,qBAAqB,6CA0BtB,CAAC"}
1
+ {"version":3,"file":"NodeInputHandles.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/NodeInputHandles.tsx"],"names":[],"mappings":"AAIA,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,2DAG1B,qBAAqB,iCA4BtB,CAAC"}
@@ -4,6 +4,6 @@ interface BooleanInputProps {
4
4
  onChange: (value: boolean) => void;
5
5
  disabled?: boolean;
6
6
  }
7
- export declare const BooleanInput: import('react').MemoExoticComponent<({ id, value, onChange, disabled, }: BooleanInputProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export declare const BooleanInput: import('react').MemoExoticComponent<({ id, value, onChange, disabled, }: BooleanInputProps) => import("react").JSX.Element>;
8
8
  export {};
9
9
  //# sourceMappingURL=BooleanInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BooleanInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/BooleanInput.tsx"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,2EAKtB,iBAAiB,6CAclB,CAAC"}
1
+ {"version":3,"file":"BooleanInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/BooleanInput.tsx"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,2EAKtB,iBAAiB,iCAclB,CAAC"}
@@ -11,6 +11,6 @@ interface ExpressionInputProps {
11
11
  * Currently displays a summary of the expression with an indicator that it branches to another node.
12
12
  * Full expression editing will be handled by the canvas connection system.
13
13
  */
14
- export declare const ExpressionInput: import('react').MemoExoticComponent<({ id, value, disabled, placeholder, }: ExpressionInputProps) => import("react/jsx-runtime").JSX.Element>;
14
+ export declare const ExpressionInput: import('react').MemoExoticComponent<({ id, value, disabled, placeholder, }: ExpressionInputProps) => import("react").JSX.Element>;
15
15
  export {};
16
16
  //# sourceMappingURL=ExpressionInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpressionInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/ExpressionInput.tsx"],"names":[],"mappings":"AAGA,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,8EAKzB,oBAAoB,6CAuCrB,CAAC"}
1
+ {"version":3,"file":"ExpressionInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/ExpressionInput.tsx"],"names":[],"mappings":"AAGA,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,8EAKzB,oBAAoB,iCAuCrB,CAAC"}
@@ -10,6 +10,6 @@ interface JsonInputProps {
10
10
  * Input for raw JSON values.
11
11
  * Provides validation feedback for invalid JSON.
12
12
  */
13
- export declare const JsonInput: import('react').MemoExoticComponent<({ id, value, onChange, disabled, required, rows, }: JsonInputProps) => import("react/jsx-runtime").JSX.Element>;
13
+ export declare const JsonInput: import('react').MemoExoticComponent<({ id, value, onChange, disabled, required, rows, }: JsonInputProps) => import("react").JSX.Element>;
14
14
  export {};
15
15
  //# sourceMappingURL=JsonInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"JsonInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/JsonInput.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,2FAOnB,cAAc,6CA6Cf,CAAC"}
1
+ {"version":3,"file":"JsonInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/JsonInput.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,2FAOnB,cAAc,iCA6Cf,CAAC"}
@@ -9,6 +9,6 @@ interface NumberInputProps {
9
9
  max?: number;
10
10
  step?: number;
11
11
  }
12
- export declare const NumberInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, min, max, step, }: NumberInputProps) => import("react/jsx-runtime").JSX.Element>;
12
+ export declare const NumberInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, min, max, step, }: NumberInputProps) => import("react").JSX.Element>;
13
13
  export {};
14
14
  //# sourceMappingURL=NumberInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/NumberInput.tsx"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,WAAW,kHAUrB,gBAAgB,6CA4BjB,CAAC"}
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/NumberInput.tsx"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,WAAW,kHAUrB,gBAAgB,iCA4BjB,CAAC"}
@@ -9,6 +9,6 @@ interface PathArrayInputProps {
9
9
  * Input for array-style paths with editable segments.
10
10
  * Renders as a list of path components that can be added/removed.
11
11
  */
12
- export declare const PathArrayInput: import('react').MemoExoticComponent<({ id, value, onChange, disabled, }: PathArrayInputProps) => import("react/jsx-runtime").JSX.Element>;
12
+ export declare const PathArrayInput: import('react').MemoExoticComponent<({ id, value, onChange, disabled, }: PathArrayInputProps) => import("react").JSX.Element>;
13
13
  export {};
14
14
  //# sourceMappingURL=PathArrayInput.d.ts.map