@univerjs/engine-render 1.3.0 → 1.4.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 (265) hide show
  1. package/lib/{af-DK_CjRn6.js → af-CYmDZ4fF.js} +1 -2
  2. package/lib/{as-BPtSu6VN.js → as-Hwl1DGzz.js} +1 -2
  3. package/lib/{be-CrQ0smca.js → be-BgqsjH7X.js} +1 -2
  4. package/lib/{es/bg-CrQqGwni.js → bg-Dr9AqrKw.js} +1 -2
  5. package/lib/{bn-NCLZcWHi.js → bn-CSXZX5iN.js} +1 -2
  6. package/lib/{ca-SUf6Y2Om.js → ca-IXHA7IHe.js} +1 -2
  7. package/lib/cjs/{af-nci0ERu_.js → af-CqmqF0Xw.js} +1 -2
  8. package/lib/{es/as-BPtSu6VN.js → cjs/as-B87FsdSw.js} +2 -3
  9. package/lib/{es/be-CrQ0smca.js → cjs/be-CNhkUuRb.js} +2 -3
  10. package/lib/{bg-CrQqGwni.js → cjs/bg-CDisJl-p.js} +2 -3
  11. package/lib/{es/bn-NCLZcWHi.js → cjs/bn-Dqg1nQjF.js} +2 -3
  12. package/lib/{es/ca-SUf6Y2Om.js → cjs/ca-C2JWhM1T.js} +2 -3
  13. package/lib/{cop-C3sk0IUo.js → cjs/cop-DnGT3Wu0.js} +2 -3
  14. package/lib/{es/cs-CmAteokq.js → cjs/cs-Bcld5JGl.js} +2 -3
  15. package/lib/{es/cu-CBUlrW6Y.js → cjs/cu-BDRAFovc.js} +2 -3
  16. package/lib/{cy-BBPa6z2x.js → cjs/cy-CzqBJCby.js} +2 -3
  17. package/lib/{da-CCDXfXtG.js → cjs/da-B-OV-eRv.js} +2 -3
  18. package/lib/{es/de-1901-CWoAOigE.js → cjs/de-1901--cvwcIFw.js} +2 -3
  19. package/lib/{es/de-1996-BL6awyxG.js → cjs/de-1996-vXM7yufs.js} +2 -3
  20. package/lib/{es/de-ch-1901-hVThVHVb.js → cjs/de-ch-1901-BDvq3UYQ.js} +2 -3
  21. package/lib/{el-monoton-D3aKqTz2.js → cjs/el-monoton-DwEKi7Jw.js} +2 -3
  22. package/lib/{el-polyton-ogVWcTzh.js → cjs/el-polyton-PS8gdtgu.js} +2 -3
  23. package/lib/{es/en-gb-B7Al27b_.js → cjs/en-gb-ClSGdac0.js} +2 -3
  24. package/lib/{es/es-DcaaHPU_.js → cjs/es-C4I4YZax.js} +2 -3
  25. package/lib/{es/et-B_spaleu.js → cjs/et-CLjO9-xw.js} +2 -3
  26. package/lib/{es/eu-Ctv_kq9Z.js → cjs/eu-B_kCozsW.js} +2 -3
  27. package/lib/{es/fi-RW5VB8Yp.js → cjs/fi-BJtl2WDQ.js} +2 -3
  28. package/lib/{es/fr-BC2onEz9.js → cjs/fr-BYuWkYn2.js} +2 -3
  29. package/lib/{fur-AC12wySk.js → cjs/fur-BdiBGCN8.js} +2 -3
  30. package/lib/{es/ga-Cn6LkudM.js → cjs/ga-n8qTR1-X.js} +2 -3
  31. package/lib/{gl-DZGc-K_G.js → cjs/gl-BqRCgOSg.js} +2 -3
  32. package/lib/{es/grc-DOlGgO8T.js → cjs/grc-D8O-iH37.js} +2 -3
  33. package/lib/{gu-Bjl0l-cf.js → cjs/gu-DygtD3li.js} +2 -3
  34. package/lib/{hi-DsAaTPCC.js → cjs/hi-DEC-InEV.js} +2 -3
  35. package/lib/{hr-DT1SBBes.js → cjs/hr-a7O_rBxx.js} +2 -3
  36. package/lib/{es/hsb-DC_ITc1e.js → cjs/hsb-Bfp3502p.js} +2 -3
  37. package/lib/cjs/{hu-CZLP-2fR.js → hu-D7cSusC6.js} +1 -2
  38. package/lib/{hy-e995ysyO.js → cjs/hy-B3kIFRzX.js} +2 -3
  39. package/lib/{es/ia-Cr4TJH0c.js → cjs/ia-CnD7r26i.js} +2 -3
  40. package/lib/{es/id-DifDyWg9.js → cjs/id-Bhq0C65a.js} +2 -3
  41. package/lib/cjs/index.js +10122 -34726
  42. package/lib/{is-BT8UVRze.js → cjs/is-Boso4Wtt.js} +2 -3
  43. package/lib/{es/it-Bt_Meacx.js → cjs/it-DLza1ntI.js} +2 -3
  44. package/lib/{es/ka-jyoLzyDE.js → cjs/ka-GcTuXZ9Z.js} +2 -3
  45. package/lib/{es/kmr-Cfwhwuff.js → cjs/kmr-BO40rTCu.js} +2 -3
  46. package/lib/{es/kn-C6Lov-DP.js → cjs/kn-Ddq64KCI.js} +2 -3
  47. package/lib/{es/la-DuvHjUWw.js → cjs/la-COWcxwux.js} +2 -3
  48. package/lib/{es/la-x-classic-yTyAOQEt.js → cjs/la-x-classic-0W7cnK_r.js} +2 -3
  49. package/lib/{es/la-x-liturgic-CXeQb4FY.js → cjs/la-x-liturgic-BdtQodH0.js} +2 -3
  50. package/lib/{lt-BBe8DlDF.js → cjs/lt-D0b8yQyY.js} +2 -3
  51. package/lib/{es/lv-Q2BBHnzp.js → cjs/lv-Ctlo0h9m.js} +2 -3
  52. package/lib/{es/ml-2xLVYkVY.js → cjs/ml-CbRB1eA2.js} +2 -3
  53. package/lib/{es/mn-cyrl-lHM4n0oC.js → cjs/mn-cyrl-SgbSKGlZ.js} +2 -3
  54. package/lib/{mn-cyrl-x-lmc-3aetruI8.js → cjs/mn-cyrl-x-lmc-B0BnNk_R.js} +2 -3
  55. package/lib/{mr-CjWJPVmH.js → cjs/mr-ak54QVek.js} +2 -3
  56. package/lib/{es/mul-ethi-D_CMSMEq.js → cjs/mul-ethi--mfKdN7U.js} +2 -3
  57. package/lib/{es/nb-DI8u59ch.js → cjs/nb-BnXKcr2P.js} +2 -3
  58. package/lib/{es/nl-BHQJ6Gvn.js → cjs/nl-Dge5vX8z.js} +2 -3
  59. package/lib/{es/nn-ntZvarUK.js → cjs/nn-CRTJwGhd.js} +2 -3
  60. package/lib/{es/no-B8ItS0F3.js → cjs/no-DEpHCmPt.js} +2 -3
  61. package/lib/{es/oc-P_i3-xLA.js → cjs/oc-CVPdcYGd.js} +2 -3
  62. package/lib/{or-50rxpoq4.js → cjs/or-C-yiXtmf.js} +2 -3
  63. package/lib/{pa-C54UG8eN.js → cjs/pa-LX-1ck9h.js} +2 -3
  64. package/lib/{es/pi-B9cgjyG1.js → cjs/pi-DAThicHl.js} +2 -3
  65. package/lib/{pl-9fg-ESVt.js → cjs/pl-DUiLinxp.js} +2 -3
  66. package/lib/{pms-BRGfm5gS.js → cjs/pms-LmryoS_2.js} +2 -3
  67. package/lib/{es/pt-Cum2_NUC.js → cjs/pt-B5qNCIx-.js} +2 -3
  68. package/lib/{es/rm-C0MIK9N4.js → cjs/rm-CH5skx47.js} +2 -3
  69. package/lib/{es/ro-0fmdH0HA.js → cjs/ro-NNZ0cAqO.js} +2 -3
  70. package/lib/{es/ru-v4l-ayaq.js → cjs/ru-wNSniMew.js} +2 -3
  71. package/lib/{es/sa-CKY9c_Vq.js → cjs/sa-L5rV6F9w.js} +2 -3
  72. package/lib/{sh-cyrl-BpCRFOmq.js → cjs/sh-cyrl-CGC8szSW.js} +2 -3
  73. package/lib/{es/sh-latn-sRy4Tuaj.js → cjs/sh-latn-BpdepEhC.js} +2 -3
  74. package/lib/{es/sk-_iOeDNrQ.js → cjs/sk-BErdPVV3.js} +2 -3
  75. package/lib/{sl-DpiklF-D.js → cjs/sl-C8287Lwt.js} +2 -3
  76. package/lib/{sr-cyrl-Dpzrbd0W.js → cjs/sr-cyrl-DCAx_hI2.js} +2 -3
  77. package/lib/{sv-CFm5y56M.js → cjs/sv-K7UxQYXS.js} +2 -3
  78. package/lib/{es/ta-BcghgTbD.js → cjs/ta-qft50Ghz.js} +2 -3
  79. package/lib/{es/te-B5Spl2Jk.js → cjs/te-UrPdXUCC.js} +2 -3
  80. package/lib/{th-DWX5iPSo.js → cjs/th-BcaEXLMD.js} +2 -3
  81. package/lib/{tk-BMbKB10q.js → cjs/tk-Cj--Pwwb.js} +2 -3
  82. package/lib/{es/tr-CIHIuzqc.js → cjs/tr-BaPKLwjo.js} +2 -3
  83. package/lib/{es/uk-Dir3oxLs.js → cjs/uk-Dn7dAWW6.js} +2 -3
  84. package/lib/cjs/worker-dzyTVvQi.js +25212 -0
  85. package/lib/cjs/worker.js +6 -0
  86. package/lib/{es/zh-latn-pinyin-BdYb-Ey_.js → cjs/zh-latn-pinyin-Cw62-680.js} +2 -3
  87. package/lib/{es/cop-C3sk0IUo.js → cop-B5tK6J-Z.js} +1 -2
  88. package/lib/{cs-CmAteokq.js → cs-5GDhZ_Ce.js} +1 -2
  89. package/lib/{cu-CBUlrW6Y.js → cu-BSm1hoGS.js} +1 -2
  90. package/lib/{es/cy-BBPa6z2x.js → cy-C9DIxPZF.js} +1 -2
  91. package/lib/{es/da-CCDXfXtG.js → da-BsG0TGcE.js} +1 -2
  92. package/lib/{de-1901-CWoAOigE.js → de-1901-qqf2iWLB.js} +1 -2
  93. package/lib/{de-1996-BL6awyxG.js → de-1996-LtGglqob.js} +1 -2
  94. package/lib/{de-ch-1901-hVThVHVb.js → de-ch-1901-COn1CKDv.js} +1 -2
  95. package/lib/{es/el-monoton-D3aKqTz2.js → el-monoton-pORtlC9P.js} +1 -2
  96. package/lib/{es/el-polyton-ogVWcTzh.js → el-polyton-CDXn9JCY.js} +1 -2
  97. package/lib/{en-gb-B7Al27b_.js → en-gb-BGHhUzDC.js} +1 -2
  98. package/lib/es/{af-DK_CjRn6.js → af-CYmDZ4fF.js} +1 -2
  99. package/lib/{cjs/as-9-ZvOvbK.js → es/as-Hwl1DGzz.js} +2 -3
  100. package/lib/{cjs/be-CPDnc13A.js → es/be-BgqsjH7X.js} +2 -3
  101. package/lib/{cjs/bg-Tu2vvwIU.js → es/bg-Dr9AqrKw.js} +2 -3
  102. package/lib/{cjs/bn-CP4-u1Rh.js → es/bn-CSXZX5iN.js} +2 -3
  103. package/lib/{cjs/ca-9lX3QWYB.js → es/ca-IXHA7IHe.js} +2 -3
  104. package/lib/{cjs/cop-BpbDnfNH.js → es/cop-B5tK6J-Z.js} +2 -3
  105. package/lib/{cjs/cs-6wd1Lm8r.js → es/cs-5GDhZ_Ce.js} +2 -3
  106. package/lib/{cjs/cu-DoUwo0RX.js → es/cu-BSm1hoGS.js} +2 -3
  107. package/lib/{cjs/cy-uvacbUjY.js → es/cy-C9DIxPZF.js} +2 -3
  108. package/lib/{cjs/da-vuRoJfkB.js → es/da-BsG0TGcE.js} +2 -3
  109. package/lib/{cjs/de-1901-C-Rx0RIO.js → es/de-1901-qqf2iWLB.js} +2 -3
  110. package/lib/{cjs/de-1996-CqTjCS2g.js → es/de-1996-LtGglqob.js} +2 -3
  111. package/lib/{cjs/de-ch-1901-j-eB6ude.js → es/de-ch-1901-COn1CKDv.js} +2 -3
  112. package/lib/{cjs/el-monoton-CdxEzdnL.js → es/el-monoton-pORtlC9P.js} +2 -3
  113. package/lib/{cjs/el-polyton-QS0KX3lc.js → es/el-polyton-CDXn9JCY.js} +2 -3
  114. package/lib/{cjs/en-gb-B4rmyRrO.js → es/en-gb-BGHhUzDC.js} +2 -3
  115. package/lib/{cjs/es-BA4drX0l.js → es/es-PSvYPNjB.js} +2 -3
  116. package/lib/{et-B_spaleu.js → es/et-CYUTaVWy.js} +1 -2
  117. package/lib/{eu-Ctv_kq9Z.js → es/eu-CRNA9JLT.js} +1 -2
  118. package/lib/{fi-RW5VB8Yp.js → es/fi-DNiE_U0X.js} +1 -2
  119. package/lib/{fr-BC2onEz9.js → es/fr-BIgh4Hkw.js} +1 -2
  120. package/lib/es/{fur-AC12wySk.js → fur-CoXvgQfx.js} +1 -2
  121. package/lib/{ga-Cn6LkudM.js → es/ga-D54K6YtG.js} +1 -2
  122. package/lib/es/{gl-DZGc-K_G.js → gl-Cx_3wrqA.js} +1 -2
  123. package/lib/{grc-DOlGgO8T.js → es/grc-gFF6GbE6.js} +1 -2
  124. package/lib/es/{gu-Bjl0l-cf.js → gu-9bPoO3RA.js} +1 -2
  125. package/lib/es/{hi-DsAaTPCC.js → hi-GilZHMjg.js} +1 -2
  126. package/lib/es/{hr-DT1SBBes.js → hr-DowcKODH.js} +1 -2
  127. package/lib/{hsb-DC_ITc1e.js → es/hsb-D_AuBPC_.js} +1 -2
  128. package/lib/es/{hu-DVk7Y_ka.js → hu-DghCDVxq.js} +1 -2
  129. package/lib/es/{hy-e995ysyO.js → hy-UUaeTG5g.js} +1 -2
  130. package/lib/{ia-Cr4TJH0c.js → es/ia-CvHYTdA2.js} +1 -2
  131. package/lib/{id-DifDyWg9.js → es/id-Dpxs7amD.js} +1 -2
  132. package/lib/es/index.js +9464 -34066
  133. package/lib/es/{is-BT8UVRze.js → is-CJ1vxS9j.js} +1 -2
  134. package/lib/{it-Bt_Meacx.js → es/it-CpWMQzhA.js} +1 -2
  135. package/lib/{ka-jyoLzyDE.js → es/ka-CCxCVfU6.js} +1 -2
  136. package/lib/{kmr-Cfwhwuff.js → es/kmr-dEjewOAw.js} +1 -2
  137. package/lib/{kn-C6Lov-DP.js → es/kn-Bjy8QS2v.js} +1 -2
  138. package/lib/{la-DuvHjUWw.js → es/la-AGdXyFmb.js} +1 -2
  139. package/lib/{la-x-classic-yTyAOQEt.js → es/la-x-classic-DcM9aTVI.js} +1 -2
  140. package/lib/{la-x-liturgic-CXeQb4FY.js → es/la-x-liturgic-DZCmbwFj.js} +1 -2
  141. package/lib/es/{lt-BBe8DlDF.js → lt-CN8ITi7t.js} +1 -2
  142. package/lib/{lv-Q2BBHnzp.js → es/lv-C-JuXj31.js} +1 -2
  143. package/lib/{ml-2xLVYkVY.js → es/ml-BM2UBzMU.js} +1 -2
  144. package/lib/{mn-cyrl-lHM4n0oC.js → es/mn-cyrl-CyRDZzA3.js} +1 -2
  145. package/lib/es/{mn-cyrl-x-lmc-3aetruI8.js → mn-cyrl-x-lmc-DbCWj2Po.js} +1 -2
  146. package/lib/es/{mr-CjWJPVmH.js → mr-BrkCTYf9.js} +1 -2
  147. package/lib/{mul-ethi-D_CMSMEq.js → es/mul-ethi-D9YZ9OXl.js} +1 -2
  148. package/lib/{nb-DI8u59ch.js → es/nb-DgKeJnSd.js} +1 -2
  149. package/lib/{cjs/nl-8OOgTtzV.js → es/nl-BIDJBXRA.js} +2 -3
  150. package/lib/{nn-ntZvarUK.js → es/nn-C4Gas4NI.js} +1 -2
  151. package/lib/{no-B8ItS0F3.js → es/no-CSP8-4c2.js} +1 -2
  152. package/lib/{oc-P_i3-xLA.js → es/oc-CyJ2Q9k9.js} +1 -2
  153. package/lib/es/{or-50rxpoq4.js → or-DUhKxVse.js} +1 -2
  154. package/lib/es/{pa-C54UG8eN.js → pa-NDvVySYt.js} +1 -2
  155. package/lib/{pi-B9cgjyG1.js → es/pi-znB0BT6g.js} +1 -2
  156. package/lib/es/{pl-9fg-ESVt.js → pl-CaFvP4tu.js} +1 -2
  157. package/lib/es/{pms-BRGfm5gS.js → pms-92V70vZ4.js} +1 -2
  158. package/lib/{pt-Cum2_NUC.js → es/pt-BKB_-X0N.js} +1 -2
  159. package/lib/{rm-C0MIK9N4.js → es/rm-C1letx81.js} +1 -2
  160. package/lib/{ro-0fmdH0HA.js → es/ro-BUzliR9z.js} +1 -2
  161. package/lib/{ru-v4l-ayaq.js → es/ru-B591x1qT.js} +1 -2
  162. package/lib/{sa-CKY9c_Vq.js → es/sa-JnsT9B1R.js} +1 -2
  163. package/lib/es/{sh-cyrl-BpCRFOmq.js → sh-cyrl-CLuomLGP.js} +1 -2
  164. package/lib/{sh-latn-sRy4Tuaj.js → es/sh-latn-DdZKFFaE.js} +1 -2
  165. package/lib/{sk-_iOeDNrQ.js → es/sk-A3STIA2C.js} +1 -2
  166. package/lib/es/{sl-DpiklF-D.js → sl-DjmW7S7C.js} +1 -2
  167. package/lib/es/{sr-cyrl-Dpzrbd0W.js → sr-cyrl-DzA2myNl.js} +1 -2
  168. package/lib/es/{sv-CFm5y56M.js → sv-B01JFt6B.js} +1 -2
  169. package/lib/{ta-BcghgTbD.js → es/ta-biPP5NX3.js} +1 -2
  170. package/lib/{te-B5Spl2Jk.js → es/te-DdPqCRaf.js} +1 -2
  171. package/lib/es/{th-DWX5iPSo.js → th-C4s1cxFT.js} +1 -2
  172. package/lib/es/{tk-BMbKB10q.js → tk-BfqDjfTh.js} +1 -2
  173. package/lib/{tr-CIHIuzqc.js → es/tr-C2sIij-w.js} +1 -2
  174. package/lib/{uk-Dir3oxLs.js → es/uk-DBx0redY.js} +1 -2
  175. package/lib/es/worker-BlCdBXpV.js +24199 -0
  176. package/lib/es/worker.js +3 -0
  177. package/lib/{zh-latn-pinyin-BdYb-Ey_.js → es/zh-latn-pinyin-CIit9tZA.js} +1 -2
  178. package/lib/{es-DcaaHPU_.js → es-PSvYPNjB.js} +1 -2
  179. package/lib/{cjs/et-C7DwwRsT.js → et-CYUTaVWy.js} +2 -3
  180. package/lib/{cjs/eu-ClKht9Pp.js → eu-CRNA9JLT.js} +2 -3
  181. package/lib/{cjs/fi-DuHvPYlK.js → fi-DNiE_U0X.js} +2 -3
  182. package/lib/{cjs/fr-B6k7oFRi.js → fr-BIgh4Hkw.js} +2 -3
  183. package/lib/{cjs/fur-BNKRNrN9.js → fur-CoXvgQfx.js} +2 -3
  184. package/lib/{cjs/ga-BZ0KaaVs.js → ga-D54K6YtG.js} +2 -3
  185. package/lib/{cjs/gl-CctrPjLD.js → gl-Cx_3wrqA.js} +2 -3
  186. package/lib/{cjs/grc-BE-oBfLv.js → grc-gFF6GbE6.js} +2 -3
  187. package/lib/{cjs/gu-Bv2fvk65.js → gu-9bPoO3RA.js} +2 -3
  188. package/lib/{cjs/hi-D9Q0HIae.js → hi-GilZHMjg.js} +2 -3
  189. package/lib/{cjs/hr-BWOyJbhV.js → hr-DowcKODH.js} +2 -3
  190. package/lib/{cjs/hsb-DbVr5Yti.js → hsb-D_AuBPC_.js} +2 -3
  191. package/lib/{hu-DVk7Y_ka.js → hu-DghCDVxq.js} +1 -2
  192. package/lib/{cjs/hy-ZPOiR2Pl.js → hy-UUaeTG5g.js} +2 -3
  193. package/lib/{cjs/ia-COSQW4z-.js → ia-CvHYTdA2.js} +2 -3
  194. package/lib/{cjs/id-5X-mf3_K.js → id-Dpxs7amD.js} +2 -3
  195. package/lib/index.js +9464 -34066
  196. package/lib/{cjs/is-B0v_L_rD.js → is-CJ1vxS9j.js} +2 -3
  197. package/lib/{cjs/it-BYUjiLCa.js → it-CpWMQzhA.js} +2 -3
  198. package/lib/{cjs/ka-CqhPSSIU.js → ka-CCxCVfU6.js} +2 -3
  199. package/lib/{cjs/kmr-BuxJ3UNX.js → kmr-dEjewOAw.js} +2 -3
  200. package/lib/{cjs/kn-CqFXlbev.js → kn-Bjy8QS2v.js} +2 -3
  201. package/lib/{cjs/la-BFXoayQr.js → la-AGdXyFmb.js} +2 -3
  202. package/lib/{cjs/la-x-classic-BYzNHSGU.js → la-x-classic-DcM9aTVI.js} +2 -3
  203. package/lib/{cjs/la-x-liturgic-vXxx2nLG.js → la-x-liturgic-DZCmbwFj.js} +2 -3
  204. package/lib/{cjs/lt-D2dXvF2J.js → lt-CN8ITi7t.js} +2 -3
  205. package/lib/{cjs/lv-bwpCf-Pe.js → lv-C-JuXj31.js} +2 -3
  206. package/lib/{cjs/ml-Cg8vxrAK.js → ml-BM2UBzMU.js} +2 -3
  207. package/lib/{cjs/mn-cyrl-B6DZDQQA.js → mn-cyrl-CyRDZzA3.js} +2 -3
  208. package/lib/{cjs/mn-cyrl-x-lmc-CXBgZUX1.js → mn-cyrl-x-lmc-DbCWj2Po.js} +2 -3
  209. package/lib/{cjs/mr-BBVGX8dy.js → mr-BrkCTYf9.js} +2 -3
  210. package/lib/{cjs/mul-ethi-CHBVIYMf.js → mul-ethi-D9YZ9OXl.js} +2 -3
  211. package/lib/{cjs/nb-BCuMJhLv.js → nb-DgKeJnSd.js} +2 -3
  212. package/lib/{nl-BHQJ6Gvn.js → nl-BIDJBXRA.js} +1 -2
  213. package/lib/{cjs/nn-XJlYZMaR.js → nn-C4Gas4NI.js} +2 -3
  214. package/lib/{cjs/no-BYOYolO_.js → no-CSP8-4c2.js} +2 -3
  215. package/lib/{cjs/oc-OPfeuk3n.js → oc-CyJ2Q9k9.js} +2 -3
  216. package/lib/{cjs/or-1B6R0ukY.js → or-DUhKxVse.js} +2 -3
  217. package/lib/{cjs/pa-D7Ec6DsZ.js → pa-NDvVySYt.js} +2 -3
  218. package/lib/{cjs/pi-CrindCzM.js → pi-znB0BT6g.js} +2 -3
  219. package/lib/{cjs/pl-Bhte1xma.js → pl-CaFvP4tu.js} +2 -3
  220. package/lib/{cjs/pms-B5-d2U_Z.js → pms-92V70vZ4.js} +2 -3
  221. package/lib/{cjs/pt-CtFPi0Il.js → pt-BKB_-X0N.js} +2 -3
  222. package/lib/{cjs/rm-fgO3AV82.js → rm-C1letx81.js} +2 -3
  223. package/lib/{cjs/ro-BUB-IxaH.js → ro-BUzliR9z.js} +2 -3
  224. package/lib/{cjs/ru-BYdNAMwp.js → ru-B591x1qT.js} +2 -3
  225. package/lib/{cjs/sa-BX4Bcw9p.js → sa-JnsT9B1R.js} +2 -3
  226. package/lib/{cjs/sh-cyrl-BMS20HU0.js → sh-cyrl-CLuomLGP.js} +2 -3
  227. package/lib/{cjs/sh-latn-B5r4ufen.js → sh-latn-DdZKFFaE.js} +2 -3
  228. package/lib/{cjs/sk-B2xqlAKO.js → sk-A3STIA2C.js} +2 -3
  229. package/lib/{cjs/sl-BQIVIls0.js → sl-DjmW7S7C.js} +2 -3
  230. package/lib/{cjs/sr-cyrl-DYfSvoxX.js → sr-cyrl-DzA2myNl.js} +2 -3
  231. package/lib/{cjs/sv-Dnaw_W7A.js → sv-B01JFt6B.js} +2 -3
  232. package/lib/{cjs/ta-UtrX1d-L.js → ta-biPP5NX3.js} +2 -3
  233. package/lib/{cjs/te-Cd9aOzWW.js → te-DdPqCRaf.js} +2 -3
  234. package/lib/{cjs/th-DMVAQILd.js → th-C4s1cxFT.js} +2 -3
  235. package/lib/{cjs/tk-CmEXyO1-.js → tk-BfqDjfTh.js} +2 -3
  236. package/lib/{cjs/tr--Z-rfClX.js → tr-C2sIij-w.js} +2 -3
  237. package/lib/types/base-object.d.ts +5 -6
  238. package/lib/types/basics/const.d.ts +2 -2
  239. package/lib/types/basics/document-node-tools.d.ts +2 -2
  240. package/lib/types/basics/tools.d.ts +10 -9
  241. package/lib/types/components/docs/layout/footnote-layout.d.ts +3 -3
  242. package/lib/types/components/{index.d.ts → docs/layout/line-breaker/document-line-breaker.d.ts} +3 -5
  243. package/lib/types/components/docs/layout/line-breaker/line-breaker.d.ts +16 -8
  244. package/lib/types/components/docs/layout/tools.d.ts +1 -1
  245. package/lib/types/components/docs/view-model/document-view-model.d.ts +5 -1
  246. package/lib/types/components/sheets/constants.d.ts +2 -0
  247. package/lib/types/components/sheets/{index.d.ts → sheet-cell-document-view-model.d.ts} +8 -11
  248. package/lib/types/components/sheets/sheet.render-skeleton.d.ts +1 -1
  249. package/lib/types/context.d.ts +2 -0
  250. package/lib/types/index.d.ts +27 -3
  251. package/lib/types/render-manager/render-manager.service.d.ts +3 -4
  252. package/lib/types/services/canvas-color.service.d.ts +1 -1
  253. package/lib/types/shape/index.d.ts +2 -2
  254. package/lib/types/{components/docs/layout/line-breaker/index.d.ts → worker.d.ts} +3 -1
  255. package/lib/{cjs/uk-COcQB_vY.js → uk-DBx0redY.js} +2 -3
  256. package/lib/umd/index.js +5 -5
  257. package/lib/worker-BlCdBXpV.js +24199 -0
  258. package/lib/worker.js +3 -0
  259. package/lib/{cjs/zh-latn-pinyin-Cw5tH1Uh.js → zh-latn-pinyin-CIit9tZA.js} +2 -3
  260. package/package.json +13 -8
  261. package/lib/types/basics/quick-event.d.ts +0 -18
  262. package/lib/types/components/sheets/watermark/index.d.ts +0 -20
  263. package/lib/types/components/slides/index.d.ts +0 -16
  264. package/lib/types/components/slides/slide.d.ts +0 -47
  265. package/lib/types/shape/rich-text.d.ts +0 -117
package/lib/worker.js ADDED
@@ -0,0 +1,3 @@
1
+ import { Rn as FontCache, W as setDocsCustomBlockRenderViewportProvider, t as DocumentLayoutSession } from "./worker-BlCdBXpV.js";
2
+
3
+ export { DocumentLayoutSession, FontCache, setDocsCustomBlockRenderViewportProvider };
@@ -1,4 +1,4 @@
1
- //#region src/components/docs/layout/hyphenation/patterns/zh-latn-pinyin.ts
1
+ // src/components/docs/layout/hyphenation/patterns/zh-latn-pinyin.ts
2
2
  /**
3
3
  * Copyright 2023-present DreamNum Co., Ltd.
4
4
  *
@@ -20,5 +20,4 @@ const ZhLatnPinyin = [
20
20
  []
21
21
  ];
22
22
 
23
- //#endregion
24
- exports.ZhLatnPinyin = ZhLatnPinyin;
23
+ export { ZhLatnPinyin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/engine-render",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "private": false,
5
5
  "description": "Canvas rendering engine for Univer documents, sheets, and slides.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -35,6 +35,11 @@
35
35
  "require": "./lib/cjs/*",
36
36
  "types": "./lib/types/index.d.ts"
37
37
  },
38
+ "./worker": {
39
+ "import": "./lib/es/worker.js",
40
+ "require": "./lib/cjs/worker.js",
41
+ "types": "./lib/types/worker.d.ts"
42
+ },
38
43
  "./lib/*": "./lib/*"
39
44
  },
40
45
  "main": "./lib/es/index.js",
@@ -54,25 +59,25 @@
54
59
  "dependencies": {
55
60
  "@floating-ui/dom": "^1.8.0",
56
61
  "@floating-ui/utils": "^0.2.12",
57
- "@univerjs/core": "1.3.0",
62
+ "@univerjs/core": "1.4.0",
58
63
  "franc-min": "^6.2.0"
59
64
  },
60
65
  "devDependencies": {
61
- "@univerjs-infra/shared": "1.3.0",
66
+ "@univerjs-infra/shared": "1.4.0",
62
67
  "jest-canvas-mock": "^2.5.8",
63
68
  "rollup-plugin-polyfill-node": "^0.13.0",
64
69
  "rxjs": "7.8.2",
65
- "tsdown": "^0.23.1",
66
- "typescript": "^6.0.3",
67
- "vitest": "^5.0.4"
70
+ "tsdown": "^0.23.4",
71
+ "tsrs": "0.20.1-ts7.1.0-beta",
72
+ "vitest": "^5.0.5"
68
73
  },
69
74
  "scripts": {
70
75
  "test": "vitest run",
71
76
  "test:watch": "vitest",
72
77
  "coverage": "vitest run --coverage",
73
- "typecheck": "tsc --noEmit",
78
+ "typecheck": "tsrs --noEmit",
74
79
  "build:bundle": "univer-cli build --config tsdown.override.mts",
75
- "build:types": "tsc -p tsconfig.node.json",
80
+ "build:types": "tsrs -p tsconfig.node.json",
76
81
  "build": "pnpm run build:bundle && pnpm run build:types"
77
82
  },
78
83
  "module": "./lib/es/index.js"
@@ -1,18 +0,0 @@
1
- /**
2
- * Copyright 2023-present DreamNum Co., Ltd.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import type { BaseObject } from '../base-object';
17
- import type { IMouseEvent, IPointerEvent } from './i-events';
18
- export declare function attachObjectHover(o: BaseObject, hoverIn: (o: any, evt: IPointerEvent | IMouseEvent) => void, hoverOut: (o: any, evt: IPointerEvent | IMouseEvent) => void): void;
@@ -1,20 +0,0 @@
1
- /**
2
- * Copyright 2023-present DreamNum Co., Ltd.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export * from './type';
17
- export * from './util';
18
- export * from './watermark-layer';
19
- export declare const UNIVER_WATERMARK_STORAGE_KEY = "UNIVER_WATERMARK_STORAGE_KEY";
20
- export declare const UNIVER_WATERMARK_LAYER_INDEX = 10;
@@ -1,16 +0,0 @@
1
- /**
2
- * Copyright 2023-present DreamNum Co., Ltd.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export * from './slide';
@@ -1,47 +0,0 @@
1
- /**
2
- * Copyright 2023-present DreamNum Co., Ltd.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import type { Nullable } from '@univerjs/core';
17
- import type { UniverRenderingContext } from '../../context';
18
- import type { Scene } from '../../scene';
19
- import { EventSubject } from '@univerjs/core';
20
- import { SceneViewer } from '../../scene-viewer';
21
- export declare enum SLIDE_NAVIGATION_KEY {
22
- LEFT = "__slideNavigationLeft__",
23
- RIGHT = "__slideNavigationRight__"
24
- }
25
- export declare class Slide extends SceneViewer {
26
- slideChangePageByNavigation$: EventSubject<Nullable<string>>;
27
- subSceneChanged$: EventSubject<Scene>;
28
- private _navigationEnabled;
29
- activeFirstPage(): void;
30
- /**
31
- * add pageScene to this._subScenes
32
- * @param pageScene
33
- */
34
- addPageScene(pageScene: Scene): void;
35
- changePage(id?: string): void;
36
- hasPage(key: string): Scene | undefined;
37
- addNavigation(): void;
38
- removeNavigation(): void;
39
- enableNav(): void;
40
- disableNav(): void;
41
- hiddenNav(): void;
42
- showNav(): void;
43
- renderToThumb(mainCtx: UniverRenderingContext, pageId: string, scaleX?: number, scaleY?: number): void;
44
- private _getSubScenesIndex;
45
- private _addNavTrigger;
46
- private _getArrowColor;
47
- }
@@ -1,117 +0,0 @@
1
- /**
2
- * Copyright 2023-present DreamNum Co., Ltd.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import type { IDocumentData, IStyleBase, ITransformState, LocaleService } from '@univerjs/core';
17
- import type { BASE_OBJECT_ARRAY } from '../base-object';
18
- import type { IViewportInfo } from '../basics/vector2';
19
- import type { UniverRenderingContext } from '../context';
20
- import { DocumentDataModel } from '@univerjs/core';
21
- import { BaseObject, ObjectType } from '../base-object';
22
- export interface IRichTextProps extends ITransformState, IStyleBase {
23
- text?: string;
24
- richText?: IDocumentData;
25
- zIndex: number;
26
- forceRender?: boolean;
27
- }
28
- export type RichtextObjectJSONType = {
29
- [key in typeof BASE_OBJECT_ARRAY[number]]: number;
30
- } & {
31
- text: string;
32
- fs: number;
33
- richText?: unknown;
34
- };
35
- export declare const RICHTEXT_OBJECT_ARRAY: string[];
36
- export declare class RichText extends BaseObject {
37
- private _localeService;
38
- private _documentData;
39
- private _documentSkeleton;
40
- private _documents;
41
- documentModel: DocumentDataModel;
42
- /**
43
- * fontFamily
44
- */
45
- private _ff?;
46
- /**
47
- * fontSize
48
- * pt
49
- */
50
- private _fs?;
51
- /**
52
- * italic
53
- * 0: false
54
- * 1: true
55
- */
56
- private _it?;
57
- /**
58
- * bold
59
- * 0: false
60
- * 1: true
61
- */
62
- private _bl?;
63
- /**
64
- * underline
65
- */
66
- private _ul?;
67
- /**
68
- * strikethrough
69
- */
70
- private _st?;
71
- /**
72
- * overline
73
- */
74
- private _ol?;
75
- /**
76
- * background
77
- */
78
- private _bg?;
79
- /**
80
- * border
81
- */
82
- private _bd?;
83
- /**
84
- * foreground
85
- */
86
- private _cl?;
87
- objectType: ObjectType;
88
- constructor(_localeService: LocaleService, key?: string, props?: IRichTextProps);
89
- get fs(): number;
90
- get text(): string;
91
- get documentData(): IDocumentData;
92
- /**
93
- * get last page size
94
- */
95
- getDocsSkeletonPageSize(): {
96
- width: number;
97
- height: number;
98
- } | undefined;
99
- /**
100
- * this[`_${key}`] = props[key];
101
- * @param props
102
- */
103
- setProps(props?: IRichTextProps): this | undefined;
104
- render(mainCtx: UniverRenderingContext, bounds?: IViewportInfo): this;
105
- toJson(): RichtextObjectJSONType;
106
- protected _draw(ctx: UniverRenderingContext): void;
107
- private _convertToDocumentData;
108
- private _initialProps;
109
- /**
110
- * After changing editor size & end of editing, update skeleton of doc.
111
- */
112
- refreshDocumentByDocData(): void;
113
- /**
114
- * invoked when end editing.
115
- */
116
- resizeToContentSize(): void;
117
- }