@flyfish-group/file-viewer 1.0.19 → 1.0.20
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/README.md +17 -16
- package/dist/components/3MFLoader.js +1 -1
- package/dist/components/AMFLoader.js +1 -1
- package/dist/components/AudioViewer.js +1 -1
- package/dist/components/CadViewer.js +1 -1
- package/dist/components/CodeViewer.js +1 -1
- package/dist/components/ColladaLoader.js +1 -1
- package/dist/components/DrawingViewer.js +1 -1
- package/dist/components/EdaViewer.js +1 -1
- package/dist/components/EmailViewer.js +1 -1
- package/dist/components/EpubViewer.js +1 -1
- package/dist/components/FBXLoader.js +1 -1
- package/dist/components/GLTFLoader.js +1 -1
- package/dist/components/ImageViewer.js +1 -1
- package/dist/components/KMZLoader.js +1 -1
- package/dist/components/MarkdownViewer.js +1 -1
- package/dist/components/OBJLoader.js +1 -1
- package/dist/components/OfdViewer.js +1 -1
- package/dist/components/PCDLoader.js +1 -1
- package/dist/components/PLYLoader.js +1 -1
- package/dist/components/PdfView.js +977 -969
- package/dist/components/STLLoader.js +1 -1
- package/dist/components/TDSLoader.js +1 -1
- package/dist/components/TypstViewer.js +2009 -0
- package/dist/components/USDLoader.js +1 -1
- package/dist/components/UmdViewer.js +2 -2
- package/dist/components/VRMLLoader.js +1 -1
- package/dist/components/VTKLoader.js +1 -1
- package/dist/components/XYZLoader.js +1 -1
- package/dist/components/XlsxTable.js +1 -1
- package/dist/components/___vite-browser-external_commonjs-proxy.js +1 -1
- package/dist/components/_commonjs-dynamic-modules.js +1 -1
- package/dist/components/_commonjsHelpers.js +1 -1
- package/dist/components/ar-SA-G6X2FPQ2.js +1 -1
- package/dist/components/arc.js +1 -1
- package/dist/components/architecture-7EHR7CIX.js +1 -1
- package/dist/components/architectureDiagram-3BPJPVTR.js +1 -1
- package/dist/components/az-AZ-76LH7QW2.js +1 -1
- package/dist/components/bg-BG-XCXSNQG7.js +1 -1
- package/dist/components/blockDiagram-GPEHLZMM.js +1 -1
- package/dist/components/bn-BD-2XOGV67Q.js +1 -1
- package/dist/components/c4Diagram-AAUBKEIU.js +1 -1
- package/dist/components/ca-ES-6MX7JW3Y.js +1 -1
- package/dist/components/cfb.js +1 -1
- package/dist/components/channel.js +1 -1
- package/dist/components/chunk-2J33WTMH.js +1 -1
- package/dist/components/chunk-4BX2VUAB.js +1 -1
- package/dist/components/chunk-55IACEB6.js +1 -1
- package/dist/components/chunk-727SXJPM.js +1 -1
- package/dist/components/chunk-AQP2D5EJ.js +1 -1
- package/dist/components/chunk-FMBD7UC4.js +1 -1
- package/dist/components/chunk-ND2GUHAM.js +1 -1
- package/dist/components/chunk-QZHKN3VN.js +1 -1
- package/dist/components/classDiagram-4FO5ZUOK.js +1 -1
- package/dist/components/classDiagram-v2-Q7XG4LA2.js +1 -1
- package/dist/components/cose-bilkent-S5V4N54A.js +1 -1
- package/dist/components/cs-CZ-2BRQDIVT.js +1 -1
- package/dist/components/cytoscape.esm.js +1 -1
- package/dist/components/da-DK-5WZEPLOC.js +1 -1
- package/dist/components/dagre-BM42HDAG.js +1 -1
- package/dist/components/de-DE-XR44H4JA.js +1 -1
- package/dist/components/defaultLocale.js +1 -1
- package/dist/components/diagram-2AECGRRQ.js +1 -1
- package/dist/components/diagram-5GNKFQAL.js +1 -1
- package/dist/components/diagram-KO2AKTUF.js +1 -1
- package/dist/components/diagram-LMA3HP47.js +1 -1
- package/dist/components/diagram-OG6HWLK6.js +1 -1
- package/dist/components/directory-open-01563666.js +1 -1
- package/dist/components/directory-open-4ed118d0.js +1 -1
- package/dist/components/docx-preview.js +2 -2
- package/dist/components/el-GR-BZB4AONW.js +1 -1
- package/dist/components/en-B4ZKOASM.js +1 -1
- package/dist/components/erDiagram-TEJ5UH35.js +1 -1
- package/dist/components/es-ES-U4NZUMDT.js +1 -1
- package/dist/components/eu-ES-A7QVB2H4.js +1 -1
- package/dist/components/eventmodeling-FCH6USID.js +1 -1
- package/dist/components/fa-IR-HGAKTJCU.js +1 -1
- package/dist/components/fflate.module.js +1 -1
- package/dist/components/fi-FI-Z5N7JZ37.js +1 -1
- package/dist/components/file-open-002ab408.js +1 -1
- package/dist/components/file-open-7c801643.js +1 -1
- package/dist/components/file-save-3189631c.js +1 -1
- package/dist/components/file-save-745eba88.js +1 -1
- package/dist/components/flowDiagram-I6XJVG4X.js +1 -1
- package/dist/components/fr-FR-RHASNOE6.js +1 -1
- package/dist/components/ganttDiagram-6RSMTGT7.js +1 -1
- package/dist/components/gitGraph-WXDBUCRP.js +1 -1
- package/dist/components/gitGraphDiagram-PVQCEYII.js +1 -1
- package/dist/components/gl-ES-HMX3MZ6V.js +1 -1
- package/dist/components/global-compiler.js +1 -0
- package/dist/components/global-renderer.js +1 -0
- package/dist/components/graph.js +1 -1
- package/dist/components/he-IL-6SHJWFNN.js +1 -1
- package/dist/components/hi-IN-IWLTKZ5I.js +1 -1
- package/dist/components/hu-HU-A5ZG7DT2.js +1 -1
- package/dist/components/id-ID-SAP4L64H.js +1 -1
- package/dist/components/image-GAAHSSAO.js +1 -1
- package/dist/components/image-blob-reduce.esm.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index10.js +1 -1
- package/dist/components/index11.js +1 -1
- package/dist/components/index12.js +1 -1
- package/dist/components/index13.js +1 -1
- package/dist/components/index14.js +1 -1
- package/dist/components/index15.js +1 -1
- package/dist/components/index16.js +1 -1
- package/dist/components/index17.js +1 -1
- package/dist/components/index18.js +1 -1
- package/dist/components/index19.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index20.js +1 -1
- package/dist/components/index21.js +1 -2
- package/dist/components/index22.js +2 -1
- package/dist/components/index23.js +1 -1
- package/dist/components/index24.js +1 -1
- package/dist/components/index25.js +1 -0
- package/dist/components/index3.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/index5.js +1 -1
- package/dist/components/index6.js +1 -1
- package/dist/components/index7.js +1 -1
- package/dist/components/index8.js +1 -1
- package/dist/components/index9.js +1 -1
- package/dist/components/info-J43DQDTF.js +1 -1
- package/dist/components/infoDiagram-5YYISTIA.js +1 -1
- package/dist/components/init.js +1 -1
- package/dist/components/ishikawaDiagram-YF4QCWOH.js +1 -1
- package/dist/components/it-IT-JPQ66NNP.js +1 -1
- package/dist/components/ja-JP-DBVTYXUO.js +1 -1
- package/dist/components/journeyDiagram-JHISSGLW.js +1 -1
- package/dist/components/jszip.min.js +1 -1
- package/dist/components/kaa-6HZHGXH3.js +1 -1
- package/dist/components/kab-KAB-ZGHBKWFO.js +1 -1
- package/dist/components/kanban-definition-UN3LZRKU.js +1 -1
- package/dist/components/katex.js +1 -1
- package/dist/components/kk-KZ-P5N5QNE5.js +1 -1
- package/dist/components/km-KH-HSX4SM5Z.js +1 -1
- package/dist/components/ko-KR-MTYHY66A.js +1 -1
- package/dist/components/ku-TR-6OUDTVRD.js +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/libarchive.js +1 -1
- package/dist/components/linear.js +1 -1
- package/dist/components/lt-LT-XHIRWOB4.js +1 -1
- package/dist/components/lv-LV-5QDEKY6T.js +1 -1
- package/dist/components/mermaid-parser.core.js +2 -2
- package/dist/components/mindmap-definition-RKZ34NQL.js +1 -1
- package/dist/components/mr-IN-CRQNXWMA.js +1 -1
- package/dist/components/my-MM-5M5IBNSE.js +1 -1
- package/dist/components/nb-NO-T6EIAALU.js +1 -1
- package/dist/components/nestedRender.js +1 -1
- package/dist/components/nl-NL-IS3SIHDZ.js +1 -1
- package/dist/components/nn-NO-6E72VCQL.js +1 -1
- package/dist/components/oc-FR-POXYY2M6.js +1 -1
- package/dist/components/ofd.js +1 -1
- package/dist/components/ordinal.js +1 -1
- package/dist/components/pa-IN-N4M65BXN.js +1 -1
- package/dist/components/packet-YPE3B663.js +1 -1
- package/dist/components/percentages-BXMCSKIN.js +1 -1
- package/dist/components/pica.js +1 -1
- package/dist/components/pie-LRSECV5Y.js +1 -1
- package/dist/components/pie.js +1 -1
- package/dist/components/pieDiagram-4H26LBE5.js +1 -1
- package/dist/components/pl-PL-T2D74RX3.js +1 -1
- package/dist/components/postal-mime.js +1 -1
- package/dist/components/printLayout.js +1 -1
- package/dist/components/pt-BR-5N22H2LF.js +1 -1
- package/dist/components/pt-PT-UZXXM6DQ.js +1 -1
- package/dist/components/quadrantDiagram-W4KKPZXB.js +1 -1
- package/dist/components/radar-GUYGQ44K.js +1 -1
- package/dist/components/requirementDiagram-4Y6WPE33.js +1 -1
- package/dist/components/ro-RO-JPDTUUEW.js +1 -1
- package/dist/components/rough.esm.js +1 -1
- package/dist/components/roundRect.js +1 -1
- package/dist/components/ru-RU-B4JR7IUQ.js +1 -1
- package/dist/components/sankeyDiagram-5OEKKPKP.js +1 -1
- package/dist/components/sequenceDiagram-3UESZ5HK.js +1 -1
- package/dist/components/si-LK-N5RQ5JYF.js +1 -1
- package/dist/components/sk-SK-C5VTKIMK.js +1 -1
- package/dist/components/sl-SI-NN7IZMDC.js +1 -1
- package/dist/components/stateDiagram-AJRCARHV.js +1 -1
- package/dist/components/stateDiagram-v2-BHNVJYJU.js +1 -1
- package/dist/components/subset-shared.chunk.js +1 -1
- package/dist/components/subset-worker.chunk.js +1 -1
- package/dist/components/sv-SE-XGPEYMSR.js +1 -1
- package/dist/components/ta-IN-2NMHFXQM.js +1 -1
- package/dist/components/th-TH-HPSO5L25.js +1 -1
- package/dist/components/time.js +1 -1
- package/dist/components/timeline-definition-PNZ67QCA.js +1 -1
- package/dist/components/tr-TR-DEFEU3FU.js +1 -1
- package/dist/components/transform.js +1 -1
- package/dist/components/treeView-BLDUP644.js +1 -1
- package/dist/components/treemap-LRROVOQU.js +1 -1
- package/dist/components/uk-UA-QMV73CPH.js +1 -1
- package/dist/components/vennDiagram-CIIHVFJN.js +1 -1
- package/dist/components/vi-VN-M7AON7JQ.js +1 -1
- package/dist/components/wardley-L42UT6IY.js +1 -1
- package/dist/components/wardleyDiagram-YWT4CUSO.js +1 -1
- package/dist/components/wasm-pack-shim.js +1 -0
- package/dist/components/wasm-pack-shim2.js +1 -0
- package/dist/components/worker-ref.js +1 -1
- package/dist/components/xychartDiagram-2RQKCTM6.js +1 -1
- package/dist/components/zh-CN-LNUGB5OW.js +1 -1
- package/dist/components/zh-HK-E62DVLB3.js +1 -1
- package/dist/components/zh-TW-RAJ6MFWO.js +1 -1
- package/dist/index.d.ts +28 -0
- package/dist/index.mjs +1 -1
- package/dist/package/index.d.ts +7 -0
- package/dist/style.css +2 -2
- package/package.json +5 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function f(){var J=['6BNIPDO','素材库已提交','获取共享链接','画布内容:','此颜色没有可用的明暗变化','点击最后一个点或按下\x20Esc/Enter\x20来完成','遇到异常。请尝试<button>重新加载页面</button>。','线框图至代码','导出、首选项、语言……','我们强烈建议禁用此设置。您可以按照<link>这些步骤</link>来设置。','按住SHIFT可以自由缩放,\x0a按住ALT可以从中间缩放','注意:部分选中的项目已经发布或提交。请仅在更新已有或已提交的素材库时重复提交项目。','Twitter\x20用户名','无法从素材库中移除项目','锁定/解锁','圆点(空心)','点击以开始交互','快捷键和帮助','296822BPAVaa','3962952XNHduz','常用自定义颜色','样式已拷贝。','点击并拖动,完成时松开','保存为文件','您的名字或用户名','编辑链接与嵌入','导出到\x20Excalidraw+','转换成代码','10krsbVl','编辑线条或箭头的点','无法将项目添加到素材库中','2817495ZvLLqS','1834905lnVnHM','点击并拖动以创建嵌入网页','发布素材库','无法插入\x20SVG\x20图像。该\x20SVG\x20标记似乎是无效的。','发布您自己的素材库','目前仅支持<flowchartLink>流程图</flowchartLink>、<sequenceLink>序列图</sequenceLink>和<classLink>类图</classLink>。其他类型在\x20Excalidraw\x20中将以图像呈现。','3140984sGQHxK','SVG','12uBSpHo','要移动画布,请按住鼠标滚轮或空格键同时拖拽鼠标,或使用抓手工具。','Mermaid\x20语法','将画布数据导出为图片,以便以后导入。','按住\x20CtrlOrCmd\x20以深度选择,并避免拖拽','按下\x20Escape\x20或\x20CtrlOrCmd+ENTER\x20完成编辑','2922941MFdATE','无法创建可共享链接:画布过大','取色器','提示:您也可以使用选择工具双击任意位置来添加文字','保存到...','协作者','左右移动页面','选定形状操作','全部锁定','仅选中','色调明暗','结束会话','放大字体大小','保存到本地','11200805fiHtdh','图,化繁为简。','重置画布','导出为\x20PNG','画框工具','GitHub\x20用户名','左对齐','8ECcVgF','切换嵌入'];f=function(){return J;};return f();}function j(a,b){a=a-0x7e;var c=f();var d=c[a];return d;}var I=j;(function(q,v){var H=j,x=q();while(!![]){try{var z=-parseInt(H(0xbe))/0x1*(parseInt(H(0x8b))/0x2)+parseInt(H(0x98))/0x3+parseInt(H(0x9f))/0x4+parseInt(H(0x99))/0x5*(parseInt(H(0xa1))/0x6)+-parseInt(H(0xa7))/0x7*(parseInt(H(0xbc))/0x8)+-parseInt(H(0x8c))/0x9*(-parseInt(H(0x95))/0xa)+-parseInt(H(0xb5))/0xb;if(z===v)break;else x['push'](x['shift']());}catch(G){x['push'](x['shift']());}}}(f,0x8bc01));import'./index.js';import'./_commonjsHelpers.js';var u={'paste':'粘贴','pasteAsPlaintext':'粘贴为纯文本','pasteCharts':'粘贴图表','selectAll':'全部选中','multiSelect':'添加元素到选区','moveCanvas':'移动画布','cut':'剪切','copy':'拷贝','copyAsPng':'复制为\x20PNG\x20到剪贴板','copyAsSvg':'复制为\x20SVG\x20到剪贴板','copyText':'复制文本到剪贴板','copySource':'复制源码到剪贴板','convertToCode':I(0x94),'bringForward':'上移一层','sendToBack':'置于底层','bringToFront':'置于顶层','sendBackward':'下移一层','delete':'删除','copyStyles':'拷贝样式','pasteStyles':'粘贴样式','stroke':'描边','background':'背景','fill':'填充','strokeWidth':'描边宽度','strokeStyle':'边框样式','strokeStyle_solid':'实线','strokeStyle_dashed':'虚线','strokeStyle_dotted':'点虚线','sloppiness':'线条风格','opacity':'透明度','textAlign':'文本对齐','edges':'边角','sharp':'尖锐','round':'圆润','arrowheads':'端点','arrowhead_none':'无','arrowhead_arrow':'箭头','arrowhead_bar':'条状','arrowhead_circle':'圆点','arrowhead_circle_outline':I(0x88),'arrowhead_triangle':'三角箭头','arrowhead_triangle_outline':'三角箭头(空心)','arrowhead_diamond':'菱形','arrowhead_diamond_outline':'菱形(空心)','fontSize':'字体大小','fontFamily':'字体','addWatermark':'添加\x20“使用\x20Excalidraw\x20创建”\x20水印','handDrawn':'手写','normal':'普通','code':'代码','small':'小','medium':'中','large':'大','veryLarge':'加大','solid':'实心','hachure':'线条','zigzag':'之字形折线','crossHatch':'交叉线条','thin':'细','bold':'粗','left':I(0xbb),'center':'居中','right':'右对齐','extraBold':'特粗','architect':'朴素','artist':'艺术','cartoonist':'漫画家','fileTitle':'文件名','colorPicker':I(0xa9),'canvasColors':'画布上的','canvasBackground':'画布背景','drawingCanvas':'绘制\x20Canvas','layers':'图层','actions':'操作','language':'语言','liveCollaboration':'实时协作...','duplicateSelection':'复制','untitled':'无标题','name':'名字','yourName':'您的姓名','madeWithExcalidraw':'使用\x20Excalidraw\x20创建','group':'编组','ungroup':'解除编组','collaborators':I(0xac),'showGrid':'显示网格','addToLibrary':'添加到素材库中','removeFromLibrary':'从素材库中移除','libraryLoadingMessage':'正在加载素材库…','libraries':'浏览素材库','loadingScene':'正在加载绘图…','align':'对齐','alignTop':'顶部对齐','alignBottom':'底端对齐','alignLeft':'左对齐','alignRight':'右对齐','centerVertically':'垂直居中','centerHorizontally':'水平居中','distributeHorizontally':'水平等距分布','distributeVertically':'垂直等距分布','flipHorizontal':'水平翻转','flipVertical':'垂直翻转','viewMode':'查看模式','share':'分享','showStroke':'显示描边颜色选择器','showBackground':'显示背景颜色选择器','toggleTheme':'切换主题','personalLib':'个人素材库','excalidrawLib':'Excalidraw\x20素材库','decreaseFontSize':'缩小字体大小','increaseFontSize':I(0xb3),'unbindText':'取消文本绑定','bindText':'将文本绑定到容器','createContainerFromText':'将文本包围在容器中','link':{'edit':'编辑链接','editEmbed':I(0x92),'create':'新建链接','createEmbed':'创建链接与嵌入','label':'链接','labelEmbed':'链接与嵌入','empty':'未设定链接'},'lineEditor':{'edit':'编辑线条','exit':'退出线条编辑'},'elementLock':{'lock':'锁定','unlock':'解除锁定','lockAll':I(0xaf),'unlockAll':'全部解锁'},'statusPublished':'已发布','sidebarLock':'侧边栏常驻','selectAllElementsInFrame':'选择画框中的所有元素','removeAllElementsFromFrame':'分离出画框中的所有元素','eyeDropper':'从画布上取色','textToDiagram':'文字至图表','prompt':'Prompt'},F={'noItems':'尚未添加任何项目……','hint_emptyLibrary':'选中画布上的项目添加到此处,或从下方的公共素材库中导入。','hint_emptyPrivateLibrary':'选中画布上的项目添加到此处。'},E={'clearReset':I(0xb7),'exportJSON':'导出为文件','exportImage':'导出图片...','export':I(0xab),'copyToClipboard':'复制到剪贴板','save':'保存至当前文件','saveAs':'保存为','load':'打开','getShareableLink':I(0xc0),'close':'关闭','selectLanguage':'选择语言','scrollBackToContent':'滚动回到内容','zoomIn':'放大','zoomOut':'缩小','resetZoom':'重置缩放','menu':'菜单','done':'完成','edit':'编辑','undo':'撤销','redo':'重做','resetLibrary':'重置素材库','createNewRoom':'新建会议室','fullScreen':'全屏','darkMode':'深色模式','lightMode':'浅色模式','zenMode':'禅模式','objectsSnapMode':'吸附至对象','exitZenMode':'退出禅模式','cancel':'取消','clear':'清除','remove':'删除','embed':I(0xbd),'publishLibrary':'发布','submit':'提交','confirm':'确定','embeddableInteractionButton':I(0x89)},e={'clearReset':'这将会清除整个画布。您是否要继续?','couldNotCreateShareableLink':'无法创建共享链接','couldNotCreateShareableLinkTooBig':I(0xa8),'couldNotLoadInvalidFile':'无法加载无效的文件','importBackendFailed':'从后端导入失败。','cannotExportEmptyCanvas':'无法导出空白画布。','couldNotCopyToClipboard':'无法复制到剪贴板。','decryptFailed':'无法解密数据。','uploadedSecurly':'上传已被端到端加密保护,这意味着\x20Excalidraw\x20的服务器和第三方都无法读取内容。','loadSceneOverridePrompt':'加载外部绘图将取代您现有的内容。您想要继续吗?','collabStopOverridePrompt':'停止会话将覆盖您先前本地存储的绘图。\x20您确定吗?\x0a\x0a(如果您想保持本地绘图,只需关闭浏览器选项卡。)','errorAddingToLibrary':I(0x97),'errorRemovingFromLibrary':I(0x86),'confirmAddLibrary':'这将添加\x20{{numShapes}}\x20个形状到您的素材库中。您确定吗?','imageDoesNotContainScene':'此图像似乎不包含任何画布数据。您是否在导出时启用了画布嵌入功能?','cannotRestoreFromImage':'无法从此图像文件恢复画布','invalidSceneUrl':'无法从提供的\x20URL\x20导入场景。它或者格式不正确,或者不包含有效的\x20Excalidraw\x20JSON\x20数据。','resetLibrary':'这将会清除你的素材库。你确定要这么做吗?','removeItemsFromsLibrary':'确定要从素材库中删除\x20{{count}}\x20个项目吗?','invalidEncryptionKey':'密钥必须包含22个字符。实时协作已被禁用。','collabOfflineWarning':'无网络连接。\x0a您的改动将不会被保存!'},D={'unsupportedFileType':'不支持的文件格式。','imageInsertError':'无法插入图像。请稍后再试……','fileTooBig':'文件过大。最大允许的大小为\x20{{maxSize}}。','svgImageInsertError':I(0x9c),'failedToFetchImage':'无法获取图片。','invalidSVGString':'无效的\x20SVG。','cannotResolveCollabServer':'无法连接到实时协作服务器。请重新加载页面并重试。','importLibraryError':'无法加载素材库','collabSaveFailed':'无法保存到后端数据库。如果问题持续存在,您应该保存文件到本地,以确保您的工作不会丢失。','collabSaveFailed_sizeExceeded':'无法保存到后端数据库,画布似乎过大。您应该保存文件到本地,以确保您的工作不会丢失。','imageToolNotSupported':'图片已被禁用。','brave_measure_text_error':{'line1':'您似乎正在使用\x20Brave\x20浏览器并启用了<bold>积极阻止指纹识别</bold>的设置。','line2':'这可能会破坏绘图中的\x20<bold>文本元素</bold>。','line3':I(0x82),'line4':'如果禁用此设置无法修复文本元素的显示,请在\x20GitHub\x20上提交一个\x20<issueLink>issue</issueLink>\x20,或者在\x20<discordLink>Discord</discordLink>\x20上反馈'},'libraryElementTypeError':{'embeddable':'嵌入的元素不能被添加到素材库。','iframe':'不能将\x20IFrame\x20元素添加到素材库中。','image':'我们不久将支持添加图片到素材库'},'asyncPasteFailedOnRead':'无法粘贴(无法读取系统剪贴板)。','asyncPasteFailedOnParse':'无法粘贴。','copyToSystemClipboardFailed':'无法复制到剪贴板。'},B={'selection':'选择','image':'插入图像','rectangle':'矩形','diamond':'菱形','ellipse':'椭圆','arrow':'箭头','line':'线条','freedraw':'自由书写','text':'文字','library':'素材库','lock':'绘制后保持所选的工具栏状态','penMode':'笔模式\x20–\x20避免误触','link':'为选中的形状添加/更新链接','eraser':'橡皮','frame':I(0xb9),'magicframe':I(0x80),'embeddable':'嵌入网页','laser':'激光笔','hand':'抓手(平移工具)','extraTools':'更多工具','mermaidToExcalidraw':'Mermaid\x20至\x20Excalidraw','magicSettings':'AI\x20设置'},C={'canvasActions':'画布动作','selectedShapeActions':I(0xae),'shapes':'形状'},a={'canvasPanning':I(0xa2),'linearElement':'点击创建多个点\x20拖动创建直线','freeDraw':I(0x8f),'text':I(0xaa),'embeddable':I(0x9a),'text_selected':'双击或按回车键以编辑文本','text_editing':I(0xa6),'linearElementMulti':I(0x7e),'lockAngle':'可以按住\x20Shift\x20来约束角度','resize':'您可以按住SHIFT来限制比例大小,\x0a按住ALT来调整中心大小','resizeImage':I(0x83),'rotate':'旋转时可以按住\x20Shift\x20来约束角度','lineEditor_info':'按住\x20CtrlOrCmd\x20并双击或按\x20CtrlOrCmd\x20+\x20Enter\x20来编辑点','lineEditor_pointSelected':'按下\x20Delete\x20移除点,CtrlOrCmd+D\x20以复制,拖动以移动','lineEditor_nothingSelected':'选择要编辑的点\x20(按住\x20SHIFT\x20选择多个),\x0a或按住\x20Alt\x20并点击以添加新点','placeImage':'点击放置图像,或者点击并拖动以手动设置图像大小','publishLibrary':I(0x9d),'bindTextToElement':'按下\x20Enter\x20以添加文本','deepBoxSelect':I(0xa5),'eraserRevert':'按住\x20Alt\x20以反选被标记删除的元素','firefox_clipboard_write':'将高级配置首选项“dom.events.asyncClipboard.clipboardItem”设置为“true”可以启用此功能。要更改\x20Firefox\x20的高级配置首选项,请前往“about:config”页面。','disableSnapping':'按住\x20Ctrl\x20或\x20Cmd\x20以禁用吸附'},r={'cannotShowPreview':'无法显示预览','canvasTooBig':'画布可能过大。','canvasTooBigTip':'提示:尝试将最远的元素移动到和其它元素更近一些。'},A={'headingMain':I(0x7f),'clearCanvasMessage':'如果重新加载页面无效,请尝试<button>清除画布</button>。','clearCanvasCaveat':'这会造成当前工作丢失','trackedToSentry':'标识符为{{eventId}}的错误已在我们的系统中被记录','openIssueMessage':'我们非常谨慎地处理错误信息,您的画布内容不会被包含在错误报告中。如果您的画布内容不需要保持私密,请考虑在我们的\x20<button>bug\x20跟踪系统</button>上提供更多信息。请复制粘贴以下信息到\x20GitHub\x20Issue\x20中。','sceneContent':I(0xc1)},t={'desc_intro':'你可以邀请其他人到目前的画面中与你协作。','desc_privacy':'别担心,该会话使用端到端加密,无论绘制什么都将保持私密,甚至连我们的服务器也无法查看。','button_startSession':'开始会话','button_stopSession':I(0xb2),'desc_inProgressIntro':'实时协作会话进行中。','desc_shareLink':'分享此链接给你要协作的用户','desc_exitSession':'停止会话将中断您与房间的连接,但您依然可以在本地继续使用画布。请注意,这不会影响到其他用户,他们仍可以在他们的版本上继续协作。','shareTitle':'加入\x20Excalidraw\x20实时协作会话'},o={'title':'错误'},i={'disk_title':I(0xb4),'disk_details':'将画布数据导出为文件,以便以后导入','disk_button':I(0x90),'link_title':'分享链接','link_details':'导出为只读链接。','link_button':'导出链接','excalidrawplus_description':'将画布保存到您的\x20Excalidraw+\x20工作区。','excalidrawplus_button':'导出','excalidrawplus_exportError':'暂时无法导出到\x20Excalidraw+\x20...'},l={'blog':'浏览我们的博客','click':'单击','deepSelect':'深度选择','deepBoxSelect':'在方框内深度选择并避免拖拽','curvedArrow':'曲线箭头','curvedLine':'曲线','documentation':'文档','doubleClick':'双击','drag':'拖动','editor':'编辑器','editLineArrowPoints':I(0x96),'editText':'添加或编辑文本','github':'发现问题?提交反馈','howto':'帮助文档','or':'或','preventBinding':'禁用箭头吸附','tools':'工具','shortcuts':'快捷键列表','textFinish':'完成编辑\x20(文本编辑器)','textNewLine':'添加新行(文本编辑器)','title':'帮助','view':'视图','zoomToFit':'缩放以适应所有元素','zoomToSelection':'缩放到选区','toggleElementLock':I(0x87),'movePageUpDown':'上下移动页面','movePageLeftRight':I(0xad)},n={'title':'清除画布'},s={'title':I(0x9b),'itemName':'项目名称','authorName':'作者名','githubUsername':I(0xba),'twitterUsername':I(0x85),'libraryName':'名称','libraryDesc':'简介','website':'网址','placeholder':{'authorName':I(0x91),'libraryName':'素材库名称','libraryDesc':'介绍您的素材库,让人们了解其用途','githubHandle':'GitHub\x20用户名(可选),填写后,您可以编辑已提交待审的素材库','twitterHandle':'Twitter\x20用户名(可选),填写后,当我们在Twitter发布推广信息时便可提及您','website':'您个人网站的或任意的链接(可选)'},'errors':{'required':'必填','website':'输入一个有效的URL'},'noteDescription':'提交后,您的素材库将被包含在<link>公共素材库广场</link>以供其他人在绘图中使用。','noteGuidelines':'提交的素材库需先经人工审核。在提交之前,请先阅读<link>指南</link>\x20。后续沟通和对库的修改需要\x20GitHub\x20账号,但这不是必须的。','noteLicense':'提交即表明您已同意素材库将遵循\x20<link>MIT\x20许可证</link>,简而言之,任何人都可以不受限制地使用它们。','noteItems':'素材库中每个项目都有各自的名称以供筛选。以下项目将被包含:','atleastOneLibItem':'请选择至少一个素材库以开始','republishWarning':I(0x84)},d={'title':I(0xbf),'content':'谢谢你\x20{{authorName}}。您的素材库已被提交审核。请点击<link>此处</link>跟进此次提交的状态'},c={'resetLibrary':'重置素材库','removeItemsFromLib':'从素材库中删除选中的项目'},m={'header':'导出图片','label':{'withBackground':'背景','onlySelected':I(0xb0),'darkMode':'深色模式','embedScene':'包含画布数据','scale':'缩放比例','padding':'内边距'},'tooltip':{'embedScene':'画布数据将被保存到导出的\x20PNG/SVG\x20文件,以便恢复。\x0a将会增加导出文件的大小。'},'title':{'exportToPng':I(0xb8),'exportToSvg':'导出为\x20SVG','copyPngToClipboard':'复制\x20PNG\x20到剪切板'},'button':{'exportToPng':'PNG','exportToSvg':I(0xa0),'copyPngToClipboard':'复制到剪贴板'}},b={'tooltip':'您的绘图采用端到端加密,其内容对于\x20Excalidraw\x20服务器是不可见的。','link':'Excalidraw\x20中关于端到端加密的博客'},p={'angle':'角度','element':'元素','elements':'元素','height':'高度','scene':'画布','selected':'选中','storage':'存储','title':'详细统计信息','total':'总计','version':'版本','versionCopy':'点击复制','versionNotAvailable':'版本不可用','width':'宽度'},g={'addedToLibrary':'添加到素材库中','copyStyles':I(0x8e),'copyToClipboard':'已复制到剪切板。','copyToClipboardAsPng':'已将\x20{{exportSelection}}\x20作为\x20PNG\x20复制到剪贴板\x0a({{exportColorScheme}})','fileSaved':'文件已保存。','fileSavedToFilename':'保存到\x20{filename}','canvas':'画布','selection':'所选项','pasteAsSingleElement':'使用\x20{{shortcut}}\x20粘贴为单个元素,\x0a或粘贴到现有的文本编辑器里','unableToEmbed':'目前不允许嵌入此网址。请在\x20GitHub\x20上提\x20issue\x20请求将此网址加入白名单','unrecognizedLinkFormat':'您嵌入的链接不符合格式要求。请尝试粘贴源网站提供的“嵌入\x20(embed)”字符串'},h={'transparent':'透明','black':'黑','white':'白','red':'红','pink':'粉红','grape':'紫红','violet':'蓝紫','gray':'灰','blue':'蓝','cyan':'青','teal':'蓝绿','green':'绿','yellow':'黄','orange':'橙','bronze':'古铜'},S={'app':{'center_heading':'您的所有数据都储存在浏览器本地。','center_heading_plus':'是否前往\x20Excalidraw+\x20?','menuHint':I(0x81)},'defaults':{'menuHint':'导出、首选项……','center_heading':I(0xb6),'toolbarHint':'选择工具并开始绘图!','helpHint':I(0x8a)}},y={'mostUsedCustomColors':I(0x8d),'colors':'颜色','shades':I(0xb1),'hexCode':'十六进制值','noShades':I(0xc2)},w={'action':{'exportToImage':{'title':'导出为图片','button':'导出为图片','description':I(0xa4)},'saveToDisk':{'title':'保存到本地','button':'保存到本地','description':'将画布数据导出为文件,以便以后导入。'},'excalidrawPlus':{'title':'Excalidraw+','button':I(0x93),'description':'将画布保存到您的\x20Excalidraw+\x20工作区。'}},'modal':{'loadFromFile':{'title':'从文件加载','button':'从文件加载','description':'从文件加载将<bold>替换您现有的内容</bold>。<br></br>您可以先使用下列方式备份您的绘图。'},'shareableLink':{'title':'从链接加载','button':'替换我的内容','description':'加载外部绘图将<bold>替换您现有的内容</bold>。<br></br>您可以先使用下列方式备份您的绘图。'}}},k={'title':'Mermaid\x20至\x20Excalidraw','button':'插入','description':I(0x9e),'syntax':I(0xa3),'preview':'预览'},T={'labels':u,'library':F,'buttons':E,'alerts':e,'errors':D,'toolBar':B,'headings':C,'hints':a,'canvasError':r,'errorSplash':A,'roomDialog':t,'errorDialog':o,'exportDialog':i,'helpDialog':l,'clearCanvasDialog':n,'publishDialog':s,'publishSuccessDialog':d,'confirmDialog':c,'imageExportDialog':m,'encrypted':b,'stats':p,'toast':g,'colors':h,'welcomeScreen':S,'colorPicker':y,'overwriteConfirm':w,'mermaid':k};export{e as alerts,E as buttons,r as canvasError,n as clearCanvasDialog,y as colorPicker,h as colors,c as confirmDialog,T as default,b as encrypted,o as errorDialog,A as errorSplash,D as errors,i as exportDialog,C as headings,l as helpDialog,a as hints,m as imageExportDialog,u as labels,F as library,k as mermaid,w as overwriteConfirm,s as publishDialog,d as publishSuccessDialog,t as roomDialog,p as stats,g as toast,B as toolBar,S as welcomeScreen};
|
|
1
|
+
function f(){var J=['无网络连接。\x0a您的改动将不会被保存!','线条风格','904350ZgTgUt','343847vzwnDx','PNG','点击并拖动以创建嵌入网页','将高级配置首选项“dom.events.asyncClipboard.clipboardItem”设置为“true”可以启用此功能。要更改\x20Firefox\x20的高级配置首选项,请前往“about:config”页面。','曲线箭头','粘贴样式','退出线条编辑','十六进制值','80SKgWJk','9npTSzO','之字形折线','实时协作会话进行中。','清除画布','所选项','点击以开始交互','菱形(空心)','无法创建共享链接','项目名称','锁定/解锁','右对齐','3044931gHPvjh','添加到素材库中','从文件加载将<bold>替换您现有的内容</bold>。<br></br>您可以先使用下列方式备份您的绘图。','无法将项目添加到素材库中','导出、首选项、语言……','5408YJcgyD','加载外部绘图将取代您现有的内容。您想要继续吗?','请选择至少一个素材库以开始','自由书写','内边距','此图像似乎不包含任何画布数据。您是否在导出时启用了画布嵌入功能?','5045106nFOakf','将文本绑定到容器','垂直居中','保存到本地','分离出画框中的所有元素','密钥必须包含22个字符。实时协作已被禁用。','更多工具','水平等距分布','图,化繁为简。','4wNOvpI','我们非常谨慎地处理错误信息,您的画布内容不会被包含在错误报告中。如果您的画布内容不需要保持私密,请考虑在我们的\x20<button>bug\x20跟踪系统</button>上提供更多信息。请复制粘贴以下信息到\x20GitHub\x20Issue\x20中。','画布背景','激光笔','介绍您的素材库,让人们了解其用途','91qXGeAj','侧边栏常驻','Prompt','我们不久将支持添加图片到素材库','529896OfTusz','文件名','保存到...','无法获取图片。','加载外部绘图将<bold>替换您现有的内容</bold>。<br></br>您可以先使用下列方式备份您的绘图。','您个人网站的或任意的链接(可选)','文字至图表','分享链接','已将\x20{{exportSelection}}\x20作为\x20PNG\x20复制到剪贴板\x0a({{exportColorScheme}})','重置画布','转换成代码','将画布数据导出为图片,以便以后导入。','粘贴为纯文本','点击复制','遇到异常。请尝试<button>重新加载页面</button>。','下移一层','放大字体大小','三角箭头(空心)','复制文本到剪贴板','Excalidraw\x20中关于端到端加密的博客','选择画框中的所有元素','无法从素材库中移除项目','水平居中','重置素材库','笔模式\x20–\x20避免误触','将画布保存到您的\x20Excalidraw+\x20工作区。','标识符为{{eventId}}的错误已在我们的系统中被记录','全部锁定','从文件加载','发布您自己的素材库','缩小字体大小','8307450rZFFjg','结束会话','11ZNUGEh','导出、首选项……'];f=function(){return J;};return f();}var I=j;(function(q,v){var H=j,x=q();while(!![]){try{var z=-parseInt(H(0xb1))/0x1*(parseInt(H(0x9d))/0x2)+parseInt(H(0x98))/0x3+-parseInt(H(0xac))/0x4*(-parseInt(H(0x83))/0x5)+parseInt(H(0xa3))/0x6+parseInt(H(0x84))/0x7*(-parseInt(H(0x8c))/0x8)+parseInt(H(0x8d))/0x9*(-parseInt(H(0x7d))/0xa)+parseInt(H(0x7f))/0xb*(parseInt(H(0xb5))/0xc);if(z===v)break;else x['push'](x['shift']());}catch(G){x['push'](x['shift']());}}}(f,0x7d345));import'./index.js';import'./_commonjsHelpers.js';var u={'paste':'粘贴','pasteAsPlaintext':I(0x6a),'pasteCharts':'粘贴图表','selectAll':'全部选中','multiSelect':'添加元素到选区','moveCanvas':'移动画布','cut':'剪切','copy':'拷贝','copyAsPng':'复制为\x20PNG\x20到剪贴板','copyAsSvg':'复制为\x20SVG\x20到剪贴板','copyText':I(0x70),'copySource':'复制源码到剪贴板','convertToCode':I(0xbf),'bringForward':'上移一层','sendToBack':'置于底层','bringToFront':'置于顶层','sendBackward':I(0x6d),'delete':'删除','copyStyles':'拷贝样式','pasteStyles':I(0x89),'stroke':'描边','background':'背景','fill':'填充','strokeWidth':'描边宽度','strokeStyle':'边框样式','strokeStyle_solid':'实线','strokeStyle_dashed':'虚线','strokeStyle_dotted':'点虚线','sloppiness':I(0x82),'opacity':'透明度','textAlign':'文本对齐','edges':'边角','sharp':'尖锐','round':'圆润','arrowheads':'端点','arrowhead_none':'无','arrowhead_arrow':'箭头','arrowhead_bar':'条状','arrowhead_circle':'圆点','arrowhead_circle_outline':'圆点(空心)','arrowhead_triangle':'三角箭头','arrowhead_triangle_outline':I(0x6f),'arrowhead_diamond':'菱形','arrowhead_diamond_outline':I(0x93),'fontSize':'字体大小','fontFamily':'字体','addWatermark':'添加\x20“使用\x20Excalidraw\x20创建”\x20水印','handDrawn':'手写','normal':'普通','code':'代码','small':'小','medium':'中','large':'大','veryLarge':'加大','solid':'实心','hachure':'线条','zigzag':I(0x8e),'crossHatch':'交叉线条','thin':'细','bold':'粗','left':'左对齐','center':'居中','right':'右对齐','extraBold':'特粗','architect':'朴素','artist':'艺术','cartoonist':'漫画家','fileTitle':I(0xb6),'colorPicker':'取色器','canvasColors':'画布上的','canvasBackground':I(0xae),'drawingCanvas':'绘制\x20Canvas','layers':'图层','actions':'操作','language':'语言','liveCollaboration':'实时协作...','duplicateSelection':'复制','untitled':'无标题','name':'名字','yourName':'您的姓名','madeWithExcalidraw':'使用\x20Excalidraw\x20创建','group':'编组','ungroup':'解除编组','collaborators':'协作者','showGrid':'显示网格','addToLibrary':'添加到素材库中','removeFromLibrary':'从素材库中移除','libraryLoadingMessage':'正在加载素材库…','libraries':'浏览素材库','loadingScene':'正在加载绘图…','align':'对齐','alignTop':'顶部对齐','alignBottom':'底端对齐','alignLeft':'左对齐','alignRight':I(0x97),'centerVertically':I(0xa5),'centerHorizontally':I(0x74),'distributeHorizontally':I(0xaa),'distributeVertically':'垂直等距分布','flipHorizontal':'水平翻转','flipVertical':'垂直翻转','viewMode':'查看模式','share':'分享','showStroke':'显示描边颜色选择器','showBackground':'显示背景颜色选择器','toggleTheme':'切换主题','personalLib':'个人素材库','excalidrawLib':'Excalidraw\x20素材库','decreaseFontSize':I(0x7c),'increaseFontSize':I(0x6e),'unbindText':'取消文本绑定','bindText':I(0xa4),'createContainerFromText':'将文本包围在容器中','link':{'edit':'编辑链接','editEmbed':'编辑链接与嵌入','create':'新建链接','createEmbed':'创建链接与嵌入','label':'链接','labelEmbed':'链接与嵌入','empty':'未设定链接'},'lineEditor':{'edit':'编辑线条','exit':I(0x8a)},'elementLock':{'lock':'锁定','unlock':'解除锁定','lockAll':I(0x79),'unlockAll':'全部解锁'},'statusPublished':'已发布','sidebarLock':I(0xb2),'selectAllElementsInFrame':I(0x72),'removeAllElementsFromFrame':I(0xa7),'eyeDropper':'从画布上取色','textToDiagram':I(0xbb),'prompt':I(0xb3)},F={'noItems':'尚未添加任何项目……','hint_emptyLibrary':'选中画布上的项目添加到此处,或从下方的公共素材库中导入。','hint_emptyPrivateLibrary':'选中画布上的项目添加到此处。'},E={'clearReset':I(0xbe),'exportJSON':'导出为文件','exportImage':'导出图片...','export':I(0xb7),'copyToClipboard':'复制到剪贴板','save':'保存至当前文件','saveAs':'保存为','load':'打开','getShareableLink':'获取共享链接','close':'关闭','selectLanguage':'选择语言','scrollBackToContent':'滚动回到内容','zoomIn':'放大','zoomOut':'缩小','resetZoom':'重置缩放','menu':'菜单','done':'完成','edit':'编辑','undo':'撤销','redo':'重做','resetLibrary':I(0x75),'createNewRoom':'新建会议室','fullScreen':'全屏','darkMode':'深色模式','lightMode':'浅色模式','zenMode':'禅模式','objectsSnapMode':'吸附至对象','exitZenMode':'退出禅模式','cancel':'取消','clear':'清除','remove':'删除','embed':'切换嵌入','publishLibrary':'发布','submit':'提交','confirm':'确定','embeddableInteractionButton':I(0x92)},e={'clearReset':'这将会清除整个画布。您是否要继续?','couldNotCreateShareableLink':I(0x94),'couldNotCreateShareableLinkTooBig':'无法创建可共享链接:画布过大','couldNotLoadInvalidFile':'无法加载无效的文件','importBackendFailed':'从后端导入失败。','cannotExportEmptyCanvas':'无法导出空白画布。','couldNotCopyToClipboard':'无法复制到剪贴板。','decryptFailed':'无法解密数据。','uploadedSecurly':'上传已被端到端加密保护,这意味着\x20Excalidraw\x20的服务器和第三方都无法读取内容。','loadSceneOverridePrompt':I(0x9e),'collabStopOverridePrompt':'停止会话将覆盖您先前本地存储的绘图。\x20您确定吗?\x0a\x0a(如果您想保持本地绘图,只需关闭浏览器选项卡。)','errorAddingToLibrary':I(0x9b),'errorRemovingFromLibrary':I(0x73),'confirmAddLibrary':'这将添加\x20{{numShapes}}\x20个形状到您的素材库中。您确定吗?','imageDoesNotContainScene':I(0xa2),'cannotRestoreFromImage':'无法从此图像文件恢复画布','invalidSceneUrl':'无法从提供的\x20URL\x20导入场景。它或者格式不正确,或者不包含有效的\x20Excalidraw\x20JSON\x20数据。','resetLibrary':'这将会清除你的素材库。你确定要这么做吗?','removeItemsFromsLibrary':'确定要从素材库中删除\x20{{count}}\x20个项目吗?','invalidEncryptionKey':I(0xa8),'collabOfflineWarning':I(0x81)},D={'unsupportedFileType':'不支持的文件格式。','imageInsertError':'无法插入图像。请稍后再试……','fileTooBig':'文件过大。最大允许的大小为\x20{{maxSize}}。','svgImageInsertError':'无法插入\x20SVG\x20图像。该\x20SVG\x20标记似乎是无效的。','failedToFetchImage':I(0xb8),'invalidSVGString':'无效的\x20SVG。','cannotResolveCollabServer':'无法连接到实时协作服务器。请重新加载页面并重试。','importLibraryError':'无法加载素材库','collabSaveFailed':'无法保存到后端数据库。如果问题持续存在,您应该保存文件到本地,以确保您的工作不会丢失。','collabSaveFailed_sizeExceeded':'无法保存到后端数据库,画布似乎过大。您应该保存文件到本地,以确保您的工作不会丢失。','imageToolNotSupported':'图片已被禁用。','brave_measure_text_error':{'line1':'您似乎正在使用\x20Brave\x20浏览器并启用了<bold>积极阻止指纹识别</bold>的设置。','line2':'这可能会破坏绘图中的\x20<bold>文本元素</bold>。','line3':'我们强烈建议禁用此设置。您可以按照<link>这些步骤</link>来设置。','line4':'如果禁用此设置无法修复文本元素的显示,请在\x20GitHub\x20上提交一个\x20<issueLink>issue</issueLink>\x20,或者在\x20<discordLink>Discord</discordLink>\x20上反馈'},'libraryElementTypeError':{'embeddable':'嵌入的元素不能被添加到素材库。','iframe':'不能将\x20IFrame\x20元素添加到素材库中。','image':I(0xb4)},'asyncPasteFailedOnRead':'无法粘贴(无法读取系统剪贴板)。','asyncPasteFailedOnParse':'无法粘贴。','copyToSystemClipboardFailed':'无法复制到剪贴板。'},B={'selection':'选择','image':'插入图像','rectangle':'矩形','diamond':'菱形','ellipse':'椭圆','arrow':'箭头','line':'线条','freedraw':I(0xa0),'text':'文字','library':'素材库','lock':'绘制后保持所选的工具栏状态','penMode':I(0x76),'link':'为选中的形状添加/更新链接','eraser':'橡皮','frame':'画框工具','magicframe':'线框图至代码','embeddable':'嵌入网页','laser':I(0xaf),'hand':'抓手(平移工具)','extraTools':I(0xa9),'mermaidToExcalidraw':'Mermaid\x20至\x20Excalidraw','magicSettings':'AI\x20设置'},C={'canvasActions':'画布动作','selectedShapeActions':'选定形状操作','shapes':'形状'},a={'canvasPanning':'要移动画布,请按住鼠标滚轮或空格键同时拖拽鼠标,或使用抓手工具。','linearElement':'点击创建多个点\x20拖动创建直线','freeDraw':'点击并拖动,完成时松开','text':'提示:您也可以使用选择工具双击任意位置来添加文字','embeddable':I(0x86),'text_selected':'双击或按回车键以编辑文本','text_editing':'按下\x20Escape\x20或\x20CtrlOrCmd+ENTER\x20完成编辑','linearElementMulti':'点击最后一个点或按下\x20Esc/Enter\x20来完成','lockAngle':'可以按住\x20Shift\x20来约束角度','resize':'您可以按住SHIFT来限制比例大小,\x0a按住ALT来调整中心大小','resizeImage':'按住SHIFT可以自由缩放,\x0a按住ALT可以从中间缩放','rotate':'旋转时可以按住\x20Shift\x20来约束角度','lineEditor_info':'按住\x20CtrlOrCmd\x20并双击或按\x20CtrlOrCmd\x20+\x20Enter\x20来编辑点','lineEditor_pointSelected':'按下\x20Delete\x20移除点,CtrlOrCmd+D\x20以复制,拖动以移动','lineEditor_nothingSelected':'选择要编辑的点\x20(按住\x20SHIFT\x20选择多个),\x0a或按住\x20Alt\x20并点击以添加新点','placeImage':'点击放置图像,或者点击并拖动以手动设置图像大小','publishLibrary':I(0x7b),'bindTextToElement':'按下\x20Enter\x20以添加文本','deepBoxSelect':'按住\x20CtrlOrCmd\x20以深度选择,并避免拖拽','eraserRevert':'按住\x20Alt\x20以反选被标记删除的元素','firefox_clipboard_write':I(0x87),'disableSnapping':'按住\x20Ctrl\x20或\x20Cmd\x20以禁用吸附'},r={'cannotShowPreview':'无法显示预览','canvasTooBig':'画布可能过大。','canvasTooBigTip':'提示:尝试将最远的元素移动到和其它元素更近一些。'},A={'headingMain':I(0x6c),'clearCanvasMessage':'如果重新加载页面无效,请尝试<button>清除画布</button>。','clearCanvasCaveat':'这会造成当前工作丢失','trackedToSentry':I(0x78),'openIssueMessage':I(0xad),'sceneContent':'画布内容:'},t={'desc_intro':'你可以邀请其他人到目前的画面中与你协作。','desc_privacy':'别担心,该会话使用端到端加密,无论绘制什么都将保持私密,甚至连我们的服务器也无法查看。','button_startSession':'开始会话','button_stopSession':I(0x7e),'desc_inProgressIntro':I(0x8f),'desc_shareLink':'分享此链接给你要协作的用户','desc_exitSession':'停止会话将中断您与房间的连接,但您依然可以在本地继续使用画布。请注意,这不会影响到其他用户,他们仍可以在他们的版本上继续协作。','shareTitle':'加入\x20Excalidraw\x20实时协作会话'},o={'title':'错误'},i={'disk_title':'保存到本地','disk_details':'将画布数据导出为文件,以便以后导入','disk_button':'保存为文件','link_title':I(0xbc),'link_details':'导出为只读链接。','link_button':'导出链接','excalidrawplus_description':I(0x77),'excalidrawplus_button':'导出','excalidrawplus_exportError':'暂时无法导出到\x20Excalidraw+\x20...'},l={'blog':'浏览我们的博客','click':'单击','deepSelect':'深度选择','deepBoxSelect':'在方框内深度选择并避免拖拽','curvedArrow':I(0x88),'curvedLine':'曲线','documentation':'文档','doubleClick':'双击','drag':'拖动','editor':'编辑器','editLineArrowPoints':'编辑线条或箭头的点','editText':'添加或编辑文本','github':'发现问题?提交反馈','howto':'帮助文档','or':'或','preventBinding':'禁用箭头吸附','tools':'工具','shortcuts':'快捷键列表','textFinish':'完成编辑\x20(文本编辑器)','textNewLine':'添加新行(文本编辑器)','title':'帮助','view':'视图','zoomToFit':'缩放以适应所有元素','zoomToSelection':'缩放到选区','toggleElementLock':I(0x96),'movePageUpDown':'上下移动页面','movePageLeftRight':'左右移动页面'},n={'title':I(0x90)},s={'title':'发布素材库','itemName':I(0x95),'authorName':'作者名','githubUsername':'GitHub\x20用户名','twitterUsername':'Twitter\x20用户名','libraryName':'名称','libraryDesc':'简介','website':'网址','placeholder':{'authorName':'您的名字或用户名','libraryName':'素材库名称','libraryDesc':I(0xb0),'githubHandle':'GitHub\x20用户名(可选),填写后,您可以编辑已提交待审的素材库','twitterHandle':'Twitter\x20用户名(可选),填写后,当我们在Twitter发布推广信息时便可提及您','website':I(0xba)},'errors':{'required':'必填','website':'输入一个有效的URL'},'noteDescription':'提交后,您的素材库将被包含在<link>公共素材库广场</link>以供其他人在绘图中使用。','noteGuidelines':'提交的素材库需先经人工审核。在提交之前,请先阅读<link>指南</link>\x20。后续沟通和对库的修改需要\x20GitHub\x20账号,但这不是必须的。','noteLicense':'提交即表明您已同意素材库将遵循\x20<link>MIT\x20许可证</link>,简而言之,任何人都可以不受限制地使用它们。','noteItems':'素材库中每个项目都有各自的名称以供筛选。以下项目将被包含:','atleastOneLibItem':I(0x9f),'republishWarning':'注意:部分选中的项目已经发布或提交。请仅在更新已有或已提交的素材库时重复提交项目。'},d={'title':'素材库已提交','content':'谢谢你\x20{{authorName}}。您的素材库已被提交审核。请点击<link>此处</link>跟进此次提交的状态'},c={'resetLibrary':'重置素材库','removeItemsFromLib':'从素材库中删除选中的项目'},m={'header':'导出图片','label':{'withBackground':'背景','onlySelected':'仅选中','darkMode':'深色模式','embedScene':'包含画布数据','scale':'缩放比例','padding':I(0xa1)},'tooltip':{'embedScene':'画布数据将被保存到导出的\x20PNG/SVG\x20文件,以便恢复。\x0a将会增加导出文件的大小。'},'title':{'exportToPng':'导出为\x20PNG','exportToSvg':'导出为\x20SVG','copyPngToClipboard':'复制\x20PNG\x20到剪切板'},'button':{'exportToPng':I(0x85),'exportToSvg':'SVG','copyPngToClipboard':'复制到剪贴板'}},b={'tooltip':'您的绘图采用端到端加密,其内容对于\x20Excalidraw\x20服务器是不可见的。','link':I(0x71)},p={'angle':'角度','element':'元素','elements':'元素','height':'高度','scene':'画布','selected':'选中','storage':'存储','title':'详细统计信息','total':'总计','version':'版本','versionCopy':I(0x6b),'versionNotAvailable':'版本不可用','width':'宽度'},g={'addedToLibrary':I(0x99),'copyStyles':'样式已拷贝。','copyToClipboard':'已复制到剪切板。','copyToClipboardAsPng':I(0xbd),'fileSaved':'文件已保存。','fileSavedToFilename':'保存到\x20{filename}','canvas':'画布','selection':I(0x91),'pasteAsSingleElement':'使用\x20{{shortcut}}\x20粘贴为单个元素,\x0a或粘贴到现有的文本编辑器里','unableToEmbed':'目前不允许嵌入此网址。请在\x20GitHub\x20上提\x20issue\x20请求将此网址加入白名单','unrecognizedLinkFormat':'您嵌入的链接不符合格式要求。请尝试粘贴源网站提供的“嵌入\x20(embed)”字符串'},h={'transparent':'透明','black':'黑','white':'白','red':'红','pink':'粉红','grape':'紫红','violet':'蓝紫','gray':'灰','blue':'蓝','cyan':'青','teal':'蓝绿','green':'绿','yellow':'黄','orange':'橙','bronze':'古铜'},S={'app':{'center_heading':'您的所有数据都储存在浏览器本地。','center_heading_plus':'是否前往\x20Excalidraw+\x20?','menuHint':I(0x9c)},'defaults':{'menuHint':I(0x80),'center_heading':I(0xab),'toolbarHint':'选择工具并开始绘图!','helpHint':'快捷键和帮助'}},y={'mostUsedCustomColors':'常用自定义颜色','colors':'颜色','shades':'色调明暗','hexCode':I(0x8b),'noShades':'此颜色没有可用的明暗变化'},w={'action':{'exportToImage':{'title':'导出为图片','button':'导出为图片','description':I(0xc0)},'saveToDisk':{'title':'保存到本地','button':I(0xa6),'description':'将画布数据导出为文件,以便以后导入。'},'excalidrawPlus':{'title':'Excalidraw+','button':'导出到\x20Excalidraw+','description':'将画布保存到您的\x20Excalidraw+\x20工作区。'}},'modal':{'loadFromFile':{'title':'从文件加载','button':I(0x7a),'description':I(0x9a)},'shareableLink':{'title':'从链接加载','button':'替换我的内容','description':I(0xb9)}}},k={'title':'Mermaid\x20至\x20Excalidraw','button':'插入','description':'目前仅支持<flowchartLink>流程图</flowchartLink>、<sequenceLink>序列图</sequenceLink>和<classLink>类图</classLink>。其他类型在\x20Excalidraw\x20中将以图像呈现。','syntax':'Mermaid\x20语法','preview':'预览'},T={'labels':u,'library':F,'buttons':E,'alerts':e,'errors':D,'toolBar':B,'headings':C,'hints':a,'canvasError':r,'errorSplash':A,'roomDialog':t,'errorDialog':o,'exportDialog':i,'helpDialog':l,'clearCanvasDialog':n,'publishDialog':s,'publishSuccessDialog':d,'confirmDialog':c,'imageExportDialog':m,'encrypted':b,'stats':p,'toast':g,'colors':h,'welcomeScreen':S,'colorPicker':y,'overwriteConfirm':w,'mermaid':k};function j(a,b){a=a-0x6a;var c=f();var d=c[a];return d;}export{e as alerts,E as buttons,r as canvasError,n as clearCanvasDialog,y as colorPicker,h as colors,c as confirmDialog,T as default,b as encrypted,o as errorDialog,A as errorSplash,D as errors,i as exportDialog,C as headings,l as helpDialog,a as hints,m as imageExportDialog,u as labels,F as library,k as mermaid,w as overwriteConfirm,s as publishDialog,d as publishSuccessDialog,t as roomDialog,p as stats,g as toast,B as toolBar,S as welcomeScreen};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var I=j;(function(k,q){var H=j,x=k();while(!![]){try{var z
|
|
1
|
+
var I=j;(function(k,q){var H=j,x=k();while(!![]){try{var z=parseInt(H(0x6e))/0x1*(-parseInt(H(0x76))/0x2)+-parseInt(H(0x78))/0x3+parseInt(H(0x70))/0x4+parseInt(H(0x6b))/0x5+-parseInt(H(0x6a))/0x6+parseInt(H(0x75))/0x7*(-parseInt(H(0x71))/0x8)+parseInt(H(0x7c))/0x9;if(z===q)break;else x['push'](x['shift']());}catch(G){x['push'](x['shift']());}}}(f,0xd49c9));function f(){var J=['手繪體','976053BUHSjE','筆跡顏色','載入畫布中…','字型大小','26996364XtCCrr','無嘢可以匯出喎~畫吓嘢先?','如果重新整理頁面都係睇唔到,你可以<button>清空畫布</button>','唯讀模式','置中對齊','無法顯示預覽','以\x20SVG\x20格式複製','未命名的作品','取消物件群組','6907950fnDdVW','3012680phJoUR','使用\x20Excalidraw\x20製圖','(注意:呢個動作會直接丟棄你嘅作品,並且無法復原)','92yfgQbi','電腦字體','1645360TcylUo','149368tZnwen','筆跡風格','靠右對齊','加入「使用\x20Excalidraw\x20製圖」水印','511eHTQaj','6586ncMHYB'];f=function(){return J;};return f();}import'./index.js';import'./_commonjsHelpers.js';var e={'paste':'貼上','pasteAsPlaintext':'','pasteCharts':'貼上圖表','selectAll':'全選','multiSelect':'多重選取','moveCanvas':'移動畫布','cut':'剪下','copy':'複製','copyAsPng':'以\x20PNG\x20格式複製','copyAsSvg':I(0x82),'copyText':'','copySource':'','convertToCode':'','bringForward':'往上一層移動','sendToBack':'移到最底層','bringToFront':'移到最上層','sendBackward':'往下一層移動','delete':'刪除','copyStyles':'複製樣式','pasteStyles':'套用樣式','stroke':I(0x79),'background':'填充顏色','fill':'背景樣式','strokeWidth':'筆跡寬度','strokeStyle':'筆跡線條','strokeStyle_solid':'實線','strokeStyle_dashed':'虛線(較密)','strokeStyle_dotted':'虛線(較疏)','sloppiness':I(0x72),'opacity':'透明度','textAlign':'文字對齊','edges':'邊角樣式','sharp':'銳角','round':'圓角','arrowheads':'箭嘴','arrowhead_none':'無箭嘴','arrowhead_arrow':'普通箭嘴','arrowhead_bar':'平頭條狀','arrowhead_circle':'','arrowhead_circle_outline':'','arrowhead_triangle':'三角箭嘴','arrowhead_triangle_outline':'','arrowhead_diamond':'','arrowhead_diamond_outline':'','fontSize':I(0x7b),'fontFamily':'字體','addWatermark':I(0x74),'handDrawn':I(0x77),'normal':I(0x6f),'code':'等寬體','small':'細','medium':'中','large':'大','veryLarge':'勁大','solid':'實心','hachure':'斜線','zigzag':'','crossHatch':'交叉格仔','thin':'幼','bold':'粗','left':'靠左對齊','center':I(0x80),'right':I(0x73),'extraBold':'勁粗','architect':'手繪風格','artist':'藝術家風格','cartoonist':'卡通風格','fileTitle':'檔案名稱','colorPicker':'','canvasColors':'','canvasBackground':'畫布背景顏色','drawingCanvas':'畫布','layers':'圖層','actions':'動作','language':'🌏\x20語言','liveCollaboration':'','duplicateSelection':'製作副本','untitled':I(0x83),'name':'','yourName':'你的名稱','madeWithExcalidraw':I(0x6c),'group':'建立物件群組','ungroup':I(0x84),'collaborators':'已連線的協作者','showGrid':'顯示網格','addToLibrary':'加入作品庫','removeFromLibrary':'從作品庫中移除','libraryLoadingMessage':'正在載入作品庫…','libraries':'瀏覽作品庫','loadingScene':I(0x7a),'align':'物件對齊','alignTop':'水平置頂','alignBottom':'水平置底','alignLeft':'垂直靠左對齊','alignRight':'垂直靠右對齊','centerVertically':'垂直置中','centerHorizontally':'水平置中','distributeHorizontally':'左右等距','distributeVertically':'上下等距','flipHorizontal':'左右反轉','flipVertical':'上下反轉','viewMode':I(0x7f),'share':'','showStroke':'','showBackground':'','toggleTheme':'','personalLib':'','excalidrawLib':'','decreaseFontSize':'','increaseFontSize':'','unbindText':'','bindText':'','createContainerFromText':'','link':{'edit':'','editEmbed':'','create':'','createEmbed':'','label':'','labelEmbed':'','empty':''},'lineEditor':{'edit':'','exit':''},'elementLock':{'lock':'','unlock':'','lockAll':'','unlockAll':''},'statusPublished':'','sidebarLock':'','selectAllElementsInFrame':'','removeAllElementsFromFrame':'','eyeDropper':'','textToDiagram':'','prompt':''},u={'noItems':'','hint_emptyLibrary':'','hint_emptyPrivateLibrary':''},a={'clearReset':'清空畫布','exportJSON':'','exportImage':'','export':'','copyToClipboard':'','save':'','saveAs':'','load':'','getShareableLink':'','close':'','selectLanguage':'','scrollBackToContent':'','zoomIn':'','zoomOut':'','resetZoom':'','menu':'','done':'','edit':'','undo':'','redo':'','resetLibrary':'','createNewRoom':'','fullScreen':'','darkMode':'','lightMode':'','zenMode':'','objectsSnapMode':'','exitZenMode':'','cancel':'','clear':'','remove':'','embed':'','publishLibrary':'','submit':'','confirm':'','embeddableInteractionButton':''},o={'clearReset':'【‼️\x20警告\x20‼️\x20無法復原的動作】你確定要清空呢塊畫布嗎?','couldNotCreateShareableLink':'','couldNotCreateShareableLinkTooBig':'','couldNotLoadInvalidFile':'','importBackendFailed':'','cannotExportEmptyCanvas':I(0x7d),'couldNotCopyToClipboard':'','decryptFailed':'','uploadedSecurly':'','loadSceneOverridePrompt':'','collabStopOverridePrompt':'','errorAddingToLibrary':'','errorRemovingFromLibrary':'','confirmAddLibrary':'','imageDoesNotContainScene':'','cannotRestoreFromImage':'','invalidSceneUrl':'','resetLibrary':'','removeItemsFromsLibrary':'','invalidEncryptionKey':'','collabOfflineWarning':''},r={'unsupportedFileType':'','imageInsertError':'','fileTooBig':'','svgImageInsertError':'','failedToFetchImage':'','invalidSVGString':'','cannotResolveCollabServer':'','importLibraryError':'','collabSaveFailed':'','collabSaveFailed_sizeExceeded':'','imageToolNotSupported':'','brave_measure_text_error':{'line1':'','line2':'','line3':'','line4':''},'libraryElementTypeError':{'embeddable':'','iframe':'','image':''},'asyncPasteFailedOnRead':'','asyncPasteFailedOnParse':'','copyToSystemClipboardFailed':''},t={'selection':'','image':'','rectangle':'','diamond':'','ellipse':'','arrow':'','line':'','freedraw':'','text':'','library':'','lock':'','penMode':'','link':'','eraser':'','frame':'','magicframe':'','embeddable':'','laser':'','hand':'','extraTools':'','mermaidToExcalidraw':'','magicSettings':''},i={'canvasActions':'畫布動作','selectedShapeActions':'','shapes':''},l={'canvasPanning':'','linearElement':'','freeDraw':'','text':'','embeddable':'','text_selected':'','text_editing':'','linearElementMulti':'','lockAngle':'','resize':'','resizeImage':'','rotate':'','lineEditor_info':'','lineEditor_pointSelected':'','lineEditor_nothingSelected':'','placeImage':'','publishLibrary':'','bindTextToElement':'','deepBoxSelect':'','eraserRevert':'','firefox_clipboard_write':'','disableSnapping':''},n={'cannotShowPreview':I(0x81),'canvasTooBig':'塊畫布太大啦,縮細啲先啦?','canvasTooBigTip':''},s={'headingMain':'','clearCanvasMessage':I(0x7e),'clearCanvasCaveat':I(0x6d),'trackedToSentry':'','openIssueMessage':'','sceneContent':''},d={'desc_intro':'','desc_privacy':'','button_startSession':'','button_stopSession':'','desc_inProgressIntro':'','desc_shareLink':'','desc_exitSession':'','shareTitle':''},c={'title':''},F={'disk_title':'','disk_details':'','disk_button':'','link_title':'','link_details':'','link_button':'','excalidrawplus_description':'','excalidrawplus_button':'','excalidrawplus_exportError':''},m={'blog':'','click':'','deepSelect':'','deepBoxSelect':'','curvedArrow':'','curvedLine':'','documentation':'','doubleClick':'','drag':'','editor':'','editLineArrowPoints':'','editText':'','github':'','howto':'','or':'','preventBinding':'','tools':'','shortcuts':'','textFinish':'','textNewLine':'','title':'','view':'','zoomToFit':'','zoomToSelection':'','toggleElementLock':'','movePageUpDown':'','movePageLeftRight':''},p={'title':''},E={'title':'','itemName':'','authorName':'','githubUsername':'','twitterUsername':'','libraryName':'','libraryDesc':'','website':'','placeholder':{'authorName':'','libraryName':'','libraryDesc':'','githubHandle':'','twitterHandle':'','website':''},'errors':{'required':'','website':''},'noteDescription':'','noteGuidelines':'','noteLicense':'','noteItems':'','atleastOneLibItem':'','republishWarning':''},g={'title':'','content':''},D={'resetLibrary':'','removeItemsFromLib':''},b={'header':'','label':{'withBackground':'','onlySelected':'','darkMode':'','embedScene':'','scale':'','padding':''},'tooltip':{'embedScene':''},'title':{'exportToPng':'','exportToSvg':'','copyPngToClipboard':''},'button':{'exportToPng':'','exportToSvg':'','copyPngToClipboard':''}},C={'tooltip':'','link':''},A={'angle':'','element':'','elements':'','height':'','scene':'','selected':'','storage':'','title':'','total':'','version':'','versionCopy':'','versionNotAvailable':'','width':''},B={'addedToLibrary':'','copyStyles':'','copyToClipboard':'','copyToClipboardAsPng':'','fileSaved':'','fileSavedToFilename':'','canvas':'畫布','selection':'','pasteAsSingleElement':'','unableToEmbed':'','unrecognizedLinkFormat':''},h={'transparent':'','black':'','white':'','red':'','pink':'','grape':'','violet':'','gray':'','blue':'','cyan':'','teal':'','green':'','yellow':'','orange':'','bronze':''},y={'app':{'center_heading':'','center_heading_plus':'','menuHint':''},'defaults':{'menuHint':'','center_heading':'','toolbarHint':'','helpHint':''}},v={'mostUsedCustomColors':'','colors':'','shades':'','hexCode':'','noShades':''},S={'action':{'exportToImage':{'title':'','button':'','description':''},'saveToDisk':{'title':'','button':'','description':''},'excalidrawPlus':{'title':'','button':'','description':''}},'modal':{'loadFromFile':{'title':'','button':'','description':''},'shareableLink':{'title':'','button':'','description':''}}},w={'title':'','button':'','description':'','syntax':'','preview':''},T={'labels':e,'library':u,'buttons':a,'alerts':o,'errors':r,'toolBar':t,'headings':i,'hints':l,'canvasError':n,'errorSplash':s,'roomDialog':d,'errorDialog':c,'exportDialog':F,'helpDialog':m,'clearCanvasDialog':p,'publishDialog':E,'publishSuccessDialog':g,'confirmDialog':D,'imageExportDialog':b,'encrypted':C,'stats':A,'toast':B,'colors':h,'welcomeScreen':y,'colorPicker':v,'overwriteConfirm':S,'mermaid':w};function j(a,b){a=a-0x6a;var c=f();var d=c[a];return d;}export{o as alerts,a as buttons,n as canvasError,p as clearCanvasDialog,v as colorPicker,h as colors,D as confirmDialog,T as default,C as encrypted,c as errorDialog,s as errorSplash,r as errors,F as exportDialog,i as headings,m as helpDialog,l as hints,b as imageExportDialog,e as labels,u as library,w as mermaid,S as overwriteConfirm,E as publishDialog,g as publishSuccessDialog,d as roomDialog,A as stats,B as toast,t as toolBar,y as welcomeScreen};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var I=j;function j(a,b){a=a-0x1e1;var c=f();var d=c[a];return d;}(function(k,q){var H=j,x=k();while(!![]){try{var z=parseInt(H(0x225))/0x1+parseInt(H(0x1e6))/0x2+parseInt(H(0x1fb))/0x3*(-parseInt(H(0x212))/0x4)+parseInt(H(0x1e4))/0x5*(-parseInt(H(0x208))/0x6)+-parseInt(H(0x205))/0x7+-parseInt(H(0x223))/0x8*(parseInt(H(0x215))/0x9)+parseInt(H(0x1fe))/0xa;if(z===q)break;else x['push'](x['shift']());}catch(G){x['push'](x['shift']());}}}(f,0x3da37));import'./index.js';import'./_commonjsHelpers.js';function f(){var J=['往後移一層','透明度','從畫布中選取顏色','建立新協作會議室','2670255aWDpvv','無法由此資料庫移除項目','停止連線','48WAjjpm','即時協作連線正在進行中。','水平翻轉','無法獲取圖片。','場景讀取中…','資料庫已送出','重置\x20canvas','筆模式\x20-\x20避免觸摸','點擊以放置圖片,或點擊並拖曳以手動調整其尺寸。','提示詞','116OQIOja','讀取外部圖樣將取代目前的內容。是否要繼續?','匯出至\x20Excalidraw+','9PAoHTl','個人資料庫','無法由此檔案回復場景。','捲動回到內容','將文字包於容器中','GitHub\x20帳號','貼上圖表','無法解密資料。','此錯誤與其識別碼{{eventId}}將由系統記錄。','按住\x20SHIFT\x20可限制旋轉角度','你的作品已使用\x20end-to-end\x20方式加密,Excalidraw\x20的伺服器也無法取得其內容。','旋轉時按住\x20Shift\x20可限制旋轉角度','用於回復場景的場景資料會被包含在輸出的\x20PNG/SVG\x20檔案中。\x0a會增加輸出的檔案大小。','內間距','781248BHKfwD','你可以邀請其他人一起協作目前的作品。','334600aSonHj','在容器內深度選取並避免拖曳','點擊並拖曳來繪圖,放開即結束','無法貼上','296410utEMxj','您的名稱或帳號','649016bBUdYi','Hex\x20碼','以PNG格式儲存到剪貼板','框架工具','轉換為程式碼','按住\x20Alt\x20以反選取已標記待刪除的元素','取得共享連結','載入外部繪圖將<bold>取代您目前的內容</bold>。<br></br>可先使用下方的選項備份您的繪圖。','您嵌入的連結格式不符。請嘗試貼入原網站所提供的「嵌入」字串。','這將會清除整個\x20canvas。你確定嗎?','手形(平移工具)','點擊並拖移以建立嵌入網站','側欄維持開啟','圓形(外框)','置於最頂層','看起來您開啟了\x20Brave\x20瀏覽器的\x20<bold>Aggressively\x20Block\x20Fingerprinting</bold>\x20設定。','可共享連結','匯出為圖片','對齊底部','Excalidraw+','複製來源至剪貼簿','30507wFLhkB','從資料庫刪除\x20{{count}}\x20項?','以純文字貼上','8416410xZuHFz','從資料庫移除所選的項目','匯出為連結'];f=function(){return J;};return f();}var u={'paste':'貼上','pasteAsPlaintext':I(0x1fd),'pasteCharts':I(0x21b),'selectAll':'全選','multiSelect':'將物件加入選取範圍','moveCanvas':'移動畫布','cut':'剪下','copy':'複製','copyAsPng':I(0x1e8),'copyAsSvg':'以SVG格式複製到剪貼板','copyText':'以文字格式複製至剪貼簿','copySource':I(0x1fa),'convertToCode':I(0x1ea),'bringForward':'上移一層','sendToBack':'移到最底層','bringToFront':I(0x1f4),'sendBackward':I(0x201),'delete':'刪除','copyStyles':'複製樣式','pasteStyles':'貼上樣式','stroke':'筆畫','background':'背景','fill':'填滿','strokeWidth':'筆跡寬度','strokeStyle':'筆畫樣式','strokeStyle_solid':'實線','strokeStyle_dashed':'虛線','strokeStyle_dotted':'點線','sloppiness':'線條風格','opacity':I(0x202),'textAlign':'文字對齊','edges':'邊緣','sharp':'尖銳','round':'平滑','arrowheads':'箭頭','arrowhead_none':'無','arrowhead_arrow':'箭頭','arrowhead_bar':'條狀箭頭','arrowhead_circle':'圓形','arrowhead_circle_outline':I(0x1f3),'arrowhead_triangle':'三角形','arrowhead_triangle_outline':'三角形(外框)','arrowhead_diamond':'菱形','arrowhead_diamond_outline':'菱形(外框)','fontSize':'字型大小','fontFamily':'字體集','addWatermark':'加上\x20\x22Made\x20with\x20Excalidraw\x22\x20浮水印','handDrawn':'手寫','normal':'一般','code':'代碼','small':'小','medium':'中','large':'大','veryLarge':'特大','solid':'實心','hachure':'斜線筆觸','zigzag':'Z字形','crossHatch':'交叉筆觸','thin':'細','bold':'粗','left':'左側','center':'置中','right':'右側','extraBold':'極粗','architect':'精確','artist':'藝術','cartoonist':'卡通','fileTitle':'檔案名稱','colorPicker':'色彩選擇工具','canvasColors':'使用於畫布','canvasBackground':'Canvas\x20背景','drawingCanvas':'繪圖\x20canvas','layers':'圖層','actions':'動作','language':'語言','liveCollaboration':'即時協作...','duplicateSelection':'複製','untitled':'無標題','name':'名稱','yourName':'你的名稱','madeWithExcalidraw':'以\x20Excalidraw\x20製作','group':'建立群組','ungroup':'取消群組','collaborators':'協作者','showGrid':'顯示格線','addToLibrary':'加入資料庫','removeFromLibrary':'從資料庫中移除','libraryLoadingMessage':'資料庫讀取中…','libraries':'瀏覽資料庫','loadingScene':I(0x20c),'align':'對齊','alignTop':'對齊頂部','alignBottom':I(0x1f8),'alignLeft':'對齊左側','alignRight':'對齊右側','centerVertically':'垂直置中','centerHorizontally':'水平置中','distributeHorizontally':'水平分布','distributeVertically':'垂直分布','flipHorizontal':I(0x20a),'flipVertical':'垂直翻轉','viewMode':'檢視模式','share':'共享','showStroke':'顯示線條檢色器','showBackground':'顯示背景檢色器','toggleTheme':'切換主題','personalLib':I(0x216),'excalidrawLib':'Excalidraw\x20資料庫','decreaseFontSize':'縮小文字','increaseFontSize':'放大文字','unbindText':'取消綁定文字','bindText':'結合文字至容器','createContainerFromText':I(0x219),'link':{'edit':'編輯連結','editEmbed':'編輯連結&嵌入','create':'建立連結','createEmbed':'建立連結&嵌入','label':'連結','labelEmbed':'連結&嵌入','empty':'未設定連結'},'lineEditor':{'edit':'編輯線條','exit':'結束線條編輯'},'elementLock':{'lock':'鎖定','unlock':'解鎖','lockAll':'全部鎖定','unlockAll':'全部解鎖'},'statusPublished':'已發布','sidebarLock':I(0x1f2),'selectAllElementsInFrame':'選取框架內的所有元素','removeAllElementsFromFrame':'從框架內移除所有元素','eyeDropper':I(0x203),'textToDiagram':'文字轉圖表','prompt':I(0x211)},F={'noItems':'尚未加入任何物件...','hint_emptyLibrary':'選取畫布上的物件以加入,或從下方的公開\x20repository\x20中安裝資料庫','hint_emptyPrivateLibrary':'選擇畫布上的物件以在此加入'},e={'clearReset':I(0x20e),'exportJSON':'匯出至檔案','exportImage':'匯出圖片','export':'儲存至...','copyToClipboard':'複製至剪貼簿','save':'儲存目前檔案','saveAs':'儲存為','load':'開啟','getShareableLink':I(0x1ec),'close':'關閉','selectLanguage':'選擇語言','scrollBackToContent':I(0x218),'zoomIn':'放大','zoomOut':'縮小','resetZoom':'重設縮放','menu':'選單','done':'完成','edit':'編輯','undo':'復原','redo':'重做','resetLibrary':'重設資料庫','createNewRoom':I(0x204),'fullScreen':'全螢幕','darkMode':'深色模式','lightMode':'淺色模式','zenMode':'專注模式','objectsSnapMode':'吸附至物件','exitZenMode':'離開專注模式','cancel':'取消','clear':'清除','remove':'刪除','embed':'切換嵌入','publishLibrary':'發布','submit':'送出','confirm':'確認','embeddableInteractionButton':'點擊以互動'},E={'clearReset':I(0x1ef),'couldNotCreateShareableLink':'無法建立共享連結。','couldNotCreateShareableLinkTooBig':'無法建立共享連結:場景太大','couldNotLoadInvalidFile':'無法讀取失效的檔案。','importBackendFailed':'後端讀取失敗。','cannotExportEmptyCanvas':'無法輸出空白的\x20canvas。','couldNotCopyToClipboard':'無法複製到剪貼簿','decryptFailed':I(0x21c),'uploadedSecurly':'上傳已通過\x20end-to-end\x20加密,Excalidraw\x20伺服器和第三方無法皆讀取其內容。','loadSceneOverridePrompt':I(0x213),'collabStopOverridePrompt':'停止連線將覆蓋您先前於本機儲存的繪圖進度,是否確認?\x0a\x0a(如要保留原有的本機繪圖進度,直接關閉瀏覽器分頁即可。)','errorAddingToLibrary':'無法於此資料庫加入項目','errorRemovingFromLibrary':I(0x206),'confirmAddLibrary':'這將會將\x20{{numShapes}}\x20個圖形加入你的資料庫,你確定嗎?','imageDoesNotContainScene':'此圖檔中未包含場景資料。輸出檔案時是否有包含場景資料?','cannotRestoreFromImage':I(0x217),'invalidSceneUrl':'無法由提供的\x20URL\x20匯入場景。可能是發生異常,或未包含有效的\x20Excalidraw\x20JSON\x20資料。','resetLibrary':'這會清除您的資料庫,是否確定?','removeItemsFromsLibrary':I(0x1fc),'invalidEncryptionKey':'加密鍵必須為22字元。即時協作已停用。','collabOfflineWarning':'沒有可用的網路連線。\x0a變更無法儲存!'},C={'unsupportedFileType':'不支援的檔案類型。','imageInsertError':'無法插入圖片。請稍後再試…','fileTooBig':'檔案過大。可接受的最大尺寸為\x20{{maxSize}}\x20。','svgImageInsertError':'無法插入\x20SVG\x20圖片。此\x20SVG\x20檔案有問題。','failedToFetchImage':I(0x20b),'invalidSVGString':'無效的\x20SVG。','cannotResolveCollabServer':'無法連結至\x20collab\x20伺服器。請重新整理後再試一次。','importLibraryError':'無法載入資料庫','collabSaveFailed':'無法儲存至後端資料庫。若此問題持續發生,請將檔案儲存於本機以確保資料不會遺失。','collabSaveFailed_sizeExceeded':'無法儲存至後端資料庫,可能的原因為畫布尺寸過大。請將檔案儲存於本機以確保資料不會遺失。','imageToolNotSupported':'圖片已停用','brave_measure_text_error':{'line1':I(0x1f5),'line2':'這可能造成您畫布中\x20<bold>文字元素</bold>\x20的異常。','line3':'我們強烈建議您關閉此設定。您可以依照\x20<link>這些步驟</link>\x20來進行。','line4':'若關閉此設定並未修復文字元素的顯示問題,請回報於我們\x20GitHub\x20上的\x20<issueLink>issue</issueLink>,或在\x20<discordLink>Discord</discordLink>\x20上告訴我們。'},'libraryElementTypeError':{'embeddable':'可嵌入元素無法加入資料庫','iframe':'IFrame\x20元素無法加入資料庫','image':'即將支援加入圖片至資料庫!'},'asyncPasteFailedOnRead':'無法貼上(無法由系統剪貼簿讀入)','asyncPasteFailedOnParse':I(0x1e3),'copyToSystemClipboardFailed':'無法複製至剪貼簿'},A={'selection':'選取','image':'插入圖片','rectangle':'長方形','diamond':'菱形','ellipse':'橢圓','arrow':'箭頭','line':'線條','freedraw':'繪圖','text':'文字','library':'資料庫','lock':'可連續使用選取的工具','penMode':I(0x20f),'link':'為所選的形狀增加\x08/更新連結','eraser':'橡皮擦','frame':I(0x1e9),'magicframe':'線框稿轉為程式碼','embeddable':'嵌入網站','laser':'雷射筆','hand':I(0x1f0),'extraTools':'更多工具','mermaidToExcalidraw':'Mermaid\x20至\x20Excalidraw','magicSettings':'AI\x20設定'},D={'canvasActions':'canvas\x20動作','selectedShapeActions':'選取圖形動作','shapes':'形狀'},B={'canvasPanning':'若要移動畫布,請在拖曳時按住滑鼠滾輪或空白鍵,或使用手形工具','linearElement':'點擊以繪製多點曲線;或拖曳以繪製直線','freeDraw':I(0x1e2),'text':'提示:亦可使用選取工具在任何地方雙擊來加入文字','embeddable':I(0x1f1),'text_selected':'雙擊滑鼠或按\x20Enter\x20以編輯文字','text_editing':'按跳脫鍵或\x20Ctrl\x20或\x20Cmd\x20+\x20Enter\x20以結束編輯','linearElementMulti':'按下\x20Escape\x20或\x20Enter\x20以結束繪製','lockAngle':I(0x21e),'resize':'縮放時按住\x20Shift\x20可保持原比例縮放;\x5cn按住\x20Alt\x20可由中心點進行縮放','resizeImage':'按住\x20SHIFT\x20可任意縮放,按住\x20ALT\x20可由中央縮放。','rotate':I(0x220),'lineEditor_info':'按住\x20Ctrl\x20或\x20Cmd\x20並雙擊或按住\x20Ctrl\x20或\x20Cmd\x20+\x20Enter\x20來編輯控制點','lineEditor_pointSelected':'按下\x20Delete\x20可移除錨點;Ctrl\x20或\x20Cmd\x20+\x20D\x20可複製;或可拖曳來移動','lineEditor_nothingSelected':'選擇要編輯的錨點(按住\x20SHIFT\x20可多選),\x0a或按住\x20Alt\x20並點擊以增加新錨點。','placeImage':I(0x210),'publishLibrary':'發布個人資料庫','bindTextToElement':'按下\x20Enter\x20以加入文字。','deepBoxSelect':'按住\x20Ctrl\x20或\x20Cmd\x20以深度選取並避免拖曳','eraserRevert':I(0x1eb),'firefox_clipboard_write':'此功能有機會透過將\x20\x22dom.events.asyncClipboard.clipboardItem\x22\x20設定為\x20\x22true\x22\x20來開啟。\x0a若要變更\x20Firefox\x20瀏覽器的此設定值,請至\x20\x22about:config\x22\x20頁面。','disableSnapping':'按住\x20Ctrl\x20或\x20Cmd\x20以禁用吸附'},a={'cannotShowPreview':'無法顯示預覽','canvasTooBig':'畫布可能過大','canvasTooBigTip':'提示:可嘗試將最遠的元素移動至較集中的位置'},r={'headingMain':'發生錯誤,嘗試<button>重新載入頁面。</button>','clearCanvasMessage':'若重新載入仍無法解決問題,嘗試<button>清除\x20canvas。</button>','clearCanvasCaveat':'此動作將造成目前的作品被移除。','trackedToSentry':I(0x21d),'openIssueMessage':'我們將謹慎處理,你的作品內容不會被包含在錯誤報告中。若你的作品不需保持私密,請考慮使用我們的<button>bug\x20tracker。</button>請將下列資訊複製貼上至\x20GitHub\x20issue\x20中。','sceneContent':'作品內容:'},t={'desc_intro':I(0x224),'desc_privacy':'連線使用\x20end-to-end\x20加密故無須擔心作品的安全性。即使是我們的伺服器也無法取得其內容。','button_startSession':'開始連線','button_stopSession':I(0x207),'desc_inProgressIntro':I(0x209),'desc_shareLink':'將此連結分享給欲協作的對象:','desc_exitSession':'停止連線將中斷你與協作會議室的連結,但你仍可於本機編輯此作品。意指停止連線後你的編輯不會被先前共同協作的人看見,且他們可繼續共同協作另一個版本。','shareTitle':'加入\x20Excalidraw\x20上的即時協作會議室'},o={'title':'錯誤'},i={'disk_title':'儲存至硬碟','disk_details':'將場景匯出為可供匯入之檔案','disk_button':'儲存至檔案','link_title':I(0x1f6),'link_details':'匯出為唯讀連結','link_button':I(0x200),'excalidrawplus_description':'將此場景儲存至你的\x20Excalidraw+\x20工作區','excalidrawplus_button':'輸出','excalidrawplus_exportError':'目前無法輸出至\x20Excalidraw+'},l={'blog':'閱讀部落格','click':'點擊','deepSelect':'深度選取','deepBoxSelect':I(0x1e1),'curvedArrow':'曲箭頭','curvedLine':'曲線','documentation':'文件','doubleClick':'雙擊','drag':'拖曳','editor':'編輯器','editLineArrowPoints':'編輯線/箭頭控制點','editText':'編輯文字/增加標籤','github':'發現異常?回報問題','howto':'參照我們的說明','or':'或','preventBinding':'避免箭號連結','tools':'工具','shortcuts':'鍵盤快速鍵','textFinish':'完成編輯(文字編輯器)','textNewLine':'換行(文字編輯器)','title':'說明','view':'檢視','zoomToFit':'放大至填滿畫面','zoomToSelection':'縮放至選取區','toggleElementLock':'鎖定/解鎖已選的項目','movePageUpDown':'向上/下移動頁面','movePageLeftRight':'向左/右移動頁面'},n={'title':'清除畫布'},s={'title':'發布資料庫','itemName':'項目名稱','authorName':'作者名稱','githubUsername':I(0x21a),'twitterUsername':'Twitter\x20帳號','libraryName':'資料庫名稱','libraryDesc':'資料庫說明','website':'網站','placeholder':{'authorName':I(0x1e5),'libraryName':'您的資料庫名稱','libraryDesc':'提供您的資料庫說明以利他人理解其用途','githubHandle':'Github\x20handle(選填),填寫後您可編輯已送出待審查的資料庫','twitterHandle':'Twitter\x20帳號(選填),填寫後若我們在\x20Twitter\x20推廣時可提及您','website':'您個人網站或其他網站的連結(選填)'},'errors':{'required':'必填','website':'請輸入有效的\x20URL'},'noteDescription':'送出您的資料庫後將被包含於<link>公開資料庫\x20repository</link>以利他人在其繪圖中使用。','noteGuidelines':'資料庫需先經人工審查。請閱讀<link>說明文件</link>再送出。若需溝通與修改時要透過\x20GitHub\x20帳號來進行,但並非強制需求。','noteLicense':'送出即代表您同意此資料庫將發布時使用\x20<link>MIT\x20授權,</link>簡單來說是指任何人都能不受限制的使用。','noteItems':'每個資料庫項目都有獨立的名稱故可篩選。會包含下列資料庫項目:','atleastOneLibItem':'請選擇至少一項資料庫項目','republishWarning':'注意:部分選取中的物件先前已發布/送出過。建議僅在要更新現存資料庫或已送出的物件時才重新送出這些物件。'},d={'title':I(0x20d),'content':'感謝\x20{{authorName}}\x20。您的資料庫已送出待審查。您可查看目前狀態<link>在此</link>'},c={'resetLibrary':'重設資料庫','removeItemsFromLib':I(0x1ff)},m={'header':'匯出圖片','label':{'withBackground':'背景','onlySelected':'僅選取物件','darkMode':'深色模式','embedScene':'嵌入場景','scale':'縮放比例','padding':I(0x222)},'tooltip':{'embedScene':I(0x221)},'title':{'exportToPng':'輸出成\x20PNG','exportToSvg':'輸出成\x20SVG','copyPngToClipboard':'複製\x20PNG\x20至剪貼簿'},'button':{'exportToPng':'PNG','exportToSvg':'SVG','copyPngToClipboard':'複製至剪貼簿'}},b={'tooltip':I(0x21f),'link':'Excalidraw\x20端到端加密的相關部落格文章'},p={'angle':'角度','element':'元素','elements':'元素','height':'高度','scene':'場景','selected':'已選','storage':'儲存','title':'詳細統計','total':'合計','version':'版本','versionCopy':'點擊複製','versionNotAvailable':'無法取得版本','width':'寬度'},g={'addedToLibrary':'加入資料庫','copyStyles':'已複製樣式','copyToClipboard':'複製至剪貼簿。','copyToClipboardAsPng':'以\x20PNG\x20格式將\x20{{exportSelection}}\x20複製至剪貼簿\x0a({{exportColorScheme}})','fileSaved':'已儲存檔案。','fileSavedToFilename':'儲存為\x20{filename}','canvas':'畫布','selection':'已選項目','pasteAsSingleElement':'使用\x20{{shortcut}}\x20以做為單一物件貼上,\x0a或貼上至現有的文字編輯器','unableToEmbed':'目前不允許嵌入此網址。您可至\x20GitHub\x20提出\x20issue\x20以要求將此網址加入合格名單。','unrecognizedLinkFormat':I(0x1ee)},h={'transparent':'透明','black':'黑','white':'白','red':'紅','pink':'粉紅','grape':'深紫','violet':'藍紫','gray':'灰','blue':'藍','cyan':'青','teal':'藍綠','green':'綠','yellow':'黃','orange':'橘','bronze':'銅'},y={'app':{'center_heading':'所有資料皆已在瀏覽器中儲存於本機','center_heading_plus':'您是否是要前往\x20Excalidraw+\x20?','menuHint':'輸出、偏好設定、語言...'},'defaults':{'menuHint':'輸出、偏好設定及其他...','center_heading':'圖表。製作。超簡單。','toolbarHint':'選個工具開始畫圖吧!','helpHint':'快速鍵與說明'}},S={'mostUsedCustomColors':'最常使用的自訂顏色','colors':'顏色','shades':'漸變色','hexCode':I(0x1e7),'noShades':'沒有此顏色的漸變色'},v={'action':{'exportToImage':{'title':'匯出為圖片','button':I(0x1f7),'description':'將場景匯出為可供匯入的圖片檔案'},'saveToDisk':{'title':'儲存至硬碟','button':'儲存至硬碟','description':'將場景匯出為可供匯入的檔案'},'excalidrawPlus':{'title':I(0x1f9),'button':I(0x214),'description':'將此場景儲存至您的\x20Excalidraw+\x20工作區'}},'modal':{'loadFromFile':{'title':'從檔案載入','button':'從檔案載入','description':'從檔案載入將<bold>取代您目前的內容</bold>。<br></br>可先使用下方的選項備份您的繪圖。'},'shareableLink':{'title':'從連結載入','button':'取代我的內容','description':I(0x1ed)}}},w={'title':'Mermaid\x20至\x20Excalidraw','button':'插入','description':'目前僅支援\x20<flowchartLink>Flowchart</flowchartLink>\x20、\x20<sequenceLink>Sequence</sequenceLink>\x20及\x20<classLink>Class\x20</classLink>\x20圖表。其餘檔案類型在\x20Excalidraw\x20將會以圖像呈現。','syntax':'Mermaid\x20語法','preview':'預覽'},T={'labels':u,'library':F,'buttons':e,'alerts':E,'errors':C,'toolBar':A,'headings':D,'hints':B,'canvasError':a,'errorSplash':r,'roomDialog':t,'errorDialog':o,'exportDialog':i,'helpDialog':l,'clearCanvasDialog':n,'publishDialog':s,'publishSuccessDialog':d,'confirmDialog':c,'imageExportDialog':m,'encrypted':b,'stats':p,'toast':g,'colors':h,'welcomeScreen':y,'colorPicker':S,'overwriteConfirm':v,'mermaid':w};export{E as alerts,e as buttons,a as canvasError,n as clearCanvasDialog,S as colorPicker,h as colors,c as confirmDialog,T as default,b as encrypted,o as errorDialog,r as errorSplash,C as errors,i as exportDialog,D as headings,l as helpDialog,B as hints,m as imageExportDialog,u as labels,F as library,w as mermaid,v as overwriteConfirm,s as publishDialog,d as publishSuccessDialog,t as roomDialog,p as stats,g as toast,A as toolBar,y as welcomeScreen};
|
|
1
|
+
var I=j;(function(k,q){var H=j,x=k();while(!![]){try{var z=-parseInt(H(0x169))/0x1*(parseInt(H(0x144))/0x2)+-parseInt(H(0x152))/0x3+parseInt(H(0x173))/0x4*(parseInt(H(0x145))/0x5)+parseInt(H(0x16c))/0x6+parseInt(H(0x14d))/0x7*(parseInt(H(0x160))/0x8)+-parseInt(H(0x164))/0x9*(-parseInt(H(0x143))/0xa)+parseInt(H(0x151))/0xb*(-parseInt(H(0x13a))/0xc);if(z===q)break;else x['push'](x['shift']());}catch(G){x['push'](x['shift']());}}}(f,0xb01c0));import'./index.js';import'./_commonjsHelpers.js';function f(){var J=['後端讀取失敗。','資料庫讀取中…','canvas\x20動作','注意:部分選取中的物件先前已發布/送出過。建議僅在要更新現存資料庫或已送出的物件時才重新送出這些物件。','水平翻轉','完成編輯(文字編輯器)','停止連線將覆蓋您先前於本機儲存的繪圖進度,是否確認?\x0a\x0a(如要保留原有的本機繪圖進度,直接關閉瀏覽器分頁即可。)','水平置中','插入圖片','看起來您開啟了\x20Brave\x20瀏覽器的\x20<bold>Aggressively\x20Block\x20Fingerprinting</bold>\x20設定。','您是否是要前往\x20Excalidraw+\x20?','4128sRWvUm','已發布','Github\x20handle(選填),填寫後您可編輯已送出待審查的資料庫','無法插入\x20SVG\x20圖片。此\x20SVG\x20檔案有問題。','108RCJIDN','無法建立共享連結。','載入外部繪圖將<bold>取代您目前的內容</bold>。<br></br>可先使用下方的選項備份您的繪圖。','Excalidraw\x20資料庫','您的資料庫名稱','268GErgFE','可連續使用選取的工具','無法取得版本','7377660TrUXxr','快速鍵與說明','圓形(外框)','對齊右側','建立群組','縮放時按住\x20Shift\x20可保持原比例縮放;\x5cn按住\x20Alt\x20可由中心點進行縮放','取消群組','4yDXDJG','字型大小','停止連線','複製至剪貼簿。','複製\x20PNG\x20至剪貼簿','深度選取','送出您的資料庫後將被包含於<link>公開資料庫\x20repository</link>以利他人在其繪圖中使用。','縮放比例','協作者','交叉筆觸','300dhjiPr','無法建立共享連結:場景太大','這可能造成您畫布中\x20<bold>文字元素</bold>\x20的異常。','儲存至檔案','資料庫需先經人工審查。請閱讀<link>說明文件</link>再送出。若需溝通與修改時要透過\x20GitHub\x20帳號來進行,但並非強制需求。','匯出為圖片','將此場景儲存至您的\x20Excalidraw+\x20工作區','從框架內移除所有元素','場景讀取中…','973250ifaqvc','9516bjFmZf','893975DnSDaK','這將會清除整個\x20canvas。你確定嗎?','漸變色','即時協作...','您的名稱或帳號','編輯連結','無法貼上','匯出至檔案','15253tweHel','無法載入資料庫','所有資料皆已在瀏覽器中儲存於本機','Excalidraw+','120241TWWNJA','4292718YcWghz','取代我的內容','線條風格'];f=function(){return J;};return f();}function j(a,b){a=a-0x135;var c=f();var d=c[a];return d;}var u={'paste':'貼上','pasteAsPlaintext':'以純文字貼上','pasteCharts':'貼上圖表','selectAll':'全選','multiSelect':'將物件加入選取範圍','moveCanvas':'移動畫布','cut':'剪下','copy':'複製','copyAsPng':'以PNG格式儲存到剪貼板','copyAsSvg':'以SVG格式複製到剪貼板','copyText':'以文字格式複製至剪貼簿','copySource':'複製來源至剪貼簿','convertToCode':'轉換為程式碼','bringForward':'上移一層','sendToBack':'移到最底層','bringToFront':'置於最頂層','sendBackward':'往後移一層','delete':'刪除','copyStyles':'複製樣式','pasteStyles':'貼上樣式','stroke':'筆畫','background':'背景','fill':'填滿','strokeWidth':'筆跡寬度','strokeStyle':'筆畫樣式','strokeStyle_solid':'實線','strokeStyle_dashed':'虛線','strokeStyle_dotted':'點線','sloppiness':I(0x154),'opacity':'透明度','textAlign':'文字對齊','edges':'邊緣','sharp':'尖銳','round':'平滑','arrowheads':'箭頭','arrowhead_none':'無','arrowhead_arrow':'箭頭','arrowhead_bar':'條狀箭頭','arrowhead_circle':'圓形','arrowhead_circle_outline':I(0x16e),'arrowhead_triangle':'三角形','arrowhead_triangle_outline':'三角形(外框)','arrowhead_diamond':'菱形','arrowhead_diamond_outline':'菱形(外框)','fontSize':I(0x174),'fontFamily':'字體集','addWatermark':'加上\x20\x22Made\x20with\x20Excalidraw\x22\x20浮水印','handDrawn':'手寫','normal':'一般','code':'代碼','small':'小','medium':'中','large':'大','veryLarge':'特大','solid':'實心','hachure':'斜線筆觸','zigzag':'Z字形','crossHatch':I(0x139),'thin':'細','bold':'粗','left':'左側','center':'置中','right':'右側','extraBold':'極粗','architect':'精確','artist':'藝術','cartoonist':'卡通','fileTitle':'檔案名稱','colorPicker':'色彩選擇工具','canvasColors':'使用於畫布','canvasBackground':'Canvas\x20背景','drawingCanvas':'繪圖\x20canvas','layers':'圖層','actions':'動作','language':'語言','liveCollaboration':I(0x148),'duplicateSelection':'複製','untitled':'無標題','name':'名稱','yourName':'你的名稱','madeWithExcalidraw':'以\x20Excalidraw\x20製作','group':I(0x170),'ungroup':I(0x172),'collaborators':I(0x138),'showGrid':'顯示格線','addToLibrary':'加入資料庫','removeFromLibrary':'從資料庫中移除','libraryLoadingMessage':I(0x156),'libraries':'瀏覽資料庫','loadingScene':I(0x142),'align':'對齊','alignTop':'對齊頂部','alignBottom':'對齊底部','alignLeft':'對齊左側','alignRight':I(0x16f),'centerVertically':'垂直置中','centerHorizontally':I(0x15c),'distributeHorizontally':'水平分布','distributeVertically':'垂直分布','flipHorizontal':I(0x159),'flipVertical':'垂直翻轉','viewMode':'檢視模式','share':'共享','showStroke':'顯示線條檢色器','showBackground':'顯示背景檢色器','toggleTheme':'切換主題','personalLib':'個人資料庫','excalidrawLib':I(0x167),'decreaseFontSize':'縮小文字','increaseFontSize':'放大文字','unbindText':'取消綁定文字','bindText':'結合文字至容器','createContainerFromText':'將文字包於容器中','link':{'edit':I(0x14a),'editEmbed':'編輯連結&嵌入','create':'建立連結','createEmbed':'建立連結&嵌入','label':'連結','labelEmbed':'連結&嵌入','empty':'未設定連結'},'lineEditor':{'edit':'編輯線條','exit':'結束線條編輯'},'elementLock':{'lock':'鎖定','unlock':'解鎖','lockAll':'全部鎖定','unlockAll':'全部解鎖'},'statusPublished':I(0x161),'sidebarLock':'側欄維持開啟','selectAllElementsInFrame':'選取框架內的所有元素','removeAllElementsFromFrame':I(0x141),'eyeDropper':'從畫布中選取顏色','textToDiagram':'文字轉圖表','prompt':'提示詞'},F={'noItems':'尚未加入任何物件...','hint_emptyLibrary':'選取畫布上的物件以加入,或從下方的公開\x20repository\x20中安裝資料庫','hint_emptyPrivateLibrary':'選擇畫布上的物件以在此加入'},e={'clearReset':'重置\x20canvas','exportJSON':I(0x14c),'exportImage':'匯出圖片','export':'儲存至...','copyToClipboard':'複製至剪貼簿','save':'儲存目前檔案','saveAs':'儲存為','load':'開啟','getShareableLink':'取得共享連結','close':'關閉','selectLanguage':'選擇語言','scrollBackToContent':'捲動回到內容','zoomIn':'放大','zoomOut':'縮小','resetZoom':'重設縮放','menu':'選單','done':'完成','edit':'編輯','undo':'復原','redo':'重做','resetLibrary':'重設資料庫','createNewRoom':'建立新協作會議室','fullScreen':'全螢幕','darkMode':'深色模式','lightMode':'淺色模式','zenMode':'專注模式','objectsSnapMode':'吸附至物件','exitZenMode':'離開專注模式','cancel':'取消','clear':'清除','remove':'刪除','embed':'切換嵌入','publishLibrary':'發布','submit':'送出','confirm':'確認','embeddableInteractionButton':'點擊以互動'},E={'clearReset':I(0x146),'couldNotCreateShareableLink':I(0x165),'couldNotCreateShareableLinkTooBig':I(0x13b),'couldNotLoadInvalidFile':'無法讀取失效的檔案。','importBackendFailed':I(0x155),'cannotExportEmptyCanvas':'無法輸出空白的\x20canvas。','couldNotCopyToClipboard':'無法複製到剪貼簿','decryptFailed':'無法解密資料。','uploadedSecurly':'上傳已通過\x20end-to-end\x20加密,Excalidraw\x20伺服器和第三方無法皆讀取其內容。','loadSceneOverridePrompt':'讀取外部圖樣將取代目前的內容。是否要繼續?','collabStopOverridePrompt':I(0x15b),'errorAddingToLibrary':'無法於此資料庫加入項目','errorRemovingFromLibrary':'無法由此資料庫移除項目','confirmAddLibrary':'這將會將\x20{{numShapes}}\x20個圖形加入你的資料庫,你確定嗎?','imageDoesNotContainScene':'此圖檔中未包含場景資料。輸出檔案時是否有包含場景資料?','cannotRestoreFromImage':'無法由此檔案回復場景。','invalidSceneUrl':'無法由提供的\x20URL\x20匯入場景。可能是發生異常,或未包含有效的\x20Excalidraw\x20JSON\x20資料。','resetLibrary':'這會清除您的資料庫,是否確定?','removeItemsFromsLibrary':'從資料庫刪除\x20{{count}}\x20項?','invalidEncryptionKey':'加密鍵必須為22字元。即時協作已停用。','collabOfflineWarning':'沒有可用的網路連線。\x0a變更無法儲存!'},C={'unsupportedFileType':'不支援的檔案類型。','imageInsertError':'無法插入圖片。請稍後再試…','fileTooBig':'檔案過大。可接受的最大尺寸為\x20{{maxSize}}\x20。','svgImageInsertError':I(0x163),'failedToFetchImage':'無法獲取圖片。','invalidSVGString':'無效的\x20SVG。','cannotResolveCollabServer':'無法連結至\x20collab\x20伺服器。請重新整理後再試一次。','importLibraryError':I(0x14e),'collabSaveFailed':'無法儲存至後端資料庫。若此問題持續發生,請將檔案儲存於本機以確保資料不會遺失。','collabSaveFailed_sizeExceeded':'無法儲存至後端資料庫,可能的原因為畫布尺寸過大。請將檔案儲存於本機以確保資料不會遺失。','imageToolNotSupported':'圖片已停用','brave_measure_text_error':{'line1':I(0x15e),'line2':I(0x13c),'line3':'我們強烈建議您關閉此設定。您可以依照\x20<link>這些步驟</link>\x20來進行。','line4':'若關閉此設定並未修復文字元素的顯示問題,請回報於我們\x20GitHub\x20上的\x20<issueLink>issue</issueLink>,或在\x20<discordLink>Discord</discordLink>\x20上告訴我們。'},'libraryElementTypeError':{'embeddable':'可嵌入元素無法加入資料庫','iframe':'IFrame\x20元素無法加入資料庫','image':'即將支援加入圖片至資料庫!'},'asyncPasteFailedOnRead':'無法貼上(無法由系統剪貼簿讀入)','asyncPasteFailedOnParse':I(0x14b),'copyToSystemClipboardFailed':'無法複製至剪貼簿'},A={'selection':'選取','image':I(0x15d),'rectangle':'長方形','diamond':'菱形','ellipse':'橢圓','arrow':'箭頭','line':'線條','freedraw':'繪圖','text':'文字','library':'資料庫','lock':I(0x16a),'penMode':'筆模式\x20-\x20避免觸摸','link':'為所選的形狀增加\x08/更新連結','eraser':'橡皮擦','frame':'框架工具','magicframe':'線框稿轉為程式碼','embeddable':'嵌入網站','laser':'雷射筆','hand':'手形(平移工具)','extraTools':'更多工具','mermaidToExcalidraw':'Mermaid\x20至\x20Excalidraw','magicSettings':'AI\x20設定'},D={'canvasActions':I(0x157),'selectedShapeActions':'選取圖形動作','shapes':'形狀'},B={'canvasPanning':'若要移動畫布,請在拖曳時按住滑鼠滾輪或空白鍵,或使用手形工具','linearElement':'點擊以繪製多點曲線;或拖曳以繪製直線','freeDraw':'點擊並拖曳來繪圖,放開即結束','text':'提示:亦可使用選取工具在任何地方雙擊來加入文字','embeddable':'點擊並拖移以建立嵌入網站','text_selected':'雙擊滑鼠或按\x20Enter\x20以編輯文字','text_editing':'按跳脫鍵或\x20Ctrl\x20或\x20Cmd\x20+\x20Enter\x20以結束編輯','linearElementMulti':'按下\x20Escape\x20或\x20Enter\x20以結束繪製','lockAngle':'按住\x20SHIFT\x20可限制旋轉角度','resize':I(0x171),'resizeImage':'按住\x20SHIFT\x20可任意縮放,按住\x20ALT\x20可由中央縮放。','rotate':'旋轉時按住\x20Shift\x20可限制旋轉角度','lineEditor_info':'按住\x20Ctrl\x20或\x20Cmd\x20並雙擊或按住\x20Ctrl\x20或\x20Cmd\x20+\x20Enter\x20來編輯控制點','lineEditor_pointSelected':'按下\x20Delete\x20可移除錨點;Ctrl\x20或\x20Cmd\x20+\x20D\x20可複製;或可拖曳來移動','lineEditor_nothingSelected':'選擇要編輯的錨點(按住\x20SHIFT\x20可多選),\x0a或按住\x20Alt\x20並點擊以增加新錨點。','placeImage':'點擊以放置圖片,或點擊並拖曳以手動調整其尺寸。','publishLibrary':'發布個人資料庫','bindTextToElement':'按下\x20Enter\x20以加入文字。','deepBoxSelect':'按住\x20Ctrl\x20或\x20Cmd\x20以深度選取並避免拖曳','eraserRevert':'按住\x20Alt\x20以反選取已標記待刪除的元素','firefox_clipboard_write':'此功能有機會透過將\x20\x22dom.events.asyncClipboard.clipboardItem\x22\x20設定為\x20\x22true\x22\x20來開啟。\x0a若要變更\x20Firefox\x20瀏覽器的此設定值,請至\x20\x22about:config\x22\x20頁面。','disableSnapping':'按住\x20Ctrl\x20或\x20Cmd\x20以禁用吸附'},a={'cannotShowPreview':'無法顯示預覽','canvasTooBig':'畫布可能過大','canvasTooBigTip':'提示:可嘗試將最遠的元素移動至較集中的位置'},r={'headingMain':'發生錯誤,嘗試<button>重新載入頁面。</button>','clearCanvasMessage':'若重新載入仍無法解決問題,嘗試<button>清除\x20canvas。</button>','clearCanvasCaveat':'此動作將造成目前的作品被移除。','trackedToSentry':'此錯誤與其識別碼{{eventId}}將由系統記錄。','openIssueMessage':'我們將謹慎處理,你的作品內容不會被包含在錯誤報告中。若你的作品不需保持私密,請考慮使用我們的<button>bug\x20tracker。</button>請將下列資訊複製貼上至\x20GitHub\x20issue\x20中。','sceneContent':'作品內容:'},t={'desc_intro':'你可以邀請其他人一起協作目前的作品。','desc_privacy':'連線使用\x20end-to-end\x20加密故無須擔心作品的安全性。即使是我們的伺服器也無法取得其內容。','button_startSession':'開始連線','button_stopSession':I(0x175),'desc_inProgressIntro':'即時協作連線正在進行中。','desc_shareLink':'將此連結分享給欲協作的對象:','desc_exitSession':'停止連線將中斷你與協作會議室的連結,但你仍可於本機編輯此作品。意指停止連線後你的編輯不會被先前共同協作的人看見,且他們可繼續共同協作另一個版本。','shareTitle':'加入\x20Excalidraw\x20上的即時協作會議室'},o={'title':'錯誤'},i={'disk_title':'儲存至硬碟','disk_details':'將場景匯出為可供匯入之檔案','disk_button':I(0x13d),'link_title':'可共享連結','link_details':'匯出為唯讀連結','link_button':'匯出為連結','excalidrawplus_description':'將此場景儲存至你的\x20Excalidraw+\x20工作區','excalidrawplus_button':'輸出','excalidrawplus_exportError':'目前無法輸出至\x20Excalidraw+'},l={'blog':'閱讀部落格','click':'點擊','deepSelect':I(0x135),'deepBoxSelect':'在容器內深度選取並避免拖曳','curvedArrow':'曲箭頭','curvedLine':'曲線','documentation':'文件','doubleClick':'雙擊','drag':'拖曳','editor':'編輯器','editLineArrowPoints':'編輯線/箭頭控制點','editText':'編輯文字/增加標籤','github':'發現異常?回報問題','howto':'參照我們的說明','or':'或','preventBinding':'避免箭號連結','tools':'工具','shortcuts':'鍵盤快速鍵','textFinish':I(0x15a),'textNewLine':'換行(文字編輯器)','title':'說明','view':'檢視','zoomToFit':'放大至填滿畫面','zoomToSelection':'縮放至選取區','toggleElementLock':'鎖定/解鎖已選的項目','movePageUpDown':'向上/下移動頁面','movePageLeftRight':'向左/右移動頁面'},n={'title':'清除畫布'},s={'title':'發布資料庫','itemName':'項目名稱','authorName':'作者名稱','githubUsername':'GitHub\x20帳號','twitterUsername':'Twitter\x20帳號','libraryName':'資料庫名稱','libraryDesc':'資料庫說明','website':'網站','placeholder':{'authorName':I(0x149),'libraryName':I(0x168),'libraryDesc':'提供您的資料庫說明以利他人理解其用途','githubHandle':I(0x162),'twitterHandle':'Twitter\x20帳號(選填),填寫後若我們在\x20Twitter\x20推廣時可提及您','website':'您個人網站或其他網站的連結(選填)'},'errors':{'required':'必填','website':'請輸入有效的\x20URL'},'noteDescription':I(0x136),'noteGuidelines':I(0x13e),'noteLicense':'送出即代表您同意此資料庫將發布時使用\x20<link>MIT\x20授權,</link>簡單來說是指任何人都能不受限制的使用。','noteItems':'每個資料庫項目都有獨立的名稱故可篩選。會包含下列資料庫項目:','atleastOneLibItem':'請選擇至少一項資料庫項目','republishWarning':I(0x158)},d={'title':'資料庫已送出','content':'感謝\x20{{authorName}}\x20。您的資料庫已送出待審查。您可查看目前狀態<link>在此</link>'},c={'resetLibrary':'重設資料庫','removeItemsFromLib':'從資料庫移除所選的項目'},m={'header':'匯出圖片','label':{'withBackground':'背景','onlySelected':'僅選取物件','darkMode':'深色模式','embedScene':'嵌入場景','scale':I(0x137),'padding':'內間距'},'tooltip':{'embedScene':'用於回復場景的場景資料會被包含在輸出的\x20PNG/SVG\x20檔案中。\x0a會增加輸出的檔案大小。'},'title':{'exportToPng':'輸出成\x20PNG','exportToSvg':'輸出成\x20SVG','copyPngToClipboard':I(0x177)},'button':{'exportToPng':'PNG','exportToSvg':'SVG','copyPngToClipboard':'複製至剪貼簿'}},b={'tooltip':'你的作品已使用\x20end-to-end\x20方式加密,Excalidraw\x20的伺服器也無法取得其內容。','link':'Excalidraw\x20端到端加密的相關部落格文章'},p={'angle':'角度','element':'元素','elements':'元素','height':'高度','scene':'場景','selected':'已選','storage':'儲存','title':'詳細統計','total':'合計','version':'版本','versionCopy':'點擊複製','versionNotAvailable':I(0x16b),'width':'寬度'},g={'addedToLibrary':'加入資料庫','copyStyles':'已複製樣式','copyToClipboard':I(0x176),'copyToClipboardAsPng':'以\x20PNG\x20格式將\x20{{exportSelection}}\x20複製至剪貼簿\x0a({{exportColorScheme}})','fileSaved':'已儲存檔案。','fileSavedToFilename':'儲存為\x20{filename}','canvas':'畫布','selection':'已選項目','pasteAsSingleElement':'使用\x20{{shortcut}}\x20以做為單一物件貼上,\x0a或貼上至現有的文字編輯器','unableToEmbed':'目前不允許嵌入此網址。您可至\x20GitHub\x20提出\x20issue\x20以要求將此網址加入合格名單。','unrecognizedLinkFormat':'您嵌入的連結格式不符。請嘗試貼入原網站所提供的「嵌入」字串。'},h={'transparent':'透明','black':'黑','white':'白','red':'紅','pink':'粉紅','grape':'深紫','violet':'藍紫','gray':'灰','blue':'藍','cyan':'青','teal':'藍綠','green':'綠','yellow':'黃','orange':'橘','bronze':'銅'},y={'app':{'center_heading':I(0x14f),'center_heading_plus':I(0x15f),'menuHint':'輸出、偏好設定、語言...'},'defaults':{'menuHint':'輸出、偏好設定及其他...','center_heading':'圖表。製作。超簡單。','toolbarHint':'選個工具開始畫圖吧!','helpHint':I(0x16d)}},S={'mostUsedCustomColors':'最常使用的自訂顏色','colors':'顏色','shades':I(0x147),'hexCode':'Hex\x20碼','noShades':'沒有此顏色的漸變色'},v={'action':{'exportToImage':{'title':'匯出為圖片','button':I(0x13f),'description':'將場景匯出為可供匯入的圖片檔案'},'saveToDisk':{'title':'儲存至硬碟','button':'儲存至硬碟','description':'將場景匯出為可供匯入的檔案'},'excalidrawPlus':{'title':I(0x150),'button':'匯出至\x20Excalidraw+','description':I(0x140)}},'modal':{'loadFromFile':{'title':'從檔案載入','button':'從檔案載入','description':'從檔案載入將<bold>取代您目前的內容</bold>。<br></br>可先使用下方的選項備份您的繪圖。'},'shareableLink':{'title':'從連結載入','button':I(0x153),'description':I(0x166)}}},w={'title':'Mermaid\x20至\x20Excalidraw','button':'插入','description':'目前僅支援\x20<flowchartLink>Flowchart</flowchartLink>\x20、\x20<sequenceLink>Sequence</sequenceLink>\x20及\x20<classLink>Class\x20</classLink>\x20圖表。其餘檔案類型在\x20Excalidraw\x20將會以圖像呈現。','syntax':'Mermaid\x20語法','preview':'預覽'},T={'labels':u,'library':F,'buttons':e,'alerts':E,'errors':C,'toolBar':A,'headings':D,'hints':B,'canvasError':a,'errorSplash':r,'roomDialog':t,'errorDialog':o,'exportDialog':i,'helpDialog':l,'clearCanvasDialog':n,'publishDialog':s,'publishSuccessDialog':d,'confirmDialog':c,'imageExportDialog':m,'encrypted':b,'stats':p,'toast':g,'colors':h,'welcomeScreen':y,'colorPicker':S,'overwriteConfirm':v,'mermaid':w};export{E as alerts,e as buttons,a as canvasError,n as clearCanvasDialog,S as colorPicker,h as colors,c as confirmDialog,T as default,b as encrypted,o as errorDialog,r as errorSplash,C as errors,i as exportDialog,D as headings,l as helpDialog,B as hints,m as imageExportDialog,u as labels,F as library,w as mermaid,v as overwriteConfirm,s as publishDialog,d as publishSuccessDialog,t as roomDialog,p as stats,g as toast,A as toolBar,y as welcomeScreen};
|
package/dist/index.d.ts
CHANGED
|
@@ -214,6 +214,7 @@ export declare interface FileViewerOptions {
|
|
|
214
214
|
toolbar?: boolean | FileViewerToolbarOptions;
|
|
215
215
|
archive?: FileViewerArchiveOptions;
|
|
216
216
|
pdf?: FileViewerPdfOptions;
|
|
217
|
+
typst?: FileViewerTypstOptions;
|
|
217
218
|
/**
|
|
218
219
|
* 文档加载/卸载生命周期钩子。直接使用 Vue 组件时可以传函数;
|
|
219
220
|
* iframe 集成时同名事件会通过 `postMessage` 向宿主发送。
|
|
@@ -241,6 +242,23 @@ declare interface FileViewerPdfOptions {
|
|
|
241
242
|
* 初始页面旋转角度。会按 90 度归一化到 0 / 90 / 180 / 270。
|
|
242
243
|
*/
|
|
243
244
|
rotation?: number;
|
|
245
|
+
/**
|
|
246
|
+
* 远端 PDF 是否优先交给 PDF.js 直接按 URL 渐进读取。
|
|
247
|
+
*
|
|
248
|
+
* 默认 `same-origin`,即同源 PDF 交给 PDF.js 通过 URL 渐进读取;
|
|
249
|
+
* 当文件服务支持 Range 时会进一步使用分片加载。跨域 URL 仍保持
|
|
250
|
+
* 旧的 Blob 下载后预览链路,最大化兼容鉴权下载和 CORS 场景。
|
|
251
|
+
* 设为 `true` 会对所有 URL 启用,设为 `false` 会完全禁用。
|
|
252
|
+
*/
|
|
253
|
+
streaming?: boolean | 'same-origin';
|
|
254
|
+
/**
|
|
255
|
+
* PDF.js Range 请求的分片大小,默认 64KB;仅在文件服务支持 Range 时生效。
|
|
256
|
+
*/
|
|
257
|
+
rangeChunkSize?: number;
|
|
258
|
+
/**
|
|
259
|
+
* PDF.js URL 读取 PDF 时是否携带浏览器凭据。
|
|
260
|
+
*/
|
|
261
|
+
withCredentials?: boolean;
|
|
244
262
|
}
|
|
245
263
|
|
|
246
264
|
export declare type FileViewerSourceType = 'file' | 'url' | 'empty';
|
|
@@ -261,6 +279,16 @@ export declare interface FileViewerToolbarOptions {
|
|
|
261
279
|
beforeExportHtml?: FileViewerBeforeOperation;
|
|
262
280
|
}
|
|
263
281
|
|
|
282
|
+
/**
|
|
283
|
+
* Typst 预览配置。
|
|
284
|
+
*/
|
|
285
|
+
declare interface FileViewerTypstOptions {
|
|
286
|
+
/**
|
|
287
|
+
* Typst compiler WASM 地址。需要浏览器端编译时才会加载。
|
|
288
|
+
*/
|
|
289
|
+
compilerWasmUrl?: string;
|
|
290
|
+
}
|
|
291
|
+
|
|
264
292
|
/**
|
|
265
293
|
* 水印配置。
|
|
266
294
|
*
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(f,g){var k=c,h=f();while(!![]){try{var i
|
|
1
|
+
(function(f,g){var k=c,h=f();while(!![]){try{var i=-parseInt(k(0x1bc))/0x1+-parseInt(k(0x1bb))/0x2*(-parseInt(k(0x1b7))/0x3)+parseInt(k(0x1b8))/0x4*(parseInt(k(0x1be))/0x5)+parseInt(k(0x1ba))/0x6+-parseInt(k(0x1bd))/0x7+-parseInt(k(0x1b9))/0x8+parseInt(k(0x1bf))/0x9;if(i===g)break;else h['push'](h['shift']());}catch(j){h['push'](h['shift']());}}}(b,0x7c16a));import{F as d,i as e}from'./components/index7.js';import'vue';function c(a,d){a=a-0x1b7;var e=b();var f=e[a];return f;}export{d as FileViewer,e as default};function b(){var l=['9uyrRiD','32CbmNJl','1481232QGbYWa','627012DkznYM','207542qfxqdE','587766ugKcIW','3050292UuceWt','473255WuRIMQ','4895271ytCMlr'];b=function(){return l;};return b();}
|
package/dist/package/index.d.ts
CHANGED
|
@@ -18,6 +18,13 @@ export default _default;
|
|
|
18
18
|
export { FileViewer };
|
|
19
19
|
export type { FileRef, FileRenderExportAdapter, FileRenderExportMode, FileRenderExportOptions, FileViewerArchiveOptions, FileViewerBeforeOperation, FileViewerLifecycleContext, FileViewerLifecycleHooks, FileViewerLifecyclePhase, FileViewerOperationAvailability, FileViewerOperationContext, FileViewerOperationType, FileViewerOptions, FileViewerSourceType, FileViewerToolbarOptions, FileViewerWatermarkOptions } from './common/type';
|
|
20
20
|
|
|
21
|
+
|
|
22
|
+
declare global {
|
|
23
|
+
interface Window {
|
|
24
|
+
__FLYFISH_TYPST_COMPILER_WASM_URL__?: string;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
21
28
|
declare global {
|
|
22
29
|
interface Window {
|
|
23
30
|
GraphViewer?: {
|