{
+ const workflowStore = useWorkflowStore()
+ const { userProfile } = useAppContext()
+
+ const handleAddNote = useCallback(() => {
+ const newNode = generateNewNode({
+ type: CUSTOM_NOTE_NODE,
+ data: {
+ title: '',
+ desc: '',
+ type: '' as any,
+ text: '',
+ theme: NoteTheme.blue,
+ author: userProfile?.name || '',
+ showAuthor: true,
+ width: 240,
+ height: 88,
+ _isCandidate: true,
+ } as NoteNodeType,
+ position: {
+ x: 0,
+ y: 0,
+ },
+ })
+ workflowStore.setState({
+ candidateNode: newNode,
+ })
+ }, [workflowStore, userProfile])
+
+ return {
+ handleAddNote,
+ }
+}
diff --git a/web/app/components/workflow/panel-contextmenu.tsx b/web/app/components/workflow/panel-contextmenu.tsx
index eeae51c8d1aff4..a5e63fda4ec601 100644
--- a/web/app/components/workflow/panel-contextmenu.tsx
+++ b/web/app/components/workflow/panel-contextmenu.tsx
@@ -13,6 +13,7 @@ import {
useWorkflowStartRun,
} from './hooks'
import AddBlock from './operator/add-block'
+import { useOperator } from './operator/hooks'
import { exportAppConfig } from '@/service/apps'
import { useToastContext } from '@/app/components/base/toast'
import { useStore as useAppStore } from '@/app/components/app/store'
@@ -27,6 +28,7 @@ const PanelContextmenu = () => {
const { handleNodesPaste } = useNodesInteractions()
const { handlePaneContextmenuCancel } = usePanelInteractions()
const { handleStartWorkflowRun } = useWorkflowStartRun()
+ const { handleAddNote } = useOperator()
useClickAway(() => {
handlePaneContextmenuCancel()
@@ -78,6 +80,16 @@ const PanelContextmenu = () => {
crossAxis: -4,
}}
/>
+
{
+ e.stopPropagation()
+ handleAddNote()
+ handlePaneContextmenuCancel()
+ }}
+ >
+ {t('workflow.nodes.note.addNote')}
+
{
diff --git a/web/app/components/workflow/utils.ts b/web/app/components/workflow/utils.ts
index 60e9f69ddf4515..4ad9c6591c8631 100644
--- a/web/app/components/workflow/utils.ts
+++ b/web/app/components/workflow/utils.ts
@@ -17,6 +17,7 @@ import type {
} from './types'
import { BlockEnum } from './types'
import {
+ CUSTOM_NODE,
ITERATION_NODE_Z_INDEX,
NODE_WIDTH_X_OFFSET,
START_INITIAL_POSITION,
@@ -105,7 +106,8 @@ export const initialNodes = (originNodes: Node[], originEdges: Edge[]) => {
}, {} as Record)
return nodes.map((node) => {
- node.type = 'custom'
+ if (!node.type)
+ node.type = CUSTOM_NODE
const connectedEdges = getConnectedEdges([node], edges)
node.data._connectedSourceHandleIds = connectedEdges.filter(edge => edge.source === node.id).map(edge => edge.sourceHandle || 'source')
@@ -189,7 +191,7 @@ export const initialEdges = (originEdges: Edge[], originNodes: Node[]) => {
export const getLayoutByDagre = (originNodes: Node[], originEdges: Edge[]) => {
const dagreGraph = new dagre.graphlib.Graph()
dagreGraph.setDefaultEdgeLabel(() => ({}))
- const nodes = cloneDeep(originNodes).filter(node => !node.parentId)
+ const nodes = cloneDeep(originNodes).filter(node => !node.parentId && node.type === CUSTOM_NODE)
const edges = cloneDeep(originEdges).filter(edge => !edge.data?.isInIteration)
dagreGraph.setGraph({
rankdir: 'LR',
@@ -280,10 +282,10 @@ export const getNodesConnectedSourceOrTargetHandleIdsMap = (changes: ConnectedSo
return nodesConnectedSourceOrTargetHandleIdsMap
}
-export const generateNewNode = ({ data, position, id, zIndex, ...rest }: Omit & { id?: string }) => {
+export const generateNewNode = ({ data, position, id, zIndex, type, ...rest }: Omit & { id?: string }) => {
return {
id: id || `${Date.now()}`,
- type: 'custom',
+ type: type || CUSTOM_NODE,
data,
position,
targetPosition: Position.Left,
diff --git a/web/i18n/en-US/workflow.ts b/web/i18n/en-US/workflow.ts
index 9ac975f8a22c2d..5d0edcf6ce95b3 100644
--- a/web/i18n/en-US/workflow.ts
+++ b/web/i18n/en-US/workflow.ts
@@ -412,6 +412,25 @@ const translation = {
iteration_other: '{{count}} Iterations',
currentIteration: 'Current Iteration',
},
+ note: {
+ addNote: 'Add Note',
+ editor: {
+ placeholder: 'Write your note...',
+ small: 'Small',
+ medium: 'Medium',
+ large: 'Large',
+ bold: 'Bold',
+ italic: 'Italic',
+ strikethrough: 'Strikethrough',
+ link: 'Link',
+ openLink: 'Open',
+ unlink: 'Unlink',
+ enterUrl: 'Enter URL...',
+ invalidUrl: 'Invalid URL',
+ bulletList: 'Bullet List',
+ showAuthor: 'Show Author',
+ },
+ },
},
tracing: {
stopBy: 'Stop by {{user}}',
diff --git a/web/i18n/zh-Hans/workflow.ts b/web/i18n/zh-Hans/workflow.ts
index 83b933bc89fcad..1fbaf38cc5e6fe 100644
--- a/web/i18n/zh-Hans/workflow.ts
+++ b/web/i18n/zh-Hans/workflow.ts
@@ -412,6 +412,25 @@ const translation = {
iteration_other: '{{count}}个迭代',
currentIteration: '当前迭代',
},
+ note: {
+ addNote: '添加注释',
+ editor: {
+ placeholder: '输入注释...',
+ small: '小',
+ medium: '中',
+ large: '大',
+ bold: '加粗',
+ italic: '斜体',
+ strikethrough: '删除线',
+ link: '链接',
+ openLink: '打开',
+ unlink: '取消链接',
+ enterUrl: '输入链接...',
+ invalidUrl: '无效的链接',
+ bulletList: '列表',
+ showAuthor: '显示作者',
+ },
+ },
},
tracing: {
stopBy: '由{{user}}终止',
diff --git a/web/package.json b/web/package.json
index 81f9f83a3d4130..7ff952ae05e93c 100644
--- a/web/package.json
+++ b/web/package.json
@@ -23,7 +23,7 @@
"@headlessui/react": "^1.7.13",
"@heroicons/react": "^2.0.16",
"@hookform/resolvers": "^3.3.4",
- "@lexical/react": "^0.12.2",
+ "@lexical/react": "^0.16.0",
"@mdx-js/loader": "^2.3.0",
"@mdx-js/react": "^2.3.0",
"@monaco-editor/react": "^4.6.0",
@@ -47,7 +47,7 @@
"js-cookie": "^3.0.1",
"katex": "^0.16.10",
"lamejs": "^1.2.1",
- "lexical": "^0.12.2",
+ "lexical": "^0.16.0",
"lodash-es": "^4.17.21",
"mermaid": "10.4.0",
"negotiator": "^0.6.3",
diff --git a/web/yarn.lock b/web/yarn.lock
index e75fa8d0686142..d8aa078e6a3b14 100644
--- a/web/yarn.lock
+++ b/web/yarn.lock
@@ -414,159 +414,206 @@
"@jridgewell/resolve-uri" "3.1.0"
"@jridgewell/sourcemap-codec" "1.4.14"
-"@lexical/clipboard@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/clipboard/-/clipboard-0.12.2.tgz"
- integrity sha512-RldmfZquuJJJCJ5WquCyoJ1/eZ+AnNgdksqvd+G+Yn/GyJl/+O3dnHM0QVaDSPvh/PynLFcCtz/57ySLo2kQxQ==
+"@lexical/clipboard@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/clipboard/-/clipboard-0.16.0.tgz#3ae0d87a56bd3518de077e45b0c1bbba2f356193"
+ integrity sha512-eYMJ6jCXpWBVC05Mu9HLMysrBbfi++xFfsm+Yo7A6kYGrqYUhpXqjJkYnw1xdZYL3bV73Oe4ByVJuq42GU+Mqw==
dependencies:
- "@lexical/html" "0.12.2"
- "@lexical/list" "0.12.2"
- "@lexical/selection" "0.12.2"
- "@lexical/utils" "0.12.2"
+ "@lexical/html" "0.16.0"
+ "@lexical/list" "0.16.0"
+ "@lexical/selection" "0.16.0"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/code@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/code/-/code-0.12.2.tgz"
- integrity sha512-w2JeJdnMUtYnC/Fx78sL3iJBt9Ug8pFSDOcI9ay/BkMQFQV8oqq1iyuLLBBJSG4FAM8b2DXrVdGklRQ+jTfTVw==
+"@lexical/code@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/code/-/code-0.16.0.tgz#225030342e3c361e5541c750033323007a947880"
+ integrity sha512-1EKCBSFV745UI2zn5v75sKcvVdmd+y2JtZhw8CItiQkRnBLv4l4d/RZYy+cKOuXJGsoBrKtxXn5sl7HebwQbPw==
dependencies:
- "@lexical/utils" "0.12.2"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
prismjs "^1.27.0"
-"@lexical/dragon@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/dragon/-/dragon-0.12.2.tgz"
- integrity sha512-Mt8NLzTOt+VgQtc2DKDbHBwKeRlvKqbLqRIMYUVk60gol+YV7NpVBsP1PAMuYYjrTQLhlckBSC32H1SUHZRavA==
+"@lexical/devtools-core@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/devtools-core/-/devtools-core-0.16.0.tgz#326c8e2995ce6e6e9e1fc4654ee2affbecdbd46d"
+ integrity sha512-Jt8p0J0UoMHf3UMh3VdyrXbLLwpEZuMqihTmbPRpwo+YQ6NGQU35QgwY2K0DpPAThpxL/Cm7uaFqGOy8Kjrhqw==
+ dependencies:
+ "@lexical/html" "0.16.0"
+ "@lexical/link" "0.16.0"
+ "@lexical/mark" "0.16.0"
+ "@lexical/table" "0.16.0"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/hashtag@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/hashtag/-/hashtag-0.12.2.tgz"
- integrity sha512-2vYzIu5Ldf+eYdUrNA2m80c3N3MF3vJ0fIJzpl5QyX8OdViggEWl1bh+lKtw1Ju0H0CUyDIXdDLZ2apW3WDkTA==
+"@lexical/dragon@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/dragon/-/dragon-0.16.0.tgz#de083903701af2bb5264309b565d613c3eec06a0"
+ integrity sha512-Yr29SFZzOPs+S6UrEZaXnnso1fJGVfZOXVJQZbyzlspqJpSHXVH7InOXYHWN6JSWQ8Hs/vU3ksJXwqz+0TCp2g==
dependencies:
- "@lexical/utils" "0.12.2"
+ lexical "0.16.0"
-"@lexical/history@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/history/-/history-0.12.2.tgz"
- integrity sha512-PM/EDjnUyBPMWh1UiYb7T+FLbvTk14HwUWLXvZxn72S6Kj8ExH/PfLbWZWLCFL8RfzvbP407VwfSN8S0bF5H6g==
+"@lexical/hashtag@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/hashtag/-/hashtag-0.16.0.tgz#ea0187060a114678753adaf0a15aad59d4f49a71"
+ integrity sha512-2EdAvxYVYqb0nv6vgxCRgE8ip7yez5p0y0oeUyxmdbcfZdA+Jl90gYH3VdevmZ5Bk3wE0/fIqiLD+Bb5smqjCQ==
dependencies:
- "@lexical/utils" "0.12.2"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/html@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/html/-/html-0.12.2.tgz"
- integrity sha512-LWUO6OKhDtDZa9X1spHAqzsp+4EF01exis4cz5H9y2sHi7EofogXnRCadZ+fa07NVwPVTZWsStkk5qdSe/NEzg==
+"@lexical/history@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/history/-/history-0.16.0.tgz#f83f2e331957208c5c8186d98f2f84681d936cec"
+ integrity sha512-xwFxgDZGviyGEqHmgt6A6gPhsyU/yzlKRk9TBUVByba3khuTknlJ1a80H5jb+OYcrpiElml7iVuGYt+oC7atCA==
dependencies:
- "@lexical/selection" "0.12.2"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/link@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/link/-/link-0.12.2.tgz"
- integrity sha512-etOIONa7uyRDmwg8GN52kDlf8thD2Zk1LOFLeocHWz1V8fe3i2unGUek5s/rNPkc6ynpPpNsHdN1VEghOLCCmw==
+"@lexical/html@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/html/-/html-0.16.0.tgz#98477ed0dee4c7d910608f4e4de3fbd5eeecdffe"
+ integrity sha512-okxn3q/1qkUpCZNEFRI39XeJj4YRjb6prm3WqZgP4d39DI1W24feeTZJjYRCW+dc3NInwFaolU3pNA2MGkjRtg==
dependencies:
- "@lexical/utils" "0.12.2"
+ "@lexical/selection" "0.16.0"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/list@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/list/-/list-0.12.2.tgz"
- integrity sha512-3CyWtYQC+IlK4cK/oiD8Uz1gSXD8UcKGOF2vVsDXkMU06O6zvHNmHZOnVJqA0JVNgZAoR9dMR1fi2xd4iuCAiw==
+"@lexical/link@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/link/-/link-0.16.0.tgz#f137ab3071206ed3c3a8b8a302ed66b084399ed1"
+ integrity sha512-ppvJSh/XGqlzbeymOiwcXJcUcrqgQqTK2QXTBAZq7JThtb0WsJxYd2CSLSN+Ycu23prnwqOqILcU0+34+gAVFw==
dependencies:
- "@lexical/utils" "0.12.2"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/mark@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/mark/-/mark-0.12.2.tgz"
- integrity sha512-ub+37PDfmThsqAWipRTrwqpgE+83ckqJ5C3mKQUBZvhZfVZW1rEUXZnKjFh2Q3eZK6iT7zVgoVJWJS9ZgEEyag==
+"@lexical/list@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/list/-/list-0.16.0.tgz#ed97733633492e89c68ad51a1d455b63ce5aa1c0"
+ integrity sha512-nBx/DMM7nCgnOzo1JyNnVaIrk/Xi5wIPNi8jixrEV6w9Om2K6dHutn/79Xzp2dQlNGSLHEDjky6N2RyFgmXh0g==
dependencies:
- "@lexical/utils" "0.12.2"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/markdown@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/markdown/-/markdown-0.12.2.tgz"
- integrity sha512-F2jTFtBp7Q+yoA11BeUOEcxhROzW+HUhUGdsn20pSLhuxsWRj3oUuryWFeNKFofpzTCVoqU6dwpaMNMI2mL/sQ==
+"@lexical/mark@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/mark/-/mark-0.16.0.tgz#e87d92845c8bd231ef47106c5d44e7e10d2a3934"
+ integrity sha512-WMR4nqygSgIQ6Vdr5WAzohxBGjH+m44dBNTbWTGZGVlRvPzvBT6tieCoxFqpceIq/ko67HGTCNoFj2cMKVwgIA==
dependencies:
- "@lexical/code" "0.12.2"
- "@lexical/link" "0.12.2"
- "@lexical/list" "0.12.2"
- "@lexical/rich-text" "0.12.2"
- "@lexical/text" "0.12.2"
- "@lexical/utils" "0.12.2"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/offset@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/offset/-/offset-0.12.2.tgz"
- integrity sha512-rZLZXfOBmpmM8A2UZsX3cr/CQYw5F/ou67AbaKI0WImb5sjnIgICZqzu9VFUnkKlVNUurEpplV3UG3D1YYh1OQ==
+"@lexical/markdown@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/markdown/-/markdown-0.16.0.tgz#fd2d2759d9d5554d9899c3e1fb30a868bfa162a2"
+ integrity sha512-7HQLFrBbpY68mcq4A6C1qIGmjgA+fAByditi2WRe7tD2eoIKb/B5baQAnDKis0J+m5kTaCBmdlT6csSzyOPzeQ==
+ dependencies:
+ "@lexical/code" "0.16.0"
+ "@lexical/link" "0.16.0"
+ "@lexical/list" "0.16.0"
+ "@lexical/rich-text" "0.16.0"
+ "@lexical/text" "0.16.0"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
+
+"@lexical/offset@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/offset/-/offset-0.16.0.tgz#bb3bc695ed403db0795f095330c68cdc5cbbec4b"
+ integrity sha512-4TqPEC2qA7sgO8Tm65nOWnhJ8dkl22oeuGv9sUB+nhaiRZnw3R45mDelg23r56CWE8itZnvueE7TKvV+F3OXtQ==
+ dependencies:
+ lexical "0.16.0"
-"@lexical/overflow@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/overflow/-/overflow-0.12.2.tgz"
- integrity sha512-UgE5j3ukO6qRFRpH4T7m/DvnodE9nCtImD7QinyGdsTa0hi5xlRnl0FUo605vH+vz7xEsUNAGwQXYPX9Sc/vig==
+"@lexical/overflow@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/overflow/-/overflow-0.16.0.tgz#31b791f7f7005ea4b160f3ae8083a2b3de05cfdc"
+ integrity sha512-a7gtIRxleEuMN9dj2yO4CdezBBfIr9Mq+m7G5z62+xy7VL7cfMfF+xWjy3EmDYDXS4vOQgAXAUgO4oKz2AKGhQ==
+ dependencies:
+ lexical "0.16.0"
-"@lexical/plain-text@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/plain-text/-/plain-text-0.12.2.tgz"
- integrity sha512-Lcg6+ngRnX70//kz34azYhID3bvW66HSHCfu5UPhCXT+vQ/Jkd/InhRKajBwWXpaJxMM1huoi3sjzVDb3luNtw==
+"@lexical/plain-text@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/plain-text/-/plain-text-0.16.0.tgz#b903bfb59fb6629ded24194e1bef451df3383393"
+ integrity sha512-BK7/GSOZUHRJTbNPkpb9a/xN9z+FBCdunTsZhnOY8pQ7IKws3kuMO2Tk1zXfTd882ZNAxFdDKNdLYDSeufrKpw==
+ dependencies:
+ "@lexical/clipboard" "0.16.0"
+ "@lexical/selection" "0.16.0"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/react@^0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/react/-/react-0.12.2.tgz"
- integrity sha512-ZBUvf5xmhiYWBw8pPrhYmLAEwFWrbF/cd15y76TUKD9l/2zDwwPs6nJQxBzfz3ei65r2/nnavLDV8W3QfvxfUA==
- dependencies:
- "@lexical/clipboard" "0.12.2"
- "@lexical/code" "0.12.2"
- "@lexical/dragon" "0.12.2"
- "@lexical/hashtag" "0.12.2"
- "@lexical/history" "0.12.2"
- "@lexical/link" "0.12.2"
- "@lexical/list" "0.12.2"
- "@lexical/mark" "0.12.2"
- "@lexical/markdown" "0.12.2"
- "@lexical/overflow" "0.12.2"
- "@lexical/plain-text" "0.12.2"
- "@lexical/rich-text" "0.12.2"
- "@lexical/selection" "0.12.2"
- "@lexical/table" "0.12.2"
- "@lexical/text" "0.12.2"
- "@lexical/utils" "0.12.2"
- "@lexical/yjs" "0.12.2"
+"@lexical/react@^0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/react/-/react-0.16.0.tgz#0bd3ae63ceb5ad8b77e8c0e8ba7df1a0369462f0"
+ integrity sha512-WKFQbI0/m1YkLjL5t90YLJwjGcl5QRe6mkfm3ljQuL7Ioj3F92ZN/J2gHFVJ9iC8/lJs6Zzw6oFjiP8hQxJf9Q==
+ dependencies:
+ "@lexical/clipboard" "0.16.0"
+ "@lexical/code" "0.16.0"
+ "@lexical/devtools-core" "0.16.0"
+ "@lexical/dragon" "0.16.0"
+ "@lexical/hashtag" "0.16.0"
+ "@lexical/history" "0.16.0"
+ "@lexical/link" "0.16.0"
+ "@lexical/list" "0.16.0"
+ "@lexical/mark" "0.16.0"
+ "@lexical/markdown" "0.16.0"
+ "@lexical/overflow" "0.16.0"
+ "@lexical/plain-text" "0.16.0"
+ "@lexical/rich-text" "0.16.0"
+ "@lexical/selection" "0.16.0"
+ "@lexical/table" "0.16.0"
+ "@lexical/text" "0.16.0"
+ "@lexical/utils" "0.16.0"
+ "@lexical/yjs" "0.16.0"
+ lexical "0.16.0"
react-error-boundary "^3.1.4"
-"@lexical/rich-text@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/rich-text/-/rich-text-0.12.2.tgz"
- integrity sha512-igsEuv7CwBOAj5c8jeE41cnx6zkhI/Bkbu4W7shT6S6lNA/3cnyZpAMlgixwyK5RoqjGRCT+IJK5l6yBxQfNkw==
+"@lexical/rich-text@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/rich-text/-/rich-text-0.16.0.tgz#5b9ea6ceb1ea034fa7adf1770bd7fa6af1571d1d"
+ integrity sha512-AGTD6yJZ+kj2TNah1r7/6vyufs6fZANeSvv9x5eG+WjV4uyUJYkd1qR8C5gFZHdkyr+bhAcsAXvS039VzAxRrQ==
+ dependencies:
+ "@lexical/clipboard" "0.16.0"
+ "@lexical/selection" "0.16.0"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/selection@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/selection/-/selection-0.12.2.tgz"
- integrity sha512-h+g3oOnihHKIyLTyG6uLCEVR/DmUEVdCcZO1iAoGsuW7nwWiWNPWj6oZ3Cw5J1Mk5u62DHnkkVDQsVSZbAwmtg==
+"@lexical/selection@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/selection/-/selection-0.16.0.tgz#8e09edb1e555e79c646a0105beab58ac21fc7158"
+ integrity sha512-trT9gQVJ2j6AwAe7tHJ30SRuxCpV6yR9LFtggxphHsXSvJYnoHC0CXh1TF2jHl8Gd5OsdWseexGLBE4Y0V3gwQ==
+ dependencies:
+ lexical "0.16.0"
-"@lexical/table@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/table/-/table-0.12.2.tgz"
- integrity sha512-tiAmTq6RKHDVER9v589Ajm9/RL+WTF1WschrH6HHVCtil6cfJfTJeJ+MF45+XEzB9fkqy2LfrScAfWxqLjVePA==
+"@lexical/table@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/table/-/table-0.16.0.tgz#68592afbb0f9c0d9bf42bebaae626b8129fc470d"
+ integrity sha512-A66K779kxdr0yH2RwT2itsMnkzyFLFNPXyiWGLobCH8ON4QPuBouZvjbRHBe8Pe64yJ0c1bRDxSbTqUi9Wt3Gg==
dependencies:
- "@lexical/utils" "0.12.2"
+ "@lexical/utils" "0.16.0"
+ lexical "0.16.0"
-"@lexical/text@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/text/-/text-0.12.2.tgz"
- integrity sha512-HyuIGuQvVi5djJKKBf+jYEBjK+0Eo9cKHf6WS7dlFozuCZvcCQEJkFy2yceWOwIVk+f2kptVQ5uO7aiZHExH2A==
+"@lexical/text@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/text/-/text-0.16.0.tgz#fc4789591f8aaa4a33bc1814280bc8725fd036a9"
+ integrity sha512-9ilaOhuNIIGHKC8g8j3K/mEvJ09af9B6RKbm3GNoRcf/WNHD4dEFWNTEvgo/3zCzAS8EUBI6UINmfQQWlMjdIQ==
+ dependencies:
+ lexical "0.16.0"
-"@lexical/utils@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/utils/-/utils-0.12.2.tgz"
- integrity sha512-xW4y4l2Yd37+qLwkBvBGyzsKCA9wnh1ljphBJeR2vreT193i2gaIwuku2ZKlER14VHw4192qNJF7vUoAEmwurQ==
+"@lexical/utils@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/utils/-/utils-0.16.0.tgz#6ad5785c53347aed5b39c980240c09b21c4a7469"
+ integrity sha512-GWmFEmd7o3GHqJBaEwzuZQbfTNI3Gg8ReGuHMHABgrkhZ8j2NggoRBlxsQLG0f7BewfTMVwbye22yBPq78775w==
dependencies:
- "@lexical/list" "0.12.2"
- "@lexical/selection" "0.12.2"
- "@lexical/table" "0.12.2"
+ "@lexical/list" "0.16.0"
+ "@lexical/selection" "0.16.0"
+ "@lexical/table" "0.16.0"
+ lexical "0.16.0"
-"@lexical/yjs@0.12.2":
- version "0.12.2"
- resolved "https://registry.npmjs.org/@lexical/yjs/-/yjs-0.12.2.tgz"
- integrity sha512-OPJhkJD1Mp9W80mfLzASTB3OFWFMzJteUYA+eSyDgiX9zNi1VGxAqmIITTkDvnCMa+qvw4EfhGeGezpjx6Og4A==
+"@lexical/yjs@0.16.0":
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/@lexical/yjs/-/yjs-0.16.0.tgz#e27bec25c12e90f7768b980da08f2d2d9919d25b"
+ integrity sha512-YIJr87DfAXTwoVHDjR7cci//hr4r/a61Nn95eo2JNwbTqQo65Gp8rwJivqVxNfvKZmRdwHTKgvdEDoBmI/tGog==
dependencies:
- "@lexical/offset" "0.12.2"
+ "@lexical/offset" "0.16.0"
+ lexical "0.16.0"
"@mdx-js/loader@^2.3.0":
version "2.3.0"
@@ -4287,10 +4334,10 @@ levn@^0.4.1:
prelude-ls "^1.2.1"
type-check "~0.4.0"
-lexical@^0.12.2:
- version "0.12.2"
- resolved "https://registry.npmjs.org/lexical/-/lexical-0.12.2.tgz"
- integrity sha512-Kxavd+ETjxtVwG/hvPd6WZfXD44sLOKe9Vlkwxy7lBQ1qZArS+rZfs+u5iXwXe6tX9f2PIM0u3RHsrCEDDE0fw==
+lexical@0.16.0, lexical@^0.16.0:
+ version "0.16.0"
+ resolved "https://registry.yarnpkg.com/lexical/-/lexical-0.16.0.tgz#0515d4003cbfba5a5e0e3e50f32f65076a6b89e2"
+ integrity sha512-Skn45Qhriazq4fpAtwnAB11U//GKc4vjzx54xsV3TkDLDvWpbL4Z9TNRwRoN3g7w8AkWnqjeOSODKkrjgfRSrg==
lilconfig@2.1.0, lilconfig@^2.0.5, lilconfig@^2.1.0:
version "2.1.0"