quoin-editor 1.0.2 → 1.1.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 +18 -0
- package/dist/ai.cjs +168 -249
- package/dist/ai.cjs.map +1 -1
- package/dist/ai.js +37 -121
- package/dist/ai.js.map +1 -1
- package/dist/catalogue.cjs +28 -43
- package/dist/catalogue.cjs.map +1 -1
- package/dist/catalogue.js +20 -37
- package/dist/catalogue.js.map +1 -1
- package/dist/{chunk-DUE3HCZD.js → chunk-2EQ6FKSK.js} +19 -28
- package/dist/chunk-2EQ6FKSK.js.map +1 -0
- package/dist/{chunk-RJRX34BZ.js → chunk-3BXUGX5F.js} +4 -18
- package/dist/chunk-3BXUGX5F.js.map +1 -0
- package/dist/chunk-3QRVAI53.cjs +27 -0
- package/dist/chunk-3QRVAI53.cjs.map +1 -0
- package/dist/{chunk-U3LOLYAU.js → chunk-7FAVFJAS.js} +4 -10
- package/dist/chunk-7FAVFJAS.js.map +1 -0
- package/dist/{chunk-6V6GGBDK.cjs → chunk-7SVKLWDT.cjs} +24 -31
- package/dist/chunk-7SVKLWDT.cjs.map +1 -0
- package/dist/{chunk-EH5KXQXY.cjs → chunk-A6PGQVTR.cjs} +36 -20
- package/dist/chunk-A6PGQVTR.cjs.map +1 -0
- package/dist/{chunk-P6KYXFZC.cjs → chunk-ACSEYJJF.cjs} +426 -534
- package/dist/chunk-ACSEYJJF.cjs.map +1 -0
- package/dist/{chunk-4SLJNZSM.cjs → chunk-AIS37SL2.cjs} +201 -198
- package/dist/chunk-AIS37SL2.cjs.map +1 -0
- package/dist/{chunk-X4HDKFW5.cjs → chunk-DTQFYHDJ.cjs} +56 -105
- package/dist/chunk-DTQFYHDJ.cjs.map +1 -0
- package/dist/{chunk-O4Z2WMFF.js → chunk-HDJ653LM.js} +25 -18
- package/dist/chunk-HDJ653LM.js.map +1 -0
- package/dist/chunk-HQ43EIYO.cjs +94 -0
- package/dist/chunk-HQ43EIYO.cjs.map +1 -0
- package/dist/{chunk-6NULZPVC.js → chunk-HTLWPSMU.js} +8 -61
- package/dist/chunk-HTLWPSMU.js.map +1 -0
- package/dist/{chunk-ADSJ42DO.js → chunk-HWEK7EX5.js} +17 -69
- package/dist/chunk-HWEK7EX5.js.map +1 -0
- package/dist/{chunk-623AOJM2.js → chunk-ITXCE6KL.js} +7 -25
- package/dist/chunk-ITXCE6KL.js.map +1 -0
- package/dist/{chunk-AUOEM3SF.cjs → chunk-IXVGHH7F.cjs} +102 -155
- package/dist/chunk-IXVGHH7F.cjs.map +1 -0
- package/dist/{chunk-NEZJ7ZP5.js → chunk-JZJIWRF3.js} +4 -8
- package/dist/chunk-JZJIWRF3.js.map +1 -0
- package/dist/{chunk-C23RQVRK.js → chunk-KSF2HILJ.js} +66 -216
- package/dist/chunk-KSF2HILJ.js.map +1 -0
- package/dist/{chunk-OBMBSU2S.js → chunk-L4D23LM2.js} +5 -184
- package/dist/chunk-L4D23LM2.js.map +1 -0
- package/dist/{chunk-4XFXB37X.js → chunk-L6OW2FL3.js} +7 -90
- package/dist/chunk-L6OW2FL3.js.map +1 -0
- package/dist/chunk-LE5XMIFJ.cjs +4 -3
- package/dist/chunk-LE5XMIFJ.cjs.map +1 -1
- package/dist/{chunk-5MAYUGTE.cjs → chunk-LY2D45F2.cjs} +233 -363
- package/dist/chunk-LY2D45F2.cjs.map +1 -0
- package/dist/{chunk-VCLL5C7J.js → chunk-MGMA5PEL.js} +14 -57
- package/dist/chunk-MGMA5PEL.js.map +1 -0
- package/dist/chunk-MQUCCSWG.js +2 -3
- package/dist/chunk-MQUCCSWG.js.map +1 -1
- package/dist/chunk-NO3KTZDY.cjs +33 -0
- package/dist/chunk-NO3KTZDY.cjs.map +1 -0
- package/dist/{chunk-TLGX43P6.cjs → chunk-OM7E43ZN.cjs} +89 -86
- package/dist/chunk-OM7E43ZN.cjs.map +1 -0
- package/dist/{chunk-JHQUHFLX.js → chunk-PJCHSHM3.js} +38 -120
- package/dist/chunk-PJCHSHM3.js.map +1 -0
- package/dist/{chunk-EPARJI4V.js → chunk-QC35D2AU.js} +107 -262
- package/dist/chunk-QC35D2AU.js.map +1 -0
- package/dist/{chunk-CW3AFJBR.cjs → chunk-QEMGOL5L.cjs} +1302 -1773
- package/dist/chunk-QEMGOL5L.cjs.map +1 -0
- package/dist/chunk-QWS7KH3K.cjs +483 -0
- package/dist/chunk-QWS7KH3K.cjs.map +1 -0
- package/dist/{chunk-IQBMAE3F.js → chunk-RHQPAW4W.js} +34 -92
- package/dist/chunk-RHQPAW4W.js.map +1 -0
- package/dist/chunk-RIIXJWBR.cjs +24 -0
- package/dist/chunk-RIIXJWBR.cjs.map +1 -0
- package/dist/{chunk-VRS6WCEK.js → chunk-SAEQMDAU.js} +60 -167
- package/dist/chunk-SAEQMDAU.js.map +1 -0
- package/dist/chunk-SKZC4K5S.cjs +612 -0
- package/dist/chunk-SKZC4K5S.cjs.map +1 -0
- package/dist/{chunk-N4FGA3H4.js → chunk-TBCHYHNU.js} +38 -105
- package/dist/chunk-TBCHYHNU.js.map +1 -0
- package/dist/{chunk-OSHZQR3W.js → chunk-TNN6Z52D.js} +13 -45
- package/dist/chunk-TNN6Z52D.js.map +1 -0
- package/dist/{chunk-YBMUEEM5.js → chunk-TYZSB7JT.js} +4 -8
- package/dist/chunk-TYZSB7JT.js.map +1 -0
- package/dist/{chunk-ZKVOS57Q.cjs → chunk-VFSVN5IQ.cjs} +495 -551
- package/dist/chunk-VFSVN5IQ.cjs.map +1 -0
- package/dist/{chunk-FDRUAL3Z.cjs → chunk-WDO6DBYU.cjs} +90 -153
- package/dist/chunk-WDO6DBYU.cjs.map +1 -0
- package/dist/{chunk-WEYDDIBQ.cjs → chunk-WHV5ZSIO.cjs} +36 -64
- package/dist/chunk-WHV5ZSIO.cjs.map +1 -0
- package/dist/{chunk-T43RZTUT.js → chunk-XJDPQFPU.js} +693 -1247
- package/dist/chunk-XJDPQFPU.js.map +1 -0
- package/dist/{chunk-BQANU5BH.cjs → chunk-ZTLYHRZT.cjs} +34 -44
- package/dist/chunk-ZTLYHRZT.cjs.map +1 -0
- package/dist/chunk-ZWB7SZVI.cjs +200 -0
- package/dist/chunk-ZWB7SZVI.cjs.map +1 -0
- package/dist/comments.cjs +209 -290
- package/dist/comments.cjs.map +1 -1
- package/dist/comments.js +81 -186
- package/dist/comments.js.map +1 -1
- package/dist/diff.cjs +48 -65
- package/dist/diff.cjs.map +1 -1
- package/dist/diff.d.cts +2 -2
- package/dist/diff.d.ts +2 -2
- package/dist/diff.js +8 -32
- package/dist/diff.js.map +1 -1
- package/dist/docx.cjs +50 -63
- package/dist/docx.cjs.map +1 -1
- package/dist/docx.js +7 -22
- package/dist/docx.js.map +1 -1
- package/dist/embed.cjs +18 -12
- package/dist/embed.cjs.map +1 -1
- package/dist/embed.js +9 -16
- package/dist/embed.js.map +1 -1
- package/dist/emoji-data.cjs +7 -5
- package/dist/emoji-data.cjs.map +1 -1
- package/dist/emoji-data.js +3 -5
- package/dist/emoji-data.js.map +1 -1
- package/dist/emoji.cjs +25 -17
- package/dist/emoji.cjs.map +1 -1
- package/dist/emoji.js +8 -17
- package/dist/emoji.js.map +1 -1
- package/dist/engine.cjs +229 -118
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.js +4 -118
- package/dist/engine.js.map +1 -1
- package/dist/find.cjs +29 -19
- package/dist/find.cjs.map +1 -1
- package/dist/find.js +8 -19
- package/dist/find.js.map +1 -1
- package/dist/headless.cjs +290 -151
- package/dist/headless.cjs.map +1 -1
- package/dist/headless.d.cts +5 -1
- package/dist/headless.d.ts +5 -1
- package/dist/headless.js +5 -151
- package/dist/headless.js.map +1 -1
- package/dist/index.cjs +348 -183
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -4
- package/dist/index.d.ts +14 -4
- package/dist/index.js +7 -183
- package/dist/index.js.map +1 -1
- package/dist/math.cjs +19 -13
- package/dist/math.cjs.map +1 -1
- package/dist/math.js +10 -17
- package/dist/math.js.map +1 -1
- package/dist/mention.cjs +19 -13
- package/dist/mention.cjs.map +1 -1
- package/dist/mention.js +10 -17
- package/dist/mention.js.map +1 -1
- package/dist/presence.cjs +98 -132
- package/dist/presence.cjs.map +1 -1
- package/dist/presence.js +21 -78
- package/dist/presence.js.map +1 -1
- package/dist/{registry-CWBOSAHm.d.ts → registry-CXegaw5k.d.cts} +25 -2
- package/dist/{registry-CWBOSAHm.d.cts → registry-CXegaw5k.d.ts} +25 -2
- package/dist/stats.cjs +26 -18
- package/dist/stats.cjs.map +1 -1
- package/dist/stats.js +9 -18
- package/dist/stats.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/table.cjs +89 -49
- package/dist/table.cjs.map +1 -1
- package/dist/table.js +8 -49
- package/dist/table.js.map +1 -1
- package/dist/toc.cjs +25 -17
- package/dist/toc.cjs.map +1 -1
- package/dist/toc.js +8 -17
- package/dist/toc.js.map +1 -1
- package/dist/view.cjs +13 -16
- package/dist/view.cjs.map +1 -1
- package/dist/view.d.cts +2 -2
- package/dist/view.d.ts +2 -2
- package/dist/view.js +7 -16
- package/dist/view.js.map +1 -1
- package/dist/yjs.cjs +186 -228
- package/dist/yjs.cjs.map +1 -1
- package/dist/yjs.js +12 -80
- package/dist/yjs.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-4SLJNZSM.cjs.map +0 -1
- package/dist/chunk-4XFXB37X.js.map +0 -1
- package/dist/chunk-5MAYUGTE.cjs.map +0 -1
- package/dist/chunk-623AOJM2.js.map +0 -1
- package/dist/chunk-6NULZPVC.js.map +0 -1
- package/dist/chunk-6V6GGBDK.cjs.map +0 -1
- package/dist/chunk-73653CJ4.cjs +0 -34
- package/dist/chunk-73653CJ4.cjs.map +0 -1
- package/dist/chunk-ADSJ42DO.js.map +0 -1
- package/dist/chunk-AUOEM3SF.cjs.map +0 -1
- package/dist/chunk-BQANU5BH.cjs.map +0 -1
- package/dist/chunk-C23RQVRK.js.map +0 -1
- package/dist/chunk-CW3AFJBR.cjs.map +0 -1
- package/dist/chunk-DUE3HCZD.js.map +0 -1
- package/dist/chunk-EH5KXQXY.cjs.map +0 -1
- package/dist/chunk-EPARJI4V.js.map +0 -1
- package/dist/chunk-FDRUAL3Z.cjs.map +0 -1
- package/dist/chunk-IQBMAE3F.js.map +0 -1
- package/dist/chunk-JHQUHFLX.js.map +0 -1
- package/dist/chunk-KUYZMSMF.cjs +0 -100
- package/dist/chunk-KUYZMSMF.cjs.map +0 -1
- package/dist/chunk-LLTEGXWZ.cjs +0 -562
- package/dist/chunk-LLTEGXWZ.cjs.map +0 -1
- package/dist/chunk-N4FGA3H4.js.map +0 -1
- package/dist/chunk-NEZJ7ZP5.js.map +0 -1
- package/dist/chunk-O4Z2WMFF.js.map +0 -1
- package/dist/chunk-OBMBSU2S.js.map +0 -1
- package/dist/chunk-OSHZQR3W.js.map +0 -1
- package/dist/chunk-P6KYXFZC.cjs.map +0 -1
- package/dist/chunk-R2BLBV43.cjs +0 -239
- package/dist/chunk-R2BLBV43.cjs.map +0 -1
- package/dist/chunk-RJRX34BZ.js.map +0 -1
- package/dist/chunk-T43RZTUT.js.map +0 -1
- package/dist/chunk-TLGX43P6.cjs.map +0 -1
- package/dist/chunk-U3LOLYAU.js.map +0 -1
- package/dist/chunk-UEKXVCKC.cjs +0 -716
- package/dist/chunk-UEKXVCKC.cjs.map +0 -1
- package/dist/chunk-VCLL5C7J.js.map +0 -1
- package/dist/chunk-VRS6WCEK.js.map +0 -1
- package/dist/chunk-WEYDDIBQ.cjs.map +0 -1
- package/dist/chunk-X4HDKFW5.cjs.map +0 -1
- package/dist/chunk-X4P4TQXH.cjs +0 -30
- package/dist/chunk-X4P4TQXH.cjs.map +0 -1
- package/dist/chunk-XA3UEJIW.cjs +0 -25
- package/dist/chunk-XA3UEJIW.cjs.map +0 -1
- package/dist/chunk-YBMUEEM5.js.map +0 -1
- package/dist/chunk-ZKVOS57Q.cjs.map +0 -1
package/dist/headless.cjs
CHANGED
|
@@ -1,152 +1,291 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
1
|
+
'use client';'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkACSEYJJF_cjs = require('./chunk-ACSEYJJF.cjs');
|
|
4
|
+
var chunkVFSVN5IQ_cjs = require('./chunk-VFSVN5IQ.cjs');
|
|
5
|
+
var chunk7SVKLWDT_cjs = require('./chunk-7SVKLWDT.cjs');
|
|
6
|
+
var chunkAIS37SL2_cjs = require('./chunk-AIS37SL2.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "BlockShell", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunkACSEYJJF_cjs.BlockShell; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "EditableRegion", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunkACSEYJJF_cjs.EditableRegion; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "EditorView", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkACSEYJJF_cjs.EditorView; }
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "SelectionSink", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkACSEYJJF_cjs.SelectionSink; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "ViewController", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkACSEYJJF_cjs.ViewController; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "VoidBlockFallback", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunkACSEYJJF_cjs.VoidBlockFallback; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "caretFromPoint", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkACSEYJJF_cjs.caretFromPoint; }
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "defaultRenderers", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return chunkACSEYJJF_cjs.defaultRenderers; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "domMapOf", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkACSEYJJF_cjs.domMapOf; }
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "hostKey", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunkACSEYJJF_cjs.hostKey; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "isCrossSelection", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunkACSEYJJF_cjs.isCrossSelection; }
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "renderInline", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () { return chunkACSEYJJF_cjs.renderInline; }
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "useEditorState", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return chunkACSEYJJF_cjs.useEditorState; }
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "useQuoinEditor", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function () { return chunkACSEYJJF_cjs.useQuoinEditor; }
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "useViewController", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () { return chunkACSEYJJF_cjs.useViewController; }
|
|
69
|
+
});
|
|
70
|
+
Object.defineProperty(exports, "Transaction", {
|
|
71
|
+
enumerable: true,
|
|
72
|
+
get: function () { return chunkVFSVN5IQ_cjs.Transaction; }
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "addMarkStep", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function () { return chunkVFSVN5IQ_cjs.addMarkStep; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "applyTransaction", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkVFSVN5IQ_cjs.applyTransaction; }
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "blockInputRules", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return chunkVFSVN5IQ_cjs.blockInputRules; }
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "blockRangeSelection", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () { return chunkVFSVN5IQ_cjs.blockRangeSelection; }
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "coreExtensions", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return chunkVFSVN5IQ_cjs.coreExtensions; }
|
|
93
|
+
});
|
|
94
|
+
Object.defineProperty(exports, "countDoc", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function () { return chunkVFSVN5IQ_cjs.countDoc; }
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "countText", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () { return chunkVFSVN5IQ_cjs.countText; }
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "createEditor", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return chunkVFSVN5IQ_cjs.createEditor; }
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, "createPluginKey", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () { return chunkVFSVN5IQ_cjs.createPluginKey; }
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "createState", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () { return chunkVFSVN5IQ_cjs.createState; }
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "defineExtension", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () { return chunkVFSVN5IQ_cjs.defineExtension; }
|
|
117
|
+
});
|
|
118
|
+
Object.defineProperty(exports, "fromHTML", {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
get: function () { return chunkVFSVN5IQ_cjs.fromHTML; }
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, "getPluginState", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function () { return chunkVFSVN5IQ_cjs.getPluginState; }
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "insertBlockAfter", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertBlockAfter; }
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(exports, "insertBlocksStep", {
|
|
131
|
+
enumerable: true,
|
|
132
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertBlocksStep; }
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(exports, "insertText", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertText; }
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "insertTextWithRules", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertTextWithRules; }
|
|
141
|
+
});
|
|
142
|
+
Object.defineProperty(exports, "joinBlocksStep", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () { return chunkVFSVN5IQ_cjs.joinBlocksStep; }
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, "keyName", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function () { return chunkVFSVN5IQ_cjs.keyName; }
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "markInputRules", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () { return chunkVFSVN5IQ_cjs.markInputRules; }
|
|
153
|
+
});
|
|
154
|
+
Object.defineProperty(exports, "moveBlocksStep", {
|
|
155
|
+
enumerable: true,
|
|
156
|
+
get: function () { return chunkVFSVN5IQ_cjs.moveBlocksStep; }
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(exports, "nodeSelection", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function () { return chunkVFSVN5IQ_cjs.nodeSelection; }
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "normalizeKey", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function () { return chunkVFSVN5IQ_cjs.normalizeKey; }
|
|
165
|
+
});
|
|
166
|
+
Object.defineProperty(exports, "redo", {
|
|
167
|
+
enumerable: true,
|
|
168
|
+
get: function () { return chunkVFSVN5IQ_cjs.redo; }
|
|
169
|
+
});
|
|
170
|
+
Object.defineProperty(exports, "removeBlocksStep", {
|
|
171
|
+
enumerable: true,
|
|
172
|
+
get: function () { return chunkVFSVN5IQ_cjs.removeBlocksStep; }
|
|
173
|
+
});
|
|
174
|
+
Object.defineProperty(exports, "removeMarkStep", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function () { return chunkVFSVN5IQ_cjs.removeMarkStep; }
|
|
177
|
+
});
|
|
178
|
+
Object.defineProperty(exports, "replaceBlockStep", {
|
|
179
|
+
enumerable: true,
|
|
180
|
+
get: function () { return chunkVFSVN5IQ_cjs.replaceBlockStep; }
|
|
181
|
+
});
|
|
182
|
+
Object.defineProperty(exports, "replaceDocStep", {
|
|
183
|
+
enumerable: true,
|
|
184
|
+
get: function () { return chunkVFSVN5IQ_cjs.replaceDocStep; }
|
|
185
|
+
});
|
|
186
|
+
Object.defineProperty(exports, "replaceInlineStep", {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function () { return chunkVFSVN5IQ_cjs.replaceInlineStep; }
|
|
189
|
+
});
|
|
190
|
+
Object.defineProperty(exports, "setAttrsStep", {
|
|
191
|
+
enumerable: true,
|
|
192
|
+
get: function () { return chunkVFSVN5IQ_cjs.setAttrsStep; }
|
|
193
|
+
});
|
|
194
|
+
Object.defineProperty(exports, "setBlockType", {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function () { return chunkVFSVN5IQ_cjs.setBlockType; }
|
|
197
|
+
});
|
|
198
|
+
Object.defineProperty(exports, "setIndentStep", {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () { return chunkVFSVN5IQ_cjs.setIndentStep; }
|
|
201
|
+
});
|
|
202
|
+
Object.defineProperty(exports, "splitBlockStep", {
|
|
203
|
+
enumerable: true,
|
|
204
|
+
get: function () { return chunkVFSVN5IQ_cjs.splitBlockStep; }
|
|
205
|
+
});
|
|
206
|
+
Object.defineProperty(exports, "stepFromJSON", {
|
|
207
|
+
enumerable: true,
|
|
208
|
+
get: function () { return chunkVFSVN5IQ_cjs.stepFromJSON; }
|
|
209
|
+
});
|
|
210
|
+
Object.defineProperty(exports, "textSelection", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function () { return chunkVFSVN5IQ_cjs.textSelection; }
|
|
213
|
+
});
|
|
214
|
+
Object.defineProperty(exports, "toHTML", {
|
|
215
|
+
enumerable: true,
|
|
216
|
+
get: function () { return chunkVFSVN5IQ_cjs.toHTML; }
|
|
217
|
+
});
|
|
218
|
+
Object.defineProperty(exports, "toMarkdown", {
|
|
219
|
+
enumerable: true,
|
|
220
|
+
get: function () { return chunkVFSVN5IQ_cjs.toMarkdown; }
|
|
221
|
+
});
|
|
222
|
+
Object.defineProperty(exports, "toPlainText", {
|
|
223
|
+
enumerable: true,
|
|
224
|
+
get: function () { return chunkVFSVN5IQ_cjs.toPlainText; }
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(exports, "toggleMark", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function () { return chunkVFSVN5IQ_cjs.toggleMark; }
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(exports, "typographyRules", {
|
|
231
|
+
enumerable: true,
|
|
232
|
+
get: function () { return chunkVFSVN5IQ_cjs.typographyRules; }
|
|
233
|
+
});
|
|
234
|
+
Object.defineProperty(exports, "undo", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function () { return chunkVFSVN5IQ_cjs.undo; }
|
|
237
|
+
});
|
|
238
|
+
Object.defineProperty(exports, "diffBlocks", {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function () { return chunk7SVKLWDT_cjs.diffBlocks; }
|
|
241
|
+
});
|
|
242
|
+
Object.defineProperty(exports, "diffInline", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function () { return chunk7SVKLWDT_cjs.diffInline; }
|
|
245
|
+
});
|
|
246
|
+
Object.defineProperty(exports, "PALETTE", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function () { return chunkAIS37SL2_cjs.PALETTE; }
|
|
249
|
+
});
|
|
250
|
+
Object.defineProperty(exports, "atom", {
|
|
251
|
+
enumerable: true,
|
|
252
|
+
get: function () { return chunkAIS37SL2_cjs.atom; }
|
|
253
|
+
});
|
|
254
|
+
Object.defineProperty(exports, "coreBlockSpecs", {
|
|
255
|
+
enumerable: true,
|
|
256
|
+
get: function () { return chunkAIS37SL2_cjs.coreBlockSpecs; }
|
|
257
|
+
});
|
|
258
|
+
Object.defineProperty(exports, "createBlockCodec", {
|
|
259
|
+
enumerable: true,
|
|
260
|
+
get: function () { return chunkAIS37SL2_cjs.createBlockCodec; }
|
|
261
|
+
});
|
|
262
|
+
Object.defineProperty(exports, "createSchema", {
|
|
263
|
+
enumerable: true,
|
|
264
|
+
get: function () { return chunkAIS37SL2_cjs.createSchema; }
|
|
265
|
+
});
|
|
266
|
+
Object.defineProperty(exports, "fromMarkdown", {
|
|
267
|
+
enumerable: true,
|
|
268
|
+
get: function () { return chunkAIS37SL2_cjs.fromMarkdown; }
|
|
269
|
+
});
|
|
270
|
+
Object.defineProperty(exports, "normalizeInline", {
|
|
271
|
+
enumerable: true,
|
|
272
|
+
get: function () { return chunkAIS37SL2_cjs.normalizeInline; }
|
|
273
|
+
});
|
|
274
|
+
Object.defineProperty(exports, "parseInline", {
|
|
275
|
+
enumerable: true,
|
|
276
|
+
get: function () { return chunkAIS37SL2_cjs.parseInline; }
|
|
277
|
+
});
|
|
278
|
+
Object.defineProperty(exports, "sanitizeHref", {
|
|
279
|
+
enumerable: true,
|
|
280
|
+
get: function () { return chunkAIS37SL2_cjs.sanitizeHref; }
|
|
281
|
+
});
|
|
282
|
+
Object.defineProperty(exports, "serializeInline", {
|
|
283
|
+
enumerable: true,
|
|
284
|
+
get: function () { return chunkAIS37SL2_cjs.serializeInline; }
|
|
285
|
+
});
|
|
286
|
+
Object.defineProperty(exports, "text", {
|
|
287
|
+
enumerable: true,
|
|
288
|
+
get: function () { return chunkAIS37SL2_cjs.text; }
|
|
289
|
+
});
|
|
290
|
+
//# sourceMappingURL=headless.cjs.map
|
|
152
291
|
//# sourceMappingURL=headless.cjs.map
|
package/dist/headless.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"headless.cjs"}
|
package/dist/headless.d.cts
CHANGED
|
@@ -74,6 +74,10 @@ type EditorViewProps = {
|
|
|
74
74
|
blockLabel?: BlockLabel;
|
|
75
75
|
/** The text and accessible name of a block whose type no renderer draws, in place of the English one. */
|
|
76
76
|
unsupportedBlockLabel?: string;
|
|
77
|
+
/** The accessible name of what a block draws in place of itself when its renderer throws. */
|
|
78
|
+
blockErrorLabel?: string;
|
|
79
|
+
/** Told of each error a block's renderer throws, besides React's own report of a caught error. */
|
|
80
|
+
onBlockError?: (error: Error) => void;
|
|
77
81
|
/** The text of the host an empty document draws. */
|
|
78
82
|
placeholder?: string;
|
|
79
83
|
/** The placeholder of each empty block, by default the name of a heading and nothing for other blocks. */
|
|
@@ -83,7 +87,7 @@ type EditorViewProps = {
|
|
|
83
87
|
/** Controls drawn over the blocks, such as a gutter, positioned against the editor's root. */
|
|
84
88
|
children?: ReactNode;
|
|
85
89
|
};
|
|
86
|
-
declare function EditorView({ controller, renderers, className, id, 'aria-label': label, hint, paragraphLabel, selectedContentLabel, blockLabel, unsupportedBlockLabel, placeholder, blockPlaceholder, blocksSelectedLabel, children, }: EditorViewProps): react.JSX.Element;
|
|
90
|
+
declare function EditorView({ controller, renderers, className, id, 'aria-label': label, hint, paragraphLabel, selectedContentLabel, blockLabel, unsupportedBlockLabel, blockErrorLabel, onBlockError, placeholder, blockPlaceholder, blocksSelectedLabel, children, }: EditorViewProps): react.JSX.Element;
|
|
87
91
|
|
|
88
92
|
type EditableRegionProps = {
|
|
89
93
|
block: string;
|
package/dist/headless.d.ts
CHANGED
|
@@ -74,6 +74,10 @@ type EditorViewProps = {
|
|
|
74
74
|
blockLabel?: BlockLabel;
|
|
75
75
|
/** The text and accessible name of a block whose type no renderer draws, in place of the English one. */
|
|
76
76
|
unsupportedBlockLabel?: string;
|
|
77
|
+
/** The accessible name of what a block draws in place of itself when its renderer throws. */
|
|
78
|
+
blockErrorLabel?: string;
|
|
79
|
+
/** Told of each error a block's renderer throws, besides React's own report of a caught error. */
|
|
80
|
+
onBlockError?: (error: Error) => void;
|
|
77
81
|
/** The text of the host an empty document draws. */
|
|
78
82
|
placeholder?: string;
|
|
79
83
|
/** The placeholder of each empty block, by default the name of a heading and nothing for other blocks. */
|
|
@@ -83,7 +87,7 @@ type EditorViewProps = {
|
|
|
83
87
|
/** Controls drawn over the blocks, such as a gutter, positioned against the editor's root. */
|
|
84
88
|
children?: ReactNode;
|
|
85
89
|
};
|
|
86
|
-
declare function EditorView({ controller, renderers, className, id, 'aria-label': label, hint, paragraphLabel, selectedContentLabel, blockLabel, unsupportedBlockLabel, placeholder, blockPlaceholder, blocksSelectedLabel, children, }: EditorViewProps): react.JSX.Element;
|
|
90
|
+
declare function EditorView({ controller, renderers, className, id, 'aria-label': label, hint, paragraphLabel, selectedContentLabel, blockLabel, unsupportedBlockLabel, blockErrorLabel, onBlockError, placeholder, blockPlaceholder, blocksSelectedLabel, children, }: EditorViewProps): react.JSX.Element;
|
|
87
91
|
|
|
88
92
|
type EditableRegionProps = {
|
|
89
93
|
block: string;
|
package/dist/headless.js
CHANGED
|
@@ -1,152 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
SelectionSink,
|
|
7
|
-
ViewController,
|
|
8
|
-
VoidBlockFallback,
|
|
9
|
-
caretFromPoint,
|
|
10
|
-
defaultRenderers,
|
|
11
|
-
domMapOf,
|
|
12
|
-
hostKey,
|
|
13
|
-
isCrossSelection,
|
|
14
|
-
renderInline,
|
|
15
|
-
useEditorState,
|
|
16
|
-
useQuoinEditor,
|
|
17
|
-
useViewController
|
|
18
|
-
} from "./chunk-EPARJI4V.js";
|
|
19
|
-
import {
|
|
20
|
-
Transaction,
|
|
21
|
-
addMarkStep,
|
|
22
|
-
applyTransaction,
|
|
23
|
-
blockInputRules,
|
|
24
|
-
blockRangeSelection,
|
|
25
|
-
coreExtensions,
|
|
26
|
-
countDoc,
|
|
27
|
-
countText,
|
|
28
|
-
createEditor,
|
|
29
|
-
createPluginKey,
|
|
30
|
-
createState,
|
|
31
|
-
defineExtension,
|
|
32
|
-
fromHTML,
|
|
33
|
-
getPluginState,
|
|
34
|
-
insertBlockAfter,
|
|
35
|
-
insertBlocksStep,
|
|
36
|
-
insertText,
|
|
37
|
-
insertTextWithRules,
|
|
38
|
-
joinBlocksStep,
|
|
39
|
-
keyName,
|
|
40
|
-
markInputRules,
|
|
41
|
-
moveBlocksStep,
|
|
42
|
-
nodeSelection,
|
|
43
|
-
normalizeKey,
|
|
44
|
-
redo,
|
|
45
|
-
removeBlocksStep,
|
|
46
|
-
removeMarkStep,
|
|
47
|
-
replaceBlockStep,
|
|
48
|
-
replaceDocStep,
|
|
49
|
-
replaceInlineStep,
|
|
50
|
-
setAttrsStep,
|
|
51
|
-
setBlockType,
|
|
52
|
-
setIndentStep,
|
|
53
|
-
splitBlockStep,
|
|
54
|
-
stepFromJSON,
|
|
55
|
-
textSelection,
|
|
56
|
-
toHTML,
|
|
57
|
-
toMarkdown,
|
|
58
|
-
toPlainText,
|
|
59
|
-
toggleMark,
|
|
60
|
-
typographyRules,
|
|
61
|
-
undo
|
|
62
|
-
} from "./chunk-OBMBSU2S.js";
|
|
63
|
-
import {
|
|
64
|
-
diffBlocks,
|
|
65
|
-
diffInline
|
|
66
|
-
} from "./chunk-RJRX34BZ.js";
|
|
67
|
-
import {
|
|
68
|
-
PALETTE,
|
|
69
|
-
atom,
|
|
70
|
-
coreBlockSpecs,
|
|
71
|
-
createBlockCodec,
|
|
72
|
-
createSchema,
|
|
73
|
-
fromMarkdown,
|
|
74
|
-
normalizeInline,
|
|
75
|
-
parseInline,
|
|
76
|
-
sanitizeHref,
|
|
77
|
-
serializeInline,
|
|
78
|
-
text
|
|
79
|
-
} from "./chunk-4XFXB37X.js";
|
|
80
|
-
export {
|
|
81
|
-
BlockShell,
|
|
82
|
-
EditableRegion,
|
|
83
|
-
EditorView,
|
|
84
|
-
PALETTE,
|
|
85
|
-
SelectionSink,
|
|
86
|
-
Transaction,
|
|
87
|
-
ViewController,
|
|
88
|
-
VoidBlockFallback,
|
|
89
|
-
addMarkStep,
|
|
90
|
-
applyTransaction,
|
|
91
|
-
atom,
|
|
92
|
-
blockInputRules,
|
|
93
|
-
blockRangeSelection,
|
|
94
|
-
caretFromPoint,
|
|
95
|
-
coreBlockSpecs,
|
|
96
|
-
coreExtensions,
|
|
97
|
-
countDoc,
|
|
98
|
-
countText,
|
|
99
|
-
createBlockCodec,
|
|
100
|
-
createEditor,
|
|
101
|
-
createPluginKey,
|
|
102
|
-
createSchema,
|
|
103
|
-
createState,
|
|
104
|
-
defaultRenderers,
|
|
105
|
-
defineExtension,
|
|
106
|
-
diffBlocks,
|
|
107
|
-
diffInline,
|
|
108
|
-
domMapOf,
|
|
109
|
-
fromHTML,
|
|
110
|
-
fromMarkdown,
|
|
111
|
-
getPluginState,
|
|
112
|
-
hostKey,
|
|
113
|
-
insertBlockAfter,
|
|
114
|
-
insertBlocksStep,
|
|
115
|
-
insertText,
|
|
116
|
-
insertTextWithRules,
|
|
117
|
-
isCrossSelection,
|
|
118
|
-
joinBlocksStep,
|
|
119
|
-
keyName,
|
|
120
|
-
markInputRules,
|
|
121
|
-
moveBlocksStep,
|
|
122
|
-
nodeSelection,
|
|
123
|
-
normalizeInline,
|
|
124
|
-
normalizeKey,
|
|
125
|
-
parseInline,
|
|
126
|
-
redo,
|
|
127
|
-
removeBlocksStep,
|
|
128
|
-
removeMarkStep,
|
|
129
|
-
renderInline,
|
|
130
|
-
replaceBlockStep,
|
|
131
|
-
replaceDocStep,
|
|
132
|
-
replaceInlineStep,
|
|
133
|
-
sanitizeHref,
|
|
134
|
-
serializeInline,
|
|
135
|
-
setAttrsStep,
|
|
136
|
-
setBlockType,
|
|
137
|
-
setIndentStep,
|
|
138
|
-
splitBlockStep,
|
|
139
|
-
stepFromJSON,
|
|
140
|
-
text,
|
|
141
|
-
textSelection,
|
|
142
|
-
toHTML,
|
|
143
|
-
toMarkdown,
|
|
144
|
-
toPlainText,
|
|
145
|
-
toggleMark,
|
|
146
|
-
typographyRules,
|
|
147
|
-
undo,
|
|
148
|
-
useEditorState,
|
|
149
|
-
useQuoinEditor,
|
|
150
|
-
useViewController
|
|
151
|
-
};
|
|
1
|
+
'use client';export { BlockShell, EditableRegion, EditorView, SelectionSink, ViewController, VoidBlockFallback, caretFromPoint, defaultRenderers, domMapOf, hostKey, isCrossSelection, renderInline, useEditorState, useQuoinEditor, useViewController } from './chunk-QC35D2AU.js';
|
|
2
|
+
export { Transaction, addMarkStep, applyTransaction, blockInputRules, blockRangeSelection, coreExtensions, countDoc, countText, createEditor, createPluginKey, createState, defineExtension, fromHTML, getPluginState, insertBlockAfter, insertBlocksStep, insertText, insertTextWithRules, joinBlocksStep, keyName, markInputRules, moveBlocksStep, nodeSelection, normalizeKey, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, setAttrsStep, setBlockType, setIndentStep, splitBlockStep, stepFromJSON, textSelection, toHTML, toMarkdown, toPlainText, toggleMark, typographyRules, undo } from './chunk-L4D23LM2.js';
|
|
3
|
+
export { diffBlocks, diffInline } from './chunk-3BXUGX5F.js';
|
|
4
|
+
export { PALETTE, atom, coreBlockSpecs, createBlockCodec, createSchema, fromMarkdown, normalizeInline, parseInline, sanitizeHref, serializeInline, text } from './chunk-L6OW2FL3.js';
|
|
5
|
+
//# sourceMappingURL=headless.js.map
|
|
152
6
|
//# sourceMappingURL=headless.js.map
|
package/dist/headless.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"mappings":"","
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"headless.js"}
|