@payloadcms/richtext-lexical 3.0.0-beta.52 → 3.0.0-beta.53
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/dist/cell/index.js +5 -5
- package/dist/cell/index.js.map +1 -1
- package/dist/exports/client/Component-7HS6FEJS.js +2 -0
- package/dist/exports/client/Component-7HS6FEJS.js.map +7 -0
- package/dist/exports/client/Component-LAKSCIDX.js +2 -0
- package/dist/exports/client/Component-LAKSCIDX.js.map +7 -0
- package/dist/exports/client/Field-YMWNSE3A.js +2 -0
- package/dist/exports/client/Field-YMWNSE3A.js.map +7 -0
- package/dist/exports/client/RelationshipComponent-5OU5HATX.js +2 -0
- package/dist/exports/client/RelationshipComponent-5OU5HATX.js.map +7 -0
- package/dist/exports/client/bundled.css +1 -1
- package/dist/exports/client/chunk-3K3B6PJM.js +2 -0
- package/dist/exports/client/chunk-3K3B6PJM.js.map +7 -0
- package/dist/exports/client/chunk-MLIITFAS.js +3 -0
- package/dist/exports/client/chunk-MLIITFAS.js.map +7 -0
- package/dist/exports/client/chunk-OSR74ZNW.js +2 -0
- package/dist/exports/client/chunk-OSR74ZNW.js.map +7 -0
- package/dist/exports/client/chunk-QU5MKT75.js +2 -0
- package/dist/exports/client/chunk-QU5MKT75.js.map +7 -0
- package/dist/exports/client/chunk-ZITHDR53.js +2 -0
- package/dist/exports/client/chunk-ZITHDR53.js.map +7 -0
- package/dist/exports/client/component-E2NHAHBC.js +2 -0
- package/dist/exports/client/component-E2NHAHBC.js.map +7 -0
- package/dist/exports/client/component-QWIGEOVD.js +2 -0
- package/dist/exports/client/component-QWIGEOVD.js.map +7 -0
- package/dist/exports/client/component-X4LSLSWF.js +2 -0
- package/dist/exports/client/component-X4LSLSWF.js.map +7 -0
- package/dist/exports/client/index.d.ts +49 -49
- package/dist/exports/client/index.d.ts.map +1 -1
- package/dist/exports/client/index.js +4 -4
- package/dist/exports/client/index.js.map +3 -3
- package/dist/features/align/feature.client.d.ts.map +1 -0
- package/dist/features/align/feature.client.js.map +1 -0
- package/dist/features/align/feature.server.d.ts.map +1 -0
- package/dist/features/align/feature.server.js +19 -0
- package/dist/features/align/feature.server.js.map +1 -0
- package/dist/features/align/i18n.d.ts.map +1 -0
- package/dist/features/align/i18n.js.map +1 -0
- package/dist/features/align/toolbarAlignGroup.d.ts.map +1 -0
- package/dist/features/align/toolbarAlignGroup.js.map +1 -0
- package/dist/features/blockquote/feature.client.d.ts.map +1 -0
- package/dist/features/blockquote/feature.client.js.map +1 -0
- package/dist/features/blockquote/feature.server.d.ts.map +1 -0
- package/dist/features/blockquote/feature.server.js +50 -0
- package/dist/features/blockquote/feature.server.js.map +1 -0
- package/dist/features/blockquote/i18n.d.ts.map +1 -0
- package/dist/features/blockquote/i18n.js.map +1 -0
- package/dist/features/blockquote/markdownTransformer.d.ts.map +1 -0
- package/dist/features/blockquote/markdownTransformer.js.map +1 -0
- package/dist/features/blocks/component/BlockContent.d.ts +27 -0
- package/dist/features/blocks/component/BlockContent.d.ts.map +1 -0
- package/dist/features/blocks/component/BlockContent.js +193 -0
- package/dist/features/blocks/component/BlockContent.js.map +1 -0
- package/dist/features/blocks/component/FormSavePlugin.d.ts.map +1 -0
- package/dist/features/blocks/component/FormSavePlugin.js +29 -0
- package/dist/features/blocks/component/FormSavePlugin.js.map +1 -0
- package/dist/features/blocks/component/index.d.ts.map +1 -0
- package/dist/features/blocks/component/index.js +158 -0
- package/dist/features/blocks/component/index.js.map +1 -0
- package/dist/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -0
- package/dist/features/blocks/component/removeEmptyArrayValues.js.map +1 -0
- package/dist/features/blocks/drawer/index.d.ts.map +1 -0
- package/dist/features/blocks/drawer/index.js +78 -0
- package/dist/features/blocks/drawer/index.js.map +1 -0
- package/dist/features/blocks/feature.client.d.ts.map +1 -0
- package/dist/features/blocks/feature.client.js.map +1 -0
- package/dist/features/blocks/feature.server.d.ts.map +1 -0
- package/dist/features/blocks/feature.server.js +107 -0
- package/dist/features/blocks/feature.server.js.map +1 -0
- package/dist/features/blocks/graphQLPopulationPromise.d.ts.map +1 -0
- package/dist/features/blocks/graphQLPopulationPromise.js +31 -0
- package/dist/features/blocks/graphQLPopulationPromise.js.map +1 -0
- package/dist/features/blocks/i18n.d.ts.map +1 -0
- package/dist/features/blocks/i18n.js.map +1 -0
- package/dist/features/blocks/nodes/BlocksNode.d.ts.map +1 -0
- package/dist/features/blocks/nodes/BlocksNode.js.map +1 -0
- package/dist/features/blocks/plugin/commands.d.ts.map +1 -0
- package/dist/features/blocks/plugin/commands.js.map +1 -0
- package/dist/features/blocks/plugin/index.d.ts.map +1 -0
- package/dist/features/blocks/plugin/index.js.map +1 -0
- package/dist/features/blocks/validate.d.ts.map +1 -0
- package/dist/features/blocks/validate.js.map +1 -0
- package/dist/features/converters/html/converter/converters/linebreak.d.ts.map +1 -0
- package/dist/features/converters/html/converter/converters/linebreak.js.map +1 -0
- package/dist/features/converters/html/converter/converters/paragraph.d.ts.map +1 -0
- package/dist/features/converters/html/converter/converters/paragraph.js +20 -0
- package/dist/features/converters/html/converter/converters/paragraph.js.map +1 -0
- package/dist/features/converters/html/converter/converters/text.d.ts.map +1 -0
- package/dist/features/converters/html/converter/converters/text.js.map +1 -0
- package/dist/features/converters/html/converter/defaultConverters.d.ts.map +1 -0
- package/dist/features/converters/html/converter/defaultConverters.js.map +1 -0
- package/dist/features/converters/html/converter/index.d.ts +42 -0
- package/dist/features/converters/html/converter/index.d.ts.map +1 -0
- package/dist/features/converters/html/converter/index.js +48 -0
- package/dist/features/converters/html/converter/index.js.map +1 -0
- package/dist/features/converters/html/converter/types.d.ts +19 -0
- package/dist/features/converters/html/converter/types.d.ts.map +1 -0
- package/dist/features/converters/html/converter/types.js.map +1 -0
- package/dist/features/converters/html/feature.server.d.ts.map +1 -0
- package/dist/features/converters/html/feature.server.js.map +1 -0
- package/dist/features/converters/html/field/index.d.ts.map +1 -0
- package/dist/features/converters/html/field/index.js +154 -0
- package/dist/features/converters/html/field/index.js.map +1 -0
- package/dist/features/createClientComponent.d.ts.map +1 -0
- package/dist/features/createClientComponent.js +12 -0
- package/dist/features/createClientComponent.js.map +1 -0
- package/dist/features/createFeaturePropComponent.d.ts.map +1 -0
- package/dist/features/createFeaturePropComponent.js +18 -0
- package/dist/features/createFeaturePropComponent.js.map +1 -0
- package/dist/features/debug/testRecorder/feature.client.d.ts.map +1 -0
- package/dist/features/debug/testRecorder/feature.client.js.map +1 -0
- package/dist/features/debug/testRecorder/feature.server.d.ts.map +1 -0
- package/dist/features/debug/testRecorder/feature.server.js +16 -0
- package/dist/features/debug/testRecorder/feature.server.js.map +1 -0
- package/dist/features/debug/testRecorder/plugin/index.d.ts.map +1 -0
- package/dist/features/debug/testRecorder/plugin/index.js.map +1 -0
- package/dist/features/debug/treeView/feature.client.d.ts.map +1 -0
- package/dist/features/debug/treeView/feature.client.js.map +1 -0
- package/dist/features/debug/treeView/feature.server.d.ts.map +1 -0
- package/dist/features/debug/treeView/feature.server.js +16 -0
- package/dist/features/debug/treeView/feature.server.js.map +1 -0
- package/dist/features/debug/treeView/plugin/index.d.ts.map +1 -0
- package/dist/features/debug/treeView/plugin/index.js.map +1 -0
- package/dist/features/format/bold/feature.client.d.ts.map +1 -0
- package/dist/features/format/bold/feature.client.js.map +1 -0
- package/dist/features/format/bold/feature.server.d.ts.map +1 -0
- package/dist/features/format/bold/feature.server.js +28 -0
- package/dist/features/format/bold/feature.server.js.map +1 -0
- package/dist/features/format/bold/markdownTransformers.d.ts.map +1 -0
- package/dist/features/format/bold/markdownTransformers.js.map +1 -0
- package/dist/features/format/inlineCode/feature.client.d.ts.map +1 -0
- package/dist/features/format/inlineCode/feature.client.js.map +1 -0
- package/dist/features/format/inlineCode/feature.server.d.ts.map +1 -0
- package/dist/features/format/inlineCode/feature.server.js +20 -0
- package/dist/features/format/inlineCode/feature.server.js.map +1 -0
- package/dist/features/format/inlineCode/markdownTransformers.d.ts.map +1 -0
- package/dist/features/format/inlineCode/markdownTransformers.js.map +1 -0
- package/dist/features/format/italic/feature.client.d.ts.map +1 -0
- package/dist/features/format/italic/feature.client.js.map +1 -0
- package/dist/features/format/italic/feature.server.d.ts.map +1 -0
- package/dist/features/format/italic/feature.server.js +21 -0
- package/dist/features/format/italic/feature.server.js.map +1 -0
- package/dist/features/format/italic/markdownTransformers.d.ts.map +1 -0
- package/dist/features/format/italic/markdownTransformers.js.map +1 -0
- package/dist/features/format/shared/toolbarFormatGroup.d.ts.map +1 -0
- package/dist/features/format/shared/toolbarFormatGroup.js.map +1 -0
- package/dist/features/format/strikethrough/feature.client.d.ts.map +1 -0
- package/dist/features/format/strikethrough/feature.client.js.map +1 -0
- package/dist/features/format/strikethrough/feature.server.d.ts.map +1 -0
- package/dist/features/format/strikethrough/feature.server.js +20 -0
- package/dist/features/format/strikethrough/feature.server.js.map +1 -0
- package/dist/features/format/strikethrough/markdownTransformers.d.ts.map +1 -0
- package/dist/features/format/strikethrough/markdownTransformers.js.map +1 -0
- package/dist/features/format/subscript/feature.client.d.ts.map +1 -0
- package/dist/features/format/subscript/feature.client.js.map +1 -0
- package/dist/features/format/subscript/feature.server.d.ts.map +1 -0
- package/dist/features/format/subscript/feature.server.js +16 -0
- package/dist/features/format/subscript/feature.server.js.map +1 -0
- package/dist/features/format/superscript/feature.client.d.ts.map +1 -0
- package/dist/features/format/superscript/feature.client.js.map +1 -0
- package/dist/features/format/superscript/feature.server.d.ts.map +1 -0
- package/dist/features/format/superscript/feature.server.js +16 -0
- package/dist/features/format/superscript/feature.server.js.map +1 -0
- package/dist/features/format/underline/feature.client.d.ts.map +1 -0
- package/dist/features/format/underline/feature.client.js.map +1 -0
- package/dist/features/format/underline/feature.server.d.ts.map +1 -0
- package/dist/features/format/underline/feature.server.js +16 -0
- package/dist/features/format/underline/feature.server.js.map +1 -0
- package/dist/features/heading/feature.client.d.ts.map +1 -0
- package/dist/features/heading/feature.client.js.map +1 -0
- package/dist/features/heading/feature.server.d.ts.map +1 -0
- package/dist/features/heading/feature.server.js +61 -0
- package/dist/features/heading/feature.server.js.map +1 -0
- package/dist/features/heading/i18n.d.ts.map +1 -0
- package/dist/features/heading/i18n.js.map +1 -0
- package/dist/features/heading/markdownTransformer.d.ts.map +1 -0
- package/dist/features/heading/markdownTransformer.js.map +1 -0
- package/dist/features/horizontalRule/component/index.d.ts.map +1 -0
- package/dist/features/horizontalRule/component/index.js.map +1 -0
- package/dist/features/horizontalRule/feature.client.d.ts.map +1 -0
- package/dist/features/horizontalRule/feature.client.js.map +1 -0
- package/dist/features/horizontalRule/feature.server.d.ts.map +1 -0
- package/dist/features/horizontalRule/feature.server.js +39 -0
- package/dist/features/horizontalRule/feature.server.js.map +1 -0
- package/dist/features/horizontalRule/i18n.d.ts.map +1 -0
- package/dist/features/horizontalRule/i18n.js.map +1 -0
- package/dist/features/horizontalRule/markdownTransformer.d.ts.map +1 -0
- package/dist/features/horizontalRule/markdownTransformer.js.map +1 -0
- package/dist/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +1 -0
- package/dist/features/horizontalRule/nodes/HorizontalRuleNode.js.map +1 -0
- package/dist/features/horizontalRule/plugin/index.d.ts.map +1 -0
- package/dist/features/horizontalRule/plugin/index.js.map +1 -0
- package/dist/features/indent/feature.client.d.ts.map +1 -0
- package/dist/features/indent/feature.client.js.map +1 -0
- package/dist/features/indent/feature.server.d.ts.map +1 -0
- package/dist/features/indent/feature.server.js +19 -0
- package/dist/features/indent/feature.server.js.map +1 -0
- package/dist/features/indent/i18n.d.ts.map +1 -0
- package/dist/features/indent/i18n.js.map +1 -0
- package/dist/features/indent/toolbarIndentGroup.d.ts.map +1 -0
- package/dist/features/indent/toolbarIndentGroup.js.map +1 -0
- package/dist/features/link/drawer/baseFields.d.ts.map +1 -0
- package/dist/features/link/drawer/baseFields.js.map +1 -0
- package/dist/features/link/drawer/index.d.ts.map +1 -0
- package/dist/features/link/drawer/index.js +94 -0
- package/dist/features/link/drawer/index.js.map +1 -0
- package/dist/features/link/drawer/types.d.ts.map +1 -0
- package/dist/features/link/drawer/types.js.map +1 -0
- package/dist/features/link/feature.client.d.ts.map +1 -0
- package/dist/features/link/feature.client.js.map +1 -0
- package/dist/features/link/feature.server.d.ts.map +1 -0
- package/dist/features/link/feature.server.js +140 -0
- package/dist/features/link/feature.server.js.map +1 -0
- package/dist/features/link/graphQLPopulationPromise.d.ts.map +1 -0
- package/dist/features/link/graphQLPopulationPromise.js +31 -0
- package/dist/features/link/graphQLPopulationPromise.js.map +1 -0
- package/dist/features/link/i18n.d.ts.map +1 -0
- package/dist/features/link/i18n.js.map +1 -0
- package/dist/features/link/markdownTransformer.d.ts.map +1 -0
- package/dist/features/link/markdownTransformer.js.map +1 -0
- package/dist/features/link/nodes/AutoLinkNode.d.ts.map +1 -0
- package/dist/features/link/nodes/AutoLinkNode.js.map +1 -0
- package/dist/features/link/nodes/LinkNode.d.ts.map +1 -0
- package/dist/features/link/nodes/LinkNode.js.map +1 -0
- package/dist/features/link/nodes/types.d.ts.map +1 -0
- package/dist/features/link/nodes/types.js.map +1 -0
- package/dist/features/link/plugins/autoLink/index.d.ts.map +1 -0
- package/dist/features/link/plugins/autoLink/index.js.map +1 -0
- package/dist/features/link/plugins/clickableLink/index.d.ts.map +1 -0
- package/dist/features/link/plugins/clickableLink/index.js.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +295 -0
- package/dist/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/index.d.ts.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/index.js.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/types.d.ts.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/types.js.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -0
- package/dist/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -0
- package/dist/features/link/plugins/link/index.d.ts.map +1 -0
- package/dist/features/link/plugins/link/index.js.map +1 -0
- package/dist/features/link/validate.d.ts.map +1 -0
- package/dist/features/link/validate.js.map +1 -0
- package/dist/features/lists/checklist/feature.client.d.ts.map +1 -0
- package/dist/features/lists/checklist/feature.client.js.map +1 -0
- package/dist/features/lists/checklist/feature.server.d.ts.map +1 -0
- package/dist/features/lists/checklist/feature.server.js +39 -0
- package/dist/features/lists/checklist/feature.server.js.map +1 -0
- package/dist/features/lists/checklist/i18n.d.ts.map +1 -0
- package/dist/features/lists/checklist/i18n.js.map +1 -0
- package/dist/features/lists/checklist/markdownTransformers.d.ts.map +1 -0
- package/dist/features/lists/checklist/markdownTransformers.js.map +1 -0
- package/dist/features/lists/checklist/plugin/index.d.ts.map +1 -0
- package/dist/features/lists/checklist/plugin/index.js.map +1 -0
- package/dist/features/lists/htmlConverter.d.ts.map +1 -0
- package/dist/features/lists/htmlConverter.js +56 -0
- package/dist/features/lists/htmlConverter.js.map +1 -0
- package/dist/features/lists/orderedList/feature.client.d.ts.map +1 -0
- package/dist/features/lists/orderedList/feature.client.js.map +1 -0
- package/dist/features/lists/orderedList/feature.server.d.ts.map +1 -0
- package/dist/features/lists/orderedList/feature.server.js +39 -0
- package/dist/features/lists/orderedList/feature.server.js.map +1 -0
- package/dist/features/lists/orderedList/i18n.d.ts.map +1 -0
- package/dist/features/lists/orderedList/i18n.js.map +1 -0
- package/dist/features/lists/orderedList/markdownTransformer.d.ts.map +1 -0
- package/dist/features/lists/orderedList/markdownTransformer.js.map +1 -0
- package/dist/features/lists/plugin/index.d.ts.map +1 -0
- package/dist/features/lists/plugin/index.js.map +1 -0
- package/dist/features/lists/shared/markdown.d.ts.map +1 -0
- package/dist/features/lists/shared/markdown.js.map +1 -0
- package/dist/features/lists/shared/slashMenuListGroup.d.ts.map +1 -0
- package/dist/features/lists/shared/slashMenuListGroup.js.map +1 -0
- package/dist/features/lists/unorderedList/feature.client.d.ts.map +1 -0
- package/dist/features/lists/unorderedList/feature.client.js.map +1 -0
- package/dist/features/lists/unorderedList/feature.server.d.ts.map +1 -0
- package/dist/features/lists/unorderedList/feature.server.js +39 -0
- package/dist/features/lists/unorderedList/feature.server.js.map +1 -0
- package/dist/features/lists/unorderedList/i18n.d.ts.map +1 -0
- package/dist/features/lists/unorderedList/i18n.js.map +1 -0
- package/dist/features/lists/unorderedList/markdownTransformer.d.ts.map +1 -0
- package/dist/features/lists/unorderedList/markdownTransformer.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +48 -0
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/heading/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/indent/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/link/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/converters/upload/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/index.js.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/converter/types.js.map +1 -0
- package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/feature.client.js.map +1 -0
- package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/feature.server.js +48 -0
- package/dist/features/migrations/slateToLexical/feature.server.js.map +1 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -0
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -0
- package/dist/features/paragraph/feature.client.d.ts.map +1 -0
- package/dist/features/paragraph/feature.client.js.map +1 -0
- package/dist/features/paragraph/feature.server.d.ts.map +1 -0
- package/dist/features/paragraph/feature.server.js +19 -0
- package/dist/features/paragraph/feature.server.js.map +1 -0
- package/dist/features/paragraph/i18n.d.ts.map +1 -0
- package/dist/features/paragraph/i18n.js.map +1 -0
- package/dist/features/relationship/drawer/commands.d.ts.map +1 -0
- package/dist/features/relationship/drawer/commands.js.map +1 -0
- package/dist/features/relationship/drawer/index.d.ts.map +1 -0
- package/dist/features/relationship/drawer/index.js +83 -0
- package/dist/features/relationship/drawer/index.js.map +1 -0
- package/dist/features/relationship/feature.client.d.ts.map +1 -0
- package/dist/features/relationship/feature.client.js.map +1 -0
- package/dist/features/relationship/feature.server.d.ts.map +1 -0
- package/dist/features/relationship/feature.server.js +61 -0
- package/dist/features/relationship/feature.server.js.map +1 -0
- package/dist/features/relationship/graphQLPopulationPromise.d.ts.map +1 -0
- package/dist/features/relationship/graphQLPopulationPromise.js +29 -0
- package/dist/features/relationship/graphQLPopulationPromise.js.map +1 -0
- package/dist/features/relationship/i18n.d.ts.map +1 -0
- package/dist/features/relationship/i18n.js.map +1 -0
- package/dist/features/relationship/nodes/RelationshipNode.d.ts.map +1 -0
- package/dist/features/relationship/nodes/RelationshipNode.js.map +1 -0
- package/dist/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -0
- package/dist/features/relationship/nodes/components/RelationshipComponent.js +172 -0
- package/dist/features/relationship/nodes/components/RelationshipComponent.js.map +1 -0
- package/dist/features/relationship/plugins/index.d.ts.map +1 -0
- package/dist/features/relationship/plugins/index.js +50 -0
- package/dist/features/relationship/plugins/index.js.map +1 -0
- package/dist/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -0
- package/dist/features/relationship/utils/EnabledRelationshipsCondition.js +33 -0
- package/dist/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -0
- package/dist/features/shared/slashMenu/basicGroup.d.ts.map +1 -0
- package/dist/features/shared/slashMenu/basicGroup.js.map +1 -0
- package/dist/features/shared/toolbar/addDropdownGroup.d.ts.map +1 -0
- package/dist/features/shared/toolbar/addDropdownGroup.js.map +1 -0
- package/dist/features/shared/toolbar/featureButtonsGroup.d.ts.map +1 -0
- package/dist/features/shared/toolbar/featureButtonsGroup.js.map +1 -0
- package/dist/features/shared/toolbar/textDropdownGroup.d.ts.map +1 -0
- package/dist/features/shared/toolbar/textDropdownGroup.js.map +1 -0
- package/dist/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -0
- package/dist/features/toolbars/fixed/Toolbar/index.js +207 -0
- package/dist/features/toolbars/fixed/Toolbar/index.js.map +1 -0
- package/dist/features/toolbars/fixed/feature.client.d.ts.map +1 -0
- package/dist/features/toolbars/fixed/feature.client.js.map +1 -0
- package/dist/features/toolbars/fixed/feature.server.d.ts.map +1 -0
- package/dist/features/toolbars/fixed/feature.server.js +21 -0
- package/dist/features/toolbars/fixed/feature.server.js.map +1 -0
- package/dist/features/toolbars/inline/Toolbar/index.d.ts.map +1 -0
- package/dist/features/toolbars/inline/Toolbar/index.js.map +1 -0
- package/dist/features/toolbars/inline/feature.client.d.ts.map +1 -0
- package/dist/features/toolbars/inline/feature.client.js.map +1 -0
- package/dist/features/toolbars/inline/feature.server.d.ts.map +1 -0
- package/dist/features/toolbars/inline/feature.server.js +16 -0
- package/dist/features/toolbars/inline/feature.server.js.map +1 -0
- package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -0
- package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/index.js +141 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -0
- package/dist/features/toolbars/types.d.ts.map +1 -0
- package/dist/features/toolbars/types.js.map +1 -0
- package/dist/features/typeUtilities.d.ts.map +1 -0
- package/dist/features/typeUtilities.js.map +1 -0
- package/dist/features/types.d.ts +468 -0
- package/dist/features/types.d.ts.map +1 -0
- package/dist/features/types.js.map +1 -0
- package/dist/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -0
- package/dist/features/upload/component/ExtraFieldsDrawer/index.js +123 -0
- package/dist/features/upload/component/ExtraFieldsDrawer/index.js.map +1 -0
- package/dist/features/upload/component/index.d.ts.map +1 -0
- package/dist/features/upload/component/index.js +219 -0
- package/dist/features/upload/component/index.js.map +1 -0
- package/dist/features/upload/drawer/commands.d.ts.map +1 -0
- package/dist/features/upload/drawer/commands.js.map +1 -0
- package/dist/features/upload/drawer/index.d.ts.map +1 -0
- package/dist/features/upload/drawer/index.js +77 -0
- package/dist/features/upload/drawer/index.js.map +1 -0
- package/dist/features/upload/feature.client.d.ts.map +1 -0
- package/dist/features/upload/feature.client.js.map +1 -0
- package/dist/features/upload/feature.server.d.ts.map +1 -0
- package/dist/features/upload/feature.server.js +196 -0
- package/dist/features/upload/feature.server.js.map +1 -0
- package/dist/features/upload/graphQLPopulationPromise.d.ts.map +1 -0
- package/dist/features/upload/graphQLPopulationPromise.js +52 -0
- package/dist/features/upload/graphQLPopulationPromise.js.map +1 -0
- package/dist/features/upload/i18n.d.ts.map +1 -0
- package/dist/features/upload/i18n.js.map +1 -0
- package/dist/features/upload/nodes/UploadNode.d.ts.map +1 -0
- package/dist/features/upload/nodes/UploadNode.js.map +1 -0
- package/dist/features/upload/plugin/index.d.ts.map +1 -0
- package/dist/features/upload/plugin/index.js +53 -0
- package/dist/features/upload/plugin/index.js.map +1 -0
- package/dist/features/upload/validate.d.ts.map +1 -0
- package/dist/features/upload/validate.js.map +1 -0
- package/dist/field/Field.d.ts +3 -3
- package/dist/field/Field.d.ts.map +1 -1
- package/dist/field/Field.js +2 -2
- package/dist/field/Field.js.map +1 -1
- package/dist/field/index.d.ts +1 -1
- package/dist/field/index.d.ts.map +1 -1
- package/dist/field/index.js +7 -7
- package/dist/field/index.js.map +1 -1
- package/dist/index.d.ts +66 -66
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +66 -66
- package/dist/index.js.map +1 -1
- package/dist/lexical/EditorPlugin.d.ts +8 -0
- package/dist/lexical/EditorPlugin.d.ts.map +1 -0
- package/dist/lexical/EditorPlugin.js +15 -0
- package/dist/lexical/EditorPlugin.js.map +1 -0
- package/dist/lexical/LexicalEditor.d.ts.map +1 -0
- package/dist/lexical/LexicalEditor.js +192 -0
- package/dist/lexical/LexicalEditor.js.map +1 -0
- package/dist/lexical/LexicalProvider.d.ts +18 -0
- package/dist/lexical/LexicalProvider.d.ts.map +1 -0
- package/dist/lexical/LexicalProvider.js.map +1 -0
- package/dist/lexical/config/client/EditorConfigProvider.d.ts +35 -0
- package/dist/lexical/config/client/EditorConfigProvider.d.ts.map +1 -0
- package/dist/lexical/config/client/EditorConfigProvider.js.map +1 -0
- package/dist/lexical/config/client/default.d.ts.map +1 -0
- package/dist/lexical/config/client/default.js.map +1 -0
- package/dist/lexical/config/client/loader.d.ts.map +1 -0
- package/dist/lexical/config/client/loader.js.map +1 -0
- package/dist/lexical/config/client/sanitize.d.ts +7 -0
- package/dist/lexical/config/client/sanitize.d.ts.map +1 -0
- package/dist/lexical/config/client/sanitize.js.map +1 -0
- package/dist/lexical/config/server/default.d.ts.map +1 -0
- package/dist/lexical/config/server/default.js.map +1 -0
- package/dist/lexical/config/server/loader.d.ts.map +1 -0
- package/dist/lexical/config/server/loader.js.map +1 -0
- package/dist/lexical/config/server/sanitize.d.ts.map +1 -0
- package/dist/lexical/config/server/sanitize.js.map +1 -0
- package/dist/lexical/config/types.d.ts +23 -0
- package/dist/lexical/config/types.d.ts.map +1 -0
- package/dist/lexical/config/types.js.map +1 -0
- package/dist/lexical/nodes/index.d.ts.map +1 -0
- package/dist/lexical/nodes/index.js.map +1 -0
- package/dist/lexical/plugins/MarkdownShortcut/index.d.ts.map +1 -0
- package/dist/lexical/plugins/MarkdownShortcut/index.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/index.js +187 -0
- package/dist/lexical/plugins/SlashMenu/index.js.map +1 -0
- package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +1 -0
- package/dist/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +1 -0
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/getCollapsedMargins.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/isOnHandleElement.js.map +1 -0
- package/dist/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +1 -0
- package/dist/lexical/plugins/handles/utils/setHandlePosition.js.map +1 -0
- package/dist/lexical/theme/EditorTheme.d.ts.map +1 -0
- package/dist/lexical/theme/EditorTheme.js.map +1 -0
- package/dist/lexical/ui/ContentEditable.d.ts.map +1 -0
- package/dist/lexical/ui/ContentEditable.js.map +1 -0
- package/dist/lexical/ui/icons/AI/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AI/index.js.map +1 -0
- package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Add/index.js.map +1 -0
- package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -0
- package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -0
- package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -0
- package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -0
- package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Block/index.js.map +1 -0
- package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -0
- package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Bold/index.js.map +1 -0
- package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Checklist/index.js.map +1 -0
- package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Code/index.js.map +1 -0
- package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -0
- package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H1/index.js.map +1 -0
- package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H2/index.js.map +1 -0
- package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H3/index.js.map +1 -0
- package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H4/index.js.map +1 -0
- package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H5/index.js.map +1 -0
- package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/H6/index.js.map +1 -0
- package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -0
- package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -0
- package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -0
- package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Italic/index.js.map +1 -0
- package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Link/index.js.map +1 -0
- package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -0
- package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Relationship/index.js.map +1 -0
- package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -0
- package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Subscript/index.js.map +1 -0
- package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Superscript/index.js.map +1 -0
- package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Text/index.js.map +1 -0
- package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Underline/index.js.map +1 -0
- package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -0
- package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Upload/index.js.map +1 -0
- package/dist/lexical/utils/canUseDOM.d.ts.map +1 -0
- package/dist/lexical/utils/canUseDOM.js.map +1 -0
- package/dist/lexical/utils/cloneDeep.d.ts.map +1 -0
- package/dist/lexical/utils/cloneDeep.js +50 -0
- package/dist/lexical/utils/cloneDeep.js.map +1 -0
- package/dist/lexical/utils/environment.d.ts.map +1 -0
- package/dist/lexical/utils/environment.js.map +1 -0
- package/dist/lexical/utils/getDOMRangeRect.d.ts.map +1 -0
- package/dist/lexical/utils/getDOMRangeRect.js.map +1 -0
- package/dist/lexical/utils/getSelectedNode.d.ts.map +1 -0
- package/dist/lexical/utils/getSelectedNode.js.map +1 -0
- package/dist/lexical/utils/guard.d.ts.map +1 -0
- package/dist/lexical/utils/guard.js.map +1 -0
- package/dist/lexical/utils/invariant.d.ts.map +1 -0
- package/dist/lexical/utils/invariant.js.map +1 -0
- package/dist/lexical/utils/joinClasses.d.ts.map +1 -0
- package/dist/lexical/utils/joinClasses.js.map +1 -0
- package/dist/lexical/utils/markdown/createBlockNode.d.ts.map +1 -0
- package/dist/lexical/utils/markdown/createBlockNode.js.map +1 -0
- package/dist/lexical/utils/nodeFormat.d.ts.map +1 -0
- package/dist/lexical/utils/nodeFormat.js.map +1 -0
- package/dist/lexical/utils/point.d.ts.map +1 -0
- package/dist/lexical/utils/point.js.map +1 -0
- package/dist/lexical/utils/rect.d.ts.map +1 -0
- package/dist/lexical/utils/rect.js.map +1 -0
- package/dist/lexical/utils/setFloatingElemPosition.d.ts.map +1 -0
- package/dist/lexical/utils/setFloatingElemPosition.js.map +1 -0
- package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +1 -0
- package/dist/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
- package/dist/lexical/utils/swipe.d.ts.map +1 -0
- package/dist/lexical/utils/swipe.js.map +1 -0
- package/dist/lexical/utils/url.d.ts.map +1 -0
- package/dist/lexical/utils/url.js.map +1 -0
- package/dist/populateGraphQL/populate.d.ts +3 -3
- package/dist/populateGraphQL/populate.d.ts.map +1 -1
- package/dist/populateGraphQL/populate.js +2 -2
- package/dist/populateGraphQL/populate.js.map +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.js +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utilities/forEachNodeRecursively.d.ts.map +1 -0
- package/dist/utilities/forEachNodeRecursively.js.map +1 -0
- package/dist/utilities/generateComponentMap.d.ts +6 -0
- package/dist/utilities/generateComponentMap.d.ts.map +1 -0
- package/dist/utilities/generateComponentMap.js.map +1 -0
- package/dist/utilities/generateSchemaMap.d.ts +6 -0
- package/dist/utilities/generateSchemaMap.d.ts.map +1 -0
- package/dist/utilities/generateSchemaMap.js.map +1 -0
- package/dist/utilities/recurseNodeTree.d.ts.map +1 -0
- package/dist/utilities/recurseNodeTree.js.map +1 -0
- package/dist/utilities/useLexicalFeature.d.ts +3 -0
- package/dist/utilities/useLexicalFeature.d.ts.map +1 -0
- package/dist/utilities/useLexicalFeature.js +12 -0
- package/dist/utilities/useLexicalFeature.js.map +1 -0
- package/dist/validate/index.d.ts +1 -1
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js.map +1 -1
- package/dist/validate/validateNodes.d.ts +1 -1
- package/dist/validate/validateNodes.d.ts.map +1 -1
- package/dist/validate/validateNodes.js.map +1 -1
- package/package.json +13 -13
- package/dist/exports/client/Component-6AVANNNR.js +0 -2
- package/dist/exports/client/Component-6AVANNNR.js.map +0 -7
- package/dist/exports/client/Component-SZVAYRJX.js +0 -2
- package/dist/exports/client/Component-SZVAYRJX.js.map +0 -7
- package/dist/exports/client/Field-U5PHZTST.js +0 -2
- package/dist/exports/client/Field-U5PHZTST.js.map +0 -7
- package/dist/exports/client/RelationshipComponent-FGUPLCD2.js +0 -2
- package/dist/exports/client/RelationshipComponent-FGUPLCD2.js.map +0 -7
- package/dist/exports/client/chunk-35NZOHAF.js +0 -2
- package/dist/exports/client/chunk-35NZOHAF.js.map +0 -7
- package/dist/exports/client/chunk-3PZ2ZFQG.js +0 -3
- package/dist/exports/client/chunk-3PZ2ZFQG.js.map +0 -7
- package/dist/exports/client/chunk-FSTRW2TI.js +0 -2
- package/dist/exports/client/chunk-FSTRW2TI.js.map +0 -7
- package/dist/exports/client/chunk-M6MN4CA5.js +0 -2
- package/dist/exports/client/chunk-M6MN4CA5.js.map +0 -7
- package/dist/exports/client/chunk-Y5455JF3.js +0 -2
- package/dist/exports/client/chunk-Y5455JF3.js.map +0 -7
- package/dist/exports/client/component-FFLILIUZ.js +0 -2
- package/dist/exports/client/component-FFLILIUZ.js.map +0 -7
- package/dist/exports/client/component-RAVN56DE.js +0 -2
- package/dist/exports/client/component-RAVN56DE.js.map +0 -7
- package/dist/exports/client/component-Z34HXRX3.js +0 -2
- package/dist/exports/client/component-Z34HXRX3.js.map +0 -7
- package/dist/field/features/align/feature.client.d.ts.map +0 -1
- package/dist/field/features/align/feature.client.js.map +0 -1
- package/dist/field/features/align/feature.server.d.ts.map +0 -1
- package/dist/field/features/align/feature.server.js +0 -19
- package/dist/field/features/align/feature.server.js.map +0 -1
- package/dist/field/features/align/i18n.d.ts.map +0 -1
- package/dist/field/features/align/i18n.js.map +0 -1
- package/dist/field/features/align/toolbarAlignGroup.d.ts.map +0 -1
- package/dist/field/features/align/toolbarAlignGroup.js.map +0 -1
- package/dist/field/features/blockquote/feature.client.d.ts.map +0 -1
- package/dist/field/features/blockquote/feature.client.js.map +0 -1
- package/dist/field/features/blockquote/feature.server.d.ts.map +0 -1
- package/dist/field/features/blockquote/feature.server.js +0 -50
- package/dist/field/features/blockquote/feature.server.js.map +0 -1
- package/dist/field/features/blockquote/i18n.d.ts.map +0 -1
- package/dist/field/features/blockquote/i18n.js.map +0 -1
- package/dist/field/features/blockquote/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/blockquote/markdownTransformer.js.map +0 -1
- package/dist/field/features/blocks/component/BlockContent.d.ts +0 -27
- package/dist/field/features/blocks/component/BlockContent.d.ts.map +0 -1
- package/dist/field/features/blocks/component/BlockContent.js +0 -193
- package/dist/field/features/blocks/component/BlockContent.js.map +0 -1
- package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +0 -1
- package/dist/field/features/blocks/component/FormSavePlugin.js +0 -29
- package/dist/field/features/blocks/component/FormSavePlugin.js.map +0 -1
- package/dist/field/features/blocks/component/index.d.ts.map +0 -1
- package/dist/field/features/blocks/component/index.js +0 -158
- package/dist/field/features/blocks/component/index.js.map +0 -1
- package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +0 -1
- package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +0 -1
- package/dist/field/features/blocks/drawer/index.d.ts.map +0 -1
- package/dist/field/features/blocks/drawer/index.js +0 -78
- package/dist/field/features/blocks/drawer/index.js.map +0 -1
- package/dist/field/features/blocks/feature.client.d.ts.map +0 -1
- package/dist/field/features/blocks/feature.client.js.map +0 -1
- package/dist/field/features/blocks/feature.server.d.ts.map +0 -1
- package/dist/field/features/blocks/feature.server.js +0 -107
- package/dist/field/features/blocks/feature.server.js.map +0 -1
- package/dist/field/features/blocks/graphQLPopulationPromise.d.ts.map +0 -1
- package/dist/field/features/blocks/graphQLPopulationPromise.js +0 -31
- package/dist/field/features/blocks/graphQLPopulationPromise.js.map +0 -1
- package/dist/field/features/blocks/i18n.d.ts.map +0 -1
- package/dist/field/features/blocks/i18n.js.map +0 -1
- package/dist/field/features/blocks/nodes/BlocksNode.d.ts.map +0 -1
- package/dist/field/features/blocks/nodes/BlocksNode.js.map +0 -1
- package/dist/field/features/blocks/plugin/commands.d.ts.map +0 -1
- package/dist/field/features/blocks/plugin/commands.js.map +0 -1
- package/dist/field/features/blocks/plugin/index.d.ts.map +0 -1
- package/dist/field/features/blocks/plugin/index.js.map +0 -1
- package/dist/field/features/blocks/validate.d.ts.map +0 -1
- package/dist/field/features/blocks/validate.js.map +0 -1
- package/dist/field/features/converters/html/converter/converters/linebreak.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/converters/linebreak.js.map +0 -1
- package/dist/field/features/converters/html/converter/converters/paragraph.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/converters/paragraph.js +0 -20
- package/dist/field/features/converters/html/converter/converters/paragraph.js.map +0 -1
- package/dist/field/features/converters/html/converter/converters/text.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/converters/text.js.map +0 -1
- package/dist/field/features/converters/html/converter/defaultConverters.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/defaultConverters.js.map +0 -1
- package/dist/field/features/converters/html/converter/index.d.ts +0 -21
- package/dist/field/features/converters/html/converter/index.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/index.js +0 -44
- package/dist/field/features/converters/html/converter/index.js.map +0 -1
- package/dist/field/features/converters/html/converter/types.d.ts +0 -19
- package/dist/field/features/converters/html/converter/types.d.ts.map +0 -1
- package/dist/field/features/converters/html/converter/types.js.map +0 -1
- package/dist/field/features/converters/html/feature.server.d.ts.map +0 -1
- package/dist/field/features/converters/html/feature.server.js.map +0 -1
- package/dist/field/features/converters/html/field/index.d.ts.map +0 -1
- package/dist/field/features/converters/html/field/index.js +0 -154
- package/dist/field/features/converters/html/field/index.js.map +0 -1
- package/dist/field/features/createClientComponent.d.ts.map +0 -1
- package/dist/field/features/createClientComponent.js +0 -12
- package/dist/field/features/createClientComponent.js.map +0 -1
- package/dist/field/features/createFeaturePropComponent.d.ts.map +0 -1
- package/dist/field/features/createFeaturePropComponent.js +0 -18
- package/dist/field/features/createFeaturePropComponent.js.map +0 -1
- package/dist/field/features/debug/testRecorder/feature.client.d.ts.map +0 -1
- package/dist/field/features/debug/testRecorder/feature.client.js.map +0 -1
- package/dist/field/features/debug/testRecorder/feature.server.d.ts.map +0 -1
- package/dist/field/features/debug/testRecorder/feature.server.js +0 -16
- package/dist/field/features/debug/testRecorder/feature.server.js.map +0 -1
- package/dist/field/features/debug/testRecorder/plugin/index.d.ts.map +0 -1
- package/dist/field/features/debug/testRecorder/plugin/index.js.map +0 -1
- package/dist/field/features/debug/treeView/feature.client.d.ts.map +0 -1
- package/dist/field/features/debug/treeView/feature.client.js.map +0 -1
- package/dist/field/features/debug/treeView/feature.server.d.ts.map +0 -1
- package/dist/field/features/debug/treeView/feature.server.js +0 -16
- package/dist/field/features/debug/treeView/feature.server.js.map +0 -1
- package/dist/field/features/debug/treeView/plugin/index.d.ts.map +0 -1
- package/dist/field/features/debug/treeView/plugin/index.js.map +0 -1
- package/dist/field/features/format/bold/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/bold/feature.client.js.map +0 -1
- package/dist/field/features/format/bold/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/bold/feature.server.js +0 -28
- package/dist/field/features/format/bold/feature.server.js.map +0 -1
- package/dist/field/features/format/bold/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/bold/markdownTransformers.js.map +0 -1
- package/dist/field/features/format/inlineCode/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/inlineCode/feature.client.js.map +0 -1
- package/dist/field/features/format/inlineCode/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/inlineCode/feature.server.js +0 -20
- package/dist/field/features/format/inlineCode/feature.server.js.map +0 -1
- package/dist/field/features/format/inlineCode/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/inlineCode/markdownTransformers.js.map +0 -1
- package/dist/field/features/format/italic/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/italic/feature.client.js.map +0 -1
- package/dist/field/features/format/italic/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/italic/feature.server.js +0 -21
- package/dist/field/features/format/italic/feature.server.js.map +0 -1
- package/dist/field/features/format/italic/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/italic/markdownTransformers.js.map +0 -1
- package/dist/field/features/format/shared/toolbarFormatGroup.d.ts.map +0 -1
- package/dist/field/features/format/shared/toolbarFormatGroup.js.map +0 -1
- package/dist/field/features/format/strikethrough/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/strikethrough/feature.client.js.map +0 -1
- package/dist/field/features/format/strikethrough/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/strikethrough/feature.server.js +0 -20
- package/dist/field/features/format/strikethrough/feature.server.js.map +0 -1
- package/dist/field/features/format/strikethrough/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/format/strikethrough/markdownTransformers.js.map +0 -1
- package/dist/field/features/format/subscript/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/subscript/feature.client.js.map +0 -1
- package/dist/field/features/format/subscript/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/subscript/feature.server.js +0 -16
- package/dist/field/features/format/subscript/feature.server.js.map +0 -1
- package/dist/field/features/format/superscript/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/superscript/feature.client.js.map +0 -1
- package/dist/field/features/format/superscript/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/superscript/feature.server.js +0 -16
- package/dist/field/features/format/superscript/feature.server.js.map +0 -1
- package/dist/field/features/format/underline/feature.client.d.ts.map +0 -1
- package/dist/field/features/format/underline/feature.client.js.map +0 -1
- package/dist/field/features/format/underline/feature.server.d.ts.map +0 -1
- package/dist/field/features/format/underline/feature.server.js +0 -16
- package/dist/field/features/format/underline/feature.server.js.map +0 -1
- package/dist/field/features/heading/feature.client.d.ts.map +0 -1
- package/dist/field/features/heading/feature.client.js.map +0 -1
- package/dist/field/features/heading/feature.server.d.ts.map +0 -1
- package/dist/field/features/heading/feature.server.js +0 -61
- package/dist/field/features/heading/feature.server.js.map +0 -1
- package/dist/field/features/heading/i18n.d.ts.map +0 -1
- package/dist/field/features/heading/i18n.js.map +0 -1
- package/dist/field/features/heading/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/heading/markdownTransformer.js.map +0 -1
- package/dist/field/features/horizontalRule/component/index.d.ts.map +0 -1
- package/dist/field/features/horizontalRule/component/index.js.map +0 -1
- package/dist/field/features/horizontalRule/feature.client.d.ts.map +0 -1
- package/dist/field/features/horizontalRule/feature.client.js.map +0 -1
- package/dist/field/features/horizontalRule/feature.server.d.ts.map +0 -1
- package/dist/field/features/horizontalRule/feature.server.js +0 -39
- package/dist/field/features/horizontalRule/feature.server.js.map +0 -1
- package/dist/field/features/horizontalRule/i18n.d.ts.map +0 -1
- package/dist/field/features/horizontalRule/i18n.js.map +0 -1
- package/dist/field/features/horizontalRule/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/horizontalRule/markdownTransformer.js.map +0 -1
- package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.d.ts.map +0 -1
- package/dist/field/features/horizontalRule/nodes/HorizontalRuleNode.js.map +0 -1
- package/dist/field/features/horizontalRule/plugin/index.d.ts.map +0 -1
- package/dist/field/features/horizontalRule/plugin/index.js.map +0 -1
- package/dist/field/features/indent/feature.client.d.ts.map +0 -1
- package/dist/field/features/indent/feature.client.js.map +0 -1
- package/dist/field/features/indent/feature.server.d.ts.map +0 -1
- package/dist/field/features/indent/feature.server.js +0 -19
- package/dist/field/features/indent/feature.server.js.map +0 -1
- package/dist/field/features/indent/i18n.d.ts.map +0 -1
- package/dist/field/features/indent/i18n.js.map +0 -1
- package/dist/field/features/indent/toolbarIndentGroup.d.ts.map +0 -1
- package/dist/field/features/indent/toolbarIndentGroup.js.map +0 -1
- package/dist/field/features/link/drawer/baseFields.d.ts.map +0 -1
- package/dist/field/features/link/drawer/baseFields.js.map +0 -1
- package/dist/field/features/link/drawer/index.d.ts.map +0 -1
- package/dist/field/features/link/drawer/index.js +0 -94
- package/dist/field/features/link/drawer/index.js.map +0 -1
- package/dist/field/features/link/drawer/types.d.ts.map +0 -1
- package/dist/field/features/link/drawer/types.js.map +0 -1
- package/dist/field/features/link/feature.client.d.ts.map +0 -1
- package/dist/field/features/link/feature.client.js.map +0 -1
- package/dist/field/features/link/feature.server.d.ts.map +0 -1
- package/dist/field/features/link/feature.server.js +0 -140
- package/dist/field/features/link/feature.server.js.map +0 -1
- package/dist/field/features/link/graphQLPopulationPromise.d.ts.map +0 -1
- package/dist/field/features/link/graphQLPopulationPromise.js +0 -31
- package/dist/field/features/link/graphQLPopulationPromise.js.map +0 -1
- package/dist/field/features/link/i18n.d.ts.map +0 -1
- package/dist/field/features/link/i18n.js.map +0 -1
- package/dist/field/features/link/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/link/markdownTransformer.js.map +0 -1
- package/dist/field/features/link/nodes/AutoLinkNode.d.ts.map +0 -1
- package/dist/field/features/link/nodes/AutoLinkNode.js.map +0 -1
- package/dist/field/features/link/nodes/LinkNode.d.ts.map +0 -1
- package/dist/field/features/link/nodes/LinkNode.js.map +0 -1
- package/dist/field/features/link/nodes/types.d.ts.map +0 -1
- package/dist/field/features/link/nodes/types.js.map +0 -1
- package/dist/field/features/link/plugins/autoLink/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/autoLink/index.js.map +0 -1
- package/dist/field/features/link/plugins/clickableLink/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/clickableLink/index.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/commands.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +0 -295
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/types.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/types.js.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +0 -1
- package/dist/field/features/link/plugins/link/index.d.ts.map +0 -1
- package/dist/field/features/link/plugins/link/index.js.map +0 -1
- package/dist/field/features/link/validate.d.ts.map +0 -1
- package/dist/field/features/link/validate.js.map +0 -1
- package/dist/field/features/lists/checklist/feature.client.d.ts.map +0 -1
- package/dist/field/features/lists/checklist/feature.client.js.map +0 -1
- package/dist/field/features/lists/checklist/feature.server.d.ts.map +0 -1
- package/dist/field/features/lists/checklist/feature.server.js +0 -39
- package/dist/field/features/lists/checklist/feature.server.js.map +0 -1
- package/dist/field/features/lists/checklist/i18n.d.ts.map +0 -1
- package/dist/field/features/lists/checklist/i18n.js.map +0 -1
- package/dist/field/features/lists/checklist/markdownTransformers.d.ts.map +0 -1
- package/dist/field/features/lists/checklist/markdownTransformers.js.map +0 -1
- package/dist/field/features/lists/checklist/plugin/index.d.ts.map +0 -1
- package/dist/field/features/lists/checklist/plugin/index.js.map +0 -1
- package/dist/field/features/lists/htmlConverter.d.ts.map +0 -1
- package/dist/field/features/lists/htmlConverter.js +0 -56
- package/dist/field/features/lists/htmlConverter.js.map +0 -1
- package/dist/field/features/lists/orderedList/feature.client.d.ts.map +0 -1
- package/dist/field/features/lists/orderedList/feature.client.js.map +0 -1
- package/dist/field/features/lists/orderedList/feature.server.d.ts.map +0 -1
- package/dist/field/features/lists/orderedList/feature.server.js +0 -39
- package/dist/field/features/lists/orderedList/feature.server.js.map +0 -1
- package/dist/field/features/lists/orderedList/i18n.d.ts.map +0 -1
- package/dist/field/features/lists/orderedList/i18n.js.map +0 -1
- package/dist/field/features/lists/orderedList/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/lists/orderedList/markdownTransformer.js.map +0 -1
- package/dist/field/features/lists/plugin/index.d.ts.map +0 -1
- package/dist/field/features/lists/plugin/index.js.map +0 -1
- package/dist/field/features/lists/shared/markdown.d.ts.map +0 -1
- package/dist/field/features/lists/shared/markdown.js.map +0 -1
- package/dist/field/features/lists/shared/slashMenuListGroup.d.ts.map +0 -1
- package/dist/field/features/lists/shared/slashMenuListGroup.js.map +0 -1
- package/dist/field/features/lists/unorderedList/feature.client.d.ts.map +0 -1
- package/dist/field/features/lists/unorderedList/feature.client.js.map +0 -1
- package/dist/field/features/lists/unorderedList/feature.server.d.ts.map +0 -1
- package/dist/field/features/lists/unorderedList/feature.server.js +0 -39
- package/dist/field/features/lists/unorderedList/feature.server.js.map +0 -1
- package/dist/field/features/lists/unorderedList/i18n.d.ts.map +0 -1
- package/dist/field/features/lists/unorderedList/i18n.js.map +0 -1
- package/dist/field/features/lists/unorderedList/markdownTransformer.d.ts.map +0 -1
- package/dist/field/features/lists/unorderedList/markdownTransformer.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +0 -48
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/heading/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/indent/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/link/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/converters/upload/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/index.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/converter/types.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/feature.client.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.js +0 -48
- package/dist/field/features/migrations/slateToLexical/feature.server.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
- package/dist/field/features/paragraph/feature.client.d.ts.map +0 -1
- package/dist/field/features/paragraph/feature.client.js.map +0 -1
- package/dist/field/features/paragraph/feature.server.d.ts.map +0 -1
- package/dist/field/features/paragraph/feature.server.js +0 -19
- package/dist/field/features/paragraph/feature.server.js.map +0 -1
- package/dist/field/features/paragraph/i18n.d.ts.map +0 -1
- package/dist/field/features/paragraph/i18n.js.map +0 -1
- package/dist/field/features/relationship/drawer/commands.d.ts.map +0 -1
- package/dist/field/features/relationship/drawer/commands.js.map +0 -1
- package/dist/field/features/relationship/drawer/index.d.ts.map +0 -1
- package/dist/field/features/relationship/drawer/index.js +0 -83
- package/dist/field/features/relationship/drawer/index.js.map +0 -1
- package/dist/field/features/relationship/feature.client.d.ts.map +0 -1
- package/dist/field/features/relationship/feature.client.js.map +0 -1
- package/dist/field/features/relationship/feature.server.d.ts.map +0 -1
- package/dist/field/features/relationship/feature.server.js +0 -61
- package/dist/field/features/relationship/feature.server.js.map +0 -1
- package/dist/field/features/relationship/graphQLPopulationPromise.d.ts.map +0 -1
- package/dist/field/features/relationship/graphQLPopulationPromise.js +0 -29
- package/dist/field/features/relationship/graphQLPopulationPromise.js.map +0 -1
- package/dist/field/features/relationship/i18n.d.ts.map +0 -1
- package/dist/field/features/relationship/i18n.js.map +0 -1
- package/dist/field/features/relationship/nodes/RelationshipNode.d.ts.map +0 -1
- package/dist/field/features/relationship/nodes/RelationshipNode.js.map +0 -1
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +0 -1
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +0 -172
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +0 -1
- package/dist/field/features/relationship/plugins/index.d.ts.map +0 -1
- package/dist/field/features/relationship/plugins/index.js +0 -50
- package/dist/field/features/relationship/plugins/index.js.map +0 -1
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +0 -1
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +0 -33
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +0 -1
- package/dist/field/features/shared/slashMenu/basicGroup.d.ts.map +0 -1
- package/dist/field/features/shared/slashMenu/basicGroup.js.map +0 -1
- package/dist/field/features/shared/toolbar/addDropdownGroup.d.ts.map +0 -1
- package/dist/field/features/shared/toolbar/addDropdownGroup.js.map +0 -1
- package/dist/field/features/shared/toolbar/featureButtonsGroup.d.ts.map +0 -1
- package/dist/field/features/shared/toolbar/featureButtonsGroup.js.map +0 -1
- package/dist/field/features/shared/toolbar/textDropdownGroup.d.ts.map +0 -1
- package/dist/field/features/shared/toolbar/textDropdownGroup.js.map +0 -1
- package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts.map +0 -1
- package/dist/field/features/toolbars/fixed/Toolbar/index.js +0 -207
- package/dist/field/features/toolbars/fixed/Toolbar/index.js.map +0 -1
- package/dist/field/features/toolbars/fixed/feature.client.d.ts.map +0 -1
- package/dist/field/features/toolbars/fixed/feature.client.js.map +0 -1
- package/dist/field/features/toolbars/fixed/feature.server.d.ts.map +0 -1
- package/dist/field/features/toolbars/fixed/feature.server.js +0 -21
- package/dist/field/features/toolbars/fixed/feature.server.js.map +0 -1
- package/dist/field/features/toolbars/inline/Toolbar/index.d.ts.map +0 -1
- package/dist/field/features/toolbars/inline/Toolbar/index.js.map +0 -1
- package/dist/field/features/toolbars/inline/feature.client.d.ts.map +0 -1
- package/dist/field/features/toolbars/inline/feature.client.js.map +0 -1
- package/dist/field/features/toolbars/inline/feature.server.d.ts.map +0 -1
- package/dist/field/features/toolbars/inline/feature.server.js +0 -16
- package/dist/field/features/toolbars/inline/feature.server.js.map +0 -1
- package/dist/field/features/toolbars/shared/ToolbarButton/index.d.ts.map +0 -1
- package/dist/field/features/toolbars/shared/ToolbarButton/index.js.map +0 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +0 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +0 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +0 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js +0 -141
- package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js.map +0 -1
- package/dist/field/features/toolbars/types.d.ts.map +0 -1
- package/dist/field/features/toolbars/types.js.map +0 -1
- package/dist/field/features/typeUtilities.d.ts.map +0 -1
- package/dist/field/features/typeUtilities.js.map +0 -1
- package/dist/field/features/types.d.ts +0 -468
- package/dist/field/features/types.d.ts.map +0 -1
- package/dist/field/features/types.js.map +0 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +0 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +0 -123
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +0 -1
- package/dist/field/features/upload/component/index.d.ts.map +0 -1
- package/dist/field/features/upload/component/index.js +0 -219
- package/dist/field/features/upload/component/index.js.map +0 -1
- package/dist/field/features/upload/drawer/commands.d.ts.map +0 -1
- package/dist/field/features/upload/drawer/commands.js.map +0 -1
- package/dist/field/features/upload/drawer/index.d.ts.map +0 -1
- package/dist/field/features/upload/drawer/index.js +0 -77
- package/dist/field/features/upload/drawer/index.js.map +0 -1
- package/dist/field/features/upload/feature.client.d.ts.map +0 -1
- package/dist/field/features/upload/feature.client.js.map +0 -1
- package/dist/field/features/upload/feature.server.d.ts.map +0 -1
- package/dist/field/features/upload/feature.server.js +0 -188
- package/dist/field/features/upload/feature.server.js.map +0 -1
- package/dist/field/features/upload/graphQLPopulationPromise.d.ts.map +0 -1
- package/dist/field/features/upload/graphQLPopulationPromise.js +0 -52
- package/dist/field/features/upload/graphQLPopulationPromise.js.map +0 -1
- package/dist/field/features/upload/i18n.d.ts.map +0 -1
- package/dist/field/features/upload/i18n.js.map +0 -1
- package/dist/field/features/upload/nodes/UploadNode.d.ts.map +0 -1
- package/dist/field/features/upload/nodes/UploadNode.js.map +0 -1
- package/dist/field/features/upload/plugin/index.d.ts.map +0 -1
- package/dist/field/features/upload/plugin/index.js +0 -53
- package/dist/field/features/upload/plugin/index.js.map +0 -1
- package/dist/field/features/upload/validate.d.ts.map +0 -1
- package/dist/field/features/upload/validate.js.map +0 -1
- package/dist/field/lexical/EditorPlugin.d.ts +0 -8
- package/dist/field/lexical/EditorPlugin.d.ts.map +0 -1
- package/dist/field/lexical/EditorPlugin.js +0 -15
- package/dist/field/lexical/EditorPlugin.js.map +0 -1
- package/dist/field/lexical/LexicalEditor.d.ts.map +0 -1
- package/dist/field/lexical/LexicalEditor.js +0 -192
- package/dist/field/lexical/LexicalEditor.js.map +0 -1
- package/dist/field/lexical/LexicalProvider.d.ts +0 -18
- package/dist/field/lexical/LexicalProvider.d.ts.map +0 -1
- package/dist/field/lexical/LexicalProvider.js.map +0 -1
- package/dist/field/lexical/config/client/EditorConfigProvider.d.ts +0 -35
- package/dist/field/lexical/config/client/EditorConfigProvider.d.ts.map +0 -1
- package/dist/field/lexical/config/client/EditorConfigProvider.js.map +0 -1
- package/dist/field/lexical/config/client/default.d.ts.map +0 -1
- package/dist/field/lexical/config/client/default.js.map +0 -1
- package/dist/field/lexical/config/client/loader.d.ts.map +0 -1
- package/dist/field/lexical/config/client/loader.js.map +0 -1
- package/dist/field/lexical/config/client/sanitize.d.ts +0 -7
- package/dist/field/lexical/config/client/sanitize.d.ts.map +0 -1
- package/dist/field/lexical/config/client/sanitize.js.map +0 -1
- package/dist/field/lexical/config/server/default.d.ts.map +0 -1
- package/dist/field/lexical/config/server/default.js.map +0 -1
- package/dist/field/lexical/config/server/loader.d.ts.map +0 -1
- package/dist/field/lexical/config/server/loader.js.map +0 -1
- package/dist/field/lexical/config/server/sanitize.d.ts.map +0 -1
- package/dist/field/lexical/config/server/sanitize.js.map +0 -1
- package/dist/field/lexical/config/types.d.ts +0 -23
- package/dist/field/lexical/config/types.d.ts.map +0 -1
- package/dist/field/lexical/config/types.js.map +0 -1
- package/dist/field/lexical/nodes/index.d.ts.map +0 -1
- package/dist/field/lexical/nodes/index.js.map +0 -1
- package/dist/field/lexical/plugins/MarkdownShortcut/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/MarkdownShortcut/index.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/index.js +0 -187
- package/dist/field/lexical/plugins/SlashMenu/index.js.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.d.ts.map +0 -1
- package/dist/field/lexical/plugins/SlashMenu/useMenuTriggerMatch.js.map +0 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/debounce.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/calculateDistanceFromScrollerElem.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/doesLineHeightAffectElement.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getCollapsedMargins.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getNodeCloseToPoint.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/getTopLevelNodeKeys.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/isOnHandleElement.js.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/setHandlePosition.d.ts.map +0 -1
- package/dist/field/lexical/plugins/handles/utils/setHandlePosition.js.map +0 -1
- package/dist/field/lexical/theme/EditorTheme.d.ts.map +0 -1
- package/dist/field/lexical/theme/EditorTheme.js.map +0 -1
- package/dist/field/lexical/ui/ContentEditable.d.ts.map +0 -1
- package/dist/field/lexical/ui/ContentEditable.js.map +0 -1
- package/dist/field/lexical/ui/icons/AI/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AI/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Add/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Add/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/AlignCenter/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AlignCenter/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/AlignJustify/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AlignJustify/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/AlignLeft/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AlignLeft/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/AlignRight/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/AlignRight/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Block/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Block/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Blockquote/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Blockquote/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Bold/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Bold/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Checklist/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Checklist/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Code/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Code/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/CodeBlock/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/CodeBlock/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H1/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H1/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H2/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H2/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H3/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H3/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H4/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H4/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H5/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H5/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/H6/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/H6/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/HorizontalRule/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/HorizontalRule/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/IndentDecrease/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/IndentDecrease/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/IndentIncrease/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/IndentIncrease/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Italic/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Italic/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Link/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Link/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/OrderedList/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/OrderedList/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Relationship/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Relationship/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Strikethrough/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Strikethrough/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Subscript/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Subscript/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Superscript/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Superscript/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Text/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Text/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Underline/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Underline/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/UnorderedList/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/UnorderedList/index.js.map +0 -1
- package/dist/field/lexical/ui/icons/Upload/index.d.ts.map +0 -1
- package/dist/field/lexical/ui/icons/Upload/index.js.map +0 -1
- package/dist/field/lexical/utils/canUseDOM.d.ts.map +0 -1
- package/dist/field/lexical/utils/canUseDOM.js.map +0 -1
- package/dist/field/lexical/utils/cloneDeep.d.ts.map +0 -1
- package/dist/field/lexical/utils/cloneDeep.js +0 -50
- package/dist/field/lexical/utils/cloneDeep.js.map +0 -1
- package/dist/field/lexical/utils/environment.d.ts.map +0 -1
- package/dist/field/lexical/utils/environment.js.map +0 -1
- package/dist/field/lexical/utils/getDOMRangeRect.d.ts.map +0 -1
- package/dist/field/lexical/utils/getDOMRangeRect.js.map +0 -1
- package/dist/field/lexical/utils/getSelectedNode.d.ts.map +0 -1
- package/dist/field/lexical/utils/getSelectedNode.js.map +0 -1
- package/dist/field/lexical/utils/guard.d.ts.map +0 -1
- package/dist/field/lexical/utils/guard.js.map +0 -1
- package/dist/field/lexical/utils/invariant.d.ts.map +0 -1
- package/dist/field/lexical/utils/invariant.js.map +0 -1
- package/dist/field/lexical/utils/joinClasses.d.ts.map +0 -1
- package/dist/field/lexical/utils/joinClasses.js.map +0 -1
- package/dist/field/lexical/utils/markdown/createBlockNode.d.ts.map +0 -1
- package/dist/field/lexical/utils/markdown/createBlockNode.js.map +0 -1
- package/dist/field/lexical/utils/nodeFormat.d.ts.map +0 -1
- package/dist/field/lexical/utils/nodeFormat.js.map +0 -1
- package/dist/field/lexical/utils/point.d.ts.map +0 -1
- package/dist/field/lexical/utils/point.js.map +0 -1
- package/dist/field/lexical/utils/rect.d.ts.map +0 -1
- package/dist/field/lexical/utils/rect.js.map +0 -1
- package/dist/field/lexical/utils/setFloatingElemPosition.d.ts.map +0 -1
- package/dist/field/lexical/utils/setFloatingElemPosition.js.map +0 -1
- package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
- package/dist/field/lexical/utils/setFloatingElemPositionForLinkEditor.js.map +0 -1
- package/dist/field/lexical/utils/swipe.d.ts.map +0 -1
- package/dist/field/lexical/utils/swipe.js.map +0 -1
- package/dist/field/lexical/utils/url.d.ts.map +0 -1
- package/dist/field/lexical/utils/url.js.map +0 -1
- package/dist/forEachNodeRecursively.d.ts.map +0 -1
- package/dist/forEachNodeRecursively.js.map +0 -1
- package/dist/generateComponentMap.d.ts +0 -6
- package/dist/generateComponentMap.d.ts.map +0 -1
- package/dist/generateComponentMap.js.map +0 -1
- package/dist/generateSchemaMap.d.ts +0 -6
- package/dist/generateSchemaMap.d.ts.map +0 -1
- package/dist/generateSchemaMap.js.map +0 -1
- package/dist/recurseNodeTree.d.ts.map +0 -1
- package/dist/recurseNodeTree.js.map +0 -1
- package/dist/useLexicalFeature.d.ts +0 -3
- package/dist/useLexicalFeature.d.ts.map +0 -1
- package/dist/useLexicalFeature.js +0 -12
- package/dist/useLexicalFeature.js.map +0 -1
- /package/dist/{field/features → features}/align/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/align/feature.client.js +0 -0
- /package/dist/{field/features → features}/align/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/align/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/align/i18n.js +0 -0
- /package/dist/{field/features → features}/align/toolbarAlignGroup.d.ts +0 -0
- /package/dist/{field/features → features}/align/toolbarAlignGroup.js +0 -0
- /package/dist/{field/features → features}/blockquote/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/blockquote/feature.client.js +0 -0
- /package/dist/{field/features → features}/blockquote/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/blockquote/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/blockquote/i18n.js +0 -0
- /package/dist/{field/features → features}/blockquote/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features → features}/blockquote/markdownTransformer.js +0 -0
- /package/dist/{field/features → features}/blocks/component/FormSavePlugin.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/component/index.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/component/removeEmptyArrayValues.js +0 -0
- /package/dist/{field/features → features}/blocks/drawer/index.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/feature.client.js +0 -0
- /package/dist/{field/features → features}/blocks/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/graphQLPopulationPromise.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/i18n.js +0 -0
- /package/dist/{field/features → features}/blocks/nodes/BlocksNode.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/nodes/BlocksNode.js +0 -0
- /package/dist/{field/features → features}/blocks/plugin/commands.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/plugin/commands.js +0 -0
- /package/dist/{field/features → features}/blocks/plugin/index.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/plugin/index.js +0 -0
- /package/dist/{field/features → features}/blocks/validate.d.ts +0 -0
- /package/dist/{field/features → features}/blocks/validate.js +0 -0
- /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.d.ts +0 -0
- /package/dist/{field/features → features}/converters/html/converter/converters/linebreak.js +0 -0
- /package/dist/{field/features → features}/converters/html/converter/converters/paragraph.d.ts +0 -0
- /package/dist/{field/features → features}/converters/html/converter/converters/text.d.ts +0 -0
- /package/dist/{field/features → features}/converters/html/converter/converters/text.js +0 -0
- /package/dist/{field/features → features}/converters/html/converter/defaultConverters.d.ts +0 -0
- /package/dist/{field/features → features}/converters/html/converter/defaultConverters.js +0 -0
- /package/dist/{field/features → features}/converters/html/converter/types.js +0 -0
- /package/dist/{field/features → features}/converters/html/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/converters/html/feature.server.js +0 -0
- /package/dist/{field/features → features}/converters/html/field/index.d.ts +0 -0
- /package/dist/{field/features → features}/createClientComponent.d.ts +0 -0
- /package/dist/{field/features → features}/createFeaturePropComponent.d.ts +0 -0
- /package/dist/{field/features → features}/debug/testRecorder/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/debug/testRecorder/feature.client.js +0 -0
- /package/dist/{field/features → features}/debug/testRecorder/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/debug/testRecorder/plugin/index.d.ts +0 -0
- /package/dist/{field/features → features}/debug/testRecorder/plugin/index.js +0 -0
- /package/dist/{field/features → features}/debug/treeView/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/debug/treeView/feature.client.js +0 -0
- /package/dist/{field/features → features}/debug/treeView/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/debug/treeView/plugin/index.d.ts +0 -0
- /package/dist/{field/features → features}/debug/treeView/plugin/index.js +0 -0
- /package/dist/{field/features → features}/format/bold/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/format/bold/feature.client.js +0 -0
- /package/dist/{field/features → features}/format/bold/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/format/bold/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features → features}/format/bold/markdownTransformers.js +0 -0
- /package/dist/{field/features → features}/format/inlineCode/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/format/inlineCode/feature.client.js +0 -0
- /package/dist/{field/features → features}/format/inlineCode/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features → features}/format/inlineCode/markdownTransformers.js +0 -0
- /package/dist/{field/features → features}/format/italic/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/format/italic/feature.client.js +0 -0
- /package/dist/{field/features → features}/format/italic/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/format/italic/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features → features}/format/italic/markdownTransformers.js +0 -0
- /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.d.ts +0 -0
- /package/dist/{field/features → features}/format/shared/toolbarFormatGroup.js +0 -0
- /package/dist/{field/features → features}/format/strikethrough/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/format/strikethrough/feature.client.js +0 -0
- /package/dist/{field/features → features}/format/strikethrough/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features → features}/format/strikethrough/markdownTransformers.js +0 -0
- /package/dist/{field/features → features}/format/subscript/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/format/subscript/feature.client.js +0 -0
- /package/dist/{field/features → features}/format/subscript/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/format/superscript/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/format/superscript/feature.client.js +0 -0
- /package/dist/{field/features → features}/format/superscript/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/format/underline/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/format/underline/feature.client.js +0 -0
- /package/dist/{field/features → features}/format/underline/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/heading/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/heading/feature.client.js +0 -0
- /package/dist/{field/features → features}/heading/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/heading/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/heading/i18n.js +0 -0
- /package/dist/{field/features → features}/heading/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features → features}/heading/markdownTransformer.js +0 -0
- /package/dist/{field/features → features}/horizontalRule/component/index.d.ts +0 -0
- /package/dist/{field/features → features}/horizontalRule/component/index.js +0 -0
- /package/dist/{field/features → features}/horizontalRule/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/horizontalRule/feature.client.js +0 -0
- /package/dist/{field/features → features}/horizontalRule/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/horizontalRule/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/horizontalRule/i18n.js +0 -0
- /package/dist/{field/features → features}/horizontalRule/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features → features}/horizontalRule/markdownTransformer.js +0 -0
- /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.d.ts +0 -0
- /package/dist/{field/features → features}/horizontalRule/nodes/HorizontalRuleNode.js +0 -0
- /package/dist/{field/features → features}/horizontalRule/plugin/index.d.ts +0 -0
- /package/dist/{field/features → features}/horizontalRule/plugin/index.js +0 -0
- /package/dist/{field/features → features}/indent/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/indent/feature.client.js +0 -0
- /package/dist/{field/features → features}/indent/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/indent/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/indent/i18n.js +0 -0
- /package/dist/{field/features → features}/indent/toolbarIndentGroup.d.ts +0 -0
- /package/dist/{field/features → features}/indent/toolbarIndentGroup.js +0 -0
- /package/dist/{field/features → features}/link/drawer/baseFields.d.ts +0 -0
- /package/dist/{field/features → features}/link/drawer/baseFields.js +0 -0
- /package/dist/{field/features → features}/link/drawer/index.d.ts +0 -0
- /package/dist/{field/features → features}/link/drawer/types.d.ts +0 -0
- /package/dist/{field/features → features}/link/drawer/types.js +0 -0
- /package/dist/{field/features → features}/link/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/link/feature.client.js +0 -0
- /package/dist/{field/features → features}/link/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/link/graphQLPopulationPromise.d.ts +0 -0
- /package/dist/{field/features → features}/link/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/link/i18n.js +0 -0
- /package/dist/{field/features → features}/link/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features → features}/link/markdownTransformer.js +0 -0
- /package/dist/{field/features → features}/link/nodes/AutoLinkNode.d.ts +0 -0
- /package/dist/{field/features → features}/link/nodes/AutoLinkNode.js +0 -0
- /package/dist/{field/features → features}/link/nodes/LinkNode.d.ts +0 -0
- /package/dist/{field/features → features}/link/nodes/LinkNode.js +0 -0
- /package/dist/{field/features → features}/link/nodes/types.d.ts +0 -0
- /package/dist/{field/features → features}/link/nodes/types.js +0 -0
- /package/dist/{field/features → features}/link/plugins/autoLink/index.d.ts +0 -0
- /package/dist/{field/features → features}/link/plugins/autoLink/index.js +0 -0
- /package/dist/{field/features → features}/link/plugins/clickableLink/index.d.ts +0 -0
- /package/dist/{field/features → features}/link/plugins/clickableLink/index.js +0 -0
- /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.d.ts +0 -0
- /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/commands.js +0 -0
- /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts +0 -0
- /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/index.d.ts +0 -0
- /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/index.js +0 -0
- /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.d.ts +0 -0
- /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/types.js +0 -0
- /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/utilities.d.ts +0 -0
- /package/dist/{field/features → features}/link/plugins/floatingLinkEditor/utilities.js +0 -0
- /package/dist/{field/features → features}/link/plugins/link/index.d.ts +0 -0
- /package/dist/{field/features → features}/link/plugins/link/index.js +0 -0
- /package/dist/{field/features → features}/link/validate.d.ts +0 -0
- /package/dist/{field/features → features}/link/validate.js +0 -0
- /package/dist/{field/features → features}/lists/checklist/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/lists/checklist/feature.client.js +0 -0
- /package/dist/{field/features → features}/lists/checklist/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/lists/checklist/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/lists/checklist/i18n.js +0 -0
- /package/dist/{field/features → features}/lists/checklist/markdownTransformers.d.ts +0 -0
- /package/dist/{field/features → features}/lists/checklist/markdownTransformers.js +0 -0
- /package/dist/{field/features → features}/lists/checklist/plugin/index.d.ts +0 -0
- /package/dist/{field/features → features}/lists/checklist/plugin/index.js +0 -0
- /package/dist/{field/features → features}/lists/htmlConverter.d.ts +0 -0
- /package/dist/{field/features → features}/lists/orderedList/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/lists/orderedList/feature.client.js +0 -0
- /package/dist/{field/features → features}/lists/orderedList/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/lists/orderedList/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/lists/orderedList/i18n.js +0 -0
- /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features → features}/lists/orderedList/markdownTransformer.js +0 -0
- /package/dist/{field/features → features}/lists/plugin/index.d.ts +0 -0
- /package/dist/{field/features → features}/lists/plugin/index.js +0 -0
- /package/dist/{field/features → features}/lists/shared/markdown.d.ts +0 -0
- /package/dist/{field/features → features}/lists/shared/markdown.js +0 -0
- /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.d.ts +0 -0
- /package/dist/{field/features → features}/lists/shared/slashMenuListGroup.js +0 -0
- /package/dist/{field/features → features}/lists/unorderedList/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/lists/unorderedList/feature.client.js +0 -0
- /package/dist/{field/features → features}/lists/unorderedList/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/lists/unorderedList/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/lists/unorderedList/i18n.js +0 -0
- /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.d.ts +0 -0
- /package/dist/{field/features → features}/lists/unorderedList/markdownTransformer.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/client.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/heading/index.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/client.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/link/index.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/client.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/list/index.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/client.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/listItem/index.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/client.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/quote/index.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/client.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/unknown/index.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/client.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/converters/upload/index.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/index.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/converter/types.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/feature.client.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/blockquote/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/heading/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/indent/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/link/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/listItem/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/orderedList/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/relationship/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unknown/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/unorderedList/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/converter.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/converters/upload/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/defaultConverters.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/index.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/types.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/converter/types.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/feature.client.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -0
- /package/dist/{field/features → features}/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -0
- /package/dist/{field/features → features}/paragraph/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/paragraph/feature.client.js +0 -0
- /package/dist/{field/features → features}/paragraph/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/paragraph/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/paragraph/i18n.js +0 -0
- /package/dist/{field/features → features}/relationship/drawer/commands.d.ts +0 -0
- /package/dist/{field/features → features}/relationship/drawer/commands.js +0 -0
- /package/dist/{field/features → features}/relationship/drawer/index.d.ts +0 -0
- /package/dist/{field/features → features}/relationship/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/relationship/feature.client.js +0 -0
- /package/dist/{field/features → features}/relationship/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/relationship/graphQLPopulationPromise.d.ts +0 -0
- /package/dist/{field/features → features}/relationship/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/relationship/i18n.js +0 -0
- /package/dist/{field/features → features}/relationship/nodes/RelationshipNode.d.ts +0 -0
- /package/dist/{field/features → features}/relationship/nodes/RelationshipNode.js +0 -0
- /package/dist/{field/features → features}/relationship/nodes/components/RelationshipComponent.d.ts +0 -0
- /package/dist/{field/features → features}/relationship/plugins/index.d.ts +0 -0
- /package/dist/{field/features → features}/relationship/utils/EnabledRelationshipsCondition.d.ts +0 -0
- /package/dist/{field/features → features}/shared/slashMenu/basicGroup.d.ts +0 -0
- /package/dist/{field/features → features}/shared/slashMenu/basicGroup.js +0 -0
- /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.d.ts +0 -0
- /package/dist/{field/features → features}/shared/toolbar/addDropdownGroup.js +0 -0
- /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.d.ts +0 -0
- /package/dist/{field/features → features}/shared/toolbar/featureButtonsGroup.js +0 -0
- /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.d.ts +0 -0
- /package/dist/{field/features → features}/shared/toolbar/textDropdownGroup.js +0 -0
- /package/dist/{field/features → features}/toolbars/fixed/Toolbar/index.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/fixed/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/fixed/feature.client.js +0 -0
- /package/dist/{field/features → features}/toolbars/fixed/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/inline/Toolbar/index.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/inline/Toolbar/index.js +0 -0
- /package/dist/{field/features → features}/toolbars/inline/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/inline/feature.client.js +0 -0
- /package/dist/{field/features → features}/toolbars/inline/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/shared/ToolbarButton/index.js +0 -0
- /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/DropDown.js +0 -0
- /package/dist/{field/features → features}/toolbars/shared/ToolbarDropdown/index.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/types.d.ts +0 -0
- /package/dist/{field/features → features}/toolbars/types.js +0 -0
- /package/dist/{field/features → features}/typeUtilities.d.ts +0 -0
- /package/dist/{field/features → features}/typeUtilities.js +0 -0
- /package/dist/{field/features → features}/types.js +0 -0
- /package/dist/{field/features → features}/upload/component/ExtraFieldsDrawer/index.d.ts +0 -0
- /package/dist/{field/features → features}/upload/component/index.d.ts +0 -0
- /package/dist/{field/features → features}/upload/drawer/commands.d.ts +0 -0
- /package/dist/{field/features → features}/upload/drawer/commands.js +0 -0
- /package/dist/{field/features → features}/upload/drawer/index.d.ts +0 -0
- /package/dist/{field/features → features}/upload/feature.client.d.ts +0 -0
- /package/dist/{field/features → features}/upload/feature.client.js +0 -0
- /package/dist/{field/features → features}/upload/feature.server.d.ts +0 -0
- /package/dist/{field/features → features}/upload/graphQLPopulationPromise.d.ts +0 -0
- /package/dist/{field/features → features}/upload/i18n.d.ts +0 -0
- /package/dist/{field/features → features}/upload/i18n.js +0 -0
- /package/dist/{field/features → features}/upload/nodes/UploadNode.d.ts +0 -0
- /package/dist/{field/features → features}/upload/nodes/UploadNode.js +0 -0
- /package/dist/{field/features → features}/upload/plugin/index.d.ts +0 -0
- /package/dist/{field/features → features}/upload/validate.d.ts +0 -0
- /package/dist/{field/features → features}/upload/validate.js +0 -0
- /package/dist/{field/lexical → lexical}/LexicalEditor.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/LexicalProvider.js +0 -0
- /package/dist/{field/lexical → lexical}/config/client/EditorConfigProvider.js +0 -0
- /package/dist/{field/lexical → lexical}/config/client/default.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/config/client/default.js +0 -0
- /package/dist/{field/lexical → lexical}/config/client/loader.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/config/client/loader.js +0 -0
- /package/dist/{field/lexical → lexical}/config/client/sanitize.js +0 -0
- /package/dist/{field/lexical → lexical}/config/server/default.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/config/server/default.js +0 -0
- /package/dist/{field/lexical → lexical}/config/server/loader.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/config/server/loader.js +0 -0
- /package/dist/{field/lexical → lexical}/config/server/sanitize.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/config/server/sanitize.js +0 -0
- /package/dist/{field/lexical → lexical}/config/types.js +0 -0
- /package/dist/{field/lexical → lexical}/nodes/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/nodes/index.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/MarkdownShortcut/index.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/LexicalMenu.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/SlashMenu/useMenuTriggerMatch.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/AddBlockHandlePlugin/index.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/debounce.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/getBoundingRectWithoutTransform.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/highlightElemOriginalPosition.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/index.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/DraggableBlockPlugin/setTargetLine.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/calculateDistanceFromScrollerElem.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/doesLineHeightAffectElement.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/getCollapsedMargins.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/getNodeCloseToPoint.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/getTopLevelNodeKeys.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/isOnHandleElement.js +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/plugins/handles/utils/setHandlePosition.js +0 -0
- /package/dist/{field/lexical → lexical}/theme/EditorTheme.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/theme/EditorTheme.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/ContentEditable.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/ContentEditable.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AI/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AI/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Add/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Add/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Add/index.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Add/light.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignCenter/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignJustify/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignLeft/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/AlignRight/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Block/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Block/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Blockquote/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Bold/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Caret/index.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Checklist/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Code/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Code/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/CodeBlock/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/index.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/DraggableBlock/light.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Edit/index.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H1/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H1/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H2/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H2/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H3/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H3/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H4/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H4/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H5/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H5/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H6/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/H6/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/HorizontalRule/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/IndentDecrease/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/IndentIncrease/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Italic/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Link/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Link/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/OrderedList/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Relationship/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Remove/index.svg +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Strikethrough/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Subscript/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Superscript/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Text/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Text/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Underline/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/UnorderedList/index.js +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/ui/icons/Upload/index.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/canUseDOM.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/canUseDOM.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/cloneDeep.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/environment.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/environment.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/getDOMRangeRect.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/getSelectedNode.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/getSelectedNode.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/guard.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/guard.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/invariant.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/invariant.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/joinClasses.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/joinClasses.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/markdown/createBlockNode.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/nodeFormat.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/nodeFormat.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/point.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/point.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/rect.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/rect.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/setFloatingElemPosition.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/setFloatingElemPositionForLinkEditor.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/swipe.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/swipe.js +0 -0
- /package/dist/{field/lexical → lexical}/utils/url.d.ts +0 -0
- /package/dist/{field/lexical → lexical}/utils/url.js +0 -0
- /package/dist/{forEachNodeRecursively.d.ts → utilities/forEachNodeRecursively.d.ts} +0 -0
- /package/dist/{forEachNodeRecursively.js → utilities/forEachNodeRecursively.js} +0 -0
- /package/dist/{generateComponentMap.js → utilities/generateComponentMap.js} +0 -0
- /package/dist/{generateSchemaMap.js → utilities/generateSchemaMap.js} +0 -0
- /package/dist/{recurseNodeTree.d.ts → utilities/recurseNodeTree.d.ts} +0 -0
- /package/dist/{recurseNodeTree.js → utilities/recurseNodeTree.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.client.d.ts","sourceRoot":"","sources":["../../../src/features/align/feature.client.tsx"],"names":[],"mappings":";AAsKA,eAAO,MAAM,2BAA2B;;;EAA4C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/features/align/feature.client.tsx"],"sourcesContent":["'use client'\n\nimport { $isElementNode, $isRangeSelection, FORMAT_ELEMENT_COMMAND } from 'lexical'\n\nimport type { ToolbarGroup } from '../toolbars/types.js'\nimport type { FeatureProviderProviderClient } from '../types.js'\n\nimport { AlignCenterIcon } from '../../lexical/ui/icons/AlignCenter/index.js'\nimport { AlignJustifyIcon } from '../../lexical/ui/icons/AlignJustify/index.js'\nimport { AlignLeftIcon } from '../../lexical/ui/icons/AlignLeft/index.js'\nimport { AlignRightIcon } from '../../lexical/ui/icons/AlignRight/index.js'\nimport { createClientComponent } from '../createClientComponent.js'\nimport { toolbarAlignGroupWithItems } from './toolbarAlignGroup.js'\n\nconst toolbarGroups: ToolbarGroup[] = [\n toolbarAlignGroupWithItems([\n {\n ChildComponent: AlignLeftIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if ($isElementNode(node)) {\n if (node.getFormatType() === 'left') {\n continue\n }\n }\n\n const parent = node.getParent()\n if ($isElementNode(parent)) {\n if (parent.getFormatType() === 'left') {\n continue\n }\n }\n\n return false\n }\n return true\n },\n key: 'alignLeft',\n label: ({ i18n }) => {\n return i18n.t('lexical:align:alignLeftLabel')\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'left')\n },\n order: 1,\n },\n {\n ChildComponent: AlignCenterIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if ($isElementNode(node)) {\n if (node.getFormatType() === 'center') {\n continue\n }\n }\n\n const parent = node.getParent()\n if ($isElementNode(parent)) {\n if (parent.getFormatType() === 'center') {\n continue\n }\n }\n\n return false\n }\n return true\n },\n key: 'alignCenter',\n label: ({ i18n }) => {\n return i18n.t('lexical:align:alignCenterLabel')\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'center')\n },\n order: 2,\n },\n {\n ChildComponent: AlignRightIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if ($isElementNode(node)) {\n if (node.getFormatType() === 'right') {\n continue\n }\n }\n\n const parent = node.getParent()\n if ($isElementNode(parent)) {\n if (parent.getFormatType() === 'right') {\n continue\n }\n }\n\n return false\n }\n return true\n },\n key: 'alignRight',\n label: ({ i18n }) => {\n return i18n.t('lexical:align:alignRightLabel')\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'right')\n },\n order: 3,\n },\n {\n ChildComponent: AlignJustifyIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if ($isElementNode(node)) {\n if (node.getFormatType() === 'justify') {\n continue\n }\n }\n\n const parent = node.getParent()\n if ($isElementNode(parent)) {\n if (parent.getFormatType() === 'justify') {\n continue\n }\n }\n\n return false\n }\n return true\n },\n key: 'alignJustify',\n label: ({ i18n }) => {\n return i18n.t('lexical:align:alignJustifyLabel')\n },\n onSelect: ({ editor }) => {\n editor.dispatchCommand(FORMAT_ELEMENT_COMMAND, 'justify')\n },\n order: 4,\n },\n ]),\n]\n\nconst AlignFeatureClient: FeatureProviderProviderClient<undefined> = (props) => {\n return {\n clientFeatureProps: props,\n feature: () => ({\n clientFeatureProps: props,\n toolbarFixed: {\n groups: toolbarGroups,\n },\n toolbarInline: {\n groups: toolbarGroups,\n },\n }),\n }\n}\n\nexport const AlignFeatureClientComponent = createClientComponent(AlignFeatureClient)\n"],"names":["$isElementNode","$isRangeSelection","FORMAT_ELEMENT_COMMAND","AlignCenterIcon","AlignJustifyIcon","AlignLeftIcon","AlignRightIcon","createClientComponent","toolbarAlignGroupWithItems","toolbarGroups","ChildComponent","isActive","selection","node","getNodes","getFormatType","parent","getParent","key","label","i18n","t","onSelect","editor","dispatchCommand","order","AlignFeatureClient","props","clientFeatureProps","feature","toolbarFixed","groups","toolbarInline","AlignFeatureClientComponent"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.server.d.ts","sourceRoot":"","sources":["../../../src/features/align/feature.server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAA;AAMhE,eAAO,MAAM,YAAY,EAAE,6BAA6B,CAAC,SAAS,EAAE,SAAS,CAa5E,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// eslint-disable-next-line payload/no-imports-from-exports-dir
|
|
2
|
+
import { AlignFeatureClientComponent } from '../../exports/client/index.js';
|
|
3
|
+
import { i18n } from './i18n.js';
|
|
4
|
+
export const AlignFeature = (props)=>{
|
|
5
|
+
return {
|
|
6
|
+
feature: ()=>{
|
|
7
|
+
return {
|
|
8
|
+
ClientComponent: AlignFeatureClientComponent,
|
|
9
|
+
clientFeatureProps: null,
|
|
10
|
+
i18n,
|
|
11
|
+
serverFeatureProps: props
|
|
12
|
+
};
|
|
13
|
+
},
|
|
14
|
+
key: 'align',
|
|
15
|
+
serverFeatureProps: props
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=feature.server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/features/align/feature.server.ts"],"sourcesContent":["import type { FeatureProviderProviderServer } from '../types.js'\n\n// eslint-disable-next-line payload/no-imports-from-exports-dir\nimport { AlignFeatureClientComponent } from '../../exports/client/index.js'\nimport { i18n } from './i18n.js'\n\nexport const AlignFeature: FeatureProviderProviderServer<undefined, undefined> = (props) => {\n return {\n feature: () => {\n return {\n ClientComponent: AlignFeatureClientComponent,\n clientFeatureProps: null,\n i18n,\n serverFeatureProps: props,\n }\n },\n key: 'align',\n serverFeatureProps: props,\n }\n}\n"],"names":["AlignFeatureClientComponent","i18n","AlignFeature","props","feature","ClientComponent","clientFeatureProps","serverFeatureProps","key"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":"AAEA,+DAA+D;AAC/D,SAASA,2BAA2B,QAAQ,gCAA+B;AAC3E,SAASC,IAAI,QAAQ,YAAW;AAEhC,OAAO,MAAMC,eAAoE,CAACC;IAChF,OAAO;QACLC,SAAS;YACP,OAAO;gBACLC,iBAAiBL;gBACjBM,oBAAoB;gBACpBL;gBACAM,oBAAoBJ;YACtB;QACF;QACAK,KAAK;QACLD,oBAAoBJ;IACtB;AACF,EAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/features/align/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAiM1C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/features/align/i18n.ts"],"sourcesContent":["import type { GenericLanguages } from '@payloadcms/translations'\n\nexport const i18n: Partial<GenericLanguages> = {\n ar: {\n alignCenterLabel: 'محاذاة في الوسط',\n alignJustifyLabel: 'محاذاة التبرير',\n alignLeftLabel: 'محاذاة إلى اليسار',\n alignRightLabel: 'محاذاة إلى اليمين',\n },\n az: {\n alignCenterLabel: 'Mərkəzə Düzəlt',\n alignJustifyLabel: 'Düzəldin Səsləndirin',\n alignLeftLabel: 'Sola Doğru Hizalama',\n alignRightLabel: 'Sağa Doğru Hizalama',\n },\n bg: {\n alignCenterLabel: 'Центрирай',\n alignJustifyLabel: 'Подравняване по двата края',\n alignLeftLabel: 'Подравняване отляво',\n alignRightLabel: 'Подравняване вдясно',\n },\n cs: {\n alignCenterLabel: 'Zarovnat na střed',\n alignJustifyLabel: 'Zarovnat do bloku',\n alignLeftLabel: 'Zarovnat vlevo',\n alignRightLabel: 'Zarovnat vpravo',\n },\n de: {\n alignCenterLabel: 'Zentrieren',\n alignJustifyLabel: 'Blocksatz',\n alignLeftLabel: 'Linksbündig',\n alignRightLabel: 'Rechtsbündig',\n },\n en: {\n alignCenterLabel: 'Align Center',\n alignJustifyLabel: 'Align Justify',\n alignLeftLabel: 'Align Left',\n alignRightLabel: 'Align Right',\n },\n es: {\n alignCenterLabel: 'Alinear al centro',\n alignJustifyLabel: 'Alinear Justificar',\n alignLeftLabel: 'Alinear a la izquierda',\n alignRightLabel: 'Alinear a la derecha',\n },\n fa: {\n alignCenterLabel: 'تراز در مرکز',\n alignJustifyLabel: 'تراز کردن از دو طرف',\n alignLeftLabel: 'چپ تراز',\n alignRightLabel: 'راست چین',\n },\n fr: {\n alignCenterLabel: 'Aligner au centre',\n alignJustifyLabel: 'Aligner Justifier',\n alignLeftLabel: 'Aligner à gauche',\n alignRightLabel: 'Aligner à droite',\n },\n he: {\n alignCenterLabel: 'ממורכז',\n alignJustifyLabel: 'יישור דו-צדדי',\n alignLeftLabel: 'הסב לשמאל',\n alignRightLabel: 'יישור לימין',\n },\n hr: {\n alignCenterLabel: 'Poravnaj središnje',\n alignJustifyLabel: 'Poravnaj opravdaj',\n alignLeftLabel: 'Poravnaj lijevo',\n alignRightLabel: 'Poravnaj desno',\n },\n hu: {\n alignCenterLabel: 'Középre igazítás',\n alignJustifyLabel: 'Igazítás Sorkizárás',\n alignLeftLabel: 'Igazítás balra',\n alignRightLabel: 'Igazítás jobbra',\n },\n it: {\n alignCenterLabel: 'Allinea al centro',\n alignJustifyLabel: 'Allinea Giustifica',\n alignLeftLabel: 'Allinea a sinistra',\n alignRightLabel: 'Allinea a destra',\n },\n ja: {\n alignCenterLabel: '中央揃え',\n alignJustifyLabel: '両端揃え',\n alignLeftLabel: '左揃え',\n alignRightLabel: '右揃え',\n },\n ko: {\n alignCenterLabel: '중앙 정렬',\n alignJustifyLabel: '정렬 맞춤',\n alignLeftLabel: '왼쪽 정렬',\n alignRightLabel: '오른쪽 정렬',\n },\n my: {\n alignCenterLabel: 'Pusat Selaras',\n alignJustifyLabel: 'Penjajaran Justify',\n alignLeftLabel: 'ဘယ်ဘက်ဦးတည်ခြင်း',\n alignRightLabel: 'Penjajaran Kanan',\n },\n nb: {\n alignCenterLabel: 'Sentrer tekst',\n alignJustifyLabel: 'Juster linje',\n alignLeftLabel: 'Juster til venstre',\n alignRightLabel: 'Juster til høyre',\n },\n nl: {\n alignCenterLabel: 'Centreer uitlijnen',\n alignJustifyLabel: 'Uitlijnen Rechtvaardigen',\n alignLeftLabel: 'Links uitlijnen',\n alignRightLabel: 'Rechts uitlijnen',\n },\n pl: {\n alignCenterLabel: 'Wyśrodkuj',\n alignJustifyLabel: 'Wyjustuj wyrównanie',\n alignLeftLabel: 'Wyrównaj do lewej',\n alignRightLabel: 'Wyrównaj do prawej',\n },\n pt: {\n alignCenterLabel: 'Alinhar ao Centro',\n alignJustifyLabel: 'Alinhar Justificar',\n alignLeftLabel: 'Alinhar à Esquerda',\n alignRightLabel: 'Alinhar à Direita',\n },\n ro: {\n alignCenterLabel: 'Aliniați Centrul',\n alignJustifyLabel: 'Aliniaza Justifica',\n alignLeftLabel: 'Aliniați la stânga',\n alignRightLabel: 'Aliniați la dreapta',\n },\n rs: {\n alignCenterLabel: 'Centriraj',\n alignJustifyLabel: 'Poravnaj opravdaj',\n alignLeftLabel: 'Poravnaj levo',\n alignRightLabel: 'Poravnaj desno',\n },\n 'rs-latin': {\n alignCenterLabel: 'Poravnaj centar',\n alignJustifyLabel: 'Poravnaj opravdanje',\n alignLeftLabel: 'Poravnaj levo',\n alignRightLabel: 'Poravnaj desno',\n },\n ru: {\n alignCenterLabel: 'Выровнять по центру',\n alignJustifyLabel: 'Выровнять по ширине',\n alignLeftLabel: 'Выровнять по левому краю',\n alignRightLabel: 'Выровнять по правому краю',\n },\n sk: {\n alignCenterLabel: 'Vycentrovať',\n alignJustifyLabel: 'Zarovnať do bloku',\n alignLeftLabel: 'Zarovnať doľava',\n alignRightLabel: 'Zarovnať doprava',\n },\n sv: {\n alignCenterLabel: 'Centrera',\n alignJustifyLabel: 'Justera Justify',\n alignLeftLabel: 'Justera till vänster',\n alignRightLabel: 'Justera till höger',\n },\n th: {\n alignCenterLabel: 'จัดแนวกึ่งกลาง',\n alignJustifyLabel: 'จัดแนวตรง',\n alignLeftLabel: 'จัดชิดซ้าย',\n alignRightLabel: 'จัดชิดขวา',\n },\n tr: {\n alignCenterLabel: 'Ortaya Hizala',\n alignJustifyLabel: 'Hizala Yasla',\n alignLeftLabel: 'Sola Hizala',\n alignRightLabel: 'Sağa Hizala',\n },\n uk: {\n alignCenterLabel: 'Вирівняти по центру',\n alignJustifyLabel: 'Вирівняти за шириною',\n alignLeftLabel: 'Вирівняти по лівому краю',\n alignRightLabel: 'Вирівняти по правому краю',\n },\n vi: {\n alignCenterLabel: 'Căn giữa',\n alignJustifyLabel: 'Căn đều',\n alignLeftLabel: 'Căn lề trái',\n alignRightLabel: 'Căn phải',\n },\n zh: {\n alignCenterLabel: '居中对齐',\n alignJustifyLabel: '对齐调整',\n alignLeftLabel: '向左对齐',\n alignRightLabel: '向右对齐',\n },\n 'zh-TW': {\n alignCenterLabel: '對齊中心',\n alignJustifyLabel: '對齊並排列',\n alignLeftLabel: '向左對齊',\n alignRightLabel: '向右對齊',\n },\n}\n"],"names":["i18n","ar","alignCenterLabel","alignJustifyLabel","alignLeftLabel","alignRightLabel","az","bg","cs","de","en","es","fa","fr","he","hr","hu","it","ja","ko","my","nb","nl","pl","pt","ro","rs","ru","sk","sv","th","tr","uk","vi","zh"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbarAlignGroup.d.ts","sourceRoot":"","sources":["../../../src/features/align/toolbarAlignGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAI1E,eAAO,MAAM,0BAA0B,UAAW,gBAAgB,EAAE,KAAG,YAQtE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/features/align/toolbarAlignGroup.ts"],"sourcesContent":["import type { ToolbarGroup, ToolbarGroupItem } from '../toolbars/types.js'\n\nimport { AlignLeftIcon } from '../../lexical/ui/icons/AlignLeft/index.js'\n\nexport const toolbarAlignGroupWithItems = (items: ToolbarGroupItem[]): ToolbarGroup => {\n return {\n type: 'dropdown',\n ChildComponent: AlignLeftIcon,\n items,\n key: 'align',\n order: 30,\n }\n}\n"],"names":["AlignLeftIcon","toolbarAlignGroupWithItems","items","type","ChildComponent","key","order"],"rangeMappings":";;;;;;;;;","mappings":"AAEA,SAASA,aAAa,QAAQ,4CAA2C;AAEzE,OAAO,MAAMC,6BAA6B,CAACC;IACzC,OAAO;QACLC,MAAM;QACNC,gBAAgBJ;QAChBE;QACAG,KAAK;QACLC,OAAO;IACT;AACF,EAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.client.d.ts","sourceRoot":"","sources":["../../../src/features/blockquote/feature.client.tsx"],"names":[],"mappings":";AAmFA,eAAO,MAAM,gCAAgC;;;EAAiD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/features/blockquote/feature.client.tsx"],"sourcesContent":["'use client'\n\nimport { $createQuoteNode, $isQuoteNode, QuoteNode } from '@lexical/rich-text'\nimport { $setBlocksType } from '@lexical/selection'\nimport { $getSelection, $isRangeSelection } from 'lexical'\n\nimport type { ToolbarGroup } from '../toolbars/types.js'\nimport type { FeatureProviderProviderClient } from '../types.js'\n\nimport { BlockquoteIcon } from '../../lexical/ui/icons/Blockquote/index.js'\nimport { createClientComponent } from '../createClientComponent.js'\nimport { slashMenuBasicGroupWithItems } from '../shared/slashMenu/basicGroup.js'\nimport { toolbarTextDropdownGroupWithItems } from '../shared/toolbar/textDropdownGroup.js'\nimport { MarkdownTransformer } from './markdownTransformer.js'\n\nconst toolbarGroups: ToolbarGroup[] = [\n toolbarTextDropdownGroupWithItems([\n {\n ChildComponent: BlockquoteIcon,\n isActive: ({ selection }) => {\n if (!$isRangeSelection(selection)) {\n return false\n }\n for (const node of selection.getNodes()) {\n if (!$isQuoteNode(node) && !$isQuoteNode(node.getParent())) {\n return false\n }\n }\n return true\n },\n key: 'blockquote',\n label: ({ i18n }) => {\n return i18n.t('lexical:blockquote:label')\n },\n onSelect: ({ editor }) => {\n editor.update(() => {\n const selection = $getSelection()\n $setBlocksType(selection, () => $createQuoteNode())\n })\n },\n order: 20,\n },\n ]),\n]\n\nconst BlockquoteFeatureClient: FeatureProviderProviderClient<undefined> = (props) => {\n return {\n clientFeatureProps: props,\n feature: () => ({\n clientFeatureProps: props,\n markdownTransformers: [MarkdownTransformer],\n nodes: [QuoteNode],\n\n slashMenu: {\n groups: [\n slashMenuBasicGroupWithItems([\n {\n Icon: BlockquoteIcon,\n key: 'blockquote',\n keywords: ['quote', 'blockquote'],\n label: ({ i18n }) => {\n return i18n.t('lexical:blockquote:label')\n },\n onSelect: ({ editor }) => {\n editor.update(() => {\n const selection = $getSelection()\n $setBlocksType(selection, () => $createQuoteNode())\n })\n },\n },\n ]),\n ],\n },\n toolbarFixed: {\n groups: toolbarGroups,\n },\n toolbarInline: {\n groups: toolbarGroups,\n },\n }),\n }\n}\n\nexport const BlockquoteFeatureClientComponent = createClientComponent(BlockquoteFeatureClient)\n"],"names":["$createQuoteNode","$isQuoteNode","QuoteNode","$setBlocksType","$getSelection","$isRangeSelection","BlockquoteIcon","createClientComponent","slashMenuBasicGroupWithItems","toolbarTextDropdownGroupWithItems","MarkdownTransformer","toolbarGroups","ChildComponent","isActive","selection","node","getNodes","getParent","key","label","i18n","t","onSelect","editor","update","order","BlockquoteFeatureClient","props","clientFeatureProps","feature","markdownTransformers","nodes","slashMenu","groups","Icon","keywords","toolbarFixed","toolbarInline","BlockquoteFeatureClientComponent"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA;AAEA,SAASA,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,QAAQ,qBAAoB;AAC9E,SAASC,cAAc,QAAQ,qBAAoB;AACnD,SAASC,aAAa,EAAEC,iBAAiB,QAAQ,UAAS;AAK1D,SAASC,cAAc,QAAQ,6CAA4C;AAC3E,SAASC,qBAAqB,QAAQ,8BAA6B;AACnE,SAASC,4BAA4B,QAAQ,oCAAmC;AAChF,SAASC,iCAAiC,QAAQ,yCAAwC;AAC1F,SAASC,mBAAmB,QAAQ,2BAA0B;AAE9D,MAAMC,gBAAgC;IACpCF,kCAAkC;QAChC;YACEG,gBAAgBN;YAChBO,UAAU,CAAC,EAAEC,SAAS,EAAE;gBACtB,IAAI,CAACT,kBAAkBS,YAAY;oBACjC,OAAO;gBACT;gBACA,KAAK,MAAMC,QAAQD,UAAUE,QAAQ,GAAI;oBACvC,IAAI,CAACf,aAAac,SAAS,CAACd,aAAac,KAAKE,SAAS,KAAK;wBAC1D,OAAO;oBACT;gBACF;gBACA,OAAO;YACT;YACAC,KAAK;YACLC,OAAO,CAAC,EAAEC,IAAI,EAAE;gBACd,OAAOA,KAAKC,CAAC,CAAC;YAChB;YACAC,UAAU,CAAC,EAAEC,MAAM,EAAE;gBACnBA,OAAOC,MAAM,CAAC;oBACZ,MAAMV,YAAYV;oBAClBD,eAAeW,WAAW,IAAMd;gBAClC;YACF;YACAyB,OAAO;QACT;KACD;CACF;AAED,MAAMC,0BAAoE,CAACC;IACzE,OAAO;QACLC,oBAAoBD;QACpBE,SAAS,IAAO,CAAA;gBACdD,oBAAoBD;gBACpBG,sBAAsB;oBAACpB;iBAAoB;gBAC3CqB,OAAO;oBAAC7B;iBAAU;gBAElB8B,WAAW;oBACTC,QAAQ;wBACNzB,6BAA6B;4BAC3B;gCACE0B,MAAM5B;gCACNY,KAAK;gCACLiB,UAAU;oCAAC;oCAAS;iCAAa;gCACjChB,OAAO,CAAC,EAAEC,IAAI,EAAE;oCACd,OAAOA,KAAKC,CAAC,CAAC;gCAChB;gCACAC,UAAU,CAAC,EAAEC,MAAM,EAAE;oCACnBA,OAAOC,MAAM,CAAC;wCACZ,MAAMV,YAAYV;wCAClBD,eAAeW,WAAW,IAAMd;oCAClC;gCACF;4BACF;yBACD;qBACF;gBACH;gBACAoC,cAAc;oBACZH,QAAQtB;gBACV;gBACA0B,eAAe;oBACbJ,QAAQtB;gBACV;YACF,CAAA;IACF;AACF;AAEA,OAAO,MAAM2B,mCAAmC/B,sBAAsBmB,yBAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.server.d.ts","sourceRoot":"","sources":["../../../src/features/blockquote/feature.server.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAA;AAShE,eAAO,MAAM,iBAAiB,EAAE,6BAA6B,CAAC,SAAS,EAAE,SAAS,CAqCjF,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { QuoteNode } from '@lexical/rich-text';
|
|
2
|
+
// eslint-disable-next-line payload/no-imports-from-exports-dir
|
|
3
|
+
import { BlockquoteFeatureClientComponent } from '../../exports/client/index.js';
|
|
4
|
+
import { convertLexicalNodesToHTML } from '../converters/html/converter/index.js';
|
|
5
|
+
import { createNode } from '../typeUtilities.js';
|
|
6
|
+
import { i18n } from './i18n.js';
|
|
7
|
+
import { MarkdownTransformer } from './markdownTransformer.js';
|
|
8
|
+
export const BlockquoteFeature = (props)=>{
|
|
9
|
+
return {
|
|
10
|
+
feature: ()=>{
|
|
11
|
+
return {
|
|
12
|
+
ClientComponent: BlockquoteFeatureClientComponent,
|
|
13
|
+
clientFeatureProps: null,
|
|
14
|
+
i18n,
|
|
15
|
+
markdownTransformers: [
|
|
16
|
+
MarkdownTransformer
|
|
17
|
+
],
|
|
18
|
+
nodes: [
|
|
19
|
+
createNode({
|
|
20
|
+
converters: {
|
|
21
|
+
html: {
|
|
22
|
+
converter: async ({ converters, node, parent, req })=>{
|
|
23
|
+
const childrenText = await convertLexicalNodesToHTML({
|
|
24
|
+
converters,
|
|
25
|
+
lexicalNodes: node.children,
|
|
26
|
+
parent: {
|
|
27
|
+
...node,
|
|
28
|
+
parent
|
|
29
|
+
},
|
|
30
|
+
req
|
|
31
|
+
});
|
|
32
|
+
return `<blockquote>${childrenText}</blockquote>`;
|
|
33
|
+
},
|
|
34
|
+
nodeTypes: [
|
|
35
|
+
QuoteNode.getType()
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
node: QuoteNode
|
|
40
|
+
})
|
|
41
|
+
],
|
|
42
|
+
serverFeatureProps: props
|
|
43
|
+
};
|
|
44
|
+
},
|
|
45
|
+
key: 'blockquote',
|
|
46
|
+
serverFeatureProps: props
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=feature.server.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/features/blockquote/feature.server.ts"],"sourcesContent":["import { QuoteNode } from '@lexical/rich-text'\n\nimport type { FeatureProviderProviderServer } from '../types.js'\n\n// eslint-disable-next-line payload/no-imports-from-exports-dir\nimport { BlockquoteFeatureClientComponent } from '../../exports/client/index.js'\nimport { convertLexicalNodesToHTML } from '../converters/html/converter/index.js'\nimport { createNode } from '../typeUtilities.js'\nimport { i18n } from './i18n.js'\nimport { MarkdownTransformer } from './markdownTransformer.js'\n\nexport const BlockquoteFeature: FeatureProviderProviderServer<undefined, undefined> = (props) => {\n return {\n feature: () => {\n return {\n ClientComponent: BlockquoteFeatureClientComponent,\n clientFeatureProps: null,\n i18n,\n markdownTransformers: [MarkdownTransformer],\n nodes: [\n createNode({\n converters: {\n html: {\n converter: async ({ converters, node, parent, req }) => {\n const childrenText = await convertLexicalNodesToHTML({\n converters,\n lexicalNodes: node.children,\n parent: {\n ...node,\n parent,\n },\n req,\n })\n\n return `<blockquote>${childrenText}</blockquote>`\n },\n nodeTypes: [QuoteNode.getType()],\n },\n },\n node: QuoteNode,\n }),\n ],\n serverFeatureProps: props,\n }\n },\n key: 'blockquote',\n serverFeatureProps: props,\n }\n}\n"],"names":["QuoteNode","BlockquoteFeatureClientComponent","convertLexicalNodesToHTML","createNode","i18n","MarkdownTransformer","BlockquoteFeature","props","feature","ClientComponent","clientFeatureProps","markdownTransformers","nodes","converters","html","converter","node","parent","req","childrenText","lexicalNodes","children","nodeTypes","getType","serverFeatureProps","key"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,SAAS,QAAQ,qBAAoB;AAI9C,+DAA+D;AAC/D,SAASC,gCAAgC,QAAQ,gCAA+B;AAChF,SAASC,yBAAyB,QAAQ,wCAAuC;AACjF,SAASC,UAAU,QAAQ,sBAAqB;AAChD,SAASC,IAAI,QAAQ,YAAW;AAChC,SAASC,mBAAmB,QAAQ,2BAA0B;AAE9D,OAAO,MAAMC,oBAAyE,CAACC;IACrF,OAAO;QACLC,SAAS;YACP,OAAO;gBACLC,iBAAiBR;gBACjBS,oBAAoB;gBACpBN;gBACAO,sBAAsB;oBAACN;iBAAoB;gBAC3CO,OAAO;oBACLT,WAAW;wBACTU,YAAY;4BACVC,MAAM;gCACJC,WAAW,OAAO,EAAEF,UAAU,EAAEG,IAAI,EAAEC,MAAM,EAAEC,GAAG,EAAE;oCACjD,MAAMC,eAAe,MAAMjB,0BAA0B;wCACnDW;wCACAO,cAAcJ,KAAKK,QAAQ;wCAC3BJ,QAAQ;4CACN,GAAGD,IAAI;4CACPC;wCACF;wCACAC;oCACF;oCAEA,OAAO,CAAC,YAAY,EAAEC,aAAa,aAAa,CAAC;gCACnD;gCACAG,WAAW;oCAACtB,UAAUuB,OAAO;iCAAG;4BAClC;wBACF;wBACAP,MAAMhB;oBACR;iBACD;gBACDwB,oBAAoBjB;YACtB;QACF;QACAkB,KAAK;QACLD,oBAAoBjB;IACtB;AACF,EAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/features/blockquote/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAiG1C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/features/blockquote/i18n.ts"],"sourcesContent":["import type { GenericLanguages } from '@payloadcms/translations'\n\nexport const i18n: Partial<GenericLanguages> = {\n ar: {\n label: 'اقتباس',\n },\n az: {\n label: 'Blokkvota',\n },\n bg: {\n label: 'Цитат',\n },\n cs: {\n label: 'Citace',\n },\n de: {\n label: 'Blockzitat',\n },\n en: {\n label: 'Blockquote',\n },\n es: {\n label: 'Cita en bloque',\n },\n fa: {\n label: 'نقل قول بلوکی',\n },\n fr: {\n label: 'Citation',\n },\n he: {\n label: 'בלוק ציטוט',\n },\n hr: {\n label: 'Blok citat',\n },\n hu: {\n label: 'Idézetblokk',\n },\n it: {\n label: 'Citazione',\n },\n ja: {\n label: 'ブロッククォート',\n },\n ko: {\n label: '인용구',\n },\n my: {\n label: 'ဒေါင်းချီးခြင်း',\n },\n nb: {\n label: 'Blokksitat',\n },\n nl: {\n label: 'Citaat',\n },\n pl: {\n label: 'Cytat blokowy',\n },\n pt: {\n label: 'Citação em bloco',\n },\n ro: {\n label: 'Citat',\n },\n rs: {\n label: 'Blok citat',\n },\n 'rs-latin': {\n label: 'Blok citata',\n },\n ru: {\n label: 'Цитата',\n },\n sk: {\n label: 'Citát',\n },\n sv: {\n label: 'Blockcitat',\n },\n th: {\n label: '[SKIPPED]',\n },\n tr: {\n label: 'Alıntı',\n },\n uk: {\n label: 'Блокцитата',\n },\n vi: {\n label: 'Trích dẫn',\n },\n zh: {\n label: '块引用',\n },\n 'zh-TW': {\n label: '引用塊',\n },\n}\n"],"names":["i18n","ar","label","az","bg","cs","de","en","es","fa","fr","he","hr","hu","it","ja","ko","my","nb","nl","pl","pt","ro","rs","ru","sk","sv","th","tr","uk","vi","zh"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAEA,OAAO,MAAMA,OAAkC;IAC7CC,IAAI;QACFC,OAAO;IACT;IACAC,IAAI;QACFD,OAAO;IACT;IACAE,IAAI;QACFF,OAAO;IACT;IACAG,IAAI;QACFH,OAAO;IACT;IACAI,IAAI;QACFJ,OAAO;IACT;IACAK,IAAI;QACFL,OAAO;IACT;IACAM,IAAI;QACFN,OAAO;IACT;IACAO,IAAI;QACFP,OAAO;IACT;IACAQ,IAAI;QACFR,OAAO;IACT;IACAS,IAAI;QACFT,OAAO;IACT;IACAU,IAAI;QACFV,OAAO;IACT;IACAW,IAAI;QACFX,OAAO;IACT;IACAY,IAAI;QACFZ,OAAO;IACT;IACAa,IAAI;QACFb,OAAO;IACT;IACAc,IAAI;QACFd,OAAO;IACT;IACAe,IAAI;QACFf,OAAO;IACT;IACAgB,IAAI;QACFhB,OAAO;IACT;IACAiB,IAAI;QACFjB,OAAO;IACT;IACAkB,IAAI;QACFlB,OAAO;IACT;IACAmB,IAAI;QACFnB,OAAO;IACT;IACAoB,IAAI;QACFpB,OAAO;IACT;IACAqB,IAAI;QACFrB,OAAO;IACT;IACA,YAAY;QACVA,OAAO;IACT;IACAsB,IAAI;QACFtB,OAAO;IACT;IACAuB,IAAI;QACFvB,OAAO;IACT;IACAwB,IAAI;QACFxB,OAAO;IACT;IACAyB,IAAI;QACFzB,OAAO;IACT;IACA0B,IAAI;QACF1B,OAAO;IACT;IACA2B,IAAI;QACF3B,OAAO;IACT;IACA4B,IAAI;QACF5B,OAAO;IACT;IACA6B,IAAI;QACF7B,OAAO;IACT;IACA,SAAS;QACPA,OAAO;IACT;AACF,EAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdownTransformer.d.ts","sourceRoot":"","sources":["../../../src/features/blockquote/markdownTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAK3D,eAAO,MAAM,mBAAmB,EAAE,kBAmCjC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/features/blockquote/markdownTransformer.ts"],"sourcesContent":["import type { ElementTransformer } from '@lexical/markdown'\n\nimport { $createQuoteNode, $isQuoteNode, QuoteNode } from '@lexical/rich-text'\nimport { $createLineBreakNode } from 'lexical'\n\nexport const MarkdownTransformer: ElementTransformer = {\n type: 'element',\n dependencies: [QuoteNode],\n export: (node, exportChildren) => {\n if (!$isQuoteNode(node)) {\n return null\n }\n\n const lines = exportChildren(node).split('\\n')\n const output = []\n for (const line of lines) {\n output.push('> ' + line)\n }\n return output.join('\\n')\n },\n regExp: /^>\\s/,\n replace: (parentNode, children, _match, isImport) => {\n if (isImport) {\n const previousNode = parentNode.getPreviousSibling()\n if ($isQuoteNode(previousNode)) {\n previousNode.splice(previousNode.getChildrenSize(), 0, [\n $createLineBreakNode(),\n ...children,\n ])\n previousNode.select(0, 0)\n parentNode.remove()\n return\n }\n }\n\n const node = $createQuoteNode()\n node.append(...children)\n parentNode.replace(node)\n node.select(0, 0)\n },\n}\n"],"names":["$createQuoteNode","$isQuoteNode","QuoteNode","$createLineBreakNode","MarkdownTransformer","type","dependencies","export","node","exportChildren","lines","split","output","line","push","join","regExp","replace","parentNode","children","_match","isImport","previousNode","getPreviousSibling","splice","getChildrenSize","select","remove","append"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAEA,SAASA,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,QAAQ,qBAAoB;AAC9E,SAASC,oBAAoB,QAAQ,UAAS;AAE9C,OAAO,MAAMC,sBAA0C;IACrDC,MAAM;IACNC,cAAc;QAACJ;KAAU;IACzBK,QAAQ,CAACC,MAAMC;QACb,IAAI,CAACR,aAAaO,OAAO;YACvB,OAAO;QACT;QAEA,MAAME,QAAQD,eAAeD,MAAMG,KAAK,CAAC;QACzC,MAAMC,SAAS,EAAE;QACjB,KAAK,MAAMC,QAAQH,MAAO;YACxBE,OAAOE,IAAI,CAAC,OAAOD;QACrB;QACA,OAAOD,OAAOG,IAAI,CAAC;IACrB;IACAC,QAAQ;IACRC,SAAS,CAACC,YAAYC,UAAUC,QAAQC;QACtC,IAAIA,UAAU;YACZ,MAAMC,eAAeJ,WAAWK,kBAAkB;YAClD,IAAItB,aAAaqB,eAAe;gBAC9BA,aAAaE,MAAM,CAACF,aAAaG,eAAe,IAAI,GAAG;oBACrDtB;uBACGgB;iBACJ;gBACDG,aAAaI,MAAM,CAAC,GAAG;gBACvBR,WAAWS,MAAM;gBACjB;YACF;QACF;QAEA,MAAMnB,OAAOR;QACbQ,KAAKoB,MAAM,IAAIT;QACfD,WAAWD,OAAO,CAACT;QACnBA,KAAKkB,MAAM,CAAC,GAAG;IACjB;AACF,EAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { FormFieldBase } from '@payloadcms/ui';
|
|
2
|
+
import type { FieldMap, ReducedBlock } from '@payloadcms/ui/utilities/buildComponentMap';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import type { SanitizedClientEditorConfig } from '../../../lexical/config/types.js';
|
|
5
|
+
import type { BlockFields } from '../nodes/BlocksNode.js';
|
|
6
|
+
type Props = {
|
|
7
|
+
baseClass: string;
|
|
8
|
+
field: FormFieldBase & {
|
|
9
|
+
editorConfig: SanitizedClientEditorConfig;
|
|
10
|
+
name: string;
|
|
11
|
+
richTextComponentMap: Map<string, React.ReactNode>;
|
|
12
|
+
};
|
|
13
|
+
formData: BlockFields;
|
|
14
|
+
formSchema: FieldMap;
|
|
15
|
+
nodeKey: string;
|
|
16
|
+
path: string;
|
|
17
|
+
reducedBlock: ReducedBlock;
|
|
18
|
+
schemaPath: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* The actual content of the Block. This should be INSIDE a Form component,
|
|
22
|
+
* scoped to the block. All format operations in here are thus scoped to the block's form, and
|
|
23
|
+
* not the whole document.
|
|
24
|
+
*/
|
|
25
|
+
export declare const BlockContent: React.FC<Props>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=BlockContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockContent.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/component/BlockContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAkBxF,OAAO,KAAsB,MAAM,OAAO,CAAA;AAE1C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AACnF,OAAO,KAAK,EAAE,WAAW,EAAa,MAAM,wBAAwB,CAAA;AAIpE,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,aAAa,GAAG;QACrB,YAAY,EAAE,2BAA2B,CAAA;QACzC,IAAI,EAAE,MAAM,CAAA;QACZ,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;KACnD,CAAA;IACD,QAAQ,EAAE,WAAW,CAAA;IACrB,UAAU,EAAE,QAAQ,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,EAAE,YAAY,CAAA;IAC1B,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA4MxC,CAAA"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js';
|
|
3
|
+
import { getTranslation } from '@payloadcms/translations';
|
|
4
|
+
import { Button, Collapsible, ErrorPill, Pill, RenderFields, SectionTitle, useDocumentInfo, useFormSubmitted, useTranslation } from '@payloadcms/ui';
|
|
5
|
+
import isDeepEqual from 'deep-equal';
|
|
6
|
+
import { $getNodeByKey } from 'lexical';
|
|
7
|
+
import React, { useCallback } from 'react';
|
|
8
|
+
import { FormSavePlugin } from './FormSavePlugin.js';
|
|
9
|
+
/**
|
|
10
|
+
* The actual content of the Block. This should be INSIDE a Form component,
|
|
11
|
+
* scoped to the block. All format operations in here are thus scoped to the block's form, and
|
|
12
|
+
* not the whole document.
|
|
13
|
+
*/ export const BlockContent = (props)=>{
|
|
14
|
+
const { baseClass, field, formData, formSchema, nodeKey, reducedBlock: { labels }, schemaPath } = props;
|
|
15
|
+
const { i18n } = useTranslation();
|
|
16
|
+
const [editor] = useLexicalComposerContext();
|
|
17
|
+
// Used for saving collapsed to preferences (and gettin' it from there again)
|
|
18
|
+
// Remember, these preferences are scoped to the whole document, not just this form. This
|
|
19
|
+
// is important to consider for the data path used in setDocFieldPreferences
|
|
20
|
+
const { getDocPreferences, setDocFieldPreferences } = useDocumentInfo();
|
|
21
|
+
const [isCollapsed, setIsCollapsed] = React.useState(()=>{
|
|
22
|
+
let initialState = false;
|
|
23
|
+
void getDocPreferences().then((currentDocPreferences)=>{
|
|
24
|
+
const currentFieldPreferences = currentDocPreferences?.fields[field.name];
|
|
25
|
+
const collapsedArray = currentFieldPreferences?.collapsed;
|
|
26
|
+
if (collapsedArray && collapsedArray.includes(formData.id)) {
|
|
27
|
+
initialState = true;
|
|
28
|
+
setIsCollapsed(true);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
return initialState;
|
|
32
|
+
});
|
|
33
|
+
const hasSubmitted = useFormSubmitted();
|
|
34
|
+
const [errorCount, setErrorCount] = React.useState(0);
|
|
35
|
+
const fieldHasErrors = hasSubmitted && errorCount > 0;
|
|
36
|
+
const classNames = [
|
|
37
|
+
`${baseClass}__row`,
|
|
38
|
+
fieldHasErrors ? `${baseClass}__row--has-errors` : `${baseClass}__row--no-errors`
|
|
39
|
+
].filter(Boolean).join(' ');
|
|
40
|
+
const onFormChange = useCallback(({ fullFieldsWithValues, newFormData })=>{
|
|
41
|
+
newFormData = {
|
|
42
|
+
...newFormData,
|
|
43
|
+
id: formData.id,
|
|
44
|
+
blockType: formData.blockType
|
|
45
|
+
};
|
|
46
|
+
// Recursively remove all undefined values from even being present in formData, as they will
|
|
47
|
+
// cause isDeepEqual to return false if, for example, formData has a key that fields.data
|
|
48
|
+
// does not have, even if it's undefined.
|
|
49
|
+
// Currently, this happens if a block has another sub-blocks field. Inside formData, that sub-blocks field has an undefined blockName property.
|
|
50
|
+
// Inside of fields.data however, that sub-blocks blockName property does not exist at all.
|
|
51
|
+
function removeUndefinedAndNullAndEmptyArraysRecursively(obj) {
|
|
52
|
+
for(const key in obj){
|
|
53
|
+
const value = obj[key];
|
|
54
|
+
if (Array.isArray(value) && !value?.length) {
|
|
55
|
+
delete obj[key];
|
|
56
|
+
} else if (value && typeof value === 'object') {
|
|
57
|
+
removeUndefinedAndNullAndEmptyArraysRecursively(value);
|
|
58
|
+
} else if (value === undefined || value === null) {
|
|
59
|
+
delete obj[key];
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
removeUndefinedAndNullAndEmptyArraysRecursively(newFormData);
|
|
64
|
+
removeUndefinedAndNullAndEmptyArraysRecursively(formData);
|
|
65
|
+
// Only update if the data has actually changed. Otherwise, we may be triggering an unnecessary value change,
|
|
66
|
+
// which would trigger the "Leave without saving" dialog unnecessarily
|
|
67
|
+
if (!isDeepEqual(formData, newFormData)) {
|
|
68
|
+
// Running this in the next tick in the meantime fixes this issue: https://github.com/payloadcms/payload/issues/4108
|
|
69
|
+
// I don't know why. When this is called immediately, it might focus out of a nested lexical editor field if an update is made there.
|
|
70
|
+
// My hypothesis is that the nested editor might not have fully finished its update cycle yet. By updating in the next tick, we
|
|
71
|
+
// ensure that the nested editor has finished its update cycle before we update the block node.
|
|
72
|
+
setTimeout(()=>{
|
|
73
|
+
editor.update(()=>{
|
|
74
|
+
const node = $getNodeByKey(nodeKey);
|
|
75
|
+
if (node) {
|
|
76
|
+
node.setFields(newFormData);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}, 0);
|
|
80
|
+
}
|
|
81
|
+
// update error count
|
|
82
|
+
if (hasSubmitted) {
|
|
83
|
+
let rowErrorCount = 0;
|
|
84
|
+
for (const formField of Object.values(fullFieldsWithValues)){
|
|
85
|
+
if (formField?.valid === false) {
|
|
86
|
+
rowErrorCount++;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
setErrorCount(rowErrorCount);
|
|
90
|
+
}
|
|
91
|
+
}, [
|
|
92
|
+
editor,
|
|
93
|
+
nodeKey,
|
|
94
|
+
hasSubmitted,
|
|
95
|
+
formData
|
|
96
|
+
]);
|
|
97
|
+
const onCollapsedChange = useCallback((changedCollapsed)=>{
|
|
98
|
+
void getDocPreferences().then((currentDocPreferences)=>{
|
|
99
|
+
const currentFieldPreferences = currentDocPreferences?.fields[field.name];
|
|
100
|
+
const collapsedArray = currentFieldPreferences?.collapsed;
|
|
101
|
+
const newCollapsed = collapsedArray && collapsedArray?.length ? collapsedArray : [];
|
|
102
|
+
if (changedCollapsed) {
|
|
103
|
+
if (!newCollapsed.includes(formData.id)) {
|
|
104
|
+
newCollapsed.push(formData.id);
|
|
105
|
+
}
|
|
106
|
+
} else {
|
|
107
|
+
if (newCollapsed.includes(formData.id)) {
|
|
108
|
+
newCollapsed.splice(newCollapsed.indexOf(formData.id), 1);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
setDocFieldPreferences(field.name, {
|
|
112
|
+
collapsed: newCollapsed,
|
|
113
|
+
hello: 'hi'
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
}, [
|
|
117
|
+
getDocPreferences,
|
|
118
|
+
field.name,
|
|
119
|
+
setDocFieldPreferences,
|
|
120
|
+
formData.id
|
|
121
|
+
]);
|
|
122
|
+
const removeBlock = useCallback(()=>{
|
|
123
|
+
editor.update(()=>{
|
|
124
|
+
$getNodeByKey(nodeKey).remove();
|
|
125
|
+
});
|
|
126
|
+
}, [
|
|
127
|
+
editor,
|
|
128
|
+
nodeKey
|
|
129
|
+
]);
|
|
130
|
+
return /*#__PURE__*/ _jsxs(React.Fragment, {
|
|
131
|
+
children: [
|
|
132
|
+
/*#__PURE__*/ _jsx(Collapsible, {
|
|
133
|
+
className: classNames,
|
|
134
|
+
collapsibleStyle: fieldHasErrors ? 'error' : 'default',
|
|
135
|
+
header: /*#__PURE__*/ _jsxs("div", {
|
|
136
|
+
className: `${baseClass}__block-header`,
|
|
137
|
+
children: [
|
|
138
|
+
/*#__PURE__*/ _jsxs("div", {
|
|
139
|
+
children: [
|
|
140
|
+
/*#__PURE__*/ _jsx(Pill, {
|
|
141
|
+
className: `${baseClass}__block-pill ${baseClass}__block-pill-${formData?.blockType}`,
|
|
142
|
+
pillStyle: "white",
|
|
143
|
+
children: typeof labels.singular === 'string' ? getTranslation(labels.singular, i18n) : '[Singular Label]'
|
|
144
|
+
}),
|
|
145
|
+
/*#__PURE__*/ _jsx(SectionTitle, {
|
|
146
|
+
path: "blockName",
|
|
147
|
+
readOnly: field?.readOnly
|
|
148
|
+
}),
|
|
149
|
+
fieldHasErrors && /*#__PURE__*/ _jsx(ErrorPill, {
|
|
150
|
+
count: errorCount,
|
|
151
|
+
i18n: i18n,
|
|
152
|
+
withMessage: true
|
|
153
|
+
})
|
|
154
|
+
]
|
|
155
|
+
}),
|
|
156
|
+
editor.isEditable() && /*#__PURE__*/ _jsx(Button, {
|
|
157
|
+
buttonStyle: "icon-label",
|
|
158
|
+
className: `${baseClass}__removeButton`,
|
|
159
|
+
disabled: field?.readOnly,
|
|
160
|
+
icon: "x",
|
|
161
|
+
onClick: (e)=>{
|
|
162
|
+
e.preventDefault();
|
|
163
|
+
removeBlock();
|
|
164
|
+
},
|
|
165
|
+
round: true,
|
|
166
|
+
tooltip: "Remove Block"
|
|
167
|
+
})
|
|
168
|
+
]
|
|
169
|
+
}),
|
|
170
|
+
isCollapsed: isCollapsed,
|
|
171
|
+
onToggle: (incomingCollapsedState)=>{
|
|
172
|
+
onCollapsedChange(incomingCollapsedState);
|
|
173
|
+
setIsCollapsed(incomingCollapsedState);
|
|
174
|
+
},
|
|
175
|
+
children: /*#__PURE__*/ _jsx(RenderFields, {
|
|
176
|
+
className: `${baseClass}__fields`,
|
|
177
|
+
fieldMap: Array.isArray(formSchema) ? formSchema : [],
|
|
178
|
+
forceRender: true,
|
|
179
|
+
margins: "small",
|
|
180
|
+
path: "" // Leaving path empty makes it so field values are not prefixed / scoped by the entire schemaPath. e.g. we can access "myField" instead of "someLexicalField.feature.blocks.someArrayB" // TODO: Could there be any implications leaving path different than schemaPath?
|
|
181
|
+
,
|
|
182
|
+
readOnly: false,
|
|
183
|
+
schemaPath: schemaPath
|
|
184
|
+
})
|
|
185
|
+
}, 0),
|
|
186
|
+
/*#__PURE__*/ _jsx(FormSavePlugin, {
|
|
187
|
+
onChange: onFormChange
|
|
188
|
+
})
|
|
189
|
+
]
|
|
190
|
+
});
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
//# sourceMappingURL=BlockContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/features/blocks/component/BlockContent.tsx"],"sourcesContent":["import type { FormFieldBase } from '@payloadcms/ui'\nimport type { FieldMap, ReducedBlock } from '@payloadcms/ui/utilities/buildComponentMap'\nimport type { CollapsedPreferences, Data, FormState } from 'payload'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext.js'\nimport { getTranslation } from '@payloadcms/translations'\nimport {\n Button,\n Collapsible,\n ErrorPill,\n Pill,\n RenderFields,\n SectionTitle,\n useDocumentInfo,\n useFormSubmitted,\n useTranslation,\n} from '@payloadcms/ui'\nimport isDeepEqual from 'deep-equal'\nimport { $getNodeByKey } from 'lexical'\nimport React, { useCallback } from 'react'\n\nimport type { SanitizedClientEditorConfig } from '../../../lexical/config/types.js'\nimport type { BlockFields, BlockNode } from '../nodes/BlocksNode.js'\n\nimport { FormSavePlugin } from './FormSavePlugin.js'\n\ntype Props = {\n baseClass: string\n field: FormFieldBase & {\n editorConfig: SanitizedClientEditorConfig // With rendered features n stuff\n name: string\n richTextComponentMap: Map<string, React.ReactNode>\n }\n formData: BlockFields\n formSchema: FieldMap\n nodeKey: string\n path: string\n reducedBlock: ReducedBlock\n schemaPath: string\n}\n\n/**\n * The actual content of the Block. This should be INSIDE a Form component,\n * scoped to the block. All format operations in here are thus scoped to the block's form, and\n * not the whole document.\n */\nexport const BlockContent: React.FC<Props> = (props) => {\n const {\n baseClass,\n field,\n formData,\n formSchema,\n nodeKey,\n reducedBlock: { labels },\n schemaPath,\n } = props\n\n const { i18n } = useTranslation()\n const [editor] = useLexicalComposerContext()\n // Used for saving collapsed to preferences (and gettin' it from there again)\n // Remember, these preferences are scoped to the whole document, not just this form. This\n // is important to consider for the data path used in setDocFieldPreferences\n const { getDocPreferences, setDocFieldPreferences } = useDocumentInfo()\n\n const [isCollapsed, setIsCollapsed] = React.useState<boolean>(() => {\n let initialState = false\n\n void getDocPreferences().then((currentDocPreferences) => {\n const currentFieldPreferences = currentDocPreferences?.fields[field.name]\n\n const collapsedArray = currentFieldPreferences?.collapsed\n\n if (collapsedArray && collapsedArray.includes(formData.id)) {\n initialState = true\n setIsCollapsed(true)\n }\n })\n return initialState\n })\n\n const hasSubmitted = useFormSubmitted()\n\n const [errorCount, setErrorCount] = React.useState(0)\n\n const fieldHasErrors = hasSubmitted && errorCount > 0\n\n const classNames = [\n `${baseClass}__row`,\n fieldHasErrors ? `${baseClass}__row--has-errors` : `${baseClass}__row--no-errors`,\n ]\n .filter(Boolean)\n .join(' ')\n\n const onFormChange = useCallback(\n ({\n fullFieldsWithValues,\n newFormData,\n }: {\n fullFieldsWithValues: FormState\n newFormData: Data\n }) => {\n newFormData = {\n ...newFormData,\n id: formData.id,\n blockType: formData.blockType,\n }\n\n // Recursively remove all undefined values from even being present in formData, as they will\n // cause isDeepEqual to return false if, for example, formData has a key that fields.data\n // does not have, even if it's undefined.\n // Currently, this happens if a block has another sub-blocks field. Inside formData, that sub-blocks field has an undefined blockName property.\n // Inside of fields.data however, that sub-blocks blockName property does not exist at all.\n function removeUndefinedAndNullAndEmptyArraysRecursively(obj: object) {\n for (const key in obj) {\n const value = obj[key]\n if (Array.isArray(value) && !value?.length) {\n delete obj[key]\n } else if (value && typeof value === 'object') {\n removeUndefinedAndNullAndEmptyArraysRecursively(value)\n } else if (value === undefined || value === null) {\n delete obj[key]\n }\n }\n }\n removeUndefinedAndNullAndEmptyArraysRecursively(newFormData)\n\n removeUndefinedAndNullAndEmptyArraysRecursively(formData)\n\n // Only update if the data has actually changed. Otherwise, we may be triggering an unnecessary value change,\n // which would trigger the \"Leave without saving\" dialog unnecessarily\n if (!isDeepEqual(formData, newFormData)) {\n // Running this in the next tick in the meantime fixes this issue: https://github.com/payloadcms/payload/issues/4108\n // I don't know why. When this is called immediately, it might focus out of a nested lexical editor field if an update is made there.\n // My hypothesis is that the nested editor might not have fully finished its update cycle yet. By updating in the next tick, we\n // ensure that the nested editor has finished its update cycle before we update the block node.\n setTimeout(() => {\n editor.update(() => {\n const node: BlockNode = $getNodeByKey(nodeKey)\n if (node) {\n node.setFields(newFormData as BlockFields)\n }\n })\n }, 0)\n }\n\n // update error count\n if (hasSubmitted) {\n let rowErrorCount = 0\n for (const formField of Object.values(fullFieldsWithValues)) {\n if (formField?.valid === false) {\n rowErrorCount++\n }\n }\n setErrorCount(rowErrorCount)\n }\n },\n [editor, nodeKey, hasSubmitted, formData],\n )\n\n const onCollapsedChange = useCallback(\n (changedCollapsed: boolean) => {\n void getDocPreferences().then((currentDocPreferences) => {\n const currentFieldPreferences = currentDocPreferences?.fields[field.name]\n\n const collapsedArray = currentFieldPreferences?.collapsed\n\n const newCollapsed: CollapsedPreferences =\n collapsedArray && collapsedArray?.length ? collapsedArray : []\n\n if (changedCollapsed) {\n if (!newCollapsed.includes(formData.id)) {\n newCollapsed.push(formData.id)\n }\n } else {\n if (newCollapsed.includes(formData.id)) {\n newCollapsed.splice(newCollapsed.indexOf(formData.id), 1)\n }\n }\n\n setDocFieldPreferences(field.name, {\n collapsed: newCollapsed,\n hello: 'hi',\n })\n })\n },\n [getDocPreferences, field.name, setDocFieldPreferences, formData.id],\n )\n\n const removeBlock = useCallback(() => {\n editor.update(() => {\n $getNodeByKey(nodeKey).remove()\n })\n }, [editor, nodeKey])\n\n return (\n <React.Fragment>\n <Collapsible\n className={classNames}\n collapsibleStyle={fieldHasErrors ? 'error' : 'default'}\n header={\n <div className={`${baseClass}__block-header`}>\n <div>\n <Pill\n className={`${baseClass}__block-pill ${baseClass}__block-pill-${formData?.blockType}`}\n pillStyle=\"white\"\n >\n {typeof labels.singular === 'string'\n ? getTranslation(labels.singular, i18n)\n : '[Singular Label]'}\n </Pill>\n <SectionTitle path=\"blockName\" readOnly={field?.readOnly} />\n {fieldHasErrors && <ErrorPill count={errorCount} i18n={i18n} withMessage />}\n </div>\n {editor.isEditable() && (\n <Button\n buttonStyle=\"icon-label\"\n className={`${baseClass}__removeButton`}\n disabled={field?.readOnly}\n icon=\"x\"\n onClick={(e) => {\n e.preventDefault()\n removeBlock()\n }}\n round\n tooltip=\"Remove Block\"\n />\n )}\n </div>\n }\n isCollapsed={isCollapsed}\n key={0}\n onToggle={(incomingCollapsedState) => {\n onCollapsedChange(incomingCollapsedState)\n setIsCollapsed(incomingCollapsedState)\n }}\n >\n <RenderFields\n className={`${baseClass}__fields`}\n fieldMap={Array.isArray(formSchema) ? formSchema : []}\n forceRender\n margins=\"small\"\n path=\"\" // Leaving path empty makes it so field values are not prefixed / scoped by the entire schemaPath. e.g. we can access \"myField\" instead of \"someLexicalField.feature.blocks.someArrayB\" // TODO: Could there be any implications leaving path different than schemaPath?\n readOnly={false}\n schemaPath={schemaPath} // Having the correct schemaPath here allows sub-fields (like array > addRow) to run correct form-state calls and retrieve their needed form state from the server\n />\n </Collapsible>\n\n <FormSavePlugin onChange={onFormChange} />\n </React.Fragment>\n )\n}\n"],"names":["useLexicalComposerContext","getTranslation","Button","Collapsible","ErrorPill","Pill","RenderFields","SectionTitle","useDocumentInfo","useFormSubmitted","useTranslation","isDeepEqual","$getNodeByKey","React","useCallback","FormSavePlugin","BlockContent","props","baseClass","field","formData","formSchema","nodeKey","reducedBlock","labels","schemaPath","i18n","editor","getDocPreferences","setDocFieldPreferences","isCollapsed","setIsCollapsed","useState","initialState","then","currentDocPreferences","currentFieldPreferences","fields","name","collapsedArray","collapsed","includes","id","hasSubmitted","errorCount","setErrorCount","fieldHasErrors","classNames","filter","Boolean","join","onFormChange","fullFieldsWithValues","newFormData","blockType","removeUndefinedAndNullAndEmptyArraysRecursively","obj","key","value","Array","isArray","length","undefined","setTimeout","update","node","setFields","rowErrorCount","formField","Object","values","valid","onCollapsedChange","changedCollapsed","newCollapsed","push","splice","indexOf","hello","removeBlock","remove","Fragment","className","collapsibleStyle","header","div","pillStyle","singular","path","readOnly","count","withMessage","isEditable","buttonStyle","disabled","icon","onClick","e","preventDefault","round","tooltip","onToggle","incomingCollapsedState","fieldMap","forceRender","margins","onChange"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormSavePlugin.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/component/FormSavePlugin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,CAAC,EACV,oBAAoB,EACpB,WAAW,GACZ,EAAE;QACD,oBAAoB,EAAE,SAAS,CAAA;QAC/B,WAAW,EAAE,IAAI,CAAA;KAClB,KAAK,IAAI,CAAA;CACX,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAkB1C,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { useAllFormFields } from '@payloadcms/ui';
|
|
2
|
+
import { reduceFieldsToValues } from '@payloadcms/ui/shared';
|
|
3
|
+
import { useEffect } from 'react';
|
|
4
|
+
import { removeEmptyArrayValues } from './removeEmptyArrayValues.js';
|
|
5
|
+
export const FormSavePlugin = (props)=>{
|
|
6
|
+
const { onChange } = props;
|
|
7
|
+
const [_fields] = useAllFormFields();
|
|
8
|
+
const fields = removeEmptyArrayValues({
|
|
9
|
+
fields: _fields
|
|
10
|
+
});
|
|
11
|
+
// Pass in fields, and indicate if you'd like to "unflatten" field data.
|
|
12
|
+
// The result below will reflect the data stored in the form at the given time
|
|
13
|
+
const newFormData = reduceFieldsToValues(fields, true);
|
|
14
|
+
useEffect(()=>{
|
|
15
|
+
if (onChange) {
|
|
16
|
+
onChange({
|
|
17
|
+
fullFieldsWithValues: fields,
|
|
18
|
+
newFormData
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}, [
|
|
22
|
+
newFormData,
|
|
23
|
+
onChange,
|
|
24
|
+
fields
|
|
25
|
+
]);
|
|
26
|
+
return null;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=FormSavePlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/features/blocks/component/FormSavePlugin.tsx"],"sourcesContent":["import type { Data, FormState } from 'payload'\nimport type React from 'react'\n\nimport { useAllFormFields } from '@payloadcms/ui'\nimport { reduceFieldsToValues } from '@payloadcms/ui/shared'\nimport { useEffect } from 'react'\n\nimport { removeEmptyArrayValues } from './removeEmptyArrayValues.js'\n\ntype Props = {\n onChange?: ({\n fullFieldsWithValues,\n newFormData,\n }: {\n fullFieldsWithValues: FormState\n newFormData: Data\n }) => void\n}\n\nexport const FormSavePlugin: React.FC<Props> = (props) => {\n const { onChange } = props\n\n const [_fields] = useAllFormFields()\n\n const fields = removeEmptyArrayValues({ fields: _fields })\n\n // Pass in fields, and indicate if you'd like to \"unflatten\" field data.\n // The result below will reflect the data stored in the form at the given time\n const newFormData = reduceFieldsToValues(fields, true)\n\n useEffect(() => {\n if (onChange) {\n onChange({ fullFieldsWithValues: fields, newFormData })\n }\n }, [newFormData, onChange, fields])\n\n return null\n}\n"],"names":["useAllFormFields","reduceFieldsToValues","useEffect","removeEmptyArrayValues","FormSavePlugin","props","onChange","_fields","fields","newFormData","fullFieldsWithValues"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAGA,SAASA,gBAAgB,QAAQ,iBAAgB;AACjD,SAASC,oBAAoB,QAAQ,wBAAuB;AAC5D,SAASC,SAAS,QAAQ,QAAO;AAEjC,SAASC,sBAAsB,QAAQ,8BAA6B;AAYpE,OAAO,MAAMC,iBAAkC,CAACC;IAC9C,MAAM,EAAEC,QAAQ,EAAE,GAAGD;IAErB,MAAM,CAACE,QAAQ,GAAGP;IAElB,MAAMQ,SAASL,uBAAuB;QAAEK,QAAQD;IAAQ;IAExD,wEAAwE;IACxE,8EAA8E;IAC9E,MAAME,cAAcR,qBAAqBO,QAAQ;IAEjDN,UAAU;QACR,IAAII,UAAU;YACZA,SAAS;gBAAEI,sBAAsBF;gBAAQC;YAAY;QACvD;IACF,GAAG;QAACA;QAAaH;QAAUE;KAAO;IAElC,OAAO;AACT,EAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/component/index.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAoD,MAAM,OAAO,CAAA;AAExE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAczD,OAAO,cAAc,CAAA;AAErB,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAE1B,QAAQ,EAAE,WAAW,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,mBAAmB,EAAE,WAAW,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAiJ1C,CAAA"}
|