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.
Files changed (260) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/MIGRATION.md +137 -23
  3. package/README.md +32 -11
  4. package/dist/ai-labels-BXX32H9a.d.cts +53 -0
  5. package/dist/ai-labels-BXX32H9a.d.ts +53 -0
  6. package/dist/ai.cjs +84 -86
  7. package/dist/ai.d.cts +4 -53
  8. package/dist/ai.d.ts +4 -53
  9. package/dist/ai.js +8 -10
  10. package/dist/ai.js.map +1 -1
  11. package/dist/catalogue.cjs +27 -26
  12. package/dist/catalogue.d.cts +10 -1
  13. package/dist/catalogue.d.ts +10 -1
  14. package/dist/catalogue.js +18 -17
  15. package/dist/catalogue.js.map +1 -1
  16. package/dist/{chunk-MNA7MBCH.js → chunk-2UKI26JA.js} +9 -11
  17. package/dist/chunk-2UKI26JA.js.map +1 -0
  18. package/dist/{chunk-MZXW2HXP.cjs → chunk-4PIJC4FD.cjs} +27 -29
  19. package/dist/{chunk-OS2O6IKX.js → chunk-5RBMZGKV.js} +4 -4
  20. package/dist/{chunk-OS2O6IKX.js.map → chunk-5RBMZGKV.js.map} +1 -1
  21. package/dist/{chunk-OJ4O6HWC.js → chunk-5X52BAZB.js} +10 -12
  22. package/dist/chunk-5X52BAZB.js.map +1 -0
  23. package/dist/{chunk-JY5VUHKN.cjs → chunk-5YAJZSTI.cjs} +28 -30
  24. package/dist/{chunk-YEFPH27F.cjs → chunk-66OPHDFA.cjs} +92 -94
  25. package/dist/{chunk-PWUFFHAQ.js → chunk-6BVE46K7.js} +8 -10
  26. package/dist/chunk-6BVE46K7.js.map +1 -0
  27. package/dist/{chunk-LKZJ2TDU.cjs → chunk-77CNOLHY.cjs} +10 -13
  28. package/dist/{chunk-4T4TJ2QS.cjs → chunk-7E43TURF.cjs} +7 -7
  29. package/dist/{chunk-BJTOLCRR.js → chunk-7Y4B7NHO.js} +2 -2
  30. package/dist/chunk-7Y4B7NHO.js.map +1 -0
  31. package/dist/{chunk-7GU25Z6L.js → chunk-B4VCDJSA.js} +9 -11
  32. package/dist/chunk-B4VCDJSA.js.map +1 -0
  33. package/dist/{chunk-QR2NIDUK.cjs → chunk-BYYCD54G.cjs} +2 -2
  34. package/dist/{chunk-6T5YGCZ5.cjs → chunk-CJVJNMOB.cjs} +302 -299
  35. package/dist/{chunk-CSKKSXCE.js → chunk-CSPCDVCT.js} +3 -3
  36. package/dist/{chunk-CSKKSXCE.js.map → chunk-CSPCDVCT.js.map} +1 -1
  37. package/dist/{chunk-BF7733XS.cjs → chunk-D6CIIWCU.cjs} +57 -59
  38. package/dist/{chunk-GHNQKJMD.js → chunk-DBOZFNWU.js} +3 -3
  39. package/dist/{chunk-GHNQKJMD.js.map → chunk-DBOZFNWU.js.map} +1 -1
  40. package/dist/{chunk-BM2GRZNM.cjs → chunk-DJU25PFC.cjs} +11 -11
  41. package/dist/chunk-DLQCTGC3.js +10 -0
  42. package/dist/chunk-DLQCTGC3.js.map +1 -0
  43. package/dist/{chunk-RQXJKJ5S.js → chunk-EU5IGKMP.js} +7 -10
  44. package/dist/chunk-EU5IGKMP.js.map +1 -0
  45. package/dist/{chunk-VZZPCYA3.cjs → chunk-FK7EBZPX.cjs} +226 -226
  46. package/dist/{chunk-BXSWZEA5.js → chunk-GPTJYWGS.js} +3 -3
  47. package/dist/{chunk-BXSWZEA5.js.map → chunk-GPTJYWGS.js.map} +1 -1
  48. package/dist/{chunk-I722LBD3.cjs → chunk-HOSDMHK6.cjs} +32 -34
  49. package/dist/{chunk-AZF7B2AE.cjs → chunk-IKZSCTRF.cjs} +11 -11
  50. package/dist/{chunk-R7MYG522.js → chunk-IW4TMECB.js} +3 -3
  51. package/dist/{chunk-R7MYG522.js.map → chunk-IW4TMECB.js.map} +1 -1
  52. package/dist/{chunk-PLUMKN4B.js → chunk-J2SVYBTC.js} +10 -12
  53. package/dist/chunk-J2SVYBTC.js.map +1 -0
  54. package/dist/{chunk-UZS3TW75.js → chunk-KQPZTSW3.js} +9 -11
  55. package/dist/chunk-KQPZTSW3.js.map +1 -0
  56. package/dist/{chunk-STKGRXSA.cjs → chunk-LEICOZYK.cjs} +15 -17
  57. package/dist/{chunk-H3C3MJW5.cjs → chunk-LM3DHROX.cjs} +2 -2
  58. package/dist/{chunk-AD3NY7NA.js → chunk-LSI4RMTY.js} +3 -3
  59. package/dist/{chunk-AD3NY7NA.js.map → chunk-LSI4RMTY.js.map} +1 -1
  60. package/dist/{chunk-QOIVLYMW.js → chunk-M77A3EGD.js} +5 -5
  61. package/dist/{chunk-QOIVLYMW.js.map → chunk-M77A3EGD.js.map} +1 -1
  62. package/dist/{chunk-5JEQZIRI.js → chunk-MAS4AEF4.js} +8 -10
  63. package/dist/chunk-MAS4AEF4.js.map +1 -0
  64. package/dist/{chunk-KDK2ATMB.cjs → chunk-NFO3W644.cjs} +51 -53
  65. package/dist/{chunk-XFEDJEJF.js → chunk-NL5J77VD.js} +204 -204
  66. package/dist/chunk-NL5J77VD.js.map +1 -0
  67. package/dist/{chunk-WN7BZDNH.cjs → chunk-PURYVDC3.cjs} +13 -13
  68. package/dist/{chunk-G25FMFEZ.js → chunk-UDBLZILE.js} +4 -4
  69. package/dist/{chunk-G25FMFEZ.js.map → chunk-UDBLZILE.js.map} +1 -1
  70. package/dist/{chunk-FNJOPGMN.cjs → chunk-V4WQG7FR.cjs} +116 -118
  71. package/dist/{chunk-IJKGF6SC.js → chunk-YABGWOAV.js} +8 -10
  72. package/dist/chunk-YABGWOAV.js.map +1 -0
  73. package/dist/{chunk-XZ4NC3Q7.cjs → chunk-YEDPBYO5.cjs} +4 -4
  74. package/dist/{chunk-QJ34MOFV.cjs → chunk-Z6LAARPB.cjs} +315 -320
  75. package/dist/{chunk-HSLOPJVT.js → chunk-ZN5DHNSL.js} +19 -16
  76. package/dist/chunk-ZN5DHNSL.js.map +1 -0
  77. package/dist/chunk-ZWTIRGY5.cjs +10 -0
  78. package/dist/comments-labels-DWqsSz8G.d.cts +30 -0
  79. package/dist/comments-labels-DWqsSz8G.d.ts +30 -0
  80. package/dist/comments.cjs +63 -65
  81. package/dist/comments.d.cts +4 -30
  82. package/dist/comments.d.ts +4 -30
  83. package/dist/comments.js +9 -11
  84. package/dist/comments.js.map +1 -1
  85. package/dist/{diagram-extension-Da7hp-tv.d.ts → diagram-extension-22x_njXB.d.ts} +4 -12
  86. package/dist/{diagram-extension-D573COJv.d.cts → diagram-extension-C_FSkoj9.d.cts} +4 -12
  87. package/dist/diagram-labels-Bi_jEZ8_.d.cts +11 -0
  88. package/dist/diagram-labels-Bi_jEZ8_.d.ts +11 -0
  89. package/dist/diagram.cjs +10 -9
  90. package/dist/diagram.d.cts +3 -2
  91. package/dist/diagram.d.ts +3 -2
  92. package/dist/diagram.js +7 -6
  93. package/dist/diff-labels-DWwg7N0n.d.cts +27 -0
  94. package/dist/diff-labels-DWwg7N0n.d.ts +27 -0
  95. package/dist/diff.cjs +27 -29
  96. package/dist/diff.d.cts +4 -27
  97. package/dist/diff.d.ts +4 -27
  98. package/dist/diff.js +5 -7
  99. package/dist/diff.js.map +1 -1
  100. package/dist/docx.cjs +30 -30
  101. package/dist/docx.js +3 -3
  102. package/dist/embed-labels-BiVa9HYl.d.cts +23 -0
  103. package/dist/embed-labels-BiVa9HYl.d.ts +23 -0
  104. package/dist/embed.cjs +10 -9
  105. package/dist/embed.d.cts +4 -23
  106. package/dist/embed.d.ts +4 -23
  107. package/dist/embed.js +8 -7
  108. package/dist/emoji-extension-C832oGeT.d.ts +16 -0
  109. package/dist/emoji-extension-Dk5IQLZf.d.cts +16 -0
  110. package/dist/{emoji-extension-gRKnbW8G.d.ts → emoji-labels-YwOms7ZJ.d.cts} +2 -15
  111. package/dist/{emoji-extension-C3o_Y5uC.d.cts → emoji-labels-YwOms7ZJ.d.ts} +2 -15
  112. package/dist/emoji.cjs +10 -9
  113. package/dist/emoji.d.cts +4 -3
  114. package/dist/emoji.d.ts +4 -3
  115. package/dist/emoji.js +7 -6
  116. package/dist/engine.cjs +58 -58
  117. package/dist/engine.d.cts +8 -7
  118. package/dist/engine.d.ts +8 -7
  119. package/dist/engine.js +3 -3
  120. package/dist/find-extension-BfruAPLi.d.cts +15 -0
  121. package/dist/find-extension-DmK9_N81.d.ts +15 -0
  122. package/dist/{find-extension-B_Ctrs6T.d.ts → find-labels-C4vs8Qe9.d.cts} +2 -14
  123. package/dist/{find-extension-BGGsJMu4.d.cts → find-labels-C4vs8Qe9.d.ts} +2 -14
  124. package/dist/find.cjs +11 -10
  125. package/dist/find.d.cts +2 -1
  126. package/dist/find.d.ts +2 -1
  127. package/dist/find.js +7 -6
  128. package/dist/headless.cjs +69 -89
  129. package/dist/headless.d.cts +21 -28
  130. package/dist/headless.d.ts +21 -28
  131. package/dist/headless.js +4 -4
  132. package/dist/highlight.cjs +7 -6
  133. package/dist/highlight.js +6 -5
  134. package/dist/highlight.js.map +1 -1
  135. package/dist/{index-CsG7OQoq.d.cts → index-3fYvwqUZ.d.cts} +1 -1
  136. package/dist/{index-h1llgZM-.d.ts → index-CgxnzCO5.d.ts} +1 -1
  137. package/dist/index.cjs +82 -101
  138. package/dist/index.d.cts +18 -185
  139. package/dist/index.d.ts +18 -185
  140. package/dist/index.js +6 -5
  141. package/dist/labels-BhRJYo46.d.ts +176 -0
  142. package/dist/labels-CiCxj2jP.d.cts +176 -0
  143. package/dist/locale-ar.cjs +565 -0
  144. package/dist/locale-ar.d.cts +63 -0
  145. package/dist/locale-ar.d.ts +63 -0
  146. package/dist/locale-ar.js +551 -0
  147. package/dist/locale-ar.js.map +1 -0
  148. package/dist/locale-de.cjs +510 -0
  149. package/dist/locale-de.d.cts +63 -0
  150. package/dist/locale-de.d.ts +63 -0
  151. package/dist/locale-de.js +496 -0
  152. package/dist/locale-de.js.map +1 -0
  153. package/dist/locale-es.cjs +510 -0
  154. package/dist/locale-es.d.cts +63 -0
  155. package/dist/locale-es.d.ts +63 -0
  156. package/dist/locale-es.js +496 -0
  157. package/dist/locale-es.js.map +1 -0
  158. package/dist/locale-fr.cjs +510 -0
  159. package/dist/locale-fr.d.cts +63 -0
  160. package/dist/locale-fr.d.ts +63 -0
  161. package/dist/locale-fr.js +496 -0
  162. package/dist/locale-fr.js.map +1 -0
  163. package/dist/locale-ja.cjs +505 -0
  164. package/dist/locale-ja.d.cts +63 -0
  165. package/dist/locale-ja.d.ts +63 -0
  166. package/dist/locale-ja.js +491 -0
  167. package/dist/locale-ja.js.map +1 -0
  168. package/dist/locale-pt.cjs +511 -0
  169. package/dist/locale-pt.d.cts +63 -0
  170. package/dist/locale-pt.d.ts +63 -0
  171. package/dist/locale-pt.js +497 -0
  172. package/dist/locale-pt.js.map +1 -0
  173. package/dist/locale-zh.cjs +505 -0
  174. package/dist/locale-zh.d.cts +63 -0
  175. package/dist/locale-zh.d.ts +63 -0
  176. package/dist/locale-zh.js +491 -0
  177. package/dist/locale-zh.js.map +1 -0
  178. package/dist/math-labels-DOf5KFxp.d.cts +24 -0
  179. package/dist/math-labels-DOf5KFxp.d.ts +24 -0
  180. package/dist/math.cjs +11 -10
  181. package/dist/math.d.cts +4 -24
  182. package/dist/math.d.ts +4 -24
  183. package/dist/math.js +9 -8
  184. package/dist/mention-labels-DIQy8LRT.d.cts +15 -0
  185. package/dist/mention-labels-DIQy8LRT.d.ts +15 -0
  186. package/dist/mention.cjs +11 -10
  187. package/dist/mention.d.cts +4 -15
  188. package/dist/mention.d.ts +4 -15
  189. package/dist/mention.js +9 -8
  190. package/dist/{view-controller-p-2x3J7Y.d.ts → node-reveal-BnFcnHhz.d.ts} +14 -14
  191. package/dist/{view-controller-BfVSNZYZ.d.cts → node-reveal-DY6bimv3.d.cts} +14 -14
  192. package/dist/palette-BrX-hEd-.d.cts +4 -0
  193. package/dist/palette-BrX-hEd-.d.ts +4 -0
  194. package/dist/presence-labels-DXVJLifl.d.cts +15 -0
  195. package/dist/presence-labels-DXVJLifl.d.ts +15 -0
  196. package/dist/presence.cjs +40 -42
  197. package/dist/presence.d.cts +4 -15
  198. package/dist/presence.d.ts +4 -15
  199. package/dist/presence.js +9 -11
  200. package/dist/presence.js.map +1 -1
  201. package/dist/source-labels-CeQDXsYZ.d.cts +9 -0
  202. package/dist/source-labels-CeQDXsYZ.d.ts +9 -0
  203. package/dist/source.cjs +11 -14
  204. package/dist/source.d.cts +5 -10
  205. package/dist/source.d.ts +5 -10
  206. package/dist/source.js +7 -10
  207. package/dist/source.js.map +1 -1
  208. package/dist/{stats-extension-oD6D1cYy.d.ts → stats-extension-D5HySF0a.d.cts} +4 -16
  209. package/dist/{stats-extension-XqOTvRaq.d.cts → stats-extension-Dmw0Ujxe.d.ts} +4 -16
  210. package/dist/stats-labels-W8gep51s.d.cts +15 -0
  211. package/dist/stats-labels-W8gep51s.d.ts +15 -0
  212. package/dist/stats.cjs +11 -10
  213. package/dist/stats.d.cts +3 -2
  214. package/dist/stats.d.ts +3 -2
  215. package/dist/stats.js +8 -7
  216. package/dist/styles.css +2 -2
  217. package/dist/table-extension-7LkLNK6Q.d.cts +15 -0
  218. package/dist/table-extension-DEpV0DnP.d.ts +15 -0
  219. package/dist/{table-extension-v6VB59bF.d.ts → table-labels-Dc-MzU3j.d.cts} +2 -14
  220. package/dist/{table-extension-BP47hHoz.d.cts → table-labels-Dc-MzU3j.d.ts} +2 -14
  221. package/dist/table.cjs +26 -25
  222. package/dist/table.d.cts +2 -1
  223. package/dist/table.d.ts +2 -1
  224. package/dist/table.js +7 -6
  225. package/dist/{to-html-1oD-CDle.d.cts → to-html-C19PbIzh.d.cts} +1 -0
  226. package/dist/{to-html-CLRBCX0I.d.ts → to-html-CogwrQer.d.ts} +1 -0
  227. package/dist/{to-markdown-CFPMbbiX.d.cts → to-markdown-C2w7Dzg8.d.cts} +1 -0
  228. package/dist/{to-markdown-BVOzhgVM.d.ts → to-markdown-DC1EUye5.d.ts} +1 -0
  229. package/dist/toc-extension-Dvh37bWQ.d.cts +15 -0
  230. package/dist/toc-extension-SVckrFmb.d.ts +15 -0
  231. package/dist/toc-labels-B2apPfXG.d.cts +14 -0
  232. package/dist/toc-labels-B2apPfXG.d.ts +14 -0
  233. package/dist/toc.cjs +10 -9
  234. package/dist/toc.d.cts +3 -2
  235. package/dist/toc.d.ts +3 -2
  236. package/dist/toc.js +7 -6
  237. package/dist/{types-DXF9p4qV.d.cts → types-Bzhq5AXj.d.cts} +1 -0
  238. package/dist/{types-BjLcmV00.d.ts → types-DMuuDBVh.d.ts} +1 -0
  239. package/dist/view.cjs +4 -4
  240. package/dist/view.js +2 -2
  241. package/dist/yjs.cjs +121 -121
  242. package/dist/yjs.d.cts +2 -2
  243. package/dist/yjs.d.ts +2 -2
  244. package/dist/yjs.js +5 -5
  245. package/package.json +71 -1
  246. package/dist/chunk-5JEQZIRI.js.map +0 -1
  247. package/dist/chunk-7GU25Z6L.js.map +0 -1
  248. package/dist/chunk-BJTOLCRR.js.map +0 -1
  249. package/dist/chunk-HSLOPJVT.js.map +0 -1
  250. package/dist/chunk-IJKGF6SC.js.map +0 -1
  251. package/dist/chunk-MNA7MBCH.js.map +0 -1
  252. package/dist/chunk-OJ4O6HWC.js.map +0 -1
  253. package/dist/chunk-PLUMKN4B.js.map +0 -1
  254. package/dist/chunk-PWUFFHAQ.js.map +0 -1
  255. package/dist/chunk-RQXJKJ5S.js.map +0 -1
  256. package/dist/chunk-UZS3TW75.js.map +0 -1
  257. package/dist/chunk-XFEDJEJF.js.map +0 -1
  258. package/dist/toc-extension-CI6jNOYl.d.cts +0 -26
  259. package/dist/toc-extension-CTHWjNJC.d.ts +0 -26
  260. /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 chunkVZZPCYA3_cjs = require('./chunk-VZZPCYA3.cjs');
4
- var chunkBM2GRZNM_cjs = require('./chunk-BM2GRZNM.cjs');
5
- var chunkWZA5S5EJ_cjs = require('./chunk-WZA5S5EJ.cjs');
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 chunkVZZPCYA3_cjs.Transaction; }
11
+ get: function () { return chunkFK7EBZPX_cjs.Transaction; }
12
12
  });
13
13
  Object.defineProperty(exports, "addMarkStep", {
14
14
  enumerable: true,
15
- get: function () { return chunkVZZPCYA3_cjs.addMarkStep; }
15
+ get: function () { return chunkFK7EBZPX_cjs.addMarkStep; }
16
16
  });
17
17
  Object.defineProperty(exports, "applyTransaction", {
18
18
  enumerable: true,
19
- get: function () { return chunkVZZPCYA3_cjs.applyTransaction; }
19
+ get: function () { return chunkFK7EBZPX_cjs.applyTransaction; }
20
20
  });
21
21
  Object.defineProperty(exports, "blockInputRules", {
22
22
  enumerable: true,
23
- get: function () { return chunkVZZPCYA3_cjs.blockInputRules; }
23
+ get: function () { return chunkFK7EBZPX_cjs.blockInputRules; }
24
24
  });
25
25
  Object.defineProperty(exports, "blockRangeSelection", {
26
26
  enumerable: true,
27
- get: function () { return chunkVZZPCYA3_cjs.blockRangeSelection; }
27
+ get: function () { return chunkFK7EBZPX_cjs.blockRangeSelection; }
28
28
  });
29
29
  Object.defineProperty(exports, "coreExtensions", {
30
30
  enumerable: true,
31
- get: function () { return chunkVZZPCYA3_cjs.coreExtensions; }
31
+ get: function () { return chunkFK7EBZPX_cjs.coreExtensions; }
32
32
  });
33
33
  Object.defineProperty(exports, "countDoc", {
34
34
  enumerable: true,
35
- get: function () { return chunkVZZPCYA3_cjs.countDoc; }
35
+ get: function () { return chunkFK7EBZPX_cjs.countDoc; }
36
36
  });
37
37
  Object.defineProperty(exports, "countText", {
38
38
  enumerable: true,
39
- get: function () { return chunkVZZPCYA3_cjs.countText; }
39
+ get: function () { return chunkFK7EBZPX_cjs.countText; }
40
40
  });
41
41
  Object.defineProperty(exports, "createEditor", {
42
42
  enumerable: true,
43
- get: function () { return chunkVZZPCYA3_cjs.createEditor; }
43
+ get: function () { return chunkFK7EBZPX_cjs.createEditor; }
44
44
  });
45
45
  Object.defineProperty(exports, "createPluginKey", {
46
46
  enumerable: true,
47
- get: function () { return chunkVZZPCYA3_cjs.createPluginKey; }
47
+ get: function () { return chunkFK7EBZPX_cjs.createPluginKey; }
48
48
  });
49
49
  Object.defineProperty(exports, "createState", {
50
50
  enumerable: true,
51
- get: function () { return chunkVZZPCYA3_cjs.createState; }
51
+ get: function () { return chunkFK7EBZPX_cjs.createState; }
52
52
  });
53
53
  Object.defineProperty(exports, "defineExtension", {
54
54
  enumerable: true,
55
- get: function () { return chunkVZZPCYA3_cjs.defineExtension; }
55
+ get: function () { return chunkFK7EBZPX_cjs.defineExtension; }
56
56
  });
57
57
  Object.defineProperty(exports, "fromHTML", {
58
58
  enumerable: true,
59
- get: function () { return chunkVZZPCYA3_cjs.fromHTML; }
59
+ get: function () { return chunkFK7EBZPX_cjs.fromHTML; }
60
60
  });
61
61
  Object.defineProperty(exports, "getPluginState", {
62
62
  enumerable: true,
63
- get: function () { return chunkVZZPCYA3_cjs.getPluginState; }
63
+ get: function () { return chunkFK7EBZPX_cjs.getPluginState; }
64
64
  });
65
65
  Object.defineProperty(exports, "insertBlockAfter", {
66
66
  enumerable: true,
67
- get: function () { return chunkVZZPCYA3_cjs.insertBlockAfter; }
67
+ get: function () { return chunkFK7EBZPX_cjs.insertBlockAfter; }
68
68
  });
69
69
  Object.defineProperty(exports, "insertBlocksStep", {
70
70
  enumerable: true,
71
- get: function () { return chunkVZZPCYA3_cjs.insertBlocksStep; }
71
+ get: function () { return chunkFK7EBZPX_cjs.insertBlocksStep; }
72
72
  });
73
73
  Object.defineProperty(exports, "insertText", {
74
74
  enumerable: true,
75
- get: function () { return chunkVZZPCYA3_cjs.insertText; }
75
+ get: function () { return chunkFK7EBZPX_cjs.insertText; }
76
76
  });
77
77
  Object.defineProperty(exports, "insertTextWithRules", {
78
78
  enumerable: true,
79
- get: function () { return chunkVZZPCYA3_cjs.insertTextWithRules; }
79
+ get: function () { return chunkFK7EBZPX_cjs.insertTextWithRules; }
80
80
  });
81
81
  Object.defineProperty(exports, "joinBlocksStep", {
82
82
  enumerable: true,
83
- get: function () { return chunkVZZPCYA3_cjs.joinBlocksStep; }
83
+ get: function () { return chunkFK7EBZPX_cjs.joinBlocksStep; }
84
84
  });
85
85
  Object.defineProperty(exports, "keyName", {
86
86
  enumerable: true,
87
- get: function () { return chunkVZZPCYA3_cjs.keyName; }
87
+ get: function () { return chunkFK7EBZPX_cjs.keyName; }
88
88
  });
89
89
  Object.defineProperty(exports, "markInputRules", {
90
90
  enumerable: true,
91
- get: function () { return chunkVZZPCYA3_cjs.markInputRules; }
91
+ get: function () { return chunkFK7EBZPX_cjs.markInputRules; }
92
92
  });
93
93
  Object.defineProperty(exports, "moveBlocksStep", {
94
94
  enumerable: true,
95
- get: function () { return chunkVZZPCYA3_cjs.moveBlocksStep; }
95
+ get: function () { return chunkFK7EBZPX_cjs.moveBlocksStep; }
96
96
  });
97
97
  Object.defineProperty(exports, "nodeSelection", {
98
98
  enumerable: true,
99
- get: function () { return chunkVZZPCYA3_cjs.nodeSelection; }
99
+ get: function () { return chunkFK7EBZPX_cjs.nodeSelection; }
100
100
  });
101
101
  Object.defineProperty(exports, "normalizeKey", {
102
102
  enumerable: true,
103
- get: function () { return chunkVZZPCYA3_cjs.normalizeKey; }
103
+ get: function () { return chunkFK7EBZPX_cjs.normalizeKey; }
104
104
  });
105
105
  Object.defineProperty(exports, "redo", {
106
106
  enumerable: true,
107
- get: function () { return chunkVZZPCYA3_cjs.redo; }
107
+ get: function () { return chunkFK7EBZPX_cjs.redo; }
108
108
  });
109
109
  Object.defineProperty(exports, "removeBlocksStep", {
110
110
  enumerable: true,
111
- get: function () { return chunkVZZPCYA3_cjs.removeBlocksStep; }
111
+ get: function () { return chunkFK7EBZPX_cjs.removeBlocksStep; }
112
112
  });
113
113
  Object.defineProperty(exports, "removeMarkStep", {
114
114
  enumerable: true,
115
- get: function () { return chunkVZZPCYA3_cjs.removeMarkStep; }
115
+ get: function () { return chunkFK7EBZPX_cjs.removeMarkStep; }
116
116
  });
117
117
  Object.defineProperty(exports, "replaceBlockStep", {
118
118
  enumerable: true,
119
- get: function () { return chunkVZZPCYA3_cjs.replaceBlockStep; }
119
+ get: function () { return chunkFK7EBZPX_cjs.replaceBlockStep; }
120
120
  });
121
121
  Object.defineProperty(exports, "replaceDocStep", {
122
122
  enumerable: true,
123
- get: function () { return chunkVZZPCYA3_cjs.replaceDocStep; }
123
+ get: function () { return chunkFK7EBZPX_cjs.replaceDocStep; }
124
124
  });
125
125
  Object.defineProperty(exports, "replaceInlineStep", {
126
126
  enumerable: true,
127
- get: function () { return chunkVZZPCYA3_cjs.replaceInlineStep; }
127
+ get: function () { return chunkFK7EBZPX_cjs.replaceInlineStep; }
128
128
  });
129
129
  Object.defineProperty(exports, "setAttrsStep", {
130
130
  enumerable: true,
131
- get: function () { return chunkVZZPCYA3_cjs.setAttrsStep; }
131
+ get: function () { return chunkFK7EBZPX_cjs.setAttrsStep; }
132
132
  });
133
133
  Object.defineProperty(exports, "setBlockType", {
134
134
  enumerable: true,
135
- get: function () { return chunkVZZPCYA3_cjs.setBlockType; }
135
+ get: function () { return chunkFK7EBZPX_cjs.setBlockType; }
136
136
  });
137
137
  Object.defineProperty(exports, "setIndentStep", {
138
138
  enumerable: true,
139
- get: function () { return chunkVZZPCYA3_cjs.setIndentStep; }
139
+ get: function () { return chunkFK7EBZPX_cjs.setIndentStep; }
140
140
  });
141
141
  Object.defineProperty(exports, "splitBlockStep", {
142
142
  enumerable: true,
143
- get: function () { return chunkVZZPCYA3_cjs.splitBlockStep; }
143
+ get: function () { return chunkFK7EBZPX_cjs.splitBlockStep; }
144
144
  });
145
145
  Object.defineProperty(exports, "stepFromJSON", {
146
146
  enumerable: true,
147
- get: function () { return chunkVZZPCYA3_cjs.stepFromJSON; }
147
+ get: function () { return chunkFK7EBZPX_cjs.stepFromJSON; }
148
148
  });
149
149
  Object.defineProperty(exports, "textSelection", {
150
150
  enumerable: true,
151
- get: function () { return chunkVZZPCYA3_cjs.textSelection; }
151
+ get: function () { return chunkFK7EBZPX_cjs.textSelection; }
152
152
  });
153
153
  Object.defineProperty(exports, "toHTML", {
154
154
  enumerable: true,
155
- get: function () { return chunkVZZPCYA3_cjs.toHTML; }
155
+ get: function () { return chunkFK7EBZPX_cjs.toHTML; }
156
156
  });
157
157
  Object.defineProperty(exports, "toMarkdown", {
158
158
  enumerable: true,
159
- get: function () { return chunkVZZPCYA3_cjs.toMarkdown; }
159
+ get: function () { return chunkFK7EBZPX_cjs.toMarkdown; }
160
160
  });
161
161
  Object.defineProperty(exports, "toPlainText", {
162
162
  enumerable: true,
163
- get: function () { return chunkVZZPCYA3_cjs.toPlainText; }
163
+ get: function () { return chunkFK7EBZPX_cjs.toPlainText; }
164
164
  });
165
165
  Object.defineProperty(exports, "toggleMark", {
166
166
  enumerable: true,
167
- get: function () { return chunkVZZPCYA3_cjs.toggleMark; }
167
+ get: function () { return chunkFK7EBZPX_cjs.toggleMark; }
168
168
  });
169
169
  Object.defineProperty(exports, "typographyRules", {
170
170
  enumerable: true,
171
- get: function () { return chunkVZZPCYA3_cjs.typographyRules; }
171
+ get: function () { return chunkFK7EBZPX_cjs.typographyRules; }
172
172
  });
173
173
  Object.defineProperty(exports, "undo", {
174
174
  enumerable: true,
175
- get: function () { return chunkVZZPCYA3_cjs.undo; }
175
+ get: function () { return chunkFK7EBZPX_cjs.undo; }
176
176
  });
177
177
  Object.defineProperty(exports, "diffBlocks", {
178
178
  enumerable: true,
179
- get: function () { return chunkBM2GRZNM_cjs.diffBlocks; }
179
+ get: function () { return chunkDJU25PFC_cjs.diffBlocks; }
180
180
  });
181
181
  Object.defineProperty(exports, "diffInline", {
182
182
  enumerable: true,
183
- get: function () { return chunkBM2GRZNM_cjs.diffInline; }
183
+ get: function () { return chunkDJU25PFC_cjs.diffInline; }
184
184
  });
185
185
  Object.defineProperty(exports, "PALETTE", {
186
186
  enumerable: true,
187
- get: function () { return chunkWZA5S5EJ_cjs.PALETTE; }
187
+ get: function () { return chunkI7X7B3WD_cjs.PALETTE; }
188
188
  });
189
189
  Object.defineProperty(exports, "atom", {
190
190
  enumerable: true,
191
- get: function () { return chunkWZA5S5EJ_cjs.atom; }
191
+ get: function () { return chunkI7X7B3WD_cjs.atom; }
192
192
  });
193
193
  Object.defineProperty(exports, "coreBlockSpecs", {
194
194
  enumerable: true,
195
- get: function () { return chunkWZA5S5EJ_cjs.coreBlockSpecs; }
195
+ get: function () { return chunkI7X7B3WD_cjs.coreBlockSpecs; }
196
196
  });
197
197
  Object.defineProperty(exports, "createBlockCodec", {
198
198
  enumerable: true,
199
- get: function () { return chunkWZA5S5EJ_cjs.createBlockCodec; }
199
+ get: function () { return chunkI7X7B3WD_cjs.createBlockCodec; }
200
200
  });
201
201
  Object.defineProperty(exports, "createSchema", {
202
202
  enumerable: true,
203
- get: function () { return chunkWZA5S5EJ_cjs.createSchema; }
203
+ get: function () { return chunkI7X7B3WD_cjs.createSchema; }
204
204
  });
205
205
  Object.defineProperty(exports, "fromMarkdown", {
206
206
  enumerable: true,
207
- get: function () { return chunkWZA5S5EJ_cjs.fromMarkdown; }
207
+ get: function () { return chunkI7X7B3WD_cjs.fromMarkdown; }
208
208
  });
209
209
  Object.defineProperty(exports, "normalizeInline", {
210
210
  enumerable: true,
211
- get: function () { return chunkWZA5S5EJ_cjs.normalizeInline; }
211
+ get: function () { return chunkI7X7B3WD_cjs.normalizeInline; }
212
212
  });
213
213
  Object.defineProperty(exports, "parseInline", {
214
214
  enumerable: true,
215
- get: function () { return chunkWZA5S5EJ_cjs.parseInline; }
215
+ get: function () { return chunkI7X7B3WD_cjs.parseInline; }
216
216
  });
217
217
  Object.defineProperty(exports, "sanitizeHref", {
218
218
  enumerable: true,
219
- get: function () { return chunkWZA5S5EJ_cjs.sanitizeHref; }
219
+ get: function () { return chunkI7X7B3WD_cjs.sanitizeHref; }
220
220
  });
221
221
  Object.defineProperty(exports, "serializeInline", {
222
222
  enumerable: true,
223
- get: function () { return chunkWZA5S5EJ_cjs.serializeInline; }
223
+ get: function () { return chunkI7X7B3WD_cjs.serializeInline; }
224
224
  });
225
225
  Object.defineProperty(exports, "text", {
226
226
  enumerable: true,
227
- get: function () { return chunkWZA5S5EJ_cjs.text; }
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-DXF9p4qV.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-DXF9p4qV.cjs';
5
- export { T as ToMarkdownOptions, t as toMarkdown } from './to-markdown-CFPMbbiX.cjs';
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-1oD-CDle.cjs';
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, PALETTE, 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
+ 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-BjLcmV00.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-BjLcmV00.js';
5
- export { T as ToMarkdownOptions, t as toMarkdown } from './to-markdown-BVOzhgVM.js';
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-CLRBCX0I.js';
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, PALETTE, 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
+ 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-OS2O6IKX.js';
2
- export { diffBlocks, diffInline } from './chunk-CSKKSXCE.js';
3
- export { PALETTE, atom, coreBlockSpecs, createBlockCodec, createSchema, fromMarkdown, normalizeInline, parseInline, sanitizeHref, serializeInline, text } from './chunk-BJTOLCRR.js';
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
- type FindOptions = {
32
- /** Every string the feature shows or speaks, English by default. A key left out stays English. */
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
- type FindOptions = {
32
- /** Every string the feature shows or speaks, English by default. A key left out stays English. */
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 chunkKDK2ATMB_cjs = require('./chunk-KDK2ATMB.cjs');
5
- require('./chunk-6T5YGCZ5.cjs');
6
- require('./chunk-QJ34MOFV.cjs');
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-VZZPCYA3.cjs');
9
- require('./chunk-BM2GRZNM.cjs');
10
- require('./chunk-WZA5S5EJ.cjs');
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 chunkKDK2ATMB_cjs.englishFindLabels; }
17
+ get: function () { return chunkNFO3W644_cjs.englishFindLabels; }
17
18
  });
18
19
  Object.defineProperty(exports, "findExtension", {
19
20
  enumerable: true,
20
- get: function () { return chunkKDK2ATMB_cjs.findExtension; }
21
+ get: function () { return chunkNFO3W644_cjs.findExtension; }
21
22
  });
22
23
  Object.defineProperty(exports, "findMatches", {
23
24
  enumerable: true,
24
- get: function () { return chunkKDK2ATMB_cjs.findMatches; }
25
+ get: function () { return chunkNFO3W644_cjs.findMatches; }
25
26
  });
26
27
  Object.defineProperty(exports, "replaceMatches", {
27
28
  enumerable: true,
28
- get: function () { return chunkKDK2ATMB_cjs.replaceMatches; }
29
+ get: function () { return chunkNFO3W644_cjs.replaceMatches; }
29
30
  });
package/dist/find.d.cts CHANGED
@@ -1,4 +1,5 @@
1
- export { F as FindLabels, a as FindOptions, e as englishFindLabels, f as findExtension } from './find-extension-BGGsJMu4.cjs';
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 FindLabels, a as FindOptions, e as englishFindLabels, f as findExtension } from './find-extension-B_Ctrs6T.js';
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-PWUFFHAQ.js';
3
- import './chunk-HSLOPJVT.js';
4
- import './chunk-XFEDJEJF.js';
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-OS2O6IKX.js';
7
- import './chunk-CSKKSXCE.js';
8
- import './chunk-BJTOLCRR.js';
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