file-viewer3 1.0.8 → 1.0.26
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/LICENSE +160 -0
- package/README.en.md +390 -0
- package/README.md +306 -89
- package/dist/components/3MFLoader.js +527 -0
- package/dist/components/AMFLoader.js +188 -0
- package/dist/components/ArchiveViewer.js +526 -0
- package/dist/components/AudioViewer.js +66 -0
- package/dist/components/CadViewer.js +9040 -0
- package/dist/components/CodeViewer.js +151 -0
- package/dist/components/ColladaLoader.js +2282 -0
- package/dist/components/DrawingViewer.js +295 -0
- package/dist/components/EdaViewer.js +630 -0
- package/dist/components/EmailViewer.js +276 -0
- package/dist/components/EpubViewer.js +172 -0
- package/dist/components/FBXLoader.js +1574 -0
- package/dist/components/GLTFLoader.js +1383 -0
- package/dist/components/ImageViewer.js +1516 -1895
- package/dist/components/KMZLoader.js +45 -0
- package/dist/components/MarkdownViewer.js +1456 -1557
- package/dist/components/ModelViewer.js +797 -0
- package/dist/components/OBJLoader.js +287 -0
- package/dist/components/OfdViewer.js +133 -0
- package/dist/components/PCDLoader.js +141 -0
- package/dist/components/PLYLoader.js +305 -0
- package/dist/components/PdfView.js +27662 -21655
- package/dist/components/PptxRender.js +11170 -21118
- package/dist/components/STLLoader.js +83 -0
- package/dist/components/TDSLoader.js +228 -0
- package/dist/components/TypstViewer.js +1697 -0
- package/dist/components/USDLoader.js +2526 -0
- package/dist/components/UmdViewer.js +1873 -0
- package/dist/components/VRMLLoader.js +6422 -0
- package/dist/components/VTKLoader.js +337 -0
- package/dist/components/XYZLoader.js +30 -0
- package/dist/components/XlsxTable.js +7871 -69873
- package/dist/components/__vite-browser-external.js +7 -0
- package/dist/components/_plugin-vue_export-helper.js +8 -0
- package/dist/components/ar-SA-G6X2FPQ2.js +523 -0
- package/dist/components/arc.js +79 -0
- package/dist/components/architecture-7EHR7CIX.js +3 -0
- package/dist/components/architectureDiagram-3BPJPVTR.js +4096 -0
- package/dist/components/archive.js +24 -0
- package/dist/components/asyncToGenerator.js +29 -0
- package/dist/components/audio.js +19 -0
- package/dist/components/az-AZ-76LH7QW2.js +523 -0
- package/dist/components/bash.js +169 -0
- package/dist/components/bg-BG-XCXSNQG7.js +523 -0
- package/dist/components/blockDiagram-GPEHLZMM.js +3357 -0
- package/dist/components/bn-BD-2XOGV67Q.js +523 -0
- package/dist/components/c4Diagram-AAUBKEIU.js +2957 -0
- package/dist/components/ca-ES-6MX7JW3Y.js +523 -0
- package/dist/components/cad.js +23 -0
- package/dist/components/cfb.js +1174 -0
- package/dist/components/channel.js +5 -0
- package/dist/components/chunk-2J33WTMH.js +26 -0
- package/dist/components/chunk-3OPIFGDE.js +4167 -0
- package/dist/components/chunk-4BX2VUAB.js +19 -0
- package/dist/components/chunk-55IACEB6.js +9 -0
- package/dist/components/chunk-5ZQYHXKU.js +669 -0
- package/dist/components/chunk-6U3AYISY.js +624 -0
- package/dist/components/chunk-727SXJPM.js +3356 -0
- package/dist/components/chunk-AGHRB4JF.js +324 -0
- package/dist/components/chunk-AQP2D5EJ.js +2055 -0
- package/dist/components/chunk-BSJP7CBP.js +83 -0
- package/dist/components/chunk-CSCIHK7Q.js +3500 -0
- package/dist/components/chunk-EIO257PC.js +1836 -0
- package/dist/components/chunk-FMBD7UC4.js +5 -0
- package/dist/components/chunk-K2UTITRG.js +17627 -0
- package/dist/components/chunk-KSCS5N6A.js +572 -0
- package/dist/components/chunk-L5ZTLDWV.js +40 -0
- package/dist/components/chunk-LZXEDZCA.js +60 -0
- package/dist/components/chunk-ND2GUHAM.js +61 -0
- package/dist/components/chunk-NNHCCRGN.js +20425 -0
- package/dist/components/chunk-NZK2D7GU.js +68 -0
- package/dist/components/chunk-O5CBEL6O.js +1894 -0
- package/dist/components/chunk-QZHKN3VN.js +12 -0
- package/dist/components/chunk-SRAX5OIU.js +22 -0
- package/dist/components/chunk-WU5MYG2G.js +14 -0
- package/dist/components/chunk-XPW4576I.js +1146 -0
- package/dist/components/chunk-Z3N5DIM6.js +59 -0
- package/dist/components/chunk-ZUYEQ4TG.js +22 -0
- package/dist/components/chunk.js +23 -0
- package/dist/components/classDiagram-4FO5ZUOK.js +29 -0
- package/dist/components/classDiagram-v2-Q7XG4LA2.js +29 -0
- package/dist/components/compiler.js +2 -0
- package/dist/components/core.js +845 -0
- package/dist/components/cose-bilkent-S5V4N54A.js +2268 -0
- package/dist/components/cpp.js +225 -0
- package/dist/components/cs-CZ-2BRQDIVT.js +523 -0
- package/dist/components/csharp.js +260 -0
- package/dist/components/css.js +140 -0
- package/dist/components/cytoscape.esm.js +18114 -0
- package/dist/components/da-DK-5WZEPLOC.js +523 -0
- package/dist/components/dagre-BM42HDAG.js +325 -0
- package/dist/components/dagre.js +1936 -0
- package/dist/components/de-DE-XR44H4JA.js +523 -0
- package/dist/components/defaultLocale.js +201 -0
- package/dist/components/defineProperty.js +50 -0
- package/dist/components/diagram-2AECGRRQ.js +229 -0
- package/dist/components/diagram-5GNKFQAL.js +108 -0
- package/dist/components/diagram-KO2AKTUF.js +443 -0
- package/dist/components/diagram-LMA3HP47.js +139 -0
- package/dist/components/diagram-OG6HWLK6.js +541 -0
- package/dist/components/diff.js +39 -0
- package/dist/components/directory-open-01563666.js +26 -0
- package/dist/components/directory-open-4ed118d0.js +83 -0
- package/dist/components/dist.js +50 -0
- package/dist/components/dist2.js +3291 -0
- package/dist/components/dist3.js +1593 -0
- package/dist/components/documentSearch.js +378 -0
- package/dist/components/docx-preview.js +3113 -0
- package/dist/components/drawing.js +19 -0
- package/dist/components/ebook.js +16 -0
- package/dist/components/eda.js +20 -0
- package/dist/components/el-GR-BZB4AONW.js +523 -0
- package/dist/components/email.js +21 -0
- package/dist/components/en-B4ZKOASM.js +3 -0
- package/dist/components/erDiagram-TEJ5UH35.js +1719 -0
- package/dist/components/es-ES-U4NZUMDT.js +523 -0
- package/dist/components/eu-ES-A7QVB2H4.js +523 -0
- package/dist/components/eventmodeling-FCH6USID.js +3 -0
- package/dist/components/fa-IR-HGAKTJCU.js +523 -0
- package/dist/components/fflate.module.js +323 -0
- package/dist/components/fi-FI-Z5N7JZ37.js +523 -0
- package/dist/components/file-open-002ab408.js +38 -0
- package/dist/components/file-open-7c801643.js +24 -0
- package/dist/components/file-save-3189631c.js +40 -0
- package/dist/components/file-save-745eba88.js +36 -0
- package/dist/components/flowDiagram-I6XJVG4X.js +4181 -0
- package/dist/components/fr-FR-RHASNOE6.js +523 -0
- package/dist/components/ganttDiagram-6RSMTGT7.js +2182 -0
- package/dist/components/gitGraph-WXDBUCRP.js +3 -0
- package/dist/components/gitGraphDiagram-PVQCEYII.js +788 -0
- package/dist/components/gl-ES-HMX3MZ6V.js +523 -0
- package/dist/components/global-compiler.js +23 -0
- package/dist/components/global-renderer.js +23 -0
- package/dist/components/go.js +140 -0
- package/dist/components/graphlib.js +1267 -0
- package/dist/components/he-IL-6SHJWFNN.js +523 -0
- package/dist/components/hi-IN-IWLTKZ5I.js +523 -0
- package/dist/components/hu-HU-A5ZG7DT2.js +523 -0
- package/dist/components/id-ID-SAP4L64H.js +523 -0
- package/dist/components/image-GAAHSSAO.js +3 -0
- package/dist/components/image-blob-reduce.esm.js +1429 -0
- package/dist/components/image.js +17 -0
- package/dist/components/info-J43DQDTF.js +3 -0
- package/dist/components/infoDiagram-5YYISTIA.js +26 -0
- package/dist/components/ini.js +88 -0
- package/dist/components/init.js +15 -0
- package/dist/components/ishikawaDiagram-YF4QCWOH.js +718 -0
- package/dist/components/it-IT-JPQ66NNP.js +523 -0
- package/dist/components/ja-JP-DBVTYXUO.js +523 -0
- package/dist/components/java.js +169 -0
- package/dist/components/javascript.js +436 -0
- package/dist/components/journeyDiagram-JHISSGLW.js +885 -0
- package/dist/components/json.js +36 -0
- package/dist/components/jszip.min.js +3033 -0
- package/dist/components/kaa-6HZHGXH3.js +523 -0
- package/dist/components/kab-KAB-ZGHBKWFO.js +523 -0
- package/dist/components/kanban-definition-UN3LZRKU.js +986 -0
- package/dist/components/katex.js +21979 -0
- package/dist/components/kk-KZ-P5N5QNE5.js +523 -0
- package/dist/components/km-KH-HSX4SM5Z.js +523 -0
- package/dist/components/ko-KR-MTYHY66A.js +523 -0
- package/dist/components/ku-TR-6OUDTVRD.js +523 -0
- package/dist/components/lib.js +4877 -0
- package/dist/components/libarchive.js +360 -0
- package/dist/components/linear.js +289 -0
- package/dist/components/lt-LT-XHIRWOB4.js +523 -0
- package/dist/components/lv-LV-5QDEKY6T.js +523 -0
- package/dist/components/markdown.js +181 -0
- package/dist/components/md.js +17 -0
- package/dist/components/mermaid-parser.core.js +328 -0
- package/dist/components/mindmap-definition-RKZ34NQL.js +1016 -0
- package/dist/components/model.js +21 -0
- package/dist/components/mp4.js +12 -0
- package/dist/components/mr-IN-CRQNXWMA.js +523 -0
- package/dist/components/my-MM-5M5IBNSE.js +523 -0
- package/dist/components/nb-NO-T6EIAALU.js +523 -0
- package/dist/components/nestedRender.js +158 -0
- package/dist/components/nl-NL-IS3SIHDZ.js +523 -0
- package/dist/components/nn-NO-6E72VCQL.js +523 -0
- package/dist/components/objectSpread2.js +29 -0
- package/dist/components/objectWithoutProperties.js +28 -0
- package/dist/components/oc-FR-POXYY2M6.js +523 -0
- package/dist/components/ofd.js +5261 -0
- package/dist/components/ofd2.js +16 -0
- package/dist/components/ordinal.js +65 -0
- package/dist/components/pa-IN-N4M65BXN.js +523 -0
- package/dist/components/packet-YPE3B663.js +3 -0
- package/dist/components/pdf.js +24 -0
- package/dist/components/percentages-BXMCSKIN.js +3 -0
- package/dist/components/php.js +294 -0
- package/dist/components/pica.js +1009 -0
- package/dist/components/pie-LRSECV5Y.js +3 -0
- package/dist/components/pie.js +47 -0
- package/dist/components/pieDiagram-4H26LBE5.js +130 -0
- package/dist/components/pl-PL-T2D74RX3.js +523 -0
- package/dist/components/postal-mime.js +3146 -0
- package/dist/components/pptx.js +15 -0
- package/dist/components/printLayout.js +42 -0
- package/dist/components/prod.js +21770 -0
- package/dist/components/pt-BR-5N22H2LF.js +523 -0
- package/dist/components/pt-PT-UZXXM6DQ.js +523 -0
- package/dist/components/python.js +238 -0
- package/dist/components/quadrantDiagram-W4KKPZXB.js +1988 -0
- package/dist/components/radar-GUYGQ44K.js +3 -0
- package/dist/components/renderer.js +2 -0
- package/dist/components/requirementDiagram-4Y6WPE33.js +2230 -0
- package/dist/components/ro-RO-JPDTUUEW.js +523 -0
- package/dist/components/rough.esm.js +1355 -0
- package/dist/components/roundRect.js +90 -0
- package/dist/components/ru-RU-B4JR7IUQ.js +523 -0
- package/dist/components/rust.js +169 -0
- package/dist/components/sankeyDiagram-5OEKKPKP.js +972 -0
- package/dist/components/sequenceDiagram-3UESZ5HK.js +4255 -0
- package/dist/components/shared.js +175 -0
- package/dist/components/shared2.js +4 -0
- package/dist/components/si-LK-N5RQ5JYF.js +523 -0
- package/dist/components/sk-SK-C5VTKIMK.js +523 -0
- package/dist/components/sl-SI-NN7IZMDC.js +523 -0
- package/dist/components/sourceLoading.js +134 -0
- package/dist/components/sql.js +118 -0
- package/dist/components/src.js +2664 -0
- package/dist/components/src2.js +10722 -0
- package/dist/components/stateDiagram-AJRCARHV.js +217 -0
- package/dist/components/stateDiagram-v2-BHNVJYJU.js +27 -0
- package/dist/components/subset-shared.chunk.js +3 -0
- package/dist/components/subset-worker.chunk.js +21 -0
- package/dist/components/sv-SE-XGPEYMSR.js +523 -0
- package/dist/components/ta-IN-2NMHFXQM.js +523 -0
- package/dist/components/text.js +20 -0
- package/dist/components/th-TH-HPSO5L25.js +523 -0
- package/dist/components/three.module.js +13134 -0
- package/dist/components/time.js +910 -0
- package/dist/components/timeline-definition-PNZ67QCA.js +1084 -0
- package/dist/components/tr-TR-DEFEU3FU.js +523 -0
- package/dist/components/treeView-BLDUP644.js +3 -0
- package/dist/components/treemap-LRROVOQU.js +3 -0
- package/dist/components/typescript.js +521 -0
- package/dist/components/typst.js +25 -0
- package/dist/components/uk-UA-QMV73CPH.js +523 -0
- package/dist/components/umd.js +16 -0
- package/dist/components/use.js +422 -0
- package/dist/components/util.js +49 -0
- package/dist/components/vennDiagram-CIIHVFJN.js +1880 -0
- package/dist/components/vi-VN-M7AON7JQ.js +523 -0
- package/dist/components/viewerZoom.js +92 -0
- package/dist/components/wardley-L42UT6IY.js +3 -0
- package/dist/components/wardleyDiagram-YWT4CUSO.js +656 -0
- package/dist/components/wasm-pack-shim.js +1711 -0
- package/dist/components/wasm-pack-shim2.js +934 -0
- package/dist/components/wasm.js +97 -0
- package/dist/components/word.js +3055 -0
- package/dist/components/worker-ref.js +15 -20
- package/dist/components/xlsx.js +21 -0
- package/dist/components/xml.js +166 -0
- package/dist/components/xychartDiagram-2RQKCTM6.js +2015 -0
- package/dist/components/yaml.js +144 -0
- package/dist/components/zh-CN-LNUGB5OW.js +523 -0
- package/dist/components/zh-HK-E62DVLB3.js +523 -0
- package/dist/components/zh-TW-RAJ6MFWO.js +523 -0
- package/dist/file-viewer3.css +2 -0
- package/dist/index.mjs +3292 -5
- package/dist/src/App.vue.d.ts +3 -0
- package/dist/src/compare/CompareApp.vue.d.ts +3 -0
- package/dist/src/compare/main.d.ts +0 -0
- package/dist/src/compare/useSynchronizedScroll.d.ts +7 -0
- package/dist/src/components/HelloWorld.vue.d.ts +3 -0
- package/dist/src/components/utils.d.ts +4 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/package/common/printCapability.d.ts +27 -0
- package/dist/src/package/common/printLayout.d.ts +16 -0
- package/dist/src/package/common/sourceLoading.d.ts +10 -0
- package/dist/src/package/common/type.d.ts +522 -8
- package/dist/src/package/common/worker-ref.d.ts +1 -1
- package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +74 -24
- package/dist/src/package/components/FileViewer/exportDocumentTemplate.d.ts +9 -0
- package/dist/src/package/components/FileViewer/hooks/useViewerDocumentFeatures.d.ts +29 -0
- package/dist/src/package/components/FileViewer/hooks/useViewerExport.d.ts +21 -0
- package/dist/src/package/components/FileViewer/hooks/useViewerWatermark.d.ts +8 -0
- package/dist/src/package/components/FileViewer/hooks/useViewerZoom.d.ts +34 -0
- package/dist/src/package/components/FileViewer/index.d.ts +1 -1
- package/dist/src/package/components/FileViewer/util.d.ts +2 -1
- package/dist/src/package/index.d.ts +14 -4
- package/dist/src/package/use/documentLocation.d.ts +15 -0
- package/dist/src/package/use/documentSearch.d.ts +234 -0
- package/dist/src/package/use/index.d.ts +4 -0
- package/dist/src/package/use/loading.d.ts +33 -0
- package/dist/src/package/use/viewerZoom.d.ts +42 -0
- package/dist/src/package/use/worker.d.ts +2 -2
- package/dist/src/package/vendors/archive/ArchiveViewer.vue.d.ts +9 -0
- package/dist/src/package/vendors/archive/cache.d.ts +10 -0
- package/dist/src/package/vendors/archive/fallback.d.ts +9 -0
- package/dist/src/package/vendors/archive/index.d.ts +3 -0
- package/dist/src/package/vendors/archive/shared.d.ts +24 -0
- package/dist/src/package/vendors/audio/AudioViewer.vue.d.ts +7 -0
- package/dist/src/package/vendors/audio/index.d.ts +7 -0
- package/dist/src/package/vendors/cad/CadViewer.vue.d.ts +9 -0
- package/dist/src/package/vendors/cad/index.d.ts +8 -0
- package/dist/src/package/vendors/drawing/DrawingViewer.vue.d.ts +15 -0
- package/dist/src/package/vendors/drawing/index.d.ts +7 -0
- package/dist/src/package/vendors/ebook/EpubViewer.vue.d.ts +6 -0
- package/dist/src/package/vendors/ebook/index.d.ts +7 -0
- package/dist/src/package/vendors/eda/EdaViewer.vue.d.ts +8 -0
- package/dist/src/package/vendors/eda/index.d.ts +2 -0
- package/dist/src/package/vendors/eda/parser.d.ts +77 -0
- package/dist/src/package/vendors/email/EmailViewer.vue.d.ts +10 -0
- package/dist/src/package/vendors/email/index.d.ts +2 -0
- package/dist/src/package/vendors/image/ImageViewer.vue.d.ts +6 -13
- package/dist/src/package/vendors/image/index.d.ts +1 -1
- package/dist/src/package/vendors/md/MarkdownViewer.vue.d.ts +6 -13
- package/dist/src/package/vendors/md/index.d.ts +1 -1
- package/dist/src/package/vendors/model/ModelViewer.vue.d.ts +8 -0
- package/dist/src/package/vendors/model/index.d.ts +3 -0
- package/dist/src/package/vendors/model/shared.d.ts +1 -0
- package/dist/src/package/vendors/nestedRender.d.ts +10 -0
- package/dist/src/package/vendors/ofd/OfdViewer.vue.d.ts +6 -0
- package/dist/src/package/vendors/ofd/index.d.ts +7 -0
- package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +10 -13
- package/dist/src/package/vendors/pdf/index.d.ts +2 -1
- package/dist/src/package/vendors/pdf/worker/pdf.worker.d.ts +0 -0
- package/dist/src/package/vendors/pptx/PptxRender.vue.d.ts +9 -81
- package/dist/src/package/vendors/pptx/index.d.ts +1 -1
- package/dist/src/package/vendors/renders.d.ts +1 -1
- package/dist/src/package/vendors/text/CodeViewer.vue.d.ts +7 -13
- package/dist/src/package/vendors/text/index.d.ts +6 -2
- package/dist/src/package/vendors/typst/TypstViewer.vue.d.ts +15 -0
- package/dist/src/package/vendors/typst/index.d.ts +8 -0
- package/dist/src/package/vendors/umd/UmdViewer.vue.d.ts +6 -0
- package/dist/src/package/vendors/umd/index.d.ts +7 -0
- package/dist/src/package/vendors/umd/parser.d.ts +30 -0
- package/dist/src/package/vendors/word/doc.d.ts +5 -0
- package/dist/src/package/vendors/word/docx.d.ts +5 -0
- package/dist/src/package/vendors/word/docx.worker.d.ts +1 -0
- package/dist/src/package/vendors/word/index.d.ts +3 -0
- package/dist/src/package/vendors/xlsx/XlsxTable.state.d.ts +80 -0
- package/dist/src/package/vendors/xlsx/XlsxTable.view.d.ts +25 -0
- package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +6 -21
- package/dist/src/package/vendors/xlsx/index.d.ts +3 -2
- package/dist/src/package/vendors/xlsx/util.d.ts +0 -5
- package/dist/src/package/vendors/xlsx/worker/index.d.ts +4 -6
- package/dist/src/package/vendors/xlsx/worker/sheetjs/SheetJsModel.d.ts +73 -0
- package/dist/src/package/vendors/xlsx/worker/sheetjs/sheet.worker.d.ts +1 -0
- package/dist/style.css +1 -57
- package/dist/wasm/cad/dwfv-render.wasm +0 -0
- package/dist/wasm/cad/dwg-worker.js +24 -0
- package/dist/wasm/cad/libredwg-web.js +15 -0
- package/dist/wasm/cad/libredwg-web.wasm +0 -0
- package/package.json +118 -42
- package/.vscode/extensions.json +0 -3
- package/dist/components/_commonjs-dynamic-modules.js +0 -6
- package/dist/components/_commonjsHelpers.js +0 -36
- package/dist/components/docx-preview.min.js +0 -5287
- package/dist/components/index.js +0 -1717
- package/dist/favicon.ico +0 -0
- package/dist/index.umd.js +0 -436
- package/dist/src/package/vendors/docx/index.d.ts +0 -4
- package/dist/src/package/vendors/xlsx/render.d.ts +0 -6
- package/dist/src/package/vendors/xlsx/worker/xls/SheetJsModel.d.ts +0 -36
- package/dist/src/package/vendors/xlsx/worker/xlsx/ExcelJsModel.d.ts +0 -39
- package/dist/src/package/vendors/xlsx/worker/xlsx/context.d.ts +0 -7
- package/dist/src/package/vendors/xlsx/worker/xlsx/index.d.ts +0 -4
- package/dist/src/package/vendors/xlsx/worker/xlsx/util.d.ts +0 -10
- package/dist/worker/pdf.worker.js +0 -66
- package/dist/worker/pptx.worker.js +0 -21
- package/dist/worker/sheet.worker.js +0 -38
- package/dist/worker/xlsx.worker.js +0 -65
- /package/dist/src/package/vendors/xlsx/worker/{xlsx → sheetjs}/color.d.ts +0 -0
- /package/dist/src/package/vendors/xlsx/worker/{xls → sheetjs}/index.d.ts +0 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/highlight.js@11.11.1/node_modules/highlight.js/es/languages/yaml.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
let t = "true false yes no null", n = {
|
|
4
|
+
className: "attr",
|
|
5
|
+
variants: [
|
|
6
|
+
{ begin: /[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/ },
|
|
7
|
+
{ begin: /"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/ },
|
|
8
|
+
{ begin: /'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/ }
|
|
9
|
+
]
|
|
10
|
+
}, r = {
|
|
11
|
+
className: "template-variable",
|
|
12
|
+
variants: [{
|
|
13
|
+
begin: /\{\{/,
|
|
14
|
+
end: /\}\}/
|
|
15
|
+
}, {
|
|
16
|
+
begin: /%\{/,
|
|
17
|
+
end: /\}/
|
|
18
|
+
}]
|
|
19
|
+
}, i = {
|
|
20
|
+
className: "string",
|
|
21
|
+
relevance: 0,
|
|
22
|
+
begin: /'/,
|
|
23
|
+
end: /'/,
|
|
24
|
+
contains: [{
|
|
25
|
+
match: /''/,
|
|
26
|
+
scope: "char.escape",
|
|
27
|
+
relevance: 0
|
|
28
|
+
}]
|
|
29
|
+
}, a = {
|
|
30
|
+
className: "string",
|
|
31
|
+
relevance: 0,
|
|
32
|
+
variants: [{
|
|
33
|
+
begin: /"/,
|
|
34
|
+
end: /"/
|
|
35
|
+
}, { begin: /\S+/ }],
|
|
36
|
+
contains: [e.BACKSLASH_ESCAPE, r]
|
|
37
|
+
}, o = e.inherit(a, { variants: [
|
|
38
|
+
{
|
|
39
|
+
begin: /'/,
|
|
40
|
+
end: /'/,
|
|
41
|
+
contains: [{
|
|
42
|
+
begin: /''/,
|
|
43
|
+
relevance: 0
|
|
44
|
+
}]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
begin: /"/,
|
|
48
|
+
end: /"/
|
|
49
|
+
},
|
|
50
|
+
{ begin: /[^\s,{}[\]]+/ }
|
|
51
|
+
] }), s = {
|
|
52
|
+
className: "number",
|
|
53
|
+
begin: "\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"
|
|
54
|
+
}, c = {
|
|
55
|
+
end: ",",
|
|
56
|
+
endsWithParent: !0,
|
|
57
|
+
excludeEnd: !0,
|
|
58
|
+
keywords: t,
|
|
59
|
+
relevance: 0
|
|
60
|
+
}, l = {
|
|
61
|
+
begin: /\{/,
|
|
62
|
+
end: /\}/,
|
|
63
|
+
contains: [c],
|
|
64
|
+
illegal: "\\n",
|
|
65
|
+
relevance: 0
|
|
66
|
+
}, u = {
|
|
67
|
+
begin: "\\[",
|
|
68
|
+
end: "\\]",
|
|
69
|
+
contains: [c],
|
|
70
|
+
illegal: "\\n",
|
|
71
|
+
relevance: 0
|
|
72
|
+
}, d = [
|
|
73
|
+
n,
|
|
74
|
+
{
|
|
75
|
+
className: "meta",
|
|
76
|
+
begin: "^---\\s*$",
|
|
77
|
+
relevance: 10
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
className: "string",
|
|
81
|
+
begin: "[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
begin: "<%[%=-]?",
|
|
85
|
+
end: "[%-]?%>",
|
|
86
|
+
subLanguage: "ruby",
|
|
87
|
+
excludeBegin: !0,
|
|
88
|
+
excludeEnd: !0,
|
|
89
|
+
relevance: 0
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
className: "type",
|
|
93
|
+
begin: "!\\w+![\\w#;/?:@&=+$,.~*'()[\\]]+"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
className: "type",
|
|
97
|
+
begin: "!<[\\w#;/?:@&=+$,.~*'()[\\]]+>"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
className: "type",
|
|
101
|
+
begin: "![\\w#;/?:@&=+$,.~*'()[\\]]+"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
className: "type",
|
|
105
|
+
begin: "!![\\w#;/?:@&=+$,.~*'()[\\]]+"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
className: "meta",
|
|
109
|
+
begin: "&" + e.UNDERSCORE_IDENT_RE + "$"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
className: "meta",
|
|
113
|
+
begin: "\\*" + e.UNDERSCORE_IDENT_RE + "$"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
className: "bullet",
|
|
117
|
+
begin: "-(?=[ ]|$)",
|
|
118
|
+
relevance: 0
|
|
119
|
+
},
|
|
120
|
+
e.HASH_COMMENT_MODE,
|
|
121
|
+
{
|
|
122
|
+
beginKeywords: t,
|
|
123
|
+
keywords: { literal: t }
|
|
124
|
+
},
|
|
125
|
+
s,
|
|
126
|
+
{
|
|
127
|
+
className: "number",
|
|
128
|
+
begin: e.C_NUMBER_RE + "\\b",
|
|
129
|
+
relevance: 0
|
|
130
|
+
},
|
|
131
|
+
l,
|
|
132
|
+
u,
|
|
133
|
+
i,
|
|
134
|
+
a
|
|
135
|
+
], f = [...d];
|
|
136
|
+
return f.pop(), f.push(o), c.contains = f, {
|
|
137
|
+
name: "YAML",
|
|
138
|
+
case_insensitive: !0,
|
|
139
|
+
aliases: ["yml"],
|
|
140
|
+
contains: d
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
//#endregion
|
|
144
|
+
export { e as default };
|
|
@@ -0,0 +1,523 @@
|
|
|
1
|
+
import "./chunk-SRAX5OIU.js";
|
|
2
|
+
//#region node_modules/.pnpm/@excalidraw+excalidraw@0.18.1_@types+react-dom@19.2.3_@types+react@19.2.17__@types+reac_20b48e3fb533bfb35e3cd3573f75cb5d/node_modules/@excalidraw/excalidraw/dist/prod/locales/zh-CN-LNUGB5OW.js
|
|
3
|
+
var e = {
|
|
4
|
+
paste: "粘贴",
|
|
5
|
+
pasteAsPlaintext: "粘贴为纯文本",
|
|
6
|
+
pasteCharts: "粘贴图表",
|
|
7
|
+
selectAll: "全部选中",
|
|
8
|
+
multiSelect: "添加元素到选区",
|
|
9
|
+
moveCanvas: "移动画布",
|
|
10
|
+
cut: "剪切",
|
|
11
|
+
copy: "拷贝",
|
|
12
|
+
copyAsPng: "复制为 PNG 到剪贴板",
|
|
13
|
+
copyAsSvg: "复制为 SVG 到剪贴板",
|
|
14
|
+
copyText: "复制文本到剪贴板",
|
|
15
|
+
copySource: "复制源码到剪贴板",
|
|
16
|
+
convertToCode: "转换成代码",
|
|
17
|
+
bringForward: "上移一层",
|
|
18
|
+
sendToBack: "置于底层",
|
|
19
|
+
bringToFront: "置于顶层",
|
|
20
|
+
sendBackward: "下移一层",
|
|
21
|
+
delete: "删除",
|
|
22
|
+
copyStyles: "拷贝样式",
|
|
23
|
+
pasteStyles: "粘贴样式",
|
|
24
|
+
stroke: "描边",
|
|
25
|
+
background: "背景",
|
|
26
|
+
fill: "填充",
|
|
27
|
+
strokeWidth: "描边宽度",
|
|
28
|
+
strokeStyle: "边框样式",
|
|
29
|
+
strokeStyle_solid: "实线",
|
|
30
|
+
strokeStyle_dashed: "虚线",
|
|
31
|
+
strokeStyle_dotted: "点虚线",
|
|
32
|
+
sloppiness: "线条风格",
|
|
33
|
+
opacity: "透明度",
|
|
34
|
+
textAlign: "文本对齐",
|
|
35
|
+
edges: "边角",
|
|
36
|
+
sharp: "尖锐",
|
|
37
|
+
round: "圆润",
|
|
38
|
+
arrowheads: "端点",
|
|
39
|
+
arrowhead_none: "无",
|
|
40
|
+
arrowhead_arrow: "箭头",
|
|
41
|
+
arrowhead_bar: "条状",
|
|
42
|
+
arrowhead_circle: "圆点",
|
|
43
|
+
arrowhead_circle_outline: "圆点(空心)",
|
|
44
|
+
arrowhead_triangle: "三角箭头",
|
|
45
|
+
arrowhead_triangle_outline: "三角箭头(空心)",
|
|
46
|
+
arrowhead_diamond: "菱形",
|
|
47
|
+
arrowhead_diamond_outline: "菱形(空心)",
|
|
48
|
+
fontSize: "字体大小",
|
|
49
|
+
fontFamily: "字体",
|
|
50
|
+
addWatermark: "添加 “使用 Excalidraw 创建” 水印",
|
|
51
|
+
handDrawn: "手写",
|
|
52
|
+
normal: "普通",
|
|
53
|
+
code: "代码",
|
|
54
|
+
small: "小",
|
|
55
|
+
medium: "中",
|
|
56
|
+
large: "大",
|
|
57
|
+
veryLarge: "加大",
|
|
58
|
+
solid: "实心",
|
|
59
|
+
hachure: "线条",
|
|
60
|
+
zigzag: "之字形折线",
|
|
61
|
+
crossHatch: "交叉线条",
|
|
62
|
+
thin: "细",
|
|
63
|
+
bold: "粗",
|
|
64
|
+
left: "左对齐",
|
|
65
|
+
center: "居中",
|
|
66
|
+
right: "右对齐",
|
|
67
|
+
extraBold: "特粗",
|
|
68
|
+
architect: "朴素",
|
|
69
|
+
artist: "艺术",
|
|
70
|
+
cartoonist: "漫画家",
|
|
71
|
+
fileTitle: "文件名",
|
|
72
|
+
colorPicker: "取色器",
|
|
73
|
+
canvasColors: "画布上的",
|
|
74
|
+
canvasBackground: "画布背景",
|
|
75
|
+
drawingCanvas: "绘制 Canvas",
|
|
76
|
+
layers: "图层",
|
|
77
|
+
actions: "操作",
|
|
78
|
+
language: "语言",
|
|
79
|
+
liveCollaboration: "实时协作...",
|
|
80
|
+
duplicateSelection: "复制",
|
|
81
|
+
untitled: "无标题",
|
|
82
|
+
name: "名字",
|
|
83
|
+
yourName: "您的姓名",
|
|
84
|
+
madeWithExcalidraw: "使用 Excalidraw 创建",
|
|
85
|
+
group: "编组",
|
|
86
|
+
ungroup: "解除编组",
|
|
87
|
+
collaborators: "协作者",
|
|
88
|
+
showGrid: "显示网格",
|
|
89
|
+
addToLibrary: "添加到素材库中",
|
|
90
|
+
removeFromLibrary: "从素材库中移除",
|
|
91
|
+
libraryLoadingMessage: "正在加载素材库…",
|
|
92
|
+
libraries: "浏览素材库",
|
|
93
|
+
loadingScene: "正在加载绘图…",
|
|
94
|
+
align: "对齐",
|
|
95
|
+
alignTop: "顶部对齐",
|
|
96
|
+
alignBottom: "底端对齐",
|
|
97
|
+
alignLeft: "左对齐",
|
|
98
|
+
alignRight: "右对齐",
|
|
99
|
+
centerVertically: "垂直居中",
|
|
100
|
+
centerHorizontally: "水平居中",
|
|
101
|
+
distributeHorizontally: "水平等距分布",
|
|
102
|
+
distributeVertically: "垂直等距分布",
|
|
103
|
+
flipHorizontal: "水平翻转",
|
|
104
|
+
flipVertical: "垂直翻转",
|
|
105
|
+
viewMode: "查看模式",
|
|
106
|
+
share: "分享",
|
|
107
|
+
showStroke: "显示描边颜色选择器",
|
|
108
|
+
showBackground: "显示背景颜色选择器",
|
|
109
|
+
toggleTheme: "切换主题",
|
|
110
|
+
personalLib: "个人素材库",
|
|
111
|
+
excalidrawLib: "Excalidraw 素材库",
|
|
112
|
+
decreaseFontSize: "缩小字体大小",
|
|
113
|
+
increaseFontSize: "放大字体大小",
|
|
114
|
+
unbindText: "取消文本绑定",
|
|
115
|
+
bindText: "将文本绑定到容器",
|
|
116
|
+
createContainerFromText: "将文本包围在容器中",
|
|
117
|
+
link: {
|
|
118
|
+
edit: "编辑链接",
|
|
119
|
+
editEmbed: "编辑链接与嵌入",
|
|
120
|
+
create: "新建链接",
|
|
121
|
+
createEmbed: "创建链接与嵌入",
|
|
122
|
+
label: "链接",
|
|
123
|
+
labelEmbed: "链接与嵌入",
|
|
124
|
+
empty: "未设定链接"
|
|
125
|
+
},
|
|
126
|
+
lineEditor: {
|
|
127
|
+
edit: "编辑线条",
|
|
128
|
+
exit: "退出线条编辑"
|
|
129
|
+
},
|
|
130
|
+
elementLock: {
|
|
131
|
+
lock: "锁定",
|
|
132
|
+
unlock: "解除锁定",
|
|
133
|
+
lockAll: "全部锁定",
|
|
134
|
+
unlockAll: "全部解锁"
|
|
135
|
+
},
|
|
136
|
+
statusPublished: "已发布",
|
|
137
|
+
sidebarLock: "侧边栏常驻",
|
|
138
|
+
selectAllElementsInFrame: "选择画框中的所有元素",
|
|
139
|
+
removeAllElementsFromFrame: "分离出画框中的所有元素",
|
|
140
|
+
eyeDropper: "从画布上取色",
|
|
141
|
+
textToDiagram: "文字至图表",
|
|
142
|
+
prompt: "Prompt"
|
|
143
|
+
}, t = {
|
|
144
|
+
noItems: "尚未添加任何项目……",
|
|
145
|
+
hint_emptyLibrary: "选中画布上的项目添加到此处,或从下方的公共素材库中导入。",
|
|
146
|
+
hint_emptyPrivateLibrary: "选中画布上的项目添加到此处。"
|
|
147
|
+
}, n = {
|
|
148
|
+
clearReset: "重置画布",
|
|
149
|
+
exportJSON: "导出为文件",
|
|
150
|
+
exportImage: "导出图片...",
|
|
151
|
+
export: "保存到...",
|
|
152
|
+
copyToClipboard: "复制到剪贴板",
|
|
153
|
+
save: "保存至当前文件",
|
|
154
|
+
saveAs: "保存为",
|
|
155
|
+
load: "打开",
|
|
156
|
+
getShareableLink: "获取共享链接",
|
|
157
|
+
close: "关闭",
|
|
158
|
+
selectLanguage: "选择语言",
|
|
159
|
+
scrollBackToContent: "滚动回到内容",
|
|
160
|
+
zoomIn: "放大",
|
|
161
|
+
zoomOut: "缩小",
|
|
162
|
+
resetZoom: "重置缩放",
|
|
163
|
+
menu: "菜单",
|
|
164
|
+
done: "完成",
|
|
165
|
+
edit: "编辑",
|
|
166
|
+
undo: "撤销",
|
|
167
|
+
redo: "重做",
|
|
168
|
+
resetLibrary: "重置素材库",
|
|
169
|
+
createNewRoom: "新建会议室",
|
|
170
|
+
fullScreen: "全屏",
|
|
171
|
+
darkMode: "深色模式",
|
|
172
|
+
lightMode: "浅色模式",
|
|
173
|
+
zenMode: "禅模式",
|
|
174
|
+
objectsSnapMode: "吸附至对象",
|
|
175
|
+
exitZenMode: "退出禅模式",
|
|
176
|
+
cancel: "取消",
|
|
177
|
+
clear: "清除",
|
|
178
|
+
remove: "删除",
|
|
179
|
+
embed: "切换嵌入",
|
|
180
|
+
publishLibrary: "发布",
|
|
181
|
+
submit: "提交",
|
|
182
|
+
confirm: "确定",
|
|
183
|
+
embeddableInteractionButton: "点击以开始交互"
|
|
184
|
+
}, r = {
|
|
185
|
+
clearReset: "这将会清除整个画布。您是否要继续?",
|
|
186
|
+
couldNotCreateShareableLink: "无法创建共享链接",
|
|
187
|
+
couldNotCreateShareableLinkTooBig: "无法创建可共享链接:画布过大",
|
|
188
|
+
couldNotLoadInvalidFile: "无法加载无效的文件",
|
|
189
|
+
importBackendFailed: "从后端导入失败。",
|
|
190
|
+
cannotExportEmptyCanvas: "无法导出空白画布。",
|
|
191
|
+
couldNotCopyToClipboard: "无法复制到剪贴板。",
|
|
192
|
+
decryptFailed: "无法解密数据。",
|
|
193
|
+
uploadedSecurly: "上传已被端到端加密保护,这意味着 Excalidraw 的服务器和第三方都无法读取内容。",
|
|
194
|
+
loadSceneOverridePrompt: "加载外部绘图将取代您现有的内容。您想要继续吗?",
|
|
195
|
+
collabStopOverridePrompt: "停止会话将覆盖您先前本地存储的绘图。 您确定吗?\n\n(如果您想保持本地绘图,只需关闭浏览器选项卡。)",
|
|
196
|
+
errorAddingToLibrary: "无法将项目添加到素材库中",
|
|
197
|
+
errorRemovingFromLibrary: "无法从素材库中移除项目",
|
|
198
|
+
confirmAddLibrary: "这将添加 {{numShapes}} 个形状到您的素材库中。您确定吗?",
|
|
199
|
+
imageDoesNotContainScene: "此图像似乎不包含任何画布数据。您是否在导出时启用了画布嵌入功能?",
|
|
200
|
+
cannotRestoreFromImage: "无法从此图像文件恢复画布",
|
|
201
|
+
invalidSceneUrl: "无法从提供的 URL 导入场景。它或者格式不正确,或者不包含有效的 Excalidraw JSON 数据。",
|
|
202
|
+
resetLibrary: "这将会清除你的素材库。你确定要这么做吗?",
|
|
203
|
+
removeItemsFromsLibrary: "确定要从素材库中删除 {{count}} 个项目吗?",
|
|
204
|
+
invalidEncryptionKey: "密钥必须包含22个字符。实时协作已被禁用。",
|
|
205
|
+
collabOfflineWarning: "无网络连接。\n您的改动将不会被保存!"
|
|
206
|
+
}, i = {
|
|
207
|
+
unsupportedFileType: "不支持的文件格式。",
|
|
208
|
+
imageInsertError: "无法插入图像。请稍后再试……",
|
|
209
|
+
fileTooBig: "文件过大。最大允许的大小为 {{maxSize}}。",
|
|
210
|
+
svgImageInsertError: "无法插入 SVG 图像。该 SVG 标记似乎是无效的。",
|
|
211
|
+
failedToFetchImage: "无法获取图片。",
|
|
212
|
+
invalidSVGString: "无效的 SVG。",
|
|
213
|
+
cannotResolveCollabServer: "无法连接到实时协作服务器。请重新加载页面并重试。",
|
|
214
|
+
importLibraryError: "无法加载素材库",
|
|
215
|
+
collabSaveFailed: "无法保存到后端数据库。如果问题持续存在,您应该保存文件到本地,以确保您的工作不会丢失。",
|
|
216
|
+
collabSaveFailed_sizeExceeded: "无法保存到后端数据库,画布似乎过大。您应该保存文件到本地,以确保您的工作不会丢失。",
|
|
217
|
+
imageToolNotSupported: "图片已被禁用。",
|
|
218
|
+
brave_measure_text_error: {
|
|
219
|
+
line1: "您似乎正在使用 Brave 浏览器并启用了<bold>积极阻止指纹识别</bold>的设置。",
|
|
220
|
+
line2: "这可能会破坏绘图中的 <bold>文本元素</bold>。",
|
|
221
|
+
line3: "我们强烈建议禁用此设置。您可以按照<link>这些步骤</link>来设置。",
|
|
222
|
+
line4: "如果禁用此设置无法修复文本元素的显示,请在 GitHub 上提交一个 <issueLink>issue</issueLink> ,或者在 <discordLink>Discord</discordLink> 上反馈"
|
|
223
|
+
},
|
|
224
|
+
libraryElementTypeError: {
|
|
225
|
+
embeddable: "嵌入的元素不能被添加到素材库。",
|
|
226
|
+
iframe: "不能将 IFrame 元素添加到素材库中。",
|
|
227
|
+
image: "我们不久将支持添加图片到素材库"
|
|
228
|
+
},
|
|
229
|
+
asyncPasteFailedOnRead: "无法粘贴(无法读取系统剪贴板)。",
|
|
230
|
+
asyncPasteFailedOnParse: "无法粘贴。",
|
|
231
|
+
copyToSystemClipboardFailed: "无法复制到剪贴板。"
|
|
232
|
+
}, a = {
|
|
233
|
+
selection: "选择",
|
|
234
|
+
image: "插入图像",
|
|
235
|
+
rectangle: "矩形",
|
|
236
|
+
diamond: "菱形",
|
|
237
|
+
ellipse: "椭圆",
|
|
238
|
+
arrow: "箭头",
|
|
239
|
+
line: "线条",
|
|
240
|
+
freedraw: "自由书写",
|
|
241
|
+
text: "文字",
|
|
242
|
+
library: "素材库",
|
|
243
|
+
lock: "绘制后保持所选的工具栏状态",
|
|
244
|
+
penMode: "笔模式 – 避免误触",
|
|
245
|
+
link: "为选中的形状添加/更新链接",
|
|
246
|
+
eraser: "橡皮",
|
|
247
|
+
frame: "画框工具",
|
|
248
|
+
magicframe: "线框图至代码",
|
|
249
|
+
embeddable: "嵌入网页",
|
|
250
|
+
laser: "激光笔",
|
|
251
|
+
hand: "抓手(平移工具)",
|
|
252
|
+
extraTools: "更多工具",
|
|
253
|
+
mermaidToExcalidraw: "Mermaid 至 Excalidraw",
|
|
254
|
+
magicSettings: "AI 设置"
|
|
255
|
+
}, o = {
|
|
256
|
+
canvasActions: "画布动作",
|
|
257
|
+
selectedShapeActions: "选定形状操作",
|
|
258
|
+
shapes: "形状"
|
|
259
|
+
}, s = {
|
|
260
|
+
canvasPanning: "要移动画布,请按住鼠标滚轮或空格键同时拖拽鼠标,或使用抓手工具。",
|
|
261
|
+
linearElement: "点击创建多个点 拖动创建直线",
|
|
262
|
+
freeDraw: "点击并拖动,完成时松开",
|
|
263
|
+
text: "提示:您也可以使用选择工具双击任意位置来添加文字",
|
|
264
|
+
embeddable: "点击并拖动以创建嵌入网页",
|
|
265
|
+
text_selected: "双击或按回车键以编辑文本",
|
|
266
|
+
text_editing: "按下 Escape 或 CtrlOrCmd+ENTER 完成编辑",
|
|
267
|
+
linearElementMulti: "点击最后一个点或按下 Esc/Enter 来完成",
|
|
268
|
+
lockAngle: "可以按住 Shift 来约束角度",
|
|
269
|
+
resize: "您可以按住SHIFT来限制比例大小,\n按住ALT来调整中心大小",
|
|
270
|
+
resizeImage: "按住SHIFT可以自由缩放,\n按住ALT可以从中间缩放",
|
|
271
|
+
rotate: "旋转时可以按住 Shift 来约束角度",
|
|
272
|
+
lineEditor_info: "按住 CtrlOrCmd 并双击或按 CtrlOrCmd + Enter 来编辑点",
|
|
273
|
+
lineEditor_pointSelected: "按下 Delete 移除点,CtrlOrCmd+D 以复制,拖动以移动",
|
|
274
|
+
lineEditor_nothingSelected: "选择要编辑的点 (按住 SHIFT 选择多个),\n或按住 Alt 并点击以添加新点",
|
|
275
|
+
placeImage: "点击放置图像,或者点击并拖动以手动设置图像大小",
|
|
276
|
+
publishLibrary: "发布您自己的素材库",
|
|
277
|
+
bindTextToElement: "按下 Enter 以添加文本",
|
|
278
|
+
deepBoxSelect: "按住 CtrlOrCmd 以深度选择,并避免拖拽",
|
|
279
|
+
eraserRevert: "按住 Alt 以反选被标记删除的元素",
|
|
280
|
+
firefox_clipboard_write: "将高级配置首选项“dom.events.asyncClipboard.clipboardItem”设置为“true”可以启用此功能。要更改 Firefox 的高级配置首选项,请前往“about:config”页面。",
|
|
281
|
+
disableSnapping: "按住 Ctrl 或 Cmd 以禁用吸附"
|
|
282
|
+
}, c = {
|
|
283
|
+
cannotShowPreview: "无法显示预览",
|
|
284
|
+
canvasTooBig: "画布可能过大。",
|
|
285
|
+
canvasTooBigTip: "提示:尝试将最远的元素移动到和其它元素更近一些。"
|
|
286
|
+
}, l = {
|
|
287
|
+
headingMain: "遇到异常。请尝试<button>重新加载页面</button>。",
|
|
288
|
+
clearCanvasMessage: "如果重新加载页面无效,请尝试<button>清除画布</button>。",
|
|
289
|
+
clearCanvasCaveat: "这会造成当前工作丢失",
|
|
290
|
+
trackedToSentry: "标识符为{{eventId}}的错误已在我们的系统中被记录",
|
|
291
|
+
openIssueMessage: "我们非常谨慎地处理错误信息,您的画布内容不会被包含在错误报告中。如果您的画布内容不需要保持私密,请考虑在我们的 <button>bug 跟踪系统</button>上提供更多信息。请复制粘贴以下信息到 GitHub Issue 中。",
|
|
292
|
+
sceneContent: "画布内容:"
|
|
293
|
+
}, u = {
|
|
294
|
+
desc_intro: "你可以邀请其他人到目前的画面中与你协作。",
|
|
295
|
+
desc_privacy: "别担心,该会话使用端到端加密,无论绘制什么都将保持私密,甚至连我们的服务器也无法查看。",
|
|
296
|
+
button_startSession: "开始会话",
|
|
297
|
+
button_stopSession: "结束会话",
|
|
298
|
+
desc_inProgressIntro: "实时协作会话进行中。",
|
|
299
|
+
desc_shareLink: "分享此链接给你要协作的用户",
|
|
300
|
+
desc_exitSession: "停止会话将中断您与房间的连接,但您依然可以在本地继续使用画布。请注意,这不会影响到其他用户,他们仍可以在他们的版本上继续协作。",
|
|
301
|
+
shareTitle: "加入 Excalidraw 实时协作会话"
|
|
302
|
+
}, d = { title: "错误" }, f = {
|
|
303
|
+
disk_title: "保存到本地",
|
|
304
|
+
disk_details: "将画布数据导出为文件,以便以后导入",
|
|
305
|
+
disk_button: "保存为文件",
|
|
306
|
+
link_title: "分享链接",
|
|
307
|
+
link_details: "导出为只读链接。",
|
|
308
|
+
link_button: "导出链接",
|
|
309
|
+
excalidrawplus_description: "将画布保存到您的 Excalidraw+ 工作区。",
|
|
310
|
+
excalidrawplus_button: "导出",
|
|
311
|
+
excalidrawplus_exportError: "暂时无法导出到 Excalidraw+ ..."
|
|
312
|
+
}, p = {
|
|
313
|
+
blog: "浏览我们的博客",
|
|
314
|
+
click: "单击",
|
|
315
|
+
deepSelect: "深度选择",
|
|
316
|
+
deepBoxSelect: "在方框内深度选择并避免拖拽",
|
|
317
|
+
curvedArrow: "曲线箭头",
|
|
318
|
+
curvedLine: "曲线",
|
|
319
|
+
documentation: "文档",
|
|
320
|
+
doubleClick: "双击",
|
|
321
|
+
drag: "拖动",
|
|
322
|
+
editor: "编辑器",
|
|
323
|
+
editLineArrowPoints: "编辑线条或箭头的点",
|
|
324
|
+
editText: "添加或编辑文本",
|
|
325
|
+
github: "发现问题?提交反馈",
|
|
326
|
+
howto: "帮助文档",
|
|
327
|
+
or: "或",
|
|
328
|
+
preventBinding: "禁用箭头吸附",
|
|
329
|
+
tools: "工具",
|
|
330
|
+
shortcuts: "快捷键列表",
|
|
331
|
+
textFinish: "完成编辑 (文本编辑器)",
|
|
332
|
+
textNewLine: "添加新行(文本编辑器)",
|
|
333
|
+
title: "帮助",
|
|
334
|
+
view: "视图",
|
|
335
|
+
zoomToFit: "缩放以适应所有元素",
|
|
336
|
+
zoomToSelection: "缩放到选区",
|
|
337
|
+
toggleElementLock: "锁定/解锁",
|
|
338
|
+
movePageUpDown: "上下移动页面",
|
|
339
|
+
movePageLeftRight: "左右移动页面"
|
|
340
|
+
}, m = { title: "清除画布" }, h = {
|
|
341
|
+
title: "发布素材库",
|
|
342
|
+
itemName: "项目名称",
|
|
343
|
+
authorName: "作者名",
|
|
344
|
+
githubUsername: "GitHub 用户名",
|
|
345
|
+
twitterUsername: "Twitter 用户名",
|
|
346
|
+
libraryName: "名称",
|
|
347
|
+
libraryDesc: "简介",
|
|
348
|
+
website: "网址",
|
|
349
|
+
placeholder: {
|
|
350
|
+
authorName: "您的名字或用户名",
|
|
351
|
+
libraryName: "素材库名称",
|
|
352
|
+
libraryDesc: "介绍您的素材库,让人们了解其用途",
|
|
353
|
+
githubHandle: "GitHub 用户名(可选),填写后,您可以编辑已提交待审的素材库",
|
|
354
|
+
twitterHandle: "Twitter 用户名(可选),填写后,当我们在Twitter发布推广信息时便可提及您",
|
|
355
|
+
website: "您个人网站的或任意的链接(可选)"
|
|
356
|
+
},
|
|
357
|
+
errors: {
|
|
358
|
+
required: "必填",
|
|
359
|
+
website: "输入一个有效的URL"
|
|
360
|
+
},
|
|
361
|
+
noteDescription: "提交后,您的素材库将被包含在<link>公共素材库广场</link>以供其他人在绘图中使用。",
|
|
362
|
+
noteGuidelines: "提交的素材库需先经人工审核。在提交之前,请先阅读<link>指南</link> 。后续沟通和对库的修改需要 GitHub 账号,但这不是必须的。",
|
|
363
|
+
noteLicense: "提交即表明您已同意素材库将遵循 <link>MIT 许可证</link>,简而言之,任何人都可以不受限制地使用它们。",
|
|
364
|
+
noteItems: "素材库中每个项目都有各自的名称以供筛选。以下项目将被包含:",
|
|
365
|
+
atleastOneLibItem: "请选择至少一个素材库以开始",
|
|
366
|
+
republishWarning: "注意:部分选中的项目已经发布或提交。请仅在更新已有或已提交的素材库时重复提交项目。"
|
|
367
|
+
}, g = {
|
|
368
|
+
title: "素材库已提交",
|
|
369
|
+
content: "谢谢你 {{authorName}}。您的素材库已被提交审核。请点击<link>此处</link>跟进此次提交的状态"
|
|
370
|
+
}, _ = {
|
|
371
|
+
resetLibrary: "重置素材库",
|
|
372
|
+
removeItemsFromLib: "从素材库中删除选中的项目"
|
|
373
|
+
}, v = {
|
|
374
|
+
header: "导出图片",
|
|
375
|
+
label: {
|
|
376
|
+
withBackground: "背景",
|
|
377
|
+
onlySelected: "仅选中",
|
|
378
|
+
darkMode: "深色模式",
|
|
379
|
+
embedScene: "包含画布数据",
|
|
380
|
+
scale: "缩放比例",
|
|
381
|
+
padding: "内边距"
|
|
382
|
+
},
|
|
383
|
+
tooltip: { embedScene: "画布数据将被保存到导出的 PNG/SVG 文件,以便恢复。\n将会增加导出文件的大小。" },
|
|
384
|
+
title: {
|
|
385
|
+
exportToPng: "导出为 PNG",
|
|
386
|
+
exportToSvg: "导出为 SVG",
|
|
387
|
+
copyPngToClipboard: "复制 PNG 到剪切板"
|
|
388
|
+
},
|
|
389
|
+
button: {
|
|
390
|
+
exportToPng: "PNG",
|
|
391
|
+
exportToSvg: "SVG",
|
|
392
|
+
copyPngToClipboard: "复制到剪贴板"
|
|
393
|
+
}
|
|
394
|
+
}, y = {
|
|
395
|
+
tooltip: "您的绘图采用端到端加密,其内容对于 Excalidraw 服务器是不可见的。",
|
|
396
|
+
link: "Excalidraw 中关于端到端加密的博客"
|
|
397
|
+
}, b = {
|
|
398
|
+
angle: "角度",
|
|
399
|
+
element: "元素",
|
|
400
|
+
elements: "元素",
|
|
401
|
+
height: "高度",
|
|
402
|
+
scene: "画布",
|
|
403
|
+
selected: "选中",
|
|
404
|
+
storage: "存储",
|
|
405
|
+
title: "详细统计信息",
|
|
406
|
+
total: "总计",
|
|
407
|
+
version: "版本",
|
|
408
|
+
versionCopy: "点击复制",
|
|
409
|
+
versionNotAvailable: "版本不可用",
|
|
410
|
+
width: "宽度"
|
|
411
|
+
}, x = {
|
|
412
|
+
addedToLibrary: "添加到素材库中",
|
|
413
|
+
copyStyles: "样式已拷贝。",
|
|
414
|
+
copyToClipboard: "已复制到剪切板。",
|
|
415
|
+
copyToClipboardAsPng: "已将 {{exportSelection}} 作为 PNG 复制到剪贴板\n({{exportColorScheme}})",
|
|
416
|
+
fileSaved: "文件已保存。",
|
|
417
|
+
fileSavedToFilename: "保存到 {filename}",
|
|
418
|
+
canvas: "画布",
|
|
419
|
+
selection: "所选项",
|
|
420
|
+
pasteAsSingleElement: "使用 {{shortcut}} 粘贴为单个元素,\n或粘贴到现有的文本编辑器里",
|
|
421
|
+
unableToEmbed: "目前不允许嵌入此网址。请在 GitHub 上提 issue 请求将此网址加入白名单",
|
|
422
|
+
unrecognizedLinkFormat: "您嵌入的链接不符合格式要求。请尝试粘贴源网站提供的“嵌入 (embed)”字符串"
|
|
423
|
+
}, S = {
|
|
424
|
+
transparent: "透明",
|
|
425
|
+
black: "黑",
|
|
426
|
+
white: "白",
|
|
427
|
+
red: "红",
|
|
428
|
+
pink: "粉红",
|
|
429
|
+
grape: "紫红",
|
|
430
|
+
violet: "蓝紫",
|
|
431
|
+
gray: "灰",
|
|
432
|
+
blue: "蓝",
|
|
433
|
+
cyan: "青",
|
|
434
|
+
teal: "蓝绿",
|
|
435
|
+
green: "绿",
|
|
436
|
+
yellow: "黄",
|
|
437
|
+
orange: "橙",
|
|
438
|
+
bronze: "古铜"
|
|
439
|
+
}, C = {
|
|
440
|
+
app: {
|
|
441
|
+
center_heading: "您的所有数据都储存在浏览器本地。",
|
|
442
|
+
center_heading_plus: "是否前往 Excalidraw+ ?",
|
|
443
|
+
menuHint: "导出、首选项、语言……"
|
|
444
|
+
},
|
|
445
|
+
defaults: {
|
|
446
|
+
menuHint: "导出、首选项……",
|
|
447
|
+
center_heading: "图,化繁为简。",
|
|
448
|
+
toolbarHint: "选择工具并开始绘图!",
|
|
449
|
+
helpHint: "快捷键和帮助"
|
|
450
|
+
}
|
|
451
|
+
}, w = {
|
|
452
|
+
mostUsedCustomColors: "常用自定义颜色",
|
|
453
|
+
colors: "颜色",
|
|
454
|
+
shades: "色调明暗",
|
|
455
|
+
hexCode: "十六进制值",
|
|
456
|
+
noShades: "此颜色没有可用的明暗变化"
|
|
457
|
+
}, T = {
|
|
458
|
+
action: {
|
|
459
|
+
exportToImage: {
|
|
460
|
+
title: "导出为图片",
|
|
461
|
+
button: "导出为图片",
|
|
462
|
+
description: "将画布数据导出为图片,以便以后导入。"
|
|
463
|
+
},
|
|
464
|
+
saveToDisk: {
|
|
465
|
+
title: "保存到本地",
|
|
466
|
+
button: "保存到本地",
|
|
467
|
+
description: "将画布数据导出为文件,以便以后导入。"
|
|
468
|
+
},
|
|
469
|
+
excalidrawPlus: {
|
|
470
|
+
title: "Excalidraw+",
|
|
471
|
+
button: "导出到 Excalidraw+",
|
|
472
|
+
description: "将画布保存到您的 Excalidraw+ 工作区。"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
modal: {
|
|
476
|
+
loadFromFile: {
|
|
477
|
+
title: "从文件加载",
|
|
478
|
+
button: "从文件加载",
|
|
479
|
+
description: "从文件加载将<bold>替换您现有的内容</bold>。<br></br>您可以先使用下列方式备份您的绘图。"
|
|
480
|
+
},
|
|
481
|
+
shareableLink: {
|
|
482
|
+
title: "从链接加载",
|
|
483
|
+
button: "替换我的内容",
|
|
484
|
+
description: "加载外部绘图将<bold>替换您现有的内容</bold>。<br></br>您可以先使用下列方式备份您的绘图。"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}, E = {
|
|
488
|
+
title: "Mermaid 至 Excalidraw",
|
|
489
|
+
button: "插入",
|
|
490
|
+
description: "目前仅支持<flowchartLink>流程图</flowchartLink>、<sequenceLink>序列图</sequenceLink>和<classLink>类图</classLink>。其他类型在 Excalidraw 中将以图像呈现。",
|
|
491
|
+
syntax: "Mermaid 语法",
|
|
492
|
+
preview: "预览"
|
|
493
|
+
}, D = {
|
|
494
|
+
labels: e,
|
|
495
|
+
library: t,
|
|
496
|
+
buttons: n,
|
|
497
|
+
alerts: r,
|
|
498
|
+
errors: i,
|
|
499
|
+
toolBar: a,
|
|
500
|
+
headings: o,
|
|
501
|
+
hints: s,
|
|
502
|
+
canvasError: c,
|
|
503
|
+
errorSplash: l,
|
|
504
|
+
roomDialog: u,
|
|
505
|
+
errorDialog: d,
|
|
506
|
+
exportDialog: f,
|
|
507
|
+
helpDialog: p,
|
|
508
|
+
clearCanvasDialog: m,
|
|
509
|
+
publishDialog: h,
|
|
510
|
+
publishSuccessDialog: g,
|
|
511
|
+
confirmDialog: _,
|
|
512
|
+
imageExportDialog: v,
|
|
513
|
+
encrypted: y,
|
|
514
|
+
stats: b,
|
|
515
|
+
toast: x,
|
|
516
|
+
colors: S,
|
|
517
|
+
welcomeScreen: C,
|
|
518
|
+
colorPicker: w,
|
|
519
|
+
overwriteConfirm: T,
|
|
520
|
+
mermaid: E
|
|
521
|
+
};
|
|
522
|
+
//#endregion
|
|
523
|
+
export { r as alerts, n as buttons, c as canvasError, m as clearCanvasDialog, w as colorPicker, S as colors, _ as confirmDialog, D as default, y as encrypted, d as errorDialog, l as errorSplash, i as errors, f as exportDialog, o as headings, p as helpDialog, s as hints, v as imageExportDialog, e as labels, t as library, E as mermaid, T as overwriteConfirm, h as publishDialog, g as publishSuccessDialog, u as roomDialog, b as stats, x as toast, a as toolBar, C as welcomeScreen };
|