@haklex/rich-editor 0.0.1
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/LICENSE +28 -0
- package/README.md +164 -0
- package/dist/RichEditor-DeRWrU51.js +1125 -0
- package/dist/RichRenderer-BmM4j0fv.js +95 -0
- package/dist/components/ContentEditable.d.ts +7 -0
- package/dist/components/ContentEditable.d.ts.map +1 -0
- package/dist/components/RendererWrapper.d.ts +31 -0
- package/dist/components/RendererWrapper.d.ts.map +1 -0
- package/dist/components/RichEditor.d.ts +3 -0
- package/dist/components/RichEditor.d.ts.map +1 -0
- package/dist/components/RichRenderer.d.ts +3 -0
- package/dist/components/RichRenderer.d.ts.map +1 -0
- package/dist/components/decorators/AlertEditDecorator.d.ts +10 -0
- package/dist/components/decorators/AlertEditDecorator.d.ts.map +1 -0
- package/dist/components/decorators/BannerEditDecorator.d.ts +10 -0
- package/dist/components/decorators/BannerEditDecorator.d.ts.map +1 -0
- package/dist/components/decorators/CodeBlockEditDecorator.d.ts +8 -0
- package/dist/components/decorators/CodeBlockEditDecorator.d.ts.map +1 -0
- package/dist/components/decorators/GridEditDecorator.d.ts +10 -0
- package/dist/components/decorators/GridEditDecorator.d.ts.map +1 -0
- package/dist/components/renderers/AlertReadOnlyDecorator.d.ts +9 -0
- package/dist/components/renderers/AlertReadOnlyDecorator.d.ts.map +1 -0
- package/dist/components/renderers/AlertRenderer.d.ts +9 -0
- package/dist/components/renderers/AlertRenderer.d.ts.map +1 -0
- package/dist/components/renderers/BannerReadOnlyDecorator.d.ts +9 -0
- package/dist/components/renderers/BannerReadOnlyDecorator.d.ts.map +1 -0
- package/dist/components/renderers/BannerRenderer.d.ts +9 -0
- package/dist/components/renderers/BannerRenderer.d.ts.map +1 -0
- package/dist/components/renderers/CodeBlockRenderer.d.ts +9 -0
- package/dist/components/renderers/CodeBlockRenderer.d.ts.map +1 -0
- package/dist/components/renderers/FootnoteRenderer.d.ts +5 -0
- package/dist/components/renderers/FootnoteRenderer.d.ts.map +1 -0
- package/dist/components/renderers/FootnoteSectionEditRenderer.d.ts +6 -0
- package/dist/components/renderers/FootnoteSectionEditRenderer.d.ts.map +1 -0
- package/dist/components/renderers/FootnoteSectionRenderer.d.ts +6 -0
- package/dist/components/renderers/FootnoteSectionRenderer.d.ts.map +1 -0
- package/dist/components/renderers/GridReadOnlyDecorator.d.ts +9 -0
- package/dist/components/renderers/GridReadOnlyDecorator.d.ts.map +1 -0
- package/dist/components/renderers/ImageRenderer.d.ts +11 -0
- package/dist/components/renderers/ImageRenderer.d.ts.map +1 -0
- package/dist/components/renderers/KaTeXRenderer.d.ts +6 -0
- package/dist/components/renderers/KaTeXRenderer.d.ts.map +1 -0
- package/dist/components/renderers/LinkCardRenderer.d.ts +11 -0
- package/dist/components/renderers/LinkCardRenderer.d.ts.map +1 -0
- package/dist/components/renderers/MentionRenderer.d.ts +7 -0
- package/dist/components/renderers/MentionRenderer.d.ts.map +1 -0
- package/dist/components/renderers/MermaidRenderer.d.ts +6 -0
- package/dist/components/renderers/MermaidRenderer.d.ts.map +1 -0
- package/dist/components/renderers/VideoRenderer.d.ts +8 -0
- package/dist/components/renderers/VideoRenderer.d.ts.map +1 -0
- package/dist/components/utils.d.ts +5 -0
- package/dist/components/utils.d.ts.map +1 -0
- package/dist/config-edit.d.ts +4 -0
- package/dist/config-edit.d.ts.map +1 -0
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/context/ColorSchemeContext.d.ts +8 -0
- package/dist/context/ColorSchemeContext.d.ts.map +1 -0
- package/dist/context/FootnoteDefinitionsContext.d.ts +12 -0
- package/dist/context/FootnoteDefinitionsContext.d.ts.map +1 -0
- package/dist/context/RendererConfigContext.d.ts +12 -0
- package/dist/context/RendererConfigContext.d.ts.map +1 -0
- package/dist/editor.d.ts +6 -0
- package/dist/editor.d.ts.map +1 -0
- package/dist/editor.mjs +12 -0
- package/dist/index.d.ts +59 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +79 -0
- package/dist/node-registry.d.ts +4 -0
- package/dist/node-registry.d.ts.map +1 -0
- package/dist/nodes/AlertQuoteEditNode.d.ts +9 -0
- package/dist/nodes/AlertQuoteEditNode.d.ts.map +1 -0
- package/dist/nodes/AlertQuoteNode.d.ts +31 -0
- package/dist/nodes/AlertQuoteNode.d.ts.map +1 -0
- package/dist/nodes/BannerEditNode.d.ts +9 -0
- package/dist/nodes/BannerEditNode.d.ts.map +1 -0
- package/dist/nodes/BannerNode.d.ts +32 -0
- package/dist/nodes/BannerNode.d.ts.map +1 -0
- package/dist/nodes/CodeBlockEditNode.d.ts +9 -0
- package/dist/nodes/CodeBlockEditNode.d.ts.map +1 -0
- package/dist/nodes/CodeBlockNode.d.ts +28 -0
- package/dist/nodes/CodeBlockNode.d.ts.map +1 -0
- package/dist/nodes/DetailsNode.d.ts +28 -0
- package/dist/nodes/DetailsNode.d.ts.map +1 -0
- package/dist/nodes/FootnoteNode.d.ts +22 -0
- package/dist/nodes/FootnoteNode.d.ts.map +1 -0
- package/dist/nodes/FootnoteSectionEditNode.d.ts +10 -0
- package/dist/nodes/FootnoteSectionEditNode.d.ts.map +1 -0
- package/dist/nodes/FootnoteSectionNode.d.ts +25 -0
- package/dist/nodes/FootnoteSectionNode.d.ts.map +1 -0
- package/dist/nodes/GridContainerNode.d.ts +34 -0
- package/dist/nodes/GridContainerNode.d.ts.map +1 -0
- package/dist/nodes/GridEditNode.d.ts +9 -0
- package/dist/nodes/GridEditNode.d.ts.map +1 -0
- package/dist/nodes/HorizontalRuleNode.d.ts +19 -0
- package/dist/nodes/HorizontalRuleNode.d.ts.map +1 -0
- package/dist/nodes/ImageNode.d.ts +43 -0
- package/dist/nodes/ImageNode.d.ts.map +1 -0
- package/dist/nodes/KaTeXBlockNode.d.ts +24 -0
- package/dist/nodes/KaTeXBlockNode.d.ts.map +1 -0
- package/dist/nodes/KaTeXInlineNode.d.ts +22 -0
- package/dist/nodes/KaTeXInlineNode.d.ts.map +1 -0
- package/dist/nodes/LinkCardNode.d.ts +49 -0
- package/dist/nodes/LinkCardNode.d.ts.map +1 -0
- package/dist/nodes/MentionNode.d.ts +27 -0
- package/dist/nodes/MentionNode.d.ts.map +1 -0
- package/dist/nodes/MermaidNode.d.ts +24 -0
- package/dist/nodes/MermaidNode.d.ts.map +1 -0
- package/dist/nodes/SpoilerNode.d.ts +16 -0
- package/dist/nodes/SpoilerNode.d.ts.map +1 -0
- package/dist/nodes/TaskListItemNode.d.ts +21 -0
- package/dist/nodes/TaskListItemNode.d.ts.map +1 -0
- package/dist/nodes/VideoNode.d.ts +36 -0
- package/dist/nodes/VideoNode.d.ts.map +1 -0
- package/dist/nodes/index.d.ts +30 -0
- package/dist/nodes/index.d.ts.map +1 -0
- package/dist/nodes/shared.d.ts +3 -0
- package/dist/nodes/shared.d.ts.map +1 -0
- package/dist/plugins/AlertPlugin.d.ts +4 -0
- package/dist/plugins/AlertPlugin.d.ts.map +1 -0
- package/dist/plugins/AutoFocusPlugin.d.ts +2 -0
- package/dist/plugins/AutoFocusPlugin.d.ts.map +1 -0
- package/dist/plugins/AutoLinkPlugin.d.ts +7 -0
- package/dist/plugins/AutoLinkPlugin.d.ts.map +1 -0
- package/dist/plugins/DragDropPlugin.d.ts +2 -0
- package/dist/plugins/DragDropPlugin.d.ts.map +1 -0
- package/dist/plugins/EditorRefPlugin.d.ts +7 -0
- package/dist/plugins/EditorRefPlugin.d.ts.map +1 -0
- package/dist/plugins/FootnotePlugin.d.ts +4 -0
- package/dist/plugins/FootnotePlugin.d.ts.map +1 -0
- package/dist/plugins/HeadingAnchorPlugin.d.ts +2 -0
- package/dist/plugins/HeadingAnchorPlugin.d.ts.map +1 -0
- package/dist/plugins/ImagePlugin.d.ts +5 -0
- package/dist/plugins/ImagePlugin.d.ts.map +1 -0
- package/dist/plugins/ImageUploadPlugin.d.ts +14 -0
- package/dist/plugins/ImageUploadPlugin.d.ts.map +1 -0
- package/dist/plugins/KaTeXPlugin.d.ts +4 -0
- package/dist/plugins/KaTeXPlugin.d.ts.map +1 -0
- package/dist/plugins/MarkdownShortcutsPlugin.d.ts +2 -0
- package/dist/plugins/MarkdownShortcutsPlugin.d.ts.map +1 -0
- package/dist/plugins/MermaidPlugin.d.ts +3 -0
- package/dist/plugins/MermaidPlugin.d.ts.map +1 -0
- package/dist/plugins/OnChangePlugin.d.ts +8 -0
- package/dist/plugins/OnChangePlugin.d.ts.map +1 -0
- package/dist/plugins/SubmitShortcutPlugin.d.ts +6 -0
- package/dist/plugins/SubmitShortcutPlugin.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +16 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/renderer.d.ts +3 -0
- package/dist/renderer.d.ts.map +1 -0
- package/dist/renderer.mjs +4 -0
- package/dist/rich-editor.css +1328 -0
- package/dist/styles/article.css.d.ts +3 -0
- package/dist/styles/article.css.d.ts.map +1 -0
- package/dist/styles/comment.css.d.ts +3 -0
- package/dist/styles/comment.css.d.ts.map +1 -0
- package/dist/styles/details.css.d.ts +2 -0
- package/dist/styles/details.css.d.ts.map +1 -0
- package/dist/styles/grid.css.d.ts +2 -0
- package/dist/styles/grid.css.d.ts.map +1 -0
- package/dist/styles/index.d.ts +7 -0
- package/dist/styles/index.d.ts.map +1 -0
- package/dist/styles/katex.css.d.ts +2 -0
- package/dist/styles/katex.css.d.ts.map +1 -0
- package/dist/styles/note.css.d.ts +3 -0
- package/dist/styles/note.css.d.ts.map +1 -0
- package/dist/styles/shared.css.d.ts +2 -0
- package/dist/styles/shared.css.d.ts.map +1 -0
- package/dist/styles/theme.d.ts +3 -0
- package/dist/styles/theme.d.ts.map +1 -0
- package/dist/styles/vars.css.d.ts +8 -0
- package/dist/styles/vars.css.d.ts.map +1 -0
- package/dist/transformers/alert.d.ts +3 -0
- package/dist/transformers/alert.d.ts.map +1 -0
- package/dist/transformers/container.d.ts +3 -0
- package/dist/transformers/container.d.ts.map +1 -0
- package/dist/transformers/footnote.d.ts +10 -0
- package/dist/transformers/footnote.d.ts.map +1 -0
- package/dist/transformers/index.d.ts +10 -0
- package/dist/transformers/index.d.ts.map +1 -0
- package/dist/transformers/insert.d.ts +6 -0
- package/dist/transformers/insert.d.ts.map +1 -0
- package/dist/transformers/katex.d.ts +4 -0
- package/dist/transformers/katex.d.ts.map +1 -0
- package/dist/transformers/mention.d.ts +3 -0
- package/dist/transformers/mention.d.ts.map +1 -0
- package/dist/transformers/spoiler.d.ts +3 -0
- package/dist/transformers/spoiler.d.ts.map +1 -0
- package/dist/transformers/tasklist.d.ts +11 -0
- package/dist/transformers/tasklist.d.ts.map +1 -0
- package/dist/types/renderer-config.d.ts +67 -0
- package/dist/types/renderer-config.d.ts.map +1 -0
- package/dist/types/slash-menu.d.ts +11 -0
- package/dist/types/slash-menu.d.ts.map +1 -0
- package/dist/types.d.ts +32 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/lucide-dom.d.ts +4 -0
- package/dist/utils/lucide-dom.d.ts.map +1 -0
- package/dist/utils/shiki.d.ts +6 -0
- package/dist/utils/shiki.d.ts.map +1 -0
- package/dist/utils/thumbhash.d.ts +7 -0
- package/dist/utils/thumbhash.d.ts.map +1 -0
- package/dist/utils-CctLX9nj.js +2702 -0
- package/package.json +88 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC7D,YAAY,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,EACL,mBAAmB,EACnB,cAAc,GACf,MAAM,8BAA8B,C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AGhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAA;AAC1E,YAAY,EACV,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,YAAY,GACb,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAA;AACpE,YAAY,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC1E,YAAY,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAA;AACxE,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAG7E,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { F, I, b, d, e, f, R, a, c, g, s } from "./RichEditor-DeRWrU51.js";
|
|
2
|
+
import { R as R2 } from "./RichRenderer-BmM4j0fv.js";
|
|
3
|
+
import { $, f as f2, h, i, j, k, l, m, n, o, A, p, B, q, C, r, F as F2, s as s2, G, K, t, u, L, v, M, N, a as a2, w, b as b2, x, y, z, c as c2, D, E, H, I as I2, e as e2, g as g2, J, O, Q, S, T, U, V } from "./utils-CctLX9nj.js";
|
|
4
|
+
var richContent = "r8uj4t0";
|
|
5
|
+
var articleTheme = "_17pm0gw0";
|
|
6
|
+
var commentTheme = "_17pm0gw1";
|
|
7
|
+
var darkArticleTheme = "_17pm0gw2";
|
|
8
|
+
var darkCommentTheme = "_17pm0gw3";
|
|
9
|
+
var noteTheme = "_17pm0gw4";
|
|
10
|
+
var darkNoteTheme = "_17pm0gw5";
|
|
11
|
+
var vars = { color: { text: "var(--rc-text)", textSecondary: "var(--rc-text-secondary)", bg: "var(--rc-bg)", bgSecondary: "var(--rc-bg-secondary)", border: "var(--rc-border)", accent: "var(--rc-accent)", accentLight: "var(--rc-accent-light)", link: "var(--rc-link)", codeText: "var(--rc-code-text)", codeBg: "var(--rc-code-bg)", quoteBorder: "var(--rc-quote-border)", quoteBg: "var(--rc-quote-bg)", alertInfo: "var(--rc-alert-info)", alertWarning: "var(--rc-alert-warning)", alertTip: "var(--rc-alert-tip)", alertCaution: "var(--rc-alert-caution)", alertImportant: "var(--rc-alert-important)" }, spacing: { xs: "var(--rc-space-xs)", sm: "var(--rc-space-sm)", md: "var(--rc-space-md)", lg: "var(--rc-space-lg)", xl: "var(--rc-space-xl)" }, typography: { fontFamily: "var(--rc-font-family)", fontMono: "var(--rc-font-mono)", fontSizeBase: "var(--rc-font-size-base)", fontSizeSmall: "var(--rc-font-size-small)", fontSizeLarge: "var(--rc-font-size-large)", lineHeight: "var(--rc-line-height)", lineHeightTight: "var(--rc-line-height-tight)" }, borderRadius: { sm: "var(--rc-radius-sm)", md: "var(--rc-radius-md)", lg: "var(--rc-radius-lg)" } };
|
|
12
|
+
export {
|
|
13
|
+
$ as $createFootnoteSectionNode,
|
|
14
|
+
f2 as $createGridContainerNode,
|
|
15
|
+
h as $createLinkCardNode,
|
|
16
|
+
i as $createMermaidNode,
|
|
17
|
+
j as $isFootnoteSectionNode,
|
|
18
|
+
k as $isGridContainerNode,
|
|
19
|
+
l as $isKaTeXBlockNode,
|
|
20
|
+
m as $isKaTeXInlineNode,
|
|
21
|
+
n as $isLinkCardNode,
|
|
22
|
+
o as $isMermaidNode,
|
|
23
|
+
A as ALERT_LABELS,
|
|
24
|
+
p as ALERT_TYPES,
|
|
25
|
+
B as BANNER_LABELS,
|
|
26
|
+
q as BANNER_TYPES,
|
|
27
|
+
C as ColorSchemeProvider,
|
|
28
|
+
r as FootnoteDefinitionsProvider,
|
|
29
|
+
F2 as FootnotePlugin,
|
|
30
|
+
F as FootnoteSectionEditNode,
|
|
31
|
+
s2 as FootnoteSectionNode,
|
|
32
|
+
G as GridContainerNode,
|
|
33
|
+
I as INSERT_ALERT_COMMAND,
|
|
34
|
+
b as INSERT_IMAGE_COMMAND,
|
|
35
|
+
d as INSERT_KATEX_BLOCK_COMMAND,
|
|
36
|
+
e as INSERT_KATEX_INLINE_COMMAND,
|
|
37
|
+
f as INSERT_MERMAID_COMMAND,
|
|
38
|
+
K as KaTeXBlockNode,
|
|
39
|
+
t as KaTeXInlineNode,
|
|
40
|
+
u as KaTeXRenderer,
|
|
41
|
+
L as LinkCardNode,
|
|
42
|
+
v as LinkCardRenderer,
|
|
43
|
+
M as MermaidNode,
|
|
44
|
+
N as NESTED_EDITOR_NODES,
|
|
45
|
+
R as RichEditor,
|
|
46
|
+
R2 as RichRenderer,
|
|
47
|
+
a as allEditNodes,
|
|
48
|
+
a2 as allNodes,
|
|
49
|
+
articleTheme,
|
|
50
|
+
w as articleVariant,
|
|
51
|
+
b2 as builtinNodes,
|
|
52
|
+
commentTheme,
|
|
53
|
+
x as commentVariant,
|
|
54
|
+
y as computeImageMeta,
|
|
55
|
+
z as createRendererDecoration,
|
|
56
|
+
c as customEditNodes,
|
|
57
|
+
c2 as customNodes,
|
|
58
|
+
darkArticleTheme,
|
|
59
|
+
D as darkArticleVariant,
|
|
60
|
+
darkCommentTheme,
|
|
61
|
+
E as darkCommentVariant,
|
|
62
|
+
darkNoteTheme,
|
|
63
|
+
H as darkNoteVariant,
|
|
64
|
+
I2 as decodeThumbHash,
|
|
65
|
+
e2 as editorTheme,
|
|
66
|
+
g as getResolvedEditNodes,
|
|
67
|
+
g2 as getVariantClass,
|
|
68
|
+
noteTheme,
|
|
69
|
+
J as noteVariant,
|
|
70
|
+
richContent,
|
|
71
|
+
s as setResolvedEditNodes,
|
|
72
|
+
O as useColorScheme,
|
|
73
|
+
Q as useFootnoteContent,
|
|
74
|
+
S as useFootnoteDefinitions,
|
|
75
|
+
T as useFootnoteDisplayNumber,
|
|
76
|
+
U as useRendererConfig,
|
|
77
|
+
V as useRendererMode,
|
|
78
|
+
vars
|
|
79
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-registry.d.ts","sourceRoot":"","sources":["../src/node-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAMjD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,GAAG,IAAI,CAE3E;AAED,wBAAgB,oBAAoB,IAAI,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAEhE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { AlertQuoteNode, SerializedAlertQuoteNode } from './AlertQuoteNode';
|
|
4
|
+
export declare class AlertQuoteEditNode extends AlertQuoteNode {
|
|
5
|
+
static clone(node: AlertQuoteEditNode): AlertQuoteEditNode;
|
|
6
|
+
static importJSON(serializedNode: SerializedAlertQuoteNode): AlertQuoteEditNode;
|
|
7
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=AlertQuoteEditNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertQuoteEditNode.d.ts","sourceRoot":"","sources":["../../src/nodes/AlertQuoteEditNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAIzC,OAAO,EAAE,cAAc,EAAE,KAAK,wBAAwB,EAAE,MAAM,kBAAkB,CAAA;AAEhF,qBAAa,kBAAmB,SAAQ,cAAc;IACpD,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,kBAAkB,GAAG,kBAAkB;IAQ1D,MAAM,CAAC,UAAU,CACf,cAAc,EAAE,wBAAwB,GACvC,kBAAkB;IAWrB,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAOtE"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedEditorState, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { SlashMenuItemConfig } from '../types/slash-menu';
|
|
4
|
+
export type AlertType = 'note' | 'tip' | 'important' | 'warning' | 'caution';
|
|
5
|
+
export declare const ALERT_TYPES: AlertType[];
|
|
6
|
+
export declare const ALERT_LABELS: Record<AlertType, string>;
|
|
7
|
+
export type SerializedAlertQuoteNode = Spread<{
|
|
8
|
+
alertType: AlertType;
|
|
9
|
+
content: SerializedEditorState;
|
|
10
|
+
}, SerializedLexicalNode>;
|
|
11
|
+
export declare class AlertQuoteNode extends DecoratorNode<ReactElement> {
|
|
12
|
+
__alertType: AlertType;
|
|
13
|
+
__contentEditor: LexicalEditor;
|
|
14
|
+
static slashMenuItems: SlashMenuItemConfig[];
|
|
15
|
+
static getType(): string;
|
|
16
|
+
static clone(node: AlertQuoteNode): AlertQuoteNode;
|
|
17
|
+
constructor(alertType: AlertType, contentEditor?: LexicalEditor, key?: NodeKey);
|
|
18
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
19
|
+
updateDOM(prevNode: AlertQuoteNode, dom: HTMLElement): boolean;
|
|
20
|
+
isInline(): boolean;
|
|
21
|
+
getAlertType(): AlertType;
|
|
22
|
+
setAlertType(alertType: AlertType): void;
|
|
23
|
+
getContentEditor(): LexicalEditor;
|
|
24
|
+
getTextContent(): string;
|
|
25
|
+
static importJSON(serializedNode: SerializedAlertQuoteNode): AlertQuoteNode;
|
|
26
|
+
exportJSON(): SerializedAlertQuoteNode;
|
|
27
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
28
|
+
}
|
|
29
|
+
export declare function $createAlertQuoteNode(alertType: AlertType): AlertQuoteNode;
|
|
30
|
+
export declare function $isAlertQuoteNode(node: LexicalNode | null | undefined): node is AlertQuoteNode;
|
|
31
|
+
//# sourceMappingURL=AlertQuoteNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertQuoteNode.d.ts","sourceRoot":"","sources":["../../src/nodes/AlertQuoteNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAwC,aAAa,EAAE,MAAM,SAAS,CAAA;AAM7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAG9D,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAA;AAE5E,eAAO,MAAM,WAAW,EAAE,SAAS,EAMlC,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAMlD,CAAA;AAaD,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAC3C;IACE,SAAS,EAAE,SAAS,CAAA;IACpB,OAAO,EAAE,qBAAqB,CAAA;CAC/B,EACD,qBAAqB,CACtB,CAAA;AAED,qBAAa,cAAe,SAAQ,aAAa,CAAC,YAAY,CAAC;IAC7D,WAAW,EAAE,SAAS,CAAA;IACtB,eAAe,EAAE,aAAa,CAAA;IAE9B,MAAM,CAAC,cAAc,EAAE,mBAAmB,EAAE,CAqC3C;IAED,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc;gBAShD,SAAS,EAAE,SAAS,EACpB,aAAa,CAAC,EAAE,aAAa,EAC7B,GAAG,CAAC,EAAE,OAAO;IAOf,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAM7C,SAAS,CAAC,QAAQ,EAAE,cAAc,EAAE,GAAG,EAAE,WAAW,GAAG,OAAO;IAO9D,QAAQ,IAAI,OAAO;IAInB,YAAY,IAAI,SAAS;IAIzB,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAKxC,gBAAgB,IAAI,aAAa;IAIjC,cAAc,IAAI,MAAM;IAMxB,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,wBAAwB,GAAG,cAAc;IAW3E,UAAU,IAAI,wBAAwB;IAUtC,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAMtE;AAED,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,SAAS,GAAG,cAAc,CAE1E;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,cAAc,CAExB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { BannerNode, SerializedBannerNode } from './BannerNode';
|
|
4
|
+
export declare class BannerEditNode extends BannerNode {
|
|
5
|
+
static clone(node: BannerEditNode): BannerEditNode;
|
|
6
|
+
static importJSON(serializedNode: SerializedBannerNode): BannerEditNode;
|
|
7
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=BannerEditNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BannerEditNode.d.ts","sourceRoot":"","sources":["../../src/nodes/BannerEditNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EAGd,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAIzC,OAAO,EACL,UAAU,EAEV,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAA;AAMrB,qBAAa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc;IAQlD,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,oBAAoB,GAAG,cAAc;IA4BvE,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAOtE"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedEditorState, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { SlashMenuItemConfig } from '../types/slash-menu';
|
|
4
|
+
export type BannerType = 'note' | 'tip' | 'important' | 'warning' | 'caution';
|
|
5
|
+
export declare function normalizeBannerType(type: string): BannerType;
|
|
6
|
+
export declare const BANNER_TYPES: BannerType[];
|
|
7
|
+
export declare const BANNER_LABELS: Record<BannerType, string>;
|
|
8
|
+
export type SerializedBannerNode = Spread<{
|
|
9
|
+
bannerType: BannerType;
|
|
10
|
+
content: SerializedEditorState;
|
|
11
|
+
}, SerializedLexicalNode>;
|
|
12
|
+
export declare class BannerNode extends DecoratorNode<ReactElement> {
|
|
13
|
+
__bannerType: BannerType;
|
|
14
|
+
__contentEditor: LexicalEditor;
|
|
15
|
+
static slashMenuItems: SlashMenuItemConfig[];
|
|
16
|
+
static getType(): string;
|
|
17
|
+
static clone(node: BannerNode): BannerNode;
|
|
18
|
+
constructor(bannerType: BannerType, contentEditor?: LexicalEditor, key?: NodeKey);
|
|
19
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
20
|
+
updateDOM(prevNode: BannerNode, dom: HTMLElement): boolean;
|
|
21
|
+
isInline(): boolean;
|
|
22
|
+
getBannerType(): BannerType;
|
|
23
|
+
setBannerType(bannerType: BannerType): void;
|
|
24
|
+
getContentEditor(): LexicalEditor;
|
|
25
|
+
getTextContent(): string;
|
|
26
|
+
static importJSON(serializedNode: SerializedBannerNode): BannerNode;
|
|
27
|
+
exportJSON(): SerializedBannerNode;
|
|
28
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
29
|
+
}
|
|
30
|
+
export declare function $createBannerNode(bannerType: BannerType): BannerNode;
|
|
31
|
+
export declare function $isBannerNode(node: LexicalNode | null | undefined): node is BannerNode;
|
|
32
|
+
//# sourceMappingURL=BannerNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BannerNode.d.ts","sourceRoot":"","sources":["../../src/nodes/BannerNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAwC,aAAa,EAAE,MAAM,SAAS,CAAA;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAG9D,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAA;AAQ7E,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAG5D;AAED,eAAO,MAAM,YAAY,EAAE,UAAU,EAMpC,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAMpD,CAAA;AAaD,MAAM,MAAM,oBAAoB,GAAG,MAAM,CACvC;IACE,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,qBAAqB,CAAA;CAC/B,EACD,qBAAqB,CACtB,CAAA;AAMD,qBAAa,UAAW,SAAQ,aAAa,CAAC,YAAY,CAAC;IACzD,YAAY,EAAE,UAAU,CAAA;IACxB,eAAe,EAAE,aAAa,CAAA;IAE9B,MAAM,CAAC,cAAc,EAAE,mBAAmB,EAAE,CAa3C;IAED,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU;gBAKxC,UAAU,EAAE,UAAU,EACtB,aAAa,CAAC,EAAE,aAAa,EAC7B,GAAG,CAAC,EAAE,OAAO;IAOf,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAM7C,SAAS,CAAC,QAAQ,EAAE,UAAU,EAAE,GAAG,EAAE,WAAW,GAAG,OAAO;IAO1D,QAAQ,IAAI,OAAO;IAInB,aAAa,IAAI,UAAU;IAI3B,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI;IAK3C,gBAAgB,IAAI,aAAa;IAIjC,cAAc,IAAI,MAAM;IAMxB,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,oBAAoB,GAAG,UAAU;IA6BnE,UAAU,IAAI,oBAAoB;IAUlC,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAMtE;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAEpE;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,UAAU,CAEpB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { CodeBlockNode, SerializedCodeBlockNode } from './CodeBlockNode';
|
|
4
|
+
export declare class CodeBlockEditNode extends CodeBlockNode {
|
|
5
|
+
static clone(node: CodeBlockEditNode): CodeBlockEditNode;
|
|
6
|
+
static importJSON(serializedNode: SerializedCodeBlockNode): CodeBlockEditNode;
|
|
7
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=CodeBlockEditNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeBlockEditNode.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeBlockEditNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAIzC,OAAO,EAAE,aAAa,EAAE,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AAE7E,qBAAa,iBAAkB,SAAQ,aAAa;IAClD,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,iBAAiB,GAAG,iBAAiB;IAIxD,MAAM,CAAC,UAAU,CACf,cAAc,EAAE,uBAAuB,GACtC,iBAAiB;IAIpB,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAOtE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { SlashMenuItemConfig } from '../types/slash-menu';
|
|
4
|
+
export type SerializedCodeBlockNode = Spread<{
|
|
5
|
+
code: string;
|
|
6
|
+
language: string;
|
|
7
|
+
}, SerializedLexicalNode>;
|
|
8
|
+
export declare class CodeBlockNode extends DecoratorNode<ReactElement> {
|
|
9
|
+
__code: string;
|
|
10
|
+
__language: string;
|
|
11
|
+
static slashMenuItems: SlashMenuItemConfig[];
|
|
12
|
+
static getType(): string;
|
|
13
|
+
static clone(node: CodeBlockNode): CodeBlockNode;
|
|
14
|
+
constructor(code: string, language: string, key?: NodeKey);
|
|
15
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
16
|
+
updateDOM(): boolean;
|
|
17
|
+
isInline(): boolean;
|
|
18
|
+
static importJSON(serializedNode: SerializedCodeBlockNode): CodeBlockNode;
|
|
19
|
+
exportJSON(): SerializedCodeBlockNode;
|
|
20
|
+
getCode(): string;
|
|
21
|
+
setCode(code: string): void;
|
|
22
|
+
getLanguage(): string;
|
|
23
|
+
setLanguage(language: string): void;
|
|
24
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
25
|
+
}
|
|
26
|
+
export declare function $createCodeBlockNode(code: string, language: string): CodeBlockNode;
|
|
27
|
+
export declare function $isCodeBlockNode(node: LexicalNode | null | undefined): node is CodeBlockNode;
|
|
28
|
+
//# sourceMappingURL=CodeBlockNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeBlockNode.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeBlockNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAgB,aAAa,EAAE,MAAM,SAAS,CAAA;AAErD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAC1C;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,qBAAqB,CACtB,CAAA;AAED,qBAAa,aAAc,SAAQ,aAAa,CAAC,YAAY,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAElB,MAAM,CAAC,cAAc,EAAE,mBAAmB,EAAE,CAa3C;IAED,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,aAAa,GAAG,aAAa;gBAIpC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO;IAMzD,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAM7C,SAAS,IAAI,OAAO;IAIpB,QAAQ,IAAI,OAAO;IAInB,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,uBAAuB,GAAG,aAAa;IAIzE,UAAU,IAAI,uBAAuB;IAUrC,OAAO,IAAI,MAAM;IAIjB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAK3B,WAAW,IAAI,MAAM;IAIrB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAKnC,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAMtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GACf,aAAa,CAEf;AAED,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,aAAa,CAEvB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EditorConfig, LexicalNode, NodeKey, SerializedElementNode, Spread, ElementNode } from 'lexical';
|
|
2
|
+
import { SlashMenuItemConfig } from '../types/slash-menu';
|
|
3
|
+
export type SerializedDetailsNode = Spread<{
|
|
4
|
+
summary: string;
|
|
5
|
+
open: boolean;
|
|
6
|
+
}, SerializedElementNode>;
|
|
7
|
+
export declare class DetailsNode extends ElementNode {
|
|
8
|
+
__summary: string;
|
|
9
|
+
__open: boolean;
|
|
10
|
+
static slashMenuItems: SlashMenuItemConfig[];
|
|
11
|
+
static getType(): string;
|
|
12
|
+
static clone(node: DetailsNode): DetailsNode;
|
|
13
|
+
constructor(summary: string, open?: boolean, key?: NodeKey);
|
|
14
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
15
|
+
updateDOM(prevNode: DetailsNode, dom: HTMLElement): boolean;
|
|
16
|
+
static importJSON(serializedNode: SerializedDetailsNode): DetailsNode;
|
|
17
|
+
exportJSON(): SerializedDetailsNode;
|
|
18
|
+
getSummary(): string;
|
|
19
|
+
setSummary(summary: string): void;
|
|
20
|
+
getOpen(): boolean;
|
|
21
|
+
setOpen(open: boolean): void;
|
|
22
|
+
toggleOpen(): void;
|
|
23
|
+
getDOMSlot(element: HTMLElement): import('lexical').ElementDOMSlot<HTMLElement>;
|
|
24
|
+
isInline(): boolean;
|
|
25
|
+
}
|
|
26
|
+
export declare function $createDetailsNode(summary: string, open?: boolean): DetailsNode;
|
|
27
|
+
export declare function $isDetailsNode(node: LexicalNode | null | undefined): node is DetailsNode;
|
|
28
|
+
//# sourceMappingURL=DetailsNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailsNode.d.ts","sourceRoot":"","sources":["../../src/nodes/DetailsNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAgB,WAAW,EAAE,MAAM,SAAS,CAAA;AAInD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAY9D,MAAM,MAAM,qBAAqB,GAAG,MAAM,CACxC;IACE,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,OAAO,CAAA;CACd,EACD,qBAAqB,CACtB,CAAA;AAED,qBAAa,WAAY,SAAQ,WAAW;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;IAEf,MAAM,CAAC,cAAc,EAAE,mBAAmB,EAAE,CAa3C;IAED,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW;gBAIhC,OAAO,EAAE,MAAM,EAAE,IAAI,UAAQ,EAAE,GAAG,CAAC,EAAE,OAAO;IAMxD,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IA6B7C,SAAS,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,GAAG,OAAO;IAc3D,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,qBAAqB,GAAG,WAAW;IAIrE,UAAU,IAAI,qBAAqB;IAUnC,UAAU,IAAI,MAAM;IAIpB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAKjC,OAAO,IAAI,OAAO;IAIlB,OAAO,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI;IAK5B,UAAU,IAAI,IAAI;IAIlB,UAAU,CAAC,OAAO,EAAE,WAAW;IAO/B,QAAQ,IAAI,OAAO;CAGpB;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,UAAQ,GAAG,WAAW,CAE7E;AAED,wBAAgB,cAAc,CAC5B,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,WAAW,CAErB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
export type SerializedFootnoteNode = Spread<{
|
|
4
|
+
identifier: string;
|
|
5
|
+
}, SerializedLexicalNode>;
|
|
6
|
+
export declare class FootnoteNode extends DecoratorNode<ReactElement> {
|
|
7
|
+
__identifier: string;
|
|
8
|
+
static getType(): string;
|
|
9
|
+
static clone(node: FootnoteNode): FootnoteNode;
|
|
10
|
+
constructor(identifier: string, key?: NodeKey);
|
|
11
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
12
|
+
updateDOM(): boolean;
|
|
13
|
+
isInline(): boolean;
|
|
14
|
+
static importJSON(serializedNode: SerializedFootnoteNode): FootnoteNode;
|
|
15
|
+
exportJSON(): SerializedFootnoteNode;
|
|
16
|
+
getIdentifier(): string;
|
|
17
|
+
setIdentifier(identifier: string): void;
|
|
18
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
19
|
+
}
|
|
20
|
+
export declare function $createFootnoteNode(identifier: string): FootnoteNode;
|
|
21
|
+
export declare function $isFootnoteNode(node: LexicalNode | null | undefined): node is FootnoteNode;
|
|
22
|
+
//# sourceMappingURL=FootnoteNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FootnoteNode.d.ts","sourceRoot":"","sources":["../../src/nodes/FootnoteNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,MAAM,MAAM,sBAAsB,GAAG,MAAM,CACzC;IACE,UAAU,EAAE,MAAM,CAAA;CACnB,EACD,qBAAqB,CACtB,CAAA;AAED,qBAAa,YAAa,SAAQ,aAAa,CAAC,YAAY,CAAC;IAC3D,YAAY,EAAE,MAAM,CAAA;IAEpB,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,GAAG,YAAY;gBAIlC,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO;IAK7C,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAM7C,SAAS,IAAI,OAAO;IAIpB,QAAQ,IAAI,OAAO;IAInB,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,sBAAsB,GAAG,YAAY;IAIvE,UAAU,IAAI,sBAAsB;IASpC,aAAa,IAAI,MAAM;IAIvB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAKvC,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAKtE;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,YAAY,CAEpE;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,YAAY,CAEtB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { FootnoteSectionNode, SerializedFootnoteSectionNode } from './FootnoteSectionNode';
|
|
4
|
+
export declare class FootnoteSectionEditNode extends FootnoteSectionNode {
|
|
5
|
+
static getType(): string;
|
|
6
|
+
static clone(node: FootnoteSectionEditNode): FootnoteSectionEditNode;
|
|
7
|
+
static importJSON(serializedNode: SerializedFootnoteSectionNode): FootnoteSectionEditNode;
|
|
8
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=FootnoteSectionEditNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FootnoteSectionEditNode.d.ts","sourceRoot":"","sources":["../../src/nodes/FootnoteSectionEditNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAIzC,OAAO,EACL,mBAAmB,EACnB,KAAK,6BAA6B,EACnC,MAAM,uBAAuB,CAAA;AAE9B,qBAAa,uBAAwB,SAAQ,mBAAmB;IAC9D,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,uBAAuB,GAAG,uBAAuB;IAIpE,MAAM,CAAC,UAAU,CACf,cAAc,EAAE,6BAA6B,GAC5C,uBAAuB;IAI1B,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAMtE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
export type SerializedFootnoteSectionNode = Spread<{
|
|
4
|
+
definitions: Record<string, string>;
|
|
5
|
+
}, SerializedLexicalNode>;
|
|
6
|
+
export declare class FootnoteSectionNode extends DecoratorNode<ReactElement> {
|
|
7
|
+
__definitions: Record<string, string>;
|
|
8
|
+
static getType(): string;
|
|
9
|
+
static clone(node: FootnoteSectionNode): FootnoteSectionNode;
|
|
10
|
+
constructor(definitions: Record<string, string>, key?: NodeKey);
|
|
11
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
12
|
+
updateDOM(): boolean;
|
|
13
|
+
isInline(): boolean;
|
|
14
|
+
static importJSON(serializedNode: SerializedFootnoteSectionNode): FootnoteSectionNode;
|
|
15
|
+
exportJSON(): SerializedFootnoteSectionNode;
|
|
16
|
+
getDefinitions(): Record<string, string>;
|
|
17
|
+
setDefinitions(definitions: Record<string, string>): void;
|
|
18
|
+
getDefinition(identifier: string): string | undefined;
|
|
19
|
+
setDefinition(identifier: string, content: string): void;
|
|
20
|
+
removeDefinition(identifier: string): void;
|
|
21
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
22
|
+
}
|
|
23
|
+
export declare function $createFootnoteSectionNode(definitions?: Record<string, string>): FootnoteSectionNode;
|
|
24
|
+
export declare function $isFootnoteSectionNode(node: LexicalNode | null | undefined): node is FootnoteSectionNode;
|
|
25
|
+
//# sourceMappingURL=FootnoteSectionNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FootnoteSectionNode.d.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AAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAUtE;AAED,wBAAgB,0BAA0B,CACxC,WAAW,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACvC,mBAAmB,CAErB;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,mBAAmB,CAE7B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedEditorState, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { SlashMenuItemConfig } from '../types/slash-menu';
|
|
4
|
+
export type SerializedGridContainerNode = Spread<{
|
|
5
|
+
cols: number;
|
|
6
|
+
gap?: string;
|
|
7
|
+
cells: SerializedEditorState[];
|
|
8
|
+
}, SerializedLexicalNode>;
|
|
9
|
+
export declare class GridContainerNode extends DecoratorNode<ReactElement> {
|
|
10
|
+
__cols: number;
|
|
11
|
+
__gap: string;
|
|
12
|
+
__cellEditors: LexicalEditor[];
|
|
13
|
+
static slashMenuItems: SlashMenuItemConfig[];
|
|
14
|
+
static getType(): string;
|
|
15
|
+
static clone(node: GridContainerNode): GridContainerNode;
|
|
16
|
+
constructor(cols?: number, gap?: string, cellEditors?: LexicalEditor[], key?: NodeKey);
|
|
17
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
18
|
+
updateDOM(): boolean;
|
|
19
|
+
isInline(): boolean;
|
|
20
|
+
getCols(): number;
|
|
21
|
+
setCols(cols: number): void;
|
|
22
|
+
getGap(): string;
|
|
23
|
+
setGap(gap: string): void;
|
|
24
|
+
getCellEditors(): LexicalEditor[];
|
|
25
|
+
addCells(count: number): void;
|
|
26
|
+
removeCells(count: number): void;
|
|
27
|
+
getTextContent(): string;
|
|
28
|
+
static importJSON(serializedNode: SerializedGridContainerNode): GridContainerNode;
|
|
29
|
+
exportJSON(): SerializedGridContainerNode;
|
|
30
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
31
|
+
}
|
|
32
|
+
export declare function $createGridContainerNode(cols?: number, gap?: string): GridContainerNode;
|
|
33
|
+
export declare function $isGridContainerNode(node: LexicalNode | null | undefined): node is GridContainerNode;
|
|
34
|
+
//# sourceMappingURL=GridContainerNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridContainerNode.d.ts","sourceRoot":"","sources":["../../src/nodes/GridContainerNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAwC,aAAa,EAAE,MAAM,SAAS,CAAA;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAG9D,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAC9C;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,qBAAqB,EAAE,CAAA;CAC/B,EACD,qBAAqB,CACtB,CAAA;AAsBD,qBAAa,iBAAkB,SAAQ,aAAa,CAAC,YAAY,CAAC;IAChE,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,aAAa,EAAE,CAAA;IAE9B,MAAM,CAAC,cAAc,EAAE,mBAAmB,EAAE,CAa3C;IAED,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,iBAAiB,GAAG,iBAAiB;gBAUtD,IAAI,SAAI,EACR,GAAG,CAAC,EAAE,MAAM,EACZ,WAAW,CAAC,EAAE,aAAa,EAAE,EAC7B,GAAG,CAAC,EAAE,OAAO;IAcf,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAM7C,SAAS,IAAI,OAAO;IAIpB,QAAQ,IAAI,OAAO;IAInB,OAAO,IAAI,MAAM;IAIjB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAW3B,MAAM,IAAI,MAAM;IAIhB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAKzB,cAAc,IAAI,aAAa,EAAE;IAIjC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAO7B,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAehC,cAAc,IAAI,MAAM;IAQxB,MAAM,CAAC,UAAU,CACf,cAAc,EAAE,2BAA2B,GAC1C,iBAAiB;IAwCpB,UAAU,IAAI,2BAA2B;IAazC,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAOtE;AAED,wBAAgB,wBAAwB,CACtC,IAAI,SAAI,EACR,GAAG,CAAC,EAAE,MAAM,GACX,iBAAiB,CAEnB;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,iBAAiB,CAE3B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { GridContainerNode, SerializedGridContainerNode } from './GridContainerNode';
|
|
4
|
+
export declare class GridEditNode extends GridContainerNode {
|
|
5
|
+
static clone(node: GridEditNode): GridEditNode;
|
|
6
|
+
static importJSON(serializedNode: SerializedGridContainerNode): GridEditNode;
|
|
7
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=GridEditNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GridEditNode.d.ts","sourceRoot":"","sources":["../../src/nodes/GridEditNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EAGd,MAAM,SAAS,CAAA;AAEhB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,EACL,iBAAiB,EACjB,KAAK,2BAA2B,EACjC,MAAM,qBAAqB,CAAA;AAuB5B,qBAAa,YAAa,SAAQ,iBAAiB;IACjD,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,YAAY,GAAG,YAAY;IAS9C,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,2BAA2B,GAAG,YAAY;IAuC5E,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAQtE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EditorConfig, LexicalNode, NodeKey, SerializedLexicalNode, DecoratorNode } from 'lexical';
|
|
2
|
+
export type SerializedHorizontalRuleNode = SerializedLexicalNode;
|
|
3
|
+
/**
|
|
4
|
+
* Horizontal rule node. Replaces deprecated @lexical/react LexicalHorizontalRuleNode.
|
|
5
|
+
* Renders <hr> with class "rich-hr" for styling.
|
|
6
|
+
*/
|
|
7
|
+
export declare class HorizontalRuleNode extends DecoratorNode<null> {
|
|
8
|
+
static getType(): string;
|
|
9
|
+
static clone(node: HorizontalRuleNode): HorizontalRuleNode;
|
|
10
|
+
constructor(key?: NodeKey);
|
|
11
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
12
|
+
updateDOM(): boolean;
|
|
13
|
+
static importJSON(_serializedNode: SerializedHorizontalRuleNode): HorizontalRuleNode;
|
|
14
|
+
exportJSON(): SerializedHorizontalRuleNode;
|
|
15
|
+
decorate(): null;
|
|
16
|
+
}
|
|
17
|
+
export declare function $createHorizontalRuleNode(): HorizontalRuleNode;
|
|
18
|
+
export declare function $isHorizontalRuleNode(node: LexicalNode | null | undefined): node is HorizontalRuleNode;
|
|
19
|
+
//# sourceMappingURL=HorizontalRuleNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalRuleNode.d.ts","sourceRoot":"","sources":["../../src/nodes/HorizontalRuleNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,WAAW,EACX,OAAO,EACP,qBAAqB,EACtB,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,MAAM,MAAM,4BAA4B,GAAG,qBAAqB,CAAA;AAEhE;;;GAGG;AACH,qBAAa,kBAAmB,SAAQ,aAAa,CAAC,IAAI,CAAC;IACzD,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,kBAAkB,GAAG,kBAAkB;gBAI9C,GAAG,CAAC,EAAE,OAAO;IAIzB,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAQ7C,SAAS,IAAI,OAAO;IAIpB,MAAM,CAAC,UAAU,CACf,eAAe,EAAE,4BAA4B,GAC5C,kBAAkB;IAIrB,UAAU,IAAI,4BAA4B;IAQ1C,QAAQ,IAAI,IAAI;CAGjB;AAED,wBAAgB,yBAAyB,IAAI,kBAAkB,CAE9D;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,kBAAkB,CAE5B"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { SlashMenuItemConfig } from '../types/slash-menu';
|
|
4
|
+
export type SerializedImageNode = Spread<{
|
|
5
|
+
src: string;
|
|
6
|
+
altText: string;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
caption?: string;
|
|
10
|
+
thumbhash?: string;
|
|
11
|
+
accent?: string;
|
|
12
|
+
}, SerializedLexicalNode>;
|
|
13
|
+
export interface ImageNodePayload {
|
|
14
|
+
src: string;
|
|
15
|
+
altText: string;
|
|
16
|
+
width?: number;
|
|
17
|
+
height?: number;
|
|
18
|
+
caption?: string;
|
|
19
|
+
thumbhash?: string;
|
|
20
|
+
accent?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare class ImageNode extends DecoratorNode<ReactElement> {
|
|
23
|
+
__src: string;
|
|
24
|
+
__altText: string;
|
|
25
|
+
__width?: number;
|
|
26
|
+
__height?: number;
|
|
27
|
+
__caption?: string;
|
|
28
|
+
__thumbhash?: string;
|
|
29
|
+
__accent?: string;
|
|
30
|
+
static slashMenuItems: SlashMenuItemConfig[];
|
|
31
|
+
static getType(): string;
|
|
32
|
+
static clone(node: ImageNode): ImageNode;
|
|
33
|
+
constructor(payload: ImageNodePayload, key?: NodeKey);
|
|
34
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
35
|
+
updateDOM(): boolean;
|
|
36
|
+
isInline(): boolean;
|
|
37
|
+
static importJSON(serializedNode: SerializedImageNode): ImageNode;
|
|
38
|
+
exportJSON(): SerializedImageNode;
|
|
39
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
40
|
+
}
|
|
41
|
+
export declare function $createImageNode(payload: ImageNodePayload): ImageNode;
|
|
42
|
+
export declare function $isImageNode(node: LexicalNode | null | undefined): node is ImageNode;
|
|
43
|
+
//# sourceMappingURL=ImageNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageNode.d.ts","sourceRoot":"","sources":["../../src/nodes/ImageNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAgB,aAAa,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,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAM7C,SAAS,IAAI,OAAO;IAIpB,QAAQ,IAAI,OAAO;IAInB,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,mBAAmB,GAAG,SAAS;IAYjE,UAAU,IAAI,mBAAmB;IAejC,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAWtE;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,GAAG,SAAS,CAErE;AAED,wBAAgB,YAAY,CAC1B,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,SAAS,CAEnB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { SlashMenuItemConfig } from '../types/slash-menu';
|
|
4
|
+
export type SerializedKaTeXBlockNode = Spread<{
|
|
5
|
+
equation: string;
|
|
6
|
+
}, SerializedLexicalNode>;
|
|
7
|
+
export declare class KaTeXBlockNode extends DecoratorNode<ReactElement> {
|
|
8
|
+
__equation: string;
|
|
9
|
+
static slashMenuItems: SlashMenuItemConfig[];
|
|
10
|
+
static getType(): string;
|
|
11
|
+
static clone(node: KaTeXBlockNode): KaTeXBlockNode;
|
|
12
|
+
constructor(equation: string, key?: NodeKey);
|
|
13
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
14
|
+
updateDOM(): boolean;
|
|
15
|
+
isInline(): boolean;
|
|
16
|
+
static importJSON(serializedNode: SerializedKaTeXBlockNode): KaTeXBlockNode;
|
|
17
|
+
exportJSON(): SerializedKaTeXBlockNode;
|
|
18
|
+
getEquation(): string;
|
|
19
|
+
setEquation(equation: string): void;
|
|
20
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
21
|
+
}
|
|
22
|
+
export declare function $createKaTeXBlockNode(equation: string): KaTeXBlockNode;
|
|
23
|
+
export declare function $isKaTeXBlockNode(node: LexicalNode | null | undefined): node is KaTeXBlockNode;
|
|
24
|
+
//# sourceMappingURL=KaTeXBlockNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KaTeXBlockNode.d.ts","sourceRoot":"","sources":["../../src/nodes/KaTeXBlockNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAgB,aAAa,EAAE,MAAM,SAAS,CAAA;AAErD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAC3C;IACE,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,qBAAqB,CACtB,CAAA;AAED,qBAAa,cAAe,SAAQ,aAAa,CAAC,YAAY,CAAC;IAC7D,UAAU,EAAE,MAAM,CAAA;IAElB,MAAM,CAAC,cAAc,EAAE,mBAAmB,EAAE,CAa3C;IAED,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc;gBAItC,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO;IAK3C,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAM7C,SAAS,IAAI,OAAO;IAIpB,QAAQ,IAAI,OAAO;IAInB,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,wBAAwB,GAAG,cAAc;IAI3E,UAAU,IAAI,wBAAwB;IAStC,WAAW,IAAI,MAAM;IAIrB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAKnC,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAMtE;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAEtE;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,cAAc,CAExB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
export type SerializedKaTeXInlineNode = Spread<{
|
|
4
|
+
equation: string;
|
|
5
|
+
}, SerializedLexicalNode>;
|
|
6
|
+
export declare class KaTeXInlineNode extends DecoratorNode<ReactElement> {
|
|
7
|
+
__equation: string;
|
|
8
|
+
static getType(): string;
|
|
9
|
+
static clone(node: KaTeXInlineNode): KaTeXInlineNode;
|
|
10
|
+
constructor(equation: string, key?: NodeKey);
|
|
11
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
12
|
+
updateDOM(): boolean;
|
|
13
|
+
isInline(): boolean;
|
|
14
|
+
static importJSON(serializedNode: SerializedKaTeXInlineNode): KaTeXInlineNode;
|
|
15
|
+
exportJSON(): SerializedKaTeXInlineNode;
|
|
16
|
+
getEquation(): string;
|
|
17
|
+
setEquation(equation: string): void;
|
|
18
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
19
|
+
}
|
|
20
|
+
export declare function $createKaTeXInlineNode(equation: string): KaTeXInlineNode;
|
|
21
|
+
export declare function $isKaTeXInlineNode(node: LexicalNode | null | undefined): node is KaTeXInlineNode;
|
|
22
|
+
//# sourceMappingURL=KaTeXInlineNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KaTeXInlineNode.d.ts","sourceRoot":"","sources":["../../src/nodes/KaTeXInlineNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAC5C;IACE,QAAQ,EAAE,MAAM,CAAA;CACjB,EACD,qBAAqB,CACtB,CAAA;AAED,qBAAa,eAAgB,SAAQ,aAAa,CAAC,YAAY,CAAC;IAC9D,UAAU,EAAE,MAAM,CAAA;IAElB,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,eAAe,GAAG,eAAe;gBAIxC,QAAQ,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO;IAK3C,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAI7C,SAAS,IAAI,OAAO;IAIpB,QAAQ,IAAI,OAAO;IAInB,MAAM,CAAC,UAAU,CACf,cAAc,EAAE,yBAAyB,GACxC,eAAe;IAIlB,UAAU,IAAI,yBAAyB;IASvC,WAAW,IAAI,MAAM;IAIrB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAKnC,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAMtE;AAED,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe,CAExE;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,eAAe,CAEzB"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedLexicalNode, Spread, DecoratorNode } from 'lexical';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
import { SlashMenuItemConfig } from '../types/slash-menu';
|
|
4
|
+
export type SerializedLinkCardNode = Spread<{
|
|
5
|
+
url: string;
|
|
6
|
+
source?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
favicon?: string;
|
|
11
|
+
image?: string;
|
|
12
|
+
}, SerializedLexicalNode>;
|
|
13
|
+
export interface LinkCardNodePayload {
|
|
14
|
+
url: string;
|
|
15
|
+
source?: string;
|
|
16
|
+
id?: string;
|
|
17
|
+
title?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
favicon?: string;
|
|
20
|
+
image?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare class LinkCardNode extends DecoratorNode<ReactElement> {
|
|
23
|
+
__url: string;
|
|
24
|
+
__source?: string;
|
|
25
|
+
__id?: string;
|
|
26
|
+
__title?: string;
|
|
27
|
+
__description?: string;
|
|
28
|
+
__favicon?: string;
|
|
29
|
+
__image?: string;
|
|
30
|
+
static slashMenuItems: SlashMenuItemConfig[];
|
|
31
|
+
static getType(): string;
|
|
32
|
+
static clone(node: LinkCardNode): LinkCardNode;
|
|
33
|
+
constructor(payload: LinkCardNodePayload, key?: NodeKey);
|
|
34
|
+
createDOM(_config: EditorConfig): HTMLElement;
|
|
35
|
+
updateDOM(): boolean;
|
|
36
|
+
isInline(): boolean;
|
|
37
|
+
static importJSON(serializedNode: SerializedLinkCardNode): LinkCardNode;
|
|
38
|
+
exportJSON(): SerializedLinkCardNode;
|
|
39
|
+
getUrl(): string;
|
|
40
|
+
setUrl(url: string): void;
|
|
41
|
+
getSource(): string | undefined;
|
|
42
|
+
setSource(source: string | undefined): void;
|
|
43
|
+
getId(): string | undefined;
|
|
44
|
+
setId(id: string | undefined): void;
|
|
45
|
+
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
46
|
+
}
|
|
47
|
+
export declare function $createLinkCardNode(payload: LinkCardNodePayload): LinkCardNode;
|
|
48
|
+
export declare function $isLinkCardNode(node: LexicalNode | null | undefined): node is LinkCardNode;
|
|
49
|
+
//# sourceMappingURL=LinkCardNode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkCardNode.d.ts","sourceRoot":"","sources":["../../src/nodes/LinkCardNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAA;AAChB,OAAO,EAAgB,aAAa,EAAE,MAAM,SAAS,CAAA;AAErD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,MAAM,MAAM,sBAAsB,GAAG,MAAM,CACzC;IACE,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,EACD,qBAAqB,CACtB,CAAA;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,qBAAa,YAAa,SAAQ,aAAa,CAAC,YAAY,CAAC;IAC3D,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EA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