@payloadcms/richtext-lexical 3.0.0-beta.12 → 3.0.0-beta.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cell/index.d.ts +6 -3
- package/dist/cell/index.d.ts.map +1 -1
- package/dist/cell/index.js +115 -126
- package/dist/cell/index.js.map +1 -1
- package/dist/exports/client/Component-DOSSWC76.js +2 -0
- package/dist/exports/client/Component-DOSSWC76.js.map +7 -0
- package/dist/exports/client/Component-MBLHTKDK.js +2 -0
- package/dist/exports/client/Component-MBLHTKDK.js.map +7 -0
- package/dist/exports/client/Field-Y47DV2NP.js +2 -0
- package/dist/exports/client/Field-Y47DV2NP.js.map +7 -0
- package/dist/exports/client/RelationshipComponent-LBWKOBGF.js +2 -0
- package/dist/exports/client/RelationshipComponent-LBWKOBGF.js.map +7 -0
- package/dist/exports/client/bundled.css +1 -0
- package/dist/exports/client/chunk-32KXGBIQ.js +2 -0
- package/dist/exports/client/chunk-32KXGBIQ.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-7SR2HYD6.js +2 -0
- package/dist/exports/client/chunk-7SR2HYD6.js.map +7 -0
- package/dist/exports/client/chunk-GD6LBQBJ.js +2 -0
- package/dist/exports/client/chunk-GD6LBQBJ.js.map +7 -0
- package/dist/exports/client/chunk-IIWHHN4J.js +2 -0
- package/dist/exports/client/chunk-IIWHHN4J.js.map +7 -0
- package/dist/exports/client/chunk-NEO76RJK.js +2 -0
- package/dist/exports/client/chunk-NEO76RJK.js.map +7 -0
- package/dist/exports/client/chunk-XCEM47RI.js +3 -0
- package/dist/exports/client/chunk-XCEM47RI.js.map +7 -0
- package/dist/exports/client/chunk-XY4TCSM7.js +2 -0
- package/dist/exports/client/chunk-XY4TCSM7.js.map +7 -0
- package/dist/exports/client/component-4TP4L5EV.js +2 -0
- package/dist/exports/client/component-4TP4L5EV.js.map +7 -0
- package/dist/exports/client/component-ANB7VZLA.js +2 -0
- package/dist/exports/client/component-ANB7VZLA.js.map +7 -0
- package/dist/exports/client/component-XMR5NN36.js +2 -0
- package/dist/exports/client/component-XMR5NN36.js.map +7 -0
- package/dist/exports/client/componentInline-NUDJIIQ4.js +2 -0
- package/dist/exports/client/componentInline-NUDJIIQ4.js.map +7 -0
- package/dist/exports/client/index.d.ts +62 -0
- package/dist/exports/client/index.d.ts.map +1 -0
- package/dist/exports/client/index.js +38 -0
- package/dist/exports/client/index.js.map +7 -0
- package/dist/exports/server/migrate.d.ts +16 -0
- package/dist/exports/server/migrate.d.ts.map +1 -0
- package/dist/exports/server/migrate.js +16 -0
- package/dist/exports/server/migrate.js.map +1 -0
- package/dist/features/align/client/index.d.ts +2 -0
- package/dist/features/align/client/index.d.ts.map +1 -0
- package/dist/features/align/client/index.js +163 -0
- package/dist/features/align/client/index.js.map +1 -0
- package/dist/features/align/client/toolbarAlignGroup.d.ts +3 -0
- package/dist/features/align/client/toolbarAlignGroup.d.ts.map +1 -0
- package/dist/features/align/client/toolbarAlignGroup.js +13 -0
- package/dist/features/align/client/toolbarAlignGroup.js.map +1 -0
- package/dist/features/align/server/i18n.d.ts +3 -0
- package/dist/features/align/server/i18n.d.ts.map +1 -0
- package/dist/features/align/server/i18n.js +195 -0
- package/dist/features/align/server/i18n.js.map +1 -0
- package/dist/features/align/server/index.d.ts +2 -0
- package/dist/features/align/server/index.d.ts.map +1 -0
- package/dist/features/align/server/index.js +10 -0
- package/dist/features/align/server/index.js.map +1 -0
- package/dist/features/blockquote/client/index.d.ts +2 -0
- package/dist/features/blockquote/client/index.d.ts.map +1 -0
- package/dist/features/blockquote/client/index.js +72 -0
- package/dist/features/blockquote/client/index.js.map +1 -0
- package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
- package/dist/features/blockquote/markdownTransformer.js +34 -0
- package/dist/features/blockquote/markdownTransformer.js.map +1 -0
- package/dist/features/blockquote/server/i18n.d.ts +3 -0
- package/dist/features/blockquote/server/i18n.d.ts.map +1 -0
- package/dist/features/blockquote/server/i18n.js +99 -0
- package/dist/features/blockquote/server/i18n.js.map +1 -0
- package/dist/features/blockquote/server/index.d.ts +7 -0
- package/dist/features/blockquote/server/index.d.ts.map +1 -0
- package/dist/features/blockquote/server/index.js +51 -0
- package/dist/features/blockquote/server/index.js.map +1 -0
- package/dist/features/blocks/client/component/BlockContent.d.ts +22 -0
- package/dist/features/blocks/client/component/BlockContent.d.ts.map +1 -0
- package/dist/features/blocks/client/component/BlockContent.js +192 -0
- package/dist/features/blocks/client/component/BlockContent.js.map +1 -0
- package/dist/features/blocks/client/component/FormSavePlugin.d.ts +11 -0
- package/dist/features/blocks/client/component/FormSavePlugin.d.ts.map +1 -0
- package/dist/features/blocks/client/component/FormSavePlugin.js +53 -0
- package/dist/features/blocks/client/component/FormSavePlugin.js.map +1 -0
- package/dist/features/blocks/client/component/index.d.ts +11 -0
- package/dist/features/blocks/client/component/index.d.ts.map +1 -0
- package/dist/features/blocks/client/component/index.js +149 -0
- package/dist/features/blocks/client/component/index.js.map +1 -0
- package/dist/features/blocks/client/component/removeEmptyArrayValues.d.ts +11 -0
- package/dist/features/blocks/client/component/removeEmptyArrayValues.d.ts.map +1 -0
- package/dist/features/blocks/client/component/removeEmptyArrayValues.js +20 -0
- package/dist/features/blocks/client/component/removeEmptyArrayValues.js.map +1 -0
- package/dist/features/blocks/client/componentInline/index.d.ts +10 -0
- package/dist/features/blocks/client/componentInline/index.d.ts.map +1 -0
- package/dist/features/blocks/client/componentInline/index.js +125 -0
- package/dist/features/blocks/client/componentInline/index.js.map +1 -0
- package/dist/features/blocks/client/index.d.ts +6 -0
- package/dist/features/blocks/client/index.d.ts.map +1 -0
- package/dist/features/blocks/client/index.js +169 -0
- package/dist/features/blocks/client/index.js.map +1 -0
- package/dist/features/blocks/client/nodes/BlocksNode.d.ts +14 -0
- package/dist/features/blocks/client/nodes/BlocksNode.d.ts.map +1 -0
- package/dist/features/blocks/client/nodes/BlocksNode.js +53 -0
- package/dist/features/blocks/client/nodes/BlocksNode.js.map +1 -0
- package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts +25 -0
- package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts.map +1 -0
- package/dist/features/blocks/client/nodes/InlineBlocksNode.js +42 -0
- package/dist/features/blocks/client/nodes/InlineBlocksNode.js.map +1 -0
- package/dist/features/blocks/client/plugin/commands.d.ts +9 -0
- package/dist/features/blocks/client/plugin/commands.d.ts.map +1 -0
- package/dist/features/blocks/client/plugin/commands.js +7 -0
- package/dist/features/blocks/client/plugin/commands.js.map +1 -0
- package/dist/features/blocks/client/plugin/index.d.ts +6 -0
- package/dist/features/blocks/client/plugin/index.d.ts.map +1 -0
- package/dist/features/blocks/client/plugin/index.js +197 -0
- package/dist/features/blocks/client/plugin/index.js.map +1 -0
- package/dist/features/blocks/server/graphQLPopulationPromise.d.ts +6 -0
- package/dist/features/blocks/server/graphQLPopulationPromise.d.ts.map +1 -0
- package/dist/features/blocks/server/graphQLPopulationPromise.js +44 -0
- package/dist/features/blocks/server/graphQLPopulationPromise.js.map +1 -0
- package/dist/features/blocks/server/i18n.d.ts +3 -0
- package/dist/features/blocks/server/i18n.d.ts.map +1 -0
- package/dist/features/blocks/server/i18n.js +291 -0
- package/dist/features/blocks/server/i18n.js.map +1 -0
- package/dist/features/blocks/server/index.d.ts +8 -0
- package/dist/features/blocks/server/index.d.ts.map +1 -0
- package/dist/features/blocks/server/index.js +164 -0
- package/dist/features/blocks/server/index.js.map +1 -0
- package/dist/features/blocks/server/nodes/BlocksNode.d.ts +44 -0
- package/dist/features/blocks/server/nodes/BlocksNode.d.ts.map +1 -0
- package/dist/features/blocks/server/nodes/BlocksNode.js +87 -0
- package/dist/features/blocks/server/nodes/BlocksNode.js.map +1 -0
- package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts +40 -0
- package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts.map +1 -0
- package/dist/features/blocks/server/nodes/InlineBlocksNode.js +88 -0
- package/dist/features/blocks/server/nodes/InlineBlocksNode.js.map +1 -0
- package/dist/features/blocks/server/validate.d.ts +6 -0
- package/dist/features/blocks/server/validate.d.ts.map +1 -0
- package/dist/features/blocks/server/validate.js +48 -0
- package/dist/features/blocks/server/validate.js.map +1 -0
- package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
- package/dist/features/converters/html/converter/converters/linebreak.js +7 -0
- package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
- package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
- package/dist/features/converters/html/converter/converters/paragraph.js +32 -0
- package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
- package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
- package/dist/features/converters/html/converter/converters/text.js +33 -0
- package/dist/features/converters/html/converter/converters/text.js.map +1 -0
- package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
- package/dist/features/converters/html/converter/defaultConverters.js +5 -0
- package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
- package/dist/features/converters/html/converter/index.d.ts +52 -0
- package/dist/features/converters/html/converter/index.d.ts.map +1 -0
- package/dist/features/converters/html/converter/index.js +88 -0
- package/dist/features/converters/html/converter/index.js.map +1 -0
- package/dist/features/converters/html/converter/types.d.ts +24 -0
- package/dist/features/converters/html/converter/types.d.ts.map +1 -0
- package/dist/features/converters/html/converter/types.js +2 -0
- package/dist/features/converters/html/converter/types.js.map +1 -0
- package/dist/features/converters/html/field/index.d.ts +35 -0
- package/dist/features/converters/html/field/index.d.ts.map +1 -0
- package/dist/features/converters/html/field/index.js +158 -0
- package/dist/features/converters/html/field/index.js.map +1 -0
- package/dist/features/converters/html/index.d.ts +8 -0
- package/dist/features/converters/html/index.d.ts.map +1 -0
- package/dist/features/converters/html/index.js +7 -0
- package/dist/features/converters/html/index.js.map +1 -0
- package/dist/features/debug/testRecorder/client/index.d.ts +2 -0
- package/dist/features/debug/testRecorder/client/index.d.ts.map +1 -0
- package/dist/features/debug/testRecorder/client/index.js +11 -0
- package/dist/features/debug/testRecorder/client/index.js.map +1 -0
- package/dist/features/debug/testRecorder/client/plugin/index.d.ts +5 -0
- package/dist/features/debug/testRecorder/client/plugin/index.d.ts.map +1 -0
- package/dist/features/debug/testRecorder/client/plugin/index.js +411 -0
- package/dist/features/debug/testRecorder/client/plugin/index.js.map +1 -0
- package/dist/features/debug/testRecorder/server/index.d.ts +2 -0
- package/dist/features/debug/testRecorder/server/index.d.ts.map +1 -0
- package/dist/features/debug/testRecorder/server/index.js +8 -0
- package/dist/features/debug/testRecorder/server/index.js.map +1 -0
- package/dist/features/debug/treeView/client/index.d.ts +2 -0
- package/dist/features/debug/treeView/client/index.d.ts.map +1 -0
- package/dist/features/debug/treeView/client/index.js +11 -0
- package/dist/features/debug/treeView/client/index.js.map +1 -0
- package/dist/features/debug/treeView/client/plugin/index.d.ts +4 -0
- package/dist/features/debug/treeView/client/plugin/index.d.ts.map +1 -0
- package/dist/features/debug/treeView/client/plugin/index.js +29 -0
- package/dist/features/debug/treeView/client/plugin/index.js.map +1 -0
- package/dist/features/debug/treeView/server/index.d.ts +2 -0
- package/dist/features/debug/treeView/server/index.d.ts.map +1 -0
- package/dist/features/debug/treeView/server/index.js +8 -0
- package/dist/features/debug/treeView/server/index.js.map +1 -0
- package/dist/features/experimental_table/client/index.d.ts +2 -0
- package/dist/features/experimental_table/client/index.d.ts.map +1 -0
- package/dist/features/experimental_table/client/index.js +54 -0
- package/dist/features/experimental_table/client/index.js.map +1 -0
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts +4 -0
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts.map +1 -0
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js +509 -0
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js.map +1 -0
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts +3 -0
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts.map +1 -0
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js +308 -0
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js.map +1 -0
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts +5 -0
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.d.ts.map +1 -0
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js +186 -0
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js.map +1 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts +24 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts.map +1 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.js +146 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.js.map +1 -0
- package/dist/features/experimental_table/client/utils/debounce.d.ts +61 -0
- package/dist/features/experimental_table/client/utils/debounce.d.ts.map +1 -0
- package/dist/features/experimental_table/client/utils/debounce.js +221 -0
- package/dist/features/experimental_table/client/utils/debounce.js.map +1 -0
- package/dist/features/experimental_table/client/utils/useDebounce.d.ts +6 -0
- package/dist/features/experimental_table/client/utils/useDebounce.d.ts.map +1 -0
- package/dist/features/experimental_table/client/utils/useDebounce.js +16 -0
- package/dist/features/experimental_table/client/utils/useDebounce.js.map +1 -0
- package/dist/features/experimental_table/server/index.d.ts +13 -0
- package/dist/features/experimental_table/server/index.d.ts.map +1 -0
- package/dist/features/experimental_table/server/index.js +150 -0
- package/dist/features/experimental_table/server/index.js.map +1 -0
- package/dist/features/format/bold/feature.client.d.ts +2 -0
- package/dist/features/format/bold/feature.client.d.ts.map +1 -0
- package/dist/features/format/bold/feature.client.js +43 -0
- package/dist/features/format/bold/feature.client.js.map +1 -0
- package/dist/features/format/bold/feature.server.d.ts +2 -0
- package/dist/features/format/bold/feature.server.d.ts.map +1 -0
- package/dist/features/format/bold/feature.server.js +19 -0
- package/dist/features/format/bold/feature.server.js.map +1 -0
- package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
- package/dist/features/format/bold/markdownTransformers.js +23 -0
- package/dist/features/format/bold/markdownTransformers.js.map +1 -0
- package/dist/features/format/inlineCode/feature.client.d.ts +2 -0
- package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
- package/dist/features/format/inlineCode/feature.client.js +35 -0
- package/dist/features/format/inlineCode/feature.client.js.map +1 -0
- package/dist/features/format/inlineCode/feature.server.d.ts +2 -0
- package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
- package/dist/features/format/inlineCode/feature.server.js +10 -0
- package/dist/features/format/inlineCode/feature.server.js.map +1 -0
- package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
- package/dist/features/format/inlineCode/markdownTransformers.js +6 -0
- package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
- package/dist/features/format/italic/feature.client.d.ts +2 -0
- package/dist/features/format/italic/feature.client.d.ts.map +1 -0
- package/dist/features/format/italic/feature.client.js +35 -0
- package/dist/features/format/italic/feature.client.js.map +1 -0
- package/dist/features/format/italic/feature.server.d.ts +2 -0
- package/dist/features/format/italic/feature.server.d.ts.map +1 -0
- package/dist/features/format/italic/feature.server.js +10 -0
- package/dist/features/format/italic/feature.server.js.map +1 -0
- package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
- package/dist/features/format/italic/markdownTransformers.js +12 -0
- package/dist/features/format/italic/markdownTransformers.js.map +1 -0
- package/dist/features/format/shared/toolbarFormatGroup.d.ts +3 -0
- package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
- package/dist/features/format/shared/toolbarFormatGroup.js +11 -0
- package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
- package/dist/features/format/strikethrough/feature.client.d.ts +2 -0
- package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
- package/dist/features/format/strikethrough/feature.client.js +35 -0
- package/dist/features/format/strikethrough/feature.client.js.map +1 -0
- package/dist/features/format/strikethrough/feature.server.d.ts +2 -0
- package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
- package/dist/features/format/strikethrough/feature.server.js +10 -0
- package/dist/features/format/strikethrough/feature.server.js.map +1 -0
- package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
- package/dist/features/format/strikethrough/markdownTransformers.js +6 -0
- package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
- package/dist/features/format/subscript/feature.client.d.ts +2 -0
- package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
- package/dist/features/format/subscript/feature.client.js +33 -0
- package/dist/features/format/subscript/feature.client.js.map +1 -0
- package/dist/features/format/subscript/feature.server.d.ts +2 -0
- package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
- package/dist/features/format/subscript/feature.server.js +8 -0
- package/dist/features/format/subscript/feature.server.js.map +1 -0
- package/dist/features/format/superscript/feature.client.d.ts +2 -0
- package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
- package/dist/features/format/superscript/feature.client.js +33 -0
- package/dist/features/format/superscript/feature.client.js.map +1 -0
- package/dist/features/format/superscript/feature.server.d.ts +2 -0
- package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
- package/dist/features/format/superscript/feature.server.js +8 -0
- package/dist/features/format/superscript/feature.server.js.map +1 -0
- package/dist/features/format/underline/feature.client.d.ts +2 -0
- package/dist/features/format/underline/feature.client.d.ts.map +1 -0
- package/dist/features/format/underline/feature.client.js +33 -0
- package/dist/features/format/underline/feature.client.js.map +1 -0
- package/dist/features/format/underline/feature.server.d.ts +2 -0
- package/dist/features/format/underline/feature.server.d.ts.map +1 -0
- package/dist/features/format/underline/feature.server.js +8 -0
- package/dist/features/format/underline/feature.server.js.map +1 -0
- package/dist/features/heading/client/index.d.ts +3 -0
- package/dist/features/heading/client/index.d.ts.map +1 -0
- package/dist/features/heading/client/index.js +108 -0
- package/dist/features/heading/client/index.js.map +1 -0
- package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
- package/dist/features/heading/markdownTransformer.js +26 -0
- package/dist/features/heading/markdownTransformer.js.map +1 -0
- package/dist/features/heading/server/i18n.d.ts +3 -0
- package/dist/features/heading/server/i18n.d.ts.map +1 -0
- package/dist/features/heading/server/i18n.js +99 -0
- package/dist/features/heading/server/i18n.js.map +1 -0
- package/dist/features/heading/server/index.d.ts +10 -0
- package/dist/features/heading/server/index.d.ts.map +1 -0
- package/dist/features/heading/server/index.js +62 -0
- package/dist/features/heading/server/index.js.map +1 -0
- package/dist/features/horizontalRule/client/component/index.d.ts +10 -0
- package/dist/features/horizontalRule/client/component/index.d.ts.map +1 -0
- package/dist/features/horizontalRule/client/component/index.js +100 -0
- package/dist/features/horizontalRule/client/component/index.js.map +1 -0
- package/dist/features/horizontalRule/client/index.d.ts +2 -0
- package/dist/features/horizontalRule/client/index.d.ts.map +1 -0
- package/dist/features/horizontalRule/client/index.js +62 -0
- package/dist/features/horizontalRule/client/index.js.map +1 -0
- package/dist/features/horizontalRule/client/markdownTransformer.d.ts.map +1 -0
- package/dist/features/horizontalRule/client/markdownTransformer.js +20 -0
- package/dist/features/horizontalRule/client/markdownTransformer.js.map +1 -0
- package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts +20 -0
- package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.d.ts.map +1 -0
- package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js +46 -0
- package/dist/features/horizontalRule/client/nodes/HorizontalRuleNode.js.map +1 -0
- package/dist/features/horizontalRule/client/plugin/index.d.ts +7 -0
- package/dist/features/horizontalRule/client/plugin/index.d.ts.map +1 -0
- package/dist/features/horizontalRule/client/plugin/index.js +42 -0
- package/dist/features/horizontalRule/client/plugin/index.js.map +1 -0
- package/dist/features/horizontalRule/server/i18n.d.ts +3 -0
- package/dist/features/horizontalRule/server/i18n.d.ts.map +1 -0
- package/dist/features/horizontalRule/server/i18n.js +99 -0
- package/dist/features/horizontalRule/server/i18n.js.map +1 -0
- package/dist/features/horizontalRule/server/index.d.ts +2 -0
- package/dist/features/horizontalRule/server/index.d.ts.map +1 -0
- package/dist/features/horizontalRule/server/index.js +25 -0
- package/dist/features/horizontalRule/server/index.js.map +1 -0
- package/dist/features/horizontalRule/server/markdownTransformer.d.ts +3 -0
- package/dist/features/horizontalRule/server/markdownTransformer.d.ts.map +1 -0
- package/dist/features/horizontalRule/server/markdownTransformer.js +20 -0
- package/dist/features/horizontalRule/server/markdownTransformer.js.map +1 -0
- package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts +53 -0
- package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.d.ts.map +1 -0
- package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js +88 -0
- package/dist/features/horizontalRule/server/nodes/HorizontalRuleNode.js.map +1 -0
- package/dist/features/indent/client/index.d.ts +2 -0
- package/dist/features/indent/client/index.d.ts.map +1 -0
- package/dist/features/indent/client/index.js +62 -0
- package/dist/features/indent/client/index.js.map +1 -0
- package/dist/features/indent/client/toolbarIndentGroup.d.ts +3 -0
- package/dist/features/indent/client/toolbarIndentGroup.d.ts.map +1 -0
- package/dist/features/indent/client/toolbarIndentGroup.js +11 -0
- package/dist/features/indent/client/toolbarIndentGroup.js.map +1 -0
- package/dist/features/indent/server/i18n.d.ts +3 -0
- package/dist/features/indent/server/i18n.d.ts.map +1 -0
- package/dist/features/indent/server/i18n.js +131 -0
- package/dist/features/indent/server/i18n.js.map +1 -0
- package/dist/features/indent/server/index.d.ts +2 -0
- package/dist/features/indent/server/index.d.ts.map +1 -0
- package/dist/features/indent/server/index.js +10 -0
- package/dist/features/indent/server/index.js.map +1 -0
- package/dist/features/link/client/index.d.ts +4 -0
- package/dist/features/link/client/index.d.ts.map +1 -0
- package/dist/features/link/client/index.js +96 -0
- package/dist/features/link/client/index.js.map +1 -0
- package/dist/features/link/client/plugins/autoLink/index.d.ts +20 -0
- package/dist/features/link/client/plugins/autoLink/index.d.ts.map +1 -0
- package/dist/features/link/client/plugins/autoLink/index.js +333 -0
- package/dist/features/link/client/plugins/autoLink/index.js.map +1 -0
- package/dist/features/link/client/plugins/clickableLink/index.d.ts +4 -0
- package/dist/features/link/client/plugins/clickableLink/index.d.ts.map +1 -0
- package/dist/features/link/client/plugins/clickableLink/index.js +9 -0
- package/dist/features/link/client/plugins/clickableLink/index.js.map +1 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.js +5 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js +274 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts +5 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts.map +1 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/index.js +15 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/index.js.map +1 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts +15 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/types.d.ts.map +1 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/types.js +5 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/types.js.map +1 -0
- package/dist/features/link/client/plugins/link/index.d.ts +4 -0
- package/dist/features/link/client/plugins/link/index.d.ts.map +1 -0
- package/dist/features/link/client/plugins/link/index.js +60 -0
- package/dist/features/link/client/plugins/link/index.js.map +1 -0
- package/dist/features/link/markdownTransformer.d.ts +6 -0
- package/dist/features/link/markdownTransformer.d.ts.map +1 -0
- package/dist/features/link/markdownTransformer.js +49 -0
- package/dist/features/link/markdownTransformer.js.map +1 -0
- package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
- package/dist/features/link/nodes/AutoLinkNode.js +69 -0
- package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
- package/dist/features/link/nodes/LinkNode.d.ts +39 -0
- package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
- package/dist/features/link/nodes/LinkNode.js +323 -0
- package/dist/features/link/nodes/LinkNode.js.map +1 -0
- package/dist/features/link/nodes/types.d.ts +24 -0
- package/dist/features/link/nodes/types.d.ts.map +1 -0
- package/dist/features/link/nodes/types.js +2 -0
- package/dist/features/link/nodes/types.js.map +1 -0
- package/dist/features/link/server/baseFields.d.ts +3 -0
- package/dist/features/link/server/baseFields.d.ts.map +1 -0
- package/dist/features/link/server/baseFields.js +136 -0
- package/dist/features/link/server/baseFields.js.map +1 -0
- package/dist/features/link/server/graphQLPopulationPromise.d.ts +5 -0
- package/dist/features/link/server/graphQLPopulationPromise.d.ts.map +1 -0
- package/dist/features/link/server/graphQLPopulationPromise.js +45 -0
- package/dist/features/link/server/graphQLPopulationPromise.js.map +1 -0
- package/dist/features/link/server/i18n.d.ts +3 -0
- package/dist/features/link/server/i18n.d.ts.map +1 -0
- package/dist/features/link/server/i18n.js +99 -0
- package/dist/features/link/server/i18n.js.map +1 -0
- package/dist/features/link/server/index.d.ts +35 -0
- package/dist/features/link/server/index.d.ts.map +1 -0
- package/dist/features/link/server/index.js +149 -0
- package/dist/features/link/server/index.js.map +1 -0
- package/dist/features/link/server/transformExtraFields.d.ts +9 -0
- package/dist/features/link/server/transformExtraFields.d.ts.map +1 -0
- package/dist/features/link/server/transformExtraFields.js +20 -0
- package/dist/features/link/server/transformExtraFields.js.map +1 -0
- package/dist/features/link/server/validate.d.ts +6 -0
- package/dist/features/link/server/validate.d.ts.map +1 -0
- package/dist/features/link/server/validate.js +40 -0
- package/dist/features/link/server/validate.js.map +1 -0
- package/dist/features/lists/checklist/client/index.d.ts +2 -0
- package/dist/features/lists/checklist/client/index.d.ts.map +1 -0
- package/dist/features/lists/checklist/client/index.js +92 -0
- package/dist/features/lists/checklist/client/index.js.map +1 -0
- package/dist/features/lists/checklist/client/plugin/index.d.ts +3 -0
- package/dist/features/lists/checklist/client/plugin/index.d.ts.map +1 -0
- package/dist/features/lists/checklist/client/plugin/index.js +9 -0
- package/dist/features/lists/checklist/client/plugin/index.js.map +1 -0
- package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
- package/dist/features/lists/checklist/markdownTransformers.js +12 -0
- package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
- package/dist/features/lists/checklist/server/i18n.d.ts +3 -0
- package/dist/features/lists/checklist/server/i18n.d.ts.map +1 -0
- package/dist/features/lists/checklist/server/i18n.js +99 -0
- package/dist/features/lists/checklist/server/i18n.js.map +1 -0
- package/dist/features/lists/checklist/server/index.d.ts +2 -0
- package/dist/features/lists/checklist/server/index.d.ts.map +1 -0
- package/dist/features/lists/checklist/server/index.js +30 -0
- package/dist/features/lists/checklist/server/index.js.map +1 -0
- package/dist/features/lists/htmlConverter.d.ts +5 -0
- package/dist/features/lists/htmlConverter.d.ts.map +1 -0
- package/dist/features/lists/htmlConverter.js +81 -0
- package/dist/features/lists/htmlConverter.js.map +1 -0
- package/dist/features/lists/orderedList/client/index.d.ts +2 -0
- package/dist/features/lists/orderedList/client/index.d.ts.map +1 -0
- package/dist/features/lists/orderedList/client/index.js +84 -0
- package/dist/features/lists/orderedList/client/index.js.map +1 -0
- package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
- package/dist/features/lists/orderedList/markdownTransformer.js +12 -0
- package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
- package/dist/features/lists/orderedList/server/i18n.d.ts +3 -0
- package/dist/features/lists/orderedList/server/i18n.d.ts.map +1 -0
- package/dist/features/lists/orderedList/server/i18n.js +99 -0
- package/dist/features/lists/orderedList/server/i18n.js.map +1 -0
- package/dist/features/lists/orderedList/server/index.d.ts +2 -0
- package/dist/features/lists/orderedList/server/index.d.ts.map +1 -0
- package/dist/features/lists/orderedList/server/index.js +30 -0
- package/dist/features/lists/orderedList/server/index.js.map +1 -0
- package/dist/features/lists/plugin/index.d.ts +13 -0
- package/dist/features/lists/plugin/index.d.ts.map +1 -0
- package/dist/features/lists/plugin/index.js +9 -0
- package/dist/features/lists/plugin/index.js.map +1 -0
- package/dist/features/lists/shared/markdown.d.ts +6 -0
- package/dist/features/lists/shared/markdown.d.ts.map +1 -0
- package/dist/features/lists/shared/markdown.js +57 -0
- package/dist/features/lists/shared/markdown.js.map +1 -0
- package/dist/features/lists/shared/slashMenuListGroup.d.ts +3 -0
- package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
- package/dist/features/lists/shared/slashMenuListGroup.js +12 -0
- package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
- package/dist/features/lists/unorderedList/client/index.d.ts +2 -0
- package/dist/features/lists/unorderedList/client/index.d.ts.map +1 -0
- package/dist/features/lists/unorderedList/client/index.js +80 -0
- package/dist/features/lists/unorderedList/client/index.js.map +1 -0
- package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
- package/dist/features/lists/unorderedList/markdownTransformer.js +12 -0
- package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
- package/dist/features/lists/unorderedList/server/i18n.d.ts +3 -0
- package/dist/features/lists/unorderedList/server/i18n.d.ts.map +1 -0
- package/dist/features/lists/unorderedList/server/i18n.js +99 -0
- package/dist/features/lists/unorderedList/server/i18n.js.map +1 -0
- package/dist/features/lists/unorderedList/server/index.d.ts +2 -0
- package/dist/features/lists/unorderedList/server/index.d.ts.map +1 -0
- package/dist/features/lists/unorderedList/server/index.js +26 -0
- package/dist/features/lists/unorderedList/server/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +3 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +22 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +3 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +33 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +3 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +24 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +3 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +25 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +3 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +22 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +3 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +28 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +3 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +22 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +3 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +9 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts +19 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.js +78 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +23 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.js +2 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +2 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +10 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +10 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +49 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +15 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +74 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +23 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js +24 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js +33 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js +30 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js +26 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +26 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js +15 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js +27 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +26 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js +18 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts +3 -0
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.js +12 -0
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/index.js +117 -0
- package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/types.d.ts +16 -0
- package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/types.js +2 -0
- package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
- package/dist/features/migrations/slateToLexical/feature.client.d.ts +2 -0
- package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/feature.client.js +10 -0
- package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/feature.server.d.ts +11 -0
- package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/feature.server.js +50 -0
- package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +15 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +33 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +74 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
- package/dist/features/paragraph/client/index.d.ts +2 -0
- package/dist/features/paragraph/client/index.d.ts.map +1 -0
- package/dist/features/paragraph/client/index.js +68 -0
- package/dist/features/paragraph/client/index.js.map +1 -0
- package/dist/features/paragraph/server/i18n.d.ts +3 -0
- package/dist/features/paragraph/server/i18n.d.ts.map +1 -0
- package/dist/features/paragraph/server/i18n.js +131 -0
- package/dist/features/paragraph/server/i18n.js.map +1 -0
- package/dist/features/paragraph/server/index.d.ts +2 -0
- package/dist/features/paragraph/server/index.d.ts.map +1 -0
- package/dist/features/paragraph/server/index.js +11 -0
- package/dist/features/paragraph/server/index.js.map +1 -0
- package/dist/features/relationship/client/components/RelationshipComponent.d.ts +13 -0
- package/dist/features/relationship/client/components/RelationshipComponent.d.ts.map +1 -0
- package/dist/features/relationship/client/components/RelationshipComponent.js +174 -0
- package/dist/features/relationship/client/components/RelationshipComponent.js.map +1 -0
- package/dist/features/relationship/client/drawer/commands.d.ts.map +1 -0
- package/dist/features/relationship/client/drawer/commands.js +3 -0
- package/dist/features/relationship/client/drawer/commands.js.map +1 -0
- package/dist/features/relationship/client/drawer/index.d.ts.map +1 -0
- package/dist/features/relationship/client/drawer/index.js +155 -0
- package/dist/features/relationship/client/drawer/index.js.map +1 -0
- package/dist/features/relationship/client/index.d.ts +3 -0
- package/dist/features/relationship/client/index.d.ts.map +1 -0
- package/dist/features/relationship/client/index.js +66 -0
- package/dist/features/relationship/client/index.js.map +1 -0
- package/dist/features/relationship/client/nodes/RelationshipNode.d.ts +15 -0
- package/dist/features/relationship/client/nodes/RelationshipNode.d.ts.map +1 -0
- package/dist/features/relationship/client/nodes/RelationshipNode.js +75 -0
- package/dist/features/relationship/client/nodes/RelationshipNode.js.map +1 -0
- package/dist/features/relationship/client/plugins/index.d.ts +7 -0
- package/dist/features/relationship/client/plugins/index.d.ts.map +1 -0
- package/dist/features/relationship/client/plugins/index.js +105 -0
- package/dist/features/relationship/client/plugins/index.js.map +1 -0
- package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
- package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js +104 -0
- package/dist/features/relationship/client/utils/EnabledRelationshipsCondition.js.map +1 -0
- package/dist/features/relationship/server/graphQLPopulationPromise.d.ts +5 -0
- package/dist/features/relationship/server/graphQLPopulationPromise.d.ts.map +1 -0
- package/dist/features/relationship/server/graphQLPopulationPromise.js +37 -0
- package/dist/features/relationship/server/graphQLPopulationPromise.js.map +1 -0
- package/dist/features/relationship/server/i18n.d.ts +3 -0
- package/dist/features/relationship/server/i18n.d.ts.map +1 -0
- package/dist/features/relationship/server/i18n.js +99 -0
- package/dist/features/relationship/server/i18n.js.map +1 -0
- package/dist/features/relationship/server/index.d.ts +27 -0
- package/dist/features/relationship/server/index.d.ts.map +1 -0
- package/dist/features/relationship/server/index.js +66 -0
- package/dist/features/relationship/server/index.js.map +1 -0
- package/dist/features/relationship/server/nodes/RelationshipNode.d.ts +37 -0
- package/dist/features/relationship/server/nodes/RelationshipNode.d.ts.map +1 -0
- package/dist/features/relationship/server/nodes/RelationshipNode.js +104 -0
- package/dist/features/relationship/server/nodes/RelationshipNode.js.map +1 -0
- package/dist/features/shared/slashMenu/basicGroup.d.ts +3 -0
- package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
- package/dist/features/shared/slashMenu/basicGroup.js +12 -0
- package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
- package/dist/features/shared/toolbar/addDropdownGroup.d.ts +3 -0
- package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
- package/dist/features/shared/toolbar/addDropdownGroup.js +11 -0
- package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
- package/dist/features/shared/toolbar/featureButtonsGroup.d.ts +3 -0
- package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
- package/dist/features/shared/toolbar/featureButtonsGroup.js +9 -0
- package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
- package/dist/features/shared/toolbar/textDropdownGroup.d.ts +3 -0
- package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
- package/dist/features/shared/toolbar/textDropdownGroup.js +11 -0
- package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
- package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts +5 -0
- package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts.map +1 -0
- package/dist/features/toolbars/fixed/client/Toolbar/index.js +285 -0
- package/dist/features/toolbars/fixed/client/Toolbar/index.js.map +1 -0
- package/dist/features/toolbars/fixed/client/index.d.ts +3 -0
- package/dist/features/toolbars/fixed/client/index.d.ts.map +1 -0
- package/dist/features/toolbars/fixed/client/index.js +11 -0
- package/dist/features/toolbars/fixed/client/index.js.map +1 -0
- package/dist/features/toolbars/fixed/server/index.d.ts +18 -0
- package/dist/features/toolbars/fixed/server/index.d.ts.map +1 -0
- package/dist/features/toolbars/fixed/server/index.js +18 -0
- package/dist/features/toolbars/fixed/server/index.js.map +1 -0
- package/dist/features/toolbars/inline/client/Toolbar/index.d.ts +4 -0
- package/dist/features/toolbars/inline/client/Toolbar/index.d.ts.map +1 -0
- package/dist/features/toolbars/inline/client/Toolbar/index.js +363 -0
- package/dist/features/toolbars/inline/client/Toolbar/index.js.map +1 -0
- package/dist/features/toolbars/inline/client/index.d.ts +2 -0
- package/dist/features/toolbars/inline/client/index.d.ts.map +1 -0
- package/dist/features/toolbars/inline/client/index.js +11 -0
- package/dist/features/toolbars/inline/client/index.js.map +1 -0
- package/dist/features/toolbars/inline/server/index.d.ts +2 -0
- package/dist/features/toolbars/inline/server/index.d.ts.map +1 -0
- package/dist/features/toolbars/inline/server/index.js +8 -0
- package/dist/features/toolbars/inline/server/index.js.map +1 -0
- package/dist/features/toolbars/shared/ToolbarButton/index.d.ts +10 -0
- package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
- package/dist/features/toolbars/shared/ToolbarButton/index.js +89 -0
- package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts +22 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +208 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts +22 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/index.js +308 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
- package/dist/features/toolbars/types.d.ts +91 -0
- package/dist/features/toolbars/types.d.ts.map +1 -0
- package/dist/features/toolbars/types.js +2 -0
- package/dist/features/toolbars/types.js.map +1 -0
- package/dist/features/typeUtilities.d.ts +8 -0
- package/dist/features/typeUtilities.d.ts.map +1 -0
- package/dist/features/typeUtilities.js +7 -0
- package/dist/features/typeUtilities.js.map +1 -0
- package/dist/features/typesClient.d.ts +185 -0
- package/dist/features/typesClient.d.ts.map +1 -0
- package/dist/features/typesClient.js +2 -0
- package/dist/features/typesClient.js.map +1 -0
- package/dist/features/typesServer.d.ts +320 -0
- package/dist/features/typesServer.d.ts.map +1 -0
- package/dist/features/typesServer.js +2 -0
- package/dist/features/typesServer.js.map +1 -0
- package/dist/features/upload/client/component/index.d.ts +9 -0
- package/dist/features/upload/client/component/index.d.ts.map +1 -0
- package/dist/features/upload/client/component/index.js +239 -0
- package/dist/features/upload/client/component/index.js.map +1 -0
- package/dist/features/upload/client/drawer/commands.d.ts.map +1 -0
- package/dist/features/upload/client/drawer/commands.js +5 -0
- package/dist/features/upload/client/drawer/commands.js.map +1 -0
- package/dist/features/upload/client/drawer/index.d.ts.map +1 -0
- package/dist/features/upload/client/drawer/index.js +128 -0
- package/dist/features/upload/client/drawer/index.js.map +1 -0
- package/dist/features/upload/client/feature.client.d.ts +9 -0
- package/dist/features/upload/client/feature.client.d.ts.map +1 -0
- package/dist/features/upload/client/feature.client.js +64 -0
- package/dist/features/upload/client/feature.client.js.map +1 -0
- package/dist/features/upload/client/nodes/UploadNode.d.ts +22 -0
- package/dist/features/upload/client/nodes/UploadNode.d.ts.map +1 -0
- package/dist/features/upload/client/nodes/UploadNode.js +94 -0
- package/dist/features/upload/client/nodes/UploadNode.js.map +1 -0
- package/dist/features/upload/client/plugin/index.d.ts +8 -0
- package/dist/features/upload/client/plugin/index.d.ts.map +1 -0
- package/dist/features/upload/client/plugin/index.js +81 -0
- package/dist/features/upload/client/plugin/index.js.map +1 -0
- package/dist/features/upload/server/feature.server.d.ts +18 -0
- package/dist/features/upload/server/feature.server.d.ts.map +1 -0
- package/dist/features/upload/server/feature.server.js +214 -0
- package/dist/features/upload/server/feature.server.js.map +1 -0
- package/dist/features/upload/server/graphQLPopulationPromise.d.ts +5 -0
- package/dist/features/upload/server/graphQLPopulationPromise.d.ts.map +1 -0
- package/dist/features/upload/server/graphQLPopulationPromise.js +65 -0
- package/dist/features/upload/server/graphQLPopulationPromise.js.map +1 -0
- package/dist/features/upload/server/i18n.d.ts +3 -0
- package/dist/features/upload/server/i18n.d.ts.map +1 -0
- package/dist/features/upload/server/i18n.js +99 -0
- package/dist/features/upload/server/i18n.js.map +1 -0
- package/dist/features/upload/server/nodes/UploadNode.d.ts +42 -0
- package/dist/features/upload/server/nodes/UploadNode.d.ts.map +1 -0
- package/dist/features/upload/server/nodes/UploadNode.js +133 -0
- package/dist/features/upload/server/nodes/UploadNode.js.map +1 -0
- package/dist/features/upload/server/validate.d.ts +5 -0
- package/dist/features/upload/server/validate.d.ts.map +1 -0
- package/dist/features/upload/server/validate.js +58 -0
- package/dist/features/upload/server/validate.js.map +1 -0
- package/dist/field/Field.d.ts +9 -10
- package/dist/field/Field.d.ts.map +1 -1
- package/dist/field/Field.js +125 -86
- package/dist/field/Field.js.map +1 -1
- package/dist/field/bundled.css +1 -0
- package/dist/field/index.d.ts +2 -7
- package/dist/field/index.d.ts.map +1 -1
- package/dist/field/index.js +79 -81
- package/dist/field/index.js.map +1 -1
- package/dist/i18n.d.ts +3 -0
- package/dist/i18n.d.ts.map +1 -0
- package/dist/i18n.js +163 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.d.ts +62 -84
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +729 -251
- package/dist/index.js.map +1 -1
- package/dist/lexical/EditorPlugin.d.ts +8 -0
- package/dist/lexical/EditorPlugin.d.ts.map +1 -0
- package/dist/lexical/EditorPlugin.js +21 -0
- package/dist/lexical/EditorPlugin.js.map +1 -0
- package/dist/lexical/LexicalEditor.d.ts +7 -0
- package/dist/lexical/LexicalEditor.d.ts.map +1 -0
- package/dist/lexical/LexicalEditor.js +231 -0
- package/dist/lexical/LexicalEditor.js.map +1 -0
- package/dist/lexical/LexicalProvider.d.ts +14 -0
- package/dist/lexical/LexicalProvider.d.ts.map +1 -0
- package/dist/lexical/LexicalProvider.js +101 -0
- package/dist/lexical/LexicalProvider.js.map +1 -0
- package/dist/lexical/config/client/EditorConfigProvider.d.ts +27 -0
- package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
- package/dist/lexical/config/client/EditorConfigProvider.js +89 -0
- package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
- package/dist/lexical/config/client/default.d.ts +3 -0
- package/dist/lexical/config/client/default.d.ts.map +1 -0
- package/dist/lexical/config/client/default.js +8 -0
- package/dist/lexical/config/client/default.js.map +1 -0
- package/dist/lexical/config/client/loader.d.ts +10 -0
- package/dist/lexical/config/client/loader.d.ts.map +1 -0
- package/dist/lexical/config/client/loader.js +37 -0
- package/dist/lexical/config/client/loader.js.map +1 -0
- package/dist/lexical/config/client/sanitize.d.ts +7 -0
- package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
- package/dist/lexical/config/client/sanitize.js +180 -0
- package/dist/lexical/config/client/sanitize.js.map +1 -0
- package/dist/lexical/config/server/default.d.ts +7 -0
- package/dist/lexical/config/server/default.d.ts.map +1 -0
- package/dist/lexical/config/server/default.js +31 -0
- package/dist/lexical/config/server/default.js.map +1 -0
- package/dist/lexical/config/server/loader.d.ts +11 -0
- package/dist/lexical/config/server/loader.d.ts.map +1 -0
- package/dist/lexical/config/server/loader.js +122 -0
- package/dist/lexical/config/server/loader.js.map +1 -0
- package/dist/lexical/config/server/sanitize.d.ts +6 -0
- package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
- package/dist/lexical/config/server/sanitize.js +113 -0
- package/dist/lexical/config/server/sanitize.js.map +1 -0
- package/dist/lexical/config/types.d.ts +24 -0
- package/dist/lexical/config/types.d.ts.map +1 -0
- package/dist/lexical/config/types.js +2 -0
- package/dist/lexical/config/types.js.map +1 -0
- package/dist/lexical/nodes/index.d.ts +6 -0
- package/dist/lexical/nodes/index.d.ts.map +1 -0
- package/dist/lexical/nodes/index.js +11 -0
- package/dist/lexical/nodes/index.js.map +1 -0
- package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
- package/dist/lexical/plugins/MarkdownShortcut/index.js +25 -0
- package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +32 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +386 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +24 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +249 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +50 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +2 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/index.d.ts +6 -0
- package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/index.js +214 -0
- package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js +48 -0
- package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +6 -0
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js +153 -0
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts +2 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js +15 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +15 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +3 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +31 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +6 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +353 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +9 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +113 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +5 -0
- package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js +28 -0
- package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js +28 -0
- package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js +18 -0
- package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts +31 -0
- package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js +152 -0
- package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +7 -0
- package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/isOnHandleElement.js +6 -0
- package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/setHandlePosition.js +28 -0
- package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
- package/dist/lexical/theme/EditorTheme.d.ts +3 -0
- package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
- package/dist/lexical/theme/EditorTheme.js +102 -0
- package/dist/lexical/theme/EditorTheme.js.map +1 -0
- package/dist/lexical/ui/ContentEditable.d.ts +6 -0
- package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
- package/dist/lexical/ui/ContentEditable.js +34 -0
- package/dist/lexical/ui/ContentEditable.js.map +1 -0
- package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AI/index.js +34 -0
- package/dist/lexical/ui/icons/AI/index.js.map +1 -0
- package/dist/lexical/ui/icons/Add/index.d.ts +3 -0
- package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Add/index.js +19 -0
- package/dist/lexical/ui/icons/Add/index.js.map +1 -0
- package/dist/lexical/ui/icons/Add/light.svg +4 -0
- package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AlignCenter/index.js +28 -0
- package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
- package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AlignJustify/index.js +28 -0
- package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
- package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AlignLeft/index.js +28 -0
- package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
- package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AlignRight/index.js +28 -0
- package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
- package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Block/index.js +37 -0
- package/dist/lexical/ui/icons/Block/index.js.map +1 -0
- package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Blockquote/index.js +19 -0
- package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
- package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Bold/index.js +19 -0
- package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
- package/dist/lexical/ui/icons/Caret/index.svg +3 -0
- package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Checklist/index.js +27 -0
- package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
- package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Code/index.js +22 -0
- package/dist/lexical/ui/icons/Code/index.js.map +1 -0
- package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/CodeBlock/index.js +22 -0
- package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
- package/dist/lexical/ui/icons/DraggableBlock/light.svg +9 -0
- package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H1/index.js +19 -0
- package/dist/lexical/ui/icons/H1/index.js.map +1 -0
- package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H2/index.js +19 -0
- package/dist/lexical/ui/icons/H2/index.js.map +1 -0
- package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H3/index.js +19 -0
- package/dist/lexical/ui/icons/H3/index.js.map +1 -0
- package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H4/index.js +19 -0
- package/dist/lexical/ui/icons/H4/index.js.map +1 -0
- package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H5/index.js +19 -0
- package/dist/lexical/ui/icons/H5/index.js.map +1 -0
- package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H6/index.js +19 -0
- package/dist/lexical/ui/icons/H6/index.js.map +1 -0
- package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/HorizontalRule/index.js +22 -0
- package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
- package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/IndentDecrease/index.js +31 -0
- package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
- package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/IndentIncrease/index.js +31 -0
- package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
- package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -0
- package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/InlineBlocks/index.js +21 -0
- package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -0
- package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Italic/index.js +19 -0
- package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
- package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Link/index.js +20 -0
- package/dist/lexical/ui/icons/Link/index.js.map +1 -0
- package/dist/lexical/ui/icons/Meatballs/index.d.ts +3 -0
- package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Meatballs/index.js +22 -0
- package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -0
- package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/OrderedList/index.js +34 -0
- package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
- package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Relationship/index.js +34 -0
- package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
- package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Strikethrough/index.js +22 -0
- package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
- package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Subscript/index.js +19 -0
- package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
- package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Superscript/index.js +19 -0
- package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
- package/dist/lexical/ui/icons/Table/index.d.ts +3 -0
- package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Table/index.js +21 -0
- package/dist/lexical/ui/icons/Table/index.js.map +1 -0
- package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Text/index.js +19 -0
- package/dist/lexical/ui/icons/Text/index.js.map +1 -0
- package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Underline/index.js +22 -0
- package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
- package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/UnorderedList/index.js +49 -0
- package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
- package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Upload/index.js +31 -0
- package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
- package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
- package/dist/lexical/utils/canUseDOM.js +4 -0
- package/dist/lexical/utils/canUseDOM.js.map +1 -0
- package/dist/lexical/utils/environment.d.ts.map +1 -0
- package/dist/lexical/utils/environment.js +15 -0
- package/dist/lexical/utils/environment.js.map +1 -0
- package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
- package/dist/lexical/utils/getDOMRangeRect.js +17 -0
- package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
- package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
- package/dist/lexical/utils/getSelectedNode.js +22 -0
- package/dist/lexical/utils/getSelectedNode.js.map +1 -0
- package/dist/lexical/utils/guard.d.ts.map +1 -0
- package/dist/lexical/utils/guard.js +6 -0
- package/dist/lexical/utils/guard.js.map +1 -0
- package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
- package/dist/lexical/utils/joinClasses.js +6 -0
- package/dist/lexical/utils/joinClasses.js.map +1 -0
- package/dist/lexical/utils/markdown/createBlockNode.d.ts +4 -0
- package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
- package/dist/lexical/utils/markdown/createBlockNode.js +11 -0
- package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
- package/dist/lexical/utils/nodeFormat.d.ts +41 -0
- package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
- package/dist/lexical/utils/nodeFormat.js +87 -0
- package/dist/lexical/utils/nodeFormat.js.map +1 -0
- package/dist/lexical/utils/point.d.ts.map +1 -0
- package/dist/lexical/utils/point.js +45 -0
- package/dist/lexical/utils/point.js.map +1 -0
- package/dist/lexical/utils/rect.d.ts +47 -0
- package/dist/lexical/utils/rect.d.ts.map +1 -0
- package/dist/lexical/utils/rect.js +171 -0
- package/dist/lexical/utils/rect.js.map +1 -0
- package/dist/lexical/utils/setFloatingElemPosition.d.ts +12 -0
- package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
- package/dist/lexical/utils/setFloatingElemPosition.js +67 -0
- package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
- package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
- package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js +28 -0
- package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
- package/dist/lexical/utils/swipe.d.ts.map +1 -0
- package/dist/lexical/utils/swipe.js +99 -0
- package/dist/lexical/utils/swipe.js.map +1 -0
- package/dist/lexical/utils/url.d.ts +8 -0
- package/dist/lexical/utils/url.d.ts.map +1 -0
- package/dist/lexical/utils/url.js +57 -0
- package/dist/lexical/utils/url.js.map +1 -0
- package/dist/nodeTypes.d.ts +32 -0
- package/dist/nodeTypes.d.ts.map +1 -0
- package/dist/nodeTypes.js +2 -0
- package/dist/nodeTypes.js.map +1 -0
- package/dist/populateGraphQL/defaultValue.d.ts +3 -0
- package/dist/populateGraphQL/defaultValue.d.ts.map +1 -0
- package/dist/populateGraphQL/defaultValue.js +28 -0
- package/dist/populateGraphQL/defaultValue.js.map +1 -0
- package/dist/populateGraphQL/populate.d.ts +18 -0
- package/dist/populateGraphQL/populate.d.ts.map +1 -0
- package/dist/populateGraphQL/populate.js +40 -0
- package/dist/populateGraphQL/populate.js.map +1 -0
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +12 -0
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -0
- package/dist/populateGraphQL/populateLexicalPopulationPromises.js +53 -0
- package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -0
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +28 -0
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -0
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js +42 -0
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -0
- package/dist/types.d.ts +57 -22
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -2
- package/dist/types.js.map +1 -1
- package/dist/utilities/createClientFeature.d.ts +11 -0
- package/dist/utilities/createClientFeature.d.ts.map +1 -0
- package/dist/utilities/createClientFeature.js +41 -0
- package/dist/utilities/createClientFeature.js.map +1 -0
- package/dist/utilities/createServerFeature.d.ts +17 -0
- package/dist/utilities/createServerFeature.d.ts.map +1 -0
- package/dist/utilities/createServerFeature.js +51 -0
- package/dist/utilities/createServerFeature.js.map +1 -0
- package/dist/utilities/fieldsDrawer/Drawer.d.ts +20 -0
- package/dist/utilities/fieldsDrawer/Drawer.d.ts.map +1 -0
- package/dist/utilities/fieldsDrawer/Drawer.js +75 -0
- package/dist/utilities/fieldsDrawer/Drawer.js.map +1 -0
- package/dist/utilities/fieldsDrawer/DrawerContent.d.ts +4 -0
- package/dist/utilities/fieldsDrawer/DrawerContent.d.ts.map +1 -0
- package/dist/utilities/fieldsDrawer/DrawerContent.js +166 -0
- package/dist/utilities/fieldsDrawer/DrawerContent.js.map +1 -0
- 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/forEachNodeRecursively.d.ts +10 -0
- package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
- package/dist/utilities/forEachNodeRecursively.js +29 -0
- package/dist/utilities/forEachNodeRecursively.js.map +1 -0
- package/dist/utilities/generateComponentMap.d.ts +6 -0
- package/dist/utilities/generateComponentMap.d.ts.map +1 -0
- package/dist/utilities/generateComponentMap.js +93 -0
- package/dist/utilities/generateComponentMap.js.map +1 -0
- package/dist/utilities/generateImportMap.d.ts +6 -0
- package/dist/utilities/generateImportMap.d.ts.map +1 -0
- package/dist/utilities/generateImportMap.js +56 -0
- package/dist/utilities/generateImportMap.js.map +1 -0
- package/dist/utilities/generateSchemaMap.d.ts +6 -0
- package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
- package/dist/utilities/generateSchemaMap.js +37 -0
- package/dist/utilities/generateSchemaMap.js.map +1 -0
- package/dist/utilities/migrateSlateToLexical/index.d.ts +15 -0
- package/dist/utilities/migrateSlateToLexical/index.d.ts.map +1 -0
- package/dist/utilities/migrateSlateToLexical/index.js +149 -0
- package/dist/utilities/migrateSlateToLexical/index.js.map +1 -0
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +9 -0
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +1 -0
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +80 -0
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +1 -0
- package/dist/utilities/recurseNodeTree.d.ts +9 -0
- package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
- package/dist/utilities/recurseNodeTree.js +30 -0
- package/dist/utilities/recurseNodeTree.js.map +1 -0
- package/dist/utilities/upgradeLexicalData/index.d.ts +11 -0
- package/dist/utilities/upgradeLexicalData/index.d.ts.map +1 -0
- package/dist/utilities/upgradeLexicalData/index.js +114 -0
- package/dist/utilities/upgradeLexicalData/index.js.map +1 -0
- package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts +9 -0
- package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.d.ts.map +1 -0
- package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js +79 -0
- package/dist/utilities/upgradeLexicalData/upgradeDocumentFieldsRecursively.js.map +1 -0
- package/dist/utilities/useLexicalFeature.d.ts +3 -0
- package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
- package/dist/utilities/useLexicalFeature.js +13 -0
- package/dist/utilities/useLexicalFeature.js.map +1 -0
- package/dist/validate/index.d.ts +3 -3
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js +45 -23
- package/dist/validate/index.js.map +1 -1
- package/dist/validate/validateNodes.d.ts +5 -5
- package/dist/validate/validateNodes.d.ts.map +1 -1
- package/dist/validate/validateNodes.js +31 -28
- package/dist/validate/validateNodes.js.map +1 -1
- package/package.json +98 -57
- package/dist/exports/components.d.ts +0 -6
- package/dist/exports/components.d.ts.map +0 -1
- package/dist/exports/components.js +0 -7
- package/dist/exports/components.js.map +0 -1
- package/dist/field/features/align/feature.client.d.ts +0 -3
- package/dist/field/features/align/feature.client.d.ts.map +0 -1
- package/dist/field/features/align/feature.client.js +0 -72
- package/dist/field/features/align/feature.client.js.map +0 -1
- package/dist/field/features/align/feature.server.d.ts +0 -3
- package/dist/field/features/align/feature.server.d.ts.map +0 -1
- package/dist/field/features/align/feature.server.js +0 -16
- package/dist/field/features/align/feature.server.js.map +0 -1
- package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts +0 -3
- package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts.map +0 -1
- package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js +0 -12
- package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js.map +0 -1
- package/dist/field/features/blockquote/feature.client.d.ts +0 -3
- package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
- package/dist/field/features/blockquote/feature.client.js +0 -70
- package/dist/field/features/blockquote/feature.client.js.map +0 -1
- package/dist/field/features/blockquote/feature.server.d.ts +0 -3
- package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
- package/dist/field/features/blockquote/feature.server.js +0 -47
- package/dist/field/features/blockquote/feature.server.js.map +0 -1
- package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/blockquote/markdownTransformer.js +0 -42
- package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
- package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
- package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
- package/dist/field/features/blocks/component/BlockContent.js +0 -183
- package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
- package/dist/field/features/blocks/component/FormSavePlugin.d.ts +0 -12
- package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
- package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
- package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
- package/dist/field/features/blocks/component/index.d.ts +0 -16
- package/dist/field/features/blocks/component/index.d.ts.map +0 -1
- package/dist/field/features/blocks/component/index.js +0 -131
- package/dist/field/features/blocks/component/index.js.map +0 -1
- package/dist/field/features/blocks/component/index.scss +0 -153
- package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts +0 -11
- package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
- package/dist/field/features/blocks/component/removeEmptyArrayValues.js +0 -16
- package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
- package/dist/field/features/blocks/drawer/index.d.ts +0 -9
- package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
- package/dist/field/features/blocks/drawer/index.js +0 -84
- package/dist/field/features/blocks/drawer/index.js.map +0 -1
- package/dist/field/features/blocks/feature.client.d.ts +0 -7
- package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
- package/dist/field/features/blocks/feature.client.js +0 -61
- package/dist/field/features/blocks/feature.client.js.map +0 -1
- package/dist/field/features/blocks/feature.server.d.ts +0 -11
- package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
- package/dist/field/features/blocks/feature.server.js +0 -112
- package/dist/field/features/blocks/feature.server.js.map +0 -1
- package/dist/field/features/blocks/nodes/BlocksNode.d.ts +0 -38
- package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
- package/dist/field/features/blocks/nodes/BlocksNode.js +0 -92
- package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
- package/dist/field/features/blocks/plugin/commands.d.ts +0 -4
- package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
- package/dist/field/features/blocks/plugin/commands.js +0 -5
- package/dist/field/features/blocks/plugin/commands.js.map +0 -1
- package/dist/field/features/blocks/plugin/index.d.ts +0 -5
- package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
- package/dist/field/features/blocks/plugin/index.js +0 -43
- package/dist/field/features/blocks/plugin/index.js.map +0 -1
- package/dist/field/features/blocks/populationPromise.d.ts +0 -5
- package/dist/field/features/blocks/populationPromise.d.ts.map +0 -1
- package/dist/field/features/blocks/populationPromise.js +0 -46
- package/dist/field/features/blocks/populationPromise.js.map +0 -1
- package/dist/field/features/blocks/validate.d.ts +0 -5
- package/dist/field/features/blocks/validate.d.ts.map +0 -1
- package/dist/field/features/blocks/validate.js +0 -50
- package/dist/field/features/blocks/validate.js.map +0 -1
- package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts +0 -3
- package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.d.ts.map +0 -1
- package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js +0 -10
- package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js.map +0 -1
- package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts +0 -3
- package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts.map +0 -1
- package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js +0 -12
- package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js.map +0 -1
- package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/converters/linebreak.js +0 -10
- package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
- package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
- package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
- package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/converters/text.js +0 -33
- package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
- package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/defaultConverters.js +0 -10
- package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
- package/dist/field/features/converters/html/converter/index.d.ts +0 -21
- package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/index.js +0 -44
- package/dist/field/features/converters/html/converter/index.js.map +0 -1
- package/dist/field/features/converters/html/converter/types.d.ts +0 -19
- package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/types.js +0 -3
- package/dist/field/features/converters/html/converter/types.js.map +0 -1
- package/dist/field/features/converters/html/feature.server.d.ts +0 -9
- package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
- package/dist/field/features/converters/html/feature.server.js +0 -14
- package/dist/field/features/converters/html/feature.server.js.map +0 -1
- package/dist/field/features/converters/html/field/index.d.ts +0 -29
- package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
- package/dist/field/features/converters/html/field/index.js +0 -117
- package/dist/field/features/converters/html/field/index.js.map +0 -1
- package/dist/field/features/createClientComponent.d.ts +0 -6
- package/dist/field/features/createClientComponent.d.ts.map +0 -1
- package/dist/field/features/createClientComponent.js +0 -12
- package/dist/field/features/createClientComponent.js.map +0 -1
- package/dist/field/features/createFeaturePropComponent.d.ts +0 -6
- package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
- package/dist/field/features/createFeaturePropComponent.js +0 -15
- package/dist/field/features/createFeaturePropComponent.js.map +0 -1
- package/dist/field/features/debug/testrecorder/feature.client.d.ts +0 -3
- package/dist/field/features/debug/testrecorder/feature.client.d.ts.map +0 -1
- package/dist/field/features/debug/testrecorder/feature.client.js +0 -20
- package/dist/field/features/debug/testrecorder/feature.client.js.map +0 -1
- package/dist/field/features/debug/testrecorder/feature.server.d.ts +0 -3
- package/dist/field/features/debug/testrecorder/feature.server.d.ts.map +0 -1
- package/dist/field/features/debug/testrecorder/feature.server.js +0 -15
- package/dist/field/features/debug/testrecorder/feature.server.js.map +0 -1
- package/dist/field/features/debug/testrecorder/plugin/index.d.ts +0 -5
- package/dist/field/features/debug/testrecorder/plugin/index.d.ts.map +0 -1
- package/dist/field/features/debug/testrecorder/plugin/index.js +0 -448
- package/dist/field/features/debug/testrecorder/plugin/index.js.map +0 -1
- package/dist/field/features/debug/testrecorder/plugin/index.scss +0 -49
- package/dist/field/features/debug/treeview/feature.client.d.ts +0 -3
- package/dist/field/features/debug/treeview/feature.client.d.ts.map +0 -1
- package/dist/field/features/debug/treeview/feature.client.js +0 -20
- package/dist/field/features/debug/treeview/feature.client.js.map +0 -1
- package/dist/field/features/debug/treeview/feature.server.d.ts +0 -3
- package/dist/field/features/debug/treeview/feature.server.d.ts.map +0 -1
- package/dist/field/features/debug/treeview/feature.server.js +0 -15
- package/dist/field/features/debug/treeview/feature.server.js.map +0 -1
- package/dist/field/features/debug/treeview/plugin/index.d.ts +0 -4
- package/dist/field/features/debug/treeview/plugin/index.d.ts.map +0 -1
- package/dist/field/features/debug/treeview/plugin/index.js +0 -21
- package/dist/field/features/debug/treeview/plugin/index.js.map +0 -1
- package/dist/field/features/debug/treeview/plugin/index.scss +0 -78
- package/dist/field/features/format/bold/feature.client.d.ts +0 -3
- package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/bold/feature.client.js +0 -48
- package/dist/field/features/format/bold/feature.client.js.map +0 -1
- package/dist/field/features/format/bold/feature.server.d.ts +0 -3
- package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/bold/feature.server.js +0 -27
- package/dist/field/features/format/bold/feature.server.js.map +0 -1
- package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/bold/markdownTransformers.js +0 -34
- package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
- package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts +0 -3
- package/dist/field/features/format/common/floatingSelectToolbarSection.d.ts.map +0 -1
- package/dist/field/features/format/common/floatingSelectToolbarSection.js +0 -10
- package/dist/field/features/format/common/floatingSelectToolbarSection.js.map +0 -1
- package/dist/field/features/format/inlinecode/feature.client.d.ts +0 -3
- package/dist/field/features/format/inlinecode/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/inlinecode/feature.client.js +0 -43
- package/dist/field/features/format/inlinecode/feature.client.js.map +0 -1
- package/dist/field/features/format/inlinecode/feature.server.d.ts +0 -3
- package/dist/field/features/format/inlinecode/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/inlinecode/feature.server.js +0 -19
- package/dist/field/features/format/inlinecode/feature.server.js.map +0 -1
- package/dist/field/features/format/inlinecode/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/inlinecode/markdownTransformers.js +0 -9
- package/dist/field/features/format/inlinecode/markdownTransformers.js.map +0 -1
- package/dist/field/features/format/italic/feature.client.d.ts +0 -3
- package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/italic/feature.client.js +0 -44
- package/dist/field/features/format/italic/feature.client.js.map +0 -1
- package/dist/field/features/format/italic/feature.server.d.ts +0 -3
- package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/italic/feature.server.js +0 -20
- package/dist/field/features/format/italic/feature.server.js.map +0 -1
- package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/italic/markdownTransformers.js +0 -17
- package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
- package/dist/field/features/format/strikethrough/feature.client.d.ts +0 -3
- package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/strikethrough/feature.client.js +0 -43
- package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
- package/dist/field/features/format/strikethrough/feature.server.d.ts +0 -3
- package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/strikethrough/feature.server.js +0 -19
- package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
- package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/strikethrough/markdownTransformers.js +0 -9
- package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
- package/dist/field/features/format/subscript/feature.client.d.ts +0 -3
- package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/subscript/feature.client.js +0 -39
- package/dist/field/features/format/subscript/feature.client.js.map +0 -1
- package/dist/field/features/format/subscript/feature.server.d.ts +0 -3
- package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/subscript/feature.server.js +0 -15
- package/dist/field/features/format/subscript/feature.server.js.map +0 -1
- package/dist/field/features/format/superscript/feature.client.d.ts +0 -3
- package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/superscript/feature.client.js +0 -39
- package/dist/field/features/format/superscript/feature.client.js.map +0 -1
- package/dist/field/features/format/superscript/feature.server.d.ts +0 -3
- package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/superscript/feature.server.js +0 -15
- package/dist/field/features/format/superscript/feature.server.js.map +0 -1
- package/dist/field/features/format/underline/feature.client.d.ts +0 -3
- package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/underline/feature.client.js +0 -39
- package/dist/field/features/format/underline/feature.client.js.map +0 -1
- package/dist/field/features/format/underline/feature.server.d.ts +0 -3
- package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/underline/feature.server.js +0 -15
- package/dist/field/features/format/underline/feature.server.js.map +0 -1
- package/dist/field/features/heading/feature.client.d.ts +0 -4
- package/dist/field/features/heading/feature.client.d.ts.map +0 -1
- package/dist/field/features/heading/feature.client.js +0 -97
- package/dist/field/features/heading/feature.client.js.map +0 -1
- package/dist/field/features/heading/feature.server.d.ts +0 -7
- package/dist/field/features/heading/feature.server.d.ts.map +0 -1
- package/dist/field/features/heading/feature.server.js +0 -58
- package/dist/field/features/heading/feature.server.js.map +0 -1
- package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/heading/markdownTransformer.js +0 -30
- package/dist/field/features/heading/markdownTransformer.js.map +0 -1
- package/dist/field/features/horizontalrule/component/index.d.ts +0 -10
- package/dist/field/features/horizontalrule/component/index.d.ts.map +0 -1
- package/dist/field/features/horizontalrule/component/index.js +0 -64
- package/dist/field/features/horizontalrule/component/index.js.map +0 -1
- package/dist/field/features/horizontalrule/feature.client.d.ts +0 -3
- package/dist/field/features/horizontalrule/feature.client.d.ts.map +0 -1
- package/dist/field/features/horizontalrule/feature.client.js +0 -53
- package/dist/field/features/horizontalrule/feature.client.js.map +0 -1
- package/dist/field/features/horizontalrule/feature.server.d.ts +0 -3
- package/dist/field/features/horizontalrule/feature.server.d.ts.map +0 -1
- package/dist/field/features/horizontalrule/feature.server.js +0 -36
- package/dist/field/features/horizontalrule/feature.server.js.map +0 -1
- package/dist/field/features/horizontalrule/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/horizontalrule/markdownTransformer.js +0 -23
- package/dist/field/features/horizontalrule/markdownTransformer.js.map +0 -1
- package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts +0 -55
- package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.d.ts.map +0 -1
- package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js +0 -89
- package/dist/field/features/horizontalrule/nodes/HorizontalRuleNode.js.map +0 -1
- package/dist/field/features/horizontalrule/plugin/index.d.ts +0 -6
- package/dist/field/features/horizontalrule/plugin/index.d.ts.map +0 -1
- package/dist/field/features/horizontalrule/plugin/index.js +0 -34
- package/dist/field/features/horizontalrule/plugin/index.js.map +0 -1
- package/dist/field/features/horizontalrule/plugin/index.scss +0 -20
- package/dist/field/features/indent/feature.client.d.ts +0 -3
- package/dist/field/features/indent/feature.client.d.ts.map +0 -1
- package/dist/field/features/indent/feature.client.js +0 -58
- package/dist/field/features/indent/feature.client.js.map +0 -1
- package/dist/field/features/indent/feature.server.d.ts +0 -3
- package/dist/field/features/indent/feature.server.d.ts.map +0 -1
- package/dist/field/features/indent/feature.server.js +0 -16
- package/dist/field/features/indent/feature.server.js.map +0 -1
- package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts +0 -3
- package/dist/field/features/indent/floatingSelectToolbarIndentSection.d.ts.map +0 -1
- package/dist/field/features/indent/floatingSelectToolbarIndentSection.js +0 -10
- package/dist/field/features/indent/floatingSelectToolbarIndentSection.js.map +0 -1
- package/dist/field/features/indent/index.scss +0 -4
- package/dist/field/features/link/drawer/baseFields.d.ts +0 -4
- package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
- package/dist/field/features/link/drawer/baseFields.js +0 -107
- package/dist/field/features/link/drawer/baseFields.js.map +0 -1
- package/dist/field/features/link/drawer/index.d.ts +0 -5
- package/dist/field/features/link/drawer/index.d.ts.map +0 -1
- package/dist/field/features/link/drawer/index.js +0 -94
- package/dist/field/features/link/drawer/index.js.map +0 -1
- package/dist/field/features/link/drawer/index.scss +0 -50
- package/dist/field/features/link/drawer/types.d.ts +0 -8
- package/dist/field/features/link/drawer/types.d.ts.map +0 -1
- package/dist/field/features/link/drawer/types.js +0 -3
- package/dist/field/features/link/drawer/types.js.map +0 -1
- package/dist/field/features/link/feature.client.d.ts +0 -5
- package/dist/field/features/link/feature.client.d.ts.map +0 -1
- package/dist/field/features/link/feature.client.js +0 -90
- package/dist/field/features/link/feature.client.js.map +0 -1
- package/dist/field/features/link/feature.server.d.ts +0 -33
- package/dist/field/features/link/feature.server.d.ts.map +0 -1
- package/dist/field/features/link/feature.server.js +0 -105
- package/dist/field/features/link/feature.server.js.map +0 -1
- package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
- package/dist/field/features/link/nodes/AutoLinkNode.js +0 -61
- package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
- package/dist/field/features/link/nodes/LinkNode.d.ts +0 -38
- package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
- package/dist/field/features/link/nodes/LinkNode.js +0 -301
- package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
- package/dist/field/features/link/nodes/types.d.ts +0 -19
- package/dist/field/features/link/nodes/types.d.ts.map +0 -1
- package/dist/field/features/link/nodes/types.js +0 -3
- package/dist/field/features/link/nodes/types.js.map +0 -1
- package/dist/field/features/link/plugins/autoLink/index.d.ts +0 -19
- package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/autoLink/index.js +0 -321
- package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
- package/dist/field/features/link/plugins/clickableLink/index.d.ts +0 -3
- package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/clickableLink/index.js +0 -10
- package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -5
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -259
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +0 -6
- package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/index.js +0 -13
- package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +0 -78
- package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts +0 -15
- package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/types.js +0 -6
- package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +0 -12
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js +0 -38
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
- package/dist/field/features/link/plugins/link/index.d.ts +0 -2
- package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/link/index.js +0 -62
- package/dist/field/features/link/plugins/link/index.js.map +0 -1
- package/dist/field/features/link/populationPromise.d.ts +0 -5
- package/dist/field/features/link/populationPromise.d.ts.map +0 -1
- package/dist/field/features/link/populationPromise.js +0 -46
- package/dist/field/features/link/populationPromise.js.map +0 -1
- package/dist/field/features/lists/checklist/feature.client.d.ts +0 -3
- package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
- package/dist/field/features/lists/checklist/feature.client.js +0 -82
- package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
- package/dist/field/features/lists/checklist/feature.server.d.ts +0 -3
- package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
- package/dist/field/features/lists/checklist/feature.server.js +0 -36
- package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
- package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/lists/checklist/markdownTransformers.js +0 -17
- package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
- package/dist/field/features/lists/checklist/plugin/index.d.ts +0 -3
- package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
- package/dist/field/features/lists/checklist/plugin/index.js +0 -9
- package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
- package/dist/field/features/lists/common/markdown.d.ts +0 -6
- package/dist/field/features/lists/common/markdown.d.ts.map +0 -1
- package/dist/field/features/lists/common/markdown.js +0 -59
- package/dist/field/features/lists/common/markdown.js.map +0 -1
- package/dist/field/features/lists/htmlConverter.d.ts +0 -5
- package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
- package/dist/field/features/lists/htmlConverter.js +0 -57
- package/dist/field/features/lists/htmlConverter.js.map +0 -1
- package/dist/field/features/lists/orderedlist/feature.client.d.ts +0 -3
- package/dist/field/features/lists/orderedlist/feature.client.d.ts.map +0 -1
- package/dist/field/features/lists/orderedlist/feature.client.js +0 -72
- package/dist/field/features/lists/orderedlist/feature.client.js.map +0 -1
- package/dist/field/features/lists/orderedlist/feature.server.d.ts +0 -3
- package/dist/field/features/lists/orderedlist/feature.server.d.ts.map +0 -1
- package/dist/field/features/lists/orderedlist/feature.server.js +0 -36
- package/dist/field/features/lists/orderedlist/feature.server.js.map +0 -1
- package/dist/field/features/lists/orderedlist/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/lists/orderedlist/markdownTransformer.js +0 -17
- package/dist/field/features/lists/orderedlist/markdownTransformer.js.map +0 -1
- package/dist/field/features/lists/plugin/index.d.ts +0 -3
- package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
- package/dist/field/features/lists/plugin/index.js +0 -9
- package/dist/field/features/lists/plugin/index.js.map +0 -1
- package/dist/field/features/lists/unorderedlist/feature.client.d.ts +0 -3
- package/dist/field/features/lists/unorderedlist/feature.client.d.ts.map +0 -1
- package/dist/field/features/lists/unorderedlist/feature.client.js +0 -72
- package/dist/field/features/lists/unorderedlist/feature.client.js.map +0 -1
- package/dist/field/features/lists/unorderedlist/feature.server.d.ts +0 -3
- package/dist/field/features/lists/unorderedlist/feature.server.d.ts.map +0 -1
- package/dist/field/features/lists/unorderedlist/feature.server.js +0 -36
- package/dist/field/features/lists/unorderedlist/feature.server.js.map +0 -1
- package/dist/field/features/lists/unorderedlist/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/lists/unorderedlist/markdownTransformer.js +0 -17
- package/dist/field/features/lists/unorderedlist/markdownTransformer.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -20
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -8
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -31
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -8
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -22
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -8
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -22
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -8
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -20
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -8
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -26
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -8
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -6
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -25
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -8
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -18
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -17
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js +0 -63
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -31
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -3
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +0 -34
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -9
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -47
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -8
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -70
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -14
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -23
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js +0 -29
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js +0 -35
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js +0 -30
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -25
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -26
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -18
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -27
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -26
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js +0 -6
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js +0 -21
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +0 -8
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js +0 -24
- package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/index.js +0 -107
- package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +0 -25
- package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/types.js +0 -3
- package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +0 -3
- package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/feature.client.js +0 -34
- package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +0 -9
- package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -47
- package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -8
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -36
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -70
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +0 -14
- package/dist/field/features/paragraph/feature.client.d.ts +0 -3
- package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
- package/dist/field/features/paragraph/feature.client.js +0 -65
- package/dist/field/features/paragraph/feature.client.js.map +0 -1
- package/dist/field/features/paragraph/feature.server.d.ts +0 -3
- package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
- package/dist/field/features/paragraph/feature.server.js +0 -16
- package/dist/field/features/paragraph/feature.server.js.map +0 -1
- package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
- package/dist/field/features/relationship/drawer/commands.js +0 -5
- package/dist/field/features/relationship/drawer/commands.js.map +0 -1
- package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
- package/dist/field/features/relationship/drawer/index.js +0 -81
- package/dist/field/features/relationship/drawer/index.js.map +0 -1
- package/dist/field/features/relationship/feature.client.d.ts +0 -4
- package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
- package/dist/field/features/relationship/feature.client.js +0 -56
- package/dist/field/features/relationship/feature.client.js.map +0 -1
- package/dist/field/features/relationship/feature.server.d.ts +0 -18
- package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
- package/dist/field/features/relationship/feature.server.js +0 -26
- package/dist/field/features/relationship/feature.server.js.map +0 -1
- package/dist/field/features/relationship/nodes/RelationshipNode.d.ts +0 -36
- package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
- package/dist/field/features/relationship/nodes/RelationshipNode.js +0 -110
- package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts +0 -14
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -109
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
- package/dist/field/features/relationship/nodes/components/index.scss +0 -97
- package/dist/field/features/relationship/plugins/index.d.ts +0 -7
- package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
- package/dist/field/features/relationship/plugins/index.js +0 -52
- package/dist/field/features/relationship/plugins/index.js.map +0 -1
- package/dist/field/features/relationship/populationPromise.d.ts +0 -4
- package/dist/field/features/relationship/populationPromise.d.ts.map +0 -1
- package/dist/field/features/relationship/populationPromise.js +0 -24
- package/dist/field/features/relationship/populationPromise.js.map +0 -1
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -35
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
- package/dist/field/features/types.d.ts +0 -274
- package/dist/field/features/types.d.ts.map +0 -1
- package/dist/field/features/types.js +0 -3
- package/dist/field/features/types.js.map +0 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +0 -12
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -126
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
- package/dist/field/features/upload/component/index.d.ts +0 -9
- package/dist/field/features/upload/component/index.d.ts.map +0 -1
- package/dist/field/features/upload/component/index.js +0 -144
- package/dist/field/features/upload/component/index.js.map +0 -1
- package/dist/field/features/upload/component/index.scss +0 -152
- package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
- package/dist/field/features/upload/drawer/commands.js +0 -6
- package/dist/field/features/upload/drawer/commands.js.map +0 -1
- package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
- package/dist/field/features/upload/drawer/index.js +0 -78
- package/dist/field/features/upload/drawer/index.js.map +0 -1
- package/dist/field/features/upload/feature.client.d.ts +0 -10
- package/dist/field/features/upload/feature.client.d.ts.map +0 -1
- package/dist/field/features/upload/feature.client.js +0 -55
- package/dist/field/features/upload/feature.client.js.map +0 -1
- package/dist/field/features/upload/feature.server.d.ts +0 -12
- package/dist/field/features/upload/feature.server.d.ts.map +0 -1
- package/dist/field/features/upload/feature.server.js +0 -122
- package/dist/field/features/upload/feature.server.js.map +0 -1
- package/dist/field/features/upload/nodes/UploadNode.d.ts +0 -49
- package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
- package/dist/field/features/upload/nodes/UploadNode.js +0 -102
- package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
- package/dist/field/features/upload/plugin/index.d.ts +0 -7
- package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
- package/dist/field/features/upload/plugin/index.js +0 -55
- package/dist/field/features/upload/plugin/index.js.map +0 -1
- package/dist/field/features/upload/populationPromise.d.ts +0 -5
- package/dist/field/features/upload/populationPromise.d.ts.map +0 -1
- package/dist/field/features/upload/populationPromise.js +0 -46
- package/dist/field/features/upload/populationPromise.js.map +0 -1
- package/dist/field/features/upload/validate.d.ts +0 -4
- package/dist/field/features/upload/validate.d.ts.map +0 -1
- package/dist/field/features/upload/validate.js +0 -17
- package/dist/field/features/upload/validate.js.map +0 -1
- package/dist/field/index.scss +0 -46
- package/dist/field/lexical/EditorPlugin.d.ts +0 -7
- package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
- package/dist/field/lexical/EditorPlugin.js +0 -11
- package/dist/field/lexical/EditorPlugin.js.map +0 -1
- package/dist/field/lexical/LexicalEditor.d.ts +0 -5
- package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
- package/dist/field/lexical/LexicalEditor.js +0 -112
- package/dist/field/lexical/LexicalEditor.js.map +0 -1
- package/dist/field/lexical/LexicalEditor.scss +0 -56
- package/dist/field/lexical/LexicalProvider.d.ts +0 -19
- package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
- package/dist/field/lexical/LexicalProvider.js +0 -67
- package/dist/field/lexical/LexicalProvider.js.map +0 -1
- package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -24
- package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
- package/dist/field/lexical/config/client/EditorConfigProvider.js +0 -41
- package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
- package/dist/field/lexical/config/client/default.d.ts +0 -3
- package/dist/field/lexical/config/client/default.d.ts.map +0 -1
- package/dist/field/lexical/config/client/default.js +0 -8
- package/dist/field/lexical/config/client/default.js.map +0 -1
- package/dist/field/lexical/config/client/loader.d.ts +0 -12
- package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
- package/dist/field/lexical/config/client/loader.js +0 -46
- package/dist/field/lexical/config/client/loader.js.map +0 -1
- package/dist/field/lexical/config/client/sanitize.d.ts +0 -6
- package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
- package/dist/field/lexical/config/client/sanitize.js +0 -126
- package/dist/field/lexical/config/client/sanitize.js.map +0 -1
- package/dist/field/lexical/config/server/default.d.ts +0 -8
- package/dist/field/lexical/config/server/default.d.ts.map +0 -1
- package/dist/field/lexical/config/server/default.js +0 -53
- package/dist/field/lexical/config/server/default.js.map +0 -1
- package/dist/field/lexical/config/server/loader.d.ts +0 -7
- package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
- package/dist/field/lexical/config/server/loader.js +0 -118
- package/dist/field/lexical/config/server/loader.js.map +0 -1
- package/dist/field/lexical/config/server/sanitize.d.ts +0 -5
- package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
- package/dist/field/lexical/config/server/sanitize.js +0 -65
- package/dist/field/lexical/config/server/sanitize.js.map +0 -1
- package/dist/field/lexical/config/types.d.ts +0 -21
- package/dist/field/lexical/config/types.d.ts.map +0 -1
- package/dist/field/lexical/config/types.js +0 -3
- package/dist/field/lexical/config/types.js.map +0 -1
- package/dist/field/lexical/nodes/index.d.ts +0 -7
- package/dist/field/lexical/nodes/index.d.ts.map +0 -1
- package/dist/field/lexical/nodes/index.js +0 -10
- package/dist/field/lexical/nodes/index.js.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts +0 -8
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js +0 -97
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.scss +0 -37
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts +0 -17
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js +0 -251
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts +0 -18
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js +0 -42
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.scss +0 -100
- package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts +0 -6
- package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js +0 -270
- package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/index.scss +0 -57
- package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts +0 -40
- package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts.map +0 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js +0 -3
- package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js.map +0 -1
- package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/MarkdownShortcut/index.js +0 -13
- package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -32
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -404
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -25
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -207
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -39
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -39
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/index.d.ts +0 -6
- package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/index.js +0 -172
- package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/index.scss +0 -61
- package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js +0 -33
- package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -6
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +0 -241
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -31
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -2
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js +0 -14
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -14
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts +0 -27
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js +0 -151
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -3
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -27
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -6
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -298
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -55
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -3
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -49
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js +0 -35
- package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js +0 -14
- package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +0 -7
- package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js +0 -5
- package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js +0 -27
- package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
- package/dist/field/lexical/theme/EditorTheme.d.ts +0 -4
- package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
- package/dist/field/lexical/theme/EditorTheme.js +0 -106
- package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
- package/dist/field/lexical/theme/EditorTheme.scss +0 -509
- package/dist/field/lexical/ui/ContentEditable.d.ts +0 -6
- package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
- package/dist/field/lexical/ui/ContentEditable.js +0 -11
- package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
- package/dist/field/lexical/ui/ContentEditable.scss +0 -25
- package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AI/index.js +0 -27
- package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AlignCenter/index.js +0 -25
- package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AlignJustify/index.js +0 -25
- package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AlignLeft/index.js +0 -25
- package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AlignRight/index.js +0 -25
- package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Block/index.js +0 -34
- package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Blockquote/index.js +0 -16
- package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Bold/index.js +0 -16
- package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Caret/index.svg +0 -3
- package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Checklist/index.js +0 -24
- package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Code/index.js +0 -19
- package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/CodeBlock/index.js +0 -19
- package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H1/index.js +0 -16
- package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H2/index.js +0 -16
- package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H3/index.js +0 -16
- package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H4/index.js +0 -16
- package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H5/index.js +0 -16
- package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H6/index.js +0 -16
- package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/HorizontalRule/index.js +0 -19
- package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/IndentDecrease/index.js +0 -28
- package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/IndentIncrease/index.js +0 -28
- package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Italic/index.js +0 -16
- package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Link/index.js +0 -27
- package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/OrderedList/index.js +0 -31
- package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Relationship/index.js +0 -27
- package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Strikethrough/index.js +0 -19
- package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Subscript/index.js +0 -16
- package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Superscript/index.js +0 -16
- package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Text/index.js +0 -16
- package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Underline/index.js +0 -19
- package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/UnorderedList/index.js +0 -46
- package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Upload/index.js +0 -28
- package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
- package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
- package/dist/field/lexical/utils/canUseDOM.js +0 -3
- package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
- package/dist/field/lexical/utils/cloneDeep.d.ts +0 -2
- package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
- package/dist/field/lexical/utils/cloneDeep.js +0 -50
- package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
- package/dist/field/lexical/utils/environment.d.ts.map +0 -1
- package/dist/field/lexical/utils/environment.js +0 -14
- package/dist/field/lexical/utils/environment.js.map +0 -1
- package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
- package/dist/field/lexical/utils/getDOMRangeRect.js +0 -16
- package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
- package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
- package/dist/field/lexical/utils/getSelectedNode.js +0 -18
- package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
- package/dist/field/lexical/utils/guard.d.ts.map +0 -1
- package/dist/field/lexical/utils/guard.js +0 -5
- package/dist/field/lexical/utils/guard.js.map +0 -1
- package/dist/field/lexical/utils/invariant.d.ts +0 -2
- package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
- package/dist/field/lexical/utils/invariant.js +0 -12
- package/dist/field/lexical/utils/invariant.js.map +0 -1
- package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
- package/dist/field/lexical/utils/joinClasses.js +0 -5
- package/dist/field/lexical/utils/joinClasses.js.map +0 -1
- package/dist/field/lexical/utils/markdown/createBlockNode.d.ts +0 -4
- package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
- package/dist/field/lexical/utils/markdown/createBlockNode.js +0 -12
- package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
- package/dist/field/lexical/utils/nodeFormat.d.ts +0 -41
- package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
- package/dist/field/lexical/utils/nodeFormat.js +0 -88
- package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
- package/dist/field/lexical/utils/point.d.ts.map +0 -1
- package/dist/field/lexical/utils/point.js +0 -37
- package/dist/field/lexical/utils/point.js.map +0 -1
- package/dist/field/lexical/utils/rect.d.ts +0 -47
- package/dist/field/lexical/utils/rect.d.ts.map +0 -1
- package/dist/field/lexical/utils/rect.js +0 -138
- package/dist/field/lexical/utils/rect.js.map +0 -1
- package/dist/field/lexical/utils/setFloatingElemPosition.d.ts +0 -2
- package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
- package/dist/field/lexical/utils/setFloatingElemPosition.js +0 -53
- package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
- package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
- package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js +0 -27
- package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
- package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
- package/dist/field/lexical/utils/swipe.js +0 -100
- package/dist/field/lexical/utils/swipe.js.map +0 -1
- package/dist/field/lexical/utils/url.d.ts +0 -3
- package/dist/field/lexical/utils/url.d.ts.map +0 -1
- package/dist/field/lexical/utils/url.js +0 -25
- package/dist/field/lexical/utils/url.js.map +0 -1
- package/dist/generateComponentMap.d.ts +0 -6
- package/dist/generateComponentMap.d.ts.map +0 -1
- package/dist/generateComponentMap.js +0 -86
- package/dist/generateComponentMap.js.map +0 -1
- package/dist/generateSchemaMap.d.ts +0 -6
- package/dist/generateSchemaMap.d.ts.map +0 -1
- package/dist/generateSchemaMap.js +0 -31
- package/dist/generateSchemaMap.js.map +0 -1
- package/dist/populate/defaultValue.d.ts +0 -4
- package/dist/populate/defaultValue.d.ts.map +0 -1
- package/dist/populate/defaultValue.js +0 -50
- package/dist/populate/defaultValue.js.map +0 -1
- package/dist/populate/populate.d.ts +0 -21
- package/dist/populate/populate.d.ts.map +0 -1
- package/dist/populate/populate.js +0 -21
- package/dist/populate/populate.js.map +0 -1
- package/dist/populate/recurseNestedFields.d.ts +0 -25
- package/dist/populate/recurseNestedFields.d.ts.map +0 -1
- package/dist/populate/recurseNestedFields.js +0 -26
- package/dist/populate/recurseNestedFields.js.map +0 -1
- package/dist/populate/richTextRelationshipPromise.d.ts +0 -23
- package/dist/populate/richTextRelationshipPromise.d.ts.map +0 -1
- package/dist/populate/richTextRelationshipPromise.js +0 -68
- package/dist/populate/richTextRelationshipPromise.js.map +0 -1
- package/dist/scss/app.scss +0 -208
- package/dist/scss/colors.scss +0 -269
- package/dist/scss/queries.scss +0 -27
- package/dist/scss/resets.scss +0 -17
- package/dist/scss/styles.scss +0 -11
- package/dist/scss/svg.scss +0 -10
- package/dist/scss/toastify.scss +0 -58
- package/dist/scss/type.scss +0 -117
- package/dist/scss/vars.scss +0 -213
- package/dist/scss/z-index.scss +0 -9
- package/dist/useLexicalFeature.d.ts +0 -3
- package/dist/useLexicalFeature.d.ts.map +0 -1
- package/dist/useLexicalFeature.js +0 -9
- package/dist/useLexicalFeature.js.map +0 -1
- /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
- /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
- /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
- /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
- /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features/format/inlinecode → features/format/inlineCode}/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features/horizontalrule → features/horizontalRule/client}/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features/link → features/link/client}/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
- /package/dist/{field/features/link → features/link/client}/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
- /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
- /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features/lists/orderedlist → features/lists/orderedList}/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features/lists/unorderedlist → features/lists/unorderedList}/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
- /package/dist/{field/features/relationship → features/relationship/client}/drawer/commands.d.ts +0 -0
- /package/dist/{field/features/relationship → features/relationship/client}/drawer/index.d.ts +0 -0
- /package/dist/{field/features/relationship → features/relationship/client}/utils/EnabledRelationshipsCondition.d.ts +0 -0
- /package/dist/{field/features/upload → features/upload/client}/drawer/commands.d.ts +0 -0
- /package/dist/{field/features/upload → features/upload/client}/drawer/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
package/README.md
CHANGED
package/dist/cell/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type { EditorConfig as LexicalEditorConfig } from 'lexical
|
|
1
|
+
import type { EditorConfig as LexicalEditorConfig } from 'lexical';
|
|
2
|
+
import type { CellComponentProps, RichTextFieldClient } from 'payload';
|
|
2
3
|
import React from 'react';
|
|
4
|
+
import type { LexicalFieldAdminProps } from '../types.js';
|
|
3
5
|
export declare const RichTextCell: React.FC<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
readonly admin?: LexicalFieldAdminProps;
|
|
7
|
+
readonly lexicalEditorConfig: LexicalEditorConfig;
|
|
8
|
+
} & CellComponentProps<RichTextFieldClient>>;
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cell/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cell/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,mBAAmB,EAAE,MAAM,
|
|
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;AAOtE,OAAO,KAA6B,MAAM,OAAO,CAAA;AAIjD,OAAO,KAAK,EAAqC,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAS5F,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,CAuH5C,CAAA"}
|
package/dist/cell/index.js
CHANGED
|
@@ -1,131 +1,120 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import React, { useEffect,
|
|
10
|
-
import { defaultEditorLexicalConfig } from '../
|
|
11
|
-
import { loadClientFeatures } from '../
|
|
12
|
-
import { sanitizeClientEditorConfig } from '../
|
|
13
|
-
import { getEnabledNodes } from '../
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
if (!dataToUse || typeof dataToUse !== 'object') {
|
|
81
|
-
setPreview('');
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
// If data is from Slate and not Lexical
|
|
85
|
-
if (Array.isArray(dataToUse) && !('root' in dataToUse)) {
|
|
86
|
-
setPreview('');
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
// If data is from payload-plugin-lexical
|
|
90
|
-
if ('jsonContent' in dataToUse) {
|
|
91
|
-
setPreview('');
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
// initialize headless editor
|
|
95
|
-
const headlessEditor = createHeadlessEditor({
|
|
96
|
-
namespace: finalSanitizedEditorConfig.lexical.namespace,
|
|
97
|
-
nodes: getEnabledNodes({
|
|
98
|
-
editorConfig: finalSanitizedEditorConfig
|
|
99
|
-
}),
|
|
100
|
-
theme: finalSanitizedEditorConfig.lexical.theme
|
|
2
|
+
|
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
+
import { createHeadlessEditor } from '@lexical/headless';
|
|
5
|
+
import { useConfig, useTableCell } from '@payloadcms/ui';
|
|
6
|
+
import { formatAdminURL } from '@payloadcms/ui/shared';
|
|
7
|
+
import { $getRoot } from 'lexical';
|
|
8
|
+
import LinkImport from 'next/link.js';
|
|
9
|
+
import React, { useEffect, useMemo } from 'react';
|
|
10
|
+
import { defaultEditorLexicalConfig } from '../lexical/config/client/default.js';
|
|
11
|
+
import { loadClientFeatures } from '../lexical/config/client/loader.js';
|
|
12
|
+
import { sanitizeClientEditorConfig } from '../lexical/config/client/sanitize.js';
|
|
13
|
+
import { getEnabledNodes } from '../lexical/nodes/index.js';
|
|
14
|
+
const Link = LinkImport.default || LinkImport;
|
|
15
|
+
export const RichTextCell = props => {
|
|
16
|
+
const {
|
|
17
|
+
admin,
|
|
18
|
+
field: {
|
|
19
|
+
richTextComponentMap
|
|
20
|
+
},
|
|
21
|
+
lexicalEditorConfig
|
|
22
|
+
} = props;
|
|
23
|
+
const [preview, setPreview] = React.useState('Loading...');
|
|
24
|
+
const {
|
|
25
|
+
cellData,
|
|
26
|
+
cellProps,
|
|
27
|
+
columnIndex,
|
|
28
|
+
customCellContext,
|
|
29
|
+
rowData
|
|
30
|
+
} = useTableCell();
|
|
31
|
+
const {
|
|
32
|
+
config: {
|
|
33
|
+
routes: {
|
|
34
|
+
admin: adminRoute
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
} = useConfig();
|
|
38
|
+
const {
|
|
39
|
+
link
|
|
40
|
+
} = cellProps || {};
|
|
41
|
+
let WrapElement = 'span';
|
|
42
|
+
const wrapElementProps = {};
|
|
43
|
+
const isLink = link !== undefined ? link : columnIndex === 0;
|
|
44
|
+
if (isLink) {
|
|
45
|
+
WrapElement = Link;
|
|
46
|
+
wrapElementProps.href = customCellContext?.collectionSlug ? formatAdminURL({
|
|
47
|
+
adminRoute,
|
|
48
|
+
path: `/collections/${customCellContext?.collectionSlug}/${rowData.id}`
|
|
49
|
+
}) : '';
|
|
50
|
+
}
|
|
51
|
+
const finalSanitizedEditorConfig = useMemo(() => {
|
|
52
|
+
const clientFeatures = richTextComponentMap?.get('features');
|
|
53
|
+
const featureProvidersLocal = [];
|
|
54
|
+
for (const clientFeature of clientFeatures) {
|
|
55
|
+
featureProvidersLocal.push(clientFeature.clientFeature(clientFeature.clientFeatureProps));
|
|
56
|
+
}
|
|
57
|
+
const finalLexicalEditorConfig = lexicalEditorConfig ? lexicalEditorConfig : defaultEditorLexicalConfig;
|
|
58
|
+
const resolvedClientFeatures = loadClientFeatures({
|
|
59
|
+
unSanitizedEditorConfig: {
|
|
60
|
+
features: featureProvidersLocal,
|
|
61
|
+
lexical: finalLexicalEditorConfig
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
return sanitizeClientEditorConfig(resolvedClientFeatures, finalLexicalEditorConfig);
|
|
65
|
+
}, [richTextComponentMap, lexicalEditorConfig]);
|
|
66
|
+
finalSanitizedEditorConfig.admin = admin;
|
|
67
|
+
useEffect(() => {
|
|
68
|
+
let dataToUse = cellData;
|
|
69
|
+
if (dataToUse == null || !finalSanitizedEditorConfig) {
|
|
70
|
+
setPreview('');
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
// Transform data through load hooks
|
|
74
|
+
if (finalSanitizedEditorConfig?.features?.hooks?.load?.length) {
|
|
75
|
+
finalSanitizedEditorConfig.features.hooks.load.forEach(hook => {
|
|
76
|
+
dataToUse = hook({
|
|
77
|
+
incomingEditorState: dataToUse
|
|
101
78
|
});
|
|
102
|
-
|
|
103
|
-
const textContent = headlessEditor.getEditorState().read(()=>{
|
|
104
|
-
return $getRoot().getTextContent();
|
|
105
|
-
}) || '';
|
|
106
|
-
// Limiting the number of characters shown is done in a CSS rule
|
|
107
|
-
setPreview(textContent);
|
|
108
|
-
}, [
|
|
109
|
-
cellData,
|
|
110
|
-
lexicalEditorConfig,
|
|
111
|
-
hasLoadedFeatures,
|
|
112
|
-
finalSanitizedEditorConfig
|
|
113
|
-
]);
|
|
114
|
-
if (!hasLoadedFeatures) {
|
|
115
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, null, Array.isArray(featureProviderComponents) && featureProviderComponents.map((featureProvider)=>{
|
|
116
|
-
// get all components starting with key feature.${FeatureProvider.key}.components.{featureComponentKey}
|
|
117
|
-
const featureComponentKeys = Array.from(richTextComponentMap.keys()).filter((key)=>key.startsWith(`feature.${featureProvider.key}.components.`));
|
|
118
|
-
const featureComponents = featureComponentKeys.map((key)=>{
|
|
119
|
-
return richTextComponentMap.get(key);
|
|
120
|
-
});
|
|
121
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, {
|
|
122
|
-
key: featureProvider.key
|
|
123
|
-
}, featureComponents?.length ? featureComponents.map((FeatureComponent)=>{
|
|
124
|
-
return FeatureComponent;
|
|
125
|
-
}) : null, featureProvider.ClientComponent);
|
|
126
|
-
}));
|
|
79
|
+
});
|
|
127
80
|
}
|
|
128
|
-
|
|
81
|
+
if (!dataToUse || typeof dataToUse !== 'object') {
|
|
82
|
+
setPreview('');
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
// If data is from Slate and not Lexical
|
|
86
|
+
if (Array.isArray(dataToUse) && !('root' in dataToUse)) {
|
|
87
|
+
setPreview('');
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
// If data is from payload-plugin-lexical
|
|
91
|
+
if ('jsonContent' in dataToUse) {
|
|
92
|
+
setPreview('');
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
// initialize headless editor
|
|
96
|
+
const headlessEditor = createHeadlessEditor({
|
|
97
|
+
namespace: finalSanitizedEditorConfig.lexical.namespace,
|
|
98
|
+
nodes: getEnabledNodes({
|
|
99
|
+
editorConfig: finalSanitizedEditorConfig
|
|
100
|
+
}),
|
|
101
|
+
theme: finalSanitizedEditorConfig.lexical.theme
|
|
102
|
+
});
|
|
103
|
+
headlessEditor.setEditorState(headlessEditor.parseEditorState(dataToUse));
|
|
104
|
+
const textContent = headlessEditor.getEditorState().read(() => {
|
|
105
|
+
return $getRoot().getTextContent();
|
|
106
|
+
}) || '';
|
|
107
|
+
// Limiting the number of characters shown is done in a CSS rule
|
|
108
|
+
setPreview(textContent);
|
|
109
|
+
}, [cellData, finalSanitizedEditorConfig]);
|
|
110
|
+
if (isLink) {
|
|
111
|
+
return /*#__PURE__*/_jsx(WrapElement, {
|
|
112
|
+
...wrapElementProps,
|
|
113
|
+
children: preview
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
return /*#__PURE__*/_jsx("span", {
|
|
117
|
+
children: preview
|
|
118
|
+
});
|
|
129
119
|
};
|
|
130
|
-
|
|
131
120
|
//# sourceMappingURL=index.js.map
|
package/dist/cell/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/cell/index.tsx"],"sourcesContent":["'use client'\nimport type { EditorConfig as LexicalEditorConfig } from 'lexical/LexicalEditor.js'\n\nimport lexicalHeadlessImport from '@lexical/headless'\nconst { createHeadlessEditor } = lexicalHeadlessImport\nimport lexicalImport from 'lexical'\nconst { $getRoot } = lexicalImport\nimport { useTableCell } from '@payloadcms/ui/elements/Table'\nimport { useFieldProps } from '@payloadcms/ui/forms/FieldPropsProvider'\nimport { useClientFunctions } from '@payloadcms/ui/providers/ClientFunction'\nimport React, { useEffect, useState } from 'react'\n\nimport type { FeatureProviderClient } from '../field/features/types.js'\nimport type { SanitizedClientEditorConfig } from '../field/lexical/config/types.js'\nimport type { GeneratedFeatureProviderComponent } from '../types.js'\n\nimport { defaultEditorLexicalConfig } from '../field/lexical/config/client/default.js'\nimport { loadClientFeatures } from '../field/lexical/config/client/loader.js'\nimport { sanitizeClientEditorConfig } from '../field/lexical/config/client/sanitize.js'\nimport { getEnabledNodes } from '../field/lexical/nodes/index.js'\n\nexport const RichTextCell: React.FC<{\n lexicalEditorConfig: LexicalEditorConfig\n}> = (props) => {\n const { lexicalEditorConfig } = props\n\n const [preview, setPreview] = React.useState('Loading...')\n const { schemaPath } = useFieldProps()\n\n const { cellData, richTextComponentMap } = useTableCell()\n\n const clientFunctions = useClientFunctions()\n const [hasLoadedFeatures, setHasLoadedFeatures] = useState(false)\n\n const [featureProviders, setFeatureProviders] = useState<FeatureProviderClient<unknown>[]>([])\n\n const [finalSanitizedEditorConfig, setFinalSanitizedEditorConfig] =\n useState<SanitizedClientEditorConfig>(null)\n\n let featureProviderComponents: GeneratedFeatureProviderComponent[] = richTextComponentMap.get(\n 'features',\n ) as GeneratedFeatureProviderComponent[] // TODO: Type better\n // order by order\n featureProviderComponents = featureProviderComponents.sort((a, b) => a.order - b.order)\n\n const featureComponentsWithFeaturesLength =\n Array.from(richTextComponentMap.keys()).filter(\n (key) => key.startsWith(`feature.`) && !key.includes('.fields.'),\n ).length + featureProviderComponents.length\n\n useEffect(() => {\n if (!hasLoadedFeatures) {\n const featureProvidersLocal: FeatureProviderClient<unknown>[] = []\n let featureProvidersAndComponentsLoaded = 0\n\n Object.entries(clientFunctions).forEach(([key, plugin]) => {\n if (key.startsWith(`lexicalFeature.${schemaPath}.`)) {\n if (!key.includes('.components.')) {\n featureProvidersLocal.push(plugin)\n }\n featureProvidersAndComponentsLoaded++\n }\n })\n\n if (featureProvidersAndComponentsLoaded === featureComponentsWithFeaturesLength) {\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,\n unSanitizedEditorConfig: {\n features: featureProvidersLocal,\n lexical: lexicalEditorConfig,\n },\n })\n\n setFinalSanitizedEditorConfig(\n sanitizeClientEditorConfig(\n lexicalEditorConfig ? lexicalEditorConfig : defaultEditorLexicalConfig,\n resolvedClientFeatures,\n ),\n )\n }\n }\n }, [\n hasLoadedFeatures,\n clientFunctions,\n schemaPath,\n featureProviderComponents.length,\n featureProviders,\n finalSanitizedEditorConfig,\n lexicalEditorConfig,\n featureComponentsWithFeaturesLength,\n ])\n\n useEffect(() => {\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(`feature.${featureProvider.key}.components.`),\n )\n const featureComponents: React.ReactNode[] = featureComponentKeys.map((key) => {\n return richTextComponentMap.get(key)\n })\n\n return (\n <React.Fragment key={featureProvider.key}>\n {featureComponents?.length\n ? featureComponents.map((FeatureComponent) => {\n return FeatureComponent\n })\n : null}\n {featureProvider.ClientComponent}\n </React.Fragment>\n )\n })}\n </React.Fragment>\n )\n }\n\n return <span>{preview}</span>\n}\n"],"names":["lexicalHeadlessImport","createHeadlessEditor","lexicalImport","$getRoot","useTableCell","useFieldProps","useClientFunctions","React","useEffect","useState","defaultEditorLexicalConfig","loadClientFeatures","sanitizeClientEditorConfig","getEnabledNodes","RichTextCell","props","lexicalEditorConfig","preview","setPreview","schemaPath","cellData","richTextComponentMap","clientFunctions","hasLoadedFeatures","setHasLoadedFeatures","featureProviders","setFeatureProviders","finalSanitizedEditorConfig","setFinalSanitizedEditorConfig","featureProviderComponents","get","sort","a","b","order","featureComponentsWithFeaturesLength","Array","from","keys","filter","key","startsWith","includes","length","featureProvidersLocal","featureProvidersAndComponentsLoaded","Object","entries","forEach","plugin","push","resolvedClientFeatures","unSanitizedEditorConfig","features","lexical","dataToUse","hooks","load","hook","incomingEditorState","isArray","headlessEditor","namespace","nodes","editorConfig","theme","setEditorState","parseEditorState","textContent","getEditorState","read","getTextContent","Fragment","map","featureProvider","featureComponentKeys","featureComponents","FeatureComponent","ClientComponent","span"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;AAGA,OAAOA,2BAA2B,oBAAmB;AACrD,MAAM,EAAEC,oBAAoB,EAAE,GAAGD;AACjC,OAAOE,mBAAmB,UAAS;AACnC,MAAM,EAAEC,QAAQ,EAAE,GAAGD;AACrB,SAASE,YAAY,QAAQ,gCAA+B;AAC5D,SAASC,aAAa,QAAQ,0CAAyC;AACvE,SAASC,kBAAkB,QAAQ,0CAAyC;AAC5E,OAAOC,SAASC,SAAS,EAAEC,QAAQ,QAAQ,QAAO;AAMlD,SAASC,0BAA0B,QAAQ,4CAA2C;AACtF,SAASC,kBAAkB,QAAQ,2CAA0C;AAC7E,SAASC,0BAA0B,QAAQ,6CAA4C;AACvF,SAASC,eAAe,QAAQ,kCAAiC;AAEjE,OAAO,MAAMC,eAER,CAACC;IACJ,MAAM,EAAEC,mBAAmB,EAAE,GAAGD;IAEhC,MAAM,CAACE,SAASC,WAAW,GAAGX,MAAME,QAAQ,CAAC;IAC7C,MAAM,EAAEU,UAAU,EAAE,GAAGd;IAEvB,MAAM,EAAEe,QAAQ,EAAEC,oBAAoB,EAAE,GAAGjB;IAE3C,MAAMkB,kBAAkBhB;IACxB,MAAM,CAACiB,mBAAmBC,qBAAqB,GAAGf,SAAS;IAE3D,MAAM,CAACgB,kBAAkBC,oBAAoB,GAAGjB,SAA2C,EAAE;IAE7F,MAAM,CAACkB,4BAA4BC,8BAA8B,GAC/DnB,SAAsC;IAExC,IAAIoB,4BAAiER,qBAAqBS,GAAG,CAC3F,WACuC,oBAAoB;;IAC7D,iBAAiB;IACjBD,4BAA4BA,0BAA0BE,IAAI,CAAC,CAACC,GAAGC,IAAMD,EAAEE,KAAK,GAAGD,EAAEC,KAAK;IAEtF,MAAMC,sCACJC,MAAMC,IAAI,CAAChB,qBAAqBiB,IAAI,IAAIC,MAAM,CAC5C,CAACC,MAAQA,IAAIC,UAAU,CAAC,CAAC,QAAQ,CAAC,KAAK,CAACD,IAAIE,QAAQ,CAAC,aACrDC,MAAM,GAAGd,0BAA0Bc,MAAM;IAE7CnC,UAAU;QACR,IAAI,CAACe,mBAAmB;YACtB,MAAMqB,wBAA0D,EAAE;YAClE,IAAIC,sCAAsC;YAE1CC,OAAOC,OAAO,CAACzB,iBAAiB0B,OAAO,CAAC,CAAC,CAACR,KAAKS,OAAO;gBACpD,IAAIT,IAAIC,UAAU,CAAC,CAAC,eAAe,EAAEtB,WAAW,CAAC,CAAC,GAAG;oBACnD,IAAI,CAACqB,IAAIE,QAAQ,CAAC,iBAAiB;wBACjCE,sBAAsBM,IAAI,CAACD;oBAC7B;oBACAJ;gBACF;YACF;YAEA,IAAIA,wCAAwCV,qCAAqC;gBAC/ET,oBAAoBkB;gBACpBpB,qBAAqB;gBAErB;;SAEC,GAED,MAAM2B,yBAAyBxC,mBAAmB;oBAChDW;oBACAH;oBACAiC,yBAAyB;wBACvBC,UAAUT;wBACVU,SAAStC;oBACX;gBACF;gBAEAY,8BACEhB,2BACEI,sBAAsBA,sBAAsBN,4BAC5CyC;YAGN;QACF;IACF,GAAG;QACD5B;QACAD;QACAH;QACAU,0BAA0Bc,MAAM;QAChClB;QACAE;QACAX;QACAmB;KACD;IAED3B,UAAU;QACR,IAAI+C,YAAYnC;QAChB,IAAImC,aAAa,QAAQ,CAAChC,qBAAqB,CAACI,4BAA4B;YAC1ET,WAAW;YACX;QACF;QAEA,oCAAoC;QACpC,IAAIS,4BAA4B0B,UAAUG,OAAOC,MAAMd,QAAQ;YAC7DhB,2BAA2B0B,QAAQ,CAACG,KAAK,CAACC,IAAI,CAACT,OAAO,CAAC,CAACU;gBACtDH,YAAYG,KAAK;oBAAEC,qBAAqBJ;gBAAU;YACpD;QACF;QAEA,IAAI,CAACA,aAAa,OAAOA,cAAc,UAAU;YAC/CrC,WAAW;YACX;QACF;QAEA,wCAAwC;QACxC,IAAIkB,MAAMwB,OAAO,CAACL,cAAc,CAAE,CAAA,UAAUA,SAAQ,GAAI;YACtDrC,WAAW;YACX;QACF;QAEA,yCAAyC;QACzC,IAAI,iBAAiBqC,WAAW;YAC9BrC,WAAW;YACX;QACF;QAEA,6BAA6B;QAC7B,MAAM2C,iBAAiB5D,qBAAqB;YAC1C6D,WAAWnC,2BAA2B2B,OAAO,CAACQ,SAAS;YACvDC,OAAOlD,gBAAgB;gBAAEmD,cAAcrC;YAA2B;YAClEsC,OAAOtC,2BAA2B2B,OAAO,CAACW,KAAK;QACjD;QACAJ,eAAeK,cAAc,CAACL,eAAeM,gBAAgB,CAACZ;QAE9D,MAAMa,cACJP,eAAeQ,cAAc,GAAGC,IAAI,CAAC;YACnC,OAAOnE,WAAWoE,cAAc;QAClC,MAAM;QAER,gEAAgE;QAChErD,WAAWkD;IACb,GAAG;QAAChD;QAAUJ;QAAqBO;QAAmBI;KAA2B;IAEjF,IAAI,CAACJ,mBAAmB;QACtB,qBACE,oBAAChB,MAAMiE,QAAQ,QACZpC,MAAMwB,OAAO,CAAC/B,8BACbA,0BAA0B4C,GAAG,CAAC,CAACC;YAC7B,uGAAuG;YACvG,MAAMC,uBAAuBvC,MAAMC,IAAI,CAAChB,qBAAqBiB,IAAI,IAAIC,MAAM,CAAC,CAACC,MAC3EA,IAAIC,UAAU,CAAC,CAAC,QAAQ,EAAEiC,gBAAgBlC,GAAG,CAAC,YAAY,CAAC;YAE7D,MAAMoC,oBAAuCD,qBAAqBF,GAAG,CAAC,CAACjC;gBACrE,OAAOnB,qBAAqBS,GAAG,CAACU;YAClC;YAEA,qBACE,oBAACjC,MAAMiE,QAAQ;gBAAChC,KAAKkC,gBAAgBlC,GAAG;eACrCoC,mBAAmBjC,SAChBiC,kBAAkBH,GAAG,CAAC,CAACI;gBACrB,OAAOA;YACT,KACA,MACHH,gBAAgBI,eAAe;QAGtC;IAGR;IAEA,qBAAO,oBAACC,cAAM9D;AAChB,EAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["createHeadlessEditor","useConfig","useTableCell","formatAdminURL","$getRoot","LinkImport","React","useEffect","useMemo","defaultEditorLexicalConfig","loadClientFeatures","sanitizeClientEditorConfig","getEnabledNodes","Link","default","RichTextCell","props","admin","field","richTextComponentMap","lexicalEditorConfig","preview","setPreview","useState","cellData","cellProps","columnIndex","customCellContext","rowData","config","routes","adminRoute","link","WrapElement","wrapElementProps","isLink","undefined","href","collectionSlug","path","id","finalSanitizedEditorConfig","clientFeatures","get","featureProvidersLocal","clientFeature","push","clientFeatureProps","finalLexicalEditorConfig","resolvedClientFeatures","unSanitizedEditorConfig","features","lexical","dataToUse","hooks","load","length","forEach","hook","incomingEditorState","Array","isArray","headlessEditor","namespace","nodes","editorConfig","theme","setEditorState","parseEditorState","textContent","getEditorState","read","getTextContent","_jsx"],"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 { useConfig, useTableCell } from '@payloadcms/ui'\nimport { formatAdminURL } from '@payloadcms/ui/shared'\nimport { $getRoot } from 'lexical'\nimport LinkImport from 'next/link.js'\nimport React, { useEffect, useMemo } 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\nconst Link = (LinkImport.default || LinkImport) as unknown as typeof LinkImport.default\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: { richTextComponentMap },\n lexicalEditorConfig,\n } = props\n\n const [preview, setPreview] = React.useState('Loading...')\n\n const { cellData, cellProps, columnIndex, customCellContext, rowData } = useTableCell()\n\n const {\n config: {\n routes: { admin: adminRoute },\n },\n } = useConfig()\n\n const { link } = cellProps || {}\n let WrapElement: React.ComponentType<any> | string = 'span'\n\n const wrapElementProps: {\n className?: string\n href?: string\n onClick?: () => void\n type?: 'button'\n } = {}\n\n const isLink = link !== undefined ? link : columnIndex === 0\n\n if (isLink) {\n WrapElement = Link\n wrapElementProps.href = customCellContext?.collectionSlug\n ? formatAdminURL({\n adminRoute,\n path: `/collections/${customCellContext?.collectionSlug}/${rowData.id}`,\n })\n : ''\n }\n\n const finalSanitizedEditorConfig = useMemo<SanitizedClientEditorConfig>(() => {\n const clientFeatures: GeneratedFeatureProviderComponent[] = richTextComponentMap?.get(\n 'features',\n ) as GeneratedFeatureProviderComponent[]\n\n const featureProvidersLocal: FeatureProviderClient<any, any>[] = []\n for (const clientFeature of clientFeatures) {\n featureProvidersLocal.push(clientFeature.clientFeature(clientFeature.clientFeatureProps))\n }\n\n const finalLexicalEditorConfig = lexicalEditorConfig\n ? lexicalEditorConfig\n : defaultEditorLexicalConfig\n\n const resolvedClientFeatures = loadClientFeatures({\n unSanitizedEditorConfig: {\n features: featureProvidersLocal,\n lexical: finalLexicalEditorConfig,\n },\n })\n\n return sanitizeClientEditorConfig(resolvedClientFeatures, finalLexicalEditorConfig)\n }, [richTextComponentMap, lexicalEditorConfig])\n\n finalSanitizedEditorConfig.admin = admin\n\n useEffect(() => {\n let dataToUse = cellData\n if (dataToUse == null || !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, finalSanitizedEditorConfig])\n\n if (isLink) {\n return <WrapElement {...wrapElementProps}>{preview}</WrapElement>\n }\n\n return <span>{preview}</span>\n}\n"],"mappings":"AAAA;;;AAIA,SAASA,oBAAoB,QAAQ;AACrC,SAASC,SAAS,EAAEC,YAAY,QAAQ;AACxC,SAASC,cAAc,QAAQ;AAC/B,SAASC,QAAQ,QAAQ;AACzB,OAAOC,UAAA,MAAgB;AACvB,OAAOC,KAAA,IAASC,SAAS,EAAEC,OAAO,QAAQ;AAM1C,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,kBAAkB,QAAQ;AACnC,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,eAAe,QAAQ;AAEhC,MAAMC,IAAA,GAAQR,UAAA,CAAWS,OAAO,IAAIT,UAAA;AAEpC,OAAO,MAAMU,YAAA,GAKRC,KAAA;EACH,MAAM;IACJC,KAAK;IACLC,KAAA,EAAO;MAAEC;IAAoB,CAAE;IAC/BC;EAAmB,CACpB,GAAGJ,KAAA;EAEJ,MAAM,CAACK,OAAA,EAASC,UAAA,CAAW,GAAGhB,KAAA,CAAMiB,QAAQ,CAAC;EAE7C,MAAM;IAAEC,QAAQ;IAAEC,SAAS;IAAEC,WAAW;IAAEC,iBAAiB;IAAEC;EAAO,CAAE,GAAG1B,YAAA;EAEzE,MAAM;IACJ2B,MAAA,EAAQ;MACNC,MAAA,EAAQ;QAAEb,KAAA,EAAOc;MAAU;IAAE;EAC9B,CACF,GAAG9B,SAAA;EAEJ,MAAM;IAAE+B;EAAI,CAAE,GAAGP,SAAA,IAAa,CAAC;EAC/B,IAAIQ,WAAA,GAAiD;EAErD,MAAMC,gBAAA,GAKF,CAAC;EAEL,MAAMC,MAAA,GAASH,IAAA,KAASI,SAAA,GAAYJ,IAAA,GAAON,WAAA,KAAgB;EAE3D,IAAIS,MAAA,EAAQ;IACVF,WAAA,GAAcpB,IAAA;IACdqB,gBAAA,CAAiBG,IAAI,GAAGV,iBAAA,EAAmBW,cAAA,GACvCnC,cAAA,CAAe;MACb4B,UAAA;MACAQ,IAAA,EAAM,gBAAgBZ,iBAAA,EAAmBW,cAAA,IAAkBV,OAAA,CAAQY,EAAE;IACvE,KACA;EACN;EAEA,MAAMC,0BAAA,GAA6BjC,OAAA,CAAqC;IACtE,MAAMkC,cAAA,GAAsDvB,oBAAA,EAAsBwB,GAAA,CAChF;IAGF,MAAMC,qBAAA,GAA2D,EAAE;IACnE,KAAK,MAAMC,aAAA,IAAiBH,cAAA,EAAgB;MAC1CE,qBAAA,CAAsBE,IAAI,CAACD,aAAA,CAAcA,aAAa,CAACA,aAAA,CAAcE,kBAAkB;IACzF;IAEA,MAAMC,wBAAA,GAA2B5B,mBAAA,GAC7BA,mBAAA,GACAX,0BAAA;IAEJ,MAAMwC,sBAAA,GAAyBvC,kBAAA,CAAmB;MAChDwC,uBAAA,EAAyB;QACvBC,QAAA,EAAUP,qBAAA;QACVQ,OAAA,EAASJ;MACX;IACF;IAEA,OAAOrC,0BAAA,CAA2BsC,sBAAA,EAAwBD,wBAAA;EAC5D,GAAG,CAAC7B,oBAAA,EAAsBC,mBAAA,CAAoB;EAE9CqB,0BAAA,CAA2BxB,KAAK,GAAGA,KAAA;EAEnCV,SAAA,CAAU;IACR,IAAI8C,SAAA,GAAY7B,QAAA;IAChB,IAAI6B,SAAA,IAAa,QAAQ,CAACZ,0BAAA,EAA4B;MACpDnB,UAAA,CAAW;MACX;IACF;IAEA;IACA,IAAImB,0BAAA,EAA4BU,QAAA,EAAUG,KAAA,EAAOC,IAAA,EAAMC,MAAA,EAAQ;MAC7Df,0BAAA,CAA2BU,QAAQ,CAACG,KAAK,CAACC,IAAI,CAACE,OAAO,CAAEC,IAAA;QACtDL,SAAA,GAAYK,IAAA,CAAK;UAAEC,mBAAA,EAAqBN;QAAU;MACpD;IACF;IAEA,IAAI,CAACA,SAAA,IAAa,OAAOA,SAAA,KAAc,UAAU;MAC/C/B,UAAA,CAAW;MACX;IACF;IAEA;IACA,IAAIsC,KAAA,CAAMC,OAAO,CAACR,SAAA,KAAc,EAAE,UAAUA,SAAQ,GAAI;MACtD/B,UAAA,CAAW;MACX;IACF;IAEA;IACA,IAAI,iBAAiB+B,SAAA,EAAW;MAC9B/B,UAAA,CAAW;MACX;IACF;IAEA;IACA,MAAMwC,cAAA,GAAiB9D,oBAAA,CAAqB;MAC1C+D,SAAA,EAAWtB,0BAAA,CAA2BW,OAAO,CAACW,SAAS;MACvDC,KAAA,EAAOpD,eAAA,CAAgB;QAAEqD,YAAA,EAAcxB;MAA2B;MAClEyB,KAAA,EAAOzB,0BAAA,CAA2BW,OAAO,CAACc;IAC5C;IACAJ,cAAA,CAAeK,cAAc,CAACL,cAAA,CAAeM,gBAAgB,CAACf,SAAA;IAE9D,MAAMgB,WAAA,GACJP,cAAA,CAAeQ,cAAc,GAAGC,IAAI,CAAC;MACnC,OAAOnE,QAAA,GAAWoE,cAAc;IAClC,MAAM;IAER;IACAlD,UAAA,CAAW+C,WAAA;EACb,GAAG,CAAC7C,QAAA,EAAUiB,0BAAA,CAA2B;EAEzC,IAAIN,MAAA,EAAQ;IACV,oBAAOsC,IAAA,CAACxC,WAAA;MAAa,GAAGC,gBAAgB;gBAAGb;;EAC7C;EAEA,oBAAOoD,IAAA,CAAC;cAAMpD;;AAChB","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import{jsx as o,jsxs as t}from"react/jsx-runtime";import"react";var c=n=>{let{data:e}=n;return t("div",{children:["Unknown converted Slate node: ",o("strong",{children:e?.nodeType})]})};export{c as UnknownConvertedNodeComponent};
|
|
2
|
+
//# sourceMappingURL=Component-DOSSWC76.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.tsx"],
|
|
4
|
+
"sourcesContent": ["'use client'\nimport React from 'react'\n\nimport type { UnknownConvertedNodeData } from './index.js'\n\nimport './index.scss'\n\ntype Props = {\n data: UnknownConvertedNodeData\n}\n\nexport const UnknownConvertedNodeComponent: React.FC<Props> = (props) => {\n const { data } = props\n\n return (\n <div>\n Unknown converted Slate node: <strong>{data?.nodeType}</strong>\n </div>\n )\n}\n"],
|
|
5
|
+
"mappings": "+DACA,MAAkB,QAUX,IAAMA,EAAkDC,GAAA,CAC7D,GAAM,CAAEC,KAAAA,CAAI,EAAKD,EAEjB,OACEE,EAAC,MAAA,WAAI,iCAC2BC,EAAC,SAAA,UAAQF,GAAMG,aAGnD",
|
|
6
|
+
"names": ["UnknownConvertedNodeComponent", "props", "data", "_jsxs", "_jsx", "nodeType"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import{jsx as e,jsxs as t}from"react/jsx-runtime";import"react";var a=n=>{let{data:o}=n;return t("div",{children:["Unknown converted payload-plugin-lexical node: ",e("strong",{children:o?.nodeType})]})};export{a as UnknownConvertedNodeComponent};
|
|
2
|
+
//# sourceMappingURL=Component-MBLHTKDK.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.tsx"],
|
|
4
|
+
"sourcesContent": ["'use client'\nimport React from 'react'\n\nimport type { UnknownConvertedNodeData } from './index.js'\n\nimport './index.scss'\n\ntype Props = {\n data: UnknownConvertedNodeData\n}\n\nexport const UnknownConvertedNodeComponent: React.FC<Props> = (props) => {\n const { data } = props\n\n return (\n <div>\n Unknown converted payload-plugin-lexical node: <strong>{data?.nodeType}</strong>\n </div>\n )\n}\n"],
|
|
5
|
+
"mappings": "+DACA,MAAkB,QAUX,IAAMA,EAAkDC,GAAA,CAC7D,GAAM,CAAEC,KAAAA,CAAI,EAAKD,EAEjB,OACEE,EAAC,MAAA,WAAI,kDAC4CC,EAAC,SAAA,UAAQF,GAAMG,aAGpE",
|
|
6
|
+
"names": ["UnknownConvertedNodeComponent", "props", "data", "_jsxs", "_jsx", "nodeType"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";import{a as ue,b as H,c as B,e as pe,f as ge,g as he,h as ye}from"./chunk-IIWHHN4J.js";import{a as fe,b as R}from"./chunk-GD6LBQBJ.js";import{jsx as $,jsxs as ce}from"react/jsx-runtime";import{FieldDescription as Ut,FieldError as Vt,FieldLabel as qt,useEditDepth as Jt,useField as Qt,useFieldProps as Xt,withCondition as Zt}from"@payloadcms/ui";import{useCallback as eo}from"react";import{ErrorBoundary as to}from"react-error-boundary";import{jsx as I}from"react/jsx-runtime";import{LexicalComposer as Yt}from"@lexical/react/LexicalComposer.js";import*as qe from"react";import{useMemo as Ve}from"react";import{c as Bt}from"react/compiler-runtime";import{jsx as k,jsxs as q}from"react/jsx-runtime";import{useLexicalComposerContext as It}from"@lexical/react/LexicalComposerContext.js";import{LexicalErrorBoundary as At}from"@lexical/react/LexicalErrorBoundary.js";import{HistoryPlugin as Dt}from"@lexical/react/LexicalHistoryPlugin.js";import{OnChangePlugin as Ft}from"@lexical/react/LexicalOnChangePlugin.js";import{RichTextPlugin as Ot}from"@lexical/react/LexicalRichTextPlugin.js";import{TabIndentationPlugin as _t}from"@lexical/react/LexicalTabIndentationPlugin.js";import{BLUR_COMMAND as $t,COMMAND_PRIORITY_LOW as Ge,FOCUS_COMMAND as Ht}from"lexical";import*as W from"react";import{useEffect as We,useState as Ye}from"react";import{jsx as xe}from"react/jsx-runtime";import"react";var F=({anchorElem:t,clientProps:e,plugin:o})=>o.position==="floatingAnchorElem"&&t?o.Component&&xe(o.Component,{anchorElem:t,clientProps:e}):o.Component&&xe(o.Component,{clientProps:e});import{jsx as le}from"react/jsx-runtime";import{useLexicalComposerContext as rt}from"@lexical/react/LexicalComposerContext.js";import{$createParagraphNode as it}from"lexical";import*as Ne from"react";import{useCallback as st,useEffect as Ce,useRef as lt,useState as at}from"react";import{createPortal as ct}from"react-dom";var j=(t,e,o,a,r=50,d=25)=>{let f=0;if(t&&!t.contains(a)){let{bottom:c,left:m,right:p,top:y}=t.getBoundingClientRect(),s=y+window.scrollY,n=c+window.scrollY;if(o<s-d||o>n+d||e<m-r||e>p+r)return-1;(e<m||e>p)&&(f=e<m?e-m:e-p)}return f};import{$getNodeByKey as Z}from"lexical";function z(t){let e=t.getBoundingClientRect(),o=getComputedStyle(t).getPropertyValue("transform");if(!o||o==="none")return e;let a=o.split(",").pop();return e.y=e.y-Number(a?.replace(")","")),e}function X(t){let e=(m,p)=>m?parseFloat(window.getComputedStyle(m)[p]):0,{marginBottom:o,marginTop:a}=window.getComputedStyle(t),r=e(t.previousElementSibling,"marginBottom"),d=e(t.nextElementSibling,"marginTop"),f=Math.max(parseFloat(a),r);return{marginBottom:Math.max(parseFloat(o),d),marginTop:f}}import{$getRoot as Ze}from"lexical";function O(t){return t.getEditorState().read(()=>Ze().getChildrenKeys())}var et=1,tt=-1,Ee=0,L={props:null,result:null};function ot(t,e,o=20){let a=t.x-e.x,r=t.y-e.y;return a*a+r*r<=o*o}function K(t){let{anchorElem:e,cache_threshold:o=20,editor:a,fuzzy:r=!1,horizontalOffset:d=0,point:{x:f,y:c},startIndex:m=0,useEdgeAsDefault:p=!1}=t;if(o>0&&L.props&&L.result&&L.props.fuzzy===t.fuzzy&&L.props.horizontalOffset===t.horizontalOffset&&L.props.useEdgeAsDefault===t.useEdgeAsDefault&&ot(L.props.point,t.point,o))return L.result;let y=e.getBoundingClientRect(),s=O(a),n={blockElem:null,blockNode:null,distance:1/0,foundAtIndex:-1,isFoundNodeEmptyParagraph:!1};return a.getEditorState().read(()=>{if(p){let[h,l]=[a.getElementByKey(s[0]),a.getElementByKey(s[s.length-1])];if(h&&l){let[g,i]=[z(h),z(l)];if(c<g.top?(n.blockElem=h,n.distance=g.top-c,n.blockNode=Z(s[0]),n.foundAtIndex=0):c>i.bottom&&(n.distance=c-i.bottom,n.blockNode=Z(s[s.length-1]),n.blockElem=l,n.foundAtIndex=s.length-1),n?.blockElem)return{blockElem:null,isFoundNodeEmptyParagraph:!1}}}let u=m,x=Ee;for(;u>=0&&u<s.length;){let h=s[u],l=a.getElementByKey(h);if(l===null)break;let g=new B(f+d,c),i=ye.fromDOMRect(z(l)),{marginBottom:E,marginTop:C}=X(l),P=i.generateNewRect({bottom:i.bottom+E,left:y.left,right:y.right,top:i.top-C}),{distance:N,isOnBottomSide:S,isOnTopSide:w}=P.distanceFromPoint(g);if(N===0){n.blockElem=l,n.blockNode=Z(h),n.foundAtIndex=u,n.distance=N,n.blockNode&&n.blockNode.getType()==="paragraph"&&n.blockNode.getTextContent()===""&&(!r&&!t.returnEmptyParagraphs&&(n.blockElem=null,n.blockNode=null),n.isFoundNodeEmptyParagraph=!0);break}else r&&N<n.distance&&(n.blockElem=l,n.blockNode=Z(h),n.distance=N,n.foundAtIndex=u);x===Ee&&(w?x=tt:S?x=et:x=1/0),u+=x}}),L.props=t,L.result={blockElem:n.blockElem,blockNode:n.blockNode,foundAtIndex:n.foundAtIndex,isFoundNodeEmptyParagraph:n.isFoundNodeEmptyParagraph},{blockElem:n.blockElem,blockNode:n.blockNode,foundAtIndex:n.foundAtIndex,isFoundNodeEmptyParagraph:n.isFoundNodeEmptyParagraph}}function ee(t,e){return!!t.closest(`.${e}`)}var nt=["IMG","INPUT","TEXTAREA","SELECT","BUTTON","VIDEO","OBJECT","EMBED","IFRAME","HR"];function be(t){if(!t||nt.includes(t.tagName)||t.offsetHeight===0||t.offsetWidth===0)return!1;let e=window.getComputedStyle(t);return!(e.display==="table-cell"||e.position==="absolute"||e.visibility==="hidden"||e.opacity==="0")}function te(t,e,o,a=0){if(!t){e.style.opacity="0",e.style.transform="translate(-10000px, -10000px)";return}let r=t.getBoundingClientRect(),d=window.getComputedStyle(t),f=e.getBoundingClientRect(),c=o.getBoundingClientRect(),m;if(["lexical-block","lexical-upload","lexical-relationship"].some(s=>t.firstElementChild?.classList.contains(s)))m=r.top+8-c.top;else{let s=be(t)?parseInt(d.lineHeight,10):0;m=r.top+(s-f.height)/2-c.top}let y=a;e.style.opacity="1",e.style.transform=`translate(${y}px, ${m}px)`}var dt="add-block-menu",oe=1/0;function mt(t){return t===0?1/0:oe>=0&&oe<t?oe:Math.floor(t/2)}function ut(t,e,o){let a=e.parentElement,{editorConfig:r}=R(),d=r?.admin?.hideGutter?-24:12,f=lt(null),[c,m]=at(null);Ce(()=>{function y(s){let n=s.target;if(!H(n))return;let u=j(a,s.pageX,s.pageY,n);if(u===-1){m(null);return}if(ee(n,dt))return;let x=O(t),{blockElem:h,blockNode:l,foundAtIndex:g}=K({anchorElem:e,cache_threshold:0,editor:t,horizontalOffset:-u,point:new B(s.x,s.y),returnEmptyParagraphs:!0,startIndex:mt(x.length),useEdgeAsDefault:!1});oe=g,h&&l&&(c?.node!==l||c?.elem!==h)&&m({elem:h,node:l})}return document?.addEventListener("mousemove",y),()=>{document?.removeEventListener("mousemove",y)}},[a,e,t,c]),Ce(()=>{f.current&&c?.node&&te(c?.elem,f.current,e,d)},[e,c,d]);let p=st(y=>{let s=c;s?.node&&(t.update(()=>{let n=!0;if((s?.node.getType()!=="paragraph"||s.node.getTextContent()!=="")&&(n=!1),!n){let u=it();s?.node.insertAfter(u),setTimeout(()=>{s={elem:t.getElementByKey(u.getKey()),node:u},m(s)},0)}}),setTimeout(()=>{t.update(()=>{t.focus(),s?.node&&"select"in s.node&&typeof s.node.select=="function"&&s.node.select()})},1),setTimeout(()=>{t.dispatchCommand(ge,{node:s?.node})},2),y.stopPropagation(),y.preventDefault())},[t,c]);return ct(le(Ne.Fragment,{children:le("button",{className:"icon add-block-menu",onClick:y=>{p(y)},ref:f,type:"button",children:le("div",{className:o?"icon":""})})}),e)}function Pe({anchorElem:t=document.body}){let[e]=rt();return ut(e,t,e._editable)}import{jsx as ne,jsxs as pt}from"react/jsx-runtime";import{useLexicalComposerContext as gt}from"@lexical/react/LexicalComposerContext.js";import{eventFiles as Re}from"@lexical/rich-text";import{$getNearestNodeFromDOMNode as Te,$getNodeByKey as ht}from"lexical";import*as Be from"react";import{useEffect as ae,useRef as re,useState as Se}from"react";import{createPortal as yt}from"react-dom";var we=0,ft=-24;var _=0;function ke(t,e,o,a,r,d,f,c,m,p=!1){let{height:y,top:s}=a.getBoundingClientRect(),{top:n,width:u}=f.getBoundingClientRect(),{marginBottom:x,marginTop:h}=X(a),l=s,g=d>=s+y/2+window.scrollY,i=!1;if(r?.elem)if(a!==r?.elem)(g&&r?.elem&&r?.elem===a.nextElementSibling||!g&&r?.elem&&r?.elem===a.previousElementSibling)&&(_++,_<200&&(i=!0));else{_++;let N=r?.boundingBox?.y,S=a.getBoundingClientRect().y;(g===r?.isBelow&&N===S||_<200)&&(i=!1)}if(i)return{isBelow:g,willStayInSamePosition:i};p?l+=y/2:g?l+=y+x/2:l-=h/2;let E=0;p||(g?E=-we:E=we);let C=l-n+E,P=ft-e;return o.style.width=`calc(${u}px - ${t})`,o.style.opacity=".8",o.style.transform=`translate(${P}px, calc(${C}px - 2px))`,r?.elem&&(r.elem.style.opacity="",r?.elem===a?g?r.elem.style.marginTop="":r.elem.style.marginBottom="":(r.elem.style.marginBottom="",r.elem.style.marginTop="")),_=0,{isBelow:g,willStayInSamePosition:i}}var xt="draggable-block-menu",ve="application/x-lexical-drag-block",V=1/0;function Le(t){return t===0?1/0:V>=0&&V<t?V:Math.floor(t/2)}function Et(t,e){let{transform:o}=e.style;t.setDragImage(e,0,0),setTimeout(()=>{e.style.transform=o})}function Me(t,e){t&&(t.style.opacity="0"),e&&(e.style.opacity="",e.style.marginBottom="",e.style.marginTop="")}function bt(t,e,o){let a=e.parentElement,r=re(null),d=re(null),f=re(null),c=re(!1),[m,p]=Se(null),[y,s]=Se(null),{editorConfig:n}=R(),u=n?.admin?.hideGutter?-44:-8;ae(()=>{function l(g){let i=g.target;if(!H(i))return;let E=j(a,g.pageX,g.pageY,i);if(E===-1){p(null);return}if(ee(i,xt))return;let C=O(t),{blockElem:P,foundAtIndex:N,isFoundNodeEmptyParagraph:S}=K({anchorElem:e,cache_threshold:0,editor:t,horizontalOffset:-E,point:new B(g.x,g.y),startIndex:Le(C.length),useEdgeAsDefault:!1,verbose:!1});V=N,!(!P&&!S)&&m!==P&&p(P)}return document?.addEventListener("mousemove",l),()=>{document?.removeEventListener("mousemove",l)}},[a,e,t,m]),ae(()=>{r.current&&te(m,r.current,e,u)},[e,m,u]),ae(()=>{function l(i){if(!c.current)return!1;let[E]=Re(i);if(E)return!1;let{pageY:C,target:P}=i;if(!H(P))return!1;let N=j(a,i.pageX,i.pageY,P,100,50),S=O(t),{blockElem:w,foundAtIndex:Y,isFoundNodeEmptyParagraph:A}=K({anchorElem:e,editor:t,fuzzy:!0,horizontalOffset:-N,point:new B(i.x,i.y),startIndex:Le(S.length),useEdgeAsDefault:!0,verbose:!0});V=Y;let D=d.current;if(w===null||D===null)return!1;if(m!==w){let{isBelow:T,willStayInSamePosition:U}=ke(n?.admin?.hideGutter?"0px":"3rem",u+(n?.admin?.hideGutter?r?.current?.getBoundingClientRect()?.width??0:-(r?.current?.getBoundingClientRect()?.width??0)),D,w,y,C,e,i,f,A);i.preventDefault(),U||s({boundingBox:w.getBoundingClientRect(),elem:w,isBelow:T})}else y?.elem&&(Me(D,y.elem),s({boundingBox:w.getBoundingClientRect(),elem:w,isBelow:!1}));return!0}function g(i){if(!c.current)return!1;let[E]=Re(i);if(E)return!1;let{dataTransfer:C,pageY:P,target:N}=i,S=C?.getData(ve)||"";return t.update(()=>{let w=ht(S);if(!w||!H(N))return!1;let Y=j(a,i.pageX,i.pageY,N,100,50),{blockElem:A,isFoundNodeEmptyParagraph:D}=K({anchorElem:e,editor:t,fuzzy:!0,horizontalOffset:-Y,point:new B(i.x,i.y),useEdgeAsDefault:!0});if(!A)return!1;let T=Te(A);if(!T)return!1;if(T===w)return!0;let{height:U,top:se}=z(A),J=P>=se+U/2+window.scrollY;D?(T.insertBefore(w),T.remove()):J?T.insertAfter(w):T.insertBefore(w),m!==null&&p(null),document.querySelectorAll(".lexical-block-highlighter").forEach(v=>{v.remove()});let Q=t.getElementByKey(w.getKey());setTimeout(()=>{let v=Q?.getBoundingClientRect();if(!v)return;let b=document.createElement("div");b.className="lexical-block-highlighter",b.style.backgroundColor="var(--theme-elevation-1000",b.style.transition="opacity 0.5s ease-in-out",b.style.zIndex="1",b.style.pointerEvents="none",b.style.boxSizing="border-box",b.style.borderRadius="4px",b.style.position="absolute",document.body.appendChild(b),b.style.opacity="0.1",b.style.height=`${v.height+8}px`,b.style.width=`${v.width+8}px`,b.style.top=`${v.top+window.scrollY-4}px`,b.style.left=`${v.left-4}px`,setTimeout(()=>{b.style.opacity="0",setTimeout(()=>{b.remove()},500)},1e3)},120)}),!0}return document.addEventListener("dragover",l),document.addEventListener("drop",g),()=>{document.removeEventListener("dragover",l),document.removeEventListener("drop",g)}},[a,u,e,t,y,m,n?.admin?.hideGutter]);function x(l){let g=l.dataTransfer;if(!g||!m)return;Et(g,m);let i="";t.update(()=>{let E=Te(m);E&&(i=E.getKey())}),c.current=!0,g.setData(ve,i)}function h(){c.current=!1,y?.elem&&Me(d.current,y?.elem)}return yt(pt(Be.Fragment,{children:[ne("div",{className:"icon draggable-block-menu",draggable:!0,onDragEnd:h,onDragStart:x,ref:r,children:ne("div",{className:o?"icon":""})}),ne("div",{className:"draggable-block-target-line",ref:d}),ne("div",{className:"debug-highlight",ref:f})]}),e)}function Ie({anchorElem:t=document.body}){let[e]=gt();return bt(e,t,e._editable)}import{c as Ct}from"react/compiler-runtime";import{jsx as Nt}from"react/jsx-runtime";import{MarkdownShortcutPlugin as Pt}from"@lexical/react/LexicalMarkdownShortcutPlugin.js";import"react";var Ae=()=>{let t=Ct(2),{editorConfig:e}=R(),o;return t[0]!==e.features.markdownTransformers?(o=Nt(Pt,{transformers:e.features.markdownTransformers}),t[0]=e.features.markdownTransformers,t[1]=o):o=t[1],o};import{jsx as G,jsxs as Oe}from"react/jsx-runtime";import{useLexicalComposerContext as kt}from"@lexical/react/LexicalComposerContext.js";import{useFieldProps as _e,useTranslation as $e}from"@payloadcms/ui";import{useCallback as Fe,useMemo as Rt,useState as Tt}from"react";import"react";import*as He from"react-dom";import{c as wt}from"react/compiler-runtime";import"react";function De(t,e){let o=wt(4),{maxLength:a,minLength:r}=e,d=a===void 0?75:a,f=r===void 0?1:r,c;return o[0]!==t||o[1]!==d||o[2]!==f?(c=m=>{let{query:p}=m,y="[^"+t+pe+"\\s]",n=new RegExp("(^|\\s|\\()(["+t+"]((?:"+y+"){0,"+d+"}))$").exec(p);if(n!==null){let u=n[1],x=n[3];if(x.length>=f)return{leadOffset:n.index+u.length,matchingString:x,replaceableString:n[2]}}return null},o[0]=t,o[1]=d,o[2]=f,o[3]=c):c=o[3],c}var M="slash-menu-popup";function St({isSelected:t,item:e,onClick:o,onMouseEnter:a}){let{field:{richTextComponentMap:r}}=R(),{schemaPath:d}=_e(),{i18n:f}=$e(),c=`${M}__item ${M}__item-${e.key}`;t&&(c+=` ${M}__item--selected`);let m=e.key;return e.label&&(m=typeof e.label=="function"?e.label({i18n:f,richTextComponentMap:r,schemaPath:d}):e.label),m.length>25&&(m=m.substring(0,25)+"..."),Oe("button",{"aria-selected":t,className:c,id:M+"__item-"+e.key,onClick:o,onMouseEnter:a,ref:p=>{e.ref={current:p}},role:"option",tabIndex:-1,type:"button",children:[e?.Icon&&G(e.Icon,{}),G("span",{className:`${M}__item-text`,children:m})]},e.key)}function je({anchorElem:t=document.body}){let[e]=kt(),[o,a]=Tt(null),{editorConfig:r}=R(),{i18n:d}=$e(),{field:{richTextComponentMap:f}}=R(),{schemaPath:c}=_e(),m=De("/",{minLength:0}),p=Fe(()=>{let n=[];for(let u of r.features.slashMenu.dynamicGroups)if(o){let x=u({editor:e,queryString:o});n=n.concat(x)}return n},[e,o,r?.features]),y=Rt(()=>{let n=[];for(let u of r?.features.slashMenu.groups??[])n.push(u);if(o){n=n.map(x=>{let h=x.items.filter(l=>{let g=l.key;return l.label&&(g=typeof l.label=="function"?l.label({i18n:d,richTextComponentMap:f,schemaPath:c}):l.label),new RegExp(o,"gi").exec(g)?!0:l.keywords!=null?l.keywords.some(i=>new RegExp(o,"gi").exec(i)):!1});return h.length?{...x,items:h}:null}),n=n.filter(x=>x!=null);let u=p();for(let x of u){let h=n.find(l=>l.key===x.key);h?n=n.filter(l=>l.key!==x.key):h={...x,items:[]},h?.items?.length&&(h.items=h.items.concat(h.items)),n.push(h)}}return n},[p,o,r?.features,d]),s=Fe((n,u,x,h)=>{u&&e.update(()=>{u.remove()}),n.onSelect({editor:e,queryString:h}),x()},[e]);return G(he,{anchorElem:t,groups:y,menuRenderFn:(n,{selectedItemKey:u,selectItemAndCleanUp:x,setSelectedItemKey:h})=>n.current&&y.length?He.createPortal(G("div",{className:M,children:y.map(l=>{let g=l.key;return l.label&&f&&(g=typeof l.label=="function"?l.label({i18n:d,richTextComponentMap:f,schemaPath:c}):l.label),Oe("div",{className:`${M}__group ${M}__group-${l.key}`,children:[G("div",{className:`${M}__group-title`,children:g}),l.items.map((i,E)=>G(St,{index:E,isSelected:u===i.key,item:i,onClick:()=>{h(i.key),x(i)},onMouseEnter:()=>{h(i.key)}},i.key))]},l.key)})}),n.current):null,onQueryChange:a,onSelectItem:s,triggerFn:m})}import{c as vt}from"react/compiler-runtime";import{jsx as ze}from"react/jsx-runtime";import{ContentEditable as Lt}from"@lexical/react/LexicalContentEditable.js";import{useTranslation as Mt}from"@payloadcms/ui";import"react";function Ke(t){let e=vt(3),{className:o}=t,{t:a}=Mt(),r;return e[0]!==a||e[1]!==o?(r=ze(Lt,{"aria-placeholder":a("lexical:general:placeholder"),className:o??"ContentEditable__root",placeholder:ze("p",{className:"editor-placeholder",children:a("lexical:general:placeholder")})}),e[0]=a,e[1]=o,e[2]=r):r=e[2],r}var Ue=t=>{let e=Bt(22),{editorConfig:o,editorContainerRef:a,onChange:r}=t,d=R(),[f]=It(),[c,m]=Ye(null),p;e[0]===Symbol.for("react.memo_cache_sentinel")?(p=i=>{i!==null&&m(i)},e[0]=p):p=e[0];let y=p,s,n;e[1]!==d||e[2]!==f?(s=()=>{if(!d?.uuid){console.error("Lexical Editor must be used within an EditorConfigProvider");return}d?.parentEditor?.uuid&&d.parentEditor?.registerChild(d.uuid,d);let i=()=>{d.focusEditor(d)},E=()=>{d.blurEditor(d)},C=f.registerCommand(Ht,()=>(i(),!0),Ge),P=f.registerCommand($t,()=>(E(),!0),Ge);return()=>{C(),P(),d.parentEditor?.unregisterChild?.(d.uuid)}},n=[f,d],e[1]=d,e[2]=f,e[3]=s,e[4]=n):(s=e[3],n=e[4]),We(s,n);let[u,x]=Ye(!1),h,l;e[5]!==u?(h=()=>{let i=()=>{let E=window.matchMedia("(max-width: 768px)").matches;E!==u&&x(E)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},l=[u],e[5]=u,e[6]=h,e[7]=l):(h=e[6],l=e[7]),We(h,l);let g;if(e[8]!==o.features||e[9]!==r||e[10]!==c||e[11]!==u||e[12]!==f||e[13]!==a){let i;e[15]!==r?(i=(C,P,N)=>{(!N.has("focus")||N.size>1)&&r?.(C,P,N)},e[15]=r,e[16]=i):i=e[16];let E;e[17]!==c||e[18]!==u||e[19]!==f||e[20]!==o?(E=c&&q(W.Fragment,{children:[!u&&f.isEditable()&&q(W.Fragment,{children:[k(Ie,{anchorElem:c}),k(Pe,{anchorElem:c})]}),o.features.plugins?.map(C=>{if(C.position==="floatingAnchorElem"&&!(C.desktopOnly===!0&&u))return k(F,{anchorElem:c,clientProps:C.clientProps,plugin:C},C.key)}),f.isEditable()&&k(W.Fragment,{children:k(je,{anchorElem:c})})]}),e[17]=c,e[18]=u,e[19]=f,e[20]=o,e[21]=E):E=e[21],g=q(W.Fragment,{children:[o.features.plugins?.map(jt),q("div",{className:"editor-container",ref:a,children:[o.features.plugins?.map(zt),k(Ot,{contentEditable:k("div",{className:"editor-scroller",children:k("div",{className:"editor",ref:y,children:k(Ke,{})})}),ErrorBoundary:At}),k(Ft,{ignoreSelectionChange:!0,onChange:i}),E,f.isEditable()&&q(W.Fragment,{children:[k(Dt,{}),o?.features?.markdownTransformers?.length>0&&k(Ae,{})]}),k(_t,{}),o.features.plugins?.map(Kt),o.features.plugins?.map(Gt)]}),o.features.plugins?.map(Wt)]}),e[8]=o.features,e[9]=r,e[10]=c,e[11]=u,e[12]=f,e[13]=a,e[14]=g}else g=e[14];return g};function jt(t){if(t.position==="aboveContainer")return k(F,{clientProps:t.clientProps,plugin:t},t.key)}function zt(t){if(t.position==="top")return k(F,{clientProps:t.clientProps,plugin:t},t.key)}function Kt(t){if(t.position==="normal")return k(F,{clientProps:t.clientProps,plugin:t},t.key)}function Gt(t){if(t.position==="bottom")return k(F,{clientProps:t.clientProps,plugin:t},t.key)}function Wt(t){if(t.position==="belowContainer")return k(F,{clientProps:t.clientProps,plugin:t},t.key)}var Je=({children:t,providers:e})=>{if(!e?.length)return t;let o=e[0];return e.length>1?I(o,{children:I(Je,{providers:e.slice(1),children:t})}):I(o,{children:t})},Qe=t=>{let{composerKey:e,editorConfig:o,field:a,onChange:r,readOnly:d,value:f}=t,c=R(),m=qe.useRef(null),p=Ve(()=>{let s=f;return o?.features?.hooks?.load?.length&&o.features.hooks.load.forEach(n=>{s=n({incomingEditorState:s})}),s},[o,f]),y=Ve(()=>{if(p&&typeof p!="object")throw new Error("The value passed to the Lexical editor is not an object. This is not supported. Please remove the data from the field and start again. This is the value that was passed in: "+JSON.stringify(p));if(p&&Array.isArray(p)&&!("root"in p))throw new Error("You have tried to pass in data from the old Slate editor to the new Lexical editor. The data structure is different, thus you will have to migrate your data. We offer a one-line migration script which migrates all your rich text fields: https://payloadcms.com/docs/beta/lexical/migration#migration-via-migration-script-recommended");if(p&&"jsonContent"in p)throw new Error("You have tried to pass in data from payload-plugin-lexical. The data structure is different, thus you will have to migrate your data. Migration guide: https://payloadcms.com/docs/beta/lexical/migration#migrating-from-payload-plugin-lexical");return{editable:d!==!0,editorState:p!=null?JSON.stringify(p):void 0,namespace:o.lexical.namespace,nodes:ue({editorConfig:o}),onError:s=>{throw s},theme:o.lexical.theme}},[o,p,d]);return y?I(Yt,{initialConfig:y,children:I(fe,{editorConfig:o,editorContainerRef:m,field:a,parentContext:c,children:I(Je,{providers:o.features.providers,children:I(Ue,{editorConfig:o,editorContainerRef:m,onChange:r})})})},e+y.editable):I("p",{children:"Loading..."})};import"./bundled.css";var ie="rich-text-lexical",oo=t=>{let{descriptionProps:e,editorConfig:o,errorProps:a,field:{name:r,_path:d,admin:{className:f,components:c,readOnly:m,style:p,width:y}={},required:s},field:n,labelProps:u,readOnly:x,validate:h}=t,l=c?.Description,g=c?.Error,i=c?.Label,E=x||m,C=Jt(),P=eo((v,b)=>{if(typeof h=="function")return h(v,{...b,props:t,required:s})},[h,s]),{path:N,readOnly:S}=Xt(),w=Qt({path:N??d??r,validate:P}),{formInitializing:Y,formProcessing:A,initialValue:D,path:T,setValue:U,showError:se,value:de}=w,J=E||S||A||Y,me=[ie,"field-type",f,se&&"error",J&&`${ie}--read-only`,o?.admin?.hideGutter!==!0?`${ie}--show-gutter`:null].filter(Boolean).join(" "),Q=`${T}.${C}`;return ce("div",{className:me,style:{...p,width:y},children:[$(Vt,{CustomError:g,path:T,...a||{},alignCaret:"left",field:n}),$(qt,{Label:i,...u||{},field:n}),ce("div",{className:`${ie}__wrap`,children:[$(to,{fallbackRender:no,onReset:()=>{},children:$(Qe,{composerKey:Q,editorConfig:o,field:n,onChange:v=>{let b=v.toJSON();o?.features?.hooks?.save?.length&&o.features.hooks.save.forEach(Xe=>{b=Xe({incomingEditorState:b})}),U(b)},readOnly:J,value:de},JSON.stringify({initialValue:D,path:T}))}),$(Ut,{Description:l,...e||{},field:n})]})]},Q)};function no({error:t}){return ce("div",{className:"errorBoundary",role:"alert",children:[$("p",{children:"Something went wrong:"}),$("pre",{style:{color:"red"},children:t.message})]})}var dr=Zt(oo);export{dr as RichText};
|
|
2
|
+
//# sourceMappingURL=Field-Y47DV2NP.js.map
|