quoin-editor 1.2.3 → 1.4.0
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/CHANGELOG.md +21 -0
- package/THIRD_PARTY_NOTICES.md +47 -0
- package/dist/ai.cjs +69 -70
- package/dist/ai.cjs.map +1 -1
- package/dist/ai.d.cts +4 -3
- package/dist/ai.d.ts +4 -3
- package/dist/ai.js +4 -5
- package/dist/ai.js.map +1 -1
- package/dist/catalogue.cjs +20 -20
- package/dist/catalogue.d.cts +10 -9
- package/dist/catalogue.d.ts +10 -9
- package/dist/catalogue.js +12 -12
- package/dist/{chunk-35CHEARK.cjs → chunk-3NVFHJFS.cjs} +42 -41
- package/dist/chunk-3NVFHJFS.cjs.map +1 -0
- package/dist/{chunk-BR25RE7U.js → chunk-3YA7FYEL.js} +9 -6
- package/dist/chunk-3YA7FYEL.js.map +1 -0
- package/dist/{chunk-CZ5ZXBWC.cjs → chunk-65WK575V.cjs} +762 -306
- package/dist/chunk-65WK575V.cjs.map +1 -0
- package/dist/{chunk-Y7UKOBSY.js → chunk-6LOYAC5N.js} +7 -6
- package/dist/chunk-6LOYAC5N.js.map +1 -0
- package/dist/{chunk-KMIWUFNM.cjs → chunk-7WSBPD6Z.cjs} +96 -93
- package/dist/chunk-7WSBPD6Z.cjs.map +1 -0
- package/dist/{chunk-TARBFPWC.js → chunk-AC4AFDTI.js} +6 -6
- package/dist/{chunk-TARBFPWC.js.map → chunk-AC4AFDTI.js.map} +1 -1
- package/dist/{chunk-SCFW4JFT.cjs → chunk-AZ2ZNSFN.cjs} +43 -44
- package/dist/chunk-AZ2ZNSFN.cjs.map +1 -0
- package/dist/{chunk-ZVCBTQA3.cjs → chunk-AZF7B2AE.cjs} +10 -10
- package/dist/{chunk-ZVCBTQA3.cjs.map → chunk-AZF7B2AE.cjs.map} +1 -1
- package/dist/{chunk-DQV37F7J.cjs → chunk-FQDNF7MF.cjs} +68 -69
- package/dist/chunk-FQDNF7MF.cjs.map +1 -0
- package/dist/{chunk-25HNTVEI.js → chunk-G25FMFEZ.js} +3 -3
- package/dist/{chunk-25HNTVEI.js.map → chunk-G25FMFEZ.js.map} +1 -1
- package/dist/{chunk-A5LIN7FO.cjs → chunk-H5FM6I5W.cjs} +26 -26
- package/dist/{chunk-A5LIN7FO.cjs.map → chunk-H5FM6I5W.cjs.map} +1 -1
- package/dist/{chunk-YCVNFRL3.js → chunk-IJKGF6SC.js} +4 -4
- package/dist/{chunk-YCVNFRL3.js.map → chunk-IJKGF6SC.js.map} +1 -1
- package/dist/{chunk-4HFE3YFF.js → chunk-KRLHGVJV.js} +8 -7
- package/dist/chunk-KRLHGVJV.js.map +1 -0
- package/dist/{chunk-J552D3A7.js → chunk-MQTLZTIM.js} +448 -25
- package/dist/chunk-MQTLZTIM.js.map +1 -0
- package/dist/{chunk-KXOAV7AT.js → chunk-OS2O6IKX.js} +135 -12
- package/dist/chunk-OS2O6IKX.js.map +1 -0
- package/dist/{chunk-OGBD74IR.cjs → chunk-QJ34MOFV.cjs} +187 -117
- package/dist/chunk-QJ34MOFV.cjs.map +1 -0
- package/dist/{chunk-SAPLIQF2.js → chunk-QOIVLYMW.js} +4 -4
- package/dist/{chunk-SAPLIQF2.js.map → chunk-QOIVLYMW.js.map} +1 -1
- package/dist/{chunk-IGEWAL2J.cjs → chunk-QPOUONJ7.cjs} +32 -31
- package/dist/chunk-QPOUONJ7.cjs.map +1 -0
- package/dist/{chunk-K7JEN3KT.cjs → chunk-QR2NIDUK.cjs} +4 -4
- package/dist/{chunk-K7JEN3KT.cjs.map → chunk-QR2NIDUK.cjs.map} +1 -1
- package/dist/{chunk-4D7HZRNC.js → chunk-R7MYG522.js} +3 -3
- package/dist/{chunk-4D7HZRNC.js.map → chunk-R7MYG522.js.map} +1 -1
- package/dist/{chunk-BNUQ647G.js → chunk-STCJWXP5.js} +5 -6
- package/dist/chunk-STCJWXP5.js.map +1 -0
- package/dist/{chunk-BJIWN7BQ.cjs → chunk-STKGRXSA.cjs} +10 -10
- package/dist/{chunk-BJIWN7BQ.cjs.map → chunk-STKGRXSA.cjs.map} +1 -1
- package/dist/{chunk-5ANJW76W.cjs → chunk-VUYJGFUA.cjs} +23 -22
- package/dist/chunk-VUYJGFUA.cjs.map +1 -0
- package/dist/{chunk-FOEEDJ5R.js → chunk-VVS6JJLI.js} +7 -6
- package/dist/chunk-VVS6JJLI.js.map +1 -0
- package/dist/{chunk-G37GQ5JE.cjs → chunk-VZZPCYA3.cjs} +135 -12
- package/dist/chunk-VZZPCYA3.cjs.map +1 -0
- package/dist/{chunk-JYKSWEXT.cjs → chunk-WN7BZDNH.cjs} +6 -6
- package/dist/{chunk-JYKSWEXT.cjs.map → chunk-WN7BZDNH.cjs.map} +1 -1
- package/dist/{chunk-CCOPHCXX.js → chunk-XFEDJEJF.js} +109 -39
- package/dist/chunk-XFEDJEJF.js.map +1 -0
- package/dist/{chunk-I7OOIEZZ.js → chunk-YEQEBJPM.js} +5 -6
- package/dist/chunk-YEQEBJPM.js.map +1 -0
- package/dist/comments.cjs +54 -54
- package/dist/comments.cjs.map +1 -1
- package/dist/comments.d.cts +4 -3
- package/dist/comments.d.ts +4 -3
- package/dist/comments.js +8 -8
- package/dist/comments.js.map +1 -1
- package/dist/diff.d.cts +7 -5
- package/dist/diff.d.ts +7 -5
- package/dist/docx.cjs +1 -1
- package/dist/docx.d.cts +3 -2
- package/dist/docx.d.ts +3 -2
- package/dist/docx.js +1 -1
- package/dist/embed.cjs +6 -6
- package/dist/embed.d.cts +5 -4
- package/dist/embed.d.ts +5 -4
- package/dist/embed.js +4 -4
- package/dist/emoji-data.cjs +272 -263
- package/dist/emoji-data.cjs.map +1 -1
- package/dist/emoji-data.js +272 -263
- package/dist/emoji-data.js.map +1 -1
- package/dist/{emoji-extension-CmPlRssm.d.ts → emoji-extension-C3o_Y5uC.d.cts} +3 -2
- package/dist/{emoji-extension-zJ6F7hW8.d.cts → emoji-extension-gRKnbW8G.d.ts} +3 -2
- package/dist/emoji.cjs +7 -7
- package/dist/emoji.d.cts +6 -5
- package/dist/emoji.d.ts +6 -5
- package/dist/emoji.js +4 -4
- package/dist/engine.cjs +43 -43
- package/dist/engine.d.cts +7 -6
- package/dist/engine.d.ts +7 -6
- package/dist/engine.js +1 -1
- package/dist/{find-extension-CmFehyul.d.ts → find-extension-BGGsJMu4.d.cts} +3 -2
- package/dist/{find-extension-BcRyE9K4.d.cts → find-extension-B_Ctrs6T.d.ts} +3 -2
- package/dist/find.cjs +8 -8
- package/dist/find.d.cts +5 -4
- package/dist/find.d.ts +5 -4
- package/dist/find.js +4 -4
- package/dist/headless.cjs +59 -59
- package/dist/headless.d.cts +10 -9
- package/dist/headless.d.ts +10 -9
- package/dist/headless.js +2 -2
- package/dist/{index-DiCGV60d.d.ts → index-CsG7OQoq.d.cts} +3 -2
- package/dist/{index-CFPmCee4.d.cts → index-h1llgZM-.d.ts} +3 -2
- package/dist/index.cjs +71 -71
- package/dist/index.d.cts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +3 -3
- package/dist/math.cjs +7 -7
- package/dist/math.d.cts +5 -4
- package/dist/math.d.ts +5 -4
- package/dist/math.js +5 -5
- package/dist/mention.cjs +7 -7
- package/dist/mention.d.cts +4 -3
- package/dist/mention.d.ts +4 -3
- package/dist/mention.js +5 -5
- package/dist/presence.cjs +33 -33
- package/dist/presence.d.cts +5 -4
- package/dist/presence.d.ts +5 -4
- package/dist/presence.js +5 -5
- package/dist/{registry-CXegaw5k.d.ts → registry-DdQaddP1.d.cts} +2 -1
- package/dist/{registry-CXegaw5k.d.cts → registry-DdQaddP1.d.ts} +2 -1
- package/dist/{stats-extension-DisOEbbI.d.ts → stats-extension-XqOTvRaq.d.cts} +3 -2
- package/dist/{stats-extension-Dt1lgP3m.d.cts → stats-extension-oD6D1cYy.d.ts} +3 -2
- package/dist/stats.cjs +7 -7
- package/dist/stats.d.cts +6 -5
- package/dist/stats.d.ts +6 -5
- package/dist/stats.js +4 -4
- package/dist/styles.css +1 -1
- package/dist/{table-extension-DxZz3jqp.d.cts → table-extension-BP47hHoz.d.cts} +3 -2
- package/dist/{table-extension-BTMJnT7J.d.ts → table-extension-v6VB59bF.d.ts} +3 -2
- package/dist/table.cjs +23 -23
- package/dist/table.d.cts +5 -4
- package/dist/table.d.ts +5 -4
- package/dist/table.js +4 -4
- package/dist/{to-html-CNCITCln.d.cts → to-html-1oD-CDle.d.cts} +3 -2
- package/dist/{to-html-C5t7xyaM.d.ts → to-html-CLRBCX0I.d.ts} +3 -2
- package/dist/{toc-extension-DGHywOBv.d.cts → toc-extension-CI6jNOYl.d.cts} +3 -2
- package/dist/{toc-extension-CR9U-l6j.d.ts → toc-extension-CTHWjNJC.d.ts} +3 -2
- package/dist/toc.cjs +7 -7
- package/dist/toc.d.cts +5 -4
- package/dist/toc.d.ts +5 -4
- package/dist/toc.js +4 -4
- package/dist/{types-C6_QkXzy.d.ts → types-BjLcmV00.d.ts} +3 -26
- package/dist/{types-DULc8wwg.d.ts → types-CQ8Vw_7N.d.cts} +27 -1
- package/dist/{types-DULc8wwg.d.cts → types-CQ8Vw_7N.d.ts} +27 -1
- package/dist/{types-CJ7Gq3GX.d.cts → types-DXF9p4qV.d.cts} +3 -26
- package/dist/{view-controller-zNqHm_Qg.d.ts → view-controller-BfVSNZYZ.d.cts} +4 -3
- package/dist/{view-controller-cxQJ5rQb.d.cts → view-controller-p-2x3J7Y.d.ts} +4 -3
- package/dist/view.d.cts +7 -5
- package/dist/view.d.ts +7 -5
- package/dist/yjs.cjs +99 -99
- package/dist/yjs.d.cts +4 -4
- package/dist/yjs.d.ts +4 -4
- package/dist/yjs.js +3 -3
- package/package.json +19 -18
- package/dist/chunk-35CHEARK.cjs.map +0 -1
- package/dist/chunk-4HFE3YFF.js.map +0 -1
- package/dist/chunk-5ANJW76W.cjs.map +0 -1
- package/dist/chunk-BNUQ647G.js.map +0 -1
- package/dist/chunk-BR25RE7U.js.map +0 -1
- package/dist/chunk-CCOPHCXX.js.map +0 -1
- package/dist/chunk-CZ5ZXBWC.cjs.map +0 -1
- package/dist/chunk-DQV37F7J.cjs.map +0 -1
- package/dist/chunk-FOEEDJ5R.js.map +0 -1
- package/dist/chunk-G37GQ5JE.cjs.map +0 -1
- package/dist/chunk-I7OOIEZZ.js.map +0 -1
- package/dist/chunk-IGEWAL2J.cjs.map +0 -1
- package/dist/chunk-J552D3A7.js.map +0 -1
- package/dist/chunk-KMIWUFNM.cjs.map +0 -1
- package/dist/chunk-KXOAV7AT.js.map +0 -1
- package/dist/chunk-OGBD74IR.cjs.map +0 -1
- package/dist/chunk-SCFW4JFT.cjs.map +0 -1
- package/dist/chunk-Y7UKOBSY.js.map +0 -1
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
import { E as EngineDoc,
|
|
1
|
+
import { E as EngineDoc, a as Step, q as PosMap, b as Selection, M as Mark, P as Pos, d as Assoc, S as Schema, B as BlockAttrs, A as Attrs, Q as QuoinBlock, i as BlockSpec, n as MarkSpec, e as AtomSpec } from './types-CQ8Vw_7N.js';
|
|
2
2
|
|
|
3
3
|
type Align = 'left' | 'center' | 'right' | 'justify';
|
|
4
4
|
|
|
5
|
-
type Assoc = -1 | 1;
|
|
6
|
-
type PosMap = (pos: Pos, assoc?: Assoc) => Pos;
|
|
7
|
-
type StepResult = {
|
|
8
|
-
doc: EngineDoc;
|
|
9
|
-
map: PosMap;
|
|
10
|
-
};
|
|
11
|
-
type StepJSON = {
|
|
12
|
-
readonly stepType: string;
|
|
13
|
-
} & Readonly<Record<string, unknown>>;
|
|
14
|
-
interface Step {
|
|
15
|
-
readonly stepType: string;
|
|
16
|
-
apply(doc: EngineDoc): StepResult;
|
|
17
|
-
invert(before: EngineDoc): Step;
|
|
18
|
-
toJSON(): StepJSON;
|
|
19
|
-
}
|
|
20
|
-
type CreatedBlock = {
|
|
21
|
-
id: string;
|
|
22
|
-
type: string;
|
|
23
|
-
attrs: BlockAttrs;
|
|
24
|
-
indent: number;
|
|
25
|
-
region: string;
|
|
26
|
-
regions?: Record<string, Inline>;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
5
|
type TransactionOrigin = 'input' | 'command' | 'paste' | 'drop' | 'remote' | 'reconcile' | 'ai' | 'history';
|
|
30
6
|
declare class Transaction {
|
|
31
7
|
#private;
|
|
@@ -355,4 +331,5 @@ type Extension = {
|
|
|
355
331
|
readonly ui?: unknown;
|
|
356
332
|
};
|
|
357
333
|
|
|
358
|
-
export {
|
|
334
|
+
export { keyName as G, normalizeKey as H, setBlockType as J, toggleMark as L, Transaction as T, applyTransaction as q, coreExtensions as r, createEditor as s, createPluginKey as t, createState as u, fromHTML as v, getPluginState as w, insertBlockAfter as x, insertText as y, insertTextWithRules as z };
|
|
335
|
+
export type { Align as A, BlockStructureOptions as B, CommandFactories as C, Decoration as D, Extension as E, FromHTMLOptions as F, InputRule as I, KeyLike as K, MarkdownOptions as M, PluginKey as P, Slice as S, Editor as a, Command as b, EditorState as c, PluginSpec as d, BoundCommands as e, Chain as f, CoreCommands as g, CoreExtensionOptions as h, DOMParserLike as i, EditorOptions as j, InputRuleContext as k, InputRuleRange as l, InsertTextOptions as m, PasteRule as n, TextStats as o, TransactionOrigin as p };
|
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
type Assoc = -1 | 1;
|
|
2
|
+
type PosMap = (pos: Pos, assoc?: Assoc) => Pos;
|
|
3
|
+
type StepResult = {
|
|
4
|
+
doc: EngineDoc;
|
|
5
|
+
map: PosMap;
|
|
6
|
+
};
|
|
7
|
+
type StepJSON = {
|
|
8
|
+
readonly stepType: string;
|
|
9
|
+
} & Readonly<Record<string, unknown>>;
|
|
10
|
+
interface Step {
|
|
11
|
+
readonly stepType: string;
|
|
12
|
+
apply(doc: EngineDoc): StepResult;
|
|
13
|
+
invert(before: EngineDoc): Step;
|
|
14
|
+
toJSON(): StepJSON;
|
|
15
|
+
}
|
|
16
|
+
type CreatedBlock = {
|
|
17
|
+
id: string;
|
|
18
|
+
type: string;
|
|
19
|
+
attrs: BlockAttrs;
|
|
20
|
+
indent: number;
|
|
21
|
+
region: string;
|
|
22
|
+
regions?: Record<string, Inline>;
|
|
23
|
+
};
|
|
24
|
+
|
|
1
25
|
type Attrs = Readonly<Record<string, string>>;
|
|
2
26
|
type Mark = {
|
|
3
27
|
readonly type: string;
|
|
@@ -33,10 +57,12 @@ type Pos = {
|
|
|
33
57
|
readonly region: string;
|
|
34
58
|
readonly offset: number;
|
|
35
59
|
};
|
|
60
|
+
/** `assoc: -1` draws a caret at a soft wrap at the end of the line before it. */
|
|
36
61
|
type TextSelection = {
|
|
37
62
|
readonly kind: 'text';
|
|
38
63
|
readonly anchor: Pos;
|
|
39
64
|
readonly head: Pos;
|
|
65
|
+
readonly assoc?: Assoc;
|
|
40
66
|
};
|
|
41
67
|
type NodeSelection = {
|
|
42
68
|
readonly kind: 'node';
|
|
@@ -117,4 +143,4 @@ type Schema = {
|
|
|
117
143
|
readonly defaultTextBlock: string;
|
|
118
144
|
};
|
|
119
145
|
|
|
120
|
-
export type { Attrs as A, BlockAttrs as B, CodecContext as C, EngineDoc as E, Inline as I, Mark as M, NodeSelection as N, Pos as P, QuoinBlock as Q, Schema as S, TextNode as T,
|
|
146
|
+
export type { Attrs as A, BlockAttrs as B, CodecContext as C, EngineDoc as E, Inline as I, Mark as M, NodeSelection as N, Pos as P, QuoinBlock as Q, Schema as S, TextNode as T, Step as a, Selection as b, AtomNode as c, Assoc as d, AtomSpec as e, BlockContent as f, BlockFlow as g, BlockRangeSelection as h, BlockSpec as i, CreatedBlock as j, EngineBlock as k, InlineCodec as l, InlineNode as m, MarkSpec as n, MarkdownExportContext as o, ParseInlineOptions as p, PosMap as q, SerializeInlineOptions as r, StepJSON as s, StepResult as t, TextSelection as u };
|
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
type Assoc = -1 | 1;
|
|
2
|
+
type PosMap = (pos: Pos, assoc?: Assoc) => Pos;
|
|
3
|
+
type StepResult = {
|
|
4
|
+
doc: EngineDoc;
|
|
5
|
+
map: PosMap;
|
|
6
|
+
};
|
|
7
|
+
type StepJSON = {
|
|
8
|
+
readonly stepType: string;
|
|
9
|
+
} & Readonly<Record<string, unknown>>;
|
|
10
|
+
interface Step {
|
|
11
|
+
readonly stepType: string;
|
|
12
|
+
apply(doc: EngineDoc): StepResult;
|
|
13
|
+
invert(before: EngineDoc): Step;
|
|
14
|
+
toJSON(): StepJSON;
|
|
15
|
+
}
|
|
16
|
+
type CreatedBlock = {
|
|
17
|
+
id: string;
|
|
18
|
+
type: string;
|
|
19
|
+
attrs: BlockAttrs;
|
|
20
|
+
indent: number;
|
|
21
|
+
region: string;
|
|
22
|
+
regions?: Record<string, Inline>;
|
|
23
|
+
};
|
|
24
|
+
|
|
1
25
|
type Attrs = Readonly<Record<string, string>>;
|
|
2
26
|
type Mark = {
|
|
3
27
|
readonly type: string;
|
|
@@ -33,10 +57,12 @@ type Pos = {
|
|
|
33
57
|
readonly region: string;
|
|
34
58
|
readonly offset: number;
|
|
35
59
|
};
|
|
60
|
+
/** `assoc: -1` draws a caret at a soft wrap at the end of the line before it. */
|
|
36
61
|
type TextSelection = {
|
|
37
62
|
readonly kind: 'text';
|
|
38
63
|
readonly anchor: Pos;
|
|
39
64
|
readonly head: Pos;
|
|
65
|
+
readonly assoc?: Assoc;
|
|
40
66
|
};
|
|
41
67
|
type NodeSelection = {
|
|
42
68
|
readonly kind: 'node';
|
|
@@ -117,4 +143,4 @@ type Schema = {
|
|
|
117
143
|
readonly defaultTextBlock: string;
|
|
118
144
|
};
|
|
119
145
|
|
|
120
|
-
export type { Attrs as A, BlockAttrs as B, CodecContext as C, EngineDoc as E, Inline as I, Mark as M, NodeSelection as N, Pos as P, QuoinBlock as Q, Schema as S, TextNode as T,
|
|
146
|
+
export type { Attrs as A, BlockAttrs as B, CodecContext as C, EngineDoc as E, Inline as I, Mark as M, NodeSelection as N, Pos as P, QuoinBlock as Q, Schema as S, TextNode as T, Step as a, Selection as b, AtomNode as c, Assoc as d, AtomSpec as e, BlockContent as f, BlockFlow as g, BlockRangeSelection as h, BlockSpec as i, CreatedBlock as j, EngineBlock as k, InlineCodec as l, InlineNode as m, MarkSpec as n, MarkdownExportContext as o, ParseInlineOptions as p, PosMap as q, SerializeInlineOptions as r, StepJSON as s, StepResult as t, TextSelection as u };
|
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
import { E as EngineDoc,
|
|
1
|
+
import { E as EngineDoc, a as Step, q as PosMap, b as Selection, M as Mark, P as Pos, d as Assoc, S as Schema, B as BlockAttrs, A as Attrs, Q as QuoinBlock, i as BlockSpec, n as MarkSpec, e as AtomSpec } from './types-CQ8Vw_7N.cjs';
|
|
2
2
|
|
|
3
3
|
type Align = 'left' | 'center' | 'right' | 'justify';
|
|
4
4
|
|
|
5
|
-
type Assoc = -1 | 1;
|
|
6
|
-
type PosMap = (pos: Pos, assoc?: Assoc) => Pos;
|
|
7
|
-
type StepResult = {
|
|
8
|
-
doc: EngineDoc;
|
|
9
|
-
map: PosMap;
|
|
10
|
-
};
|
|
11
|
-
type StepJSON = {
|
|
12
|
-
readonly stepType: string;
|
|
13
|
-
} & Readonly<Record<string, unknown>>;
|
|
14
|
-
interface Step {
|
|
15
|
-
readonly stepType: string;
|
|
16
|
-
apply(doc: EngineDoc): StepResult;
|
|
17
|
-
invert(before: EngineDoc): Step;
|
|
18
|
-
toJSON(): StepJSON;
|
|
19
|
-
}
|
|
20
|
-
type CreatedBlock = {
|
|
21
|
-
id: string;
|
|
22
|
-
type: string;
|
|
23
|
-
attrs: BlockAttrs;
|
|
24
|
-
indent: number;
|
|
25
|
-
region: string;
|
|
26
|
-
regions?: Record<string, Inline>;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
5
|
type TransactionOrigin = 'input' | 'command' | 'paste' | 'drop' | 'remote' | 'reconcile' | 'ai' | 'history';
|
|
30
6
|
declare class Transaction {
|
|
31
7
|
#private;
|
|
@@ -355,4 +331,5 @@ type Extension = {
|
|
|
355
331
|
readonly ui?: unknown;
|
|
356
332
|
};
|
|
357
333
|
|
|
358
|
-
export {
|
|
334
|
+
export { keyName as G, normalizeKey as H, setBlockType as J, toggleMark as L, Transaction as T, applyTransaction as q, coreExtensions as r, createEditor as s, createPluginKey as t, createState as u, fromHTML as v, getPluginState as w, insertBlockAfter as x, insertText as y, insertTextWithRules as z };
|
|
335
|
+
export type { Align as A, BlockStructureOptions as B, CommandFactories as C, Decoration as D, Extension as E, FromHTMLOptions as F, InputRule as I, KeyLike as K, MarkdownOptions as M, PluginKey as P, Slice as S, Editor as a, Command as b, EditorState as c, PluginSpec as d, BoundCommands as e, Chain as f, CoreCommands as g, CoreExtensionOptions as h, DOMParserLike as i, EditorOptions as j, InputRuleContext as k, InputRuleRange as l, InsertTextOptions as m, PasteRule as n, TextStats as o, TransactionOrigin as p };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as EditorState, D as Decoration, a as Editor, T as Transaction, b as Command } from './types-
|
|
2
|
-
import {
|
|
1
|
+
import { c as EditorState, D as Decoration, a as Editor, T as Transaction, b as Command } from './types-DXF9p4qV.cjs';
|
|
2
|
+
import { b as Selection, c as AtomNode, P as Pos } from './types-CQ8Vw_7N.cjs';
|
|
3
3
|
|
|
4
4
|
type Spoken = {
|
|
5
5
|
readonly message: string;
|
|
@@ -109,4 +109,5 @@ declare class ViewController {
|
|
|
109
109
|
destroy(): void;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { ViewController as V, hostKey as h };
|
|
113
|
+
export type { AtomRenderer as A, KeyInterceptor as K, RenderOptions as R, WidgetRenderer as W, ViewControllerOptions as a };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as EditorState, D as Decoration, a as Editor, T as Transaction, b as Command } from './types-
|
|
2
|
-
import {
|
|
1
|
+
import { c as EditorState, D as Decoration, a as Editor, T as Transaction, b as Command } from './types-BjLcmV00.js';
|
|
2
|
+
import { b as Selection, c as AtomNode, P as Pos } from './types-CQ8Vw_7N.js';
|
|
3
3
|
|
|
4
4
|
type Spoken = {
|
|
5
5
|
readonly message: string;
|
|
@@ -109,4 +109,5 @@ declare class ViewController {
|
|
|
109
109
|
destroy(): void;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { ViewController as V, hostKey as h };
|
|
113
|
+
export type { AtomRenderer as A, KeyInterceptor as K, RenderOptions as R, WidgetRenderer as W, ViewControllerOptions as a };
|
package/dist/view.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { A as AnyBlockDefinition
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
2
|
+
import { A as AnyBlockDefinition } from './registry-DdQaddP1.cjs';
|
|
3
|
+
import { CodeHighlighter } from './index.cjs';
|
|
4
|
+
export { B as BlockDefinition, d as defineBlock } from './registry-DdQaddP1.cjs';
|
|
5
|
+
import { QuoinBlock } from './engine.cjs';
|
|
6
|
+
import { HTMLOptions } from './engine.cjs';
|
|
6
7
|
import './embed-provider-jXwlRmnp.cjs';
|
|
7
8
|
|
|
8
9
|
type QuoinViewProps = {
|
|
@@ -37,4 +38,5 @@ declare function QuoinView({ blocks, blockTypes, highlight, className, ...option
|
|
|
37
38
|
className: string;
|
|
38
39
|
}, HTMLElement>;
|
|
39
40
|
|
|
40
|
-
export { AnyBlockDefinition, QuoinView
|
|
41
|
+
export { AnyBlockDefinition, QuoinView };
|
|
42
|
+
export type { QuoinViewProps };
|
package/dist/view.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { A as AnyBlockDefinition
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
2
|
+
import { A as AnyBlockDefinition } from './registry-DdQaddP1.js';
|
|
3
|
+
import { CodeHighlighter } from './index.js';
|
|
4
|
+
export { B as BlockDefinition, d as defineBlock } from './registry-DdQaddP1.js';
|
|
5
|
+
import { QuoinBlock } from './engine.js';
|
|
6
|
+
import { HTMLOptions } from './engine.js';
|
|
6
7
|
import './embed-provider-jXwlRmnp.js';
|
|
7
8
|
|
|
8
9
|
type QuoinViewProps = {
|
|
@@ -37,4 +38,5 @@ declare function QuoinView({ blocks, blockTypes, highlight, className, ...option
|
|
|
37
38
|
className: string;
|
|
38
39
|
}, HTMLElement>;
|
|
39
40
|
|
|
40
|
-
export { AnyBlockDefinition, QuoinView
|
|
41
|
+
export { AnyBlockDefinition, QuoinView };
|
|
42
|
+
export type { QuoinViewProps };
|