Feat: The Begin and IterationStart operators cannot be deleted using shortcut keys #4287 (#4288)

### What problem does this PR solve?

Feat: The Begin and IterationStart operators cannot be deleted using
shortcut keys #4287

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-12-30 17:47:47 +08:00
committed by GitHub
parent 54908ebd30
commit d1971e988a
42 changed files with 391 additions and 246 deletions

81
web/package-lock.json generated
View File

@ -35,6 +35,7 @@
"@tanstack/react-query-devtools": "^5.51.5",
"@tanstack/react-table": "^8.20.5",
"@uiw/react-markdown-preview": "^5.1.3",
"@xyflow/react": "^12.3.6",
"ahooks": "^3.7.10",
"antd": "^5.12.7",
"axios": "^1.6.3",
@ -68,7 +69,7 @@
"react-string-replace": "^1.1.1",
"react-syntax-highlighter": "^15.5.0",
"react18-json-view": "^0.2.8",
"reactflow": "^11.11.2",
"@xyflow/react": "^11.11.2",
"recharts": "^2.12.4",
"rehype-katex": "^7.0.1",
"rehype-raw": "^7.0.0",
@ -5469,12 +5470,12 @@
"node": ">=12.0.0"
}
},
"node_modules/@reactflow/background": {
"node_modules/@@xyflow/react/background": {
"version": "11.3.12",
"resolved": "https://registry.npmmirror.com/@reactflow/background/-/background-11.3.12.tgz",
"resolved": "https://registry.npmmirror.com/@@xyflow/react/background/-/background-11.3.12.tgz",
"integrity": "sha512-jBuWVb43JQy5h4WOS7G0PU8voGTEJNA+qDmx8/jyBtrjbasTesLNfQvboTGjnQYYiJco6mw5vrtQItAJDNoIqw==",
"dependencies": {
"@reactflow/core": "11.11.2",
"@@xyflow/react/core": "11.11.2",
"classcat": "^5.0.3",
"zustand": "^4.4.1"
},
@ -5483,12 +5484,12 @@
"react-dom": ">=17"
}
},
"node_modules/@reactflow/controls": {
"node_modules/@@xyflow/react/controls": {
"version": "11.2.12",
"resolved": "https://registry.npmmirror.com/@reactflow/controls/-/controls-11.2.12.tgz",
"resolved": "https://registry.npmmirror.com/@@xyflow/react/controls/-/controls-11.2.12.tgz",
"integrity": "sha512-L9F3+avFRShoprdT+5oOijm5gVsz2rqWCXBzOAgD923L1XFGIspdiHLLf8IlPGsT+mfl0GxbptZhaEeEzl1e3g==",
"dependencies": {
"@reactflow/core": "11.11.2",
"@@xyflow/react/core": "11.11.2",
"classcat": "^5.0.3",
"zustand": "^4.4.1"
},
@ -5497,9 +5498,9 @@
"react-dom": ">=17"
}
},
"node_modules/@reactflow/core": {
"node_modules/@@xyflow/react/core": {
"version": "11.11.2",
"resolved": "https://registry.npmmirror.com/@reactflow/core/-/core-11.11.2.tgz",
"resolved": "https://registry.npmmirror.com/@@xyflow/react/core/-/core-11.11.2.tgz",
"integrity": "sha512-+GfgyskweL1PsgRSguUwfrT2eDotlFgaKfDLm7x0brdzzPJY2qbCzVetaxedaiJmIli3817iYbILvE9qLKwbRA==",
"dependencies": {
"@types/d3": "^7.4.0",
@ -5517,12 +5518,12 @@
"react-dom": ">=17"
}
},
"node_modules/@reactflow/minimap": {
"node_modules/@@xyflow/react/minimap": {
"version": "11.7.12",
"resolved": "https://registry.npmmirror.com/@reactflow/minimap/-/minimap-11.7.12.tgz",
"resolved": "https://registry.npmmirror.com/@@xyflow/react/minimap/-/minimap-11.7.12.tgz",
"integrity": "sha512-SRDU77c2PCF54PV/MQfkz7VOW46q7V1LZNOQlXAp7dkNyAOI6R+tb9qBUtUJOvILB+TCN6pRfD9fQ+2T99bW3Q==",
"dependencies": {
"@reactflow/core": "11.11.2",
"@@xyflow/react/core": "11.11.2",
"@types/d3-selection": "^3.0.3",
"@types/d3-zoom": "^3.0.1",
"classcat": "^5.0.3",
@ -5535,12 +5536,12 @@
"react-dom": ">=17"
}
},
"node_modules/@reactflow/node-resizer": {
"node_modules/@@xyflow/react/node-resizer": {
"version": "2.2.12",
"resolved": "https://registry.npmmirror.com/@reactflow/node-resizer/-/node-resizer-2.2.12.tgz",
"resolved": "https://registry.npmmirror.com/@@xyflow/react/node-resizer/-/node-resizer-2.2.12.tgz",
"integrity": "sha512-6LHJGuI1zHyRrZHw5gGlVLIWnvVxid9WIqw8FMFSg+oF2DuS3pAPwSoZwypy7W22/gDNl9eD1Dcl/OtFtDFQ+w==",
"dependencies": {
"@reactflow/core": "11.11.2",
"@@xyflow/react/core": "11.11.2",
"classcat": "^5.0.4",
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
@ -5551,12 +5552,12 @@
"react-dom": ">=17"
}
},
"node_modules/@reactflow/node-toolbar": {
"node_modules/@@xyflow/react/node-toolbar": {
"version": "1.3.12",
"resolved": "https://registry.npmmirror.com/@reactflow/node-toolbar/-/node-toolbar-1.3.12.tgz",
"resolved": "https://registry.npmmirror.com/@@xyflow/react/node-toolbar/-/node-toolbar-1.3.12.tgz",
"integrity": "sha512-4kJRvNna/E3y2MZW9/80wTKwkhw4pLJiz3D5eQrD13XcmojSb1rArO9CiwyrI+rMvs5gn6NlCFB4iN1F+Q+lxQ==",
"dependencies": {
"@reactflow/core": "11.11.2",
"@@xyflow/react/core": "11.11.2",
"classcat": "^5.0.3",
"zustand": "^4.4.1"
},
@ -8954,6 +8955,34 @@
"integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
"peer": true
},
"node_modules/@xyflow/react": {
"version": "12.3.6",
"resolved": "https://registry.npmmirror.com/@xyflow/react/-/react-12.3.6.tgz",
"integrity": "sha512-9GS+cz8hDZahpvTrVCmySAEgKUL8oN4b2q1DluHrKtkqhAMWfH2s7kblhbM4Y4Y4SUnH2lt4drXKZ/4/Lot/2Q==",
"dependencies": {
"@xyflow/system": "0.0.47",
"classcat": "^5.0.3",
"zustand": "^4.4.0"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
}
},
"node_modules/@xyflow/system": {
"version": "0.0.47",
"resolved": "https://registry.npmmirror.com/@xyflow/system/-/system-0.0.47.tgz",
"integrity": "sha512-aUXJPIvsCFxGX70ccRG8LPsR+A8ExYXfh/noYNpqn8udKerrLdSHxMG2VsvUrQ1PGex10fOpbJwFU4A+I/Xv8w==",
"dependencies": {
"@types/d3-drag": "^3.0.7",
"@types/d3-selection": "^3.0.10",
"@types/d3-transition": "^3.0.8",
"@types/d3-zoom": "^3.0.8",
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
"d3-zoom": "^3.0.0"
}
},
"node_modules/3d-force-graph": {
"version": "1.73.3",
"resolved": "https://registry.npmmirror.com/3d-force-graph/-/3d-force-graph-1.73.3.tgz",
@ -25533,17 +25562,17 @@
"lodash": "^4.0.1"
}
},
"node_modules/reactflow": {
"node_modules/@xyflow/react": {
"version": "11.11.2",
"resolved": "https://registry.npmmirror.com/reactflow/-/reactflow-11.11.2.tgz",
"resolved": "https://registry.npmmirror.com/@xyflow/react/-/@xyflow/react-11.11.2.tgz",
"integrity": "sha512-o1fT3stSdhzW+SedCGNSmEvZvULZygZIMLyW67NcWNZrgwx1wuJfzLg5fuQ0Nzf389wItumZX/zP3zdaPX7lEw==",
"dependencies": {
"@reactflow/background": "11.3.12",
"@reactflow/controls": "11.2.12",
"@reactflow/core": "11.11.2",
"@reactflow/minimap": "11.7.12",
"@reactflow/node-resizer": "2.2.12",
"@reactflow/node-toolbar": "1.3.12"
"@@xyflow/react/background": "11.3.12",
"@@xyflow/react/controls": "11.2.12",
"@@xyflow/react/core": "11.11.2",
"@@xyflow/react/minimap": "11.7.12",
"@@xyflow/react/node-resizer": "2.2.12",
"@@xyflow/react/node-toolbar": "1.3.12"
},
"peerDependencies": {
"react": ">=17",