@goplasmatic/datalogic-ui 4.0.19 → 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 (343) 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-Ckkdrc0z.cjs +383 -0
  334. package/dist/datalogic_wasm-daWVf40b.js +380 -0
  335. package/dist/index.cjs +17192 -19117
  336. package/dist/index.js +17604 -22706
  337. package/dist/lib.d.ts +6 -0
  338. package/dist/lib.d.ts.map +1 -0
  339. package/dist/styles.css +1 -0
  340. package/package.json +20 -21
  341. package/dist/datalogic_wasm-CJRUeom8.cjs +0 -470
  342. package/dist/datalogic_wasm-dEsk1ML-.js +0 -373
  343. package/dist/index.d.ts +0 -311
@@ -0,0 +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,IA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pE,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IAEjD,sFAAsF;IACtF,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,kFAAkF;IAClF,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEzB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,uEAAuE;IACvE,yBAAyB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAErD;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CAEpB"}
@@ -0,0 +1,5 @@
1
+ export type { JsonLogicPrimitive, JsonLogicVar, JsonLogicVal, JsonLogicExpression, JsonLogicValue, OperatorCategory, NodeCategory, } from './jsonlogic';
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';
4
+ export { CATEGORY_COLORS } from '../constants/colors';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,14 @@
1
+ export type JsonLogicPrimitive = string | number | boolean | null;
2
+ export interface JsonLogicVar {
3
+ var: string | [string, JsonLogicValue];
4
+ }
5
+ export interface JsonLogicVal {
6
+ val: string;
7
+ }
8
+ export type JsonLogicExpression = {
9
+ [operator: string]: JsonLogicValue | JsonLogicValue[];
10
+ };
11
+ export type JsonLogicValue = JsonLogicPrimitive | JsonLogicPrimitive[] | JsonLogicExpression | JsonLogicValue[];
12
+ export type { OperatorCategory } from '../config/operators.types';
13
+ export type NodeCategory = import('../config/operators.types').OperatorCategory | 'literal';
14
+ //# sourceMappingURL=jsonlogic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonlogic.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/types/jsonlogic.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAGlE,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;CACxC;AAGD,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;CACb;AAGD,MAAM,MAAM,mBAAmB,GAAG;IAChC,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,GAAG,cAAc,EAAE,CAAC;CACvD,CAAC;AAGF,MAAM,MAAM,cAAc,GACtB,kBAAkB,GAClB,kBAAkB,EAAE,GACpB,mBAAmB,GACnB,cAAc,EAAE,CAAC;AAKrB,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIlE,MAAM,MAAM,YAAY,GACpB,OAAO,2BAA2B,EAAE,gBAAgB,GACpD,SAAS,CAAC"}
@@ -0,0 +1,21 @@
1
+ export interface ExpressionNode {
2
+ id: number;
3
+ expression: string;
4
+ children: ExpressionNode[];
5
+ }
6
+ export interface ExecutionStep {
7
+ id: number;
8
+ node_id: number;
9
+ context: unknown;
10
+ result?: unknown;
11
+ error?: string;
12
+ iteration_index?: number;
13
+ iteration_total?: number;
14
+ }
15
+ export interface TracedResult {
16
+ result: unknown;
17
+ expression_tree: ExpressionNode;
18
+ steps: ExecutionStep[];
19
+ error?: string;
20
+ }
21
+ //# sourceMappingURL=trace.d.ts.map
@@ -0,0 +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;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;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;CAChB"}
@@ -0,0 +1,9 @@
1
+ interface ExpressionSyntaxProps {
2
+ text: string;
3
+ }
4
+ /**
5
+ * Expression syntax highlighting component for use in nodes
6
+ */
7
+ export declare const ExpressionSyntax: import('react').MemoExoticComponent<({ text }: ExpressionSyntaxProps) => import("react/jsx-runtime").JSX.Element>;
8
+ export {};
9
+ //# sourceMappingURL=ExpressionSyntax.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { IconName } from './icons';
3
+ interface IconProps {
4
+ name: IconName;
5
+ size?: number;
6
+ className?: string;
7
+ style?: React.CSSProperties;
8
+ }
9
+ export declare function Icon({ name, size, className, style }: IconProps): React.ReactElement;
10
+ export {};
11
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqC1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAwCxC,UAAU,SAAS;IACjB,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,IAAS,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY,CAGzF"}
@@ -0,0 +1,4 @@
1
+ import { JsonLogicValue } from '../../types';
2
+ import { ConversionContext, ConverterFn } from './types';
3
+ export declare function convertIfElse(ifArgs: JsonLogicValue[], context: ConversionContext, convertValue: ConverterFn): string;
4
+ //# sourceMappingURL=if-else-converter.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,5 @@
1
+ import { JsonLogicValue } from '../../types';
2
+ import { ConversionContext } from './types';
3
+ export type { ConversionContext, ParentInfo, ConverterFn } from './types';
4
+ export declare function convertValue(value: JsonLogicValue, context: ConversionContext): string;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AASjD,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG1E,wBAAgB,YAAY,CAC1B,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,iBAAiB,GACzB,MAAM,CA2CR"}
@@ -0,0 +1,5 @@
1
+ import { JsonLogicValue } from '../../types';
2
+ import { ConversionContext, ConverterFn } from './types';
3
+ export declare function convertOperator(operator: string, operandArray: JsonLogicValue[], context: ConversionContext, convertValue: ConverterFn): string;
4
+ export declare function isUnaryOperator(operator: string): boolean;
5
+ //# sourceMappingURL=operator-converter.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,5 @@
1
+ import { JsonLogicValue } from '../../types';
2
+ import { ConversionContext } from './types';
3
+ export declare function convertPrimitive(value: JsonLogicValue, context: ConversionContext): string;
4
+ export declare function convertInvalidObject(value: JsonLogicValue, context: ConversionContext): string;
5
+ //# sourceMappingURL=primitive-converter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"primitive-converter.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/primitive-converter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAKjD,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,iBAAiB,GACzB,MAAM,CAaR;AAGD,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,iBAAiB,GACzB,MAAM,CAoBR"}
@@ -0,0 +1,7 @@
1
+ import { ConversionContext, ConverterFn } from './types';
2
+ /**
3
+ * Convert a data structure (object or array with potential JSONLogic expressions)
4
+ * to a structure node that displays formatted JSON with linked expression branches.
5
+ */
6
+ export declare function convertStructure(value: Record<string, unknown> | unknown[], context: ConversionContext, convertValue: ConverterFn): string;
7
+ //# sourceMappingURL=structure-converter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structure-converter.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/structure-converter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAW9D;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,EAAE,EAC1C,OAAO,EAAE,iBAAiB,EAC1B,YAAY,EAAE,WAAW,GACxB,MAAM,CAqGR"}
@@ -0,0 +1,18 @@
1
+ import { JsonLogicValue } from '../../types';
2
+ import { ConversionContext, ConverterFn } from './types';
3
+ /**
4
+ * Convert switch/match to a single VerticalCellNode with all branches.
5
+ *
6
+ * JSON structure: {"switch": [discriminant, [[case1, result1], [case2, result2], ...], default]}
7
+ *
8
+ * Visual layout:
9
+ * Match → discriminant expression
10
+ * Case → case value (inline or branch)
11
+ * Then → result expression
12
+ * Case → case value
13
+ * Then → result expression
14
+ * ...
15
+ * Default → default expression
16
+ */
17
+ export declare function convertSwitch(operator: string, switchArgs: JsonLogicValue[], context: ConversionContext, convertValue: ConverterFn): string;
18
+ //# sourceMappingURL=switch-converter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-converter.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/switch-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;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,cAAc,EAAE,EAC5B,OAAO,EAAE,iBAAiB,EAC1B,YAAY,EAAE,WAAW,GACxB,MAAM,CAmMR"}
@@ -0,0 +1,18 @@
1
+ import { JsonLogicValue, LogicNode, LogicEdge } from '../../types';
2
+ export interface ConversionContext {
3
+ nodes: LogicNode[];
4
+ edges: LogicEdge[];
5
+ parentId?: string;
6
+ argIndex?: number;
7
+ branchType?: 'yes' | 'no' | 'branch' | 'condition';
8
+ /** Enable structure preserve mode for JSON templates with embedded JSONLogic */
9
+ preserveStructure?: boolean;
10
+ }
11
+ export interface ParentInfo {
12
+ parentId?: string;
13
+ argIndex?: number;
14
+ branchType?: 'yes' | 'no' | 'branch' | 'condition';
15
+ }
16
+ export type ConverterFn = (value: JsonLogicValue, context: ConversionContext) => string;
17
+ export declare function getParentInfo(context: ConversionContext): ParentInfo;
18
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,8 @@
1
+ import { JsonLogicValue } from '../../types';
2
+ import { ConversionContext, ConverterFn } from './types';
3
+ declare const VARIABLE_OPERATORS: readonly ["var", "val", "exists"];
4
+ type VariableOperator = (typeof VARIABLE_OPERATORS)[number];
5
+ export declare function isVariableOperator(operator: string): operator is VariableOperator;
6
+ export declare function convertVariable(operator: VariableOperator, operands: JsonLogicValue, context: ConversionContext, convertValue: ConverterFn): string;
7
+ export {};
8
+ //# sourceMappingURL=variable-converter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variable-converter.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/converters/variable-converter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,aAAa,CAAC;AACzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAW9D,QAAA,MAAM,kBAAkB,mCAAoC,CAAC;AAC7D,KAAK,gBAAgB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAG5D,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,IAAI,gBAAgB,CAEjF;AAGD,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,gBAAgB,EAC1B,QAAQ,EAAE,cAAc,EACxB,OAAO,EAAE,iBAAiB,EAC1B,YAAY,EAAE,WAAW,GACxB,MAAM,CA2GR"}
@@ -0,0 +1,8 @@
1
+ import { LogicNode, LogicEdge } from '../types';
2
+ /**
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.
6
+ */
7
+ export declare function buildEdgesFromNodes(nodes: LogicNode[]): LogicEdge[];
8
+ //# sourceMappingURL=edge-builder.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,16 @@
1
+ import { LogicNode, JsonLogicValue } from '../types';
2
+ /**
3
+ * Get the expression value for a node.
4
+ * Returns the node's expression if available, otherwise constructs it from node data.
5
+ */
6
+ export declare function getNodeExpressionValue(node: LogicNode): JsonLogicValue;
7
+ /**
8
+ * Rebuild an operator node's expression from its children.
9
+ * This is the single source of truth for expression generation.
10
+ *
11
+ * @param operator The operator name (e.g., '+', 'and', 'if')
12
+ * @param childNodes The child nodes that form the operands
13
+ * @returns The rebuilt expression object
14
+ */
15
+ export declare function rebuildOperatorExpression(operator: string, childNodes: LogicNode[]): JsonLogicValue;
16
+ //# sourceMappingURL=expression-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression-builder.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/expression-builder.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EAGf,MAAM,UAAU,CAAC;AAElB;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,SAAS,GAAG,cAAc,CAkBtE;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,SAAS,EAAE,GACtB,cAAc,CAYhB"}
@@ -0,0 +1,4 @@
1
+ import { JsonLogicValue, ArgSummary } from '../../types';
2
+ export declare function generateArgSummary(value: JsonLogicValue): ArgSummary;
3
+ export declare function formatOperandLabel(operand: JsonLogicValue): string;
4
+ //# sourceMappingURL=arg-summary.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,3 @@
1
+ import { JsonLogicValue } from '../../types';
2
+ export declare function generateExpressionText(value: JsonLogicValue, maxLength?: number): string;
3
+ //# sourceMappingURL=expression-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression-text.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/formatting/expression-text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAUlD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,cAAc,EAAE,SAAS,SAAM,GAAG,MAAM,CA2JrF"}
@@ -0,0 +1,4 @@
1
+ export { generateExpressionText } from './expression-text';
2
+ export { generateArgSummary, formatOperandLabel } from './arg-summary';
3
+ export { formatValue, formatResultValue, isComplexValue } from './value-formatter';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,5 @@
1
+ import { JsonLogicValue } from '../../types';
2
+ export declare function formatValue(value: JsonLogicValue): string;
3
+ export declare function formatResultValue(value: unknown): string;
4
+ export declare function isComplexValue(value: unknown): boolean;
5
+ //# sourceMappingURL=value-formatter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"value-formatter.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/formatting/value-formatter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlD,wBAAgB,WAAW,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAYzD;AAGD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAsBxD;AAGD,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAOtD"}
@@ -0,0 +1,19 @@
1
+ import { JsonLogicValue, LiteralNodeData } from '../types';
2
+ export type IconName = 'scale' | 'diamond' | 'calculator' | 'repeat' | 'type' | 'box' | 'git-merge' | 'git-branch' | 'text' | 'hash' | 'toggle-left' | 'toggle-right' | 'check' | 'x' | 'ban' | 'list' | 'calendar' | 'cog' | 'database' | 'boxes' | 'circle-help' | 'circle-x' | 'git-commit-horizontal' | 'search' | 'divide' | 'quote' | 'braces' | 'binary' | 'layers' | 'clock' | 'alert-circle' | 'arrow-up' | 'tag';
3
+ export declare const ITERATOR_ARG_ICONS: Record<string, IconName[]>;
4
+ export declare const TYPE_ICONS: Record<string, IconName>;
5
+ export declare const LITERAL_TYPE_ICONS: Record<LiteralNodeData['valueType'], IconName>;
6
+ export declare const CONTROL_ICONS: {
7
+ ifCondition: IconName;
8
+ elseClause: IconName;
9
+ ifThenElse: IconName;
10
+ orOperator: IconName;
11
+ };
12
+ export declare const VARIABLE_ICONS: {
13
+ var: IconName;
14
+ val: IconName;
15
+ exists: IconName;
16
+ };
17
+ export declare function getOperandTypeIcon(operand: JsonLogicValue): IconName;
18
+ export { Icon } from './Icon';
19
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAIhE,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,SAAS,GACT,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,KAAK,GACL,WAAW,GACX,YAAY,GACZ,MAAM,GACN,MAAM,GACN,aAAa,GACb,cAAc,GACd,OAAO,GACP,GAAG,GACH,KAAK,GACL,MAAM,GACN,UAAU,GACV,KAAK,GACL,UAAU,GACV,OAAO,GACP,aAAa,GACb,UAAU,GACV,uBAAuB,GACvB,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,cAAc,GACd,UAAU,GACV,KAAK,CAAC;AAGV,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,CAOzD,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAW/C,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,QAAQ,CAM7E,CAAC;AAGF,eAAO,MAAM,aAAa;iBACI,QAAQ;gBACG,QAAQ;gBACpB,QAAQ;gBACV,QAAQ;CAClC,CAAC;AAGF,eAAO,MAAM,cAAc;SACX,QAAQ;SACH,QAAQ;YACP,QAAQ;CAC7B,CAAC;AAGF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,cAAc,GAAG,QAAQ,CAsBpE;AAGD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,13 @@
1
+ export { jsonLogicToNodes, type JsonLogicToNodesOptions } from './jsonlogic-to-nodes';
2
+ export { traceToNodes, buildEvaluationResultsFromTrace, traceIdToNodeId, type TraceConversionResult, type TraceToNodesOptions, type TraceContext, type ValueType, type NodeType, type ChildMatch, findMatchingChild, getNextUnusedChild, determineNodeType, mapInlinedChildren, } from './trace';
3
+ export { applyTreeLayout } from './layout';
4
+ export { getHiddenNodeIds } from './visibility';
5
+ export { isPlainObject, isJsonLogicExpression, isDataStructure, getValueType, looksLikeDate, isSimpleOperand, getValueColorClass, } from './type-helpers';
6
+ export { isOperatorNode, isLiteralNode, isStructureNode, isCollapsibleNode, getOperatorNodeData, } from './type-guards';
7
+ export { createLiteralNode, type BuildVariableCellsOptions, buildVariableCells, createVariableNode, createOperatorNode, createEdge, createArgEdge, createBranchEdge, } from './node-factory';
8
+ export { panelValuesToNodeData, havePanelValuesChanged } from './node-updaters';
9
+ export { deleteNodeAndDescendants, getDescendantIds, isRootNode, canDeleteNode, } from './node-deletion';
10
+ export { nodesToJsonLogic, getRootNode } from './nodes-to-jsonlogic';
11
+ export { type CloneResult, cloneNodesWithIdMapping, getDescendants, updateParentChildReference, } from './node-cloning';
12
+ export { capitalizeFirst, type OperatorMenuOptions, buildOperatorSubmenu, } from './menu-builder';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACtF,OAAO,EACL,YAAY,EACZ,+BAA+B,EAC/B,eAAe,EACf,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EACL,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,eAAe,EACf,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,cAAc,EACd,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iBAAiB,EACjB,KAAK,yBAAyB,EAC9B,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,aAAa,EACb,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,wBAAwB,EACxB,gBAAgB,EAChB,UAAU,EACV,aAAa,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EACL,KAAK,WAAW,EAChB,uBAAuB,EACvB,cAAc,EACd,0BAA0B,GAC3B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,eAAe,EACf,KAAK,mBAAmB,EACxB,oBAAoB,GACrB,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { JsonLogicValue, ConversionResult } from '../types';
2
+ export interface JsonLogicToNodesOptions {
3
+ /** Enable structure preserve mode for JSON templates with embedded JSONLogic */
4
+ preserveStructure?: boolean;
5
+ }
6
+ export declare function jsonLogicToNodes(expr: JsonLogicValue | null, options?: JsonLogicToNodesOptions): ConversionResult;
7
+ //# sourceMappingURL=jsonlogic-to-nodes.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,3 @@
1
+ import { LogicNode, LogicEdge } from '../types';
2
+ export declare function applyTreeLayout(nodes: LogicNode[], edges?: LogicEdge[]): LogicNode[];
3
+ //# sourceMappingURL=layout.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,27 @@
1
+ import { MenuItemConfig } from '../context-menu/ContextMenu';
2
+ import { OperatorCategory } from '../config/operators.types';
3
+ /**
4
+ * Capitalize the first letter of a string.
5
+ */
6
+ export declare function capitalizeFirst(str: string): string;
7
+ /**
8
+ * Options for building operator submenus.
9
+ */
10
+ export interface OperatorMenuOptions {
11
+ /** Categories to exclude from the menu */
12
+ excludeCategories?: OperatorCategory[];
13
+ /** Maximum number of operators per category (default: 10) */
14
+ maxPerCategory?: number;
15
+ }
16
+ /**
17
+ * Build operator submenu items grouped by category.
18
+ *
19
+ * This creates a consistent menu structure for selecting operators,
20
+ * with operators grouped into category submenus.
21
+ *
22
+ * @param onSelect - Callback when an operator is selected
23
+ * @param options - Optional configuration
24
+ * @returns Array of menu items for use in ContextMenu
25
+ */
26
+ export declare function buildOperatorSubmenu(onSelect: (operatorName: string) => void, options?: OperatorMenuOptions): MenuItemConfig[];
27
+ //# sourceMappingURL=menu-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-builder.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/menu-builder.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE;;GAEG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEnD;AAoBD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,0CAA0C;IAC1C,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACvC,6DAA6D;IAC7D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,EACxC,OAAO,CAAC,EAAE,mBAAmB,GAC5B,cAAc,EAAE,CA4BlB"}
@@ -0,0 +1,50 @@
1
+ import { LogicNode } from '../types';
2
+ /**
3
+ * Result of cloning nodes with ID remapping
4
+ */
5
+ export interface CloneResult {
6
+ /** The cloned nodes with new IDs */
7
+ nodes: LogicNode[];
8
+ /** Map from old ID to new ID */
9
+ idMap: Map<string, string>;
10
+ /** The new ID of the root node */
11
+ newRootId: string;
12
+ }
13
+ /**
14
+ * Clone a set of nodes with new unique IDs, properly remapping all internal references.
15
+ *
16
+ * This handles:
17
+ * - Generating new UUIDs for each node
18
+ * - Remapping parentId references within the cloned set
19
+ * - Remapping cell branch IDs for operator nodes
20
+ *
21
+ * @param nodes - The nodes to clone (should include the root and all descendants)
22
+ * @param rootId - The ID of the root node in the original set
23
+ * @returns CloneResult with the cloned nodes, ID mapping, and new root ID
24
+ */
25
+ export declare function cloneNodesWithIdMapping(nodes: LogicNode[], rootId: string): CloneResult;
26
+ /**
27
+ * Get all descendants of a node recursively.
28
+ *
29
+ * This traverses the node tree to find all child nodes,
30
+ * handling operator nodes (via cells array).
31
+ *
32
+ * @param nodeId - The ID of the parent node
33
+ * @param allNodes - All nodes in the tree
34
+ * @returns Array of descendant nodes (not including the parent)
35
+ */
36
+ export declare function getDescendants(nodeId: string, allNodes: LogicNode[]): LogicNode[];
37
+ /**
38
+ * Update parent references when replacing a node in the tree.
39
+ *
40
+ * When a node is replaced (e.g., during paste), the parent's
41
+ * cells array needs to be updated to point to the new node ID.
42
+ *
43
+ * @param nodes - The nodes to update
44
+ * @param parentId - The ID of the parent node to update
45
+ * @param oldChildId - The old child ID to replace
46
+ * @param newChildId - The new child ID
47
+ * @returns Updated nodes array
48
+ */
49
+ export declare function updateParentChildReference(nodes: LogicNode[], parentId: string, oldChildId: string, newChildId: string): LogicNode[];
50
+ //# sourceMappingURL=node-cloning.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-cloning.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/node-cloning.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAoB,MAAM,UAAU,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,oCAAoC;IACpC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,gCAAgC;IAChC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,kCAAkC;IAClC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,SAAS,EAAE,EAClB,MAAM,EAAE,MAAM,GACb,WAAW,CAgEb;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,SAAS,EAAE,GACpB,SAAS,EAAE,CAkCb;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,SAAS,EAAE,EAClB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,GACjB,SAAS,EAAE,CAuBb"}
@@ -0,0 +1,24 @@
1
+ import { LogicNode } from '../types';
2
+ /**
3
+ * Delete a node and all its descendants from the node array.
4
+ * Also updates parent references to remove the deleted node.
5
+ *
6
+ * @param nodeId The ID of the node to delete
7
+ * @param nodes The current array of nodes
8
+ * @returns A new array with the node and its descendants removed
9
+ */
10
+ export declare function deleteNodeAndDescendants(nodeId: string, nodes: LogicNode[]): LogicNode[];
11
+ /**
12
+ * Get all descendant node IDs for a given node.
13
+ */
14
+ export declare function getDescendantIds(nodeId: string, nodes: LogicNode[]): Set<string>;
15
+ /**
16
+ * Check if a node is the root node (has no parent)
17
+ */
18
+ export declare function isRootNode(node: LogicNode): boolean;
19
+ /**
20
+ * Check if a node can be deleted.
21
+ * Root nodes cannot be deleted.
22
+ */
23
+ export declare function canDeleteNode(node: LogicNode): boolean;
24
+ //# sourceMappingURL=node-deletion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-deletion.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/node-deletion.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACV,SAAS,EAIV,MAAM,UAAU,CAAC;AAElB;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,SAAS,EAAE,GACjB,SAAS,EAAE,CAoBb;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAmBhF;AA6ID;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAEnD;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAEtD"}
@@ -0,0 +1,42 @@
1
+ import { JsonLogicValue, LogicNode, LogicEdge, OperatorCategory, CellData } from '../types';
2
+ import { IconName } from './icons';
3
+ import { ParentInfo } from './converters/types';
4
+ export declare function createLiteralNode(value: JsonLogicValue, parentInfo?: ParentInfo): LogicNode;
5
+ export interface BuildVariableCellsOptions {
6
+ operator: 'var' | 'val' | 'exists';
7
+ path: string;
8
+ defaultValue?: JsonLogicValue;
9
+ scopeJump?: number;
10
+ pathComponents?: string[];
11
+ }
12
+ export declare function buildVariableCells(options: BuildVariableCellsOptions): CellData[];
13
+ export declare function createVariableNode(operator: 'var' | 'val' | 'exists', path: string, defaultValue: JsonLogicValue | undefined, originalExpr: JsonLogicValue, parentInfo?: ParentInfo, scopeJump?: number, pathComponents?: string[]): LogicNode;
14
+ interface OperatorNodeOptions {
15
+ operator: string;
16
+ category: OperatorCategory;
17
+ label: string;
18
+ icon: IconName;
19
+ cells: CellData[];
20
+ collapsed?: boolean;
21
+ expressionText?: string;
22
+ expression: JsonLogicValue;
23
+ }
24
+ export declare function createOperatorNode(options: OperatorNodeOptions, parentInfo?: ParentInfo): LogicNode;
25
+ interface EdgeOptions {
26
+ source: string;
27
+ target: string;
28
+ sourceHandle?: string;
29
+ targetHandle?: string;
30
+ label?: string;
31
+ className?: string;
32
+ style?: Record<string, string>;
33
+ }
34
+ export declare function createEdge(options: EdgeOptions): LogicEdge;
35
+ export declare function createArgEdge(parentId: string, childId: string, argIndex: number): LogicEdge;
36
+ export declare function createBranchEdge(parentId: string, branchId: string, branchIndex: number, options?: {
37
+ label?: string;
38
+ className?: string;
39
+ style?: Record<string, string>;
40
+ }): LogicEdge;
41
+ export {};
42
+ //# sourceMappingURL=node-factory.d.ts.map
@@ -0,0 +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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,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAGD,wBAAgB,UAAU,CAAC,OAAO,EAAE,WAAW,GAAG,SAAS,CAwB1D;AAGD,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,SAAS,CAO5F;AAGD,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAO,GACnF,SAAS,CAQX"}
@@ -0,0 +1,11 @@
1
+ import { LogicNodeData } from '../types';
2
+ /**
3
+ * Convert panel values back to node data.
4
+ * Updates only the fields that can be edited via the panel.
5
+ */
6
+ export declare function panelValuesToNodeData(currentData: LogicNodeData, panelValues: Record<string, unknown>): LogicNodeData;
7
+ /**
8
+ * Check if panel values have changed compared to node data
9
+ */
10
+ export declare function havePanelValuesChanged(nodeData: LogicNodeData, panelValues: Record<string, unknown>): boolean;
11
+ //# sourceMappingURL=node-updaters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-updaters.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/node-updaters.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,aAAa,EAId,MAAM,UAAU,CAAC;AAGlB;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,aAAa,EAC1B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACnC,aAAa,CAmBf;AA6KD;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACnC,OAAO,CAGT"}
@@ -0,0 +1,13 @@
1
+ import { LogicNode } from '../types';
2
+ import { JsonLogicValue } from '../types/jsonlogic';
3
+ /**
4
+ * Convert a tree of visual nodes back to JSONLogic
5
+ * @param nodes The array of all nodes
6
+ * @returns The JSONLogic expression, or null if no root node
7
+ */
8
+ export declare function nodesToJsonLogic(nodes: LogicNode[]): JsonLogicValue | null;
9
+ /**
10
+ * Get the root node from an array of nodes
11
+ */
12
+ export declare function getRootNode(nodes: LogicNode[]): LogicNode | null;
13
+ //# sourceMappingURL=nodes-to-jsonlogic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nodes-to-jsonlogic.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/utils/nodes-to-jsonlogic.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACV,SAAS,EAKV,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,cAAc,GAAG,IAAI,CAa1E;AA8TD;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,SAAS,GAAG,IAAI,CAGhE"}
@@ -0,0 +1,13 @@
1
+ import { JsonLogicValue } from '../../types';
2
+ import { ExpressionNode } from '../../types/trace';
3
+ import { ChildMatch } from './types';
4
+ /**
5
+ * Find the matching child node for an operand by comparing expressions.
6
+ * Uses deep equality to handle key ordering differences between JS and Rust's BTreeMap.
7
+ */
8
+ export declare function findMatchingChild(operand: JsonLogicValue, children: ExpressionNode[], usedIndices: Set<number>): ChildMatch | null;
9
+ /**
10
+ * Get the next unused child (for positional matching when exact matching fails)
11
+ */
12
+ export declare function getNextUnusedChild(children: ExpressionNode[], usedIndices: Set<number>): ChildMatch | null;
13
+ //# sourceMappingURL=child-matching.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"child-matching.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/utils/trace/child-matching.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAsD1C;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,cAAc,EAAE,EAC1B,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,GACvB,UAAU,GAAG,IAAI,CAoBnB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,cAAc,EAAE,EAC1B,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,GACvB,UAAU,GAAG,IAAI,CAOnB"}