@huanban/rulego-editor-react 1.3.18 → 1.4.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 +304 -10
- package/dist/components/AIAssistant.d.ts +1 -7
- package/dist/components/ComponentSidebar.d.ts +13 -52
- package/dist/components/ContextMenu.d.ts +1 -59
- package/dist/components/CopilotChat.d.ts +27 -22
- package/dist/components/DataViewDialog.d.ts +0 -33
- package/dist/components/DebugPanel.d.ts +5 -65
- package/dist/components/DynamicForm.d.ts +0 -40
- package/dist/components/EdgePropertyDrawer.d.ts +0 -35
- package/dist/components/EditorConnectionStatus.d.ts +12 -0
- package/dist/components/EditorEdgeHoverTools.d.ts +11 -0
- package/dist/components/EditorIcon.d.ts +7 -0
- package/dist/components/EditorNodeHoverTools.d.ts +16 -0
- package/dist/components/EditorPanelDock.d.ts +18 -0
- package/dist/components/EditorStatusBar.d.ts +34 -0
- package/dist/components/EditorToolbar.d.ts +2 -62
- package/dist/components/ImportExportDialog.d.ts +1 -37
- package/dist/components/LogViewer.d.ts +0 -29
- package/dist/components/MiniMap.d.ts +0 -46
- package/dist/components/NodePropertyDrawer.d.ts +19 -102
- package/dist/components/ProblemsPanel.d.ts +21 -0
- package/dist/components/RuleChainSettings.d.ts +0 -45
- package/dist/components/RuleGoEditor.d.ts +37 -147
- package/dist/components/RuleMaintenancePanel.d.ts +0 -1
- package/dist/components/SearchPanel.d.ts +0 -39
- package/dist/components/SearchableSelect.d.ts +0 -1
- package/dist/components/ValidationPanel.d.ts +0 -39
- package/dist/components/WorkflowExplorer.d.ts +24 -0
- package/dist/components/WorkflowInfoPanel.d.ts +1 -36
- package/dist/components/WorkflowList.d.ts +2 -69
- package/dist/components/WorkspaceTabs.d.ts +17 -0
- package/dist/components/properties/AgentOrchestrationProperties.d.ts +2 -1
- package/dist/hooks/useBoundStore.d.ts +8 -0
- package/dist/hooks/useClipboard.d.ts +2 -63
- package/dist/hooks/useEditorCore.d.ts +0 -79
- package/dist/hooks/useEditorI18n.d.ts +0 -26
- package/dist/hooks/useEditorPanels.d.ts +23 -0
- package/dist/hooks/useEditorShell.d.ts +35 -0
- package/dist/hooks/useEditorTheme.d.ts +0 -30
- package/dist/hooks/useEditorWorkspace.d.ts +25 -0
- package/dist/hooks/useKeyboardShortcuts.d.ts +4 -44
- package/dist/i18n.d.ts +6 -4
- package/dist/index.cjs +17 -0
- package/dist/index.d.ts +28 -62
- package/dist/index.esm.js +6235 -104685
- package/dist/style.css +1 -1
- package/package.json +13 -8
- package/dist/index.cjs.js +0 -9470
package/package.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huanban/rulego-editor-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "RuleGo 编辑器 React 适配层 - WorkflowList / WorkflowInfoPanel / RuleGoEditor 独立组件 + Hooks",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.cjs
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"import": "./dist/index.esm.js",
|
|
12
|
-
"require": "./dist/index.cjs
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
13
|
"types": "./dist/index.d.ts"
|
|
14
14
|
},
|
|
15
15
|
"./style.css": "./dist/style.css"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"dist/**/*.js",
|
|
19
|
+
"dist/**/*.cjs",
|
|
19
20
|
"dist/**/*.d.ts",
|
|
20
21
|
"dist/**/*.css",
|
|
21
22
|
"!dist/**/*.js.map",
|
|
23
|
+
"!dist/**/*.cjs.map",
|
|
22
24
|
"!dist/**/*.d.ts.map"
|
|
23
25
|
],
|
|
24
26
|
"publishConfig": {
|
|
@@ -34,20 +36,21 @@
|
|
|
34
36
|
"scripts": {
|
|
35
37
|
"dev": "vite build --watch",
|
|
36
38
|
"build": "vite build && tsc --emitDeclarationOnly --outDir dist",
|
|
39
|
+
"test": "vitest run",
|
|
37
40
|
"lint": "tsc --noEmit",
|
|
38
41
|
"clean": "rm -rf dist"
|
|
39
42
|
},
|
|
40
43
|
"dependencies": {
|
|
41
|
-
"@huanban/rulego-editor-core": "1.
|
|
44
|
+
"@huanban/rulego-editor-core": "1.4.0",
|
|
42
45
|
"@logicflow/core": "2.1.11",
|
|
43
46
|
"@logicflow/extension": "2.1.11"
|
|
44
47
|
},
|
|
45
48
|
"peerDependencies": {
|
|
46
|
-
"react": ">=
|
|
47
|
-
"react-dom": ">=
|
|
49
|
+
"react": ">=17.0.0 <20",
|
|
50
|
+
"react-dom": ">=17.0.0 <20"
|
|
48
51
|
},
|
|
49
52
|
"devDependencies": {
|
|
50
|
-
"@huanban/rulego-editor-core": "1.
|
|
53
|
+
"@huanban/rulego-editor-core": "1.4.0",
|
|
51
54
|
"@logicflow/core": "2.1.11",
|
|
52
55
|
"@logicflow/extension": "2.1.11",
|
|
53
56
|
"typescript": "^5.4.0",
|
|
@@ -55,7 +58,9 @@
|
|
|
55
58
|
"@types/react": "^18.2.0",
|
|
56
59
|
"@types/react-dom": "^18.2.0",
|
|
57
60
|
"react": "^18.3.0",
|
|
58
|
-
"react-dom": "^18.3.0"
|
|
61
|
+
"react-dom": "^18.3.0",
|
|
62
|
+
"jsdom": "16.7.0",
|
|
63
|
+
"vitest": "^2.0.0"
|
|
59
64
|
},
|
|
60
65
|
"keywords": [
|
|
61
66
|
"rulego",
|