@payloadcms/richtext-lexical 0.7.0 → 3.0.0-alpha.18
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 +3 -3
- package/dist/cell/index.d.ts +4 -4
- package/dist/cell/index.d.ts.map +1 -1
- package/dist/cell/index.js +93 -23
- package/dist/exports/components.d.ts +1 -1
- package/dist/exports/components.d.ts.map +1 -1
- package/dist/exports/components.js +3 -3
- package/dist/field/Field.d.ts +8 -3
- package/dist/field/Field.d.ts.map +1 -1
- package/dist/field/Field.js +16 -37
- 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 +81 -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 +26 -0
- package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.d.ts.map +1 -1
- package/dist/field/features/align/floatingSelectToolbarAlignDropdownSection.js +5 -46
- 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 +77 -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 +56 -0
- package/dist/field/features/blockquote/markdownTransformer.d.ts.map +1 -0
- package/dist/field/features/blockquote/markdownTransformer.js +50 -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 +214 -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 +34 -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 +172 -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 +137 -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 +71 -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 +96 -0
- package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
- package/dist/field/features/blocks/nodes/BlocksNode.js +158 -0
- package/dist/field/features/blocks/plugin/commands.d.ts.map +1 -0
- package/dist/field/features/blocks/plugin/commands.js +14 -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 +91 -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 +55 -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 +59 -0
- package/dist/field/features/common/floatingSelectToolbarFeaturesButtonsSection/index.js +3 -3
- package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.d.ts.map +1 -1
- package/dist/field/features/common/floatingSelectToolbarTextDropdownSection/index.js +5 -46
- package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +1 -1
- package/dist/field/features/converters/html/converter/converters/paragraph.js +4 -3
- 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 -6
- 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/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 +24 -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 +8 -7
- 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 +20 -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 +24 -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 +30 -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 +25 -0
- package/dist/field/features/debug/testrecorder/plugin/index.d.ts.map +1 -0
- package/dist/field/features/debug/testrecorder/plugin/index.js +504 -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 +30 -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 +25 -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 +70 -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 +57 -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 +37 -0
- package/dist/field/features/format/bold/markdownTransformers.d.ts.map +1 -0
- package/dist/field/features/format/bold/markdownTransformers.js +58 -0
- package/dist/field/features/format/common/floatingSelectToolbarSection.js +3 -3
- 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 +52 -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 +29 -0
- package/dist/field/features/format/inlinecode/markdownTransformers.d.ts.map +1 -0
- package/dist/field/features/format/inlinecode/markdownTransformers.js +19 -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 +53 -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 +30 -0
- package/dist/field/features/format/italic/markdownTransformers.d.ts.map +1 -0
- package/dist/field/features/format/italic/markdownTransformers.js +35 -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 +52 -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 +29 -0
- package/dist/field/features/format/strikethrough/markdownTransformers.js +3 -3
- 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 +48 -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 +25 -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 +48 -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 +25 -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 +48 -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 +25 -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 +104 -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 +67 -0
- package/dist/field/features/heading/markdownTransformer.d.ts.map +1 -0
- package/dist/field/features/heading/markdownTransformer.js +39 -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 +67 -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 +26 -0
- package/dist/field/features/indent/floatingSelectToolbarIndentSection.js +3 -3
- package/dist/field/features/link/drawer/baseFields.d.ts.map +1 -0
- package/dist/field/features/link/drawer/baseFields.js +128 -0
- package/dist/field/features/link/drawer/index.d.ts.map +1 -0
- package/dist/field/features/link/drawer/index.js +133 -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/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 +98 -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 +108 -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 +79 -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 +326 -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/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 +336 -0
- package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +1 -0
- package/dist/field/features/link/plugins/clickableLink/index.js +23 -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 +14 -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 +293 -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 +64 -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/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 +45 -0
- package/dist/field/features/link/plugins/link/index.d.ts.map +1 -0
- package/dist/field/features/link/plugins/link/index.js +69 -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 +56 -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 +91 -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 +45 -0
- package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
- package/dist/field/features/lists/checklist/markdownTransformers.js +26 -0
- package/dist/field/features/lists/checklist/plugin/index.d.ts.map +1 -0
- package/dist/field/features/lists/checklist/plugin/index.js +23 -0
- package/dist/field/features/lists/common/markdown.js +1 -1
- package/dist/field/features/lists/htmlConverter.d.ts.map +1 -1
- package/dist/field/features/lists/htmlConverter.js +7 -5
- 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 +81 -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 +45 -0
- package/dist/field/features/lists/orderedlist/markdownTransformer.d.ts.map +1 -0
- package/dist/field/features/lists/orderedlist/markdownTransformer.js +26 -0
- 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 +81 -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 +45 -0
- package/dist/field/features/lists/unorderedlist/markdownTransformer.d.ts.map +1 -0
- package/dist/field/features/lists/unorderedlist/markdownTransformer.js +26 -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 +16 -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 +30 -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 +18 -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 +16 -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 +41 -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 +18 -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 +16 -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 +32 -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 +18 -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 +16 -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 +32 -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 +18 -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 +16 -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 +30 -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 +18 -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 +16 -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 +36 -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 +18 -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 +16 -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 +35 -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 +18 -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 +28 -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 +87 -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/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 +44 -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 +57 -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 +23 -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 +131 -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 +16 -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 +33 -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 +18 -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 +16 -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 +39 -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 +18 -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 +16 -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 +45 -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 +18 -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 +16 -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 +40 -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 +18 -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 +16 -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 +35 -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 +18 -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 +16 -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 +36 -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 +18 -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 +16 -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 +28 -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 +18 -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 +16 -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 +37 -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 +18 -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 +16 -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 +36 -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 +18 -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 +16 -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 +31 -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 +18 -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 +34 -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 +134 -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 +6 -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 +44 -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 +57 -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 +23 -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 +131 -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 +73 -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 +26 -0
- package/dist/field/features/relationship/drawer/commands.d.ts.map +1 -0
- package/dist/field/features/relationship/drawer/commands.js +14 -0
- package/dist/field/features/relationship/drawer/index.d.ts.map +1 -0
- package/dist/field/features/relationship/drawer/index.js +130 -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 +66 -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 +36 -0
- package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
- package/dist/field/features/relationship/nodes/RelationshipNode.js +172 -0
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +154 -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 +107 -0
- package/dist/field/features/relationship/populationPromise.d.ts.map +1 -0
- package/dist/field/features/relationship/populationPromise.js +34 -0
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +84 -0
- package/dist/field/features/types.d.ts +139 -70
- package/dist/field/features/types.d.ts.map +1 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -0
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +158 -0
- package/dist/field/features/upload/component/index.d.ts.map +1 -0
- package/dist/field/features/upload/component/index.js +186 -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 +15 -0
- package/dist/field/features/upload/drawer/index.d.ts.map +1 -0
- package/dist/field/features/upload/drawer/index.js +127 -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 +65 -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 +113 -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 +160 -0
- package/dist/field/features/upload/plugin/index.d.ts.map +1 -0
- package/dist/field/features/upload/plugin/index.js +111 -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 +56 -0
- package/dist/field/features/upload/validate.d.ts.map +1 -0
- package/dist/field/features/upload/validate.js +29 -0
- package/dist/field/index.d.ts +7 -2
- package/dist/field/index.d.ts.map +1 -1
- package/dist/field/index.js +77 -5
- package/dist/field/index.scss +2 -2
- package/dist/field/lexical/EditorPlugin.d.ts.map +1 -1
- package/dist/field/lexical/EditorPlugin.js +4 -12
- package/dist/field/lexical/LexicalEditor.js +2 -2
- 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 +18 -20
- 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 +99 -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 +18 -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 +53 -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 +144 -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 +75 -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 +136 -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 +83 -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/nodes/index.d.ts +2 -2
- package/dist/field/lexical/nodes/index.d.ts.map +1 -1
- package/dist/field/lexical/nodes/index.js +7 -2
- 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 +9 -9
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.d.ts.map +1 -1
- package/dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js +8 -58
- 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 +8 -28
- 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/MarkdownShortcut/index.js +2 -2
- 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 +1 -8
- 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 +1 -1
- package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +1 -1
- package/dist/field/lexical/plugins/SlashMenu/index.js +6 -13
- package/dist/field/lexical/plugins/SlashMenu/index.scss +1 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -2
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -2
- package/dist/field/lexical/theme/EditorTheme.scss +0 -2
- package/dist/generateComponentMap.d.ts +6 -0
- package/dist/generateComponentMap.d.ts.map +1 -0
- package/dist/generateComponentMap.js +92 -0
- package/dist/generateSchemaMap.d.ts +6 -0
- package/dist/generateSchemaMap.d.ts.map +1 -0
- package/dist/generateSchemaMap.js +37 -0
- package/dist/index.d.ts +59 -56
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +138 -109
- package/dist/populate/defaultValue.js +6 -6
- package/dist/populate/recurseNestedFields.d.ts.map +1 -1
- package/dist/populate/recurseNestedFields.js +3 -1
- package/dist/populate/richTextRelationshipPromise.js +2 -2
- 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/useLexicalFeature.d.ts +3 -0
- package/dist/useLexicalFeature.d.ts.map +1 -0
- package/dist/useLexicalFeature.js +19 -0
- package/dist/validate/index.d.ts +4 -4
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js +2 -3
- package/dist/validate/validateNodes.d.ts +2 -4
- package/dist/validate/validateNodes.d.ts.map +1 -1
- package/dist/validate/validateNodes.js +2 -4
- 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/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/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/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/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}/drawer/types.js +0 -0
- /package/dist/field/features/{Link/plugins/floatingLinkEditor → link/nodes}/types.js +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/{migrations/LexicalPluginToLexical/converter → link/plugins/floatingLinkEditor}/types.js +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/{SlateToLexical → lexicalPluginToLexical}/converter/types.js +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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ListItemConverterClient", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function() {
|
|
9
|
+
return ListItemConverterClient;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
const _createFeaturePropComponent = require("../../../../../createFeaturePropComponent");
|
|
13
|
+
const _converter = require("./converter");
|
|
14
|
+
const ListItemConverterClient = (0, _createFeaturePropComponent.createFeaturePropComponent)(_converter._ListItemConverter);
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvbGlzdEl0ZW0vY2xpZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuaW1wb3J0IHsgY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQgfSBmcm9tICcuLi8uLi8uLi8uLi8uLi9jcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCdcbmltcG9ydCB7IF9MaXN0SXRlbUNvbnZlcnRlciB9IGZyb20gJy4vY29udmVydGVyJ1xuXG5leHBvcnQgY29uc3QgTGlzdEl0ZW1Db252ZXJ0ZXJDbGllbnQgPSBjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudChfTGlzdEl0ZW1Db252ZXJ0ZXIpXG4iXSwibmFtZXMiOlsiTGlzdEl0ZW1Db252ZXJ0ZXJDbGllbnQiLCJjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCIsIl9MaXN0SXRlbUNvbnZlcnRlciJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OytCQUlhQTs7O2VBQUFBOzs7NENBSDhCOzJCQUNSO0FBRTVCLE1BQU1BLDBCQUEwQkMsSUFBQUEsc0RBQTBCLEVBQUNDLDZCQUFrQiJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAI7D,eAAO,MAAM,kBAAkB,EAAE,0BAgBhC,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "_ListItemConverter", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return _ListItemConverter;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _index = require("../../index");
|
|
12
|
+
const _ListItemConverter = {
|
|
13
|
+
converter ({ childIndex, converters, lexicalPluginNode }) {
|
|
14
|
+
return {
|
|
15
|
+
...lexicalPluginNode,
|
|
16
|
+
type: 'listitem',
|
|
17
|
+
checked: undefined,
|
|
18
|
+
children: (0, _index.convertLexicalPluginNodesToLexical)({
|
|
19
|
+
converters,
|
|
20
|
+
lexicalPluginNodes: lexicalPluginNode.children,
|
|
21
|
+
parentNodeType: 'listitem'
|
|
22
|
+
}),
|
|
23
|
+
value: childIndex + 1,
|
|
24
|
+
version: 1
|
|
25
|
+
};
|
|
26
|
+
},
|
|
27
|
+
nodeTypes: [
|
|
28
|
+
'listitem'
|
|
29
|
+
]
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvbGlzdEl0ZW0vY29udmVydGVyLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgU2VyaWFsaXplZExpc3RJdGVtTm9kZSB9IGZyb20gJ0BsZXhpY2FsL2xpc3QnXG5cbmltcG9ydCB0eXBlIHsgTGV4aWNhbFBsdWdpbk5vZGVDb252ZXJ0ZXIgfSBmcm9tICcuLi8uLi90eXBlcydcblxuaW1wb3J0IHsgY29udmVydExleGljYWxQbHVnaW5Ob2Rl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kFNYUE7OztlQUFBQTs7O3VCQUZzQztBQUU1QyxNQUFNQSxxQkFBaUQ7SUFDNURDLFdBQVUsRUFBRUMsVUFBVSxFQUFFQyxVQUFVLEVBQUVDLGlCQUFpQixFQUFFO1FBQ3JELE9BQU87WUFDTCxHQUFHQSxpQkFBaUI7WUFDcEJDLE1BQU07WUFDTkMsU0FBU0M7WUFDVEMsVUFBVUMsSUFBQUEseUNBQWtDLEVBQUM7Z0JBQzNDTjtnQkFDQU8sb0JBQW9CTixrQkFBa0JJLFFBQVE7Z0JBQzlDRyxnQkFBZ0I7WUFDbEI7WUFDQUMsT0FBT1YsYUFBYTtZQUNwQlcsU0FBUztRQUNYO0lBQ0Y7SUFDQUMsV0FBVztRQUFDO0tBQVc7QUFDekIifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAA;AAKrE,eAAO,MAAM,iBAAiB,EAAE,kCAG/B,CAAA"}
|
package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "ListItemConverter", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return ListItemConverter;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _client = require("./client");
|
|
12
|
+
const _converter = require("./converter");
|
|
13
|
+
const ListItemConverter = {
|
|
14
|
+
ClientComponent: _client.ListItemConverterClient,
|
|
15
|
+
converter: _converter._ListItemConverter
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvbGlzdEl0ZW0vaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBMZXhpY2FsUGx1Z2luTm9kZUNvbnZlcnRlclByb3ZpZGVyIH0gZnJvbSAnLi4vLi4vdHlwZXMnXG5cbmltcG9ydCB7IExpc3RJdGVtQ29udmVydGVyQ2xpZW50IH0gZnJvbSAnLi9jbGllbnQnXG5pbXBvcnQgeyBfTGlzdEl0ZW1Db252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcidcblxuZXhwb3J0IGNvbnN0IExpc3RJdGVtQ29udmVydGVyOiBMZXhpY2FsUGx1Z2luTm9kZUNvbnZlcnRlclByb3ZpZGVyID0ge1xuICBDbGllbnRDb21wb25lbnQ6IExpc3RJdGVtQ29udmVydGVyQ2xpZW50LFxuICBjb252ZXJ0ZXI6IF9MaXN0SXRlbUNvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJMaXN0SXRlbUNvbnZlcnRlciIsIkNsaWVudENvbXBvbmVudCIsIkxpc3RJdGVtQ29udmVydGVyQ2xpZW50IiwiY29udmVydGVyIiwiX0xpc3RJdGVtQ29udmVydGVyIl0sIm1hcHBpbmdzIjoiOzs7OytCQUthQTs7O2VBQUFBOzs7d0JBSDJCOzJCQUNMO0FBRTVCLE1BQU1BLG9CQUF3RDtJQUNuRUMsaUJBQWlCQywrQkFBdUI7SUFDeENDLFdBQVdDLDZCQUFrQjtBQUMvQiJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,oBAAoB;;;EAA8C,CAAA"}
|
package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "QuoteConverterClient", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function() {
|
|
9
|
+
return QuoteConverterClient;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
const _createFeaturePropComponent = require("../../../../../createFeaturePropComponent");
|
|
13
|
+
const _converter = require("./converter");
|
|
14
|
+
const QuoteConverterClient = (0, _createFeaturePropComponent.createFeaturePropComponent)(_converter._QuoteConverter);
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvcXVvdGUvY2xpZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgeyBjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL2NyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50J1xuaW1wb3J0IHsgX1F1b3RlQ29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXInXG5cbmV4cG9ydCBjb25zdCBRdW90ZUNvbnZlcnRlckNsaWVudCA9IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50KF9RdW90ZUNvbnZlcnRlcilcbiJdLCJuYW1lcyI6WyJRdW90ZUNvbnZlcnRlckNsaWVudCIsImNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50IiwiX1F1b3RlQ29udmVydGVyIl0sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7K0JBS2FBOzs7ZUFBQUE7Ozs0Q0FIOEI7MkJBQ1g7QUFFekIsTUFBTUEsdUJBQXVCQyxJQUFBQSxzREFBMEIsRUFBQ0MsMEJBQWUifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAI7D,eAAO,MAAM,eAAe,EAAE,0BAc7B,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "_QuoteConverter", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return _QuoteConverter;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _index = require("../../index");
|
|
12
|
+
const _QuoteConverter = {
|
|
13
|
+
converter ({ converters, lexicalPluginNode }) {
|
|
14
|
+
return {
|
|
15
|
+
...lexicalPluginNode,
|
|
16
|
+
type: 'quote',
|
|
17
|
+
children: (0, _index.convertLexicalPluginNodesToLexical)({
|
|
18
|
+
converters,
|
|
19
|
+
lexicalPluginNodes: lexicalPluginNode.children,
|
|
20
|
+
parentNodeType: 'quote'
|
|
21
|
+
}),
|
|
22
|
+
version: 1
|
|
23
|
+
};
|
|
24
|
+
},
|
|
25
|
+
nodeTypes: [
|
|
26
|
+
'quote'
|
|
27
|
+
]
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpb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lciIsImNvbnZlcnRlciIsImNvbnZlcnRlcnMiLCJsZXhpY2FsUGx1Z2luTm9kZSIsInR5cGUiLCJjaGlsZHJlbiIsImNvbnZlcnRMZXhpY2FsUGx1Z2luTm9kZXNUb0xleGljYWwiLCJsZXhpY2FsUGx1Z2luTm9kZXMiLCJwYXJlbnROb2RlVHlwZSIsInZlcnNpb24iLCJub2RlVHlwZXMiXSwibWFwcGluZ3MiOiI7Ozs7K0JBTWFBOzs7ZUFBQUE7Ozt1QkFGc0M7QUFFNUMsTUFBTUEsa0JBQThDO0lBQ3pEQyxXQUFVLEVBQUVDLFVBQVUsRUFBRUMsaUJBQWlCLEVBQUU7UUFDekMsT0FBTztZQUNMLEdBQUdBLGlCQUFpQjtZQUNwQkMsTUFBTTtZQUNOQyxVQUFVQyxJQUFBQSx5Q0FBa0MsRUFBQztnQkFDM0NKO2dCQUNBSyxvQkFBb0JKLGtCQUFrQkUsUUFBUTtnQkFDOUNHLGdCQUFnQjtZQUNsQjtZQUNBQyxTQUFTO1FBQ1g7SUFDRjtJQUNBQyxXQUFXO1FBQUM7S0FBUTtBQUN0QiJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAA;AAKrE,eAAO,MAAM,cAAc,EAAE,kCAG5B,CAAA"}
|
package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "QuoteConverter", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return QuoteConverter;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _client = require("./client");
|
|
12
|
+
const _converter = require("./converter");
|
|
13
|
+
const QuoteConverter = {
|
|
14
|
+
ClientComponent: _client.QuoteConverterClient,
|
|
15
|
+
converter: _converter._QuoteConverter
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvcXVvdGUvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBMZXhpY2FsUGx1Z2luTm9kZUNvbnZlcnRlclByb3ZpZGVyIH0gZnJvbSAnLi4vLi4vdHlwZXMnXG5cbmltcG9ydCB7IFF1b3RlQ29udmVydGVyQ2xpZW50IH0gZnJvbSAnLi9jbGllbnQnXG5pbXBvcnQgeyBfUXVvdGVDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcidcblxuZXhwb3J0IGNvbnN0IFF1b3RlQ29udmVydGVyOiBMZXhpY2FsUGx1Z2luTm9kZUNvbnZlcnRlclByb3ZpZGVyID0ge1xuICBDbGllbnRDb21wb25lbnQ6IFF1b3RlQ29udmVydGVyQ2xpZW50LFxuICBjb252ZXJ0ZXI6IF9RdW90ZUNvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJRdW90ZUNvbnZlcnRlciIsIkNsaWVudENvbXBvbmVudCIsIlF1b3RlQ29udmVydGVyQ2xpZW50IiwiY29udmVydGVyIiwiX1F1b3RlQ29udmVydGVyIl0sIm1hcHBpbmdzIjoiOzs7OytCQUthQTs7O2VBQUFBOzs7d0JBSHdCOzJCQUNMO0FBRXpCLE1BQU1BLGlCQUFxRDtJQUNoRUMsaUJBQWlCQyw0QkFBb0I7SUFDckNDLFdBQVdDLDBCQUFlO0FBQzVCIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,sBAAsB;;;EAAgD,CAAA"}
|
package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "UnknownConverterClient", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function() {
|
|
9
|
+
return UnknownConverterClient;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
const _createFeaturePropComponent = require("../../../../../createFeaturePropComponent");
|
|
13
|
+
const _converter = require("./converter");
|
|
14
|
+
const UnknownConverterClient = (0, _createFeaturePropComponent.createFeaturePropComponent)(_converter._UnknownConverter);
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvdW5rbm93bi9jbGllbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBjbGllbnQnXG5pbXBvcnQgeyBjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL2NyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50J1xuaW1wb3J0IHsgX1Vua25vd25Db252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcidcblxuZXhwb3J0IGNvbnN0IFVua25vd25Db252ZXJ0ZXJDbGllbnQgPSBjcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudChfVW5rbm93bkNvbnZlcnRlcilcbiJdLCJuYW1lcyI6WyJVbmtub3duQ29udmVydGVyQ2xpZW50IiwiY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQiLCJfVW5rbm93bkNvbnZlcnRlciJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OytCQUlhQTs7O2VBQUFBOzs7NENBSDhCOzJCQUNUO0FBRTNCLE1BQU1BLHlCQUF5QkMsSUFBQUEsc0RBQTBCLEVBQUNDLDRCQUFpQiJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAI7D,eAAO,MAAM,iBAAiB,EAAE,0BAoB/B,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "_UnknownConverter", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return _UnknownConverter;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _index = require("../../index");
|
|
12
|
+
const _UnknownConverter = {
|
|
13
|
+
converter ({ converters, lexicalPluginNode }) {
|
|
14
|
+
return {
|
|
15
|
+
type: 'unknownConverted',
|
|
16
|
+
children: (0, _index.convertLexicalPluginNodesToLexical)({
|
|
17
|
+
converters,
|
|
18
|
+
lexicalPluginNodes: lexicalPluginNode.children,
|
|
19
|
+
parentNodeType: 'unknownConverted'
|
|
20
|
+
}),
|
|
21
|
+
data: {
|
|
22
|
+
nodeData: lexicalPluginNode,
|
|
23
|
+
nodeType: lexicalPluginNode.type
|
|
24
|
+
},
|
|
25
|
+
direction: 'ltr',
|
|
26
|
+
format: '',
|
|
27
|
+
indent: 0,
|
|
28
|
+
version: 1
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
nodeTypes: [
|
|
32
|
+
'unknown'
|
|
33
|
+
]
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvdW5rbm93bi9jb252ZXJ0ZXIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBTZXJpYWxpemVkVW5rbm93bkNvbnZlcnRlZE5vZGUgfSBmcm9tICcuLi8uLi8uLi9ub2Rlcy91bmtub3duQ29udmVydGVkTm9kZSdcbmltcG9ydCB0eXBlIHsgTGV4aWNhbFBsdWdpbk5vZGVDb252ZXJ0ZXIgfSBmcm9tICcuLi8uLi90eXBlcydcblxuaW1wb3J0IHsgY29udmVydExleGljYWxQbHVnaW5Ob2Rlc1RvTGV4aWNhbCB9IGZyb20gJy4uLy4uL2luZGV4J1xuXG5leHBvcnQgY29uc3QgX1Vua25vd25Db252ZXJ0ZXI6IExleGljYWxQbHVnaW5Ob2RlQ29udmVydGVyID0ge1xuICBjb252ZXJ0ZXIoeyBjb252ZXJ0ZXJzLCBsZXhpY2FsUGx1Z2luTm9kZSB9KSB7XG4gICAgcmV0dXJuIHtcbiAgICAgIHR5cGU6ICd1bmtub3duQ29udmVydGVkJyxcbiAgICAgIGNoaWxkcmVuOiBjb252ZXJ0TGV4aWNhbFBsdWdpbk5vZGVzVG9MZXhpY2FsKHtcbiAgICAgICAgY29udmVydGVycyxcbiAgICAgICA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QkFDOUNHLGdCQUFnQjtZQUNsQjtZQUNBQyxNQUFNO2dCQUNKQyxVQUFVUDtnQkFDVlEsVUFBVVIsa0JBQWtCQyxJQUFJO1lBQ2xDO1lBQ0FRLFdBQVc7WUFDWEMsUUFBUTtZQUNSQyxRQUFRO1lBQ1JDLFNBQVM7UUFDWDtJQUNGO0lBQ0FDLFdBQVc7UUFBQztLQUFVO0FBQ3hCIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAA;AAKrE,eAAO,MAAM,gBAAgB,EAAE,kCAG9B,CAAA"}
|
package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "UnknownConverter", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return UnknownConverter;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _client = require("./client");
|
|
12
|
+
const _converter = require("./converter");
|
|
13
|
+
const UnknownConverter = {
|
|
14
|
+
ClientComponent: _client.UnknownConverterClient,
|
|
15
|
+
converter: _converter._UnknownConverter
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvdW5rbm93bi9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IExleGljYWxQbHVnaW5Ob2RlQ29udmVydGVyUHJvdmlkZXIgfSBmcm9tICcuLi8uLi90eXBlcydcblxuaW1wb3J0IHsgVW5rbm93bkNvbnZlcnRlckNsaWVudCB9IGZyb20gJy4vY2xpZW50J1xuaW1wb3J0IHsgX1Vua25vd25Db252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcidcblxuZXhwb3J0IGNvbnN0IFVua25vd25Db252ZXJ0ZXI6IExleGljYWxQbHVnaW5Ob2RlQ29udmVydGVyUHJvdmlkZXIgPSB7XG4gIENsaWVudENvbXBvbmVudDogVW5rbm93bkNvbnZlcnRlckNsaWVudCxcbiAgY29udmVydGVyOiBfVW5rbm93bkNvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJVbmtub3duQ29udmVydGVyIiwiQ2xpZW50Q29tcG9uZW50IiwiVW5rbm93bkNvbnZlcnRlckNsaWVudCIsImNvbnZlcnRlciIsIl9Vbmtub3duQ29udmVydGVyIl0sIm1hcHBpbmdzIjoiOzs7OytCQUthQTs7O2VBQUFBOzs7d0JBSDBCOzJCQUNMO0FBRTNCLE1BQU1BLG1CQUF1RDtJQUNsRUMsaUJBQWlCQyw4QkFBc0I7SUFDdkNDLFdBQVdDLDRCQUFpQjtBQUM5QiJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,qBAAqB;;;EAA+C,CAAA"}
|
package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "UploadConverterClient", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function() {
|
|
9
|
+
return UploadConverterClient;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
const _createFeaturePropComponent = require("../../../../../createFeaturePropComponent");
|
|
13
|
+
const _converter = require("./converter");
|
|
14
|
+
const UploadConverterClient = (0, _createFeaturePropComponent.createFeaturePropComponent)(_converter._UploadConverter);
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvdXBsb2FkL2NsaWVudC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIndXNlIGNsaWVudCdcblxuaW1wb3J0IHsgY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQgfSBmcm9tICcuLi8uLi8uLi8uLi8uLi9jcmVhdGVGZWF0dXJlUHJvcENvbXBvbmVudCdcbmltcG9ydCB7IF9VcGxvYWRDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcidcblxuZXhwb3J0IGNvbnN0IFVwbG9hZENvbnZlcnRlckNsaWVudCA9IGNyZWF0ZUZlYXR1cmVQcm9wQ29tcG9uZW50KF9VcGxvYWRDb252ZXJ0ZXIpXG4iXSwibmFtZXMiOlsiVXBsb2FkQ29udmVydGVyQ2xpZW50IiwiY3JlYXRlRmVhdHVyZVByb3BDb21wb25lbnQiLCJfVXBsb2FkQ29udmVydGVyIl0sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7K0JBS2FBOzs7ZUFBQUE7Ozs0Q0FIOEI7MkJBQ1Y7QUFFMUIsTUFBTUEsd0JBQXdCQyxJQUFBQSxzREFBMEIsRUFBQ0MsMkJBQWdCIn0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"converter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAE7D,eAAO,MAAM,gBAAgB,EAAE,0BAoB9B,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */ "use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "_UploadConverter", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return _UploadConverter;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _UploadConverter = {
|
|
12
|
+
converter ({ lexicalPluginNode }) {
|
|
13
|
+
let fields = {};
|
|
14
|
+
if (lexicalPluginNode?.caption?.editorState) {
|
|
15
|
+
fields = {
|
|
16
|
+
caption: lexicalPluginNode?.caption
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
type: 'upload',
|
|
21
|
+
fields,
|
|
22
|
+
format: lexicalPluginNode?.format || '',
|
|
23
|
+
relationTo: lexicalPluginNode?.rawImagePayload?.relationTo,
|
|
24
|
+
value: {
|
|
25
|
+
id: lexicalPluginNode?.rawImagePayload?.value?.id || ''
|
|
26
|
+
},
|
|
27
|
+
version: 1
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
nodeTypes: [
|
|
31
|
+
'upload'
|
|
32
|
+
]
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5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xuICAgICAgfSxcbiAgICAgIHZlcnNpb246IDEsXG4gICAgfSBhcyBjb25zdCBhcyBTZXJpYWxpemVkVXBsb2FkTm9kZVxuICB9LFxuICBub2RlVHlwZXM6IFsndXBsb2FkJ10sXG59XG4iXSwibmFtZXMiOlsiX1VwbG9hZENvbnZlcnRlciIsImNvbnZlcnRlciIsImxleGljYWxQbHVnaW5Ob2RlIiwiZmllbGRzIiwiY2FwdGlvbiIsImVkaXRvclN0YXRlIiwidHlwZSIsImZvcm1hdCIsInJlbGF0aW9uVG8iLCJyYXdJbWFnZVBheWxvYWQiLCJ2YWx1ZSIsImlkIiwidmVyc2lvbiIsIm5vZGVUeXBlcyJdLCJtYXBwaW5ncyI6IkFBQUEscURBQXFEOzs7OytCQU14Q0E7OztlQUFBQTs7O0FBQU4sTUFBTUEsbUJBQStDO0lBQzFEQyxXQUFVLEVBQUVDLGlCQUFpQixFQUFFO1FBQzdCLElBQUlDLFNBQVMsQ0FBQztRQUNkLElBQUtELG1CQUEyQkUsU0FBU0MsYUFBYTtZQUNwREYsU0FBUztnQkFDUEMsU0FBVUYsbUJBQTJCRTtZQUN2QztRQUNGO1FBQ0EsT0FBTztZQUNMRSxNQUFNO1lBQ05IO1lBQ0FJLFFBQVEsQUFBQ0wsbUJBQTJCSyxVQUFVO1lBQzlDQyxZQUFhTixtQkFBMkJPLGlCQUFpQkQ7WUFDekRFLE9BQU87Z0JBQ0xDLElBQUksQUFBQ1QsbUJBQTJCTyxpQkFBaUJDLE9BQU9DLE1BQU07WUFDaEU7WUFDQUMsU0FBUztRQUNYO0lBQ0Y7SUFDQUMsV0FBVztRQUFDO0tBQVM7QUFDdkIifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAA;AAKrE,eAAO,MAAM,eAAe,EAAE,kCAG7B,CAAA"}
|
package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "UploadConverter", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return UploadConverter;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _client = require("./client");
|
|
12
|
+
const _converter = require("./converter");
|
|
13
|
+
const UploadConverter = {
|
|
14
|
+
ClientComponent: _client.UploadConverterClient,
|
|
15
|
+
converter: _converter._UploadConverter
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2NvbnZlcnRlcnMvdXBsb2FkL2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgTGV4aWNhbFBsdWdpbk5vZGVDb252ZXJ0ZXJQcm92aWRlciB9IGZyb20gJy4uLy4uL3R5cGVzJ1xuXG5pbXBvcnQgeyBVcGxvYWRDb252ZXJ0ZXJDbGllbnQgfSBmcm9tICcuL2NsaWVudCdcbmltcG9ydCB7IF9VcGxvYWRDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcidcblxuZXhwb3J0IGNvbnN0IFVwbG9hZENvbnZlcnRlcjogTGV4aWNhbFBsdWdpbk5vZGVDb252ZXJ0ZXJQcm92aWRlciA9IHtcbiAgQ2xpZW50Q29tcG9uZW50OiBVcGxvYWRDb252ZXJ0ZXJDbGllbnQsXG4gIGNvbnZlcnRlcjogX1VwbG9hZENvbnZlcnRlcixcbn1cbiJdLCJuYW1lcyI6WyJVcGxvYWRDb252ZXJ0ZXIiLCJDbGllbnRDb21wb25lbnQiLCJVcGxvYWRDb252ZXJ0ZXJDbGllbnQiLCJjb252ZXJ0ZXIiLCJfVXBsb2FkQ29udmVydGVyIl0sIm1hcHBpbmdzIjoiOzs7OytCQUthQTs7O2VBQUFBOzs7d0JBSHlCOzJCQUNMO0FBRTFCLE1BQU1BLGtCQUFzRDtJQUNqRUMsaUJBQWlCQyw2QkFBcUI7SUFDdENDLFdBQVdDLDJCQUFnQjtBQUM3QiJ9
|
package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultConverters.d.ts","sourceRoot":"","sources":["../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,SAAS,CAAA;AAUjE,eAAO,MAAM,iBAAiB,EAAE,kCAAkC,EAQjE,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "defaultConverters", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return defaultConverters;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _heading = require("./converters/heading");
|
|
12
|
+
const _link = require("./converters/link");
|
|
13
|
+
const _list = require("./converters/list");
|
|
14
|
+
const _listItem = require("./converters/listItem");
|
|
15
|
+
const _quote = require("./converters/quote");
|
|
16
|
+
const _unknown = require("./converters/unknown");
|
|
17
|
+
const _upload = require("./converters/upload");
|
|
18
|
+
const defaultConverters = [
|
|
19
|
+
_heading.HeadingConverter,
|
|
20
|
+
_link.LinkConverter,
|
|
21
|
+
_list.ListConverter,
|
|
22
|
+
_listItem.ListItemConverter,
|
|
23
|
+
_quote.QuoteConverter,
|
|
24
|
+
_unknown.UnknownConverter,
|
|
25
|
+
_upload.UploadConverter
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2RlZmF1bHRDb252ZXJ0ZXJzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgTGV4aWNhbFBsdWdpbk5vZGVDb252ZXJ0ZXJQcm92aWRlciB9IGZyb20gJy4vdHlwZXMnXG5cbmltcG9ydCB7IEhlYWRpbmdDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcnMvaGVhZGluZydcbmltcG9ydCB7IExpbmtDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcnMvbGluaydcbmltcG9ydCB7IExpc3RDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcnMvbGlzdCdcbmltcG9ydCB7IExpc3RJdGVtQ29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXJzL2xpc3RJdGVtJ1xuaW1wb3J0IHsgUXVvdGVDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcnMvcXVvdGUnXG5pbXBvcnQgeyBVbmtub3duQ29udmVydGVyIH0gZnJvbSAnLi9jb252ZXJ0ZXJzL3Vua25vd24nXG5pbXBvcnQgeyBVcGxvYWRDb252ZXJ0ZXIgfSBmcm9tICcuL2NvbnZlcnRlcnMvdXBsb2FkJ1xuXG5leHBvcnQgY29uc3QgZGVmYXVsdENvbnZlcnRlcnM6IExleGljYWxQbHVnaW5Ob2RlQ29udmVydGVyUHJvdmlkZXJbXSA9IFtcbiAgSGVhZGluZ0NvbnZlcnRlcixcbiAgTGlua0NvbnZlcnRlcixcbiAgTGlzdENvbnZlcnRlcixcbiAgTGlzdEl0ZW1Db252ZXJ0ZXIsXG4gIFF1b3RlQ29udmVydGVyLFxuICBVbmtub3duQ29udmVydGVyLFxuICBVcGxvYWRDb252ZXJ0ZXIsXG5dXG4iXSwibmFtZXMiOlsiZGVmYXVsdENvbnZlcnRlcnMiLCJIZWFkaW5nQ29udmVydGVyIiwiTGlua0NvbnZlcnRlciIsIkxpc3RDb252ZXJ0ZXIiLCJMaXN0SXRlbUNvbnZlcnRlciIsIlF1b3RlQ29udmVydGVyIiwiVW5rbm93bkNvbnZlcnRlciIsIlVwbG9hZENvbnZlcnRlciJdLCJtYXBwaW5ncyI6Ijs7OzsrQkFVYUE7OztlQUFBQTs7O3lCQVJvQjtzQkFDSDtzQkFDQTswQkFDSTt1QkFDSDt5QkFDRTt3QkFDRDtBQUV6QixNQUFNQSxvQkFBMEQ7SUFDckVDLHlCQUFnQjtJQUNoQkMsbUJBQWE7SUFDYkMsbUJBQWE7SUFDYkMsMkJBQWlCO0lBQ2pCQyxxQkFBYztJQUNkQyx5QkFBZ0I7SUFDaEJDLHVCQUFlO0NBQ2hCIn0=
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SerializedEditorState, SerializedLexicalNode, SerializedParagraphNode, SerializedTextNode } from 'lexical';
|
|
2
|
+
import type { LexicalPluginNodeConverter, PayloadPluginLexicalData } from './types';
|
|
3
|
+
export declare function convertLexicalPluginToLexical({ converters, lexicalPluginData, }: {
|
|
4
|
+
converters: LexicalPluginNodeConverter[];
|
|
5
|
+
lexicalPluginData: PayloadPluginLexicalData;
|
|
6
|
+
}): SerializedEditorState;
|
|
7
|
+
export declare function convertLexicalPluginNodesToLexical({ converters, lexicalPluginNodes, parentNodeType, }: {
|
|
8
|
+
converters: LexicalPluginNodeConverter[];
|
|
9
|
+
lexicalPluginNodes: SerializedLexicalNode[] | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Type of the parent lexical node (not the type of the original, parent payload-plugin-lexical type)
|
|
12
|
+
*/
|
|
13
|
+
parentNodeType: string;
|
|
14
|
+
}): SerializedLexicalNode[];
|
|
15
|
+
export declare function convertParagraphNode(converters: LexicalPluginNodeConverter[], node: SerializedLexicalNode): SerializedParagraphNode;
|
|
16
|
+
export declare function convertTextNode(node: SerializedLexicalNode): SerializedTextNode;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAEhB,OAAO,KAAK,EAAE,0BAA0B,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAA;AAEnF,wBAAgB,6BAA6B,CAAC,EAC5C,UAAU,EACV,iBAAiB,GAClB,EAAE;IACD,UAAU,EAAE,0BAA0B,EAAE,CAAA;IACxC,iBAAiB,EAAE,wBAAwB,CAAA;CAC5C,GAAG,qBAAqB,CAexB;AAED,wBAAgB,kCAAkC,CAAC,EACjD,UAAU,EACV,kBAAkB,EAClB,cAAc,GACf,EAAE;IACD,UAAU,EAAE,0BAA0B,EAAE,CAAA;IACxC,kBAAkB,EAAE,qBAAqB,EAAE,GAAG,SAAS,CAAA;IACvD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;CACvB,GAAG,qBAAqB,EAAE,CAiC1B;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,0BAA0B,EAAE,EACxC,IAAI,EAAE,qBAAqB,GAC1B,uBAAuB,CAYzB;AACD,wBAAgB,eAAe,CAAC,IAAI,EAAE,qBAAqB,GAAG,kBAAkB,CAE/E"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
convertLexicalPluginNodesToLexical: function() {
|
|
13
|
+
return convertLexicalPluginNodesToLexical;
|
|
14
|
+
},
|
|
15
|
+
convertLexicalPluginToLexical: function() {
|
|
16
|
+
return convertLexicalPluginToLexical;
|
|
17
|
+
},
|
|
18
|
+
convertParagraphNode: function() {
|
|
19
|
+
return convertParagraphNode;
|
|
20
|
+
},
|
|
21
|
+
convertTextNode: function() {
|
|
22
|
+
return convertTextNode;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
function convertLexicalPluginToLexical({ converters, lexicalPluginData }) {
|
|
26
|
+
return {
|
|
27
|
+
root: {
|
|
28
|
+
type: 'root',
|
|
29
|
+
children: convertLexicalPluginNodesToLexical({
|
|
30
|
+
converters,
|
|
31
|
+
lexicalPluginNodes: lexicalPluginData?.jsonContent?.root?.children || [],
|
|
32
|
+
parentNodeType: 'root'
|
|
33
|
+
}),
|
|
34
|
+
direction: lexicalPluginData?.jsonContent?.root?.direction || 'ltr',
|
|
35
|
+
format: lexicalPluginData?.jsonContent?.root?.format || '',
|
|
36
|
+
indent: lexicalPluginData?.jsonContent?.root?.indent || 0,
|
|
37
|
+
version: 1
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function convertLexicalPluginNodesToLexical({ converters, lexicalPluginNodes, parentNodeType }) {
|
|
42
|
+
if (!lexicalPluginNodes?.length) {
|
|
43
|
+
return [];
|
|
44
|
+
}
|
|
45
|
+
const unknownConverter = converters.find((converter)=>converter.nodeTypes.includes('unknown'));
|
|
46
|
+
return lexicalPluginNodes.map((lexicalPluginNode, i)=>{
|
|
47
|
+
if (lexicalPluginNode.type === 'paragraph') {
|
|
48
|
+
return convertParagraphNode(converters, lexicalPluginNode);
|
|
49
|
+
}
|
|
50
|
+
if (lexicalPluginNode.type === 'text' || !lexicalPluginNode.type) {
|
|
51
|
+
return convertTextNode(lexicalPluginNode);
|
|
52
|
+
}
|
|
53
|
+
const converter = converters.find((converter)=>converter.nodeTypes.includes(lexicalPluginNode.type));
|
|
54
|
+
if (converter) {
|
|
55
|
+
return converter.converter({
|
|
56
|
+
childIndex: i,
|
|
57
|
+
converters,
|
|
58
|
+
lexicalPluginNode,
|
|
59
|
+
parentNodeType
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
console.warn('lexicalPluginToLexical > No converter found for node type: ' + lexicalPluginNode.type);
|
|
63
|
+
return unknownConverter?.converter({
|
|
64
|
+
childIndex: i,
|
|
65
|
+
converters,
|
|
66
|
+
lexicalPluginNode,
|
|
67
|
+
parentNodeType
|
|
68
|
+
});
|
|
69
|
+
}) || [];
|
|
70
|
+
}
|
|
71
|
+
function convertParagraphNode(converters, node) {
|
|
72
|
+
return {
|
|
73
|
+
...node,
|
|
74
|
+
type: 'paragraph',
|
|
75
|
+
children: convertLexicalPluginNodesToLexical({
|
|
76
|
+
converters,
|
|
77
|
+
lexicalPluginNodes: node.children || [],
|
|
78
|
+
parentNodeType: 'paragraph'
|
|
79
|
+
}),
|
|
80
|
+
version: 1
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
function convertTextNode(node) {
|
|
84
|
+
return node;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9taWdyYXRpb25zL2xleGljYWxQbHVnaW5Ub0xleGljYWwvY29udmVydGVyL2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0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xxQkFBcUJFLFlBQVltQjtRQUMxQztRQUNBLElBQUlBLGtCQUFrQmhCLElBQUksS0FBSyxVQUFVLENBQUNnQixrQkFBa0JoQixJQUFJLEVBQUU7WUFDaEUsT0FBT0osZ0JBQWdCb0I7UUFDekI7UUFFQSxNQUFNSixZQUFZZixXQUFXYyxJQUFJLENBQUMsQ0FBQ0MsWUFDakNBLFVBQVVDLFNBQVMsQ0FBQ0MsUUFBUSxDQUFDRSxrQkFBa0JoQixJQUFJO1FBR3JELElBQUlZLFdBQVc7WUFDYixPQUFPQSxVQUFVQSxTQUFTLENBQUM7Z0JBQUVNLFlBQVlEO2dCQUFHcEI7Z0JBQVltQjtnQkFBbUJaO1lBQWU7UUFDNUY7UUFFQWUsUUFBUUMsSUFBSSxDQUNWLGdFQUFnRUosa0JBQWtCaEIsSUFBSTtRQUV4RixPQUFPVSxrQkFBa0JFLFVBQVU7WUFDakNNLFlBQVlEO1lBQ1pwQjtZQUNBbUI7WUFDQVo7UUFDRjtJQUNGLE1BQU0sRUFBRTtBQUVaO0FBRU8sU0FBU1QscUJBQ2RFLFVBQXdDLEVBQ3hDd0IsSUFBMkI7SUFFM0IsT0FBTztRQUNMLEdBQUdBLElBQUk7UUFDUHJCLE1BQU07UUFFTkMsVUFBVVIsbUNBQW1DO1lBQzNDSTtZQUNBSyxvQkFBb0IsQUFBQ21CLEtBQWFwQixRQUFRLElBQUksRUFBRTtZQUNoREcsZ0JBQWdCO1FBQ2xCO1FBQ0FJLFNBQVM7SUFDWDtBQUNGO0FBQ08sU0FBU1osZ0JBQWdCeUIsSUFBMkI7SUFDekQsT0FBT0E7QUFDVCJ9
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { SerializedEditorState, SerializedLexicalNode } from 'lexical';
|
|
2
|
+
import type React from 'react';
|
|
3
|
+
export type LexicalPluginNodeConverter<T extends SerializedLexicalNode = SerializedLexicalNode> = {
|
|
4
|
+
converter: ({ childIndex, converters, lexicalPluginNode, parentNodeType, }: {
|
|
5
|
+
childIndex: number;
|
|
6
|
+
converters: LexicalPluginNodeConverter[];
|
|
7
|
+
lexicalPluginNode: SerializedLexicalNode & {
|
|
8
|
+
children?: SerializedLexicalNode[];
|
|
9
|
+
};
|
|
10
|
+
parentNodeType: string;
|
|
11
|
+
}) => T;
|
|
12
|
+
nodeTypes: string[];
|
|
13
|
+
};
|
|
14
|
+
export type PayloadPluginLexicalData = {
|
|
15
|
+
characters: number;
|
|
16
|
+
comments: unknown[];
|
|
17
|
+
html?: string;
|
|
18
|
+
jsonContent: SerializedEditorState;
|
|
19
|
+
markdown?: string;
|
|
20
|
+
preview: string;
|
|
21
|
+
words: number;
|
|
22
|
+
};
|
|
23
|
+
export type LexicalPluginNodeConverterClientComponent = React.FC<{
|
|
24
|
+
componentKey: string;
|
|
25
|
+
featureKey: string;
|
|
26
|
+
}>;
|
|
27
|
+
export type LexicalPluginNodeConverterProvider = {
|
|
28
|
+
ClientComponent: LexicalPluginNodeConverterClientComponent;
|
|
29
|
+
converter: LexicalPluginNodeConverter;
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/field/features/migrations/lexicalPluginToLexical/converter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAC3E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,MAAM,MAAM,0BAA0B,CAAC,CAAC,SAAS,qBAAqB,GAAG,qBAAqB,IAAI;IAChG,SAAS,EAAE,CAAC,EACV,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,cAAc,GACf,EAAE;QACD,UAAU,EAAE,MAAM,CAAA;QAClB,UAAU,EAAE,0BAA0B,EAAE,CAAA;QACxC,iBAAiB,EAAE,qBAAqB,GAAG;YAAE,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAA;SAAE,CAAA;QACjF,cAAc,EAAE,MAAM,CAAA;KACvB,KAAK,CAAC,CAAA;IACP,SAAS,EAAE,MAAM,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,qBAAqB,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,yCAAyC,GAAG,KAAK,CAAC,EAAE,CAAC;IAC/D,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC,CAAA;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C,eAAe,EAAE,yCAAyC,CAAA;IAC1D,SAAS,EAAE,0BAA0B,CAAA;CACtC,CAAA"}
|