@goplasmatic/datalogic-ui 5.1.1 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +163 -32
- package/dist/components/logic-editor/DataLogicEditor.d.ts +1 -1
- package/dist/components/logic-editor/DataLogicEditor.d.ts.map +1 -1
- package/dist/components/logic-editor/EditorToolbar.d.ts +8 -1
- package/dist/components/logic-editor/EditorToolbar.d.ts.map +1 -1
- package/dist/components/logic-editor/KeyboardHandler.d.ts.map +1 -1
- package/dist/components/logic-editor/config/arity.d.ts +3 -0
- package/dist/components/logic-editor/config/arity.d.ts.map +1 -0
- package/dist/components/logic-editor/config/categories.d.ts +7 -2
- package/dist/components/logic-editor/config/categories.d.ts.map +1 -1
- package/dist/components/logic-editor/config/docs.d.ts +11 -0
- package/dist/components/logic-editor/config/docs.d.ts.map +1 -0
- package/dist/components/logic-editor/config/literalPanel.d.ts +4 -0
- package/dist/components/logic-editor/config/literalPanel.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/arithmetic-basic.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/arithmetic-functions.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/array-iteration.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/array-manipulation.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/array.d.ts +1 -1
- package/dist/components/logic-editor/config/operators/control.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/datetime.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/error.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/flagd.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/flagd.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/index.d.ts +3 -1
- package/dist/components/logic-editor/config/operators/index.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/logical.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/object.d.ts +3 -0
- package/dist/components/logic-editor/config/operators/object.d.ts.map +1 -0
- package/dist/components/logic-editor/config/operators/string-core.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/string-transform.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/utility.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/validation.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/variable.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators.types.d.ts +13 -11
- package/dist/components/logic-editor/config/operators.types.d.ts.map +1 -1
- package/dist/components/logic-editor/constants/colors.d.ts.map +1 -1
- package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts +6 -1
- package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts.map +1 -1
- package/dist/components/logic-editor/context/debugger/hooks.d.ts +3 -1
- package/dist/components/logic-editor/context/debugger/hooks.d.ts.map +1 -1
- package/dist/components/logic-editor/context/debugger/types.d.ts +18 -0
- package/dist/components/logic-editor/context/debugger/types.d.ts.map +1 -1
- package/dist/components/logic-editor/context/editor/EditorContext.d.ts.map +1 -1
- package/dist/components/logic-editor/context/editor/useNodeCreation.d.ts.map +1 -1
- package/dist/components/logic-editor/context/editor/useNodeEdgeInsert.d.ts +16 -0
- package/dist/components/logic-editor/context/editor/useNodeEdgeInsert.d.ts.map +1 -1
- package/dist/components/logic-editor/context/editor/useNodeOperations.d.ts.map +1 -1
- package/dist/components/logic-editor/context/index.d.ts +0 -1
- package/dist/components/logic-editor/context/index.d.ts.map +1 -1
- package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts +1 -1
- package/dist/components/logic-editor/context-menu/CanvasContextMenu.d.ts.map +1 -1
- package/dist/components/logic-editor/context-menu/index.d.ts +0 -1
- package/dist/components/logic-editor/context-menu/index.d.ts.map +1 -1
- package/dist/components/logic-editor/context-menu/menu-helpers.d.ts +2 -1
- package/dist/components/logic-editor/context-menu/menu-helpers.d.ts.map +1 -1
- package/dist/components/logic-editor/context-menu/useContextMenuItems.d.ts.map +1 -1
- package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts.map +1 -1
- package/dist/components/logic-editor/debugger-controls/StepTimeline.d.ts +14 -0
- package/dist/components/logic-editor/debugger-controls/StepTimeline.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 -1
- package/dist/components/logic-editor/debugger-controls/keyboard-guard.d.ts +6 -0
- package/dist/components/logic-editor/debugger-controls/keyboard-guard.d.ts.map +1 -0
- package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts.map +1 -1
- package/dist/components/logic-editor/hooks/index.d.ts +2 -3
- package/dist/components/logic-editor/hooks/index.d.ts.map +1 -1
- package/dist/components/logic-editor/hooks/useDebugClassName.d.ts +2 -0
- package/dist/components/logic-editor/hooks/useDebugClassName.d.ts.map +1 -1
- package/dist/components/logic-editor/hooks/useLogicEditor.d.ts +15 -8
- package/dist/components/logic-editor/hooks/useLogicEditor.d.ts.map +1 -1
- package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts +72 -4
- package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts.map +1 -1
- package/dist/components/logic-editor/index.d.ts +3 -4
- package/dist/components/logic-editor/index.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts +9 -2
- package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts +2 -1
- package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/PanelRenderer.d.ts +12 -1
- package/dist/components/logic-editor/panel-inputs/PanelRenderer.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/index.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/index.d.ts.map +1 -1
- package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts.map +1 -1
- package/dist/components/logic-editor/properties-panel/ArgumentsSection.d.ts.map +1 -1
- package/dist/components/logic-editor/properties-panel/HelpSection.d.ts +8 -2
- package/dist/components/logic-editor/properties-panel/HelpSection.d.ts.map +1 -1
- package/dist/components/logic-editor/properties-panel/utils/argument-parser.d.ts +4 -0
- package/dist/components/logic-editor/properties-panel/utils/argument-parser.d.ts.map +1 -1
- package/dist/components/logic-editor/properties-panel/utils/expression-rebuilder.d.ts +6 -2
- package/dist/components/logic-editor/properties-panel/utils/expression-rebuilder.d.ts.map +1 -1
- package/dist/components/logic-editor/properties-panel/utils.d.ts.map +1 -1
- package/dist/components/logic-editor/services/argument-service.d.ts +4 -1
- package/dist/components/logic-editor/services/argument-service.d.ts.map +1 -1
- package/dist/components/logic-editor/services/index.d.ts +1 -1
- package/dist/components/logic-editor/services/index.d.ts.map +1 -1
- package/dist/components/logic-editor/services/inline-edit-service.d.ts +13 -0
- package/dist/components/logic-editor/services/inline-edit-service.d.ts.map +1 -0
- package/dist/components/logic-editor/services/node-mutation-service.d.ts +3 -2
- package/dist/components/logic-editor/services/node-mutation-service.d.ts.map +1 -1
- package/dist/components/logic-editor/services/node-transform-service.d.ts +14 -4
- package/dist/components/logic-editor/services/node-transform-service.d.ts.map +1 -1
- package/dist/components/logic-editor/types/editor.d.ts +51 -19
- package/dist/components/logic-editor/types/editor.d.ts.map +1 -1
- package/dist/components/logic-editor/types/index.d.ts +1 -1
- package/dist/components/logic-editor/types/index.d.ts.map +1 -1
- package/dist/components/logic-editor/types/jsonlogic.d.ts +1 -1
- package/dist/components/logic-editor/types/jsonlogic.d.ts.map +1 -1
- package/dist/components/logic-editor/types/trace.d.ts +16 -5
- package/dist/components/logic-editor/types/trace.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/Icon.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts +29 -3
- package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/converters/index.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/converters/operator-converter.d.ts +1 -1
- package/dist/components/logic-editor/utils/converters/operator-converter.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/converters/structure-converter.d.ts +4 -0
- package/dist/components/logic-editor/utils/converters/structure-converter.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/converters/structure-paths.d.ts +52 -0
- package/dist/components/logic-editor/utils/converters/structure-paths.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/switch-cells.d.ts +40 -0
- package/dist/components/logic-editor/utils/converters/switch-cells.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/switch-converter.d.ts +1 -1
- package/dist/components/logic-editor/utils/converters/switch-converter.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/converters/variable-cells.d.ts +62 -0
- package/dist/components/logic-editor/utils/converters/variable-cells.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/converters/variable-converter.d.ts +1 -3
- package/dist/components/logic-editor/utils/converters/variable-converter.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/index.d.ts +1 -1
- package/dist/components/logic-editor/utils/index.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/layout.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/menu-builder.d.ts +7 -1
- package/dist/components/logic-editor/utils/menu-builder.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/node-cloning.d.ts +9 -1
- package/dist/components/logic-editor/utils/node-cloning.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/node-deletion.d.ts +17 -0
- package/dist/components/logic-editor/utils/node-deletion.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/node-factory.d.ts +7 -3
- package/dist/components/logic-editor/utils/node-factory.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/node-updaters.d.ts +6 -0
- package/dist/components/logic-editor/utils/node-updaters.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/nodeShape.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/nodes-to-jsonlogic.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/signal.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/child-matching.d.ts +47 -1
- package/dist/components/logic-editor/utils/trace/child-matching.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/index.d.ts +3 -2
- package/dist/components/logic-editor/utils/trace/index.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts +1 -1
- package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/node-creators/index.d.ts +0 -1
- package/dist/components/logic-editor/utils/trace/node-creators/index.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/node-creators/structure.d.ts +8 -1
- package/dist/components/logic-editor/utils/trace/node-creators/structure.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/node-creators/switch.d.ts +9 -4
- package/dist/components/logic-editor/utils/trace/node-creators/switch.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts +14 -2
- package/dist/components/logic-editor/utils/trace/node-creators/variable.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts +3 -1
- package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/trace-failure.d.ts +29 -0
- package/dist/components/logic-editor/utils/trace/trace-failure.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/trace-ids.d.ts +6 -0
- package/dist/components/logic-editor/utils/trace/trace-ids.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/trace-to-nodes.d.ts +5 -1
- package/dist/components/logic-editor/utils/trace/trace-to-nodes.d.ts.map +1 -1
- package/dist/datalogic_wasm-BWLewicv.cjs +1107 -0
- package/dist/datalogic_wasm-B_6dx9ev.js +1106 -0
- package/dist/index.cjs +7168 -3705
- package/dist/index.js +7164 -3705
- package/dist/lib.d.ts +5 -1
- package/dist/lib.d.ts.map +1 -1
- package/dist/styles.css +440 -0
- package/package.json +26 -23
- package/dist/components/logic-editor/context/EvaluationContext.d.ts +0 -5
- package/dist/components/logic-editor/context/EvaluationContext.d.ts.map +0 -1
- package/dist/components/logic-editor/context-menu/AddArgumentMenu.d.ts +0 -24
- package/dist/components/logic-editor/context-menu/AddArgumentMenu.d.ts.map +0 -1
- package/dist/components/logic-editor/hooks/useDebugEvaluation.d.ts +0 -16
- package/dist/components/logic-editor/hooks/useDebugEvaluation.d.ts.map +0 -1
- package/dist/components/logic-editor/utils/expression-builder.d.ts +0 -16
- package/dist/components/logic-editor/utils/expression-builder.d.ts.map +0 -1
- package/dist/components/logic-editor/utils/trace/evaluation-results.d.ts +0 -15
- package/dist/components/logic-editor/utils/trace/evaluation-results.d.ts.map +0 -1
- package/dist/components/logic-editor/utils/trace/node-creators/operator.d.ts +0 -11
- package/dist/components/logic-editor/utils/trace/node-creators/operator.d.ts.map +0 -1
- package/dist/datalogic_wasm-CpFcFYs_.js +0 -1145
- package/dist/datalogic_wasm-gbHygpWU.cjs +0 -1148
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { ExecutionStep } from '../../types/trace';
|
|
3
3
|
import { LogicNode } from '../../types';
|
|
4
|
+
import { TraceFailure } from '../../utils/trace/trace-failure';
|
|
4
5
|
interface DebuggerProviderProps {
|
|
5
6
|
children: ReactNode;
|
|
6
7
|
steps: ExecutionStep[];
|
|
7
8
|
traceNodeMap: Map<string, string>;
|
|
8
9
|
nodes: LogicNode[];
|
|
10
|
+
/** Visual node ids on the engine's failure breadcrumb (innermost first), optional */
|
|
11
|
+
failedNodeIds?: Set<string>;
|
|
12
|
+
/** Trace-level failure (compile or runtime) to show on the failed node, optional */
|
|
13
|
+
traceError?: TraceFailure;
|
|
9
14
|
}
|
|
10
|
-
export declare function DebuggerProvider({ children, steps, traceNodeMap, nodes }: DebuggerProviderProps): import("react").JSX.Element;
|
|
15
|
+
export declare function DebuggerProvider({ children, steps, traceNodeMap, nodes, failedNodeIds, traceError, }: DebuggerProviderProps): import("react").JSX.Element;
|
|
11
16
|
export {};
|
|
12
17
|
//# sourceMappingURL=DebuggerProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebuggerProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/debugger/DebuggerProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"DebuggerProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/debugger/DebuggerProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAOpE,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,qFAAqF;IACrF,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,oFAAoF;IACpF,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B;AAoBD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,KAAK,EACL,aAA4B,EAC5B,UAAU,GACX,EAAE,qBAAqB,+BAwJvB"}
|
|
@@ -6,7 +6,9 @@ import { NodeDebugState, DebuggerContextValue } from './types';
|
|
|
6
6
|
export declare function useDebuggerContext(): DebuggerContextValue;
|
|
7
7
|
/**
|
|
8
8
|
* Hook to get debug state for a specific node
|
|
9
|
-
* Returns null if debugger is not active
|
|
9
|
+
* Returns null if debugger is not active, except for nodes on the engine's
|
|
10
|
+
* failure breadcrumb, which report an error state even at rest so the
|
|
11
|
+
* failing node is visible before stepping.
|
|
10
12
|
*/
|
|
11
13
|
export declare function useNodeDebugState(nodeId: string): NodeDebugState | null;
|
|
12
14
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/debugger/hooks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpE;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,oBAAoB,CAMzD;AAED
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/debugger/hooks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpE;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,oBAAoB,CAMzD;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,GAAG,IAAI,CAyCvE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExecutionStep } from '../../types/trace';
|
|
2
|
+
import { TraceFailure } from '../../utils/trace/trace-failure';
|
|
2
3
|
export type PlaybackState = 'playing' | 'paused' | 'stopped';
|
|
3
4
|
export interface DebuggerState {
|
|
4
5
|
isActive: boolean;
|
|
@@ -31,6 +32,12 @@ export type DebuggerAction = {
|
|
|
31
32
|
} | {
|
|
32
33
|
type: 'AUTO_STEP_FORWARD';
|
|
33
34
|
};
|
|
35
|
+
export interface NodeSummary {
|
|
36
|
+
/** Operator label (or 'literal' / 'object' / 'array') */
|
|
37
|
+
label: string;
|
|
38
|
+
/** Expression text (or the literal's value) */
|
|
39
|
+
detail: string;
|
|
40
|
+
}
|
|
34
41
|
export interface DebuggerContextValue {
|
|
35
42
|
state: DebuggerState;
|
|
36
43
|
currentStep: ExecutionStep | null;
|
|
@@ -38,6 +45,16 @@ export interface DebuggerContextValue {
|
|
|
38
45
|
executedNodeIds: Set<string>;
|
|
39
46
|
errorNodeIds: Set<string>;
|
|
40
47
|
pathNodeIds: Set<string>;
|
|
48
|
+
/** Trace node id (`trace-N`) -> visual node id, as produced by traceToNodes */
|
|
49
|
+
traceNodeMap: Map<string, string>;
|
|
50
|
+
/** Node IDs on the engine's failure breadcrumb (innermost first); empty without a failure */
|
|
51
|
+
failedNodeIds: Set<string>;
|
|
52
|
+
/** The innermost failed node (first of failedNodeIds), or null */
|
|
53
|
+
primaryFailedNodeId: string | null;
|
|
54
|
+
/** Trace-level failure (compile or runtime), or null */
|
|
55
|
+
traceError: TraceFailure | null;
|
|
56
|
+
/** Visual node id -> label / expression summary (for the step list) */
|
|
57
|
+
nodeSummaries: Map<string, NodeSummary>;
|
|
41
58
|
play: () => void;
|
|
42
59
|
pause: () => void;
|
|
43
60
|
stop: () => void;
|
|
@@ -53,6 +70,7 @@ export interface NodeDebugState {
|
|
|
53
70
|
isPending: boolean;
|
|
54
71
|
isOnPath: boolean;
|
|
55
72
|
isError: boolean;
|
|
73
|
+
isFailed: boolean;
|
|
56
74
|
step: ExecutionStep | null;
|
|
57
75
|
}
|
|
58
76
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/debugger/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/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,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACzB,+EAA+E;IAC/E,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,6FAA6F;IAC7F,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,kEAAkE;IAClE,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,wDAAwD;IACxD,UAAU,EAAE,YAAY,GAAG,IAAI,CAAC;IAChC,uEAAuE;IACvE,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAExC,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC;AAGD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/EditorContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAS7C,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8DAA8D;IAC9D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,KAAK,EAAE,SAAS,EAChB,eAAuB,EACvB,aAAa,GACd,EAAE,mBAAmB,+
|
|
1
|
+
{"version":3,"file":"EditorContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/EditorContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAS7C,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8DAA8D;IAC9D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,KAAK,EAAE,SAAS,EAChB,eAAuB,EACvB,aAAa,GACd,EAAE,mBAAmB,+BAsQrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodeCreation.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/useNodeCreation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAe,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CA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K,IAAI,EAC9C,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EACjE,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,SAAS,EAAE;uBAOjB,cAAc,iBAAiB,MAAM;;EA4O/C"}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
2
|
import { LogicNode } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Which end of an edge is the parent follows the tree, not the edge
|
|
5
|
+
* orientation ('flow' draws child -> parent, 'hierarchy' the reverse).
|
|
6
|
+
* Returns null when the two nodes are not actually parent and child.
|
|
7
|
+
*/
|
|
8
|
+
export declare function resolveEdgeParentChild(nodes: LogicNode[], sourceId: string, targetId: string): {
|
|
9
|
+
parentNode: LogicNode;
|
|
10
|
+
childNode: LogicNode;
|
|
11
|
+
} | null;
|
|
12
|
+
/**
|
|
13
|
+
* A `var` or literal node has no slot to hold the edge's existing child, so
|
|
14
|
+
* inserting one discards that child and everything under it. True when that
|
|
15
|
+
* would actually throw work away (the child is more than a bare leaf), which
|
|
16
|
+
* the picker uses to say so before the click.
|
|
17
|
+
*/
|
|
18
|
+
export declare function edgeInsertDiscardsSubtree(nodes: LogicNode[], sourceId: string, targetId: string): boolean;
|
|
3
19
|
export declare function useNodeEdgeInsert(pushToUndoStack: (nodes: LogicNode[]) => void, setInternalNodes: Dispatch<SetStateAction<LogicNode[]>>, onNodesChange: ((nodes: LogicNode[]) => void) | undefined, setSelectedNodeId: (id: string | null) => void, setPanelValues: Dispatch<SetStateAction<Record<string, unknown>>>, hasEditedRef: React.RefObject<boolean>): {
|
|
4
20
|
insertNodeOnEdge: (sourceId: string, targetId: string, operatorName: string) => void;
|
|
5
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodeEdgeInsert.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/useNodeEdgeInsert.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"useNodeEdgeInsert.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/useNodeEdgeInsert.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAe,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,EAAE,SAAS,EAAqC,MAAM,aAAa,CAAC;AAIhF;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,SAAS,EAAE,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf;IAAE,UAAU,EAAE,SAAS,CAAC;IAAC,SAAS,EAAE,SAAS,CAAA;CAAE,GAAG,IAAI,CAWxD;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,SAAS,EAAE,EAClB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,OAAO,CAIT;AAED,wBAAgB,iBAAiB,CAC/B,eAAe,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,EAC7C,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,EAAE,CAAC,CAAC,EACvD,aAAa,EAAE,CAAC,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,EACzD,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,EAC9C,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EACjE,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC;iCAGzB,MAAM,YAAY,MAAM,gBAAgB,MAAM;EAiH5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodeOperations.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/useNodeOperations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAe,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAoB,MAAM,aAAa,CAAC;AAS9E,wBAAgB,iBAAiB,CAC/B,eAAe,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,EAC7C,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,EAAE,CAAC,CAAC,EACvD,aAAa,EAAE,CAAC,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,EACzD,cAAc,EAAE,MAAM,GAAG,IAAI,EAC7B,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,EAC9C,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EACjE,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,EACtC,KAAK,EAAE,SAAS,EAAE;yBAGP,MAAM,WAAW,OAAO,CAAC,aAAa,CAAC;yBAsBvC,MAAM;8BAkBJ,MAAM,KAAG,SAAS,EAAE;gCA8BtB,MAAM,aAAY,SAAS,GAAG,UAAU,GAAG,UAAU,iBAA6B,MAAM;
|
|
1
|
+
{"version":3,"file":"useNodeOperations.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/useNodeOperations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAe,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAoB,MAAM,aAAa,CAAC;AAS9E,wBAAgB,iBAAiB,CAC/B,eAAe,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,EAC7C,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,EAAE,CAAC,CAAC,EACvD,aAAa,EAAE,CAAC,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC,GAAG,SAAS,EACzD,cAAc,EAAE,MAAM,GAAG,IAAI,EAC7B,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,EAC9C,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EACjE,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,EACtC,KAAK,EAAE,SAAS,EAAE;yBAGP,MAAM,WAAW,OAAO,CAAC,aAAa,CAAC;yBAsBvC,MAAM;8BAkBJ,MAAM,KAAG,SAAS,EAAE;gCA8BtB,MAAM,aAAY,SAAS,GAAG,UAAU,GAAG,UAAU,iBAA6B,MAAM;qCAexF,MAAM,YAAY,MAAM;iCAexB,MAAM,YAAY,MAAM;4BAoBxB,MAAM;EAyBlB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { EvaluationContext, useEvaluationResult, useEvaluationResults } from './EvaluationContext';
|
|
2
1
|
export { DebuggerProvider, useDebuggerContext, useNodeDebugState } from './debugger';
|
|
3
2
|
export { ConnectedHandlesProvider } from './ConnectedHandlesContext';
|
|
4
3
|
export { useIsHandleConnected } from './useConnectedHandles';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACvG,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CanvasContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/CanvasContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;
|
|
1
|
+
{"version":3,"file":"CanvasContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/CanvasContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAmBH,MAAM,WAAW,sBAAsB;IACrC,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,oCAAoC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,2DAI3B,sBAAsB,iCA+GvB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { ContextMenu, type MenuItemConfig, type ContextMenuProps } from './ContextMenu';
|
|
2
2
|
export { NodeContextMenu, type NodeContextMenuProps } from './NodeContextMenu';
|
|
3
3
|
export { CanvasContextMenu, type CanvasContextMenuProps } from './CanvasContextMenu';
|
|
4
|
-
export { AddArgumentMenu, type AddArgumentMenuProps, type AddArgumentNodeType } from './AddArgumentMenu';
|
|
5
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MenuItemConfig } from './ContextMenu';
|
|
2
2
|
import { LogicNode, OperatorNodeData, CellData } from '../types';
|
|
3
|
-
export declare function buildIfRemoveItems(opData: OperatorNodeData,
|
|
3
|
+
export declare function buildIfRemoveItems(opData: OperatorNodeData, childNodes: LogicNode[], onRemove: (argIndex: number) => void): MenuItemConfig[];
|
|
4
|
+
export declare function buildSwitchRemoveItems(opData: OperatorNodeData, childNodes: LogicNode[], onRemove: (argIndex: number) => void): MenuItemConfig[];
|
|
4
5
|
export declare function getCellLabel(cell: CellData, childNode: LogicNode | undefined, index: number): string;
|
|
5
6
|
//# sourceMappingURL=menu-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-helpers.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/menu-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"menu-helpers.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/menu-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAOtE,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,SAAS,EAAE,EACvB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,GACnC,cAAc,EAAE,CAgClB;AAID,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,SAAS,EAAE,EACvB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,GACnC,cAAc,EAAE,CA0BlB;AAGD,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CA0BpG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useContextMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/useContextMenuItems.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAoB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"useContextMenuItems.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/useContextMenuItems.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAoB,MAAM,UAAU,CAAC;AAU5D,UAAU,yBAAyB;IACjC,IAAI,EAAE,SAAS,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,yBAAyB,GAAG,cAAc,EAAE,CAsT3G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebuggerControls.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/DebuggerControls.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DebuggerControls.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/DebuggerControls.tsx"],"names":[],"mappings":"AAeA,OAAO,wBAAwB,CAAC;AAEhC,wBAAgB,sBAAsB,gCAErC;AAED,wBAAgB,gBAAgB,gCAE/B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface StepTimelineProps {
|
|
2
|
+
/** Element the panel is anchored to; the panel mounts in its `.logic-editor-body` (or `.logic-editor`) ancestor */
|
|
3
|
+
anchor: HTMLElement | null;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Step list for the trace: one row per execution step (index, node label and
|
|
8
|
+
* expression, iteration, result or error). Click a row to jump to that step.
|
|
9
|
+
* Mounted into the editor body so it overlays the canvas in both the floating
|
|
10
|
+
* and the inline (toolbar) transport variants.
|
|
11
|
+
*/
|
|
12
|
+
export declare function StepTimeline({ anchor, onClose }: StepTimelineProps): import('react').ReactPortal | null;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=StepTimeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepTimeline.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/StepTimeline.tsx"],"names":[],"mappings":"AAQA,UAAU,iBAAiB;IACzB,mHAAmH;IACnH,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,iBAAiB,sCAmIlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* True when a keyboard event targeting `target` should be left to the element
|
|
3
|
+
* itself rather than handled as a debugger shortcut.
|
|
4
|
+
*/
|
|
5
|
+
export declare function isEditableTarget(target: EventTarget | null): boolean;
|
|
6
|
+
//# sourceMappingURL=keyboard-guard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyboard-guard.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/debugger-controls/keyboard-guard.ts"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,OAAO,CAMpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EdgeOperatorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EdgeOperatorPicker.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"EdgeOperatorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EdgeOperatorPicker.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH,UAAU,QAAQ;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,+DAG5B,uBAAuB,iCAyMxB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export { useLogicEditor } from './useLogicEditor';
|
|
2
|
-
export type { EvaluationResult, EvaluationResultsMap } from './useLogicEditor';
|
|
3
2
|
export { useDebugClassName } from './useDebugClassName';
|
|
4
3
|
export { useNodeCollapse } from './useNodeCollapse';
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
4
|
+
export { useWasmEvaluator, DataLogicEvaluationError, parseStructuredError, adaptCustomOperators, customOperatorNamesKey, normalizeEvaluationConfig, isDefaultEvaluationConfig, summarizeEvaluationConfig, createWasmEngine, } from './useWasmEvaluator';
|
|
5
|
+
export type { UseWasmEvaluatorOptions, UseWasmEvaluatorResult, WasmModule, WasmEngineInstance, } from './useWasmEvaluator';
|
|
7
6
|
export { checkDepth } from './useRecursionCheck';
|
|
8
7
|
export { useContextMenu } from './useContextMenu';
|
|
9
8
|
export { useSystemTheme } from './useSystemTheme';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,uBAAuB,EACvB,sBAAsB,EACtB,UAAU,EACV,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hook that generates debug-related CSS class names for a node based on its debug state.
|
|
3
3
|
* Returns a space-separated string of class names that can be added to the node's className.
|
|
4
|
+
* `debug-error` marks a node whose step failed (or, at rest, a node on the
|
|
5
|
+
* engine's failure breadcrumb); `debug-failed` additionally marks breadcrumb nodes.
|
|
4
6
|
*/
|
|
5
7
|
export declare function useDebugClassName(nodeId: string): string;
|
|
6
8
|
//# sourceMappingURL=useDebugClassName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDebugClassName.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useDebugClassName.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"useDebugClassName.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useDebugClassName.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAaxD"}
|
|
@@ -1,28 +1,35 @@
|
|
|
1
1
|
import { LogicNode, LogicEdge, JsonLogicValue, TracedResult, ExecutionStep } from '../types';
|
|
2
|
+
import { TraceFailure } from '../utils/trace';
|
|
2
3
|
import { FlowDirection } from '../context/DirectionContextDef';
|
|
3
|
-
export interface EvaluationResult {
|
|
4
|
-
value: unknown;
|
|
5
|
-
error: string | null;
|
|
6
|
-
type: 'boolean' | 'number' | 'string' | 'null' | 'array' | 'object' | 'undefined';
|
|
7
|
-
}
|
|
8
|
-
export type EvaluationResultsMap = Map<string, EvaluationResult>;
|
|
9
4
|
interface UseLogicEditorOptions {
|
|
10
5
|
value: JsonLogicValue | null;
|
|
11
6
|
evaluateWithTrace?: (logic: unknown, data: unknown) => TracedResult;
|
|
12
7
|
data?: unknown;
|
|
13
8
|
/** Enable templating mode (multi-key objects compile to output-shaping templates with embedded JSONLogic). */
|
|
14
9
|
templating?: boolean;
|
|
15
|
-
/** Diagram direction
|
|
10
|
+
/** Diagram direction, flips the layout rankDir (default 'flow'). */
|
|
16
11
|
direction?: FlowDirection;
|
|
17
12
|
}
|
|
18
13
|
interface UseLogicEditorReturn {
|
|
19
14
|
nodes: LogicNode[];
|
|
20
15
|
edges: LogicEdge[];
|
|
16
|
+
/** Conversion / rendering error (the diagram could not be built). */
|
|
21
17
|
error: string | null;
|
|
22
|
-
evaluationResults: EvaluationResultsMap;
|
|
23
18
|
usingTraceMode: boolean;
|
|
24
19
|
steps: ExecutionStep[];
|
|
25
20
|
traceNodeMap: Map<string, string>;
|
|
21
|
+
/**
|
|
22
|
+
* Engine failure reported by the trace envelope: a compile-stage error
|
|
23
|
+
* (parse error, unknown operator; the diagram then comes from the static
|
|
24
|
+
* converter and there are no steps) or a runtime error (steps run up to the
|
|
25
|
+
* failing node). Undefined when evaluation succeeded or no trace ran.
|
|
26
|
+
*/
|
|
27
|
+
traceError?: TraceFailure;
|
|
28
|
+
/**
|
|
29
|
+
* Visual node ids on the engine's failure breadcrumb (innermost first),
|
|
30
|
+
* resolved through `traceNodeMap`. Undefined when there is no failure.
|
|
31
|
+
*/
|
|
32
|
+
failedNodeIds?: Set<string>;
|
|
26
33
|
}
|
|
27
34
|
export declare function useLogicEditor({ value, evaluateWithTrace, data, templating, direction, }: UseLogicEditorOptions): UseLogicEditorReturn;
|
|
28
35
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLogicEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useLogicEditor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,cAAc,EACd,YAAY,EACZ,aAAa,EACd,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"useLogicEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useLogicEditor.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,SAAS,EACT,cAAc,EACd,YAAY,EACZ,aAAa,EACd,MAAM,UAAU,CAAC;AAElB,OAAO,EAKL,KAAK,YAAY,EAClB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEpE,UAAU,qBAAqB;IAC7B,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,YAAY,CAAC;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8GAA8G;IAC9G,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oEAAoE;IACpE,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED,UAAU,oBAAoB;IAC5B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,qEAAqE;IACrE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC7B;AAQD,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,iBAAiB,EACjB,IAAI,EACJ,UAAkB,EAClB,SAAkB,GACnB,EAAE,qBAAqB,GAAG,oBAAoB,CA8H9C"}
|
|
@@ -1,20 +1,88 @@
|
|
|
1
|
-
import { StructuredError, TracedResult } from '../types';
|
|
1
|
+
import { StructuredError, TracedResult, DataLogicEvaluationConfig, DataLogicCustomOperator } from '../types';
|
|
2
2
|
/** Error thrown from the WASM boundary that carries the parsed StructuredError. */
|
|
3
3
|
export declare class DataLogicEvaluationError extends Error {
|
|
4
4
|
readonly structured: StructuredError;
|
|
5
5
|
constructor(structured: StructuredError);
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Turn whatever the WASM boundary threw into a `StructuredError`.
|
|
9
|
+
*
|
|
10
|
+
* Since the 5.1 error bridge the thrown value is a real `Error` whose
|
|
11
|
+
* `message` is the human-readable Display string ("Thrown: ... (in
|
|
12
|
+
* operator: throw)") and whose structured fields ride along as own
|
|
13
|
+
* properties (`type`, `operator`, `node_ids`, variant extras) plus the raw
|
|
14
|
+
* JSON in `detailJson`. Older builds threw a bare JSON string. Try, in
|
|
15
|
+
* order: `detailJson`, the own properties, a JSON `message`, and finally a
|
|
16
|
+
* synthetic `Unknown` error so downstream code always gets one shape.
|
|
17
|
+
*/
|
|
18
|
+
export declare function parseStructuredError(err: unknown, fallbackMessage: string): StructuredError;
|
|
19
|
+
export interface WasmEngineInstance {
|
|
20
|
+
evalStr: (logic: string, data: string) => string;
|
|
21
|
+
evaluateWithTrace: (logic: string, data: string) => string;
|
|
22
|
+
customOperatorNames?: () => string[];
|
|
23
|
+
free?: () => void;
|
|
24
|
+
}
|
|
25
|
+
export interface WasmEngineOptions {
|
|
26
|
+
templating?: boolean;
|
|
27
|
+
customOperators?: Record<string, (argsJson: string) => string>;
|
|
28
|
+
config?: string | object;
|
|
29
|
+
}
|
|
30
|
+
export interface WasmModule {
|
|
31
|
+
Engine: new (options: WasmEngineOptions) => WasmEngineInstance;
|
|
32
|
+
}
|
|
33
|
+
export interface UseWasmEvaluatorOptions {
|
|
8
34
|
/** Enable templating mode for JSON templates with embedded JSONLogic. */
|
|
9
35
|
templating?: boolean;
|
|
36
|
+
/** Engine evaluation settings (see `DataLogicEvaluationConfig`). */
|
|
37
|
+
config?: DataLogicEvaluationConfig | null;
|
|
38
|
+
/**
|
|
39
|
+
* Custom operators, keyed by name. Implementations are read at call time,
|
|
40
|
+
* so this may be a fresh object every render; only adding or removing a
|
|
41
|
+
* name rebuilds the engine.
|
|
42
|
+
*/
|
|
43
|
+
customOperators?: Record<string, DataLogicCustomOperator>;
|
|
10
44
|
}
|
|
11
|
-
interface UseWasmEvaluatorResult {
|
|
45
|
+
export interface UseWasmEvaluatorResult {
|
|
12
46
|
ready: boolean;
|
|
13
47
|
loading: boolean;
|
|
14
48
|
error: string | null;
|
|
15
49
|
evaluate: (logic: unknown, data: unknown) => unknown;
|
|
16
50
|
evaluateWithTrace: (logic: unknown, data: unknown) => TracedResult;
|
|
17
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Wrap a `(args: unknown[]) => unknown` custom operator into the WASM
|
|
54
|
+
* contract: JSON-array string in, JSON string out. `undefined` results
|
|
55
|
+
* become JSON `null`, which is what the engine treats an empty return as.
|
|
56
|
+
*
|
|
57
|
+
* `latest` makes the binding late: the adapter resolves the implementation
|
|
58
|
+
* at call time instead of closing over it, so a caller re-creating its
|
|
59
|
+
* `customOperators` object (an inline literal on every render, say) does
|
|
60
|
+
* not invalidate an engine that already registered these names.
|
|
61
|
+
*/
|
|
62
|
+
export declare function adaptCustomOperators(customOperators: Record<string, DataLogicCustomOperator> | undefined, latest?: () => Record<string, DataLogicCustomOperator> | undefined): Record<string, (argsJson: string) => string> | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Stable key for a custom-operator map: its names, sorted. Functions do not
|
|
65
|
+
* serialize and the object identity churns whenever a caller passes an
|
|
66
|
+
* inline literal, so the name set is the only part worth keying on.
|
|
67
|
+
*/
|
|
68
|
+
export declare function customOperatorNamesKey(customOperators: Record<string, DataLogicCustomOperator> | undefined): string;
|
|
69
|
+
/**
|
|
70
|
+
* Drop `undefined` keys (and an empty `numeric_coercion` block) so that
|
|
71
|
+
* `{}` and "no config" mean the same thing and serialize identically.
|
|
72
|
+
*/
|
|
73
|
+
export declare function normalizeEvaluationConfig(config: DataLogicEvaluationConfig | null | undefined): DataLogicEvaluationConfig | undefined;
|
|
74
|
+
/** `true` when the config carries nothing beyond the engine defaults. */
|
|
75
|
+
export declare function isDefaultEvaluationConfig(config: DataLogicEvaluationConfig | null | undefined): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* One-line, human-readable summary of the non-default engine settings
|
|
78
|
+
* ("preset strict, div/0 return_null"), or `null` when everything is at
|
|
79
|
+
* the engine default. Used for the toolbar indicator and the result pane.
|
|
80
|
+
*/
|
|
81
|
+
export declare function summarizeEvaluationConfig(config: DataLogicEvaluationConfig | null | undefined): string | null;
|
|
82
|
+
/**
|
|
83
|
+
* Build a WASM `Engine` for the given options. Throws the engine's
|
|
84
|
+
* `ConfigurationError` (as a `DataLogicEvaluationError`) for invalid config.
|
|
85
|
+
*/
|
|
86
|
+
export declare function createWasmEngine(module: WasmModule, options: UseWasmEvaluatorOptions, latestCustomOperators?: () => Record<string, DataLogicCustomOperator> | undefined): WasmEngineInstance;
|
|
18
87
|
export declare function useWasmEvaluator(options?: UseWasmEvaluatorOptions): UseWasmEvaluatorResult;
|
|
19
|
-
export {};
|
|
20
88
|
//# sourceMappingURL=useWasmEvaluator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWasmEvaluator.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useWasmEvaluator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"useWasmEvaluator.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useWasmEvaluator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACZ,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,UAAU,CAAC;AAElB,mFAAmF;AACnF,qBAAa,wBAAyB,SAAQ,KAAK;IACjD,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAC;gBAEzB,UAAU,EAAE,eAAe;CAKxC;AAsBD;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,GAAG,eAAe,CAsC3F;AAKD,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACjD,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3D,mBAAmB,CAAC,EAAE,MAAM,MAAM,EAAE,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC;IAC/D,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;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IAAI,GAAG,SAAS,GACnD,OAAO,CAKT;AAiBD;;;;GAIG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,yBAAyB,GAAG,IAAI,GAAG,SAAS,GACnD,MAAM,GAAG,IAAI,CAkBf;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,uBAAuB,EAChC,qBAAqB,CAAC,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAChF,kBAAkB,CAWpB;AAOD,wBAAgB,gBAAgB,CAAC,OAAO,GAAE,uBAA4B,GAAG,sBAAsB,CA2H9F"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export { DataLogicEditor } from './DataLogicEditor';
|
|
2
|
-
export {
|
|
3
|
-
export type {
|
|
4
|
-
export type { JsonLogicPrimitive, JsonLogicVar, JsonLogicVal, JsonLogicExpression, JsonLogicValue, OperatorCategory, NodeCategory, VisualNodeType, BaseNodeData, ArgSummary, OperatorNodeData, LiteralNodeData, CellData, VariableNodeData, StructureElement, StructureNodeData, LogicNodeData, LogicNode, LogicEdge, EditorState, ConversionResult, NodeEvaluationResult, EvaluationResultsMap, ExpressionNode, ExecutionStep, TracedResult, } from './types';
|
|
2
|
+
export type { DataLogicEditorProps, DataLogicEvaluationConfig, DataLogicCustomOperator, } from './types';
|
|
3
|
+
export type { JsonLogicPrimitive, JsonLogicVar, JsonLogicVal, JsonLogicExpression, JsonLogicValue, OperatorCategory, NodeCategory, VisualNodeType, BaseNodeData, ArgSummary, OperatorNodeData, LiteralNodeData, CellData, VariableNodeData, StructureElement, StructureNodeData, LogicNodeData, LogicNode, LogicEdge, EditorState, ConversionResult, ExpressionNode, ExecutionStep, TracedResult, StructuredError, } from './types';
|
|
5
4
|
export { CATEGORY_COLORS } from './types';
|
|
6
5
|
export { TRUNCATION_LIMITS, BRANCH_COLORS, NODE_DIMENSIONS, VERTICAL_CELL_DIMENSIONS, TEXT_METRICS, NODE_PADDING, DAGRE_OPTIONS, FIXED_WIDTHS, DECISION_NODE_DIMENSIONS, REACT_FLOW_OPTIONS, HANDLE_IDS, HANDLE_POSITIONS, EDGE_IDS, } from './constants';
|
|
7
|
-
export { jsonLogicToNodes, type JsonLogicToNodesOptions, traceToNodes,
|
|
6
|
+
export { jsonLogicToNodes, type JsonLogicToNodesOptions, traceToNodes, applyTreeLayout, getHiddenNodeIds, isOperatorNode, isLiteralNode, isStructureNode, isCollapsibleNode, getOperatorNodeData, createLiteralNode, buildVariableCells, createVariableNode, createOperatorNode, createEdge, createArgEdge, createBranchEdge, panelValuesToNodeData, havePanelValuesChanged, deleteNodeAndDescendants, getDescendantIds, isRootNode, canDeleteNode, nodesToJsonLogic, getRootNode, cloneNodesWithIdMapping, getDescendants, updateParentChildReference, capitalizeFirst, buildOperatorSubmenu, } from './utils';
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,YAAY,EACZ,eAAe,GAChB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAG1C,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,QAAQ,GACT,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,gBAAgB,EAChB,KAAK,uBAAuB,EAC5B,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,uBAAuB,EACvB,cAAc,EACd,0BAA0B,EAC1B,eAAe,EACf,oBAAoB,GACrB,MAAM,SAAS,CAAC"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { ExecutionStep } from '../types/trace';
|
|
2
|
+
import { TraceFailure } from '../utils/trace/trace-failure';
|
|
2
3
|
interface DebugInfoBubbleProps {
|
|
3
|
-
step
|
|
4
|
+
/** The execution step to show (context, result / error, iteration) */
|
|
5
|
+
step?: ExecutionStep | null;
|
|
6
|
+
/**
|
|
7
|
+
* Trace-level failure to show instead of a step, used for the failing node
|
|
8
|
+
* at rest (before stepping) when the engine reported an error breadcrumb.
|
|
9
|
+
*/
|
|
10
|
+
failure?: TraceFailure | null;
|
|
4
11
|
position?: 'top' | 'right' | 'bottom';
|
|
5
12
|
}
|
|
6
|
-
export declare const DebugInfoBubble: import('react').MemoExoticComponent<({ step, position, }: DebugInfoBubbleProps) => import("react").JSX.Element>;
|
|
13
|
+
export declare const DebugInfoBubble: import('react').MemoExoticComponent<({ step, failure, position, }: DebugInfoBubbleProps) => import("react").JSX.Element | null>;
|
|
7
14
|
export {};
|
|
8
15
|
//# sourceMappingURL=DebugInfoBubble.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugInfoBubble.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/DebugInfoBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DebugInfoBubble.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/DebugInfoBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGpD,OAAO,EAAwC,KAAK,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAGvG,UAAU,oBAAoB;IAC5B,sEAAsE;IACtE,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAsBD,eAAO,MAAM,eAAe,qEAIzB,oBAAoB,wCAgErB,CAAC"}
|
|
@@ -4,7 +4,8 @@ interface NodeDebugBubbleProps {
|
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* Wrapper component that conditionally renders a DebugInfoBubble
|
|
7
|
-
* when the node is the current step in debugging
|
|
7
|
+
* when the node is the current step in debugging, or, at rest, when it is
|
|
8
|
+
* the innermost node on the engine's failure breadcrumb.
|
|
8
9
|
*/
|
|
9
10
|
export declare const NodeDebugBubble: import('react').MemoExoticComponent<({ nodeId, position, }: NodeDebugBubbleProps) => import("react").JSX.Element | null>;
|
|
10
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeDebugBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/NodeDebugBubble.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NodeDebugBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/nodes/shared/NodeDebugBubble.tsx"],"names":[],"mappings":"AAKA,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,8DAGzB,oBAAoB,wCAuBrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PanelConfig } from '../config/operators.types';
|
|
1
|
+
import { PanelConfig, ContextVariable } from '../config/operators.types';
|
|
2
2
|
interface PanelRendererProps {
|
|
3
3
|
config: PanelConfig;
|
|
4
4
|
values: Record<string, unknown>;
|
|
@@ -18,5 +18,16 @@ export interface PanelRendererRef {
|
|
|
18
18
|
* - Displays chainable hint for comparison operators
|
|
19
19
|
*/
|
|
20
20
|
export declare const PanelRenderer: import('react').NamedExoticComponent<PanelRendererProps & import('react').RefAttributes<PanelRendererRef>>;
|
|
21
|
+
/**
|
|
22
|
+
* Hint displayed for chainable comparison operators
|
|
23
|
+
*/
|
|
24
|
+
export declare const ChainableHint: import('react').MemoExoticComponent<() => import("react").JSX.Element>;
|
|
25
|
+
interface ContextVariablesHintProps {
|
|
26
|
+
variables: ContextVariable[];
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Hint displayed for iterator operators showing available context variables
|
|
30
|
+
*/
|
|
31
|
+
export declare const ContextVariablesHint: import('react').MemoExoticComponent<({ variables, }: ContextVariablesHintProps) => import("react").JSX.Element>;
|
|
21
32
|
export {};
|
|
22
33
|
//# sourceMappingURL=PanelRenderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/PanelRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"PanelRenderer.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/PanelRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE9E,OAAO,oBAAoB,CAAC;AAE5B,UAAU,kBAAkB;IAC1B,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,4GAiEvB,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,aAAa,wEAYxB,CAAC;AAEH,UAAU,yBAAyB;IACjC,SAAS,EAAE,eAAe,EAAE,CAAC;CAC9B;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,uDAE9B,yBAAyB,iCAkB1B,CAAC"}
|
|
@@ -15,6 +15,6 @@ export { ExpressionInput } from './ExpressionInput';
|
|
|
15
15
|
export { JsonInput } from './JsonInput';
|
|
16
16
|
export { FieldRenderer, type FieldRendererRef } from './FieldRenderer';
|
|
17
17
|
export { SectionRenderer, type SectionRendererRef } from './SectionRenderer';
|
|
18
|
-
export { PanelRenderer, type PanelRendererRef } from './PanelRenderer';
|
|
18
|
+
export { PanelRenderer, ChainableHint, ContextVariablesHint, type PanelRendererRef } from './PanelRenderer';
|
|
19
19
|
export { evaluateCondition, evaluateConditions } from './visibility';
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/panel-inputs/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SA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