@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
package/dist/index.d.ts
DELETED
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import { Edge } from '@xyflow/react';
|
|
2
|
-
import { JSX } from 'react/jsx-runtime';
|
|
3
|
-
import { Node as Node_2 } from '@xyflow/react';
|
|
4
|
-
|
|
5
|
-
export declare function applyTreeLayout(nodes: LogicNode[], edges?: LogicEdge[]): LogicNode[];
|
|
6
|
-
|
|
7
|
-
declare interface ArgSpec {
|
|
8
|
-
name: string;
|
|
9
|
-
label: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
type?: ArgType;
|
|
12
|
-
required?: boolean;
|
|
13
|
-
repeatable?: boolean;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare interface ArgSummary {
|
|
17
|
-
icon: IconName;
|
|
18
|
-
label: string;
|
|
19
|
-
valueType: 'string' | 'number' | 'boolean' | 'null' | 'array' | 'date' | 'expression';
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
declare type ArgType = 'any' | 'number' | 'string' | 'boolean' | 'array' | 'object' | 'expression' | 'path' | 'datetime' | 'duration';
|
|
23
|
-
|
|
24
|
-
declare interface AritySpec {
|
|
25
|
-
type: ArityType;
|
|
26
|
-
min?: number;
|
|
27
|
-
max?: number;
|
|
28
|
-
args?: ArgSpec[];
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
declare type ArityType = 'nullary' | 'unary' | 'binary' | 'ternary' | 'nary' | 'variadic' | 'chainable' | 'range' | 'special';
|
|
32
|
-
|
|
33
|
-
declare interface BaseNodeData extends Record<string, unknown> {
|
|
34
|
-
type: VisualNodeType;
|
|
35
|
-
parentId?: string;
|
|
36
|
-
argIndex?: number;
|
|
37
|
-
branchType?: 'yes' | 'no';
|
|
38
|
-
expression?: JsonLogicValue;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export declare const CATEGORY_COLORS: Record<NodeCategory, string>;
|
|
42
|
-
|
|
43
|
-
declare interface CellData {
|
|
44
|
-
type: 'inline' | 'branch' | 'editable';
|
|
45
|
-
rowLabel?: string;
|
|
46
|
-
label?: string;
|
|
47
|
-
icon?: IconName;
|
|
48
|
-
branchId?: string;
|
|
49
|
-
index: number;
|
|
50
|
-
summary?: ArgSummary;
|
|
51
|
-
conditionBranchId?: string;
|
|
52
|
-
thenBranchId?: string;
|
|
53
|
-
conditionText?: string;
|
|
54
|
-
thenText?: string;
|
|
55
|
-
fieldId?: string;
|
|
56
|
-
fieldType?: 'text' | 'number' | 'select';
|
|
57
|
-
value?: unknown;
|
|
58
|
-
placeholder?: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Iterator context variable
|
|
63
|
-
*/
|
|
64
|
-
declare interface ContextVariable {
|
|
65
|
-
name: string;
|
|
66
|
-
label: string;
|
|
67
|
-
description: string;
|
|
68
|
-
accessor: 'var' | 'val';
|
|
69
|
-
example: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
declare interface ConversionResult {
|
|
73
|
-
nodes: LogicNode[];
|
|
74
|
-
edges: LogicEdge[];
|
|
75
|
-
rootId: string | null;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export declare function DataLogicEditor({ value, onChange, data, theme: themeProp, className, preserveStructure, onPreserveStructureChange, editable, }: DataLogicEditorProps): JSX.Element;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Props for the DataLogicEditor component (public API)
|
|
82
|
-
*/
|
|
83
|
-
export declare interface DataLogicEditorProps {
|
|
84
|
-
/** JSONLogic expression to render */
|
|
85
|
-
value: JsonLogicValue | null;
|
|
86
|
-
/** Callback when expression changes (only when editable is true) */
|
|
87
|
-
onChange?: (expr: JsonLogicValue | null) => void;
|
|
88
|
-
/** Data context for evaluation. When provided, debugger controls become available. */
|
|
89
|
-
data?: unknown;
|
|
90
|
-
/** Theme override - 'light' or 'dark'. If not provided, uses system preference */
|
|
91
|
-
theme?: 'light' | 'dark';
|
|
92
|
-
/** Additional CSS class */
|
|
93
|
-
className?: string;
|
|
94
|
-
/**
|
|
95
|
-
* Enable structure preserve mode for JSON templates with embedded JSONLogic.
|
|
96
|
-
* When true, multi-key objects and arrays are treated as data structures
|
|
97
|
-
* with embedded JSONLogic expressions, rather than invalid JSONLogic.
|
|
98
|
-
*/
|
|
99
|
-
preserveStructure?: boolean;
|
|
100
|
-
/** Callback when preserve structure changes (from toolbar checkbox) */
|
|
101
|
-
onPreserveStructureChange?: (value: boolean) => void;
|
|
102
|
-
/**
|
|
103
|
-
* Enable editing: node selection, properties panel, context menus, undo/redo.
|
|
104
|
-
* Default: false
|
|
105
|
-
*/
|
|
106
|
-
editable?: boolean;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export declare type EvaluationResultsMap = Map<string, NodeEvaluationResult>;
|
|
110
|
-
|
|
111
|
-
declare type IconName = 'scale' | 'diamond' | 'calculator' | 'repeat' | 'type' | 'box' | 'git-merge' | 'git-branch' | 'text' | 'hash' | 'toggle-left' | 'toggle-right' | 'check' | 'x' | 'ban' | 'list' | 'calendar' | 'cog' | 'database' | 'boxes' | 'circle-help' | 'circle-x' | 'git-commit-horizontal' | 'search' | 'divide' | 'quote' | 'braces' | 'binary' | 'layers' | 'clock' | 'alert-circle' | 'arrow-up' | 'tag';
|
|
112
|
-
|
|
113
|
-
declare type JsonLogicExpression = {
|
|
114
|
-
[operator: string]: JsonLogicValue | JsonLogicValue[];
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
declare type JsonLogicPrimitive = string | number | boolean | null;
|
|
118
|
-
|
|
119
|
-
export declare function jsonLogicToNodes(expr: JsonLogicValue | null, options?: JsonLogicToNodesOptions): ConversionResult;
|
|
120
|
-
|
|
121
|
-
declare interface JsonLogicToNodesOptions {
|
|
122
|
-
/** Enable structure preserve mode for JSON templates with embedded JSONLogic */
|
|
123
|
-
preserveStructure?: boolean;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export declare type JsonLogicValue = JsonLogicPrimitive | JsonLogicPrimitive[] | JsonLogicExpression | JsonLogicValue[];
|
|
127
|
-
|
|
128
|
-
export declare interface LiteralNodeData extends BaseNodeData {
|
|
129
|
-
type: 'literal';
|
|
130
|
-
value: JsonLogicValue;
|
|
131
|
-
valueType: 'string' | 'number' | 'boolean' | 'null' | 'array';
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export declare type LogicEdge = Edge;
|
|
135
|
-
|
|
136
|
-
export declare type LogicNode = Node_2<LogicNodeData>;
|
|
137
|
-
|
|
138
|
-
export declare type LogicNodeData = OperatorNodeData | LiteralNodeData | StructureNodeData;
|
|
139
|
-
|
|
140
|
-
declare type NodeCategory = OperatorCategory | 'literal';
|
|
141
|
-
|
|
142
|
-
export declare interface NodeEvaluationResult {
|
|
143
|
-
value: unknown;
|
|
144
|
-
error: string | null;
|
|
145
|
-
type: 'boolean' | 'number' | 'string' | 'null' | 'array' | 'object' | 'undefined';
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
declare type NodeType = 'operator' | 'variable' | 'literal' | 'decision' | 'vertical' | 'iterator' | 'structure';
|
|
149
|
-
|
|
150
|
-
declare interface Operator {
|
|
151
|
-
name: string;
|
|
152
|
-
label: string;
|
|
153
|
-
category: OperatorCategory;
|
|
154
|
-
description: string;
|
|
155
|
-
arity: AritySpec;
|
|
156
|
-
help: OperatorHelp;
|
|
157
|
-
ui?: OperatorUIHints;
|
|
158
|
-
panel?: PanelConfig;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Operator Configuration Types
|
|
163
|
-
*
|
|
164
|
-
* This file defines the TypeScript interfaces for the operator configuration
|
|
165
|
-
* that serves as the single source of truth for all operator documentation
|
|
166
|
-
* and UI rendering.
|
|
167
|
-
*/
|
|
168
|
-
export declare type OperatorCategory = 'variable' | 'comparison' | 'logical' | 'arithmetic' | 'control' | 'string' | 'array' | 'datetime' | 'validation' | 'error' | 'utility';
|
|
169
|
-
|
|
170
|
-
declare interface OperatorExample {
|
|
171
|
-
title: string;
|
|
172
|
-
rule: unknown;
|
|
173
|
-
data?: unknown;
|
|
174
|
-
result?: unknown;
|
|
175
|
-
error?: {
|
|
176
|
-
type: string;
|
|
177
|
-
};
|
|
178
|
-
note?: string;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
declare interface OperatorHelp {
|
|
182
|
-
summary: string;
|
|
183
|
-
details?: string;
|
|
184
|
-
returnType: ReturnType_2;
|
|
185
|
-
examples: OperatorExample[];
|
|
186
|
-
notes?: string[];
|
|
187
|
-
seeAlso?: string[];
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
export declare interface OperatorNodeData extends BaseNodeData {
|
|
191
|
-
type: 'operator';
|
|
192
|
-
operator: string;
|
|
193
|
-
category: OperatorCategory;
|
|
194
|
-
label: string;
|
|
195
|
-
icon: IconName;
|
|
196
|
-
cells: CellData[];
|
|
197
|
-
collapsed?: boolean;
|
|
198
|
-
expressionText?: string;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Combined map of all operators by name
|
|
203
|
-
*/
|
|
204
|
-
export declare const OPERATORS: Record<string, Operator>;
|
|
205
|
-
|
|
206
|
-
declare interface OperatorUIHints {
|
|
207
|
-
icon?: string;
|
|
208
|
-
shortLabel?: string;
|
|
209
|
-
nodeType?: NodeType;
|
|
210
|
-
inlineEditable?: boolean;
|
|
211
|
-
showArgLabels?: boolean;
|
|
212
|
-
collapsible?: boolean;
|
|
213
|
-
scopeJump?: boolean;
|
|
214
|
-
metadata?: boolean;
|
|
215
|
-
datetimeProps?: boolean;
|
|
216
|
-
iteratorContext?: boolean;
|
|
217
|
-
addArgumentLabel?: string;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Complete panel configuration
|
|
222
|
-
*/
|
|
223
|
-
declare interface PanelConfig {
|
|
224
|
-
sections: PanelSection[];
|
|
225
|
-
contextVariables?: ContextVariable[];
|
|
226
|
-
chainable?: boolean;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Panel field configuration
|
|
231
|
-
*/
|
|
232
|
-
declare interface PanelField {
|
|
233
|
-
id: string;
|
|
234
|
-
label: string;
|
|
235
|
-
inputType: PanelInputType;
|
|
236
|
-
helpText?: string;
|
|
237
|
-
placeholder?: string;
|
|
238
|
-
required?: boolean;
|
|
239
|
-
defaultValue?: unknown;
|
|
240
|
-
options?: SelectOption[];
|
|
241
|
-
showWhen?: VisibilityCondition[];
|
|
242
|
-
min?: number;
|
|
243
|
-
max?: number;
|
|
244
|
-
repeatable?: boolean;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Input widget types for panel fields
|
|
249
|
-
*/
|
|
250
|
-
declare type PanelInputType = 'text' | 'textarea' | 'number' | 'boolean' | 'select' | 'path' | 'pathArray' | 'expression' | 'json';
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Panel section grouping
|
|
254
|
-
*/
|
|
255
|
-
declare interface PanelSection {
|
|
256
|
-
id: string;
|
|
257
|
-
title?: string;
|
|
258
|
-
fields: PanelField[];
|
|
259
|
-
defaultCollapsed?: boolean;
|
|
260
|
-
showWhen?: VisibilityCondition[];
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
declare type ReturnType_2 = 'any' | 'number' | 'string' | 'boolean' | 'array' | 'object' | 'null' | 'datetime' | 'duration' | 'number | string' | 'same' | 'never';
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Select dropdown option
|
|
267
|
-
*/
|
|
268
|
-
declare interface SelectOption {
|
|
269
|
-
value: string | number | boolean;
|
|
270
|
-
label: string;
|
|
271
|
-
description?: string;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
declare interface StructureElement {
|
|
275
|
-
type: 'inline' | 'expression';
|
|
276
|
-
path: string[];
|
|
277
|
-
key?: string;
|
|
278
|
-
value?: JsonLogicValue;
|
|
279
|
-
branchId?: string;
|
|
280
|
-
startOffset: number;
|
|
281
|
-
endOffset: number;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
declare interface StructureNodeData extends BaseNodeData {
|
|
285
|
-
type: 'structure';
|
|
286
|
-
isArray: boolean;
|
|
287
|
-
formattedJson: string;
|
|
288
|
-
elements: StructureElement[];
|
|
289
|
-
collapsed?: boolean;
|
|
290
|
-
expressionText?: string;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
export declare interface VariableNodeData extends OperatorNodeData {
|
|
294
|
-
path?: string;
|
|
295
|
-
defaultValue?: JsonLogicValue;
|
|
296
|
-
scopeJump?: number;
|
|
297
|
-
pathComponents?: string[];
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Visibility condition for conditional fields
|
|
302
|
-
*/
|
|
303
|
-
declare interface VisibilityCondition {
|
|
304
|
-
field: string;
|
|
305
|
-
operator: 'equals' | 'notEquals' | 'exists' | 'notExists';
|
|
306
|
-
value?: unknown;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
declare type VisualNodeType = 'operator' | 'literal' | 'structure';
|
|
310
|
-
|
|
311
|
-
export { }
|