@goplasmatic/datalogic-ui 4.0.21 → 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 (135) hide show
  1. package/README.md +35 -15
  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 +6 -3
  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/config/operators/utility.d.ts.map +1 -1
  11. package/dist/components/logic-editor/constants/index.d.ts +1 -1
  12. package/dist/components/logic-editor/constants/index.d.ts.map +1 -1
  13. package/dist/components/logic-editor/constants/layout.d.ts +13 -4
  14. package/dist/components/logic-editor/constants/layout.d.ts.map +1 -1
  15. package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts +1 -1
  16. package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts.map +1 -1
  17. package/dist/components/logic-editor/context/DirectionContextDef.d.ts +11 -0
  18. package/dist/components/logic-editor/context/DirectionContextDef.d.ts.map +1 -0
  19. package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts +1 -1
  20. package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts.map +1 -1
  21. package/dist/components/logic-editor/context/editor/EditorContext.d.ts +1 -1
  22. package/dist/components/logic-editor/context/editor/EditorContext.d.ts.map +1 -1
  23. package/dist/components/logic-editor/context/editor/useClipboardState.d.ts.map +1 -1
  24. package/dist/components/logic-editor/context/editor/useHistoryState.d.ts.map +1 -1
  25. package/dist/components/logic-editor/context/index.d.ts +2 -0
  26. package/dist/components/logic-editor/context/index.d.ts.map +1 -1
  27. package/dist/components/logic-editor/context/useDirection.d.ts +6 -0
  28. package/dist/components/logic-editor/context/useDirection.d.ts.map +1 -0
  29. package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts +1 -1
  30. package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts.map +1 -1
  31. package/dist/components/logic-editor/context-menu/ContextMenu.d.ts +1 -1
  32. package/dist/components/logic-editor/context-menu/ContextMenu.d.ts.map +1 -1
  33. package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts +2 -2
  34. package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts.map +1 -1
  35. package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts +1 -1
  36. package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts.map +1 -1
  37. package/dist/components/logic-editor/edges/EditableEdge.d.ts +1 -1
  38. package/dist/components/logic-editor/edges/EditableEdge.d.ts.map +1 -1
  39. package/dist/components/logic-editor/edges/index.d.ts +1 -1
  40. package/dist/components/logic-editor/hooks/index.d.ts +1 -1
  41. package/dist/components/logic-editor/hooks/index.d.ts.map +1 -1
  42. package/dist/components/logic-editor/hooks/useLogicEditor.d.ts +6 -3
  43. package/dist/components/logic-editor/hooks/useLogicEditor.d.ts.map +1 -1
  44. package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts +8 -3
  45. package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts.map +1 -1
  46. package/dist/components/logic-editor/nodes/CellHandles.d.ts +1 -1
  47. package/dist/components/logic-editor/nodes/CellHandles.d.ts.map +1 -1
  48. package/dist/components/logic-editor/nodes/CellRow.d.ts +1 -1
  49. package/dist/components/logic-editor/nodes/CellRow.d.ts.map +1 -1
  50. package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts +1 -1
  51. package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts.map +1 -1
  52. package/dist/components/logic-editor/nodes/LiteralNode.d.ts +1 -1
  53. package/dist/components/logic-editor/nodes/LiteralNode.d.ts.map +1 -1
  54. package/dist/components/logic-editor/nodes/StructureNode.d.ts +1 -1
  55. package/dist/components/logic-editor/nodes/StructureNode.d.ts.map +1 -1
  56. package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts +1 -1
  57. package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts.map +1 -1
  58. package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts +1 -1
  59. package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts.map +1 -1
  60. package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts +1 -1
  61. package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts.map +1 -1
  62. package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts +6 -3
  63. package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts.map +1 -1
  64. package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts +1 -1
  65. package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts.map +1 -1
  66. package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts +1 -1
  67. package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts.map +1 -1
  68. package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts +1 -1
  69. package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts.map +1 -1
  70. package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts +1 -1
  71. package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts.map +1 -1
  72. package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts +1 -1
  73. package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts.map +1 -1
  74. package/dist/components/logic-editor/panel-inputs/PathInput.d.ts +1 -1
  75. package/dist/components/logic-editor/panel-inputs/PathInput.d.ts.map +1 -1
  76. package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts +1 -1
  77. package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts.map +1 -1
  78. package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts +1 -1
  79. package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts.map +1 -1
  80. package/dist/components/logic-editor/panel-inputs/TextInput.d.ts +1 -1
  81. package/dist/components/logic-editor/panel-inputs/TextInput.d.ts.map +1 -1
  82. package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts +1 -1
  83. package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts.map +1 -1
  84. package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts +1 -1
  85. package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts.map +1 -1
  86. package/dist/components/logic-editor/properties-panel/HelpSection.d.ts +1 -1
  87. package/dist/components/logic-editor/properties-panel/HelpSection.d.ts.map +1 -1
  88. package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts +1 -1
  89. package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts.map +1 -1
  90. package/dist/components/logic-editor/types/editor.d.ts +18 -6
  91. package/dist/components/logic-editor/types/editor.d.ts.map +1 -1
  92. package/dist/components/logic-editor/types/index.d.ts +1 -1
  93. package/dist/components/logic-editor/types/index.d.ts.map +1 -1
  94. package/dist/components/logic-editor/types/trace.d.ts +22 -0
  95. package/dist/components/logic-editor/types/trace.d.ts.map +1 -1
  96. package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts +1 -1
  97. package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts.map +1 -1
  98. package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts +6 -0
  99. package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts.map +1 -1
  100. package/dist/components/logic-editor/utils/converters/operator-converter.d.ts.map +1 -1
  101. package/dist/components/logic-editor/utils/converters/types.d.ts +2 -2
  102. package/dist/components/logic-editor/utils/converters/types.d.ts.map +1 -1
  103. package/dist/components/logic-editor/utils/edge-builder.d.ts +5 -4
  104. package/dist/components/logic-editor/utils/edge-builder.d.ts.map +1 -1
  105. package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts +7 -0
  106. package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts.map +1 -1
  107. package/dist/components/logic-editor/utils/formatting/index.d.ts +1 -1
  108. package/dist/components/logic-editor/utils/formatting/index.d.ts.map +1 -1
  109. package/dist/components/logic-editor/utils/inline-vars.d.ts +15 -0
  110. package/dist/components/logic-editor/utils/inline-vars.d.ts.map +1 -0
  111. package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts +2 -2
  112. package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts.map +1 -1
  113. package/dist/components/logic-editor/utils/layout.d.ts +2 -1
  114. package/dist/components/logic-editor/utils/layout.d.ts.map +1 -1
  115. package/dist/components/logic-editor/utils/node-factory.d.ts.map +1 -1
  116. package/dist/components/logic-editor/utils/nodeShape.d.ts +23 -0
  117. package/dist/components/logic-editor/utils/nodeShape.d.ts.map +1 -0
  118. package/dist/components/logic-editor/utils/signal.d.ts +10 -0
  119. package/dist/components/logic-editor/utils/signal.d.ts.map +1 -0
  120. package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts +4 -2
  121. package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts.map +1 -1
  122. package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts.map +1 -1
  123. package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts.map +1 -1
  124. package/dist/components/logic-editor/utils/trace/node-type.d.ts +1 -1
  125. package/dist/components/logic-editor/utils/trace/node-type.d.ts.map +1 -1
  126. package/dist/components/logic-editor/utils/trace/types.d.ts +3 -3
  127. package/dist/components/logic-editor/utils/trace/types.d.ts.map +1 -1
  128. package/dist/datalogic_wasm-BOuSyKtI.cjs +1148 -0
  129. package/dist/datalogic_wasm-Dloh5u2g.js +1145 -0
  130. package/dist/index.cjs +3296 -2323
  131. package/dist/index.js +3298 -2325
  132. package/dist/styles.css +1380 -474
  133. package/package.json +50 -41
  134. package/dist/datalogic_wasm-Ckkdrc0z.cjs +0 -383
  135. package/dist/datalogic_wasm-daWVf40b.js +0 -380
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"PathArrayInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/PathArrayInput.tsx"],"names":[],"mappings":"AAGA,UAAU,mBAAmB;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,2EAKxB,mBAAmB,6CA+DpB,CAAC"}
1
+ {"version":3,"file":"PathArrayInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/PathArrayInput.tsx"],"names":[],"mappings":"AAGA,UAAU,mBAAmB;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,2EAKxB,mBAAmB,iCA+DpB,CAAC"}
@@ -9,6 +9,6 @@ interface PathInputProps {
9
9
  /**
10
10
  * Input for dot-notation paths (e.g., "user.profile.name")
11
11
  */
12
- export declare const PathInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, }: PathInputProps) => import("react/jsx-runtime").JSX.Element>;
12
+ export declare const PathInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, }: PathInputProps) => import("react").JSX.Element>;
13
13
  export {};
14
14
  //# sourceMappingURL=PathInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PathInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/PathInput.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,kGAOnB,cAAc,6CAkBf,CAAC"}
1
+ {"version":3,"file":"PathInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/PathInput.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,kGAOnB,cAAc,iCAkBf,CAAC"}
@@ -7,6 +7,6 @@ interface SelectInputProps {
7
7
  disabled?: boolean;
8
8
  required?: boolean;
9
9
  }
10
- export declare const SelectInput: import('react').MemoExoticComponent<({ id, value, onChange, options, disabled, required, }: SelectInputProps) => import("react/jsx-runtime").JSX.Element>;
10
+ export declare const SelectInput: import('react').MemoExoticComponent<({ id, value, onChange, options, disabled, required, }: SelectInputProps) => import("react").JSX.Element>;
11
11
  export {};
12
12
  //# sourceMappingURL=SelectInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/SelectInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACjC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;IACrD,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,8FAOrB,gBAAgB,6CAiCjB,CAAC"}
1
+ {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/SelectInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACjC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;IACrD,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,8FAOrB,gBAAgB,iCAiCjB,CAAC"}
@@ -7,6 +7,6 @@ interface TextAreaInputProps {
7
7
  required?: boolean;
8
8
  rows?: number;
9
9
  }
10
- export declare const TextAreaInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, rows, }: TextAreaInputProps) => import("react/jsx-runtime").JSX.Element>;
10
+ export declare const TextAreaInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, rows, }: TextAreaInputProps) => import("react").JSX.Element>;
11
11
  export {};
12
12
  //# sourceMappingURL=TextAreaInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextAreaInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/TextAreaInput.tsx"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,wGAQvB,kBAAkB,6CAanB,CAAC"}
1
+ {"version":3,"file":"TextAreaInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/TextAreaInput.tsx"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,wGAQvB,kBAAkB,iCAanB,CAAC"}
@@ -6,6 +6,6 @@ interface TextInputProps {
6
6
  disabled?: boolean;
7
7
  required?: boolean;
8
8
  }
9
- export declare const TextInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, }: TextInputProps) => import("react/jsx-runtime").JSX.Element>;
9
+ export declare const TextInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, }: TextInputProps) => import("react").JSX.Element>;
10
10
  export {};
11
11
  //# sourceMappingURL=TextInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/TextInput.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,kGAOnB,cAAc,6CAaf,CAAC"}
1
+ {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/TextInput.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,kGAOnB,cAAc,iCAaf,CAAC"}
@@ -9,6 +9,6 @@ interface ArgumentItemProps {
9
9
  onLiteralChange: (childId: string, value: JsonLogicValue, valueType: LiteralNodeData['valueType']) => void;
10
10
  onInlineLiteralChange: (argIndex: number, value: JsonLogicValue) => void;
11
11
  }
12
- export declare const ArgumentItem: import('react').MemoExoticComponent<({ arg, isVariableArity, canRemoveArg, onSelect, onRemove, onLiteralChange, onInlineLiteralChange, }: ArgumentItemProps) => import("react/jsx-runtime").JSX.Element>;
12
+ export declare const ArgumentItem: import('react').MemoExoticComponent<({ arg, isVariableArity, canRemoveArg, onSelect, onRemove, onLiteralChange, onInlineLiteralChange, }: ArgumentItemProps) => import("react").JSX.Element>;
13
13
  export {};
14
14
  //# sourceMappingURL=ArgumentItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArgumentItem.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/ArgumentItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG7E,UAAU,iBAAiB;IACzB,GAAG,EAAE,YAAY,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC3G,qBAAqB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1E;AAED,eAAO,MAAM,YAAY,4IAQtB,iBAAiB,6CA2PlB,CAAC"}
1
+ {"version":3,"file":"ArgumentItem.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/ArgumentItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAG7E,UAAU,iBAAiB;IACzB,GAAG,EAAE,YAAY,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC3G,qBAAqB,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1E;AAED,eAAO,MAAM,YAAY,4IAQtB,iBAAiB,iCA2PlB,CAAC"}
@@ -2,6 +2,6 @@ import { LogicNode } from '../types';
2
2
  interface ArgumentsSectionProps {
3
3
  node: LogicNode;
4
4
  }
5
- export declare const ArgumentsSection: import('react').MemoExoticComponent<({ node, }: ArgumentsSectionProps) => import("react/jsx-runtime").JSX.Element | null>;
5
+ export declare const ArgumentsSection: import('react').MemoExoticComponent<({ node, }: ArgumentsSectionProps) => import("react").JSX.Element | null>;
6
6
  export {};
7
7
  //# sourceMappingURL=ArgumentsSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArgumentsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/ArgumentsSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,SAAS,EAAqD,MAAM,UAAU,CAAC;AAa7F,UAAU,qBAAqB;IAC7B,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,kDAE1B,qBAAqB,oDAwNtB,CAAC"}
1
+ {"version":3,"file":"ArgumentsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/ArgumentsSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,SAAS,EAAqD,MAAM,UAAU,CAAC;AAa7F,UAAU,qBAAqB;IAC7B,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,kDAE1B,qBAAqB,wCAwNtB,CAAC"}
@@ -3,6 +3,6 @@ interface HelpSectionProps {
3
3
  help: OperatorHelp;
4
4
  arity: AritySpec;
5
5
  }
6
- export declare const HelpSection: import('react').MemoExoticComponent<({ help, arity, }: HelpSectionProps) => import("react/jsx-runtime").JSX.Element>;
6
+ export declare const HelpSection: import('react').MemoExoticComponent<({ help, arity, }: HelpSectionProps) => import("react").JSX.Element>;
7
7
  export {};
8
8
  //# sourceMappingURL=HelpSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpSection.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/HelpSection.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAmB,MAAM,2BAA2B,CAAC;AAE1F,UAAU,gBAAgB;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;CAClB;AAmCD,eAAO,MAAM,WAAW,yDAGrB,gBAAgB,6CAuDjB,CAAC"}
1
+ {"version":3,"file":"HelpSection.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/HelpSection.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAmB,MAAM,2BAA2B,CAAC;AAE1F,UAAU,gBAAgB;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;CAClB;AAmCD,eAAO,MAAM,WAAW,yDAGrB,gBAAgB,iCAuDjB,CAAC"}
@@ -2,6 +2,6 @@ interface PropertiesPanelProps {
2
2
  /** Width of the panel in pixels */
3
3
  width?: number;
4
4
  }
5
- export declare const PropertiesPanel: import('react').MemoExoticComponent<({ width, }: PropertiesPanelProps) => import("react/jsx-runtime").JSX.Element | null>;
5
+ export declare const PropertiesPanel: import('react').MemoExoticComponent<({ width, }: PropertiesPanelProps) => import("react").JSX.Element | null>;
6
6
  export {};
7
7
  //# sourceMappingURL=PropertiesPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PropertiesPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/PropertiesPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,wBAAwB,CAAC;AAchC,UAAU,oBAAoB;IAC5B,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,mDAEzB,oBAAoB,oDAqHrB,CAAC"}
1
+ {"version":3,"file":"PropertiesPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/PropertiesPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,wBAAwB,CAAC;AAchC,UAAU,oBAAoB;IAC5B,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,eAAe,mDAEzB,oBAAoB,wCAqHrB,CAAC"}
@@ -118,17 +118,29 @@ export interface DataLogicEditorProps {
118
118
  /** Additional CSS class */
119
119
  className?: string;
120
120
  /**
121
- * Enable structure preserve mode for JSON templates with embedded JSONLogic.
122
- * When true, multi-key objects and arrays are treated as data structures
123
- * with embedded JSONLogic expressions, rather than invalid JSONLogic.
121
+ * Enable templating mode: multi-key objects and arrays in compiled rules
122
+ * become output-shaping templates with embedded JSONLogic expressions,
123
+ * rather than rejected as invalid JSONLogic. Matches the v5 core API
124
+ * (`Engine::builder().with_templating(true)`).
124
125
  */
125
- preserveStructure?: boolean;
126
- /** Callback when preserve structure changes (from toolbar checkbox) */
127
- onPreserveStructureChange?: (value: boolean) => void;
126
+ templating?: boolean;
127
+ /** Callback when templating mode changes (from toolbar checkbox) */
128
+ onTemplatingChange?: (value: boolean) => void;
128
129
  /**
129
130
  * Enable editing: node selection, properties panel, context menus, undo/redo.
130
131
  * Default: false
131
132
  */
132
133
  editable?: boolean;
134
+ /**
135
+ * Optional list of example names to surface as quick-action chips in the
136
+ * empty state. Each chip, when clicked, calls `onSelectExample` with the
137
+ * corresponding name. Ignored when the editor is non-empty.
138
+ */
139
+ exampleSuggestions?: string[];
140
+ /**
141
+ * Callback invoked when a user clicks an empty-state example chip.
142
+ * Receives the example name from `exampleSuggestions`.
143
+ */
144
+ onSelectExample?: (name: string) => void;
133
145
  }
134
146
  //# sourceMappingURL=editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/types/editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAG5C,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAIlE,MAAM,WAAW,YAAa,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC3D,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,WAAW,CAAC;IACnD,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B;AAGD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,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logic';
2
2
  export type { VisualNodeType, BaseNodeData, ArgSummary, OperatorNodeData, LiteralNodeData, CellData, VariableNodeData, StructureElement, StructureNodeData, LogicNodeData, LogicNode, LogicEdge, EditorState, ConversionResult, NodeEvaluationResult, EvaluationResultsMap, LogicEditorProps, DataLogicEditorProps, } from './editor';
3
- export type { ExpressionNode, ExecutionStep, TracedResult, } from './trace';
3
+ export type { ExpressionNode, ExecutionStep, TracedResult, StructuredError, } from './trace';
4
4
  export { CATEGORY_COLORS } from '../constants/colors';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,YAAY,GACb,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,cAAc,EACd,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,cAAc,EACd,aAAa,EACb,YAAY,GACb,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,YAAY,GACb,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,cAAc,EACd,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,cAAc,EACd,aAAa,EACb,YAAY,EACZ,eAAe,GAChB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC"}
@@ -12,10 +12,32 @@ export interface ExecutionStep {
12
12
  iteration_index?: number;
13
13
  iteration_total?: number;
14
14
  }
15
+ /**
16
+ * Structured error shape emitted by the WASM `*_structured` entry points.
17
+ *
18
+ * Mirrors the Rust `Error` serialization — `type` is a stable
19
+ * machine-readable kind, `message` is human-readable, and variant-specific
20
+ * extras appear as extra fields. `node_ids` is the v5 failure breadcrumb
21
+ * (compile-time node IDs, root-to-leaf); `stage` is set on parse-time
22
+ * failures from the WASM boundary itself.
23
+ */
24
+ export interface StructuredError {
25
+ type: string;
26
+ message: string;
27
+ operator?: string;
28
+ variable?: string;
29
+ level?: number;
30
+ thrown?: unknown;
31
+ index?: number;
32
+ length?: number;
33
+ stage?: string;
34
+ node_ids?: number[];
35
+ }
15
36
  export interface TracedResult {
16
37
  result: unknown;
17
38
  expression_tree: ExpressionNode;
18
39
  steps: ExecutionStep[];
19
40
  error?: string;
41
+ structured_error?: StructuredError;
20
42
  }
21
43
  //# sourceMappingURL=trace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"trace.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/types/trace.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,cAAc,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IAC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EAAE,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,cAAc,CAAC;IAChC,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,eAAe,CAAC;CACpC"}
@@ -4,6 +4,6 @@ interface ExpressionSyntaxProps {
4
4
  /**
5
5
  * Expression syntax highlighting component for use in nodes
6
6
  */
7
- export declare const ExpressionSyntax: import('react').MemoExoticComponent<({ text }: ExpressionSyntaxProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export declare const ExpressionSyntax: import('react').MemoExoticComponent<({ text }: ExpressionSyntaxProps) => import("react").JSX.Element>;
8
8
  export {};
9
9
  //# sourceMappingURL=ExpressionSyntax.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpressionSyntax.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/ExpressionSyntax.tsx"],"names":[],"mappings":"AA0NA,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,iDAA4C,qBAAqB,6CAQ5F,CAAC"}
1
+ {"version":3,"file":"ExpressionSyntax.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/ExpressionSyntax.tsx"],"names":[],"mappings":"AA0NA,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,iDAA4C,qBAAqB,iCAQ5F,CAAC"}
@@ -1,4 +1,10 @@
1
1
  import { JsonLogicValue } from '../../types';
2
2
  import { ConversionContext, ConverterFn } from './types';
3
+ /**
4
+ * Convert if/then/else into a CHAIN of standalone decision-diamond nodes — one
5
+ * diamond per condition, rather than a single block. Each diamond has three
6
+ * inputs (when / then / else); a trailing else-if becomes the next diamond wired
7
+ * into the else input, so the diamonds read as a series down the else path.
8
+ */
3
9
  export declare function convertIfElse(ifArgs: JsonLogicValue[], context: ConversionContext, convertValue: ConverterFn): string;
4
10
  //# sourceMappingURL=if-else-converter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"if-else-converter.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/if-else-converter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,aAAa,CAAC;AACzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAQ9D,wBAAgB,aAAa,CAC3B,MAAM,EAAE,cAAc,EAAE,EACxB,OAAO,EAAE,iBAAiB,EAC1B,YAAY,EAAE,WAAW,GACxB,MAAM,CAkKR"}
1
+ {"version":3,"file":"if-else-converter.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/if-else-converter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAoD,MAAM,aAAa,CAAC;AACpG,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAoB9D;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,cAAc,EAAE,EACxB,OAAO,EAAE,iBAAiB,EAC1B,YAAY,EAAE,WAAW,GACxB,MAAM,CAwBR"}
@@ -1 +1 @@
1
- {"version":3,"file":"operator-converter.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/operator-converter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,aAAa,CAAC;AACzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAc9D,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,cAAc,EAAE,EAC9B,OAAO,EAAE,iBAAiB,EAC1B,YAAY,EAAE,WAAW,GACxB,MAAM,CAqFR;AAGD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEzD"}
1
+ {"version":3,"file":"operator-converter.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/operator-converter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,aAAa,CAAC;AACzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAe9D,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,cAAc,EAAE,EAC9B,OAAO,EAAE,iBAAiB,EAC1B,YAAY,EAAE,WAAW,GACxB,MAAM,CA2FR;AAGD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEzD"}
@@ -5,8 +5,8 @@ export interface ConversionContext {
5
5
  parentId?: string;
6
6
  argIndex?: number;
7
7
  branchType?: 'yes' | 'no' | 'branch' | 'condition';
8
- /** Enable structure preserve mode for JSON templates with embedded JSONLogic */
9
- preserveStructure?: boolean;
8
+ /** Enable templating mode (multi-key objects compile to output-shaping templates with embedded JSONLogic). */
9
+ templating?: boolean;
10
10
  }
11
11
  export interface ParentInfo {
12
12
  parentId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,WAAW,CAAC;IACnD,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAGD,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,WAAW,CAAC;CACpD;AAGD,MAAM,MAAM,WAAW,GAAG,CACxB,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,iBAAiB,KACvB,MAAM,CAAC;AAGZ,wBAAgB,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,UAAU,CAMpE"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,WAAW,CAAC;IACnD,8GAA8G;IAC9G,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAGD,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,WAAW,CAAC;CACpD;AAGD,MAAM,MAAM,WAAW,GAAG,CACxB,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,iBAAiB,KACvB,MAAM,CAAC;AAGZ,wBAAgB,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,UAAU,CAMpE"}
@@ -1,8 +1,9 @@
1
1
  import { LogicNode, LogicEdge } from '../types';
2
+ import { FlowDirection } from '../context/DirectionContextDef';
2
3
  /**
3
- * Build edges from node relationships, respecting collapse state.
4
- * This function creates edges based on the current node data, including
5
- * collapsed cells and collapsed nodes.
4
+ * Build edges from node relationships, respecting collapse state. This creates
5
+ * edges based on the current node data, including collapsed cells and nodes.
6
+ * The orientation (which end carries the arrowhead) follows `direction`.
6
7
  */
7
- export declare function buildEdgesFromNodes(nodes: LogicNode[]): LogicEdge[];
8
+ export declare function buildEdgesFromNodes(nodes: LogicNode[], direction?: FlowDirection): LogicEdge[];
8
9
  //# sourceMappingURL=edge-builder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"edge-builder.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/edge-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAuC,MAAM,UAAU,CAAC;AAE1F;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CAsEnE"}
1
+ {"version":3,"file":"edge-builder.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/edge-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAuC,MAAM,UAAU,CAAC;AAC1F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAuBpE;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,SAAS,EAAE,EAClB,SAAS,GAAE,aAAsB,GAChC,SAAS,EAAE,CA2Eb"}
@@ -1,4 +1,11 @@
1
1
  import { JsonLogicValue, ArgSummary } from '../../types';
2
+ export declare const CONTEXT_LABEL = "context";
3
+ /**
4
+ * Compact display for a var/val/exists data read, handling the two tricky cases:
5
+ * • empty path — the whole current context (`{var:""}` → "context").
6
+ * • val scope-jump — `{val:[[-1],"threshold"]}` → "↑threshold" (n up-arrows).
7
+ */
8
+ export declare function formatVarValPath(op: 'var' | 'val' | 'exists', raw: JsonLogicValue): string;
2
9
  export declare function generateArgSummary(value: JsonLogicValue): ArgSummary;
3
10
  export declare function formatOperandLabel(operand: JsonLogicValue): string;
4
11
  //# sourceMappingURL=arg-summary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"arg-summary.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/formatting/arg-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAO9D,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,cAAc,GAAG,UAAU,CAuEpE;AAGD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,CAqClE"}
1
+ {"version":3,"file":"arg-summary.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/formatting/arg-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAO9D,eAAO,MAAM,aAAa,YAAY,CAAC;AAEvC;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,KAAK,GAAG,KAAK,GAAG,QAAQ,EAAE,GAAG,EAAE,cAAc,GAAG,MAAM,CA6B1F;AAGD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,cAAc,GAAG,UAAU,CA6DpE;AAGD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,CAsBlE"}
@@ -1,4 +1,4 @@
1
1
  export { generateExpressionText } from './expression-text';
2
- export { generateArgSummary, formatOperandLabel } from './arg-summary';
2
+ export { generateArgSummary, formatOperandLabel, formatVarValPath, CONTEXT_LABEL } from './arg-summary';
3
3
  export { formatValue, formatResultValue, isComplexValue } from './value-formatter';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/formatting/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/formatting/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACxG,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { JsonLogicValue } from '../types';
2
+ export declare const MAX_INLINE_VARS = 2;
3
+ /**
4
+ * The display label for a static var/val read that can collapse into an inline
5
+ * pill, or null if it can't. Covered: a bare string/number path (including `""`,
6
+ * the whole context), and a `val` scope-jump like `{val:[[-1],"x"]}` → "↑x".
7
+ * A `var` with a default value stays wired so the default isn't hidden.
8
+ */
9
+ export declare function staticVarLabel(operand: JsonLogicValue): string | null;
10
+ /**
11
+ * The set of operand indices that should collapse into inline var pills. Empty
12
+ * when there are none or more than MAX_INLINE_VARS (all vars stay wired then).
13
+ */
14
+ export declare function inlineVarIndices(operandArray: JsonLogicValue[]): Set<number>;
15
+ //# sourceMappingURL=inline-vars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-vars.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/inline-vars.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAM/C,eAAO,MAAM,eAAe,IAAI,CAAC;AAIjC;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,GAAG,IAAI,CAyBrE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,cAAc,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAM5E"}
@@ -1,7 +1,7 @@
1
1
  import { JsonLogicValue, ConversionResult } from '../types';
2
2
  export interface JsonLogicToNodesOptions {
3
- /** Enable structure preserve mode for JSON templates with embedded JSONLogic */
4
- preserveStructure?: boolean;
3
+ /** Enable templating mode (multi-key objects compile to output-shaping templates with embedded JSONLogic). */
4
+ templating?: boolean;
5
5
  }
6
6
  export declare function jsonLogicToNodes(expr: JsonLogicValue | null, options?: JsonLogicToNodesOptions): ConversionResult;
7
7
  //# sourceMappingURL=jsonlogic-to-nodes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsonlogic-to-nodes.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/jsonlogic-to-nodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EAGd,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAIlB,MAAM,WAAW,uBAAuB;IACtC,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAGD,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,cAAc,GAAG,IAAI,EAC3B,OAAO,GAAE,uBAA4B,GACpC,gBAAgB,CAelB"}
1
+ {"version":3,"file":"jsonlogic-to-nodes.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/jsonlogic-to-nodes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EAGd,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAIlB,MAAM,WAAW,uBAAuB;IACtC,8GAA8G;IAC9G,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAGD,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,cAAc,GAAG,IAAI,EAC3B,OAAO,GAAE,uBAA4B,GACpC,gBAAgB,CAelB"}
@@ -1,3 +1,4 @@
1
1
  import { LogicNode, LogicEdge } from '../types';
2
- export declare function applyTreeLayout(nodes: LogicNode[], edges?: LogicEdge[]): LogicNode[];
2
+ import { FlowDirection } from '../context/DirectionContextDef';
3
+ export declare function applyTreeLayout(nodes: LogicNode[], edges?: LogicEdge[], direction?: FlowDirection): LogicNode[];
3
4
  //# sourceMappingURL=layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/layout.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAuC,MAAM,UAAU,CAAC;AAmI1F,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CAyEpF"}
1
+ {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/layout.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAiD,MAAM,UAAU,CAAC;AAiBpG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAmMpE,wBAAgB,eAAe,CAC7B,KAAK,EAAE,SAAS,EAAE,EAClB,KAAK,CAAC,EAAE,SAAS,EAAE,EACnB,SAAS,GAAE,aAAsB,GAChC,SAAS,EAAE,CAoGb"}
@@ -1 +1 @@
1
- {"version":3,"file":"node-factory.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/node-factory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,SAAS,EAGT,gBAAgB,EAChB,QAAQ,EACT,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAM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