@goplasmatic/datalogic-ui 4.0.20 → 5.0.0

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 (344) hide show
  1. package/README.md +35 -15
  2. package/dist/components/logic-editor/AutoFitView.d.ts +4 -0
  3. package/dist/components/logic-editor/AutoFitView.d.ts.map +1 -0
  4. package/dist/components/logic-editor/DataLogicEditor.d.ts +4 -0
  5. package/dist/components/logic-editor/DataLogicEditor.d.ts.map +1 -0
  6. package/dist/components/logic-editor/EditorToolbar.d.ts +9 -0
  7. package/dist/components/logic-editor/EditorToolbar.d.ts.map +1 -0
  8. package/dist/components/logic-editor/KeyboardHandler.d.ts +9 -0
  9. package/dist/components/logic-editor/KeyboardHandler.d.ts.map +1 -0
  10. package/dist/components/logic-editor/NodeSelectionHandler.d.ts +14 -0
  11. package/dist/components/logic-editor/NodeSelectionHandler.d.ts.map +1 -0
  12. package/dist/components/logic-editor/UndoRedoToolbar.d.ts +9 -0
  13. package/dist/components/logic-editor/UndoRedoToolbar.d.ts.map +1 -0
  14. package/dist/components/logic-editor/config/categories.d.ts +19 -0
  15. package/dist/components/logic-editor/config/categories.d.ts.map +1 -0
  16. package/dist/components/logic-editor/config/literalPanel.d.ts +6 -0
  17. package/dist/components/logic-editor/config/literalPanel.d.ts.map +1 -0
  18. package/dist/components/logic-editor/config/operators/arithmetic-basic.d.ts +3 -0
  19. package/dist/components/logic-editor/config/operators/arithmetic-basic.d.ts.map +1 -0
  20. package/dist/components/logic-editor/config/operators/arithmetic-functions.d.ts +3 -0
  21. package/dist/components/logic-editor/config/operators/arithmetic-functions.d.ts.map +1 -0
  22. package/dist/components/logic-editor/config/operators/arithmetic.d.ts +12 -0
  23. package/dist/components/logic-editor/config/operators/arithmetic.d.ts.map +1 -0
  24. package/dist/components/logic-editor/config/operators/array-iteration.d.ts +3 -0
  25. package/dist/components/logic-editor/config/operators/array-iteration.d.ts.map +1 -0
  26. package/dist/components/logic-editor/config/operators/array-manipulation.d.ts +3 -0
  27. package/dist/components/logic-editor/config/operators/array-manipulation.d.ts.map +1 -0
  28. package/dist/components/logic-editor/config/operators/array.d.ts +11 -0
  29. package/dist/components/logic-editor/config/operators/array.d.ts.map +1 -0
  30. package/dist/components/logic-editor/config/operators/comparison.d.ts +3 -0
  31. package/dist/components/logic-editor/config/operators/comparison.d.ts.map +1 -0
  32. package/dist/components/logic-editor/config/operators/control.d.ts +3 -0
  33. package/dist/components/logic-editor/config/operators/control.d.ts.map +1 -0
  34. package/dist/components/logic-editor/config/operators/datetime.d.ts +3 -0
  35. package/dist/components/logic-editor/config/operators/datetime.d.ts.map +1 -0
  36. package/dist/components/logic-editor/config/operators/error.d.ts +3 -0
  37. package/dist/components/logic-editor/config/operators/error.d.ts.map +1 -0
  38. package/dist/components/logic-editor/config/operators/index.d.ts +47 -0
  39. package/dist/components/logic-editor/config/operators/index.d.ts.map +1 -0
  40. package/dist/components/logic-editor/config/operators/logical.d.ts +3 -0
  41. package/dist/components/logic-editor/config/operators/logical.d.ts.map +1 -0
  42. package/dist/components/logic-editor/config/operators/string-core.d.ts +3 -0
  43. package/dist/components/logic-editor/config/operators/string-core.d.ts.map +1 -0
  44. package/dist/components/logic-editor/config/operators/string-transform.d.ts +3 -0
  45. package/dist/components/logic-editor/config/operators/string-transform.d.ts.map +1 -0
  46. package/dist/components/logic-editor/config/operators/string.d.ts +16 -0
  47. package/dist/components/logic-editor/config/operators/string.d.ts.map +1 -0
  48. package/dist/components/logic-editor/config/operators/utility.d.ts +3 -0
  49. package/dist/components/logic-editor/config/operators/utility.d.ts.map +1 -0
  50. package/dist/components/logic-editor/config/operators/validation.d.ts +3 -0
  51. package/dist/components/logic-editor/config/operators/validation.d.ts.map +1 -0
  52. package/dist/components/logic-editor/config/operators/variable.d.ts +3 -0
  53. package/dist/components/logic-editor/config/operators/variable.d.ts.map +1 -0
  54. package/dist/components/logic-editor/config/operators.types.d.ts +144 -0
  55. package/dist/components/logic-editor/config/operators.types.d.ts.map +1 -0
  56. package/dist/components/logic-editor/constants/colors.d.ts +7 -0
  57. package/dist/components/logic-editor/constants/colors.d.ts.map +1 -0
  58. package/dist/components/logic-editor/constants/formatting.d.ts +7 -0
  59. package/dist/components/logic-editor/constants/formatting.d.ts.map +1 -0
  60. package/dist/components/logic-editor/constants/handles.d.ts +24 -0
  61. package/dist/components/logic-editor/constants/handles.d.ts.map +1 -0
  62. package/dist/components/logic-editor/constants/index.d.ts +5 -0
  63. package/dist/components/logic-editor/constants/index.d.ts.map +1 -0
  64. package/dist/components/logic-editor/constants/layout.d.ts +41 -0
  65. package/dist/components/logic-editor/constants/layout.d.ts.map +1 -0
  66. package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts +9 -0
  67. package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts.map +1 -0
  68. package/dist/components/logic-editor/context/ConnectedHandlesContextDef.d.ts +3 -0
  69. package/dist/components/logic-editor/context/ConnectedHandlesContextDef.d.ts.map +1 -0
  70. package/dist/components/logic-editor/context/EvaluationContext.d.ts +5 -0
  71. package/dist/components/logic-editor/context/EvaluationContext.d.ts.map +1 -0
  72. package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts +12 -0
  73. package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts.map +1 -0
  74. package/dist/components/logic-editor/context/debugger/context.d.ts +3 -0
  75. package/dist/components/logic-editor/context/debugger/context.d.ts.map +1 -0
  76. package/dist/components/logic-editor/context/debugger/hooks.d.ts +12 -0
  77. package/dist/components/logic-editor/context/debugger/hooks.d.ts.map +1 -0
  78. package/dist/components/logic-editor/context/debugger/index.d.ts +4 -0
  79. package/dist/components/logic-editor/context/debugger/index.d.ts.map +1 -0
  80. package/dist/components/logic-editor/context/debugger/reducer.d.ts +4 -0
  81. package/dist/components/logic-editor/context/debugger/reducer.d.ts.map +1 -0
  82. package/dist/components/logic-editor/context/debugger/types.d.ts +58 -0
  83. package/dist/components/logic-editor/context/debugger/types.d.ts.map +1 -0
  84. package/dist/components/logic-editor/context/editor/EditorContext.d.ts +12 -0
  85. package/dist/components/logic-editor/context/editor/EditorContext.d.ts.map +1 -0
  86. package/dist/components/logic-editor/context/editor/context.d.ts +3 -0
  87. package/dist/components/logic-editor/context/editor/context.d.ts.map +1 -0
  88. package/dist/components/logic-editor/context/editor/hooks.d.ts +30 -0
  89. package/dist/components/logic-editor/context/editor/hooks.d.ts.map +1 -0
  90. package/dist/components/logic-editor/context/editor/index.d.ts +5 -0
  91. package/dist/components/logic-editor/context/editor/index.d.ts.map +1 -0
  92. package/dist/components/logic-editor/context/editor/types.d.ts +108 -0
  93. package/dist/components/logic-editor/context/editor/types.d.ts.map +1 -0
  94. package/dist/components/logic-editor/context/editor/useClipboardState.d.ts +18 -0
  95. package/dist/components/logic-editor/context/editor/useClipboardState.d.ts.map +1 -0
  96. package/dist/components/logic-editor/context/editor/useHistoryState.d.ts +10 -0
  97. package/dist/components/logic-editor/context/editor/useHistoryState.d.ts.map +1 -0
  98. package/dist/components/logic-editor/context/editor/useNodeCreation.d.ts +8 -0
  99. package/dist/components/logic-editor/context/editor/useNodeCreation.d.ts.map +1 -0
  100. package/dist/components/logic-editor/context/editor/useNodeEdgeInsert.d.ts +6 -0
  101. package/dist/components/logic-editor/context/editor/useNodeEdgeInsert.d.ts.map +1 -0
  102. package/dist/components/logic-editor/context/editor/useNodeMutations.d.ts +26 -0
  103. package/dist/components/logic-editor/context/editor/useNodeMutations.d.ts.map +1 -0
  104. package/dist/components/logic-editor/context/editor/useNodeOperations.d.ts +12 -0
  105. package/dist/components/logic-editor/context/editor/useNodeOperations.d.ts.map +1 -0
  106. package/dist/components/logic-editor/context/editor/useSelectionState.d.ts +20 -0
  107. package/dist/components/logic-editor/context/editor/useSelectionState.d.ts.map +1 -0
  108. package/dist/components/logic-editor/context/index.d.ts +7 -0
  109. package/dist/components/logic-editor/context/index.d.ts.map +1 -0
  110. package/dist/components/logic-editor/context/useConnectedHandles.d.ts +3 -0
  111. package/dist/components/logic-editor/context/useConnectedHandles.d.ts.map +1 -0
  112. package/dist/components/logic-editor/context-menu/AddArgumentMenu.d.ts +24 -0
  113. package/dist/components/logic-editor/context-menu/AddArgumentMenu.d.ts.map +1 -0
  114. package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts +23 -0
  115. package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts.map +1 -0
  116. package/dist/components/logic-editor/context-menu/ContextMenu.d.ts +23 -0
  117. package/dist/components/logic-editor/context-menu/ContextMenu.d.ts.map +1 -0
  118. package/dist/components/logic-editor/context-menu/NodeContextMenu.d.ts +15 -0
  119. package/dist/components/logic-editor/context-menu/NodeContextMenu.d.ts.map +1 -0
  120. package/dist/components/logic-editor/context-menu/index.d.ts +5 -0
  121. package/dist/components/logic-editor/context-menu/index.d.ts.map +1 -0
  122. package/dist/components/logic-editor/context-menu/menu-helpers.d.ts +5 -0
  123. package/dist/components/logic-editor/context-menu/menu-helpers.d.ts.map +1 -0
  124. package/dist/components/logic-editor/context-menu/useContextMenuItems.d.ts +10 -0
  125. package/dist/components/logic-editor/context-menu/useContextMenuItems.d.ts.map +1 -0
  126. package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts +3 -0
  127. package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts.map +1 -0
  128. package/dist/components/logic-editor/debugger-controls/index.d.ts +2 -0
  129. package/dist/components/logic-editor/debugger-controls/index.d.ts.map +1 -0
  130. package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts +18 -0
  131. package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts.map +1 -0
  132. package/dist/components/logic-editor/edges/EditableEdge.d.ts +4 -0
  133. package/dist/components/logic-editor/edges/EditableEdge.d.ts.map +1 -0
  134. package/dist/components/logic-editor/edges/index.d.ts +11 -0
  135. package/dist/components/logic-editor/edges/index.d.ts.map +1 -0
  136. package/dist/components/logic-editor/hooks/index.d.ts +11 -0
  137. package/dist/components/logic-editor/hooks/index.d.ts.map +1 -0
  138. package/dist/components/logic-editor/hooks/useContextMenu.d.ts +19 -0
  139. package/dist/components/logic-editor/hooks/useContextMenu.d.ts.map +1 -0
  140. package/dist/components/logic-editor/hooks/useDebugClassName.d.ts +6 -0
  141. package/dist/components/logic-editor/hooks/useDebugClassName.d.ts.map +1 -0
  142. package/dist/components/logic-editor/hooks/useDebugEvaluation.d.ts +16 -0
  143. package/dist/components/logic-editor/hooks/useDebugEvaluation.d.ts.map +1 -0
  144. package/dist/components/logic-editor/hooks/useIsMobile.d.ts +2 -0
  145. package/dist/components/logic-editor/hooks/useIsMobile.d.ts.map +1 -0
  146. package/dist/components/logic-editor/hooks/useLogicEditor.d.ts +26 -0
  147. package/dist/components/logic-editor/hooks/useLogicEditor.d.ts.map +1 -0
  148. package/dist/components/logic-editor/hooks/useNodeCollapse.d.ts +5 -0
  149. package/dist/components/logic-editor/hooks/useNodeCollapse.d.ts.map +1 -0
  150. package/dist/components/logic-editor/hooks/useRecursionCheck.d.ts +29 -0
  151. package/dist/components/logic-editor/hooks/useRecursionCheck.d.ts.map +1 -0
  152. package/dist/components/logic-editor/hooks/useSystemTheme.d.ts +7 -0
  153. package/dist/components/logic-editor/hooks/useSystemTheme.d.ts.map +1 -0
  154. package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts +20 -0
  155. package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts.map +1 -0
  156. package/dist/components/logic-editor/index.d.ts +8 -0
  157. package/dist/components/logic-editor/index.d.ts.map +1 -0
  158. package/dist/components/logic-editor/nodes/CellHandles.d.ts +13 -0
  159. package/dist/components/logic-editor/nodes/CellHandles.d.ts.map +1 -0
  160. package/dist/components/logic-editor/nodes/CellRow.d.ts +8 -0
  161. package/dist/components/logic-editor/nodes/CellRow.d.ts.map +1 -0
  162. package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts +8 -0
  163. package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts.map +1 -0
  164. package/dist/components/logic-editor/nodes/LiteralNode.d.ts +9 -0
  165. package/dist/components/logic-editor/nodes/LiteralNode.d.ts.map +1 -0
  166. package/dist/components/logic-editor/nodes/StructureNode.d.ts +9 -0
  167. package/dist/components/logic-editor/nodes/StructureNode.d.ts.map +1 -0
  168. package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts +9 -0
  169. package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts.map +1 -0
  170. package/dist/components/logic-editor/nodes/index.d.ts +6 -0
  171. package/dist/components/logic-editor/nodes/index.d.ts.map +1 -0
  172. package/dist/components/logic-editor/nodes/nodeTypes.d.ts +3 -0
  173. package/dist/components/logic-editor/nodes/nodeTypes.d.ts.map +1 -0
  174. package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts +10 -0
  175. package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts.map +1 -0
  176. package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts +11 -0
  177. package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts.map +1 -0
  178. package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts +11 -0
  179. package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts.map +1 -0
  180. package/dist/components/logic-editor/nodes/shared/index.d.ts +4 -0
  181. package/dist/components/logic-editor/nodes/shared/index.d.ts.map +1 -0
  182. package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts +9 -0
  183. package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts.map +1 -0
  184. package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts +16 -0
  185. package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts.map +1 -0
  186. package/dist/components/logic-editor/panel-inputs/FieldRenderer.d.ts +17 -0
  187. package/dist/components/logic-editor/panel-inputs/FieldRenderer.d.ts.map +1 -0
  188. package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts +15 -0
  189. package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts.map +1 -0
  190. package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts +14 -0
  191. package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts.map +1 -0
  192. package/dist/components/logic-editor/panel-inputs/PanelRenderer.d.ts +22 -0
  193. package/dist/components/logic-editor/panel-inputs/PanelRenderer.d.ts.map +1 -0
  194. package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts +14 -0
  195. package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts.map +1 -0
  196. package/dist/components/logic-editor/panel-inputs/PathInput.d.ts +14 -0
  197. package/dist/components/logic-editor/panel-inputs/PathInput.d.ts.map +1 -0
  198. package/dist/components/logic-editor/panel-inputs/SectionRenderer.d.ts +21 -0
  199. package/dist/components/logic-editor/panel-inputs/SectionRenderer.d.ts.map +1 -0
  200. package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts +12 -0
  201. package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts.map +1 -0
  202. package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts +12 -0
  203. package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts.map +1 -0
  204. package/dist/components/logic-editor/panel-inputs/TextInput.d.ts +11 -0
  205. package/dist/components/logic-editor/panel-inputs/TextInput.d.ts.map +1 -0
  206. package/dist/components/logic-editor/panel-inputs/index.d.ts +20 -0
  207. package/dist/components/logic-editor/panel-inputs/index.d.ts.map +1 -0
  208. package/dist/components/logic-editor/panel-inputs/visibility.d.ts +10 -0
  209. package/dist/components/logic-editor/panel-inputs/visibility.d.ts.map +1 -0
  210. package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts +14 -0
  211. package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts.map +1 -0
  212. package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts +7 -0
  213. package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts.map +1 -0
  214. package/dist/components/logic-editor/properties-panel/HelpSection.d.ts +8 -0
  215. package/dist/components/logic-editor/properties-panel/HelpSection.d.ts.map +1 -0
  216. package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts +7 -0
  217. package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts.map +1 -0
  218. package/dist/components/logic-editor/properties-panel/index.d.ts +10 -0
  219. package/dist/components/logic-editor/properties-panel/index.d.ts.map +1 -0
  220. package/dist/components/logic-editor/properties-panel/utils/argument-parser.d.ts +52 -0
  221. package/dist/components/logic-editor/properties-panel/utils/argument-parser.d.ts.map +1 -0
  222. package/dist/components/logic-editor/properties-panel/utils/expression-rebuilder.d.ts +6 -0
  223. package/dist/components/logic-editor/properties-panel/utils/expression-rebuilder.d.ts.map +1 -0
  224. package/dist/components/logic-editor/properties-panel/utils/index.d.ts +7 -0
  225. package/dist/components/logic-editor/properties-panel/utils/index.d.ts.map +1 -0
  226. package/dist/components/logic-editor/properties-panel/utils.d.ts +23 -0
  227. package/dist/components/logic-editor/properties-panel/utils.d.ts.map +1 -0
  228. package/dist/components/logic-editor/services/argument-service.d.ts +17 -0
  229. package/dist/components/logic-editor/services/argument-service.d.ts.map +1 -0
  230. package/dist/components/logic-editor/services/index.d.ts +7 -0
  231. package/dist/components/logic-editor/services/index.d.ts.map +1 -0
  232. package/dist/components/logic-editor/services/node-creation-service.d.ts +13 -0
  233. package/dist/components/logic-editor/services/node-creation-service.d.ts.map +1 -0
  234. package/dist/components/logic-editor/services/node-mutation-service.d.ts +14 -0
  235. package/dist/components/logic-editor/services/node-mutation-service.d.ts.map +1 -0
  236. package/dist/components/logic-editor/services/node-transform-service.d.ts +15 -0
  237. package/dist/components/logic-editor/services/node-transform-service.d.ts.map +1 -0
  238. package/dist/components/logic-editor/types/editor.d.ts +146 -0
  239. package/dist/components/logic-editor/types/editor.d.ts.map +1 -0
  240. package/dist/components/logic-editor/types/index.d.ts +5 -0
  241. package/dist/components/logic-editor/types/index.d.ts.map +1 -0
  242. package/dist/components/logic-editor/types/jsonlogic.d.ts +14 -0
  243. package/dist/components/logic-editor/types/jsonlogic.d.ts.map +1 -0
  244. package/dist/components/logic-editor/types/trace.d.ts +43 -0
  245. package/dist/components/logic-editor/types/trace.d.ts.map +1 -0
  246. package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts +9 -0
  247. package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts.map +1 -0
  248. package/dist/components/logic-editor/utils/Icon.d.ts +11 -0
  249. package/dist/components/logic-editor/utils/Icon.d.ts.map +1 -0
  250. package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts +4 -0
  251. package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts.map +1 -0
  252. package/dist/components/logic-editor/utils/converters/index.d.ts +5 -0
  253. package/dist/components/logic-editor/utils/converters/index.d.ts.map +1 -0
  254. package/dist/components/logic-editor/utils/converters/operator-converter.d.ts +5 -0
  255. package/dist/components/logic-editor/utils/converters/operator-converter.d.ts.map +1 -0
  256. package/dist/components/logic-editor/utils/converters/primitive-converter.d.ts +5 -0
  257. package/dist/components/logic-editor/utils/converters/primitive-converter.d.ts.map +1 -0
  258. package/dist/components/logic-editor/utils/converters/structure-converter.d.ts +7 -0
  259. package/dist/components/logic-editor/utils/converters/structure-converter.d.ts.map +1 -0
  260. package/dist/components/logic-editor/utils/converters/switch-converter.d.ts +18 -0
  261. package/dist/components/logic-editor/utils/converters/switch-converter.d.ts.map +1 -0
  262. package/dist/components/logic-editor/utils/converters/types.d.ts +18 -0
  263. package/dist/components/logic-editor/utils/converters/types.d.ts.map +1 -0
  264. package/dist/components/logic-editor/utils/converters/variable-converter.d.ts +8 -0
  265. package/dist/components/logic-editor/utils/converters/variable-converter.d.ts.map +1 -0
  266. package/dist/components/logic-editor/utils/edge-builder.d.ts +8 -0
  267. package/dist/components/logic-editor/utils/edge-builder.d.ts.map +1 -0
  268. package/dist/components/logic-editor/utils/expression-builder.d.ts +16 -0
  269. package/dist/components/logic-editor/utils/expression-builder.d.ts.map +1 -0
  270. package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts +4 -0
  271. package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts.map +1 -0
  272. package/dist/components/logic-editor/utils/formatting/expression-text.d.ts +3 -0
  273. package/dist/components/logic-editor/utils/formatting/expression-text.d.ts.map +1 -0
  274. package/dist/components/logic-editor/utils/formatting/index.d.ts +4 -0
  275. package/dist/components/logic-editor/utils/formatting/index.d.ts.map +1 -0
  276. package/dist/components/logic-editor/utils/formatting/value-formatter.d.ts +5 -0
  277. package/dist/components/logic-editor/utils/formatting/value-formatter.d.ts.map +1 -0
  278. package/dist/components/logic-editor/utils/icons.d.ts +19 -0
  279. package/dist/components/logic-editor/utils/icons.d.ts.map +1 -0
  280. package/dist/components/logic-editor/utils/index.d.ts +13 -0
  281. package/dist/components/logic-editor/utils/index.d.ts.map +1 -0
  282. package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts +7 -0
  283. package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts.map +1 -0
  284. package/dist/components/logic-editor/utils/layout.d.ts +3 -0
  285. package/dist/components/logic-editor/utils/layout.d.ts.map +1 -0
  286. package/dist/components/logic-editor/utils/menu-builder.d.ts +27 -0
  287. package/dist/components/logic-editor/utils/menu-builder.d.ts.map +1 -0
  288. package/dist/components/logic-editor/utils/node-cloning.d.ts +50 -0
  289. package/dist/components/logic-editor/utils/node-cloning.d.ts.map +1 -0
  290. package/dist/components/logic-editor/utils/node-deletion.d.ts +24 -0
  291. package/dist/components/logic-editor/utils/node-deletion.d.ts.map +1 -0
  292. package/dist/components/logic-editor/utils/node-factory.d.ts +42 -0
  293. package/dist/components/logic-editor/utils/node-factory.d.ts.map +1 -0
  294. package/dist/components/logic-editor/utils/node-updaters.d.ts +11 -0
  295. package/dist/components/logic-editor/utils/node-updaters.d.ts.map +1 -0
  296. package/dist/components/logic-editor/utils/nodes-to-jsonlogic.d.ts +13 -0
  297. package/dist/components/logic-editor/utils/nodes-to-jsonlogic.d.ts.map +1 -0
  298. package/dist/components/logic-editor/utils/trace/child-matching.d.ts +13 -0
  299. package/dist/components/logic-editor/utils/trace/child-matching.d.ts.map +1 -0
  300. package/dist/components/logic-editor/utils/trace/evaluation-results.d.ts +15 -0
  301. package/dist/components/logic-editor/utils/trace/evaluation-results.d.ts.map +1 -0
  302. package/dist/components/logic-editor/utils/trace/index.d.ts +7 -0
  303. package/dist/components/logic-editor/utils/trace/index.d.ts.map +1 -0
  304. package/dist/components/logic-editor/utils/trace/inline-mapping.d.ts +6 -0
  305. package/dist/components/logic-editor/utils/trace/inline-mapping.d.ts.map +1 -0
  306. package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts +13 -0
  307. package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts.map +1 -0
  308. package/dist/components/logic-editor/utils/trace/node-creators/index.d.ts +8 -0
  309. package/dist/components/logic-editor/utils/trace/node-creators/index.d.ts.map +1 -0
  310. package/dist/components/logic-editor/utils/trace/node-creators/literal.d.ts +9 -0
  311. package/dist/components/logic-editor/utils/trace/node-creators/literal.d.ts.map +1 -0
  312. package/dist/components/logic-editor/utils/trace/node-creators/operator.d.ts +11 -0
  313. package/dist/components/logic-editor/utils/trace/node-creators/operator.d.ts.map +1 -0
  314. package/dist/components/logic-editor/utils/trace/node-creators/structure.d.ts +12 -0
  315. package/dist/components/logic-editor/utils/trace/node-creators/structure.d.ts.map +1 -0
  316. package/dist/components/logic-editor/utils/trace/node-creators/switch.d.ts +21 -0
  317. package/dist/components/logic-editor/utils/trace/node-creators/switch.d.ts.map +1 -0
  318. package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts +9 -0
  319. package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts.map +1 -0
  320. package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts +12 -0
  321. package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts.map +1 -0
  322. package/dist/components/logic-editor/utils/trace/node-type.d.ts +7 -0
  323. package/dist/components/logic-editor/utils/trace/node-type.d.ts.map +1 -0
  324. package/dist/components/logic-editor/utils/trace/trace-to-nodes.d.ts +7 -0
  325. package/dist/components/logic-editor/utils/trace/trace-to-nodes.d.ts.map +1 -0
  326. package/dist/components/logic-editor/utils/trace/types.d.ts +24 -0
  327. package/dist/components/logic-editor/utils/trace/types.d.ts.map +1 -0
  328. package/dist/components/logic-editor/utils/type-guards.d.ts +8 -0
  329. package/dist/components/logic-editor/utils/type-guards.d.ts.map +1 -0
  330. package/dist/components/logic-editor/utils/type-helpers.d.ts +9 -0
  331. package/dist/components/logic-editor/utils/type-helpers.d.ts.map +1 -0
  332. package/dist/components/logic-editor/utils/visibility.d.ts +3 -0
  333. package/dist/components/logic-editor/utils/visibility.d.ts.map +1 -0
  334. package/dist/datalogic_wasm-CF1jcNAu.js +634 -0
  335. package/dist/datalogic_wasm-Dj9TEPTG.cjs +637 -0
  336. package/dist/index.cjs +868 -388
  337. package/dist/index.js +869 -389
  338. package/dist/lib.d.ts +6 -0
  339. package/dist/lib.d.ts.map +1 -0
  340. package/dist/styles.css +302 -136
  341. package/package.json +37 -33
  342. package/dist/datalogic_wasm-CCIw5iCk.js +0 -380
  343. package/dist/datalogic_wasm-Dv8WyX8m.cjs +0 -383
  344. package/dist/index.d.ts +0 -1
package/README.md CHANGED
@@ -1,6 +1,17 @@
1
1
  # @goplasmatic/datalogic-ui
2
2
 
3
- A React component library for visualizing, debugging, and editing JSONLogic expressions as interactive node-based flow diagrams.
3
+ [![npm](https://img.shields.io/npm/v/@goplasmatic/datalogic-ui)](https://www.npmjs.com/package/@goplasmatic/datalogic-ui)
4
+ [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
5
+
6
+ A React component library for visualizing, debugging, and editing
7
+ JSONLogic expressions as interactive node-based flow diagrams.
8
+
9
+ This is the **React surface** of the
10
+ [`datalogic-rs`](https://github.com/GoPlasmatic/datalogic-rs) monorepo.
11
+ It consumes the WASM binding
12
+ ([`@goplasmatic/datalogic-wasm`](../bindings/wasm/README.md)) for evaluation
13
+ and tracing — for the engine itself and the cross-runtime overview,
14
+ see the [repo README](https://github.com/GoPlasmatic/datalogic-rs#readme).
4
15
 
5
16
  ## Features
6
17
 
@@ -9,7 +20,7 @@ A React component library for visualizing, debugging, and editing JSONLogic expr
9
20
  - Tree-based automatic layout using @dagrejs/dagre
10
21
  - Prop-based modes: read-only visualization, debugging with step-through trace, and full visual editing
11
22
  - Editing mode with node selection, properties panel, context menus, and undo/redo
12
- - Structure preserve mode for JSON templates with embedded JSONLogic
23
+ - Templating mode for JSON templates with embedded JSONLogic
13
24
  - Built-in WASM-based JSONLogic evaluation with execution tracing
14
25
  - Light/dark theme support with system preference detection
15
26
 
@@ -98,8 +109,8 @@ Combine editing with live debugging:
98
109
  | `data` | `unknown` | - | Data context for evaluation. When provided, debugger controls become available |
99
110
  | `theme` | `'light' \| 'dark'` | system | Theme override. If not provided, uses system preference |
100
111
  | `className` | `string` | - | Additional CSS class |
101
- | `preserveStructure` | `boolean` | `false` | Enable structure preserve mode for JSON templates with embedded JSONLogic |
102
- | `onPreserveStructureChange` | `(value: boolean) => void` | - | Callback when preserve structure changes (from toolbar checkbox) |
112
+ | `templating` | `boolean` | `false` | Enable templating mode: multi-key objects and arrays compile to output-shaping templates with embedded JSONLogic |
113
+ | `onTemplatingChange` | `(value: boolean) => void` | - | Callback when templating mode changes (from toolbar checkbox) |
103
114
  | `editable` | `boolean` | `false` | Enable editing: node selection, properties panel, context menus, undo/redo |
104
115
 
105
116
  ## Exports
@@ -156,11 +167,18 @@ The component respects the `data-theme` attribute on parent elements for theming
156
167
 
157
168
  ## Development
158
169
 
170
+ This package lives at `ui/` in the
171
+ [datalogic-rs monorepo](https://github.com/GoPlasmatic/datalogic-rs). It
172
+ depends on a locally-built `@goplasmatic/datalogic-wasm` WASM bundle — see
173
+ [DEVELOPMENT.md](https://github.com/GoPlasmatic/datalogic-rs/blob/main/DEVELOPMENT.md)
174
+ for the full link/install dance. Day-to-day, from the repo root:
175
+
159
176
  ```bash
160
- pnpm install # Install dependencies
161
- pnpm dev:ui # Start development server
162
- pnpm build:ui:lib # Build library for publishing
163
- pnpm lint:ui # Run ESLint
177
+ cd ui
178
+ npm install # install dependencies
179
+ npm run dev # start the dev playground
180
+ npm run build:lib # build the publishable library bundle
181
+ npm run lint # run ESLint
164
182
  ```
165
183
 
166
184
  ## Architecture
@@ -183,7 +201,7 @@ The main component is `DataLogicEditor` which:
183
201
 
184
202
  - **OperatorNode** (UnifiedOperatorNode): Renders all operators with cell-based argument display (and, or, if, var, val, ==, +, etc.)
185
203
  - **LiteralNode**: Renders primitive values (strings, numbers, booleans, null)
186
- - **StructureNode**: Renders JSON objects/arrays in structure preserve mode
204
+ - **StructureNode**: Renders JSON objects/arrays in templating mode
187
205
 
188
206
  ## Tech Stack
189
207
 
@@ -195,18 +213,20 @@ The main component is `DataLogicEditor` which:
195
213
  - lucide-react (icons)
196
214
  - @msgpack/msgpack (data serialization)
197
215
  - fflate (compression)
198
- - @goplasmatic/datalogic (bundled, for WASM evaluation)
216
+ - @goplasmatic/datalogic-wasm (bundled, for WASM evaluation)
199
217
 
200
218
  ## Documentation
201
219
 
202
220
  For complete documentation including all props, customization options, and advanced usage, see the [full documentation](https://goplasmatic.github.io/datalogic-rs/react-ui/installation.html).
203
221
 
204
- ## Links
222
+ ## Learn more
205
223
 
206
- - [GitHub Repository](https://github.com/GoPlasmatic/datalogic-rs)
207
- - [Full Documentation](https://goplasmatic.github.io/datalogic-rs/)
208
- - [Online Playground](https://goplasmatic.github.io/datalogic-rs/playground/)
224
+ - [Repo README](https://github.com/GoPlasmatic/datalogic-rs#readme) — cross-runtime overview, all binding READMEs
225
+ - [WASM binding README](../bindings/wasm/README.md) — `@goplasmatic/datalogic-wasm`, the JS/TS engine this UI consumes
226
+ - [Rust crate README](../crates/datalogic-rs/README.md) — engine design, the 5-tier API model
227
+ - [Full documentation](https://goplasmatic.github.io/datalogic-rs/)
228
+ - [Online playground](https://goplasmatic.github.io/datalogic-rs/playground/)
209
229
 
210
230
  ## License
211
231
 
212
- MIT
232
+ Apache-2.0
@@ -0,0 +1,4 @@
1
+ export declare function AutoFitView({ nodeCount }: {
2
+ nodeCount: number;
3
+ }): null;
4
+ //# sourceMappingURL=AutoFitView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutoFitView.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/AutoFitView.tsx"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,QAc/D"}
@@ -0,0 +1,4 @@
1
+ import { DataLogicEditorProps } from './types';
2
+ export declare function DataLogicEditor({ value, onChange, data, theme: themeProp, className, templating, onTemplatingChange, editable, exampleSuggestions, onSelectExample, }: DataLogicEditorProps): import("react/jsx-runtime").JSX.Element;
3
+ export default DataLogicEditor;
4
+ //# sourceMappingURL=DataLogicEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataLogicEditor.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/DataLogicEditor.tsx"],"names":[],"mappings":"AAUA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AAmB1E,OAAO,oBAAoB,CAAC;AAC5B,OAAO,mBAAmB,CAAC;AA0R3B,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,KAAK,EAAE,SAAS,EAChB,SAAc,EACd,UAAkB,EAClB,kBAAkB,EAClB,QAAgB,EAChB,kBAAkB,EAClB,eAAe,GAChB,EAAE,oBAAoB,2CAgMtB;AAED,eAAe,eAAe,CAAC"}
@@ -0,0 +1,9 @@
1
+ interface EditorToolbarProps {
2
+ isEditMode: boolean;
3
+ hasDebugger: boolean;
4
+ templating: boolean;
5
+ onTemplatingChange?: (value: boolean) => void;
6
+ }
7
+ export declare const EditorToolbar: import('react').MemoExoticComponent<({ isEditMode, hasDebugger, templating, onTemplatingChange, }: EditorToolbarProps) => import("react/jsx-runtime").JSX.Element>;
8
+ export {};
9
+ //# sourceMappingURL=EditorToolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/EditorToolbar.tsx"],"names":[],"mappings":"AAKA,UAAU,kBAAkB;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,eAAO,MAAM,aAAa,qGAKvB,kBAAkB,6CAwBnB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Keyboard Handler Component
3
+ *
4
+ * Handles keyboard shortcuts for the visual editor.
5
+ * Must be placed inside EditorProvider context.
6
+ */
7
+ export declare function KeyboardHandler(): null;
8
+ export default KeyboardHandler;
9
+ //# sourceMappingURL=KeyboardHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyboardHandler.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/KeyboardHandler.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,wBAAgB,eAAe,SA6G9B;AAED,eAAe,eAAe,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * NodeSelectionHandler
3
+ *
4
+ * Bridges ReactFlow's node selection with our EditorContext.
5
+ * Must be used inside both ReactFlowProvider and EditorProvider.
6
+ *
7
+ * Supports multi-select:
8
+ * - Click: Single select
9
+ * - Cmd/Ctrl + Click: Toggle node in selection
10
+ * - Shift + Click: Add to selection
11
+ * - Drag box: Multi-select
12
+ */
13
+ export declare function NodeSelectionHandler(): null;
14
+ //# sourceMappingURL=NodeSelectionHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeSelectionHandler.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/NodeSelectionHandler.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAMH,wBAAgB,oBAAoB,SAqCnC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Undo/Redo Toolbar Component
3
+ *
4
+ * Inline undo/redo buttons for the editor toolbar.
5
+ * Only renders when there are actions to undo or redo.
6
+ */
7
+ export declare const UndoRedoToolbar: import('react').MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element | null>;
8
+ export default UndoRedoToolbar;
9
+ //# sourceMappingURL=UndoRedoToolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UndoRedoToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/UndoRedoToolbar.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,eAAO,MAAM,eAAe,2FA8B1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { CategoryMeta, OperatorCategory } from './operators.types';
2
+ export declare const categories: Record<OperatorCategory, CategoryMeta>;
3
+ /**
4
+ * Get category metadata by name
5
+ */
6
+ export declare function getCategory(name: OperatorCategory): CategoryMeta;
7
+ /**
8
+ * Get all categories as an array
9
+ */
10
+ export declare function getAllCategories(): CategoryMeta[];
11
+ /**
12
+ * Get category icon
13
+ */
14
+ export declare function getCategoryIcon(name: string): string;
15
+ /**
16
+ * Get category color
17
+ */
18
+ export declare function getCategoryColor(name: OperatorCategory): string;
19
+ //# sourceMappingURL=categories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"categories.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/config/categories.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAExE,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,gBAAgB,EAAE,YAAY,CA8E7D,CAAC;AAEF;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,gBAAgB,GAAG,YAAY,CAEhE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,YAAY,EAAE,CAEjD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,gBAAgB,GAAG,MAAM,CAE/D"}
@@ -0,0 +1,6 @@
1
+ import { PanelConfig } from './operators.types';
2
+ /**
3
+ * Panel configuration for editing literal values
4
+ */
5
+ export declare const literalPanelConfig: PanelConfig;
6
+ //# sourceMappingURL=literalPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"literalPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/config/literalPanel.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,WA+FhC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const arithmeticBasicOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=arithmetic-basic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arithmetic-basic.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/arithmetic-basic.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAsR7D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const arithmeticFunctionOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=arithmetic-functions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arithmetic-functions.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/arithmetic-functions.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAgQhE,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Arithmetic Operators
3
+ *
4
+ * Mathematical operations.
5
+ * - Basic: +, -, *, /, %
6
+ * - Aggregate: max, min
7
+ * - Unary: abs, ceil, floor
8
+ */
9
+ export declare const arithmeticOperators: {
10
+ [x: string]: import('../operators.types').Operator;
11
+ };
12
+ //# sourceMappingURL=arithmetic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arithmetic.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/arithmetic.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,eAAO,MAAM,mBAAmB;;CAG/B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const arrayIterationOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=array-iteration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array-iteration.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/array-iteration.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAssB5D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const arrayManipulationOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=array-manipulation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array-manipulation.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/array-manipulation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA2M/D,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Array Operators
3
+ *
4
+ * Array operations and iteration.
5
+ * - Iteration: map, filter, reduce, all, some, none
6
+ * - Manipulation: merge, sort, slice
7
+ */
8
+ export declare const arrayOperators: {
9
+ [x: string]: import('../operators.types').Operator;
10
+ };
11
+ //# sourceMappingURL=array.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/array.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,eAAO,MAAM,cAAc;;CAG1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const comparisonOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=comparison.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comparison.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/comparison.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA2dxD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const controlOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=control.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/control.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAmkBrD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const datetimeOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=datetime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/datetime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA0YtD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const errorOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/error.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA8JnD,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { Operator, OperatorCategory } from '../operators.types';
2
+ import { variableOperators } from './variable';
3
+ import { comparisonOperators } from './comparison';
4
+ import { logicalOperators } from './logical';
5
+ import { arithmeticOperators } from './arithmetic';
6
+ import { controlOperators } from './control';
7
+ import { stringOperators } from './string';
8
+ import { arrayOperators } from './array';
9
+ import { datetimeOperators } from './datetime';
10
+ import { validationOperators } from './validation';
11
+ import { errorOperators } from './error';
12
+ import { utilityOperators } from './utility';
13
+ export { variableOperators, comparisonOperators, logicalOperators, arithmeticOperators, controlOperators, stringOperators, arrayOperators, datetimeOperators, validationOperators, errorOperators, utilityOperators, };
14
+ /**
15
+ * Combined map of all operators by name
16
+ */
17
+ export declare const operators: Record<string, Operator>;
18
+ /**
19
+ * Get an operator by its name
20
+ * @param name - The operator name (e.g., "var", "+", "if")
21
+ * @returns The operator configuration, or undefined if not found
22
+ */
23
+ export declare function getOperator(name: string): Operator | undefined;
24
+ /**
25
+ * Get all operators in a specific category
26
+ * @param category - The category to filter by
27
+ * @returns Array of operators in the category
28
+ */
29
+ export declare function getOperatorsByCategory(category: OperatorCategory): Operator[];
30
+ /**
31
+ * Check if a string is a valid operator name
32
+ * @param name - String to check
33
+ * @returns true if the name is a valid operator
34
+ */
35
+ export declare function isOperator(name: string): boolean;
36
+ /**
37
+ * Get operators grouped by category
38
+ * @returns Map of category to operators
39
+ */
40
+ export declare function getOperatorsGroupedByCategory(): Map<OperatorCategory, Operator[]>;
41
+ /**
42
+ * Search operators by name or description
43
+ * @param query - Search query (case-insensitive)
44
+ * @returns Array of matching operators
45
+ */
46
+ export declare function searchOperators(query: string): Operator[];
47
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAG7C,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,GACjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAY9C,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAE9D;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,QAAQ,EAAE,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEhD;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,IAAI,GAAG,CAAC,gBAAgB,EAAE,QAAQ,EAAE,CAAC,CAUjF;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,EAAE,CASzD"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const logicalOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=logical.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logical.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/logical.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA8SrD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const stringCoreOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=string-core.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string-core.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/string-core.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAmMxD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const stringTransformOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=string-transform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string-transform.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/string-transform.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA4U7D,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * String Operators
3
+ *
4
+ * Text manipulation operations.
5
+ * - cat: Concatenate strings
6
+ * - substr: Extract substring
7
+ * - in: Check if substring exists
8
+ * - length: Get string length
9
+ * - starts_with, ends_with: Check prefix/suffix
10
+ * - upper, lower, trim: Transform strings
11
+ * - split: Split string into array
12
+ */
13
+ export declare const stringOperators: {
14
+ [x: string]: import('../operators.types').Operator;
15
+ };
16
+ //# sourceMappingURL=string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/string.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAKH,eAAO,MAAM,eAAe;;CAG3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const utilityOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=utility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/utility.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA0FrD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const validationOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/validation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAmJxD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Operator } from '../operators.types';
2
+ export declare const variableOperators: Record<string, Operator>;
3
+ //# sourceMappingURL=variable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variable.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/variable.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAwXtD,CAAC"}
@@ -0,0 +1,144 @@
1
+ /**
2
+ * Operator Configuration Types
3
+ *
4
+ * This file defines the TypeScript interfaces for the operator configuration
5
+ * that serves as the single source of truth for all operator documentation
6
+ * and UI rendering.
7
+ */
8
+ export type OperatorCategory = 'variable' | 'comparison' | 'logical' | 'arithmetic' | 'control' | 'string' | 'array' | 'datetime' | 'validation' | 'error' | 'utility';
9
+ export type ArityType = 'nullary' | 'unary' | 'binary' | 'ternary' | 'nary' | 'variadic' | 'chainable' | 'range' | 'special';
10
+ export type ArgType = 'any' | 'number' | 'string' | 'boolean' | 'array' | 'object' | 'expression' | 'path' | 'datetime' | 'duration';
11
+ export interface ArgSpec {
12
+ name: string;
13
+ label: string;
14
+ description?: string;
15
+ type?: ArgType;
16
+ required?: boolean;
17
+ repeatable?: boolean;
18
+ }
19
+ export interface AritySpec {
20
+ type: ArityType;
21
+ min?: number;
22
+ max?: number;
23
+ args?: ArgSpec[];
24
+ }
25
+ export type ReturnType = 'any' | 'number' | 'string' | 'boolean' | 'array' | 'object' | 'null' | 'datetime' | 'duration' | 'number | string' | 'same' | 'never';
26
+ export interface OperatorExample {
27
+ title: string;
28
+ rule: unknown;
29
+ data?: unknown;
30
+ result?: unknown;
31
+ error?: {
32
+ type: string;
33
+ };
34
+ note?: string;
35
+ }
36
+ export interface OperatorHelp {
37
+ summary: string;
38
+ details?: string;
39
+ returnType: ReturnType;
40
+ examples: OperatorExample[];
41
+ notes?: string[];
42
+ seeAlso?: string[];
43
+ }
44
+ export type NodeType = 'operator' | 'variable' | 'literal' | 'decision' | 'vertical' | 'iterator' | 'structure';
45
+ export interface OperatorUIHints {
46
+ icon?: string;
47
+ shortLabel?: string;
48
+ nodeType?: NodeType;
49
+ inlineEditable?: boolean;
50
+ showArgLabels?: boolean;
51
+ collapsible?: boolean;
52
+ scopeJump?: boolean;
53
+ metadata?: boolean;
54
+ datetimeProps?: boolean;
55
+ iteratorContext?: boolean;
56
+ addArgumentLabel?: string;
57
+ }
58
+ export interface Operator {
59
+ name: string;
60
+ label: string;
61
+ category: OperatorCategory;
62
+ description: string;
63
+ arity: AritySpec;
64
+ help: OperatorHelp;
65
+ ui?: OperatorUIHints;
66
+ panel?: PanelConfig;
67
+ }
68
+ export interface OperatorConfig {
69
+ version: string;
70
+ operators: Record<string, Operator>;
71
+ }
72
+ export interface CategoryMeta {
73
+ name: OperatorCategory;
74
+ label: string;
75
+ description: string;
76
+ color: string;
77
+ icon: string;
78
+ }
79
+ /**
80
+ * Input widget types for panel fields
81
+ */
82
+ export type PanelInputType = 'text' | 'textarea' | 'number' | 'boolean' | 'select' | 'path' | 'pathArray' | 'expression' | 'json';
83
+ /**
84
+ * Visibility condition for conditional fields
85
+ */
86
+ export interface VisibilityCondition {
87
+ field: string;
88
+ operator: 'equals' | 'notEquals' | 'exists' | 'notExists';
89
+ value?: unknown;
90
+ }
91
+ /**
92
+ * Select dropdown option
93
+ */
94
+ export interface SelectOption {
95
+ value: string | number | boolean;
96
+ label: string;
97
+ description?: string;
98
+ }
99
+ /**
100
+ * Panel field configuration
101
+ */
102
+ export interface PanelField {
103
+ id: string;
104
+ label: string;
105
+ inputType: PanelInputType;
106
+ helpText?: string;
107
+ placeholder?: string;
108
+ required?: boolean;
109
+ defaultValue?: unknown;
110
+ options?: SelectOption[];
111
+ showWhen?: VisibilityCondition[];
112
+ min?: number;
113
+ max?: number;
114
+ repeatable?: boolean;
115
+ }
116
+ /**
117
+ * Panel section grouping
118
+ */
119
+ export interface PanelSection {
120
+ id: string;
121
+ title?: string;
122
+ fields: PanelField[];
123
+ defaultCollapsed?: boolean;
124
+ showWhen?: VisibilityCondition[];
125
+ }
126
+ /**
127
+ * Iterator context variable
128
+ */
129
+ export interface ContextVariable {
130
+ name: string;
131
+ label: string;
132
+ description: string;
133
+ accessor: 'var' | 'val';
134
+ example: string;
135
+ }
136
+ /**
137
+ * Complete panel configuration
138
+ */
139
+ export interface PanelConfig {
140
+ sections: PanelSection[];
141
+ contextVariables?: ContextVariable[];
142
+ chainable?: boolean;
143
+ }
144
+ //# sourceMappingURL=operators.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operators.types.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/config/operators.types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,7 @@
1
+ import { NodeCategory } from '../types';
2
+ export declare const BRANCH_COLORS: {
3
+ readonly yes: "#22C55E";
4
+ readonly no: "#EF4444";
5
+ };
6
+ export declare const CATEGORY_COLORS: Record<NodeCategory, string>;
7
+ //# sourceMappingURL=colors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/colors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7C,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAGX,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAaxD,CAAC"}