@goplasmatic/dataflow-ui 2.1.0 → 2.1.2
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/dataflow-ui.css +1625 -0
- package/dist/datalogic_wasm-dEsk1ML--ByKZSKJe.js +374 -0
- package/dist/datalogic_wasm-dEsk1ML--CToURABN.cjs +375 -0
- package/dist/index.cjs +1535 -954
- package/dist/index.d.ts +18 -18
- package/dist/index.js +1535 -954
- package/package.json +13 -13
- package/dist/datalogic_wasm-RwP1VzMM-CRoSygcJ.cjs +0 -375
- package/dist/datalogic_wasm-RwP1VzMM-Tde_T26r.js +0 -374
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
2
|
import { defaultEngineFactory } from './engines';
|
|
3
3
|
import { ErrorInfo as ErrorInfo_2 } from 'react';
|
|
4
|
-
import { JSX
|
|
4
|
+
import { JSX } from 'react/jsx-runtime';
|
|
5
5
|
import { LucideIcon } from 'lucide-react';
|
|
6
6
|
import { ReactNode } from 'react';
|
|
7
7
|
import { ReactPortal } from 'react';
|
|
@@ -45,7 +45,7 @@ export declare interface Change {
|
|
|
45
45
|
*/
|
|
46
46
|
export declare function cloneMessage(message: Message): Message;
|
|
47
47
|
|
|
48
|
-
export declare function ConditionBadge({ condition, className, onClick }: ConditionBadgeProps):
|
|
48
|
+
export declare function ConditionBadge({ condition, className, onClick }: ConditionBadgeProps): JSX.Element;
|
|
49
49
|
|
|
50
50
|
declare interface ConditionBadgeProps {
|
|
51
51
|
condition: JsonLogicValue | undefined;
|
|
@@ -208,7 +208,7 @@ declare interface DebuggerContextValue {
|
|
|
208
208
|
/**
|
|
209
209
|
* Playback controls for the debugger
|
|
210
210
|
*/
|
|
211
|
-
export declare function DebuggerControls({ compact, className }: DebuggerControlsProps):
|
|
211
|
+
export declare function DebuggerControls({ compact, className }: DebuggerControlsProps): JSX.Element;
|
|
212
212
|
|
|
213
213
|
declare interface DebuggerControlsProps {
|
|
214
214
|
/** Show compact version */
|
|
@@ -220,7 +220,7 @@ declare interface DebuggerControlsProps {
|
|
|
220
220
|
/**
|
|
221
221
|
* Provider component for debugger state
|
|
222
222
|
*/
|
|
223
|
-
export declare function DebuggerProvider({ children, initialPayload, autoActivate, engineFactory, }: DebuggerProviderProps):
|
|
223
|
+
export declare function DebuggerProvider({ children, initialPayload, autoActivate, engineFactory, }: DebuggerProviderProps): JSX.Element;
|
|
224
224
|
|
|
225
225
|
declare interface DebuggerProviderProps {
|
|
226
226
|
children: ReactNode;
|
|
@@ -281,7 +281,7 @@ declare interface DebugInfoBubbleProps {
|
|
|
281
281
|
*/
|
|
282
282
|
export declare type DebugNodeState = 'pending' | 'current' | 'executed' | 'skipped' | 'error';
|
|
283
283
|
|
|
284
|
-
export declare function DebugStateBadge({ state, conditionResult, size, }: DebugStateBadgeProps):
|
|
284
|
+
export declare function DebugStateBadge({ state, conditionResult, size, }: DebugStateBadgeProps): JSX.Element;
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* Small badge showing debug state on tree nodes
|
|
@@ -370,7 +370,7 @@ export declare interface FunctionConfig {
|
|
|
370
370
|
input?: Record<string, unknown>;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
export declare function FunctionTypeBadge({ functionName, className }: FunctionTypeBadgeProps):
|
|
373
|
+
export declare function FunctionTypeBadge({ functionName, className }: FunctionTypeBadgeProps): JSX.Element;
|
|
374
374
|
|
|
375
375
|
declare interface FunctionTypeBadgeProps {
|
|
376
376
|
functionName: string;
|
|
@@ -420,7 +420,7 @@ export declare function getWorkflowState(trace: ExecutionTrace, currentStepIndex
|
|
|
420
420
|
* Compact debug toolbar for integration into the visualizer header.
|
|
421
421
|
* Includes execution status, step counter, and playback controls.
|
|
422
422
|
*/
|
|
423
|
-
export declare function IntegratedDebugToolbar({ workflows, payload, autoExecute, onExecutionComplete, onExecutionError, className, }: IntegratedDebugToolbarProps):
|
|
423
|
+
export declare function IntegratedDebugToolbar({ workflows, payload, autoExecute, onExecutionComplete, onExecutionError, className, }: IntegratedDebugToolbarProps): JSX.Element;
|
|
424
424
|
|
|
425
425
|
declare interface IntegratedDebugToolbarProps {
|
|
426
426
|
/** Workflows to execute */
|
|
@@ -449,7 +449,7 @@ export declare type JsonLogicValue = string | number | boolean | null | JsonLogi
|
|
|
449
449
|
[key: string]: JsonLogicValue;
|
|
450
450
|
};
|
|
451
451
|
|
|
452
|
-
export declare function JsonViewer({ data, initialExpanded, maxStringLength, className, }: JsonViewerProps):
|
|
452
|
+
export declare function JsonViewer({ data, initialExpanded, maxStringLength, className, }: JsonViewerProps): JSX.Element;
|
|
453
453
|
|
|
454
454
|
declare interface JsonViewerProps {
|
|
455
455
|
data: unknown;
|
|
@@ -507,7 +507,7 @@ export declare interface Message {
|
|
|
507
507
|
* Note: This is a simplified version that works with the new ExecutionTrace-based
|
|
508
508
|
* debugging system. The input is a JSON payload that gets processed through workflows.
|
|
509
509
|
*/
|
|
510
|
-
export declare function MessageInputPanel({ onExecute, isExecuting, className, }: MessageInputPanelProps):
|
|
510
|
+
export declare function MessageInputPanel({ onExecute, isExecuting, className, }: MessageInputPanelProps): JSX.Element;
|
|
511
511
|
|
|
512
512
|
declare interface MessageInputPanelProps {
|
|
513
513
|
/** Callback to trigger debug execution */
|
|
@@ -521,7 +521,7 @@ declare interface MessageInputPanelProps {
|
|
|
521
521
|
/**
|
|
522
522
|
* Panel showing message state at current execution step
|
|
523
523
|
*/
|
|
524
|
-
export declare function MessageStatePanel({ className }: MessageStatePanelProps):
|
|
524
|
+
export declare function MessageStatePanel({ className }: MessageStatePanelProps): JSX.Element;
|
|
525
525
|
|
|
526
526
|
declare interface MessageStatePanelProps {
|
|
527
527
|
/** Additional CSS class */
|
|
@@ -533,7 +533,7 @@ declare interface MessageStatePanelProps {
|
|
|
533
533
|
*/
|
|
534
534
|
export declare type PlaybackState = 'stopped' | 'playing' | 'paused';
|
|
535
535
|
|
|
536
|
-
export declare function RulesListView({ workflows, highlightedTaskIds, onTaskSelect, defaultExpandedIds, }: RulesListViewProps):
|
|
536
|
+
export declare function RulesListView({ workflows, highlightedTaskIds, onTaskSelect, defaultExpandedIds, }: RulesListViewProps): JSX.Element;
|
|
537
537
|
|
|
538
538
|
declare interface RulesListViewProps {
|
|
539
539
|
workflows: Workflow[];
|
|
@@ -542,7 +542,7 @@ declare interface RulesListViewProps {
|
|
|
542
542
|
defaultExpandedIds?: string[];
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
-
export declare function SearchInput({ value, onChange, onClear, placeholder, className, }: SearchInputProps):
|
|
545
|
+
export declare function SearchInput({ value, onChange, onClear, placeholder, className, }: SearchInputProps): JSX.Element;
|
|
546
546
|
|
|
547
547
|
declare interface SearchInputProps {
|
|
548
548
|
value: string;
|
|
@@ -575,7 +575,7 @@ export declare interface Task {
|
|
|
575
575
|
continue_on_error?: boolean;
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
export declare function TaskRow({ task, workflow, index, isHighlighted, onSelect, }: TaskRowProps):
|
|
578
|
+
export declare function TaskRow({ task, workflow, index, isHighlighted, onSelect, }: TaskRowProps): JSX.Element;
|
|
579
579
|
|
|
580
580
|
declare interface TaskRowProps {
|
|
581
581
|
task: Task;
|
|
@@ -593,7 +593,7 @@ declare interface ThemeContextValue {
|
|
|
593
593
|
setTheme: (theme: Theme) => void;
|
|
594
594
|
}
|
|
595
595
|
|
|
596
|
-
export declare function ThemeProvider({ children, defaultTheme }: ThemeProviderProps):
|
|
596
|
+
export declare function ThemeProvider({ children, defaultTheme }: ThemeProviderProps): JSX.Element;
|
|
597
597
|
|
|
598
598
|
declare interface ThemeProviderProps {
|
|
599
599
|
children: ReactNode;
|
|
@@ -654,7 +654,7 @@ export declare type TreeSelectionType = {
|
|
|
654
654
|
ruleIndex: number;
|
|
655
655
|
};
|
|
656
656
|
|
|
657
|
-
export declare function TreeView({ workflows, selection, onSelect, debugMode }: TreeViewProps):
|
|
657
|
+
export declare function TreeView({ workflows, selection, onSelect, debugMode }: TreeViewProps): JSX.Element;
|
|
658
658
|
|
|
659
659
|
declare interface TreeViewProps {
|
|
660
660
|
workflows: Workflow[];
|
|
@@ -753,7 +753,7 @@ export declare interface Workflow {
|
|
|
753
753
|
continue_on_error?: boolean;
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
-
export declare function WorkflowCard({ workflow, isExpanded, onToggle, onTaskSelect, highlightedTaskIds, }: WorkflowCardProps):
|
|
756
|
+
export declare function WorkflowCard({ workflow, isExpanded, onToggle, onTaskSelect, highlightedTaskIds, }: WorkflowCardProps): JSX.Element;
|
|
757
757
|
|
|
758
758
|
declare interface WorkflowCardProps {
|
|
759
759
|
workflow: Workflow;
|
|
@@ -763,7 +763,7 @@ declare interface WorkflowCardProps {
|
|
|
763
763
|
highlightedTaskIds?: Set<string>;
|
|
764
764
|
}
|
|
765
765
|
|
|
766
|
-
export declare function WorkflowFlowView({ workflows, onTaskSelect, onWorkflowSelect, onWorkflowConditionClick, onTaskConditionClick, selection, highlightedTaskIds, }: WorkflowFlowViewProps):
|
|
766
|
+
export declare function WorkflowFlowView({ workflows, onTaskSelect, onWorkflowSelect, onWorkflowConditionClick, onTaskConditionClick, selection, highlightedTaskIds, }: WorkflowFlowViewProps): JSX.Element;
|
|
767
767
|
|
|
768
768
|
declare interface WorkflowFlowViewProps {
|
|
769
769
|
workflows: Workflow[];
|
|
@@ -775,7 +775,7 @@ declare interface WorkflowFlowViewProps {
|
|
|
775
775
|
highlightedTaskIds?: Set<string>;
|
|
776
776
|
}
|
|
777
777
|
|
|
778
|
-
export declare function WorkflowVisualizer({ workflows, onWorkflowSelect, onTaskSelect, theme, className, executionResult, debugConfig, debugPayload, }: WorkflowVisualizerProps):
|
|
778
|
+
export declare function WorkflowVisualizer({ workflows, onWorkflowSelect, onTaskSelect, theme, className, executionResult, debugConfig, debugPayload, }: WorkflowVisualizerProps): JSX.Element;
|
|
779
779
|
|
|
780
780
|
export declare interface WorkflowVisualizerProps {
|
|
781
781
|
/** Array of workflow definitions to display */
|