@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/package.json
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goplasmatic/datalogic-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "5.0.1",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "React rule builder, visual debugger, and editor for JSONLogic (json-logic) — flow-diagram view and live execution tracing, powered by the datalogic-rs WASM engine.",
|
|
7
7
|
"keywords": [
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
8
|
+
"jsonlogic",
|
|
9
|
+
"json-logic",
|
|
10
|
+
"rules-engine",
|
|
11
|
+
"rule-builder",
|
|
12
|
+
"rule-editor",
|
|
13
|
+
"visual-debugger",
|
|
14
|
+
"logic-editor",
|
|
15
|
+
"business-rules",
|
|
14
16
|
"react",
|
|
15
|
-
"
|
|
17
|
+
"react-component",
|
|
18
|
+
"flow-diagram",
|
|
19
|
+
"debugger"
|
|
16
20
|
],
|
|
17
21
|
"homepage": "https://goplasmatic.github.io/datalogic-rs/playground/",
|
|
18
22
|
"repository": {
|
|
@@ -21,7 +25,7 @@
|
|
|
21
25
|
"directory": "ui"
|
|
22
26
|
},
|
|
23
27
|
"author": "Plasmatic",
|
|
24
|
-
"license": "
|
|
28
|
+
"license": "Apache-2.0",
|
|
25
29
|
"main": "./dist/index.cjs",
|
|
26
30
|
"module": "./dist/index.js",
|
|
27
31
|
"types": "./dist/lib.d.ts",
|
|
@@ -52,13 +56,29 @@
|
|
|
52
56
|
"sideEffects": [
|
|
53
57
|
"**/*.css"
|
|
54
58
|
],
|
|
59
|
+
"scripts": {
|
|
60
|
+
"dev": "vite",
|
|
61
|
+
"build": "tsc -b && vite build",
|
|
62
|
+
"build:lib": "vite build --config vite.lib.config.ts",
|
|
63
|
+
"build:embed": "vite build --config vite.embed.config.ts",
|
|
64
|
+
"lint": "eslint .",
|
|
65
|
+
"preview": "vite preview",
|
|
66
|
+
"prepublishOnly": "npm run build:lib",
|
|
67
|
+
"predev": "npm run sync-wasm",
|
|
68
|
+
"prebuild": "npm run sync-wasm",
|
|
69
|
+
"prebuild:lib": "npm run sync-wasm",
|
|
70
|
+
"prebuild:embed": "npm run sync-wasm",
|
|
71
|
+
"sync-wasm": "rm -rf vendor/datalogic && mkdir -p vendor && cp -R ../bindings/wasm/pkg vendor/datalogic"
|
|
72
|
+
},
|
|
55
73
|
"dependencies": {
|
|
56
|
-
"@dagrejs/dagre": "^
|
|
74
|
+
"@dagrejs/dagre": "^3.0.0",
|
|
75
|
+
"@fontsource/jetbrains-mono": "^5.2.8",
|
|
76
|
+
"@fontsource/space-grotesk": "^5.2.10",
|
|
77
|
+
"@goplasmatic/datalogic-wasm": "5.0.1",
|
|
57
78
|
"@msgpack/msgpack": "^3.1.3",
|
|
58
|
-
"fflate": "^0.8.
|
|
59
|
-
"lucide-react": "^
|
|
60
|
-
"uuid": "^
|
|
61
|
-
"@goplasmatic/datalogic": "4.0.21"
|
|
79
|
+
"fflate": "^0.8.3",
|
|
80
|
+
"lucide-react": "^1.23.0",
|
|
81
|
+
"uuid": "^14.0.1"
|
|
62
82
|
},
|
|
63
83
|
"peerDependencies": {
|
|
64
84
|
"@xyflow/react": "^12.0.0",
|
|
@@ -67,32 +87,21 @@
|
|
|
67
87
|
},
|
|
68
88
|
"devDependencies": {
|
|
69
89
|
"@eslint/js": "^10.0.1",
|
|
70
|
-
"@types/node": "^
|
|
71
|
-
"@types/react": "^19.2.
|
|
90
|
+
"@types/node": "^26.1.0",
|
|
91
|
+
"@types/react": "^19.2.17",
|
|
72
92
|
"@types/react-dom": "^19.2.3",
|
|
73
|
-
"@vitejs/plugin-react": "^6.0.
|
|
74
|
-
"@xyflow/react": "^12.
|
|
75
|
-
"eslint": "^10.0
|
|
76
|
-
"eslint-plugin-react-hooks": "^7.
|
|
77
|
-
"eslint-plugin-react-refresh": "^0.5.
|
|
78
|
-
"globals": "^17.
|
|
79
|
-
"react": "^19.2.
|
|
80
|
-
"react-dom": "^19.2.
|
|
81
|
-
"typescript": "~
|
|
82
|
-
"typescript-eslint": "^8.
|
|
83
|
-
"vite": "^8.
|
|
84
|
-
"vite-plugin-dts": "^
|
|
93
|
+
"@vitejs/plugin-react": "^6.0.3",
|
|
94
|
+
"@xyflow/react": "^12.11.2",
|
|
95
|
+
"eslint": "^10.6.0",
|
|
96
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
97
|
+
"eslint-plugin-react-refresh": "^0.5.3",
|
|
98
|
+
"globals": "^17.7.0",
|
|
99
|
+
"react": "^19.2.7",
|
|
100
|
+
"react-dom": "^19.2.7",
|
|
101
|
+
"typescript": "~6.0.3",
|
|
102
|
+
"typescript-eslint": "^8.63.0",
|
|
103
|
+
"vite": "^8.1.3",
|
|
104
|
+
"vite-plugin-dts": "^5.0.3",
|
|
85
105
|
"vite-plugin-wasm": "^3.6.0"
|
|
86
|
-
},
|
|
87
|
-
"scripts": {
|
|
88
|
-
"dev": "vite",
|
|
89
|
-
"build": "tsc -b && vite build",
|
|
90
|
-
"build:lib": "vite build --config vite.lib.config.ts",
|
|
91
|
-
"build:embed": "vite build --config vite.embed.config.ts",
|
|
92
|
-
"lint": "eslint .",
|
|
93
|
-
"preview": "vite preview",
|
|
94
|
-
"release:patch": "npm version patch && pnpm publish --access public --no-git-checks",
|
|
95
|
-
"release:minor": "npm version minor && pnpm publish --access public --no-git-checks",
|
|
96
|
-
"release:major": "npm version major && pnpm publish --access public --no-git-checks"
|
|
97
106
|
}
|
|
98
|
-
}
|
|
107
|
+
}
|