@tempots/beatui 0.30.2 → 0.32.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 (379) hide show
  1. package/dist/{2019-Cd9nHhvg.js → 2019-BAbSTPyW.js} +9 -10
  2. package/dist/2019-BMZkvreo.cjs +1 -0
  3. package/dist/{2020-CyKJpuK6.js → 2020-BQNEk3m-.js} +30 -31
  4. package/dist/2020-COaJ7nGc.cjs +1 -0
  5. package/dist/ar-CqAHPRKu.cjs +1 -0
  6. package/dist/{ar-Dz8Mg5la.js → ar-avevuYiW.js} +30 -15
  7. package/dist/auth/index.cjs.js +1 -1
  8. package/dist/auth/index.es.js +85 -84
  9. package/dist/beatui.css +218 -11
  10. package/dist/beatui.tailwind.css +218 -11
  11. package/dist/de--4OtRESW.cjs +1 -0
  12. package/dist/{de-ToWTQGEo.js → de-Cz7ah611.js} +27 -12
  13. package/dist/es-CE1wRgxl.cjs +1 -0
  14. package/dist/{es-CruxS0Tz.js → es-CiNQQzF1.js} +27 -12
  15. package/dist/fa-DjuJZNLK.cjs +1 -0
  16. package/dist/{fa-Cf0NZLWA.js → fa-Gkt0b9XN.js} +30 -15
  17. package/dist/fr-DotyzMGL.cjs +1 -0
  18. package/dist/{fr-YKXmqMGr.js → fr-xM9p9Q6G.js} +20 -5
  19. package/dist/he-BQ6ygVEQ.cjs +1 -0
  20. package/dist/{he-D8ZOduPw.js → he-CoO6PsiS.js} +30 -15
  21. package/dist/hi-BCfJ0mRh.cjs +1 -0
  22. package/dist/{hi-CIamzVEf.js → hi-DA3-4Cdo.js} +30 -15
  23. package/dist/index-1_pssujS.cjs +8 -0
  24. package/dist/index-B4irUWVb.cjs +34 -0
  25. package/dist/index-BI5w0jSz.js +2707 -0
  26. package/dist/index-Bv2gn_kV.cjs +4 -0
  27. package/dist/index-CDOHHPwQ.js +14275 -0
  28. package/dist/{index-O9BwR_8P.cjs → index-CFh4D56e.cjs} +1 -1
  29. package/dist/index-CKyH3jwP.cjs +1 -0
  30. package/dist/index-Caetcp0r.js +68 -0
  31. package/dist/{index-DDpjzV7E.js → index-DfmwsIle.js} +304 -307
  32. package/dist/{index-B2079wM-.js → index-DjShJtXp.js} +15 -15
  33. package/dist/index-DqeaEUPG.cjs +1 -0
  34. package/dist/{index-DFJed4ks.js → index-E76KKV9V.js} +1 -1
  35. package/dist/index.cjs.js +4 -4
  36. package/dist/index.es.js +1667 -1695
  37. package/dist/{it-Bn7tG_KC.js → it-EdPuWBJR.js} +29 -14
  38. package/dist/it-pv2Gm3jb.cjs +1 -0
  39. package/dist/{ja-i1ULXeiu.js → ja-BSRCR430.js} +25 -10
  40. package/dist/ja-CuRaPMgh.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-C7YP1PL4.cjs +1 -0
  44. package/dist/{ko-BpKDmtvY.js → ko-Dm4oD1fh.js} +30 -15
  45. package/dist/markdown/index.cjs.js +1 -2
  46. package/dist/markdown/index.es.js +4 -420
  47. package/dist/modal-CepbiM3u.cjs +1 -0
  48. package/dist/{modal-DvGSDVSv.js → modal-eY-3j_zS.js} +14 -13
  49. package/dist/monaco/index.cjs.js +1 -1
  50. package/dist/monaco/index.es.js +1 -1
  51. package/dist/{nl-Cs4PDWCJ.js → nl-B0l1kdfd.js} +31 -16
  52. package/dist/nl-ClCD6lP-.cjs +1 -0
  53. package/dist/notice-Ct8ZHvwq.js +1467 -0
  54. package/dist/notice-cpODDUvJ.cjs +2 -0
  55. package/dist/{pl-BFLNf991.js → pl-DVKneBSY.js} +31 -16
  56. package/dist/pl-fyCkqVrr.cjs +1 -0
  57. package/dist/prosemirror/index.cjs.js +1 -0
  58. package/dist/prosemirror/index.es.js +6 -0
  59. package/dist/prosemirror.css +294 -0
  60. package/dist/pt-BHExG3lf.cjs +1 -0
  61. package/dist/{pt-BRZeOkcE.js → pt-Bw0sTDOX.js} +31 -16
  62. package/dist/{ru-KI7Gowz-.js → ru-B26VQ4f9.js} +35 -20
  63. package/dist/ru-PuEOLDw1.cjs +1 -0
  64. package/dist/styles-url-CF_019NX.js +4 -0
  65. package/dist/styles-url-DhmSan6u.cjs +1 -0
  66. package/dist/theme-B7C5kIJj.cjs +1 -0
  67. package/dist/theme-DsQOxXW1.js +34 -0
  68. package/dist/toolbar-ClJbaKID.js +118 -0
  69. package/dist/toolbar-kwkvH3nX.cjs +1 -0
  70. package/dist/tr-CI97fTpD.cjs +1 -0
  71. package/dist/{tr-CYk8Fua5.js → tr-DQMivdvy.js} +28 -13
  72. package/dist/{translations-DdNHXAWr.js → translations-1yD6Rm5l.js} +1 -1
  73. package/dist/translations-DQxg-W9w.cjs +1 -0
  74. package/dist/translations-ZB5oDFId.cjs +1 -0
  75. package/dist/translations-iam7PITs.js +831 -0
  76. package/dist/types/beatui-i18n/default.d.ts +14 -0
  77. package/dist/types/beatui-i18n/locales/en.d.ts +14 -0
  78. package/dist/types/beatui-i18n/translations.d.ts +14 -0
  79. package/dist/types/components/beatui.d.ts +4 -1
  80. package/dist/types/components/form/input/input-container.d.ts +3 -1
  81. package/dist/types/components/form/input/input-options.d.ts +6 -0
  82. package/dist/types/components/navigation/tabs/tabs.d.ts +6 -1
  83. package/dist/types/components/overlay/index.d.ts +1 -0
  84. package/dist/types/components/overlay/ribbon.d.ts +22 -0
  85. package/dist/types/components/prosemirror/etoolbar-button.d.ts +11 -0
  86. package/dist/types/components/prosemirror/etoolbar-group.d.ts +4 -0
  87. package/dist/types/components/prosemirror/link-control.d.ts +12 -0
  88. package/dist/types/components/prosemirror/prosemirror-markdown-input.d.ts +76 -0
  89. package/dist/types/components/prosemirror/prosemirror-toolbar.d.ts +18 -0
  90. package/dist/types/components/prosemirror/utils.d.ts +12 -0
  91. package/dist/types/components/theme/theme.d.ts +5 -2
  92. package/dist/types/prosemirror/index.d.ts +2 -0
  93. package/dist/ur-B3CiO8KH.cjs +1 -0
  94. package/dist/{ur-BIcZGLWt.js → ur-o3rog5MJ.js} +30 -15
  95. package/dist/utils-CCAYvnZh.cjs +1 -0
  96. package/dist/{utils-D1op9R8_.js → utils-CuD-_CDx.js} +74 -73
  97. package/dist/{vi-BeK62QeB.js → vi-C7cb2K_B.js} +19 -4
  98. package/dist/vi-FibsLfdk.cjs +1 -0
  99. package/dist/zh-BtSj_Euh.cjs +1 -0
  100. package/dist/{zh-Dt6yWDu2.js → zh-NGrfqAHM.js} +32 -17
  101. package/package.json +20 -13
  102. package/dist/2019-Bl1mhxeM.cjs +0 -1
  103. package/dist/2020-BKqFJLj6.cjs +0 -1
  104. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  105. package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
  106. package/dist/apl-B2DGVGxc.js +0 -76
  107. package/dist/apl-M-DNMvvR.cjs +0 -1
  108. package/dist/ar-CbsALGhG.cjs +0 -1
  109. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  110. package/dist/asciiarmor-BMx3XVjX.cjs +0 -1
  111. package/dist/asn1-OOsVM4yU.cjs +0 -1
  112. package/dist/asn1-jKiBa2Ya.js +0 -95
  113. package/dist/asterisk-B1QUaW1C.cjs +0 -1
  114. package/dist/asterisk-DS281yxp.js +0 -271
  115. package/dist/brainfuck-BjUlYKdF.cjs +0 -1
  116. package/dist/brainfuck-C_p9pTT8.js +0 -34
  117. package/dist/clike-BEMIzMUI.cjs +0 -1
  118. package/dist/clike-DGTaUp48.js +0 -620
  119. package/dist/clojure-Ap_IXD2I.cjs +0 -1
  120. package/dist/clojure-CCKyeQKf.js +0 -800
  121. package/dist/cmake-C4D5_VmS.cjs +0 -1
  122. package/dist/cmake-CuaCgAKt.js +0 -28
  123. package/dist/cobol-BlTKFDRj.js +0 -72
  124. package/dist/cobol-Du-cT2hr.cjs +0 -1
  125. package/dist/coffeescript-BVCvwO8I.js +0 -179
  126. package/dist/coffeescript-DDFAj2ea.cjs +0 -1
  127. package/dist/commonlisp-CXBBRCTx.cjs +0 -1
  128. package/dist/commonlisp-D_kxz07b.js +0 -75
  129. package/dist/crystal-D309uH6_.js +0 -217
  130. package/dist/crystal-DAFWRDbh.cjs +0 -1
  131. package/dist/css-BkF-NPzE.js +0 -1553
  132. package/dist/css-DzFJyRJ8.cjs +0 -1
  133. package/dist/cypher-BMq4Fwjl.js +0 -68
  134. package/dist/cypher-BN0-oCze.cjs +0 -1
  135. package/dist/d-BHsqGcfm.cjs +0 -1
  136. package/dist/d-BZcgY6La.js +0 -127
  137. package/dist/de-MO-u5hoD.cjs +0 -1
  138. package/dist/diff-CemTHKfk.cjs +0 -1
  139. package/dist/diff-Cg9d_RX2.js +0 -18
  140. package/dist/dockerfile-BBTH3voH.cjs +0 -1
  141. package/dist/dockerfile-DIy8NleC.js +0 -194
  142. package/dist/dtd-ChoVQPwv.cjs +0 -1
  143. package/dist/dtd-CtLokQ-U.js +0 -84
  144. package/dist/dylan-QYeExnWK.js +0 -234
  145. package/dist/dylan-apTQIgUA.cjs +0 -1
  146. package/dist/ebnf-DUPDuY4r.js +0 -78
  147. package/dist/ebnf-LYmLy17h.cjs +0 -1
  148. package/dist/ecl-C7WNQq7-.cjs +0 -1
  149. package/dist/ecl-CiXN-g_D.js +0 -121
  150. package/dist/eiffel-BJThA8RG.cjs +0 -1
  151. package/dist/eiffel-yQhjl4T1.js +0 -110
  152. package/dist/elm-CNT9vbN0.js +0 -108
  153. package/dist/elm-CcXP9T36.cjs +0 -1
  154. package/dist/erlang-B6mpcObI.cjs +0 -1
  155. package/dist/erlang-CFOYdy9e.js +0 -487
  156. package/dist/es-CqkWVfis.cjs +0 -1
  157. package/dist/fa-DR8j7v-l.cjs +0 -1
  158. package/dist/factor-B-tsx9yW.cjs +0 -1
  159. package/dist/factor-DDOC7X6P.js +0 -65
  160. package/dist/fcl-BzAKklXo.cjs +0 -1
  161. package/dist/fcl-CPC2WYrI.js +0 -103
  162. package/dist/forth-BmxRyE9S.js +0 -60
  163. package/dist/forth-CPAzyZ_n.cjs +0 -1
  164. package/dist/fortran-9bvPyrOW.js +0 -442
  165. package/dist/fortran-DHiTlGV1.cjs +0 -1
  166. package/dist/fr-ClK0mWTO.cjs +0 -1
  167. package/dist/gas-BiPtGF2E.cjs +0 -1
  168. package/dist/gas-cpmYfFX2.js +0 -183
  169. package/dist/gherkin-CJuwpceU.js +0 -34
  170. package/dist/gherkin-Djo7Y51D.cjs +0 -1
  171. package/dist/groovy-BMVITiCm.cjs +0 -1
  172. package/dist/groovy-DZeT_VM-.js +0 -146
  173. package/dist/haskell-Bvt3Qq1t.js +0 -375
  174. package/dist/haskell-CngODaW-.cjs +0 -1
  175. package/dist/haxe-70NVW1pR.js +0 -359
  176. package/dist/haxe-Dyk-piTh.cjs +0 -1
  177. package/dist/he-DeJMBRTP.cjs +0 -1
  178. package/dist/hi-C9Anq8Ae.cjs +0 -1
  179. package/dist/http-BkLifcnL.cjs +0 -1
  180. package/dist/http-D9LttvKF.js +0 -44
  181. package/dist/idl-B6TRFYjl.js +0 -947
  182. package/dist/idl-FmHDmsE-.cjs +0 -1
  183. package/dist/index-0dpJGQbC.js +0 -94
  184. package/dist/index-52kzSRNb.cjs +0 -1
  185. package/dist/index-5a6_6F3Z.cjs +0 -6
  186. package/dist/index-BGHGZg_7.js +0 -552
  187. package/dist/index-BMn-7Ble.js +0 -1307
  188. package/dist/index-BR0F2BVZ.cjs +0 -1
  189. package/dist/index-BlCmv2EJ.cjs +0 -1
  190. package/dist/index-BlamLFdS.js +0 -76
  191. package/dist/index-By8a3eg5.cjs +0 -1
  192. package/dist/index-C0sjoDdy.js +0 -309
  193. package/dist/index-C9RMQY3t.cjs +0 -1
  194. package/dist/index-CDBeAhhM.js +0 -289
  195. package/dist/index-CH2HgQJF.cjs +0 -1
  196. package/dist/index-CT9YDHSn.js +0 -74
  197. package/dist/index-CUZnWZnQ.cjs +0 -3
  198. package/dist/index-CVNvgkJN.js +0 -342
  199. package/dist/index-C_NT6gCL.cjs +0 -1
  200. package/dist/index-CafCsH0Z.cjs +0 -1
  201. package/dist/index-Cei6J0b_.cjs +0 -8
  202. package/dist/index-CmcOKNW2.js +0 -302
  203. package/dist/index-CvpdOKX2.js +0 -136
  204. package/dist/index-CxE1PN5L.cjs +0 -1
  205. package/dist/index-D2BpI4Zz.cjs +0 -2
  206. package/dist/index-D40RPDMJ.cjs +0 -1
  207. package/dist/index-D5iq4kyE.cjs +0 -1
  208. package/dist/index-DFzKuRY8.cjs +0 -1
  209. package/dist/index-DIO9qaw5.cjs +0 -1
  210. package/dist/index-DIR2rO5B.cjs +0 -1
  211. package/dist/index-DPnQDm6f.js +0 -138
  212. package/dist/index-DU0jpFGR.cjs +0 -1
  213. package/dist/index-DUvVsNDG.cjs +0 -13
  214. package/dist/index-DVZnPL32.js +0 -953
  215. package/dist/index-DiYfLAVQ.js +0 -554
  216. package/dist/index-DnIheaHS.js +0 -251
  217. package/dist/index-Dp2K8q6O.cjs +0 -7
  218. package/dist/index-DrlNzz-e.js +0 -59
  219. package/dist/index-Dx9UDsJi.cjs +0 -1
  220. package/dist/index-DxY-AOQA.js +0 -157
  221. package/dist/index-Mmd0YHPJ.js +0 -960
  222. package/dist/index-NyiYUSW3.js +0 -101
  223. package/dist/index-alBMysbQ.js +0 -1874
  224. package/dist/index-lEkIbMCl.js +0 -612
  225. package/dist/index-qwDdlmIi.js +0 -270
  226. package/dist/index-x3mhc_C_.cjs +0 -1
  227. package/dist/it-5n3LuTHe.cjs +0 -1
  228. package/dist/ja-Bdp4_B8-.cjs +0 -1
  229. package/dist/javascript-C2yteZeJ.js +0 -691
  230. package/dist/javascript-DngSGg_0.cjs +0 -1
  231. package/dist/jinja2-DnB6dQmV.js +0 -154
  232. package/dist/jinja2-wbVbDTNi.cjs +0 -1
  233. package/dist/julia-DA67Qw9E.cjs +0 -1
  234. package/dist/julia-DpvXAuO6.js +0 -241
  235. package/dist/ko-B5SwKB-j.cjs +0 -1
  236. package/dist/livescript-Bg3URadp.cjs +0 -1
  237. package/dist/livescript-CanGTf8u.js +0 -272
  238. package/dist/lua-CIsxjGwi.cjs +0 -1
  239. package/dist/lua-XplVlWi_.js +0 -217
  240. package/dist/mathematica-BG089QIc.cjs +0 -1
  241. package/dist/mathematica-jaRHnSxC.js +0 -35
  242. package/dist/mbox-BctzC1hL.js +0 -76
  243. package/dist/mbox-CySolFFZ.cjs +0 -1
  244. package/dist/milkdown/index.cjs.js +0 -1
  245. package/dist/milkdown/index.es.js +0 -4
  246. package/dist/milkdown-input-Bkgdi-Bv.cjs +0 -944
  247. package/dist/milkdown-input-CciSI_a5.js +0 -63967
  248. package/dist/milkdown-url-D99P-nA-.js +0 -4
  249. package/dist/milkdown-url-DqoUZH3u.cjs +0 -1
  250. package/dist/milkdown.css +0 -1914
  251. package/dist/mirc-BfqEffzk.cjs +0 -1
  252. package/dist/mirc-CFBPAOaF.js +0 -72
  253. package/dist/mllike-BSnXJBGA.js +0 -272
  254. package/dist/mllike-QUjwI6zq.cjs +0 -1
  255. package/dist/modal-CAKAT7wv.cjs +0 -1
  256. package/dist/modelica-B6Zhcb-M.cjs +0 -1
  257. package/dist/modelica-vUgVs--1.js +0 -93
  258. package/dist/mscgen-BToym4Bs.cjs +0 -1
  259. package/dist/mscgen-Cpl0NYLN.js +0 -104
  260. package/dist/mumps-CQoS1kWX.js +0 -25
  261. package/dist/mumps-wfyQdxSu.cjs +0 -1
  262. package/dist/nginx-CwqyBUfA.cjs +0 -1
  263. package/dist/nginx-zDPm3Z74.js +0 -89
  264. package/dist/nl-Cenl4nr6.cjs +0 -1
  265. package/dist/notice-DBME6bFw.cjs +0 -2
  266. package/dist/notice-DVEacWKt.js +0 -2275
  267. package/dist/nsis-DPj2fUaP.cjs +0 -1
  268. package/dist/nsis-fePjrhq7.js +0 -62
  269. package/dist/ntriples-CsNjv2QF.js +0 -79
  270. package/dist/ntriples-DgwJmozm.cjs +0 -1
  271. package/dist/octave-1pkKrgAA.cjs +0 -1
  272. package/dist/octave-C8PmmSRH.js +0 -143
  273. package/dist/oz-BXOZCt0U.cjs +0 -1
  274. package/dist/oz-Ce8aN8oE.js +0 -151
  275. package/dist/pascal-De0D6mP7.js +0 -77
  276. package/dist/pascal-DtY2LEkJ.cjs +0 -1
  277. package/dist/perl-B4bSCe1C.js +0 -915
  278. package/dist/perl-CVDWbEju.cjs +0 -1
  279. package/dist/pig-D24Z8EXi.js +0 -54
  280. package/dist/pig-DMByOrnr.cjs +0 -1
  281. package/dist/pl-7xYNCk-v.cjs +0 -1
  282. package/dist/powershell-BaoYaFvj.cjs +0 -1
  283. package/dist/powershell-DkYVfTzP.js +0 -249
  284. package/dist/preprocess-CvkqwVNt.cjs +0 -3
  285. package/dist/preprocess-D898zxsP.js +0 -2295
  286. package/dist/properties-DXHJZ3WE.cjs +0 -1
  287. package/dist/properties-Dn9wna3M.js +0 -26
  288. package/dist/protobuf-BKhXdfH6.cjs +0 -1
  289. package/dist/protobuf-BPIjwpzm.js +0 -49
  290. package/dist/pt-DOLL0Jpj.cjs +0 -1
  291. package/dist/pug-CwAQJzGR.js +0 -248
  292. package/dist/pug-kEfRDOiF.cjs +0 -1
  293. package/dist/puppet-8mAyuMbW.cjs +0 -1
  294. package/dist/puppet-nyd4dhjf.js +0 -45
  295. package/dist/python-BkR3uSy8.js +0 -313
  296. package/dist/python-D-iU6WXz.cjs +0 -1
  297. package/dist/q-BPQ45Nxu.cjs +0 -1
  298. package/dist/q-DXjKs-tC.js +0 -83
  299. package/dist/r-LKEuhEGI.js +0 -104
  300. package/dist/r-r2_EZsON.cjs +0 -1
  301. package/dist/rpm-IznJm2Xc.js +0 -57
  302. package/dist/rpm-YK81m3qU.cjs +0 -1
  303. package/dist/ru-DoS9XuqG.cjs +0 -1
  304. package/dist/ruby-CcYfvIk6.js +0 -228
  305. package/dist/ruby-Cn1sFkZF.cjs +0 -1
  306. package/dist/sas-7E8yHoCW.js +0 -105
  307. package/dist/sas-DAGcJy94.cjs +0 -1
  308. package/dist/scheme-B0ZrbojV.cjs +0 -1
  309. package/dist/scheme-DjibxsNh.js +0 -124
  310. package/dist/shell-BMYo43V6.cjs +0 -1
  311. package/dist/shell-C0C2sNA_.js +0 -182
  312. package/dist/sieve-Bwz7vjP5.js +0 -72
  313. package/dist/sieve-CIYW-b_H.cjs +0 -1
  314. package/dist/simple-mode-B0dvCdAA.js +0 -89
  315. package/dist/simple-mode-BIKNPBes.cjs +0 -1
  316. package/dist/smalltalk-Bhddl2pB.js +0 -48
  317. package/dist/smalltalk-CSslY-3i.cjs +0 -1
  318. package/dist/solr-A1kSnAwJ.cjs +0 -1
  319. package/dist/solr-BNlsLglM.js +0 -41
  320. package/dist/sparql-DnHMBLLY.cjs +0 -1
  321. package/dist/sparql-FarWu_Gb.js +0 -197
  322. package/dist/spreadsheet-B7_BK8hB.cjs +0 -1
  323. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  324. package/dist/sql-9VmIWHrZ.cjs +0 -1
  325. package/dist/sql-CfG5lQ3l.js +0 -282
  326. package/dist/stex-B4wyjEnp.cjs +0 -1
  327. package/dist/stex-Du4h4KAU.js +0 -129
  328. package/dist/stylus-CAdqWld3.js +0 -250
  329. package/dist/stylus-D6GYOT3Z.cjs +0 -1
  330. package/dist/swift-DGw6Cgu8.cjs +0 -1
  331. package/dist/swift-DSxqR9R6.js +0 -230
  332. package/dist/tcl-ByLXbQFo.cjs +0 -1
  333. package/dist/tcl-xfoLljhY.js +0 -81
  334. package/dist/textile-D1AWE-pc.js +0 -295
  335. package/dist/textile-iryw-lTw.cjs +0 -1
  336. package/dist/theme-CJVt8QIc.js +0 -34
  337. package/dist/theme-YS3sFklH.cjs +0 -1
  338. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  339. package/dist/tiddlywiki-D8IJz1k7.cjs +0 -1
  340. package/dist/tiki-C5p5KSQK.cjs +0 -1
  341. package/dist/tiki-__Kn3CeS.js +0 -181
  342. package/dist/toml-3ZsH_4Qa.cjs +0 -1
  343. package/dist/toml-BHiuTcfn.js +0 -49
  344. package/dist/tr-BVmoz40w.cjs +0 -1
  345. package/dist/translations-Dv56lQia.cjs +0 -1
  346. package/dist/troff-D-3QCOYN.cjs +0 -1
  347. package/dist/troff-D2UO-fKf.js +0 -35
  348. package/dist/ttcn-Bsa4sfRm.js +0 -123
  349. package/dist/ttcn-C2MXAqcM.cjs +0 -1
  350. package/dist/ttcn-cfg-BYqcMRxC.cjs +0 -1
  351. package/dist/ttcn-cfg-Bac_acMi.js +0 -88
  352. package/dist/turtle-DSJNatSv.cjs +0 -1
  353. package/dist/turtle-xwJUxoPV.js +0 -80
  354. package/dist/types/components/milkdown/milkdown-input.d.ts +0 -15
  355. package/dist/types/milkdown/index.d.ts +0 -1
  356. package/dist/ur-orNTOdMP.cjs +0 -1
  357. package/dist/utils-Dobqjl2y.cjs +0 -1
  358. package/dist/vb-c2kQGd6-.js +0 -74
  359. package/dist/vb-qzHzzvyB.cjs +0 -1
  360. package/dist/vbscript-1f_Dhg5H.js +0 -324
  361. package/dist/vbscript-CWm8v9tE.cjs +0 -1
  362. package/dist/velocity-D3_yAIp3.cjs +0 -1
  363. package/dist/velocity-DJd0pTTC.js +0 -96
  364. package/dist/verilog-BOhLNmQo.cjs +0 -1
  365. package/dist/verilog-CiS1jyi5.js +0 -262
  366. package/dist/vhdl-CMFbi8Im.cjs +0 -1
  367. package/dist/vhdl-T9HkrbI2.js +0 -106
  368. package/dist/vi-BWyUDP07.cjs +0 -1
  369. package/dist/webidl-CWb_flNk.cjs +0 -1
  370. package/dist/webidl-CjfDENEo.js +0 -155
  371. package/dist/xquery-BUQdORAS.js +0 -422
  372. package/dist/xquery-Cjw5fRnG.cjs +0 -1
  373. package/dist/yacas-C0absKBh.js +0 -73
  374. package/dist/yacas-urx_N5C8.cjs +0 -1
  375. package/dist/z80-CsG3CM6M.cjs +0 -1
  376. package/dist/z80-Pki2zAjW.js +0 -61
  377. package/dist/zh-RVJj1NQq.cjs +0 -1
  378. /package/dist/types/{components/milkdown/milkdown-url.d.ts → prosemirror/styles-url.d.ts} +0 -0
  379. /package/dist/types/{milkdown → prosemirror}/styles.d.ts +0 -0
@@ -2,13 +2,14 @@ import { Use as H, Value as u, prop as et, html as I, attr as a, on as C, WithEl
2
2
  import { f as se } from "./colors-WfmhQ5e1.js";
3
3
  import { g as re } from "./timer-CQlK5LhW.js";
4
4
  import { ElementRect as jt, AutoSelect as le } from "@tempots/ui";
5
- import { B as X, e as O, f as ae, C as yt, I as z, g as j, h as oe, i as ce, j as Ht, k as $t, T as ie, E as ue, P as pe, S as ct, s as de, L as fe, l as me, n as Lt, o as he, a as gt, p as bt, O as lt, q as Vt } from "./notice-DVEacWKt.js";
5
+ import { a as X, b as O, f as ae, I as z, C as j, d as yt, T as oe, L as ce, c as Lt, e as ie, B as gt } from "./translations-iam7PITs.js";
6
+ import { C as $t, m as ue, d as pe, I as Ht, E as de, P as fe, S as ct, s as me, L as he, e as bt, O as lt, f as Vt } from "./notice-Ct8ZHvwq.js";
6
7
  class ge extends Error {
7
8
  constructor(e = "Missing implementation") {
8
9
  super(e), this.name = "MissingImplementationError";
9
10
  }
10
11
  }
11
- const un = (t) => be(t).split("_").join(" "), be = (t) => (t = t.replace(/::/g, "/"), t = t.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2"), t = t.replace(/([a-z\d])([A-Z])/g, "$1_$2"), t = t.replace(/-/g, "_"), t.toLowerCase()), pn = (t) => t.substring(0, 1).toUpperCase() + t.substring(1), ve = (t) => {
12
+ const pn = (t) => be(t).split("_").join(" "), be = (t) => (t = t.replace(/::/g, "/"), t = t.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2"), t = t.replace(/([a-z\d])([A-Z])/g, "$1_$2"), t = t.replace(/-/g, "_"), t.toLowerCase()), dn = (t) => t.substring(0, 1).toUpperCase() + t.substring(1), ve = (t) => {
12
13
  if (typeof Buffer < "u")
13
14
  return Buffer.from(t, "base64").toString("utf8");
14
15
  if (typeof atob < "u")
@@ -93,7 +94,7 @@ function we(t, e) {
93
94
  const r = ["bc-segmented-control", `bc-segmented-control--size-${t}`];
94
95
  return e && r.push("bc-segmented-control--disabled"), r.join(" ");
95
96
  }
96
- function dn({
97
+ function fn({
97
98
  options: t,
98
99
  value: e,
99
100
  onChange: r,
@@ -304,7 +305,7 @@ const $e = (t, ...e) => {
304
305
  x,
305
306
  () => E(
306
307
  d.map(({ length: _ }) => _ > 0),
307
- () => yt(
308
+ () => $t(
308
309
  {
309
310
  size: "sm",
310
311
  label: k.$.clearAllFiles,
@@ -378,7 +379,7 @@ const $e = (t, ...e) => {
378
379
  )((M, A) => M || A)
379
380
  )
380
381
  ),
381
- yt(
382
+ $t(
382
383
  {
383
384
  size: "sm",
384
385
  label: k.$.removeFile,
@@ -476,7 +477,7 @@ function De(t) {
476
477
  onInput: p
477
478
  });
478
479
  }
479
- function fn(t) {
480
+ function mn(t) {
480
481
  const {
481
482
  value: e,
482
483
  onInput: r,
@@ -686,7 +687,7 @@ function Ee(t, e) {
686
687
  }
687
688
  return v += " Z", v;
688
689
  }
689
- const mn = (t) => {
690
+ const hn = (t) => {
690
691
  const { value: e, onBlur: r, onChange: n, onInput: s, displayValue: o, size: l, withAlpha: i } = t, c = u.map(l ?? 32, (w) => w), p = u.map(e, (w) => Se(w ?? "#000000")), m = u.map(
691
692
  p,
692
693
  ([w, $, M]) => [w, $, M]
@@ -805,7 +806,7 @@ const mn = (t) => {
805
806
  }, Dt = "$$tts-exp-", Ue = (t, e) => it((r) => {
806
807
  const n = `${Dt}${t}`;
807
808
  return W(u.on(e, (s) => Reflect.set(r, n, s)));
808
- }), hn = (t, e) => {
809
+ }), gn = (t, e) => {
809
810
  const r = `${Dt}${t}`;
810
811
  return (n) => {
811
812
  e(Reflect.get(n.target, r));
@@ -821,7 +822,7 @@ function ze(t, e, r) {
821
822
  const n = ["bc-card"];
822
823
  return t !== "default" && n.push(`bc-card--${t}`), e !== "md" && n.push(`bc-card--padding-${e}`), r !== "lg" && n.push(`bc-card--rounded-${r}`), n.join(" ");
823
824
  }
824
- function gn({ variant: t = "default", size: e = "md", roundedness: r = "lg" } = {}, ...n) {
825
+ function bn({ variant: t = "default", size: e = "md", roundedness: r = "lg" } = {}, ...n) {
825
826
  return I.div(
826
827
  a.class(
827
828
  V(
@@ -842,7 +843,7 @@ function gn({ variant: t = "default", size: e = "md", roundedness: r = "lg" } =
842
843
  function pt(...t) {
843
844
  return I.div(a.class("bc-group"), ...t);
844
845
  }
845
- const bn = ({
846
+ const vn = ({
846
847
  startEditing: t,
847
848
  value: e,
848
849
  onChange: r,
@@ -988,11 +989,11 @@ function Oe(t) {
988
989
  return Re({
989
990
  ...s,
990
991
  value: e.value,
991
- onChange: ce(e, r),
992
- onBlur: oe(e, n)
992
+ onChange: pe(e, r),
993
+ onBlur: ue(e, n)
993
994
  });
994
995
  }
995
- function vn(t) {
996
+ function xn(t) {
996
997
  return Ht({
997
998
  ...t,
998
999
  content: Oe(t)
@@ -1287,7 +1288,7 @@ const Xt = (t) => {
1287
1288
  });
1288
1289
  };
1289
1290
  function Y(t, e, r) {
1290
- const n = u.map(t, (o) => o != null), s = $t.clearValue;
1291
+ const n = u.map(t, (o) => o != null), s = yt.clearValue;
1291
1292
  return E(
1292
1293
  n,
1293
1294
  () => I.button(
@@ -1303,7 +1304,7 @@ function Y(t, e, r) {
1303
1304
  )
1304
1305
  );
1305
1306
  }
1306
- const xn = (t) => {
1307
+ const wn = (t) => {
1307
1308
  const { value: e, onBlur: r, onChange: n, after: s, disabled: o } = t, l = Y(e, o, n);
1308
1309
  return O({
1309
1310
  ...t,
@@ -1319,7 +1320,7 @@ const xn = (t) => {
1319
1320
  }, Ze = (t) => {
1320
1321
  const e = t.getFullYear(), r = t.getMonth() + 1, n = t.getDate(), s = t.getHours(), o = t.getMinutes(), l = t.getSeconds();
1321
1322
  return `${e}-${r.toString().padStart(2, "0")}-${n.toString().padStart(2, "0")}T${s.toString().padStart(2, "0")}:${o.toString().padStart(2, "0")}:${l.toString().padStart(2, "0")}`;
1322
- }, wn = (t) => {
1323
+ }, _n = (t) => {
1323
1324
  const { value: e, onBlur: r, onChange: n, after: s, disabled: o } = t, l = u.map(e, (c) => c != null ? Ze(c) : null), i = Y(e, o, n);
1324
1325
  return O({
1325
1326
  ...t,
@@ -1332,9 +1333,9 @@ const xn = (t) => {
1332
1333
  ),
1333
1334
  after: s != null ? L(i, s) : i
1334
1335
  });
1335
- }, Z = (t) => typeof t == "string" && t.trim() === "" ? null : t, nt = (t) => t ?? "", _n = (t) => {
1336
+ }, Z = (t) => typeof t == "string" && t.trim() === "" ? null : t, nt = (t) => t ?? "", yn = (t) => {
1336
1337
  const { value: e, onBlur: r, onChange: n, onInput: s, after: o, disabled: l, ...i } = t, c = Y(e, l, n);
1337
- return ie({
1338
+ return oe({
1338
1339
  ...i,
1339
1340
  value: u.map(e, nt),
1340
1341
  onChange: n != null ? (p) => n(Z(p)) : void 0,
@@ -1342,9 +1343,9 @@ const xn = (t) => {
1342
1343
  onBlur: r,
1343
1344
  after: o != null ? L(c, o) : c
1344
1345
  });
1345
- }, yn = (t) => {
1346
+ }, $n = (t) => {
1346
1347
  const { value: e, onBlur: r, onChange: n, onInput: s, after: o, disabled: l, ...i } = t, c = Y(e, l, n);
1347
- return ue({
1348
+ return de({
1348
1349
  ...i,
1349
1350
  value: u.map(e, nt),
1350
1351
  onChange: n != null ? (p) => n(Z(p)) : void 0,
@@ -1352,9 +1353,9 @@ const xn = (t) => {
1352
1353
  onBlur: r,
1353
1354
  after: o != null ? L(c, o) : c
1354
1355
  });
1355
- }, $n = (t) => {
1356
+ }, kn = (t) => {
1356
1357
  const { value: e, onBlur: r, onChange: n, onInput: s, after: o, disabled: l, ...i } = t, c = Y(e, l, n);
1357
- return pe({
1358
+ return fe({
1358
1359
  ...i,
1359
1360
  value: u.map(e, nt),
1360
1361
  onChange: n != null ? (p) => n(Z(p)) : void 0,
@@ -1376,7 +1377,7 @@ const xn = (t) => {
1376
1377
  s != null ? C.input(P(s)) : T
1377
1378
  )
1378
1379
  });
1379
- }, kn = (t) => {
1380
+ }, In = (t) => {
1380
1381
  const { value: e, onBlur: r, onChange: n, onInput: s, after: o, disabled: l, ...i } = t, c = Y(e, l, n);
1381
1382
  return Ye({
1382
1383
  ...i,
@@ -1386,7 +1387,7 @@ const xn = (t) => {
1386
1387
  onBlur: r,
1387
1388
  after: o != null ? L(c, o) : c
1388
1389
  });
1389
- }, In = (t) => {
1390
+ }, Cn = (t) => {
1390
1391
  const { value: e, step: r, min: n, max: s, onBlur: o, onChange: l, onInput: i, after: c } = t, p = (v) => {
1391
1392
  const d = n != null ? u.get(n) : void 0, x = s != null ? u.get(s) : void 0;
1392
1393
  return d != null && v < d ? d : x != null && v > x ? x : v;
@@ -1485,7 +1486,7 @@ const xn = (t) => {
1485
1486
  if (t == null || t === "") return null;
1486
1487
  const e = Number(t);
1487
1488
  return Number.isNaN(e) ? null : e;
1488
- }, Cn = (t) => {
1489
+ }, Mn = (t) => {
1489
1490
  const { value: e, step: r, min: n, max: s, onBlur: o, onChange: l, onInput: i, after: c } = t, p = (d) => {
1490
1491
  const x = n != null ? u.get(n) : void 0, h = s != null ? u.get(s) : void 0;
1491
1492
  return x != null && d < x ? x : h != null && d > h ? h : d;
@@ -1547,8 +1548,8 @@ const xn = (t) => {
1547
1548
  z({ icon: "line-md:minus", size: "xs" })
1548
1549
  )
1549
1550
  ))(
1550
- $t.incrementValue,
1551
- $t.decrementValue
1551
+ yt.incrementValue,
1552
+ yt.decrementValue
1552
1553
  );
1553
1554
  })(), f = Y(e, t.disabled, l), v = c != null && m != null ? L(m, f, c) : c != null ? L(f, c) : m != null ? L(m, f) : f;
1554
1555
  return O({
@@ -1596,7 +1597,7 @@ const xn = (t) => {
1596
1597
  ),
1597
1598
  after: v
1598
1599
  });
1599
- }, Mn = ({
1600
+ }, Dn = ({
1600
1601
  value: t,
1601
1602
  onChange: e,
1602
1603
  offLabel: r,
@@ -1607,7 +1608,7 @@ const xn = (t) => {
1607
1608
  id: i,
1608
1609
  color: c = "primary"
1609
1610
  }) => {
1610
- const p = i ?? de("switch"), m = `${p}-label`;
1611
+ const p = i ?? me("switch"), m = `${p}-label`;
1611
1612
  function f(h, y) {
1612
1613
  const g = [
1613
1614
  "bc-switch",
@@ -1620,7 +1621,7 @@ const xn = (t) => {
1620
1621
  const y = h ?? "primary", g = /* @__PURE__ */ new Map(), b = Lt(y, "solid", "light"), D = Lt(y, "solid", "dark");
1621
1622
  return g.set("--switch-track-on-bg", b.backgroundColor), g.set("--switch-track-on-label", b.textColor), g.set("--switch-track-on-bg-dark", D.backgroundColor), g.set("--switch-track-on-label-dark", D.textColor), g.set(
1622
1623
  "--switch-track-on-border-dark",
1623
- he(y, "dark")
1624
+ ie(y, "dark")
1624
1625
  ), Array.from(g.entries()).map(([k, _]) => `${k}: ${_}`).join("; ");
1625
1626
  }
1626
1627
  const d = () => {
@@ -1652,7 +1653,7 @@ const xn = (t) => {
1652
1653
  N.labelledby(s != null ? m : void 0),
1653
1654
  C.click(d),
1654
1655
  C.keydown(x),
1655
- s != null ? fe(
1656
+ s != null ? he(
1656
1657
  a.id(m),
1657
1658
  a.class(
1658
1659
  `bc-switch__label bc-switch__label--size-${l} bc-switch__label--nowrap`
@@ -1690,7 +1691,7 @@ const xn = (t) => {
1690
1691
  ) : null,
1691
1692
  jt(
1692
1693
  (h) => H(
1693
- me,
1694
+ ce,
1694
1695
  ({ direction: y }) => I.div(
1695
1696
  a.class("bc-switch__thumb"),
1696
1697
  a.class(
@@ -1777,7 +1778,7 @@ const xn = (t) => {
1777
1778
  // Sensible default placeholder; can be overridden via options.placeholder
1778
1779
  placeholder: t.placeholder ?? "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1779
1780
  });
1780
- }, Dn = (t) => {
1781
+ }, Sn = (t) => {
1781
1782
  const { value: e, onBlur: r, onChange: n, onInput: s, after: o, disabled: l, ...i } = t, c = Y(e, l, n);
1782
1783
  return Xe({
1783
1784
  ...i,
@@ -1889,7 +1890,7 @@ const xn = (t) => {
1889
1890
  Pt(s, g)
1890
1891
  )
1891
1892
  });
1892
- }, Sn = (t) => {
1893
+ }, Tn = (t) => {
1893
1894
  const { value: e, onChange: r, onBlur: n, after: s, disabled: o, ...l } = t, i = Y(e, o, r);
1894
1895
  return Qe({
1895
1896
  ...l,
@@ -1900,7 +1901,7 @@ const xn = (t) => {
1900
1901
  onBlur: n,
1901
1902
  after: s != null ? L(i, s) : i
1902
1903
  });
1903
- }, Tn = (t) => {
1904
+ }, An = (t) => {
1904
1905
  const { value: e, step: r, min: n, max: s, onBlur: o, onChange: l, onInput: i } = t;
1905
1906
  return O({
1906
1907
  ...t,
@@ -1920,7 +1921,7 @@ const xn = (t) => {
1920
1921
  i != null ? C.input(G(i)) : T
1921
1922
  )
1922
1923
  });
1923
- }, An = (t) => {
1924
+ }, Fn = (t) => {
1924
1925
  const { value: e, step: r, min: n, max: s, onBlur: o, onChange: l, onInput: i } = t, c = u.map(e, (m) => {
1925
1926
  if (m != null) return m;
1926
1927
  const f = n != null ? u.get(n) : void 0;
@@ -2001,7 +2002,7 @@ const Ot = (t, e) => {
2001
2002
  } catch {
2002
2003
  return null;
2003
2004
  }
2004
- }, Fn = (t) => {
2005
+ }, Bn = (t) => {
2005
2006
  const { value: e, onChange: r, after: n, disabled: s, onBlur: o } = t, l = () => {
2006
2007
  const p = Y(e, s, r);
2007
2008
  return n != null ? L(p, n) : p;
@@ -2058,7 +2059,7 @@ const Ot = (t, e) => {
2058
2059
  s != null ? C.input(P(s)) : T
2059
2060
  )
2060
2061
  });
2061
- }, Bn = (t) => {
2062
+ }, Ln = (t) => {
2062
2063
  const { value: e, onBlur: r, onChange: n, onInput: s, after: o, disabled: l, ...i } = t, c = Y(e, l, n);
2063
2064
  return nn({
2064
2065
  ...i,
@@ -2130,7 +2131,7 @@ const Ot = (t, e) => {
2130
2131
  o,
2131
2132
  () => H(
2132
2133
  X,
2133
- (b) => yt({
2134
+ (b) => $t({
2134
2135
  size: "xs",
2135
2136
  // Use a lowercase label to satisfy tests that query with [aria-label*="remove"]
2136
2137
  label: u.map(b.$.removeItem, (D) => D.toLowerCase()),
@@ -2205,7 +2206,7 @@ const Ot = (t, e) => {
2205
2206
  ),
2206
2207
  x
2207
2208
  );
2208
- }, Ln = (t, ...e) => {
2209
+ }, Vn = (t, ...e) => {
2209
2210
  const {
2210
2211
  controller: r,
2211
2212
  element: n,
@@ -2240,7 +2241,7 @@ const Ot = (t, e) => {
2240
2241
  ...e
2241
2242
  );
2242
2243
  };
2243
- class Vn extends bt {
2244
+ class En extends bt {
2244
2245
  branches;
2245
2246
  activeBranch;
2246
2247
  #e;
@@ -2350,74 +2351,74 @@ class Vn extends bt {
2350
2351
  return this.branches.find((r) => r.key === e);
2351
2352
  }
2352
2353
  }
2353
- function En(t) {
2354
+ function Un(t) {
2354
2355
  return t.transform(
2355
2356
  (e) => e ?? null,
2356
2357
  (e) => e ?? void 0
2357
2358
  );
2358
2359
  }
2359
- function Un(t) {
2360
+ function Nn(t) {
2360
2361
  return t.transform(
2361
2362
  (e) => e ?? "",
2362
2363
  (e) => e === "" ? void 0 : e
2363
2364
  );
2364
2365
  }
2365
- function Nn(t) {
2366
+ function zn(t) {
2366
2367
  return t.transform(
2367
2368
  (e) => e ?? void 0,
2368
2369
  (e) => e ?? null
2369
2370
  );
2370
2371
  }
2371
2372
  export {
2372
- Sn as A,
2373
+ Tn as A,
2373
2374
  sn as B,
2374
- mn as C,
2375
- Tn as D,
2375
+ hn as C,
2376
+ An as D,
2376
2377
  Ue as E,
2377
2378
  $e as F,
2378
2379
  pt as G,
2379
- An as H,
2380
- Fn as I,
2380
+ Fn as H,
2381
+ Bn as I,
2381
2382
  nn as J,
2382
- Bn as K,
2383
- Ln as L,
2383
+ Ln as K,
2384
+ Vn as L,
2384
2385
  Xt as M,
2385
2386
  Re as N,
2386
- gn as O,
2387
- hn as P,
2387
+ bn as O,
2388
+ gn as P,
2388
2389
  Ne as Q,
2389
2390
  Qe as R,
2390
- dn as S,
2391
+ fn as S,
2391
2392
  Ye as T,
2392
2393
  Et as U,
2393
2394
  Mt as V,
2394
2395
  Je as W,
2395
- un as X,
2396
- pn as _,
2396
+ pn as X,
2397
+ dn as _,
2397
2398
  Y as a,
2398
- Vn as b,
2399
- Un as c,
2399
+ En as b,
2400
+ Nn as c,
2400
2401
  en as d,
2401
2402
  Z as e,
2402
- Nn as f,
2403
- fn as g,
2403
+ zn as f,
2404
+ mn as g,
2404
2405
  ke as h,
2405
2406
  De as i,
2406
- bn as j,
2407
+ vn as j,
2407
2408
  Pe as k,
2408
2409
  Oe as l,
2409
- vn as m,
2410
+ xn as m,
2410
2411
  nt as n,
2411
- xn as o,
2412
- wn as p,
2413
- yn as q,
2414
- $n as r,
2415
- kn as s,
2416
- En as t,
2417
- _n as u,
2418
- In as v,
2419
- Cn as w,
2420
- Mn as x,
2412
+ wn as o,
2413
+ _n as p,
2414
+ $n as q,
2415
+ kn as r,
2416
+ In as s,
2417
+ Un as t,
2418
+ yn as u,
2419
+ Cn as v,
2420
+ Mn as w,
2421
+ Dn as x,
2421
2422
  Xe as y,
2422
- Dn as z
2423
+ Sn as z
2423
2424
  };
@@ -1,4 +1,4 @@
1
- import { f as h } from "./notice-DVEacWKt.js";
1
+ import { f as a } from "./translations-iam7PITs.js";
2
2
  const c = {
3
3
  loadingExtended: "Đang tải, vui lòng đợi",
4
4
  loadingShort: "Đang tải...",
@@ -62,19 +62,34 @@ const c = {
62
62
  if (n || i) {
63
63
  const t = [];
64
64
  if (n != null && n > 1 && t.push(`tối đa ${n} tệp`), i && o) {
65
- const g = h(i, {
65
+ const h = a(i, {
66
66
  units: o
67
67
  });
68
- t.push(`mỗi tệp tối đa ${g}`);
68
+ t.push(`mỗi tệp tối đa ${h}`);
69
69
  }
70
70
  t.length > 0 && (e += ` (${t.join(", ")})`);
71
71
  } else if (i && o) {
72
- const t = h(i, {
72
+ const t = a(i, {
73
73
  units: o
74
74
  });
75
75
  e += ` (tối đa ${t})`;
76
76
  }
77
77
  return e;
78
+ },
79
+ // prosemirror
80
+ prosemirror: {
81
+ bold: "Bold",
82
+ italic: "Italic",
83
+ code: "Code",
84
+ link: "Link",
85
+ removeLink: "Remove Link",
86
+ heading: (n) => `Heading ${n}`,
87
+ bulletList: "Bullet List",
88
+ orderedList: "Ordered List",
89
+ blockquote: "Blockquote",
90
+ codeBlock: "Code Block",
91
+ horizontalRule: "Horizontal Rule",
92
+ linkUrlPlaceholder: "https://example.com"
78
93
  }
79
94
  };
80
95
  export {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./translations-DQxg-W9w.cjs"),r={loadingExtended:"Đang tải, vui lòng đợi",loadingShort:"Đang tải...",locale:"Ngôn ngữ",iconDescription:"Biểu tượng",loadingIcon:"Biểu tượng tải",failedToLoadIcon:"Không thể tải biểu tượng",editLabel:"Chỉnh sửa",selectOne:"Chọn một",selectMany:"Chọn nhiều",noResults:"Không có kết quả",passwordPlaceholderText:"Mật khẩu bí mật",togglePasswordVisibility:"Chuyển đổi hiển thị mật khẩu",toggleMenu:"Chuyển đổi menu",toggleAside:"Chuyển đổi bảng bên",mainNavigation:"Điều hướng chính",sidebar:"Thanh bên",closeDrawer:"Đóng ngăn kéo",closeModal:"Đóng modal",confirm:"Xác nhận",cancel:"Hủy",addLabel:"Thêm",removeItem:"Xóa mục",currentLocale:"Tiếng Việt",ar:"Tiếng Ả Rập",de:"Tiếng Đức",en:"Tiếng Anh",es:"Tiếng Tây Ban Nha",fr:"Tiếng Pháp",hi:"Tiếng Hindi",it:"Tiếng Ý",ja:"Tiếng Nhật",ko:"Tiếng Hàn",nl:"Tiếng Hà Lan",pl:"Tiếng Ba Lan",pt:"Tiếng Bồ Đào Nha",ru:"Tiếng Nga",tr:"Tiếng Thổ Nhĩ Kỳ",vi:"Tiếng Việt",zh:"Tiếng Trung",he:"Tiếng Do Thái",fa:"Tiếng Ba Tư",ur:"Tiếng Urdu",emailPlaceholderText:"Nhập email của bạn",incrementValue:"Tăng giá trị",decrementValue:"Giảm giá trị",dropZoneInstructions:n=>n?"Nhấp để chọn hoặc kéo tệp vào đây, hoặc nhấn Enter hoặc Space để mở trình chọn tệp":"Kéo tệp vào đây",fileSizeUnits:["Byte","KB","MB","GB","TB"],removeFile:"Xóa tệp",clearAllFiles:"Xóa tất cả tệp",clearValue:"Xóa giá trị",unknownType:"Loại không xác định",filesInputInstructions:(n,i,e)=>{let o=n==null||n>1?"Nhấp để chọn hoặc kéo tệp vào đây":"Nhấp để chọn hoặc kéo một tệp vào đây";if(n||i){const t=[];if(n!=null&&n>1&&t.push(`tối đa ${n} tệp`),i&&e){const a=l.formatFileSize(i,{units:e});t.push(`mỗi tệp tối đa ${a}`)}t.length>0&&(o+=` (${t.join(", ")})`)}else if(i&&e){const t=l.formatFileSize(i,{units:e});o+=` (tối đa ${t})`}return o},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:n=>`Heading ${n}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"}};exports.default=r;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./translations-DQxg-W9w.cjs"),c={loadingExtended:"正在加载,请稍候",loadingShort:"加载中...",locale:"语言",iconDescription:"图标",loadingIcon:"加载图标",failedToLoadIcon:"图标加载失败",editLabel:"编辑",selectOne:"选择一个",selectMany:"选择多个",noResults:"无结果",passwordPlaceholderText:"密码",togglePasswordVisibility:"切换密码可见性",toggleMenu:"切换菜单",toggleAside:"切换侧边栏",mainNavigation:"主导航",sidebar:"侧边栏",closeDrawer:"关闭抽屉",closeModal:"关闭模态框",confirm:"确认",cancel:"取消",addLabel:"添加",removeItem:"删除项目",currentLocale:"简体中文",ar:"阿拉伯语",de:"德语",en:"英语",es:"西班牙语",fr:"法语",hi:" Hindi",it:"意大利语",ja:"日语",ko:"韩语",nl:"荷兰语",pl:"波兰语",pt:"葡萄牙语",ru:"俄语",tr:"土耳其语",vi:"越南语",zh:"简体中文",he:"希伯来语",fa:"波斯语",ur:"乌尔都语",emailPlaceholderText:"请输入邮箱",incrementValue:"增加值",decrementValue:"减少值",dropZoneInstructions:e=>e?"点击选择或将文件拖拽到此处,或按 Enter 或空格键打开文件选择器":"将文件拖拽到此处",fileSizeUnits:["字节","KB","MB","GB","TB"],removeFile:"删除文件",clearAllFiles:"清除所有文件",clearValue:"清除值",unknownType:"未知类型",filesInputInstructions:(e,t,l)=>{let n=(e==null||e>1,"点击选择或将文件拖拽到此处");if(e||t){const o=[];if(e!=null&&e>1&&o.push(`最多${e}个文件`),t&&l){const i=r.formatFileSize(t,{units:l});o.push(`每个最大${i}`)}o.length>0&&(n+=` (${o.join(",")})`)}else if(t&&l){const o=r.formatFileSize(t,{units:l});n+=` (最大${o})`}return n},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"}};exports.default=c;
@@ -1,5 +1,5 @@
1
- import { f as l } from "./notice-DVEacWKt.js";
2
- const s = {
1
+ import { f as r } from "./translations-iam7PITs.js";
2
+ const a = {
3
3
  loadingExtended: "正在加载,请稍候",
4
4
  loadingShort: "加载中...",
5
5
  locale: "语言",
@@ -57,26 +57,41 @@ const s = {
57
57
  // inputs reset
58
58
  clearValue: "清除值",
59
59
  unknownType: "未知类型",
60
- filesInputInstructions: (e, o, t) => {
61
- let r = (e == null || e > 1, "点击选择或将文件拖拽到此处");
62
- if (e || o) {
63
- const n = [];
64
- if (e != null && e > 1 && n.push(`最多${e}个文件`), o && t) {
65
- const a = l(o, {
66
- units: t
60
+ filesInputInstructions: (e, t, l) => {
61
+ let n = (e == null || e > 1, "点击选择或将文件拖拽到此处");
62
+ if (e || t) {
63
+ const o = [];
64
+ if (e != null && e > 1 && o.push(`最多${e}个文件`), t && l) {
65
+ const i = r(t, {
66
+ units: l
67
67
  });
68
- n.push(`每个最大${a}`);
68
+ o.push(`每个最大${i}`);
69
69
  }
70
- n.length > 0 && (r += ` (${n.join(",")})`);
71
- } else if (o && t) {
72
- const n = l(o, {
73
- units: t
70
+ o.length > 0 && (n += ` (${o.join(",")})`);
71
+ } else if (t && l) {
72
+ const o = r(t, {
73
+ units: l
74
74
  });
75
- r += ` (最大${n})`;
75
+ n += ` (最大${o})`;
76
76
  }
77
- return r;
77
+ return n;
78
+ },
79
+ // prosemirror
80
+ prosemirror: {
81
+ bold: "Bold",
82
+ italic: "Italic",
83
+ code: "Code",
84
+ link: "Link",
85
+ removeLink: "Remove Link",
86
+ heading: (e) => `Heading ${e}`,
87
+ bulletList: "Bullet List",
88
+ orderedList: "Ordered List",
89
+ blockquote: "Blockquote",
90
+ codeBlock: "Code Block",
91
+ horizontalRule: "Horizontal Rule",
92
+ linkUrlPlaceholder: "https://example.com"
78
93
  }
79
94
  };
80
95
  export {
81
- s as default
96
+ a as default
82
97
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempots/beatui",
3
- "version": "0.30.2",
3
+ "version": "0.32.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.es.js",
@@ -30,21 +30,21 @@
30
30
  "require": "./dist/monaco/index.cjs.js",
31
31
  "default": "./dist/monaco/index.es.js"
32
32
  },
33
- "./milkdown": {
34
- "types": "./dist/types/milkdown/index.d.ts",
35
- "import": "./dist/milkdown/index.es.js",
36
- "require": "./dist/milkdown/index.cjs.js",
37
- "default": "./dist/milkdown/index.es.js"
38
- },
39
33
  "./markdown": {
40
34
  "types": "./dist/types/markdown/index.d.ts",
41
35
  "import": "./dist/markdown/index.es.js",
42
36
  "require": "./dist/markdown/index.cjs.js",
43
37
  "default": "./dist/markdown/index.es.js"
44
38
  },
45
- "./milkdown.css": "./dist/milkdown.css",
39
+ "./prosemirror": {
40
+ "types": "./dist/types/prosemirror/index.d.ts",
41
+ "import": "./dist/prosemirror/index.es.js",
42
+ "require": "./dist/prosemirror/index.cjs.js",
43
+ "default": "./dist/prosemirror/index.es.js"
44
+ },
46
45
  "./monaco.css": "./dist/monaco.css",
47
46
  "./markdown.css": "./dist/markdown.css",
47
+ "./prosemirror.css": "./dist/prosemirror.css",
48
48
  "./css": "./dist/beatui.css",
49
49
  "./tailwind.css": "./dist/beatui.tailwind.css",
50
50
  "./tailwind": {
@@ -138,28 +138,35 @@
138
138
  "eslint-config-prettier": "10.1.8",
139
139
  "jsdom": "26.1.0",
140
140
  "prettier": "3.6.2",
141
+ "tailwindcss": "4.1.14",
141
142
  "tsx": "4.20.6",
142
143
  "typescript": "5.9.3",
143
144
  "typescript-eslint": "8.46.0",
144
- "tailwindcss": "4.1.14",
145
145
  "vite": "7.1.9",
146
146
  "vitest": "3.2.4"
147
147
  },
148
148
  "dependencies": {
149
149
  "@js-temporal/polyfill": "^0.5.1",
150
- "@milkdown/crepe": "7.16.0",
151
- "@milkdown/kit": "7.16.0",
152
150
  "@types/json-schema": "^7.0.15",
153
151
  "ajv": "^8.17.1",
154
152
  "ajv-formats": "^3.0.1",
155
153
  "katex": "0.16.23",
156
154
  "micromark": "^4.0.2",
157
155
  "micromark-extension-gfm": "^3.0.0",
158
- "monaco-editor": "0.54.0"
156
+ "monaco-editor": "0.54.0",
157
+ "prosemirror-commands": "^1.7.1",
158
+ "prosemirror-history": "^1.4.1",
159
+ "prosemirror-keymap": "^1.2.3",
160
+ "prosemirror-markdown": "^1.13.2",
161
+ "prosemirror-model": "^1.25.3",
162
+ "prosemirror-schema-basic": "^1.2.4",
163
+ "prosemirror-schema-list": "^1.5.1",
164
+ "prosemirror-state": "^1.4.3",
165
+ "prosemirror-view": "^1.41.3"
159
166
  },
160
167
  "scripts": {
161
168
  "build": "vite build && tsc -p tsconfig.build.json && node scripts/build-css-entries.mjs",
162
- "build:watch": "vite build --watch",
169
+ "build:watch": "node scripts/build-css-entries.mjs && vite build --watch",
163
170
  "test": "vitest run",
164
171
  "test:watch": "vitest",
165
172
  "lint": "eslint . --ext .ts",
@@ -1 +0,0 @@
1
- "use strict";const q=require("./_commonjsHelpers-DwGv2jUC.cjs"),c=require("./index-Cei6J0b_.cjs"),y=require("./index-O9BwR_8P.cjs");function P(n,e){for(var o=0;o<e.length;o++){const t=e[o];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in n)){const s=Object.getOwnPropertyDescriptor(t,r);s&&Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}},$={};const R="https://json-schema.org/draft/2019-09/schema",O="https://json-schema.org/draft/2019-09/schema",M={"https://json-schema.org/draft/2019-09/vocab/core":!0,"https://json-schema.org/draft/2019-09/vocab/applicator":!0,"https://json-schema.org/draft/2019-09/vocab/validation":!0,"https://json-schema.org/draft/2019-09/vocab/meta-data":!0,"https://json-schema.org/draft/2019-09/vocab/format":!1,"https://json-schema.org/draft/2019-09/vocab/content":!0},I=!0,N="Core and Validation specifications meta-schema",S=[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format"},{$ref:"meta/content"}],C=["object","boolean"],D={definitions:{$comment:"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},dependencies:{$comment:'"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',type:"object",additionalProperties:{anyOf:[{$recursiveRef:"#"},{$ref:"meta/validation#/$defs/stringArray"}]}}},E={$schema:R,$id:O,$vocabulary:M,$recursiveAnchor:I,title:N,allOf:S,type:C,properties:D},V="https://json-schema.org/draft/2019-09/schema",w="https://json-schema.org/draft/2019-09/meta/applicator",T={"https://json-schema.org/draft/2019-09/vocab/applicator":!0},x=!0,k="Applicator vocabulary meta-schema",K=["object","boolean"],z={additionalItems:{$recursiveRef:"#"},unevaluatedItems:{$recursiveRef:"#"},items:{anyOf:[{$recursiveRef:"#"},{$ref:"#/$defs/schemaArray"}]},contains:{$recursiveRef:"#"},additionalProperties:{$recursiveRef:"#"},unevaluatedProperties:{$recursiveRef:"#"},properties:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$recursiveRef:"#"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$recursiveRef:"#"}},propertyNames:{$recursiveRef:"#"},if:{$recursiveRef:"#"},then:{$recursiveRef:"#"},else:{$recursiveRef:"#"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$recursiveRef:"#"}},G={schemaArray:{type:"array",minItems:1,items:{$recursiveRef:"#"}}},F={$schema:V,$id:w,$vocabulary:T,$recursiveAnchor:x,title:k,type:K,properties:z,$defs:G},H="https://json-schema.org/draft/2019-09/schema",J="https://json-schema.org/draft/2019-09/meta/content",L={"https://json-schema.org/draft/2019-09/vocab/content":!0},U=!0,Z="Content vocabulary meta-schema",W=["object","boolean"],B={contentMediaType:{type:"string"},contentEncoding:{type:"string"},contentSchema:{$recursiveRef:"#"}},Q={$schema:H,$id:J,$vocabulary:L,$recursiveAnchor:U,title:Z,type:W,properties:B},X="https://json-schema.org/draft/2019-09/schema",Y="https://json-schema.org/draft/2019-09/meta/core",ee={"https://json-schema.org/draft/2019-09/vocab/core":!0},te=!0,re="Core vocabulary meta-schema",ae=["object","boolean"],ne={$id:{type:"string",format:"uri-reference",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{type:"string",format:"uri"},$anchor:{type:"string",pattern:"^[A-Za-z][-A-Za-z0-9.:_]*$"},$ref:{type:"string",format:"uri-reference"},$recursiveRef:{type:"string",format:"uri-reference"},$recursiveAnchor:{type:"boolean",default:!1},$vocabulary:{type:"object",propertyNames:{type:"string",format:"uri"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}}},oe={$schema:X,$id:Y,$vocabulary:ee,$recursiveAnchor:te,title:re,type:ae,properties:ne},se="https://json-schema.org/draft/2019-09/schema",ie="https://json-schema.org/draft/2019-09/meta/format",ce={"https://json-schema.org/draft/2019-09/vocab/format":!0},ue=!0,de="Format vocabulary meta-schema",fe=["object","boolean"],me={format:{type:"string"}},$e={$schema:se,$id:ie,$vocabulary:ce,$recursiveAnchor:ue,title:de,type:fe,properties:me},le="https://json-schema.org/draft/2019-09/schema",pe="https://json-schema.org/draft/2019-09/meta/meta-data",he={"https://json-schema.org/draft/2019-09/vocab/meta-data":!0},ye=!0,ve="Meta-data vocabulary meta-schema",ge=["object","boolean"],be={title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}},je={$schema:le,$id:pe,$vocabulary:he,$recursiveAnchor:ye,title:ve,type:ge,properties:be},_e="https://json-schema.org/draft/2019-09/schema",Ae="https://json-schema.org/draft/2019-09/meta/validation",qe={"https://json-schema.org/draft/2019-09/vocab/validation":!0},Pe=!0,Re="Validation vocabulary meta-schema",Oe=["object","boolean"],Me={multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}},const:!0,enum:{type:"array",items:!0},type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]}},Ie={nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Ne={$schema:_e,$id:Ae,$vocabulary:qe,$recursiveAnchor:Pe,title:Re,type:Oe,properties:Me,$defs:Ie};var v;function Se(){if(v)return $;v=1,Object.defineProperty($,"__esModule",{value:!0});const n=E,e=F,o=Q,t=oe,r=$e,s=je,l=Ne,p=["/properties"];function h(u){return[n,e,o,t,i(this,r),s,i(this,l)].forEach(d=>this.addMetaSchema(d,void 0,!1)),this;function i(d,a){return u?d.$dataMetaSchema(a,p):a}}return $.default=h,$}var g;function Ce(){return g||(g=1,function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.MissingRefError=e.ValidationError=e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=e.Ajv2019=void 0;const o=c.requireCore(),t=c.requireDraft7(),r=y.requireDynamic(),s=y.requireNext(),l=y.requireUnevaluated(),p=c.requireDiscriminator(),h=Se(),u="https://json-schema.org/draft/2019-09/schema";class i extends o.default{constructor(f={}){super({...f,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){super._addVocabularies(),this.addVocabulary(r.default),t.default.forEach(f=>this.addVocabulary(f)),this.addVocabulary(s.default),this.addVocabulary(l.default),this.opts.discriminator&&this.addKeyword(p.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();const{$data:f,meta:A}=this.opts;A&&(h.default.call(this,f),this.refs["http://json-schema.org/schema"]=u)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(u)?u:void 0)}}e.Ajv2019=i,n.exports=e=i,n.exports.Ajv2019=i,Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var d=c.requireValidate();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return d.KeywordCxt}});var a=c.requireCodegen();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return a.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return a.CodeGen}});var j=c.requireValidation_error();Object.defineProperty(e,"ValidationError",{enumerable:!0,get:function(){return j.default}});var _=c.requireRef_error();Object.defineProperty(e,"MissingRefError",{enumerable:!0,get:function(){return _.default}})}(m,m.exports)),m.exports}var b=Ce();const De=q.getDefaultExportFromCjs(b),Ee=P({__proto__:null,default:De},[b]);exports._2019=Ee;