@goplasmatic/datalogic-ui 4.0.20 → 4.0.21

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 (340) hide show
  1. package/dist/components/logic-editor/AutoFitView.d.ts +4 -0
  2. package/dist/components/logic-editor/AutoFitView.d.ts.map +1 -0
  3. package/dist/components/logic-editor/DataLogicEditor.d.ts +4 -0
  4. package/dist/components/logic-editor/DataLogicEditor.d.ts.map +1 -0
  5. package/dist/components/logic-editor/EditorToolbar.d.ts +9 -0
  6. package/dist/components/logic-editor/EditorToolbar.d.ts.map +1 -0
  7. package/dist/components/logic-editor/KeyboardHandler.d.ts +9 -0
  8. package/dist/components/logic-editor/KeyboardHandler.d.ts.map +1 -0
  9. package/dist/components/logic-editor/NodeSelectionHandler.d.ts +14 -0
  10. package/dist/components/logic-editor/NodeSelectionHandler.d.ts.map +1 -0
  11. package/dist/components/logic-editor/UndoRedoToolbar.d.ts +9 -0
  12. package/dist/components/logic-editor/UndoRedoToolbar.d.ts.map +1 -0
  13. package/dist/components/logic-editor/config/categories.d.ts +19 -0
  14. package/dist/components/logic-editor/config/categories.d.ts.map +1 -0
  15. package/dist/components/logic-editor/config/literalPanel.d.ts +6 -0
  16. package/dist/components/logic-editor/config/literalPanel.d.ts.map +1 -0
  17. package/dist/components/logic-editor/config/operators/arithmetic-basic.d.ts +3 -0
  18. package/dist/components/logic-editor/config/operators/arithmetic-basic.d.ts.map +1 -0
  19. package/dist/components/logic-editor/config/operators/arithmetic-functions.d.ts +3 -0
  20. package/dist/components/logic-editor/config/operators/arithmetic-functions.d.ts.map +1 -0
  21. package/dist/components/logic-editor/config/operators/arithmetic.d.ts +12 -0
  22. package/dist/components/logic-editor/config/operators/arithmetic.d.ts.map +1 -0
  23. package/dist/components/logic-editor/config/operators/array-iteration.d.ts +3 -0
  24. package/dist/components/logic-editor/config/operators/array-iteration.d.ts.map +1 -0
  25. package/dist/components/logic-editor/config/operators/array-manipulation.d.ts +3 -0
  26. package/dist/components/logic-editor/config/operators/array-manipulation.d.ts.map +1 -0
  27. package/dist/components/logic-editor/config/operators/array.d.ts +11 -0
  28. package/dist/components/logic-editor/config/operators/array.d.ts.map +1 -0
  29. package/dist/components/logic-editor/config/operators/comparison.d.ts +3 -0
  30. package/dist/components/logic-editor/config/operators/comparison.d.ts.map +1 -0
  31. package/dist/components/logic-editor/config/operators/control.d.ts +3 -0
  32. package/dist/components/logic-editor/config/operators/control.d.ts.map +1 -0
  33. package/dist/components/logic-editor/config/operators/datetime.d.ts +3 -0
  34. package/dist/components/logic-editor/config/operators/datetime.d.ts.map +1 -0
  35. package/dist/components/logic-editor/config/operators/error.d.ts +3 -0
  36. package/dist/components/logic-editor/config/operators/error.d.ts.map +1 -0
  37. package/dist/components/logic-editor/config/operators/index.d.ts +47 -0
  38. package/dist/components/logic-editor/config/operators/index.d.ts.map +1 -0
  39. package/dist/components/logic-editor/config/operators/logical.d.ts +3 -0
  40. package/dist/components/logic-editor/config/operators/logical.d.ts.map +1 -0
  41. package/dist/components/logic-editor/config/operators/string-core.d.ts +3 -0
  42. package/dist/components/logic-editor/config/operators/string-core.d.ts.map +1 -0
  43. package/dist/components/logic-editor/config/operators/string-transform.d.ts +3 -0
  44. package/dist/components/logic-editor/config/operators/string-transform.d.ts.map +1 -0
  45. package/dist/components/logic-editor/config/operators/string.d.ts +16 -0
  46. package/dist/components/logic-editor/config/operators/string.d.ts.map +1 -0
  47. package/dist/components/logic-editor/config/operators/utility.d.ts +3 -0
  48. package/dist/components/logic-editor/config/operators/utility.d.ts.map +1 -0
  49. package/dist/components/logic-editor/config/operators/validation.d.ts +3 -0
  50. package/dist/components/logic-editor/config/operators/validation.d.ts.map +1 -0
  51. package/dist/components/logic-editor/config/operators/variable.d.ts +3 -0
  52. package/dist/components/logic-editor/config/operators/variable.d.ts.map +1 -0
  53. package/dist/components/logic-editor/config/operators.types.d.ts +144 -0
  54. package/dist/components/logic-editor/config/operators.types.d.ts.map +1 -0
  55. package/dist/components/logic-editor/constants/colors.d.ts +7 -0
  56. package/dist/components/logic-editor/constants/colors.d.ts.map +1 -0
  57. package/dist/components/logic-editor/constants/formatting.d.ts +7 -0
  58. package/dist/components/logic-editor/constants/formatting.d.ts.map +1 -0
  59. package/dist/components/logic-editor/constants/handles.d.ts +24 -0
  60. package/dist/components/logic-editor/constants/handles.d.ts.map +1 -0
  61. package/dist/components/logic-editor/constants/index.d.ts +5 -0
  62. package/dist/components/logic-editor/constants/index.d.ts.map +1 -0
  63. package/dist/components/logic-editor/constants/layout.d.ts +41 -0
  64. package/dist/components/logic-editor/constants/layout.d.ts.map +1 -0
  65. package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts +9 -0
  66. package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts.map +1 -0
  67. package/dist/components/logic-editor/context/ConnectedHandlesContextDef.d.ts +3 -0
  68. package/dist/components/logic-editor/context/ConnectedHandlesContextDef.d.ts.map +1 -0
  69. package/dist/components/logic-editor/context/EvaluationContext.d.ts +5 -0
  70. package/dist/components/logic-editor/context/EvaluationContext.d.ts.map +1 -0
  71. package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts +12 -0
  72. package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts.map +1 -0
  73. package/dist/components/logic-editor/context/debugger/context.d.ts +3 -0
  74. package/dist/components/logic-editor/context/debugger/context.d.ts.map +1 -0
  75. package/dist/components/logic-editor/context/debugger/hooks.d.ts +12 -0
  76. package/dist/components/logic-editor/context/debugger/hooks.d.ts.map +1 -0
  77. package/dist/components/logic-editor/context/debugger/index.d.ts +4 -0
  78. package/dist/components/logic-editor/context/debugger/index.d.ts.map +1 -0
  79. package/dist/components/logic-editor/context/debugger/reducer.d.ts +4 -0
  80. package/dist/components/logic-editor/context/debugger/reducer.d.ts.map +1 -0
  81. package/dist/components/logic-editor/context/debugger/types.d.ts +58 -0
  82. package/dist/components/logic-editor/context/debugger/types.d.ts.map +1 -0
  83. package/dist/components/logic-editor/context/editor/EditorContext.d.ts +12 -0
  84. package/dist/components/logic-editor/context/editor/EditorContext.d.ts.map +1 -0
  85. package/dist/components/logic-editor/context/editor/context.d.ts +3 -0
  86. package/dist/components/logic-editor/context/editor/context.d.ts.map +1 -0
  87. package/dist/components/logic-editor/context/editor/hooks.d.ts +30 -0
  88. package/dist/components/logic-editor/context/editor/hooks.d.ts.map +1 -0
  89. package/dist/components/logic-editor/context/editor/index.d.ts +5 -0
  90. package/dist/components/logic-editor/context/editor/index.d.ts.map +1 -0
  91. package/dist/components/logic-editor/context/editor/types.d.ts +108 -0
  92. package/dist/components/logic-editor/context/editor/types.d.ts.map +1 -0
  93. package/dist/components/logic-editor/context/editor/useClipboardState.d.ts +18 -0
  94. package/dist/components/logic-editor/context/editor/useClipboardState.d.ts.map +1 -0
  95. package/dist/components/logic-editor/context/editor/useHistoryState.d.ts +10 -0
  96. package/dist/components/logic-editor/context/editor/useHistoryState.d.ts.map +1 -0
  97. package/dist/components/logic-editor/context/editor/useNodeCreation.d.ts +8 -0
  98. package/dist/components/logic-editor/context/editor/useNodeCreation.d.ts.map +1 -0
  99. package/dist/components/logic-editor/context/editor/useNodeEdgeInsert.d.ts +6 -0
  100. package/dist/components/logic-editor/context/editor/useNodeEdgeInsert.d.ts.map +1 -0
  101. package/dist/components/logic-editor/context/editor/useNodeMutations.d.ts +26 -0
  102. package/dist/components/logic-editor/context/editor/useNodeMutations.d.ts.map +1 -0
  103. package/dist/components/logic-editor/context/editor/useNodeOperations.d.ts +12 -0
  104. package/dist/components/logic-editor/context/editor/useNodeOperations.d.ts.map +1 -0
  105. package/dist/components/logic-editor/context/editor/useSelectionState.d.ts +20 -0
  106. package/dist/components/logic-editor/context/editor/useSelectionState.d.ts.map +1 -0
  107. package/dist/components/logic-editor/context/index.d.ts +7 -0
  108. package/dist/components/logic-editor/context/index.d.ts.map +1 -0
  109. package/dist/components/logic-editor/context/useConnectedHandles.d.ts +3 -0
  110. package/dist/components/logic-editor/context/useConnectedHandles.d.ts.map +1 -0
  111. package/dist/components/logic-editor/context-menu/AddArgumentMenu.d.ts +24 -0
  112. package/dist/components/logic-editor/context-menu/AddArgumentMenu.d.ts.map +1 -0
  113. package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts +23 -0
  114. package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts.map +1 -0
  115. package/dist/components/logic-editor/context-menu/ContextMenu.d.ts +23 -0
  116. package/dist/components/logic-editor/context-menu/ContextMenu.d.ts.map +1 -0
  117. package/dist/components/logic-editor/context-menu/NodeContextMenu.d.ts +15 -0
  118. package/dist/components/logic-editor/context-menu/NodeContextMenu.d.ts.map +1 -0
  119. package/dist/components/logic-editor/context-menu/index.d.ts +5 -0
  120. package/dist/components/logic-editor/context-menu/index.d.ts.map +1 -0
  121. package/dist/components/logic-editor/context-menu/menu-helpers.d.ts +5 -0
  122. package/dist/components/logic-editor/context-menu/menu-helpers.d.ts.map +1 -0
  123. package/dist/components/logic-editor/context-menu/useContextMenuItems.d.ts +10 -0
  124. package/dist/components/logic-editor/context-menu/useContextMenuItems.d.ts.map +1 -0
  125. package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts +3 -0
  126. package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts.map +1 -0
  127. package/dist/components/logic-editor/debugger-controls/index.d.ts +2 -0
  128. package/dist/components/logic-editor/debugger-controls/index.d.ts.map +1 -0
  129. package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts +18 -0
  130. package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts.map +1 -0
  131. package/dist/components/logic-editor/edges/EditableEdge.d.ts +4 -0
  132. package/dist/components/logic-editor/edges/EditableEdge.d.ts.map +1 -0
  133. package/dist/components/logic-editor/edges/index.d.ts +11 -0
  134. package/dist/components/logic-editor/edges/index.d.ts.map +1 -0
  135. package/dist/components/logic-editor/hooks/index.d.ts +11 -0
  136. package/dist/components/logic-editor/hooks/index.d.ts.map +1 -0
  137. package/dist/components/logic-editor/hooks/useContextMenu.d.ts +19 -0
  138. package/dist/components/logic-editor/hooks/useContextMenu.d.ts.map +1 -0
  139. package/dist/components/logic-editor/hooks/useDebugClassName.d.ts +6 -0
  140. package/dist/components/logic-editor/hooks/useDebugClassName.d.ts.map +1 -0
  141. package/dist/components/logic-editor/hooks/useDebugEvaluation.d.ts +16 -0
  142. package/dist/components/logic-editor/hooks/useDebugEvaluation.d.ts.map +1 -0
  143. package/dist/components/logic-editor/hooks/useIsMobile.d.ts +2 -0
  144. package/dist/components/logic-editor/hooks/useIsMobile.d.ts.map +1 -0
  145. package/dist/components/logic-editor/hooks/useLogicEditor.d.ts +26 -0
  146. package/dist/components/logic-editor/hooks/useLogicEditor.d.ts.map +1 -0
  147. package/dist/components/logic-editor/hooks/useNodeCollapse.d.ts +5 -0
  148. package/dist/components/logic-editor/hooks/useNodeCollapse.d.ts.map +1 -0
  149. package/dist/components/logic-editor/hooks/useRecursionCheck.d.ts +29 -0
  150. package/dist/components/logic-editor/hooks/useRecursionCheck.d.ts.map +1 -0
  151. package/dist/components/logic-editor/hooks/useSystemTheme.d.ts +7 -0
  152. package/dist/components/logic-editor/hooks/useSystemTheme.d.ts.map +1 -0
  153. package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts +15 -0
  154. package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts.map +1 -0
  155. package/dist/components/logic-editor/index.d.ts +8 -0
  156. package/dist/components/logic-editor/index.d.ts.map +1 -0
  157. package/dist/components/logic-editor/nodes/CellHandles.d.ts +13 -0
  158. package/dist/components/logic-editor/nodes/CellHandles.d.ts.map +1 -0
  159. package/dist/components/logic-editor/nodes/CellRow.d.ts +8 -0
  160. package/dist/components/logic-editor/nodes/CellRow.d.ts.map +1 -0
  161. package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts +8 -0
  162. package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts.map +1 -0
  163. package/dist/components/logic-editor/nodes/LiteralNode.d.ts +9 -0
  164. package/dist/components/logic-editor/nodes/LiteralNode.d.ts.map +1 -0
  165. package/dist/components/logic-editor/nodes/StructureNode.d.ts +9 -0
  166. package/dist/components/logic-editor/nodes/StructureNode.d.ts.map +1 -0
  167. package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts +9 -0
  168. package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts.map +1 -0
  169. package/dist/components/logic-editor/nodes/index.d.ts +6 -0
  170. package/dist/components/logic-editor/nodes/index.d.ts.map +1 -0
  171. package/dist/components/logic-editor/nodes/nodeTypes.d.ts +3 -0
  172. package/dist/components/logic-editor/nodes/nodeTypes.d.ts.map +1 -0
  173. package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts +10 -0
  174. package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts.map +1 -0
  175. package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts +11 -0
  176. package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts.map +1 -0
  177. package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts +11 -0
  178. package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts.map +1 -0
  179. package/dist/components/logic-editor/nodes/shared/index.d.ts +4 -0
  180. package/dist/components/logic-editor/nodes/shared/index.d.ts.map +1 -0
  181. package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts +9 -0
  182. package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts.map +1 -0
  183. package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts +16 -0
  184. package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts.map +1 -0
  185. package/dist/components/logic-editor/panel-inputs/FieldRenderer.d.ts +17 -0
  186. package/dist/components/logic-editor/panel-inputs/FieldRenderer.d.ts.map +1 -0
  187. package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts +15 -0
  188. package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts.map +1 -0
  189. package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts +14 -0
  190. package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts.map +1 -0
  191. package/dist/components/logic-editor/panel-inputs/PanelRenderer.d.ts +22 -0
  192. package/dist/components/logic-editor/panel-inputs/PanelRenderer.d.ts.map +1 -0
  193. package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts +14 -0
  194. package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts.map +1 -0
  195. package/dist/components/logic-editor/panel-inputs/PathInput.d.ts +14 -0
  196. package/dist/components/logic-editor/panel-inputs/PathInput.d.ts.map +1 -0
  197. package/dist/components/logic-editor/panel-inputs/SectionRenderer.d.ts +21 -0
  198. package/dist/components/logic-editor/panel-inputs/SectionRenderer.d.ts.map +1 -0
  199. package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts +12 -0
  200. package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts.map +1 -0
  201. package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts +12 -0
  202. package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts.map +1 -0
  203. package/dist/components/logic-editor/panel-inputs/TextInput.d.ts +11 -0
  204. package/dist/components/logic-editor/panel-inputs/TextInput.d.ts.map +1 -0
  205. package/dist/components/logic-editor/panel-inputs/index.d.ts +20 -0
  206. package/dist/components/logic-editor/panel-inputs/index.d.ts.map +1 -0
  207. package/dist/components/logic-editor/panel-inputs/visibility.d.ts +10 -0
  208. package/dist/components/logic-editor/panel-inputs/visibility.d.ts.map +1 -0
  209. package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts +14 -0
  210. package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts.map +1 -0
  211. package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts +7 -0
  212. package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts.map +1 -0
  213. package/dist/components/logic-editor/properties-panel/HelpSection.d.ts +8 -0
  214. package/dist/components/logic-editor/properties-panel/HelpSection.d.ts.map +1 -0
  215. package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts +7 -0
  216. package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts.map +1 -0
  217. package/dist/components/logic-editor/properties-panel/index.d.ts +10 -0
  218. package/dist/components/logic-editor/properties-panel/index.d.ts.map +1 -0
  219. package/dist/components/logic-editor/properties-panel/utils/argument-parser.d.ts +52 -0
  220. package/dist/components/logic-editor/properties-panel/utils/argument-parser.d.ts.map +1 -0
  221. package/dist/components/logic-editor/properties-panel/utils/expression-rebuilder.d.ts +6 -0
  222. package/dist/components/logic-editor/properties-panel/utils/expression-rebuilder.d.ts.map +1 -0
  223. package/dist/components/logic-editor/properties-panel/utils/index.d.ts +7 -0
  224. package/dist/components/logic-editor/properties-panel/utils/index.d.ts.map +1 -0
  225. package/dist/components/logic-editor/properties-panel/utils.d.ts +23 -0
  226. package/dist/components/logic-editor/properties-panel/utils.d.ts.map +1 -0
  227. package/dist/components/logic-editor/services/argument-service.d.ts +17 -0
  228. package/dist/components/logic-editor/services/argument-service.d.ts.map +1 -0
  229. package/dist/components/logic-editor/services/index.d.ts +7 -0
  230. package/dist/components/logic-editor/services/index.d.ts.map +1 -0
  231. package/dist/components/logic-editor/services/node-creation-service.d.ts +13 -0
  232. package/dist/components/logic-editor/services/node-creation-service.d.ts.map +1 -0
  233. package/dist/components/logic-editor/services/node-mutation-service.d.ts +14 -0
  234. package/dist/components/logic-editor/services/node-mutation-service.d.ts.map +1 -0
  235. package/dist/components/logic-editor/services/node-transform-service.d.ts +15 -0
  236. package/dist/components/logic-editor/services/node-transform-service.d.ts.map +1 -0
  237. package/dist/components/logic-editor/types/editor.d.ts +134 -0
  238. package/dist/components/logic-editor/types/editor.d.ts.map +1 -0
  239. package/dist/components/logic-editor/types/index.d.ts +5 -0
  240. package/dist/components/logic-editor/types/index.d.ts.map +1 -0
  241. package/dist/components/logic-editor/types/jsonlogic.d.ts +14 -0
  242. package/dist/components/logic-editor/types/jsonlogic.d.ts.map +1 -0
  243. package/dist/components/logic-editor/types/trace.d.ts +21 -0
  244. package/dist/components/logic-editor/types/trace.d.ts.map +1 -0
  245. package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts +9 -0
  246. package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts.map +1 -0
  247. package/dist/components/logic-editor/utils/Icon.d.ts +11 -0
  248. package/dist/components/logic-editor/utils/Icon.d.ts.map +1 -0
  249. package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts +4 -0
  250. package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts.map +1 -0
  251. package/dist/components/logic-editor/utils/converters/index.d.ts +5 -0
  252. package/dist/components/logic-editor/utils/converters/index.d.ts.map +1 -0
  253. package/dist/components/logic-editor/utils/converters/operator-converter.d.ts +5 -0
  254. package/dist/components/logic-editor/utils/converters/operator-converter.d.ts.map +1 -0
  255. package/dist/components/logic-editor/utils/converters/primitive-converter.d.ts +5 -0
  256. package/dist/components/logic-editor/utils/converters/primitive-converter.d.ts.map +1 -0
  257. package/dist/components/logic-editor/utils/converters/structure-converter.d.ts +7 -0
  258. package/dist/components/logic-editor/utils/converters/structure-converter.d.ts.map +1 -0
  259. package/dist/components/logic-editor/utils/converters/switch-converter.d.ts +18 -0
  260. package/dist/components/logic-editor/utils/converters/switch-converter.d.ts.map +1 -0
  261. package/dist/components/logic-editor/utils/converters/types.d.ts +18 -0
  262. package/dist/components/logic-editor/utils/converters/types.d.ts.map +1 -0
  263. package/dist/components/logic-editor/utils/converters/variable-converter.d.ts +8 -0
  264. package/dist/components/logic-editor/utils/converters/variable-converter.d.ts.map +1 -0
  265. package/dist/components/logic-editor/utils/edge-builder.d.ts +8 -0
  266. package/dist/components/logic-editor/utils/edge-builder.d.ts.map +1 -0
  267. package/dist/components/logic-editor/utils/expression-builder.d.ts +16 -0
  268. package/dist/components/logic-editor/utils/expression-builder.d.ts.map +1 -0
  269. package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts +4 -0
  270. package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts.map +1 -0
  271. package/dist/components/logic-editor/utils/formatting/expression-text.d.ts +3 -0
  272. package/dist/components/logic-editor/utils/formatting/expression-text.d.ts.map +1 -0
  273. package/dist/components/logic-editor/utils/formatting/index.d.ts +4 -0
  274. package/dist/components/logic-editor/utils/formatting/index.d.ts.map +1 -0
  275. package/dist/components/logic-editor/utils/formatting/value-formatter.d.ts +5 -0
  276. package/dist/components/logic-editor/utils/formatting/value-formatter.d.ts.map +1 -0
  277. package/dist/components/logic-editor/utils/icons.d.ts +19 -0
  278. package/dist/components/logic-editor/utils/icons.d.ts.map +1 -0
  279. package/dist/components/logic-editor/utils/index.d.ts +13 -0
  280. package/dist/components/logic-editor/utils/index.d.ts.map +1 -0
  281. package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts +7 -0
  282. package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts.map +1 -0
  283. package/dist/components/logic-editor/utils/layout.d.ts +3 -0
  284. package/dist/components/logic-editor/utils/layout.d.ts.map +1 -0
  285. package/dist/components/logic-editor/utils/menu-builder.d.ts +27 -0
  286. package/dist/components/logic-editor/utils/menu-builder.d.ts.map +1 -0
  287. package/dist/components/logic-editor/utils/node-cloning.d.ts +50 -0
  288. package/dist/components/logic-editor/utils/node-cloning.d.ts.map +1 -0
  289. package/dist/components/logic-editor/utils/node-deletion.d.ts +24 -0
  290. package/dist/components/logic-editor/utils/node-deletion.d.ts.map +1 -0
  291. package/dist/components/logic-editor/utils/node-factory.d.ts +42 -0
  292. package/dist/components/logic-editor/utils/node-factory.d.ts.map +1 -0
  293. package/dist/components/logic-editor/utils/node-updaters.d.ts +11 -0
  294. package/dist/components/logic-editor/utils/node-updaters.d.ts.map +1 -0
  295. package/dist/components/logic-editor/utils/nodes-to-jsonlogic.d.ts +13 -0
  296. package/dist/components/logic-editor/utils/nodes-to-jsonlogic.d.ts.map +1 -0
  297. package/dist/components/logic-editor/utils/trace/child-matching.d.ts +13 -0
  298. package/dist/components/logic-editor/utils/trace/child-matching.d.ts.map +1 -0
  299. package/dist/components/logic-editor/utils/trace/evaluation-results.d.ts +15 -0
  300. package/dist/components/logic-editor/utils/trace/evaluation-results.d.ts.map +1 -0
  301. package/dist/components/logic-editor/utils/trace/index.d.ts +7 -0
  302. package/dist/components/logic-editor/utils/trace/index.d.ts.map +1 -0
  303. package/dist/components/logic-editor/utils/trace/inline-mapping.d.ts +6 -0
  304. package/dist/components/logic-editor/utils/trace/inline-mapping.d.ts.map +1 -0
  305. package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts +13 -0
  306. package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts.map +1 -0
  307. package/dist/components/logic-editor/utils/trace/node-creators/index.d.ts +8 -0
  308. package/dist/components/logic-editor/utils/trace/node-creators/index.d.ts.map +1 -0
  309. package/dist/components/logic-editor/utils/trace/node-creators/literal.d.ts +9 -0
  310. package/dist/components/logic-editor/utils/trace/node-creators/literal.d.ts.map +1 -0
  311. package/dist/components/logic-editor/utils/trace/node-creators/operator.d.ts +11 -0
  312. package/dist/components/logic-editor/utils/trace/node-creators/operator.d.ts.map +1 -0
  313. package/dist/components/logic-editor/utils/trace/node-creators/structure.d.ts +12 -0
  314. package/dist/components/logic-editor/utils/trace/node-creators/structure.d.ts.map +1 -0
  315. package/dist/components/logic-editor/utils/trace/node-creators/switch.d.ts +21 -0
  316. package/dist/components/logic-editor/utils/trace/node-creators/switch.d.ts.map +1 -0
  317. package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts +9 -0
  318. package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts.map +1 -0
  319. package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts +12 -0
  320. package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts.map +1 -0
  321. package/dist/components/logic-editor/utils/trace/node-type.d.ts +7 -0
  322. package/dist/components/logic-editor/utils/trace/node-type.d.ts.map +1 -0
  323. package/dist/components/logic-editor/utils/trace/trace-to-nodes.d.ts +7 -0
  324. package/dist/components/logic-editor/utils/trace/trace-to-nodes.d.ts.map +1 -0
  325. package/dist/components/logic-editor/utils/trace/types.d.ts +24 -0
  326. package/dist/components/logic-editor/utils/trace/types.d.ts.map +1 -0
  327. package/dist/components/logic-editor/utils/type-guards.d.ts +8 -0
  328. package/dist/components/logic-editor/utils/type-guards.d.ts.map +1 -0
  329. package/dist/components/logic-editor/utils/type-helpers.d.ts +9 -0
  330. package/dist/components/logic-editor/utils/type-helpers.d.ts.map +1 -0
  331. package/dist/components/logic-editor/utils/visibility.d.ts +3 -0
  332. package/dist/components/logic-editor/utils/visibility.d.ts.map +1 -0
  333. package/dist/{datalogic_wasm-Dv8WyX8m.cjs → datalogic_wasm-Ckkdrc0z.cjs} +2 -2
  334. package/dist/{datalogic_wasm-CCIw5iCk.js → datalogic_wasm-daWVf40b.js} +2 -2
  335. package/dist/index.cjs +1 -1
  336. package/dist/index.js +1 -1
  337. package/dist/lib.d.ts +6 -0
  338. package/dist/lib.d.ts.map +1 -0
  339. package/package.json +7 -6
  340. package/dist/index.d.ts +0 -1
@@ -0,0 +1,14 @@
1
+ interface NumberInputProps {
2
+ id: string;
3
+ value: number | undefined;
4
+ onChange: (value: number | undefined) => void;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ required?: boolean;
8
+ min?: number;
9
+ max?: number;
10
+ step?: number;
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>;
13
+ export {};
14
+ //# sourceMappingURL=NumberInput.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,22 @@
1
+ import { PanelConfig } from '../config/operators.types';
2
+ interface PanelRendererProps {
3
+ config: PanelConfig;
4
+ values: Record<string, unknown>;
5
+ onChange: (fieldId: string, value: unknown) => void;
6
+ disabled?: boolean;
7
+ }
8
+ export interface PanelRendererRef {
9
+ focusField: (fieldId?: string) => void;
10
+ }
11
+ /**
12
+ * Renders a complete panel configuration.
13
+ * This is the main entry point for rendering operator/literal panels.
14
+ *
15
+ * Features:
16
+ * - Renders all sections from the config
17
+ * - Displays context variables hint for iterator operators
18
+ * - Displays chainable hint for comparison operators
19
+ */
20
+ export declare const PanelRenderer: import('react').NamedExoticComponent<PanelRendererProps & import('react').RefAttributes<PanelRendererRef>>;
21
+ export {};
22
+ //# sourceMappingURL=PanelRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PanelRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/PanelRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAmB,MAAM,2BAA2B,CAAC;AAE9E,OAAO,oBAAoB,CAAC;AAE5B,UAAU,kBAAkB;IAC1B,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,4GAiEvB,CAAC"}
@@ -0,0 +1,14 @@
1
+ interface PathArrayInputProps {
2
+ id: string;
3
+ value: string[];
4
+ onChange: (value: string[]) => void;
5
+ disabled?: boolean;
6
+ required?: boolean;
7
+ }
8
+ /**
9
+ * Input for array-style paths with editable segments.
10
+ * Renders as a list of path components that can be added/removed.
11
+ */
12
+ export declare const PathArrayInput: import('react').MemoExoticComponent<({ id, value, onChange, disabled, }: PathArrayInputProps) => import("react/jsx-runtime").JSX.Element>;
13
+ export {};
14
+ //# sourceMappingURL=PathArrayInput.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,14 @@
1
+ interface PathInputProps {
2
+ id: string;
3
+ value: string;
4
+ onChange: (value: string) => void;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ required?: boolean;
8
+ }
9
+ /**
10
+ * Input for dot-notation paths (e.g., "user.profile.name")
11
+ */
12
+ export declare const PathInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, }: PathInputProps) => import("react/jsx-runtime").JSX.Element>;
13
+ export {};
14
+ //# sourceMappingURL=PathInput.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,21 @@
1
+ import { PanelSection } from '../config/operators.types';
2
+ interface SectionRendererProps {
3
+ section: PanelSection;
4
+ values: Record<string, unknown>;
5
+ onChange: (fieldId: string, value: unknown) => void;
6
+ disabled?: boolean;
7
+ }
8
+ export interface SectionRendererRef {
9
+ focusField: (fieldId: string) => void;
10
+ focusFirstField: () => void;
11
+ }
12
+ /**
13
+ * Renders a panel section with its title and fields.
14
+ * Handles:
15
+ * - Section-level visibility (showWhen)
16
+ * - Field-level visibility (showWhen)
17
+ * - Collapsible sections (defaultCollapsed)
18
+ */
19
+ export declare const SectionRenderer: import('react').NamedExoticComponent<SectionRendererProps & import('react').RefAttributes<SectionRendererRef>>;
20
+ export {};
21
+ //# sourceMappingURL=SectionRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/SectionRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAI9D,UAAU,oBAAoB;IAC5B,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,gHA2GzB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { SelectOption } from '../config/operators.types';
2
+ interface SelectInputProps {
3
+ id: string;
4
+ value: string | number | boolean;
5
+ onChange: (value: string | number | boolean) => void;
6
+ options: SelectOption[];
7
+ disabled?: boolean;
8
+ required?: boolean;
9
+ }
10
+ export declare const SelectInput: import('react').MemoExoticComponent<({ id, value, onChange, options, disabled, required, }: SelectInputProps) => import("react/jsx-runtime").JSX.Element>;
11
+ export {};
12
+ //# sourceMappingURL=SelectInput.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,12 @@
1
+ interface TextAreaInputProps {
2
+ id: string;
3
+ value: string;
4
+ onChange: (value: string) => void;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ required?: boolean;
8
+ rows?: number;
9
+ }
10
+ export declare const TextAreaInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, rows, }: TextAreaInputProps) => import("react/jsx-runtime").JSX.Element>;
11
+ export {};
12
+ //# sourceMappingURL=TextAreaInput.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,11 @@
1
+ interface TextInputProps {
2
+ id: string;
3
+ value: string;
4
+ onChange: (value: string) => void;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ required?: boolean;
8
+ }
9
+ export declare const TextInput: import('react').MemoExoticComponent<({ id, value, onChange, placeholder, disabled, required, }: TextInputProps) => import("react/jsx-runtime").JSX.Element>;
10
+ export {};
11
+ //# sourceMappingURL=TextInput.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Panel Input Components
3
+ *
4
+ * Reusable input components for the Properties Panel.
5
+ * Each component corresponds to a PanelInputType from operators.types.ts.
6
+ */
7
+ export { TextInput } from './TextInput';
8
+ export { TextAreaInput } from './TextAreaInput';
9
+ export { NumberInput } from './NumberInput';
10
+ export { BooleanInput } from './BooleanInput';
11
+ export { SelectInput } from './SelectInput';
12
+ export { PathInput } from './PathInput';
13
+ export { PathArrayInput } from './PathArrayInput';
14
+ export { ExpressionInput } from './ExpressionInput';
15
+ export { JsonInput } from './JsonInput';
16
+ export { FieldRenderer, type FieldRendererRef } from './FieldRenderer';
17
+ export { SectionRenderer, type SectionRendererRef } from './SectionRenderer';
18
+ export { PanelRenderer, type PanelRendererRef } from './PanelRenderer';
19
+ export { evaluateCondition, evaluateConditions } from './visibility';
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGvE,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { VisibilityCondition } from '../config/operators.types';
2
+ /**
3
+ * Evaluates a single visibility condition against the current form values.
4
+ */
5
+ export declare function evaluateCondition(condition: VisibilityCondition, values: Record<string, unknown>): boolean;
6
+ /**
7
+ * Evaluates multiple visibility conditions (AND logic - all must be true).
8
+ */
9
+ export declare function evaluateConditions(conditions: VisibilityCondition[] | undefined, values: Record<string, unknown>): boolean;
10
+ //# sourceMappingURL=visibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visibility.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/visibility.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAErE;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,mBAAmB,EAC9B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,OAAO,CAmBT;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,mBAAmB,EAAE,GAAG,SAAS,EAC7C,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,OAAO,CAMT"}
@@ -0,0 +1,14 @@
1
+ import { LiteralNodeData, JsonLogicValue } from '../types';
2
+ import { ArgumentInfo } from './utils/argument-parser';
3
+ interface ArgumentItemProps {
4
+ arg: ArgumentInfo;
5
+ isVariableArity: boolean;
6
+ canRemoveArg: boolean;
7
+ onSelect: (childId: string) => void;
8
+ onRemove: (argIndex: number) => void;
9
+ onLiteralChange: (childId: string, value: JsonLogicValue, valueType: LiteralNodeData['valueType']) => void;
10
+ onInlineLiteralChange: (argIndex: number, value: JsonLogicValue) => void;
11
+ }
12
+ export declare const ArgumentItem: import('react').MemoExoticComponent<({ arg, isVariableArity, canRemoveArg, onSelect, onRemove, onLiteralChange, onInlineLiteralChange, }: ArgumentItemProps) => import("react/jsx-runtime").JSX.Element>;
13
+ export {};
14
+ //# sourceMappingURL=ArgumentItem.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,7 @@
1
+ import { LogicNode } from '../types';
2
+ interface ArgumentsSectionProps {
3
+ node: LogicNode;
4
+ }
5
+ export declare const ArgumentsSection: import('react').MemoExoticComponent<({ node, }: ArgumentsSectionProps) => import("react/jsx-runtime").JSX.Element | null>;
6
+ export {};
7
+ //# sourceMappingURL=ArgumentsSection.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,8 @@
1
+ import { OperatorHelp, AritySpec } from '../config/operators.types';
2
+ interface HelpSectionProps {
3
+ help: OperatorHelp;
4
+ arity: AritySpec;
5
+ }
6
+ export declare const HelpSection: import('react').MemoExoticComponent<({ help, arity, }: HelpSectionProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export {};
8
+ //# sourceMappingURL=HelpSection.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,7 @@
1
+ interface PropertiesPanelProps {
2
+ /** Width of the panel in pixels */
3
+ width?: number;
4
+ }
5
+ export declare const PropertiesPanel: import('react').MemoExoticComponent<({ width, }: PropertiesPanelProps) => import("react/jsx-runtime").JSX.Element | null>;
6
+ export {};
7
+ //# sourceMappingURL=PropertiesPanel.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Properties Panel Components
3
+ *
4
+ * The right-side panel for viewing and editing node properties in edit mode.
5
+ */
6
+ export { PropertiesPanel } from './PropertiesPanel';
7
+ export { HelpSection } from './HelpSection';
8
+ export { ArgumentsSection } from './ArgumentsSection';
9
+ export { type ArgumentInfo, supportsVariableArgs, hasArguments, getOperatorName, isSimpleLiteral, getLiteralType, formatNodeValue, extractArguments, } from './utils/argument-parser';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,KAAK,YAAY,EACjB,oBAAoB,EACpB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,cAAc,EACd,eAAe,EACf,gBAAgB,GACjB,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { LogicNode, LiteralNodeData, JsonLogicValue, OperatorNodeData } from '../../types';
2
+ import { Operator } from '../../config/operators.types';
3
+ /**
4
+ * Represents an argument that may be inline (literal) or a linked node
5
+ */
6
+ export interface ArgumentInfo {
7
+ index: number;
8
+ isInline: boolean;
9
+ /** For inline literals */
10
+ value?: JsonLogicValue;
11
+ valueType?: LiteralNodeData['valueType'];
12
+ /** For linked nodes */
13
+ childNode?: LogicNode;
14
+ childId?: string;
15
+ /** Row label from cell (e.g., 'If', 'Then', 'Else If', 'Else', 'Path') */
16
+ rowLabel?: string;
17
+ /** Field identifier from editable cell (e.g., 'path', 'scopeLevel') */
18
+ fieldId?: string;
19
+ /** Field input type from editable cell (e.g., 'text', 'number') */
20
+ fieldType?: string;
21
+ /** Placeholder text from editable cell */
22
+ placeholder?: string;
23
+ }
24
+ /**
25
+ * Check if an operator supports variable arguments
26
+ */
27
+ export declare function supportsVariableArgs(opConfig: Operator | undefined): boolean;
28
+ /**
29
+ * Check if an operator has arguments (any non-nullary operator)
30
+ */
31
+ export declare function hasArguments(opConfig: Operator | undefined): boolean;
32
+ /**
33
+ * Get the operator name from node data
34
+ */
35
+ export declare function getOperatorName(data: LogicNode['data']): string | null;
36
+ /**
37
+ * Check if a value is a simple literal (not an expression)
38
+ */
39
+ export declare function isSimpleLiteral(value: JsonLogicValue): boolean;
40
+ /**
41
+ * Get the value type for a literal
42
+ */
43
+ export declare function getLiteralType(value: JsonLogicValue): LiteralNodeData['valueType'];
44
+ /**
45
+ * Format a node value for display
46
+ */
47
+ export declare function formatNodeValue(node: LogicNode): string;
48
+ /**
49
+ * Extract arguments from operator node data (cells-based)
50
+ */
51
+ export declare function extractArguments(opData: OperatorNodeData, childNodeMap: Map<string, LogicNode>): ArgumentInfo[];
52
+ //# sourceMappingURL=argument-parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"argument-parser.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/properties-panel/utils/argument-parser.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAChG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC,uBAAuB;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,CAS5E;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,CAGpE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,IAAI,CAGtE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAM9D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,GAAG,eAAe,CAAC,WAAW,CAAC,CAOlF;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAoBvD;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,gBAAgB,EACxB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,GACnC,YAAY,EAAE,CA4EhB"}
@@ -0,0 +1,6 @@
1
+ import { JsonLogicValue, CellData } from '../../types';
2
+ /**
3
+ * Rebuild expression for variable operators (var, val, exists) from editable cell values
4
+ */
5
+ export declare function rebuildVariableExpression(operator: string, cells: CellData[]): JsonLogicValue;
6
+ //# sourceMappingURL=expression-rebuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression-rebuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/properties-panel/utils/expression-rebuilder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5D;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,cAAc,CAgD7F"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Properties Panel Utilities
3
+ *
4
+ * Re-exports utilities for the properties panel.
5
+ */
6
+ export { type ArgumentInfo, supportsVariableArgs, hasArguments, getOperatorName, isSimpleLiteral, getLiteralType, formatNodeValue, extractArguments, } from './argument-parser';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/properties-panel/utils/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,KAAK,YAAY,EACjB,oBAAoB,EACpB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,cAAc,EACd,eAAe,EACf,gBAAgB,GACjB,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { LogicNodeData } from '../types';
2
+ import { Operator, PanelConfig } from '../config/operators.types';
3
+ /**
4
+ * Get the panel configuration for a node
5
+ */
6
+ export declare function getPanelConfigForNode(data: LogicNodeData): PanelConfig | null;
7
+ /**
8
+ * Get the operator config for a node (if applicable)
9
+ */
10
+ export declare function getOperatorConfigForNode(data: LogicNodeData): Operator | null;
11
+ /**
12
+ * Extract initial panel values from node data
13
+ */
14
+ export declare function getInitialValuesFromNode(data: LogicNodeData): Record<string, unknown>;
15
+ /**
16
+ * Get a display label for a node
17
+ */
18
+ export declare function getNodeDisplayLabel(data: LogicNodeData): string;
19
+ /**
20
+ * Get the category for a node
21
+ */
22
+ export declare function getNodeCategory(data: LogicNodeData): string | null;
23
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/properties-panel/utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAwD,MAAM,UAAU,CAAC;AACpG,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAIvE;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,aAAa,GAAG,WAAW,GAAG,IAAI,CAW7E;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,aAAa,GAAG,QAAQ,GAAG,IAAI,CAO7E;AAWD;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAWrF;AA6DD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,CAW/D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAWlE"}
@@ -0,0 +1,17 @@
1
+ import { LogicNode } from '../types';
2
+ /**
3
+ * Result of adding an argument
4
+ */
5
+ export interface AddArgumentResult {
6
+ nodes: LogicNode[];
7
+ newNodeId: string;
8
+ }
9
+ /**
10
+ * Add an argument to an operator node (unified cells-based logic)
11
+ */
12
+ export declare function addArgument(nodes: LogicNode[], parentId: string, nodeType: 'literal' | 'variable' | 'operator', operatorName?: string): AddArgumentResult | null;
13
+ /**
14
+ * Remove an argument from an operator node (unified cells-based logic)
15
+ */
16
+ export declare function removeArgument(nodes: LogicNode[], parentId: string, argIndex: number): LogicNode[] | null;
17
+ //# sourceMappingURL=argument-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"argument-service.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/services/argument-service.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EACV,SAAS,EAKV,MAAM,UAAU,CAAC;AAKlB;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,SAAS,EAAE,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,EAC7C,YAAY,CAAC,EAAE,MAAM,GACpB,iBAAiB,GAAG,IAAI,CA8E1B;AA4LD;;GAEG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,SAAS,EAAE,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,SAAS,EAAE,GAAG,IAAI,CAsEpB"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Services Index
3
+ *
4
+ * Re-exports all editor services for convenient imports.
5
+ */
6
+ export { addArgument, removeArgument, wrapInOperator, duplicateNodeTree, type AddArgumentResult, } from './node-mutation-service';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/services/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,WAAW,EACX,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,KAAK,iBAAiB,GACvB,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { LogicNode } from '../types';
2
+ /**
3
+ * Get default value based on parent operator category
4
+ */
5
+ export declare function getDefaultValueForCategory(category: string): {
6
+ value: unknown;
7
+ valueType: 'number' | 'string' | 'boolean' | 'null';
8
+ };
9
+ /**
10
+ * Create a new argument node based on type
11
+ */
12
+ export declare function createArgumentNode(nodeType: 'literal' | 'variable' | 'operator', parentId: string, argIndex: number, category: string, operatorName?: string): LogicNode[];
13
+ //# sourceMappingURL=node-creation-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-creation-service.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/services/node-creation-service.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EACV,SAAS,EAGV,MAAM,UAAU,CAAC;AAIlB;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,MAAM,GACf;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;CAAE,CAezE;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,EAC7C,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,MAAM,GACpB,SAAS,EAAE,CAiFb"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Node Mutation Service
3
+ *
4
+ * Barrel file that re-exports all node mutation functions.
5
+ * The actual implementations are split across:
6
+ * - node-creation-service.ts (node creation helpers)
7
+ * - argument-service.ts (add/remove arguments)
8
+ * - node-transform-service.ts (wrap/duplicate operations)
9
+ */
10
+ export { getDefaultValueForCategory, createArgumentNode } from './node-creation-service';
11
+ export { addArgument, removeArgument, type AddArgumentResult } from './argument-service';
12
+ export { wrapInOperator, duplicateNodeTree } from './node-transform-service';
13
+ export { cloneNodesWithIdMapping, getDescendants, updateParentChildReference } from '../utils/node-cloning';
14
+ //# sourceMappingURL=node-mutation-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-mutation-service.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/services/node-mutation-service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { LogicNode } from '../types';
2
+ import { cloneNodesWithIdMapping, getDescendants, updateParentChildReference } from '../utils/node-cloning';
3
+ /**
4
+ * Wrap a node in an operator
5
+ */
6
+ export declare function wrapInOperator(nodes: LogicNode[], nodeId: string, operator: string): LogicNode[] | null;
7
+ /**
8
+ * Duplicate a node and its descendants
9
+ */
10
+ export declare function duplicateNodeTree(nodes: LogicNode[], nodeId: string): {
11
+ nodes: LogicNode[];
12
+ newRootId: string;
13
+ } | null;
14
+ export { cloneNodesWithIdMapping, getDescendants, updateParentChildReference };
15
+ //# sourceMappingURL=node-transform-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-transform-service.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/services/node-transform-service.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EACV,SAAS,EAEV,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAE5G;;GAEG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,SAAS,EAAE,EAClB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,GACf,SAAS,EAAE,GAAG,IAAI,CA+DpB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,SAAS,EAAE,EAClB,MAAM,EAAE,MAAM,GACb;IAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAmDlD;AAGD,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,0BAA0B,EAAE,CAAC"}
@@ -0,0 +1,134 @@
1
+ import { Node, Edge } from '@xyflow/react';
2
+ import { OperatorCategory, JsonLogicValue } from './jsonlogic';
3
+ import { IconName } from '../utils/icons';
4
+ import { TracedResult } from './trace';
5
+ export type VisualNodeType = 'operator' | 'literal' | 'structure';
6
+ export interface BaseNodeData extends Record<string, unknown> {
7
+ type: VisualNodeType;
8
+ parentId?: string;
9
+ argIndex?: number;
10
+ branchType?: 'yes' | 'no' | 'branch' | 'condition';
11
+ expression?: JsonLogicValue;
12
+ }
13
+ export interface ArgSummary {
14
+ icon: IconName;
15
+ label: string;
16
+ valueType: 'string' | 'number' | 'boolean' | 'null' | 'array' | 'date' | 'expression';
17
+ }
18
+ export interface OperatorNodeData extends BaseNodeData {
19
+ type: 'operator';
20
+ operator: string;
21
+ category: OperatorCategory;
22
+ label: string;
23
+ icon: IconName;
24
+ cells: CellData[];
25
+ collapsed?: boolean;
26
+ expressionText?: string;
27
+ }
28
+ export interface LiteralNodeData extends BaseNodeData {
29
+ type: 'literal';
30
+ value: JsonLogicValue;
31
+ valueType: 'string' | 'number' | 'boolean' | 'null' | 'array';
32
+ }
33
+ export interface CellData {
34
+ type: 'inline' | 'branch' | 'editable';
35
+ rowLabel?: string;
36
+ label?: string;
37
+ icon?: IconName;
38
+ branchId?: string;
39
+ index: number;
40
+ summary?: ArgSummary;
41
+ conditionBranchId?: string;
42
+ thenBranchId?: string;
43
+ conditionText?: string;
44
+ thenText?: string;
45
+ fieldId?: string;
46
+ fieldType?: 'text' | 'number' | 'select';
47
+ value?: unknown;
48
+ placeholder?: string;
49
+ }
50
+ export interface VariableNodeData extends OperatorNodeData {
51
+ path?: string;
52
+ defaultValue?: JsonLogicValue;
53
+ scopeJump?: number;
54
+ pathComponents?: string[];
55
+ }
56
+ export interface StructureElement {
57
+ type: 'inline' | 'expression';
58
+ path: string[];
59
+ key?: string;
60
+ value?: JsonLogicValue;
61
+ branchId?: string;
62
+ startOffset: number;
63
+ endOffset: number;
64
+ }
65
+ export interface StructureNodeData extends BaseNodeData {
66
+ type: 'structure';
67
+ isArray: boolean;
68
+ formattedJson: string;
69
+ elements: StructureElement[];
70
+ collapsed?: boolean;
71
+ expressionText?: string;
72
+ }
73
+ export type LogicNodeData = OperatorNodeData | LiteralNodeData | StructureNodeData;
74
+ export type LogicNode = Node<LogicNodeData>;
75
+ export type LogicEdge = Edge;
76
+ export interface EditorState {
77
+ nodes: LogicNode[];
78
+ edges: LogicEdge[];
79
+ selectedNodeId: string | null;
80
+ editingNodeId: string | null;
81
+ }
82
+ export interface ConversionResult {
83
+ nodes: LogicNode[];
84
+ edges: LogicEdge[];
85
+ rootId: string | null;
86
+ }
87
+ export interface NodeEvaluationResult {
88
+ value: unknown;
89
+ error: string | null;
90
+ type: 'boolean' | 'number' | 'string' | 'null' | 'array' | 'object' | 'undefined';
91
+ }
92
+ export type EvaluationResultsMap = Map<string, NodeEvaluationResult>;
93
+ export interface LogicEditorProps {
94
+ value: JsonLogicValue | null;
95
+ onChange: (expr: JsonLogicValue | null) => void;
96
+ readOnly?: boolean;
97
+ className?: string;
98
+ evaluationResults?: EvaluationResultsMap;
99
+ /** Data object for debug evaluation */
100
+ debugData?: unknown;
101
+ /** Evaluate function from WASM - if provided, enables debug mode */
102
+ evaluate?: (logic: unknown, data: unknown) => unknown;
103
+ /** Evaluate with trace function from WASM - if provided, uses trace API for diagram rendering */
104
+ evaluateWithTrace?: (logic: unknown, data: unknown) => TracedResult;
105
+ }
106
+ /**
107
+ * Props for the DataLogicEditor component (public API)
108
+ */
109
+ export interface DataLogicEditorProps {
110
+ /** JSONLogic expression to render */
111
+ value: JsonLogicValue | null;
112
+ /** Callback when expression changes (only when editable is true) */
113
+ onChange?: (expr: JsonLogicValue | null) => void;
114
+ /** Data context for evaluation. When provided, debugger controls become available. */
115
+ data?: unknown;
116
+ /** Theme override - 'light' or 'dark'. If not provided, uses system preference */
117
+ theme?: 'light' | 'dark';
118
+ /** Additional CSS class */
119
+ className?: string;
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.
124
+ */
125
+ preserveStructure?: boolean;
126
+ /** Callback when preserve structure changes (from toolbar checkbox) */
127
+ onPreserveStructureChange?: (value: boolean) => void;
128
+ /**
129
+ * Enable editing: node selection, properties panel, context menus, undo/redo.
130
+ * Default: false
131
+ */
132
+ editable?: boolean;
133
+ }
134
+ //# sourceMappingURL=editor.d.ts.map