@tempots/beatui 0.30.1 → 0.31.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 (371) hide show
  1. package/dist/2019-BY_FFnZU.cjs +1 -0
  2. package/dist/{2019-Cd9nHhvg.js → 2019-C660mMK6.js} +9 -10
  3. package/dist/{2020-CyKJpuK6.js → 2020-C3P-aGet.js} +30 -31
  4. package/dist/2020-Cyyhc8pv.cjs +1 -0
  5. package/dist/{ar-Dz8Mg5la.js → ar-BUxQ3yNv.js} +30 -15
  6. package/dist/ar-DcFl4tkv.cjs +1 -0
  7. package/dist/auth/index.cjs.js +1 -1
  8. package/dist/auth/index.es.js +85 -84
  9. package/dist/beatui.css +37 -11
  10. package/dist/beatui.tailwind.css +37 -11
  11. package/dist/{de-ToWTQGEo.js → de-CKKQr2-K.js} +27 -12
  12. package/dist/de-DEUS3n0J.cjs +1 -0
  13. package/dist/{es-CruxS0Tz.js → es-C5VUn_X1.js} +27 -12
  14. package/dist/es-CIeoDpkc.cjs +1 -0
  15. package/dist/{fa-Cf0NZLWA.js → fa-Cs2LZsfr.js} +30 -15
  16. package/dist/fa-gXa9Xdjn.cjs +1 -0
  17. package/dist/fr-6SpJ-gVV.cjs +1 -0
  18. package/dist/{fr-YKXmqMGr.js → fr-Dlw8mKFp.js} +20 -5
  19. package/dist/{he-D8ZOduPw.js → he-Cm4NxsyE.js} +30 -15
  20. package/dist/he-D9cwxZOb.cjs +1 -0
  21. package/dist/hi-CNRHnMsQ.cjs +1 -0
  22. package/dist/{hi-CIamzVEf.js → hi-Cjz1aQX2.js} +30 -15
  23. package/dist/index-BI5w0jSz.js +2707 -0
  24. package/dist/index-Bv2gn_kV.cjs +4 -0
  25. package/dist/index-C-FUCwXi.js +14275 -0
  26. package/dist/index-CKyH3jwP.cjs +1 -0
  27. package/dist/index-CXY0yKJD.cjs +34 -0
  28. package/dist/{index-O9BwR_8P.cjs → index-CYY_JLSN.cjs} +1 -1
  29. package/dist/index-DKy2mZws.cjs +1 -0
  30. package/dist/{index-B2079wM-.js → index-DjShJtXp.js} +15 -15
  31. package/dist/index-DwyUOY3r.js +68 -0
  32. package/dist/{index-DDpjzV7E.js → index-Jd2O_Iux.js} +304 -307
  33. package/dist/{index-DFJed4ks.js → index-_Kh76-c2.js} +1 -1
  34. package/dist/index-klVI8k8O.cjs +8 -0
  35. package/dist/index.cjs.js +4 -4
  36. package/dist/index.es.js +1123 -1229
  37. package/dist/it-DvBJ31Ls.cjs +1 -0
  38. package/dist/{it-Bn7tG_KC.js → it-iuFeIEsO.js} +29 -14
  39. package/dist/{ja-i1ULXeiu.js → ja-D6Dd96v-.js} +25 -10
  40. package/dist/ja-FKJGj5My.cjs +1 -0
  41. package/dist/json-schema/index.cjs.js +1 -1
  42. package/dist/json-schema/index.es.js +1 -1
  43. package/dist/{ko-BpKDmtvY.js → ko-C8GOsfIU.js} +30 -15
  44. package/dist/ko-PqVOGPUi.cjs +1 -0
  45. package/dist/markdown/index.cjs.js +1 -2
  46. package/dist/markdown/index.es.js +4 -420
  47. package/dist/{modal-DvGSDVSv.js → modal-CuhK7DqK.js} +14 -13
  48. package/dist/modal-RQtwnFy9.cjs +1 -0
  49. package/dist/{nl-Cs4PDWCJ.js → nl-Ct2cyWWi.js} +31 -16
  50. package/dist/nl-DAhT0vfu.cjs +1 -0
  51. package/dist/notice-BnX2sRrK.cjs +2 -0
  52. package/dist/notice-Dz_BJg8D.js +1467 -0
  53. package/dist/{pl-BFLNf991.js → pl-DewgRE-k.js} +31 -16
  54. package/dist/pl-JgD0mCRa.cjs +1 -0
  55. package/dist/prosemirror/index.cjs.js +1 -0
  56. package/dist/prosemirror/index.es.js +6 -0
  57. package/dist/prosemirror.css +294 -0
  58. package/dist/pt-BkoMl_PC.cjs +1 -0
  59. package/dist/{pt-BRZeOkcE.js → pt-CNyp2zeW.js} +31 -16
  60. package/dist/ru-9OW0HQFS.cjs +1 -0
  61. package/dist/{ru-KI7Gowz-.js → ru-U6PdSzha.js} +35 -20
  62. package/dist/styles-url-CF_019NX.js +4 -0
  63. package/dist/styles-url-DhmSan6u.cjs +1 -0
  64. package/dist/toolbar-D7fDCmUn.cjs +1 -0
  65. package/dist/toolbar-DTh9Ouhs.js +118 -0
  66. package/dist/{tr-CYk8Fua5.js → tr-CQVvooxi.js} +28 -13
  67. package/dist/tr-DsOaoQqh.cjs +1 -0
  68. package/dist/translations-BDRano6u.cjs +1 -0
  69. package/dist/{translations-DdNHXAWr.js → translations-Cic51rHH.js} +1 -1
  70. package/dist/translations-D4PjDB1t.js +831 -0
  71. package/dist/translations-DDFTHcX3.cjs +1 -0
  72. package/dist/types/beatui-i18n/default.d.ts +14 -0
  73. package/dist/types/beatui-i18n/locales/en.d.ts +14 -0
  74. package/dist/types/beatui-i18n/translations.d.ts +14 -0
  75. package/dist/types/components/form/controller/controller.d.ts +1 -1
  76. package/dist/types/components/form/input/input-container.d.ts +3 -1
  77. package/dist/types/components/form/input/input-options.d.ts +6 -0
  78. package/dist/types/components/form/input/option.d.ts +3 -3
  79. package/dist/types/components/form/use-form.d.ts +2 -2
  80. package/dist/types/components/prosemirror/etoolbar-button.d.ts +11 -0
  81. package/dist/types/components/prosemirror/etoolbar-group.d.ts +4 -0
  82. package/dist/types/components/prosemirror/link-control.d.ts +12 -0
  83. package/dist/types/components/prosemirror/prosemirror-markdown-input.d.ts +76 -0
  84. package/dist/types/components/prosemirror/prosemirror-toolbar.d.ts +18 -0
  85. package/dist/types/components/prosemirror/utils.d.ts +12 -0
  86. package/dist/types/prosemirror/index.d.ts +2 -0
  87. package/dist/{ur-BIcZGLWt.js → ur-C3LypxEh.js} +30 -15
  88. package/dist/ur-C8v4y2tI.cjs +1 -0
  89. package/dist/utils-D8WljbbZ.cjs +1 -0
  90. package/dist/{utils-D1op9R8_.js → utils-DY9kZecl.js} +74 -73
  91. package/dist/vi-DzLo7qhK.cjs +1 -0
  92. package/dist/{vi-BeK62QeB.js → vi-M5ObJg3d.js} +19 -4
  93. package/dist/zh-BXk4IZBo.cjs +1 -0
  94. package/dist/{zh-Dt6yWDu2.js → zh-DGA8R46s.js} +32 -17
  95. package/package.json +20 -13
  96. package/dist/2019-Bl1mhxeM.cjs +0 -1
  97. package/dist/2020-BKqFJLj6.cjs +0 -1
  98. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  99. package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
  100. package/dist/apl-B2DGVGxc.js +0 -76
  101. package/dist/apl-M-DNMvvR.cjs +0 -1
  102. package/dist/ar-CbsALGhG.cjs +0 -1
  103. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  104. package/dist/asciiarmor-BMx3XVjX.cjs +0 -1
  105. package/dist/asn1-OOsVM4yU.cjs +0 -1
  106. package/dist/asn1-jKiBa2Ya.js +0 -95
  107. package/dist/asterisk-B1QUaW1C.cjs +0 -1
  108. package/dist/asterisk-DS281yxp.js +0 -271
  109. package/dist/brainfuck-BjUlYKdF.cjs +0 -1
  110. package/dist/brainfuck-C_p9pTT8.js +0 -34
  111. package/dist/clike-BEMIzMUI.cjs +0 -1
  112. package/dist/clike-DGTaUp48.js +0 -620
  113. package/dist/clojure-Ap_IXD2I.cjs +0 -1
  114. package/dist/clojure-CCKyeQKf.js +0 -800
  115. package/dist/cmake-C4D5_VmS.cjs +0 -1
  116. package/dist/cmake-CuaCgAKt.js +0 -28
  117. package/dist/cobol-BlTKFDRj.js +0 -72
  118. package/dist/cobol-Du-cT2hr.cjs +0 -1
  119. package/dist/coffeescript-BVCvwO8I.js +0 -179
  120. package/dist/coffeescript-DDFAj2ea.cjs +0 -1
  121. package/dist/commonlisp-CXBBRCTx.cjs +0 -1
  122. package/dist/commonlisp-D_kxz07b.js +0 -75
  123. package/dist/crystal-D309uH6_.js +0 -217
  124. package/dist/crystal-DAFWRDbh.cjs +0 -1
  125. package/dist/css-BkF-NPzE.js +0 -1553
  126. package/dist/css-DzFJyRJ8.cjs +0 -1
  127. package/dist/cypher-BMq4Fwjl.js +0 -68
  128. package/dist/cypher-BN0-oCze.cjs +0 -1
  129. package/dist/d-BHsqGcfm.cjs +0 -1
  130. package/dist/d-BZcgY6La.js +0 -127
  131. package/dist/de-MO-u5hoD.cjs +0 -1
  132. package/dist/diff-CemTHKfk.cjs +0 -1
  133. package/dist/diff-Cg9d_RX2.js +0 -18
  134. package/dist/dockerfile-BBTH3voH.cjs +0 -1
  135. package/dist/dockerfile-DIy8NleC.js +0 -194
  136. package/dist/dtd-ChoVQPwv.cjs +0 -1
  137. package/dist/dtd-CtLokQ-U.js +0 -84
  138. package/dist/dylan-QYeExnWK.js +0 -234
  139. package/dist/dylan-apTQIgUA.cjs +0 -1
  140. package/dist/ebnf-DUPDuY4r.js +0 -78
  141. package/dist/ebnf-LYmLy17h.cjs +0 -1
  142. package/dist/ecl-C7WNQq7-.cjs +0 -1
  143. package/dist/ecl-CiXN-g_D.js +0 -121
  144. package/dist/eiffel-BJThA8RG.cjs +0 -1
  145. package/dist/eiffel-yQhjl4T1.js +0 -110
  146. package/dist/elm-CNT9vbN0.js +0 -108
  147. package/dist/elm-CcXP9T36.cjs +0 -1
  148. package/dist/erlang-B6mpcObI.cjs +0 -1
  149. package/dist/erlang-CFOYdy9e.js +0 -487
  150. package/dist/es-CqkWVfis.cjs +0 -1
  151. package/dist/fa-DR8j7v-l.cjs +0 -1
  152. package/dist/factor-B-tsx9yW.cjs +0 -1
  153. package/dist/factor-DDOC7X6P.js +0 -65
  154. package/dist/fcl-BzAKklXo.cjs +0 -1
  155. package/dist/fcl-CPC2WYrI.js +0 -103
  156. package/dist/forth-BmxRyE9S.js +0 -60
  157. package/dist/forth-CPAzyZ_n.cjs +0 -1
  158. package/dist/fortran-9bvPyrOW.js +0 -442
  159. package/dist/fortran-DHiTlGV1.cjs +0 -1
  160. package/dist/fr-ClK0mWTO.cjs +0 -1
  161. package/dist/gas-BiPtGF2E.cjs +0 -1
  162. package/dist/gas-cpmYfFX2.js +0 -183
  163. package/dist/gherkin-CJuwpceU.js +0 -34
  164. package/dist/gherkin-Djo7Y51D.cjs +0 -1
  165. package/dist/groovy-BMVITiCm.cjs +0 -1
  166. package/dist/groovy-DZeT_VM-.js +0 -146
  167. package/dist/haskell-Bvt3Qq1t.js +0 -375
  168. package/dist/haskell-CngODaW-.cjs +0 -1
  169. package/dist/haxe-70NVW1pR.js +0 -359
  170. package/dist/haxe-Dyk-piTh.cjs +0 -1
  171. package/dist/he-DeJMBRTP.cjs +0 -1
  172. package/dist/hi-C9Anq8Ae.cjs +0 -1
  173. package/dist/http-BkLifcnL.cjs +0 -1
  174. package/dist/http-D9LttvKF.js +0 -44
  175. package/dist/idl-B6TRFYjl.js +0 -947
  176. package/dist/idl-FmHDmsE-.cjs +0 -1
  177. package/dist/index-0dpJGQbC.js +0 -94
  178. package/dist/index-52kzSRNb.cjs +0 -1
  179. package/dist/index-5a6_6F3Z.cjs +0 -6
  180. package/dist/index-BGHGZg_7.js +0 -552
  181. package/dist/index-BMn-7Ble.js +0 -1307
  182. package/dist/index-BR0F2BVZ.cjs +0 -1
  183. package/dist/index-BlCmv2EJ.cjs +0 -1
  184. package/dist/index-BlamLFdS.js +0 -76
  185. package/dist/index-By8a3eg5.cjs +0 -1
  186. package/dist/index-C0sjoDdy.js +0 -309
  187. package/dist/index-C9RMQY3t.cjs +0 -1
  188. package/dist/index-CDBeAhhM.js +0 -289
  189. package/dist/index-CH2HgQJF.cjs +0 -1
  190. package/dist/index-CT9YDHSn.js +0 -74
  191. package/dist/index-CUZnWZnQ.cjs +0 -3
  192. package/dist/index-CVNvgkJN.js +0 -342
  193. package/dist/index-C_NT6gCL.cjs +0 -1
  194. package/dist/index-CafCsH0Z.cjs +0 -1
  195. package/dist/index-Cei6J0b_.cjs +0 -8
  196. package/dist/index-CmcOKNW2.js +0 -302
  197. package/dist/index-CvpdOKX2.js +0 -136
  198. package/dist/index-CxE1PN5L.cjs +0 -1
  199. package/dist/index-D2BpI4Zz.cjs +0 -2
  200. package/dist/index-D40RPDMJ.cjs +0 -1
  201. package/dist/index-D5iq4kyE.cjs +0 -1
  202. package/dist/index-DFzKuRY8.cjs +0 -1
  203. package/dist/index-DIO9qaw5.cjs +0 -1
  204. package/dist/index-DIR2rO5B.cjs +0 -1
  205. package/dist/index-DPnQDm6f.js +0 -138
  206. package/dist/index-DU0jpFGR.cjs +0 -1
  207. package/dist/index-DUvVsNDG.cjs +0 -13
  208. package/dist/index-DVZnPL32.js +0 -953
  209. package/dist/index-DiYfLAVQ.js +0 -554
  210. package/dist/index-DnIheaHS.js +0 -251
  211. package/dist/index-Dp2K8q6O.cjs +0 -7
  212. package/dist/index-DrlNzz-e.js +0 -59
  213. package/dist/index-Dx9UDsJi.cjs +0 -1
  214. package/dist/index-DxY-AOQA.js +0 -157
  215. package/dist/index-Mmd0YHPJ.js +0 -960
  216. package/dist/index-NyiYUSW3.js +0 -101
  217. package/dist/index-alBMysbQ.js +0 -1874
  218. package/dist/index-lEkIbMCl.js +0 -612
  219. package/dist/index-qwDdlmIi.js +0 -270
  220. package/dist/index-x3mhc_C_.cjs +0 -1
  221. package/dist/it-5n3LuTHe.cjs +0 -1
  222. package/dist/ja-Bdp4_B8-.cjs +0 -1
  223. package/dist/javascript-C2yteZeJ.js +0 -691
  224. package/dist/javascript-DngSGg_0.cjs +0 -1
  225. package/dist/jinja2-DnB6dQmV.js +0 -154
  226. package/dist/jinja2-wbVbDTNi.cjs +0 -1
  227. package/dist/julia-DA67Qw9E.cjs +0 -1
  228. package/dist/julia-DpvXAuO6.js +0 -241
  229. package/dist/ko-B5SwKB-j.cjs +0 -1
  230. package/dist/livescript-Bg3URadp.cjs +0 -1
  231. package/dist/livescript-CanGTf8u.js +0 -272
  232. package/dist/lua-CIsxjGwi.cjs +0 -1
  233. package/dist/lua-XplVlWi_.js +0 -217
  234. package/dist/mathematica-BG089QIc.cjs +0 -1
  235. package/dist/mathematica-jaRHnSxC.js +0 -35
  236. package/dist/mbox-BctzC1hL.js +0 -76
  237. package/dist/mbox-CySolFFZ.cjs +0 -1
  238. package/dist/milkdown/index.cjs.js +0 -1
  239. package/dist/milkdown/index.es.js +0 -4
  240. package/dist/milkdown-input-Bkgdi-Bv.cjs +0 -944
  241. package/dist/milkdown-input-CciSI_a5.js +0 -63967
  242. package/dist/milkdown-url-D99P-nA-.js +0 -4
  243. package/dist/milkdown-url-DqoUZH3u.cjs +0 -1
  244. package/dist/milkdown.css +0 -1914
  245. package/dist/mirc-BfqEffzk.cjs +0 -1
  246. package/dist/mirc-CFBPAOaF.js +0 -72
  247. package/dist/mllike-BSnXJBGA.js +0 -272
  248. package/dist/mllike-QUjwI6zq.cjs +0 -1
  249. package/dist/modal-CAKAT7wv.cjs +0 -1
  250. package/dist/modelica-B6Zhcb-M.cjs +0 -1
  251. package/dist/modelica-vUgVs--1.js +0 -93
  252. package/dist/mscgen-BToym4Bs.cjs +0 -1
  253. package/dist/mscgen-Cpl0NYLN.js +0 -104
  254. package/dist/mumps-CQoS1kWX.js +0 -25
  255. package/dist/mumps-wfyQdxSu.cjs +0 -1
  256. package/dist/nginx-CwqyBUfA.cjs +0 -1
  257. package/dist/nginx-zDPm3Z74.js +0 -89
  258. package/dist/nl-Cenl4nr6.cjs +0 -1
  259. package/dist/notice-DBME6bFw.cjs +0 -2
  260. package/dist/notice-DVEacWKt.js +0 -2275
  261. package/dist/nsis-DPj2fUaP.cjs +0 -1
  262. package/dist/nsis-fePjrhq7.js +0 -62
  263. package/dist/ntriples-CsNjv2QF.js +0 -79
  264. package/dist/ntriples-DgwJmozm.cjs +0 -1
  265. package/dist/octave-1pkKrgAA.cjs +0 -1
  266. package/dist/octave-C8PmmSRH.js +0 -143
  267. package/dist/oz-BXOZCt0U.cjs +0 -1
  268. package/dist/oz-Ce8aN8oE.js +0 -151
  269. package/dist/pascal-De0D6mP7.js +0 -77
  270. package/dist/pascal-DtY2LEkJ.cjs +0 -1
  271. package/dist/perl-B4bSCe1C.js +0 -915
  272. package/dist/perl-CVDWbEju.cjs +0 -1
  273. package/dist/pig-D24Z8EXi.js +0 -54
  274. package/dist/pig-DMByOrnr.cjs +0 -1
  275. package/dist/pl-7xYNCk-v.cjs +0 -1
  276. package/dist/powershell-BaoYaFvj.cjs +0 -1
  277. package/dist/powershell-DkYVfTzP.js +0 -249
  278. package/dist/preprocess-CvkqwVNt.cjs +0 -3
  279. package/dist/preprocess-D898zxsP.js +0 -2295
  280. package/dist/properties-DXHJZ3WE.cjs +0 -1
  281. package/dist/properties-Dn9wna3M.js +0 -26
  282. package/dist/protobuf-BKhXdfH6.cjs +0 -1
  283. package/dist/protobuf-BPIjwpzm.js +0 -49
  284. package/dist/pt-DOLL0Jpj.cjs +0 -1
  285. package/dist/pug-CwAQJzGR.js +0 -248
  286. package/dist/pug-kEfRDOiF.cjs +0 -1
  287. package/dist/puppet-8mAyuMbW.cjs +0 -1
  288. package/dist/puppet-nyd4dhjf.js +0 -45
  289. package/dist/python-BkR3uSy8.js +0 -313
  290. package/dist/python-D-iU6WXz.cjs +0 -1
  291. package/dist/q-BPQ45Nxu.cjs +0 -1
  292. package/dist/q-DXjKs-tC.js +0 -83
  293. package/dist/r-LKEuhEGI.js +0 -104
  294. package/dist/r-r2_EZsON.cjs +0 -1
  295. package/dist/rpm-IznJm2Xc.js +0 -57
  296. package/dist/rpm-YK81m3qU.cjs +0 -1
  297. package/dist/ru-DoS9XuqG.cjs +0 -1
  298. package/dist/ruby-CcYfvIk6.js +0 -228
  299. package/dist/ruby-Cn1sFkZF.cjs +0 -1
  300. package/dist/sas-7E8yHoCW.js +0 -105
  301. package/dist/sas-DAGcJy94.cjs +0 -1
  302. package/dist/scheme-B0ZrbojV.cjs +0 -1
  303. package/dist/scheme-DjibxsNh.js +0 -124
  304. package/dist/shell-BMYo43V6.cjs +0 -1
  305. package/dist/shell-C0C2sNA_.js +0 -182
  306. package/dist/sieve-Bwz7vjP5.js +0 -72
  307. package/dist/sieve-CIYW-b_H.cjs +0 -1
  308. package/dist/simple-mode-B0dvCdAA.js +0 -89
  309. package/dist/simple-mode-BIKNPBes.cjs +0 -1
  310. package/dist/smalltalk-Bhddl2pB.js +0 -48
  311. package/dist/smalltalk-CSslY-3i.cjs +0 -1
  312. package/dist/solr-A1kSnAwJ.cjs +0 -1
  313. package/dist/solr-BNlsLglM.js +0 -41
  314. package/dist/sparql-DnHMBLLY.cjs +0 -1
  315. package/dist/sparql-FarWu_Gb.js +0 -197
  316. package/dist/spreadsheet-B7_BK8hB.cjs +0 -1
  317. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  318. package/dist/sql-9VmIWHrZ.cjs +0 -1
  319. package/dist/sql-CfG5lQ3l.js +0 -282
  320. package/dist/stex-B4wyjEnp.cjs +0 -1
  321. package/dist/stex-Du4h4KAU.js +0 -129
  322. package/dist/stylus-CAdqWld3.js +0 -250
  323. package/dist/stylus-D6GYOT3Z.cjs +0 -1
  324. package/dist/swift-DGw6Cgu8.cjs +0 -1
  325. package/dist/swift-DSxqR9R6.js +0 -230
  326. package/dist/tcl-ByLXbQFo.cjs +0 -1
  327. package/dist/tcl-xfoLljhY.js +0 -81
  328. package/dist/textile-D1AWE-pc.js +0 -295
  329. package/dist/textile-iryw-lTw.cjs +0 -1
  330. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  331. package/dist/tiddlywiki-D8IJz1k7.cjs +0 -1
  332. package/dist/tiki-C5p5KSQK.cjs +0 -1
  333. package/dist/tiki-__Kn3CeS.js +0 -181
  334. package/dist/toml-3ZsH_4Qa.cjs +0 -1
  335. package/dist/toml-BHiuTcfn.js +0 -49
  336. package/dist/tr-BVmoz40w.cjs +0 -1
  337. package/dist/translations-Dv56lQia.cjs +0 -1
  338. package/dist/troff-D-3QCOYN.cjs +0 -1
  339. package/dist/troff-D2UO-fKf.js +0 -35
  340. package/dist/ttcn-Bsa4sfRm.js +0 -123
  341. package/dist/ttcn-C2MXAqcM.cjs +0 -1
  342. package/dist/ttcn-cfg-BYqcMRxC.cjs +0 -1
  343. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
  344. package/dist/turtle-DSJNatSv.cjs +0 -1
  345. package/dist/turtle-xwJUxoPV.js +0 -80
  346. package/dist/types/components/milkdown/milkdown-input.d.ts +0 -15
  347. package/dist/types/milkdown/index.d.ts +0 -1
  348. package/dist/ur-orNTOdMP.cjs +0 -1
  349. package/dist/utils-Dobqjl2y.cjs +0 -1
  350. package/dist/vb-c2kQGd6-.js +0 -74
  351. package/dist/vb-qzHzzvyB.cjs +0 -1
  352. package/dist/vbscript-1f_Dhg5H.js +0 -324
  353. package/dist/vbscript-CWm8v9tE.cjs +0 -1
  354. package/dist/velocity-D3_yAIp3.cjs +0 -1
  355. package/dist/velocity-DJd0pTTC.js +0 -96
  356. package/dist/verilog-BOhLNmQo.cjs +0 -1
  357. package/dist/verilog-CiS1jyi5.js +0 -262
  358. package/dist/vhdl-CMFbi8Im.cjs +0 -1
  359. package/dist/vhdl-T9HkrbI2.js +0 -106
  360. package/dist/vi-BWyUDP07.cjs +0 -1
  361. package/dist/webidl-CWb_flNk.cjs +0 -1
  362. package/dist/webidl-CjfDENEo.js +0 -155
  363. package/dist/xquery-BUQdORAS.js +0 -422
  364. package/dist/xquery-Cjw5fRnG.cjs +0 -1
  365. package/dist/yacas-C0absKBh.js +0 -73
  366. package/dist/yacas-urx_N5C8.cjs +0 -1
  367. package/dist/z80-CsG3CM6M.cjs +0 -1
  368. package/dist/z80-Pki2zAjW.js +0 -61
  369. package/dist/zh-RVJj1NQq.cjs +0 -1
  370. /package/dist/types/{components/milkdown/milkdown-url.d.ts → prosemirror/styles-url.d.ts} +0 -0
  371. /package/dist/types/{milkdown → prosemirror}/styles.d.ts +0 -0
@@ -1,230 +0,0 @@
1
- function c(n) {
2
- for (var e = {}, t = 0; t < n.length; t++) e[n[t]] = !0;
3
- return e;
4
- }
5
- var l = c([
6
- "_",
7
- "var",
8
- "let",
9
- "actor",
10
- "class",
11
- "enum",
12
- "extension",
13
- "import",
14
- "protocol",
15
- "struct",
16
- "func",
17
- "typealias",
18
- "associatedtype",
19
- "open",
20
- "public",
21
- "internal",
22
- "fileprivate",
23
- "private",
24
- "deinit",
25
- "init",
26
- "new",
27
- "override",
28
- "self",
29
- "subscript",
30
- "super",
31
- "convenience",
32
- "dynamic",
33
- "final",
34
- "indirect",
35
- "lazy",
36
- "required",
37
- "static",
38
- "unowned",
39
- "unowned(safe)",
40
- "unowned(unsafe)",
41
- "weak",
42
- "as",
43
- "is",
44
- "break",
45
- "case",
46
- "continue",
47
- "default",
48
- "else",
49
- "fallthrough",
50
- "for",
51
- "guard",
52
- "if",
53
- "in",
54
- "repeat",
55
- "switch",
56
- "where",
57
- "while",
58
- "defer",
59
- "return",
60
- "inout",
61
- "mutating",
62
- "nonmutating",
63
- "isolated",
64
- "nonisolated",
65
- "catch",
66
- "do",
67
- "rethrows",
68
- "throw",
69
- "throws",
70
- "async",
71
- "await",
72
- "try",
73
- "didSet",
74
- "get",
75
- "set",
76
- "willSet",
77
- "assignment",
78
- "associativity",
79
- "infix",
80
- "left",
81
- "none",
82
- "operator",
83
- "postfix",
84
- "precedence",
85
- "precedencegroup",
86
- "prefix",
87
- "right",
88
- "Any",
89
- "AnyObject",
90
- "Type",
91
- "dynamicType",
92
- "Self",
93
- "Protocol",
94
- "__COLUMN__",
95
- "__FILE__",
96
- "__FUNCTION__",
97
- "__LINE__"
98
- ]), p = c(["var", "let", "actor", "class", "enum", "extension", "import", "protocol", "struct", "func", "typealias", "associatedtype", "for"]), d = c(["true", "false", "nil", "self", "super", "_"]), v = c([
99
- "Array",
100
- "Bool",
101
- "Character",
102
- "Dictionary",
103
- "Double",
104
- "Float",
105
- "Int",
106
- "Int8",
107
- "Int16",
108
- "Int32",
109
- "Int64",
110
- "Never",
111
- "Optional",
112
- "Set",
113
- "String",
114
- "UInt8",
115
- "UInt16",
116
- "UInt32",
117
- "UInt64",
118
- "Void"
119
- ]), h = "+-/*%=|&<>~^?!", _ = ":;,.(){}[]", s = /^\-?0b[01][01_]*/, k = /^\-?0o[0-7][0-7_]*/, x = /^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/, y = /^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/, g = /^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/, w = /^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/, z = /^\#[A-Za-z]+/, b = /^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;
120
- function f(n, e, t) {
121
- if (n.sol() && (e.indented = n.indentation()), n.eatSpace()) return null;
122
- var i = n.peek();
123
- if (i == "/") {
124
- if (n.match("//"))
125
- return n.skipToEnd(), "comment";
126
- if (n.match("/*"))
127
- return e.tokenize.push(a), a(n, e);
128
- }
129
- if (n.match(z)) return "builtin";
130
- if (n.match(b)) return "attribute";
131
- if (n.match(s) || n.match(k) || n.match(x) || n.match(y)) return "number";
132
- if (n.match(w)) return "property";
133
- if (h.indexOf(i) > -1)
134
- return n.next(), "operator";
135
- if (_.indexOf(i) > -1)
136
- return n.next(), n.match(".."), "punctuation";
137
- var r;
138
- if (r = n.match(/("""|"|')/)) {
139
- var o = I.bind(null, r[0]);
140
- return e.tokenize.push(o), o(n, e);
141
- }
142
- if (n.match(g)) {
143
- var u = n.current();
144
- return v.hasOwnProperty(u) ? "type" : d.hasOwnProperty(u) ? "atom" : l.hasOwnProperty(u) ? (p.hasOwnProperty(u) && (e.prev = "define"), "keyword") : t == "define" ? "def" : "variable";
145
- }
146
- return n.next(), null;
147
- }
148
- function A() {
149
- var n = 0;
150
- return function(e, t, i) {
151
- var r = f(e, t, i);
152
- if (r == "punctuation") {
153
- if (e.current() == "(") ++n;
154
- else if (e.current() == ")") {
155
- if (n == 0)
156
- return e.backUp(1), t.tokenize.pop(), t.tokenize[t.tokenize.length - 1](e, t);
157
- --n;
158
- }
159
- }
160
- return r;
161
- };
162
- }
163
- function I(n, e, t) {
164
- for (var i = n.length == 1, r, o = !1; r = e.peek(); )
165
- if (o) {
166
- if (e.next(), r == "(")
167
- return t.tokenize.push(A()), "string";
168
- o = !1;
169
- } else {
170
- if (e.match(n))
171
- return t.tokenize.pop(), "string";
172
- e.next(), o = r == "\\";
173
- }
174
- return i && t.tokenize.pop(), "string";
175
- }
176
- function a(n, e) {
177
- for (var t; t = n.next(); )
178
- if (t === "/" && n.eat("*"))
179
- e.tokenize.push(a);
180
- else if (t === "*" && n.eat("/")) {
181
- e.tokenize.pop();
182
- break;
183
- }
184
- return "comment";
185
- }
186
- function O(n, e, t) {
187
- this.prev = n, this.align = e, this.indented = t;
188
- }
189
- function m(n, e) {
190
- var t = e.match(/^\s*($|\/[\/\*]|[)}\]])/, !1) ? null : e.column() + 1;
191
- n.context = new O(n.context, t, n.indented);
192
- }
193
- function S(n) {
194
- n.context && (n.indented = n.context.indented, n.context = n.context.prev);
195
- }
196
- const C = {
197
- name: "swift",
198
- startState: function() {
199
- return {
200
- prev: null,
201
- context: null,
202
- indented: 0,
203
- tokenize: []
204
- };
205
- },
206
- token: function(n, e) {
207
- var t = e.prev;
208
- e.prev = null;
209
- var i = e.tokenize[e.tokenize.length - 1] || f, r = i(n, e, t);
210
- if (!r || r == "comment" ? e.prev = t : e.prev || (e.prev = r), r == "punctuation") {
211
- var o = /[\(\[\{]|([\]\)\}])/.exec(n.current());
212
- o && (o[1] ? S : m)(e, n);
213
- }
214
- return r;
215
- },
216
- indent: function(n, e, t) {
217
- var i = n.context;
218
- if (!i) return 0;
219
- var r = /^[\]\}\)]/.test(e);
220
- return i.align != null ? i.align - (r ? 1 : 0) : i.indented + (r ? 0 : t.unit);
221
- },
222
- languageData: {
223
- indentOnInput: /^\s*[\)\}\]]$/,
224
- commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
225
- closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] }
226
- }
227
- };
228
- export {
229
- C as swift
230
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function s(r){for(var n={},t=r.split(" "),e=0;e<t.length;++e)n[t[e]]=!0;return n}var f=s("Tcl safe after append array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd close concat continue dde eof encoding error eval exec exit expr fblocked fconfigure fcopy file fileevent filename filename flush for foreach format gets glob global history http if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lset lsort memory msgcat namespace open package parray pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp registry regsub rename resource return scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest tclvars tell time trace unknown unset update uplevel upvar variable vwait"),u=s("if elseif else and not or eq ne in ni for foreach while switch"),c=/[+\-*&%=<>!?^\/\|]/;function i(r,n,t){return n.tokenize=t,t(r,n)}function o(r,n){var t=n.beforeParams;n.beforeParams=!1;var e=r.next();if((e=='"'||e=="'")&&n.inParams)return i(r,n,d(e));if(/[\[\]{}\(\),;\.]/.test(e))return e=="("&&t?n.inParams=!0:e==")"&&(n.inParams=!1),null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="#")return r.eat("*")?i(r,n,p):e=="#"&&r.match(/ *\[ *\[/)?i(r,n,k):(r.skipToEnd(),"comment");if(e=='"')return r.skipTo(/"/),"comment";if(e=="$")return r.eatWhile(/[$_a-z0-9A-Z\.{:]/),r.eatWhile(/}/),n.beforeParams=!0,"builtin";if(c.test(e))return r.eatWhile(c),"comment";r.eatWhile(/[\w\$_{}\xa1-\uffff]/);var a=r.current().toLowerCase();return f&&f.propertyIsEnumerable(a)?"keyword":u&&u.propertyIsEnumerable(a)?(n.beforeParams=!0,"keyword"):null}function d(r){return function(n,t){for(var e=!1,a,l=!1;(a=n.next())!=null;){if(a==r&&!e){l=!0;break}e=!e&&a=="\\"}return l&&(t.tokenize=o),"string"}}function p(r,n){for(var t=!1,e;e=r.next();){if(e=="#"&&t){n.tokenize=o;break}t=e=="*"}return"comment"}function k(r,n){for(var t=0,e;e=r.next();){if(e=="#"&&t==2){n.tokenize=o;break}e=="]"?t++:e!=" "&&(t=0)}return"meta"}const m={name:"tcl",startState:function(){return{tokenize:o,beforeParams:!1,inParams:!1}},token:function(r,n){return r.eatSpace()?null:n.tokenize(r,n)},languageData:{commentTokens:{line:"#"}}};exports.tcl=m;
@@ -1,81 +0,0 @@
1
- function s(r) {
2
- for (var n = {}, t = r.split(" "), e = 0; e < t.length; ++e) n[t[e]] = !0;
3
- return n;
4
- }
5
- var f = s("Tcl safe after append array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd close concat continue dde eof encoding error eval exec exit expr fblocked fconfigure fcopy file fileevent filename filename flush for foreach format gets glob global history http if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lset lsort memory msgcat namespace open package parray pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp registry regsub rename resource return scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest tclvars tell time trace unknown unset update uplevel upvar variable vwait"), u = s("if elseif else and not or eq ne in ni for foreach while switch"), c = /[+\-*&%=<>!?^\/\|]/;
6
- function i(r, n, t) {
7
- return n.tokenize = t, t(r, n);
8
- }
9
- function o(r, n) {
10
- var t = n.beforeParams;
11
- n.beforeParams = !1;
12
- var e = r.next();
13
- if ((e == '"' || e == "'") && n.inParams)
14
- return i(r, n, p(e));
15
- if (/[\[\]{}\(\),;\.]/.test(e))
16
- return e == "(" && t ? n.inParams = !0 : e == ")" && (n.inParams = !1), null;
17
- if (/\d/.test(e))
18
- return r.eatWhile(/[\w\.]/), "number";
19
- if (e == "#")
20
- return r.eat("*") ? i(r, n, d) : e == "#" && r.match(/ *\[ *\[/) ? i(r, n, k) : (r.skipToEnd(), "comment");
21
- if (e == '"')
22
- return r.skipTo(/"/), "comment";
23
- if (e == "$")
24
- return r.eatWhile(/[$_a-z0-9A-Z\.{:]/), r.eatWhile(/}/), n.beforeParams = !0, "builtin";
25
- if (c.test(e))
26
- return r.eatWhile(c), "comment";
27
- r.eatWhile(/[\w\$_{}\xa1-\uffff]/);
28
- var a = r.current().toLowerCase();
29
- return f && f.propertyIsEnumerable(a) ? "keyword" : u && u.propertyIsEnumerable(a) ? (n.beforeParams = !0, "keyword") : null;
30
- }
31
- function p(r) {
32
- return function(n, t) {
33
- for (var e = !1, a, l = !1; (a = n.next()) != null; ) {
34
- if (a == r && !e) {
35
- l = !0;
36
- break;
37
- }
38
- e = !e && a == "\\";
39
- }
40
- return l && (t.tokenize = o), "string";
41
- };
42
- }
43
- function d(r, n) {
44
- for (var t = !1, e; e = r.next(); ) {
45
- if (e == "#" && t) {
46
- n.tokenize = o;
47
- break;
48
- }
49
- t = e == "*";
50
- }
51
- return "comment";
52
- }
53
- function k(r, n) {
54
- for (var t = 0, e; e = r.next(); ) {
55
- if (e == "#" && t == 2) {
56
- n.tokenize = o;
57
- break;
58
- }
59
- e == "]" ? t++ : e != " " && (t = 0);
60
- }
61
- return "meta";
62
- }
63
- const m = {
64
- name: "tcl",
65
- startState: function() {
66
- return {
67
- tokenize: o,
68
- beforeParams: !1,
69
- inParams: !1
70
- };
71
- },
72
- token: function(r, n) {
73
- return r.eatSpace() ? null : n.tokenize(r, n);
74
- },
75
- languageData: {
76
- commentTokens: { line: "#" }
77
- }
78
- };
79
- export {
80
- m as tcl
81
- };
@@ -1,295 +0,0 @@
1
- var f = {
2
- addition: "inserted",
3
- attributes: "propertyName",
4
- bold: "strong",
5
- cite: "keyword",
6
- code: "monospace",
7
- definitionList: "list",
8
- deletion: "deleted",
9
- div: "punctuation",
10
- em: "emphasis",
11
- footnote: "variable",
12
- footCite: "qualifier",
13
- header: "heading",
14
- html: "comment",
15
- image: "atom",
16
- italic: "emphasis",
17
- link: "link",
18
- linkDefinition: "link",
19
- list1: "list",
20
- list2: "list.special",
21
- list3: "list",
22
- notextile: "string.special",
23
- pre: "operator",
24
- p: "content",
25
- quote: "bracket",
26
- span: "quote",
27
- specialChar: "character",
28
- strong: "strong",
29
- sub: "content.special",
30
- sup: "content.special",
31
- table: "variableName.special",
32
- tableHeading: "operator"
33
- };
34
- function h(i, e) {
35
- e.mode = r.newLayout, e.tableHeading = !1, e.layoutType === "definitionList" && e.spanningLayout && i.match(l("definitionListEnd"), !1) && (e.spanningLayout = !1);
36
- }
37
- function s(i, e, n) {
38
- if (n === "_")
39
- return i.eat("_") ? a(i, e, "italic", /__/, 2) : a(i, e, "em", /_/, 1);
40
- if (n === "*")
41
- return i.eat("*") ? a(i, e, "bold", /\*\*/, 2) : a(i, e, "strong", /\*/, 1);
42
- if (n === "[")
43
- return i.match(/\d+\]/) && (e.footCite = !0), u(e);
44
- if (n === "(") {
45
- var o = i.match(/^(r|tm|c)\)/);
46
- if (o)
47
- return f.specialChar;
48
- }
49
- if (n === "<" && i.match(/(\w+)[^>]+>[^<]+<\/\1>/))
50
- return f.html;
51
- if (n === "?" && i.eat("?"))
52
- return a(i, e, "cite", /\?\?/, 2);
53
- if (n === "=" && i.eat("="))
54
- return a(i, e, "notextile", /==/, 2);
55
- if (n === "-" && !i.eat("-"))
56
- return a(i, e, "deletion", /-/, 1);
57
- if (n === "+")
58
- return a(i, e, "addition", /\+/, 1);
59
- if (n === "~")
60
- return a(i, e, "sub", /~/, 1);
61
- if (n === "^")
62
- return a(i, e, "sup", /\^/, 1);
63
- if (n === "%")
64
- return a(i, e, "span", /%/, 1);
65
- if (n === "@")
66
- return a(i, e, "code", /@/, 1);
67
- if (n === "!") {
68
- var c = a(i, e, "image", /(?:\([^\)]+\))?!/, 1);
69
- return i.match(/^:\S+/), c;
70
- }
71
- return u(e);
72
- }
73
- function a(i, e, n, o, c) {
74
- var d = i.pos > c ? i.string.charAt(i.pos - c - 1) : null, p = i.peek();
75
- if (e[n]) {
76
- if ((!p || /\W/.test(p)) && d && /\S/.test(d)) {
77
- var y = u(e);
78
- return e[n] = !1, y;
79
- }
80
- } else (!d || /\W/.test(d)) && p && /\S/.test(p) && i.match(new RegExp("^.*\\S" + o.source + "(?:\\W|$)"), !1) && (e[n] = !0, e.mode = r.attributes);
81
- return u(e);
82
- }
83
- function u(i) {
84
- var e = b(i);
85
- if (e) return e;
86
- var n = [];
87
- return i.layoutType && n.push(f[i.layoutType]), n = n.concat(g(
88
- i,
89
- "addition",
90
- "bold",
91
- "cite",
92
- "code",
93
- "deletion",
94
- "em",
95
- "footCite",
96
- "image",
97
- "italic",
98
- "link",
99
- "span",
100
- "strong",
101
- "sub",
102
- "sup",
103
- "table",
104
- "tableHeading"
105
- )), i.layoutType === "header" && n.push(f.header + "-" + i.header), n.length ? n.join(" ") : null;
106
- }
107
- function b(i) {
108
- var e = i.layoutType;
109
- switch (e) {
110
- case "notextile":
111
- case "code":
112
- case "pre":
113
- return f[e];
114
- default:
115
- return i.notextile ? f.notextile + (e ? " " + f[e] : "") : null;
116
- }
117
- }
118
- function g(i) {
119
- for (var e = [], n = 1; n < arguments.length; ++n)
120
- i[arguments[n]] && e.push(f[arguments[n]]);
121
- return e;
122
- }
123
- function m(i) {
124
- var e = i.spanningLayout, n = i.layoutType;
125
- for (var o in i) i.hasOwnProperty(o) && delete i[o];
126
- i.mode = r.newLayout, e && (i.layoutType = n, i.spanningLayout = !0);
127
- }
128
- var t = {
129
- cache: {},
130
- single: {
131
- bc: "bc",
132
- bq: "bq",
133
- definitionList: /- .*?:=+/,
134
- definitionListEnd: /.*=:\s*$/,
135
- div: "div",
136
- drawTable: /\|.*\|/,
137
- foot: /fn\d+/,
138
- header: /h[1-6]/,
139
- html: /\s*<(?:\/)?(\w+)(?:[^>]+)?>(?:[^<]+<\/\1>)?/,
140
- link: /[^"]+":\S/,
141
- linkDefinition: /\[[^\s\]]+\]\S+/,
142
- list: /(?:#+|\*+)/,
143
- notextile: "notextile",
144
- para: "p",
145
- pre: "pre",
146
- table: "table",
147
- tableCellAttributes: /[\/\\]\d+/,
148
- tableHeading: /\|_\./,
149
- tableText: /[^"_\*\[\(\?\+~\^%@|-]+/,
150
- text: /[^!"_=\*\[\(<\?\+~\^%@-]+/
151
- },
152
- attributes: {
153
- align: /(?:<>|<|>|=)/,
154
- selector: /\([^\(][^\)]+\)/,
155
- lang: /\[[^\[\]]+\]/,
156
- pad: /(?:\(+|\)+){1,2}/,
157
- css: /\{[^\}]+\}/
158
- },
159
- createRe: function(i) {
160
- switch (i) {
161
- case "drawTable":
162
- return t.makeRe("^", t.single.drawTable, "$");
163
- case "html":
164
- return t.makeRe("^", t.single.html, "(?:", t.single.html, ")*", "$");
165
- case "linkDefinition":
166
- return t.makeRe("^", t.single.linkDefinition, "$");
167
- case "listLayout":
168
- return t.makeRe("^", t.single.list, l("allAttributes"), "*\\s+");
169
- case "tableCellAttributes":
170
- return t.makeRe("^", t.choiceRe(
171
- t.single.tableCellAttributes,
172
- l("allAttributes")
173
- ), "+\\.");
174
- case "type":
175
- return t.makeRe("^", l("allTypes"));
176
- case "typeLayout":
177
- return t.makeRe(
178
- "^",
179
- l("allTypes"),
180
- l("allAttributes"),
181
- "*\\.\\.?",
182
- "(\\s+|$)"
183
- );
184
- case "attributes":
185
- return t.makeRe("^", l("allAttributes"), "+");
186
- case "allTypes":
187
- return t.choiceRe(
188
- t.single.div,
189
- t.single.foot,
190
- t.single.header,
191
- t.single.bc,
192
- t.single.bq,
193
- t.single.notextile,
194
- t.single.pre,
195
- t.single.table,
196
- t.single.para
197
- );
198
- case "allAttributes":
199
- return t.choiceRe(
200
- t.attributes.selector,
201
- t.attributes.css,
202
- t.attributes.lang,
203
- t.attributes.align,
204
- t.attributes.pad
205
- );
206
- default:
207
- return t.makeRe("^", t.single[i]);
208
- }
209
- },
210
- makeRe: function() {
211
- for (var i = "", e = 0; e < arguments.length; ++e) {
212
- var n = arguments[e];
213
- i += typeof n == "string" ? n : n.source;
214
- }
215
- return new RegExp(i);
216
- },
217
- choiceRe: function() {
218
- for (var i = [arguments[0]], e = 1; e < arguments.length; ++e)
219
- i[e * 2 - 1] = "|", i[e * 2] = arguments[e];
220
- return i.unshift("(?:"), i.push(")"), t.makeRe.apply(null, i);
221
- }
222
- };
223
- function l(i) {
224
- return t.cache[i] || (t.cache[i] = t.createRe(i));
225
- }
226
- var r = {
227
- newLayout: function(i, e) {
228
- if (i.match(l("typeLayout"), !1))
229
- return e.spanningLayout = !1, (e.mode = r.blockType)(i, e);
230
- var n;
231
- return b(e) || (i.match(l("listLayout"), !1) ? n = r.list : i.match(l("drawTable"), !1) ? n = r.table : i.match(l("linkDefinition"), !1) ? n = r.linkDefinition : i.match(l("definitionList")) ? n = r.definitionList : i.match(l("html"), !1) && (n = r.html)), (e.mode = n || r.text)(i, e);
232
- },
233
- blockType: function(i, e) {
234
- var n, o;
235
- if (e.layoutType = null, n = i.match(l("type")))
236
- o = n[0];
237
- else
238
- return (e.mode = r.text)(i, e);
239
- return (n = o.match(l("header"))) ? (e.layoutType = "header", e.header = parseInt(n[0][1])) : o.match(l("bq")) ? e.layoutType = "quote" : o.match(l("bc")) ? e.layoutType = "code" : o.match(l("foot")) ? e.layoutType = "footnote" : o.match(l("notextile")) ? e.layoutType = "notextile" : o.match(l("pre")) ? e.layoutType = "pre" : o.match(l("div")) ? e.layoutType = "div" : o.match(l("table")) && (e.layoutType = "table"), e.mode = r.attributes, u(e);
240
- },
241
- text: function(i, e) {
242
- if (i.match(l("text"))) return u(e);
243
- var n = i.next();
244
- return n === '"' ? (e.mode = r.link)(i, e) : s(i, e, n);
245
- },
246
- attributes: function(i, e) {
247
- return e.mode = r.layoutLength, i.match(l("attributes")) ? f.attributes : u(e);
248
- },
249
- layoutLength: function(i, e) {
250
- return i.eat(".") && i.eat(".") && (e.spanningLayout = !0), e.mode = r.text, u(e);
251
- },
252
- list: function(i, e) {
253
- var n = i.match(l("list"));
254
- e.listDepth = n[0].length;
255
- var o = (e.listDepth - 1) % 3;
256
- return o ? o === 1 ? e.layoutType = "list2" : e.layoutType = "list3" : e.layoutType = "list1", e.mode = r.attributes, u(e);
257
- },
258
- link: function(i, e) {
259
- return e.mode = r.text, i.match(l("link")) ? (i.match(/\S+/), f.link) : u(e);
260
- },
261
- linkDefinition: function(i) {
262
- return i.skipToEnd(), f.linkDefinition;
263
- },
264
- definitionList: function(i, e) {
265
- return i.match(l("definitionList")), e.layoutType = "definitionList", i.match(/\s*$/) ? e.spanningLayout = !0 : e.mode = r.attributes, u(e);
266
- },
267
- html: function(i) {
268
- return i.skipToEnd(), f.html;
269
- },
270
- table: function(i, e) {
271
- return e.layoutType = "table", (e.mode = r.tableCell)(i, e);
272
- },
273
- tableCell: function(i, e) {
274
- return i.match(l("tableHeading")) ? e.tableHeading = !0 : i.eat("|"), e.mode = r.tableCellAttributes, u(e);
275
- },
276
- tableCellAttributes: function(i, e) {
277
- return e.mode = r.tableText, i.match(l("tableCellAttributes")) ? f.attributes : u(e);
278
- },
279
- tableText: function(i, e) {
280
- return i.match(l("tableText")) ? u(e) : i.peek() === "|" ? (e.mode = r.tableCell, u(e)) : s(i, e, i.next());
281
- }
282
- };
283
- const k = {
284
- name: "textile",
285
- startState: function() {
286
- return { mode: r.newLayout };
287
- },
288
- token: function(i, e) {
289
- return i.sol() && h(i, e), e.mode(i, e);
290
- },
291
- blankLine: m
292
- };
293
- export {
294
- k as textile
295
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var f={addition:"inserted",attributes:"propertyName",bold:"strong",cite:"keyword",code:"monospace",definitionList:"list",deletion:"deleted",div:"punctuation",em:"emphasis",footnote:"variable",footCite:"qualifier",header:"heading",html:"comment",image:"atom",italic:"emphasis",link:"link",linkDefinition:"link",list1:"list",list2:"list.special",list3:"list",notextile:"string.special",pre:"operator",p:"content",quote:"bracket",span:"quote",specialChar:"character",strong:"strong",sub:"content.special",sup:"content.special",table:"variableName.special",tableHeading:"operator"};function h(i,e){e.mode=r.newLayout,e.tableHeading=!1,e.layoutType==="definitionList"&&e.spanningLayout&&i.match(l("definitionListEnd"),!1)&&(e.spanningLayout=!1)}function s(i,e,n){if(n==="_")return i.eat("_")?a(i,e,"italic",/__/,2):a(i,e,"em",/_/,1);if(n==="*")return i.eat("*")?a(i,e,"bold",/\*\*/,2):a(i,e,"strong",/\*/,1);if(n==="[")return i.match(/\d+\]/)&&(e.footCite=!0),u(e);if(n==="("){var o=i.match(/^(r|tm|c)\)/);if(o)return f.specialChar}if(n==="<"&&i.match(/(\w+)[^>]+>[^<]+<\/\1>/))return f.html;if(n==="?"&&i.eat("?"))return a(i,e,"cite",/\?\?/,2);if(n==="="&&i.eat("="))return a(i,e,"notextile",/==/,2);if(n==="-"&&!i.eat("-"))return a(i,e,"deletion",/-/,1);if(n==="+")return a(i,e,"addition",/\+/,1);if(n==="~")return a(i,e,"sub",/~/,1);if(n==="^")return a(i,e,"sup",/\^/,1);if(n==="%")return a(i,e,"span",/%/,1);if(n==="@")return a(i,e,"code",/@/,1);if(n==="!"){var c=a(i,e,"image",/(?:\([^\)]+\))?!/,1);return i.match(/^:\S+/),c}return u(e)}function a(i,e,n,o,c){var d=i.pos>c?i.string.charAt(i.pos-c-1):null,p=i.peek();if(e[n]){if((!p||/\W/.test(p))&&d&&/\S/.test(d)){var y=u(e);return e[n]=!1,y}}else(!d||/\W/.test(d))&&p&&/\S/.test(p)&&i.match(new RegExp("^.*\\S"+o.source+"(?:\\W|$)"),!1)&&(e[n]=!0,e.mode=r.attributes);return u(e)}function u(i){var e=b(i);if(e)return e;var n=[];return i.layoutType&&n.push(f[i.layoutType]),n=n.concat(g(i,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),i.layoutType==="header"&&n.push(f.header+"-"+i.header),n.length?n.join(" "):null}function b(i){var e=i.layoutType;switch(e){case"notextile":case"code":case"pre":return f[e];default:return i.notextile?f.notextile+(e?" "+f[e]:""):null}}function g(i){for(var e=[],n=1;n<arguments.length;++n)i[arguments[n]]&&e.push(f[arguments[n]]);return e}function m(i){var e=i.spanningLayout,n=i.layoutType;for(var o in i)i.hasOwnProperty(o)&&delete i[o];i.mode=r.newLayout,e&&(i.layoutType=n,i.spanningLayout=!0)}var t={cache:{},single:{bc:"bc",bq:"bq",definitionList:/- .*?:=+/,definitionListEnd:/.*=:\s*$/,div:"div",drawTable:/\|.*\|/,foot:/fn\d+/,header:/h[1-6]/,html:/\s*<(?:\/)?(\w+)(?:[^>]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(i){switch(i){case"drawTable":return t.makeRe("^",t.single.drawTable,"$");case"html":return t.makeRe("^",t.single.html,"(?:",t.single.html,")*","$");case"linkDefinition":return t.makeRe("^",t.single.linkDefinition,"$");case"listLayout":return t.makeRe("^",t.single.list,l("allAttributes"),"*\\s+");case"tableCellAttributes":return t.makeRe("^",t.choiceRe(t.single.tableCellAttributes,l("allAttributes")),"+\\.");case"type":return t.makeRe("^",l("allTypes"));case"typeLayout":return t.makeRe("^",l("allTypes"),l("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return t.makeRe("^",l("allAttributes"),"+");case"allTypes":return t.choiceRe(t.single.div,t.single.foot,t.single.header,t.single.bc,t.single.bq,t.single.notextile,t.single.pre,t.single.table,t.single.para);case"allAttributes":return t.choiceRe(t.attributes.selector,t.attributes.css,t.attributes.lang,t.attributes.align,t.attributes.pad);default:return t.makeRe("^",t.single[i])}},makeRe:function(){for(var i="",e=0;e<arguments.length;++e){var n=arguments[e];i+=typeof n=="string"?n:n.source}return new RegExp(i)},choiceRe:function(){for(var i=[arguments[0]],e=1;e<arguments.length;++e)i[e*2-1]="|",i[e*2]=arguments[e];return i.unshift("(?:"),i.push(")"),t.makeRe.apply(null,i)}};function l(i){return t.cache[i]||(t.cache[i]=t.createRe(i))}var r={newLayout:function(i,e){if(i.match(l("typeLayout"),!1))return e.spanningLayout=!1,(e.mode=r.blockType)(i,e);var n;return b(e)||(i.match(l("listLayout"),!1)?n=r.list:i.match(l("drawTable"),!1)?n=r.table:i.match(l("linkDefinition"),!1)?n=r.linkDefinition:i.match(l("definitionList"))?n=r.definitionList:i.match(l("html"),!1)&&(n=r.html)),(e.mode=n||r.text)(i,e)},blockType:function(i,e){var n,o;if(e.layoutType=null,n=i.match(l("type")))o=n[0];else return(e.mode=r.text)(i,e);return(n=o.match(l("header")))?(e.layoutType="header",e.header=parseInt(n[0][1])):o.match(l("bq"))?e.layoutType="quote":o.match(l("bc"))?e.layoutType="code":o.match(l("foot"))?e.layoutType="footnote":o.match(l("notextile"))?e.layoutType="notextile":o.match(l("pre"))?e.layoutType="pre":o.match(l("div"))?e.layoutType="div":o.match(l("table"))&&(e.layoutType="table"),e.mode=r.attributes,u(e)},text:function(i,e){if(i.match(l("text")))return u(e);var n=i.next();return n==='"'?(e.mode=r.link)(i,e):s(i,e,n)},attributes:function(i,e){return e.mode=r.layoutLength,i.match(l("attributes"))?f.attributes:u(e)},layoutLength:function(i,e){return i.eat(".")&&i.eat(".")&&(e.spanningLayout=!0),e.mode=r.text,u(e)},list:function(i,e){var n=i.match(l("list"));e.listDepth=n[0].length;var o=(e.listDepth-1)%3;return o?o===1?e.layoutType="list2":e.layoutType="list3":e.layoutType="list1",e.mode=r.attributes,u(e)},link:function(i,e){return e.mode=r.text,i.match(l("link"))?(i.match(/\S+/),f.link):u(e)},linkDefinition:function(i){return i.skipToEnd(),f.linkDefinition},definitionList:function(i,e){return i.match(l("definitionList")),e.layoutType="definitionList",i.match(/\s*$/)?e.spanningLayout=!0:e.mode=r.attributes,u(e)},html:function(i){return i.skipToEnd(),f.html},table:function(i,e){return e.layoutType="table",(e.mode=r.tableCell)(i,e)},tableCell:function(i,e){return i.match(l("tableHeading"))?e.tableHeading=!0:i.eat("|"),e.mode=r.tableCellAttributes,u(e)},tableCellAttributes:function(i,e){return e.mode=r.tableText,i.match(l("tableCellAttributes"))?f.attributes:u(e)},tableText:function(i,e){return i.match(l("tableText"))?u(e):i.peek()==="|"?(e.mode=r.tableCell,u(e)):s(i,e,i.next())}};const k={name:"textile",startState:function(){return{mode:r.newLayout}},token:function(i,e){return i.sol()&&h(i,e),e.mode(i,e)},blankLine:m};exports.textile=k;