@payloadcms/richtext-lexical 3.0.0-canary.ff8c8fd → 3.0.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/LICENSE.md +1 -1
- package/dist/cell/rscEntry.d.ts +12 -0
- package/dist/cell/rscEntry.d.ts.map +1 -0
- package/dist/cell/rscEntry.js +82 -0
- package/dist/cell/rscEntry.js.map +1 -0
- package/dist/exports/client/Field-KKSJXHR7.js +2 -0
- package/dist/exports/client/Field-KKSJXHR7.js.map +7 -0
- package/dist/exports/client/RelationshipComponent-2RT3YXUT.js +2 -0
- package/dist/exports/client/RelationshipComponent-2RT3YXUT.js.map +7 -0
- package/dist/exports/client/bundled.css +1 -1
- package/dist/exports/client/chunk-2CYU43GM.js +2 -0
- package/dist/exports/client/chunk-2CYU43GM.js.map +7 -0
- package/dist/exports/client/chunk-5PBXL4HT.js +2 -0
- package/dist/exports/client/chunk-5PBXL4HT.js.map +7 -0
- package/dist/exports/client/chunk-C7S3V4EB.js +2 -0
- package/dist/exports/client/chunk-C7S3V4EB.js.map +7 -0
- package/dist/exports/client/chunk-CUIBIFW2.js +2 -0
- package/dist/exports/client/chunk-CUIBIFW2.js.map +7 -0
- package/dist/exports/client/{chunk-UJDWBQ2K.js → chunk-MI5HS4QX.js} +2 -2
- package/dist/exports/client/{chunk-UJDWBQ2K.js.map → chunk-MI5HS4QX.js.map} +2 -2
- package/dist/exports/client/chunk-QPPOQTHD.js +2 -0
- package/dist/exports/client/chunk-QPPOQTHD.js.map +7 -0
- package/dist/exports/client/chunk-U7O7EYCP.js +2 -0
- package/dist/exports/client/chunk-U7O7EYCP.js.map +7 -0
- package/dist/exports/client/{chunk-V2LKLT2F.js → chunk-XCEM47RI.js} +3 -3
- package/dist/exports/client/{chunk-V2LKLT2F.js.map → chunk-XCEM47RI.js.map} +3 -3
- package/dist/exports/client/component-ANB7VZLA.js +2 -0
- package/dist/exports/client/component-ANB7VZLA.js.map +7 -0
- package/dist/exports/client/component-H3EYQ5KG.js +2 -0
- package/dist/exports/client/component-H3EYQ5KG.js.map +7 -0
- package/dist/exports/client/componentInline-ZGO3K4TA.js +2 -0
- package/dist/exports/client/componentInline-ZGO3K4TA.js.map +7 -0
- package/dist/exports/client/index.d.ts +10 -4
- package/dist/exports/client/index.d.ts.map +1 -1
- package/dist/exports/client/index.js +10 -8
- package/dist/exports/client/index.js.map +4 -4
- package/dist/exports/server/ast/mdx.d.ts +7 -0
- package/dist/exports/server/ast/mdx.d.ts.map +1 -0
- package/dist/exports/server/ast/mdx.js +37 -0
- package/dist/exports/server/ast/mdx.js.map +1 -0
- package/dist/exports/server/rsc.d.ts +3 -0
- package/dist/exports/server/rsc.d.ts.map +1 -0
- package/dist/exports/server/rsc.js +3 -0
- package/dist/exports/server/rsc.js.map +1 -0
- package/dist/exports/shared.d.ts +4 -0
- package/dist/exports/shared.d.ts.map +1 -0
- package/dist/exports/shared.js +4 -0
- package/dist/exports/shared.js.map +1 -0
- package/dist/features/align/client/index.d.ts +1 -4
- package/dist/features/align/client/index.d.ts.map +1 -1
- package/dist/features/blockquote/client/index.d.ts +1 -4
- package/dist/features/blockquote/client/index.d.ts.map +1 -1
- package/dist/features/blockquote/markdownTransformer.js.map +1 -1
- package/dist/features/blockquote/server/index.d.ts +1 -1
- package/dist/features/blockquote/server/index.d.ts.map +1 -1
- package/dist/features/blockquote/server/index.js +5 -1
- package/dist/features/blockquote/server/index.js.map +1 -1
- package/dist/features/blocks/client/component/BlockContent.d.ts +34 -8
- package/dist/features/blocks/client/component/BlockContent.d.ts.map +1 -1
- package/dist/features/blocks/client/component/BlockContent.js +66 -170
- package/dist/features/blocks/client/component/BlockContent.js.map +1 -1
- package/dist/features/blocks/client/component/components/BlockCollapsible.d.ts +11 -0
- package/dist/features/blocks/client/component/components/BlockCollapsible.d.ts.map +1 -0
- package/dist/features/blocks/client/component/components/BlockCollapsible.js +37 -0
- package/dist/features/blocks/client/component/components/BlockCollapsible.js.map +1 -0
- package/dist/features/blocks/client/component/components/BlockEditButton.d.ts +3 -0
- package/dist/features/blocks/client/component/components/BlockEditButton.d.ts.map +1 -0
- package/dist/features/blocks/client/component/components/BlockEditButton.js +22 -0
- package/dist/features/blocks/client/component/components/BlockEditButton.js.map +1 -0
- package/dist/features/blocks/client/component/components/BlockRemoveButton.d.ts +3 -0
- package/dist/features/blocks/client/component/components/BlockRemoveButton.d.ts.map +1 -0
- package/dist/features/blocks/client/component/components/BlockRemoveButton.js +22 -0
- package/dist/features/blocks/client/component/components/BlockRemoveButton.js.map +1 -0
- package/dist/features/blocks/client/component/index.d.ts +1 -1
- package/dist/features/blocks/client/component/index.d.ts.map +1 -1
- package/dist/features/blocks/client/component/index.js +294 -93
- package/dist/features/blocks/client/component/index.js.map +1 -1
- package/dist/features/blocks/client/componentInline/components/InlineBlockContainer.d.ts +5 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockContainer.d.ts.map +1 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockContainer.js +28 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockContainer.js.map +1 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockEditButton.d.ts +3 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockEditButton.d.ts.map +1 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockEditButton.js +22 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockEditButton.js.map +1 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockLabel.d.ts +3 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockLabel.d.ts.map +1 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockLabel.js +22 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockLabel.js.map +1 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockRemoveButton.d.ts +3 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockRemoveButton.d.ts.map +1 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockRemoveButton.js +22 -0
- package/dist/features/blocks/client/componentInline/components/InlineBlockRemoveButton.js.map +1 -0
- package/dist/features/blocks/client/componentInline/index.d.ts +14 -2
- package/dist/features/blocks/client/componentInline/index.d.ts.map +1 -1
- package/dist/features/blocks/client/componentInline/index.js +237 -63
- package/dist/features/blocks/client/componentInline/index.js.map +1 -1
- package/dist/features/blocks/client/index.d.ts +1 -8
- package/dist/features/blocks/client/index.d.ts.map +1 -1
- package/dist/features/blocks/client/index.js +140 -147
- package/dist/features/blocks/client/index.js.map +1 -1
- package/dist/features/blocks/client/markdownTransformer.d.ts +16 -0
- package/dist/features/blocks/client/markdownTransformer.d.ts.map +1 -0
- package/dist/features/blocks/client/markdownTransformer.js +144 -0
- package/dist/features/blocks/client/markdownTransformer.js.map +1 -0
- package/dist/features/blocks/client/nodes/BlocksNode.d.ts +2 -2
- package/dist/features/blocks/client/nodes/BlocksNode.d.ts.map +1 -1
- package/dist/features/blocks/client/nodes/BlocksNode.js +1 -3
- package/dist/features/blocks/client/nodes/BlocksNode.js.map +1 -1
- package/dist/features/blocks/client/plugin/commands.d.ts +0 -4
- package/dist/features/blocks/client/plugin/commands.d.ts.map +1 -1
- package/dist/features/blocks/client/plugin/commands.js +0 -1
- package/dist/features/blocks/client/plugin/commands.js.map +1 -1
- package/dist/features/blocks/client/plugin/index.d.ts +3 -4
- package/dist/features/blocks/client/plugin/index.d.ts.map +1 -1
- package/dist/features/blocks/client/plugin/index.js +25 -129
- package/dist/features/blocks/client/plugin/index.js.map +1 -1
- package/dist/features/blocks/server/index.d.ts +1 -2
- package/dist/features/blocks/server/index.d.ts.map +1 -1
- package/dist/features/blocks/server/index.js +72 -35
- package/dist/features/blocks/server/index.js.map +1 -1
- package/dist/features/blocks/server/linesFromMatchToContentAndPropsString.d.ts +22 -0
- package/dist/features/blocks/server/linesFromMatchToContentAndPropsString.d.ts.map +1 -0
- package/dist/features/blocks/server/linesFromMatchToContentAndPropsString.js +136 -0
- package/dist/features/blocks/server/linesFromMatchToContentAndPropsString.js.map +1 -0
- package/dist/features/blocks/server/markdownTransformer.d.ts +22 -0
- package/dist/features/blocks/server/markdownTransformer.d.ts.map +1 -0
- package/dist/features/blocks/server/markdownTransformer.js +400 -0
- package/dist/features/blocks/server/markdownTransformer.js.map +1 -0
- package/dist/features/blocks/server/nodes/BlocksNode.d.ts +11 -5
- package/dist/features/blocks/server/nodes/BlocksNode.d.ts.map +1 -1
- package/dist/features/blocks/server/nodes/BlocksNode.js.map +1 -1
- package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts +3 -3
- package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts.map +1 -1
- package/dist/features/blocks/server/nodes/InlineBlocksNode.js.map +1 -1
- package/dist/features/blocks/server/validate.d.ts.map +1 -1
- package/dist/features/blocks/server/validate.js +8 -5
- package/dist/features/blocks/server/validate.js.map +1 -1
- package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -1
- package/dist/features/converters/html/converter/converters/paragraph.js +4 -0
- package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -1
- package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -1
- package/dist/features/converters/html/converter/converters/text.js +2 -1
- package/dist/features/converters/html/converter/converters/text.js.map +1 -1
- package/dist/features/converters/html/converter/index.d.ts +11 -7
- package/dist/features/converters/html/converter/index.d.ts.map +1 -1
- package/dist/features/converters/html/converter/index.js +17 -1
- package/dist/features/converters/html/converter/index.js.map +1 -1
- package/dist/features/converters/html/converter/types.d.ts +3 -1
- package/dist/features/converters/html/converter/types.d.ts.map +1 -1
- package/dist/features/converters/html/converter/types.js.map +1 -1
- package/dist/features/converters/html/field/index.d.ts.map +1 -1
- package/dist/features/converters/html/field/index.js +7 -1
- package/dist/features/converters/html/field/index.js.map +1 -1
- package/dist/features/debug/testRecorder/client/index.d.ts +1 -4
- package/dist/features/debug/testRecorder/client/index.d.ts.map +1 -1
- package/dist/features/debug/testRecorder/client/plugin/index.js +25 -14
- package/dist/features/debug/testRecorder/client/plugin/index.js.map +1 -1
- package/dist/features/debug/treeView/client/index.d.ts +1 -4
- package/dist/features/debug/treeView/client/index.d.ts.map +1 -1
- package/dist/features/experimental_table/client/index.d.ts +1 -1
- package/dist/features/experimental_table/client/index.d.ts.map +1 -1
- package/dist/features/experimental_table/client/index.js +2 -0
- package/dist/features/experimental_table/client/index.js.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js +49 -51
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js +55 -42
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts +1 -1
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js +58 -19
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js.map +1 -1
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts.map +1 -1
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.js +52 -50
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.js.map +1 -1
- package/dist/features/experimental_table/client/utils/debounce.js +4 -4
- package/dist/features/experimental_table/client/utils/debounce.js.map +1 -1
- package/dist/features/experimental_table/client/utils/useDebounce.js.map +1 -1
- package/dist/features/experimental_table/markdownTransformer.d.ts +5 -0
- package/dist/features/experimental_table/markdownTransformer.d.ts.map +1 -0
- package/dist/features/experimental_table/markdownTransformer.js +127 -0
- package/dist/features/experimental_table/markdownTransformer.js.map +1 -0
- package/dist/features/experimental_table/server/index.d.ts.map +1 -1
- package/dist/features/experimental_table/server/index.js +22 -4
- package/dist/features/experimental_table/server/index.js.map +1 -1
- package/dist/features/format/bold/feature.client.d.ts +1 -4
- package/dist/features/format/bold/feature.client.d.ts.map +1 -1
- package/dist/features/format/bold/feature.client.js +2 -1
- package/dist/features/format/bold/feature.client.js.map +1 -1
- package/dist/features/format/inlineCode/feature.client.d.ts +1 -4
- package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -1
- package/dist/features/format/inlineCode/feature.client.js +2 -1
- package/dist/features/format/inlineCode/feature.client.js.map +1 -1
- package/dist/features/format/italic/feature.client.d.ts +1 -4
- package/dist/features/format/italic/feature.client.d.ts.map +1 -1
- package/dist/features/format/italic/feature.client.js +2 -1
- package/dist/features/format/italic/feature.client.js.map +1 -1
- package/dist/features/format/strikethrough/feature.client.d.ts +1 -4
- package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -1
- package/dist/features/format/strikethrough/feature.client.js +2 -1
- package/dist/features/format/strikethrough/feature.client.js.map +1 -1
- package/dist/features/format/subscript/feature.client.d.ts +1 -4
- package/dist/features/format/subscript/feature.client.d.ts.map +1 -1
- package/dist/features/format/subscript/feature.client.js +2 -1
- package/dist/features/format/subscript/feature.client.js.map +1 -1
- package/dist/features/format/superscript/feature.client.d.ts +1 -4
- package/dist/features/format/superscript/feature.client.d.ts.map +1 -1
- package/dist/features/format/superscript/feature.client.js +2 -1
- package/dist/features/format/superscript/feature.client.js.map +1 -1
- package/dist/features/format/underline/feature.client.d.ts +1 -4
- package/dist/features/format/underline/feature.client.d.ts.map +1 -1
- package/dist/features/format/underline/feature.client.js +2 -1
- package/dist/features/format/underline/feature.client.js.map +1 -1
- package/dist/features/heading/client/index.d.ts +1 -4
- package/dist/features/heading/client/index.d.ts.map +1 -1
- package/dist/features/heading/server/index.d.ts.map +1 -1
- package/dist/features/heading/server/index.js +4 -0
- package/dist/features/heading/server/index.js.map +1 -1
- package/dist/features/horizontalRule/client/component/index.d.ts +1 -1
- package/dist/features/horizontalRule/client/component/index.d.ts.map +1 -1
- package/dist/features/horizontalRule/client/component/index.js +12 -9
- package/dist/features/horizontalRule/client/component/index.js.map +1 -1
- package/dist/features/horizontalRule/client/index.d.ts +1 -4
- package/dist/features/horizontalRule/client/index.d.ts.map +1 -1
- package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts +2 -2
- package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts.map +1 -1
- package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js +1 -1
- package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js.map +1 -1
- package/dist/features/indent/client/index.d.ts +1 -4
- package/dist/features/indent/client/index.d.ts.map +1 -1
- package/dist/features/indent/client/index.js +2 -1
- package/dist/features/indent/client/index.js.map +1 -1
- package/dist/features/link/client/index.d.ts +1 -13
- package/dist/features/link/client/index.d.ts.map +1 -1
- package/dist/features/link/client/index.js +2 -2
- package/dist/features/link/client/index.js.map +1 -1
- package/dist/features/link/client/plugins/autoLink/index.d.ts +1 -1
- package/dist/features/link/client/plugins/autoLink/index.d.ts.map +1 -1
- package/dist/features/link/client/plugins/autoLink/index.js +3 -1
- package/dist/features/link/client/plugins/autoLink/index.js.map +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js +78 -40
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts.map +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/index.js +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/index.js.map +1 -1
- package/dist/features/link/nodes/AutoLinkNode.js +2 -2
- package/dist/features/link/nodes/AutoLinkNode.js.map +1 -1
- package/dist/features/link/nodes/LinkNode.d.ts.map +1 -1
- package/dist/features/link/nodes/LinkNode.js +12 -7
- package/dist/features/link/nodes/LinkNode.js.map +1 -1
- package/dist/features/link/nodes/types.d.ts +3 -3
- package/dist/features/link/nodes/types.d.ts.map +1 -1
- package/dist/features/link/nodes/types.js.map +1 -1
- package/dist/features/link/server/baseFields.d.ts +1 -1
- package/dist/features/link/server/baseFields.d.ts.map +1 -1
- package/dist/features/link/server/baseFields.js +15 -3
- package/dist/features/link/server/baseFields.js.map +1 -1
- package/dist/features/link/server/i18n.d.ts.map +1 -1
- package/dist/features/link/server/i18n.js +64 -32
- package/dist/features/link/server/i18n.js.map +1 -1
- package/dist/features/link/server/index.d.ts.map +1 -1
- package/dist/features/link/server/index.js +17 -4
- package/dist/features/link/server/index.js.map +1 -1
- package/dist/features/link/server/transformExtraFields.d.ts +1 -1
- package/dist/features/link/server/transformExtraFields.d.ts.map +1 -1
- package/dist/features/link/server/transformExtraFields.js.map +1 -1
- package/dist/features/link/server/validate.d.ts.map +1 -1
- package/dist/features/link/server/validate.js +8 -5
- package/dist/features/link/server/validate.js.map +1 -1
- package/dist/features/lists/checklist/client/index.d.ts +1 -4
- package/dist/features/lists/checklist/client/index.d.ts.map +1 -1
- package/dist/features/lists/htmlConverter.d.ts.map +1 -1
- package/dist/features/lists/htmlConverter.js +8 -0
- package/dist/features/lists/htmlConverter.js.map +1 -1
- package/dist/features/lists/orderedList/client/index.d.ts +1 -4
- package/dist/features/lists/orderedList/client/index.d.ts.map +1 -1
- package/dist/features/lists/shared/markdown.js.map +1 -1
- package/dist/features/lists/unorderedList/client/index.d.ts +1 -4
- package/dist/features/lists/unorderedList/client/index.d.ts.map +1 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.js +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -1
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +1 -4
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -1
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +1 -1
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -1
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -1
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -1
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -1
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -1
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -1
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -1
- package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -1
- package/dist/features/migrations/slateToLexical/converter/index.js +1 -0
- package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -1
- package/dist/features/migrations/slateToLexical/feature.client.d.ts +1 -4
- package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -1
- package/dist/features/migrations/slateToLexical/feature.client.js +1 -3
- package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -1
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +1 -1
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
- package/dist/features/paragraph/client/index.d.ts +1 -4
- package/dist/features/paragraph/client/index.d.ts.map +1 -1
- package/dist/features/paragraph/server/index.d.ts +1 -1
- package/dist/features/paragraph/server/index.d.ts.map +1 -1
- package/dist/features/relationship/client/components/RelationshipComponent.d.ts.map +1 -1
- package/dist/features/relationship/client/components/RelationshipComponent.js +34 -24
- package/dist/features/relationship/client/components/RelationshipComponent.js.map +1 -1
- package/dist/features/relationship/client/drawer/index.d.ts.map +1 -1
- package/dist/features/relationship/client/drawer/index.js +27 -26
- package/dist/features/relationship/client/drawer/index.js.map +1 -1
- package/dist/features/relationship/client/index.d.ts +2 -17
- package/dist/features/relationship/client/index.d.ts.map +1 -1
- package/dist/features/relationship/client/nodes/RelationshipNode.d.ts +1 -1
- package/dist/features/relationship/client/nodes/RelationshipNode.d.ts.map +1 -1
- package/dist/features/relationship/client/nodes/RelationshipNode.js.map +1 -1
- package/dist/features/relationship/client/plugins/index.js +1 -1
- package/dist/features/relationship/client/plugins/index.js.map +1 -1
- package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js +1 -1
- package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js.map +1 -1
- package/dist/features/relationship/server/index.d.ts +1 -1
- package/dist/features/relationship/server/index.d.ts.map +1 -1
- package/dist/features/relationship/server/index.js +50 -40
- package/dist/features/relationship/server/index.js.map +1 -1
- package/dist/features/relationship/server/nodes/RelationshipNode.d.ts +2 -2
- package/dist/features/relationship/server/nodes/RelationshipNode.d.ts.map +1 -1
- package/dist/features/relationship/server/nodes/RelationshipNode.js.map +1 -1
- package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts.map +1 -1
- package/dist/features/toolbars/fixed/client/Toolbar/index.js +93 -66
- package/dist/features/toolbars/fixed/client/Toolbar/index.js.map +1 -1
- package/dist/features/toolbars/fixed/client/index.d.ts +1 -4
- package/dist/features/toolbars/fixed/client/index.d.ts.map +1 -1
- package/dist/features/toolbars/inline/client/Toolbar/index.js +135 -97
- package/dist/features/toolbars/inline/client/Toolbar/index.js.map +1 -1
- package/dist/features/toolbars/inline/client/index.d.ts +1 -4
- package/dist/features/toolbars/inline/client/index.d.ts.map +1 -1
- package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -1
- package/dist/features/toolbars/shared/ToolbarButton/index.js +5 -2
- package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -1
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts +5 -4
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -1
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +24 -10
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -1
- package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts +4 -5
- package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -1
- package/dist/features/toolbars/shared/ToolbarDropdown/index.js +127 -127
- package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -1
- package/dist/features/toolbars/types.d.ts +23 -11
- package/dist/features/toolbars/types.d.ts.map +1 -1
- package/dist/features/toolbars/types.js.map +1 -1
- package/dist/features/typesClient.d.ts +22 -30
- package/dist/features/typesClient.d.ts.map +1 -1
- package/dist/features/typesClient.js.map +1 -1
- package/dist/features/typesServer.d.ts +23 -28
- package/dist/features/typesServer.d.ts.map +1 -1
- package/dist/features/typesServer.js.map +1 -1
- package/dist/features/upload/client/component/index.d.ts.map +1 -1
- package/dist/features/upload/client/component/index.js +66 -58
- package/dist/features/upload/client/component/index.js.map +1 -1
- package/dist/features/upload/client/drawer/index.d.ts.map +1 -1
- package/dist/features/upload/client/drawer/index.js +34 -32
- package/dist/features/upload/client/drawer/index.js.map +1 -1
- package/dist/features/upload/client/feature.client.d.ts +1 -4
- package/dist/features/upload/client/feature.client.d.ts.map +1 -1
- package/dist/features/upload/client/nodes/UploadNode.d.ts.map +1 -1
- package/dist/features/upload/client/nodes/UploadNode.js +1 -1
- package/dist/features/upload/client/nodes/UploadNode.js.map +1 -1
- package/dist/features/upload/client/plugin/index.js +1 -1
- package/dist/features/upload/client/plugin/index.js.map +1 -1
- package/dist/features/upload/server/feature.server.d.ts.map +1 -1
- package/dist/features/upload/server/feature.server.js +17 -8
- package/dist/features/upload/server/feature.server.js.map +1 -1
- package/dist/features/upload/server/validate.d.ts.map +1 -1
- package/dist/features/upload/server/validate.js +7 -4
- package/dist/features/upload/server/validate.js.map +1 -1
- package/dist/field/Field.d.ts.map +1 -1
- package/dist/field/Field.js +39 -65
- package/dist/field/Field.js.map +1 -1
- package/dist/field/bundled.css +1 -1
- package/dist/field/index.d.ts.map +1 -1
- package/dist/field/index.js +74 -74
- package/dist/field/index.js.map +1 -1
- package/dist/field/rscEntry.d.ts +9 -0
- package/dist/field/rscEntry.d.ts.map +1 -0
- package/dist/field/rscEntry.js +56 -0
- package/dist/field/rscEntry.js.map +1 -0
- package/dist/index.d.ts +8 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +101 -105
- package/dist/index.js.map +1 -1
- package/dist/lexical/EditorPlugin.d.ts.map +1 -1
- package/dist/lexical/EditorPlugin.js +2 -1
- package/dist/lexical/EditorPlugin.js.map +1 -1
- package/dist/lexical/LexicalEditor.d.ts +1 -1
- package/dist/lexical/LexicalEditor.d.ts.map +1 -1
- package/dist/lexical/LexicalEditor.js +10 -10
- package/dist/lexical/LexicalEditor.js.map +1 -1
- package/dist/lexical/LexicalProvider.d.ts +2 -2
- package/dist/lexical/LexicalProvider.d.ts.map +1 -1
- package/dist/lexical/LexicalProvider.js +18 -25
- package/dist/lexical/LexicalProvider.js.map +1 -1
- package/dist/lexical/config/client/EditorConfigProvider.d.ts +6 -5
- package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -1
- package/dist/lexical/config/client/EditorConfigProvider.js +14 -13
- package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -1
- package/dist/lexical/config/client/loader.d.ts +5 -2
- package/dist/lexical/config/client/loader.d.ts.map +1 -1
- package/dist/lexical/config/client/loader.js +12 -18
- package/dist/lexical/config/client/loader.js.map +1 -1
- package/dist/lexical/config/client/sanitize.d.ts +1 -1
- package/dist/lexical/config/client/sanitize.d.ts.map +1 -1
- package/dist/lexical/config/client/sanitize.js +19 -18
- package/dist/lexical/config/client/sanitize.js.map +1 -1
- package/dist/lexical/config/server/loader.d.ts +2 -1
- package/dist/lexical/config/server/loader.d.ts.map +1 -1
- package/dist/lexical/config/server/loader.js +2 -0
- package/dist/lexical/config/server/loader.js.map +1 -1
- package/dist/lexical/config/server/sanitize.d.ts +1 -1
- package/dist/lexical/config/server/sanitize.d.ts.map +1 -1
- package/dist/lexical/config/server/sanitize.js +27 -13
- package/dist/lexical/config/server/sanitize.js.map +1 -1
- package/dist/lexical/config/types.d.ts +2 -2
- package/dist/lexical/config/types.d.ts.map +1 -1
- package/dist/lexical/config/types.js.map +1 -1
- package/dist/lexical/nodes/index.d.ts +4 -0
- package/dist/lexical/nodes/index.d.ts.map +1 -1
- package/dist/lexical/nodes/index.js +8 -1
- package/dist/lexical/nodes/index.js.map +1 -1
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +6 -6
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -1
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +19 -8
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -1
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +2 -2
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -1
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +7 -7
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -1
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +3 -2
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -1
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -1
- package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -1
- package/dist/lexical/plugins/SlashMenu/index.js +24 -30
- package/dist/lexical/plugins/SlashMenu/index.js.map +1 -1
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -1
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js +11 -9
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +15 -8
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +9 -7
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -1
- package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -1
- package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js +3 -1
- package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -1
- package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -1
- package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js +3 -4
- package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -1
- package/dist/lexical/theme/EditorTheme.d.ts.map +1 -1
- package/dist/lexical/theme/EditorTheme.js +1 -2
- package/dist/lexical/theme/EditorTheme.js.map +1 -1
- package/dist/lexical/utils/nodeFormat.d.ts +2 -2
- package/dist/lexical/utils/nodeFormat.d.ts.map +1 -1
- package/dist/lexical/utils/nodeFormat.js.map +1 -1
- package/dist/lexical/utils/rect.d.ts +4 -4
- package/dist/lexical/utils/rect.d.ts.map +1 -1
- package/dist/lexical/utils/rect.js.map +1 -1
- package/dist/lexical/utils/setFloatingElemPosition.d.ts +1 -1
- package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -1
- package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -1
- package/dist/lexical/utils/url.d.ts +5 -0
- package/dist/lexical/utils/url.d.ts.map +1 -1
- package/dist/lexical/utils/url.js +25 -5
- package/dist/lexical/utils/url.js.map +1 -1
- package/dist/lexical-proxy/@lexical-headless.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-headless.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-headless.js +2 -0
- package/dist/lexical-proxy/@lexical-headless.js.map +1 -0
- package/dist/lexical-proxy/@lexical-link.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-link.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-link.js +2 -0
- package/dist/lexical-proxy/@lexical-link.js.map +1 -0
- package/dist/lexical-proxy/@lexical-list.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-list.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-list.js +2 -0
- package/dist/lexical-proxy/@lexical-list.js.map +1 -0
- package/dist/lexical-proxy/@lexical-mark.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-mark.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-mark.js +2 -0
- package/dist/lexical-proxy/@lexical-mark.js.map +1 -0
- package/dist/lexical-proxy/@lexical-markdown.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-markdown.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-markdown.js +2 -0
- package/dist/lexical-proxy/@lexical-markdown.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoEmbedPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoEmbedPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoEmbedPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoEmbedPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoFocusPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoFocusPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoFocusPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoFocusPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoLinkPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoLinkPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoLinkPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalAutoLinkPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalBlockWithAlignableContents.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalBlockWithAlignableContents.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalBlockWithAlignableContents.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalBlockWithAlignableContents.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCharacterLimitPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCharacterLimitPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCharacterLimitPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCharacterLimitPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCheckListPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCheckListPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCheckListPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCheckListPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalClearEditorPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalClearEditorPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalClearEditorPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalClearEditorPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalClickableLinkPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalClickableLinkPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalClickableLinkPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalClickableLinkPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCollaborationContext.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCollaborationContext.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCollaborationContext.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCollaborationContext.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCollaborationPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCollaborationPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCollaborationPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalCollaborationPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalComposer.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalComposer.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalComposer.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalComposer.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalComposerContext.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalComposerContext.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalComposerContext.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalComposerContext.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalContentEditable.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalContentEditable.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalContentEditable.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalContentEditable.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalDecoratorBlockNode.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalDecoratorBlockNode.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalDecoratorBlockNode.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalDecoratorBlockNode.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalDraggableBlockPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalDraggableBlockPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalDraggableBlockPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalDraggableBlockPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalEditorRefPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalEditorRefPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalEditorRefPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalEditorRefPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalErrorBoundary.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalErrorBoundary.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalErrorBoundary.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalErrorBoundary.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHashtagPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHashtagPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHashtagPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHashtagPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHistoryPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHistoryPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHistoryPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHistoryPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHorizontalRuleNode.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHorizontalRuleNode.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHorizontalRuleNode.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHorizontalRuleNode.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHorizontalRulePlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHorizontalRulePlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHorizontalRulePlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalHorizontalRulePlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalLinkPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalLinkPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalLinkPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalLinkPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalListPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalListPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalListPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalListPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalMarkdownShortcutPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalMarkdownShortcutPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalMarkdownShortcutPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalMarkdownShortcutPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNestedComposer.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNestedComposer.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNestedComposer.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNestedComposer.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNodeEventPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNodeEventPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNodeEventPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNodeEventPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNodeMenuPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNodeMenuPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNodeMenuPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalNodeMenuPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalOnChangePlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalOnChangePlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalOnChangePlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalOnChangePlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalPlainTextPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalPlainTextPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalPlainTextPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalPlainTextPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalRichTextPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalRichTextPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalRichTextPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalRichTextPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTabIndentationPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTabIndentationPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTabIndentationPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTabIndentationPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTableOfContents.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTableOfContents.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTableOfContents.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTableOfContents.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTableOfContentsPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTableOfContentsPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTableOfContentsPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTableOfContentsPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTablePlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTablePlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTablePlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTablePlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTreeView.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTreeView.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTreeView.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTreeView.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTypeaheadMenuPlugin.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTypeaheadMenuPlugin.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTypeaheadMenuPlugin.js +2 -0
- package/dist/lexical-proxy/@lexical-react/LexicalTypeaheadMenuPlugin.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalEditable.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalEditable.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalEditable.js +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalEditable.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalIsTextContentEmpty.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalIsTextContentEmpty.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalIsTextContentEmpty.js +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalIsTextContentEmpty.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalNodeSelection.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalNodeSelection.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalNodeSelection.js +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalNodeSelection.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalSubscription.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalSubscription.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalSubscription.js +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalSubscription.js.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalTextEntity.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalTextEntity.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalTextEntity.js +2 -0
- package/dist/lexical-proxy/@lexical-react/useLexicalTextEntity.js.map +1 -0
- package/dist/lexical-proxy/@lexical-rich-text.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-rich-text.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-rich-text.js +2 -0
- package/dist/lexical-proxy/@lexical-rich-text.js.map +1 -0
- package/dist/lexical-proxy/@lexical-selection.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-selection.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-selection.js +2 -0
- package/dist/lexical-proxy/@lexical-selection.js.map +1 -0
- package/dist/lexical-proxy/@lexical-utils.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-utils.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-utils.js +2 -0
- package/dist/lexical-proxy/@lexical-utils.js.map +1 -0
- package/dist/lexical-proxy/lexical.d.ts +2 -0
- package/dist/lexical-proxy/lexical.d.ts.map +1 -0
- package/dist/lexical-proxy/lexical.js +2 -0
- package/dist/lexical-proxy/lexical.js.map +1 -0
- package/dist/populateGraphQL/populate.d.ts +3 -2
- package/dist/populateGraphQL/populate.d.ts.map +1 -1
- package/dist/populateGraphQL/populate.js +3 -1
- package/dist/populateGraphQL/populate.js.map +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.js +5 -4
- package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
- package/dist/types.d.ts +23 -8
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utilities/buildInitialState.d.ts +27 -0
- package/dist/utilities/buildInitialState.d.ts.map +1 -0
- package/dist/utilities/buildInitialState.js +53 -0
- package/dist/utilities/buildInitialState.js.map +1 -0
- package/dist/utilities/createClientFeature.d.ts +8 -5
- package/dist/utilities/createClientFeature.d.ts.map +1 -1
- package/dist/utilities/createClientFeature.js +7 -4
- package/dist/utilities/createClientFeature.js.map +1 -1
- package/dist/utilities/createServerFeature.d.ts +1 -0
- package/dist/utilities/createServerFeature.d.ts.map +1 -1
- package/dist/utilities/createServerFeature.js +2 -0
- package/dist/utilities/createServerFeature.js.map +1 -1
- package/dist/utilities/fieldsDrawer/Drawer.d.ts +1 -0
- package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -1
- package/dist/utilities/fieldsDrawer/Drawer.js +68 -27
- package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -1
- package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -1
- package/dist/utilities/fieldsDrawer/DrawerContent.js +102 -138
- package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -1
- package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.d.ts +13 -0
- package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.d.ts.map +1 -0
- package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.js +129 -0
- package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.js.map +1 -0
- package/dist/utilities/fieldsDrawer/useLexicalDrawer.d.ts +10 -0
- package/dist/utilities/fieldsDrawer/useLexicalDrawer.d.ts.map +1 -0
- package/dist/utilities/fieldsDrawer/useLexicalDrawer.js +136 -0
- package/dist/utilities/fieldsDrawer/useLexicalDrawer.js.map +1 -0
- package/dist/utilities/fieldsDrawer/useLexicalListDrawer.d.ts +16 -0
- package/dist/utilities/fieldsDrawer/useLexicalListDrawer.d.ts.map +1 -0
- package/dist/utilities/fieldsDrawer/useLexicalListDrawer.js +144 -0
- package/dist/utilities/fieldsDrawer/useLexicalListDrawer.js.map +1 -0
- package/dist/utilities/generateImportMap.d.ts.map +1 -1
- package/dist/utilities/generateImportMap.js +2 -3
- package/dist/utilities/generateImportMap.js.map +1 -1
- package/dist/utilities/generateSchemaMap.d.ts.map +1 -1
- package/dist/utilities/generateSchemaMap.js +13 -10
- package/dist/utilities/generateSchemaMap.js.map +1 -1
- package/dist/utilities/initLexicalFeatures.d.ts +18 -0
- package/dist/utilities/initLexicalFeatures.d.ts.map +1 -0
- package/dist/utilities/initLexicalFeatures.js +96 -0
- package/dist/utilities/initLexicalFeatures.js.map +1 -0
- package/dist/utilities/jsx/collectTopLevelJSXInLines.d.ts +52 -0
- package/dist/utilities/jsx/collectTopLevelJSXInLines.d.ts.map +1 -0
- package/dist/utilities/jsx/collectTopLevelJSXInLines.js +79 -0
- package/dist/utilities/jsx/collectTopLevelJSXInLines.js.map +1 -0
- package/dist/utilities/jsx/extractPropsFromJSXPropsString.d.ts +12 -0
- package/dist/utilities/jsx/extractPropsFromJSXPropsString.d.ts.map +1 -0
- package/dist/utilities/jsx/extractPropsFromJSXPropsString.js +125 -0
- package/dist/utilities/jsx/extractPropsFromJSXPropsString.js.map +1 -0
- package/dist/utilities/jsx/jsx.d.ts +26 -0
- package/dist/utilities/jsx/jsx.d.ts.map +1 -0
- package/dist/utilities/jsx/jsx.js +105 -0
- package/dist/utilities/jsx/jsx.js.map +1 -0
- package/dist/utilities/jsx/jsx.spec.d.ts +2 -0
- package/dist/utilities/jsx/jsx.spec.d.ts.map +1 -0
- package/dist/utilities/jsx/jsx.spec.js +142 -0
- package/dist/utilities/jsx/jsx.spec.js.map +1 -0
- package/dist/utilities/jsx/lexicalMarkdownCopy.d.ts +11 -0
- package/dist/utilities/jsx/lexicalMarkdownCopy.d.ts.map +1 -0
- package/dist/utilities/jsx/lexicalMarkdownCopy.js +61 -0
- package/dist/utilities/jsx/lexicalMarkdownCopy.js.map +1 -0
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +1 -1
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -1
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +1 -1
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -1
- package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts +1 -1
- package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -1
- package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +5 -1
- package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -1
- package/dist/utilities/useLexicalFeature.d.ts.map +1 -1
- package/dist/utilities/useLexicalFeature.js +12 -4
- package/dist/utilities/useLexicalFeature.js.map +1 -1
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js +2 -2
- package/dist/validate/index.js.map +1 -1
- package/dist/validate/validateNodes.d.ts +2 -2
- package/dist/validate/validateNodes.d.ts.map +1 -1
- package/dist/validate/validateNodes.js +4 -4
- package/dist/validate/validateNodes.js.map +1 -1
- package/package.json +332 -46
- package/dist/cell/index.d.ts +0 -9
- package/dist/cell/index.d.ts.map +0 -1
- package/dist/cell/index.js +0 -135
- package/dist/cell/index.js.map +0 -1
- package/dist/exports/client/Field-SUWHJ4HF.js +0 -2
- package/dist/exports/client/Field-SUWHJ4HF.js.map +0 -7
- package/dist/exports/client/RelationshipComponent-EZORSGUZ.js +0 -2
- package/dist/exports/client/RelationshipComponent-EZORSGUZ.js.map +0 -7
- package/dist/exports/client/chunk-OLSILJA6.js +0 -2
- package/dist/exports/client/chunk-OLSILJA6.js.map +0 -7
- package/dist/exports/client/chunk-TD7O23AB.js +0 -2
- package/dist/exports/client/chunk-TD7O23AB.js.map +0 -7
- package/dist/exports/client/chunk-YL453UOS.js +0 -2
- package/dist/exports/client/chunk-YL453UOS.js.map +0 -7
- package/dist/exports/client/chunk-YSI2QILQ.js +0 -2
- package/dist/exports/client/chunk-YSI2QILQ.js.map +0 -7
- package/dist/exports/client/component-2YLEVOFH.js +0 -2
- package/dist/exports/client/component-2YLEVOFH.js.map +0 -7
- package/dist/exports/client/component-7RAP75FW.js +0 -2
- package/dist/exports/client/component-7RAP75FW.js.map +0 -7
- package/dist/exports/client/component-LLWMZU6K.js +0 -2
- package/dist/exports/client/component-LLWMZU6K.js.map +0 -7
- package/dist/exports/client/componentInline-YSHGRL2J.js +0 -2
- package/dist/exports/client/componentInline-YSHGRL2J.js.map +0 -7
- package/dist/features/blocks/client/component/FormSavePlugin.d.ts +0 -11
- package/dist/features/blocks/client/component/FormSavePlugin.d.ts.map +0 -1
- package/dist/features/blocks/client/component/FormSavePlugin.js +0 -53
- package/dist/features/blocks/client/component/FormSavePlugin.js.map +0 -1
- package/dist/features/createClientComponent.d.ts +0 -7
- package/dist/features/createClientComponent.d.ts.map +0 -1
- package/dist/features/createClientComponent.js +0 -13
- package/dist/features/createClientComponent.js.map +0 -1
- package/dist/features/createFeaturePropComponent.d.ts +0 -6
- package/dist/features/createFeaturePropComponent.d.ts.map +0 -1
- package/dist/features/createFeaturePropComponent.js +0 -19
- package/dist/features/createFeaturePropComponent.js.map +0 -1
- package/dist/utilities/generateComponentMap.d.ts +0 -6
- package/dist/utilities/generateComponentMap.d.ts.map +0 -1
- package/dist/utilities/generateComponentMap.js +0 -99
- package/dist/utilities/generateComponentMap.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payloadcms/richtext-lexical",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "The officially supported Lexical richtext adapter for Payload",
|
|
5
5
|
"homepage": "https://payloadcms.com",
|
|
6
6
|
"repository": {
|
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
|
|
13
|
+
"maintainers": [
|
|
14
|
+
{
|
|
15
|
+
"name": "Payload",
|
|
16
|
+
"email": "info@payloadcms.com",
|
|
17
|
+
"url": "https://payloadcms.com"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
13
20
|
"sideEffects": false,
|
|
14
21
|
"type": "module",
|
|
15
22
|
"exports": {
|
|
@@ -23,15 +30,280 @@
|
|
|
23
30
|
"types": "./dist/exports/client/index.d.ts",
|
|
24
31
|
"default": "./dist/exports/client/index.js"
|
|
25
32
|
},
|
|
33
|
+
"./rsc": {
|
|
34
|
+
"import": "./dist/exports/server/rsc.js",
|
|
35
|
+
"types": "./dist/exports/server/rsc.d.ts",
|
|
36
|
+
"default": "./dist/exports/server/rsc.js"
|
|
37
|
+
},
|
|
26
38
|
"./migrate": {
|
|
27
39
|
"import": "./dist/exports/server/migrate.js",
|
|
28
40
|
"types": "./dist/exports/server/migrate.d.ts",
|
|
29
41
|
"default": "./dist/exports/server/migrate.js"
|
|
30
42
|
},
|
|
31
|
-
"./
|
|
32
|
-
"import": "./dist/
|
|
33
|
-
"types": "./dist/
|
|
34
|
-
"default": "./dist/
|
|
43
|
+
"./lexical": {
|
|
44
|
+
"import": "./dist/lexical-proxy/lexical.js",
|
|
45
|
+
"types": "./dist/lexical-proxy/lexical.d.ts",
|
|
46
|
+
"default": "./dist/lexical-proxy/lexical.js"
|
|
47
|
+
},
|
|
48
|
+
"./lexical/headless": {
|
|
49
|
+
"import": "./dist/lexical-proxy/@lexical-headless.js",
|
|
50
|
+
"types": "./dist/lexical-proxy/@lexical-headless.d.ts",
|
|
51
|
+
"default": "./dist/lexical-proxy/@lexical-headless.js"
|
|
52
|
+
},
|
|
53
|
+
"./lexical/link": {
|
|
54
|
+
"import": "./dist/lexical-proxy/@lexical-link.js",
|
|
55
|
+
"types": "./dist/lexical-proxy/@lexical-link.d.ts",
|
|
56
|
+
"default": "./dist/lexical-proxy/@lexical-link.js"
|
|
57
|
+
},
|
|
58
|
+
"./lexical/list": {
|
|
59
|
+
"import": "./dist/lexical-proxy/@lexical-list.js",
|
|
60
|
+
"types": "./dist/lexical-proxy/@lexical-list.d.ts",
|
|
61
|
+
"default": "./dist/lexical-proxy/@lexical-list.js"
|
|
62
|
+
},
|
|
63
|
+
"./lexical/mark": {
|
|
64
|
+
"import": "./dist/lexical-proxy/@lexical-mark.js",
|
|
65
|
+
"types": "./dist/lexical-proxy/@lexical-mark.d.ts",
|
|
66
|
+
"default": "./dist/lexical-proxy/@lexical-mark.js"
|
|
67
|
+
},
|
|
68
|
+
"./lexical/markdown": {
|
|
69
|
+
"import": "./dist/lexical-proxy/@lexical-markdown.js",
|
|
70
|
+
"types": "./dist/lexical-proxy/@lexical-markdown.d.ts",
|
|
71
|
+
"default": "./dist/lexical-proxy/@lexical-markdown.js"
|
|
72
|
+
},
|
|
73
|
+
"./lexical/rich-text": {
|
|
74
|
+
"import": "./dist/lexical-proxy/@lexical-rich-text.js",
|
|
75
|
+
"types": "./dist/lexical-proxy/@lexical-rich-text.d.ts",
|
|
76
|
+
"default": "./dist/lexical-proxy/@lexical-rich-text.js"
|
|
77
|
+
},
|
|
78
|
+
"./lexical/selection": {
|
|
79
|
+
"import": "./dist/lexical-proxy/@lexical-selection.js",
|
|
80
|
+
"types": "./dist/lexical-proxy/@lexical-selection.d.ts",
|
|
81
|
+
"default": "./dist/lexical-proxy/@lexical-selection.js"
|
|
82
|
+
},
|
|
83
|
+
"./lexical/utils": {
|
|
84
|
+
"import": "./dist/lexical-proxy/@lexical-utils.js",
|
|
85
|
+
"types": "./dist/lexical-proxy/@lexical-utils.d.ts",
|
|
86
|
+
"default": "./dist/lexical-proxy/@lexical-utils.js"
|
|
87
|
+
},
|
|
88
|
+
"./lexical/react/LexicalAutoEmbedPlugin": {
|
|
89
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalAutoEmbedPlugin.js",
|
|
90
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalAutoEmbedPlugin.d.ts",
|
|
91
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalAutoEmbedPlugin.js"
|
|
92
|
+
},
|
|
93
|
+
"./lexical/react/LexicalAutoFocusPlugin": {
|
|
94
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalAutoFocusPlugin.js",
|
|
95
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalAutoFocusPlugin.d.ts",
|
|
96
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalAutoFocusPlugin.js"
|
|
97
|
+
},
|
|
98
|
+
"./lexical/react/LexicalAutoLinkPlugin": {
|
|
99
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalAutoLinkPlugin.js",
|
|
100
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalAutoLinkPlugin.d.ts",
|
|
101
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalAutoLinkPlugin.js"
|
|
102
|
+
},
|
|
103
|
+
"./lexical/react/LexicalBlockWithAlignableContents": {
|
|
104
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalBlockWithAlignableContents.js",
|
|
105
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalBlockWithAlignableContents.d.ts",
|
|
106
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalBlockWithAlignableContents.js"
|
|
107
|
+
},
|
|
108
|
+
"./lexical/react/LexicalCharacterLimitPlugin": {
|
|
109
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalCharacterLimitPlugin.js",
|
|
110
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalCharacterLimitPlugin.d.ts",
|
|
111
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalCharacterLimitPlugin.js"
|
|
112
|
+
},
|
|
113
|
+
"./lexical/react/LexicalCheckListPlugin": {
|
|
114
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalCheckListPlugin.js",
|
|
115
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalCheckListPlugin.d.ts",
|
|
116
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalCheckListPlugin.js"
|
|
117
|
+
},
|
|
118
|
+
"./lexical/react/LexicalClearEditorPlugin": {
|
|
119
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalClearEditorPlugin.js",
|
|
120
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalClearEditorPlugin.d.ts",
|
|
121
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalClearEditorPlugin.js"
|
|
122
|
+
},
|
|
123
|
+
"./lexical/react/LexicalClickableLinkPlugin": {
|
|
124
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalClickableLinkPlugin.js",
|
|
125
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalClickableLinkPlugin.d.ts",
|
|
126
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalClickableLinkPlugin.js"
|
|
127
|
+
},
|
|
128
|
+
"./lexical/react/LexicalCollaborationContext": {
|
|
129
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalCollaborationContext.js",
|
|
130
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalCollaborationContext.d.ts",
|
|
131
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalCollaborationContext.js"
|
|
132
|
+
},
|
|
133
|
+
"./lexical/react/LexicalCollaborationPlugin": {
|
|
134
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalCollaborationPlugin.js",
|
|
135
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalCollaborationPlugin.d.ts",
|
|
136
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalCollaborationPlugin.js"
|
|
137
|
+
},
|
|
138
|
+
"./lexical/react/LexicalComposer": {
|
|
139
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalComposer.js",
|
|
140
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalComposer.d.ts",
|
|
141
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalComposer.js"
|
|
142
|
+
},
|
|
143
|
+
"./lexical/react/LexicalComposerContext": {
|
|
144
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalComposerContext.js",
|
|
145
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalComposerContext.d.ts",
|
|
146
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalComposerContext.js"
|
|
147
|
+
},
|
|
148
|
+
"./lexical/react/LexicalContentEditable": {
|
|
149
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalContentEditable.js",
|
|
150
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalContentEditable.d.ts",
|
|
151
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalContentEditable.js"
|
|
152
|
+
},
|
|
153
|
+
"./lexical/react/LexicalContextMenuPlugin": {
|
|
154
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.js",
|
|
155
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.d.ts",
|
|
156
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalContextMenuPlugin.js"
|
|
157
|
+
},
|
|
158
|
+
"./lexical/react/LexicalDecoratorBlockNode": {
|
|
159
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalDecoratorBlockNode.js",
|
|
160
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalDecoratorBlockNode.d.ts",
|
|
161
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalDecoratorBlockNode.js"
|
|
162
|
+
},
|
|
163
|
+
"./lexical/react/LexicalDraggableBlockPlugin": {
|
|
164
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalDraggableBlockPlugin.js",
|
|
165
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalDraggableBlockPlugin.d.ts",
|
|
166
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalDraggableBlockPlugin.js"
|
|
167
|
+
},
|
|
168
|
+
"./lexical/react/LexicalEditorRefPlugin": {
|
|
169
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalEditorRefPlugin.js",
|
|
170
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalEditorRefPlugin.d.ts",
|
|
171
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalEditorRefPlugin.js"
|
|
172
|
+
},
|
|
173
|
+
"./lexical/react/LexicalErrorBoundary": {
|
|
174
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalErrorBoundary.js",
|
|
175
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalErrorBoundary.d.ts",
|
|
176
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalErrorBoundary.js"
|
|
177
|
+
},
|
|
178
|
+
"./lexical/react/LexicalHashtagPlugin": {
|
|
179
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalHashtagPlugin.js",
|
|
180
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalHashtagPlugin.d.ts",
|
|
181
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalHashtagPlugin.js"
|
|
182
|
+
},
|
|
183
|
+
"./lexical/react/LexicalHistoryPlugin": {
|
|
184
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalHistoryPlugin.js",
|
|
185
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalHistoryPlugin.d.ts",
|
|
186
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalHistoryPlugin.js"
|
|
187
|
+
},
|
|
188
|
+
"./lexical/react/LexicalHorizontalRuleNode": {
|
|
189
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalHorizontalRuleNode.js",
|
|
190
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalHorizontalRuleNode.d.ts",
|
|
191
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalHorizontalRuleNode.js"
|
|
192
|
+
},
|
|
193
|
+
"./lexical/react/LexicalHorizontalRulePlugin": {
|
|
194
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalHorizontalRulePlugin.js",
|
|
195
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalHorizontalRulePlugin.d.ts",
|
|
196
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalHorizontalRulePlugin.js"
|
|
197
|
+
},
|
|
198
|
+
"./lexical/react/LexicalLinkPlugin": {
|
|
199
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalLinkPlugin.js",
|
|
200
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalLinkPlugin.d.ts",
|
|
201
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalLinkPlugin.js"
|
|
202
|
+
},
|
|
203
|
+
"./lexical/react/LexicalListPlugin": {
|
|
204
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalListPlugin.js",
|
|
205
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalListPlugin.d.ts",
|
|
206
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalListPlugin.js"
|
|
207
|
+
},
|
|
208
|
+
"./lexical/react/LexicalMarkdownShortcutPlugin": {
|
|
209
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalMarkdownShortcutPlugin.js",
|
|
210
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalMarkdownShortcutPlugin.d.ts",
|
|
211
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalMarkdownShortcutPlugin.js"
|
|
212
|
+
},
|
|
213
|
+
"./lexical/react/LexicalNestedComposer": {
|
|
214
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalNestedComposer.js",
|
|
215
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalNestedComposer.d.ts",
|
|
216
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalNestedComposer.js"
|
|
217
|
+
},
|
|
218
|
+
"./lexical/react/LexicalNodeEventPlugin": {
|
|
219
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalNodeEventPlugin.js",
|
|
220
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalNodeEventPlugin.d.ts",
|
|
221
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalNodeEventPlugin.js"
|
|
222
|
+
},
|
|
223
|
+
"./lexical/react/LexicalNodeMenuPlugin": {
|
|
224
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalNodeMenuPlugin.js",
|
|
225
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalNodeMenuPlugin.d.ts",
|
|
226
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalNodeMenuPlugin.js"
|
|
227
|
+
},
|
|
228
|
+
"./lexical/react/LexicalOnChangePlugin": {
|
|
229
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalOnChangePlugin.js",
|
|
230
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalOnChangePlugin.d.ts",
|
|
231
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalOnChangePlugin.js"
|
|
232
|
+
},
|
|
233
|
+
"./lexical/react/LexicalPlainTextPlugin": {
|
|
234
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalPlainTextPlugin.js",
|
|
235
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalPlainTextPlugin.d.ts",
|
|
236
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalPlainTextPlugin.js"
|
|
237
|
+
},
|
|
238
|
+
"./lexical/react/LexicalRichTextPlugin": {
|
|
239
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalRichTextPlugin.js",
|
|
240
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalRichTextPlugin.d.ts",
|
|
241
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalRichTextPlugin.js"
|
|
242
|
+
},
|
|
243
|
+
"./lexical/react/LexicalTabIndentationPlugin": {
|
|
244
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalTabIndentationPlugin.js",
|
|
245
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalTabIndentationPlugin.d.ts",
|
|
246
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalTabIndentationPlugin.js"
|
|
247
|
+
},
|
|
248
|
+
"./lexical/react/LexicalTableOfContents": {
|
|
249
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalTableOfContents.js",
|
|
250
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalTableOfContents.d.ts",
|
|
251
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalTableOfContents.js"
|
|
252
|
+
},
|
|
253
|
+
"./lexical/react/LexicalTableOfContentsPlugin": {
|
|
254
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalTableOfContentsPlugin.js",
|
|
255
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalTableOfContentsPlugin.d.ts",
|
|
256
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalTableOfContentsPlugin.js"
|
|
257
|
+
},
|
|
258
|
+
"./lexical/react/LexicalTablePlugin": {
|
|
259
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalTablePlugin.js",
|
|
260
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalTablePlugin.d.ts",
|
|
261
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalTablePlugin.js"
|
|
262
|
+
},
|
|
263
|
+
"./lexical/react/LexicalTreeView": {
|
|
264
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalTreeView.js",
|
|
265
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalTreeView.d.ts",
|
|
266
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalTreeView.js"
|
|
267
|
+
},
|
|
268
|
+
"./lexical/react/LexicalTypeaheadMenuPlugin": {
|
|
269
|
+
"import": "./dist/lexical-proxy/@lexical-react/LexicalTypeaheadMenuPlugin.js",
|
|
270
|
+
"types": "./dist/lexical-proxy/@lexical-react/LexicalTypeaheadMenuPlugin.d.ts",
|
|
271
|
+
"default": "./dist/lexical-proxy/@lexical-react/LexicalTypeaheadMenuPlugin.js"
|
|
272
|
+
},
|
|
273
|
+
"./lexical/react/useLexicalEditable": {
|
|
274
|
+
"import": "./dist/lexical-proxy/@lexical-react/useLexicalEditable.js",
|
|
275
|
+
"types": "./dist/lexical-proxy/@lexical-react/useLexicalEditable.d.ts",
|
|
276
|
+
"default": "./dist/lexical-proxy/@lexical-react/useLexicalEditable.js"
|
|
277
|
+
},
|
|
278
|
+
"./lexical/react/useLexicalIsTextContentEmpty": {
|
|
279
|
+
"import": "./dist/lexical-proxy/@lexical-react/useLexicalIsTextContentEmpty.js",
|
|
280
|
+
"types": "./dist/lexical-proxy/@lexical-react/useLexicalIsTextContentEmpty.d.ts",
|
|
281
|
+
"default": "./dist/lexical-proxy/@lexical-react/useLexicalIsTextContentEmpty.js"
|
|
282
|
+
},
|
|
283
|
+
"./lexical/react/useLexicalNodeSelection": {
|
|
284
|
+
"import": "./dist/lexical-proxy/@lexical-react/useLexicalNodeSelection.js",
|
|
285
|
+
"types": "./dist/lexical-proxy/@lexical-react/useLexicalNodeSelection.d.ts",
|
|
286
|
+
"default": "./dist/lexical-proxy/@lexical-react/useLexicalNodeSelection.js"
|
|
287
|
+
},
|
|
288
|
+
"./lexical/react/useLexicalSubscription": {
|
|
289
|
+
"import": "./dist/lexical-proxy/@lexical-react/useLexicalSubscription.js",
|
|
290
|
+
"types": "./dist/lexical-proxy/@lexical-react/useLexicalSubscription.d.ts",
|
|
291
|
+
"default": "./dist/lexical-proxy/@lexical-react/useLexicalSubscription.js"
|
|
292
|
+
},
|
|
293
|
+
"./lexical/react/useLexicalTextEntity": {
|
|
294
|
+
"import": "./dist/lexical-proxy/@lexical-react/useLexicalTextEntity.js",
|
|
295
|
+
"types": "./dist/lexical-proxy/@lexical-react/useLexicalTextEntity.d.ts",
|
|
296
|
+
"default": "./dist/lexical-proxy/@lexical-react/useLexicalTextEntity.js"
|
|
297
|
+
},
|
|
298
|
+
"./ast/mdx": {
|
|
299
|
+
"import": "./dist/exports/server/ast/mdx.js",
|
|
300
|
+
"types": "./dist/exports/server/ast/mdx.d.ts",
|
|
301
|
+
"default": "./dist/exports/server/ast/mdx.js"
|
|
302
|
+
},
|
|
303
|
+
"./shared": {
|
|
304
|
+
"import": "./dist/exports/shared.js",
|
|
305
|
+
"types": "./dist/exports/shared.d.ts",
|
|
306
|
+
"default": "./dist/exports/shared.js"
|
|
35
307
|
}
|
|
36
308
|
},
|
|
37
309
|
"main": "./dist/index.js",
|
|
@@ -39,22 +311,38 @@
|
|
|
39
311
|
"files": [
|
|
40
312
|
"dist"
|
|
41
313
|
],
|
|
314
|
+
"lint-staged": {
|
|
315
|
+
"**/package.json": "sort-package-json",
|
|
316
|
+
"*.{md,mdx,yml,json}": "prettier --write",
|
|
317
|
+
"*.{js,jsx,ts,tsx}": [
|
|
318
|
+
"prettier --write",
|
|
319
|
+
"eslint --cache --fix"
|
|
320
|
+
]
|
|
321
|
+
},
|
|
42
322
|
"dependencies": {
|
|
43
|
-
"@lexical/headless": "0.
|
|
44
|
-
"@lexical/link": "0.
|
|
45
|
-
"@lexical/list": "0.
|
|
46
|
-
"@lexical/mark": "0.
|
|
47
|
-
"@lexical/markdown": "0.
|
|
48
|
-
"@lexical/react": "0.
|
|
49
|
-
"@lexical/rich-text": "0.
|
|
50
|
-
"@lexical/selection": "0.
|
|
51
|
-
"@lexical/utils": "0.
|
|
323
|
+
"@lexical/headless": "0.20.0",
|
|
324
|
+
"@lexical/link": "0.20.0",
|
|
325
|
+
"@lexical/list": "0.20.0",
|
|
326
|
+
"@lexical/mark": "0.20.0",
|
|
327
|
+
"@lexical/markdown": "0.20.0",
|
|
328
|
+
"@lexical/react": "0.20.0",
|
|
329
|
+
"@lexical/rich-text": "0.20.0",
|
|
330
|
+
"@lexical/selection": "0.20.0",
|
|
331
|
+
"@lexical/utils": "0.20.0",
|
|
52
332
|
"@types/uuid": "10.0.0",
|
|
333
|
+
"acorn": "8.12.1",
|
|
53
334
|
"bson-objectid": "2.0.4",
|
|
54
335
|
"dequal": "2.0.3",
|
|
55
|
-
"
|
|
336
|
+
"escape-html": "1.0.3",
|
|
337
|
+
"lexical": "0.20.0",
|
|
338
|
+
"mdast-util-from-markdown": "2.0.2",
|
|
339
|
+
"mdast-util-mdx-jsx": "3.1.3",
|
|
340
|
+
"micromark-extension-mdx-jsx": "3.0.1",
|
|
56
341
|
"react-error-boundary": "4.0.13",
|
|
57
|
-
"
|
|
342
|
+
"ts-essentials": "10.0.3",
|
|
343
|
+
"uuid": "10.0.0",
|
|
344
|
+
"@payloadcms/translations": "3.0.0",
|
|
345
|
+
"@payloadcms/ui": "3.0.0"
|
|
58
346
|
},
|
|
59
347
|
"devDependencies": {
|
|
60
348
|
"@babel/cli": "^7.24.5",
|
|
@@ -62,43 +350,39 @@
|
|
|
62
350
|
"@babel/preset-env": "^7.24.5",
|
|
63
351
|
"@babel/preset-react": "^7.24.1",
|
|
64
352
|
"@babel/preset-typescript": "^7.24.1",
|
|
65
|
-
"@lexical/eslint-plugin": "0.
|
|
353
|
+
"@lexical/eslint-plugin": "0.20.0",
|
|
354
|
+
"@types/escape-html": "1.0.4",
|
|
66
355
|
"@types/json-schema": "7.0.15",
|
|
67
|
-
"@types/node": "
|
|
68
|
-
"@types/react": "npm:types-react@19.0.0-rc.
|
|
69
|
-
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.
|
|
70
|
-
"babel-plugin-react-compiler": "0.0.0-experimental-
|
|
356
|
+
"@types/node": "22.5.4",
|
|
357
|
+
"@types/react": "npm:types-react@19.0.0-rc.1",
|
|
358
|
+
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
|
|
359
|
+
"babel-plugin-react-compiler": "0.0.0-experimental-24ec0eb-20240918",
|
|
71
360
|
"babel-plugin-transform-remove-imports": "^1.8.0",
|
|
72
361
|
"esbuild": "0.23.1",
|
|
73
362
|
"esbuild-sass-plugin": "3.3.1",
|
|
74
|
-
"eslint-plugin-react-compiler": "
|
|
363
|
+
"eslint-plugin-react-compiler": "19.0.0-beta-a7bf2bd-20241110",
|
|
75
364
|
"swc-plugin-transform-remove-imports": "1.15.0",
|
|
76
|
-
"@payloadcms/eslint-config": "3.0.0-beta.
|
|
77
|
-
"
|
|
78
|
-
"@payloadcms/translations": "3.0.0-canary.ff8c8fd",
|
|
79
|
-
"@payloadcms/ui": "3.0.0-canary.ff8c8fd",
|
|
80
|
-
"payload": "3.0.0-canary.ff8c8fd"
|
|
365
|
+
"@payloadcms/eslint-config": "3.0.0-beta.112",
|
|
366
|
+
"payload": "3.0.0"
|
|
81
367
|
},
|
|
82
368
|
"peerDependencies": {
|
|
83
369
|
"@faceless-ui/modal": "3.0.0-beta.2",
|
|
84
370
|
"@faceless-ui/scroll-info": "2.0.0-beta.0",
|
|
85
|
-
"@lexical/headless": "0.
|
|
86
|
-
"@lexical/link": "0.
|
|
87
|
-
"@lexical/list": "0.
|
|
88
|
-
"@lexical/mark": "0.
|
|
89
|
-
"@lexical/markdown": "0.
|
|
90
|
-
"@lexical/react": "0.
|
|
91
|
-
"@lexical/rich-text": "0.
|
|
92
|
-
"@lexical/selection": "0.
|
|
93
|
-
"@lexical/table": "0.
|
|
94
|
-
"@lexical/utils": "0.
|
|
95
|
-
"lexical": "0.
|
|
96
|
-
"react": "^19.0.0 || ^19.0.0-rc-
|
|
97
|
-
"react-dom": "^19.0.0 || ^19.0.0-rc-
|
|
98
|
-
"@payloadcms/next": "3.0.0
|
|
99
|
-
"
|
|
100
|
-
"payload": "3.0.0-canary.ff8c8fd",
|
|
101
|
-
"@payloadcms/ui": "3.0.0-canary.ff8c8fd"
|
|
371
|
+
"@lexical/headless": "0.20.0",
|
|
372
|
+
"@lexical/link": "0.20.0",
|
|
373
|
+
"@lexical/list": "0.20.0",
|
|
374
|
+
"@lexical/mark": "0.20.0",
|
|
375
|
+
"@lexical/markdown": "0.20.0",
|
|
376
|
+
"@lexical/react": "0.20.0",
|
|
377
|
+
"@lexical/rich-text": "0.20.0",
|
|
378
|
+
"@lexical/selection": "0.20.0",
|
|
379
|
+
"@lexical/table": "0.20.0",
|
|
380
|
+
"@lexical/utils": "0.20.0",
|
|
381
|
+
"lexical": "0.20.0",
|
|
382
|
+
"react": "^19.0.0 || ^19.0.0-rc-65a56d0e-20241020",
|
|
383
|
+
"react-dom": "^19.0.0 || ^19.0.0-rc-65a56d0e-20241020",
|
|
384
|
+
"@payloadcms/next": "3.0.0",
|
|
385
|
+
"payload": "3.0.0"
|
|
102
386
|
},
|
|
103
387
|
"engines": {
|
|
104
388
|
"node": "^18.20.2 || >=20.9.0"
|
|
@@ -107,8 +391,8 @@
|
|
|
107
391
|
"registry": "https://registry.npmjs.org/"
|
|
108
392
|
},
|
|
109
393
|
"overrides": {
|
|
110
|
-
"@types/react": "npm:types-react@19.0.0-rc.
|
|
111
|
-
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.
|
|
394
|
+
"@types/react": "npm:types-react@19.0.0-rc.1",
|
|
395
|
+
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
|
|
112
396
|
},
|
|
113
397
|
"scripts": {
|
|
114
398
|
"build": "pnpm build:reactcompiler",
|
|
@@ -121,6 +405,8 @@
|
|
|
121
405
|
"build:without_reactcompiler": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm copyfiles && pnpm build:types && pnpm build:swc && pnpm build:esbuild && rm -rf dist/exports/client && mv dist/exports/client_unoptimized dist/exports/client",
|
|
122
406
|
"clean": "rimraf {dist,*.tsbuildinfo}",
|
|
123
407
|
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
408
|
+
"lint": "eslint .",
|
|
409
|
+
"lint:fix": "eslint . --fix",
|
|
124
410
|
"translateNewKeys": "node --no-deprecation --import @swc-node/register/esm-register scripts/translateNewKeys.ts"
|
|
125
411
|
}
|
|
126
412
|
}
|
package/dist/cell/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { EditorConfig as LexicalEditorConfig } from 'lexical';
|
|
2
|
-
import type { CellComponentProps, RichTextFieldClient } from 'payload';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import type { LexicalFieldAdminProps } from '../types.js';
|
|
5
|
-
export declare const RichTextCell: React.FC<{
|
|
6
|
-
readonly admin?: LexicalFieldAdminProps;
|
|
7
|
-
readonly lexicalEditorConfig: LexicalEditorConfig;
|
|
8
|
-
} & CellComponentProps<RichTextFieldClient>>;
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/cell/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cell/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKtE,OAAO,KAA8B,MAAM,OAAO,CAAA;AAIlD,OAAO,KAAK,EAAqC,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAO5F,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CACjC;IACE,QAAQ,CAAC,KAAK,CAAC,EAAE,sBAAsB,CAAA;IACvC,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAA;CAClD,GAAG,kBAAkB,CAAC,mBAAmB,CAAC,CA6K5C,CAAA"}
|
package/dist/cell/index.js
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { createHeadlessEditor } from '@lexical/headless';
|
|
5
|
-
import { useClientFunctions, useTableCell } from '@payloadcms/ui';
|
|
6
|
-
import { $getRoot } from 'lexical';
|
|
7
|
-
import React, { useEffect, useState } from 'react';
|
|
8
|
-
import { defaultEditorLexicalConfig } from '../lexical/config/client/default.js';
|
|
9
|
-
import { loadClientFeatures } from '../lexical/config/client/loader.js';
|
|
10
|
-
import { sanitizeClientEditorConfig } from '../lexical/config/client/sanitize.js';
|
|
11
|
-
import { getEnabledNodes } from '../lexical/nodes/index.js';
|
|
12
|
-
export const RichTextCell = props => {
|
|
13
|
-
const {
|
|
14
|
-
admin,
|
|
15
|
-
field: {
|
|
16
|
-
_schemaPath,
|
|
17
|
-
richTextComponentMap
|
|
18
|
-
},
|
|
19
|
-
lexicalEditorConfig
|
|
20
|
-
} = props;
|
|
21
|
-
const [preview, setPreview] = React.useState('Loading...');
|
|
22
|
-
const {
|
|
23
|
-
cellData
|
|
24
|
-
} = useTableCell();
|
|
25
|
-
const clientFunctions = useClientFunctions();
|
|
26
|
-
const [hasLoadedFeatures, setHasLoadedFeatures] = useState(false);
|
|
27
|
-
const [featureProviders, setFeatureProviders] = useState([]);
|
|
28
|
-
const [finalSanitizedEditorConfig, setFinalSanitizedEditorConfig] = useState(null);
|
|
29
|
-
const featureProviderComponents = richTextComponentMap.get('features').sort((a, b) => a.order - b.order) // order by order
|
|
30
|
-
;
|
|
31
|
-
let featureProvidersAndComponentsToLoad = 0 // feature providers and components
|
|
32
|
-
;
|
|
33
|
-
for (const featureProvider of featureProviderComponents) {
|
|
34
|
-
const featureComponentKeys = Array.from(richTextComponentMap.keys()).filter(key => key.startsWith(`feature.${featureProvider.key}.components.`));
|
|
35
|
-
featureProvidersAndComponentsToLoad += 1;
|
|
36
|
-
featureProvidersAndComponentsToLoad += featureComponentKeys.length;
|
|
37
|
-
}
|
|
38
|
-
useEffect(() => {
|
|
39
|
-
if (!hasLoadedFeatures) {
|
|
40
|
-
const featureProvidersLocal = [];
|
|
41
|
-
let featureProvidersAndComponentsLoaded = 0 // feature providers and components only
|
|
42
|
-
;
|
|
43
|
-
Object.entries(clientFunctions).forEach(([key_0, plugin]) => {
|
|
44
|
-
if (key_0.startsWith(`lexicalFeature.${_schemaPath}.`)) {
|
|
45
|
-
if (!key_0.includes('.lexical_internal_components.')) {
|
|
46
|
-
featureProvidersLocal.push(plugin);
|
|
47
|
-
}
|
|
48
|
-
featureProvidersAndComponentsLoaded++;
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
if (featureProvidersAndComponentsLoaded === featureProvidersAndComponentsToLoad) {
|
|
52
|
-
setFeatureProviders(featureProvidersLocal);
|
|
53
|
-
setHasLoadedFeatures(true);
|
|
54
|
-
/**
|
|
55
|
-
* Loaded feature provided => create the final sanitized editor config
|
|
56
|
-
*/
|
|
57
|
-
const resolvedClientFeatures = loadClientFeatures({
|
|
58
|
-
clientFunctions,
|
|
59
|
-
schemaPath: _schemaPath,
|
|
60
|
-
unSanitizedEditorConfig: {
|
|
61
|
-
features: featureProvidersLocal,
|
|
62
|
-
lexical: lexicalEditorConfig
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
setFinalSanitizedEditorConfig(sanitizeClientEditorConfig(lexicalEditorConfig ? lexicalEditorConfig : defaultEditorLexicalConfig, resolvedClientFeatures, admin));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}, [admin, featureProviderComponents, hasLoadedFeatures, clientFunctions, _schemaPath, featureProviderComponents.length, featureProviders, finalSanitizedEditorConfig, lexicalEditorConfig, richTextComponentMap, featureProvidersAndComponentsToLoad]);
|
|
69
|
-
useEffect(() => {
|
|
70
|
-
if (!hasLoadedFeatures) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
let dataToUse = cellData;
|
|
74
|
-
if (dataToUse == null || !hasLoadedFeatures || !finalSanitizedEditorConfig) {
|
|
75
|
-
setPreview('');
|
|
76
|
-
return;
|
|
77
|
-
}
|
|
78
|
-
// Transform data through load hooks
|
|
79
|
-
if (finalSanitizedEditorConfig?.features?.hooks?.load?.length) {
|
|
80
|
-
finalSanitizedEditorConfig.features.hooks.load.forEach(hook => {
|
|
81
|
-
dataToUse = hook({
|
|
82
|
-
incomingEditorState: dataToUse
|
|
83
|
-
});
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
if (!dataToUse || typeof dataToUse !== 'object') {
|
|
87
|
-
setPreview('');
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
// If data is from Slate and not Lexical
|
|
91
|
-
if (Array.isArray(dataToUse) && !('root' in dataToUse)) {
|
|
92
|
-
setPreview('');
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
// If data is from payload-plugin-lexical
|
|
96
|
-
if ('jsonContent' in dataToUse) {
|
|
97
|
-
setPreview('');
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
// initialize headless editor
|
|
101
|
-
const headlessEditor = createHeadlessEditor({
|
|
102
|
-
namespace: finalSanitizedEditorConfig.lexical.namespace,
|
|
103
|
-
nodes: getEnabledNodes({
|
|
104
|
-
editorConfig: finalSanitizedEditorConfig
|
|
105
|
-
}),
|
|
106
|
-
theme: finalSanitizedEditorConfig.lexical.theme
|
|
107
|
-
});
|
|
108
|
-
headlessEditor.setEditorState(headlessEditor.parseEditorState(dataToUse));
|
|
109
|
-
const textContent = headlessEditor.getEditorState().read(() => {
|
|
110
|
-
return $getRoot().getTextContent();
|
|
111
|
-
}) || '';
|
|
112
|
-
// Limiting the number of characters shown is done in a CSS rule
|
|
113
|
-
setPreview(textContent);
|
|
114
|
-
}, [cellData, lexicalEditorConfig, hasLoadedFeatures, finalSanitizedEditorConfig]);
|
|
115
|
-
if (!hasLoadedFeatures) {
|
|
116
|
-
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
117
|
-
children: Array.isArray(featureProviderComponents) && featureProviderComponents.map(featureProvider_0 => {
|
|
118
|
-
// get all components starting with key feature.${FeatureProvider.key}.components.{featureComponentKey}
|
|
119
|
-
const featureComponentKeys_0 = Array.from(richTextComponentMap.keys()).filter(key_1 => key_1.startsWith(`lexical_internal_feature.${featureProvider_0.key}.lexical_internal_components.`));
|
|
120
|
-
const featureComponents = featureComponentKeys_0.map(key_2 => {
|
|
121
|
-
return richTextComponentMap.get(key_2);
|
|
122
|
-
});
|
|
123
|
-
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
124
|
-
children: [featureComponents?.length ? featureComponents.map(FeatureComponent => {
|
|
125
|
-
return FeatureComponent;
|
|
126
|
-
}) : null, featureProvider_0.ClientFeature]
|
|
127
|
-
}, featureProvider_0.key);
|
|
128
|
-
})
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
return /*#__PURE__*/_jsx("span", {
|
|
132
|
-
children: preview
|
|
133
|
-
});
|
|
134
|
-
};
|
|
135
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cell/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["createHeadlessEditor","useClientFunctions","useTableCell","$getRoot","React","useEffect","useState","defaultEditorLexicalConfig","loadClientFeatures","sanitizeClientEditorConfig","getEnabledNodes","RichTextCell","props","admin","field","_schemaPath","richTextComponentMap","lexicalEditorConfig","preview","setPreview","cellData","clientFunctions","hasLoadedFeatures","setHasLoadedFeatures","featureProviders","setFeatureProviders","finalSanitizedEditorConfig","setFinalSanitizedEditorConfig","featureProviderComponents","get","sort","a","b","order","featureProvidersAndComponentsToLoad","featureProvider","featureComponentKeys","Array","from","keys","filter","key","startsWith","length","featureProvidersLocal","featureProvidersAndComponentsLoaded","Object","entries","forEach","plugin","includes","push","resolvedClientFeatures","schemaPath","unSanitizedEditorConfig","features","lexical","dataToUse","hooks","load","hook","incomingEditorState","isArray","headlessEditor","namespace","nodes","editorConfig","theme","setEditorState","parseEditorState","textContent","getEditorState","read","getTextContent","_jsx","Fragment","map","featureComponents","_jsxs","FeatureComponent","ClientFeature"],"sources":["../../src/cell/index.tsx"],"sourcesContent":["'use client'\nimport type { EditorConfig as LexicalEditorConfig } from 'lexical'\nimport type { CellComponentProps, RichTextFieldClient } from 'payload'\n\nimport { createHeadlessEditor } from '@lexical/headless'\nimport { useClientFunctions, useTableCell } from '@payloadcms/ui'\nimport { $getRoot } from 'lexical'\nimport React, { useEffect, useState } from 'react'\n\nimport type { FeatureProviderClient } from '../features/typesClient.js'\nimport type { SanitizedClientEditorConfig } from '../lexical/config/types.js'\nimport type { GeneratedFeatureProviderComponent, LexicalFieldAdminProps } from '../types.js'\n\nimport { defaultEditorLexicalConfig } from '../lexical/config/client/default.js'\nimport { loadClientFeatures } from '../lexical/config/client/loader.js'\nimport { sanitizeClientEditorConfig } from '../lexical/config/client/sanitize.js'\nimport { getEnabledNodes } from '../lexical/nodes/index.js'\n\nexport const RichTextCell: React.FC<\n {\n readonly admin?: LexicalFieldAdminProps\n readonly lexicalEditorConfig: LexicalEditorConfig\n } & CellComponentProps<RichTextFieldClient>\n> = (props) => {\n const {\n admin,\n field: { _schemaPath, richTextComponentMap },\n lexicalEditorConfig,\n } = props\n\n const [preview, setPreview] = React.useState('Loading...')\n\n const { cellData } = useTableCell()\n\n const clientFunctions = useClientFunctions()\n const [hasLoadedFeatures, setHasLoadedFeatures] = useState(false)\n\n const [featureProviders, setFeatureProviders] = useState<\n FeatureProviderClient<unknown, unknown>[]\n >([])\n\n const [finalSanitizedEditorConfig, setFinalSanitizedEditorConfig] =\n useState<SanitizedClientEditorConfig>(null)\n\n const featureProviderComponents: GeneratedFeatureProviderComponent[] = (\n richTextComponentMap.get('features') as GeneratedFeatureProviderComponent[]\n ).sort((a, b) => a.order - b.order) // order by order\n\n let featureProvidersAndComponentsToLoad = 0 // feature providers and components\n for (const featureProvider of featureProviderComponents) {\n const featureComponentKeys = Array.from(richTextComponentMap.keys()).filter((key) =>\n key.startsWith(`feature.${featureProvider.key}.components.`),\n )\n\n featureProvidersAndComponentsToLoad += 1\n featureProvidersAndComponentsToLoad += featureComponentKeys.length\n }\n\n useEffect(() => {\n if (!hasLoadedFeatures) {\n const featureProvidersLocal: FeatureProviderClient<unknown, unknown>[] = []\n let featureProvidersAndComponentsLoaded = 0 // feature providers and components only\n\n Object.entries(clientFunctions).forEach(([key, plugin]) => {\n if (key.startsWith(`lexicalFeature.${_schemaPath}.`)) {\n if (!key.includes('.lexical_internal_components.')) {\n featureProvidersLocal.push(plugin)\n }\n featureProvidersAndComponentsLoaded++\n }\n })\n\n if (featureProvidersAndComponentsLoaded === featureProvidersAndComponentsToLoad) {\n setFeatureProviders(featureProvidersLocal)\n setHasLoadedFeatures(true)\n\n /**\n * Loaded feature provided => create the final sanitized editor config\n */\n\n const resolvedClientFeatures = loadClientFeatures({\n clientFunctions,\n schemaPath: _schemaPath,\n unSanitizedEditorConfig: {\n features: featureProvidersLocal,\n lexical: lexicalEditorConfig,\n },\n })\n\n setFinalSanitizedEditorConfig(\n sanitizeClientEditorConfig(\n lexicalEditorConfig ? lexicalEditorConfig : defaultEditorLexicalConfig,\n resolvedClientFeatures,\n admin,\n ),\n )\n }\n }\n }, [\n admin,\n featureProviderComponents,\n hasLoadedFeatures,\n clientFunctions,\n _schemaPath,\n featureProviderComponents.length,\n featureProviders,\n finalSanitizedEditorConfig,\n lexicalEditorConfig,\n richTextComponentMap,\n featureProvidersAndComponentsToLoad,\n ])\n\n useEffect(() => {\n if (!hasLoadedFeatures) {\n return\n }\n let dataToUse = cellData\n if (dataToUse == null || !hasLoadedFeatures || !finalSanitizedEditorConfig) {\n setPreview('')\n return\n }\n\n // Transform data through load hooks\n if (finalSanitizedEditorConfig?.features?.hooks?.load?.length) {\n finalSanitizedEditorConfig.features.hooks.load.forEach((hook) => {\n dataToUse = hook({ incomingEditorState: dataToUse })\n })\n }\n\n if (!dataToUse || typeof dataToUse !== 'object') {\n setPreview('')\n return\n }\n\n // If data is from Slate and not Lexical\n if (Array.isArray(dataToUse) && !('root' in dataToUse)) {\n setPreview('')\n return\n }\n\n // If data is from payload-plugin-lexical\n if ('jsonContent' in dataToUse) {\n setPreview('')\n return\n }\n\n // initialize headless editor\n const headlessEditor = createHeadlessEditor({\n namespace: finalSanitizedEditorConfig.lexical.namespace,\n nodes: getEnabledNodes({ editorConfig: finalSanitizedEditorConfig }),\n theme: finalSanitizedEditorConfig.lexical.theme,\n })\n headlessEditor.setEditorState(headlessEditor.parseEditorState(dataToUse))\n\n const textContent =\n headlessEditor.getEditorState().read(() => {\n return $getRoot().getTextContent()\n }) || ''\n\n // Limiting the number of characters shown is done in a CSS rule\n setPreview(textContent)\n }, [cellData, lexicalEditorConfig, hasLoadedFeatures, finalSanitizedEditorConfig])\n\n if (!hasLoadedFeatures) {\n return (\n <React.Fragment>\n {Array.isArray(featureProviderComponents) &&\n featureProviderComponents.map((featureProvider) => {\n // get all components starting with key feature.${FeatureProvider.key}.components.{featureComponentKey}\n const featureComponentKeys = Array.from(richTextComponentMap.keys()).filter((key) =>\n key.startsWith(\n `lexical_internal_feature.${featureProvider.key}.lexical_internal_components.`,\n ),\n )\n\n const featureComponents: React.ReactNode[] = featureComponentKeys.map((key) => {\n return richTextComponentMap.get(key)\n }) as React.ReactNode[]\n\n return (\n <React.Fragment key={featureProvider.key}>\n {featureComponents?.length\n ? featureComponents.map((FeatureComponent) => {\n return FeatureComponent\n })\n : null}\n {featureProvider.ClientFeature}\n </React.Fragment>\n )\n })}\n </React.Fragment>\n )\n }\n\n return <span>{preview}</span>\n}\n"],"mappings":"AAAA;;;AAIA,SAASA,oBAAoB,QAAQ;AACrC,SAASC,kBAAkB,EAAEC,YAAY,QAAQ;AACjD,SAASC,QAAQ,QAAQ;AACzB,OAAOC,KAAA,IAASC,SAAS,EAAEC,QAAQ,QAAQ;AAM3C,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,kBAAkB,QAAQ;AACnC,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,eAAe,QAAQ;AAEhC,OAAO,MAAMC,YAAA,GAKRC,KAAA;EACH,MAAM;IACJC,KAAK;IACLC,KAAA,EAAO;MAAEC,WAAW;MAAEC;IAAoB,CAAE;IAC5CC;EAAmB,CACpB,GAAGL,KAAA;EAEJ,MAAM,CAACM,OAAA,EAASC,UAAA,CAAW,GAAGf,KAAA,CAAME,QAAQ,CAAC;EAE7C,MAAM;IAAEc;EAAQ,CAAE,GAAGlB,YAAA;EAErB,MAAMmB,eAAA,GAAkBpB,kBAAA;EACxB,MAAM,CAACqB,iBAAA,EAAmBC,oBAAA,CAAqB,GAAGjB,QAAA,CAAS;EAE3D,MAAM,CAACkB,gBAAA,EAAkBC,mBAAA,CAAoB,GAAGnB,QAAA,CAE9C,EAAE;EAEJ,MAAM,CAACoB,0BAAA,EAA4BC,6BAAA,CAA8B,GAC/DrB,QAAA,CAAsC;EAExC,MAAMsB,yBAAA,GAAiEZ,oBACrE,CAAqBa,GAAG,CAAC,YACzBC,IAAI,CAAC,CAACC,CAAA,EAAGC,CAAA,KAAMD,CAAA,CAAEE,KAAK,GAAGD,CAAA,CAAEC,KAAK,EAAE;EAAA;EAEpC,IAAIC,mCAAA,GAAsC,EAAE;EAAA;EAC5C,KAAK,MAAMC,eAAA,IAAmBP,yBAAA,EAA2B;IACvD,MAAMQ,oBAAA,GAAuBC,KAAA,CAAMC,IAAI,CAACtB,oBAAA,CAAqBuB,IAAI,IAAIC,MAAM,CAAEC,GAAA,IAC3EA,GAAA,CAAIC,UAAU,CAAC,WAAWP,eAAA,CAAgBM,GAAG,cAAc;IAG7DP,mCAAA,IAAuC;IACvCA,mCAAA,IAAuCE,oBAAA,CAAqBO,MAAM;EACpE;EAEAtC,SAAA,CAAU;IACR,IAAI,CAACiB,iBAAA,EAAmB;MACtB,MAAMsB,qBAAA,GAAmE,EAAE;MAC3E,IAAIC,mCAAA,GAAsC,EAAE;MAAA;MAE5CC,MAAA,CAAOC,OAAO,CAAC1B,eAAA,EAAiB2B,OAAO,CAAC,CAAC,CAACP,KAAA,EAAKQ,MAAA,CAAO;QACpD,IAAIR,KAAA,CAAIC,UAAU,CAAC,kBAAkB3B,WAAA,GAAc,GAAG;UACpD,IAAI,CAAC0B,KAAA,CAAIS,QAAQ,CAAC,kCAAkC;YAClDN,qBAAA,CAAsBO,IAAI,CAACF,MAAA;UAC7B;UACAJ,mCAAA;QACF;MACF;MAEA,IAAIA,mCAAA,KAAwCX,mCAAA,EAAqC;QAC/ET,mBAAA,CAAoBmB,qBAAA;QACpBrB,oBAAA,CAAqB;QAErB;;;QAIA,MAAM6B,sBAAA,GAAyB5C,kBAAA,CAAmB;UAChDa,eAAA;UACAgC,UAAA,EAAYtC,WAAA;UACZuC,uBAAA,EAAyB;YACvBC,QAAA,EAAUX,qBAAA;YACVY,OAAA,EAASvC;UACX;QACF;QAEAU,6BAAA,CACElB,0BAAA,CACEQ,mBAAA,GAAsBA,mBAAA,GAAsBV,0BAAA,EAC5C6C,sBAAA,EACAvC,KAAA;MAGN;IACF;EACF,GAAG,CACDA,KAAA,EACAe,yBAAA,EACAN,iBAAA,EACAD,eAAA,EACAN,WAAA,EACAa,yBAAA,CAA0Be,MAAM,EAChCnB,gBAAA,EACAE,0BAAA,EACAT,mBAAA,EACAD,oBAAA,EACAkB,mCAAA,CACD;EAED7B,SAAA,CAAU;IACR,IAAI,CAACiB,iBAAA,EAAmB;MACtB;IACF;IACA,IAAImC,SAAA,GAAYrC,QAAA;IAChB,IAAIqC,SAAA,IAAa,QAAQ,CAACnC,iBAAA,IAAqB,CAACI,0BAAA,EAA4B;MAC1EP,UAAA,CAAW;MACX;IACF;IAEA;IACA,IAAIO,0BAAA,EAA4B6B,QAAA,EAAUG,KAAA,EAAOC,IAAA,EAAMhB,MAAA,EAAQ;MAC7DjB,0BAAA,CAA2B6B,QAAQ,CAACG,KAAK,CAACC,IAAI,CAACX,OAAO,CAAEY,IAAA;QACtDH,SAAA,GAAYG,IAAA,CAAK;UAAEC,mBAAA,EAAqBJ;QAAU;MACpD;IACF;IAEA,IAAI,CAACA,SAAA,IAAa,OAAOA,SAAA,KAAc,UAAU;MAC/CtC,UAAA,CAAW;MACX;IACF;IAEA;IACA,IAAIkB,KAAA,CAAMyB,OAAO,CAACL,SAAA,KAAc,EAAE,UAAUA,SAAQ,GAAI;MACtDtC,UAAA,CAAW;MACX;IACF;IAEA;IACA,IAAI,iBAAiBsC,SAAA,EAAW;MAC9BtC,UAAA,CAAW;MACX;IACF;IAEA;IACA,MAAM4C,cAAA,GAAiB/D,oBAAA,CAAqB;MAC1CgE,SAAA,EAAWtC,0BAAA,CAA2B8B,OAAO,CAACQ,SAAS;MACvDC,KAAA,EAAOvD,eAAA,CAAgB;QAAEwD,YAAA,EAAcxC;MAA2B;MAClEyC,KAAA,EAAOzC,0BAAA,CAA2B8B,OAAO,CAACW;IAC5C;IACAJ,cAAA,CAAeK,cAAc,CAACL,cAAA,CAAeM,gBAAgB,CAACZ,SAAA;IAE9D,MAAMa,WAAA,GACJP,cAAA,CAAeQ,cAAc,GAAGC,IAAI,CAAC;MACnC,OAAOrE,QAAA,GAAWsE,cAAc;IAClC,MAAM;IAER;IACAtD,UAAA,CAAWmD,WAAA;EACb,GAAG,CAAClD,QAAA,EAAUH,mBAAA,EAAqBK,iBAAA,EAAmBI,0BAAA,CAA2B;EAEjF,IAAI,CAACJ,iBAAA,EAAmB;IACtB,oBACEoD,IAAA,CAACtE,KAAA,CAAMuE,QAAQ;gBACZtC,KAAA,CAAMyB,OAAO,CAAClC,yBAAA,KACbA,yBAAA,CAA0BgD,GAAG,CAAEzC,iBAAA;QAC7B;QACA,MAAMC,sBAAA,GAAuBC,KAAA,CAAMC,IAAI,CAACtB,oBAAA,CAAqBuB,IAAI,IAAIC,MAAM,CAAEC,KAAA,IAC3EA,KAAA,CAAIC,UAAU,CACZ,4BAA4BP,iBAAA,CAAgBM,GAAG,+BAA+B;QAIlF,MAAMoC,iBAAA,GAAuCzC,sBAAA,CAAqBwC,GAAG,CAAEnC,KAAA;UACrE,OAAOzB,oBAAA,CAAqBa,GAAG,CAACY,KAAA;QAClC;QAEA,oBACEqC,KAAA,CAAC1E,KAAA,CAAMuE,QAAQ;qBACZE,iBAAA,EAAmBlC,MAAA,GAChBkC,iBAAA,CAAkBD,GAAG,CAAEG,gBAAA;YACrB,OAAOA,gBAAA;UACT,KACA,MACH5C,iBAAA,CAAgB6C,aAAa;WANX7C,iBAAA,CAAgBM,GAAG;MAS5C;;EAGR;EAEA,oBAAOiC,IAAA,CAAC;cAAMxD;;AAChB","ignoreList":[]}
|