@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.
- package/dist/components/logic-editor/AutoFitView.d.ts +4 -0
- package/dist/components/logic-editor/AutoFitView.d.ts.map +1 -0
- package/dist/components/logic-editor/DataLogicEditor.d.ts +4 -0
- package/dist/components/logic-editor/DataLogicEditor.d.ts.map +1 -0
- package/dist/components/logic-editor/EditorToolbar.d.ts +9 -0
- package/dist/components/logic-editor/EditorToolbar.d.ts.map +1 -0
- package/dist/components/logic-editor/KeyboardHandler.d.ts +9 -0
- package/dist/components/logic-editor/KeyboardHandler.d.ts.map +1 -0
- package/dist/components/logic-editor/NodeSelectionHandler.d.ts +14 -0
- package/dist/components/logic-editor/NodeSelectionHandler.d.ts.map +1 -0
- package/dist/components/logic-editor/UndoRedoToolbar.d.ts +9 -0
- package/dist/components/logic-editor/UndoRedoToolbar.d.ts.map +1 -0
- package/dist/components/logic-editor/config/categories.d.ts +19 -0
- package/dist/components/logic-editor/config/categories.d.ts.map +1 -0
- package/dist/components/logic-editor/config/literalPanel.d.ts +6 -0
- package/dist/components/logic-editor/config/literalPanel.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/arithmetic-basic.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/arithmetic-basic.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/arithmetic-functions.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/arithmetic-functions.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/arithmetic.d.ts +12 -0
- package/dist/components/logic-editor/config/operators/arithmetic.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/array-iteration.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/array-iteration.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/array-manipulation.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/array-manipulation.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/array.d.ts +11 -0
- package/dist/components/logic-editor/config/operators/array.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/comparison.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/comparison.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/control.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/control.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/datetime.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/datetime.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/error.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/error.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/index.d.ts +47 -0
- package/dist/components/logic-editor/config/operators/index.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/logical.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/logical.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/string-core.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/string-core.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/string-transform.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/string-transform.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/string.d.ts +16 -0
- package/dist/components/logic-editor/config/operators/string.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/utility.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/utility.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/validation.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/validation.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/variable.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/variable.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators.types.d.ts +144 -0
- package/dist/components/logic-editor/config/operators.types.d.ts.map +1 -0
- package/dist/components/logic-editor/constants/colors.d.ts +7 -0
- package/dist/components/logic-editor/constants/colors.d.ts.map +1 -0
- package/dist/components/logic-editor/constants/formatting.d.ts +7 -0
- package/dist/components/logic-editor/constants/formatting.d.ts.map +1 -0
- package/dist/components/logic-editor/constants/handles.d.ts +24 -0
- package/dist/components/logic-editor/constants/handles.d.ts.map +1 -0
- package/dist/components/logic-editor/constants/index.d.ts +5 -0
- package/dist/components/logic-editor/constants/index.d.ts.map +1 -0
- package/dist/components/logic-editor/constants/layout.d.ts +41 -0
- package/dist/components/logic-editor/constants/layout.d.ts.map +1 -0
- package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts +9 -0
- package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts.map +1 -0
- package/dist/components/logic-editor/context/ConnectedHandlesContextDef.d.ts +3 -0
- package/dist/components/logic-editor/context/ConnectedHandlesContextDef.d.ts.map +1 -0
- package/dist/components/logic-editor/context/EvaluationContext.d.ts +5 -0
- package/dist/components/logic-editor/context/EvaluationContext.d.ts.map +1 -0
- package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts +12 -0
- package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts.map +1 -0
- package/dist/components/logic-editor/context/debugger/context.d.ts +3 -0
- package/dist/components/logic-editor/context/debugger/context.d.ts.map +1 -0
- package/dist/components/logic-editor/context/debugger/hooks.d.ts +12 -0
- package/dist/components/logic-editor/context/debugger/hooks.d.ts.map +1 -0
- package/dist/components/logic-editor/context/debugger/index.d.ts +4 -0
- package/dist/components/logic-editor/context/debugger/index.d.ts.map +1 -0
- package/dist/components/logic-editor/context/debugger/reducer.d.ts +4 -0
- package/dist/components/logic-editor/context/debugger/reducer.d.ts.map +1 -0
- package/dist/components/logic-editor/context/debugger/types.d.ts +58 -0
- package/dist/components/logic-editor/context/debugger/types.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/EditorContext.d.ts +12 -0
- package/dist/components/logic-editor/context/editor/EditorContext.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/context.d.ts +3 -0
- package/dist/components/logic-editor/context/editor/context.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/hooks.d.ts +30 -0
- package/dist/components/logic-editor/context/editor/hooks.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/index.d.ts +5 -0
- package/dist/components/logic-editor/context/editor/index.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/types.d.ts +108 -0
- package/dist/components/logic-editor/context/editor/types.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/useClipboardState.d.ts +18 -0
- package/dist/components/logic-editor/context/editor/useClipboardState.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/useHistoryState.d.ts +10 -0
- package/dist/components/logic-editor/context/editor/useHistoryState.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/useNodeCreation.d.ts +8 -0
- package/dist/components/logic-editor/context/editor/useNodeCreation.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/useNodeEdgeInsert.d.ts +6 -0
- package/dist/components/logic-editor/context/editor/useNodeEdgeInsert.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/useNodeMutations.d.ts +26 -0
- package/dist/components/logic-editor/context/editor/useNodeMutations.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/useNodeOperations.d.ts +12 -0
- package/dist/components/logic-editor/context/editor/useNodeOperations.d.ts.map +1 -0
- package/dist/components/logic-editor/context/editor/useSelectionState.d.ts +20 -0
- package/dist/components/logic-editor/context/editor/useSelectionState.d.ts.map +1 -0
- package/dist/components/logic-editor/context/index.d.ts +7 -0
- package/dist/components/logic-editor/context/index.d.ts.map +1 -0
- package/dist/components/logic-editor/context/useConnectedHandles.d.ts +3 -0
- package/dist/components/logic-editor/context/useConnectedHandles.d.ts.map +1 -0
- package/dist/components/logic-editor/context-menu/AddArgumentMenu.d.ts +24 -0
- package/dist/components/logic-editor/context-menu/AddArgumentMenu.d.ts.map +1 -0
- package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts +23 -0
- package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts.map +1 -0
- package/dist/components/logic-editor/context-menu/ContextMenu.d.ts +23 -0
- package/dist/components/logic-editor/context-menu/ContextMenu.d.ts.map +1 -0
- package/dist/components/logic-editor/context-menu/NodeContextMenu.d.ts +15 -0
- package/dist/components/logic-editor/context-menu/NodeContextMenu.d.ts.map +1 -0
- package/dist/components/logic-editor/context-menu/index.d.ts +5 -0
- package/dist/components/logic-editor/context-menu/index.d.ts.map +1 -0
- package/dist/components/logic-editor/context-menu/menu-helpers.d.ts +5 -0
- package/dist/components/logic-editor/context-menu/menu-helpers.d.ts.map +1 -0
- package/dist/components/logic-editor/context-menu/useContextMenuItems.d.ts +10 -0
- package/dist/components/logic-editor/context-menu/useContextMenuItems.d.ts.map +1 -0
- package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts +3 -0
- package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts.map +1 -0
- package/dist/components/logic-editor/debugger-controls/index.d.ts +2 -0
- package/dist/components/logic-editor/debugger-controls/index.d.ts.map +1 -0
- package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts +18 -0
- package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts.map +1 -0
- package/dist/components/logic-editor/edges/EditableEdge.d.ts +4 -0
- package/dist/components/logic-editor/edges/EditableEdge.d.ts.map +1 -0
- package/dist/components/logic-editor/edges/index.d.ts +11 -0
- package/dist/components/logic-editor/edges/index.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/index.d.ts +11 -0
- package/dist/components/logic-editor/hooks/index.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/useContextMenu.d.ts +19 -0
- package/dist/components/logic-editor/hooks/useContextMenu.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/useDebugClassName.d.ts +6 -0
- package/dist/components/logic-editor/hooks/useDebugClassName.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/useDebugEvaluation.d.ts +16 -0
- package/dist/components/logic-editor/hooks/useDebugEvaluation.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/useIsMobile.d.ts +2 -0
- package/dist/components/logic-editor/hooks/useIsMobile.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/useLogicEditor.d.ts +26 -0
- package/dist/components/logic-editor/hooks/useLogicEditor.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/useNodeCollapse.d.ts +5 -0
- package/dist/components/logic-editor/hooks/useNodeCollapse.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/useRecursionCheck.d.ts +29 -0
- package/dist/components/logic-editor/hooks/useRecursionCheck.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/useSystemTheme.d.ts +7 -0
- package/dist/components/logic-editor/hooks/useSystemTheme.d.ts.map +1 -0
- package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts +15 -0
- package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts.map +1 -0
- package/dist/components/logic-editor/index.d.ts +8 -0
- package/dist/components/logic-editor/index.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/CellHandles.d.ts +13 -0
- package/dist/components/logic-editor/nodes/CellHandles.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/CellRow.d.ts +8 -0
- package/dist/components/logic-editor/nodes/CellRow.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts +8 -0
- package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/LiteralNode.d.ts +9 -0
- package/dist/components/logic-editor/nodes/LiteralNode.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/StructureNode.d.ts +9 -0
- package/dist/components/logic-editor/nodes/StructureNode.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts +9 -0
- package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/index.d.ts +6 -0
- package/dist/components/logic-editor/nodes/index.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/nodeTypes.d.ts +3 -0
- package/dist/components/logic-editor/nodes/nodeTypes.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts +10 -0
- package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts +11 -0
- package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts +11 -0
- package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts.map +1 -0
- package/dist/components/logic-editor/nodes/shared/index.d.ts +4 -0
- package/dist/components/logic-editor/nodes/shared/index.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts +9 -0
- package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts +16 -0
- package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/FieldRenderer.d.ts +17 -0
- package/dist/components/logic-editor/panel-inputs/FieldRenderer.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts +15 -0
- package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts +14 -0
- package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/PanelRenderer.d.ts +22 -0
- package/dist/components/logic-editor/panel-inputs/PanelRenderer.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts +14 -0
- package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/PathInput.d.ts +14 -0
- package/dist/components/logic-editor/panel-inputs/PathInput.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/SectionRenderer.d.ts +21 -0
- package/dist/components/logic-editor/panel-inputs/SectionRenderer.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts +12 -0
- package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts +12 -0
- package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/TextInput.d.ts +11 -0
- package/dist/components/logic-editor/panel-inputs/TextInput.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/index.d.ts +20 -0
- package/dist/components/logic-editor/panel-inputs/index.d.ts.map +1 -0
- package/dist/components/logic-editor/panel-inputs/visibility.d.ts +10 -0
- package/dist/components/logic-editor/panel-inputs/visibility.d.ts.map +1 -0
- package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts +14 -0
- package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts.map +1 -0
- package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts +7 -0
- package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts.map +1 -0
- package/dist/components/logic-editor/properties-panel/HelpSection.d.ts +8 -0
- package/dist/components/logic-editor/properties-panel/HelpSection.d.ts.map +1 -0
- package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts +7 -0
- package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts.map +1 -0
- package/dist/components/logic-editor/properties-panel/index.d.ts +10 -0
- package/dist/components/logic-editor/properties-panel/index.d.ts.map +1 -0
- package/dist/components/logic-editor/properties-panel/utils/argument-parser.d.ts +52 -0
- package/dist/components/logic-editor/properties-panel/utils/argument-parser.d.ts.map +1 -0
- package/dist/components/logic-editor/properties-panel/utils/expression-rebuilder.d.ts +6 -0
- package/dist/components/logic-editor/properties-panel/utils/expression-rebuilder.d.ts.map +1 -0
- package/dist/components/logic-editor/properties-panel/utils/index.d.ts +7 -0
- package/dist/components/logic-editor/properties-panel/utils/index.d.ts.map +1 -0
- package/dist/components/logic-editor/properties-panel/utils.d.ts +23 -0
- package/dist/components/logic-editor/properties-panel/utils.d.ts.map +1 -0
- package/dist/components/logic-editor/services/argument-service.d.ts +17 -0
- package/dist/components/logic-editor/services/argument-service.d.ts.map +1 -0
- package/dist/components/logic-editor/services/index.d.ts +7 -0
- package/dist/components/logic-editor/services/index.d.ts.map +1 -0
- package/dist/components/logic-editor/services/node-creation-service.d.ts +13 -0
- package/dist/components/logic-editor/services/node-creation-service.d.ts.map +1 -0
- package/dist/components/logic-editor/services/node-mutation-service.d.ts +14 -0
- package/dist/components/logic-editor/services/node-mutation-service.d.ts.map +1 -0
- package/dist/components/logic-editor/services/node-transform-service.d.ts +15 -0
- package/dist/components/logic-editor/services/node-transform-service.d.ts.map +1 -0
- package/dist/components/logic-editor/types/editor.d.ts +134 -0
- package/dist/components/logic-editor/types/editor.d.ts.map +1 -0
- package/dist/components/logic-editor/types/index.d.ts +5 -0
- package/dist/components/logic-editor/types/index.d.ts.map +1 -0
- package/dist/components/logic-editor/types/jsonlogic.d.ts +14 -0
- package/dist/components/logic-editor/types/jsonlogic.d.ts.map +1 -0
- package/dist/components/logic-editor/types/trace.d.ts +21 -0
- package/dist/components/logic-editor/types/trace.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts +9 -0
- package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/Icon.d.ts +11 -0
- package/dist/components/logic-editor/utils/Icon.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts +4 -0
- package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/index.d.ts +5 -0
- package/dist/components/logic-editor/utils/converters/index.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/operator-converter.d.ts +5 -0
- package/dist/components/logic-editor/utils/converters/operator-converter.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/primitive-converter.d.ts +5 -0
- package/dist/components/logic-editor/utils/converters/primitive-converter.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/structure-converter.d.ts +7 -0
- package/dist/components/logic-editor/utils/converters/structure-converter.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/switch-converter.d.ts +18 -0
- package/dist/components/logic-editor/utils/converters/switch-converter.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/types.d.ts +18 -0
- package/dist/components/logic-editor/utils/converters/types.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/variable-converter.d.ts +8 -0
- package/dist/components/logic-editor/utils/converters/variable-converter.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/edge-builder.d.ts +8 -0
- package/dist/components/logic-editor/utils/edge-builder.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/expression-builder.d.ts +16 -0
- package/dist/components/logic-editor/utils/expression-builder.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts +4 -0
- package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/formatting/expression-text.d.ts +3 -0
- package/dist/components/logic-editor/utils/formatting/expression-text.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/formatting/index.d.ts +4 -0
- package/dist/components/logic-editor/utils/formatting/index.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/formatting/value-formatter.d.ts +5 -0
- package/dist/components/logic-editor/utils/formatting/value-formatter.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/icons.d.ts +19 -0
- package/dist/components/logic-editor/utils/icons.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/index.d.ts +13 -0
- package/dist/components/logic-editor/utils/index.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts +7 -0
- package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/layout.d.ts +3 -0
- package/dist/components/logic-editor/utils/layout.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/menu-builder.d.ts +27 -0
- package/dist/components/logic-editor/utils/menu-builder.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/node-cloning.d.ts +50 -0
- package/dist/components/logic-editor/utils/node-cloning.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/node-deletion.d.ts +24 -0
- package/dist/components/logic-editor/utils/node-deletion.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/node-factory.d.ts +42 -0
- package/dist/components/logic-editor/utils/node-factory.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/node-updaters.d.ts +11 -0
- package/dist/components/logic-editor/utils/node-updaters.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/nodes-to-jsonlogic.d.ts +13 -0
- package/dist/components/logic-editor/utils/nodes-to-jsonlogic.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/child-matching.d.ts +13 -0
- package/dist/components/logic-editor/utils/trace/child-matching.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/evaluation-results.d.ts +15 -0
- package/dist/components/logic-editor/utils/trace/evaluation-results.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/index.d.ts +7 -0
- package/dist/components/logic-editor/utils/trace/index.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/inline-mapping.d.ts +6 -0
- package/dist/components/logic-editor/utils/trace/inline-mapping.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts +13 -0
- package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-creators/index.d.ts +8 -0
- package/dist/components/logic-editor/utils/trace/node-creators/index.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-creators/literal.d.ts +9 -0
- package/dist/components/logic-editor/utils/trace/node-creators/literal.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-creators/operator.d.ts +11 -0
- package/dist/components/logic-editor/utils/trace/node-creators/operator.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-creators/structure.d.ts +12 -0
- package/dist/components/logic-editor/utils/trace/node-creators/structure.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-creators/switch.d.ts +21 -0
- package/dist/components/logic-editor/utils/trace/node-creators/switch.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts +9 -0
- package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts +12 -0
- package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-type.d.ts +7 -0
- package/dist/components/logic-editor/utils/trace/node-type.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/trace-to-nodes.d.ts +7 -0
- package/dist/components/logic-editor/utils/trace/trace-to-nodes.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/types.d.ts +24 -0
- package/dist/components/logic-editor/utils/trace/types.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/type-guards.d.ts +8 -0
- package/dist/components/logic-editor/utils/type-guards.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/type-helpers.d.ts +9 -0
- package/dist/components/logic-editor/utils/type-helpers.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/visibility.d.ts +3 -0
- package/dist/components/logic-editor/utils/visibility.d.ts.map +1 -0
- package/dist/datalogic_wasm-Ckkdrc0z.cjs +383 -0
- package/dist/datalogic_wasm-daWVf40b.js +380 -0
- package/dist/index.cjs +17192 -19117
- package/dist/index.js +17604 -22706
- package/dist/lib.d.ts +6 -0
- package/dist/lib.d.ts.map +1 -0
- package/dist/styles.css +1 -0
- package/package.json +20 -21
- package/dist/datalogic_wasm-CJRUeom8.cjs +0 -470
- package/dist/datalogic_wasm-dEsk1ML-.js +0 -373
- package/dist/index.d.ts +0 -311
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LogicNode } from '../types';
|
|
2
|
+
export interface NodeContextMenuProps {
|
|
3
|
+
/** X position (screen coordinates) */
|
|
4
|
+
x: number;
|
|
5
|
+
/** Y position (screen coordinates) */
|
|
6
|
+
y: number;
|
|
7
|
+
/** The node that was right-clicked */
|
|
8
|
+
node: LogicNode;
|
|
9
|
+
/** Called when menu should close */
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
/** Called when "Edit Properties" is selected */
|
|
12
|
+
onEditProperties?: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const NodeContextMenu: import('react').MemoExoticComponent<({ x, y, node, onClose, onEditProperties, }: NodeContextMenuProps) => import('react').ReactPortal>;
|
|
15
|
+
//# sourceMappingURL=NodeContextMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/NodeContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAKH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,sCAAsC;IACtC,IAAI,EAAE,SAAS,CAAC;IAChB,oCAAoC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED,eAAO,MAAM,eAAe,mFAMzB,oBAAoB,iCAQrB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ContextMenu, type MenuItemConfig, type ContextMenuProps } from './ContextMenu';
|
|
2
|
+
export { NodeContextMenu, type NodeContextMenuProps } from './NodeContextMenu';
|
|
3
|
+
export { CanvasContextMenu, type CanvasContextMenuProps } from './CanvasContextMenu';
|
|
4
|
+
export { AddArgumentMenu, type AddArgumentMenuProps, type AddArgumentNodeType } from './AddArgumentMenu';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MenuItemConfig } from './ContextMenu';
|
|
2
|
+
import { LogicNode, OperatorNodeData, CellData } from '../types';
|
|
3
|
+
export declare function buildIfRemoveItems(opData: OperatorNodeData, _childNodes: LogicNode[], onRemove: (argIndex: number) => void): MenuItemConfig[];
|
|
4
|
+
export declare function getCellLabel(cell: CellData, childNode: LogicNode | undefined, index: number): string;
|
|
5
|
+
//# sourceMappingURL=menu-helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-helpers.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/menu-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGtE,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,gBAAgB,EACxB,WAAW,EAAE,SAAS,EAAE,EACxB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,GACnC,cAAc,EAAE,CAkDlB;AAGD,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAyBpG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MenuItemConfig } from './ContextMenu';
|
|
2
|
+
import { LogicNode } from '../types';
|
|
3
|
+
interface UseContextMenuItemsParams {
|
|
4
|
+
node: LogicNode;
|
|
5
|
+
onEditProperties?: () => void;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function useContextMenuItems({ node, onEditProperties }: UseContextMenuItemsParams): MenuItemConfig[];
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=useContextMenuItems.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useContextMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/useContextMenuItems.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAoB,MAAM,UAAU,CAAC;AAO5D,UAAU,yBAAyB;IACjC,IAAI,EAAE,SAAS,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,yBAAyB,GAAG,cAAc,EAAE,CAiT3G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebuggerControls.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/DebuggerControls.tsx"],"names":[],"mappings":"AAWA,OAAO,wBAAwB,CAAC;AAEhC,wBAAgB,sBAAsB,4CAErC;AAED,wBAAgB,gBAAgB,4CAE/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Edge Operator Picker Component
|
|
3
|
+
*
|
|
4
|
+
* A popup that appears when clicking the [+] button on an edge,
|
|
5
|
+
* allowing users to select an operator to insert.
|
|
6
|
+
*/
|
|
7
|
+
interface EdgeInfo {
|
|
8
|
+
edgeId: string;
|
|
9
|
+
sourceId: string;
|
|
10
|
+
targetId: string;
|
|
11
|
+
}
|
|
12
|
+
interface EdgeOperatorPickerProps {
|
|
13
|
+
edgeInfo: EdgeInfo;
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const EdgeOperatorPicker: import('react').MemoExoticComponent<({ edgeInfo, onClose, }: EdgeOperatorPickerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
17
|
+
export default EdgeOperatorPicker;
|
|
18
|
+
//# sourceMappingURL=EdgeOperatorPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EdgeOperatorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EdgeOperatorPicker.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAYH,UAAU,QAAQ;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,+DAG5B,uBAAuB,6CA4LxB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { EdgeProps } from '@xyflow/react';
|
|
2
|
+
export declare const EditableEdge: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: EdgeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export default EditableEdge;
|
|
4
|
+
//# sourceMappingURL=EditableEdge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditableEdge.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EditableEdge.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAA2B,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,YAAY,kIAStB,SAAS,6CAWV,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Edge Components
|
|
3
|
+
*
|
|
4
|
+
* Custom edge components for the visual editor.
|
|
5
|
+
*/
|
|
6
|
+
export { EditableEdge } from './EditableEdge';
|
|
7
|
+
export { EdgeOperatorPicker } from './EdgeOperatorPicker';
|
|
8
|
+
export declare const edgeTypes: {
|
|
9
|
+
editable: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: import('@xyflow/react').EdgeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,eAAO,MAAM,SAAS;;CAErB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { useLogicEditor } from './useLogicEditor';
|
|
2
|
+
export type { EvaluationResult, EvaluationResultsMap } from './useLogicEditor';
|
|
3
|
+
export { useDebugClassName } from './useDebugClassName';
|
|
4
|
+
export { useNodeCollapse } from './useNodeCollapse';
|
|
5
|
+
export { useDebugEvaluation } from './useDebugEvaluation';
|
|
6
|
+
export { useWasmEvaluator } from './useWasmEvaluator';
|
|
7
|
+
export { checkDepth } from './useRecursionCheck';
|
|
8
|
+
export { useContextMenu } from './useContextMenu';
|
|
9
|
+
export { useSystemTheme } from './useSystemTheme';
|
|
10
|
+
export { useIsMobile } from './useIsMobile';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NodeMouseHandler } from '@xyflow/react';
|
|
2
|
+
import { LogicNode } from '../types';
|
|
3
|
+
interface ContextMenuState {
|
|
4
|
+
type: 'node' | 'canvas';
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
nodeId?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function useContextMenu(isEditMode: boolean): {
|
|
10
|
+
contextMenu: ContextMenuState | null;
|
|
11
|
+
handleNodeContextMenu: NodeMouseHandler<LogicNode>;
|
|
12
|
+
handlePaneContextMenu: (event: React.MouseEvent | MouseEvent) => void;
|
|
13
|
+
handleNodeDoubleClick: NodeMouseHandler<LogicNode>;
|
|
14
|
+
handleCloseContextMenu: () => void;
|
|
15
|
+
handleEditProperties: () => void;
|
|
16
|
+
contextMenuNode: LogicNode | undefined;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=useContextMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useContextMenu.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IACxB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,cAAc,CAAC,UAAU,EAAE,OAAO;;;mCAmBtC,KAAK,CAAC,UAAU,GAAG,UAAU;;;;;EAqExC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hook that generates debug-related CSS class names for a node based on its debug state.
|
|
3
|
+
* Returns a space-separated string of class names that can be added to the node's className.
|
|
4
|
+
*/
|
|
5
|
+
export declare function useDebugClassName(nodeId: string): string;
|
|
6
|
+
//# sourceMappingURL=useDebugClassName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDebugClassName.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useDebugClassName.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAYxD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LogicNode } from '../types';
|
|
2
|
+
export interface EvaluationResult {
|
|
3
|
+
value: unknown;
|
|
4
|
+
error: string | null;
|
|
5
|
+
type: 'boolean' | 'number' | 'string' | 'null' | 'array' | 'object' | 'undefined';
|
|
6
|
+
}
|
|
7
|
+
export type EvaluationResults = Map<string, EvaluationResult>;
|
|
8
|
+
interface UseDebugEvaluationProps {
|
|
9
|
+
nodes: LogicNode[];
|
|
10
|
+
data: unknown;
|
|
11
|
+
evaluate: ((logic: unknown, data: unknown) => unknown) | null;
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function useDebugEvaluation({ nodes, data, evaluate, enabled, }: UseDebugEvaluationProps): EvaluationResults;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=useDebugEvaluation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDebugEvaluation.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useDebugEvaluation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;CACnF;AAED,MAAM,MAAM,iBAAiB,GAAG,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAE9D,UAAU,uBAAuB;IAC/B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC,GAAG,IAAI,CAAC;IAC9D,OAAO,EAAE,OAAO,CAAC;CAClB;AAaD,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,OAAO,GACR,EAAE,uBAAuB,GAAG,iBAAiB,CAkC7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsMobile.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useIsMobile.ts"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,IAAI,OAAO,CAarC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { LogicNode, LogicEdge, JsonLogicValue, TracedResult, ExecutionStep } from '../types';
|
|
2
|
+
export interface EvaluationResult {
|
|
3
|
+
value: unknown;
|
|
4
|
+
error: string | null;
|
|
5
|
+
type: 'boolean' | 'number' | 'string' | 'null' | 'array' | 'object' | 'undefined';
|
|
6
|
+
}
|
|
7
|
+
export type EvaluationResultsMap = Map<string, EvaluationResult>;
|
|
8
|
+
interface UseLogicEditorOptions {
|
|
9
|
+
value: JsonLogicValue | null;
|
|
10
|
+
evaluateWithTrace?: (logic: unknown, data: unknown) => TracedResult;
|
|
11
|
+
data?: unknown;
|
|
12
|
+
/** Enable structure preserve mode for JSON templates with embedded JSONLogic */
|
|
13
|
+
preserveStructure?: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface UseLogicEditorReturn {
|
|
16
|
+
nodes: LogicNode[];
|
|
17
|
+
edges: LogicEdge[];
|
|
18
|
+
error: string | null;
|
|
19
|
+
evaluationResults: EvaluationResultsMap;
|
|
20
|
+
usingTraceMode: boolean;
|
|
21
|
+
steps: ExecutionStep[];
|
|
22
|
+
traceNodeMap: Map<string, string>;
|
|
23
|
+
}
|
|
24
|
+
export declare function useLogicEditor({ value, evaluateWithTrace, data, preserveStructure, }: UseLogicEditorOptions): UseLogicEditorReturn;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=useLogicEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLogicEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useLogicEditor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,cAAc,EACd,YAAY,EACZ,aAAa,EACd,MAAM,UAAU,CAAC;AAMlB,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;CACnF;AAED,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEjE,UAAU,qBAAqB;IAC7B,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,YAAY,CAAC;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,UAAU,oBAAoB;IAC5B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,EAAE,oBAAoB,CAAC;IACxC,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;AASD,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,iBAAiB,EACjB,IAAI,EACJ,iBAAyB,GAC1B,EAAE,qBAAqB,GAAG,oBAAoB,CAgH9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNodeCollapse.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useNodeCollapse.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAwB7E"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Recursion Check Hook
|
|
3
|
+
*
|
|
4
|
+
* Provides a utility to check for excessive recursion depth in JSONLogic expressions.
|
|
5
|
+
* Prevents stack overflow from deeply nested or circular structures.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Check if a value exceeds the maximum recursion depth.
|
|
9
|
+
*
|
|
10
|
+
* @param value - The value to check
|
|
11
|
+
* @param maxDepth - Maximum allowed depth (default: 100)
|
|
12
|
+
* @returns true if the value is within the depth limit, false otherwise
|
|
13
|
+
*/
|
|
14
|
+
export declare function checkDepth(value: unknown, maxDepth?: number): boolean;
|
|
15
|
+
export interface RecursionCheckResult {
|
|
16
|
+
/** Whether the value is valid (within depth limit) */
|
|
17
|
+
valid: boolean;
|
|
18
|
+
/** Error message if depth exceeded, null otherwise */
|
|
19
|
+
error: string | null;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Hook to check recursion depth of a value.
|
|
23
|
+
*
|
|
24
|
+
* @param value - The value to check
|
|
25
|
+
* @param maxDepth - Maximum allowed depth (default: 100)
|
|
26
|
+
* @returns RecursionCheckResult with valid flag and optional error
|
|
27
|
+
*/
|
|
28
|
+
export declare function useRecursionCheck(value: unknown, maxDepth?: number): RecursionCheckResult;
|
|
29
|
+
//# sourceMappingURL=useRecursionCheck.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRecursionCheck.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useRecursionCheck.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,QAAQ,GAAE,MAA0B,GAAG,OAAO,CAcxF;AAED,MAAM,WAAW,oBAAoB;IACnC,sDAAsD;IACtD,KAAK,EAAE,OAAO,CAAC;IACf,sDAAsD;IACtD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,OAAO,EACd,QAAQ,GAAE,MAA0B,GACnC,oBAAoB,CAQtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSystemTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useSystemTheme.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,OAAO,GAAG,MAAM,CAmBjD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TracedResult } from '../types';
|
|
2
|
+
interface UseWasmEvaluatorOptions {
|
|
3
|
+
/** Enable structure preserve mode for JSON templates with embedded JSONLogic */
|
|
4
|
+
preserveStructure?: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface UseWasmEvaluatorResult {
|
|
7
|
+
ready: boolean;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
error: string | null;
|
|
10
|
+
evaluate: (logic: unknown, data: unknown) => unknown;
|
|
11
|
+
evaluateWithTrace: (logic: unknown, data: unknown) => TracedResult;
|
|
12
|
+
}
|
|
13
|
+
export declare function useWasmEvaluator(options?: UseWasmEvaluatorOptions): UseWasmEvaluatorResult;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=useWasmEvaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWasmEvaluator.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useWasmEvaluator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAkB7C,UAAU,uBAAuB;IAC/B,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,UAAU,sBAAsB;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACrD,iBAAiB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,YAAY,CAAC;CACpE;AAED,wBAAgB,gBAAgB,CAAC,OAAO,GAAE,uBAA4B,GAAG,sBAAsB,CAsF9F"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { DataLogicEditor } from './DataLogicEditor';
|
|
2
|
+
export { LogicEditor } from './LogicEditor';
|
|
3
|
+
export type { DataLogicEditorProps, LogicEditorProps } from './types';
|
|
4
|
+
export type { JsonLogicPrimitive, JsonLogicVar, JsonLogicVal, JsonLogicExpression, JsonLogicValue, OperatorCategory, NodeCategory, VisualNodeType, BaseNodeData, ArgSummary, OperatorNodeData, LiteralNodeData, CellData, VariableNodeData, StructureElement, StructureNodeData, LogicNodeData, LogicNode, LogicEdge, EditorState, ConversionResult, NodeEvaluationResult, EvaluationResultsMap, ExpressionNode, ExecutionStep, TracedResult, } from './types';
|
|
5
|
+
export { CATEGORY_COLORS } from './types';
|
|
6
|
+
export { TRUNCATION_LIMITS, BRANCH_COLORS, NODE_DIMENSIONS, VERTICAL_CELL_DIMENSIONS, TEXT_METRICS, NODE_PADDING, DAGRE_OPTIONS, FIXED_WIDTHS, DECISION_NODE_DIMENSIONS, REACT_FLOW_OPTIONS, HANDLE_IDS, HANDLE_POSITIONS, EDGE_IDS, } from './constants';
|
|
7
|
+
export { jsonLogicToNodes, type JsonLogicToNodesOptions, traceToNodes, buildEvaluationResultsFromTrace, applyTreeLayout, getHiddenNodeIds, isOperatorNode, isLiteralNode, isStructureNode, isCollapsibleNode, getOperatorNodeData, createLiteralNode, buildVariableCells, createVariableNode, createOperatorNode, createEdge, createArgEdge, createBranchEdge, panelValuesToNodeData, havePanelValuesChanged, deleteNodeAndDescendants, getDescendantIds, isRootNode, canDeleteNode, nodesToJsonLogic, getRootNode, cloneNodesWithIdMapping, getDescendants, updateParentChildReference, capitalizeFirst, buildOperatorSubmenu, } from './utils';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,YAAY,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AACtE,YAAY,EACV,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,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,cAAc,EACd,aAAa,EACb,YAAY,GACb,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,QAAQ,GACT,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,gBAAgB,EAChB,KAAK,uBAAuB,EAC5B,YAAY,EACZ,+BAA+B,EAC/B,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,uBAAuB,EACvB,cAAc,EACd,0BAA0B,EAC1B,eAAe,EACf,oBAAoB,GACrB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CellData } from '../types';
|
|
2
|
+
interface CellHandlesProps {
|
|
3
|
+
cell: CellData;
|
|
4
|
+
color: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Renders handles for a cell's branches.
|
|
8
|
+
* Handle IDs are based on cell index for stability - they don't change when other cells collapse.
|
|
9
|
+
* Format: branch-{cellIndex} or branch-{cellIndex}-cond / branch-{cellIndex}-then for if/then cells
|
|
10
|
+
*/
|
|
11
|
+
export declare const CellHandles: import('react').MemoExoticComponent<({ cell, color, }: CellHandlesProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=CellHandles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellHandles.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellHandles.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGzC,UAAU,gBAAgB;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,yDAGrB,gBAAgB,6CAqCjB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CellData } from '../types';
|
|
2
|
+
interface CellRowProps {
|
|
3
|
+
cell: CellData;
|
|
4
|
+
color: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const CellRow: import('react').MemoExoticComponent<({ cell, color, }: CellRowProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=CellRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CellRow.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAMzC,UAAU,YAAY;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,OAAO,yDAGjB,YAAY,6CAuDb,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ExecutionStep } from '../types/trace';
|
|
2
|
+
interface DebugInfoBubbleProps {
|
|
3
|
+
step: ExecutionStep;
|
|
4
|
+
position?: 'top' | 'right' | 'bottom';
|
|
5
|
+
}
|
|
6
|
+
export declare const DebugInfoBubble: import('react').MemoExoticComponent<({ step, position, }: DebugInfoBubbleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=DebugInfoBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugInfoBubble.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/DebugInfoBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKpD,UAAU,oBAAoB;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAsBD,eAAO,MAAM,eAAe,4DAGzB,oBAAoB,6CAgDrB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LiteralNodeData } from '../types';
|
|
2
|
+
interface LiteralNodeProps {
|
|
3
|
+
id: string;
|
|
4
|
+
data: LiteralNodeData;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const LiteralNode: import('react').MemoExoticComponent<({ id, data, selected, }: LiteralNodeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=LiteralNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LiteralNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/LiteralNode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAOhD,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,gEAIrB,gBAAgB,6CAwBjB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { StructureNodeData } from '../types';
|
|
2
|
+
interface StructureNodeProps {
|
|
3
|
+
id: string;
|
|
4
|
+
data: StructureNodeData;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const StructureNode: import('react').MemoExoticComponent<({ id, data, selected, }: StructureNodeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=StructureNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructureNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/StructureNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAgBlD,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,gEAIvB,kBAAkB,6CAmFnB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OperatorNodeData } from '../types';
|
|
2
|
+
interface UnifiedOperatorNodeProps {
|
|
3
|
+
id: string;
|
|
4
|
+
data: OperatorNodeData;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const UnifiedOperatorNode: import('react').MemoExoticComponent<({ id, data, selected, }: UnifiedOperatorNodeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=UnifiedOperatorNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnifiedOperatorNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/UnifiedOperatorNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAWjD,UAAU,wBAAwB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,gEAI7B,wBAAwB,6CAgLzB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { UnifiedOperatorNode } from './UnifiedOperatorNode';
|
|
2
|
+
export { LiteralNode } from './LiteralNode';
|
|
3
|
+
export { StructureNode } from './StructureNode';
|
|
4
|
+
export { DebugInfoBubble } from './DebugInfoBubble';
|
|
5
|
+
export { nodeTypes } from './nodeTypes';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeTypes.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/nodeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAO/C,eAAO,MAAM,SAAS,EAAE,SAIvB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface CollapseToggleButtonProps {
|
|
2
|
+
isCollapsed: boolean;
|
|
3
|
+
onClick: (e: React.MouseEvent) => void;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Reusable collapse/expand toggle button for node headers.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CollapseToggleButton: import('react').MemoExoticComponent<({ isCollapsed, onClick, }: CollapseToggleButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=CollapseToggleButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollapseToggleButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/CollapseToggleButton.tsx"],"names":[],"mappings":"AAEA,UAAU,yBAAyB;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;CACxC;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,kEAG9B,yBAAyB,6CAU1B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface NodeDebugBubbleProps {
|
|
2
|
+
nodeId: string;
|
|
3
|
+
position?: 'top' | 'right' | 'bottom';
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Wrapper component that conditionally renders a DebugInfoBubble
|
|
7
|
+
* when the node is the current step in debugging.
|
|
8
|
+
*/
|
|
9
|
+
export declare const NodeDebugBubble: import('react').MemoExoticComponent<({ nodeId, position, }: NodeDebugBubbleProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=NodeDebugBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeDebugBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/NodeDebugBubble.tsx"],"names":[],"mappings":"AAIA,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,8DAGzB,oBAAoB,oDAQrB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface NodeInputHandlesProps {
|
|
2
|
+
nodeId: string;
|
|
3
|
+
color: string;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Renders input handles (top and left) for a node.
|
|
7
|
+
* Only shows handles if they have connections.
|
|
8
|
+
*/
|
|
9
|
+
export declare const NodeInputHandles: import('react').MemoExoticComponent<({ nodeId, color, }: NodeInputHandlesProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=NodeInputHandles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeInputHandles.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/NodeInputHandles.tsx"],"names":[],"mappings":"AAIA,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,2DAG1B,qBAAqB,6CA0BtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface BooleanInputProps {
|
|
2
|
+
id: string;
|
|
3
|
+
value: boolean;
|
|
4
|
+
onChange: (value: boolean) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const BooleanInput: import('react').MemoExoticComponent<({ id, value, onChange, disabled, }: BooleanInputProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=BooleanInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BooleanInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/BooleanInput.tsx"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,2EAKtB,iBAAiB,6CAclB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface ExpressionInputProps {
|
|
2
|
+
id: string;
|
|
3
|
+
value: unknown;
|
|
4
|
+
onChange: (value: unknown) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Input for JSONLogic expressions.
|
|
11
|
+
* Currently displays a summary of the expression with an indicator that it branches to another node.
|
|
12
|
+
* Full expression editing will be handled by the canvas connection system.
|
|
13
|
+
*/
|
|
14
|
+
export declare const ExpressionInput: import('react').MemoExoticComponent<({ id, value, disabled, placeholder, }: ExpressionInputProps) => import("react/jsx-runtime").JSX.Element>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=ExpressionInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpressionInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/ExpressionInput.tsx"],"names":[],"mappings":"AAGA,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,8EAKzB,oBAAoB,6CAuCrB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PanelField } from '../config/operators.types';
|
|
2
|
+
interface FieldRendererProps {
|
|
3
|
+
field: PanelField;
|
|
4
|
+
value: unknown;
|
|
5
|
+
onChange: (value: unknown) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface FieldRendererRef {
|
|
9
|
+
focus: () => void;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Renders the appropriate input component based on the field's inputType.
|
|
13
|
+
* This is the bridge between the declarative PanelField config and the actual input components.
|
|
14
|
+
*/
|
|
15
|
+
export declare const FieldRenderer: import('react').NamedExoticComponent<FieldRendererProps & import('react').RefAttributes<FieldRendererRef>>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=FieldRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/FieldRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAgB,MAAM,2BAA2B,CAAC;AAW1E,UAAU,kBAAkB;IAC1B,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,4GAwJvB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface JsonInputProps {
|
|
2
|
+
id: string;
|
|
3
|
+
value: unknown;
|
|
4
|
+
onChange: (value: unknown) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
rows?: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Input for raw JSON values.
|
|
11
|
+
* Provides validation feedback for invalid JSON.
|
|
12
|
+
*/
|
|
13
|
+
export declare const JsonInput: import('react').MemoExoticComponent<({ id, value, onChange, disabled, required, rows, }: JsonInputProps) => import("react/jsx-runtime").JSX.Element>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=JsonInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JsonInput.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/JsonInput.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,2FAOnB,cAAc,6CA6Cf,CAAC"}
|