@payloadcms/richtext-lexical 0.7.0 → 3.0.0-alpha.19
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 -3
- package/components.d.ts +1 -1
- package/components.js +6 -33
- package/dist/cell/index.d.ts +4 -4
- package/dist/cell/index.d.ts.map +1 -1
- package/dist/cell/index.js +98 -79
- package/dist/exports/components.d.ts +1 -1
- package/dist/exports/components.d.ts.map +1 -1
- package/dist/exports/components.js +6 -33
- package/dist/field/Field.d.ts +8 -3
- package/dist/field/Field.d.ts.map +1 -1
- package/dist/field/Field.js +26 -98
- package/dist/field/features/align/feature.client.d.ts +3 -0
- package/dist/field/features/align/feature.client.d.ts.map +1 -0
- package/dist/field/features/align/feature.client.js +71 -0
- package/dist/field/features/align/feature.server.d.ts +3 -0
- package/dist/field/features/align/feature.server.d.ts.map +1 -0
- package/dist/field/features/align/feature.server.js +16 -0
- package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts.map +1 -1
- package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js +6 -57
- package/dist/field/features/blockquote/feature.client.d.ts +3 -0
- package/dist/field/features/blockquote/feature.client.d.ts.map +1 -0
- package/dist/field/features/blockquote/feature.client.js +67 -0
- package/dist/field/features/blockquote/feature.server.d.ts +3 -0
- package/dist/field/features/blockquote/feature.server.d.ts.map +1 -0
- package/dist/field/features/blockquote/feature.server.js +46 -0
- package/dist/field/features/blockquote/markdownTransformer.d.ts.map +1 -0
- package/dist/field/features/blockquote/markdownTransformer.js +40 -0
- package/dist/field/features/blocks/component/BlockContent.d.ts +25 -0
- package/dist/field/features/blocks/component/BlockContent.d.ts.map +1 -0
- package/dist/field/features/blocks/component/BlockContent.js +163 -0
- package/dist/field/features/blocks/component/FormSavePlugin.d.ts +12 -0
- package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
- package/dist/field/features/blocks/component/FormSavePlugin.js +24 -0
- package/dist/field/features/blocks/component/index.d.ts +16 -0
- package/dist/field/features/blocks/component/index.d.ts.map +1 -0
- package/dist/field/features/blocks/component/index.js +121 -0
- package/dist/field/features/blocks/component/index.scss +153 -0
- package/dist/field/features/blocks/drawer/index.d.ts.map +1 -0
- package/dist/field/features/blocks/drawer/index.js +78 -0
- package/dist/field/features/blocks/feature.client.d.ts +7 -0
- package/dist/field/features/blocks/feature.client.d.ts.map +1 -0
- package/dist/field/features/blocks/feature.client.js +61 -0
- package/dist/field/features/blocks/feature.server.d.ts +8 -0
- package/dist/field/features/blocks/feature.server.d.ts.map +1 -0
- package/dist/field/features/blocks/feature.server.js +86 -0
- package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
- package/dist/field/features/blocks/nodes/BlocksNode.js +91 -0
- package/dist/field/features/blocks/plugin/commands.d.ts.map +1 -0
- package/dist/field/features/blocks/plugin/commands.js +4 -0
- package/dist/field/features/blocks/plugin/index.d.ts +5 -0
- package/dist/field/features/blocks/plugin/index.d.ts.map +1 -0
- package/dist/field/features/blocks/plugin/index.js +40 -0
- package/dist/field/features/blocks/populationPromise.d.ts +5 -0
- package/dist/field/features/blocks/populationPromise.d.ts.map +1 -0
- package/dist/field/features/blocks/populationPromise.js +45 -0
- package/dist/field/features/blocks/validate.d.ts +5 -0
- package/dist/field/features/blocks/validate.d.ts.map +1 -0
- package/dist/field/features/blocks/validate.js +49 -0
- package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js +4 -14
- package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts.map +1 -1
- package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js +6 -57
- package/dist/field/features/converters/html/converter/converters/linebreak.js +2 -12
- package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +1 -1
- package/dist/field/features/converters/html/converter/converters/paragraph.js +7 -16
- package/dist/field/features/converters/html/converter/converters/text.js +10 -20
- package/dist/field/features/converters/html/converter/defaultConverters.js +8 -18
- package/dist/field/features/converters/html/converter/index.d.ts +11 -2
- package/dist/field/features/converters/html/converter/index.d.ts.map +1 -1
- package/dist/field/features/converters/html/converter/index.js +9 -24
- package/dist/field/features/converters/html/converter/types.d.ts +6 -1
- package/dist/field/features/converters/html/converter/types.d.ts.map +1 -1
- package/dist/field/features/converters/html/converter/types.js +2 -5
- package/dist/field/features/converters/html/feature.server.d.ts +9 -0
- package/dist/field/features/converters/html/feature.server.d.ts.map +1 -0
- package/dist/field/features/converters/html/feature.server.js +14 -0
- package/dist/field/features/converters/html/field/index.d.ts +2 -2
- package/dist/field/features/converters/html/field/index.d.ts.map +1 -1
- package/dist/field/features/converters/html/field/index.js +18 -31
- package/dist/field/features/createClientComponent.d.ts +7 -0
- package/dist/field/features/createClientComponent.d.ts.map +1 -0
- package/dist/field/features/createClientComponent.js +12 -0
- package/dist/field/features/createFeaturePropComponent.d.ts +6 -0
- package/dist/field/features/createFeaturePropComponent.d.ts.map +1 -0
- package/dist/field/features/createFeaturePropComponent.js +14 -0
- package/dist/field/features/debug/testrecorder/feature.client.d.ts +3 -0
- package/dist/field/features/debug/testrecorder/feature.client.d.ts.map +1 -0
- package/dist/field/features/debug/testrecorder/feature.client.js +20 -0
- package/dist/field/features/debug/testrecorder/feature.server.d.ts +3 -0
- package/dist/field/features/debug/testrecorder/feature.server.d.ts.map +1 -0
- package/dist/field/features/debug/testrecorder/feature.server.js +15 -0
- package/dist/field/features/debug/testrecorder/plugin/index.d.ts.map +1 -0
- package/dist/field/features/debug/testrecorder/plugin/index.js +446 -0
- package/dist/field/features/debug/testrecorder/plugin/index.scss +49 -0
- package/dist/field/features/debug/treeview/feature.client.d.ts +3 -0
- package/dist/field/features/debug/treeview/feature.client.d.ts.map +1 -0
- package/dist/field/features/debug/treeview/feature.client.js +20 -0
- package/dist/field/features/debug/treeview/feature.server.d.ts +3 -0
- package/dist/field/features/debug/treeview/feature.server.d.ts.map +1 -0
- package/dist/field/features/debug/treeview/feature.server.js +15 -0
- package/dist/field/features/debug/treeview/plugin/index.d.ts +4 -0
- package/dist/field/features/debug/treeview/plugin/index.d.ts.map +1 -0
- package/dist/field/features/debug/treeview/plugin/index.js +19 -0
- package/dist/field/features/format/bold/feature.client.d.ts +3 -0
- package/dist/field/features/format/bold/feature.client.d.ts.map +1 -0
- package/dist/field/features/format/bold/feature.client.js +47 -0
- package/dist/field/features/format/bold/feature.server.d.ts +3 -0
- package/dist/field/features/format/bold/feature.server.d.ts.map +1 -0
- package/dist/field/features/format/bold/feature.server.js +27 -0
- package/dist/field/features/format/bold/markdownTransformers.d.ts.map +1 -0
- package/dist/field/features/format/bold/markdownTransformers.js +34 -0
- package/dist/field/features/format/common/floatingSelectToolbarSection.js +4 -14
- package/dist/field/features/format/inlinecode/feature.client.d.ts +3 -0
- package/dist/field/features/format/inlinecode/feature.client.d.ts.map +1 -0
- package/dist/field/features/format/inlinecode/feature.client.js +42 -0
- package/dist/field/features/format/inlinecode/feature.server.d.ts +3 -0
- package/dist/field/features/format/inlinecode/feature.server.d.ts.map +1 -0
- package/dist/field/features/format/inlinecode/feature.server.js +19 -0
- package/dist/field/features/format/inlinecode/markdownTransformers.d.ts.map +1 -0
- package/dist/field/features/format/inlinecode/markdownTransformers.js +9 -0
- package/dist/field/features/format/italic/feature.client.d.ts +3 -0
- package/dist/field/features/format/italic/feature.client.d.ts.map +1 -0
- package/dist/field/features/format/italic/feature.client.js +43 -0
- package/dist/field/features/format/italic/feature.server.d.ts +3 -0
- package/dist/field/features/format/italic/feature.server.d.ts.map +1 -0
- package/dist/field/features/format/italic/feature.server.js +20 -0
- package/dist/field/features/format/italic/markdownTransformers.d.ts.map +1 -0
- package/dist/field/features/format/italic/markdownTransformers.js +17 -0
- package/dist/field/features/format/strikethrough/feature.client.d.ts +3 -0
- package/dist/field/features/format/strikethrough/feature.client.d.ts.map +1 -0
- package/dist/field/features/format/strikethrough/feature.client.js +42 -0
- package/dist/field/features/format/strikethrough/feature.server.d.ts +3 -0
- package/dist/field/features/format/strikethrough/feature.server.d.ts.map +1 -0
- package/dist/field/features/format/strikethrough/feature.server.js +19 -0
- package/dist/field/features/format/strikethrough/markdownTransformers.js +4 -14
- package/dist/field/features/format/subscript/feature.client.d.ts +3 -0
- package/dist/field/features/format/subscript/feature.client.d.ts.map +1 -0
- package/dist/field/features/format/subscript/feature.client.js +38 -0
- package/dist/field/features/format/subscript/feature.server.d.ts +3 -0
- package/dist/field/features/format/subscript/feature.server.d.ts.map +1 -0
- package/dist/field/features/format/subscript/feature.server.js +15 -0
- package/dist/field/features/format/superscript/feature.client.d.ts +3 -0
- package/dist/field/features/format/superscript/feature.client.d.ts.map +1 -0
- package/dist/field/features/format/superscript/feature.client.js +38 -0
- package/dist/field/features/format/superscript/feature.server.d.ts +3 -0
- package/dist/field/features/format/superscript/feature.server.d.ts.map +1 -0
- package/dist/field/features/format/superscript/feature.server.js +15 -0
- package/dist/field/features/format/underline/feature.client.d.ts +3 -0
- package/dist/field/features/format/underline/feature.client.d.ts.map +1 -0
- package/dist/field/features/format/underline/feature.client.js +38 -0
- package/dist/field/features/format/underline/feature.server.d.ts +3 -0
- package/dist/field/features/format/underline/feature.server.d.ts.map +1 -0
- package/dist/field/features/format/underline/feature.server.js +15 -0
- package/dist/field/features/heading/feature.client.d.ts +4 -0
- package/dist/field/features/heading/feature.client.d.ts.map +1 -0
- package/dist/field/features/heading/feature.client.js +95 -0
- package/dist/field/features/heading/feature.server.d.ts +7 -0
- package/dist/field/features/heading/feature.server.d.ts.map +1 -0
- package/dist/field/features/heading/feature.server.js +57 -0
- package/dist/field/features/heading/markdownTransformer.d.ts.map +1 -0
- package/dist/field/features/heading/markdownTransformer.js +29 -0
- package/dist/field/features/indent/feature.client.d.ts +3 -0
- package/dist/field/features/indent/feature.client.d.ts.map +1 -0
- package/dist/field/features/indent/feature.client.js +57 -0
- package/dist/field/features/indent/feature.server.d.ts +3 -0
- package/dist/field/features/indent/feature.server.d.ts.map +1 -0
- package/dist/field/features/indent/feature.server.js +16 -0
- package/dist/field/features/indent/floatingSelectToolbarIndentSection.js +4 -14
- package/dist/field/features/link/drawer/baseFields.d.ts.map +1 -0
- package/dist/field/features/link/drawer/baseFields.js +118 -0
- package/dist/field/features/link/drawer/index.d.ts.map +1 -0
- package/dist/field/features/link/drawer/index.js +83 -0
- package/dist/field/features/link/drawer/index.scss +50 -0
- package/dist/field/features/link/drawer/types.d.ts +8 -0
- package/dist/field/features/link/drawer/types.d.ts.map +1 -0
- package/dist/field/features/link/drawer/types.js +3 -0
- package/dist/field/features/link/feature.client.d.ts +5 -0
- package/dist/field/features/link/feature.client.d.ts.map +1 -0
- package/dist/field/features/link/feature.client.js +88 -0
- package/dist/field/features/link/feature.server.d.ts +33 -0
- package/dist/field/features/link/feature.server.d.ts.map +1 -0
- package/dist/field/features/link/feature.server.js +98 -0
- package/dist/field/features/link/nodes/AutoLinkNode.d.ts +16 -0
- package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
- package/dist/field/features/link/nodes/AutoLinkNode.js +60 -0
- package/dist/field/features/link/nodes/LinkNode.d.ts +35 -0
- package/dist/field/features/link/nodes/LinkNode.d.ts.map +1 -0
- package/dist/field/features/link/nodes/LinkNode.js +299 -0
- package/dist/field/features/link/nodes/types.d.ts +19 -0
- package/dist/field/features/link/nodes/types.d.ts.map +1 -0
- package/dist/field/features/link/nodes/types.js +3 -0
- package/dist/field/features/link/plugins/autoLink/index.d.ts +19 -0
- package/dist/field/features/link/plugins/autoLink/index.d.ts.map +1 -0
- package/dist/field/features/link/plugins/autoLink/index.js +318 -0
- package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +1 -0
- package/dist/field/features/link/plugins/clickableLink/index.js +8 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js +4 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +5 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +243 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts +6 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/index.js +13 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +78 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts +13 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/types.js +6 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +12 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js +37 -0
- package/dist/field/features/link/plugins/link/index.d.ts.map +1 -0
- package/dist/field/features/link/plugins/link/index.js +59 -0
- package/dist/field/features/link/populationPromise.d.ts +5 -0
- package/dist/field/features/link/populationPromise.d.ts.map +1 -0
- package/dist/field/features/link/populationPromise.js +46 -0
- package/dist/field/features/lists/checklist/feature.client.d.ts +3 -0
- package/dist/field/features/lists/checklist/feature.client.d.ts.map +1 -0
- package/dist/field/features/lists/checklist/feature.client.js +81 -0
- package/dist/field/features/lists/checklist/feature.server.d.ts +3 -0
- package/dist/field/features/lists/checklist/feature.server.d.ts.map +1 -0
- package/dist/field/features/lists/checklist/feature.server.js +35 -0
- package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
- package/dist/field/features/lists/checklist/markdownTransformers.js +16 -0
- package/dist/field/features/lists/checklist/plugin/index.d.ts.map +1 -0
- package/dist/field/features/lists/checklist/plugin/index.js +8 -0
- package/dist/field/features/lists/common/markdown.js +10 -28
- package/dist/field/features/lists/htmlConverter.d.ts.map +1 -1
- package/dist/field/features/lists/htmlConverter.js +15 -31
- package/dist/field/features/lists/orderedlist/feature.client.d.ts +3 -0
- package/dist/field/features/lists/orderedlist/feature.client.d.ts.map +1 -0
- package/dist/field/features/lists/orderedlist/feature.client.js +71 -0
- package/dist/field/features/lists/orderedlist/feature.server.d.ts +3 -0
- package/dist/field/features/lists/orderedlist/feature.server.d.ts.map +1 -0
- package/dist/field/features/lists/orderedlist/feature.server.js +35 -0
- package/dist/field/features/lists/orderedlist/markdownTransformer.d.ts.map +1 -0
- package/dist/field/features/lists/orderedlist/markdownTransformer.js +16 -0
- package/dist/field/features/lists/plugin/index.js +5 -20
- package/dist/field/features/lists/unorderedlist/feature.client.d.ts +3 -0
- package/dist/field/features/lists/unorderedlist/feature.client.d.ts.map +1 -0
- package/dist/field/features/lists/unorderedlist/feature.client.js +71 -0
- package/dist/field/features/lists/unorderedlist/feature.server.d.ts +3 -0
- package/dist/field/features/lists/unorderedlist/feature.server.d.ts.map +1 -0
- package/dist/field/features/lists/unorderedlist/feature.server.js +35 -0
- package/dist/field/features/lists/unorderedlist/markdownTransformer.d.ts.map +1 -0
- package/dist/field/features/lists/unorderedlist/markdownTransformer.js +16 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +20 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +8 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +31 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js +8 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +22 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js +8 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +22 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +8 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +20 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +8 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +26 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +8 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +6 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +25 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +8 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +18 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts +17 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js +63 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts +31 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +3 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js +34 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts +9 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +47 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +8 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +69 -0
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +14 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +23 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js +29 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js +35 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js +30 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js +25 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +26 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js +18 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js +27 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +26 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js +6 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js +21 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js +8 -0
- package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js +24 -0
- package/dist/field/features/migrations/slateToLexical/converter/index.d.ts +19 -0
- package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/index.js +107 -0
- package/dist/field/features/migrations/slateToLexical/converter/types.d.ts +25 -0
- package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/converter/types.js +3 -0
- package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +3 -0
- package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/feature.client.js +34 -0
- package/dist/field/features/migrations/slateToLexical/feature.server.d.ts +9 -0
- package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/feature.server.js +47 -0
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +8 -0
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +69 -0
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +14 -0
- package/dist/field/features/paragraph/feature.client.d.ts +3 -0
- package/dist/field/features/paragraph/feature.client.d.ts.map +1 -0
- package/dist/field/features/paragraph/feature.client.js +63 -0
- package/dist/field/features/paragraph/feature.server.d.ts +3 -0
- package/dist/field/features/paragraph/feature.server.d.ts.map +1 -0
- package/dist/field/features/paragraph/feature.server.js +16 -0
- package/dist/field/features/relationship/drawer/commands.d.ts.map +1 -0
- package/dist/field/features/relationship/drawer/commands.js +4 -0
- package/dist/field/features/relationship/drawer/index.d.ts.map +1 -0
- package/dist/field/features/relationship/drawer/index.js +79 -0
- package/dist/field/features/relationship/feature.client.d.ts +4 -0
- package/dist/field/features/relationship/feature.client.d.ts.map +1 -0
- package/dist/field/features/relationship/feature.client.js +56 -0
- package/dist/field/features/relationship/feature.server.d.ts +18 -0
- package/dist/field/features/relationship/feature.server.d.ts.map +1 -0
- package/dist/field/features/relationship/feature.server.js +26 -0
- package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
- package/dist/field/features/relationship/nodes/RelationshipNode.js +110 -0
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +103 -0
- package/dist/field/features/relationship/nodes/components/index.scss +97 -0
- package/dist/field/features/relationship/plugins/index.d.ts +7 -0
- package/dist/field/features/relationship/plugins/index.d.ts.map +1 -0
- package/dist/field/features/relationship/plugins/index.js +49 -0
- package/dist/field/features/relationship/populationPromise.d.ts.map +1 -0
- package/dist/field/features/relationship/populationPromise.js +24 -0
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +33 -0
- package/dist/field/features/types.d.ts +139 -70
- package/dist/field/features/types.d.ts.map +1 -1
- package/dist/field/features/types.js +2 -5
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -0
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +110 -0
- package/dist/field/features/upload/component/index.d.ts.map +1 -0
- package/dist/field/features/upload/component/index.js +135 -0
- package/dist/field/features/upload/component/index.scss +152 -0
- package/dist/field/features/upload/drawer/commands.d.ts.map +1 -0
- package/dist/field/features/upload/drawer/commands.js +5 -0
- package/dist/field/features/upload/drawer/index.d.ts.map +1 -0
- package/dist/field/features/upload/drawer/index.js +76 -0
- package/dist/field/features/upload/feature.client.d.ts +10 -0
- package/dist/field/features/upload/feature.client.d.ts.map +1 -0
- package/dist/field/features/upload/feature.client.js +55 -0
- package/dist/field/features/upload/feature.server.d.ts +12 -0
- package/dist/field/features/upload/feature.server.d.ts.map +1 -0
- package/dist/field/features/upload/feature.server.js +103 -0
- package/dist/field/features/upload/nodes/UploadNode.d.ts +47 -0
- package/dist/field/features/upload/nodes/UploadNode.d.ts.map +1 -0
- package/dist/field/features/upload/nodes/UploadNode.js +98 -0
- package/dist/field/features/upload/plugin/index.d.ts.map +1 -0
- package/dist/field/features/upload/plugin/index.js +52 -0
- package/dist/field/features/upload/populationPromise.d.ts +5 -0
- package/dist/field/features/upload/populationPromise.d.ts.map +1 -0
- package/dist/field/features/upload/populationPromise.js +46 -0
- package/dist/field/features/upload/validate.d.ts.map +1 -0
- package/dist/field/features/upload/validate.js +19 -0
- package/dist/field/index.d.ts +7 -2
- package/dist/field/index.d.ts.map +1 -1
- package/dist/field/index.js +78 -57
- package/dist/field/index.scss +2 -2
- package/dist/field/lexical/EditorPlugin.d.ts.map +1 -1
- package/dist/field/lexical/EditorPlugin.js +6 -65
- package/dist/field/lexical/LexicalEditor.js +39 -94
- package/dist/field/lexical/LexicalEditor.scss +1 -3
- package/dist/field/lexical/LexicalProvider.d.ts +8 -4
- package/dist/field/lexical/LexicalProvider.d.ts.map +1 -1
- package/dist/field/lexical/LexicalProvider.js +30 -83
- package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +24 -0
- package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
- package/dist/field/lexical/config/client/EditorConfigProvider.js +41 -0
- package/dist/field/lexical/config/client/default.d.ts +3 -0
- package/dist/field/lexical/config/client/default.d.ts.map +1 -0
- package/dist/field/lexical/config/client/default.js +8 -0
- package/dist/field/lexical/config/client/loader.d.ts +11 -0
- package/dist/field/lexical/config/client/loader.d.ts.map +1 -0
- package/dist/field/lexical/config/client/loader.js +46 -0
- package/dist/field/lexical/config/client/sanitize.d.ts +6 -0
- package/dist/field/lexical/config/client/sanitize.d.ts.map +1 -0
- package/dist/field/lexical/config/client/sanitize.js +126 -0
- package/dist/field/lexical/config/server/default.d.ts +8 -0
- package/dist/field/lexical/config/server/default.d.ts.map +1 -0
- package/dist/field/lexical/config/server/default.js +51 -0
- package/dist/field/lexical/config/server/loader.d.ts +7 -0
- package/dist/field/lexical/config/server/loader.d.ts.map +1 -0
- package/dist/field/lexical/config/server/loader.js +118 -0
- package/dist/field/lexical/config/server/sanitize.d.ts +5 -0
- package/dist/field/lexical/config/server/sanitize.d.ts.map +1 -0
- package/dist/field/lexical/config/server/sanitize.js +65 -0
- package/dist/field/lexical/config/types.d.ts +18 -9
- package/dist/field/lexical/config/types.d.ts.map +1 -1
- package/dist/field/lexical/config/types.js +2 -5
- package/dist/field/lexical/nodes/index.d.ts +2 -2
- package/dist/field/lexical/nodes/index.d.ts.map +1 -1
- package/dist/field/lexical/nodes/index.js +8 -13
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js +19 -70
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.scss +0 -2
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts +3 -3
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.d.ts.map +1 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/DropDown.js +40 -98
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts.map +1 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js +12 -85
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.scss +1 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts.map +1 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/index.js +57 -127
- package/dist/field/lexical/plugins/FloatingSelectToolbar/index.scss +1 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts +4 -4
- package/dist/field/lexical/plugins/FloatingSelectToolbar/types.d.ts.map +1 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/types.js +2 -5
- package/dist/field/lexical/plugins/MarkdownShortcut/index.js +7 -58
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +39 -64
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +2 -2
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +32 -104
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +6 -6
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +3 -21
- package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +1 -1
- package/dist/field/lexical/plugins/SlashMenu/index.js +27 -84
- package/dist/field/lexical/plugins/SlashMenu/index.scss +1 -1
- package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js +8 -16
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +35 -84
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -2
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js +2 -12
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +2 -12
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getNodeCloseToPoint.js +18 -28
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +4 -14
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +52 -102
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -2
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +8 -18
- package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js +2 -12
- package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js +4 -14
- package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js +2 -12
- package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js +2 -12
- package/dist/field/lexical/theme/EditorTheme.js +3 -13
- package/dist/field/lexical/theme/EditorTheme.scss +0 -2
- package/dist/field/lexical/ui/ContentEditable.js +6 -57
- package/dist/field/lexical/ui/icons/AI/index.js +7 -22
- package/dist/field/lexical/ui/icons/AlignCenter/index.js +6 -21
- package/dist/field/lexical/ui/icons/AlignJustify/index.js +6 -21
- package/dist/field/lexical/ui/icons/AlignLeft/index.js +6 -21
- package/dist/field/lexical/ui/icons/AlignRight/index.js +6 -21
- package/dist/field/lexical/ui/icons/Block/index.js +6 -21
- package/dist/field/lexical/ui/icons/Blockquote/index.js +4 -19
- package/dist/field/lexical/ui/icons/Bold/index.js +4 -19
- package/dist/field/lexical/ui/icons/Checklist/index.js +5 -20
- package/dist/field/lexical/ui/icons/Code/index.js +5 -20
- package/dist/field/lexical/ui/icons/CodeBlock/index.js +5 -20
- package/dist/field/lexical/ui/icons/H1/index.js +4 -19
- package/dist/field/lexical/ui/icons/H2/index.js +4 -19
- package/dist/field/lexical/ui/icons/H3/index.js +4 -19
- package/dist/field/lexical/ui/icons/H4/index.js +4 -19
- package/dist/field/lexical/ui/icons/H5/index.js +4 -19
- package/dist/field/lexical/ui/icons/H6/index.js +4 -19
- package/dist/field/lexical/ui/icons/IndentDecrease/index.js +7 -22
- package/dist/field/lexical/ui/icons/IndentIncrease/index.js +7 -22
- package/dist/field/lexical/ui/icons/Italic/index.js +4 -19
- package/dist/field/lexical/ui/icons/Link/index.js +7 -22
- package/dist/field/lexical/ui/icons/OrderedList/index.js +8 -23
- package/dist/field/lexical/ui/icons/Relationship/index.js +7 -22
- package/dist/field/lexical/ui/icons/Strikethrough/index.js +5 -20
- package/dist/field/lexical/ui/icons/Subscript/index.js +4 -19
- package/dist/field/lexical/ui/icons/Superscript/index.js +4 -19
- package/dist/field/lexical/ui/icons/Text/index.js +4 -19
- package/dist/field/lexical/ui/icons/Underline/index.js +5 -20
- package/dist/field/lexical/ui/icons/UnorderedList/index.js +9 -24
- package/dist/field/lexical/ui/icons/Upload/index.js +6 -21
- package/dist/field/lexical/utils/canUseDOM.js +2 -12
- package/dist/field/lexical/utils/cloneDeep.js +2 -12
- package/dist/field/lexical/utils/environment.js +13 -51
- package/dist/field/lexical/utils/getDOMRangeRect.js +2 -12
- package/dist/field/lexical/utils/getSelectedNode.js +5 -15
- package/dist/field/lexical/utils/guard.js +2 -12
- package/dist/field/lexical/utils/invariant.js +2 -12
- package/dist/field/lexical/utils/joinClasses.js +2 -12
- package/dist/field/lexical/utils/markdown/createBlockNode.js +2 -12
- package/dist/field/lexical/utils/nodeFormat.js +17 -61
- package/dist/field/lexical/utils/point.js +3 -21
- package/dist/field/lexical/utils/rect.js +4 -14
- package/dist/field/lexical/utils/setFloatingElemPosition.js +5 -12
- package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js +2 -12
- package/dist/field/lexical/utils/swipe.js +5 -29
- package/dist/field/lexical/utils/url.js +3 -21
- package/dist/generateComponentMap.d.ts +6 -0
- package/dist/generateComponentMap.d.ts.map +1 -0
- package/dist/generateComponentMap.js +77 -0
- package/dist/generateSchemaMap.d.ts +6 -0
- package/dist/generateSchemaMap.d.ts.map +1 -0
- package/dist/generateSchemaMap.js +27 -0
- package/dist/index.d.ts +59 -56
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +130 -488
- package/dist/populate/defaultValue.js +8 -26
- package/dist/populate/populate.js +2 -12
- package/dist/populate/recurseNestedFields.d.ts.map +1 -1
- package/dist/populate/recurseNestedFields.js +6 -14
- package/dist/populate/richTextRelationshipPromise.js +4 -22
- package/dist/scss/app.scss +209 -0
- package/dist/scss/colors.scss +269 -0
- package/dist/scss/custom.css +1 -0
- package/dist/scss/fonts.scss +75 -0
- package/dist/scss/queries.scss +27 -0
- package/dist/scss/resets.scss +17 -0
- package/dist/scss/styles.scss +11 -0
- package/dist/scss/svg.scss +10 -0
- package/dist/scss/toastify.scss +58 -0
- package/dist/scss/type.scss +117 -0
- package/dist/scss/vars.scss +220 -0
- package/dist/scss/z-index.scss +9 -0
- package/dist/types.d.ts +8 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2 -5
- package/dist/useLexicalFeature.d.ts +3 -0
- package/dist/useLexicalFeature.d.ts.map +1 -0
- package/dist/useLexicalFeature.js +9 -0
- package/dist/validate/index.d.ts +4 -4
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js +7 -18
- package/dist/validate/validateNodes.d.ts +2 -4
- package/dist/validate/validateNodes.d.ts.map +1 -1
- package/dist/validate/validateNodes.js +2 -14
- package/package.json +13 -7
- package/dist/field/features/BlockQuote/index.d.ts +0 -3
- package/dist/field/features/BlockQuote/index.d.ts.map +0 -1
- package/dist/field/features/BlockQuote/index.js +0 -140
- package/dist/field/features/BlockQuote/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/BlockQuote/markdownTransformer.js +0 -50
- package/dist/field/features/Blocks/component/BlockContent.d.ts +0 -20
- package/dist/field/features/Blocks/component/BlockContent.d.ts.map +0 -1
- package/dist/field/features/Blocks/component/BlockContent.js +0 -220
- package/dist/field/features/Blocks/component/FormSavePlugin.d.ts +0 -11
- package/dist/field/features/Blocks/component/FormSavePlugin.d.ts.map +0 -1
- package/dist/field/features/Blocks/component/FormSavePlugin.js +0 -34
- package/dist/field/features/Blocks/component/index.d.ts +0 -15
- package/dist/field/features/Blocks/component/index.d.ts.map +0 -1
- package/dist/field/features/Blocks/component/index.js +0 -150
- package/dist/field/features/Blocks/component/index.scss +0 -153
- package/dist/field/features/Blocks/drawer/index.d.ts.map +0 -1
- package/dist/field/features/Blocks/drawer/index.js +0 -140
- package/dist/field/features/Blocks/index.d.ts +0 -7
- package/dist/field/features/Blocks/index.d.ts.map +0 -1
- package/dist/field/features/Blocks/index.js +0 -147
- package/dist/field/features/Blocks/nodes/BlocksNode.d.ts.map +0 -1
- package/dist/field/features/Blocks/nodes/BlocksNode.js +0 -173
- package/dist/field/features/Blocks/plugin/commands.d.ts.map +0 -1
- package/dist/field/features/Blocks/plugin/commands.js +0 -14
- 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 -91
- 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 -55
- package/dist/field/features/Blocks/utils/transformInputFormData.d.ts +0 -11
- package/dist/field/features/Blocks/utils/transformInputFormData.d.ts.map +0 -1
- package/dist/field/features/Blocks/utils/transformInputFormData.js +0 -35
- package/dist/field/features/Blocks/utils/transformInputFormSchema.d.ts +0 -3
- package/dist/field/features/Blocks/utils/transformInputFormSchema.d.ts.map +0 -1
- package/dist/field/features/Blocks/utils/transformInputFormSchema.js +0 -43
- 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 -62
- package/dist/field/features/Heading/index.d.ts +0 -8
- package/dist/field/features/Heading/index.d.ts.map +0 -1
- package/dist/field/features/Heading/index.js +0 -164
- package/dist/field/features/Heading/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/Heading/markdownTransformer.js +0 -39
- package/dist/field/features/Link/drawer/baseFields.d.ts.map +0 -1
- package/dist/field/features/Link/drawer/baseFields.js +0 -128
- package/dist/field/features/Link/drawer/index.d.ts.map +0 -1
- package/dist/field/features/Link/drawer/index.js +0 -40
- 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 -6
- package/dist/field/features/Link/index.d.ts +0 -33
- package/dist/field/features/Link/index.d.ts.map +0 -1
- package/dist/field/features/Link/index.js +0 -201
- package/dist/field/features/Link/nodes/AutoLinkNode.d.ts +0 -16
- package/dist/field/features/Link/nodes/AutoLinkNode.d.ts.map +0 -1
- package/dist/field/features/Link/nodes/AutoLinkNode.js +0 -79
- package/dist/field/features/Link/nodes/LinkNode.d.ts +0 -50
- package/dist/field/features/Link/nodes/LinkNode.d.ts.map +0 -1
- package/dist/field/features/Link/nodes/LinkNode.js +0 -326
- 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 -336
- package/dist/field/features/Link/plugins/clickableLink/index.d.ts.map +0 -1
- package/dist/field/features/Link/plugins/clickableLink/index.js +0 -23
- 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 -14
- package/dist/field/features/Link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -6
- 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 -336
- package/dist/field/features/Link/plugins/floatingLinkEditor/index.d.ts +0 -7
- package/dist/field/features/Link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
- package/dist/field/features/Link/plugins/floatingLinkEditor/index.js +0 -65
- package/dist/field/features/Link/plugins/floatingLinkEditor/index.scss +0 -78
- package/dist/field/features/Link/plugins/floatingLinkEditor/types.d.ts +0 -13
- 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/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 -45
- package/dist/field/features/Link/plugins/link/index.d.ts.map +0 -1
- package/dist/field/features/Link/plugins/link/index.js +0 -69
- 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 -56
- package/dist/field/features/Paragraph/index.d.ts +0 -3
- package/dist/field/features/Paragraph/index.d.ts.map +0 -1
- package/dist/field/features/Paragraph/index.js +0 -114
- package/dist/field/features/Relationship/drawer/commands.d.ts.map +0 -1
- package/dist/field/features/Relationship/drawer/commands.js +0 -14
- package/dist/field/features/Relationship/drawer/index.d.ts.map +0 -1
- package/dist/field/features/Relationship/drawer/index.js +0 -130
- package/dist/field/features/Relationship/index.d.ts +0 -18
- package/dist/field/features/Relationship/index.d.ts.map +0 -1
- package/dist/field/features/Relationship/index.js +0 -115
- package/dist/field/features/Relationship/nodes/RelationshipNode.d.ts.map +0 -1
- package/dist/field/features/Relationship/nodes/RelationshipNode.js +0 -172
- package/dist/field/features/Relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
- package/dist/field/features/Relationship/nodes/components/RelationshipComponent.js +0 -161
- 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 -107
- package/dist/field/features/Relationship/populationPromise.d.ts.map +0 -1
- package/dist/field/features/Relationship/populationPromise.js +0 -34
- package/dist/field/features/Relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
- package/dist/field/features/Relationship/utils/EnabledRelationshipsCondition.js +0 -84
- package/dist/field/features/Upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
- package/dist/field/features/Upload/component/ExtraFieldsDrawer/index.js +0 -148
- package/dist/field/features/Upload/component/index.d.ts.map +0 -1
- package/dist/field/features/Upload/component/index.js +0 -191
- 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 -14
- package/dist/field/features/Upload/drawer/index.d.ts.map +0 -1
- package/dist/field/features/Upload/drawer/index.js +0 -127
- package/dist/field/features/Upload/index.d.ts +0 -11
- package/dist/field/features/Upload/index.d.ts.map +0 -1
- package/dist/field/features/Upload/index.js +0 -168
- package/dist/field/features/Upload/nodes/UploadNode.d.ts +0 -47
- package/dist/field/features/Upload/nodes/UploadNode.d.ts.map +0 -1
- package/dist/field/features/Upload/nodes/UploadNode.js +0 -160
- package/dist/field/features/Upload/plugin/index.d.ts.map +0 -1
- package/dist/field/features/Upload/plugin/index.js +0 -111
- 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 -56
- package/dist/field/features/Upload/validate.d.ts.map +0 -1
- package/dist/field/features/Upload/validate.js +0 -29
- package/dist/field/features/align/index.d.ts +0 -3
- package/dist/field/features/align/index.d.ts.map +0 -1
- package/dist/field/features/align/index.js +0 -121
- package/dist/field/features/converters/html/index.d.ts +0 -13
- package/dist/field/features/converters/html/index.d.ts.map +0 -1
- package/dist/field/features/converters/html/index.js +0 -25
- package/dist/field/features/debug/TestRecorder/index.d.ts +0 -3
- package/dist/field/features/debug/TestRecorder/index.d.ts.map +0 -1
- package/dist/field/features/debug/TestRecorder/index.js +0 -70
- package/dist/field/features/debug/TestRecorder/plugin/index.d.ts.map +0 -1
- package/dist/field/features/debug/TestRecorder/plugin/index.js +0 -500
- package/dist/field/features/debug/TestRecorder/plugin/index.scss +0 -51
- package/dist/field/features/debug/TreeView/index.d.ts +0 -3
- package/dist/field/features/debug/TreeView/index.d.ts.map +0 -1
- package/dist/field/features/debug/TreeView/index.js +0 -70
- package/dist/field/features/debug/TreeView/plugin.d.ts +0 -4
- package/dist/field/features/debug/TreeView/plugin.d.ts.map +0 -1
- package/dist/field/features/debug/TreeView/plugin.js +0 -70
- package/dist/field/features/format/Bold/index.d.ts +0 -3
- package/dist/field/features/format/Bold/index.d.ts.map +0 -1
- package/dist/field/features/format/Bold/index.js +0 -98
- package/dist/field/features/format/Bold/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/Bold/markdownTransformers.js +0 -58
- package/dist/field/features/format/InlineCode/index.d.ts +0 -3
- package/dist/field/features/format/InlineCode/index.d.ts.map +0 -1
- package/dist/field/features/format/InlineCode/index.js +0 -90
- package/dist/field/features/format/InlineCode/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/InlineCode/markdownTransformers.js +0 -19
- package/dist/field/features/format/Italic/index.d.ts +0 -3
- package/dist/field/features/format/Italic/index.d.ts.map +0 -1
- package/dist/field/features/format/Italic/index.js +0 -91
- package/dist/field/features/format/Italic/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/Italic/markdownTransformers.js +0 -35
- package/dist/field/features/format/strikethrough/index.d.ts +0 -3
- package/dist/field/features/format/strikethrough/index.d.ts.map +0 -1
- package/dist/field/features/format/strikethrough/index.js +0 -90
- package/dist/field/features/format/subscript/index.d.ts +0 -3
- package/dist/field/features/format/subscript/index.d.ts.map +0 -1
- package/dist/field/features/format/subscript/index.js +0 -86
- package/dist/field/features/format/superscript/index.d.ts +0 -3
- package/dist/field/features/format/superscript/index.d.ts.map +0 -1
- package/dist/field/features/format/superscript/index.js +0 -86
- package/dist/field/features/format/underline/index.d.ts +0 -3
- package/dist/field/features/format/underline/index.d.ts.map +0 -1
- package/dist/field/features/format/underline/index.js +0 -86
- package/dist/field/features/indent/index.d.ts +0 -3
- package/dist/field/features/indent/index.d.ts.map +0 -1
- package/dist/field/features/indent/index.js +0 -114
- package/dist/field/features/indent/plugin.d.ts +0 -3
- package/dist/field/features/indent/plugin.d.ts.map +0 -1
- package/dist/field/features/indent/plugin.js +0 -17
- package/dist/field/features/lists/CheckList/index.d.ts +0 -3
- package/dist/field/features/lists/CheckList/index.d.ts.map +0 -1
- package/dist/field/features/lists/CheckList/index.js +0 -135
- package/dist/field/features/lists/CheckList/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/lists/CheckList/markdownTransformers.js +0 -26
- package/dist/field/features/lists/CheckList/plugin/index.d.ts.map +0 -1
- package/dist/field/features/lists/CheckList/plugin/index.js +0 -23
- package/dist/field/features/lists/OrderedList/index.d.ts +0 -3
- package/dist/field/features/lists/OrderedList/index.d.ts.map +0 -1
- package/dist/field/features/lists/OrderedList/index.js +0 -133
- package/dist/field/features/lists/OrderedList/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/lists/OrderedList/markdownTransformer.js +0 -26
- package/dist/field/features/lists/UnorderedList/index.d.ts +0 -3
- package/dist/field/features/lists/UnorderedList/index.d.ts.map +0 -1
- package/dist/field/features/lists/UnorderedList/index.js +0 -133
- package/dist/field/features/lists/UnorderedList/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/lists/UnorderedList/markdownTransformer.js +0 -26
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/heading.d.ts +0 -3
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/heading.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/heading.js +0 -30
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/link.d.ts +0 -3
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/link.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/link.js +0 -41
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/list.d.ts +0 -3
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/list.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/list.js +0 -32
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/listItem.d.ts +0 -3
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/listItem.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/listItem.js +0 -32
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/quote.d.ts +0 -3
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/quote.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/quote.js +0 -30
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/unknown.d.ts +0 -3
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/unknown.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/unknown.js +0 -36
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/upload.d.ts +0 -3
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/upload.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/converters/upload.js +0 -35
- 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 -28
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/index.d.ts +0 -18
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/index.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/index.js +0 -90
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/types.d.ts +0 -20
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/types.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/converter/types.js +0 -6
- package/dist/field/features/migrations/LexicalPluginToLexical/index.d.ts +0 -10
- package/dist/field/features/migrations/LexicalPluginToLexical/index.d.ts.map +0 -1
- package/dist/field/features/migrations/LexicalPluginToLexical/index.js +0 -50
- 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 -23
- 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 -131
- package/dist/field/features/migrations/LexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -16
- package/dist/field/features/migrations/SlateToLexical/converter/converters/blockquote.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/blockquote.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/blockquote.js +0 -33
- package/dist/field/features/migrations/SlateToLexical/converter/converters/heading.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/heading.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/heading.js +0 -39
- package/dist/field/features/migrations/SlateToLexical/converter/converters/indent.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/indent.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/indent.js +0 -57
- package/dist/field/features/migrations/SlateToLexical/converter/converters/link.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/link.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/link.js +0 -40
- package/dist/field/features/migrations/SlateToLexical/converter/converters/listItem.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/listItem.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/listItem.js +0 -35
- package/dist/field/features/migrations/SlateToLexical/converter/converters/orderedList.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/orderedList.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/orderedList.js +0 -36
- package/dist/field/features/migrations/SlateToLexical/converter/converters/relationship.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/relationship.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/relationship.js +0 -28
- package/dist/field/features/migrations/SlateToLexical/converter/converters/unknown.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/unknown.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/unknown.js +0 -37
- package/dist/field/features/migrations/SlateToLexical/converter/converters/unorderedList.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/unorderedList.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/unorderedList.js +0 -36
- package/dist/field/features/migrations/SlateToLexical/converter/converters/upload.d.ts +0 -3
- package/dist/field/features/migrations/SlateToLexical/converter/converters/upload.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/converters/upload.js +0 -31
- 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 -34
- package/dist/field/features/migrations/SlateToLexical/converter/index.d.ts +0 -19
- package/dist/field/features/migrations/SlateToLexical/converter/index.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/index.js +0 -131
- package/dist/field/features/migrations/SlateToLexical/converter/types.d.ts +0 -16
- package/dist/field/features/migrations/SlateToLexical/converter/types.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/converter/types.js +0 -6
- package/dist/field/features/migrations/SlateToLexical/index.d.ts +0 -10
- package/dist/field/features/migrations/SlateToLexical/index.d.ts.map +0 -1
- package/dist/field/features/migrations/SlateToLexical/index.js +0 -50
- 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 -23
- 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 -131
- package/dist/field/features/migrations/SlateToLexical/nodes/unknownConvertedNode/index.scss +0 -16
- package/dist/field/lexical/config/EditorConfigProvider.d.ts +0 -16
- package/dist/field/lexical/config/EditorConfigProvider.d.ts.map +0 -1
- package/dist/field/lexical/config/EditorConfigProvider.js +0 -99
- package/dist/field/lexical/config/default.d.ts +0 -6
- package/dist/field/lexical/config/default.d.ts.map +0 -1
- package/dist/field/lexical/config/default.js +0 -112
- package/dist/field/lexical/config/defaultClient.d.ts +0 -3
- package/dist/field/lexical/config/defaultClient.d.ts.map +0 -1
- package/dist/field/lexical/config/defaultClient.js +0 -17
- package/dist/field/lexical/config/loader.d.ts +0 -7
- package/dist/field/lexical/config/loader.d.ts.map +0 -1
- package/dist/field/lexical/config/loader.js +0 -133
- package/dist/field/lexical/config/sanitize.d.ts +0 -5
- package/dist/field/lexical/config/sanitize.d.ts.map +0 -1
- package/dist/field/lexical/config/sanitize.js +0 -170
- /package/dist/field/features/{BlockQuote → blockquote}/markdownTransformer.d.ts +0 -0
- /package/dist/field/features/{Blocks → blocks}/drawer/index.d.ts +0 -0
- /package/dist/field/features/{Blocks → blocks}/nodes/BlocksNode.d.ts +0 -0
- /package/dist/field/features/{Blocks → blocks}/plugin/commands.d.ts +0 -0
- /package/dist/field/features/debug/{TestRecorder → testrecorder}/plugin/index.d.ts +0 -0
- /package/dist/field/features/debug/{TreeView → treeview/plugin}/index.scss +0 -0
- /package/dist/field/features/format/{Bold → bold}/markdownTransformers.d.ts +0 -0
- /package/dist/field/features/format/{InlineCode → inlinecode}/markdownTransformers.d.ts +0 -0
- /package/dist/field/features/format/{Italic → italic}/markdownTransformers.d.ts +0 -0
- /package/dist/field/features/{Heading → heading}/markdownTransformer.d.ts +0 -0
- /package/dist/field/features/{Link → link}/drawer/baseFields.d.ts +0 -0
- /package/dist/field/features/{Link → link}/drawer/index.d.ts +0 -0
- /package/dist/field/features/{Link → link}/plugins/clickableLink/index.d.ts +0 -0
- /package/dist/field/features/{Link → link}/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
- /package/dist/field/features/{Link → link}/plugins/link/index.d.ts +0 -0
- /package/dist/field/features/lists/{CheckList → checklist}/markdownTransformers.d.ts +0 -0
- /package/dist/field/features/lists/{CheckList → checklist}/plugin/index.d.ts +0 -0
- /package/dist/field/features/lists/{OrderedList → orderedlist}/markdownTransformer.d.ts +0 -0
- /package/dist/field/features/lists/{UnorderedList → unorderedlist}/markdownTransformer.d.ts +0 -0
- /package/dist/field/features/migrations/{LexicalPluginToLexical → lexicalPluginToLexical}/nodes/unknownConvertedNode/Component.d.ts +0 -0
- /package/dist/field/features/migrations/{LexicalPluginToLexical → lexicalPluginToLexical}/nodes/unknownConvertedNode/index.d.ts +0 -0
- /package/dist/field/features/migrations/{SlateToLexical → slateToLexical}/nodes/unknownConvertedNode/Component.d.ts +0 -0
- /package/dist/field/features/migrations/{SlateToLexical → slateToLexical}/nodes/unknownConvertedNode/index.d.ts +0 -0
- /package/dist/field/features/{Relationship → relationship}/drawer/commands.d.ts +0 -0
- /package/dist/field/features/{Relationship → relationship}/drawer/index.d.ts +0 -0
- /package/dist/field/features/{Relationship → relationship}/nodes/RelationshipNode.d.ts +0 -0
- /package/dist/field/features/{Relationship → relationship}/nodes/components/RelationshipComponent.d.ts +0 -0
- /package/dist/field/features/{Relationship → relationship}/populationPromise.d.ts +0 -0
- /package/dist/field/features/{Relationship → relationship}/utils/EnabledRelationshipsCondition.d.ts +0 -0
- /package/dist/field/features/{Upload → upload}/component/ExtraFieldsDrawer/index.d.ts +0 -0
- /package/dist/field/features/{Upload → upload}/component/index.d.ts +0 -0
- /package/dist/field/features/{Upload → upload}/drawer/commands.d.ts +0 -0
- /package/dist/field/features/{Upload → upload}/drawer/index.d.ts +0 -0
- /package/dist/field/features/{Upload → upload}/plugin/index.d.ts +0 -0
- /package/dist/field/features/{Upload → upload}/validate.d.ts +0 -0
package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BlockQuoteConverterClient } from './client';
|
|
2
|
+
import { _SlateBlockquoteConverter } from './converter';
|
|
3
|
+
export const SlateBlockquoteConverter = {
|
|
4
|
+
ClientComponent: BlockQuoteConverterClient,
|
|
5
|
+
converter: _SlateBlockquoteConverter
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2Jsb2NrcXVvdGUvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBTbGF0ZU5vZGVDb252ZXJ0ZXJQcm92aWRlciB9IGZyb20gJy4uLy4uL3R5cGVzJ1xuXG5pbXBvcnQgeyBCbG9ja1F1b3RlQ29udmVydGVyQ2xpZW50IH0gZnJvbSAnLi9jbGllbnQnXG5pbXBvcnQgeyBfU2xhdGVCbG9ja3F1b3RlQ29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBTbGF0ZUJsb2NrcXVvdGVDb252ZXJ0ZXI6IFNsYXRlTm9kZUNvbnZlcnRlclByb3ZpZGVyID0ge1xuICBDbGllbnRDb21wb25lbnQ6IEJsb2NrUXVvdGVDb252ZXJ0ZXJDbGllbnQsXG4gIGNvbnZlcnRlcjogX1NsYXRlQmxvY2txdW90ZUNvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJCbG9ja1F1b3RlQ29udmVydGVyQ2xpZW50IiwiX1NsYXRlQmxvY2txdW90ZUNvbnZlcnRlciIsIlNsYXRlQmxvY2txdW90ZUNvbnZlcnRlciIsIkNsaWVudENvbXBvbmVudCIsImNvbnZlcnRlciJdLCJtYXBwaW5ncyI6IkFBRUEsU0FBU0EseUJBQXlCLFFBQVEsV0FBVTtBQUNwRCxTQUFTQyx5QkFBeUIsUUFBUSxjQUFhO0FBRXZELE9BQU8sTUFBTUMsMkJBQXVEO0lBQ2xFQyxpQkFBaUJIO0lBQ2pCSSxXQUFXSDtBQUNiLEVBQUMifQ==
|
package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/heading/client.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,sBAAsB;;;EAAqD,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createFeaturePropComponent } from '../../../../../createFeaturePropComponent';
|
|
3
|
+
import { _SlateHeadingConverter } from './converter';
|
|
4
|
+
export const HeadingConverterClient = createFeaturePropComponent(_SlateHeadingConverter);
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2hlYWRpbmcvY2xpZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuaW1wb3J0IHsgY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQgfSBmcm9tICcuLi8uLi8uLi8uLi8uLi9jcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCdcbmltcG9ydCB7IF9TbGF0ZUhlYWRpbmdDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcidcblxuZXhwb3J0IGNvbnN0IEhlYWRpbmdDb252ZXJ0ZXJDbGllbnQgPSBjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudChfU2xhdGVIZWFkaW5nQ29udmVydGVyKVxuIl0sIm5hbWVzIjpbImNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50IiwiX1NsYXRlSGVhZGluZ0NvbnZlcnRlciIsIkhlYWRpbmdDb252ZXJ0ZXJDbGllbnQiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0EsU0FBU0EsMEJBQTBCLFFBQVEsNENBQTJDO0FBQ3RGLFNBQVNDLHNCQUFzQixRQUFRLGNBQWE7QUFFcEQsT0FBTyxNQUFNQyx5QkFBeUJGLDJCQUEyQkMsd0JBQXVCIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/heading/converter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAIrD,eAAO,MAAM,sBAAsB,EAAE,kBAkBpC,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { convertSlateNodesToLexical } from '../..';
|
|
2
|
+
export const _SlateHeadingConverter = {
|
|
3
|
+
converter ({ converters, slateNode }) {
|
|
4
|
+
return {
|
|
5
|
+
type: 'heading',
|
|
6
|
+
children: convertSlateNodesToLexical({
|
|
7
|
+
canContainParagraphs: false,
|
|
8
|
+
converters,
|
|
9
|
+
parentNodeType: 'heading',
|
|
10
|
+
slateNodes: slateNode.children
|
|
11
|
+
}),
|
|
12
|
+
direction: 'ltr',
|
|
13
|
+
format: '',
|
|
14
|
+
indent: 0,
|
|
15
|
+
tag: slateNode.type,
|
|
16
|
+
version: 1
|
|
17
|
+
};
|
|
18
|
+
},
|
|
19
|
+
nodeTypes: [
|
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JQUNGO0lBQ0FDLFdBQVc7UUFBQztRQUFNO1FBQU07UUFBTTtRQUFNO1FBQU07S0FBSztBQUNqRCxFQUFDIn0=
|
package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/heading/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAK7D,eAAO,MAAM,qBAAqB,EAAE,0BAGnC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HeadingConverterClient } from './client';
|
|
2
|
+
import { _SlateHeadingConverter } from './converter';
|
|
3
|
+
export const SlateHeadingConverter = {
|
|
4
|
+
ClientComponent: HeadingConverterClient,
|
|
5
|
+
converter: _SlateHeadingConverter
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2hlYWRpbmcvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBTbGF0ZU5vZGVDb252ZXJ0ZXJQcm92aWRlciB9IGZyb20gJy4uLy4uL3R5cGVzJ1xuXG5pbXBvcnQgeyBIZWFkaW5nQ29udmVydGVyQ2xpZW50IH0gZnJvbSAnLi9jbGllbnQnXG5pbXBvcnQgeyBfU2xhdGVIZWFkaW5nQ29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBTbGF0ZUhlYWRpbmdDb252ZXJ0ZXI6IFNsYXRlTm9kZUNvbnZlcnRlclByb3ZpZGVyID0ge1xuICBDbGllbnRDb21wb25lbnQ6IEhlYWRpbmdDb252ZXJ0ZXJDbGllbnQsXG4gIGNvbnZlcnRlcjogX1NsYXRlSGVhZGluZ0NvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJIZWFkaW5nQ29udmVydGVyQ2xpZW50IiwiX1NsYXRlSGVhZGluZ0NvbnZlcnRlciIsIlNsYXRlSGVhZGluZ0NvbnZlcnRlciIsIkNsaWVudENvbXBvbmVudCIsImNvbnZlcnRlciJdLCJtYXBwaW5ncyI6IkFBRUEsU0FBU0Esc0JBQXNCLFFBQVEsV0FBVTtBQUNqRCxTQUFTQyxzQkFBc0IsUUFBUSxjQUFhO0FBRXBELE9BQU8sTUFBTUMsd0JBQW9EO0lBQy9EQyxpQkFBaUJIO0lBQ2pCSSxXQUFXSDtBQUNiLEVBQUMifQ==
|
package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/indent/client.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,qBAAqB;;;EAAoD,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createFeaturePropComponent } from '../../../../../createFeaturePropComponent';
|
|
3
|
+
import { _SlateIndentConverter } from './converter';
|
|
4
|
+
export const IndentConverterClient = createFeaturePropComponent(_SlateIndentConverter);
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2luZGVudC9jbGllbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBjbGllbnQnXG5cbmltcG9ydCB7IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50IH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQnXG5pbXBvcnQgeyBfU2xhdGVJbmRlbnRDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcidcblxuZXhwb3J0IGNvbnN0IEluZGVudENvbnZlcnRlckNsaWVudCA9IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50KF9TbGF0ZUluZGVudENvbnZlcnRlcilcbiJdLCJuYW1lcyI6WyJjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCIsIl9TbGF0ZUluZGVudENvbnZlcnRlciIsIkluZGVudENvbnZlcnRlckNsaWVudCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFFQSxTQUFTQSwwQkFBMEIsUUFBUSw0Q0FBMkM7QUFDdEYsU0FBU0MscUJBQXFCLFFBQVEsY0FBYTtBQUVuRCxPQUFPLE1BQU1DLHdCQUF3QkYsMkJBQTJCQyx1QkFBc0IifQ==
|
package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/indent/converter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAIrD,eAAO,MAAM,qBAAqB,EAAE,kBAgCnC,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { convertSlateNodesToLexical } from '../..';
|
|
2
|
+
export const _SlateIndentConverter = {
|
|
3
|
+
converter ({ converters, slateNode }) {
|
|
4
|
+
const convertChildren = (node, indentLevel = 0)=>{
|
|
5
|
+
if (node?.type && (!node.children || node.type !== 'indent') || !node?.type && node?.text) {
|
|
6
|
+
return {
|
|
7
|
+
...convertSlateNodesToLexical({
|
|
8
|
+
canContainParagraphs: false,
|
|
9
|
+
converters,
|
|
10
|
+
parentNodeType: 'indent',
|
|
11
|
+
slateNodes: [
|
|
12
|
+
node
|
|
13
|
+
]
|
|
14
|
+
})[0],
|
|
15
|
+
indent: indentLevel
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
const children = node.children.map((child)=>convertChildren(child, indentLevel + 1));
|
|
19
|
+
return {
|
|
20
|
+
type: 'paragraph',
|
|
21
|
+
children,
|
|
22
|
+
direction: 'ltr',
|
|
23
|
+
format: '',
|
|
24
|
+
indent: indentLevel,
|
|
25
|
+
version: 1
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
return convertChildren(slateNode);
|
|
29
|
+
},
|
|
30
|
+
nodeTypes: [
|
|
31
|
+
'indent'
|
|
32
|
+
]
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2luZGVudC9jb252ZXJ0ZXIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBTZXJpYWxpemVkTGV4aWNhbE5vZGUsIFNlcmlhbGl6ZWRQYXJhZ3JhcGhOb2RlIH0gZnJvbSAnbGV4aWNhbCdcblxuaW1wb3J0IHR5cGUgeyBTbGF0ZU5vZGVDb252ZXJ0ZXIgfSBmcm9tICcuLi8uLi90eXBlcydcblxuaW1wb3J0IHsgY29udmVydFNsYXRlTm9kZXNUb0xleGljYWwgfSBmcm9tICcuLi8uLidcblxuZXhwb3J0IGNvbnN0IF9TbGF0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1A7eUJBQUs7b0JBQ3BCLEVBQUUsQ0FBQyxFQUFFO29CQUNMUSxRQUFRUDtnQkFDVjtZQUNGO1lBRUEsTUFBTUUsV0FBV0gsS0FBS0csUUFBUSxDQUFDTSxHQUFHLENBQUMsQ0FBQ0MsUUFBZVgsZ0JBQWdCVyxPQUFPVCxjQUFjO1lBQ3hGLE9BQU87Z0JBQ0xDLE1BQU07Z0JBQ05DO2dCQUNBUSxXQUFXO2dCQUNYQyxRQUFRO2dCQUNSSixRQUFRUDtnQkFDUlksU0FBUztZQUNYO1FBQ0Y7UUFFQSxPQUFPZCxnQkFBZ0JEO0lBQ3pCO0lBQ0FnQixXQUFXO1FBQUM7S0FBUztBQUN2QixFQUFDIn0=
|
package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/indent/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAK7D,eAAO,MAAM,oBAAoB,EAAE,0BAGlC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IndentConverterClient } from './client';
|
|
2
|
+
import { _SlateIndentConverter } from './converter';
|
|
3
|
+
export const SlateIndentConverter = {
|
|
4
|
+
ClientComponent: IndentConverterClient,
|
|
5
|
+
converter: _SlateIndentConverter
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2luZGVudC9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFNsYXRlTm9kZUNvbnZlcnRlclByb3ZpZGVyIH0gZnJvbSAnLi4vLi4vdHlwZXMnXG5cbmltcG9ydCB7IEluZGVudENvbnZlcnRlckNsaWVudCB9IGZyb20gJy4vY2xpZW50J1xuaW1wb3J0IHsgX1NsYXRlSW5kZW50Q29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBTbGF0ZUluZGVudENvbnZlcnRlcjogU2xhdGVOb2RlQ29udmVydGVyUHJvdmlkZXIgPSB7XG4gIENsaWVudENvbXBvbmVudDogSW5kZW50Q29udmVydGVyQ2xpZW50LFxuICBjb252ZXJ0ZXI6IF9TbGF0ZUluZGVudENvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJJbmRlbnRDb252ZXJ0ZXJDbGllbnQiLCJfU2xhdGVJbmRlbnRDb252ZXJ0ZXIiLCJTbGF0ZUluZGVudENvbnZlcnRlciIsIkNsaWVudENvbXBvbmVudCIsImNvbnZlcnRlciJdLCJtYXBwaW5ncyI6IkFBRUEsU0FBU0EscUJBQXFCLFFBQVEsV0FBVTtBQUNoRCxTQUFTQyxxQkFBcUIsUUFBUSxjQUFhO0FBRW5ELE9BQU8sTUFBTUMsdUJBQW1EO0lBQzlEQyxpQkFBaUJIO0lBQ2pCSSxXQUFXSDtBQUNiLEVBQUMifQ==
|
package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/link/client.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,mBAAmB;;;EAAkD,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createFeaturePropComponent } from '../../../../../createFeaturePropComponent';
|
|
3
|
+
import { _SlateLinkConverter } from './converter';
|
|
4
|
+
export const LinkConverterClient = createFeaturePropComponent(_SlateLinkConverter);
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2xpbmsvY2xpZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgeyBjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL2NyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50J1xuaW1wb3J0IHsgX1NsYXRlTGlua0NvbnZlcnRlciB9IGZyb20gJy4vY29udmVydGVyJ1xuXG5leHBvcnQgY29uc3QgTGlua0NvbnZlcnRlckNsaWVudCA9IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50KF9TbGF0ZUxpbmtDb252ZXJ0ZXIpXG4iXSwibmFtZXMiOlsiY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQiLCJfU2xhdGVMaW5rQ29udmVydGVyIiwiTGlua0NvbnZlcnRlckNsaWVudCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFFQSxTQUFTQSwwQkFBMEIsUUFBUSw0Q0FBMkM7QUFDdEYsU0FBU0MsbUJBQW1CLFFBQVEsY0FBYTtBQUVqRCxPQUFPLE1BQU1DLHNCQUFzQkYsMkJBQTJCQyxxQkFBb0IifQ==
|
package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/link/converter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAIrD,eAAO,MAAM,mBAAmB,EAAE,kBAwBjC,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { convertSlateNodesToLexical } from '../..';
|
|
2
|
+
export const _SlateLinkConverter = {
|
|
3
|
+
converter ({ converters, slateNode }) {
|
|
4
|
+
return {
|
|
5
|
+
type: 'link',
|
|
6
|
+
children: convertSlateNodesToLexical({
|
|
7
|
+
canContainParagraphs: false,
|
|
8
|
+
converters,
|
|
9
|
+
parentNodeType: 'link',
|
|
10
|
+
slateNodes: slateNode.children
|
|
11
|
+
}),
|
|
12
|
+
direction: 'ltr',
|
|
13
|
+
fields: {
|
|
14
|
+
...slateNode.fields || {},
|
|
15
|
+
doc: slateNode.doc || null,
|
|
16
|
+
linkType: slateNode.linkType || 'custom',
|
|
17
|
+
newTab: slateNode.newTab || false,
|
|
18
|
+
url: slateNode.url || undefined
|
|
19
|
+
},
|
|
20
|
+
format: '',
|
|
21
|
+
indent: 0,
|
|
22
|
+
version: 2
|
|
23
|
+
};
|
|
24
|
+
},
|
|
25
|
+
nodeTypes: [
|
|
26
|
+
'link'
|
|
27
|
+
]
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2xpbmsvY29udmVydGVyLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgU2VyaWFsaXplZExpbmtOb2RlIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vbGluay9ub2Rlcy90eXBlcydcbmltcG9ydCB0eXBlIHsgU2xhdGVOb2RlQ29udmVydGVyIH0gZnJvbSAnLi4vLi4vdHlwZXMnXG5cbmltcG9ydC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YXRlTGlua0NvbnZlcnRlciIsImNvbnZlcnRlciIsImNvbnZlcnRlcnMiLCJzbGF0ZU5vZGUiLCJ0eXBlIiwiY2hpbGRyZW4iLCJjYW5Db250YWluUGFyYWdyYXBocyIsInBhcmVudE5vZGVUeXBlIiwic2xhdGVOb2RlcyIsImRpcmVjdGlvbiIsImZpZWxkcyIsImRvYyIsImxpbmtUeXBlIiwibmV3VGFiIiwidXJsIiwidW5kZWZpbmVkIiwiZm9ybWF0IiwiaW5kZW50IiwidmVyc2lvbiIsIm5vZGVUeXBlcyJdLCJtYXBwaW5ncyI6IkFBR0EsU0FBU0EsMEJBQTBCLFFBQVEsUUFBTztBQUVsRCxPQUFPLE1BQU1DLHNCQUEwQztJQUNyREMsV0FBVSxFQUFFQyxVQUFVLEVBQUVDLFNBQVMsRUFBRTtRQUNqQyxPQUFPO1lBQ0xDLE1BQU07WUFDTkMsVUFBVU4sMkJBQTJCO2dCQUNuQ08sc0JBQXNCO2dCQUN0Qko7Z0JBQ0FLLGdCQUFnQjtnQkFDaEJDLFlBQVlMLFVBQVVFLFFBQVE7WUFDaEM7WUFDQUksV0FBVztZQUNYQyxRQUFRO2dCQUNOLEdBQUlQLFVBQVVPLE1BQU0sSUFBSSxDQUFDLENBQUM7Z0JBQzFCQyxLQUFLUixVQUFVUSxHQUFHLElBQUk7Z0JBQ3RCQyxVQUFVVCxVQUFVUyxRQUFRLElBQUk7Z0JBQ2hDQyxRQUFRVixVQUFVVSxNQUFNLElBQUk7Z0JBQzVCQyxLQUFLWCxVQUFVVyxHQUFHLElBQUlDO1lBQ3hCO1lBQ0FDLFFBQVE7WUFDUkMsUUFBUTtZQUNSQyxTQUFTO1FBQ1g7SUFDRjtJQUNBQyxXQUFXO1FBQUM7S0FBTztBQUNyQixFQUFDIn0=
|
package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/link/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAK7D,eAAO,MAAM,kBAAkB,EAAE,0BAGhC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LinkConverterClient } from './client';
|
|
2
|
+
import { _SlateLinkConverter } from './converter';
|
|
3
|
+
export const SlateLinkConverter = {
|
|
4
|
+
ClientComponent: LinkConverterClient,
|
|
5
|
+
converter: _SlateLinkConverter
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2xpbmsvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBTbGF0ZU5vZGVDb252ZXJ0ZXJQcm92aWRlciB9IGZyb20gJy4uLy4uL3R5cGVzJ1xuXG5pbXBvcnQgeyBMaW5rQ29udmVydGVyQ2xpZW50IH0gZnJvbSAnLi9jbGllbnQnXG5pbXBvcnQgeyBfU2xhdGVMaW5rQ29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBTbGF0ZUxpbmtDb252ZXJ0ZXI6IFNsYXRlTm9kZUNvbnZlcnRlclByb3ZpZGVyID0ge1xuICBDbGllbnRDb21wb25lbnQ6IExpbmtDb252ZXJ0ZXJDbGllbnQsXG4gIGNvbnZlcnRlcjogX1NsYXRlTGlua0NvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJMaW5rQ29udmVydGVyQ2xpZW50IiwiX1NsYXRlTGlua0NvbnZlcnRlciIsIlNsYXRlTGlua0NvbnZlcnRlciIsIkNsaWVudENvbXBvbmVudCIsImNvbnZlcnRlciJdLCJtYXBwaW5ncyI6IkFBRUEsU0FBU0EsbUJBQW1CLFFBQVEsV0FBVTtBQUM5QyxTQUFTQyxtQkFBbUIsUUFBUSxjQUFhO0FBRWpELE9BQU8sTUFBTUMscUJBQWlEO0lBQzVEQyxpQkFBaUJIO0lBQ2pCSSxXQUFXSDtBQUNiLEVBQUMifQ==
|
package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/listItem/client.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,uBAAuB;;;EAAsD,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createFeaturePropComponent } from '../../../../../createFeaturePropComponent';
|
|
3
|
+
import { _SlateListItemConverter } from './converter';
|
|
4
|
+
export const ListItemConverterClient = createFeaturePropComponent(_SlateListItemConverter);
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2xpc3RJdGVtL2NsaWVudC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIGNsaWVudCdcblxuaW1wb3J0IHsgY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQgfSBmcm9tICcuLi8uLi8uLi8uLi8uLi9jcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCdcbmltcG9ydCB7IF9TbGF0ZUxpc3RJdGVtQ29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBMaXN0SXRlbUNvbnZlcnRlckNsaWVudCA9IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50KF9TbGF0ZUxpc3RJdGVtQ29udmVydGVyKVxuIl0sIm5hbWVzIjpbImNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50IiwiX1NsYXRlTGlzdEl0ZW1Db252ZXJ0ZXIiLCJMaXN0SXRlbUNvbnZlcnRlckNsaWVudCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFFQSxTQUFTQSwwQkFBMEIsUUFBUSw0Q0FBMkM7QUFDdEYsU0FBU0MsdUJBQXVCLFFBQVEsY0FBYTtBQUVyRCxPQUFPLE1BQU1DLDBCQUEwQkYsMkJBQTJCQyx5QkFBd0IifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/listItem/converter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAIrD,eAAO,MAAM,uBAAuB,EAAE,kBAmBrC,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { convertSlateNodesToLexical } from '../..';
|
|
2
|
+
export const _SlateListItemConverter = {
|
|
3
|
+
converter ({ childIndex, converters, slateNode }) {
|
|
4
|
+
return {
|
|
5
|
+
type: 'listitem',
|
|
6
|
+
checked: undefined,
|
|
7
|
+
children: convertSlateNodesToLexical({
|
|
8
|
+
canContainParagraphs: false,
|
|
9
|
+
converters,
|
|
10
|
+
parentNodeType: 'listitem',
|
|
11
|
+
slateNodes: slateNode.children
|
|
12
|
+
}),
|
|
13
|
+
direction: 'ltr',
|
|
14
|
+
format: '',
|
|
15
|
+
indent: 0,
|
|
16
|
+
value: childIndex + 1,
|
|
17
|
+
version: 1
|
|
18
|
+
};
|
|
19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/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/listItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAK7D,eAAO,MAAM,sBAAsB,EAAE,0BAGpC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ListItemConverterClient } from './client';
|
|
2
|
+
import { _SlateListItemConverter } from './converter';
|
|
3
|
+
export const SlateListItemConverter = {
|
|
4
|
+
ClientComponent: ListItemConverterClient,
|
|
5
|
+
converter: _SlateListItemConverter
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL2xpc3RJdGVtL2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgU2xhdGVOb2RlQ29udmVydGVyUHJvdmlkZXIgfSBmcm9tICcuLi8uLi90eXBlcydcblxuaW1wb3J0IHsgTGlzdEl0ZW1Db252ZXJ0ZXJDbGllbnQgfSBmcm9tICcuL2NsaWVudCdcbmltcG9ydCB7IF9TbGF0ZUxpc3RJdGVtQ29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBTbGF0ZUxpc3RJdGVtQ29udmVydGVyOiBTbGF0ZU5vZGVDb252ZXJ0ZXJQcm92aWRlciA9IHtcbiAgQ2xpZW50Q29tcG9uZW50OiBMaXN0SXRlbUNvbnZlcnRlckNsaWVudCxcbiAgY29udmVydGVyOiBfU2xhdGVMaXN0SXRlbUNvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJMaXN0SXRlbUNvbnZlcnRlckNsaWVudCIsIl9TbGF0ZUxpc3RJdGVtQ29udmVydGVyIiwiU2xhdGVMaXN0SXRlbUNvbnZlcnRlciIsIkNsaWVudENvbXBvbmVudCIsImNvbnZlcnRlciJdLCJtYXBwaW5ncyI6IkFBRUEsU0FBU0EsdUJBQXVCLFFBQVEsV0FBVTtBQUNsRCxTQUFTQyx1QkFBdUIsUUFBUSxjQUFhO0FBRXJELE9BQU8sTUFBTUMseUJBQXFEO0lBQ2hFQyxpQkFBaUJIO0lBQ2pCSSxXQUFXSDtBQUNiLEVBQUMifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/orderedList/client.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,0BAA0B;;;EAAyD,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createFeaturePropComponent } from '../../../../../createFeaturePropComponent';
|
|
3
|
+
import { _SlateOrderedListConverter } from './converter';
|
|
4
|
+
export const OrderedListConverterClient = createFeaturePropComponent(_SlateOrderedListConverter);
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL29yZGVyZWRMaXN0L2NsaWVudC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIGNsaWVudCdcblxuaW1wb3J0IHsgY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQgfSBmcm9tICcuLi8uLi8uLi8uLi8uLi9jcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCdcbmltcG9ydCB7IF9TbGF0ZU9yZGVyZWRMaXN0Q29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBPcmRlcmVkTGlzdENvbnZlcnRlckNsaWVudCA9IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50KF9TbGF0ZU9yZGVyZWRMaXN0Q29udmVydGVyKVxuIl0sIm5hbWVzIjpbImNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50IiwiX1NsYXRlT3JkZXJlZExpc3RDb252ZXJ0ZXIiLCJPcmRlcmVkTGlzdENvbnZlcnRlckNsaWVudCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFFQSxTQUFTQSwwQkFBMEIsUUFBUSw0Q0FBMkM7QUFDdEYsU0FBU0MsMEJBQTBCLFFBQVEsY0FBYTtBQUV4RCxPQUFPLE1BQU1DLDZCQUE2QkYsMkJBQTJCQyw0QkFBMkIifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAIrD,eAAO,MAAM,0BAA0B,EAAE,kBAoBxC,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { convertSlateNodesToLexical } from '../..';
|
|
2
|
+
export const _SlateOrderedListConverter = {
|
|
3
|
+
converter ({ converters, slateNode }) {
|
|
4
|
+
return {
|
|
5
|
+
type: 'list',
|
|
6
|
+
children: convertSlateNodesToLexical({
|
|
7
|
+
canContainParagraphs: false,
|
|
8
|
+
converters,
|
|
9
|
+
parentNodeType: 'list',
|
|
10
|
+
slateNodes: slateNode.children
|
|
11
|
+
}),
|
|
12
|
+
direction: 'ltr',
|
|
13
|
+
format: '',
|
|
14
|
+
indent: 0,
|
|
15
|
+
listType: 'number',
|
|
16
|
+
start: 1,
|
|
17
|
+
tag: 'ol',
|
|
18
|
+
version: 1
|
|
19
|
+
};
|
|
20
|
+
},
|
|
21
|
+
nodeTypes: [
|
|
22
|
+
'ol'
|
|
23
|
+
]
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL29yZGVyZWRMaXN0L2NvbnZlcnRlci50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFNlcmlhbGl6ZWRMaXN0Tm9kZSB9IGZyb20gJ0BsZXhpY2FsL2xpc3QnXG5cbmltcG9ydCB0eXBlIHsgU2xhdGVOb2RlQ29udmVydGVyIH0gZnJvbSAnLi4vLi4vdHlwZXMnXG5cbmltcG9ydCB7IGNvbnZlcnRTbGF0ZU5vZGVzVG9MZXhpY2FsIH0gZnJvbSAnLi4vLi4nXG5cbmV4cG9ydCBjb25zdCBfU2xhdGVPcmRlcmVkTGlzdENvbnZlcnRlcjogU2xhdGVOb2RlQ29udmVydGVyID0ge1xuICBjb252ZXJ0ZXIoeyBjb252ZXJ0ZXJzLCBzbGF0ZU5vZGUgfSkge1xuICAgIHJldHVybiB7XG4gICAgICB0eXBlOiAnbGlzdCcsXG4gICAgICBjaGlsZHJlbjogY29udmVydFNsYXRlTm9kZXNUb0xleGljYWwoe1xuICAgICAgICBjYW5Db250YWluUGFyYWdyYXBoczogZmFsc2UsXG4gICAgICAgIGNvbnZlcnRlcnMsXG4gICAgICAgIH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ZDLE9BQU87WUFDUEMsS0FBSztZQUNMQyxTQUFTO1FBQ1g7SUFDRjtJQUNBQyxXQUFXO1FBQUM7S0FBSztBQUNuQixFQUFDIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/orderedList/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAK7D,eAAO,MAAM,yBAAyB,EAAE,0BAGvC,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OrderedListConverterClient } from './client';
|
|
2
|
+
import { _SlateOrderedListConverter } from './converter';
|
|
3
|
+
export const SlateOrderedListConverter = {
|
|
4
|
+
ClientComponent: OrderedListConverterClient,
|
|
5
|
+
converter: _SlateOrderedListConverter
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL29yZGVyZWRMaXN0L2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgU2xhdGVOb2RlQ29udmVydGVyUHJvdmlkZXIgfSBmcm9tICcuLi8uLi90eXBlcydcblxuaW1wb3J0IHsgT3JkZXJlZExpc3RDb252ZXJ0ZXJDbGllbnQgfSBmcm9tICcuL2NsaWVudCdcbmltcG9ydCB7IF9TbGF0ZU9yZGVyZWRMaXN0Q29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBTbGF0ZU9yZGVyZWRMaXN0Q29udmVydGVyOiBTbGF0ZU5vZGVDb252ZXJ0ZXJQcm92aWRlciA9IHtcbiAgQ2xpZW50Q29tcG9uZW50OiBPcmRlcmVkTGlzdENvbnZlcnRlckNsaWVudCxcbiAgY29udmVydGVyOiBfU2xhdGVPcmRlcmVkTGlzdENvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJPcmRlcmVkTGlzdENvbnZlcnRlckNsaWVudCIsIl9TbGF0ZU9yZGVyZWRMaXN0Q29udmVydGVyIiwiU2xhdGVPcmRlcmVkTGlzdENvbnZlcnRlciIsIkNsaWVudENvbXBvbmVudCIsImNvbnZlcnRlciJdLCJtYXBwaW5ncyI6IkFBRUEsU0FBU0EsMEJBQTBCLFFBQVEsV0FBVTtBQUNyRCxTQUFTQywwQkFBMEIsUUFBUSxjQUFhO0FBRXhELE9BQU8sTUFBTUMsNEJBQXdEO0lBQ25FQyxpQkFBaUJIO0lBQ2pCSSxXQUFXSDtBQUNiLEVBQUMifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/relationship/client.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,2BAA2B;;;EAA0D,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createFeaturePropComponent } from '../../../../../createFeaturePropComponent';
|
|
3
|
+
import { _SlateRelationshipConverter } from './converter';
|
|
4
|
+
export const RelationshipConverterClient = createFeaturePropComponent(_SlateRelationshipConverter);
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL3JlbGF0aW9uc2hpcC9jbGllbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBjbGllbnQnXG5cbmltcG9ydCB7IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50IH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQnXG5pbXBvcnQgeyBfU2xhdGVSZWxhdGlvbnNoaXBDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcidcblxuZXhwb3J0IGNvbnN0IFJlbGF0aW9uc2hpcENvbnZlcnRlckNsaWVudCA9IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50KF9TbGF0ZVJlbGF0aW9uc2hpcENvbnZlcnRlcilcbiJdLCJuYW1lcyI6WyJjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCIsIl9TbGF0ZVJlbGF0aW9uc2hpcENvbnZlcnRlciIsIlJlbGF0aW9uc2hpcENvbnZlcnRlckNsaWVudCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFFQSxTQUFTQSwwQkFBMEIsUUFBUSw0Q0FBMkM7QUFDdEYsU0FBU0MsMkJBQTJCLFFBQVEsY0FBYTtBQUV6RCxPQUFPLE1BQU1DLDhCQUE4QkYsMkJBQTJCQyw2QkFBNEIifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/relationship/converter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAErD,eAAO,MAAM,2BAA2B,EAAE,kBAazC,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export const _SlateRelationshipConverter = {
|
|
2
|
+
converter ({ slateNode }) {
|
|
3
|
+
return {
|
|
4
|
+
type: 'relationship',
|
|
5
|
+
format: '',
|
|
6
|
+
relationTo: slateNode.relationTo,
|
|
7
|
+
value: {
|
|
8
|
+
id: slateNode?.value?.id || ''
|
|
9
|
+
},
|
|
10
|
+
version: 1
|
|
11
|
+
};
|
|
12
|
+
},
|
|
13
|
+
nodeTypes: [
|
|
14
|
+
'relationship'
|
|
15
|
+
]
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL3JlbGF0aW9uc2hpcC9jb252ZXJ0ZXIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBTZXJpYWxpemVkUmVsYXRpb25zaGlwTm9kZSB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL3JlbGF0aW9uc2hpcC9ub2Rlcy9SZWxhdGlvbnNoaXBOb2RlJ1xuaW1wb3J0IHR5cGUgeyBTbGF0ZU5vZGVDb252ZXJ0ZXIgfSBmcm9tICcuLi8uLi90eXBlcydcblxuZXhwb3J0IGNvbnN0IF9TbGF0ZVJlbGF0aW9uc2hpcENvbnZlcnRlcjogU2xhdGVOb2RlQ29udmVydGVyID0ge1xuICBjb252ZXJ0ZXIoeyBzbGF0ZU5vZGUgfSkge1xuICAgIHJldHVybiB7XG4gICAgICB0eXBlOiAncmVsYXRpb25zaGlwJyxcbiAgICAgIGZvcm1hdDogJycsXG4gICAgICByZWxhdGlvblRvOiBzbGF0ZU5vZGUucmVsYXRpb25UbyxcbiAgICAgIHZhbHVlOiB7XG4gICAgICAgIGlkOiBzbGF0ZU5vZGU/LnZhbHVlPy5pZCB8fCAnJyxcbiAgICAgIH0sXG4gICAgICB2ZXJzaW9uOiAxLFxuICAgIH0gYXMgY29uc3QgYXMgU2VyaWFsaXplZFJlbGF0aW9uc2hpcE5vZGVcbiAgfSxcbiAgbm9kZVR5cGVzOiBbJ3JlbGF0aW9uc2hpcCddLFxufVxuIl0sIm5hbWVzIjpbIl9TbGF0ZVJlbGF0aW9uc2hpcENvbnZlcnRlciIsImNvbnZlcnRlciIsInNsYXRlTm9kZSIsInR5cGUiLCJmb3JtYXQiLCJyZWxhdGlvblRvIiwidmFsdWUiLCJpZCIsInZlcnNpb24iLCJub2RlVHlwZXMiXSwibWFwcGluZ3MiOiJBQUdBLE9BQU8sTUFBTUEsOEJBQWtEO0lBQzdEQyxXQUFVLEVBQUVDLFNBQVMsRUFBRTtRQUNyQixPQUFPO1lBQ0xDLE1BQU07WUFDTkMsUUFBUTtZQUNSQyxZQUFZSCxVQUFVRyxVQUFVO1lBQ2hDQyxPQUFPO2dCQUNMQyxJQUFJTCxXQUFXSSxPQUFPQyxNQUFNO1lBQzlCO1lBQ0FDLFNBQVM7UUFDWDtJQUNGO0lBQ0FDLFdBQVc7UUFBQztLQUFlO0FBQzdCLEVBQUMifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/relationship/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAK7D,eAAO,MAAM,0BAA0B,EAAE,0BAGxC,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RelationshipConverterClient } from './client';
|
|
2
|
+
import { _SlateRelationshipConverter } from './converter';
|
|
3
|
+
export const SlateRelationshipConverter = {
|
|
4
|
+
ClientComponent: RelationshipConverterClient,
|
|
5
|
+
converter: _SlateRelationshipConverter
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//# sourceM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rations/slateToLexical/converter/converters/unknown/client.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/unknown/client.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,sBAAsB;;;EAAqD,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createFeaturePropComponent } from '../../../../../createFeaturePropComponent';
|
|
3
|
+
import { _SlateUnknownConverter } from './converter';
|
|
4
|
+
export const UnknownConverterClient = createFeaturePropComponent(_SlateUnknownConverter);
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL3Vua25vd24vY2xpZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgeyBjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL2NyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50J1xuaW1wb3J0IHsgX1NsYXRlVW5rbm93bkNvbnZlcnRlciB9IGZyb20gJy4vY29udmVydGVyJ1xuXG5leHBvcnQgY29uc3QgVW5rbm93bkNvbnZlcnRlckNsaWVudCA9IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50KF9TbGF0ZVVua25vd25Db252ZXJ0ZXIpXG4iXSwibmFtZXMiOlsiY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQiLCJfU2xhdGVVbmtub3duQ29udmVydGVyIiwiVW5rbm93bkNvbnZlcnRlckNsaWVudCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFFQSxTQUFTQSwwQkFBMEIsUUFBUSw0Q0FBMkM7QUFDdEYsU0FBU0Msc0JBQXNCLFFBQVEsY0FBYTtBQUVwRCxPQUFPLE1BQU1DLHlCQUF5QkYsMkJBQTJCQyx3QkFBdUIifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/unknown/converter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAIrD,eAAO,MAAM,sBAAsB,EAAE,kBAqBpC,CAAA"}
|
package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { convertSlateNodesToLexical } from '../..';
|
|
2
|
+
export const _SlateUnknownConverter = {
|
|
3
|
+
converter ({ converters, slateNode }) {
|
|
4
|
+
return {
|
|
5
|
+
type: 'unknownConverted',
|
|
6
|
+
children: convertSlateNodesToLexical({
|
|
7
|
+
canContainParagraphs: false,
|
|
8
|
+
converters,
|
|
9
|
+
parentNodeType: 'unknownConverted',
|
|
10
|
+
slateNodes: slateNode.children
|
|
11
|
+
}),
|
|
12
|
+
data: {
|
|
13
|
+
nodeData: slateNode,
|
|
14
|
+
nodeType: slateNode.type
|
|
15
|
+
},
|
|
16
|
+
direction: 'ltr',
|
|
17
|
+
format: '',
|
|
18
|
+
indent: 0,
|
|
19
|
+
version: 1
|
|
20
|
+
};
|
|
21
|
+
},
|
|
22
|
+
nodeTypes: [
|
|
23
|
+
'unknown'
|
|
24
|
+
]
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY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J0ZWROb2RlXG4gIH0sXG4gIG5vZGVUeXBlczogWyd1bmtub3duJ10sXG59XG4iXSwibmFtZXMiOlsiY29udmVydFNsYXRlTm9kZXNUb0xleGljYWwiLCJfU2xhdGVVbmtub3duQ29udmVydGVyIiwiY29udmVydGVyIiwiY29udmVydGVycyIsInNsYXRlTm9kZSIsInR5cGUiLCJjaGlsZHJlbiIsImNhbkNvbnRhaW5QYXJhZ3JhcGhzIiwicGFyZW50Tm9kZVR5cGUiLCJzbGF0ZU5vZGVzIiwiZGF0YSIsIm5vZGVEYXRhIiwibm9kZVR5cGUiLCJkaXJlY3Rpb24iLCJmb3JtYXQiLCJpbmRlbnQiLCJ2ZXJzaW9uIiwibm9kZVR5cGVzIl0sIm1hcHBpbmdzIjoiQUFHQSxTQUFTQSwwQkFBMEIsUUFBUSxRQUFPO0FBRWxELE9BQU8sTUFBTUMseUJBQTZDO0lBQ3hEQyxXQUFVLEVBQUVDLFVBQVUsRUFBRUMsU0FBUyxFQUFFO1FBQ2pDLE9BQU87WUFDTEMsTUFBTTtZQUNOQyxVQUFVTiwyQkFBMkI7Z0JBQ25DTyxzQkFBc0I7Z0JBQ3RCSjtnQkFDQUssZ0JBQWdCO2dCQUNoQkMsWUFBWUwsVUFBVUUsUUFBUTtZQUNoQztZQUNBSSxNQUFNO2dCQUNKQyxVQUFVUDtnQkFDVlEsVUFBVVIsVUFBVUMsSUFBSTtZQUMxQjtZQUNBUSxXQUFXO1lBQ1hDLFFBQVE7WUFDUkMsUUFBUTtZQUNSQyxTQUFTO1FBQ1g7SUFDRjtJQUNBQyxXQUFXO1FBQUM7S0FBVTtBQUN4QixFQUFDIn0=
|
package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/slateToLexical/converter/converters/unknown/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAK7D,eAAO,MAAM,qBAAqB,EAAE,0BAGnC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UnknownConverterClient } from './client';
|
|
2
|
+
import { _SlateUnknownConverter } from './converter';
|
|
3
|
+
export const SlateUnknownConverter = {
|
|
4
|
+
ClientComponent: UnknownConverterClient,
|
|
5
|
+
converter: _SlateUnknownConverter
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL3NsYXRlVG9MZXhpY2FsL2NvbnZlcnRlci9jb252ZXJ0ZXJzL3Vua25vd24vaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBTbGF0ZU5vZGVDb252ZXJ0ZXJQcm92aWRlciB9IGZyb20gJy4uLy4uL3R5cGVzJ1xuXG5pbXBvcnQgeyBVbmtub3duQ29udmVydGVyQ2xpZW50IH0gZnJvbSAnLi9jbGllbnQnXG5pbXBvcnQgeyBfU2xhdGVVbmtub3duQ29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBTbGF0ZVVua25vd25Db252ZXJ0ZXI6IFNsYXRlTm9kZUNvbnZlcnRlclByb3ZpZGVyID0ge1xuICBDbGllbnRDb21wb25lbnQ6IFVua25vd25Db252ZXJ0ZXJDbGllbnQsXG4gIGNvbnZlcnRlcjogX1NsYXRlVW5rbm93bkNvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJVbmtub3duQ29udmVydGVyQ2xpZW50IiwiX1NsYXRlVW5rbm93bkNvbnZlcnRlciIsIlNsYXRlVW5rbm93bkNvbnZlcnRlciIsIkNsaWVudENvbXBvbmVudCIsImNvbnZlcnRlciJdLCJtYXBwaW5ncyI6IkFBRUEsU0FBU0Esc0JBQXNCLFFBQVEsV0FBVTtBQUNqRCxTQUFTQyxzQkFBc0IsUUFBUSxjQUFhO0FBRXBELE9BQU8sTUFBTUMsd0JBQW9EO0lBQy9EQyxpQkFBaUJIO0lBQ2pCSSxXQUFXSDtBQUNiLEVBQUMifQ==
|