file-viewer3 1.0.8 → 1.0.25
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/_headers +22 -0
- package/dist/assets/3MFLoader--yjh7udp.js +1 -0
- package/dist/assets/AMFLoader-C0y7NIAO.js +1 -0
- package/dist/assets/ArchiveViewer-6AvBZVl3.js +2 -0
- package/dist/assets/ArchiveViewer-B2pHxHFv.css +1 -0
- package/dist/assets/AudioViewer-0CSMvCtp.css +1 -0
- package/dist/assets/AudioViewer-6a_DDcur.js +1 -0
- package/dist/assets/CadViewer-A9PKtCth.css +1 -0
- package/dist/assets/CadViewer-D94LUXKO.js +110 -0
- package/dist/assets/CodeViewer-BdZGsbFh.js +2 -0
- package/dist/assets/CodeViewer-CR2CsPRi.css +1 -0
- package/dist/assets/ColladaLoader-DTiuvWJL.js +3 -0
- package/dist/assets/DrawingViewer-BplS278E.js +2 -0
- package/dist/assets/DrawingViewer-DXiF5YWV.css +1 -0
- package/dist/assets/EdaViewer-BXH1Jmwr.js +8 -0
- package/dist/assets/EdaViewer-CKf1YQnh.css +1 -0
- package/dist/assets/EmailViewer-BsBKZ_A5.js +4 -0
- package/dist/assets/EmailViewer-BwvGE4ns.css +1 -0
- package/dist/assets/EpubViewer-Cci0l1Vm.css +1 -0
- package/dist/assets/EpubViewer-DlGzr8_x.js +2 -0
- package/dist/assets/FBXLoader-Bj34Z_uf.js +1 -0
- package/dist/assets/GLTFLoader-BNUIXeRP.js +1 -0
- package/dist/assets/ImageViewer-BKp7YpMs.css +10 -0
- package/dist/assets/ImageViewer-D1Yc0jYg.js +1 -0
- package/dist/assets/KMZLoader-DTmXWzX_.js +1 -0
- package/dist/assets/MarkdownViewer-CIljbLlu.css +1 -0
- package/dist/assets/MarkdownViewer-CRi0rhWw.js +64 -0
- package/dist/assets/ModelViewer-C4ir9AyI.css +1 -0
- package/dist/assets/ModelViewer-yxcVdLzz.js +2 -0
- package/dist/assets/OBJLoader-DW4Mv-mq.js +5 -0
- package/dist/assets/OfdViewer-DbkG1-Bp.js +2 -0
- package/dist/assets/OfdViewer-Ulv-WZWh.css +1 -0
- package/dist/assets/PCDLoader-CHA1g8rk.js +3 -0
- package/dist/assets/PLYLoader-DwTzA-Dg.js +2 -0
- package/dist/assets/PdfView-_Uu48dkU.js +558 -0
- package/dist/assets/PdfView-fKwbB_8j.css +1 -0
- package/dist/assets/PptxRender-BNoW_9_0.css +1 -0
- package/dist/assets/PptxRender-myCCfHiR.js +32 -0
- package/dist/assets/STLLoader-Bt7FMgMu.js +1 -0
- package/dist/assets/TDSLoader-D__OhSS9.js +1 -0
- package/dist/assets/TypstViewer-4dMAIp9x.js +60 -0
- package/dist/assets/TypstViewer-BgYR02wU.css +1 -0
- package/dist/assets/USDLoader-BovI5HgZ.js +6 -0
- package/dist/assets/UmdViewer-BfIWw5dV.js +3 -0
- package/dist/assets/UmdViewer-DpObj56a.css +1 -0
- package/dist/assets/VRMLLoader-_VxVXPvX.js +140 -0
- package/dist/assets/VTKLoader-BfnzBXsa.js +3 -0
- package/dist/assets/XYZLoader-DbQZs-aZ.js +2 -0
- package/dist/assets/XlsxTable-CKmWT6Iw.js +5 -0
- package/dist/assets/XlsxTable-Ccp_ksQc.css +1 -0
- package/dist/assets/__vite-browser-external-j1Zxnfxm.js +1 -0
- package/dist/assets/ar-SA-G6X2FPQ2-h0GtAVoD.js +10 -0
- package/dist/assets/arc-C_eH0vTw.js +1 -0
- package/dist/assets/architecture-7EHR7CIX-nPLvVkG5.js +1 -0
- package/dist/assets/architectureDiagram-3BPJPVTR-Cx8fJaC_.js +36 -0
- package/dist/assets/archive-D-0w4Z7t.js +2 -0
- package/dist/assets/audio-IkwcqgJA.js +2 -0
- package/dist/assets/az-AZ-76LH7QW2-D_aQ-6Zd.js +1 -0
- package/dist/assets/bash-LmRjUKlR.js +1 -0
- package/dist/assets/bg-BG-XCXSNQG7-H7Czia1L.js +5 -0
- package/dist/assets/blockDiagram-GPEHLZMM-v3Efy6dm.js +132 -0
- package/dist/assets/bn-BD-2XOGV67Q-f6ymEr9g.js +5 -0
- package/dist/assets/c4Diagram-AAUBKEIU-BdstYnMv.js +10 -0
- package/dist/assets/ca-ES-6MX7JW3Y-DTzyqWmS.js +8 -0
- package/dist/assets/cad-DFnQbJJO.js +2 -0
- package/dist/assets/cfb-Bv6fOQ4m.js +11 -0
- package/dist/assets/channel-C66J400U.js +1 -0
- package/dist/assets/chunk-2J33WTMH-BoyKZPbs.js +1 -0
- package/dist/assets/chunk-3OPIFGDE-a_QAVzsM.js +62 -0
- package/dist/assets/chunk-4BX2VUAB-DZj4_o2K.js +1 -0
- package/dist/assets/chunk-55IACEB6-C7hP08Mf.js +1 -0
- package/dist/assets/chunk-5ZQYHXKU-DBQ_7Zc2.js +2 -0
- package/dist/assets/chunk-6U3AYISY-C6-Mtja1.js +12 -0
- package/dist/assets/chunk-727SXJPM-BVNP_kQ-.js +206 -0
- package/dist/assets/chunk-AGHRB4JF-DrBKq3qz.js +1 -0
- package/dist/assets/chunk-AQP2D5EJ-0N6k4ROT.js +231 -0
- package/dist/assets/chunk-BSJP7CBP-b8olRIQO.js +1 -0
- package/dist/assets/chunk-CSCIHK7Q-B5j-yHKS.js +124 -0
- package/dist/assets/chunk-EIO257PC-C6qii-N9.js +22 -0
- package/dist/assets/chunk-FMBD7UC4-CBBZh2UU.js +15 -0
- package/dist/assets/chunk-K2UTITRG-Cx4xt2xV.js +35 -0
- package/dist/assets/chunk-KSCS5N6A-Dwg0HTxH.js +10 -0
- package/dist/assets/chunk-L5ZTLDWV-BPuCpePB.js +1 -0
- package/dist/assets/chunk-LZXEDZCA-CvLuVK3G.js +2 -0
- package/dist/assets/chunk-ND2GUHAM-CWJPhGEg.js +1 -0
- package/dist/assets/chunk-NNHCCRGN-DlpIbxXb.js +159 -0
- package/dist/assets/chunk-NZK2D7GU-DuaLWEa1.js +1 -0
- package/dist/assets/chunk-O5CBEL6O-dK2KeDfH.js +70 -0
- package/dist/assets/chunk-QZHKN3VN-4Bf82riF.js +1 -0
- package/dist/assets/chunk-SRAX5OIU-BhbLEiib.js +1 -0
- package/dist/assets/chunk-WU5MYG2G-DLkui5D2.js +1 -0
- package/dist/assets/chunk-XPW4576I-BvXQTKbm.js +32 -0
- package/dist/assets/chunk-Z3N5DIM6-D9TMVU7m.js +1 -0
- package/dist/assets/chunk-ZUYEQ4TG-BzFOpW--.js +7 -0
- package/dist/assets/classDiagram-4FO5ZUOK-DKj6zlra.js +1 -0
- package/dist/assets/classDiagram-v2-Q7XG4LA2-DKj6zlra.js +1 -0
- package/dist/assets/compare-BA1y8ff-.css +1 -0
- package/dist/assets/compare-QN3IusOj.js +1 -0
- package/dist/assets/compiler-qgJWLAtm.js +1 -0
- package/dist/assets/core-S5OLGxXP.js +3 -0
- package/dist/assets/cose-bilkent-S5V4N54A-CslZOqNN.js +1 -0
- package/dist/assets/cpp-V0F2hNk9.js +1 -0
- package/dist/assets/cs-CZ-2BRQDIVT-BRw0NNL_.js +11 -0
- package/dist/assets/csharp-GZmu99Fo.js +1 -0
- package/dist/assets/css-D5l_8KUR.js +1 -0
- package/dist/assets/cytoscape.esm-C8YCVR3_.js +321 -0
- package/dist/assets/da-DK-5WZEPLOC-q5u_UoZe.js +5 -0
- package/dist/assets/dagre-BM42HDAG-D6fpH9H3.js +4 -0
- package/dist/assets/dagre-Bx709z4p.js +1 -0
- package/dist/assets/de-DE-XR44H4JA-B79lsSt9.js +8 -0
- package/dist/assets/defaultLocale-C8Fc0cco.js +1 -0
- package/dist/assets/diagram-2AECGRRQ-DGviV3zF.js +43 -0
- package/dist/assets/diagram-5GNKFQAL-D8edmK5r.js +10 -0
- package/dist/assets/diagram-KO2AKTUF-DonC_-9l.js +3 -0
- package/dist/assets/diagram-LMA3HP47-T0-OD5uV.js +24 -0
- package/dist/assets/diagram-OG6HWLK6-BsRJiZE3.js +24 -0
- package/dist/assets/diff-CJb8JxGC.js +1 -0
- package/dist/assets/directory-open-01563666-D4xXyWb_.js +1 -0
- package/dist/assets/directory-open-4ed118d0-1i309Asm.js +1 -0
- package/dist/assets/dist-ND9DUPs_.js +1 -0
- package/dist/assets/dist-S-2Hyh3N.js +1 -0
- package/dist/assets/dist-jshluroQ.js +27 -0
- package/dist/assets/docx-preview-CAHEyNQy.js +20 -0
- package/dist/assets/drawing-B3sCN7BX.js +2 -0
- package/dist/assets/ebook-DDycOGR3.js +2 -0
- package/dist/assets/eda-JxVOVy9j.js +2 -0
- package/dist/assets/el-GR-BZB4AONW-DVV0CNhT.js +10 -0
- package/dist/assets/email-D9tCfCzQ.js +2 -0
- package/dist/assets/en-B4ZKOASM-CpbJugBW.js +1 -0
- package/dist/assets/erDiagram-TEJ5UH35-O-dDoXsU.js +85 -0
- package/dist/assets/es-ES-U4NZUMDT-DUvN9FXg.js +9 -0
- package/dist/assets/eu-ES-A7QVB2H4-DV6UAZB_.js +11 -0
- package/dist/assets/eventmodeling-FCH6USID-BONfeu8r.js +1 -0
- package/dist/assets/fa-IR-HGAKTJCU-0ql2xhuq.js +8 -0
- package/dist/assets/fflate.module-BIQmJeC9.js +1 -0
- package/dist/assets/fi-FI-Z5N7JZ37-CxtRUMtw.js +6 -0
- package/dist/assets/file-open-002ab408-BHUWm0Sh.js +1 -0
- package/dist/assets/file-open-7c801643-DZtJT5zp.js +1 -0
- package/dist/assets/file-save-3189631c-CO9S4HFW.js +1 -0
- package/dist/assets/file-save-745eba88-Bwdfz6OZ.js +1 -0
- package/dist/assets/flowDiagram-I6XJVG4X-DsWkZiFB.js +162 -0
- package/dist/assets/fr-FR-RHASNOE6-CLi1nCBA.js +9 -0
- package/dist/assets/ganttDiagram-6RSMTGT7-r5IfYmu1.js +292 -0
- package/dist/assets/gitGraph-WXDBUCRP-BPjRwtiT.js +1 -0
- package/dist/assets/gitGraphDiagram-PVQCEYII-DGYT-2sl.js +106 -0
- package/dist/assets/gl-ES-HMX3MZ6V-NMLOwshd.js +10 -0
- package/dist/assets/global-compiler-D1EEBbpA.js +1 -0
- package/dist/assets/global-renderer-AKzBLvRw.js +1 -0
- package/dist/assets/go-B-PCS5zA.js +1 -0
- package/dist/assets/graphlib-B8gBHxth.js +1 -0
- package/dist/assets/he-IL-6SHJWFNN-BWPkP_3r.js +10 -0
- package/dist/assets/hi-IN-IWLTKZ5I-KNyxys-k.js +4 -0
- package/dist/assets/hu-HU-A5ZG7DT2-BjcxkVW9.js +7 -0
- package/dist/assets/id-ID-SAP4L64H-B-oUkzcH.js +10 -0
- package/dist/assets/image-6zdrB4g6.js +2 -0
- package/dist/assets/image-GAAHSSAO-7tK5sChZ.js +1 -0
- package/dist/assets/image-blob-reduce.esm-NzmDxm1v.js +2 -0
- package/dist/assets/info-J43DQDTF-sQY7EXUc.js +1 -0
- package/dist/assets/infoDiagram-5YYISTIA-Dzg1KIdJ.js +2 -0
- package/dist/assets/ini-B1CroMsf.js +1 -0
- package/dist/assets/init-D6jRqBbL.js +1 -0
- package/dist/assets/ishikawaDiagram-YF4QCWOH-C4gAmRlT.js +70 -0
- package/dist/assets/it-IT-JPQ66NNP-Bwud0QsX.js +11 -0
- package/dist/assets/ja-JP-DBVTYXUO-DgNQ5bjg.js +8 -0
- package/dist/assets/java-ChVphriW.js +1 -0
- package/dist/assets/javascript-w9aIBC1S.js +1 -0
- package/dist/assets/journeyDiagram-JHISSGLW-ofw85AZe.js +139 -0
- package/dist/assets/json-DS4EA3dC.js +1 -0
- package/dist/assets/jszip.min-C7VJhIfM.js +2 -0
- package/dist/assets/kaa-6HZHGXH3-BMz8LTXv.js +1 -0
- package/dist/assets/kab-KAB-ZGHBKWFO-B9w0Zir8.js +8 -0
- package/dist/assets/kanban-definition-UN3LZRKU-CljG07f4.js +89 -0
- package/dist/assets/katex-Vhh-h91d.js +257 -0
- package/dist/assets/kk-KZ-P5N5QNE5-2tUcaoKh.js +1 -0
- package/dist/assets/km-KH-HSX4SM5Z-_kaSqGhJ.js +11 -0
- package/dist/assets/ko-KR-MTYHY66A-CIjaox2B.js +9 -0
- package/dist/assets/ku-TR-6OUDTVRD-CkLMAwgC.js +9 -0
- package/dist/assets/lib-CxFoY_GP.js +6 -0
- package/dist/assets/libarchive-DknIq1tb.js +1 -0
- package/dist/assets/libarchive-DxGirPmi.wasm +0 -0
- package/dist/assets/linear-DAeDjlp3.js +1 -0
- package/dist/assets/logo-DG62cSZK.png +0 -0
- package/dist/assets/lt-LT-XHIRWOB4-BsH7UAds.js +3 -0
- package/dist/assets/lv-LV-5QDEKY6T-DH8to9BS.js +7 -0
- package/dist/assets/main-B8S7RFzE.js +4 -0
- package/dist/assets/main-BZ1u3qpM.css +1 -0
- package/dist/assets/markdown-C8bVcNXx.js +1 -0
- package/dist/assets/md-OHaN-Ra2.js +2 -0
- package/dist/assets/mermaid-parser.core-DX-qibXo.js +4 -0
- package/dist/assets/mindmap-definition-RKZ34NQL-5NZ4x9hJ.js +96 -0
- package/dist/assets/model-B6Ua5SnP.js +2 -0
- package/dist/assets/mp4-Dho29Zd7.js +1 -0
- package/dist/assets/mr-IN-CRQNXWMA-BrKaFNSo.js +13 -0
- package/dist/assets/my-MM-5M5IBNSE-BZSEmctA.js +1 -0
- package/dist/assets/nb-NO-T6EIAALU-6a9gavJA.js +10 -0
- package/dist/assets/nestedRender-vUCW8qgY.js +3 -0
- package/dist/assets/nl-NL-IS3SIHDZ-uxPhLMYz.js +8 -0
- package/dist/assets/nn-NO-6E72VCQL-D4PNCwHO.js +8 -0
- package/dist/assets/oc-FR-POXYY2M6-C7kpaHdZ.js +8 -0
- package/dist/assets/ofd-CM51fmds.js +2 -0
- package/dist/assets/ofd-CsX4S_yH.js +6 -0
- package/dist/assets/ordinal-hYBb2elL.js +1 -0
- package/dist/assets/pa-IN-N4M65BXN-DudflUsb.js +4 -0
- package/dist/assets/package-BuR3Qm_h.css +1 -0
- package/dist/assets/package-DbhUOWuO.js +296 -0
- package/dist/assets/packet-YPE3B663-zJFiRlih.js +1 -0
- package/dist/assets/pdf-CZTifdsT.js +2 -0
- package/dist/assets/percentages-BXMCSKIN-DuKjcyNK.js +1 -0
- package/dist/assets/php-5k5YNuRS.js +2 -0
- package/dist/assets/pica-W1nY7k4k.js +2 -0
- package/dist/assets/pie-CZr-MxNa.js +1 -0
- package/dist/assets/pie-LRSECV5Y-ChrxPon2.js +1 -0
- package/dist/assets/pieDiagram-4H26LBE5-rqS9xOI6.js +30 -0
- package/dist/assets/pl-PL-T2D74RX3-BjwyDbo2.js +9 -0
- package/dist/assets/postal-mime-kkzCFkih.js +29 -0
- package/dist/assets/pptx-HCi3sDR0.js +2 -0
- package/dist/assets/printLayout-D2pf0W9y.js +24 -0
- package/dist/assets/prod-CAexHIHC.js +149 -0
- package/dist/assets/pt-BR-5N22H2LF-dhO4g53z.js +9 -0
- package/dist/assets/pt-PT-UZXXM6DQ-B0FVw5E6.js +9 -0
- package/dist/assets/python-DwhXSSGr.js +1 -0
- package/dist/assets/quadrantDiagram-W4KKPZXB-CvbA748i.js +7 -0
- package/dist/assets/radar-GUYGQ44K-Ch58tAlJ.js +1 -0
- package/dist/assets/reactivity.esm-bundler-Bfmlzvr-.js +1 -0
- package/dist/assets/renderer-69XMfifI.js +1 -0
- package/dist/assets/requirementDiagram-4Y6WPE33-Ek_Wtky1.js +84 -0
- package/dist/assets/ro-RO-JPDTUUEW-CRyQ9zJm.js +11 -0
- package/dist/assets/rough.esm-CIepY_sA.js +1 -0
- package/dist/assets/roundRect-D01gJrlt.js +1 -0
- package/dist/assets/ru-RU-B4JR7IUQ-Ccj6OqLf.js +9 -0
- package/dist/assets/runtime-core.esm-bundler-CR6OOEFf.js +1 -0
- package/dist/assets/rust-Dk33Kfe-.js +1 -0
- package/dist/assets/sankeyDiagram-5OEKKPKP-D3gZ6xE7.js +40 -0
- package/dist/assets/sequenceDiagram-3UESZ5HK-C5489xFA.js +162 -0
- package/dist/assets/si-LK-N5RQ5JYF-BwS2qaTv.js +1 -0
- package/dist/assets/sk-SK-C5VTKIMK-ly1tHoOw.js +6 -0
- package/dist/assets/sl-SI-NN7IZMDC-iZiOFm2y.js +6 -0
- package/dist/assets/sql-DWRKyvJ-.js +1 -0
- package/dist/assets/src-BrOGWJpF.js +1 -0
- package/dist/assets/src-D_n3k0l_.js +5 -0
- package/dist/assets/stateDiagram-AJRCARHV-1hoVbE34.js +1 -0
- package/dist/assets/stateDiagram-v2-BHNVJYJU-CZmypPHd.js +1 -0
- package/dist/assets/style-x1XGuNl0.css +1 -0
- package/dist/assets/subset-shared.chunk-CK2m59fy.js +1 -0
- package/dist/assets/subset-worker.chunk-B5G7hWyg.js +1 -0
- package/dist/assets/sv-SE-XGPEYMSR-BNpkY1PO.js +10 -0
- package/dist/assets/ta-IN-2NMHFXQM-DsldkrWk.js +9 -0
- package/dist/assets/text-CMp0EW11.js +2 -0
- package/dist/assets/th-TH-HPSO5L25-AVrKqKOh.js +2 -0
- package/dist/assets/three.module-BFsVh7r1.js +4104 -0
- package/dist/assets/time-B8nkukJS.js +1 -0
- package/dist/assets/timeline-definition-PNZ67QCA-CfMKM_FS.js +120 -0
- package/dist/assets/tr-TR-DEFEU3FU-DYarL0Oa.js +7 -0
- package/dist/assets/treeView-BLDUP644-CGGdcSoP.js +1 -0
- package/dist/assets/treemap-LRROVOQU-C3Zg5qig.js +1 -0
- package/dist/assets/typescript-BvteI6YB.js +1 -0
- package/dist/assets/typst-DOlgRigg.js +2 -0
- package/dist/assets/typst_ts_renderer_bg-DRRWm1TP.wasm +0 -0
- package/dist/assets/uk-UA-QMV73CPH-D36-a0jl.js +6 -0
- package/dist/assets/umd-r51rBtd2.js +2 -0
- package/dist/assets/vennDiagram-CIIHVFJN-GrdHiqIf.js +34 -0
- package/dist/assets/vi-VN-M7AON7JQ-zdUBY1Fz.js +5 -0
- package/dist/assets/wardley-L42UT6IY-ilBO1QYS.js +1 -0
- package/dist/assets/wardleyDiagram-YWT4CUSO-Cgr3uPws.js +78 -0
- package/dist/assets/wasm-C3ukMqzA.js +1 -0
- package/dist/assets/wasm-pack-shim-BShYmbRf.js +1 -0
- package/dist/assets/wasm-pack-shim-BnuNh1z7.js +1 -0
- package/dist/assets/word-DQCwLNG7.js +150 -0
- package/dist/assets/worker-bundle-Dx5mKZOL.js +6 -0
- package/dist/assets/worker-ref-BbTnHTC-.js +1 -0
- package/dist/assets/xlsx-B1qUDXfb.js +2 -0
- package/dist/assets/xlsx-ff7ER-JZ.png +0 -0
- package/dist/assets/xml-DasnpDVC.js +1 -0
- package/dist/assets/xychartDiagram-2RQKCTM6-BwoaSxOF.js +7 -0
- package/dist/assets/yaml-1XF8XcZB.js +1 -0
- package/dist/assets/zh-CN-LNUGB5OW-WQ7J6JkH.js +10 -0
- package/dist/assets/zh-HK-E62DVLB3-BoGXaBos.js +1 -0
- package/dist/assets/zh-TW-RAJ6MFWO-DZQOFop7.js +9 -0
- package/dist/compare.html +21 -0
- package/dist/example/README.md +137 -0
- package/dist/example/SOURCES.md +49 -0
- package/dist/example/app.log +13 -0
- package/dist/example/archive.tar.gz +0 -0
- package/dist/example/archive.zip +0 -0
- package/dist/example/audio.mp3 +0 -0
- package/dist/example/audio.ogg +0 -0
- package/dist/example/book.epub +0 -0
- package/dist/example/book.umd +0 -0
- package/dist/example/change.diff +40 -0
- package/dist/example/code.cjs +38 -0
- package/dist/example/code.css +64 -0
- package/dist/example/code.java +55 -0
- package/dist/example/code.js +55 -0
- package/dist/example/code.jsx +43 -0
- package/dist/example/code.mjs +36 -0
- package/dist/example/code.py +56 -0
- package/dist/example/code.ts +78 -0
- package/dist/example/code.tsx +36 -0
- package/dist/example/component.vue +68 -0
- package/dist/example/config.yaml +48 -0
- package/dist/example/config.yml +25 -0
- package/dist/example/data.json +50 -0
- package/dist/example/data.xml +47 -0
- package/dist/example/drawing.dxf +22186 -0
- package/dist/example/embedded.html +316 -0
- package/dist/example/excel.fods +0 -0
- package/dist/example/excel.numbers +0 -0
- package/dist/example/excel.ods +0 -0
- package/dist/example/excel.xls +0 -0
- package/dist/example/excel.xlsb +0 -0
- package/dist/example/excel.xlsm +0 -0
- package/dist/example/excel.xlsx +0 -0
- package/dist/example/flow.excalidraw +1 -0
- package/dist/example/index.php +44 -0
- package/dist/example/main.c +39 -0
- package/dist/example/main.cpp +50 -0
- package/dist/example/main.go +55 -0
- package/dist/example/main.h +22 -0
- package/dist/example/main.hpp +28 -0
- package/dist/example/main.rs +36 -0
- package/dist/example/markdown.md +84 -0
- package/dist/example/model.gltf +66 -0
- package/dist/example/model.obj +10 -0
- package/dist/example/model.ply +18 -0
- package/dist/example/model.step +9 -0
- package/dist/example/model.stl +30 -0
- package/dist/example/module.cc +36 -0
- package/dist/example/notes.markdown +15 -0
- package/dist/example/ofd.ofd +0 -0
- package/dist/example/page.htm +29 -0
- package/dist/example/page.html +33 -0
- package/dist/example/pdf.pdf +9125 -3
- package/dist/example/pic.bmp +0 -0
- package/dist/example/pic.gif +0 -0
- package/dist/example/pic.jpeg +0 -0
- package/dist/example/pic.jpg +0 -0
- package/dist/example/pic.png +0 -0
- package/dist/example/pic.tif +0 -0
- package/dist/example/pic.tiff +0 -0
- package/dist/example/pic.webp +0 -0
- package/dist/example/ppt.pptx +0 -0
- package/dist/example/process.drawio +249 -0
- package/dist/example/program.cs +42 -0
- package/dist/example/query.sql +30 -0
- package/dist/example/report.typ +90 -0
- package/dist/example/sample.dra +0 -0
- package/dist/example/sample.dwg +0 -0
- package/dist/example/sample.eml +46 -0
- package/dist/example/sample.msg +0 -0
- package/dist/example/sample.olb +0 -0
- package/dist/example/samples/apache/blocks_and_tables.dwf +0 -0
- package/dist/example/samples/autodesk/house.dwfx +0 -0
- package/dist/example/samples/autodesk/robot-arm.dwfx +0 -0
- package/dist/example/script.bash +36 -0
- package/dist/example/script.sh +24 -0
- package/dist/example/settings.ini +23 -0
- package/dist/example/table.csv +4 -0
- package/dist/example/template.dot +0 -0
- package/dist/example/test.doc +0 -0
- package/dist/example/text.txt +3 -0
- package/dist/example/vector.svg +6 -0
- package/dist/example/video.mp4 +0 -0
- package/dist/example/word.docx +0 -0
- package/dist/index.html +302 -0
- package/dist/vendor/libarchive/libarchive.wasm +0 -0
- package/dist/vendor/libarchive/worker-bundle.js +6 -0
- 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/ImageViewer.js +0 -1898
- package/dist/components/MarkdownViewer.js +0 -1577
- package/dist/components/PdfView.js +0 -21660
- package/dist/components/PptxRender.js +0 -21165
- package/dist/components/XlsxTable.js +0 -69881
- 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/components/worker-ref.js +0 -21
- package/dist/index.mjs +0 -6
- package/dist/index.umd.js +0 -436
- package/dist/src/package/common/type.d.ts +0 -30
- package/dist/src/package/common/util.d.ts +0 -5
- package/dist/src/package/common/worker-ref.d.ts +0 -12
- package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +0 -25
- package/dist/src/package/components/FileViewer/index.d.ts +0 -2
- package/dist/src/package/components/FileViewer/util.d.ts +0 -2
- package/dist/src/package/index.d.ts +0 -12
- package/dist/src/package/use/index.d.ts +0 -1
- package/dist/src/package/use/worker.d.ts +0 -24
- package/dist/src/package/vendors/docx/index.d.ts +0 -4
- package/dist/src/package/vendors/image/ImageViewer.vue.d.ts +0 -13
- package/dist/src/package/vendors/image/index.d.ts +0 -4
- package/dist/src/package/vendors/md/MarkdownViewer.vue.d.ts +0 -13
- package/dist/src/package/vendors/md/index.d.ts +0 -4
- package/dist/src/package/vendors/mp4/index.d.ts +0 -4
- package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +0 -13
- package/dist/src/package/vendors/pdf/index.d.ts +0 -1
- package/dist/src/package/vendors/pdf/worker/index.d.ts +0 -4
- package/dist/src/package/vendors/pptx/PptxRender.vue.d.ts +0 -81
- package/dist/src/package/vendors/pptx/index.d.ts +0 -6
- package/dist/src/package/vendors/pptx/options.d.ts +0 -39
- package/dist/src/package/vendors/pptx/support/chart.d.ts +0 -4
- package/dist/src/package/vendors/pptx/worker/index.d.ts +0 -4
- package/dist/src/package/vendors/renders.d.ts +0 -3
- package/dist/src/package/vendors/text/CodeViewer.vue.d.ts +0 -13
- package/dist/src/package/vendors/text/index.d.ts +0 -6
- package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +0 -21
- package/dist/src/package/vendors/xlsx/index.d.ts +0 -5
- package/dist/src/package/vendors/xlsx/render.d.ts +0 -6
- package/dist/src/package/vendors/xlsx/util.d.ts +0 -8
- package/dist/src/package/vendors/xlsx/worker/index.d.ts +0 -6
- package/dist/src/package/vendors/xlsx/worker/xls/SheetJsModel.d.ts +0 -36
- package/dist/src/package/vendors/xlsx/worker/xls/index.d.ts +0 -4
- package/dist/src/package/vendors/xlsx/worker/xlsx/ExcelJsModel.d.ts +0 -39
- package/dist/src/package/vendors/xlsx/worker/xlsx/color.d.ts +0 -2
- 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/style.css +0 -57
- 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
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { App } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* 声明vue包装
|
|
4
|
-
*/
|
|
5
|
-
export interface AppWrapper {
|
|
6
|
-
$el: Node;
|
|
7
|
-
unmount(): void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* 声明别名
|
|
11
|
-
*/
|
|
12
|
-
export type Rendered = App | AppWrapper;
|
|
13
|
-
/**
|
|
14
|
-
* 文件引用,支持三种
|
|
15
|
-
*/
|
|
16
|
-
export type FileRef = File | Blob | ArrayBuffer;
|
|
17
|
-
/**
|
|
18
|
-
* 文件处理逻辑,用于声明文件处理器
|
|
19
|
-
* @param buffer 二进制缓存
|
|
20
|
-
* @param target 目标dom
|
|
21
|
-
* @param type 目标类型
|
|
22
|
-
*/
|
|
23
|
-
export type FileHandler = (buffer: ArrayBuffer, target: HTMLDivElement, type?: string) => Promise<Rendered>;
|
|
24
|
-
/**
|
|
25
|
-
* 文件处理器组合
|
|
26
|
-
*/
|
|
27
|
-
export interface FileHandlerComposite {
|
|
28
|
-
accepts: Array<string>;
|
|
29
|
-
handler: FileHandler;
|
|
30
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
type ReadResult = string | ArrayBuffer | undefined | null;
|
|
2
|
-
export declare function readBuffer(file: File): Promise<ReadResult>;
|
|
3
|
-
export declare function readDataURL(buffer: ArrayBuffer): Promise<string>;
|
|
4
|
-
export declare function readText(buffer: ArrayBuffer): Promise<string>;
|
|
5
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
type WorkerProvider = () => Worker;
|
|
2
|
-
export interface WorkerRef {
|
|
3
|
-
worker: Worker | null;
|
|
4
|
-
defaults(provider: WorkerProvider): Worker;
|
|
5
|
-
}
|
|
6
|
-
export default class WorkerRefImpl implements WorkerRef {
|
|
7
|
-
worker: Worker | null;
|
|
8
|
-
constructor(worker: Worker | null);
|
|
9
|
-
defaults(provider: WorkerProvider): Worker;
|
|
10
|
-
}
|
|
11
|
-
export declare function refWorker(name: string, module?: boolean): WorkerRef;
|
|
12
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
import type { FileRef } from '../../../package/common/type';
|
|
3
|
-
/**
|
|
4
|
-
* 静态定义props
|
|
5
|
-
*/
|
|
6
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
7
|
-
file: {
|
|
8
|
-
type: __PropType<FileRef | undefined>;
|
|
9
|
-
required: false;
|
|
10
|
-
};
|
|
11
|
-
url: {
|
|
12
|
-
type: __PropType<string | undefined>;
|
|
13
|
-
required: false;
|
|
14
|
-
};
|
|
15
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
file: {
|
|
17
|
-
type: __PropType<FileRef | undefined>;
|
|
18
|
-
required: false;
|
|
19
|
-
};
|
|
20
|
-
url: {
|
|
21
|
-
type: __PropType<string | undefined>;
|
|
22
|
-
required: false;
|
|
23
|
-
};
|
|
24
|
-
}>>, {}>;
|
|
25
|
-
export default _sfc_main;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import FileViewer from './components/FileViewer';
|
|
2
|
-
import type { App } from 'vue';
|
|
3
|
-
/**
|
|
4
|
-
* 安装器
|
|
5
|
-
*/
|
|
6
|
-
declare class Installer {
|
|
7
|
-
private installed;
|
|
8
|
-
install(app: App): void;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: Installer;
|
|
11
|
-
export default _default;
|
|
12
|
-
export { FileViewer };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './worker';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare type EventHandler = (payload: any) => void;
|
|
2
|
-
declare interface WorkerContext {
|
|
3
|
-
emit(type: string, payload: any): void;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* 使用worker
|
|
7
|
-
* 添加内部监听器自省
|
|
8
|
-
* 缺省消息格式
|
|
9
|
-
* {
|
|
10
|
-
* type: '消息类型',
|
|
11
|
-
* payload: {消息体},
|
|
12
|
-
* }
|
|
13
|
-
*/
|
|
14
|
-
export declare const useWorker: (factory: () => undefined | Worker) => {
|
|
15
|
-
loading: import("vue").Ref<boolean>;
|
|
16
|
-
worker: WorkerContext;
|
|
17
|
-
onWorkerMessage: (hook: Function) => number;
|
|
18
|
-
onWorkerError: (hook: Function) => number;
|
|
19
|
-
onWorkerEvent: (type: string, hook: EventHandler) => void;
|
|
20
|
-
mapEvents: (mappings: string[] | {
|
|
21
|
-
[key: string]: string;
|
|
22
|
-
}) => any;
|
|
23
|
-
};
|
|
24
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
image: {
|
|
4
|
-
type: __PropType<string>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
image: {
|
|
9
|
-
type: __PropType<string>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>>, {}>;
|
|
13
|
-
export default _sfc_main;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
data: {
|
|
4
|
-
type: __PropType<string>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
data: {
|
|
9
|
-
type: __PropType<string>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>>, {}>;
|
|
13
|
-
export default _sfc_main;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
data: {
|
|
4
|
-
type: __PropType<ArrayBuffer>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
data: {
|
|
9
|
-
type: __PropType<ArrayBuffer>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>>, {}>;
|
|
13
|
-
export default _sfc_main;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function renderPdf(buffer: ArrayBuffer, target: HTMLDivElement): Promise<import("vue").App<Element>>;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
data: {
|
|
4
|
-
type: __PropType<ArrayBuffer>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
options: {
|
|
8
|
-
type: __PropType<Function | undefined>;
|
|
9
|
-
required: false;
|
|
10
|
-
default: () => {
|
|
11
|
-
slidesScale: string;
|
|
12
|
-
slideMode: boolean;
|
|
13
|
-
slideType: string;
|
|
14
|
-
revealjsPath: string;
|
|
15
|
-
keyBoardShortCut: boolean;
|
|
16
|
-
mediaProcess: boolean;
|
|
17
|
-
jsZipV2: boolean;
|
|
18
|
-
themeProcess: boolean;
|
|
19
|
-
incSlide: {
|
|
20
|
-
width: number;
|
|
21
|
-
height: number;
|
|
22
|
-
};
|
|
23
|
-
slideModeConfig: {
|
|
24
|
-
first: number;
|
|
25
|
-
nav: boolean;
|
|
26
|
-
navTxtColor: string;
|
|
27
|
-
keyBoardShortCut: boolean;
|
|
28
|
-
showSlideNum: boolean;
|
|
29
|
-
showTotalSlideNum: boolean;
|
|
30
|
-
autoSlide: boolean;
|
|
31
|
-
randomAutoSlide: boolean;
|
|
32
|
-
loop: boolean;
|
|
33
|
-
background: boolean;
|
|
34
|
-
transition: string;
|
|
35
|
-
transitionTime: number;
|
|
36
|
-
};
|
|
37
|
-
revealjsConfig: {};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
-
data: {
|
|
42
|
-
type: __PropType<ArrayBuffer>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
options: {
|
|
46
|
-
type: __PropType<Function | undefined>;
|
|
47
|
-
required: false;
|
|
48
|
-
default: () => {
|
|
49
|
-
slidesScale: string;
|
|
50
|
-
slideMode: boolean;
|
|
51
|
-
slideType: string;
|
|
52
|
-
revealjsPath: string;
|
|
53
|
-
keyBoardShortCut: boolean;
|
|
54
|
-
mediaProcess: boolean;
|
|
55
|
-
jsZipV2: boolean;
|
|
56
|
-
themeProcess: boolean;
|
|
57
|
-
incSlide: {
|
|
58
|
-
width: number;
|
|
59
|
-
height: number;
|
|
60
|
-
};
|
|
61
|
-
slideModeConfig: {
|
|
62
|
-
first: number;
|
|
63
|
-
nav: boolean;
|
|
64
|
-
navTxtColor: string;
|
|
65
|
-
keyBoardShortCut: boolean;
|
|
66
|
-
showSlideNum: boolean;
|
|
67
|
-
showTotalSlideNum: boolean;
|
|
68
|
-
autoSlide: boolean;
|
|
69
|
-
randomAutoSlide: boolean;
|
|
70
|
-
loop: boolean;
|
|
71
|
-
background: boolean;
|
|
72
|
-
transition: string;
|
|
73
|
-
transitionTime: number;
|
|
74
|
-
};
|
|
75
|
-
revealjsConfig: {};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
}>>, {
|
|
79
|
-
options: Function | undefined;
|
|
80
|
-
}>;
|
|
81
|
-
export default _sfc_main;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* pptx渲染逻辑,使用vue组件,重构自pptxjs,感谢大神让我站在巨人的肩膀上
|
|
3
|
-
* @param buffer 二进制数据
|
|
4
|
-
* @param target 目标
|
|
5
|
-
*/
|
|
6
|
-
export default function renderPptx(buffer: ArrayBuffer, target: HTMLDivElement): Promise<import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const DefaultOptions: () => {
|
|
2
|
-
slidesScale: string;
|
|
3
|
-
slideMode: boolean;
|
|
4
|
-
slideType: string;
|
|
5
|
-
revealjsPath: string;
|
|
6
|
-
keyBoardShortCut: boolean;
|
|
7
|
-
mediaProcess: boolean;
|
|
8
|
-
jsZipV2: boolean;
|
|
9
|
-
themeProcess: boolean;
|
|
10
|
-
incSlide: {
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
};
|
|
14
|
-
slideModeConfig: {
|
|
15
|
-
first: number;
|
|
16
|
-
nav: boolean;
|
|
17
|
-
/** true,false : show or not nav buttons*/
|
|
18
|
-
navTxtColor: string;
|
|
19
|
-
/** color */
|
|
20
|
-
keyBoardShortCut: boolean;
|
|
21
|
-
/** true,false ,condition: */
|
|
22
|
-
showSlideNum: boolean;
|
|
23
|
-
/** true,false */
|
|
24
|
-
showTotalSlideNum: boolean;
|
|
25
|
-
/** true,false */
|
|
26
|
-
autoSlide: boolean;
|
|
27
|
-
/** false or seconds , F8 to active ,keyBoardShortCut: true */
|
|
28
|
-
randomAutoSlide: boolean;
|
|
29
|
-
/** true,false ,autoSlide:true */
|
|
30
|
-
loop: boolean;
|
|
31
|
-
/** true,false */
|
|
32
|
-
background: boolean;
|
|
33
|
-
/** false or color*/
|
|
34
|
-
transition: string;
|
|
35
|
-
/** transition type: "slid","fade","default","random" , to show transition efects :transitionTime > 0.5 */
|
|
36
|
-
transitionTime: number; /** transition time between slides in seconds */
|
|
37
|
-
};
|
|
38
|
-
revealjsConfig: {};
|
|
39
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
value: {
|
|
4
|
-
type: __PropType<string>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
value: {
|
|
9
|
-
type: __PropType<string>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>>, {}>;
|
|
13
|
-
export default _sfc_main;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
data: {
|
|
4
|
-
type: __PropType<ArrayBuffer>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
type: {
|
|
8
|
-
type: __PropType<string>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
data: {
|
|
13
|
-
type: __PropType<ArrayBuffer>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
type: {
|
|
17
|
-
type: __PropType<string>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
}>>, {}>;
|
|
21
|
-
export default _sfc_main;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function cellKey(row: number, col: number): string;
|
|
2
|
-
export declare function flatten(routes: Array<any>): Array<any>;
|
|
3
|
-
export declare function toStyleString(style: any): string;
|
|
4
|
-
export declare const darkMode: {
|
|
5
|
-
value: import("vue").Ref<null>;
|
|
6
|
-
} | {
|
|
7
|
-
value: import("vue").Ref<boolean>;
|
|
8
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import ExcelJsWorker from './xlsx';
|
|
2
|
-
import SheetJsWorker from './xls';
|
|
3
|
-
import type SheetJsModel from './xls/SheetJsModel';
|
|
4
|
-
import type ExcelJsModel from './xlsx/ExcelJsModel';
|
|
5
|
-
export { ExcelJsWorker, SheetJsWorker };
|
|
6
|
-
export type { SheetJsModel, ExcelJsModel };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { WorkSheet } from 'xlsx';
|
|
2
|
-
import type { CellMerge, SheetModel } from '../type';
|
|
3
|
-
export declare const defaults: {
|
|
4
|
-
rowHeight: number;
|
|
5
|
-
colWidth: number;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* sheet数据表数据
|
|
9
|
-
*/
|
|
10
|
-
export default class SheetJsModel implements SheetModel {
|
|
11
|
-
private readonly _ws;
|
|
12
|
-
private static readonly defaults;
|
|
13
|
-
private _data;
|
|
14
|
-
private _merge;
|
|
15
|
-
private _rowHeights;
|
|
16
|
-
private _colWidths;
|
|
17
|
-
private readonly range;
|
|
18
|
-
static create(ws: WorkSheet): SheetJsModel;
|
|
19
|
-
private constructor();
|
|
20
|
-
private get ws();
|
|
21
|
-
get defaults(): {
|
|
22
|
-
rowHeight: number;
|
|
23
|
-
colWidth: number;
|
|
24
|
-
};
|
|
25
|
-
get data(): string[][];
|
|
26
|
-
get cell(): {};
|
|
27
|
-
get merge(): CellMerge[];
|
|
28
|
-
get columns(): never[];
|
|
29
|
-
get rowHeights(): number | number[];
|
|
30
|
-
get colWidths(): number | number[];
|
|
31
|
-
private getData;
|
|
32
|
-
private getMerge;
|
|
33
|
-
private getRowHeights;
|
|
34
|
-
private getColWidths;
|
|
35
|
-
toObject(): object;
|
|
36
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { Worksheet } from 'exceljs/index.d';
|
|
2
|
-
import type { CellMerge, SheetColumn, SheetModel } from '../type';
|
|
3
|
-
export declare const borders: Array<BorderKey>;
|
|
4
|
-
type BorderKey = 'left' | 'right' | 'top' | 'bottom';
|
|
5
|
-
/**
|
|
6
|
-
* sheet数据表数据
|
|
7
|
-
*/
|
|
8
|
-
export default class ExcelJsModel implements SheetModel {
|
|
9
|
-
private readonly _ws;
|
|
10
|
-
private _defaults;
|
|
11
|
-
private _data;
|
|
12
|
-
private _cell;
|
|
13
|
-
private _merge;
|
|
14
|
-
private _rowHeights;
|
|
15
|
-
private _colWidths;
|
|
16
|
-
private _columns;
|
|
17
|
-
static create(ws: Worksheet): ExcelJsModel;
|
|
18
|
-
private constructor();
|
|
19
|
-
private get ws();
|
|
20
|
-
get defaults(): {
|
|
21
|
-
rowHeight: number;
|
|
22
|
-
colWidth: number;
|
|
23
|
-
};
|
|
24
|
-
get data(): string[][];
|
|
25
|
-
get cell(): any;
|
|
26
|
-
get merge(): CellMerge[];
|
|
27
|
-
get rowHeights(): number | number[];
|
|
28
|
-
get colWidths(): number | number[];
|
|
29
|
-
get columns(): SheetColumn[];
|
|
30
|
-
private getDefaults;
|
|
31
|
-
private getData;
|
|
32
|
-
private getCell;
|
|
33
|
-
private getMerge;
|
|
34
|
-
private getRowHeights;
|
|
35
|
-
private getColWidths;
|
|
36
|
-
private getColumns;
|
|
37
|
-
toObject(): object;
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Alignment, CellErrorValue, CellValue, Row } from 'exceljs/index.d';
|
|
2
|
-
export declare function valuesOf(row: Row): CellValue[];
|
|
3
|
-
export declare function valueOf(value: CellValue | {
|
|
4
|
-
error: CellErrorValue;
|
|
5
|
-
}): string;
|
|
6
|
-
export declare function getColor(color: any, themeColors: string[]): string | undefined;
|
|
7
|
-
export declare function alignToClass({ horizontal, vertical }: Partial<Alignment>): string;
|
|
8
|
-
export declare function fixMatrix(data: string[][], colLen: number): string[][];
|
|
9
|
-
export declare function captain(str: string): string;
|
|
10
|
-
export declare function camelCase(str: string): string;
|