@goplasmatic/datalogic-ui 4.0.21 → 5.0.1
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 +35 -15
- package/dist/components/logic-editor/AutoFitView.d.ts +7 -0
- package/dist/components/logic-editor/AutoFitView.d.ts.map +1 -1
- 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 +6 -3
- package/dist/components/logic-editor/EditorToolbar.d.ts.map +1 -1
- package/dist/components/logic-editor/UndoRedoToolbar.d.ts +1 -1
- package/dist/components/logic-editor/UndoRedoToolbar.d.ts.map +1 -1
- package/dist/components/logic-editor/config/operators/utility.d.ts.map +1 -1
- package/dist/components/logic-editor/constants/index.d.ts +1 -1
- package/dist/components/logic-editor/constants/index.d.ts.map +1 -1
- package/dist/components/logic-editor/constants/layout.d.ts +13 -4
- package/dist/components/logic-editor/constants/layout.d.ts.map +1 -1
- package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts +1 -1
- package/dist/components/logic-editor/context/ConnectedHandlesContext.d.ts.map +1 -1
- package/dist/components/logic-editor/context/DirectionContextDef.d.ts +11 -0
- package/dist/components/logic-editor/context/DirectionContextDef.d.ts.map +1 -0
- package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts +1 -1
- package/dist/components/logic-editor/context/debugger/DebuggerProvider.d.ts.map +1 -1
- package/dist/components/logic-editor/context/editor/EditorContext.d.ts +1 -1
- package/dist/components/logic-editor/context/editor/EditorContext.d.ts.map +1 -1
- package/dist/components/logic-editor/context/editor/useClipboardState.d.ts.map +1 -1
- package/dist/components/logic-editor/context/editor/useHistoryState.d.ts.map +1 -1
- package/dist/components/logic-editor/context/index.d.ts +2 -0
- package/dist/components/logic-editor/context/index.d.ts.map +1 -1
- package/dist/components/logic-editor/context/useDirection.d.ts +6 -0
- package/dist/components/logic-editor/context/useDirection.d.ts.map +1 -0
- 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/ContextMenu.d.ts +1 -1
- package/dist/components/logic-editor/context-menu/ContextMenu.d.ts.map +1 -1
- package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts +2 -2
- package/dist/components/logic-editor/debugger-controls/DebuggerControls.d.ts.map +1 -1
- package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts +1 -1
- package/dist/components/logic-editor/edges/EdgeOperatorPicker.d.ts.map +1 -1
- package/dist/components/logic-editor/edges/EditableEdge.d.ts +1 -1
- package/dist/components/logic-editor/edges/EditableEdge.d.ts.map +1 -1
- package/dist/components/logic-editor/edges/index.d.ts +1 -1
- package/dist/components/logic-editor/hooks/index.d.ts +1 -1
- package/dist/components/logic-editor/hooks/index.d.ts.map +1 -1
- package/dist/components/logic-editor/hooks/useLogicEditor.d.ts +6 -3
- package/dist/components/logic-editor/hooks/useLogicEditor.d.ts.map +1 -1
- package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts +8 -3
- package/dist/components/logic-editor/hooks/useWasmEvaluator.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/CellHandles.d.ts +1 -1
- package/dist/components/logic-editor/nodes/CellHandles.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/CellRow.d.ts +1 -1
- package/dist/components/logic-editor/nodes/CellRow.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts +1 -1
- package/dist/components/logic-editor/nodes/DebugInfoBubble.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/LiteralNode.d.ts +1 -1
- package/dist/components/logic-editor/nodes/LiteralNode.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/StructureNode.d.ts +1 -1
- package/dist/components/logic-editor/nodes/StructureNode.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts +1 -1
- package/dist/components/logic-editor/nodes/UnifiedOperatorNode.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts +1 -1
- package/dist/components/logic-editor/nodes/shared/CollapseToggleButton.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts +1 -1
- package/dist/components/logic-editor/nodes/shared/NodeDebugBubble.d.ts.map +1 -1
- package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts +6 -3
- package/dist/components/logic-editor/nodes/shared/NodeInputHandles.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/BooleanInput.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/ExpressionInput.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/JsonInput.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/NumberInput.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/PathArrayInput.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/PathInput.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/PathInput.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/SelectInput.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/TextAreaInput.d.ts.map +1 -1
- package/dist/components/logic-editor/panel-inputs/TextInput.d.ts +1 -1
- package/dist/components/logic-editor/panel-inputs/TextInput.d.ts.map +1 -1
- package/dist/components/logic-editor/properties-panel/ArgumentItem.d.ts +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 +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 +1 -1
- package/dist/components/logic-editor/properties-panel/HelpSection.d.ts.map +1 -1
- package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts +1 -1
- package/dist/components/logic-editor/properties-panel/PropertiesPanel.d.ts.map +1 -1
- package/dist/components/logic-editor/types/editor.d.ts +18 -6
- 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/trace.d.ts +22 -0
- package/dist/components/logic-editor/types/trace.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts +1 -1
- package/dist/components/logic-editor/utils/ExpressionSyntax.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts +6 -0
- package/dist/components/logic-editor/utils/converters/if-else-converter.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/converters/operator-converter.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/converters/types.d.ts +2 -2
- package/dist/components/logic-editor/utils/converters/types.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/edge-builder.d.ts +5 -4
- package/dist/components/logic-editor/utils/edge-builder.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts +7 -0
- package/dist/components/logic-editor/utils/formatting/arg-summary.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/formatting/index.d.ts +1 -1
- package/dist/components/logic-editor/utils/formatting/index.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/inline-vars.d.ts +15 -0
- package/dist/components/logic-editor/utils/inline-vars.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts +2 -2
- package/dist/components/logic-editor/utils/jsonlogic-to-nodes.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/layout.d.ts +2 -1
- package/dist/components/logic-editor/utils/layout.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/node-factory.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/nodeShape.d.ts +23 -0
- package/dist/components/logic-editor/utils/nodeShape.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/signal.d.ts +10 -0
- package/dist/components/logic-editor/utils/signal.d.ts.map +1 -0
- package/dist/components/logic-editor/utils/trace/node-creators/if-else.d.ts +4 -2
- 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/variable.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/node-creators/vertical-cell.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/node-type.d.ts +1 -1
- package/dist/components/logic-editor/utils/trace/node-type.d.ts.map +1 -1
- package/dist/components/logic-editor/utils/trace/types.d.ts +3 -3
- package/dist/components/logic-editor/utils/trace/types.d.ts.map +1 -1
- package/dist/datalogic_wasm-BOuSyKtI.cjs +1148 -0
- package/dist/datalogic_wasm-Dloh5u2g.js +1145 -0
- package/dist/index.cjs +3296 -2323
- package/dist/index.js +3298 -2325
- package/dist/styles.css +1380 -474
- package/package.json +50 -41
- package/dist/datalogic_wasm-Ckkdrc0z.cjs +0 -383
- package/dist/datalogic_wasm-daWVf40b.js +0 -380
package/README.md
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
# @goplasmatic/datalogic-ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@goplasmatic/datalogic-ui)
|
|
4
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
|
5
|
+
|
|
6
|
+
A React component library for visualizing, debugging, and editing
|
|
7
|
+
JSONLogic expressions as interactive node-based flow diagrams.
|
|
8
|
+
|
|
9
|
+
This is the **React surface** of the
|
|
10
|
+
[`datalogic-rs`](https://github.com/GoPlasmatic/datalogic-rs) monorepo.
|
|
11
|
+
It consumes the WASM binding
|
|
12
|
+
([`@goplasmatic/datalogic-wasm`](https://github.com/GoPlasmatic/datalogic-rs/blob/main/bindings/wasm/README.md)) for evaluation
|
|
13
|
+
and tracing — for the engine itself and the cross-runtime overview,
|
|
14
|
+
see the [repo README](https://github.com/GoPlasmatic/datalogic-rs#readme).
|
|
4
15
|
|
|
5
16
|
## Features
|
|
6
17
|
|
|
@@ -9,7 +20,7 @@ A React component library for visualizing, debugging, and editing JSONLogic expr
|
|
|
9
20
|
- Tree-based automatic layout using @dagrejs/dagre
|
|
10
21
|
- Prop-based modes: read-only visualization, debugging with step-through trace, and full visual editing
|
|
11
22
|
- Editing mode with node selection, properties panel, context menus, and undo/redo
|
|
12
|
-
-
|
|
23
|
+
- Templating mode for JSON templates with embedded JSONLogic
|
|
13
24
|
- Built-in WASM-based JSONLogic evaluation with execution tracing
|
|
14
25
|
- Light/dark theme support with system preference detection
|
|
15
26
|
|
|
@@ -98,8 +109,8 @@ Combine editing with live debugging:
|
|
|
98
109
|
| `data` | `unknown` | - | Data context for evaluation. When provided, debugger controls become available |
|
|
99
110
|
| `theme` | `'light' \| 'dark'` | system | Theme override. If not provided, uses system preference |
|
|
100
111
|
| `className` | `string` | - | Additional CSS class |
|
|
101
|
-
| `
|
|
102
|
-
| `
|
|
112
|
+
| `templating` | `boolean` | `false` | Enable templating mode: multi-key objects and arrays compile to output-shaping templates with embedded JSONLogic |
|
|
113
|
+
| `onTemplatingChange` | `(value: boolean) => void` | - | Callback when templating mode changes (from toolbar checkbox) |
|
|
103
114
|
| `editable` | `boolean` | `false` | Enable editing: node selection, properties panel, context menus, undo/redo |
|
|
104
115
|
|
|
105
116
|
## Exports
|
|
@@ -156,11 +167,18 @@ The component respects the `data-theme` attribute on parent elements for theming
|
|
|
156
167
|
|
|
157
168
|
## Development
|
|
158
169
|
|
|
170
|
+
This package lives at `ui/` in the
|
|
171
|
+
[datalogic-rs monorepo](https://github.com/GoPlasmatic/datalogic-rs). It
|
|
172
|
+
depends on a locally-built `@goplasmatic/datalogic-wasm` WASM bundle — see
|
|
173
|
+
[DEVELOPMENT.md](https://github.com/GoPlasmatic/datalogic-rs/blob/main/DEVELOPMENT.md)
|
|
174
|
+
for the full link/install dance. Day-to-day, from the repo root:
|
|
175
|
+
|
|
159
176
|
```bash
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
177
|
+
cd ui
|
|
178
|
+
npm install # install dependencies
|
|
179
|
+
npm run dev # start the dev playground
|
|
180
|
+
npm run build:lib # build the publishable library bundle
|
|
181
|
+
npm run lint # run ESLint
|
|
164
182
|
```
|
|
165
183
|
|
|
166
184
|
## Architecture
|
|
@@ -183,7 +201,7 @@ The main component is `DataLogicEditor` which:
|
|
|
183
201
|
|
|
184
202
|
- **OperatorNode** (UnifiedOperatorNode): Renders all operators with cell-based argument display (and, or, if, var, val, ==, +, etc.)
|
|
185
203
|
- **LiteralNode**: Renders primitive values (strings, numbers, booleans, null)
|
|
186
|
-
- **StructureNode**: Renders JSON objects/arrays in
|
|
204
|
+
- **StructureNode**: Renders JSON objects/arrays in templating mode
|
|
187
205
|
|
|
188
206
|
## Tech Stack
|
|
189
207
|
|
|
@@ -195,18 +213,20 @@ The main component is `DataLogicEditor` which:
|
|
|
195
213
|
- lucide-react (icons)
|
|
196
214
|
- @msgpack/msgpack (data serialization)
|
|
197
215
|
- fflate (compression)
|
|
198
|
-
- @goplasmatic/datalogic (bundled, for WASM evaluation)
|
|
216
|
+
- @goplasmatic/datalogic-wasm (bundled, for WASM evaluation)
|
|
199
217
|
|
|
200
218
|
## Documentation
|
|
201
219
|
|
|
202
220
|
For complete documentation including all props, customization options, and advanced usage, see the [full documentation](https://goplasmatic.github.io/datalogic-rs/react-ui/installation.html).
|
|
203
221
|
|
|
204
|
-
##
|
|
222
|
+
## Learn more
|
|
205
223
|
|
|
206
|
-
- [
|
|
207
|
-
- [
|
|
208
|
-
- [
|
|
224
|
+
- [Repo README](https://github.com/GoPlasmatic/datalogic-rs#readme) — cross-runtime overview, all binding READMEs
|
|
225
|
+
- [WASM binding README](https://github.com/GoPlasmatic/datalogic-rs/blob/main/bindings/wasm/README.md) — `@goplasmatic/datalogic-wasm`, the JS/TS engine this UI consumes
|
|
226
|
+
- [Rust crate README](https://github.com/GoPlasmatic/datalogic-rs/blob/main/crates/datalogic-rs/README.md) — engine design, the 5-tier API model
|
|
227
|
+
- [Full documentation](https://goplasmatic.github.io/datalogic-rs/)
|
|
228
|
+
- [Online playground](https://goplasmatic.github.io/datalogic-rs/playground/)
|
|
209
229
|
|
|
210
230
|
## License
|
|
211
231
|
|
|
212
|
-
|
|
232
|
+
Apache-2.0
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fits the diagram to the viewport on load/reload. The component is remounted
|
|
3
|
+
* whenever the expression's structure (or direction) changes, so this effect
|
|
4
|
+
* re-runs on every reload. Two animation frames let ReactFlow measure the
|
|
5
|
+
* freshly-laid-out nodes before fitting, and a short fallback timer catches the
|
|
6
|
+
* case where the layout settles a beat later (async relayout, fonts).
|
|
7
|
+
*/
|
|
1
8
|
export declare function AutoFitView({ nodeCount }: {
|
|
2
9
|
nodeCount: number;
|
|
3
10
|
}): null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoFitView.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/AutoFitView.tsx"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"AutoFitView.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/AutoFitView.tsx"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,QAsB/D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DataLogicEditorProps } from './types';
|
|
2
|
-
export declare function DataLogicEditor({ value, onChange, data, theme: themeProp, className,
|
|
2
|
+
export declare function DataLogicEditor({ value, onChange, data, theme: themeProp, className, templating, onTemplatingChange, editable, exampleSuggestions, onSelectExample, }: DataLogicEditorProps): import("react").JSX.Element;
|
|
3
3
|
export default DataLogicEditor;
|
|
4
4
|
//# sourceMappingURL=DataLogicEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataLogicEditor.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/DataLogicEditor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataLogicEditor.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/DataLogicEditor.tsx"],"names":[],"mappings":"AAWA,OAAO,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,oBAAoB,EAAwB,MAAM,SAAS,CAAC;AAmB1E,OAAO,oBAAoB,CAAC;AAC5B,OAAO,mBAAmB,CAAC;AAuS3B,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,KAAK,EAAE,SAAS,EAChB,SAAc,EACd,UAAkB,EAClB,kBAAkB,EAClB,QAAgB,EAChB,kBAAkB,EAClB,eAAe,GAChB,EAAE,oBAAoB,+BAiNtB;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { FlowDirection } from './context';
|
|
1
2
|
interface EditorToolbarProps {
|
|
2
3
|
isEditMode: boolean;
|
|
3
4
|
hasDebugger: boolean;
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
templating: boolean;
|
|
6
|
+
onTemplatingChange?: (value: boolean) => void;
|
|
7
|
+
direction: FlowDirection;
|
|
8
|
+
onDirectionChange?: (value: FlowDirection) => void;
|
|
6
9
|
}
|
|
7
|
-
export declare const EditorToolbar: import('react').MemoExoticComponent<({ isEditMode, hasDebugger,
|
|
10
|
+
export declare const EditorToolbar: import('react').MemoExoticComponent<({ isEditMode, hasDebugger, templating, onTemplatingChange, direction, onDirectionChange, }: EditorToolbarProps) => import("react").JSX.Element>;
|
|
8
11
|
export {};
|
|
9
12
|
//# sourceMappingURL=EditorToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/EditorToolbar.tsx"],"names":[],"mappings":"AAIA,UAAU,kBAAkB;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,
|
|
1
|
+
{"version":3,"file":"EditorToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/EditorToolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,UAAU,kBAAkB;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9C,SAAS,EAAE,aAAa,CAAC;IACzB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,aAAa,mIAOvB,kBAAkB,iCAqDnB,CAAC"}
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* Inline undo/redo buttons for the editor toolbar.
|
|
5
5
|
* Only renders when there are actions to undo or redo.
|
|
6
6
|
*/
|
|
7
|
-
export declare const UndoRedoToolbar: import('react').MemoExoticComponent<() => import("react
|
|
7
|
+
export declare const UndoRedoToolbar: import('react').MemoExoticComponent<() => import("react").JSX.Element | null>;
|
|
8
8
|
export default UndoRedoToolbar;
|
|
9
9
|
//# sourceMappingURL=UndoRedoToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UndoRedoToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/UndoRedoToolbar.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"UndoRedoToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/logic-editor/UndoRedoToolbar.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,eAAO,MAAM,eAAe,+EA8B1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/utility.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/config/operators/utility.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CA0FrD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { TRUNCATION_LIMITS } from './formatting';
|
|
2
2
|
export { BRANCH_COLORS, CATEGORY_COLORS } from './colors';
|
|
3
|
-
export { NODE_DIMENSIONS, VERTICAL_CELL_DIMENSIONS, TEXT_METRICS, NODE_PADDING, DAGRE_OPTIONS, FIXED_WIDTHS, DECISION_NODE_DIMENSIONS, REACT_FLOW_OPTIONS, } from './layout';
|
|
3
|
+
export { NODE_DIMENSIONS, VERTICAL_CELL_DIMENSIONS, TEXT_METRICS, NODE_PADDING, DAGRE_OPTIONS, FIXED_WIDTHS, DECISION_NODE_DIMENSIONS, GATE_NODE, gateNodeHeight, DECISION_NODE, REACT_FLOW_OPTIONS, } from './layout';
|
|
4
4
|
export { HANDLE_IDS, HANDLE_POSITIONS, EDGE_IDS } from './handles';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,SAAS,EACT,cAAc,EACd,aAAa,EACb,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -14,17 +14,18 @@ export declare const TEXT_METRICS: {
|
|
|
14
14
|
readonly charWidthHeader: 10;
|
|
15
15
|
};
|
|
16
16
|
export declare const NODE_PADDING: {
|
|
17
|
-
readonly contentPadding:
|
|
17
|
+
readonly contentPadding: 52;
|
|
18
18
|
readonly iconWidth: 30;
|
|
19
19
|
readonly typeIconWidth: 25;
|
|
20
|
+
readonly collapseButtonWidth: 22;
|
|
20
21
|
};
|
|
21
22
|
export declare const DAGRE_OPTIONS: {
|
|
22
|
-
readonly rankSep:
|
|
23
|
-
readonly nodeSep:
|
|
23
|
+
readonly rankSep: 50;
|
|
24
|
+
readonly nodeSep: 28;
|
|
24
25
|
readonly edgeSep: 20;
|
|
25
26
|
readonly marginX: 50;
|
|
26
27
|
readonly marginY: 50;
|
|
27
|
-
readonly rankDir: "
|
|
28
|
+
readonly rankDir: "RL";
|
|
28
29
|
};
|
|
29
30
|
export declare const FIXED_WIDTHS: {
|
|
30
31
|
readonly fallbackNode: 100;
|
|
@@ -34,6 +35,14 @@ export declare const DECISION_NODE_DIMENSIONS: {
|
|
|
34
35
|
readonly minWidth: 180;
|
|
35
36
|
readonly height: 132;
|
|
36
37
|
};
|
|
38
|
+
export declare const GATE_NODE: {
|
|
39
|
+
readonly width: 84;
|
|
40
|
+
};
|
|
41
|
+
export declare function gateNodeHeight(cellCount: number): number;
|
|
42
|
+
export declare const DECISION_NODE: {
|
|
43
|
+
readonly width: 72;
|
|
44
|
+
readonly height: 72;
|
|
45
|
+
};
|
|
37
46
|
export declare const REACT_FLOW_OPTIONS: {
|
|
38
47
|
readonly fitViewPadding: 0.2;
|
|
39
48
|
readonly maxZoom: 0.75;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/layout.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAGX,eAAO,MAAM,YAAY;;;;CAOf,CAAC;AAGX,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/constants/layout.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAGX,eAAO,MAAM,YAAY;;;;CAOf,CAAC;AAGX,eAAO,MAAM,YAAY;;;;;CAaf,CAAC;AAGX,eAAO,MAAM,aAAa;;;;;;;CAkBhB,CAAC;AAGX,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAGX,eAAO,MAAM,wBAAwB;;;CAI3B,CAAC;AAOX,eAAO,MAAM,SAAS;;CAGZ,CAAC;AAKX,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAExD;AAKD,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAGX,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC"}
|
|
@@ -4,6 +4,6 @@ interface ConnectedHandlesProviderProps {
|
|
|
4
4
|
edges: LogicEdge[];
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
}
|
|
7
|
-
export declare function ConnectedHandlesProvider({ edges, children, }: ConnectedHandlesProviderProps): import("react
|
|
7
|
+
export declare function ConnectedHandlesProvider({ edges, children, }: ConnectedHandlesProviderProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=ConnectedHandlesContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectedHandlesContext.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/ConnectedHandlesContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,UAAU,6BAA6B;IACrC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,wBAAwB,CAAC,EACvC,KAAK,EACL,QAAQ,GACT,EAAE,6BAA6B
|
|
1
|
+
{"version":3,"file":"ConnectedHandlesContext.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/ConnectedHandlesContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,UAAU,6BAA6B;IACrC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,wBAAwB,CAAC,EACvC,KAAK,EACL,QAAQ,GACT,EAAE,6BAA6B,+BA4B/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Diagram direction:
|
|
3
|
+
* - 'flow' — data flows left → right, root/result on the RIGHT (Signal Board default).
|
|
4
|
+
* - 'hierarchy' — root operator on the LEFT, operands nesting to the right (JSON order).
|
|
5
|
+
*
|
|
6
|
+
* The two are exact mirrors: dagre rankDir, edge orientation, and handle sides
|
|
7
|
+
* all flip together. Node handle components read this to place their handles.
|
|
8
|
+
*/
|
|
9
|
+
export type FlowDirection = 'flow' | 'hierarchy';
|
|
10
|
+
export declare const DirectionContext: import('react').Context<FlowDirection>;
|
|
11
|
+
//# sourceMappingURL=DirectionContextDef.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DirectionContextDef.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/DirectionContextDef.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,WAAW,CAAC;AAEjD,eAAO,MAAM,gBAAgB,wCAAuC,CAAC"}
|
|
@@ -7,6 +7,6 @@ interface DebuggerProviderProps {
|
|
|
7
7
|
traceNodeMap: Map<string, string>;
|
|
8
8
|
nodes: LogicNode[];
|
|
9
9
|
}
|
|
10
|
-
export declare function DebuggerProvider({ children, steps, traceNodeMap, nodes }: DebuggerProviderProps): import("react
|
|
10
|
+
export declare function DebuggerProvider({ children, steps, traceNodeMap, nodes }: DebuggerProviderProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# 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;AAK7C,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;CACpB;AAGD,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,qBAAqB
|
|
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;AAK7C,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;CACpB;AAGD,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,qBAAqB,+BAkI/F"}
|
|
@@ -7,6 +7,6 @@ interface EditorProviderProps {
|
|
|
7
7
|
/** Callback when nodes change (for propagating changes up) */
|
|
8
8
|
onNodesChange?: (nodes: LogicNode[]) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare function EditorProvider({ children, nodes: propNodes, initialEditMode, onNodesChange, }: EditorProviderProps): import("react
|
|
10
|
+
export declare function EditorProvider({ children, nodes: propNodes, initialEditMode, onNodesChange, }: EditorProviderProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=EditorContext.d.ts.map
|
|
@@ -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,+BAoQrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClipboardState.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/useClipboardState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"useClipboardState.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/useClipboardState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAiC,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAC1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,aAAa,EAAE,SAAS,EAAE,CAAC;IAC3B,eAAe,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IAC9C,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;IACxD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;IAC7C,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAClE,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,aAAa;;;;EAmGpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHistoryState.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/useHistoryState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"useHistoryState.d.ts","sourceRoot":"","sources":["../../../../../src/components/logic-editor/context/editor/useHistoryState.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAiC,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAC1G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,SAAS,CAAC,SAAS,EAAE,CAAC,EAChC,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,IAAI;6BAWkB,SAAS,EAAE;;;;;EAqCxD"}
|
|
@@ -2,6 +2,8 @@ export { EvaluationContext, useEvaluationResult, useEvaluationResults } from './
|
|
|
2
2
|
export { DebuggerProvider, useDebuggerContext, useNodeDebugState } from './debugger';
|
|
3
3
|
export { ConnectedHandlesProvider } from './ConnectedHandlesContext';
|
|
4
4
|
export { useIsHandleConnected } from './useConnectedHandles';
|
|
5
|
+
export { DirectionContext, type FlowDirection } from './DirectionContextDef';
|
|
6
|
+
export { useDirection, useIsFlowDirection } from './useDirection';
|
|
5
7
|
export { EditorProvider, useEditorContext, useSelection, useEditMode, usePanelValues } from './editor';
|
|
6
8
|
export type { EditorState, EditorActions, EditorContextValue } from './editor';
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACnG,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,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
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACnG,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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FlowDirection } from './DirectionContextDef';
|
|
2
|
+
/** The current diagram direction ('flow' by default). */
|
|
3
|
+
export declare function useDirection(): FlowDirection;
|
|
4
|
+
/** True when data flows left → right with the root on the right (the default). */
|
|
5
|
+
export declare function useIsFlowDirection(): boolean;
|
|
6
|
+
//# sourceMappingURL=useDirection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDirection.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context/useDirection.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE7E,yDAAyD;AACzD,wBAAgB,YAAY,IAAI,aAAa,CAE5C;AAED,kFAAkF;AAClF,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C"}
|
|
@@ -19,5 +19,5 @@ export interface CanvasContextMenuProps {
|
|
|
19
19
|
/** Called when menu should close */
|
|
20
20
|
onClose: () => void;
|
|
21
21
|
}
|
|
22
|
-
export declare const CanvasContextMenu: import('react').MemoExoticComponent<({ x, y, onClose, }: CanvasContextMenuProps) => import("react
|
|
22
|
+
export declare const CanvasContextMenu: import('react').MemoExoticComponent<({ x, y, onClose, }: CanvasContextMenuProps) => import("react").JSX.Element>;
|
|
23
23
|
//# sourceMappingURL=CanvasContextMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CanvasContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/CanvasContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAoBH,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,
|
|
1
|
+
{"version":3,"file":"CanvasContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/CanvasContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAoBH,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+IvB,CAAC"}
|
|
@@ -19,5 +19,5 @@ export interface ContextMenuProps {
|
|
|
19
19
|
/** Called when menu should close */
|
|
20
20
|
onClose: () => void;
|
|
21
21
|
}
|
|
22
|
-
export declare const ContextMenu: import('react').MemoExoticComponent<({ x, y, items, onClose, }: ContextMenuProps) => import("react
|
|
22
|
+
export declare const ContextMenu: import('react').MemoExoticComponent<({ x, y, items, onClose, }: ContextMenuProps) => import("react").JSX.Element>;
|
|
23
23
|
//# sourceMappingURL=ContextMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAkD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,4BAA4B;IAC5B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,oCAAoC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,kEAKrB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/context-menu/ContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAkD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,sCAAsC;IACtC,CAAC,EAAE,MAAM,CAAC;IACV,4BAA4B;IAC5B,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,oCAAoC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,kEAKrB,gBAAgB,iCAgOjB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare function DebuggerControlsInline(): import("react
|
|
2
|
-
export declare function DebuggerControls(): import("react
|
|
1
|
+
export declare function DebuggerControlsInline(): import("react").JSX.Element;
|
|
2
|
+
export declare function DebuggerControls(): import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=DebuggerControls.d.ts.map
|
|
@@ -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":"AAYA,OAAO,wBAAwB,CAAC;AAEhC,wBAAgB,sBAAsB,gCAErC;AAED,wBAAgB,gBAAgB,gCAE/B"}
|
|
@@ -13,6 +13,6 @@ interface EdgeOperatorPickerProps {
|
|
|
13
13
|
edgeInfo: EdgeInfo;
|
|
14
14
|
onClose: () => void;
|
|
15
15
|
}
|
|
16
|
-
export declare const EdgeOperatorPicker: import('react').MemoExoticComponent<({ edgeInfo, onClose, }: EdgeOperatorPickerProps) => import("react
|
|
16
|
+
export declare const EdgeOperatorPicker: import('react').MemoExoticComponent<({ edgeInfo, onClose, }: EdgeOperatorPickerProps) => import("react").JSX.Element>;
|
|
17
17
|
export default EdgeOperatorPicker;
|
|
18
18
|
//# sourceMappingURL=EdgeOperatorPicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EdgeOperatorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EdgeOperatorPicker.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAYH,UAAU,QAAQ;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,+DAG5B,uBAAuB,
|
|
1
|
+
{"version":3,"file":"EdgeOperatorPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EdgeOperatorPicker.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAYH,UAAU,QAAQ;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,+DAG5B,uBAAuB,iCA4LxB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { EdgeProps } from '@xyflow/react';
|
|
2
|
-
export declare const EditableEdge: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: EdgeProps) => import("react
|
|
2
|
+
export declare const EditableEdge: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: EdgeProps) => import("react").JSX.Element>;
|
|
3
3
|
export default EditableEdge;
|
|
4
4
|
//# sourceMappingURL=EditableEdge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableEdge.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EditableEdge.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAA2B,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,YAAY,kIAStB,SAAS,
|
|
1
|
+
{"version":3,"file":"EditableEdge.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/edges/EditableEdge.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAA2B,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,YAAY,kIAStB,SAAS,iCAWV,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
export { EditableEdge } from './EditableEdge';
|
|
7
7
|
export { EdgeOperatorPicker } from './EdgeOperatorPicker';
|
|
8
8
|
export declare const edgeTypes: {
|
|
9
|
-
editable: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: import('@xyflow/react').EdgeProps) => import("react
|
|
9
|
+
editable: import('react').MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, markerEnd, }: import('@xyflow/react').EdgeProps) => import("react").JSX.Element>;
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@ export type { EvaluationResult, EvaluationResultsMap } from './useLogicEditor';
|
|
|
3
3
|
export { useDebugClassName } from './useDebugClassName';
|
|
4
4
|
export { useNodeCollapse } from './useNodeCollapse';
|
|
5
5
|
export { useDebugEvaluation } from './useDebugEvaluation';
|
|
6
|
-
export { useWasmEvaluator } from './useWasmEvaluator';
|
|
6
|
+
export { useWasmEvaluator, DataLogicEvaluationError } from './useWasmEvaluator';
|
|
7
7
|
export { checkDepth } from './useRecursionCheck';
|
|
8
8
|
export { useContextMenu } from './useContextMenu';
|
|
9
9
|
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,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAChF,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,4 +1,5 @@
|
|
|
1
1
|
import { LogicNode, LogicEdge, JsonLogicValue, TracedResult, ExecutionStep } from '../types';
|
|
2
|
+
import { FlowDirection } from '../context/DirectionContextDef';
|
|
2
3
|
export interface EvaluationResult {
|
|
3
4
|
value: unknown;
|
|
4
5
|
error: string | null;
|
|
@@ -9,8 +10,10 @@ interface UseLogicEditorOptions {
|
|
|
9
10
|
value: JsonLogicValue | null;
|
|
10
11
|
evaluateWithTrace?: (logic: unknown, data: unknown) => TracedResult;
|
|
11
12
|
data?: unknown;
|
|
12
|
-
/** Enable
|
|
13
|
-
|
|
13
|
+
/** Enable templating mode (multi-key objects compile to output-shaping templates with embedded JSONLogic). */
|
|
14
|
+
templating?: boolean;
|
|
15
|
+
/** Diagram direction — flips the layout rankDir (default 'flow'). */
|
|
16
|
+
direction?: FlowDirection;
|
|
14
17
|
}
|
|
15
18
|
interface UseLogicEditorReturn {
|
|
16
19
|
nodes: LogicNode[];
|
|
@@ -21,6 +24,6 @@ interface UseLogicEditorReturn {
|
|
|
21
24
|
steps: ExecutionStep[];
|
|
22
25
|
traceNodeMap: Map<string, string>;
|
|
23
26
|
}
|
|
24
|
-
export declare function useLogicEditor({ value, evaluateWithTrace, data,
|
|
27
|
+
export declare function useLogicEditor({ value, evaluateWithTrace, data, templating, direction, }: UseLogicEditorOptions): UseLogicEditorReturn;
|
|
25
28
|
export {};
|
|
26
29
|
//# sourceMappingURL=useLogicEditor.d.ts.map
|
|
@@ -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;AAKlB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEpE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;CACnF;AAED,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAEjE,UAAU,qBAAqB;IAC7B,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,YAAY,CAAC;IACpE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8GAA8G;IAC9G,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qEAAqE;IACrE,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED,UAAU,oBAAoB;IAC5B,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,EAAE,oBAAoB,CAAC;IACxC,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;AASD,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,iBAAiB,EACjB,IAAI,EACJ,UAAkB,EAClB,SAAkB,GACnB,EAAE,qBAAqB,GAAG,oBAAoB,CAqH9C"}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { TracedResult } from '../types';
|
|
1
|
+
import { StructuredError, TracedResult } from '../types';
|
|
2
|
+
/** Error thrown from the WASM boundary that carries the parsed StructuredError. */
|
|
3
|
+
export declare class DataLogicEvaluationError extends Error {
|
|
4
|
+
readonly structured: StructuredError;
|
|
5
|
+
constructor(structured: StructuredError);
|
|
6
|
+
}
|
|
2
7
|
interface UseWasmEvaluatorOptions {
|
|
3
|
-
/** Enable
|
|
4
|
-
|
|
8
|
+
/** Enable templating mode for JSON templates with embedded JSONLogic. */
|
|
9
|
+
templating?: boolean;
|
|
5
10
|
}
|
|
6
11
|
interface UseWasmEvaluatorResult {
|
|
7
12
|
ready: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWasmEvaluator.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useWasmEvaluator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"useWasmEvaluator.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/hooks/useWasmEvaluator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE9D,mFAAmF;AACnF,qBAAa,wBAAyB,SAAQ,KAAK;IACjD,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAC;gBAEzB,UAAU,EAAE,eAAe;CAKxC;AAiCD,UAAU,uBAAuB;IAC/B,yEAAyE;IACzE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,sBAAsB;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,CAAC;IACrD,iBAAiB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,KAAK,YAAY,CAAC;CACpE;AAED,wBAAgB,gBAAgB,CAAC,OAAO,GAAE,uBAA4B,GAAG,sBAAsB,CA0F9F"}
|
|
@@ -8,6 +8,6 @@ interface CellHandlesProps {
|
|
|
8
8
|
* Handle IDs are based on cell index for stability - they don't change when other cells collapse.
|
|
9
9
|
* Format: branch-{cellIndex} or branch-{cellIndex}-cond / branch-{cellIndex}-then for if/then cells
|
|
10
10
|
*/
|
|
11
|
-
export declare const CellHandles: import('react').MemoExoticComponent<({ cell, color, }: CellHandlesProps) => import("react
|
|
11
|
+
export declare const CellHandles: import('react').MemoExoticComponent<({ cell, color, }: CellHandlesProps) => import("react").JSX.Element>;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=CellHandles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellHandles.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellHandles.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"CellHandles.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellHandles.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIzC,UAAU,gBAAgB;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,yDAGrB,gBAAgB,iCA0CjB,CAAC"}
|
|
@@ -3,6 +3,6 @@ interface CellRowProps {
|
|
|
3
3
|
cell: CellData;
|
|
4
4
|
color: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const CellRow: import('react').MemoExoticComponent<({ cell, color
|
|
6
|
+
export declare const CellRow: import('react').MemoExoticComponent<({ cell, color }: CellRowProps) => import("react").JSX.Element>;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=CellRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellRow.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"CellRow.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/CellRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAOzC,UAAU,YAAY;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAeD,eAAO,MAAM,OAAO,wDAA0C,YAAY,iCAsExE,CAAC"}
|
|
@@ -3,6 +3,6 @@ interface DebugInfoBubbleProps {
|
|
|
3
3
|
step: ExecutionStep;
|
|
4
4
|
position?: 'top' | 'right' | 'bottom';
|
|
5
5
|
}
|
|
6
|
-
export declare const DebugInfoBubble: import('react').MemoExoticComponent<({ step, position, }: DebugInfoBubbleProps) => import("react
|
|
6
|
+
export declare const DebugInfoBubble: import('react').MemoExoticComponent<({ step, position, }: DebugInfoBubbleProps) => import("react").JSX.Element>;
|
|
7
7
|
export {};
|
|
8
8
|
//# 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;AAKpD,UAAU,oBAAoB;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAsBD,eAAO,MAAM,eAAe,4DAGzB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"DebugInfoBubble.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/DebugInfoBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKpD,UAAU,oBAAoB;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;CACvC;AAsBD,eAAO,MAAM,eAAe,4DAGzB,oBAAoB,iCAgDrB,CAAC"}
|
|
@@ -4,6 +4,6 @@ interface LiteralNodeProps {
|
|
|
4
4
|
data: LiteralNodeData;
|
|
5
5
|
selected?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const LiteralNode: import('react').MemoExoticComponent<({ id, data, selected, }: LiteralNodeProps) => import("react
|
|
7
|
+
export declare const LiteralNode: import('react').MemoExoticComponent<({ id, data, selected, }: LiteralNodeProps) => import("react").JSX.Element>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=LiteralNode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiteralNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/LiteralNode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"LiteralNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/LiteralNode.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAMhD,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAWD,eAAO,MAAM,WAAW,gEAIrB,gBAAgB,iCAoBjB,CAAC"}
|
|
@@ -4,6 +4,6 @@ interface StructureNodeProps {
|
|
|
4
4
|
data: StructureNodeData;
|
|
5
5
|
selected?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const StructureNode: import('react').MemoExoticComponent<({ id, data, selected, }: StructureNodeProps) => import("react
|
|
7
|
+
export declare const StructureNode: import('react').MemoExoticComponent<({ id, data, selected, }: StructureNodeProps) => import("react").JSX.Element>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=StructureNode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StructureNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/StructureNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"StructureNode.d.ts","sourceRoot":"","sources":["../../../../src/components/logic-editor/nodes/StructureNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAiBlD,UAAU,kBAAkB;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,gEAIvB,kBAAkB,iCAiFnB,CAAC"}
|
|
@@ -4,6 +4,6 @@ interface UnifiedOperatorNodeProps {
|
|
|
4
4
|
data: OperatorNodeData;
|
|
5
5
|
selected?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const UnifiedOperatorNode: import('react').MemoExoticComponent<({ id, data, selected, }: UnifiedOperatorNodeProps) => import("react
|
|
7
|
+
export declare const UnifiedOperatorNode: import('react').MemoExoticComponent<({ id, data, selected, }: UnifiedOperatorNodeProps) => import("react").JSX.Element>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=UnifiedOperatorNode.d.ts.map
|