@univerjs/engine-render 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/af-7QQ0fr8U.mjs +194 -0
- package/lib/af-B8CRNkjo.js +1 -0
- package/lib/as-CjArMJFb.js +1 -0
- package/lib/as-Q56YT8ds.mjs +8 -0
- package/lib/be-D01Emmav.mjs +8 -0
- package/lib/be-D_7towMQ.js +1 -0
- package/lib/bg-BROkuUw0.mjs +8 -0
- package/lib/bg-CZclBlFV.js +1 -0
- package/lib/bn-BOqBYJXb.mjs +8 -0
- package/lib/bn-CzN_X48q.js +1 -0
- package/lib/ca-4AzMzC5n.js +1 -0
- package/lib/ca-DNCw15Om.mjs +35 -0
- package/lib/cjs/index.js +2 -2
- package/lib/cop-BEWZjlEN.js +1 -0
- package/lib/cop-Cg_9EzGl.mjs +8 -0
- package/lib/cs-CO3omPBc.mjs +14 -0
- package/lib/cs-DilIWlcM.js +1 -0
- package/lib/cu-BVXCZrRb.mjs +29 -0
- package/lib/cu-Dv6XbTRy.js +1 -0
- package/lib/cy-DdcmQdRU.mjs +8 -0
- package/lib/cy-FA5QTAU-.js +1 -0
- package/lib/da-B9Og8Jrv.js +1 -0
- package/lib/da-CDalw6_k.mjs +8 -0
- package/lib/de-1901-Bio6PX1D.mjs +8 -0
- package/lib/de-1901-zEkwrFOx.js +1 -0
- package/lib/de-1996-7qRQHbDz.js +1 -0
- package/lib/de-1996-D04zKy3t.mjs +8 -0
- package/lib/de-ch-1901-CRFO4pck.js +1 -0
- package/lib/de-ch-1901-DXmVppkP.mjs +8 -0
- package/lib/el-monoton-BCxophpw.mjs +8 -0
- package/lib/el-monoton-x4pPIDMS.js +1 -0
- package/lib/el-polyton-BmPHG29Z.js +1 -0
- package/lib/el-polyton-cc2dKcNi.mjs +8 -0
- package/lib/en-gb-CH5n2vc2.mjs +18 -0
- package/lib/en-gb-d0UnX3NQ.js +1 -0
- package/lib/es/index.js +10735 -10099
- package/lib/es-CM1w66HG.mjs +8 -0
- package/lib/es-CiNTJwZN.js +1 -0
- package/lib/et-1vv3Izyw.mjs +8 -0
- package/lib/et-BK1e_cVg.js +1 -0
- package/lib/eu-BGsqKnTM.mjs +8 -0
- package/lib/eu-BzxYxH10.js +1 -0
- package/lib/fi-BPikEZql.mjs +8 -0
- package/lib/fi-Bj3oNcU6.js +1 -0
- package/lib/fr-CVOiY7Hk.mjs +8 -0
- package/lib/fr-DTLd-5Zd.js +1 -0
- package/lib/fur-BfxkaO05.mjs +8 -0
- package/lib/fur-fogKIIFe.js +1 -0
- package/lib/ga-6eamJRA4.js +1 -0
- package/lib/ga-RgFbe6O4.mjs +55 -0
- package/lib/gl-C-k_Tfyb.mjs +8 -0
- package/lib/gl-CADHCwzT.js +1 -0
- package/lib/grc-DVfTDU-B.mjs +8 -0
- package/lib/grc-OmY_teO1.js +1 -0
- package/lib/gu-BY7u7h16.js +1 -0
- package/lib/gu-OnDkDFRR.mjs +8 -0
- package/lib/hi-C-5ieQXc.js +1 -0
- package/lib/hi-wZq2N712.mjs +8 -0
- package/lib/hr-BydruLWx.mjs +8 -0
- package/lib/hr-DJsWIgpy.js +1 -0
- package/lib/hsb-BG80pl_e.mjs +43 -0
- package/lib/hsb-B_sJZsNY.js +1 -0
- package/lib/hu-BDn_208e.mjs +8 -0
- package/lib/hu-yaDSgvAn.js +1 -0
- package/lib/hy-C4deAxX3.js +1 -0
- package/lib/hy-CwMqVcRs.mjs +8 -0
- package/lib/ia-BPpzCpVU.mjs +19 -0
- package/lib/ia-CjzS5si8.js +1 -0
- package/lib/id-CDLqpvHD.mjs +55 -0
- package/lib/id-DOctqhne.js +1 -0
- package/lib/is-CIYOndu4.mjs +8 -0
- package/lib/is-D47CXCCB.js +1 -0
- package/lib/it-C8yMXhVu.mjs +8 -0
- package/lib/it-CXFCeNV4.js +1 -0
- package/lib/ka-BdcqGePe.mjs +8 -0
- package/lib/ka-CgSJi2CU.js +1 -0
- package/lib/kmr-B0Ded4M9.js +1 -0
- package/lib/kmr-dNPUHbsW.mjs +8 -0
- package/lib/kn-CcH8nt5Q.js +1 -0
- package/lib/kn-DAOQBMT3.mjs +8 -0
- package/lib/la-B2sD59yr.mjs +8 -0
- package/lib/la-DWb6TMoE.js +1 -0
- package/lib/la-x-classic-CaVCyU_Q.mjs +8 -0
- package/lib/la-x-classic-DsHZBRDM.js +1 -0
- package/lib/la-x-liturgic-BUjsEOKb.mjs +8 -0
- package/lib/la-x-liturgic-C3OkOI_x.js +1 -0
- package/lib/lt-CbfOJm1r.mjs +8 -0
- package/lib/lt-CtvK-cL5.js +1 -0
- package/lib/lv-7jJet9iv.mjs +8 -0
- package/lib/lv-VSwy7KIF.js +1 -0
- package/lib/ml-BO_9pI9i.js +1 -0
- package/lib/ml-DCtpf5tH.mjs +8 -0
- package/lib/mn-cyrl-BBsXVZW8.mjs +8 -0
- package/lib/mn-cyrl-nBGEBxGh.js +1 -0
- package/lib/mn-cyrl-x-lmc-BVlv2lTY.mjs +8 -0
- package/lib/mn-cyrl-x-lmc-UJaI6njT.js +1 -0
- package/lib/mr-Bn6x2K8t.mjs +8 -0
- package/lib/mr-Dj3WJyra.js +1 -0
- package/lib/mul-ethi-BzcfASck.mjs +8 -0
- package/lib/mul-ethi-DlLhqlDf.js +1 -0
- package/lib/nb-B9uP_hJB.mjs +119 -0
- package/lib/nb-DpyDJynR.js +1 -0
- package/lib/nl-CeCra09K.js +1 -0
- package/lib/nl-DJ0c5Nwz.mjs +49 -0
- package/lib/nn-BSKjhM96.mjs +119 -0
- package/lib/nn-zBMUfwWO.js +1 -0
- package/lib/no-rNan2JXr.mjs +117 -0
- package/lib/no-rn8_SRru.js +1 -0
- package/lib/oc-CEAeI_Pn.mjs +8 -0
- package/lib/oc-CXZWE4qs.js +1 -0
- package/lib/or-BXsM2pbv.mjs +8 -0
- package/lib/or-jsnjw3Ub.js +1 -0
- package/lib/pa-CIQ5Y3X6.mjs +8 -0
- package/lib/pa-hPrNXZT3.js +1 -0
- package/lib/pi-BMimJqFv.js +1 -0
- package/lib/pi-D_nNqT17.mjs +8 -0
- package/lib/pl-Cw-Bhtot.js +1 -0
- package/lib/pl-DRrtuwd1.mjs +29 -0
- package/lib/pms-C-FumxE9.mjs +8 -0
- package/lib/pms-ePVMMGP-.js +1 -0
- package/lib/pt-Csy9T_gC.js +1 -0
- package/lib/pt-DkX8-WA3.mjs +8 -0
- package/lib/rm-DS5uuP_L.js +1 -0
- package/lib/rm-Djs6hoP6.mjs +8 -0
- package/lib/ro-BlUZ9Cqj.mjs +8 -0
- package/lib/ro-C3B47EH9.js +1 -0
- package/lib/ru-CT3O6fnD.mjs +193 -0
- package/lib/ru-CxgIVOvF.js +1 -0
- package/lib/sa-C3-ZGfmL.js +1 -0
- package/lib/sa-DwT18fhY.mjs +8 -0
- package/lib/sh-cyrl-CstO-G-Y.js +1 -0
- package/lib/sh-cyrl-vs7LrXMi.mjs +125 -0
- package/lib/sh-latn-BdtcwkQ7.js +1 -0
- package/lib/sh-latn-CjbXS8sT.mjs +125 -0
- package/lib/sk-BcST003l.js +1 -0
- package/lib/sk-C-BhbAaV.mjs +8 -0
- package/lib/sl-PkRf1aEq.mjs +8 -0
- package/lib/sl-WLFwiIjH.js +1 -0
- package/lib/sr-cyrl-BspApXN7.js +1 -0
- package/lib/sr-cyrl-cX7hxNkp.mjs +139 -0
- package/lib/sv-B5qT7wUY.mjs +8 -0
- package/lib/sv-BLAl9qmR.js +1 -0
- package/lib/ta-CFDeBwfd.mjs +8 -0
- package/lib/ta-CXbw1QC7.js +1 -0
- package/lib/te-B-G6LBfO.js +1 -0
- package/lib/te-BXwc4QG8.mjs +8 -0
- package/lib/th-BFfX9uLb.mjs +8 -0
- package/lib/th-YaLTc5g-.js +1 -0
- package/lib/tk-CUXETJVM.mjs +8 -0
- package/lib/tk-DbM2vAMc.js +1 -0
- package/lib/tr-BR64TmVY.mjs +8 -0
- package/lib/tr-Coi-iq3L.js +1 -0
- package/lib/types/base-object.d.ts +16 -8
- package/lib/types/basics/document-node-tools.d.ts +1 -1
- package/lib/types/basics/draw.d.ts +4 -4
- package/lib/types/basics/i-document-skeleton-cached.d.ts +2 -0
- package/lib/types/basics/i-events.d.ts +9 -0
- package/lib/types/basics/interfaces.d.ts +3 -3
- package/lib/types/basics/path2.d.ts +1 -1
- package/lib/types/basics/position.d.ts +1 -1
- package/lib/types/basics/quick-event.d.ts +1 -1
- package/lib/types/basics/tools.d.ts +2 -4
- package/lib/types/basics/transform.d.ts +2 -2
- package/lib/types/components/component.d.ts +4 -4
- package/lib/types/components/docs/doc-background.d.ts +3 -3
- package/lib/types/components/docs/doc-component.d.ts +7 -15
- package/lib/types/components/docs/doc-extension.d.ts +2 -2
- package/lib/types/components/docs/document.d.ts +7 -7
- package/lib/types/components/docs/extensions/background.d.ts +3 -3
- package/lib/types/components/docs/extensions/border.d.ts +3 -3
- package/lib/types/components/docs/extensions/font-and-base-line.d.ts +3 -3
- package/lib/types/components/docs/extensions/line.d.ts +3 -3
- package/lib/types/components/docs/layout/block/paragraph/bullet.d.ts +1 -1
- package/lib/types/components/docs/layout/block/paragraph/language-ruler.d.ts +3 -3
- package/lib/types/components/docs/layout/block/paragraph/layout-ruler.d.ts +4 -3
- package/lib/types/components/docs/layout/block/paragraph/layout.d.ts +4 -4
- package/lib/types/components/docs/layout/block/paragraph/line-adjustment.d.ts +4 -2
- package/lib/types/components/docs/layout/block/paragraph/linebreaking.d.ts +4 -4
- package/lib/types/components/docs/layout/block/paragraph/shaping.d.ts +7 -5
- package/lib/types/components/docs/layout/block/section.d.ts +5 -6
- package/lib/types/components/docs/layout/doc-skeleton.d.ts +7 -5
- package/lib/types/components/docs/layout/hyphenation/hyphen.d.ts +17 -0
- package/lib/types/components/docs/layout/hyphenation/lang.d.ts +96 -0
- package/lib/types/components/docs/layout/hyphenation/language-detector.d.ts +10 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/af.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/as.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/be.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/bg.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/bn.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/ca.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/cop.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/cs.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/cu.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/cy.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/da.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/de-1901.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/de-1996.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/de-ch-1901.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/el-monoton.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/el-polyton.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/en-gb.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/en-us.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/es.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/et.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/eu.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/fi.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/fr.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/fur.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/ga.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/gl.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/grc.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/gu.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/hi.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/hr.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/hsb.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/hu.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/hy.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/ia.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/id.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/is.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/it.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/ka.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/kmr.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/kn.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/la-x-classic.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/la-x-liturgic.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/la.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/lt.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/lv.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/ml.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/mn-cyrl-x-lmc.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/mn-cyrl.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/mr.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/mul-ethi.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/nb.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/nl.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/nn.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/no.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/oc.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/or.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/pa.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/pi.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/pl.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/pms.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/pt.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/rm.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/ro.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/ru.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/sa.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/sh-cyrl.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/sh-latn.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/sk.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/sl.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/sr-cyrl.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/sv.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/ta.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/te.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/th.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/tk.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/tr.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/uk.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/patterns/zh-latn-pinyin.d.ts +16 -0
- package/lib/types/components/docs/layout/hyphenation/tools.d.ts +24 -0
- package/lib/types/components/docs/layout/{linebreak/index.d.ts → line-breaker/__tests__/linebreak.spec.d.ts} +1 -1
- package/lib/types/components/docs/layout/{linebreak → line-breaker}/break.d.ts +7 -2
- package/lib/types/components/docs/layout/line-breaker/enhancers/hyphen-enhancer.d.ts +22 -0
- package/lib/types/components/docs/layout/{linebreak → line-breaker}/extensions/tab-linebreak-extension.d.ts +1 -1
- package/lib/types/components/docs/layout/line-breaker/index.d.ts +16 -0
- package/lib/types/components/docs/layout/{linebreak/linebreaker.d.ts → line-breaker/line-breaker.d.ts} +9 -5
- package/lib/types/components/docs/layout/model/column.d.ts +1 -1
- package/lib/types/components/docs/layout/model/glyph.d.ts +3 -2
- package/lib/types/components/docs/layout/model/line.d.ts +1 -2
- package/lib/types/components/docs/layout/model/page.d.ts +2 -2
- package/lib/types/components/docs/layout/model/section.d.ts +1 -1
- package/lib/types/components/docs/layout/shaping-engine/font-cache.d.ts +2 -2
- package/lib/types/components/docs/layout/shaping-engine/text-shaping.d.ts +2 -2
- package/lib/types/components/docs/layout/tools.d.ts +16 -4
- package/lib/types/components/docs/text-selection/convert-cursor.d.ts +4 -4
- package/lib/types/components/docs/text-selection/text-range.d.ts +9 -9
- package/lib/types/components/docs/text-selection/text-selection-render-manager.d.ts +10 -10
- package/lib/types/components/docs/view-model/document-view-model.d.ts +2 -2
- package/lib/types/components/extension.d.ts +3 -3
- package/lib/types/components/sheets/column-header.d.ts +18 -4
- package/lib/types/components/sheets/extensions/background.d.ts +3 -3
- package/lib/types/components/sheets/extensions/border.d.ts +3 -3
- package/lib/types/components/sheets/extensions/column-header-layout.d.ts +3 -3
- package/lib/types/components/sheets/extensions/custom.d.ts +3 -3
- package/lib/types/components/sheets/extensions/font.d.ts +3 -3
- package/lib/types/components/sheets/extensions/marker.d.ts +3 -3
- package/lib/types/components/sheets/extensions/row-header-layout.d.ts +3 -3
- package/lib/types/components/sheets/extensions/sheet-extension.d.ts +2 -2
- package/lib/types/components/sheets/interfaces.d.ts +2 -2
- package/lib/types/components/sheets/row-header.d.ts +18 -4
- package/lib/types/components/sheets/sheet-component.d.ts +11 -11
- package/lib/types/components/sheets/sheet-skeleton.d.ts +7 -7
- package/lib/types/components/sheets/spreadsheet.d.ts +7 -7
- package/lib/types/components/skeleton.d.ts +1 -1
- package/lib/types/components/slides/slide.d.ts +3 -3
- package/lib/types/custom/custom-object.d.ts +2 -2
- package/lib/types/engine.d.ts +9 -4
- package/lib/types/group.d.ts +3 -4
- package/lib/types/layer.d.ts +3 -3
- package/lib/types/render-engine.d.ts +2 -2
- package/lib/types/render-manager/render-manager.service.d.ts +13 -15
- package/lib/types/render-manager/render-unit.d.ts +10 -6
- package/lib/types/scene-viewer.d.ts +6 -6
- package/lib/types/scene.d.ts +16 -13
- package/lib/types/scene.input-manager.d.ts +7 -2
- package/lib/types/scene.transformer.d.ts +4 -4
- package/lib/types/scroll-timer.d.ts +2 -2
- package/lib/types/services/object-transform-manager.service.d.ts +1 -1
- package/lib/types/shape/base-scroll-bar.d.ts +8 -8
- package/lib/types/shape/checkbox.d.ts +1 -1
- package/lib/types/shape/circle.d.ts +1 -1
- package/lib/types/shape/dropdown-item.d.ts +1 -1
- package/lib/types/shape/path.d.ts +1 -1
- package/lib/types/shape/picture.d.ts +2 -2
- package/lib/types/shape/rect.d.ts +1 -1
- package/lib/types/shape/regular-polygon.d.ts +3 -3
- package/lib/types/shape/rich-text.d.ts +3 -3
- package/lib/types/shape/scroll-bar.d.ts +4 -4
- package/lib/types/shape/shape.d.ts +4 -7
- package/lib/types/thin-engine.d.ts +6 -6
- package/lib/types/thin-scene.d.ts +39 -32
- package/lib/types/viewport.d.ts +7 -7
- package/lib/uk-CIt18LjH.mjs +8 -0
- package/lib/uk-DWrud5zx.js +1 -0
- package/lib/umd/index.js +2 -2
- package/lib/zh-latn-pinyin-C29el_eo.mjs +8 -0
- package/lib/zh-latn-pinyin-CDkfr_AT.js +1 -0
- package/package.json +12 -8
- /package/lib/types/components/docs/layout/{linebreak/__tests__/linebreak.spec.d.ts → hyphenation/__tests__/hypen.spec.d.ts} +0 -0
- /package/lib/types/components/docs/layout/{linebreak → line-breaker}/classes.d.ts +0 -0
- /package/lib/types/components/docs/layout/{linebreak → line-breaker}/pairs.d.ts +0 -0
- /package/lib/types/components/docs/layout/{linebreak → line-breaker}/rule.d.ts +0 -0
- /package/lib/types/components/docs/layout/{linebreak → line-breaker}/swap.d.ts +0 -0
- /package/lib/types/components/docs/layout/{linebreak → line-breaker}/tiny-inflate.d.ts +0 -0
- /package/lib/types/components/docs/layout/{linebreak → line-breaker}/trie-data.d.ts +0 -0
- /package/lib/types/components/docs/layout/{linebreak → line-breaker}/unicode-trie.d.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IStylesCache } from './interfaces';
|
|
2
|
-
import { Skeleton } from '../skeleton';
|
|
3
|
-
import { DocumentSkeleton } from '../docs/layout/doc-skeleton';
|
|
4
|
-
import { IBoundRectNoAngle, IViewportBound } from '../../basics/vector2';
|
|
5
1
|
import { BooleanNumber, DocumentDataModel, HorizontalAlign, IContextService, LocaleService, ObjectMatrix, VerticalAlign, WrapStrategy, ICellData, IPaddingData, IRange, ISelectionCellWithCoord, ITextRotation, IWorksheetData, Nullable, Styles, Worksheet } from '@univerjs/core';
|
|
2
|
+
import { IBoundRectNoAngle, IViewportBound } from '../../basics/vector2';
|
|
3
|
+
import { DocumentSkeleton } from '../docs/layout/doc-skeleton';
|
|
4
|
+
import { Skeleton } from '../skeleton';
|
|
5
|
+
import { IStylesCache } from './interfaces';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Obtain the height and width of a cell's text, taking into account scenarios with rotated text.
|
|
@@ -182,7 +182,7 @@ export declare class SpreadsheetSkeleton extends Skeleton {
|
|
|
182
182
|
getCellPositionByOffset(offsetX: number, offsetY: number, scaleX: number, scaleY: number, scrollXY: {
|
|
183
183
|
x: number;
|
|
184
184
|
y: number;
|
|
185
|
-
}): {
|
|
185
|
+
}, closeFirst?: boolean): {
|
|
186
186
|
row: number;
|
|
187
187
|
column: number;
|
|
188
188
|
};
|
|
@@ -196,7 +196,7 @@ export declare class SpreadsheetSkeleton extends Skeleton {
|
|
|
196
196
|
getColumnPositionByOffsetX(offsetX: number, scaleX: number, scrollXY: {
|
|
197
197
|
x: number;
|
|
198
198
|
y: number;
|
|
199
|
-
}): number;
|
|
199
|
+
}, closeFirst?: boolean): number;
|
|
200
200
|
/**
|
|
201
201
|
*
|
|
202
202
|
* @param offsetY scaled offset y
|
|
@@ -208,7 +208,7 @@ export declare class SpreadsheetSkeleton extends Skeleton {
|
|
|
208
208
|
getRowPositionByOffsetY(offsetY: number, scaleY: number, scrollXY: {
|
|
209
209
|
x: number;
|
|
210
210
|
y: number;
|
|
211
|
-
}): number;
|
|
211
|
+
}, closeFirst?: boolean): number;
|
|
212
212
|
getTransformOffsetX(offsetX: number, scaleX: number, scrollXY: {
|
|
213
213
|
x: number;
|
|
214
214
|
y: number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { SpreadsheetSkeleton } from './sheet-skeleton';
|
|
2
|
-
import { SheetComponent } from './sheet-component';
|
|
3
|
-
import { Font } from './extensions/font';
|
|
4
|
-
import { Border } from './extensions/border';
|
|
5
|
-
import { Background } from './extensions/background';
|
|
6
|
-
import { Documents } from '../docs/document';
|
|
7
|
-
import { UniverRenderingContext } from '../../context';
|
|
8
1
|
import { IViewportBound, Vector2 } from '../../basics/vector2';
|
|
2
|
+
import { UniverRenderingContext } from '../../context';
|
|
3
|
+
import { Documents } from '../docs/document';
|
|
4
|
+
import { Background } from './extensions/background';
|
|
5
|
+
import { Border } from './extensions/border';
|
|
6
|
+
import { Font } from './extensions/font';
|
|
7
|
+
import { SheetComponent } from './sheet-component';
|
|
8
|
+
import { SpreadsheetSkeleton } from './sheet-skeleton';
|
|
9
9
|
|
|
10
10
|
export declare class Spreadsheet extends SheetComponent {
|
|
11
11
|
private _allowCache;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IFontLocale } from '../basics/interfaces';
|
|
2
1
|
import { Disposable, LocaleService } from '@univerjs/core';
|
|
2
|
+
import { IFontLocale } from '../basics/interfaces';
|
|
3
3
|
|
|
4
4
|
export declare class Skeleton extends Disposable {
|
|
5
5
|
protected readonly _localService: LocaleService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SceneViewer } from '../../scene-viewer';
|
|
2
|
-
import { Scene } from '../../scene';
|
|
3
|
-
import { UniverRenderingContext } from '../../context';
|
|
4
1
|
import { Nullable, Observable } from '@univerjs/core';
|
|
2
|
+
import { UniverRenderingContext } from '../../context';
|
|
3
|
+
import { Scene } from '../../scene';
|
|
4
|
+
import { SceneViewer } from '../../scene-viewer';
|
|
5
5
|
|
|
6
6
|
export declare enum SLIDE_NAVIGATION_KEY {
|
|
7
7
|
LEFT = "__slideNavigationLeft__",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UniverRenderingContext } from '../context';
|
|
2
|
-
import { IViewportBound, Vector2 } from '../basics/vector2';
|
|
3
1
|
import { BaseObject } from '../base-object';
|
|
2
|
+
import { IViewportBound, Vector2 } from '../basics/vector2';
|
|
3
|
+
import { UniverRenderingContext } from '../context';
|
|
4
4
|
|
|
5
5
|
export declare class CustomObject extends BaseObject {
|
|
6
6
|
private _render;
|
package/lib/types/engine.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ThinEngine } from './thin-engine';
|
|
2
|
-
import { Scene } from './scene';
|
|
3
|
-
import { Canvas, CanvasRenderMode } from './canvas';
|
|
4
|
-
import { CURSOR_TYPE } from './basics/const';
|
|
5
1
|
import { Observable } from '@univerjs/core';
|
|
2
|
+
import { CURSOR_TYPE } from './basics/const';
|
|
3
|
+
import { Canvas, CanvasRenderMode } from './canvas';
|
|
4
|
+
import { Scene } from './scene';
|
|
5
|
+
import { ThinEngine } from './thin-engine';
|
|
6
6
|
|
|
7
7
|
export declare class Engine extends ThinEngine<Scene> {
|
|
8
8
|
renderEvenInBackground: boolean;
|
|
@@ -33,6 +33,10 @@ export declare class Engine extends ThinEngine<Scene> {
|
|
|
33
33
|
private _pointerWheelEvent;
|
|
34
34
|
private _pointerEnterEvent;
|
|
35
35
|
private _pointerLeaveEvent;
|
|
36
|
+
private _dragEnterEvent;
|
|
37
|
+
private _dragLeaveEvent;
|
|
38
|
+
private _dragOverEvent;
|
|
39
|
+
private _dropEvent;
|
|
36
40
|
private _remainCapture;
|
|
37
41
|
/** previous pointer position */
|
|
38
42
|
private pointer;
|
|
@@ -98,6 +102,7 @@ export declare class Engine extends ThinEngine<Scene> {
|
|
|
98
102
|
private _measureFps;
|
|
99
103
|
private _handleKeyboardAction;
|
|
100
104
|
private _handlePointerAction;
|
|
105
|
+
private _handleDragAction;
|
|
101
106
|
private _getWheelEventName;
|
|
102
107
|
private _getPassive;
|
|
103
108
|
private _getPointerType;
|
package/lib/types/group.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UniverRenderingContext } from './context';
|
|
2
|
-
import { IViewportBound, Vector2 } from './basics/vector2';
|
|
3
|
-
import { CURSOR_TYPE, RENDER_CLASS_TYPE } from './basics/const';
|
|
4
1
|
import { BaseObject } from './base-object';
|
|
2
|
+
import { CURSOR_TYPE, RENDER_CLASS_TYPE } from './basics/const';
|
|
3
|
+
import { IViewportBound, Vector2 } from './basics/vector2';
|
|
4
|
+
import { UniverRenderingContext } from './context';
|
|
5
5
|
|
|
6
6
|
export declare class Group extends BaseObject {
|
|
7
7
|
private _objects;
|
|
@@ -19,7 +19,6 @@ export declare class Group extends BaseObject {
|
|
|
19
19
|
skew(skewX?: number, skewY?: number): this;
|
|
20
20
|
flip(flipX?: boolean, flipY?: boolean): this;
|
|
21
21
|
isHit(coord: Vector2): boolean;
|
|
22
|
-
pick(coord: Vector2): void;
|
|
23
22
|
private _clear;
|
|
24
23
|
dispose(): void;
|
|
25
24
|
private _transformBounds;
|
package/lib/types/layer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ThinScene } from './thin-scene';
|
|
2
|
-
import { UniverRenderingContext } from './context';
|
|
3
|
-
import { BaseObject } from './base-object';
|
|
4
1
|
import { Disposable } from '@univerjs/core';
|
|
2
|
+
import { BaseObject } from './base-object';
|
|
3
|
+
import { UniverRenderingContext } from './context';
|
|
4
|
+
import { ThinScene } from './thin-scene';
|
|
5
5
|
|
|
6
6
|
export declare class Layer extends Disposable {
|
|
7
7
|
private _scene;
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { IRender, IRenderControllerCtor } from './render-unit';
|
|
2
|
-
import { Engine } from '../engine';
|
|
3
|
-
import { Slide } from '../components/slides/slide';
|
|
4
|
-
import { SheetComponent } from '../components/sheets/sheet-component';
|
|
5
|
-
import { DocComponent } from '../components/docs/doc-component';
|
|
6
|
-
import { BaseObject } from '../base-object';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
8
|
-
import { IDisposable, Injector } from '@wendellhu/redi';
|
|
9
1
|
import { Nullable, UnitModel, UnitType, Disposable, IUniverInstanceService } from '@univerjs/core';
|
|
2
|
+
import { IDisposable, Injector } from '@wendellhu/redi';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { BaseObject } from '../base-object';
|
|
5
|
+
import { DocComponent } from '../components/docs/doc-component';
|
|
6
|
+
import { SheetComponent } from '../components/sheets/sheet-component';
|
|
7
|
+
import { Slide } from '../components/slides/slide';
|
|
8
|
+
import { Engine } from '../engine';
|
|
9
|
+
import { IRender, IRenderControllerCtor } from './render-unit';
|
|
10
10
|
|
|
11
11
|
export type RenderComponentType = SheetComponent | DocComponent | Slide | BaseObject;
|
|
12
12
|
export interface IRenderManagerService extends IDisposable {
|
|
13
13
|
currentRender$: Observable<Nullable<string>>;
|
|
14
14
|
createRender$: Observable<Nullable<string>>;
|
|
15
|
-
createRenderWithParent(unitId: string, parentUnitId: string): IRender;
|
|
16
15
|
createRender(unitId: string): IRender;
|
|
17
|
-
addRenderItem(unitId: string, item: IRender): void;
|
|
18
16
|
removeRender(unitId: string): void;
|
|
19
17
|
setCurrent(unitId: string): void;
|
|
20
18
|
getRenderById(unitId: string): Nullable<IRender>;
|
|
@@ -24,7 +22,7 @@ export interface IRenderManagerService extends IDisposable {
|
|
|
24
22
|
getCurrent(): Nullable<IRender>;
|
|
25
23
|
getFirst(): Nullable<IRender>;
|
|
26
24
|
has(unitId: string): boolean;
|
|
27
|
-
|
|
25
|
+
registerRenderController<T extends UnitModel>(type: UnitType, ctor: IRenderControllerCtor<T>): IDisposable;
|
|
28
26
|
}
|
|
29
27
|
export declare class RenderManagerService extends Disposable implements IRenderManagerService {
|
|
30
28
|
private readonly _injector;
|
|
@@ -40,14 +38,13 @@ export declare class RenderManagerService extends Disposable implements IRenderM
|
|
|
40
38
|
private readonly _renderControllers;
|
|
41
39
|
constructor(_injector: Injector, _univerInstanceService: IUniverInstanceService);
|
|
42
40
|
dispose(): void;
|
|
43
|
-
|
|
41
|
+
registerRenderController(type: UnitType, ctor: IRenderControllerCtor): IDisposable;
|
|
44
42
|
private _getRenderControllersForType;
|
|
45
|
-
createRenderWithParent(unitId: string, parentUnitId: string): IRender;
|
|
46
43
|
createRenderWithEngine(unitId: string, engine: Engine): IRender;
|
|
47
44
|
create(unitId: Nullable<string>): void;
|
|
48
45
|
createRender(unitId: string): IRender;
|
|
49
46
|
private _createRender;
|
|
50
|
-
|
|
47
|
+
private _addRenderUnit;
|
|
51
48
|
removeRender(unitId: string): void;
|
|
52
49
|
has(unitId: string): boolean;
|
|
53
50
|
setCurrent(unitId: string): void;
|
|
@@ -57,4 +54,5 @@ export declare class RenderManagerService extends Disposable implements IRenderM
|
|
|
57
54
|
getRenderAll(): Map<string, IRender>;
|
|
58
55
|
private _disposeItem;
|
|
59
56
|
}
|
|
60
|
-
export declare const IRenderManagerService: import('@wendellhu/redi').IdentifierDecorator<
|
|
57
|
+
export declare const IRenderManagerService: import('@wendellhu/redi').IdentifierDecorator<IRenderManagerService>;
|
|
58
|
+
export declare function isDisposable(thing: unknown): thing is IDisposable;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RenderComponentType } from './render-manager.service';
|
|
2
|
-
import { Scene } from '../scene';
|
|
3
|
-
import { Engine } from '../engine';
|
|
4
|
-
import { IDisposable, Injector } from '@wendellhu/redi';
|
|
5
1
|
import { Nullable, UnitModel, UnitType, Disposable } from '@univerjs/core';
|
|
2
|
+
import { DependencyIdentifier, IDisposable, Injector } from '@wendellhu/redi';
|
|
3
|
+
import { Engine } from '../engine';
|
|
4
|
+
import { Scene } from '../scene';
|
|
5
|
+
import { RenderComponentType } from './render-manager.service';
|
|
6
6
|
|
|
7
7
|
export interface IRender {
|
|
8
8
|
unitId: string;
|
|
@@ -11,6 +11,7 @@ export interface IRender {
|
|
|
11
11
|
mainComponent: Nullable<RenderComponentType>;
|
|
12
12
|
components: Map<string, RenderComponentType>;
|
|
13
13
|
isMainScene: boolean;
|
|
14
|
+
with<T>(dependency: DependencyIdentifier<T>): T;
|
|
14
15
|
}
|
|
15
16
|
export interface IRenderControllerCtor<T extends UnitModel = UnitModel> {
|
|
16
17
|
new (unit: IRenderContext<T>, ...args: any[]): IRenderController;
|
|
@@ -20,7 +21,7 @@ export interface IRenderController extends IDisposable {
|
|
|
20
21
|
/**
|
|
21
22
|
* This object encapsulates methods or properties to render each element.
|
|
22
23
|
*/
|
|
23
|
-
export interface IRenderContext<T extends UnitModel = UnitModel> extends IRender {
|
|
24
|
+
export interface IRenderContext<T extends UnitModel = UnitModel> extends Omit<IRender, 'with'> {
|
|
24
25
|
unit: T;
|
|
25
26
|
type: UnitType;
|
|
26
27
|
}
|
|
@@ -32,7 +33,6 @@ export declare class RenderUnit extends Disposable implements IRender {
|
|
|
32
33
|
get unitId(): string;
|
|
33
34
|
get type(): UnitType;
|
|
34
35
|
private readonly _injector;
|
|
35
|
-
private readonly _renderControllers;
|
|
36
36
|
private _renderContext;
|
|
37
37
|
set isMainScene(is: boolean);
|
|
38
38
|
get isMainScene(): boolean;
|
|
@@ -45,6 +45,10 @@ export declare class RenderUnit extends Disposable implements IRender {
|
|
|
45
45
|
get components(): Map<string, RenderComponentType>;
|
|
46
46
|
constructor(parentInjector: Injector, init: Pick<IRenderContext, 'engine' | 'scene' | 'isMainScene' | 'unit'>);
|
|
47
47
|
dispose(): void;
|
|
48
|
+
/**
|
|
49
|
+
* Get render controller hold by this render unit.
|
|
50
|
+
*/
|
|
51
|
+
with<T>(dependency: DependencyIdentifier<T>): T;
|
|
48
52
|
addRenderControllers(ctors: IRenderControllerCtor[]): void;
|
|
49
53
|
private _initControllers;
|
|
50
54
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ThinScene } from './thin-scene';
|
|
2
|
-
import { UniverRenderingContext } from './context';
|
|
3
|
-
import { IViewportBound, Vector2 } from './basics/vector2';
|
|
4
|
-
import { IObjectFullState } from './basics/interfaces';
|
|
5
|
-
import { RENDER_CLASS_TYPE } from './basics/const';
|
|
6
|
-
import { BaseObject } from './base-object';
|
|
7
1
|
import { Nullable } from '@univerjs/core';
|
|
2
|
+
import { BaseObject } from './base-object';
|
|
3
|
+
import { RENDER_CLASS_TYPE } from './basics/const';
|
|
4
|
+
import { IObjectFullState } from './basics/interfaces';
|
|
5
|
+
import { IViewportBound, Vector2 } from './basics/vector2';
|
|
6
|
+
import { UniverRenderingContext } from './context';
|
|
7
|
+
import { ThinScene } from './thin-scene';
|
|
8
8
|
|
|
9
9
|
export declare class SceneViewer extends BaseObject {
|
|
10
10
|
private _subScenes;
|
package/lib/types/scene.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Viewport } from './viewport';
|
|
2
|
-
import { ThinScene } from './thin-scene';
|
|
3
|
-
import { ThinEngine } from './thin-engine';
|
|
4
|
-
import { SceneViewer } from './scene-viewer';
|
|
5
|
-
import { ITransformerConfig, Transformer } from './scene.transformer';
|
|
6
|
-
import { Layer } from './layer';
|
|
7
|
-
import { UniverRenderingContext } from './context';
|
|
8
|
-
import { Vector2 } from './basics/vector2';
|
|
9
|
-
import { ISceneTransformState } from './basics/interfaces';
|
|
10
|
-
import { IKeyboardEvent, IMouseEvent, IPointerEvent, IWheelEvent } from './basics/i-events';
|
|
11
|
-
import { CURSOR_TYPE } from './basics/const';
|
|
12
|
-
import { BaseObject } from './base-object';
|
|
13
1
|
import { Nullable } from '@univerjs/core';
|
|
2
|
+
import { BaseObject } from './base-object';
|
|
3
|
+
import { CURSOR_TYPE } from './basics/const';
|
|
4
|
+
import { IDragEvent, IKeyboardEvent, IMouseEvent, IPointerEvent, IWheelEvent } from './basics/i-events';
|
|
5
|
+
import { ISceneTransformState } from './basics/interfaces';
|
|
6
|
+
import { Vector2 } from './basics/vector2';
|
|
7
|
+
import { UniverRenderingContext } from './context';
|
|
8
|
+
import { Layer } from './layer';
|
|
9
|
+
import { ITransformerConfig, Transformer } from './scene.transformer';
|
|
10
|
+
import { SceneViewer } from './scene-viewer';
|
|
11
|
+
import { ThinEngine } from './thin-engine';
|
|
12
|
+
import { ThinScene } from './thin-scene';
|
|
13
|
+
import { Viewport } from './viewport';
|
|
14
14
|
|
|
15
15
|
export declare class Scene extends ThinScene {
|
|
16
16
|
private _parent;
|
|
@@ -74,7 +74,6 @@ export declare class Scene extends ThinScene {
|
|
|
74
74
|
removeViewport(key: string): Viewport | undefined;
|
|
75
75
|
getViewports(): Viewport[];
|
|
76
76
|
getViewport(key: string): Viewport | undefined;
|
|
77
|
-
changeObjectOrder(): void;
|
|
78
77
|
render(parentCtx?: UniverRenderingContext): void;
|
|
79
78
|
requestRender(parentCtx?: UniverRenderingContext): Promise<unknown>;
|
|
80
79
|
openTransformer(config?: ITransformerConfig): void;
|
|
@@ -121,6 +120,10 @@ export declare class Scene extends ThinScene {
|
|
|
121
120
|
triggerPointerLeave(evt: IPointerEvent | IMouseEvent): boolean;
|
|
122
121
|
triggerPointerOver(evt: IPointerEvent | IMouseEvent): boolean;
|
|
123
122
|
triggerPointerEnter(evt: IPointerEvent | IMouseEvent): boolean;
|
|
123
|
+
triggerDragLeave(evt: IDragEvent): boolean;
|
|
124
|
+
triggerDragOver(evt: IDragEvent): boolean;
|
|
125
|
+
triggerDragEnter(evt: IDragEvent): boolean;
|
|
126
|
+
triggerDrop(evt: IDragEvent): boolean;
|
|
124
127
|
private _createDefaultLayer;
|
|
125
128
|
private _setTransForm;
|
|
126
129
|
private _getGroupCumLeftRight;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ThinScene } from './thin-scene';
|
|
2
|
-
import { IMouseEvent } from './basics/i-events';
|
|
3
1
|
import { Disposable } from '@univerjs/core';
|
|
2
|
+
import { IMouseEvent } from './basics/i-events';
|
|
3
|
+
import { ThinScene } from './thin-scene';
|
|
4
4
|
|
|
5
5
|
export declare class InputManager extends Disposable {
|
|
6
6
|
/** The distance in pixel that you have to move to prevent some events */
|
|
@@ -23,6 +23,10 @@ export declare class InputManager extends Disposable {
|
|
|
23
23
|
private _onMouseWheel;
|
|
24
24
|
private _onKeyDown;
|
|
25
25
|
private _onKeyUp;
|
|
26
|
+
private _onDragEnter;
|
|
27
|
+
private _onDragLeave;
|
|
28
|
+
private _onDragOver;
|
|
29
|
+
private _onDrop;
|
|
26
30
|
private _scene;
|
|
27
31
|
private _currentMouseEnterPicked;
|
|
28
32
|
private _startingPosition;
|
|
@@ -37,6 +41,7 @@ export declare class InputManager extends Disposable {
|
|
|
37
41
|
*/
|
|
38
42
|
dispose(): void;
|
|
39
43
|
mouseLeaveEnterHandler(evt: IMouseEvent): void;
|
|
44
|
+
dragLeaveEnterHandler(evt: IMouseEvent): void;
|
|
40
45
|
attachControl(hasDown?: boolean, hasUp?: boolean, hasMove?: boolean, hasWheel?: boolean, hasEnter?: boolean, hasLeave?: boolean): void;
|
|
41
46
|
/**
|
|
42
47
|
* Detaches all event handlers
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ThinScene } from './thin-scene';
|
|
2
|
-
import { Group } from './group';
|
|
3
|
-
import { IMouseEvent, IPointerEvent } from './basics/i-events';
|
|
4
|
-
import { BaseObject } from './base-object';
|
|
5
1
|
import { Nullable, Disposable, Observable } from '@univerjs/core';
|
|
2
|
+
import { BaseObject } from './base-object';
|
|
3
|
+
import { IMouseEvent, IPointerEvent } from './basics/i-events';
|
|
4
|
+
import { Group } from './group';
|
|
5
|
+
import { ThinScene } from './thin-scene';
|
|
6
6
|
|
|
7
7
|
declare enum MoveObserverType {
|
|
8
8
|
MOVE_START = 0,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Rect } from './rect';
|
|
2
|
-
import { ThinScene } from '../thin-scene';
|
|
3
|
-
import { UniverRenderingContext } from '../context';
|
|
4
|
-
import { Vector2 } from '../basics/vector2';
|
|
5
1
|
import { Disposable, Nullable } from '@univerjs/core';
|
|
2
|
+
import { Vector2 } from '../basics/vector2';
|
|
3
|
+
import { UniverRenderingContext } from '../context';
|
|
4
|
+
import { ThinScene } from '../thin-scene';
|
|
5
|
+
import { Rect } from './rect';
|
|
6
6
|
|
|
7
7
|
export interface IScrollBarProps {
|
|
8
8
|
thumbMargin?: number;
|
|
@@ -18,7 +18,7 @@ export interface IScrollBarProps {
|
|
|
18
18
|
enableVertical?: boolean;
|
|
19
19
|
mainScene?: ThinScene;
|
|
20
20
|
}
|
|
21
|
-
export declare class BaseScrollBar extends Disposable {
|
|
21
|
+
export declare abstract class BaseScrollBar extends Disposable {
|
|
22
22
|
enableHorizontal: boolean;
|
|
23
23
|
enableVertical: boolean;
|
|
24
24
|
horizontalThumbWidth: number;
|
|
@@ -42,7 +42,7 @@ export declare class BaseScrollBar extends Disposable {
|
|
|
42
42
|
dispose(): void;
|
|
43
43
|
hasHorizonThumb(): boolean;
|
|
44
44
|
hasVerticalThumb(): boolean;
|
|
45
|
-
resize(parentWidth
|
|
46
|
-
makeDirty(state: boolean): void;
|
|
47
|
-
render(ctx: UniverRenderingContext, left?: number, top?: number): void;
|
|
45
|
+
abstract resize(parentWidth: Nullable<number>, parentHeight: Nullable<number>, contentWidth: number, contentHeight: number): void;
|
|
46
|
+
abstract makeDirty(state: boolean): void;
|
|
47
|
+
abstract render(ctx: UniverRenderingContext, left?: number, top?: number): void;
|
|
48
48
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IShapeProps, Shape } from './shape';
|
|
2
|
-
import { UniverRenderingContext } from '../context';
|
|
3
1
|
import { Nullable } from '@univerjs/core';
|
|
2
|
+
import { UniverRenderingContext } from '../context';
|
|
3
|
+
import { IShapeProps, Shape } from './shape';
|
|
4
4
|
|
|
5
5
|
export interface IPictureProps extends IShapeProps {
|
|
6
6
|
image?: HTMLImageElement;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IShapeProps, Shape } from './shape';
|
|
2
|
-
import { UniverRenderingContext } from '../context';
|
|
3
|
-
import { IPoint } from '../basics/vector2';
|
|
4
1
|
import { IObjectFullState } from '../basics/interfaces';
|
|
2
|
+
import { IPoint } from '../basics/vector2';
|
|
3
|
+
import { UniverRenderingContext } from '../context';
|
|
4
|
+
import { IShapeProps, Shape } from './shape';
|
|
5
5
|
|
|
6
6
|
export interface IRegularPolygonProps extends IShapeProps {
|
|
7
7
|
pointsGroup: IPoint[][];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UniverRenderingContext } from '../context';
|
|
2
|
-
import { IViewportBound } from '../basics/vector2';
|
|
3
|
-
import { BaseObject } from '../base-object';
|
|
4
1
|
import { IDocumentData, IStyleBase, ITransformState, LocaleService } from '@univerjs/core';
|
|
2
|
+
import { BaseObject } from '../base-object';
|
|
3
|
+
import { IViewportBound } from '../basics/vector2';
|
|
4
|
+
import { UniverRenderingContext } from '../context';
|
|
5
5
|
|
|
6
6
|
export interface IRichTextProps extends ITransformState, IStyleBase {
|
|
7
7
|
text?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Rect } from './rect';
|
|
2
|
-
import { IScrollBarProps, BaseScrollBar } from './base-scroll-bar';
|
|
3
|
-
import { Viewport } from '../viewport';
|
|
4
|
-
import { UniverRenderingContext } from '../context';
|
|
5
1
|
import { Vector2 } from '../basics/vector2';
|
|
2
|
+
import { UniverRenderingContext } from '../context';
|
|
3
|
+
import { Viewport } from '../viewport';
|
|
4
|
+
import { IScrollBarProps, BaseScrollBar } from './base-scroll-bar';
|
|
5
|
+
import { Rect } from './rect';
|
|
6
6
|
|
|
7
7
|
export declare class ScrollBar extends BaseScrollBar {
|
|
8
8
|
protected _view: Viewport;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UniverRenderingContext } from '../context';
|
|
2
|
-
import { IViewportBound, Vector2 } from '../basics/vector2';
|
|
3
|
-
import { IObjectFullState } from '../basics/interfaces';
|
|
4
|
-
import { BaseObject } from '../base-object';
|
|
5
1
|
import { IScale, Nullable } from '@univerjs/core';
|
|
2
|
+
import { BaseObject } from '../base-object';
|
|
3
|
+
import { IObjectFullState } from '../basics/interfaces';
|
|
4
|
+
import { IViewportBound, Vector2 } from '../basics/vector2';
|
|
5
|
+
import { UniverRenderingContext } from '../context';
|
|
6
6
|
|
|
7
7
|
export type LineJoin = 'round' | 'bevel' | 'miter';
|
|
8
8
|
export type LineCap = 'butt' | 'round' | 'square';
|
|
@@ -98,11 +98,8 @@ export declare abstract class Shape<T> extends BaseObject {
|
|
|
98
98
|
* @param {UniverRenderingContext} ctx SheetContext to render on
|
|
99
99
|
*/
|
|
100
100
|
private static _renderStroke;
|
|
101
|
-
private static _getObjectScaling;
|
|
102
|
-
private static _removeShadow;
|
|
103
101
|
private static _setFillStyles;
|
|
104
102
|
private static _setStrokeStyles;
|
|
105
|
-
private static _setLineDash;
|
|
106
103
|
render(mainCtx: UniverRenderingContext, bounds?: IViewportBound): this;
|
|
107
104
|
setProps(props?: T): this | undefined;
|
|
108
105
|
toJson(): {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Canvas } from './canvas';
|
|
2
|
-
import { ITransformChangeState } from './basics/interfaces';
|
|
3
|
-
import { IEvent } from './basics/i-events';
|
|
4
|
-
import { CURSOR_TYPE, RENDER_CLASS_TYPE } from './basics/const';
|
|
5
|
-
import { IDisposable } from '@wendellhu/redi';
|
|
6
1
|
import { Disposable, Observable } from '@univerjs/core';
|
|
2
|
+
import { IDisposable } from '@wendellhu/redi';
|
|
3
|
+
import { CURSOR_TYPE, RENDER_CLASS_TYPE } from './basics/const';
|
|
4
|
+
import { IEvent } from './basics/i-events';
|
|
5
|
+
import { ITransformChangeState } from './basics/interfaces';
|
|
6
|
+
import { Canvas } from './canvas';
|
|
7
7
|
|
|
8
8
|
export declare abstract class ThinEngine<T extends IDisposable> extends Disposable {
|
|
9
9
|
onInputChangedObservable: Observable<IEvent>;
|
|
@@ -21,7 +21,7 @@ export declare abstract class ThinEngine<T extends IDisposable> extends Disposab
|
|
|
21
21
|
hasScene(sceneKey: string): boolean;
|
|
22
22
|
addScene(sceneInstance: T): T;
|
|
23
23
|
setActiveScene(sceneKey: string): T | null;
|
|
24
|
-
setRemainCapture(): void;
|
|
24
|
+
abstract setRemainCapture(): void;
|
|
25
25
|
hasActiveScene(): boolean;
|
|
26
26
|
dispose(): void;
|
|
27
27
|
remainScene(key: string): T | undefined;
|