@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 @@
|
|
|
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, preserveStructure, onPreserveStructureChange, editable, }: 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":"AASA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AAmB1E,OAAO,oBAAoB,CAAC;AAC5B,OAAO,mBAAmB,CAAC;AAkP3B,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,KAAK,EAAE,SAAS,EAChB,SAAc,EACd,iBAAyB,EACzB,yBAAyB,EACzB,QAAgB,GACjB,EAAE,oBAAoB,2CA4LtB;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface EditorToolbarProps {
|
|
2
|
+
isEditMode: boolean;
|
|
3
|
+
hasDebugger: boolean;
|
|
4
|
+
preserveStructure: boolean;
|
|
5
|
+
onPreserveStructureChange?: (value: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const EditorToolbar: import('react').MemoExoticComponent<({ isEditMode, hasDebugger, preserveStructure, onPreserveStructureChange, }: 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":"AAIA,UAAU,kBAAkB;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,yBAAyB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACtD;AAED,eAAO,MAAM,aAAa,mHAKvB,kBAAkB,6CAmBnB,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;AAMH,eAAO,MAAM,eAAe,2FA4B1B,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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/utility.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAgKrD,CAAC"}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/formatting.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const HANDLE_IDS: {
|
|
2
|
+
readonly arg: (index: number) => string;
|
|
3
|
+
readonly branch: (index: number) => string;
|
|
4
|
+
readonly top: "top";
|
|
5
|
+
readonly left: "left";
|
|
6
|
+
readonly right: "right";
|
|
7
|
+
readonly bottom: "bottom";
|
|
8
|
+
readonly condition: "condition";
|
|
9
|
+
readonly thenBranch: "then";
|
|
10
|
+
readonly elseBranch: "else";
|
|
11
|
+
};
|
|
12
|
+
export declare const HANDLE_POSITIONS: {
|
|
13
|
+
readonly conditionTop: 10;
|
|
14
|
+
readonly thenTop: 22;
|
|
15
|
+
readonly centeredTop: 16;
|
|
16
|
+
};
|
|
17
|
+
export declare const EDGE_IDS: {
|
|
18
|
+
readonly parentChild: (parentId: string, childId: string) => string;
|
|
19
|
+
readonly branch: (parentId: string, branchId: string) => string;
|
|
20
|
+
readonly condition: (parentId: string, conditionId: string) => string;
|
|
21
|
+
readonly then: (parentId: string, thenId: string) => string;
|
|
22
|
+
readonly else: (parentId: string, elseId: string) => string;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=handles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handles.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/handles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;0BAER,MAAM,KAAG,MAAM;6BAGZ,MAAM,KAAG,MAAM;;;;;;;;CAYvB,CAAC;AAGX,eAAO,MAAM,gBAAgB;;;;CAOnB,CAAC;AAGX,eAAO,MAAM,QAAQ;qCAEK,MAAM,WAAW,MAAM,KAAG,MAAM;gCAIrC,MAAM,YAAY,MAAM,KAAG,MAAM;mCAI9B,MAAM,eAAe,MAAM,KAAG,MAAM;8BAIzC,MAAM,UAAU,MAAM,KAAG,MAAM;8BAI/B,MAAM,UAAU,MAAM,KAAG,MAAM;CAExC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { TRUNCATION_LIMITS } from './formatting';
|
|
2
|
+
export { BRANCH_COLORS, CATEGORY_COLORS } from './colors';
|
|
3
|
+
export { NODE_DIMENSIONS, VERTICAL_CELL_DIMENSIONS, TEXT_METRICS, NODE_PADDING, DAGRE_OPTIONS, FIXED_WIDTHS, DECISION_NODE_DIMENSIONS, REACT_FLOW_OPTIONS, } from './layout';
|
|
4
|
+
export { HANDLE_IDS, HANDLE_POSITIONS, EDGE_IDS } from './handles';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const NODE_DIMENSIONS: {
|
|
2
|
+
readonly minWidth: 160;
|
|
3
|
+
readonly maxWidth: 450;
|
|
4
|
+
readonly defaultHeight: 80;
|
|
5
|
+
};
|
|
6
|
+
export declare const VERTICAL_CELL_DIMENSIONS: {
|
|
7
|
+
readonly rowHeight: 32;
|
|
8
|
+
readonly headerHeight: 28;
|
|
9
|
+
readonly collapsedBodyHeight: 40;
|
|
10
|
+
};
|
|
11
|
+
export declare const TEXT_METRICS: {
|
|
12
|
+
readonly charWidthMono: 8;
|
|
13
|
+
readonly charWidthRegular: 7.5;
|
|
14
|
+
readonly charWidthHeader: 10;
|
|
15
|
+
};
|
|
16
|
+
export declare const NODE_PADDING: {
|
|
17
|
+
readonly contentPadding: 80;
|
|
18
|
+
readonly iconWidth: 30;
|
|
19
|
+
readonly typeIconWidth: 25;
|
|
20
|
+
};
|
|
21
|
+
export declare const DAGRE_OPTIONS: {
|
|
22
|
+
readonly rankSep: 80;
|
|
23
|
+
readonly nodeSep: 40;
|
|
24
|
+
readonly edgeSep: 20;
|
|
25
|
+
readonly marginX: 50;
|
|
26
|
+
readonly marginY: 50;
|
|
27
|
+
readonly rankDir: "LR";
|
|
28
|
+
};
|
|
29
|
+
export declare const FIXED_WIDTHS: {
|
|
30
|
+
readonly fallbackNode: 100;
|
|
31
|
+
readonly decisionNode: 180;
|
|
32
|
+
};
|
|
33
|
+
export declare const DECISION_NODE_DIMENSIONS: {
|
|
34
|
+
readonly minWidth: 180;
|
|
35
|
+
readonly height: 132;
|
|
36
|
+
};
|
|
37
|
+
export declare const REACT_FLOW_OPTIONS: {
|
|
38
|
+
readonly fitViewPadding: 0.2;
|
|
39
|
+
readonly maxZoom: 0.75;
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/layout.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAGX,eAAO,MAAM,YAAY;;;;CAOf,CAAC;AAGX,eAAO,MAAM,YAAY;;;;CAOf,CAAC;AAGX,eAAO,MAAM,aAAa;;;;;;;CAYhB,CAAC;AAGX,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;CAI3B,CAAC;AAGX,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC"}
|