@payloadcms/richtext-lexical 3.2.3-canary.2d2e7d5 → 3.2.3-canary.673b4b5
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/exports/client/bundled.css +1 -1
- package/dist/exports/client/{chunk-YSJURFKK.js → chunk-H6YVKFZN.js} +2 -2
- package/dist/exports/client/chunk-H6YVKFZN.js.map +7 -0
- package/dist/exports/client/componentInline-WMS3WMBA.js +2 -0
- package/dist/exports/client/index.d.ts +4 -0
- package/dist/exports/client/index.d.ts.map +1 -1
- package/dist/exports/client/index.js +11 -11
- package/dist/exports/client/index.js.map +4 -4
- package/dist/features/align/server/i18n.d.ts.map +1 -1
- package/dist/features/align/server/i18n.js +6 -0
- package/dist/features/align/server/i18n.js.map +1 -1
- package/dist/features/blockquote/server/i18n.d.ts.map +1 -1
- package/dist/features/blockquote/server/i18n.js +3 -0
- package/dist/features/blockquote/server/i18n.js.map +1 -1
- package/dist/features/blocks/WrapperBlockNode.d.ts +1151 -0
- package/dist/features/blocks/WrapperBlockNode.d.ts.map +1 -0
- package/dist/features/blocks/WrapperBlockNode.js +113 -0
- package/dist/features/blocks/WrapperBlockNode.js.map +1 -0
- package/dist/features/blocks/client/component/index.d.ts +1 -1
- package/dist/features/blocks/client/component/index.d.ts.map +1 -1
- package/dist/features/blocks/client/component/index.js.map +1 -1
- package/dist/features/blocks/client/componentInline/index.d.ts +1 -1
- package/dist/features/blocks/client/componentInline/index.d.ts.map +1 -1
- package/dist/features/blocks/client/componentInline/index.js.map +1 -1
- package/dist/features/blocks/client/index.d.ts.map +1 -1
- package/dist/features/blocks/client/index.js +65 -4
- package/dist/features/blocks/client/index.js.map +1 -1
- package/dist/features/blocks/client/nodes/BlocksNode.d.ts +2 -2
- package/dist/features/blocks/client/nodes/BlocksNode.d.ts.map +1 -1
- package/dist/features/blocks/client/nodes/BlocksNode.js +1 -1
- package/dist/features/blocks/client/nodes/BlocksNode.js.map +1 -1
- package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts +2 -2
- package/dist/features/blocks/client/nodes/InlineBlocksNode.d.ts.map +1 -1
- package/dist/features/blocks/client/nodes/InlineBlocksNode.js +1 -1
- package/dist/features/blocks/client/nodes/InlineBlocksNode.js.map +1 -1
- package/dist/features/blocks/client/plugin/commands.d.ts +12 -1
- package/dist/features/blocks/client/plugin/commands.d.ts.map +1 -1
- package/dist/features/blocks/client/plugin/commands.js +2 -0
- package/dist/features/blocks/client/plugin/commands.js.map +1 -1
- package/dist/features/blocks/client/plugin/index.d.ts +1 -1
- package/dist/features/blocks/client/plugin/index.d.ts.map +1 -1
- package/dist/features/blocks/client/plugin/index.js +30 -35
- package/dist/features/blocks/client/plugin/index.js.map +1 -1
- package/dist/features/blocks/client/plugin/wrapperBlocks/BlockEditor/index.d.ts +23 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/BlockEditor/index.d.ts.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/BlockEditor/index.js +330 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/BlockEditor/index.js.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/BlockEditor/useLexicalFormState.d.ts +22 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/BlockEditor/useLexicalFormState.d.ts.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/BlockEditor/useLexicalFormState.js +169 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/BlockEditor/useLexicalFormState.js.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockContainer.d.ts +5 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockContainer.d.ts.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockContainer.js +28 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockContainer.js.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockEditButton.d.ts +3 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockEditButton.d.ts.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockEditButton.js +22 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockEditButton.js.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockLabel.d.ts +3 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockLabel.d.ts.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockLabel.js +22 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockLabel.js.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockRemoveButton.d.ts +3 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockRemoveButton.d.ts.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockRemoveButton.js +22 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockRemoveButton.js.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/index.d.ts +9 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/index.d.ts.map +1 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/index.js +111 -0
- package/dist/features/blocks/client/plugin/wrapperBlocks/index.js.map +1 -0
- package/dist/features/blocks/server/graphQLPopulationPromise.d.ts +4 -3
- package/dist/features/blocks/server/graphQLPopulationPromise.d.ts.map +1 -1
- package/dist/features/blocks/server/graphQLPopulationPromise.js.map +1 -1
- package/dist/features/blocks/server/i18n.d.ts.map +1 -1
- package/dist/features/blocks/server/i18n.js +144 -33
- package/dist/features/blocks/server/i18n.js.map +1 -1
- package/dist/features/blocks/server/index.d.ts +5 -1
- package/dist/features/blocks/server/index.d.ts.map +1 -1
- package/dist/features/blocks/server/index.js +82 -2
- package/dist/features/blocks/server/index.js.map +1 -1
- package/dist/features/blocks/server/markdownTransformer.js +2 -2
- package/dist/features/blocks/server/markdownTransformer.js.map +1 -1
- package/dist/features/blocks/server/nodes/{BlocksNode.d.ts → BlockNode.d.ts} +2 -2
- package/dist/features/blocks/server/nodes/BlockNode.d.ts.map +1 -0
- package/dist/features/blocks/server/nodes/{BlocksNode.js → BlockNode.js} +1 -1
- package/dist/features/blocks/server/nodes/BlockNode.js.map +1 -0
- package/dist/features/blocks/server/nodes/{InlineBlocksNode.d.ts → InlineBlockNode.d.ts} +1 -1
- package/dist/features/blocks/server/nodes/InlineBlockNode.d.ts.map +1 -0
- package/dist/features/blocks/server/nodes/{InlineBlocksNode.js → InlineBlockNode.js} +1 -1
- package/dist/features/blocks/server/nodes/InlineBlockNode.js.map +1 -0
- package/dist/features/blocks/server/validate.d.ts +4 -3
- package/dist/features/blocks/server/validate.d.ts.map +1 -1
- package/dist/features/blocks/server/validate.js.map +1 -1
- package/dist/features/heading/server/i18n.d.ts.map +1 -1
- package/dist/features/heading/server/i18n.js +3 -0
- package/dist/features/heading/server/i18n.js.map +1 -1
- package/dist/features/horizontalRule/server/i18n.d.ts.map +1 -1
- package/dist/features/horizontalRule/server/i18n.js +3 -0
- package/dist/features/horizontalRule/server/i18n.js.map +1 -1
- package/dist/features/indent/server/i18n.d.ts.map +1 -1
- package/dist/features/indent/server/i18n.js +4 -0
- package/dist/features/indent/server/i18n.js.map +1 -1
- package/dist/features/link/server/i18n.d.ts.map +1 -1
- package/dist/features/link/server/i18n.js +4 -0
- package/dist/features/link/server/i18n.js.map +1 -1
- package/dist/features/lists/checklist/server/i18n.d.ts.map +1 -1
- package/dist/features/lists/checklist/server/i18n.js +3 -0
- package/dist/features/lists/checklist/server/i18n.js.map +1 -1
- package/dist/features/lists/orderedList/server/i18n.d.ts.map +1 -1
- package/dist/features/lists/orderedList/server/i18n.js +3 -0
- package/dist/features/lists/orderedList/server/i18n.js.map +1 -1
- package/dist/features/lists/unorderedList/server/i18n.d.ts.map +1 -1
- package/dist/features/lists/unorderedList/server/i18n.js +3 -0
- package/dist/features/lists/unorderedList/server/i18n.js.map +1 -1
- package/dist/features/paragraph/server/i18n.d.ts.map +1 -1
- package/dist/features/paragraph/server/i18n.js +4 -0
- package/dist/features/paragraph/server/i18n.js.map +1 -1
- package/dist/features/relationship/server/i18n.d.ts.map +1 -1
- package/dist/features/relationship/server/i18n.js +3 -0
- package/dist/features/relationship/server/i18n.js.map +1 -1
- package/dist/features/typesClient.d.ts +3 -2
- package/dist/features/typesClient.d.ts.map +1 -1
- package/dist/features/typesClient.js.map +1 -1
- package/dist/features/typesServer.d.ts +8 -1
- package/dist/features/typesServer.d.ts.map +1 -1
- package/dist/features/typesServer.js.map +1 -1
- package/dist/features/upload/server/i18n.d.ts.map +1 -1
- package/dist/features/upload/server/i18n.js +3 -0
- package/dist/features/upload/server/i18n.js.map +1 -1
- package/dist/field/bundled.css +1 -1
- package/dist/field/index.d.ts.map +1 -1
- package/dist/field/index.js +19 -16
- package/dist/field/index.js.map +1 -1
- package/dist/field/rscEntry.js +2 -0
- package/dist/field/rscEntry.js.map +1 -1
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +6 -0
- package/dist/i18n.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lexical/config/client/loader.d.ts +2 -1
- package/dist/lexical/config/client/loader.d.ts.map +1 -1
- package/dist/lexical/config/client/loader.js +2 -0
- package/dist/lexical/config/client/loader.js.map +1 -1
- package/dist/nodeTypes.d.ts +2 -2
- package/dist/nodeTypes.d.ts.map +1 -1
- package/dist/nodeTypes.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utilities/createClientFeature.d.ts +1 -0
- package/dist/utilities/createClientFeature.d.ts.map +1 -1
- package/dist/utilities/createClientFeature.js +2 -0
- package/dist/utilities/createClientFeature.js.map +1 -1
- package/dist/utilities/generateImportMap.d.ts.map +1 -1
- package/dist/utilities/generateImportMap.js +5 -2
- package/dist/utilities/generateImportMap.js.map +1 -1
- package/dist/utilities/initLexicalFeatures.d.ts +1 -0
- package/dist/utilities/initLexicalFeatures.d.ts.map +1 -1
- package/dist/utilities/initLexicalFeatures.js +18 -1
- package/dist/utilities/initLexicalFeatures.js.map +1 -1
- package/package.json +6 -6
- package/dist/exports/client/chunk-YSJURFKK.js.map +0 -7
- package/dist/exports/client/componentInline-OK3ZQ6YQ.js +0 -2
- package/dist/features/blocks/server/nodes/BlocksNode.d.ts.map +0 -1
- package/dist/features/blocks/server/nodes/BlocksNode.js.map +0 -1
- package/dist/features/blocks/server/nodes/InlineBlocksNode.d.ts.map +0 -1
- package/dist/features/blocks/server/nodes/InlineBlocksNode.js.map +0 -1
- /package/dist/exports/client/{componentInline-OK3ZQ6YQ.js.map → componentInline-WMS3WMBA.js.map} +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { useWrapperBlockComponentContext } from '../BlockEditor/index.js';
|
|
7
|
+
export const WrapperBlockEditButton = () => {
|
|
8
|
+
const $ = _c(2);
|
|
9
|
+
const {
|
|
10
|
+
EditButton
|
|
11
|
+
} = useWrapperBlockComponentContext();
|
|
12
|
+
let t0;
|
|
13
|
+
if ($[0] !== EditButton) {
|
|
14
|
+
t0 = EditButton ? _jsx(EditButton, {}) : null;
|
|
15
|
+
$[0] = EditButton;
|
|
16
|
+
$[1] = t0;
|
|
17
|
+
} else {
|
|
18
|
+
t0 = $[1];
|
|
19
|
+
}
|
|
20
|
+
return t0;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=WrapperBlockEditButton.js.map
|
package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockEditButton.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WrapperBlockEditButton.js","names":["c","_c","React","useWrapperBlockComponentContext","WrapperBlockEditButton","$","EditButton","t0","_jsx"],"sources":["../../../../../../../src/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockEditButton.tsx"],"sourcesContent":["'use client'\nimport React from 'react'\n\nimport { useWrapperBlockComponentContext } from '../BlockEditor/index.js'\n\nexport const WrapperBlockEditButton = () => {\n const { EditButton } = useWrapperBlockComponentContext()\n\n return EditButton ? <EditButton /> : null\n}\n"],"mappings":"AAAA;;AAAA,SAAAA,CAAA,IAAAC,EAAA;;AACA,OAAOC,KAAA,MAAW;AAElB,SAASC,+BAA+B,QAAQ;AAEhD,OAAO,MAAMC,sBAAA,GAAyBA,CAAA;EAAA,MAAAC,CAAA,GAAAJ,EAAA;EACpC;IAAAK;EAAA,IAAuBH,+BAAA;EAAA,IAAAI,EAAA;EAAA,IAAAF,CAAA,QAAAC,UAAA;IAEhBC,EAAA,GAAAD,UAAA,GAAaE,IAAA,CAACF,UAAA,YAAgB;IAAAD,CAAA,MAAAC,UAAA;IAAAD,CAAA,MAAAE,EAAA;EAAA;IAAAA,EAAA,GAAAF,CAAA;EAAA;EAAA,OAA9BE,EAA8B;AAAA,CACvC","ignoreList":[]}
|
package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockLabel.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WrapperBlockLabel.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,iBAAiB,gCAI7B,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { useWrapperBlockComponentContext } from '../BlockEditor/index.js';
|
|
7
|
+
export const WrapperBlockLabel = () => {
|
|
8
|
+
const $ = _c(2);
|
|
9
|
+
const {
|
|
10
|
+
Label
|
|
11
|
+
} = useWrapperBlockComponentContext();
|
|
12
|
+
let t0;
|
|
13
|
+
if ($[0] !== Label) {
|
|
14
|
+
t0 = Label ? _jsx(Label, {}) : null;
|
|
15
|
+
$[0] = Label;
|
|
16
|
+
$[1] = t0;
|
|
17
|
+
} else {
|
|
18
|
+
t0 = $[1];
|
|
19
|
+
}
|
|
20
|
+
return t0;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=WrapperBlockLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WrapperBlockLabel.js","names":["c","_c","React","useWrapperBlockComponentContext","WrapperBlockLabel","$","Label","t0","_jsx"],"sources":["../../../../../../../src/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockLabel.tsx"],"sourcesContent":["'use client'\nimport React from 'react'\n\nimport { useWrapperBlockComponentContext } from '../BlockEditor/index.js'\n\nexport const WrapperBlockLabel = () => {\n const { Label } = useWrapperBlockComponentContext()\n\n return Label ? <Label /> : null\n}\n"],"mappings":"AAAA;;AAAA,SAAAA,CAAA,IAAAC,EAAA;;AACA,OAAOC,KAAA,MAAW;AAElB,SAASC,+BAA+B,QAAQ;AAEhD,OAAO,MAAMC,iBAAA,GAAoBA,CAAA;EAAA,MAAAC,CAAA,GAAAJ,EAAA;EAC/B;IAAAK;EAAA,IAAkBH,+BAAA;EAAA,IAAAI,EAAA;EAAA,IAAAF,CAAA,QAAAC,KAAA;IAEXC,EAAA,GAAAD,KAAA,GAAQE,IAAA,CAACF,KAAA,YAAW;IAAAD,CAAA,MAAAC,KAAA;IAAAD,CAAA,MAAAE,EAAA;EAAA;IAAAA,EAAA,GAAAF,CAAA;EAAA;EAAA,OAApBE,EAAoB;AAAA,CAC7B","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WrapperBlockRemoveButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockRemoveButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,wBAAwB,gCAIpC,CAAA"}
|
package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockRemoveButton.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { useWrapperBlockComponentContext } from '../BlockEditor/index.js';
|
|
7
|
+
export const WrapperBlockRemoveButton = () => {
|
|
8
|
+
const $ = _c(2);
|
|
9
|
+
const {
|
|
10
|
+
RemoveButton
|
|
11
|
+
} = useWrapperBlockComponentContext();
|
|
12
|
+
let t0;
|
|
13
|
+
if ($[0] !== RemoveButton) {
|
|
14
|
+
t0 = RemoveButton ? _jsx(RemoveButton, {}) : null;
|
|
15
|
+
$[0] = RemoveButton;
|
|
16
|
+
$[1] = t0;
|
|
17
|
+
} else {
|
|
18
|
+
t0 = $[1];
|
|
19
|
+
}
|
|
20
|
+
return t0;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=WrapperBlockRemoveButton.js.map
|
package/dist/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockRemoveButton.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WrapperBlockRemoveButton.js","names":["c","_c","React","useWrapperBlockComponentContext","WrapperBlockRemoveButton","$","RemoveButton","t0","_jsx"],"sources":["../../../../../../../src/features/blocks/client/plugin/wrapperBlocks/components/WrapperBlockRemoveButton.tsx"],"sourcesContent":["'use client'\nimport React from 'react'\n\nimport { useWrapperBlockComponentContext } from '../BlockEditor/index.js'\n\nexport const WrapperBlockRemoveButton = () => {\n const { RemoveButton } = useWrapperBlockComponentContext()\n\n return RemoveButton ? <RemoveButton /> : null\n}\n"],"mappings":"AAAA;;AAAA,SAAAA,CAAA,IAAAC,EAAA;;AACA,OAAOC,KAAA,MAAW;AAElB,SAASC,+BAA+B,QAAQ;AAEhD,OAAO,MAAMC,wBAAA,GAA2BA,CAAA;EAAA,MAAAC,CAAA,GAAAJ,EAAA;EACtC;IAAAK;EAAA,IAAyBH,+BAAA;EAAA,IAAAI,EAAA;EAAA,IAAAF,CAAA,QAAAC,YAAA;IAElBC,EAAA,GAAAD,YAAA,GAAeE,IAAA,CAACF,YAAA,YAAkB;IAAAD,CAAA,MAAAC,YAAA;IAAAD,CAAA,MAAAE,EAAA;EAAA;IAAAA,EAAA,GAAAF,CAAA;EAAA;EAAA,OAAlCE,EAAkC;AAAA,CAC3C","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import './index.scss';
|
|
2
|
+
import type { PluginComponentWithAnchor } from '../../../../typesClient.js';
|
|
3
|
+
import type { CreateWrapperBlockNodeFn, IsWrapperBlockNodeFn } from '../../../WrapperBlockNode.js';
|
|
4
|
+
export type AdditionalWrapperBlocksPluginArgs = {
|
|
5
|
+
$createWrapperBlockNode: CreateWrapperBlockNodeFn;
|
|
6
|
+
$isWrapperBlockNode: IsWrapperBlockNodeFn;
|
|
7
|
+
};
|
|
8
|
+
export declare const WrapperBlocksPlugin: PluginComponentWithAnchor<any, AdditionalWrapperBlocksPluginArgs>;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/client/plugin/wrapperBlocks/index.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAA;AAYrB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAC3E,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EAGrB,MAAM,8BAA8B,CAAA;AAKrC,MAAM,MAAM,iCAAiC,GAAG;IAC9C,uBAAuB,EAAE,wBAAwB,CAAA;IACjD,mBAAmB,EAAE,oBAAoB,CAAA;CAC1C,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,yBAAyB,CACzD,GAAG,EACH,iCAAiC,CAqGlC,CAAA"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { c as _c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
|
|
6
|
+
import { mergeRegister } from '@lexical/utils';
|
|
7
|
+
import { $getSelection, $isElementNode, $isRangeSelection, COMMAND_PRIORITY_EDITOR } from 'lexical';
|
|
8
|
+
import React, { useEffect } from 'react';
|
|
9
|
+
import { createPortal } from 'react-dom';
|
|
10
|
+
import { INSERT_WRAPPER_BLOCK_COMMAND } from '../commands.js';
|
|
11
|
+
import { BlockEditor } from './BlockEditor/index.js';
|
|
12
|
+
export const WrapperBlocksPlugin = props => {
|
|
13
|
+
const $ = _c(9);
|
|
14
|
+
const {
|
|
15
|
+
$createWrapperBlockNode,
|
|
16
|
+
$isWrapperBlockNode,
|
|
17
|
+
anchorElem: t0
|
|
18
|
+
} = props;
|
|
19
|
+
const anchorElem = t0 === undefined ? document.body : t0;
|
|
20
|
+
const [editor] = useLexicalComposerContext();
|
|
21
|
+
let t1;
|
|
22
|
+
let t2;
|
|
23
|
+
if ($[0] !== editor || $[1] !== $isWrapperBlockNode || $[2] !== $createWrapperBlockNode) {
|
|
24
|
+
t1 = () => mergeRegister(editor.registerCommand(INSERT_WRAPPER_BLOCK_COMMAND, fields => {
|
|
25
|
+
const selection = $getSelection();
|
|
26
|
+
if (!$isRangeSelection(selection)) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
const nodes = $isRangeSelection(selection) ? selection.extract() : [];
|
|
30
|
+
let prevParent;
|
|
31
|
+
prevParent = null;
|
|
32
|
+
let wrapperBlockNode;
|
|
33
|
+
wrapperBlockNode = null;
|
|
34
|
+
if (fields === null) {
|
|
35
|
+
nodes?.forEach(node => {
|
|
36
|
+
const parent = node.getParent();
|
|
37
|
+
if ($isWrapperBlockNode(parent)) {
|
|
38
|
+
const children = parent.getChildren();
|
|
39
|
+
for (let i = 0; i < children.length; i = i + 1, i) {
|
|
40
|
+
parent.insertBefore(children[i]);
|
|
41
|
+
}
|
|
42
|
+
parent.remove();
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
nodes?.forEach(node_0 => {
|
|
48
|
+
const parent_0 = node_0.getParent();
|
|
49
|
+
if (parent_0 === wrapperBlockNode || parent_0 === null || $isElementNode(node_0) && !node_0.isInline()) {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (!parent_0.is(prevParent)) {
|
|
53
|
+
prevParent = parent_0;
|
|
54
|
+
wrapperBlockNode = $createWrapperBlockNode(fields);
|
|
55
|
+
if ($isWrapperBlockNode(parent_0)) {
|
|
56
|
+
if (node_0.getPreviousSibling() === null) {
|
|
57
|
+
parent_0.insertBefore(wrapperBlockNode);
|
|
58
|
+
} else {
|
|
59
|
+
parent_0.insertAfter(wrapperBlockNode);
|
|
60
|
+
}
|
|
61
|
+
} else {
|
|
62
|
+
node_0.insertBefore(wrapperBlockNode);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
if ($isWrapperBlockNode(node_0)) {
|
|
66
|
+
if (node_0.is(wrapperBlockNode)) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
if (wrapperBlockNode !== null) {
|
|
70
|
+
const children_0 = node_0.getChildren();
|
|
71
|
+
for (let i_0 = 0; i_0 < children_0.length; i_0 = i_0 + 1, i_0) {
|
|
72
|
+
wrapperBlockNode.append(children_0[i_0]);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
node_0.remove();
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
if (wrapperBlockNode !== null) {
|
|
79
|
+
wrapperBlockNode.append(node_0);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
return true;
|
|
83
|
+
}, COMMAND_PRIORITY_EDITOR));
|
|
84
|
+
t2 = [$createWrapperBlockNode, $isWrapperBlockNode, editor];
|
|
85
|
+
$[0] = editor;
|
|
86
|
+
$[1] = $isWrapperBlockNode;
|
|
87
|
+
$[2] = $createWrapperBlockNode;
|
|
88
|
+
$[3] = t1;
|
|
89
|
+
$[4] = t2;
|
|
90
|
+
} else {
|
|
91
|
+
t1 = $[3];
|
|
92
|
+
t2 = $[4];
|
|
93
|
+
}
|
|
94
|
+
useEffect(t1, t2);
|
|
95
|
+
let t3;
|
|
96
|
+
if ($[5] !== $createWrapperBlockNode || $[6] !== $isWrapperBlockNode || $[7] !== anchorElem) {
|
|
97
|
+
t3 = createPortal(_jsx(BlockEditor, {
|
|
98
|
+
$createWrapperBlockNode,
|
|
99
|
+
$isWrapperBlockNode,
|
|
100
|
+
anchorElem
|
|
101
|
+
}), anchorElem);
|
|
102
|
+
$[5] = $createWrapperBlockNode;
|
|
103
|
+
$[6] = $isWrapperBlockNode;
|
|
104
|
+
$[7] = anchorElem;
|
|
105
|
+
$[8] = t3;
|
|
106
|
+
} else {
|
|
107
|
+
t3 = $[8];
|
|
108
|
+
}
|
|
109
|
+
return t3;
|
|
110
|
+
};
|
|
111
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["c","_c","useLexicalComposerContext","mergeRegister","$getSelection","$isElementNode","$isRangeSelection","COMMAND_PRIORITY_EDITOR","React","useEffect","createPortal","INSERT_WRAPPER_BLOCK_COMMAND","BlockEditor","WrapperBlocksPlugin","props","$","$createWrapperBlockNode","$isWrapperBlockNode","anchorElem","t0","undefined","document","body","editor","t1","t2","registerCommand","fields","selection","nodes","extract","prevParent","wrapperBlockNode","forEach","node","parent","getParent","children","getChildren","i","length","insertBefore","remove","node_0","parent_0","isInline","is","getPreviousSibling","insertAfter","children_0","i_0","append","t3","_jsx"],"sources":["../../../../../../src/features/blocks/client/plugin/wrapperBlocks/index.tsx"],"sourcesContent":["'use client'\n\nimport { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'\nimport { mergeRegister } from '@lexical/utils'\n\nimport './index.scss'\n\nimport {\n $getSelection,\n $isElementNode,\n $isRangeSelection,\n COMMAND_PRIORITY_EDITOR,\n type ElementNode,\n} from 'lexical'\nimport React, { useEffect } from 'react'\nimport { createPortal } from 'react-dom'\n\nimport type { PluginComponentWithAnchor } from '../../../../typesClient.js'\nimport type {\n CreateWrapperBlockNodeFn,\n IsWrapperBlockNodeFn,\n WrapperBlockFields,\n WrapperBlockNodeType,\n} from '../../../WrapperBlockNode.js'\n\nimport { INSERT_WRAPPER_BLOCK_COMMAND } from '../commands.js'\nimport { BlockEditor } from './BlockEditor/index.js'\n\nexport type AdditionalWrapperBlocksPluginArgs = {\n $createWrapperBlockNode: CreateWrapperBlockNodeFn\n $isWrapperBlockNode: IsWrapperBlockNodeFn\n}\n\nexport const WrapperBlocksPlugin: PluginComponentWithAnchor<\n any,\n AdditionalWrapperBlocksPluginArgs\n> = (props) => {\n const { $createWrapperBlockNode, $isWrapperBlockNode, anchorElem = document.body } = props\n\n const [editor] = useLexicalComposerContext()\n\n useEffect(() => {\n return mergeRegister(\n editor.registerCommand(\n INSERT_WRAPPER_BLOCK_COMMAND,\n (fields) => {\n const selection = $getSelection()\n\n if (!$isRangeSelection(selection)) {\n return false\n }\n const nodes = $isRangeSelection(selection) ? selection.extract() : []\n\n let prevParent: ElementNode | null | WrapperBlockNodeType = null\n let wrapperBlockNode: null | WrapperBlockNodeType = null\n\n if (fields === null) {\n // Remove Wrapper Blocks\n nodes?.forEach((node) => {\n const parent = node.getParent()\n\n if ($isWrapperBlockNode(parent)) {\n const children = parent.getChildren()\n\n for (let i = 0; i < children.length; i += 1) {\n parent.insertBefore(children[i])\n }\n\n parent.remove()\n }\n })\n return true\n }\n\n nodes?.forEach((node) => {\n const parent = node.getParent()\n\n if (\n parent === wrapperBlockNode ||\n parent === null ||\n ($isElementNode(node) && !node.isInline())\n ) {\n return\n }\n\n if (!parent.is(prevParent)) {\n prevParent = parent\n wrapperBlockNode = $createWrapperBlockNode(fields as WrapperBlockFields)\n\n if ($isWrapperBlockNode(parent)) {\n if (node.getPreviousSibling() === null) {\n parent.insertBefore(wrapperBlockNode)\n } else {\n parent.insertAfter(wrapperBlockNode)\n }\n } else {\n node.insertBefore(wrapperBlockNode)\n }\n }\n\n if ($isWrapperBlockNode(node)) {\n if (node.is(wrapperBlockNode)) {\n return\n }\n if (wrapperBlockNode !== null) {\n const children = node.getChildren()\n\n for (let i = 0; i < children.length; i += 1) {\n wrapperBlockNode.append(children[i])\n }\n }\n\n node.remove()\n return\n }\n\n if (wrapperBlockNode !== null) {\n wrapperBlockNode.append(node)\n }\n })\n\n return true\n },\n COMMAND_PRIORITY_EDITOR,\n ),\n )\n }, [$createWrapperBlockNode, $isWrapperBlockNode, editor])\n\n return createPortal(\n <BlockEditor\n $createWrapperBlockNode={$createWrapperBlockNode}\n $isWrapperBlockNode={$isWrapperBlockNode}\n anchorElem={anchorElem}\n />,\n anchorElem,\n )\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Block } from 'payload';
|
|
2
2
|
import type { PopulationPromise } from '../../typesServer.js';
|
|
3
|
-
import type { SerializedInlineBlockNode } from '../server/nodes/
|
|
4
|
-
import type {
|
|
5
|
-
|
|
3
|
+
import type { SerializedInlineBlockNode } from '../server/nodes/InlineBlockNode.js';
|
|
4
|
+
import type { SerializedWrapperBlockNode } from '../WrapperBlockNode.js';
|
|
5
|
+
import type { SerializedBlockNode } from './nodes/BlockNode.js';
|
|
6
|
+
export declare const blockPopulationPromiseHOC: (blocks: Block[]) => PopulationPromise<SerializedBlockNode | SerializedInlineBlockNode | SerializedWrapperBlockNode>;
|
|
6
7
|
//# sourceMappingURL=graphQLPopulationPromise.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphQLPopulationPromise.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/server/graphQLPopulationPromise.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAEpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"graphQLPopulationPromise.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/server/graphQLPopulationPromise.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAEpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAA;AACnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAI/D,eAAO,MAAM,yBAAyB,WAC5B,KAAK,EAAE,KACd,iBAAiB,CAClB,mBAAmB,GAAG,yBAAyB,GAAG,0BAA0B,CA+C7E,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphQLPopulationPromise.js","names":["recursivelyPopulateFieldsForGraphQL","blockPopulationPromiseHOC","blocks","blockPopulationPromise","context","currentDepth","depth","draft","editorPopulationPromises","fieldPromises","findMany","flattenLocales","node","overrideAccess","populationPromises","req","showHiddenFields","blockFieldData","fields","block","find","slug","blockType","length","data","siblingDoc"],"sources":["../../../../src/features/blocks/server/graphQLPopulationPromise.ts"],"sourcesContent":["import type { Block } from 'payload'\n\nimport type { PopulationPromise } from '../../typesServer.js'\nimport type { SerializedInlineBlockNode } from '../server/nodes/
|
|
1
|
+
{"version":3,"file":"graphQLPopulationPromise.js","names":["recursivelyPopulateFieldsForGraphQL","blockPopulationPromiseHOC","blocks","blockPopulationPromise","context","currentDepth","depth","draft","editorPopulationPromises","fieldPromises","findMany","flattenLocales","node","overrideAccess","populationPromises","req","showHiddenFields","blockFieldData","fields","block","find","slug","blockType","length","data","siblingDoc"],"sources":["../../../../src/features/blocks/server/graphQLPopulationPromise.ts"],"sourcesContent":["import type { Block } from 'payload'\n\nimport type { PopulationPromise } from '../../typesServer.js'\nimport type { SerializedInlineBlockNode } from '../server/nodes/InlineBlockNode.js'\nimport type { SerializedWrapperBlockNode } from '../WrapperBlockNode.js'\nimport type { SerializedBlockNode } from './nodes/BlockNode.js'\n\nimport { recursivelyPopulateFieldsForGraphQL } from '../../../populateGraphQL/recursivelyPopulateFieldsForGraphQL.js'\n\nexport const blockPopulationPromiseHOC = (\n blocks: Block[],\n): PopulationPromise<\n SerializedBlockNode | SerializedInlineBlockNode | SerializedWrapperBlockNode\n> => {\n const blockPopulationPromise: PopulationPromise<\n SerializedBlockNode | SerializedInlineBlockNode | SerializedWrapperBlockNode\n > = ({\n context,\n currentDepth,\n depth,\n draft,\n editorPopulationPromises,\n fieldPromises,\n findMany,\n flattenLocales,\n node,\n overrideAccess,\n populationPromises,\n req,\n showHiddenFields,\n }) => {\n const blockFieldData = node.fields\n\n // find block used in this node\n const block = blocks.find((block) => block.slug === blockFieldData.blockType)\n if (!block || !block?.fields?.length || !blockFieldData) {\n return\n }\n\n recursivelyPopulateFieldsForGraphQL({\n context,\n currentDepth,\n data: blockFieldData,\n depth,\n draft,\n editorPopulationPromises,\n fieldPromises,\n fields: block.fields,\n findMany,\n flattenLocales,\n overrideAccess,\n populationPromises,\n req,\n showHiddenFields,\n siblingDoc: blockFieldData,\n })\n }\n\n return blockPopulationPromise\n}\n"],"mappings":"AAOA,SAASA,mCAAmC,QAAQ;AAEpD,OAAO,MAAMC,yBAAA,GACXC,MAAA;EAIA,MAAMC,sBAAA,GAEFA,CAAC;IACHC,OAAO;IACPC,YAAY;IACZC,KAAK;IACLC,KAAK;IACLC,wBAAwB;IACxBC,aAAa;IACbC,QAAQ;IACRC,cAAc;IACdC,IAAI;IACJC,cAAc;IACdC,kBAAkB;IAClBC,GAAG;IACHC;EAAgB,CACjB;IACC,MAAMC,cAAA,GAAiBL,IAAA,CAAKM,MAAM;IAElC;IACA,MAAMC,KAAA,GAAQjB,MAAA,CAAOkB,IAAI,CAAED,KAAA,IAAUA,KAAA,CAAME,IAAI,KAAKJ,cAAA,CAAeK,SAAS;IAC5E,IAAI,CAACH,KAAA,IAAS,CAACA,KAAA,EAAOD,MAAA,EAAQK,MAAA,IAAU,CAACN,cAAA,EAAgB;MACvD;IACF;IAEAjB,mCAAA,CAAoC;MAClCI,OAAA;MACAC,YAAA;MACAmB,IAAA,EAAMP,cAAA;MACNX,KAAA;MACAC,KAAA;MACAC,wBAAA;MACAC,aAAA;MACAS,MAAA,EAAQC,KAAA,CAAMD,MAAM;MACpBR,QAAA;MACAC,cAAA;MACAE,cAAA;MACAC,kBAAA;MACAC,GAAA;MACAC,gBAAA;MACAS,UAAA,EAAYR;IACd;EACF;EAEA,OAAOd,sBAAA;AACT","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/server/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/features/blocks/server/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAyZ1C,CAAA"}
|