@excalidraw/excalidraw 0.18.0-91c7748 → 0.18.0-9ba0f5d
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/dist/dev/{chunk-FB2NA5UG.js → chunk-6JJSWC4C.js} +1 -1
- package/dist/dev/{chunk-FB2NA5UG.js.map → chunk-6JJSWC4C.js.map} +2 -2
- package/dist/dev/chunk-DJHLEOOZ.js +69 -0
- package/dist/dev/chunk-DJHLEOOZ.js.map +7 -0
- package/dist/dev/{chunk-QF5FRM6O.js → chunk-MNO2YU5M.js} +101 -27
- package/dist/dev/chunk-MNO2YU5M.js.map +7 -0
- package/dist/dev/{chunk-LJB4UXX2.js → chunk-PW6TXCLQ.js} +311 -463
- package/dist/dev/chunk-PW6TXCLQ.js.map +7 -0
- package/dist/dev/{chunk-CP5DND7P.js → chunk-Y3BTNZQY.js} +2 -2
- package/dist/dev/data/{image-OLV524AK.js → image-2BHUUSLM.js} +3 -3
- package/dist/dev/index.css +2077 -1076
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +10972 -7971
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{ar-SA-XORAP2EK.js → ar-SA-JK5MQ7TT.js} +300 -142
- package/dist/dev/locales/ar-SA-JK5MQ7TT.js.map +7 -0
- package/dist/dev/locales/{az-AZ-NAUU3Z4Y.js → az-AZ-2PAD62G4.js} +241 -83
- package/dist/dev/locales/az-AZ-2PAD62G4.js.map +7 -0
- package/dist/dev/locales/{bg-BG-AAABLFCY.js → bg-BG-HUKVYCRK.js} +229 -71
- package/dist/dev/locales/bg-BG-HUKVYCRK.js.map +7 -0
- package/dist/dev/locales/{bn-BD-PM4AC5WG.js → bn-BD-V2CQI46P.js} +209 -51
- package/dist/dev/locales/bn-BD-V2CQI46P.js.map +7 -0
- package/dist/dev/locales/bn-IN-MBEO4C3J.js +744 -0
- package/dist/dev/locales/bn-IN-MBEO4C3J.js.map +7 -0
- package/dist/dev/locales/{ca-ES-YNNMFRQX.js → ca-ES-KWEKW4C3.js} +275 -117
- package/dist/dev/locales/ca-ES-KWEKW4C3.js.map +7 -0
- package/dist/dev/locales/{cs-CZ-DGZA5IKG.js → cs-CZ-W5AHZB5H.js} +229 -71
- package/dist/dev/locales/cs-CZ-W5AHZB5H.js.map +7 -0
- package/dist/dev/locales/{da-DK-N76F4QAJ.js → da-DK-ITTM6YM4.js} +298 -140
- package/dist/dev/locales/da-DK-ITTM6YM4.js.map +7 -0
- package/dist/dev/locales/de-CH-OAWPDQFJ.js +744 -0
- package/dist/dev/locales/de-CH-OAWPDQFJ.js.map +7 -0
- package/dist/dev/locales/{de-DE-DMRXZ2SZ.js → de-DE-ZRDYEPMS.js} +199 -41
- package/dist/dev/locales/de-DE-ZRDYEPMS.js.map +7 -0
- package/dist/dev/locales/{el-GR-HIKPLEXI.js → el-GR-QXASZLPE.js} +274 -116
- package/dist/dev/locales/el-GR-QXASZLPE.js.map +7 -0
- package/dist/dev/locales/{en-SMAPCEOQ.js → en-JRVQ7H6V.js} +8 -2
- package/dist/dev/locales/{es-ES-AQYVXC32.js → es-ES-VLQBB7FJ.js} +212 -54
- package/dist/dev/locales/es-ES-VLQBB7FJ.js.map +7 -0
- package/dist/dev/locales/{eu-ES-3TOEU5DE.js → eu-ES-TF2DGTZU.js} +210 -52
- package/dist/dev/locales/eu-ES-TF2DGTZU.js.map +7 -0
- package/dist/dev/locales/{fa-IR-527GAKUP.js → fa-IR-ITKFQ7QV.js} +286 -128
- package/dist/dev/locales/fa-IR-ITKFQ7QV.js.map +7 -0
- package/dist/dev/locales/{fi-FI-M3WLVDFP.js → fi-FI-UWZRVXFI.js} +240 -82
- package/dist/dev/locales/fi-FI-UWZRVXFI.js.map +7 -0
- package/dist/dev/locales/{fr-FR-YE4VDJFI.js → fr-FR-A72LKGCO.js} +203 -45
- package/dist/dev/locales/fr-FR-A72LKGCO.js.map +7 -0
- package/dist/dev/locales/{gl-ES-KMXUYGUN.js → gl-ES-2QCVIBFP.js} +212 -54
- package/dist/dev/locales/gl-ES-2QCVIBFP.js.map +7 -0
- package/dist/dev/locales/he-IL-WJNUHU26.js +744 -0
- package/dist/dev/locales/he-IL-WJNUHU26.js.map +7 -0
- package/dist/dev/locales/hi-IN-XGMO235V.js +744 -0
- package/dist/dev/locales/hi-IN-XGMO235V.js.map +7 -0
- package/dist/dev/locales/{hu-HU-VIYZI3X4.js → hu-HU-37FDQFIS.js} +238 -80
- package/dist/dev/locales/hu-HU-37FDQFIS.js.map +7 -0
- package/dist/dev/locales/{id-ID-22TWZNLA.js → id-ID-EJIDCO4E.js} +245 -87
- package/dist/dev/locales/id-ID-EJIDCO4E.js.map +7 -0
- package/dist/dev/locales/{it-IT-MDEQ2SG3.js → it-IT-X34PIOJ2.js} +202 -44
- package/dist/dev/locales/it-IT-X34PIOJ2.js.map +7 -0
- package/dist/dev/locales/{ja-JP-K2DI4W6B.js → ja-JP-37FC23PR.js} +247 -89
- package/dist/dev/locales/ja-JP-37FC23PR.js.map +7 -0
- package/dist/dev/locales/{kaa-6BPSNM3R.js → kaa-7ZYDFVKA.js} +202 -44
- package/dist/dev/locales/kaa-7ZYDFVKA.js.map +7 -0
- package/dist/dev/locales/{kab-KAB-2S7ZURK7.js → kab-KAB-MILWXBA6.js} +210 -52
- package/dist/dev/locales/kab-KAB-MILWXBA6.js.map +7 -0
- package/dist/dev/locales/{kk-KZ-UJPYGRQQ.js → kk-KZ-7BWTPIAV.js} +175 -17
- package/dist/dev/locales/kk-KZ-7BWTPIAV.js.map +7 -0
- package/dist/dev/locales/{km-KH-M5T5JKUE.js → km-KH-BV4P2KSZ.js} +198 -40
- package/dist/dev/locales/km-KH-BV4P2KSZ.js.map +7 -0
- package/dist/dev/locales/{ko-KR-RQX37SNF.js → ko-KR-TSXE5P7B.js} +218 -60
- package/dist/dev/locales/ko-KR-TSXE5P7B.js.map +7 -0
- package/dist/dev/locales/{ku-TR-5XJDIERL.js → ku-TR-ASSXNN3U.js} +198 -40
- package/dist/dev/locales/ku-TR-ASSXNN3U.js.map +7 -0
- package/dist/dev/locales/{lt-LT-MGUBX6CA.js → lt-LT-G7RZYQQU.js} +179 -21
- package/dist/dev/locales/lt-LT-G7RZYQQU.js.map +7 -0
- package/dist/dev/locales/{lv-LV-MD7N5VHD.js → lv-LV-DXNPBJZU.js} +196 -38
- package/dist/dev/locales/lv-LV-DXNPBJZU.js.map +7 -0
- package/dist/dev/locales/{mr-IN-4XWMNGQC.js → mr-IN-7F2ZCTCF.js} +204 -46
- package/dist/dev/locales/mr-IN-7F2ZCTCF.js.map +7 -0
- package/dist/dev/locales/{my-MM-O4Z74GN5.js → my-MM-NBI3KQGW.js} +181 -23
- package/dist/dev/locales/my-MM-NBI3KQGW.js.map +7 -0
- package/dist/dev/locales/{nb-NO-BMB73KRH.js → nb-NO-4DCTQT6L.js} +220 -62
- package/dist/dev/locales/nb-NO-4DCTQT6L.js.map +7 -0
- package/dist/dev/locales/{nl-NL-F2257BLQ.js → nl-NL-XGZJ7V2V.js} +297 -139
- package/dist/dev/locales/nl-NL-XGZJ7V2V.js.map +7 -0
- package/dist/dev/locales/{nn-NO-NCORG7TS.js → nn-NO-FR534JV5.js} +201 -43
- package/dist/dev/locales/nn-NO-FR534JV5.js.map +7 -0
- package/dist/dev/locales/{oc-FR-ATFBDMF6.js → oc-FR-YQCIKZIK.js} +220 -62
- package/dist/dev/locales/oc-FR-YQCIKZIK.js.map +7 -0
- package/dist/dev/locales/{pa-IN-D2I375G4.js → pa-IN-UM43JGD2.js} +190 -32
- package/dist/dev/locales/pa-IN-UM43JGD2.js.map +7 -0
- package/dist/dev/locales/{percentages-YKFLWNK2.js → percentages-OGWD7R2K.js} +2 -2
- package/dist/dev/locales/{pl-PL-YJHOWAAW.js → pl-PL-2UGKA6HK.js} +214 -56
- package/dist/dev/locales/pl-PL-2UGKA6HK.js.map +7 -0
- package/dist/dev/locales/{pt-BR-APOPYZJ7.js → pt-BR-H23QFYE3.js} +237 -79
- package/dist/dev/locales/pt-BR-H23QFYE3.js.map +7 -0
- package/dist/dev/locales/pt-PT-RHKJH5I5.js +744 -0
- package/dist/dev/locales/pt-PT-RHKJH5I5.js.map +7 -0
- package/dist/dev/locales/{ro-RO-L575VRQA.js → ro-RO-IIFONL3T.js} +203 -45
- package/dist/dev/locales/ro-RO-IIFONL3T.js.map +7 -0
- package/dist/dev/locales/{ru-RU-BLG6HZG5.js → ru-RU-QEP6D7GK.js} +253 -95
- package/dist/dev/locales/ru-RU-QEP6D7GK.js.map +7 -0
- package/dist/dev/locales/si-LK-LZYJQLHF.js +744 -0
- package/dist/dev/locales/si-LK-LZYJQLHF.js.map +7 -0
- package/dist/dev/locales/{sk-SK-DY6IPO5U.js → sk-SK-RWC6UWGY.js} +200 -42
- package/dist/dev/locales/sk-SK-RWC6UWGY.js.map +7 -0
- package/dist/dev/locales/{sl-SI-5DZSRA47.js → sl-SI-QJT2CAUO.js} +197 -39
- package/dist/dev/locales/sl-SI-QJT2CAUO.js.map +7 -0
- package/dist/dev/locales/{sv-SE-V32YHALQ.js → sv-SE-3MAT3NDX.js} +202 -44
- package/dist/dev/locales/sv-SE-3MAT3NDX.js.map +7 -0
- package/dist/dev/locales/{ta-IN-5JRAGQAO.js → ta-IN-J7XOYF2T.js} +257 -99
- package/dist/dev/locales/ta-IN-J7XOYF2T.js.map +7 -0
- package/dist/dev/locales/{th-TH-55ACRHDJ.js → th-TH-2OI52EOQ.js} +289 -131
- package/dist/dev/locales/th-TH-2OI52EOQ.js.map +7 -0
- package/dist/dev/locales/{tr-TR-7QYBXDBO.js → tr-TR-G7TAUHUI.js} +257 -99
- package/dist/dev/locales/tr-TR-G7TAUHUI.js.map +7 -0
- package/dist/dev/locales/{uk-UA-TJS2TMRH.js → uk-UA-IVSVBJIG.js} +229 -71
- package/dist/dev/locales/uk-UA-IVSVBJIG.js.map +7 -0
- package/dist/dev/locales/{si-LK-KT7GGO6D.js → uz-UZ-KCVDUVDE.js} +212 -54
- package/dist/dev/locales/uz-UZ-KCVDUVDE.js.map +7 -0
- package/dist/dev/locales/vi-VN-KBZAVWP5.js +744 -0
- package/dist/dev/locales/vi-VN-KBZAVWP5.js.map +7 -0
- package/dist/dev/locales/{zh-CN-4MXUOFTH.js → zh-CN-IS26RG2D.js} +199 -41
- package/dist/dev/locales/zh-CN-IS26RG2D.js.map +7 -0
- package/dist/dev/locales/{zh-HK-RBTGIU3U.js → zh-HK-KBWQ6SJC.js} +175 -17
- package/dist/dev/locales/zh-HK-KBWQ6SJC.js.map +7 -0
- package/dist/dev/locales/{zh-TW-U5VF4CCU.js → zh-TW-JKJWJQ4J.js} +204 -46
- package/dist/dev/locales/zh-TW-JKJWJQ4J.js.map +7 -0
- package/dist/dev/subset-shared.chunk.js +2 -2
- package/dist/dev/subset-worker.chunk.js +2 -2
- package/dist/prod/chunk-AJI3LATG.js +1 -0
- package/dist/prod/chunk-COMIBRVY.js +12 -0
- package/dist/prod/chunk-R7EP47KM.js +4 -0
- package/dist/prod/{chunk-LS7FJGPW.js → chunk-Z5NKEFVG.js} +8 -8
- package/dist/prod/data/{image-IFOCRD4I.js → image-WVUQOLPF.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +35 -25
- package/dist/prod/locales/ar-SA-IYHKZRSE.js +8 -0
- package/dist/prod/locales/az-AZ-WL5GYRHK.js +1 -0
- package/dist/prod/locales/bg-BG-FXZYTRPD.js +5 -0
- package/dist/prod/locales/bn-BD-KO6YL5G2.js +3 -0
- package/dist/prod/locales/bn-IN-PC6JHKYB.js +3 -0
- package/dist/prod/locales/ca-ES-AREX5NEO.js +8 -0
- package/dist/prod/locales/cs-CZ-HXAZMFYH.js +7 -0
- package/dist/prod/locales/da-DK-5X7ZLFU3.js +2 -0
- package/dist/prod/locales/de-CH-76ZNVSOF.js +7 -0
- package/dist/prod/locales/de-DE-G3JVZ4MQ.js +7 -0
- package/dist/prod/locales/el-GR-4AZTZGY6.js +7 -0
- package/dist/prod/locales/en-TSRAEZ4E.js +1 -0
- package/dist/prod/locales/es-ES-ART7BI3G.js +7 -0
- package/dist/prod/locales/eu-ES-BIF4XBMT.js +7 -0
- package/dist/prod/locales/fa-IR-D4HHKAAI.js +9 -0
- package/dist/prod/locales/fi-FI-O35ZY7UI.js +6 -0
- package/dist/prod/locales/fr-FR-XEFNCM4I.js +12 -0
- package/dist/prod/locales/gl-ES-U4NYM3X5.js +6 -0
- package/dist/prod/locales/he-IL-656ABAVQ.js +8 -0
- package/dist/prod/locales/hi-IN-Z55GAFFR.js +3 -0
- package/dist/prod/locales/hu-HU-UJ62DVIW.js +3 -0
- package/dist/prod/locales/id-ID-FLZFU3OO.js +8 -0
- package/dist/prod/locales/it-IT-GIGIGIBJ.js +12 -0
- package/dist/prod/locales/ja-JP-43VXGDWI.js +7 -0
- package/dist/prod/locales/kaa-L3IMSDYL.js +1 -0
- package/dist/prod/locales/kab-KAB-XKPWJLNL.js +4 -0
- package/dist/prod/locales/kk-KZ-SXPDDY2H.js +1 -0
- package/dist/prod/locales/km-KH-DOS4CPGC.js +7 -0
- package/dist/prod/locales/ko-KR-BGC6VCY4.js +5 -0
- package/dist/prod/locales/ku-TR-J7IUITIA.js +6 -0
- package/dist/prod/locales/lt-LT-AC3LV5KG.js +3 -0
- package/dist/prod/locales/lv-LV-I6AY7QG2.js +4 -0
- package/dist/prod/locales/mr-IN-5SP4HV5B.js +9 -0
- package/dist/prod/locales/my-MM-S7ECRBYZ.js +1 -0
- package/dist/prod/locales/nb-NO-6PNHTF4R.js +8 -0
- package/dist/prod/locales/nl-NL-R4C4SUIG.js +13 -0
- package/dist/prod/locales/nn-NO-3TFXTM7Y.js +4 -0
- package/dist/prod/locales/oc-FR-IK6GIE7H.js +4 -0
- package/dist/prod/locales/pa-IN-YAKHYJET.js +4 -0
- package/dist/prod/locales/percentages-OL6W367U.js +1 -0
- package/dist/prod/locales/pl-PL-BIY22ZWU.js +12 -0
- package/dist/prod/locales/pt-BR-Q23NUPD6.js +6 -0
- package/dist/prod/locales/pt-PT-LOPEJLPJ.js +8 -0
- package/dist/prod/locales/ro-RO-W3D2ZATV.js +12 -0
- package/dist/prod/locales/ru-RU-DCTW7QSH.js +10 -0
- package/dist/prod/locales/si-LK-FYRRHO3C.js +1 -0
- package/dist/prod/locales/sk-SK-MC7UOHQO.js +7 -0
- package/dist/prod/locales/sl-SI-L6B6HFY5.js +6 -0
- package/dist/prod/locales/sv-SE-KMY6L2BA.js +8 -0
- package/dist/prod/locales/ta-IN-ZQCYE2JK.js +6 -0
- package/dist/prod/locales/th-TH-WS7ECBAV.js +1 -0
- package/dist/prod/locales/tr-TR-S5FI7JRW.js +4 -0
- package/dist/prod/locales/uk-UA-4EZUWUSQ.js +6 -0
- package/dist/prod/locales/uz-UZ-OKHL6AFA.js +1 -0
- package/dist/prod/locales/vi-VN-K34TWHF7.js +7 -0
- package/dist/prod/locales/zh-CN-JE4UZWNO.js +11 -0
- package/dist/prod/locales/zh-HK-RM35YDXX.js +1 -0
- package/dist/prod/locales/zh-TW-ONGLV6Y5.js +9 -0
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/bounds.d.ts +10 -0
- package/dist/types/common/src/colors.d.ts +59 -39
- package/dist/types/common/src/constants.d.ts +19 -27
- package/dist/types/common/src/editorInterface.d.ts +34 -0
- package/dist/types/common/src/font-metadata.d.ts +1 -3
- package/dist/types/common/src/index.d.ts +2 -0
- package/dist/types/common/src/keys.d.ts +1 -1
- package/dist/types/common/src/utility-types.d.ts +0 -1
- package/dist/types/common/src/utils.d.ts +49 -35
- package/dist/types/element/src/Scene.d.ts +3 -3
- package/dist/types/element/src/binding.d.ts +58 -44
- package/dist/types/element/src/bounds.d.ts +2 -10
- package/dist/types/element/src/collision.d.ts +6 -2
- package/dist/types/element/src/comparisons.d.ts +7 -7
- package/dist/types/element/src/dragElements.d.ts +3 -3
- package/dist/types/element/src/duplicate.d.ts +3 -3
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +5 -1
- package/dist/types/element/src/heading.d.ts +2 -1
- package/dist/types/element/src/image.d.ts +1 -11
- package/dist/types/element/src/index.d.ts +1 -3
- package/dist/types/element/src/linearElementEditor.d.ts +16 -20
- package/dist/types/element/src/mutateElement.d.ts +3 -1
- package/dist/types/element/src/newElement.d.ts +6 -6
- package/dist/types/element/src/renderElement.d.ts +1 -7
- package/dist/types/element/src/resizeElements.d.ts +10 -10
- package/dist/types/element/src/resizeTest.d.ts +6 -5
- package/dist/types/element/src/selection.d.ts +3 -7
- package/dist/types/element/src/shape.d.ts +8 -7
- package/dist/types/element/src/textMeasurements.d.ts +1 -3
- package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
- package/dist/types/element/src/transformHandles.d.ts +8 -27
- package/dist/types/element/src/typeChecks.d.ts +4 -7
- package/dist/types/element/src/types.d.ts +7 -11
- package/dist/types/element/src/utils.d.ts +5 -2
- package/dist/types/element/src/zindex.d.ts +7 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +93 -139
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +67 -98
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +401 -771
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +86 -862
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +32 -48
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +107 -159
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +28 -46
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +66 -97
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +33 -49
- package/dist/types/excalidraw/actions/actionExport.d.ts +144 -1113
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -396
- package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +213 -312
- package/dist/types/excalidraw/actions/actionGroup.d.ts +70 -109
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +122 -178
- package/dist/types/excalidraw/actions/actionLink.d.ts +30 -46
- package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -413
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +18 -361
- package/dist/types/excalidraw/actions/actionProperties.d.ts +127 -2510
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +35 -55
- package/dist/types/excalidraw/actions/actionStyles.d.ts +32 -48
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +32 -48
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +32 -48
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +25 -43
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +32 -48
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +32 -48
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +33 -49
- package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -3
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/register.d.ts +2 -2
- package/dist/types/excalidraw/actions/types.d.ts +4 -4
- package/dist/types/excalidraw/appState.d.ts +12 -8
- package/dist/types/excalidraw/clipboard.d.ts +7 -31
- package/dist/types/excalidraw/components/Actions.d.ts +14 -4
- package/dist/types/excalidraw/components/App.d.ts +58 -59
- package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +1 -1
- package/dist/types/excalidraw/components/Card.d.ts +1 -3
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -4
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -3
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +0 -1
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -3
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
- package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -2
- package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
- package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
- package/dist/types/excalidraw/components/LinkButton.d.ts +4 -0
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +10 -0
- package/dist/types/excalidraw/components/Modal.d.ts +0 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
- package/dist/types/excalidraw/components/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
- package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
- package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
- package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
- package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
- package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
- package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatHistoryMenu.d.ts +15 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatInterface.d.ts +27 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/ChatMessage.d.ts +14 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/TTDChatPanel.d.ts +26 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/index.d.ts +3 -0
- package/dist/types/excalidraw/components/TTDDialog/Chat/useChatAgent.d.ts +8 -0
- package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +3 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +13 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +4 -25
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +2 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +13 -9
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -3
- package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +9 -0
- package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +8 -0
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +16 -16
- package/dist/types/excalidraw/components/TTDDialog/hooks/useChatManagement.d.ts +13 -0
- package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +14 -0
- package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +7 -0
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +91 -0
- package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +22 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +24 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/chat.d.ts +10 -0
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidValidation.d.ts +1 -0
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/Toast.d.ts +3 -3
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/dist/types/excalidraw/components/Trans.d.ts +2 -2
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +6 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +30 -32
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +6 -5
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +10 -18
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +3 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
- package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
- package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
- package/dist/types/excalidraw/components/icons.d.ts +21 -13
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +4 -3
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -2
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +25 -30
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +6 -6
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -16
- package/dist/types/excalidraw/data/blob.d.ts +323 -5
- package/dist/types/excalidraw/data/encode.d.ts +4 -4
- package/dist/types/excalidraw/data/encryption.d.ts +5 -5
- package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
- package/dist/types/excalidraw/data/index.d.ts +3 -3
- package/dist/types/excalidraw/data/json.d.ts +159 -2
- package/dist/types/excalidraw/data/library.d.ts +24 -9
- package/dist/types/excalidraw/data/restore.d.ts +25 -10
- package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
- package/dist/types/excalidraw/errors.d.ts +14 -0
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +4 -3
- package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
- package/dist/types/excalidraw/i18n.d.ts +2 -2
- package/dist/types/excalidraw/index.d.ts +6 -7
- package/dist/types/excalidraw/renderer/animation.d.ts +12 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -8
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -14
- package/dist/types/excalidraw/scene/Renderer.d.ts +5 -2
- package/dist/types/excalidraw/scene/export.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
- package/dist/types/excalidraw/scene/types.d.ts +22 -5
- package/dist/types/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/excalidraw/snapping.d.ts +5 -5
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
- package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
- package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
- package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
- package/dist/types/excalidraw/types.d.ts +29 -22
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -2
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/range.d.ts +1 -3
- package/dist/types/math/src/segment.d.ts +3 -3
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/export.d.ts +5 -5
- package/dist/types/utils/src/shape.d.ts +6 -6
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +7 -8
- package/dist/dev/chunk-LJB4UXX2.js.map +0 -7
- package/dist/dev/chunk-MFAYKRVR.js +0 -66
- package/dist/dev/chunk-MFAYKRVR.js.map +0 -7
- package/dist/dev/chunk-QF5FRM6O.js.map +0 -7
- package/dist/dev/locales/ar-SA-XORAP2EK.js.map +0 -7
- package/dist/dev/locales/az-AZ-NAUU3Z4Y.js.map +0 -7
- package/dist/dev/locales/bg-BG-AAABLFCY.js.map +0 -7
- package/dist/dev/locales/bn-BD-PM4AC5WG.js.map +0 -7
- package/dist/dev/locales/ca-ES-YNNMFRQX.js.map +0 -7
- package/dist/dev/locales/cs-CZ-DGZA5IKG.js.map +0 -7
- package/dist/dev/locales/da-DK-N76F4QAJ.js.map +0 -7
- package/dist/dev/locales/de-DE-DMRXZ2SZ.js.map +0 -7
- package/dist/dev/locales/el-GR-HIKPLEXI.js.map +0 -7
- package/dist/dev/locales/es-ES-AQYVXC32.js.map +0 -7
- package/dist/dev/locales/eu-ES-3TOEU5DE.js.map +0 -7
- package/dist/dev/locales/fa-IR-527GAKUP.js.map +0 -7
- package/dist/dev/locales/fi-FI-M3WLVDFP.js.map +0 -7
- package/dist/dev/locales/fr-FR-YE4VDJFI.js.map +0 -7
- package/dist/dev/locales/gl-ES-KMXUYGUN.js.map +0 -7
- package/dist/dev/locales/he-IL-4MU5N22B.js +0 -586
- package/dist/dev/locales/he-IL-4MU5N22B.js.map +0 -7
- package/dist/dev/locales/hi-IN-ZHZNZWFC.js +0 -586
- package/dist/dev/locales/hi-IN-ZHZNZWFC.js.map +0 -7
- package/dist/dev/locales/hu-HU-VIYZI3X4.js.map +0 -7
- package/dist/dev/locales/id-ID-22TWZNLA.js.map +0 -7
- package/dist/dev/locales/it-IT-MDEQ2SG3.js.map +0 -7
- package/dist/dev/locales/ja-JP-K2DI4W6B.js.map +0 -7
- package/dist/dev/locales/kaa-6BPSNM3R.js.map +0 -7
- package/dist/dev/locales/kab-KAB-2S7ZURK7.js.map +0 -7
- package/dist/dev/locales/kk-KZ-UJPYGRQQ.js.map +0 -7
- package/dist/dev/locales/km-KH-M5T5JKUE.js.map +0 -7
- package/dist/dev/locales/ko-KR-RQX37SNF.js.map +0 -7
- package/dist/dev/locales/ku-TR-5XJDIERL.js.map +0 -7
- package/dist/dev/locales/lt-LT-MGUBX6CA.js.map +0 -7
- package/dist/dev/locales/lv-LV-MD7N5VHD.js.map +0 -7
- package/dist/dev/locales/mr-IN-4XWMNGQC.js.map +0 -7
- package/dist/dev/locales/my-MM-O4Z74GN5.js.map +0 -7
- package/dist/dev/locales/nb-NO-BMB73KRH.js.map +0 -7
- package/dist/dev/locales/nl-NL-F2257BLQ.js.map +0 -7
- package/dist/dev/locales/nn-NO-NCORG7TS.js.map +0 -7
- package/dist/dev/locales/oc-FR-ATFBDMF6.js.map +0 -7
- package/dist/dev/locales/pa-IN-D2I375G4.js.map +0 -7
- package/dist/dev/locales/pl-PL-YJHOWAAW.js.map +0 -7
- package/dist/dev/locales/pt-BR-APOPYZJ7.js.map +0 -7
- package/dist/dev/locales/pt-PT-W56WCN7P.js +0 -586
- package/dist/dev/locales/pt-PT-W56WCN7P.js.map +0 -7
- package/dist/dev/locales/ro-RO-L575VRQA.js.map +0 -7
- package/dist/dev/locales/ru-RU-BLG6HZG5.js.map +0 -7
- package/dist/dev/locales/si-LK-KT7GGO6D.js.map +0 -7
- package/dist/dev/locales/sk-SK-DY6IPO5U.js.map +0 -7
- package/dist/dev/locales/sl-SI-5DZSRA47.js.map +0 -7
- package/dist/dev/locales/sv-SE-V32YHALQ.js.map +0 -7
- package/dist/dev/locales/ta-IN-5JRAGQAO.js.map +0 -7
- package/dist/dev/locales/th-TH-55ACRHDJ.js.map +0 -7
- package/dist/dev/locales/tr-TR-7QYBXDBO.js.map +0 -7
- package/dist/dev/locales/uk-UA-TJS2TMRH.js.map +0 -7
- package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js +0 -586
- package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js.map +0 -7
- package/dist/dev/locales/zh-CN-4MXUOFTH.js.map +0 -7
- package/dist/dev/locales/zh-HK-RBTGIU3U.js.map +0 -7
- package/dist/dev/locales/zh-TW-U5VF4CCU.js.map +0 -7
- package/dist/prod/chunk-I4UNSFV6.js +0 -12
- package/dist/prod/chunk-PYEQN4AH.js +0 -4
- package/dist/prod/chunk-Z3N5DIM6.js +0 -1
- package/dist/prod/locales/ar-SA-G6X2FPQ2.js +0 -10
- package/dist/prod/locales/az-AZ-76LH7QW2.js +0 -1
- package/dist/prod/locales/bg-BG-XCXSNQG7.js +0 -5
- package/dist/prod/locales/bn-BD-2XOGV67Q.js +0 -5
- package/dist/prod/locales/ca-ES-6MX7JW3Y.js +0 -8
- package/dist/prod/locales/cs-CZ-2BRQDIVT.js +0 -11
- package/dist/prod/locales/da-DK-5WZEPLOC.js +0 -5
- package/dist/prod/locales/de-DE-XR44H4JA.js +0 -8
- package/dist/prod/locales/el-GR-BZB4AONW.js +0 -10
- package/dist/prod/locales/en-TYY6KWIJ.js +0 -1
- package/dist/prod/locales/es-ES-U4NZUMDT.js +0 -9
- package/dist/prod/locales/eu-ES-A7QVB2H4.js +0 -11
- package/dist/prod/locales/fa-IR-HGAKTJCU.js +0 -8
- package/dist/prod/locales/fi-FI-Z5N7JZ37.js +0 -6
- package/dist/prod/locales/fr-FR-RHASNOE6.js +0 -9
- package/dist/prod/locales/gl-ES-HMX3MZ6V.js +0 -10
- package/dist/prod/locales/he-IL-6SHJWFNN.js +0 -10
- package/dist/prod/locales/hi-IN-IWLTKZ5I.js +0 -4
- package/dist/prod/locales/hu-HU-A5ZG7DT2.js +0 -7
- package/dist/prod/locales/id-ID-SAP4L64H.js +0 -10
- package/dist/prod/locales/it-IT-JPQ66NNP.js +0 -11
- package/dist/prod/locales/ja-JP-DBVTYXUO.js +0 -8
- package/dist/prod/locales/kaa-6HZHGXH3.js +0 -1
- package/dist/prod/locales/kab-KAB-ZGHBKWFO.js +0 -8
- package/dist/prod/locales/kk-KZ-P5N5QNE5.js +0 -1
- package/dist/prod/locales/km-KH-HSX4SM5Z.js +0 -11
- package/dist/prod/locales/ko-KR-MTYHY66A.js +0 -9
- package/dist/prod/locales/ku-TR-6OUDTVRD.js +0 -9
- package/dist/prod/locales/lt-LT-XHIRWOB4.js +0 -3
- package/dist/prod/locales/lv-LV-5QDEKY6T.js +0 -7
- package/dist/prod/locales/mr-IN-CRQNXWMA.js +0 -13
- package/dist/prod/locales/my-MM-5M5IBNSE.js +0 -1
- package/dist/prod/locales/nb-NO-T6EIAALU.js +0 -10
- package/dist/prod/locales/nl-NL-IS3SIHDZ.js +0 -8
- package/dist/prod/locales/nn-NO-6E72VCQL.js +0 -8
- package/dist/prod/locales/oc-FR-POXYY2M6.js +0 -8
- package/dist/prod/locales/pa-IN-N4M65BXN.js +0 -4
- package/dist/prod/locales/percentages-BXMCSKIN.js +0 -1
- package/dist/prod/locales/pl-PL-T2D74RX3.js +0 -9
- package/dist/prod/locales/pt-BR-5N22H2LF.js +0 -9
- package/dist/prod/locales/pt-PT-UZXXM6DQ.js +0 -9
- package/dist/prod/locales/ro-RO-JPDTUUEW.js +0 -11
- package/dist/prod/locales/ru-RU-B4JR7IUQ.js +0 -9
- package/dist/prod/locales/si-LK-N5RQ5JYF.js +0 -1
- package/dist/prod/locales/sk-SK-C5VTKIMK.js +0 -6
- package/dist/prod/locales/sl-SI-NN7IZMDC.js +0 -6
- package/dist/prod/locales/sv-SE-XGPEYMSR.js +0 -10
- package/dist/prod/locales/ta-IN-2NMHFXQM.js +0 -9
- package/dist/prod/locales/th-TH-HPSO5L25.js +0 -2
- package/dist/prod/locales/tr-TR-DEFEU3FU.js +0 -7
- package/dist/prod/locales/uk-UA-QMV73CPH.js +0 -6
- package/dist/prod/locales/vi-VN-M7AON7JQ.js +0 -5
- package/dist/prod/locales/zh-CN-LNUGB5OW.js +0 -10
- package/dist/prod/locales/zh-HK-E62DVLB3.js +0 -1
- package/dist/prod/locales/zh-TW-RAJ6MFWO.js +0 -9
- /package/dist/dev/{chunk-CP5DND7P.js.map → chunk-Y3BTNZQY.js.map} +0 -0
- /package/dist/dev/data/{image-OLV524AK.js.map → image-2BHUUSLM.js.map} +0 -0
- /package/dist/dev/locales/{en-SMAPCEOQ.js.map → en-JRVQ7H6V.js.map} +0 -0
- /package/dist/dev/locales/{percentages-YKFLWNK2.js.map → percentages-OGWD7R2K.js.map} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import"../chunk-SRAX5OIU.js";var r={paste:"\u8CBC\u4E0A",pasteAsPlaintext:"\u4EE5\u7D14\u6587\u5B57\u8CBC\u4E0A",pasteCharts:"\u8CBC\u4E0A\u5716\u8868",selectAll:"\u5168\u9078",multiSelect:"\u5C07\u7269\u4EF6\u52A0\u5165\u9078\u53D6\u7BC4\u570D",moveCanvas:"\u79FB\u52D5\u756B\u5E03",cut:"\u526A\u4E0B",copy:"\u8907\u88FD",copyAsPng:"\u4EE5 PNG \u683C\u5F0F\u5132\u5B58\u5230\u526A\u8CBC\u7C3F",copyAsSvg:"\u4EE5 SVG \u683C\u5F0F\u8907\u88FD\u5230\u526A\u8CBC\u7C3F",copyText:"\u4EE5\u6587\u5B57\u683C\u5F0F\u8907\u88FD\u81F3\u526A\u8CBC\u7C3F",copySource:"\u8907\u88FD\u4F86\u6E90\u81F3\u526A\u8CBC\u7C3F",convertToCode:"\u8F49\u63DB\u70BA\u7A0B\u5F0F\u78BC",bringForward:"\u4E0A\u79FB\u4E00\u5C64",sendToBack:"\u79FB\u5230\u6700\u5E95\u5C64",bringToFront:"\u7F6E\u65BC\u6700\u9802\u5C64",sendBackward:"\u5F80\u5F8C\u79FB\u4E00\u5C64",delete:"\u522A\u9664",copyStyles:"\u8907\u88FD\u6A23\u5F0F",pasteStyles:"\u8CBC\u4E0A\u6A23\u5F0F",stroke:"\u7B46\u756B",changeStroke:"\u8B8A\u66F4\u7B46\u756B\u984F\u8272",background:"\u80CC\u666F",changeBackground:"\u8B8A\u66F4\u80CC\u666F\u984F\u8272",fill:"\u586B\u6EFF",strokeWidth:"\u7B46\u8DE1\u5BEC\u5EA6",strokeStyle:"\u7B46\u756B\u6A23\u5F0F",strokeStyle_solid:"\u5BE6\u7DDA",strokeStyle_dashed:"\u865B\u7DDA",strokeStyle_dotted:"\u9EDE\u7DDA",sloppiness:"\u7DDA\u689D\u98A8\u683C",opacity:"\u900F\u660E\u5EA6",textAlign:"\u6587\u5B57\u5C0D\u9F4A",edges:"\u908A\u7DE3",sharp:"\u5C16\u92B3",round:"\u5E73\u6ED1",arrowheads:"\u7BAD\u982D",arrowhead_none:"\u7121",arrowhead_arrow:"\u7BAD\u982D",arrowhead_bar:"\u689D\u72C0\u7BAD\u982D",arrowhead_circle:"\u5713\u5F62",arrowhead_circle_outline:"\u5713\u5F62\uFF08\u5916\u6846\uFF09",arrowhead_triangle:"\u4E09\u89D2\u5F62",arrowhead_triangle_outline:"\u4E09\u89D2\u5F62\uFF08\u5916\u6846\uFF09",arrowhead_diamond:"\u83F1\u5F62",arrowhead_diamond_outline:"\u83F1\u5F62\uFF08\u5916\u6846\uFF09",arrowhead_crowfoot_many:"\u96DE\u722A\u7B26\u865F\uFF08\u591A\uFF09",arrowhead_crowfoot_one:"\u96DE\u722A\u7B26\u865F\uFF08\u4E00\uFF09",arrowhead_crowfoot_one_or_many:"\u96DE\u722A\u7B26\u865F\uFF08\u4E00\u6216\u591A\uFF09",more_options:"\u66F4\u591A\u9078\u9805",arrowtypes:"\u7BAD\u982D\u985E\u578B",arrowtype_sharp:"\u5C16\u92B3\u7BAD\u982D",arrowtype_round:"\u5F4E\u89D2\u7BAD\u982D",arrowtype_elbowed:"\u76F4\u89D2\u7BAD\u982D",fontSize:"\u5B57\u578B\u5927\u5C0F",fontFamily:"\u5B57\u578B\u7CFB\u5217",addWatermark:"\u52A0\u4E0A\u300C\u4EE5 Excalidraw \u88FD\u4F5C\u300D\u6D6E\u6C34\u5370",handDrawn:"\u624B\u5BEB",normal:"\u4E00\u822C",code:"\u4EE3\u78BC",small:"\u5C0F",medium:"\u4E2D",large:"\u5927",veryLarge:"\u7279\u5927",solid:"\u5BE6\u5FC3",hachure:"\u659C\u7DDA\u7B46\u89F8",zigzag:"\uFF3A\u5B57\u5F62",crossHatch:"\u4EA4\u53C9\u7B46\u89F8",thin:"\u7D30",bold:"\u7C97",left:"\u5DE6\u5074",center:"\u7F6E\u4E2D",right:"\u53F3\u5074",extraBold:"\u6975\u7C97",architect:"\u7CBE\u78BA",artist:"\u85DD\u8853",cartoonist:"\u5361\u901A",fileTitle:"\u6A94\u6848\u540D\u7A31",colorPicker:"\u8272\u5F69\u9078\u64C7\u5DE5\u5177",canvasColors:"\u4F7F\u7528\u65BC\u756B\u5E03",canvasBackground:"Canvas \u80CC\u666F",drawingCanvas:"\u7E6A\u5716 canvas",clearCanvas:"\u6E05\u9664\u756B\u5E03",layers:"\u5716\u5C64",actions:"\u52D5\u4F5C",language:"\u8A9E\u8A00",liveCollaboration:"\u5373\u6642\u5354\u4F5C...",duplicateSelection:"\u8907\u88FD",untitled:"\u7121\u6A19\u984C",name:"\u540D\u7A31",yourName:"\u4F60\u7684\u540D\u7A31",madeWithExcalidraw:"\u4EE5 Excalidraw \u88FD\u4F5C",group:"\u5EFA\u7ACB\u7FA4\u7D44",ungroup:"\u53D6\u6D88\u7FA4\u7D44",collaborators:"\u5354\u4F5C\u8005",toggleGrid:"\u5207\u63DB\u7DB2\u683C",addToLibrary:"\u52A0\u5165\u8CC7\u6599\u5EAB",removeFromLibrary:"\u5F9E\u8CC7\u6599\u5EAB\u4E2D\u79FB\u9664",libraryLoadingMessage:"\u8CC7\u6599\u5EAB\u8B80\u53D6\u4E2D\u2026",libraries:"\u700F\u89BD\u8CC7\u6599\u5EAB",loadingScene:"\u5834\u666F\u8B80\u53D6\u4E2D\u2026",loadScene:"\u5F9E\u6A94\u6848\u8F09\u5165\u5834\u666F",align:"\u5C0D\u9F4A",alignTop:"\u5C0D\u9F4A\u9802\u90E8",alignBottom:"\u5C0D\u9F4A\u5E95\u90E8",alignLeft:"\u5C0D\u9F4A\u5DE6\u5074",alignRight:"\u5C0D\u9F4A\u53F3\u5074",centerVertically:"\u5782\u76F4\u7F6E\u4E2D",centerHorizontally:"\u6C34\u5E73\u7F6E\u4E2D",distributeHorizontally:"\u6C34\u5E73\u5206\u5E03",distributeVertically:"\u5782\u76F4\u5206\u5E03",flipHorizontal:"\u6C34\u5E73\u7FFB\u8F49",flipVertical:"\u5782\u76F4\u7FFB\u8F49",viewMode:"\u6AA2\u8996\u6A21\u5F0F",share:"\u5206\u4EAB",showStroke:"\u986F\u793A\u7DDA\u689D\u6AA2\u8272\u5668",showBackground:"\u986F\u793A\u80CC\u666F\u6AA2\u8272\u5668",showFonts:"\u986F\u793A\u5B57\u578B\u9078\u55AE",toggleTheme:"\u5207\u63DB\u6DFA\u8272/\u6DF1\u8272\u4E3B\u984C",theme:"\u4E3B\u984C",personalLib:"\u500B\u4EBA\u8CC7\u6599\u5EAB",excalidrawLib:"Excalidraw \u8CC7\u6599\u5EAB",decreaseFontSize:"\u7E2E\u5C0F\u6587\u5B57",increaseFontSize:"\u653E\u5927\u6587\u5B57",unbindText:"\u53D6\u6D88\u7D81\u5B9A\u6587\u5B57",bindText:"\u7D50\u5408\u6587\u5B57\u81F3\u5BB9\u5668",createContainerFromText:"\u5C07\u6587\u5B57\u5305\u65BC\u5BB9\u5668\u4E2D",link:{edit:"\u7DE8\u8F2F\u9023\u7D50",editEmbed:"\u7DE8\u8F2F\u53EF\u5D4C\u5165\u9023\u7D50",create:"\u65B0\u589E\u9023\u7D50",label:"\u9023\u7D50",labelEmbed:"\u9023\u7D50\u8207\u5D4C\u5165",empty:"\u672A\u8A2D\u5B9A\u9023\u7D50",hint:"\u5728\u6B64\u8F38\u5165\u6216\u8CBC\u4E0A\u9023\u7D50",goToElement:"\u79FB\u81F3\u76EE\u6A19\u5143\u7D20"},lineEditor:{edit:"\u7DE8\u8F2F\u7DDA\u689D",editArrow:"\u7DE8\u8F2F\u7BAD\u982D"},polygon:{breakPolygon:"",convertToPolygon:""},elementLock:{lock:"\u9396\u5B9A",unlock:"\u89E3\u9396",lockAll:"\u5168\u90E8\u9396\u5B9A",unlockAll:"\u5168\u90E8\u89E3\u9396"},statusPublished:"\u5DF2\u767C\u5E03",sidebarLock:"\u5074\u6B04\u7DAD\u6301\u958B\u555F",selectAllElementsInFrame:"\u9078\u53D6\u6846\u67B6\u5167\u7684\u6240\u6709\u5143\u7D20",removeAllElementsFromFrame:"\u5F9E\u6846\u67B6\u5167\u79FB\u9664\u6240\u6709\u5143\u7D20",eyeDropper:"\u5F9E\u756B\u5E03\u4E2D\u9078\u53D6\u984F\u8272",textToDiagram:"\u6587\u5B57\u8F49\u5716\u8868",prompt:"\u63D0\u793A\u8A5E",followUs:"\u8FFD\u8E64\u6211\u5011",discordChat:"Discord \u804A\u5929\u5BA4",zoomToFitViewport:"\u7E2E\u653E\u81F3\u7B26\u5408 viewport",zoomToFitSelection:"\u7E2E\u653E\u81F3\u7B26\u5408\u9078\u53D6\u5340",zoomToFit:"\u7E2E\u653E\u81F3\u986F\u793A\u6240\u6709\u5143\u7D20",installPWA:"\u65BC\u672C\u6A5F\u5B89\u88DD Excalidraw (PWA)",autoResize:"\u555F\u7528\u6587\u5B57\u81EA\u52D5\u7E2E\u653E",imageCropping:"\u5716\u7247\u526A\u88C1",unCroppedDimension:"\u672A\u526A\u88C1\u5C3A\u5BF8",copyElementLink:"\u8907\u88FD\u6B64\u7269\u4EF6\u7684\u9023\u7D50",linkToElement:"\u9023\u7D50\u81F3\u7269\u4EF6",wrapSelectionInFrame:"\u5C07\u9078\u53D6\u5167\u5BB9\u653E\u5165\u6846\u67B6",tab:"",shapeSwitch:""},t={title:"\u9023\u7D50\u81F3\u7269\u4EF6",desc:"\u9EDE\u64CA\u756B\u5E03\u4E0A\u7684\u5F62\u72C0\u6216\u8CBC\u4E0A\u9023\u7D50",notFound:"\u7121\u6CD5\u5728\u756B\u5E03\u4E0A\u627E\u5230\u9023\u7D50\u7684\u7269\u4EF6"},a={noItems:"\u5C1A\u672A\u52A0\u5165\u4EFB\u4F55\u7269\u4EF6...",hint_emptyLibrary:"\u9078\u53D6\u756B\u5E03\u4E0A\u7684\u7269\u4EF6\u4EE5\u52A0\u5165\uFF0C\u6216\u5F9E\u4E0B\u65B9\u7684\u516C\u958B\u5132\u5B58\u5EAB\u4E2D\u5B89\u88DD\u8CC7\u6599\u5EAB\u3002",hint_emptyPrivateLibrary:"\u9078\u64C7\u756B\u5E03\u4E0A\u7684\u7269\u4EF6\u4EE5\u5728\u6B64\u52A0\u5165\u3002",search:{inputPlaceholder:"",heading:"",noResults:"",clearSearch:""}},i={title:"\u5728\u756B\u5E03\u4E0A\u5C0B\u627E",noMatch:"\u672A\u627E\u5230\u7B26\u5408\u9805\u76EE\u2026",singleResult:"\u7D50\u679C",multipleResults:"\u7D50\u679C",placeholder:"\u5728\u756B\u5E03\u4E0A\u5C0B\u627E\u6587\u5B57\u2026",frames:"",texts:""},l={clearReset:"\u91CD\u8A2D\u756B\u5E03",exportJSON:"\u532F\u51FA\u81F3\u6A94\u6848",exportImage:"\u532F\u51FA\u5716\u7247",export:"\u5132\u5B58\u81F3...",copyToClipboard:"\u8907\u88FD\u81F3\u526A\u8CBC\u7C3F",copyLink:"\u8907\u88FD\u9023\u7D50",save:"\u5132\u5B58\u76EE\u524D\u6A94\u6848",saveAs:"\u5132\u5B58\u70BA",load:"\u958B\u555F",getShareableLink:"\u53D6\u5F97\u5171\u4EAB\u9023\u7D50",close:"\u95DC\u9589",selectLanguage:"\u9078\u64C7\u8A9E\u8A00",scrollBackToContent:"\u6372\u52D5\u56DE\u5230\u5167\u5BB9",zoomIn:"\u653E\u5927",zoomOut:"\u7E2E\u5C0F",resetZoom:"\u91CD\u8A2D\u7E2E\u653E",menu:"\u9078\u55AE",done:"\u5B8C\u6210",edit:"\u7DE8\u8F2F",undo:"\u5FA9\u539F",redo:"\u91CD\u505A",resetLibrary:"\u91CD\u8A2D\u8CC7\u6599\u5EAB",createNewRoom:"\u5EFA\u7ACB\u65B0\u5354\u4F5C\u6703\u8B70\u5BA4",fullScreen:"\u5168\u87A2\u5E55",darkMode:"\u6DF1\u8272\u6A21\u5F0F",lightMode:"\u6DFA\u8272\u6A21\u5F0F",systemMode:"\u7CFB\u7D71\u6A21\u5F0F",zenMode:"\u5C08\u6CE8\u6A21\u5F0F",objectsSnapMode:"\u5438\u9644\u81F3\u7269\u4EF6",exitZenMode:"\u96E2\u958B\u5C08\u6CE8\u6A21\u5F0F",cancel:"\u53D6\u6D88",saveLibNames:"",clear:"\u6E05\u9664",remove:"\u522A\u9664",embed:"\u5207\u63DB\u5D4C\u5165",publishLibrary:"",submit:"\u9001\u51FA",confirm:"\u78BA\u8A8D",embeddableInteractionButton:"\u9EDE\u64CA\u4EE5\u4E92\u52D5"},n={clearReset:"\u9019\u5C07\u6703\u6E05\u9664\u6574\u500B canvas\u3002\u4F60\u78BA\u5B9A\u55CE\uFF1F",couldNotCreateShareableLink:"\u7121\u6CD5\u5EFA\u7ACB\u5171\u4EAB\u9023\u7D50\u3002",couldNotCreateShareableLinkTooBig:"\u7121\u6CD5\u5EFA\u7ACB\u5171\u4EAB\u9023\u7D50\uFF1A\u5834\u666F\u592A\u5927",couldNotLoadInvalidFile:"\u7121\u6CD5\u8B80\u53D6\u5931\u6548\u7684\u6A94\u6848\u3002",importBackendFailed:"\u5F8C\u7AEF\u8B80\u53D6\u5931\u6557\u3002",cannotExportEmptyCanvas:"\u7121\u6CD5\u8F38\u51FA\u7A7A\u767D\u7684 canvas\u3002",couldNotCopyToClipboard:"\u7121\u6CD5\u8907\u88FD\u5230\u526A\u8CBC\u7C3F",decryptFailed:"\u7121\u6CD5\u89E3\u5BC6\u8CC7\u6599\u3002",uploadedSecurly:"\u4E0A\u50B3\u5DF2\u901A\u904E end-to-end \u52A0\u5BC6\uFF0CExcalidraw \u4F3A\u670D\u5668\u548C\u7B2C\u4E09\u65B9\u7121\u6CD5\u7686\u8B80\u53D6\u5176\u5167\u5BB9\u3002",loadSceneOverridePrompt:"\u8B80\u53D6\u5916\u90E8\u5716\u6A23\u5C07\u53D6\u4EE3\u76EE\u524D\u7684\u5167\u5BB9\u3002\u662F\u5426\u8981\u7E7C\u7E8C\uFF1F",collabStopOverridePrompt:`\u505C\u6B62\u9023\u7DDA\u5C07\u8986\u84CB\u60A8\u5148\u524D\u65BC\u672C\u6A5F\u5132\u5B58\u7684\u7E6A\u5716\u9032\u5EA6\uFF0C\u662F\u5426\u78BA\u8A8D\uFF1F
|
|
2
|
+
|
|
3
|
+
\uFF08\u5982\u8981\u4FDD\u7559\u539F\u6709\u7684\u672C\u6A5F\u7E6A\u5716\u9032\u5EA6\uFF0C\u76F4\u63A5\u95DC\u9589\u700F\u89BD\u5668\u5206\u9801\u5373\u53EF\u3002\uFF09`,errorAddingToLibrary:"\u7121\u6CD5\u65BC\u6B64\u8CC7\u6599\u5EAB\u52A0\u5165\u9805\u76EE",errorRemovingFromLibrary:"\u7121\u6CD5\u7531\u6B64\u8CC7\u6599\u5EAB\u79FB\u9664\u9805\u76EE",confirmAddLibrary:"\u9019\u5C07\u6703\u5C07 {{numShapes}} \u500B\u5716\u5F62\u52A0\u5165\u4F60\u7684\u8CC7\u6599\u5EAB\uFF0C\u4F60\u78BA\u5B9A\u55CE\uFF1F",imageDoesNotContainScene:"\u6B64\u5716\u6A94\u4E2D\u672A\u5305\u542B\u5834\u666F\u8CC7\u6599\u3002\u8F38\u51FA\u6A94\u6848\u6642\u662F\u5426\u6709\u5305\u542B\u5834\u666F\u8CC7\u6599\uFF1F",cannotRestoreFromImage:"\u7121\u6CD5\u7531\u6B64\u6A94\u6848\u56DE\u5FA9\u5834\u666F\u3002",invalidSceneUrl:"\u7121\u6CD5\u7531\u63D0\u4F9B\u7684 URL \u532F\u5165\u5834\u666F\u3002\u53EF\u80FD\u662F\u767C\u751F\u7570\u5E38\uFF0C\u6216\u672A\u5305\u542B\u6709\u6548\u7684 Excalidraw JSON \u8CC7\u6599\u3002",resetLibrary:"\u9019\u6703\u6E05\u9664\u60A8\u7684\u8CC7\u6599\u5EAB\uFF0C\u662F\u5426\u78BA\u5B9A\uFF1F",removeItemsFromsLibrary:"\u5F9E\u8CC7\u6599\u5EAB\u522A\u9664 {{count}} \u9805\uFF1F",invalidEncryptionKey:"\u52A0\u5BC6\u9375\u5FC5\u9808\u70BA22\u5B57\u5143\u3002\u5373\u6642\u5354\u4F5C\u5DF2\u505C\u7528\u3002",collabOfflineWarning:`\u6C92\u6709\u53EF\u7528\u7684\u7DB2\u8DEF\u9023\u7DDA\u3002
|
|
4
|
+
\u8B8A\u66F4\u7121\u6CD5\u5132\u5B58\uFF01`,localStorageQuotaExceeded:""},s={unsupportedFileType:"\u4E0D\u652F\u63F4\u7684\u6A94\u6848\u985E\u578B\u3002",imageInsertError:"\u7121\u6CD5\u63D2\u5165\u5716\u7247\u3002\u8ACB\u7A0D\u5F8C\u518D\u8A66\u2026",fileTooBig:"\u6A94\u6848\u904E\u5927\u3002\u53EF\u63A5\u53D7\u7684\u6700\u5927\u5C3A\u5BF8\u70BA {{maxSize}} \u3002",svgImageInsertError:"\u7121\u6CD5\u63D2\u5165 SVG \u5716\u7247\u3002\u6B64 SVG \u6A94\u6848\u6709\u554F\u984C\u3002",failedToFetchImage:"\u7121\u6CD5\u7372\u53D6\u5716\u7247\u3002",cannotResolveCollabServer:"\u7121\u6CD5\u9023\u7D50\u81F3 collab \u4F3A\u670D\u5668\u3002\u8ACB\u91CD\u65B0\u6574\u7406\u5F8C\u518D\u8A66\u4E00\u6B21\u3002",importLibraryError:"\u7121\u6CD5\u8F09\u5165\u8CC7\u6599\u5EAB",saveLibraryError:"\u7121\u6CD5\u5C07\u8CC7\u6599\u5EAB\u5B58\u81F3\u5132\u5B58\u5340\u3002\u8ACB\u5C07\u8CC7\u6599\u5EAB\u5B58\u81F3\u672C\u6A5F\u6A94\u6848\u4EE5\u78BA\u4FDD\u4E0D\u6703\u5931\u53BB\u5DF2\u8B8A\u66F4\u7684\u90E8\u5206\u3002",collabSaveFailed:"\u7121\u6CD5\u5132\u5B58\u81F3\u5F8C\u7AEF\u8CC7\u6599\u5EAB\u3002\u82E5\u6B64\u554F\u984C\u6301\u7E8C\u767C\u751F\uFF0C\u8ACB\u5C07\u6A94\u6848\u5132\u5B58\u65BC\u672C\u6A5F\u4EE5\u78BA\u4FDD\u8CC7\u6599\u4E0D\u6703\u907A\u5931\u3002",collabSaveFailed_sizeExceeded:"\u7121\u6CD5\u5132\u5B58\u81F3\u5F8C\u7AEF\u8CC7\u6599\u5EAB\uFF0C\u53EF\u80FD\u7684\u539F\u56E0\u70BA\u756B\u5E03\u5C3A\u5BF8\u904E\u5927\u3002\u8ACB\u5C07\u6A94\u6848\u5132\u5B58\u65BC\u672C\u6A5F\u4EE5\u78BA\u4FDD\u8CC7\u6599\u4E0D\u6703\u907A\u5931\u3002",imageToolNotSupported:"\u5716\u7247\u5DF2\u505C\u7528",brave_measure_text_error:{line1:"\u770B\u8D77\u4F86\u60A8\u958B\u555F\u4E86 Brave \u700F\u89BD\u5668\u7684 <bold>Aggressively Block Fingerprinting</bold> \u8A2D\u5B9A\u3002",line2:"\u9019\u53EF\u80FD\u9020\u6210\u60A8\u756B\u5E03\u4E2D <bold>\u6587\u5B57\u5143\u7D20</bold> \u7684\u7570\u5E38\u3002",line3:"\u6211\u5011\u5F37\u70C8\u5EFA\u8B70\u60A8\u95DC\u9589\u6B64\u8A2D\u5B9A\u3002\u60A8\u53EF\u4EE5\u4F9D\u7167 <link>\u9019\u4E9B\u6B65\u9A5F</link> \u4F86\u9032\u884C\u3002",line4:"\u82E5\u95DC\u9589\u6B64\u8A2D\u5B9A\u4E26\u672A\u4FEE\u5FA9\u6587\u5B57\u5143\u7D20\u7684\u986F\u793A\u554F\u984C\uFF0C\u8ACB\u56DE\u5831\u65BC\u6211\u5011 GitHub \u4E0A\u7684 <issueLink>issue</issueLink>\uFF0C\u6216\u5728 <discordLink>Discord</discordLink> \u4E0A\u544A\u8A34\u6211\u5011\u3002"},libraryElementTypeError:{embeddable:"\u53EF\u5D4C\u5165\u5143\u7D20\u7121\u6CD5\u52A0\u5165\u8CC7\u6599\u5EAB",iframe:"IFrame \u5143\u7D20\u7121\u6CD5\u52A0\u5165\u8CC7\u6599\u5EAB",image:"\u5373\u5C07\u652F\u63F4\u52A0\u5165\u5716\u7247\u81F3\u8CC7\u6599\u5EAB\uFF01"},asyncPasteFailedOnRead:"\u7121\u6CD5\u8CBC\u4E0A\uFF08\u7121\u6CD5\u7531\u7CFB\u7D71\u526A\u8CBC\u7C3F\u8B80\u5165\uFF09",asyncPasteFailedOnParse:"\u7121\u6CD5\u8CBC\u4E0A",copyToSystemClipboardFailed:"\u7121\u6CD5\u8907\u88FD\u81F3\u526A\u8CBC\u7C3F"},d={selection:"\u9078\u53D6",lasso:"",image:"\u63D2\u5165\u5716\u7247",rectangle:"\u9577\u65B9\u5F62",diamond:"\u83F1\u5F62",ellipse:"\u6A62\u5713",arrow:"\u7BAD\u982D",line:"\u7DDA\u689D",freedraw:"\u7E6A\u5716",text:"\u6587\u5B57",library:"\u8CC7\u6599\u5EAB",lock:"\u53EF\u9023\u7E8C\u4F7F\u7528\u9078\u53D6\u7684\u5DE5\u5177",penMode:"\u7B46\u6A21\u5F0F - \u907F\u514D\u89F8\u6478",link:"\u70BA\u6240\u9078\u7684\u5F62\u72C0\u589E\u52A0\b/\u66F4\u65B0\u9023\u7D50",eraser:"\u6A61\u76AE\u64E6",frame:"\u6846\u67B6\u5DE5\u5177",magicframe:"\u7DDA\u6846\u7A3F\u8F49\u70BA\u7A0B\u5F0F\u78BC",embeddable:"\u5D4C\u5165\u7DB2\u7AD9",laser:"\u96F7\u5C04\u7B46",hand:"\u624B\u5F62\uFF08\u5E73\u79FB\u5DE5\u5177\uFF09",extraTools:"\u66F4\u591A\u5DE5\u5177",mermaidToExcalidraw:"Mermaid \u81F3 Excalidraw",convertElementType:""},c={rectangle:"\u77E9\u5F62",diamond:"\u83F1\u5F62",ellipse:"\u6A62\u5713\u5F62",arrow:"\u7BAD\u982D",line:"\u7DDA\u689D",freedraw:"\u81EA\u7531\u7E6A\u5716",text:"\u6587\u5B57",image:"\u5716\u7247",group:"\u7FA4\u7D44",frame:"\u6846\u67B6",magicframe:"\u7DDA\u6846\u7A3F\u8F49\u70BA\u7A0B\u5F0F\u78BC",embeddable:"\u5D4C\u5165\u7DB2\u7AD9",selection:"\u5DF2\u9078\u9805\u76EE",iframe:"IFrame\u6846\u67B6"},m={canvasActions:"canvas \u52D5\u4F5C",selectedShapeActions:"\u9078\u53D6\u5716\u5F62\u52D5\u4F5C",shapes:"\u5F62\u72C0"},p={dismissSearch:"",canvasPanning:"",linearElement:"\u9EDE\u64CA\u4EE5\u7E6A\u88FD\u591A\u9EDE\u66F2\u7DDA\uFF1B\u6216\u62D6\u66F3\u4EE5\u7E6A\u88FD\u76F4\u7DDA",arrowTool:"",arrowBindModifiers:"",freeDraw:"\u9EDE\u64CA\u4E26\u62D6\u66F3\u4F86\u7E6A\u5716\uFF0C\u653E\u958B\u5373\u7D50\u675F",text:"\u63D0\u793A\uFF1A\u4EA6\u53EF\u4F7F\u7528\u9078\u53D6\u5DE5\u5177\u5728\u4EFB\u4F55\u5730\u65B9\u96D9\u64CA\u4F86\u52A0\u5165\u6587\u5B57",embeddable:"\u9EDE\u64CA\u4E26\u62D6\u79FB\u4EE5\u5EFA\u7ACB\u5D4C\u5165\u7DB2\u7AD9",text_selected:"",text_editing:"",linearElementMulti:"",lockAngle:"",resize:"",resizeImage:"",rotate:"",lineEditor_info:"",lineEditor_line_info:"",lineEditor_pointSelected:"",lineEditor_nothingSelected:"",publishLibrary:"\u767C\u5E03\u500B\u4EBA\u8CC7\u6599\u5EAB",bindTextToElement:"",createFlowchart:"",deepBoxSelect:"",eraserRevert:"",firefox_clipboard_write:`\u6B64\u529F\u80FD\u6709\u6A5F\u6703\u900F\u904E\u5C07 "dom.events.asyncClipboard.clipboardItem" \u8A2D\u5B9A\u70BA "true" \u4F86\u958B\u555F\u3002
|
|
5
|
+
\u82E5\u8981\u8B8A\u66F4 Firefox \u700F\u89BD\u5668\u7684\u6B64\u8A2D\u5B9A\u503C\uFF0C\u8ACB\u81F3 "about:config" \u9801\u9762\u3002`,disableSnapping:"",enterCropEditor:"",leaveCropEditor:""},b={cannotShowPreview:"\u7121\u6CD5\u986F\u793A\u9810\u89BD",canvasTooBig:"\u756B\u5E03\u53EF\u80FD\u904E\u5927",canvasTooBigTip:"\u63D0\u793A\uFF1A\u53EF\u5617\u8A66\u5C07\u6700\u9060\u7684\u5143\u7D20\u79FB\u52D5\u81F3\u8F03\u96C6\u4E2D\u7684\u4F4D\u7F6E"},g={headingMain:"\u767C\u751F\u932F\u8AA4\uFF0C\u5617\u8A66<button>\u91CD\u65B0\u8F09\u5165\u9801\u9762\u3002</button>",clearCanvasMessage:"\u82E5\u91CD\u65B0\u8F09\u5165\u4ECD\u7121\u6CD5\u89E3\u6C7A\u554F\u984C\uFF0C\u5617\u8A66<button>\u6E05\u9664 canvas\u3002</button>",clearCanvasCaveat:"\u6B64\u52D5\u4F5C\u5C07\u9020\u6210\u76EE\u524D\u7684\u4F5C\u54C1\u88AB\u79FB\u9664\u3002",trackedToSentry:"\u6B64\u932F\u8AA4\u8207\u5176\u8B58\u5225\u78BC{{eventId}}\u5C07\u7531\u7CFB\u7D71\u8A18\u9304\u3002",openIssueMessage:"\u6211\u5011\u5C07\u8B39\u614E\u8655\u7406\uFF0C\u4F60\u7684\u4F5C\u54C1\u5167\u5BB9\u4E0D\u6703\u88AB\u5305\u542B\u5728\u932F\u8AA4\u5831\u544A\u4E2D\u3002\u82E5\u4F60\u7684\u4F5C\u54C1\u4E0D\u9700\u4FDD\u6301\u79C1\u5BC6\uFF0C\u8ACB\u8003\u616E\u4F7F\u7528\u6211\u5011\u7684<button>bug tracker\u3002</button>\u8ACB\u5C07\u4E0B\u5217\u8CC7\u8A0A\u8907\u88FD\u8CBC\u4E0A\u81F3 GitHub issue \u4E2D\u3002",sceneContent:"\u4F5C\u54C1\u5167\u5BB9\uFF1A"},u={or:"\u6216"},h={desc_intro:"\u9080\u8ACB\u5176\u4ED6\u4EBA\u4E00\u8D77\u5354\u4F5C",desc_privacy:"\u4E0D\u7528\u64D4\u5FC3\uFF0C\u6B64\u9023\u7DDA\u70BA\u7AEF\u5230\u7AEF\u52A0\u5BC6\u4E14\u5B8C\u5168\u79C1\u6709\uFF0C\u5373\u4F7F\u662F\u6211\u5011\u7684\u4F3A\u670D\u5668\u4E5F\u7121\u6CD5\u770B\u898B\u60A8\u7684\u7E6A\u5716\u3002",button_startSession:"\u958B\u59CB\u9023\u7DDA",button_stopSession:"\u505C\u6B62\u9023\u7DDA",desc_inProgressIntro:"\u5373\u6642\u5354\u4F5C\u9023\u7DDA\u6B63\u5728\u9032\u884C\u4E2D\u3002",desc_shareLink:"\u5C07\u6B64\u9023\u7D50\u5206\u4EAB\u7D66\u6B32\u5354\u4F5C\u7684\u5C0D\u8C61\uFF1A",desc_exitSession:"\u505C\u6B62\u9023\u7DDA\u5C07\u4E2D\u65B7\u4F60\u8207\u5354\u4F5C\u6703\u8B70\u5BA4\u7684\u9023\u7D50\uFF0C\u4F46\u4F60\u4ECD\u53EF\u65BC\u672C\u6A5F\u7DE8\u8F2F\u6B64\u4F5C\u54C1\u3002\u610F\u6307\u505C\u6B62\u9023\u7DDA\u5F8C\u4F60\u7684\u7DE8\u8F2F\u4E0D\u6703\u88AB\u5148\u524D\u5171\u540C\u5354\u4F5C\u7684\u4EBA\u770B\u898B\uFF0C\u4E14\u4ED6\u5011\u53EF\u7E7C\u7E8C\u5171\u540C\u5354\u4F5C\u53E6\u4E00\u500B\u7248\u672C\u3002",shareTitle:"\u52A0\u5165 Excalidraw \u4E0A\u7684\u5373\u6642\u5354\u4F5C\u6703\u8B70\u5BA4"},w={title:"\u932F\u8AA4"},y={disk_title:"\u5132\u5B58\u81F3\u786C\u789F",disk_details:"\u5C07\u5834\u666F\u532F\u51FA\u70BA\u53EF\u4F9B\u532F\u5165\u4E4B\u6A94\u6848",disk_button:"\u5132\u5B58\u81F3\u6A94\u6848",link_title:"\u53EF\u5171\u4EAB\u9023\u7D50",link_details:"\u532F\u51FA\u70BA\u552F\u8B80\u9023\u7D50",link_button:"\u532F\u51FA\u70BA\u9023\u7D50",excalidrawplus_description:"\u5C07\u6B64\u5834\u666F\u5132\u5B58\u81F3\u4F60\u7684 Excalidraw+ \u5DE5\u4F5C\u5340",excalidrawplus_button:"\u8F38\u51FA",excalidrawplus_exportError:"\u76EE\u524D\u7121\u6CD5\u8F38\u51FA\u81F3 Excalidraw+"},S={blog:"\u95B1\u8B80\u90E8\u843D\u683C",click:"\u9EDE\u64CA",deepSelect:"\u6DF1\u5EA6\u9078\u53D6",deepBoxSelect:"\u5728\u5BB9\u5668\u5167\u6DF1\u5EA6\u9078\u53D6\u4E26\u907F\u514D\u62D6\u66F3",createFlowchart:"\u7531\u57FA\u672C\u578B\u5EFA\u7ACB\u6D41\u7A0B\u5716",navigateFlowchart:"\u5C0E\u89BD\u6D41\u7A0B\u5716",curvedArrow:"\u66F2\u7BAD\u982D",curvedLine:"\u66F2\u7DDA",documentation:"\u6587\u4EF6",doubleClick:"\u96D9\u64CA",drag:"\u62D6\u66F3",editor:"\u7DE8\u8F2F\u5668",editLineArrowPoints:"\u7DE8\u8F2F\u7DDA/\u7BAD\u982D\u63A7\u5236\u9EDE",editText:"\u7DE8\u8F2F\u6587\u5B57/\u589E\u52A0\u6A19\u7C64",github:"\u767C\u73FE\u7570\u5E38\uFF1F\u56DE\u5831\u554F\u984C",howto:"\u53C3\u7167\u6211\u5011\u7684\u8AAA\u660E",or:"\u6216",preventBinding:"\u907F\u514D\u7BAD\u865F\u9023\u7D50",tools:"\u5DE5\u5177",shortcuts:"\u9375\u76E4\u5FEB\u901F\u9375",textFinish:"\u5B8C\u6210\u7DE8\u8F2F\uFF08\u6587\u5B57\u7DE8\u8F2F\u5668\uFF09",textNewLine:"\u63DB\u884C\uFF08\u6587\u5B57\u7DE8\u8F2F\u5668\uFF09",title:"\u8AAA\u660E",view:"\u6AA2\u8996",zoomToFit:"\u653E\u5927\u81F3\u586B\u6EFF\u756B\u9762",zoomToSelection:"\u7E2E\u653E\u81F3\u9078\u53D6\u5340",toggleElementLock:"\u9396\u5B9A/\u89E3\u9396\u5DF2\u9078\u7684\u9805\u76EE",movePageUpDown:"\u5411\u4E0A/\u4E0B\u79FB\u52D5\u9801\u9762",movePageLeftRight:"\u5411\u5DE6/\u53F3\u79FB\u52D5\u9801\u9762",cropStart:"\u88C1\u5207\u5716\u7247",cropFinish:"\u5B8C\u6210\u5716\u7247\u88C1\u5207"},k={title:"\u6E05\u9664\u756B\u5E03"},v={title:"\u767C\u5E03\u8CC7\u6599\u5EAB",itemName:"\u9805\u76EE\u540D\u7A31",authorName:"\u4F5C\u8005\u540D\u7A31",githubUsername:"GitHub \u5E33\u865F",twitterUsername:"Twitter \u5E33\u865F",libraryName:"\u8CC7\u6599\u5EAB\u540D\u7A31",libraryDesc:"\u8CC7\u6599\u5EAB\u8AAA\u660E",website:"\u7DB2\u7AD9",placeholder:{authorName:"\u60A8\u7684\u540D\u7A31\u6216\u5E33\u865F",libraryName:"\u60A8\u7684\u8CC7\u6599\u5EAB\u540D\u7A31",libraryDesc:"\u63D0\u4F9B\u60A8\u7684\u8CC7\u6599\u5EAB\u8AAA\u660E\u4EE5\u5229\u4ED6\u4EBA\u7406\u89E3\u5176\u7528\u9014",githubHandle:"Github handle\uFF08\u9078\u586B\uFF09\uFF0C\u586B\u5BEB\u5F8C\u60A8\u53EF\u7DE8\u8F2F\u5DF2\u9001\u51FA\u5F85\u5BE9\u67E5\u7684\u8CC7\u6599\u5EAB",twitterHandle:"Twitter \u5E33\u865F\uFF08\u9078\u586B\uFF09\uFF0C\u586B\u5BEB\u5F8C\u82E5\u6211\u5011\u5728 Twitter \u63A8\u5EE3\u6642\u53EF\u63D0\u53CA\u60A8",website:"\u60A8\u500B\u4EBA\u7DB2\u7AD9\u6216\u5176\u4ED6\u7DB2\u7AD9\u7684\u9023\u7D50\uFF08\u9078\u586B\uFF09"},errors:{required:"\u5FC5\u586B",website:"\u8ACB\u8F38\u5165\u6709\u6548\u7684 URL"},noteDescription:"\u9001\u51FA\u60A8\u7684\u8CC7\u6599\u5EAB\u5F8C\u5C07\u88AB\u5305\u542B\u65BC<link>\u516C\u958B\u8CC7\u6599\u5EAB repository</link>\u4EE5\u5229\u4ED6\u4EBA\u5728\u5176\u7E6A\u5716\u4E2D\u4F7F\u7528\u3002",noteGuidelines:"\u8CC7\u6599\u5EAB\u9700\u5148\u7D93\u4EBA\u5DE5\u5BE9\u67E5\u3002\u8ACB\u95B1\u8B80<link>\u8AAA\u660E\u6587\u4EF6</link>\u518D\u9001\u51FA\u3002\u82E5\u9700\u6E9D\u901A\u8207\u4FEE\u6539\u6642\u8981\u900F\u904E GitHub \u5E33\u865F\u4F86\u9032\u884C\uFF0C\u4F46\u4E26\u975E\u5F37\u5236\u9700\u6C42\u3002",noteLicense:"\u9001\u51FA\u5373\u4EE3\u8868\u60A8\u540C\u610F\u6B64\u8CC7\u6599\u5EAB\u5C07\u767C\u5E03\u6642\u4F7F\u7528 <link>MIT \u6388\u6B0A\uFF0C</link>\u7C21\u55AE\u4F86\u8AAA\u662F\u6307\u4EFB\u4F55\u4EBA\u90FD\u80FD\u4E0D\u53D7\u9650\u5236\u7684\u4F7F\u7528\u3002",noteItems:"\u6BCF\u500B\u8CC7\u6599\u5EAB\u9805\u76EE\u90FD\u6709\u7368\u7ACB\u7684\u540D\u7A31\u6545\u53EF\u7BE9\u9078\u3002\u6703\u5305\u542B\u4E0B\u5217\u8CC7\u6599\u5EAB\u9805\u76EE\uFF1A",atleastOneLibItem:"\u8ACB\u9078\u64C7\u81F3\u5C11\u4E00\u9805\u8CC7\u6599\u5EAB\u9805\u76EE",republishWarning:"\u6CE8\u610F\uFF1A\u90E8\u5206\u9078\u53D6\u4E2D\u7684\u7269\u4EF6\u5148\u524D\u5DF2\u767C\u5E03/\u9001\u51FA\u904E\u3002\u5EFA\u8B70\u50C5\u5728\u8981\u66F4\u65B0\u73FE\u5B58\u8CC7\u6599\u5EAB\u6216\u5DF2\u9001\u51FA\u7684\u7269\u4EF6\u6642\u624D\u91CD\u65B0\u9001\u51FA\u9019\u4E9B\u7269\u4EF6\u3002"},x={title:"\u8CC7\u6599\u5EAB\u5DF2\u9001\u51FA",content:"\u611F\u8B1D {{authorName}} \u3002\u60A8\u7684\u8CC7\u6599\u5EAB\u5DF2\u9001\u51FA\u5F85\u5BE9\u67E5\u3002\u60A8\u53EF\u67E5\u770B\u76EE\u524D\u72C0\u614B<link>\u5728\u6B64</link>"},T={resetLibrary:"\u91CD\u8A2D\u8CC7\u6599\u5EAB",removeItemsFromLib:"\u5F9E\u8CC7\u6599\u5EAB\u79FB\u9664\u6240\u9078\u7684\u9805\u76EE"},_={header:"\u532F\u51FA\u5716\u7247",label:{withBackground:"\u80CC\u666F",onlySelected:"\u50C5\u9078\u53D6\u7269\u4EF6",darkMode:"\u6DF1\u8272\u6A21\u5F0F",embedScene:"\u5D4C\u5165\u5834\u666F",scale:"\u7E2E\u653E\u6BD4\u4F8B",padding:"\u5167\u9593\u8DDD"},tooltip:{embedScene:`\u7528\u65BC\u56DE\u5FA9\u5834\u666F\u7684\u5834\u666F\u8CC7\u6599\u6703\u88AB\u5305\u542B\u5728\u8F38\u51FA\u7684 PNG/SVG \u6A94\u6848\u4E2D\u3002
|
|
6
|
+
\u6703\u589E\u52A0\u8F38\u51FA\u7684\u6A94\u6848\u5927\u5C0F\u3002`},title:{exportToPng:"\u8F38\u51FA\u6210 PNG",exportToSvg:"\u8F38\u51FA\u6210 SVG",copyPngToClipboard:"\u8907\u88FD PNG \u81F3\u526A\u8CBC\u7C3F"},button:{exportToPng:"PNG",exportToSvg:"SVG",copyPngToClipboard:"\u8907\u88FD\u81F3\u526A\u8CBC\u7C3F"}},L={tooltip:"\u4F60\u7684\u4F5C\u54C1\u5DF2\u4F7F\u7528 end-to-end \u65B9\u5F0F\u52A0\u5BC6\uFF0CExcalidraw \u7684\u4F3A\u670D\u5668\u4E5F\u7121\u6CD5\u53D6\u5F97\u5176\u5167\u5BB9\u3002",link:"Excalidraw \u7AEF\u5230\u7AEF\u52A0\u5BC6\u7684\u76F8\u95DC\u90E8\u843D\u683C\u6587\u7AE0"},E={angle:"\u89D2\u5EA6",shapes:"\u5F62\u72C0",height:"\u9AD8\u5EA6",scene:"\u5834\u666F",selected:"\u5DF2\u9078",storage:"\u5132\u5B58",fullTitle:"\u756B\u5E03\u8207\u5F62\u72C0\u5C6C\u6027\u8A2D\u5B9A",title:"\u5C6C\u6027",generalStats:"\u4E00\u822C",elementProperties:"\u5F62\u72C0\u5C6C\u6027",total:"\u5408\u8A08",version:"\u7248\u672C",versionCopy:"\u9EDE\u64CA\u8907\u88FD",versionNotAvailable:"\u7121\u6CD5\u53D6\u5F97\u7248\u672C",width:"\u5BEC\u5EA6"},f={addedToLibrary:"\u52A0\u5165\u8CC7\u6599\u5EAB",copyStyles:"\u5DF2\u8907\u88FD\u6A23\u5F0F",copyToClipboard:"\u8907\u88FD\u81F3\u526A\u8CBC\u7C3F\u3002",copyToClipboardAsPng:`\u4EE5 PNG \u683C\u5F0F\u5C07 {{exportSelection}} \u8907\u88FD\u81F3\u526A\u8CBC\u7C3F
|
|
7
|
+
({{exportColorScheme}})`,copyToClipboardAsSvg:`\u4EE5 SVG \u683C\u5F0F\u5C07 {{exportSelection}} \u8907\u88FD\u81F3\u526A\u8CBC\u7C3F
|
|
8
|
+
({{exportColorScheme}})`,fileSaved:"\u5DF2\u5132\u5B58\u6A94\u6848\u3002",fileSavedToFilename:"\u5132\u5B58\u70BA {filename}",canvas:"\u756B\u5E03",selection:"\u5DF2\u9078\u9805\u76EE",pasteAsSingleElement:`\u4F7F\u7528 {{shortcut}} \u4EE5\u505A\u70BA\u55AE\u4E00\u7269\u4EF6\u8CBC\u4E0A\uFF0C
|
|
9
|
+
\u6216\u8CBC\u4E0A\u81F3\u73FE\u6709\u7684\u6587\u5B57\u7DE8\u8F2F\u5668`,unableToEmbed:"\u76EE\u524D\u4E0D\u5141\u8A31\u5D4C\u5165\u6B64\u7DB2\u5740\u3002\u60A8\u53EF\u81F3 GitHub \u63D0\u51FA issue \u4EE5\u8981\u6C42\u5C07\u6B64\u7DB2\u5740\u52A0\u5165\u5408\u683C\u540D\u55AE\u3002",unrecognizedLinkFormat:"\u60A8\u5D4C\u5165\u7684\u9023\u7D50\u683C\u5F0F\u4E0D\u7B26\u3002\u8ACB\u5617\u8A66\u8CBC\u5165\u539F\u7DB2\u7AD9\u6240\u63D0\u4F9B\u7684\u300C\u5D4C\u5165\u300D\u5B57\u4E32\u3002",elementLinkCopied:"\u9023\u7D50\u5DF2\u8907\u88FD\u81F3\u526A\u8CBC\u7C3F"},F={transparent:"\u900F\u660E",black:"\u9ED1",white:"\u767D",red:"\u7D05",pink:"\u7C89\u7D05",grape:"\u6DF1\u7D2B",violet:"\u85CD\u7D2B",gray:"\u7070",blue:"\u85CD",cyan:"\u9752",teal:"\u85CD\u7DA0",green:"\u7DA0",yellow:"\u9EC3",orange:"\u6A58",bronze:"\u9285"},C={app:{center_heading:"\u6240\u6709\u8CC7\u6599\u7686\u5DF2\u5728\u700F\u89BD\u5668\u4E2D\u5132\u5B58\u65BC\u672C\u6A5F",center_heading_plus:"\u60A8\u662F\u5426\u662F\u8981\u524D\u5F80 Excalidraw+ \uFF1F",menuHint:"\u8F38\u51FA\u3001\u504F\u597D\u8A2D\u5B9A\u3001\u8A9E\u8A00..."},defaults:{menuHint:"\u8F38\u51FA\u3001\u504F\u597D\u8A2D\u5B9A\u53CA\u5176\u4ED6...",center_heading:"\u5716\u8868\u3002\u88FD\u4F5C\u3002\u8D85\u7C21\u55AE\u3002",toolbarHint:"\u9078\u500B\u5DE5\u5177\u958B\u59CB\u756B\u5716\u5427\uFF01",helpHint:"\u5FEB\u901F\u9375\u8207\u8AAA\u660E"}},P={color:"",mostUsedCustomColors:"\u6700\u5E38\u4F7F\u7528\u7684\u81EA\u8A02\u984F\u8272",colors:"\u984F\u8272",shades:"\u6F38\u8B8A\u8272",hexCode:"Hex \u78BC",noShades:"\u6C92\u6709\u6B64\u984F\u8272\u7684\u6F38\u8B8A\u8272"},A={action:{exportToImage:{title:"\u532F\u51FA\u70BA\u5716\u7247",button:"\u532F\u51FA\u70BA\u5716\u7247",description:"\u5C07\u5834\u666F\u532F\u51FA\u70BA\u53EF\u4F9B\u532F\u5165\u7684\u5716\u7247\u6A94\u6848"},saveToDisk:{title:"\u5132\u5B58\u81F3\u786C\u789F",button:"\u5132\u5B58\u81F3\u786C\u789F",description:"\u5C07\u5834\u666F\u532F\u51FA\u70BA\u53EF\u4F9B\u532F\u5165\u7684\u6A94\u6848"},excalidrawPlus:{title:"Excalidraw+",button:"\u532F\u51FA\u81F3 Excalidraw+",description:"\u5C07\u6B64\u5834\u666F\u5132\u5B58\u81F3\u60A8\u7684 Excalidraw+ \u5DE5\u4F5C\u5340"}},modal:{loadFromFile:{title:"\u5F9E\u6A94\u6848\u8F09\u5165",button:"\u5F9E\u6A94\u6848\u8F09\u5165",description:"\u5F9E\u6A94\u6848\u8F09\u5165\u5C07<bold>\u53D6\u4EE3\u60A8\u76EE\u524D\u7684\u5167\u5BB9</bold>\u3002<br></br>\u53EF\u5148\u4F7F\u7528\u4E0B\u65B9\u7684\u9078\u9805\u5099\u4EFD\u60A8\u7684\u7E6A\u5716\u3002"},shareableLink:{title:"\u5F9E\u9023\u7D50\u8F09\u5165",button:"\u53D6\u4EE3\u6211\u7684\u5167\u5BB9",description:"\u8F09\u5165\u5916\u90E8\u7E6A\u5716\u5C07<bold>\u53D6\u4EE3\u60A8\u76EE\u524D\u7684\u5167\u5BB9</bold>\u3002<br></br>\u53EF\u5148\u4F7F\u7528\u4E0B\u65B9\u7684\u9078\u9805\u5099\u4EFD\u60A8\u7684\u7E6A\u5716\u3002"}}},N={title:"Mermaid \u81F3 Excalidraw",button:"\u63D2\u5165",description:"\u76EE\u524D\u50C5\u652F\u63F4 <flowchartLink>Flowchart</flowchartLink> \u3001 <sequenceLink>Sequence</sequenceLink> \u53CA <classLink>Class </classLink> \u5716\u8868\u3002\u5176\u9918\u6A94\u6848\u985E\u578B\u5728 Excalidraw \u5C07\u6703\u4EE5\u5716\u50CF\u5448\u73FE\u3002",syntax:"Mermaid \u8A9E\u6CD5",preview:"\u9810\u89BD"},I={placeholder:"\u5FEB\u901F\u641C\u5C0B"},z={badge:{old:"\u820A\u7248"},sceneFonts:"\u5728\u6B64\u5834\u666F\u4E2D",availableFonts:"\u53EF\u7528\u5B57\u578B",empty:"\u627E\u4E0D\u5230\u5B57\u578B"},D={empty:"\u627E\u4E0D\u5230\u4F7F\u7528\u8005",hint:{text:"\u9EDE\u64CA\u4F7F\u7528\u8005\u4EE5\u9032\u884C\u8FFD\u8E64",followStatus:"\u60A8\u6B63\u5728\u8FFD\u8E64\u6B64\u4F7F\u7528\u8005",inCall:"\u4F7F\u7528\u8005\u6B63\u5728\u8A9E\u97F3\u901A\u8A71\u4E2D",micMuted:"\u4F7F\u7528\u8005\u7684\u9EA5\u514B\u98A8\u5DF2\u975C\u97F3",isSpeaking:"\u4F7F\u7528\u8005\u8AAA\u8A71\u4E2D"}},B={title:"\u6307\u4EE4\u9762\u677F",shortcuts:{select:"\u9078\u53D6",confirm:"\u78BA\u8A8D",close:"\u95DC\u9589"},recents:"\u6700\u8FD1\u4F7F\u7528",search:{placeholder:"\u641C\u5C0B\u9078\u55AE\u8207\u6307\u4EE4\u4E26\u627E\u51FA\u96B1\u85CF\u529F\u80FD",noMatch:"\u6C92\u6709\u7B26\u5408\u7684\u6307\u4EE4\u2026"},itemNotAvailable:"\u6307\u4EE4\u7121\u6CD5\u4F7F\u7528\u2026",shortcutHint:"\u4F7F\u7528 {{shortcut}} \u958B\u555F\u6307\u4EE4\u9762\u677F"},M={ctrl:"",option:"",cmd:"",alt:"",escape:"",enter:"",shift:"",spacebar:"",delete:"",mmb:""},G={labels:r,elementLink:t,library:a,search:i,buttons:l,alerts:n,errors:s,toolBar:d,element:c,headings:m,hints:p,canvasError:b,errorSplash:g,shareDialog:u,roomDialog:h,errorDialog:w,exportDialog:y,helpDialog:S,clearCanvasDialog:k,publishDialog:v,publishSuccessDialog:x,confirmDialog:T,imageExportDialog:_,encrypted:L,stats:E,toast:f,colors:F,welcomeScreen:C,colorPicker:P,overwriteConfirm:A,mermaid:N,quickSearch:I,fontList:z,userList:D,commandPalette:B,keys:M};export{n as alerts,l as buttons,b as canvasError,k as clearCanvasDialog,P as colorPicker,F as colors,B as commandPalette,T as confirmDialog,G as default,c as element,t as elementLink,L as encrypted,w as errorDialog,g as errorSplash,s as errors,y as exportDialog,z as fontList,m as headings,S as helpDialog,p as hints,_ as imageExportDialog,M as keys,r as labels,a as library,N as mermaid,A as overwriteConfirm,v as publishDialog,x as publishSuccessDialog,I as quickSearch,h as roomDialog,i as search,u as shareDialog,E as stats,f as toast,d as toolBar,D as userList,C as welcomeScreen};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"./chunk-
|
|
1
|
+
import{a,b,c,d}from"./chunk-Z5NKEFVG.js";import"./chunk-A66AFZZU.js";import"./chunk-SRAX5OIU.js";export{a as Commands,b as subsetToBase64,c as subsetToBinary,d as toBase64};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r,c as t}from"./chunk-
|
|
1
|
+
import{a as r,c as t}from"./chunk-Z5NKEFVG.js";import"./chunk-A66AFZZU.js";import"./chunk-SRAX5OIU.js";var s=import.meta.url?new URL(import.meta.url):void 0;typeof window>"u"&&typeof self<"u"&&(self.onmessage=async e=>{switch(e.data.command){case r.Subset:let a=await t(e.data.arrayBuffer,e.data.codePoints);self.postMessage(a,{transfer:[a]});break}});export{s as WorkerUrl};
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import type { Merge } from "./utility-types";
|
|
3
|
-
export declare const COLOR_OUTLINE_CONTRAST_THRESHOLD = 240;
|
|
4
|
-
export type ColorPickerColor = Exclude<keyof oc, "indigo" | "lime"> | "transparent" | "bronze";
|
|
1
|
+
export declare const applyDarkModeFilter: (color: string) => string;
|
|
5
2
|
export type ColorTuple = readonly [string, string, string, string, string];
|
|
6
|
-
export type ColorPalette = Merge<Record<ColorPickerColor, ColorTuple>, {
|
|
7
|
-
black: "#1e1e1e";
|
|
8
|
-
white: "#ffffff";
|
|
9
|
-
transparent: "transparent";
|
|
10
|
-
}>;
|
|
11
3
|
export type ColorPaletteCustom = {
|
|
12
4
|
[key: string]: ColorTuple | string;
|
|
13
5
|
};
|
|
@@ -17,46 +9,74 @@ export declare const COLORS_PER_ROW = 5;
|
|
|
17
9
|
export declare const DEFAULT_CHART_COLOR_INDEX = 4;
|
|
18
10
|
export declare const DEFAULT_ELEMENT_STROKE_COLOR_INDEX = 4;
|
|
19
11
|
export declare const DEFAULT_ELEMENT_BACKGROUND_COLOR_INDEX = 1;
|
|
20
|
-
export declare const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
export declare const COLOR_PALETTE: {
|
|
13
|
+
readonly transparent: "transparent";
|
|
14
|
+
readonly black: "#1e1e1e";
|
|
15
|
+
readonly white: "#ffffff";
|
|
16
|
+
readonly gray: readonly ["#f8f9fa", "#e9ecef", "#ced4da", "#868e96", "#343a40"];
|
|
17
|
+
readonly red: readonly ["#fff5f5", "#ffc9c9", "#ff8787", "#fa5252", "#e03131"];
|
|
18
|
+
readonly pink: readonly ["#fff0f6", "#fcc2d7", "#f783ac", "#e64980", "#c2255c"];
|
|
19
|
+
readonly grape: readonly ["#f8f0fc", "#eebefa", "#da77f2", "#be4bdb", "#9c36b5"];
|
|
20
|
+
readonly violet: readonly ["#f3f0ff", "#d0bfff", "#9775fa", "#7950f2", "#6741d9"];
|
|
21
|
+
readonly blue: readonly ["#e7f5ff", "#a5d8ff", "#4dabf7", "#228be6", "#1971c2"];
|
|
22
|
+
readonly cyan: readonly ["#e3fafc", "#99e9f2", "#3bc9db", "#15aabf", "#0c8599"];
|
|
23
|
+
readonly teal: readonly ["#e6fcf5", "#96f2d7", "#38d9a9", "#12b886", "#099268"];
|
|
24
|
+
readonly green: readonly ["#ebfbee", "#b2f2bb", "#69db7c", "#40c057", "#2f9e44"];
|
|
25
|
+
readonly yellow: readonly ["#fff9db", "#ffec99", "#ffd43b", "#fab005", "#f08c00"];
|
|
26
|
+
readonly orange: readonly ["#fff4e6", "#ffd8a8", "#ffa94d", "#fd7e14", "#e8590c"];
|
|
27
|
+
readonly bronze: readonly ["#f8f1ee", "#eaddd7", "#d2bab0", "#a18072", "#846358"];
|
|
28
|
+
};
|
|
29
|
+
export type ColorPalette = typeof COLOR_PALETTE;
|
|
30
|
+
export type ColorPickerColor = keyof typeof COLOR_PALETTE;
|
|
24
31
|
export declare const DEFAULT_ELEMENT_STROKE_PICKS: ColorTuple;
|
|
25
32
|
export declare const DEFAULT_ELEMENT_BACKGROUND_PICKS: ColorTuple;
|
|
26
33
|
export declare const DEFAULT_CANVAS_BACKGROUND_PICKS: ColorTuple;
|
|
27
34
|
export declare const DEFAULT_ELEMENT_STROKE_COLOR_PALETTE: {
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly teal:
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
35
|
+
readonly cyan: readonly ["#e3fafc", "#99e9f2", "#3bc9db", "#15aabf", "#0c8599"];
|
|
36
|
+
readonly blue: readonly ["#e7f5ff", "#a5d8ff", "#4dabf7", "#228be6", "#1971c2"];
|
|
37
|
+
readonly violet: readonly ["#f3f0ff", "#d0bfff", "#9775fa", "#7950f2", "#6741d9"];
|
|
38
|
+
readonly grape: readonly ["#f8f0fc", "#eebefa", "#da77f2", "#be4bdb", "#9c36b5"];
|
|
39
|
+
readonly pink: readonly ["#fff0f6", "#fcc2d7", "#f783ac", "#e64980", "#c2255c"];
|
|
40
|
+
readonly green: readonly ["#ebfbee", "#b2f2bb", "#69db7c", "#40c057", "#2f9e44"];
|
|
41
|
+
readonly teal: readonly ["#e6fcf5", "#96f2d7", "#38d9a9", "#12b886", "#099268"];
|
|
42
|
+
readonly yellow: readonly ["#fff9db", "#ffec99", "#ffd43b", "#fab005", "#f08c00"];
|
|
43
|
+
readonly orange: readonly ["#fff4e6", "#ffd8a8", "#ffa94d", "#fd7e14", "#e8590c"];
|
|
44
|
+
readonly red: readonly ["#fff5f5", "#ffc9c9", "#ff8787", "#fa5252", "#e03131"];
|
|
38
45
|
readonly transparent: "transparent";
|
|
39
46
|
readonly white: "#ffffff";
|
|
40
|
-
readonly gray:
|
|
47
|
+
readonly gray: readonly ["#f8f9fa", "#e9ecef", "#ced4da", "#868e96", "#343a40"];
|
|
41
48
|
readonly black: "#1e1e1e";
|
|
42
|
-
readonly bronze:
|
|
49
|
+
readonly bronze: readonly ["#f8f1ee", "#eaddd7", "#d2bab0", "#a18072", "#846358"];
|
|
43
50
|
};
|
|
44
51
|
export declare const DEFAULT_ELEMENT_BACKGROUND_COLOR_PALETTE: {
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly teal:
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
52
|
+
readonly cyan: readonly ["#e3fafc", "#99e9f2", "#3bc9db", "#15aabf", "#0c8599"];
|
|
53
|
+
readonly blue: readonly ["#e7f5ff", "#a5d8ff", "#4dabf7", "#228be6", "#1971c2"];
|
|
54
|
+
readonly violet: readonly ["#f3f0ff", "#d0bfff", "#9775fa", "#7950f2", "#6741d9"];
|
|
55
|
+
readonly grape: readonly ["#f8f0fc", "#eebefa", "#da77f2", "#be4bdb", "#9c36b5"];
|
|
56
|
+
readonly pink: readonly ["#fff0f6", "#fcc2d7", "#f783ac", "#e64980", "#c2255c"];
|
|
57
|
+
readonly green: readonly ["#ebfbee", "#b2f2bb", "#69db7c", "#40c057", "#2f9e44"];
|
|
58
|
+
readonly teal: readonly ["#e6fcf5", "#96f2d7", "#38d9a9", "#12b886", "#099268"];
|
|
59
|
+
readonly yellow: readonly ["#fff9db", "#ffec99", "#ffd43b", "#fab005", "#f08c00"];
|
|
60
|
+
readonly orange: readonly ["#fff4e6", "#ffd8a8", "#ffa94d", "#fd7e14", "#e8590c"];
|
|
61
|
+
readonly red: readonly ["#fff5f5", "#ffc9c9", "#ff8787", "#fa5252", "#e03131"];
|
|
55
62
|
readonly transparent: "transparent";
|
|
56
63
|
readonly white: "#ffffff";
|
|
57
|
-
readonly gray:
|
|
64
|
+
readonly gray: readonly ["#f8f9fa", "#e9ecef", "#ced4da", "#868e96", "#343a40"];
|
|
58
65
|
readonly black: "#1e1e1e";
|
|
59
|
-
readonly bronze:
|
|
66
|
+
readonly bronze: readonly ["#f8f1ee", "#eaddd7", "#d2bab0", "#a18072", "#846358"];
|
|
60
67
|
};
|
|
61
|
-
export declare const getAllColorsSpecificShade: (index: 0 | 1 | 2 | 3 | 4) => readonly [
|
|
62
|
-
export declare const rgbToHex: (r: number, g: number, b: number) => string;
|
|
68
|
+
export declare const getAllColorsSpecificShade: (index: 0 | 1 | 2 | 3 | 4) => readonly ["#e3fafc" | "#99e9f2" | "#3bc9db" | "#15aabf" | "#0c8599", "#e7f5ff" | "#a5d8ff" | "#4dabf7" | "#228be6" | "#1971c2", "#f3f0ff" | "#d0bfff" | "#9775fa" | "#7950f2" | "#6741d9", "#f8f0fc" | "#eebefa" | "#da77f2" | "#be4bdb" | "#9c36b5", "#fff0f6" | "#fcc2d7" | "#f783ac" | "#e64980" | "#c2255c", "#ebfbee" | "#b2f2bb" | "#69db7c" | "#40c057" | "#2f9e44", "#e6fcf5" | "#96f2d7" | "#38d9a9" | "#12b886" | "#099268", "#fff9db" | "#ffec99" | "#ffd43b" | "#fab005" | "#f08c00", "#fff4e6" | "#ffd8a8" | "#ffa94d" | "#fd7e14" | "#e8590c", "#fff5f5" | "#ffc9c9" | "#ff8787" | "#fa5252" | "#e03131"];
|
|
69
|
+
export declare const rgbToHex: (r: number, g: number, b: number, a?: number) => string;
|
|
70
|
+
/**
|
|
71
|
+
* @returns #RRGGBB or #RRGGBBAA based on color containing non-opaque alpha,
|
|
72
|
+
* null if not valid color
|
|
73
|
+
*/
|
|
74
|
+
export declare const colorToHex: (color: string) => string | null;
|
|
75
|
+
export declare const isTransparent: (color: string) => boolean;
|
|
76
|
+
export declare const COLOR_OUTLINE_CONTRAST_THRESHOLD = 240;
|
|
77
|
+
export declare const isColorDark: (color: string, threshold?: number) => boolean;
|
|
78
|
+
/**
|
|
79
|
+
* tries to keep the input color as-is if it's valid, making minimal adjustments
|
|
80
|
+
* (trimming whitespace or adding `#` to hex colors)
|
|
81
|
+
*/
|
|
82
|
+
export declare const normalizeInputColor: (color: string) => string | null;
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import type { ExcalidrawElement, FontFamilyValues } from "@excalidraw/element/types";
|
|
2
2
|
import type { AppProps, AppState } from "@excalidraw/excalidraw/types";
|
|
3
|
-
export declare const isDarwin: boolean;
|
|
4
|
-
export declare const isWindows: boolean;
|
|
5
|
-
export declare const isAndroid: boolean;
|
|
6
|
-
export declare const isFirefox: boolean;
|
|
7
|
-
export declare const isChrome: boolean;
|
|
8
|
-
export declare const isSafari: boolean;
|
|
9
|
-
export declare const isIOS: boolean;
|
|
10
|
-
export declare const isBrave: () => boolean;
|
|
11
|
-
export declare const isMobile: boolean;
|
|
12
3
|
export declare const supportsResizeObserver: boolean;
|
|
13
4
|
export declare const APP_NAME = "Excalidraw";
|
|
14
5
|
export declare const TEXT_AUTOWRAP_THRESHOLD = 36;
|
|
@@ -87,11 +78,19 @@ export declare const ENV: {
|
|
|
87
78
|
PRODUCTION: string;
|
|
88
79
|
};
|
|
89
80
|
export declare const CLASSES: {
|
|
81
|
+
SIDEBAR: string;
|
|
90
82
|
SHAPE_ACTIONS_MENU: string;
|
|
91
83
|
ZOOM_ACTIONS: string;
|
|
92
84
|
SEARCH_MENU_INPUT_WRAPPER: string;
|
|
93
85
|
CONVERT_ELEMENT_TYPE_POPUP: string;
|
|
94
86
|
SHAPE_ACTIONS_THEME_SCOPE: string;
|
|
87
|
+
FRAME_NAME: string;
|
|
88
|
+
};
|
|
89
|
+
export declare const FONT_SIZES: {
|
|
90
|
+
readonly sm: 16;
|
|
91
|
+
readonly md: 20;
|
|
92
|
+
readonly lg: 28;
|
|
93
|
+
readonly xl: 36;
|
|
95
94
|
};
|
|
96
95
|
export declare const CJK_HAND_DRAWN_FALLBACK_FONT = "Xiaolai";
|
|
97
96
|
export declare const WINDOWS_EMOJI_FALLBACK_FONT = "Segoe UI Emoji";
|
|
@@ -133,16 +132,13 @@ export declare const THEME: {
|
|
|
133
132
|
readonly DARK: "dark";
|
|
134
133
|
};
|
|
135
134
|
export declare const FRAME_STYLE: {
|
|
136
|
-
strokeColor:
|
|
137
|
-
strokeWidth:
|
|
138
|
-
strokeStyle:
|
|
139
|
-
fillStyle:
|
|
140
|
-
roughness:
|
|
141
|
-
roundness:
|
|
142
|
-
|
|
143
|
-
value?: number | undefined;
|
|
144
|
-
} | null;
|
|
145
|
-
backgroundColor: string;
|
|
135
|
+
strokeColor: ExcalidrawElement["strokeColor"];
|
|
136
|
+
strokeWidth: ExcalidrawElement["strokeWidth"];
|
|
137
|
+
strokeStyle: ExcalidrawElement["strokeStyle"];
|
|
138
|
+
fillStyle: ExcalidrawElement["fillStyle"];
|
|
139
|
+
roughness: ExcalidrawElement["roughness"];
|
|
140
|
+
roundness: ExcalidrawElement["roundness"];
|
|
141
|
+
backgroundColor: ExcalidrawElement["backgroundColor"];
|
|
146
142
|
radius: number;
|
|
147
143
|
nameOffsetY: number;
|
|
148
144
|
nameColorLightTheme: string;
|
|
@@ -230,7 +226,6 @@ export declare const MAX_ZOOM = 30;
|
|
|
230
226
|
export declare const HYPERLINK_TOOLTIP_DELAY = 300;
|
|
231
227
|
export declare const IDLE_THRESHOLD = 60000;
|
|
232
228
|
export declare const ACTIVE_THRESHOLD = 3000;
|
|
233
|
-
export declare const THEME_FILTER = "invert(93%) hue-rotate(180deg)";
|
|
234
229
|
export declare const URL_QUERY_KEYS: {
|
|
235
230
|
readonly addLibrary: "addLibrary";
|
|
236
231
|
};
|
|
@@ -238,13 +233,6 @@ export declare const URL_HASH_KEYS: {
|
|
|
238
233
|
readonly addLibrary: "addLibrary";
|
|
239
234
|
};
|
|
240
235
|
export declare const DEFAULT_UI_OPTIONS: AppProps["UIOptions"];
|
|
241
|
-
export declare const MQ_MAX_MOBILE = 599;
|
|
242
|
-
export declare const MQ_MAX_WIDTH_LANDSCAPE = 1000;
|
|
243
|
-
export declare const MQ_MAX_HEIGHT_LANDSCAPE = 500;
|
|
244
|
-
export declare const MQ_MIN_TABLET: number;
|
|
245
|
-
export declare const MQ_MAX_TABLET = 1400;
|
|
246
|
-
export declare const MQ_MIN_WIDTH_DESKTOP = 1440;
|
|
247
|
-
export declare const MQ_RIGHT_SIDEBAR_MIN_WIDTH = 1229;
|
|
248
236
|
export declare const MAX_DECIMALS_FOR_SVG_EXPORT = 2;
|
|
249
237
|
export declare const EXPORT_SCALES: number[];
|
|
250
238
|
export declare const DEFAULT_EXPORT_PADDING = 10;
|
|
@@ -357,3 +345,7 @@ export declare enum UserIdleState {
|
|
|
357
345
|
*/
|
|
358
346
|
export declare const LINE_POLYGON_POINT_MERGE_DISTANCE = 20;
|
|
359
347
|
export declare const DOUBLE_TAP_POSITION_THRESHOLD = 35;
|
|
348
|
+
export declare const BIND_MODE_TIMEOUT = 700;
|
|
349
|
+
export declare const MOBILE_ACTION_BUTTON_BG: {
|
|
350
|
+
readonly background: "var(--mobile-action-button-bg)";
|
|
351
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type StylesPanelMode = "compact" | "full" | "mobile";
|
|
2
|
+
export type EditorInterface = Readonly<{
|
|
3
|
+
formFactor: "phone" | "tablet" | "desktop";
|
|
4
|
+
desktopUIMode: "compact" | "full";
|
|
5
|
+
userAgent: Readonly<{
|
|
6
|
+
isMobileDevice: boolean;
|
|
7
|
+
platform: "ios" | "android" | "other" | "unknown";
|
|
8
|
+
}>;
|
|
9
|
+
isTouchScreen: boolean;
|
|
10
|
+
canFitSidebar: boolean;
|
|
11
|
+
isLandscape: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const MQ_MAX_MOBILE = 599;
|
|
14
|
+
export declare const MQ_MAX_WIDTH_LANDSCAPE = 1000;
|
|
15
|
+
export declare const MQ_MAX_HEIGHT_LANDSCAPE = 500;
|
|
16
|
+
export declare const MQ_MIN_TABLET: number;
|
|
17
|
+
export declare const MQ_MAX_TABLET = 1180;
|
|
18
|
+
export declare const MQ_MIN_WIDTH_DESKTOP = 1440;
|
|
19
|
+
export declare const MQ_RIGHT_SIDEBAR_MIN_WIDTH = 1229;
|
|
20
|
+
export declare const isDarwin: boolean;
|
|
21
|
+
export declare const isWindows: boolean;
|
|
22
|
+
export declare const isAndroid: boolean;
|
|
23
|
+
export declare const isFirefox: boolean;
|
|
24
|
+
export declare const isChrome: boolean;
|
|
25
|
+
export declare const isSafari: boolean;
|
|
26
|
+
export declare const isIOS: boolean;
|
|
27
|
+
export declare const isBrave: () => boolean;
|
|
28
|
+
export declare const isMobileBreakpoint: (width: number, height: number) => boolean;
|
|
29
|
+
export declare const isTabletBreakpoint: (editorWidth: number, editorHeight: number) => boolean;
|
|
30
|
+
export declare const getFormFactor: (editorWidth: number, editorHeight: number) => EditorInterface["formFactor"];
|
|
31
|
+
export declare const deriveStylesPanelMode: (editorInterface: EditorInterface) => StylesPanelMode;
|
|
32
|
+
export declare const createUserAgentDescriptor: (userAgentString: string) => EditorInterface["userAgent"];
|
|
33
|
+
export declare const loadDesktopUIModePreference: () => "compact" | "full" | null;
|
|
34
|
+
export declare const setDesktopUIMode: (mode: EditorInterface["desktopUIMode"]) => "compact" | "full" | undefined;
|
|
@@ -43,6 +43,4 @@ export declare const getVerticalOffset: (fontFamily: ExcalidrawTextElement["font
|
|
|
43
43
|
/**
|
|
44
44
|
* Gets line height for a selected family.
|
|
45
45
|
*/
|
|
46
|
-
export declare const getLineHeight: (fontFamily: FontFamilyValues) =>
|
|
47
|
-
_brand: "unitlessLineHeight";
|
|
48
|
-
};
|
|
46
|
+
export declare const getLineHeight: (fontFamily: FontFamilyValues) => ExcalidrawTextElement["lineHeight"];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./binary-heap";
|
|
2
|
+
export * from "./bounds";
|
|
2
3
|
export * from "./colors";
|
|
3
4
|
export * from "./constants";
|
|
4
5
|
export * from "./font-metadata";
|
|
@@ -10,3 +11,4 @@ export * from "./random";
|
|
|
10
11
|
export * from "./url";
|
|
11
12
|
export * from "./utils";
|
|
12
13
|
export * from "./emitter";
|
|
14
|
+
export * from "./editorInterface";
|
|
@@ -183,7 +183,7 @@ export declare const isLatinChar: (key: string) => boolean;
|
|
|
183
183
|
* More details in https://github.com/excalidraw/excalidraw/pull/5944
|
|
184
184
|
*/
|
|
185
185
|
export declare const matchKey: (event: KeyboardEvent | React.KeyboardEvent<Element>, key: ValueOf<typeof KEYS>) => boolean;
|
|
186
|
-
export declare const isArrowKey: (key: string) =>
|
|
186
|
+
export declare const isArrowKey: (key: string) => key is "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp";
|
|
187
187
|
export declare const shouldResizeFromCenter: (event: MouseEvent | KeyboardEvent) => boolean;
|
|
188
188
|
export declare const shouldMaintainAspectRatio: (event: MouseEvent | KeyboardEvent) => boolean;
|
|
189
189
|
export declare const shouldRotateWithDiscreteAngle: (event: MouseEvent | KeyboardEvent | React.PointerEvent<HTMLCanvasElement>) => boolean;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FontFamilyValues, FontString } from "@excalidraw/element/types";
|
|
2
2
|
import type { ActiveTool, AppState, ToolType, UnsubscribeCallback, Zoom } from "@excalidraw/excalidraw/types";
|
|
3
|
-
import type { MaybePromise } from "./utility-types";
|
|
3
|
+
import type { MaybePromise, ResolutionType } from "./utility-types";
|
|
4
4
|
import type { EVENT } from "./constants";
|
|
5
5
|
export declare const setDateTimeForTests: (dateTime: string) => void;
|
|
6
6
|
export declare const getDateTime: () => string;
|
|
7
7
|
export declare const capitalizeString: (str: string) => string;
|
|
8
8
|
export declare const isToolIcon: (target: Element | EventTarget | null) => target is HTMLElement;
|
|
9
|
-
export declare const isInputLike: (target: Element | EventTarget | null) => target is
|
|
9
|
+
export declare const isInputLike: (target: Element | EventTarget | null) => target is HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement | HTMLBRElement | HTMLDivElement;
|
|
10
10
|
export declare const isInteractive: (target: Element | EventTarget | null) => boolean;
|
|
11
|
-
export declare const isWritableElement: (target: Element | EventTarget | null) => target is
|
|
11
|
+
export declare const isWritableElement: (target: Element | EventTarget | null) => target is HTMLInputElement | HTMLTextAreaElement | HTMLBRElement | HTMLDivElement;
|
|
12
12
|
export declare const getFontFamilyString: ({ fontFamily, }: {
|
|
13
13
|
fontFamily: FontFamilyValues;
|
|
14
14
|
}) => string;
|
|
@@ -17,6 +17,8 @@ export declare const getFontString: ({ fontSize, fontFamily, }: {
|
|
|
17
17
|
fontSize: number;
|
|
18
18
|
fontFamily: FontFamilyValues;
|
|
19
19
|
}) => FontString;
|
|
20
|
+
/** executes callback in the frame that's after the current one */
|
|
21
|
+
export declare const nextAnimationFrame: (cb: () => any) => Promise<void>;
|
|
20
22
|
export declare const debounce: <T extends any[]>(fn: (...args: T) => void, timeout: number) => {
|
|
21
23
|
(...args: T): void;
|
|
22
24
|
flush(): void;
|
|
@@ -69,17 +71,20 @@ export declare const easeToValuesRAF: <T extends Record<keyof T, number>, K exte
|
|
|
69
71
|
* Interpolate a single value.
|
|
70
72
|
* Return undefined to be handled by the default interpolator.
|
|
71
73
|
*/
|
|
72
|
-
interpolateValue?: (
|
|
74
|
+
interpolateValue?: (fromValue: number, toValue: number,
|
|
75
|
+
/** no easing applied */
|
|
76
|
+
progress: number, key: K) => number | undefined;
|
|
73
77
|
onStep: (values: T) => void;
|
|
74
|
-
duration?: number
|
|
75
|
-
onStart?: (
|
|
76
|
-
onEnd?: (
|
|
77
|
-
onCancel?: (
|
|
78
|
+
duration?: number;
|
|
79
|
+
onStart?: () => void;
|
|
80
|
+
onEnd?: () => void;
|
|
81
|
+
onCancel?: () => void;
|
|
78
82
|
}) => () => void;
|
|
79
|
-
export declare const chunk: <T extends
|
|
83
|
+
export declare const chunk: <T extends any>(array: readonly T[], size: number) => T[][];
|
|
80
84
|
export declare const selectNode: (node: Element) => void;
|
|
81
85
|
export declare const removeSelection: () => void;
|
|
82
86
|
export declare const distance: (x: number, y: number) => number;
|
|
87
|
+
export declare const isSelectionLikeTool: (type: ToolType | "custom") => type is "selection" | "lasso";
|
|
83
88
|
export declare const updateActiveTool: (appState: Pick<AppState, "activeTool">, data: (({
|
|
84
89
|
type: ToolType;
|
|
85
90
|
} | {
|
|
@@ -94,7 +99,6 @@ export declare const updateActiveTool: (appState: Pick<AppState, "activeTool">,
|
|
|
94
99
|
export declare const isFullScreen: () => boolean;
|
|
95
100
|
export declare const allowFullScreen: () => Promise<void>;
|
|
96
101
|
export declare const exitFullScreen: () => Promise<void>;
|
|
97
|
-
export declare const getShortcutKey: (shortcut: string) => string;
|
|
98
102
|
export declare const viewportCoordsToSceneCoords: ({ clientX, clientY }: {
|
|
99
103
|
clientX: number;
|
|
100
104
|
clientY: number;
|
|
@@ -138,9 +142,7 @@ export declare const muteFSAbortError: (error?: Error) => void;
|
|
|
138
142
|
export declare const findIndex: <T>(array: readonly T[], cb: (element: T, index: number, array: readonly T[]) => boolean, fromIndex?: number) => number;
|
|
139
143
|
export declare const findLastIndex: <T>(array: readonly T[], cb: (element: T, index: number, array: readonly T[]) => boolean, fromIndex?: number) => number;
|
|
140
144
|
/** returns the first non-null mapped value */
|
|
141
|
-
export declare const mapFind: <T, K>(collection: readonly T[], iteratee: (value: T, index: number) => K |
|
|
142
|
-
export declare const isTransparent: (color: string) => boolean;
|
|
143
|
-
export declare const isBindingFallthroughEnabled: (el: ExcalidrawBindableElement) => boolean;
|
|
145
|
+
export declare const mapFind: <T, K>(collection: readonly T[], iteratee: (value: T, index: number) => K | undefined | null) => K | undefined;
|
|
144
146
|
export type ResolvablePromise<T> = Promise<T> & {
|
|
145
147
|
resolve: [T] extends [undefined] ? (value?: MaybePromise<Awaited<T>>) => void : (value: MaybePromise<Awaited<T>>) => void;
|
|
146
148
|
reject: (error: Error) => void;
|
|
@@ -158,16 +160,16 @@ export declare const getUpdatedTimestamp: () => number;
|
|
|
158
160
|
* Transforms array of objects containing `id` attribute,
|
|
159
161
|
* or array of ids (strings), into a Map, keyd by `id`.
|
|
160
162
|
*/
|
|
161
|
-
export declare const arrayToMap: <T extends
|
|
163
|
+
export declare const arrayToMap: <T extends {
|
|
162
164
|
id: string;
|
|
163
|
-
}>(items: Map<string, T>
|
|
165
|
+
} | string>(items: readonly T[] | Map<string, T>) => Map<string, T>;
|
|
164
166
|
export declare const arrayToMapWithIndex: <T extends {
|
|
165
167
|
id: string;
|
|
166
168
|
}>(elements: readonly T[]) => Map<string, [element: T, index: number]>;
|
|
167
169
|
/**
|
|
168
170
|
* Transform array into an object, use only when array order is irrelevant.
|
|
169
171
|
*/
|
|
170
|
-
export declare const arrayToObject: <T>(array: readonly T[], groupBy?: (
|
|
172
|
+
export declare const arrayToObject: <T>(array: readonly T[], groupBy?: (value: T) => string | number) => {
|
|
171
173
|
[key: string]: T;
|
|
172
174
|
};
|
|
173
175
|
/** Doubly linked node */
|
|
@@ -183,11 +185,11 @@ export declare const arrayToList: <T>(array: readonly T[]) => Node<T>[];
|
|
|
183
185
|
* Converts a readonly array or map into an iterable.
|
|
184
186
|
* Useful for avoiding entry allocations when iterating object / map on each iteration.
|
|
185
187
|
*/
|
|
186
|
-
export declare const toIterable: <T>(values: ReadonlyMap<string, T>
|
|
188
|
+
export declare const toIterable: <T>(values: readonly T[] | ReadonlyMap<string, T>) => Iterable<T>;
|
|
187
189
|
/**
|
|
188
190
|
* Converts a readonly array or map into an array.
|
|
189
191
|
*/
|
|
190
|
-
export declare const toArray: <T>(values: ReadonlyMap<string, T>
|
|
192
|
+
export declare const toArray: <T>(values: readonly T[] | ReadonlyMap<string, T>) => T[];
|
|
191
193
|
export declare const isTestEnv: () => boolean;
|
|
192
194
|
export declare const isDevEnv: () => boolean;
|
|
193
195
|
export declare const isProdEnv: () => boolean;
|
|
@@ -199,18 +201,18 @@ export declare const updateObject: <T extends Record<string, any>>(obj: T, updat
|
|
|
199
201
|
export declare const isPrimitive: (val: any) => boolean;
|
|
200
202
|
export declare const getFrame: () => "top" | "iframe";
|
|
201
203
|
export declare const isRunningInIframe: () => boolean;
|
|
202
|
-
export declare const isPromiseLike: (value: any) => value is Promise<
|
|
204
|
+
export declare const isPromiseLike: (value: any) => value is Promise<ResolutionType<typeof value>>;
|
|
203
205
|
export declare const queryFocusableElements: (container: HTMLElement | null) => HTMLElement[];
|
|
204
206
|
/**
|
|
205
207
|
* Returns whether object/array is shallow equal.
|
|
206
208
|
* Considers empty object/arrays as equal (whether top-level or second-level).
|
|
207
209
|
*/
|
|
208
|
-
export declare const isShallowEqual: <T extends Record<string, any>, K extends readonly unknown[]>(objA: T, objB: T, comparators?: { [key in keyof T]?: (
|
|
210
|
+
export declare const isShallowEqual: <T extends Record<string, any>, K extends readonly unknown[]>(objA: T, objB: T, comparators?: { [key in keyof T]?: (a: T[key], b: T[key]) => boolean; } | (keyof T extends K[number] ? K extends readonly (keyof T)[] ? K : {
|
|
209
211
|
_error: "keys are either missing or include keys not in compared obj";
|
|
210
212
|
} : {
|
|
211
213
|
_error: "keys are either missing or include keys not in compared obj";
|
|
212
|
-
})
|
|
213
|
-
export declare const composeEventHandlers: <E>(originalEventHandler?: (
|
|
214
|
+
}), debug?: boolean) => boolean;
|
|
215
|
+
export declare const composeEventHandlers: <E>(originalEventHandler?: (event: E) => void, ourEventHandler?: (event: E) => void, { checkForDefaultPrevented }?: {
|
|
214
216
|
checkForDefaultPrevented?: boolean | undefined;
|
|
215
217
|
}) => (event: E) => void;
|
|
216
218
|
/**
|
|
@@ -222,11 +224,15 @@ export declare function invariant(condition: any, message: string): asserts cond
|
|
|
222
224
|
/**
|
|
223
225
|
* Memoizes on values of `opts` object (strict equality).
|
|
224
226
|
*/
|
|
225
|
-
export declare const memoize: <T extends Record<string, any>, R extends
|
|
227
|
+
export declare const memoize: <T extends Record<string, any>, R extends any>(func: (opts: T) => R) => typeof func & {
|
|
226
228
|
clear: () => void;
|
|
227
229
|
};
|
|
228
230
|
/** Checks if value is inside given collection. Useful for type-safety. */
|
|
229
|
-
export declare const isMemberOf: <T extends string>(
|
|
231
|
+
export declare const isMemberOf: <T extends string>(
|
|
232
|
+
/** Set/Map/Array/Object */
|
|
233
|
+
collection: Set<T> | readonly T[] | Record<T, any> | Map<T, any>,
|
|
234
|
+
/** value to look for */
|
|
235
|
+
value: string) => value is T;
|
|
230
236
|
export declare const cloneJSON: <T>(obj: T) => T;
|
|
231
237
|
export declare const updateStable: <T extends any[] | Record<string, any>>(prevValue: T, nextValue: T) => T;
|
|
232
238
|
export declare function addEventListener<K extends keyof WindowEventMap>(target: Window & typeof globalThis, type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): UnsubscribeCallback;
|
|
@@ -237,21 +243,25 @@ export declare function addEventListener<K extends keyof FontFaceSetEventMap>(ta
|
|
|
237
243
|
export declare function addEventListener<K extends keyof HTMLElementEventMap>(target: Document | (Window & typeof globalThis) | HTMLElement | undefined | null | false, type: K, listener: (this: HTMLDivElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): UnsubscribeCallback;
|
|
238
244
|
export declare function getSvgPathFromStroke(points: number[][], closed?: boolean): string;
|
|
239
245
|
export declare const normalizeEOL: (str: string) => string;
|
|
240
|
-
type HasBrand<T> = {
|
|
241
|
-
[K in keyof T]: K extends `~brand${infer _}` ? true : never;
|
|
246
|
+
export type HasBrand<T> = {
|
|
247
|
+
[K in keyof T]: K extends `~brand${infer _}` | "_brand" ? true : never;
|
|
242
248
|
}[keyof T];
|
|
243
249
|
type RemoveAllBrands<T> = HasBrand<T> extends true ? {
|
|
244
|
-
[K in keyof T as K extends `~brand~${infer _}` ? never : K]: T[K];
|
|
245
|
-
} :
|
|
246
|
-
type
|
|
250
|
+
[K in keyof T as K extends `~brand~${infer _}` | "_brand" ? never : K]: T[K];
|
|
251
|
+
} : T;
|
|
252
|
+
type UnbrandForValue<T> = T extends Map<infer E, infer F> ? Map<UnbrandForValue<E>, UnbrandForValue<F>> : T extends Set<infer E> ? Set<UnbrandForValue<E>> : T extends readonly any[] ? T extends any[] ? unknown[] : readonly unknown[] : RemoveAllBrands<T>;
|
|
253
|
+
export type Unbrand<T> = T extends Map<infer E, infer F> ? Map<Unbrand<E>, Unbrand<F>> : T extends Set<infer E> ? Set<Unbrand<E>> : T extends readonly (infer E)[] ? Array<Unbrand<E>> : RemoveAllBrands<T>;
|
|
254
|
+
export type CombineBrands<BrandedType, CurrentType> = BrandedType extends readonly (infer BE)[] ? CurrentType extends readonly (infer CE)[] ? Array<CE & BE> : CurrentType & BrandedType : CurrentType & BrandedType;
|
|
255
|
+
export type CombineBrandsIfNeeded<T, Required> = [T] extends [Required] ? T[] : HasBrand<T> extends true ? CombineBrands<T, Required>[] : Required[];
|
|
247
256
|
/**
|
|
248
257
|
* Makes type into a branded type, ensuring that value is assignable to
|
|
249
|
-
* the base
|
|
258
|
+
* the base unbranded type. Optionally you can explicitly supply current value
|
|
250
259
|
* type to combine both (useful for composite branded types. Make sure you
|
|
251
260
|
* compose branded types which are not composite themselves.)
|
|
252
261
|
*/
|
|
253
|
-
export declare
|
|
254
|
-
export declare
|
|
262
|
+
export declare function toBrandedType<BrandedType>(value: UnbrandForValue<BrandedType>): BrandedType;
|
|
263
|
+
export declare function toBrandedType<BrandedType, CurrentType>(value: CurrentType): CombineBrands<BrandedType, CurrentType>;
|
|
264
|
+
export declare const promiseTry: <TValue, TArgs extends unknown[]>(fn: (...args: TArgs) => PromiseLike<TValue> | TValue, ...args: TArgs) => Promise<TValue>;
|
|
255
265
|
export declare const isAnyTrue: (...args: boolean[]) => boolean;
|
|
256
266
|
export declare const safelyParseJSON: (json: string) => Record<string, any> | null;
|
|
257
267
|
/**
|
|
@@ -263,6 +273,10 @@ export declare const castArray: <T>(value: T | T[]) => T[];
|
|
|
263
273
|
/** hack for Array.isArray type guard not working with readonly value[] */
|
|
264
274
|
export declare const isReadonlyArray: (value?: any) => value is readonly any[];
|
|
265
275
|
export declare const sizeOf: (value: readonly unknown[] | Readonly<Map<string, unknown>> | Readonly<Record<string, unknown>> | ReadonlySet<unknown>) => number;
|
|
266
|
-
export declare const reduceToCommonValue: <T, R = T>(collection:
|
|
267
|
-
|
|
276
|
+
export declare const reduceToCommonValue: <T, R = T>(collection: readonly T[] | ReadonlySet<T>, getValue?: (item: T) => R) => R | null;
|
|
277
|
+
type FEATURE_FLAGS = {
|
|
278
|
+
COMPLEX_BINDINGS: boolean;
|
|
279
|
+
};
|
|
280
|
+
export declare const getFeatureFlag: <F extends keyof FEATURE_FLAGS>(flag: F) => FEATURE_FLAGS[F];
|
|
281
|
+
export declare const setFeatureFlag: <F extends keyof FEATURE_FLAGS>(flag: F, value: FEATURE_FLAGS[F]) => void;
|
|
268
282
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ElementUpdate } from "@excalidraw/element";
|
|
2
|
-
import type { ExcalidrawElement, NonDeletedExcalidrawElement, NonDeleted, ExcalidrawFrameLikeElement, ElementsMapOrArray, OrderedExcalidrawElement, Ordered } from "@excalidraw/element/types";
|
|
2
|
+
import type { ExcalidrawElement, NonDeletedExcalidrawElement, NonDeleted, ExcalidrawFrameLikeElement, ElementsMapOrArray, SceneElementsMap, NonDeletedSceneElementsMap, OrderedExcalidrawElement, Ordered } from "@excalidraw/element/types";
|
|
3
3
|
import type { Mutable } from "@excalidraw/common/utility-types";
|
|
4
4
|
import type { AppState } from "../../excalidraw/types";
|
|
5
5
|
type SceneStateCallback = () => void;
|
|
@@ -22,9 +22,9 @@ export declare class Scene {
|
|
|
22
22
|
*/
|
|
23
23
|
private sceneNonce;
|
|
24
24
|
getSceneNonce(): number | undefined;
|
|
25
|
-
getNonDeletedElementsMap():
|
|
25
|
+
getNonDeletedElementsMap(): NonDeletedSceneElementsMap;
|
|
26
26
|
getElementsIncludingDeleted(): readonly OrderedExcalidrawElement[];
|
|
27
|
-
getElementsMapIncludingDeleted():
|
|
27
|
+
getElementsMapIncludingDeleted(): SceneElementsMap;
|
|
28
28
|
getNonDeletedElements(): readonly Ordered<NonDeletedExcalidrawElement>[];
|
|
29
29
|
getFramesIncludingDeleted(): readonly ExcalidrawFrameLikeElement[];
|
|
30
30
|
constructor(elements?: ElementsMapOrArray | null, options?: {
|