quoin-editor 1.7.0 → 2.0.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 -1
- package/MIGRATION.md +137 -23
- package/README.md +32 -11
- package/dist/ai-labels-BXX32H9a.d.cts +53 -0
- package/dist/ai-labels-BXX32H9a.d.ts +53 -0
- package/dist/ai.cjs +84 -86
- package/dist/ai.d.cts +4 -53
- package/dist/ai.d.ts +4 -53
- package/dist/ai.js +8 -10
- package/dist/ai.js.map +1 -1
- package/dist/catalogue.cjs +27 -26
- package/dist/catalogue.d.cts +10 -1
- package/dist/catalogue.d.ts +10 -1
- package/dist/catalogue.js +18 -17
- package/dist/catalogue.js.map +1 -1
- package/dist/{chunk-MNA7MBCH.js → chunk-2UKI26JA.js} +9 -11
- package/dist/chunk-2UKI26JA.js.map +1 -0
- package/dist/{chunk-MZXW2HXP.cjs → chunk-4PIJC4FD.cjs} +27 -29
- package/dist/{chunk-OS2O6IKX.js → chunk-5RBMZGKV.js} +4 -4
- package/dist/{chunk-OS2O6IKX.js.map → chunk-5RBMZGKV.js.map} +1 -1
- package/dist/{chunk-OJ4O6HWC.js → chunk-5X52BAZB.js} +10 -12
- package/dist/chunk-5X52BAZB.js.map +1 -0
- package/dist/{chunk-JY5VUHKN.cjs → chunk-5YAJZSTI.cjs} +28 -30
- package/dist/{chunk-YEFPH27F.cjs → chunk-66OPHDFA.cjs} +92 -94
- package/dist/{chunk-PWUFFHAQ.js → chunk-6BVE46K7.js} +8 -10
- package/dist/chunk-6BVE46K7.js.map +1 -0
- package/dist/{chunk-LKZJ2TDU.cjs → chunk-77CNOLHY.cjs} +10 -13
- package/dist/{chunk-4T4TJ2QS.cjs → chunk-7E43TURF.cjs} +7 -7
- package/dist/{chunk-BJTOLCRR.js → chunk-7Y4B7NHO.js} +2 -2
- package/dist/chunk-7Y4B7NHO.js.map +1 -0
- package/dist/{chunk-7GU25Z6L.js → chunk-B4VCDJSA.js} +9 -11
- package/dist/chunk-B4VCDJSA.js.map +1 -0
- package/dist/{chunk-QR2NIDUK.cjs → chunk-BYYCD54G.cjs} +2 -2
- package/dist/{chunk-6T5YGCZ5.cjs → chunk-CJVJNMOB.cjs} +302 -299
- package/dist/{chunk-CSKKSXCE.js → chunk-CSPCDVCT.js} +3 -3
- package/dist/{chunk-CSKKSXCE.js.map → chunk-CSPCDVCT.js.map} +1 -1
- package/dist/{chunk-BF7733XS.cjs → chunk-D6CIIWCU.cjs} +57 -59
- package/dist/{chunk-GHNQKJMD.js → chunk-DBOZFNWU.js} +3 -3
- package/dist/{chunk-GHNQKJMD.js.map → chunk-DBOZFNWU.js.map} +1 -1
- package/dist/{chunk-BM2GRZNM.cjs → chunk-DJU25PFC.cjs} +11 -11
- package/dist/chunk-DLQCTGC3.js +10 -0
- package/dist/chunk-DLQCTGC3.js.map +1 -0
- package/dist/{chunk-RQXJKJ5S.js → chunk-EU5IGKMP.js} +7 -10
- package/dist/chunk-EU5IGKMP.js.map +1 -0
- package/dist/{chunk-VZZPCYA3.cjs → chunk-FK7EBZPX.cjs} +226 -226
- package/dist/{chunk-BXSWZEA5.js → chunk-GPTJYWGS.js} +3 -3
- package/dist/{chunk-BXSWZEA5.js.map → chunk-GPTJYWGS.js.map} +1 -1
- package/dist/{chunk-I722LBD3.cjs → chunk-HOSDMHK6.cjs} +32 -34
- package/dist/{chunk-AZF7B2AE.cjs → chunk-IKZSCTRF.cjs} +11 -11
- package/dist/{chunk-R7MYG522.js → chunk-IW4TMECB.js} +3 -3
- package/dist/{chunk-R7MYG522.js.map → chunk-IW4TMECB.js.map} +1 -1
- package/dist/{chunk-PLUMKN4B.js → chunk-J2SVYBTC.js} +10 -12
- package/dist/chunk-J2SVYBTC.js.map +1 -0
- package/dist/{chunk-UZS3TW75.js → chunk-KQPZTSW3.js} +9 -11
- package/dist/chunk-KQPZTSW3.js.map +1 -0
- package/dist/{chunk-STKGRXSA.cjs → chunk-LEICOZYK.cjs} +15 -17
- package/dist/{chunk-H3C3MJW5.cjs → chunk-LM3DHROX.cjs} +2 -2
- package/dist/{chunk-AD3NY7NA.js → chunk-LSI4RMTY.js} +3 -3
- package/dist/{chunk-AD3NY7NA.js.map → chunk-LSI4RMTY.js.map} +1 -1
- package/dist/{chunk-QOIVLYMW.js → chunk-M77A3EGD.js} +5 -5
- package/dist/{chunk-QOIVLYMW.js.map → chunk-M77A3EGD.js.map} +1 -1
- package/dist/{chunk-5JEQZIRI.js → chunk-MAS4AEF4.js} +8 -10
- package/dist/chunk-MAS4AEF4.js.map +1 -0
- package/dist/{chunk-KDK2ATMB.cjs → chunk-NFO3W644.cjs} +51 -53
- package/dist/{chunk-XFEDJEJF.js → chunk-NL5J77VD.js} +204 -204
- package/dist/chunk-NL5J77VD.js.map +1 -0
- package/dist/{chunk-WN7BZDNH.cjs → chunk-PURYVDC3.cjs} +13 -13
- package/dist/{chunk-G25FMFEZ.js → chunk-UDBLZILE.js} +4 -4
- package/dist/{chunk-G25FMFEZ.js.map → chunk-UDBLZILE.js.map} +1 -1
- package/dist/{chunk-FNJOPGMN.cjs → chunk-V4WQG7FR.cjs} +116 -118
- package/dist/{chunk-IJKGF6SC.js → chunk-YABGWOAV.js} +8 -10
- package/dist/chunk-YABGWOAV.js.map +1 -0
- package/dist/{chunk-XZ4NC3Q7.cjs → chunk-YEDPBYO5.cjs} +4 -4
- package/dist/{chunk-QJ34MOFV.cjs → chunk-Z6LAARPB.cjs} +315 -320
- package/dist/{chunk-HSLOPJVT.js → chunk-ZN5DHNSL.js} +19 -16
- package/dist/chunk-ZN5DHNSL.js.map +1 -0
- package/dist/chunk-ZWTIRGY5.cjs +10 -0
- package/dist/comments-labels-DWqsSz8G.d.cts +30 -0
- package/dist/comments-labels-DWqsSz8G.d.ts +30 -0
- package/dist/comments.cjs +63 -65
- package/dist/comments.d.cts +4 -30
- package/dist/comments.d.ts +4 -30
- package/dist/comments.js +9 -11
- package/dist/comments.js.map +1 -1
- package/dist/{diagram-extension-Da7hp-tv.d.ts → diagram-extension-22x_njXB.d.ts} +4 -12
- package/dist/{diagram-extension-D573COJv.d.cts → diagram-extension-C_FSkoj9.d.cts} +4 -12
- package/dist/diagram-labels-Bi_jEZ8_.d.cts +11 -0
- package/dist/diagram-labels-Bi_jEZ8_.d.ts +11 -0
- package/dist/diagram.cjs +10 -9
- package/dist/diagram.d.cts +3 -2
- package/dist/diagram.d.ts +3 -2
- package/dist/diagram.js +7 -6
- package/dist/diff-labels-DWwg7N0n.d.cts +27 -0
- package/dist/diff-labels-DWwg7N0n.d.ts +27 -0
- package/dist/diff.cjs +27 -29
- package/dist/diff.d.cts +4 -27
- package/dist/diff.d.ts +4 -27
- package/dist/diff.js +5 -7
- package/dist/diff.js.map +1 -1
- package/dist/docx.cjs +30 -30
- package/dist/docx.js +3 -3
- package/dist/embed-labels-BiVa9HYl.d.cts +23 -0
- package/dist/embed-labels-BiVa9HYl.d.ts +23 -0
- package/dist/embed.cjs +10 -9
- package/dist/embed.d.cts +4 -23
- package/dist/embed.d.ts +4 -23
- package/dist/embed.js +8 -7
- package/dist/emoji-extension-C832oGeT.d.ts +16 -0
- package/dist/emoji-extension-Dk5IQLZf.d.cts +16 -0
- package/dist/{emoji-extension-gRKnbW8G.d.ts → emoji-labels-YwOms7ZJ.d.cts} +2 -15
- package/dist/{emoji-extension-C3o_Y5uC.d.cts → emoji-labels-YwOms7ZJ.d.ts} +2 -15
- package/dist/emoji.cjs +10 -9
- package/dist/emoji.d.cts +4 -3
- package/dist/emoji.d.ts +4 -3
- package/dist/emoji.js +7 -6
- package/dist/engine.cjs +58 -58
- package/dist/engine.d.cts +8 -7
- package/dist/engine.d.ts +8 -7
- package/dist/engine.js +3 -3
- package/dist/find-extension-BfruAPLi.d.cts +15 -0
- package/dist/find-extension-DmK9_N81.d.ts +15 -0
- package/dist/{find-extension-B_Ctrs6T.d.ts → find-labels-C4vs8Qe9.d.cts} +2 -14
- package/dist/{find-extension-BGGsJMu4.d.cts → find-labels-C4vs8Qe9.d.ts} +2 -14
- package/dist/find.cjs +11 -10
- package/dist/find.d.cts +2 -1
- package/dist/find.d.ts +2 -1
- package/dist/find.js +7 -6
- package/dist/headless.cjs +69 -89
- package/dist/headless.d.cts +21 -28
- package/dist/headless.d.ts +21 -28
- package/dist/headless.js +4 -4
- package/dist/highlight.cjs +7 -6
- package/dist/highlight.js +6 -5
- package/dist/highlight.js.map +1 -1
- package/dist/{index-CsG7OQoq.d.cts → index-3fYvwqUZ.d.cts} +1 -1
- package/dist/{index-h1llgZM-.d.ts → index-CgxnzCO5.d.ts} +1 -1
- package/dist/index.cjs +82 -101
- package/dist/index.d.cts +18 -185
- package/dist/index.d.ts +18 -185
- package/dist/index.js +6 -5
- package/dist/labels-BhRJYo46.d.ts +176 -0
- package/dist/labels-CiCxj2jP.d.cts +176 -0
- package/dist/locale-ar.cjs +565 -0
- package/dist/locale-ar.d.cts +63 -0
- package/dist/locale-ar.d.ts +63 -0
- package/dist/locale-ar.js +551 -0
- package/dist/locale-ar.js.map +1 -0
- package/dist/locale-de.cjs +510 -0
- package/dist/locale-de.d.cts +63 -0
- package/dist/locale-de.d.ts +63 -0
- package/dist/locale-de.js +496 -0
- package/dist/locale-de.js.map +1 -0
- package/dist/locale-es.cjs +510 -0
- package/dist/locale-es.d.cts +63 -0
- package/dist/locale-es.d.ts +63 -0
- package/dist/locale-es.js +496 -0
- package/dist/locale-es.js.map +1 -0
- package/dist/locale-fr.cjs +510 -0
- package/dist/locale-fr.d.cts +63 -0
- package/dist/locale-fr.d.ts +63 -0
- package/dist/locale-fr.js +496 -0
- package/dist/locale-fr.js.map +1 -0
- package/dist/locale-ja.cjs +505 -0
- package/dist/locale-ja.d.cts +63 -0
- package/dist/locale-ja.d.ts +63 -0
- package/dist/locale-ja.js +491 -0
- package/dist/locale-ja.js.map +1 -0
- package/dist/locale-pt.cjs +511 -0
- package/dist/locale-pt.d.cts +63 -0
- package/dist/locale-pt.d.ts +63 -0
- package/dist/locale-pt.js +497 -0
- package/dist/locale-pt.js.map +1 -0
- package/dist/locale-zh.cjs +505 -0
- package/dist/locale-zh.d.cts +63 -0
- package/dist/locale-zh.d.ts +63 -0
- package/dist/locale-zh.js +491 -0
- package/dist/locale-zh.js.map +1 -0
- package/dist/math-labels-DOf5KFxp.d.cts +24 -0
- package/dist/math-labels-DOf5KFxp.d.ts +24 -0
- package/dist/math.cjs +11 -10
- package/dist/math.d.cts +4 -24
- package/dist/math.d.ts +4 -24
- package/dist/math.js +9 -8
- package/dist/mention-labels-DIQy8LRT.d.cts +15 -0
- package/dist/mention-labels-DIQy8LRT.d.ts +15 -0
- package/dist/mention.cjs +11 -10
- package/dist/mention.d.cts +4 -15
- package/dist/mention.d.ts +4 -15
- package/dist/mention.js +9 -8
- package/dist/{view-controller-p-2x3J7Y.d.ts → node-reveal-BnFcnHhz.d.ts} +14 -14
- package/dist/{view-controller-BfVSNZYZ.d.cts → node-reveal-DY6bimv3.d.cts} +14 -14
- package/dist/palette-BrX-hEd-.d.cts +4 -0
- package/dist/palette-BrX-hEd-.d.ts +4 -0
- package/dist/presence-labels-DXVJLifl.d.cts +15 -0
- package/dist/presence-labels-DXVJLifl.d.ts +15 -0
- package/dist/presence.cjs +40 -42
- package/dist/presence.d.cts +4 -15
- package/dist/presence.d.ts +4 -15
- package/dist/presence.js +9 -11
- package/dist/presence.js.map +1 -1
- package/dist/source-labels-CeQDXsYZ.d.cts +9 -0
- package/dist/source-labels-CeQDXsYZ.d.ts +9 -0
- package/dist/source.cjs +11 -14
- package/dist/source.d.cts +5 -10
- package/dist/source.d.ts +5 -10
- package/dist/source.js +7 -10
- package/dist/source.js.map +1 -1
- package/dist/{stats-extension-oD6D1cYy.d.ts → stats-extension-D5HySF0a.d.cts} +4 -16
- package/dist/{stats-extension-XqOTvRaq.d.cts → stats-extension-Dmw0Ujxe.d.ts} +4 -16
- package/dist/stats-labels-W8gep51s.d.cts +15 -0
- package/dist/stats-labels-W8gep51s.d.ts +15 -0
- package/dist/stats.cjs +11 -10
- package/dist/stats.d.cts +3 -2
- package/dist/stats.d.ts +3 -2
- package/dist/stats.js +8 -7
- package/dist/styles.css +2 -2
- package/dist/table-extension-7LkLNK6Q.d.cts +15 -0
- package/dist/table-extension-DEpV0DnP.d.ts +15 -0
- package/dist/{table-extension-v6VB59bF.d.ts → table-labels-Dc-MzU3j.d.cts} +2 -14
- package/dist/{table-extension-BP47hHoz.d.cts → table-labels-Dc-MzU3j.d.ts} +2 -14
- package/dist/table.cjs +26 -25
- package/dist/table.d.cts +2 -1
- package/dist/table.d.ts +2 -1
- package/dist/table.js +7 -6
- package/dist/{to-html-1oD-CDle.d.cts → to-html-C19PbIzh.d.cts} +1 -0
- package/dist/{to-html-CLRBCX0I.d.ts → to-html-CogwrQer.d.ts} +1 -0
- package/dist/{to-markdown-CFPMbbiX.d.cts → to-markdown-C2w7Dzg8.d.cts} +1 -0
- package/dist/{to-markdown-BVOzhgVM.d.ts → to-markdown-DC1EUye5.d.ts} +1 -0
- package/dist/toc-extension-Dvh37bWQ.d.cts +15 -0
- package/dist/toc-extension-SVckrFmb.d.ts +15 -0
- package/dist/toc-labels-B2apPfXG.d.cts +14 -0
- package/dist/toc-labels-B2apPfXG.d.ts +14 -0
- package/dist/toc.cjs +10 -9
- package/dist/toc.d.cts +3 -2
- package/dist/toc.d.ts +3 -2
- package/dist/toc.js +7 -6
- package/dist/{types-DXF9p4qV.d.cts → types-Bzhq5AXj.d.cts} +1 -0
- package/dist/{types-BjLcmV00.d.ts → types-DMuuDBVh.d.ts} +1 -0
- package/dist/view.cjs +4 -4
- package/dist/view.js +2 -2
- package/dist/yjs.cjs +121 -121
- package/dist/yjs.d.cts +2 -2
- package/dist/yjs.d.ts +2 -2
- package/dist/yjs.js +5 -5
- package/package.json +71 -1
- package/dist/chunk-5JEQZIRI.js.map +0 -1
- package/dist/chunk-7GU25Z6L.js.map +0 -1
- package/dist/chunk-BJTOLCRR.js.map +0 -1
- package/dist/chunk-HSLOPJVT.js.map +0 -1
- package/dist/chunk-IJKGF6SC.js.map +0 -1
- package/dist/chunk-MNA7MBCH.js.map +0 -1
- package/dist/chunk-OJ4O6HWC.js.map +0 -1
- package/dist/chunk-PLUMKN4B.js.map +0 -1
- package/dist/chunk-PWUFFHAQ.js.map +0 -1
- package/dist/chunk-RQXJKJ5S.js.map +0 -1
- package/dist/chunk-UZS3TW75.js.map +0 -1
- package/dist/chunk-XFEDJEJF.js.map +0 -1
- package/dist/toc-extension-CI6jNOYl.d.cts +0 -26
- package/dist/toc-extension-CTHWjNJC.d.ts +0 -26
- /package/dist/{chunk-WZA5S5EJ.cjs → chunk-I7X7B3WD.cjs} +0 -0
package/dist/engine.cjs
CHANGED
|
@@ -1,228 +1,228 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkFK7EBZPX_cjs = require('./chunk-FK7EBZPX.cjs');
|
|
4
|
+
var chunkDJU25PFC_cjs = require('./chunk-DJU25PFC.cjs');
|
|
5
|
+
var chunkI7X7B3WD_cjs = require('./chunk-I7X7B3WD.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Transaction", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkFK7EBZPX_cjs.Transaction; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "addMarkStep", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkFK7EBZPX_cjs.addMarkStep; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "applyTransaction", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkFK7EBZPX_cjs.applyTransaction; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "blockInputRules", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkFK7EBZPX_cjs.blockInputRules; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "blockRangeSelection", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkFK7EBZPX_cjs.blockRangeSelection; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "coreExtensions", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkFK7EBZPX_cjs.coreExtensions; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "countDoc", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkFK7EBZPX_cjs.countDoc; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "countText", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkFK7EBZPX_cjs.countText; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "createEditor", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFK7EBZPX_cjs.createEditor; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "createPluginKey", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkFK7EBZPX_cjs.createPluginKey; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "createState", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkFK7EBZPX_cjs.createState; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "defineExtension", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkFK7EBZPX_cjs.defineExtension; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "fromHTML", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkFK7EBZPX_cjs.fromHTML; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "getPluginState", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkFK7EBZPX_cjs.getPluginState; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "insertBlockAfter", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkFK7EBZPX_cjs.insertBlockAfter; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "insertBlocksStep", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkFK7EBZPX_cjs.insertBlocksStep; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "insertText", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkFK7EBZPX_cjs.insertText; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "insertTextWithRules", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkFK7EBZPX_cjs.insertTextWithRules; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "joinBlocksStep", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkFK7EBZPX_cjs.joinBlocksStep; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "keyName", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkFK7EBZPX_cjs.keyName; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "markInputRules", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkFK7EBZPX_cjs.markInputRules; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "moveBlocksStep", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkFK7EBZPX_cjs.moveBlocksStep; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "nodeSelection", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkFK7EBZPX_cjs.nodeSelection; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "normalizeKey", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkFK7EBZPX_cjs.normalizeKey; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "redo", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkFK7EBZPX_cjs.redo; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "removeBlocksStep", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkFK7EBZPX_cjs.removeBlocksStep; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "removeMarkStep", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkFK7EBZPX_cjs.removeMarkStep; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "replaceBlockStep", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkFK7EBZPX_cjs.replaceBlockStep; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "replaceDocStep", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkFK7EBZPX_cjs.replaceDocStep; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "replaceInlineStep", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkFK7EBZPX_cjs.replaceInlineStep; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "setAttrsStep", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkFK7EBZPX_cjs.setAttrsStep; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "setBlockType", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkFK7EBZPX_cjs.setBlockType; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "setIndentStep", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkFK7EBZPX_cjs.setIndentStep; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "splitBlockStep", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkFK7EBZPX_cjs.splitBlockStep; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "stepFromJSON", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkFK7EBZPX_cjs.stepFromJSON; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "textSelection", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkFK7EBZPX_cjs.textSelection; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "toHTML", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkFK7EBZPX_cjs.toHTML; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "toMarkdown", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkFK7EBZPX_cjs.toMarkdown; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "toPlainText", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkFK7EBZPX_cjs.toPlainText; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "toggleMark", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkFK7EBZPX_cjs.toggleMark; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "typographyRules", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkFK7EBZPX_cjs.typographyRules; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "undo", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkFK7EBZPX_cjs.undo; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "diffBlocks", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkDJU25PFC_cjs.diffBlocks; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "diffInline", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkDJU25PFC_cjs.diffInline; }
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "PALETTE", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkI7X7B3WD_cjs.PALETTE; }
|
|
188
188
|
});
|
|
189
189
|
Object.defineProperty(exports, "atom", {
|
|
190
190
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkI7X7B3WD_cjs.atom; }
|
|
192
192
|
});
|
|
193
193
|
Object.defineProperty(exports, "coreBlockSpecs", {
|
|
194
194
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkI7X7B3WD_cjs.coreBlockSpecs; }
|
|
196
196
|
});
|
|
197
197
|
Object.defineProperty(exports, "createBlockCodec", {
|
|
198
198
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkI7X7B3WD_cjs.createBlockCodec; }
|
|
200
200
|
});
|
|
201
201
|
Object.defineProperty(exports, "createSchema", {
|
|
202
202
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkI7X7B3WD_cjs.createSchema; }
|
|
204
204
|
});
|
|
205
205
|
Object.defineProperty(exports, "fromMarkdown", {
|
|
206
206
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkI7X7B3WD_cjs.fromMarkdown; }
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "normalizeInline", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkI7X7B3WD_cjs.normalizeInline; }
|
|
212
212
|
});
|
|
213
213
|
Object.defineProperty(exports, "parseInline", {
|
|
214
214
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkI7X7B3WD_cjs.parseInline; }
|
|
216
216
|
});
|
|
217
217
|
Object.defineProperty(exports, "sanitizeHref", {
|
|
218
218
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkI7X7B3WD_cjs.sanitizeHref; }
|
|
220
220
|
});
|
|
221
221
|
Object.defineProperty(exports, "serializeInline", {
|
|
222
222
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkI7X7B3WD_cjs.serializeInline; }
|
|
224
224
|
});
|
|
225
225
|
Object.defineProperty(exports, "text", {
|
|
226
226
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkI7X7B3WD_cjs.text; }
|
|
228
228
|
});
|
package/dist/engine.d.cts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { A as Attrs, M as Mark, c as AtomNode, m as InlineNode, I as Inline, T as TextNode, i as BlockSpec, n as MarkSpec, e as AtomSpec, S as Schema, Q as QuoinBlock, k as EngineBlock, E as EngineDoc, C as CodecContext, s as StepJSON, a as Step, j as CreatedBlock, h as BlockRangeSelection, N as NodeSelection, P as Pos, u as TextSelection, p as ParseInlineOptions, r as SerializeInlineOptions } from './types-CQ8Vw_7N.cjs';
|
|
2
2
|
export { d as Assoc, B as BlockAttrs, f as BlockContent, g as BlockFlow, l as InlineCodec, o as MarkdownExportContext, q as PosMap, b as Selection, t as StepResult } from './types-CQ8Vw_7N.cjs';
|
|
3
|
-
import { b as Command, I as InputRule, o as TextStats, E as Extension } from './types-
|
|
4
|
-
export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, a as Editor, j as EditorOptions, c as EditorState, F as FromHTMLOptions, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-
|
|
5
|
-
export { T as ToMarkdownOptions, t as toMarkdown } from './to-markdown-
|
|
3
|
+
import { b as Command, I as InputRule, o as TextStats, E as Extension } from './types-Bzhq5AXj.cjs';
|
|
4
|
+
export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, a as Editor, j as EditorOptions, c as EditorState, F as FromHTMLOptions, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-Bzhq5AXj.cjs';
|
|
5
|
+
export { T as ToMarkdownOptions, t as toMarkdown } from './to-markdown-C2w7Dzg8.cjs';
|
|
6
|
+
export { P as PALETTE } from './palette-BrX-hEd-.cjs';
|
|
6
7
|
export { E as EmbedProvider, a as EmbedUrl } from './embed-provider-jXwlRmnp.cjs';
|
|
7
|
-
export { H as HTMLOptions, t as toHTML } from './to-html-
|
|
8
|
+
export { H as HTMLOptions, t as toHTML } from './to-html-C19PbIzh.cjs';
|
|
8
9
|
|
|
9
10
|
declare function text(value: string, marks?: readonly Mark[]): TextNode;
|
|
10
11
|
declare function atom(type: string, attrs: Attrs, marks?: readonly Mark[]): AtomNode;
|
|
@@ -72,16 +73,16 @@ type FromMarkdownOptions = {
|
|
|
72
73
|
softBreak?: 'newline' | 'space';
|
|
73
74
|
newId?: () => string;
|
|
74
75
|
};
|
|
76
|
+
/** A markdown file read back into blocks, one text block per line, ready to pass to the canvas as `blocks`. */
|
|
75
77
|
declare function fromMarkdown(markdown: string, options?: FromMarkdownOptions): QuoinBlock[];
|
|
76
78
|
|
|
77
79
|
declare function parseInline(markdown: string, options?: ParseInlineOptions): Inline;
|
|
78
80
|
|
|
79
81
|
declare function serializeInline(inline: Inline, options?: SerializeInlineOptions): string;
|
|
80
82
|
|
|
81
|
-
declare const PALETTE: readonly ["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red"];
|
|
82
|
-
|
|
83
83
|
declare function sanitizeHref(href: string): string | null;
|
|
84
84
|
|
|
85
|
+
/** A whole document as plain text, its markup dropped, for a search index, a summary or a word count. */
|
|
85
86
|
declare function toPlainText(blocks: readonly QuoinBlock[], options?: {
|
|
86
87
|
schema?: Schema;
|
|
87
88
|
}): string;
|
|
@@ -132,5 +133,5 @@ declare function diffBlocks(a: readonly QuoinBlock[], b: readonly QuoinBlock[],
|
|
|
132
133
|
|
|
133
134
|
declare function defineExtension<E extends Extension>(extension: E): E;
|
|
134
135
|
|
|
135
|
-
export { AtomNode, AtomSpec, Attrs, BlockRangeSelection, BlockSpec, CodecContext, Command, CreatedBlock, EngineBlock, EngineDoc, Extension, Inline, InlineNode, InputRule, Mark, MarkSpec, NodeSelection,
|
|
136
|
+
export { AtomNode, AtomSpec, Attrs, BlockRangeSelection, BlockSpec, CodecContext, Command, CreatedBlock, EngineBlock, EngineDoc, Extension, Inline, InlineNode, InputRule, Mark, MarkSpec, NodeSelection, ParseInlineOptions, Pos, QuoinBlock, Schema, SerializeInlineOptions, Step, StepJSON, TextNode, TextSelection, TextStats, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toPlainText, typographyRules, undo };
|
|
136
137
|
export type { AttrsPatch, BlockChange, BlockCodec, BlockDiff, FromMarkdownOptions, InlineChange, SchemaInput };
|
package/dist/engine.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { A as Attrs, M as Mark, c as AtomNode, m as InlineNode, I as Inline, T as TextNode, i as BlockSpec, n as MarkSpec, e as AtomSpec, S as Schema, Q as QuoinBlock, k as EngineBlock, E as EngineDoc, C as CodecContext, s as StepJSON, a as Step, j as CreatedBlock, h as BlockRangeSelection, N as NodeSelection, P as Pos, u as TextSelection, p as ParseInlineOptions, r as SerializeInlineOptions } from './types-CQ8Vw_7N.js';
|
|
2
2
|
export { d as Assoc, B as BlockAttrs, f as BlockContent, g as BlockFlow, l as InlineCodec, o as MarkdownExportContext, q as PosMap, b as Selection, t as StepResult } from './types-CQ8Vw_7N.js';
|
|
3
|
-
import { b as Command, I as InputRule, o as TextStats, E as Extension } from './types-
|
|
4
|
-
export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, a as Editor, j as EditorOptions, c as EditorState, F as FromHTMLOptions, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-
|
|
5
|
-
export { T as ToMarkdownOptions, t as toMarkdown } from './to-markdown-
|
|
3
|
+
import { b as Command, I as InputRule, o as TextStats, E as Extension } from './types-DMuuDBVh.js';
|
|
4
|
+
export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, a as Editor, j as EditorOptions, c as EditorState, F as FromHTMLOptions, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-DMuuDBVh.js';
|
|
5
|
+
export { T as ToMarkdownOptions, t as toMarkdown } from './to-markdown-DC1EUye5.js';
|
|
6
|
+
export { P as PALETTE } from './palette-BrX-hEd-.js';
|
|
6
7
|
export { E as EmbedProvider, a as EmbedUrl } from './embed-provider-jXwlRmnp.js';
|
|
7
|
-
export { H as HTMLOptions, t as toHTML } from './to-html-
|
|
8
|
+
export { H as HTMLOptions, t as toHTML } from './to-html-CogwrQer.js';
|
|
8
9
|
|
|
9
10
|
declare function text(value: string, marks?: readonly Mark[]): TextNode;
|
|
10
11
|
declare function atom(type: string, attrs: Attrs, marks?: readonly Mark[]): AtomNode;
|
|
@@ -72,16 +73,16 @@ type FromMarkdownOptions = {
|
|
|
72
73
|
softBreak?: 'newline' | 'space';
|
|
73
74
|
newId?: () => string;
|
|
74
75
|
};
|
|
76
|
+
/** A markdown file read back into blocks, one text block per line, ready to pass to the canvas as `blocks`. */
|
|
75
77
|
declare function fromMarkdown(markdown: string, options?: FromMarkdownOptions): QuoinBlock[];
|
|
76
78
|
|
|
77
79
|
declare function parseInline(markdown: string, options?: ParseInlineOptions): Inline;
|
|
78
80
|
|
|
79
81
|
declare function serializeInline(inline: Inline, options?: SerializeInlineOptions): string;
|
|
80
82
|
|
|
81
|
-
declare const PALETTE: readonly ["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red"];
|
|
82
|
-
|
|
83
83
|
declare function sanitizeHref(href: string): string | null;
|
|
84
84
|
|
|
85
|
+
/** A whole document as plain text, its markup dropped, for a search index, a summary or a word count. */
|
|
85
86
|
declare function toPlainText(blocks: readonly QuoinBlock[], options?: {
|
|
86
87
|
schema?: Schema;
|
|
87
88
|
}): string;
|
|
@@ -132,5 +133,5 @@ declare function diffBlocks(a: readonly QuoinBlock[], b: readonly QuoinBlock[],
|
|
|
132
133
|
|
|
133
134
|
declare function defineExtension<E extends Extension>(extension: E): E;
|
|
134
135
|
|
|
135
|
-
export { AtomNode, AtomSpec, Attrs, BlockRangeSelection, BlockSpec, CodecContext, Command, CreatedBlock, EngineBlock, EngineDoc, Extension, Inline, InlineNode, InputRule, Mark, MarkSpec, NodeSelection,
|
|
136
|
+
export { AtomNode, AtomSpec, Attrs, BlockRangeSelection, BlockSpec, CodecContext, Command, CreatedBlock, EngineBlock, EngineDoc, Extension, Inline, InlineNode, InputRule, Mark, MarkSpec, NodeSelection, ParseInlineOptions, Pos, QuoinBlock, Schema, SerializeInlineOptions, Step, StepJSON, TextNode, TextSelection, TextStats, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toPlainText, typographyRules, undo };
|
|
136
137
|
export type { AttrsPatch, BlockChange, BlockCodec, BlockDiff, FromMarkdownOptions, InlineChange, SchemaInput };
|
package/dist/engine.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
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-
|
|
2
|
-
export { diffBlocks, diffInline } from './chunk-
|
|
3
|
-
export { PALETTE, atom, coreBlockSpecs, createBlockCodec, createSchema, fromMarkdown, normalizeInline, parseInline, sanitizeHref, serializeInline, text } from './chunk-
|
|
1
|
+
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-5RBMZGKV.js';
|
|
2
|
+
export { diffBlocks, diffInline } from './chunk-CSPCDVCT.js';
|
|
3
|
+
export { PALETTE, atom, coreBlockSpecs, createBlockCodec, createSchema, fromMarkdown, normalizeInline, parseInline, sanitizeHref, serializeInline, text } from './chunk-7Y4B7NHO.js';
|
|
4
4
|
//# sourceMappingURL=engine.js.map
|
|
5
5
|
//# sourceMappingURL=engine.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { E as Extension } from './types-Bzhq5AXj.cjs';
|
|
2
|
+
import { F as FindLabels } from './find-labels-C4vs8Qe9.cjs';
|
|
3
|
+
|
|
4
|
+
type FindOptions = {
|
|
5
|
+
/** Every string the feature shows or speaks, English by default. A key left out stays English. */
|
|
6
|
+
labels?: Partial<FindLabels>;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Find and replace: Mod+Shift+F opens a panel that marks every match of its query in the text of the document, steps
|
|
10
|
+
* through them, and replaces the current one or all of them. A read-only canvas finds without replacing.
|
|
11
|
+
*/
|
|
12
|
+
declare function findExtension(options?: FindOptions): Extension;
|
|
13
|
+
|
|
14
|
+
export { findExtension as f };
|
|
15
|
+
export type { FindOptions as F };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { E as Extension } from './types-DMuuDBVh.js';
|
|
2
|
+
import { F as FindLabels } from './find-labels-C4vs8Qe9.js';
|
|
3
|
+
|
|
4
|
+
type FindOptions = {
|
|
5
|
+
/** Every string the feature shows or speaks, English by default. A key left out stays English. */
|
|
6
|
+
labels?: Partial<FindLabels>;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Find and replace: Mod+Shift+F opens a panel that marks every match of its query in the text of the document, steps
|
|
10
|
+
* through them, and replaces the current one or all of them. A read-only canvas finds without replacing.
|
|
11
|
+
*/
|
|
12
|
+
declare function findExtension(options?: FindOptions): Extension;
|
|
13
|
+
|
|
14
|
+
export { findExtension as f };
|
|
15
|
+
export type { FindOptions as F };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { E as Extension } from './types-BjLcmV00.js';
|
|
2
|
-
|
|
3
1
|
/** Every string the find and replace feature shows or speaks. */
|
|
4
2
|
type FindLabels = {
|
|
5
3
|
/** The name of the panel. */
|
|
@@ -28,15 +26,5 @@ type FindLabels = {
|
|
|
28
26
|
};
|
|
29
27
|
declare const englishFindLabels: FindLabels;
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
labels?: Partial<FindLabels>;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Find and replace: Mod+Shift+F opens a panel that marks every match of its query in the text of the document, steps
|
|
37
|
-
* through them, and replaces the current one or all of them. A read-only canvas finds without replacing.
|
|
38
|
-
*/
|
|
39
|
-
declare function findExtension(options?: FindOptions): Extension;
|
|
40
|
-
|
|
41
|
-
export { englishFindLabels as e, findExtension as f };
|
|
42
|
-
export type { FindLabels as F, FindOptions as a };
|
|
29
|
+
export { englishFindLabels as e };
|
|
30
|
+
export type { FindLabels as F };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { E as Extension } from './types-DXF9p4qV.cjs';
|
|
2
|
-
|
|
3
1
|
/** Every string the find and replace feature shows or speaks. */
|
|
4
2
|
type FindLabels = {
|
|
5
3
|
/** The name of the panel. */
|
|
@@ -28,15 +26,5 @@ type FindLabels = {
|
|
|
28
26
|
};
|
|
29
27
|
declare const englishFindLabels: FindLabels;
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
labels?: Partial<FindLabels>;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Find and replace: Mod+Shift+F opens a panel that marks every match of its query in the text of the document, steps
|
|
37
|
-
* through them, and replaces the current one or all of them. A read-only canvas finds without replacing.
|
|
38
|
-
*/
|
|
39
|
-
declare function findExtension(options?: FindOptions): Extension;
|
|
40
|
-
|
|
41
|
-
export { englishFindLabels as e, findExtension as f };
|
|
42
|
-
export type { FindLabels as F, FindOptions as a };
|
|
29
|
+
export { englishFindLabels as e };
|
|
30
|
+
export type { FindLabels as F };
|
package/dist/find.cjs
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var chunkNFO3W644_cjs = require('./chunk-NFO3W644.cjs');
|
|
5
|
+
require('./chunk-CJVJNMOB.cjs');
|
|
6
|
+
require('./chunk-Z6LAARPB.cjs');
|
|
7
|
+
require('./chunk-ZWTIRGY5.cjs');
|
|
7
8
|
require('./chunk-A6PGQVTR.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-FK7EBZPX.cjs');
|
|
10
|
+
require('./chunk-DJU25PFC.cjs');
|
|
11
|
+
require('./chunk-I7X7B3WD.cjs');
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
Object.defineProperty(exports, "englishFindLabels", {
|
|
15
16
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNFO3W644_cjs.englishFindLabels; }
|
|
17
18
|
});
|
|
18
19
|
Object.defineProperty(exports, "findExtension", {
|
|
19
20
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkNFO3W644_cjs.findExtension; }
|
|
21
22
|
});
|
|
22
23
|
Object.defineProperty(exports, "findMatches", {
|
|
23
24
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkNFO3W644_cjs.findMatches; }
|
|
25
26
|
});
|
|
26
27
|
Object.defineProperty(exports, "replaceMatches", {
|
|
27
28
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkNFO3W644_cjs.replaceMatches; }
|
|
29
30
|
});
|
package/dist/find.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { F as
|
|
1
|
+
export { F as FindOptions, f as findExtension } from './find-extension-BfruAPLi.cjs';
|
|
2
|
+
export { F as FindLabels, e as englishFindLabels } from './find-labels-C4vs8Qe9.cjs';
|
|
2
3
|
import { EngineDoc } from './engine.cjs';
|
|
3
4
|
import { Command } from './engine.cjs';
|
|
4
5
|
|
package/dist/find.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { F as
|
|
1
|
+
export { F as FindOptions, f as findExtension } from './find-extension-DmK9_N81.js';
|
|
2
|
+
export { F as FindLabels, e as englishFindLabels } from './find-labels-C4vs8Qe9.js';
|
|
2
3
|
import { EngineDoc } from './engine.js';
|
|
3
4
|
import { Command } from './engine.js';
|
|
4
5
|
|
package/dist/find.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { englishFindLabels, findExtension, findMatches, replaceMatches } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
2
|
+
export { englishFindLabels, findExtension, findMatches, replaceMatches } from './chunk-6BVE46K7.js';
|
|
3
|
+
import './chunk-ZN5DHNSL.js';
|
|
4
|
+
import './chunk-NL5J77VD.js';
|
|
5
|
+
import './chunk-DLQCTGC3.js';
|
|
5
6
|
import './chunk-HDJ653LM.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-5RBMZGKV.js';
|
|
8
|
+
import './chunk-CSPCDVCT.js';
|
|
9
|
+
import './chunk-7Y4B7NHO.js';
|
|
9
10
|
//# sourceMappingURL=find.js.map
|
|
10
11
|
//# sourceMappingURL=find.js.map
|