├── .editorconfig
├── .env
├── .env.development
├── .env.production
├── .env.test
├── .github
├── release-drafter.yml
└── workflows
│ ├── build-nginx-drawio.yml
│ ├── build.yml
│ ├── pushAliyun.yml
│ ├── release-drafter.yml
│ └── test-build.yml
├── .gitignore
├── Dockerfile
├── LICENSE
├── README.md
├── README_en_US.md
├── babel.config.js
├── build
└── index.js
├── config.js.template
├── doc
├── 截屏 192.png
├── 截屏 28.png
├── 截屏 29.png
├── 截屏 30.png
├── 截屏 31.png
├── 截屏 32.png
└── 截屏 33.png
├── docker-entrypoint.sh
├── docker
└── nginx-drawio
│ ├── Dockerfile
│ ├── drawio.conf
│ ├── excalidraw.conf
│ ├── mime.types
│ └── pdfjs.conf
├── jsconfig.json
├── nginx.conf
├── nginx.conf.no_office.template
├── nginx.conf.template
├── package.json
├── postcss.config.js
├── prettier.config.js
├── public
├── config.js
├── favicon.ico
├── index.html
└── resource
│ ├── artplayer@5.1.6.js
│ ├── axios@0.21.1.js
│ ├── colorthief@2.0.2.js
│ ├── element-ui@2.13.0.css
│ ├── element-ui@2.13.0.js
│ ├── epubjs
│ ├── epub.css
│ ├── epubjs@0.3.88.min.js
│ ├── jszip@3.10.1.min.js
│ └── viewer.html
│ ├── font-awesome
│ └── free-6.4.2
│ │ ├── css
│ │ └── all.min.css
│ │ └── webfonts
│ │ ├── fa-brands-400.ttf
│ │ ├── fa-brands-400.woff2
│ │ ├── fa-regular-400.ttf
│ │ ├── fa-regular-400.woff2
│ │ ├── fa-solid-900.ttf
│ │ ├── fa-solid-900.woff2
│ │ ├── fa-v4compatibility.ttf
│ │ └── fa-v4compatibility.woff2
│ ├── font-awesome@5.13.0.css
│ ├── font_2024484_3m5puxhkyzz.js
│ ├── model-viewer.min.js
│ ├── pl-table@2.7.5
│ ├── lib
│ │ └── index.js
│ └── themes
│ │ ├── fonts
│ │ └── element-icons.woff
│ │ └── index.css
│ ├── vant@2.12.54.css
│ ├── vant@2.12.54.js
│ ├── vditor@3.9.3
│ └── dist
│ │ ├── css
│ │ └── content-theme
│ │ │ ├── ant-design.css
│ │ │ ├── dark.css
│ │ │ ├── light.css
│ │ │ └── wechat.css
│ │ ├── images
│ │ ├── emoji
│ │ │ ├── b3log.png
│ │ │ ├── chainbook.png
│ │ │ ├── doge.png
│ │ │ ├── hacpai.png
│ │ │ ├── huaji.gif
│ │ │ ├── latke.png
│ │ │ ├── lute.png
│ │ │ ├── octocat.png
│ │ │ ├── pipe.png
│ │ │ ├── solo.png
│ │ │ ├── sym.png
│ │ │ ├── trollface.png
│ │ │ ├── vditor.png
│ │ │ ├── wide.png
│ │ │ └── wulian.png
│ │ ├── img-loading.svg
│ │ └── logo.png
│ │ ├── index.css
│ │ ├── index.d.ts
│ │ ├── index.min.js
│ │ ├── js
│ │ ├── abcjs
│ │ │ └── abcjs_basic.min.js
│ │ ├── echarts
│ │ │ └── echarts.min.js
│ │ ├── flowchart.js
│ │ │ └── flowchart.min.js
│ │ ├── graphviz
│ │ │ ├── full.render.js
│ │ │ └── viz.js
│ │ ├── highlight.js
│ │ │ ├── highlight.pack.js
│ │ │ ├── solidity.min.js
│ │ │ ├── styles
│ │ │ │ ├── abap.css
│ │ │ │ ├── algol.css
│ │ │ │ ├── algol_nu.css
│ │ │ │ ├── ant-design.css
│ │ │ │ ├── arduino.css
│ │ │ │ ├── autumn.css
│ │ │ │ ├── borland.css
│ │ │ │ ├── bw.css
│ │ │ │ ├── colorful.css
│ │ │ │ ├── dracula.css
│ │ │ │ ├── emacs.css
│ │ │ │ ├── friendly.css
│ │ │ │ ├── fruity.css
│ │ │ │ ├── github.css
│ │ │ │ ├── igor.css
│ │ │ │ ├── lovelace.css
│ │ │ │ ├── manni.css
│ │ │ │ ├── monokai.css
│ │ │ │ ├── monokailight.css
│ │ │ │ ├── murphy.css
│ │ │ │ ├── native.css
│ │ │ │ ├── paraiso-dark.css
│ │ │ │ ├── paraiso-light.css
│ │ │ │ ├── pastie.css
│ │ │ │ ├── perldoc.css
│ │ │ │ ├── pygments.css
│ │ │ │ ├── rainbow_dash.css
│ │ │ │ ├── rrt.css
│ │ │ │ ├── solarized-dark.css
│ │ │ │ ├── solarized-dark256.css
│ │ │ │ ├── solarized-light.css
│ │ │ │ ├── swapoff.css
│ │ │ │ ├── tango.css
│ │ │ │ ├── trac.css
│ │ │ │ ├── vim.css
│ │ │ │ ├── vs.css
│ │ │ │ └── xcode.css
│ │ │ └── yul.min.js
│ │ ├── i18n
│ │ │ ├── en_US.js
│ │ │ ├── fr_FR.js
│ │ │ ├── ja_JP.js
│ │ │ ├── ko_KR.js
│ │ │ ├── pt_BR.js
│ │ │ ├── ru_RU.js
│ │ │ ├── sv_SE.js
│ │ │ ├── zh_CN.js
│ │ │ └── zh_TW.js
│ │ ├── icons
│ │ │ ├── ant.js
│ │ │ └── material.js
│ │ ├── katex
│ │ │ ├── fonts
│ │ │ │ ├── KaTeX_AMS-Regular.ttf
│ │ │ │ ├── KaTeX_AMS-Regular.woff
│ │ │ │ ├── KaTeX_AMS-Regular.woff2
│ │ │ │ ├── KaTeX_Caligraphic-Bold.ttf
│ │ │ │ ├── KaTeX_Caligraphic-Bold.woff
│ │ │ │ ├── KaTeX_Caligraphic-Bold.woff2
│ │ │ │ ├── KaTeX_Caligraphic-Regular.ttf
│ │ │ │ ├── KaTeX_Caligraphic-Regular.woff
│ │ │ │ ├── KaTeX_Caligraphic-Regular.woff2
│ │ │ │ ├── KaTeX_Fraktur-Bold.ttf
│ │ │ │ ├── KaTeX_Fraktur-Bold.woff
│ │ │ │ ├── KaTeX_Fraktur-Bold.woff2
│ │ │ │ ├── KaTeX_Fraktur-Regular.ttf
│ │ │ │ ├── KaTeX_Fraktur-Regular.woff
│ │ │ │ ├── KaTeX_Fraktur-Regular.woff2
│ │ │ │ ├── KaTeX_Main-Bold.ttf
│ │ │ │ ├── KaTeX_Main-Bold.woff
│ │ │ │ ├── KaTeX_Main-Bold.woff2
│ │ │ │ ├── KaTeX_Main-BoldItalic.ttf
│ │ │ │ ├── KaTeX_Main-BoldItalic.woff
│ │ │ │ ├── KaTeX_Main-BoldItalic.woff2
│ │ │ │ ├── KaTeX_Main-Italic.ttf
│ │ │ │ ├── KaTeX_Main-Italic.woff
│ │ │ │ ├── KaTeX_Main-Italic.woff2
│ │ │ │ ├── KaTeX_Main-Regular.ttf
│ │ │ │ ├── KaTeX_Main-Regular.woff
│ │ │ │ ├── KaTeX_Main-Regular.woff2
│ │ │ │ ├── KaTeX_Math-BoldItalic.ttf
│ │ │ │ ├── KaTeX_Math-BoldItalic.woff
│ │ │ │ ├── KaTeX_Math-BoldItalic.woff2
│ │ │ │ ├── KaTeX_Math-Italic.ttf
│ │ │ │ ├── KaTeX_Math-Italic.woff
│ │ │ │ ├── KaTeX_Math-Italic.woff2
│ │ │ │ ├── KaTeX_SansSerif-Bold.ttf
│ │ │ │ ├── KaTeX_SansSerif-Bold.woff
│ │ │ │ ├── KaTeX_SansSerif-Bold.woff2
│ │ │ │ ├── KaTeX_SansSerif-Italic.ttf
│ │ │ │ ├── KaTeX_SansSerif-Italic.woff
│ │ │ │ ├── KaTeX_SansSerif-Italic.woff2
│ │ │ │ ├── KaTeX_SansSerif-Regular.ttf
│ │ │ │ ├── KaTeX_SansSerif-Regular.woff
│ │ │ │ ├── KaTeX_SansSerif-Regular.woff2
│ │ │ │ ├── KaTeX_Script-Regular.ttf
│ │ │ │ ├── KaTeX_Script-Regular.woff
│ │ │ │ ├── KaTeX_Script-Regular.woff2
│ │ │ │ ├── KaTeX_Size1-Regular.ttf
│ │ │ │ ├── KaTeX_Size1-Regular.woff
│ │ │ │ ├── KaTeX_Size1-Regular.woff2
│ │ │ │ ├── KaTeX_Size2-Regular.ttf
│ │ │ │ ├── KaTeX_Size2-Regular.woff
│ │ │ │ ├── KaTeX_Size2-Regular.woff2
│ │ │ │ ├── KaTeX_Size3-Regular.ttf
│ │ │ │ ├── KaTeX_Size3-Regular.woff
│ │ │ │ ├── KaTeX_Size3-Regular.woff2
│ │ │ │ ├── KaTeX_Size4-Regular.ttf
│ │ │ │ ├── KaTeX_Size4-Regular.woff
│ │ │ │ ├── KaTeX_Size4-Regular.woff2
│ │ │ │ ├── KaTeX_Typewriter-Regular.ttf
│ │ │ │ ├── KaTeX_Typewriter-Regular.woff
│ │ │ │ └── KaTeX_Typewriter-Regular.woff2
│ │ │ ├── katex.min.css
│ │ │ ├── katex.min.js
│ │ │ └── mhchem.min.js
│ │ ├── lute
│ │ │ └── lute.min.js
│ │ ├── markmap
│ │ │ ├── katex.min.css
│ │ │ ├── markmap.min.js
│ │ │ └── prism.css
│ │ ├── mathjax
│ │ │ ├── LICENSE
│ │ │ ├── a11y
│ │ │ │ ├── assistive-mml.js
│ │ │ │ ├── complexity.js
│ │ │ │ ├── explorer.js
│ │ │ │ └── semantic-enrich.js
│ │ │ ├── input
│ │ │ │ ├── asciimath.js
│ │ │ │ ├── mml.js
│ │ │ │ ├── mml
│ │ │ │ │ └── entities.js
│ │ │ │ ├── tex-base.js
│ │ │ │ ├── tex-full.js
│ │ │ │ ├── tex.js
│ │ │ │ └── tex
│ │ │ │ │ └── extensions
│ │ │ │ │ ├── action.js
│ │ │ │ │ ├── all-packages.js
│ │ │ │ │ ├── ams.js
│ │ │ │ │ ├── amscd.js
│ │ │ │ │ ├── autoload.js
│ │ │ │ │ ├── bbox.js
│ │ │ │ │ ├── boldsymbol.js
│ │ │ │ │ ├── braket.js
│ │ │ │ │ ├── bussproofs.js
│ │ │ │ │ ├── cancel.js
│ │ │ │ │ ├── color.js
│ │ │ │ │ ├── colorV2.js
│ │ │ │ │ ├── configMacros.js
│ │ │ │ │ ├── enclose.js
│ │ │ │ │ ├── extpfeil.js
│ │ │ │ │ ├── html.js
│ │ │ │ │ ├── mhchem.js
│ │ │ │ │ ├── newcommand.js
│ │ │ │ │ ├── noerrors.js
│ │ │ │ │ ├── noundefined.js
│ │ │ │ │ ├── physics.js
│ │ │ │ │ ├── require.js
│ │ │ │ │ ├── tagFormat.js
│ │ │ │ │ ├── textmacros.js
│ │ │ │ │ ├── unicode.js
│ │ │ │ │ └── verb.js
│ │ │ ├── sre
│ │ │ │ ├── mathmaps
│ │ │ │ │ ├── de.js
│ │ │ │ │ ├── en.js
│ │ │ │ │ ├── es.js
│ │ │ │ │ ├── fr.js
│ │ │ │ │ ├── mathmaps_ie.js
│ │ │ │ │ └── nemeth.js
│ │ │ │ ├── sre-node.js
│ │ │ │ └── sre_browser.js
│ │ │ └── tex-svg-full.js
│ │ ├── mermaid
│ │ │ └── mermaid.min.js
│ │ └── plantuml
│ │ │ └── plantuml-encoder.min.js
│ │ ├── method.d.ts
│ │ ├── method.min.js
│ │ ├── ts
│ │ ├── constants.d.ts
│ │ ├── devtools
│ │ │ └── index.d.ts
│ │ ├── export
│ │ │ └── index.d.ts
│ │ ├── hint
│ │ │ └── index.d.ts
│ │ ├── ir
│ │ │ ├── expandMarker.d.ts
│ │ │ ├── highlightToolbarIR.d.ts
│ │ │ ├── index.d.ts
│ │ │ ├── input.d.ts
│ │ │ ├── process.d.ts
│ │ │ └── processKeydown.d.ts
│ │ ├── markdown
│ │ │ ├── abcRender.d.ts
│ │ │ ├── adapterRender.d.ts
│ │ │ ├── anchorRender.d.ts
│ │ │ ├── chartRender.d.ts
│ │ │ ├── codeRender.d.ts
│ │ │ ├── flowchartRender.d.ts
│ │ │ ├── getHTML.d.ts
│ │ │ ├── getMarkdown.d.ts
│ │ │ ├── graphvizRender.d.ts
│ │ │ ├── highlightRender.d.ts
│ │ │ ├── lazyLoadImageRender.d.ts
│ │ │ ├── markmapRender.d.ts
│ │ │ ├── mathRender.d.ts
│ │ │ ├── mediaRender.d.ts
│ │ │ ├── mermaidRender.d.ts
│ │ │ ├── mindmapRender.d.ts
│ │ │ ├── outlineRender.d.ts
│ │ │ ├── plantumlRender.d.ts
│ │ │ ├── previewRender.d.ts
│ │ │ ├── setLute.d.ts
│ │ │ └── speechRender.d.ts
│ │ ├── outline
│ │ │ └── index.d.ts
│ │ ├── preview
│ │ │ ├── image.d.ts
│ │ │ └── index.d.ts
│ │ ├── resize
│ │ │ └── index.d.ts
│ │ ├── sv
│ │ │ ├── index.d.ts
│ │ │ ├── inputEvent.d.ts
│ │ │ ├── process.d.ts
│ │ │ └── processKeydown.d.ts
│ │ ├── tip
│ │ │ └── index.d.ts
│ │ ├── toolbar
│ │ │ ├── Both.d.ts
│ │ │ ├── Br.d.ts
│ │ │ ├── CodeTheme.d.ts
│ │ │ ├── ContentTheme.d.ts
│ │ │ ├── Counter.d.ts
│ │ │ ├── Custom.d.ts
│ │ │ ├── Devtools.d.ts
│ │ │ ├── Divider.d.ts
│ │ │ ├── EditMode.d.ts
│ │ │ ├── Emoji.d.ts
│ │ │ ├── Export.d.ts
│ │ │ ├── Fullscreen.d.ts
│ │ │ ├── Headings.d.ts
│ │ │ ├── Help.d.ts
│ │ │ ├── Indent.d.ts
│ │ │ ├── Info.d.ts
│ │ │ ├── InsertAfter.d.ts
│ │ │ ├── InsertBefore.d.ts
│ │ │ ├── MenuItem.d.ts
│ │ │ ├── Outdent.d.ts
│ │ │ ├── Outline.d.ts
│ │ │ ├── Preview.d.ts
│ │ │ ├── Record.d.ts
│ │ │ ├── Redo.d.ts
│ │ │ ├── Undo.d.ts
│ │ │ ├── Upload.d.ts
│ │ │ ├── index.d.ts
│ │ │ └── setToolbar.d.ts
│ │ ├── ui
│ │ │ ├── initUI.d.ts
│ │ │ ├── setCodeTheme.d.ts
│ │ │ ├── setContentTheme.d.ts
│ │ │ ├── setPreviewMode.d.ts
│ │ │ └── setTheme.d.ts
│ │ ├── undo
│ │ │ └── index.d.ts
│ │ ├── upload
│ │ │ ├── getElement.d.ts
│ │ │ ├── index.d.ts
│ │ │ └── setHeaders.d.ts
│ │ ├── util
│ │ │ ├── Options.d.ts
│ │ │ ├── RecordMedia.d.ts
│ │ │ ├── addScript.d.ts
│ │ │ ├── addStyle.d.ts
│ │ │ ├── code160to32.d.ts
│ │ │ ├── compatibility.d.ts
│ │ │ ├── editorCommonEvent.d.ts
│ │ │ ├── fixBrowserBehavior.d.ts
│ │ │ ├── getSelectText.d.ts
│ │ │ ├── hasClosest.d.ts
│ │ │ ├── hasClosestByHeadings.d.ts
│ │ │ ├── highlightToolbar.d.ts
│ │ │ ├── hotKey.d.ts
│ │ │ ├── log.d.ts
│ │ │ ├── merge.d.ts
│ │ │ ├── processCode.d.ts
│ │ │ ├── selection.d.ts
│ │ │ └── toc.d.ts
│ │ └── wysiwyg
│ │ │ ├── afterRenderEvent.d.ts
│ │ │ ├── highlightToolbarWYSIWYG.d.ts
│ │ │ ├── index.d.ts
│ │ │ ├── inlineTag.d.ts
│ │ │ ├── input.d.ts
│ │ │ ├── processKeydown.d.ts
│ │ │ ├── renderDomByMd.d.ts
│ │ │ ├── setHeading.d.ts
│ │ │ ├── showCode.d.ts
│ │ │ └── toolbarEvent.d.ts
│ │ └── types
│ │ └── index.d.ts
│ ├── viewerjs@1.7.1.css
│ ├── vue-router@3.0.6.js
│ └── vue@2.6.14.js
├── railway.yaml
├── src
├── App.vue
├── api
│ ├── category.js
│ ├── file-api.js
│ ├── file-history.js
│ ├── log.js
│ ├── markdown-api.js
│ ├── menu.js
│ ├── oss.js
│ ├── role.js
│ ├── setting-api.js
│ ├── table.js
│ ├── tag.js
│ └── user.js
├── assets
│ ├── 404_images
│ │ ├── 404.png
│ │ └── 404_cloud.png
│ ├── css
│ │ └── cropper.css
│ ├── img
│ │ ├── Ripple-1s-200px.gif
│ │ ├── arrow1_left.png
│ │ ├── beian.png
│ │ ├── cancel-share.png
│ │ ├── default-avatar.png
│ │ ├── emptyfile_intro.jpeg
│ │ ├── hide.png
│ │ ├── history.svg
│ │ ├── iina.webp
│ │ ├── infuse.webp
│ │ ├── login-bg.png
│ │ ├── move-file.png
│ │ ├── move-file
│ │ │ ├── move-file1.png
│ │ │ ├── move-file10.png
│ │ │ ├── move-file11.png
│ │ │ ├── move-file12.png
│ │ │ ├── move-file13.png
│ │ │ ├── move-file14.png
│ │ │ ├── move-file15.png
│ │ │ ├── move-file16.png
│ │ │ ├── move-file17.png
│ │ │ ├── move-file18.png
│ │ │ ├── move-file19.png
│ │ │ ├── move-file2.png
│ │ │ ├── move-file20.png
│ │ │ ├── move-file21.png
│ │ │ ├── move-file22.png
│ │ │ ├── move-file23.png
│ │ │ ├── move-file24.png
│ │ │ ├── move-file25.png
│ │ │ ├── move-file26.png
│ │ │ ├── move-file27.png
│ │ │ ├── move-file28.png
│ │ │ ├── move-file29.png
│ │ │ ├── move-file3.png
│ │ │ ├── move-file30.png
│ │ │ ├── move-file31.png
│ │ │ ├── move-file32.png
│ │ │ ├── move-file33.png
│ │ │ ├── move-file34.png
│ │ │ ├── move-file35.png
│ │ │ ├── move-file36.png
│ │ │ ├── move-file37.png
│ │ │ ├── move-file38.png
│ │ │ ├── move-file39.png
│ │ │ ├── move-file4.png
│ │ │ ├── move-file40.png
│ │ │ ├── move-file41.png
│ │ │ ├── move-file42.png
│ │ │ ├── move-file43.png
│ │ │ ├── move-file44.png
│ │ │ ├── move-file45.png
│ │ │ ├── move-file46.png
│ │ │ ├── move-file47.png
│ │ │ ├── move-file48.png
│ │ │ ├── move-file49.png
│ │ │ ├── move-file5.png
│ │ │ ├── move-file50.png
│ │ │ ├── move-file51.png
│ │ │ ├── move-file52.png
│ │ │ ├── move-file53.png
│ │ │ ├── move-file54.png
│ │ │ ├── move-file55.png
│ │ │ ├── move-file56.png
│ │ │ ├── move-file57.png
│ │ │ ├── move-file58.png
│ │ │ ├── move-file59.png
│ │ │ ├── move-file6.png
│ │ │ ├── move-file60.png
│ │ │ ├── move-file61.png
│ │ │ ├── move-file62.png
│ │ │ ├── move-file63.png
│ │ │ ├── move-file64.png
│ │ │ ├── move-file65.png
│ │ │ ├── move-file66.png
│ │ │ ├── move-file67.png
│ │ │ ├── move-file68.png
│ │ │ ├── move-file69.png
│ │ │ ├── move-file7.png
│ │ │ ├── move-file70.png
│ │ │ ├── move-file71.png
│ │ │ ├── move-file72.png
│ │ │ ├── move-file73.png
│ │ │ ├── move-file74.png
│ │ │ ├── move-file75.png
│ │ │ ├── move-file76.png
│ │ │ ├── move-file77.png
│ │ │ ├── move-file78.png
│ │ │ ├── move-file79.png
│ │ │ ├── move-file8.png
│ │ │ ├── move-file80.png
│ │ │ ├── move-file81.png
│ │ │ ├── move-file82.png
│ │ │ ├── move-file83.png
│ │ │ ├── move-file84.png
│ │ │ ├── move-file85.png
│ │ │ ├── move-file86.png
│ │ │ ├── move-file87.png
│ │ │ ├── move-file88.png
│ │ │ ├── move-file89.png
│ │ │ ├── move-file9.png
│ │ │ ├── move-file90.png
│ │ │ ├── move-file91.png
│ │ │ ├── move-file92.png
│ │ │ ├── move-file93.png
│ │ │ ├── move-file94.png
│ │ │ ├── move-file95.png
│ │ │ ├── move-file96.png
│ │ │ ├── move-file97.png
│ │ │ ├── move-file98.png
│ │ │ └── move-file99.png
│ │ ├── music-default.jpeg
│ │ ├── nplayer.webp
│ │ └── pic_sharing_empty.png
│ ├── js
│ │ ├── Physics2DPlugin.js
│ │ ├── bus.js
│ │ ├── config.js
│ │ ├── cropper.js
│ │ └── mavon-line.js
│ └── vue-router@3.0.6.js
├── components
│ ├── Breadcrumb
│ │ ├── BreadcrumbFilePath.vue
│ │ ├── FilePathNav.vue
│ │ └── index.vue
│ ├── Cropper
│ │ └── dialog.vue
│ ├── EmptyFile
│ │ └── index.vue
│ ├── FancyTree
│ │ ├── index.vue
│ │ ├── jquery.contextMenu-custom.js
│ │ └── jquery.contextMenu.css
│ ├── FileTree
│ │ ├── DirTree.vue
│ │ └── index.vue
│ ├── Hamburger
│ │ └── index.vue
│ ├── HistoryPopover
│ │ └── index.vue
│ ├── Icon
│ │ ├── Icon.vue
│ │ └── IconFile.vue
│ ├── Logo
│ │ └── index.vue
│ ├── Minder
│ │ ├── editor.js
│ │ ├── index.js
│ │ └── minder.vue
│ ├── MonacoEditorVue
│ │ └── index.js
│ ├── ParentView
│ │ └── index.vue
│ ├── SearchOption
│ │ └── index.vue
│ ├── ShareDialog
│ │ └── index.vue
│ ├── ShowFile
│ │ ├── DialogFileList.vue
│ │ ├── FileClipboard.vue
│ │ ├── SelectFile.vue
│ │ └── ShowFile.vue
│ ├── SimpleUploader
│ │ ├── globalUploader.vue
│ │ └── images
│ │ │ ├── audio.svg
│ │ │ ├── docment.svg
│ │ │ ├── file.svg
│ │ │ ├── folder.svg
│ │ │ ├── image.svg
│ │ │ ├── video.svg
│ │ │ └── zip.svg
│ ├── SvgIcon
│ │ └── index.vue
│ ├── TagDialog
│ │ └── index.vue
│ ├── TaskProgress
│ │ └── index.vue
│ ├── Timeline
│ │ └── index.vue
│ ├── button
│ │ ├── ButtonUpload.vue
│ │ └── CopyButton.vue
│ ├── input
│ │ └── UploadImageInput.vue
│ ├── loading
│ │ └── AlLoading.vue
│ ├── message
│ │ └── MessageDialog.vue
│ ├── office
│ │ ├── Drawio.vue
│ │ ├── ExcalidrawEditor.vue
│ │ ├── ModelPreview.vue
│ │ ├── OnlyOfficeEditor.vue
│ │ └── PdfPreview.vue
│ ├── popover
│ │ └── MenuPopover.vue
│ ├── preview
│ │ ├── Artplayer.vue
│ │ ├── AudioPreview.vue
│ │ ├── CADPreview.vue
│ │ ├── FileDetails.vue
│ │ ├── IframeContentPreview.vue
│ │ ├── IframePreview.vue
│ │ ├── ImageViewer.vue
│ │ ├── SimTextPreview.vue
│ │ ├── VditorPreview.vue
│ │ ├── VideoPreview.vue
│ │ └── artplayer-plugin-vtt-thumbnail
│ │ │ ├── getVttArray.js
│ │ │ └── index.js
│ ├── select
│ │ ├── MultipleTree.vue
│ │ ├── icon.vue
│ │ ├── iconList.vue
│ │ ├── requireIcons.js
│ │ └── tree.vue
│ └── table
│ │ └── TableList.vue
├── icons
│ ├── index.js
│ ├── svg
│ │ ├── Favoritestarrate.svg
│ │ ├── add-file.svg
│ │ ├── audio.svg
│ │ ├── back.svg
│ │ ├── breadcrumb-right.svg
│ │ ├── cancel-share.svg
│ │ ├── close.svg
│ │ ├── contents.svg
│ │ ├── dashboard.svg
│ │ ├── docment.svg
│ │ ├── document.svg
│ │ ├── example.svg
│ │ ├── eye-open.svg
│ │ ├── eye.svg
│ │ ├── file-Ds-store.svg
│ │ ├── file-add.svg
│ │ ├── file-bat.svg
│ │ ├── file-c.svg
│ │ ├── file-class.svg
│ │ ├── file-cmake.svg
│ │ ├── file-conf.svg
│ │ ├── file-cpp.svg
│ │ ├── file-css.svg
│ │ ├── file-csv.svg
│ │ ├── file-dart.svg
│ │ ├── file-db.svg
│ │ ├── file-dmg.svg
│ │ ├── file-docxf.svg
│ │ ├── file-drawio.svg
│ │ ├── file-dwg.svg
│ │ ├── file-epub.svg
│ │ ├── file-excalidraw.svg
│ │ ├── file-excel.svg
│ │ ├── file-exe.svg
│ │ ├── file-factories.svg
│ │ ├── file-gitignore.svg
│ │ ├── file-glb.svg
│ │ ├── file-go.svg
│ │ ├── file-gradle.svg
│ │ ├── file-gzip.svg
│ │ ├── file-h.svg
│ │ ├── file-html.svg
│ │ ├── file-idea.svg
│ │ ├── file-iso.svg
│ │ ├── file-jar.svg
│ │ ├── file-java.svg
│ │ ├── file-js.svg
│ │ ├── file-json.svg
│ │ ├── file-key.svg
│ │ ├── file-log.svg
│ │ ├── file-md.svg
│ │ ├── file-mind.svg
│ │ ├── file-ncm.svg
│ │ ├── file-pdf.svg
│ │ ├── file-pem.svg
│ │ ├── file-php.svg
│ │ ├── file-pkg.svg
│ │ ├── file-plist.svg
│ │ ├── file-ppt.svg
│ │ ├── file-properties.svg
│ │ ├── file-python.svg
│ │ ├── file-shell.svg
│ │ ├── file-swift.svg
│ │ ├── file-tar.svg
│ │ ├── file-txt.svg
│ │ ├── file-upload.svg
│ │ ├── file-vue.svg
│ │ ├── file-word.svg
│ │ ├── file-xls.svg
│ │ ├── file-xml.svg
│ │ ├── file-xsl.svg
│ │ ├── file-yml.svg
│ │ ├── file.svg
│ │ ├── folder-128.svg
│ │ ├── folder-add.svg
│ │ ├── folder-upload.svg
│ │ ├── folder.svg
│ │ ├── form.svg
│ │ ├── fullscreen.svg
│ │ ├── gongxiangzhongxin.svg
│ │ ├── home.svg
│ │ ├── image.svg
│ │ ├── jmal-cloud.svg
│ │ ├── link.svg
│ │ ├── loading-image-error.svg
│ │ ├── md-list.svg
│ │ ├── md.svg
│ │ ├── menu-addtab.svg
│ │ ├── menu-ascending.svg
│ │ ├── menu-copy.svg
│ │ ├── menu-descending.svg
│ │ ├── menu-deselect.svg
│ │ ├── menu-details.svg
│ │ ├── menu-download.svg
│ │ ├── menu-edit1.svg
│ │ ├── menu-empty.svg
│ │ ├── menu-favorite-hover.svg
│ │ ├── menu-favorite.svg
│ │ ├── menu-grid.svg
│ │ ├── menu-list.svg
│ │ ├── menu-null.svg
│ │ ├── menu-open.svg
│ │ ├── menu-point.svg
│ │ ├── menu-remove.svg
│ │ ├── menu-rename.svg
│ │ ├── menu-select.svg
│ │ ├── menu-unfavorite-hover.svg
│ │ ├── menu-unfavorite.svg
│ │ ├── menu-unselect.svg
│ │ ├── more.svg
│ │ ├── nested.svg
│ │ ├── normalscreen.svg
│ │ ├── open-folder.svg
│ │ ├── password.svg
│ │ ├── release.svg
│ │ ├── search.svg
│ │ ├── share.svg
│ │ ├── tab-favorite.svg
│ │ ├── tab-folder.svg
│ │ ├── tab-recently.svg
│ │ ├── tab-setting.svg
│ │ ├── table.svg
│ │ ├── tree.svg
│ │ ├── user.svg
│ │ ├── video.svg
│ │ ├── warring.svg
│ │ ├── widget-email.svg
│ │ ├── widget-github.svg
│ │ ├── widget-music.svg
│ │ ├── widget-subscription.svg
│ │ ├── yes.svg
│ │ ├── zip.svg
│ │ ├── ziyuan.svg
│ │ └── zuijinyuedu.svg
│ └── svgo.yml
├── layout
│ ├── components
│ │ ├── AppMain.vue
│ │ ├── Navbar.vue
│ │ ├── Sidebar
│ │ │ ├── FixiOSBug.js
│ │ │ ├── Item.vue
│ │ │ ├── Link.vue
│ │ │ ├── Logo.vue
│ │ │ ├── SidebarItem.vue
│ │ │ └── index.vue
│ │ └── index.js
│ ├── index.vue
│ └── mixin
│ │ └── ResizeHandler.js
├── locales
│ ├── en_US.js
│ └── zh_CN.js
├── main.js
├── permission.js
├── router
│ └── index.js
├── settings.js
├── sse
│ └── SSEClient.js
├── store
│ ├── getters.js
│ ├── index.js
│ └── modules
│ │ ├── app.js
│ │ ├── settings.js
│ │ └── user.js
├── styles
│ ├── all.min.css
│ ├── custom-ui.scss
│ ├── element-ui.scss
│ ├── home-index.scss
│ ├── iframe.scss
│ ├── index.scss
│ ├── markdown.scss
│ ├── mixin.scss
│ ├── setting.scss
│ ├── sidebar.scss
│ ├── sim-text-dark.scss
│ ├── sim-text-light.scss
│ ├── stars.scss
│ ├── transition.scss
│ └── variables.scss
├── utils
│ ├── common.js
│ ├── directives.js
│ ├── dom.js
│ ├── file-config.js
│ ├── file-operations.js
│ ├── file-type.js
│ ├── get-page-title.js
│ ├── index.js
│ ├── load-script.js
│ ├── loadLocaleMessages.js
│ ├── logo.js
│ ├── media.js
│ ├── number.js
│ ├── onlyofficeUtil.js
│ ├── path.js
│ ├── request.js
│ ├── validate.js
│ └── web.js
└── views
│ ├── 404.vue
│ ├── favorite
│ └── index.vue
│ ├── fileType
│ ├── audio.vue
│ ├── document.vue
│ ├── image.vue
│ └── video.vue
│ ├── home
│ ├── index.vue
│ └── mobile
│ │ └── index.vue
│ ├── login
│ └── index.vue
│ ├── markdown
│ ├── EditElement.vue
│ └── index.vue
│ ├── mount
│ └── index.vue
│ ├── public
│ └── share
│ │ └── shareList.vue
│ ├── recently
│ └── index.vue
│ ├── setting
│ ├── articles
│ │ ├── alonePageManager.vue
│ │ ├── articleManager.vue
│ │ ├── articlePageManager.vue
│ │ ├── blogManager.vue
│ │ ├── categoryManager.vue
│ │ └── tagManager.vue
│ ├── authAPP.vue
│ ├── cloudManager.vue
│ ├── cloudSetting
│ │ ├── languageConfig.vue
│ │ ├── ldapConfig.vue
│ │ ├── ocrConfig.vue
│ │ ├── officeConfig.vue
│ │ ├── previewConfig.vue
│ │ └── transcodeConfig.vue
│ ├── ossManager.vue
│ ├── sys
│ │ ├── cusomerInfo.vue
│ │ ├── cusomerManager.vue
│ │ ├── logList.vue
│ │ ├── logLogin.vue
│ │ ├── logOperation.vue
│ │ ├── menuManager.vue
│ │ └── roleManager.vue
│ └── taskProgress.vue
│ ├── share
│ └── index.vue
│ ├── tag
│ └── index.vue
│ ├── trash
│ └── index.vue
│ └── upload
│ └── mobile
│ └── index.vue
├── test
└── testes5.html
└── vue.config.js
/.editorconfig:
--------------------------------------------------------------------------------
1 | # http://editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | indent_style = space
7 | indent_size = 2
8 | end_of_line = lf
9 | insert_final_newline = true
10 | trim_trailing_whitespace = true
11 |
--------------------------------------------------------------------------------
/.env:
--------------------------------------------------------------------------------
1 | API=http://localhost:8088
2 | API_BASE_URL=http://localhost:8088
3 | API_DRAWIO_URL=http://localhost:8088
4 | API_OFFICE_URL=http://localhost:8088
5 |
--------------------------------------------------------------------------------
/.env.development:
--------------------------------------------------------------------------------
1 | ENV = 'development'
2 | # base api
3 | VUE_APP_BASE_API = '/api'
4 |
--------------------------------------------------------------------------------
/.env.production:
--------------------------------------------------------------------------------
1 | ENV = 'production'
2 | # base api
3 | VUE_APP_BASE_API = '/api'
4 |
--------------------------------------------------------------------------------
/.env.test:
--------------------------------------------------------------------------------
1 | NODE_ENV = production
2 |
3 | # just a flag
4 | ENV = 'test'
5 |
6 | # base api
7 | VUE_APP_BASE_API = '/api'
8 |
--------------------------------------------------------------------------------
/.github/release-drafter.yml:
--------------------------------------------------------------------------------
1 | # .github/release-drafter.yml
2 | name-template: 'v$NEXT_PATCH_VERSION'
3 | tag-template: 'v$NEXT_PATCH_VERSION'
4 | categories:
5 | - title: '新功能 ✨'
6 | labels:
7 | - 'feature'
8 | - title: '修复 🐛'
9 | labels:
10 | - 'bug'
11 | - title: '优化 🎨️'
12 | labels:
13 | - 'improvement'
14 | change-template: '- $TITLE (#$NUMBER)'
15 | no-changes-template: '- No changes'
16 | template: |
17 |
18 | [docker-docker.yml](https://github.com/jamebal/jmal-cloud-server/blob/master/docker-compose.base.yml)
19 |
20 | #### 更新前备份数据库
21 |
22 | ```shell
23 | docker exec -it jmalcloud_mongodb mongodump -d jmalcloud -o /dump/$PREVIOUS_TAG --gzip --quiet
24 | ```
25 |
26 | ```shell
27 | docker-compose pull && docker-compose up -d
28 | ```
29 |
30 | #### 清理旧镜像
31 | ```shell
32 | docker images --filter=reference='jmal/jmalcloud*' --filter "dangling=true" -q | xargs -r docker rmi
33 | ```
34 |
35 | ## Changes in this release:
36 |
37 | $CHANGES
38 |
39 | **Full Changelog**: [$PREVIOUS_TAG...v$NEXT_PATCH_VERSION](https://github.com/jamebal/jmal-cloud-view/compare/$PREVIOUS_TAG...v$NEXT_PATCH_VERSION)
40 |
--------------------------------------------------------------------------------
/.github/workflows/build-nginx-drawio.yml:
--------------------------------------------------------------------------------
1 | name: Build nginx with Draw.io Docker Image
2 |
3 | on:
4 | workflow_dispatch:
5 |
6 | jobs:
7 | build-and-push:
8 | runs-on: ubuntu-latest
9 |
10 | steps:
11 | - name: Checkout repository
12 | uses: actions/checkout@v4
13 |
14 | - name: Set up Docker Buildx
15 | uses: docker/setup-buildx-action@v3
16 |
17 | - name: Login to Docker Hub
18 | uses: docker/login-action@v3
19 | with:
20 | username: ${{ secrets.DOCKER_USERNAME }}
21 | password: ${{ secrets.DOCKER_PASSWORD }}
22 |
23 | - name: Build and push Docker image
24 | uses: docker/build-push-action@v5
25 | with:
26 | context: .
27 | file: docker/nginx-drawio/Dockerfile
28 | push: true
29 | tags: jmal/nginx-drawio:latest
30 | platforms: linux/amd64,linux/arm64
31 | username: ${{ secrets.DOCKER_USERNAME }}
32 | password: ${{ secrets.DOCKER_PASSWORD }}
33 |
--------------------------------------------------------------------------------
/.github/workflows/release-drafter.yml:
--------------------------------------------------------------------------------
1 | # .github/workflows/release-drafter.yml
2 | name: Release Drafter
3 |
4 | on:
5 | push:
6 | branches:
7 | - master
8 |
9 | jobs:
10 | update_release_draft:
11 | runs-on: ubuntu-latest
12 | steps:
13 | - uses: actions/checkout@v4
14 | - uses: release-drafter/release-drafter@v5
15 | with:
16 | config-name: release-drafter.yml
17 | env:
18 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | push.sh
2 | update.sh
3 | dist.tar
4 | .history/
5 | .DS_Store
6 | node_modules/
7 | dist/
8 | npm-debug.log*
9 | yarn-debug.log*
10 | yarn-error.log*
11 | package-lock.json
12 | tests/**/coverage/
13 |
14 | # Editor directories and files
15 | .idea
16 | .fleet
17 | .vscode
18 | *.suo
19 | *.ntvs*
20 | *.njsproj
21 | *.sln
22 |
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM jmal/nginx-drawio:latest
2 |
3 | COPY nginx.conf.no_office.template /etc/nginx/nginx.conf.no_office.template
4 | COPY nginx.conf.template /etc/nginx/nginx.conf.template
5 |
6 | COPY dist /var/www/public
7 |
8 | COPY config.js.template /var/www/public/config.js.template
9 |
10 | COPY docker-entrypoint.sh /docker-entrypoint.sh
11 | RUN chmod +x /docker-entrypoint.sh
12 |
13 | EXPOSE 80
14 |
15 | ENTRYPOINT ["/docker-entrypoint.sh"]
16 | CMD ["nginx", "-g", "daemon off;"]
17 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 jmal
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/babel.config.js:
--------------------------------------------------------------------------------
1 | // https://www.babeljs.cn/
2 | module.exports = {
3 | presets: [
4 | '@vue/app'
5 | ],
6 | plugins: [
7 | ['import', {
8 | libraryName: 'vant',
9 | libraryDirectory: 'es',
10 | style: true
11 | }, 'vant'],
12 | ["import", { "libraryName": "ant-design-vue", "libraryDirectory": "es", "style": "css" }]
13 | ]
14 | }
15 |
--------------------------------------------------------------------------------
/build/index.js:
--------------------------------------------------------------------------------
1 | const { run } = require('runjs')
2 | const chalk = require('chalk')
3 | const config = require('../vue.config.js')
4 | const rawArgv = process.argv.slice(2)
5 | const args = rawArgv.join(' ')
6 |
7 | if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
8 | const report = rawArgv.includes('--report')
9 |
10 | run(`vue-cli-service build ${args}`)
11 |
12 | const port = 9526
13 | const publicPath = config.publicPath
14 |
15 | let connect = require('connect')
16 | let serveStatic = require('serve-static')
17 | const app = connect()
18 |
19 | app.use(
20 | publicPath,
21 | serveStatic('./dist', {
22 | index: ['index.html', '/']
23 | })
24 | )
25 |
26 | app.listen(port, function () {
27 | console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`))
28 | if (report) {
29 | console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`))
30 | }
31 |
32 | })
33 | } else {
34 | run(`vue-cli-service build ${args}`)
35 | }
36 |
--------------------------------------------------------------------------------
/config.js.template:
--------------------------------------------------------------------------------
1 | window._env_ = {
2 | API_URL: "${API_URL}",
3 | API_OFFICE_URL: "${API_OFFICE_URL}"
4 | };
5 |
--------------------------------------------------------------------------------
/doc/截屏 192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/doc/截屏 192.png
--------------------------------------------------------------------------------
/doc/截屏 28.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/doc/截屏 28.png
--------------------------------------------------------------------------------
/doc/截屏 29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/doc/截屏 29.png
--------------------------------------------------------------------------------
/doc/截屏 30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/doc/截屏 30.png
--------------------------------------------------------------------------------
/doc/截屏 31.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/doc/截屏 31.png
--------------------------------------------------------------------------------
/doc/截屏 32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/doc/截屏 32.png
--------------------------------------------------------------------------------
/doc/截屏 33.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/doc/截屏 33.png
--------------------------------------------------------------------------------
/docker-entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -e
3 |
4 | # 使用 getent 检查是否可以解析 office 容器的 IP
5 | if getent hosts office &> /dev/null; then
6 | # 使用包含 office 的 Nginx 配置
7 | cp /etc/nginx/nginx.conf.template /etc/nginx/nginx.conf
8 | else
9 | # 使用不包含 office 的 Nginx 配置
10 | cp /etc/nginx/nginx.conf.no_office.template /etc/nginx/nginx.conf
11 | fi
12 |
13 | envsubst '${API_URL} ${API_OFFICE_URL}' < /var/www/public/config.js.template > /var/www/public/config.js
14 | exec "$@"
15 |
--------------------------------------------------------------------------------
/docker/nginx-drawio/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM nginx:latest
2 |
3 | RUN apt-get update && \
4 | apt-get install -y unzip wget && \
5 | mkdir -p /etc/nginx/servers /var/www && \
6 | wget https://github.com/jgraph/drawio/releases/download/v24.4.10/draw.war -O /var/www/draw.war && \
7 | wget https://github.com/mozilla/pdf.js/releases/download/v4.3.136/pdfjs-4.3.136-dist.zip -O /var/www/pdfjs.zip && \
8 | wget https://github.com/jamebal/excalidraw/releases/download/v0.17.3/build.tar.gz -O /var/www/excalidraw.tar.gz && \
9 | mkdir -p /var/www/excalidraw && \
10 | unzip /var/www/draw.war -d /var/www/draw && \
11 | unzip /var/www/pdfjs.zip -d /var/www/pdfjs && \
12 | tar -xvf /var/www/excalidraw.tar.gz -C /var/www/excalidraw && \
13 | rm -rf /var/www/pdfjs.zip /var/www/excalidraw.tar.gz /var/www/draw.war /var/www/draw/META-INF /var/www/draw/WEB-INF && \
14 | apt-get remove -y unzip wget && \
15 | apt-get autoremove -y && \
16 | apt-get clean
17 |
18 | COPY docker/nginx-drawio/drawio.conf /etc/nginx/servers/drawio.conf
19 | COPY docker/nginx-drawio/excalidraw.conf /etc/nginx/servers/excalidraw.conf
20 | COPY docker/nginx-drawio/pdfjs.conf /etc/nginx/servers/pdfjs.conf
21 | COPY docker/nginx-drawio/mime.types /etc/nginx/mime.types
22 |
--------------------------------------------------------------------------------
/docker/nginx-drawio/drawio.conf:
--------------------------------------------------------------------------------
1 | server {
2 | listen 8080;
3 | server_name localhost;
4 | root /var/www/draw;
5 |
6 | location / {
7 | try_files $uri $uri/ /index.html;
8 | index index.html index.htm;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/docker/nginx-drawio/excalidraw.conf:
--------------------------------------------------------------------------------
1 | server {
2 | listen 8082;
3 | server_name localhost;
4 | root /var/www/excalidraw;
5 | client_max_body_size 100m;
6 | location / {
7 | try_files $uri $uri/ /index.html;
8 | index index.html index.htm;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/docker/nginx-drawio/pdfjs.conf:
--------------------------------------------------------------------------------
1 | server {
2 | listen 8081;
3 | server_name localhost;
4 | root /var/www/pdfjs;
5 | }
6 |
--------------------------------------------------------------------------------
/jsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es6",
4 | "baseUrl": "./",
5 | "paths": {
6 | "@/*": ["src/*"]
7 | }
8 | },
9 | "exclude": ["node_modules", "dist"]
10 | }
11 |
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | // https://github.com/michael-ciniawsky/postcss-load-config
2 | module.exports = {
3 | 'plugins': {
4 | 'autoprefixer': {}
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/prettier.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | singleQuote: true,
3 | semi: false,
4 | trailingComma: 'es6',
5 | tabWidth: 2,
6 | printWidth: 80,
7 | endOfLine: 'lf'
8 | }
9 |
--------------------------------------------------------------------------------
/public/config.js:
--------------------------------------------------------------------------------
1 | window._env_ = {
2 | API_URL: "",
3 | API_OFFICE_URL: "",
4 | };
5 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/favicon.ico
--------------------------------------------------------------------------------
/public/resource/font-awesome/free-6.4.2/webfonts/fa-brands-400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/font-awesome/free-6.4.2/webfonts/fa-brands-400.ttf
--------------------------------------------------------------------------------
/public/resource/font-awesome/free-6.4.2/webfonts/fa-brands-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/font-awesome/free-6.4.2/webfonts/fa-brands-400.woff2
--------------------------------------------------------------------------------
/public/resource/font-awesome/free-6.4.2/webfonts/fa-regular-400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/font-awesome/free-6.4.2/webfonts/fa-regular-400.ttf
--------------------------------------------------------------------------------
/public/resource/font-awesome/free-6.4.2/webfonts/fa-regular-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/font-awesome/free-6.4.2/webfonts/fa-regular-400.woff2
--------------------------------------------------------------------------------
/public/resource/font-awesome/free-6.4.2/webfonts/fa-solid-900.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/font-awesome/free-6.4.2/webfonts/fa-solid-900.ttf
--------------------------------------------------------------------------------
/public/resource/font-awesome/free-6.4.2/webfonts/fa-solid-900.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/font-awesome/free-6.4.2/webfonts/fa-solid-900.woff2
--------------------------------------------------------------------------------
/public/resource/font-awesome/free-6.4.2/webfonts/fa-v4compatibility.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/font-awesome/free-6.4.2/webfonts/fa-v4compatibility.ttf
--------------------------------------------------------------------------------
/public/resource/font-awesome/free-6.4.2/webfonts/fa-v4compatibility.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/font-awesome/free-6.4.2/webfonts/fa-v4compatibility.woff2
--------------------------------------------------------------------------------
/public/resource/pl-table@2.7.5/themes/fonts/element-icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/pl-table@2.7.5/themes/fonts/element-icons.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/b3log.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/b3log.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/chainbook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/chainbook.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/doge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/doge.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/hacpai.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/hacpai.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/huaji.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/huaji.gif
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/latke.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/latke.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/lute.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/lute.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/octocat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/octocat.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/pipe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/pipe.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/solo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/solo.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/sym.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/sym.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/trollface.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/trollface.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/vditor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/vditor.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/wide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/wide.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/emoji/wulian.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/emoji/wulian.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/images/logo.png
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_AMS-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_AMS-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_AMS-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_AMS-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_AMS-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_AMS-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Bold.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Bold.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Bold.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Bold.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-BoldItalic.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Italic.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Italic.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Italic.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Main-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-BoldItalic.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-Italic.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-Italic.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Math-Italic.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Bold.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Italic.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Script-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Script-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Script-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Script-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Script-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Script-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size1-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size1-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size1-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size1-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size1-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size1-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size2-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size2-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size2-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size2-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size2-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size2-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size3-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size3-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size3-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size3-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size3-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size3-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size4-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size4-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size4-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size4-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size4-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Size4-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Typewriter-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Typewriter-Regular.ttf
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/public/resource/vditor@3.9.3/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff2
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/js/mathjax/sre/sre-node.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | var SRE = require("speech-rule-engine");
4 | global.SRE = SRE;
5 | global.sre = Object.create(SRE);
6 | global.sre.Engine = {
7 | isReady: function () {
8 | return SRE.engineReady();
9 | }
10 | };
11 | //# sourceMappingURL=sre-node.js.map
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/devtools/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare class DevTools {
3 | element: HTMLDivElement;
4 | private ASTChart;
5 | constructor();
6 | renderEchart(vditor: IVditor): void;
7 | }
8 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/export/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const download: (vditor: IVditor, content: string, filename: string) => void;
3 | export declare const exportMarkdown: (vditor: IVditor) => void;
4 | export declare const exportPDF: (vditor: IVditor) => void;
5 | export declare const exportHTML: (vditor: IVditor) => void;
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/hint/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare class Hint {
3 | timeId: number;
4 | element: HTMLDivElement;
5 | recentLanguage: string;
6 | private splitChar;
7 | private lastIndex;
8 | constructor(hintExtends: IHintExtend[]);
9 | render(vditor: IVditor): void;
10 | genHTML(data: IHintData[], key: string, vditor: IVditor): void;
11 | fillEmoji: (element: HTMLElement, vditor: IVditor) => void;
12 | select(event: KeyboardEvent, vditor: IVditor): boolean;
13 | private getKey;
14 | }
15 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ir/expandMarker.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const expandMarker: (range: Range, vditor: IVditor) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ir/highlightToolbarIR.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const highlightToolbarIR: (vditor: IVditor) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ir/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare class IR {
3 | range: Range;
4 | element: HTMLPreElement;
5 | processTimeoutId: number;
6 | hlToolbarTimeoutId: number;
7 | composingLock: boolean;
8 | preventInput: boolean;
9 | constructor(vditor: IVditor);
10 | private copy;
11 | private bindEvent;
12 | }
13 | export { IR };
14 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ir/input.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const input: (vditor: IVditor, range: Range, ignoreSpace?: boolean, event?: InputEvent) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ir/process.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const processHint: (vditor: IVditor) => void;
3 | export declare const processAfterRender: (vditor: IVditor, options?: {
4 | enableAddUndoStack: boolean;
5 | enableHint: boolean;
6 | enableInput: boolean;
7 | }) => void;
8 | export declare const processHeading: (vditor: IVditor, value: string) => void;
9 | export declare const processToolbar: (vditor: IVditor, actionBtn: Element, prefix: string, suffix: string) => void;
10 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ir/processKeydown.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/abcRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const abcRender: (element?: (HTMLElement | Document), cdn?: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/anchorRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const anchorRender: (type: number) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/chartRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const chartRender: (element: (HTMLElement | Document), cdn: string, theme: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/codeRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const codeRender: (element: HTMLElement) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/flowchartRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const flowchartRender: (element: HTMLElement, cdn?: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/getHTML.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const getHTML: (vditor: IVditor) => string;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/getMarkdown.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const getMarkdown: (vditor: IVditor) => string;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/graphvizRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const graphvizRender: (element: HTMLElement, cdn?: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/highlightRender.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const highlightRender: (hljsOption?: IHljs, element?: HTMLElement | Document, cdn?: string) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/lazyLoadImageRender.d.ts:
--------------------------------------------------------------------------------
1 | declare global {
2 | interface Window {
3 | vditorImageIntersectionObserver: IntersectionObserver;
4 | }
5 | }
6 | export declare const lazyLoadImageRender: (element?: (HTMLElement | Document)) => boolean;
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/markmapRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const markmapRender: (element: HTMLElement, cdn: string, theme: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/mathRender.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare global {
3 | interface Window {
4 | MathJax: any;
5 | }
6 | }
7 | export declare const mathRender: (element: HTMLElement, options?: {
8 | cdn?: string;
9 | math?: IMath;
10 | }) => void;
11 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/mediaRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const mediaRender: (element: HTMLElement) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/mermaidRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const mermaidRender: (element: HTMLElement, cdn: string, theme: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/mindmapRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const mindmapRender: (element: (HTMLElement | Document), cdn: string, theme: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/outlineRender.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const outlineRender: (contentElement: HTMLElement, targetElement: Element, vditor?: IVditor) => string;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/plantumlRender.d.ts:
--------------------------------------------------------------------------------
1 | export declare const plantumlRender: (element?: (HTMLElement | Document), cdn?: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/previewRender.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const md2html: (mdText: string, options?: IPreviewOptions) => Promise;
3 | export declare const previewRender: (previewElement: HTMLDivElement, markdown: string, options?: IPreviewOptions) => Promise;
4 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/setLute.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const setLute: (options: ILuteOptions) => Lute;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/markdown/speechRender.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare global {
3 | interface Window {
4 | vditorSpeechRange: Range;
5 | }
6 | }
7 | export declare const speechRender: (element: HTMLElement, lang?: keyof II18n) => void;
8 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/outline/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare class Outline {
3 | element: HTMLElement;
4 | constructor(outlineLabel: string);
5 | render(vditor: IVditor): string;
6 | toggle(vditor: IVditor, show?: boolean, focus?: boolean): void;
7 | }
8 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/preview/image.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const previewImage: (oldImgElement: HTMLImageElement, lang?: keyof II18n, theme?: string) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/preview/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare class Preview {
3 | element: HTMLElement;
4 | private mdTimeoutId;
5 | constructor(vditor: IVditor);
6 | render(vditor: IVditor, value?: string): void;
7 | private afterRender;
8 | private copyToX;
9 | }
10 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/resize/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare class Resize {
3 | element: HTMLElement;
4 | constructor(vditor: IVditor);
5 | private bindEvent;
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/sv/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare class Editor {
3 | range: Range;
4 | element: HTMLPreElement;
5 | composingLock: boolean;
6 | processTimeoutId: number;
7 | hlToolbarTimeoutId: number;
8 | preventInput: boolean;
9 | constructor(vditor: IVditor);
10 | private copy;
11 | private bindEvent;
12 | }
13 | export { Editor };
14 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/sv/inputEvent.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const inputEvent: (vditor: IVditor, event?: InputEvent) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/sv/process.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const processPaste: (vditor: IVditor, text: string) => void;
3 | export declare const getSideByType: (spanNode: Node, type: string, isPrevious?: boolean) => false | Element;
4 | export declare const processSpinVditorSVDOM: (html: string, vditor: IVditor) => string;
5 | export declare const processPreviousMarkers: (spanElement: HTMLElement) => string;
6 | export declare const processAfterRender: (vditor: IVditor, options?: {
7 | enableAddUndoStack: boolean;
8 | enableHint: boolean;
9 | enableInput: boolean;
10 | }) => void;
11 | export declare const processHeading: (vditor: IVditor, value: string) => void;
12 | export declare const processToolbar: (vditor: IVditor, actionBtn: Element, prefix: string, suffix: string) => void;
13 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/sv/processKeydown.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/tip/index.d.ts:
--------------------------------------------------------------------------------
1 | export declare class Tip {
2 | element: HTMLElement;
3 | constructor();
4 | show(text: string, time?: number): void;
5 | hide(): void;
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Both.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Both extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Br.d.ts:
--------------------------------------------------------------------------------
1 | export declare class Br {
2 | element: HTMLElement;
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/CodeTheme.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class CodeTheme extends MenuItem {
4 | element: HTMLElement;
5 | constructor(vditor: IVditor, menuItem: IMenuItem);
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/ContentTheme.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class ContentTheme extends MenuItem {
4 | element: HTMLElement;
5 | constructor(vditor: IVditor, menuItem: IMenuItem);
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Counter.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare class Counter {
3 | element: HTMLElement;
4 | constructor(vditor: IVditor);
5 | render(vditor: IVditor, mdText: string): void;
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Custom.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Custom extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Devtools.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Devtools extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Divider.d.ts:
--------------------------------------------------------------------------------
1 | export declare class Divider {
2 | element: HTMLElement;
3 | constructor();
4 | }
5 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/EditMode.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare const setEditMode: (vditor: IVditor, type: string, event: Event | string) => void;
4 | export declare class EditMode extends MenuItem {
5 | element: HTMLElement;
6 | constructor(vditor: IVditor, menuItem: IMenuItem);
7 | _bindEvent(vditor: IVditor, panelElement: HTMLElement, menuItem: IMenuItem): void;
8 | }
9 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Emoji.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Emoji extends MenuItem {
4 | element: HTMLElement;
5 | constructor(vditor: IVditor, menuItem: IMenuItem);
6 | private bindEvent;
7 | }
8 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Export.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Export extends MenuItem {
4 | element: HTMLElement;
5 | constructor(vditor: IVditor, menuItem: IMenuItem);
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Fullscreen.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Fullscreen extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | _bindEvent(vditor: IVditor, menuItem: IMenuItem): void;
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Headings.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Headings extends MenuItem {
4 | element: HTMLElement;
5 | constructor(vditor: IVditor, menuItem: IMenuItem);
6 | _bindEvent(vditor: IVditor, panelElement: HTMLElement): void;
7 | }
8 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Help.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Help extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Indent.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Indent extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Info.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Info extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/InsertAfter.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class InsertAfter extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/InsertBefore.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class InsertBefore extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/MenuItem.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare class MenuItem {
3 | element: HTMLElement;
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Outdent.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Outdent extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Outline.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Outline extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Preview.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Preview extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | _bindEvent(vditor: IVditor): void;
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Record.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Record extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | _bindEvent(vditor: IVditor): void;
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Redo.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Redo extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Undo.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Undo extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | }
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/Upload.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | import { MenuItem } from "./MenuItem";
3 | export declare class Upload extends MenuItem {
4 | constructor(vditor: IVditor, menuItem: IMenuItem);
5 | _bindEvent(vditor: IVditor): void;
6 | }
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare class Toolbar {
3 | elements: {
4 | [key: string]: HTMLElement;
5 | };
6 | element: HTMLElement;
7 | constructor(vditor: IVditor);
8 | private genItem;
9 | }
10 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/toolbar/setToolbar.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const removeCurrentToolbar: (toolbar: {
3 | [key: string]: HTMLElement;
4 | }, names: string[]) => void;
5 | export declare const setCurrentToolbar: (toolbar: {
6 | [key: string]: HTMLElement;
7 | }, names: string[]) => void;
8 | export declare const enableToolbar: (toolbar: {
9 | [key: string]: HTMLElement;
10 | }, names: string[]) => void;
11 | export declare const disableToolbar: (toolbar: {
12 | [key: string]: HTMLElement;
13 | }, names: string[]) => void;
14 | export declare const hideToolbar: (toolbar: {
15 | [key: string]: HTMLElement;
16 | }, names: string[]) => void;
17 | export declare const showToolbar: (toolbar: {
18 | [key: string]: HTMLElement;
19 | }, names: string[]) => void;
20 | export declare const hidePanel: (vditor: IVditor, panels: string[], exceptElement?: HTMLElement) => void;
21 | export declare const toggleSubMenu: (vditor: IVditor, panelElement: HTMLElement, actionBtn: Element, level: number) => void;
22 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ui/initUI.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare global {
3 | interface Window {
4 | visualViewport: HTMLElement;
5 | }
6 | }
7 | export declare const initUI: (vditor: IVditor) => void;
8 | export declare const setPadding: (vditor: IVditor) => void;
9 | export declare const setTypewriterPosition: (vditor: IVditor) => void;
10 | export declare function UIUnbindListener(): void;
11 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ui/setCodeTheme.d.ts:
--------------------------------------------------------------------------------
1 | export declare const setCodeTheme: (codeTheme: string, cdn?: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ui/setContentTheme.d.ts:
--------------------------------------------------------------------------------
1 | export declare const setContentTheme: (contentTheme: string, path: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ui/setPreviewMode.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const setPreviewMode: (mode: "both" | "editor", vditor: IVditor) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/ui/setTheme.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const setTheme: (vditor: IVditor) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/undo/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare class Undo {
3 | private stackSize;
4 | private dmp;
5 | private wysiwyg;
6 | private ir;
7 | private sv;
8 | constructor();
9 | clearStack(vditor: IVditor): void;
10 | resetIcon(vditor: IVditor): void;
11 | undo(vditor: IVditor): void;
12 | redo(vditor: IVditor): void;
13 | recordFirstPosition(vditor: IVditor, event: KeyboardEvent): void;
14 | addToUndoStack(vditor: IVditor): void;
15 | private renderDiff;
16 | private resetStack;
17 | private addCaret;
18 | }
19 | export { Undo };
20 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/upload/getElement.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const getElement: (vditor: IVditor) => HTMLPreElement;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/upload/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare class Upload {
3 | element: HTMLElement;
4 | isUploading: boolean;
5 | range: Range;
6 | constructor();
7 | }
8 | declare const uploadFiles: (vditor: IVditor, files: FileList | DataTransferItemList | File[], element?: HTMLInputElement) => Promise;
9 | export { Upload, uploadFiles };
10 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/upload/setHeaders.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const setHeaders: (vditor: IVditor, xhr: XMLHttpRequest) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/Options.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare class Options {
3 | options: IOptions;
4 | private defaultOptions;
5 | constructor(options: IOptions);
6 | merge(): IOptions;
7 | private mergeToolbar;
8 | }
9 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/RecordMedia.d.ts:
--------------------------------------------------------------------------------
1 | export declare class RecordMedia {
2 | SAMPLE_RATE: number;
3 | DEFAULT_SAMPLE_RATE: number;
4 | isRecording: boolean;
5 | readyFlag: boolean;
6 | leftChannel: Float32List[];
7 | rightChannel: Float32List[];
8 | recordingLength: number;
9 | recorder: ScriptProcessorNode;
10 | constructor(e: MediaStream);
11 | cloneChannelData(leftChannelData: Float32List, rightChannelData: Float32List): void;
12 | startRecordingNewWavFile(): void;
13 | stopRecording(): void;
14 | buildWavFileBlob(): Blob;
15 | private downSampleBuffer;
16 | private mergeBuffers;
17 | private writeUTFBytes;
18 | }
19 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/addScript.d.ts:
--------------------------------------------------------------------------------
1 | export declare const addScriptSync: (path: string, id: string) => boolean;
2 | export declare const addScript: (path: string, id: string) => Promise;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/addStyle.d.ts:
--------------------------------------------------------------------------------
1 | export declare const addStyle: (url: string, id: string) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/code160to32.d.ts:
--------------------------------------------------------------------------------
1 | export declare const code160to32: (text: string) => string;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/compatibility.d.ts:
--------------------------------------------------------------------------------
1 | export declare const isSafari: () => boolean;
2 | export declare const isFirefox: () => boolean;
3 | export declare const accessLocalStorage: () => boolean;
4 | export declare const getEventName: () => "click" | "touchstart";
5 | export declare const isCtrl: (event: KeyboardEvent) => boolean;
6 | export declare const updateHotkeyTip: (hotkey: string) => string;
7 | export declare const isChrome: () => boolean;
8 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/editorCommonEvent.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const focusEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
3 | export declare const dblclickEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
4 | export declare const blurEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
5 | export declare const dropEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
6 | export declare const copyEvent: (vditor: IVditor, editorElement: HTMLElement, copy: (event: ClipboardEvent, vditor: IVditor) => void) => void;
7 | export declare const cutEvent: (vditor: IVditor, editorElement: HTMLElement, copy: (event: ClipboardEvent, vditor: IVditor) => void) => void;
8 | export declare const scrollCenter: (vditor: IVditor) => void;
9 | export declare const hotkeyEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
10 | export declare const selectEvent: (vditor: IVditor, editorElement: HTMLElement) => void;
11 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/getSelectText.d.ts:
--------------------------------------------------------------------------------
1 | export declare const getSelectText: (editor: HTMLElement, range?: Range) => string;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/hasClosest.d.ts:
--------------------------------------------------------------------------------
1 | export declare const hasTopClosestByClassName: (element: Node, className: string) => false | HTMLElement;
2 | export declare const hasTopClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement;
3 | export declare const hasTopClosestByTag: (element: Node, nodeName: string) => false | HTMLElement;
4 | export declare const getTopList: (element: Node) => false | HTMLElement;
5 | export declare const hasClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement;
6 | export declare const hasClosestBlock: (element: Node) => false | HTMLElement;
7 | export declare const hasClosestByMatchTag: (element: Node, nodeName: string) => false | HTMLElement;
8 | export declare const hasClosestByClassName: (element: Node, className: string) => false | HTMLElement;
9 | export declare const getLastNode: (node: Node) => Node;
10 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/hasClosestByHeadings.d.ts:
--------------------------------------------------------------------------------
1 | export declare const hasClosestByTag: (element: Node, nodeName: string) => false | HTMLElement;
2 | export declare const hasClosestByHeadings: (element: Node) => false | HTMLElement;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/highlightToolbar.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const highlightToolbar: (vditor: IVditor) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/hotKey.d.ts:
--------------------------------------------------------------------------------
1 | export declare const matchHotKey: (hotKey: string, event: KeyboardEvent) => boolean;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/log.d.ts:
--------------------------------------------------------------------------------
1 | export declare const log: (method: string, content: string, type: string, print: boolean) => void;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/merge.d.ts:
--------------------------------------------------------------------------------
1 | export declare const merge: (...options: any[]) => any;
2 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/processCode.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const processPasteCode: (html: string, text: string, type?: string) => string | false;
3 | export declare const processCodeRender: (previewPanel: HTMLElement, vditor: IVditor) => void;
4 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/selection.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const getEditorRange: (vditor: IVditor) => Range;
3 | export declare const getCursorPosition: (editor: HTMLElement) => {
4 | left: number;
5 | top: number;
6 | };
7 | export declare const selectIsEditor: (editor: HTMLElement, range?: Range) => boolean;
8 | export declare const setSelectionFocus: (range: Range) => void;
9 | export declare const getSelectPosition: (selectElement: HTMLElement, editorElement: HTMLElement, range?: Range) => {
10 | end: number;
11 | start: number;
12 | };
13 | export declare const setSelectionByPosition: (start: number, end: number, editor: HTMLElement) => Range;
14 | export declare const setRangeByWbr: (element: HTMLElement, range: Range) => void;
15 | export declare const insertHTML: (html: string, vditor: IVditor) => void;
16 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/util/toc.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const renderToc: (vditor: IVditor) => void;
3 | export declare const clickToc: (event: MouseEvent & {
4 | target: HTMLElement;
5 | }, vditor: IVditor) => void;
6 | export declare const keydownToc: (blockElement: HTMLElement, vditor: IVditor, event: KeyboardEvent, range: Range) => boolean;
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/afterRenderEvent.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const afterRenderEvent: (vditor: IVditor, options?: {
3 | enableAddUndoStack: boolean;
4 | enableHint: boolean;
5 | enableInput: boolean;
6 | }) => void;
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/highlightToolbarWYSIWYG.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const highlightToolbarWYSIWYG: (vditor: IVditor) => void;
3 | export declare const genLinkRefPopover: (vditor: IVditor, linkRefElement: HTMLElement, range?: Range) => void;
4 | export declare const genAPopover: (vditor: IVditor, aElement: HTMLElement, range: Range) => void;
5 | export declare const genImagePopover: (event: Event, vditor: IVditor) => void;
6 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/index.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | declare class WYSIWYG {
3 | range: Range;
4 | element: HTMLPreElement;
5 | popover: HTMLDivElement;
6 | selectPopover: HTMLDivElement;
7 | afterRenderTimeoutId: number;
8 | hlToolbarTimeoutId: number;
9 | preventInput: boolean;
10 | composingLock: boolean;
11 | commentIds: string[];
12 | private scrollListener;
13 | constructor(vditor: IVditor);
14 | getComments(vditor: IVditor, getData?: boolean): ICommentsData[];
15 | triggerRemoveComment(vditor: IVditor): void;
16 | showComment(): void;
17 | hideComment(): void;
18 | unbindListener(): void;
19 | private copy;
20 | private bindEvent;
21 | }
22 | export { WYSIWYG };
23 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/inlineTag.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const previoueIsEmptyA: (node: Node) => false | HTMLElement;
3 | export declare const nextIsCode: (range: Range) => boolean;
4 | export declare const getNextHTML: (node: Node) => string;
5 | export declare const getPreviousHTML: (node: Node) => string;
6 | export declare const getRenderElementNextNode: (blockCodeElement: HTMLElement) => ChildNode;
7 | export declare const splitElement: (range: Range) => {
8 | afterHTML: string;
9 | beforeHTML: string;
10 | };
11 | export declare const modifyPre: (vditor: IVditor, range: Range) => void;
12 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/input.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const input: (vditor: IVditor, range: Range, event?: InputEvent) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/processKeydown.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const processKeydown: (vditor: IVditor, event: KeyboardEvent) => boolean;
3 | export declare const removeBlockElement: (vditor: IVditor, event: KeyboardEvent) => boolean;
4 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/renderDomByMd.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const renderDomByMd: (vditor: IVditor, md: string, options?: {
3 | enableAddUndoStack: boolean;
4 | enableHint: boolean;
5 | enableInput: boolean;
6 | }) => void;
7 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/setHeading.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const setHeading: (vditor: IVditor, tagName: string) => void;
3 | export declare const removeHeading: (vditor: IVditor) => void;
4 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/showCode.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const showCode: (previewElement: HTMLElement, vditor: IVditor, first?: boolean) => void;
3 |
--------------------------------------------------------------------------------
/public/resource/vditor@3.9.3/dist/ts/wysiwyg/toolbarEvent.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | export declare const toolbarEvent: (vditor: IVditor, actionBtn: Element, event: Event) => void;
3 |
--------------------------------------------------------------------------------
/railway.yaml:
--------------------------------------------------------------------------------
1 | deployment:
2 | - name: jmal-cloud-view
3 | type: docker
4 | configVars:
5 | - PORT: 80
6 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
26 |
--------------------------------------------------------------------------------
/src/api/category.js:
--------------------------------------------------------------------------------
1 | import request from '@/utils/request'
2 | const qs = require('qs')
3 |
4 | export default {
5 | categories(params) {
6 | return request({
7 | url: 'category/list',
8 | method: 'get',
9 | params
10 | })
11 | },
12 | categoryTree(params) {
13 | return request({
14 | url: 'category/tree',
15 | method: 'get',
16 | params
17 | })
18 | },
19 | categoryInfo(params) {
20 | return request({
21 | url: 'category/info',
22 | method: 'get',
23 | params
24 | })
25 | },
26 | add(data) {
27 | return request({
28 | url: 'category/add',
29 | method: 'post',
30 | data
31 | })
32 | },
33 | update(data) {
34 | return request({
35 | url: 'category/update',
36 | method: 'put',
37 | data
38 | })
39 | },
40 | setDefault(params) {
41 | return request({
42 | url: 'category/setDefault',
43 | method: 'put',
44 | params
45 | })
46 | },
47 | delete(params) {
48 | return request({
49 | url: 'category/delete',
50 | method: 'delete',
51 | params,
52 | paramsSerializer: function(params) {
53 | return qs.stringify(params, { arrayFormat: 'repeat' })
54 | }
55 | })
56 | }
57 | }
58 |
59 |
--------------------------------------------------------------------------------
/src/api/log.js:
--------------------------------------------------------------------------------
1 | import request from '@/utils/request'
2 |
3 | export default {
4 | logList(params) {
5 | return request({
6 | url: '/log/list',
7 | method: 'get',
8 | params
9 | })
10 | },
11 | getFileOperationHistory(params) {
12 | return request({
13 | url: '/log/getFileOperationHistory',
14 | method: 'get',
15 | params
16 | })
17 | },
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/src/api/menu.js:
--------------------------------------------------------------------------------
1 | import request from '@/utils/request'
2 | const qs = require('qs')
3 |
4 | export default {
5 | menuTree(params) {
6 | return request({
7 | url: '/menu/tree',
8 | method: 'get',
9 | params
10 | })
11 | },
12 | // 权限标识列表
13 | authorityList(params) {
14 | return request({
15 | url: '/menu/authorities',
16 | method: 'get',
17 | params
18 | })
19 | },
20 | // 菜单信息
21 | menuInfo(params) {
22 | return request({
23 | url: '/menu/info',
24 | method: 'get',
25 | params
26 | })
27 | },
28 | add(data) {
29 | return request({
30 | url: '/menu/add',
31 | method: 'post',
32 | data
33 | })
34 | },
35 | update(data) {
36 | return request({
37 | url: 'menu/update',
38 | method: 'put',
39 | data
40 | })
41 | },
42 | delete(params) {
43 | return request({
44 | url: '/menu/delete',
45 | method: 'delete',
46 | params,
47 | paramsSerializer: function(params) {
48 | return qs.stringify(params, { arrayFormat: 'repeat' })
49 | }
50 | })
51 | }
52 | }
53 |
54 |
--------------------------------------------------------------------------------
/src/api/oss.js:
--------------------------------------------------------------------------------
1 | import request from '@/utils/request'
2 | const qs = require('qs')
3 |
4 | export default {
5 | /**
6 | * 获取OSS平台列表
7 | */
8 | getPlatformList: function(params) {
9 | return request({
10 | url: '/oss/getPlatformList',
11 | method: 'get',
12 | params
13 | })
14 | },
15 | /**
16 | * OSS配置列表
17 | */
18 | ossConfigList: function(params) {
19 | return request({
20 | url: '/oss/ossConfigList',
21 | method: 'get',
22 | params
23 | })
24 | },
25 | /**
26 | * 新增/修改OSS配置
27 | */
28 | putOssConfig: function(data) {
29 | return request({
30 | url: '/oss/putOssConfig',
31 | method: 'put',
32 | data
33 | })
34 | },
35 | /**
36 | * 删除OSS配置
37 | */
38 | deleteOssConfig: function(params) {
39 | return request({
40 | url: '/oss/deleteOssConfig',
41 | method: 'delete',
42 | params,
43 | paramsSerializer: function(params) {
44 | return qs.stringify(params, { arrayFormat: 'repeat' })
45 | }
46 | })
47 | },
48 | }
49 |
--------------------------------------------------------------------------------
/src/api/role.js:
--------------------------------------------------------------------------------
1 | import request from '@/utils/request'
2 | const qs = require('qs')
3 |
4 | export default {
5 | roleList(params) {
6 | return request({
7 | url: '/role/list',
8 | method: 'get',
9 | params
10 | })
11 | },
12 | add(data) {
13 | return request({
14 | url: '/role/add',
15 | method: 'post',
16 | data
17 | })
18 | },
19 | update(data) {
20 | return request({
21 | url: 'role/update',
22 | method: 'put',
23 | data
24 | })
25 | },
26 | delete(params) {
27 | return request({
28 | url: '/role/delete',
29 | method: 'delete',
30 | params,
31 | paramsSerializer: function(params) {
32 | return qs.stringify(params, { arrayFormat: 'repeat' })
33 | }
34 | })
35 | }
36 | }
37 |
38 |
--------------------------------------------------------------------------------
/src/api/table.js:
--------------------------------------------------------------------------------
1 | import request from '@/utils/request'
2 |
3 | export function getList(params) {
4 | return request({
5 | url: '/vue-admin-template/table/list',
6 | method: 'get',
7 | params
8 | })
9 | }
10 |
--------------------------------------------------------------------------------
/src/assets/404_images/404.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/404_images/404.png
--------------------------------------------------------------------------------
/src/assets/404_images/404_cloud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/404_images/404_cloud.png
--------------------------------------------------------------------------------
/src/assets/img/Ripple-1s-200px.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/Ripple-1s-200px.gif
--------------------------------------------------------------------------------
/src/assets/img/arrow1_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/arrow1_left.png
--------------------------------------------------------------------------------
/src/assets/img/beian.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/beian.png
--------------------------------------------------------------------------------
/src/assets/img/cancel-share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/cancel-share.png
--------------------------------------------------------------------------------
/src/assets/img/default-avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/default-avatar.png
--------------------------------------------------------------------------------
/src/assets/img/emptyfile_intro.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/emptyfile_intro.jpeg
--------------------------------------------------------------------------------
/src/assets/img/hide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/hide.png
--------------------------------------------------------------------------------
/src/assets/img/history.svg:
--------------------------------------------------------------------------------
1 |
3 |
12 |
--------------------------------------------------------------------------------
/src/assets/img/iina.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/iina.webp
--------------------------------------------------------------------------------
/src/assets/img/infuse.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/infuse.webp
--------------------------------------------------------------------------------
/src/assets/img/login-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/login-bg.png
--------------------------------------------------------------------------------
/src/assets/img/move-file.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file1.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file10.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file11.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file12.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file13.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file14.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file15.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file16.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file17.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file18.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file19.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file2.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file20.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file21.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file22.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file23.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file24.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file25.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file25.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file26.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file26.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file27.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file28.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file28.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file29.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file3.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file30.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file30.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file31.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file31.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file32.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file33.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file33.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file34.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file34.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file35.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file35.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file36.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file36.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file37.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file37.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file38.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file38.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file39.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file39.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file4.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file40.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file41.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file41.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file42.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file42.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file43.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file43.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file44.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file44.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file45.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file45.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file46.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file46.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file47.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file47.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file48.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file49.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file49.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file5.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file50.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file51.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file51.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file52.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file52.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file53.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file53.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file54.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file54.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file55.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file55.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file56.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file56.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file57.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file57.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file58.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file58.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file59.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file59.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file6.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file60.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file61.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file61.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file62.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file62.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file63.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file63.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file64.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file65.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file65.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file66.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file66.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file67.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file67.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file68.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file68.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file69.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file69.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file7.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file70.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file70.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file71.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file71.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file72.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file73.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file73.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file74.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file74.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file75.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file75.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file76.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file77.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file77.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file78.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file78.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file79.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file79.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file8.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file80.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file81.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file81.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file82.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file82.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file83.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file83.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file84.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file84.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file85.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file85.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file86.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file86.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file87.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file87.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file88.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file88.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file89.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file89.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file9.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file90.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file90.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file91.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file91.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file92.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file92.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file93.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file93.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file94.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file94.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file95.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file95.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file96.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file97.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file97.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file98.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file98.png
--------------------------------------------------------------------------------
/src/assets/img/move-file/move-file99.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/move-file/move-file99.png
--------------------------------------------------------------------------------
/src/assets/img/music-default.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/music-default.jpeg
--------------------------------------------------------------------------------
/src/assets/img/nplayer.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/nplayer.webp
--------------------------------------------------------------------------------
/src/assets/img/pic_sharing_empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/img/pic_sharing_empty.png
--------------------------------------------------------------------------------
/src/assets/js/bus.js:
--------------------------------------------------------------------------------
1 | // import Vue from 'vue';
2 |
3 | export const EventBus = new Vue();
4 |
5 | export default {
6 | on(event, callback) {
7 | EventBus.$on(event, callback);
8 | },
9 | off(event, callback) {
10 | EventBus.$off(event, callback);
11 | },
12 | emit(event, ...args) {
13 | EventBus.$emit(event, ...args);
14 | },
15 | notify(any) {
16 | EventBus.$notify(any)
17 | }
18 | };
19 |
--------------------------------------------------------------------------------
/src/assets/js/config.js:
--------------------------------------------------------------------------------
1 | export const ACCEPT_CONFIG = {
2 | image: ['.png', '.jpg', '.jpeg', '.gif', '.bmp'],
3 | video: ['.mp4', '.rmvb', '.mkv', '.wmv', '.flv'],
4 | document: ['.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.pdf', '.txt', '.tif', '.tiff'],
5 | audio: ['.mp3'],
6 | application: ['.zip', '.rar'],
7 | getAll(){
8 | return [...this.image, ...this.video, ...this.document, ...this.audio, ...this.application]
9 | },
10 | };
11 |
--------------------------------------------------------------------------------
/src/assets/js/cropper.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jamebal/jmal-cloud-view/67bad747b6f77644ecc2e3bab1d88bbe6373cc01/src/assets/js/cropper.js
--------------------------------------------------------------------------------
/src/assets/js/mavon-line.js:
--------------------------------------------------------------------------------
1 |
2 | import $ from 'jquery'
3 | // import Vue from 'vue'
4 | export const addCodeBtn = _ => {
5 | //markdown代码存放在pre code 标签对中
6 | $('pre code').each(function () {
7 | let lines = $(this).text().split('\n').length - 1
8 | //添加有序列表
9 | let $numbering = $('').addClass('pre-numbering')
10 | //添加复制按钮,此处使用的是element-ui icon 图标
11 | let $copy = $('').addClass('el-icon-document-copy code-copy')
12 | $(this)
13 | .parent()
14 | .addClass('code')
15 | .append($numbering)
16 | .append($copy)
17 | for (let i = 0; i <= lines -1 ; i++) {
18 | $numbering.append($(''))
19 | }
20 | })
21 | //监听复制按钮点击事件
22 | $('pre .code i.code-copy').click(e => {
23 | let text = $(e.target).siblings('code').text()
24 | let element = $('')
25 | $('body').append(element)
26 | element[0].select()
27 | document.execCommand('Copy')
28 | element.remove()
29 | //这里是自定义的消息通知组件
30 | Vue.prototype.$message({
31 | message: '代码复制成功',
32 | type: 'success',
33 | duration: 1000,
34 | });
35 | })
36 | }
37 |
--------------------------------------------------------------------------------
/src/components/Minder/index.js:
--------------------------------------------------------------------------------
1 | import 'vue-kityminder-ggg/static/kity'
2 | import 'vue-kityminder-ggg/static/kityminder.core.min'
3 | import "hotboxkit/less/hotbox.less"
4 | import Editor from './minder'
5 |
6 | const MindEditor = {
7 | Minder: Editor
8 | };
9 |
10 | const install = function (Vue, opts = {}) {
11 | Object.keys(MindEditor).forEach((key) => {
12 | Vue.component(key, MindEditor[key]);
13 | });
14 | };
15 |
16 | // auto install
17 | if (typeof window !== 'undefined' && window.Vue) {
18 | install(window.Vue);
19 | }
20 | export default Object.assign(MindEditor, {install}); // eslint-disable-line no-undef
21 |
--------------------------------------------------------------------------------
/src/components/ParentView/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/src/components/SimpleUploader/images/folder.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/components/SimpleUploader/images/zip.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/components/button/CopyButton.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 | 复制链接
4 |
5 |
6 |
7 |
12 |
13 |
16 |
--------------------------------------------------------------------------------
/src/components/loading/AlLoading.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
22 |
--------------------------------------------------------------------------------
/src/components/preview/Artplayer.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
45 |
--------------------------------------------------------------------------------
/src/components/select/iconList.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
30 |
--------------------------------------------------------------------------------
/src/components/select/requireIcons.js:
--------------------------------------------------------------------------------
1 | const req = require.context('../../icons/svg', false, /\.svg$/)
2 | const requireAll = requireContext => requireContext.keys()
3 |
4 | const re = /\.\/(.*)\.svg/
5 |
6 | const icons = requireAll(req).map(i => {
7 | return i.match(re)[1]
8 | })
9 |
10 | export default icons
11 |
--------------------------------------------------------------------------------
/src/icons/index.js:
--------------------------------------------------------------------------------
1 | // import Vue from 'vue'
2 | import SvgIcon from '@/components/SvgIcon'// svg component
3 |
4 | // register globally
5 | Vue.component('svg-icon', SvgIcon)
6 |
7 | const req = require.context('./svg', false, /\.svg$/)
8 | const requireAll = requireContext => requireContext.keys().map(requireContext)
9 | requireAll(req)
10 |
--------------------------------------------------------------------------------
/src/icons/svg/audio.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/back.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/breadcrumb-right.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/cancel-share.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/close.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/document.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/example.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/eye-open.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/eye.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/file-Ds-store.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-add.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-bat.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-c.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/file-cmake.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-cpp.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-dart.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-excel.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-gitignore.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-h.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-idea.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-pem.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-pkg.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-ppt.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/file-swift.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-upload.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-vue.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-xls.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/file-xsl.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/folder-128.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/folder-add.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/folder-upload.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/folder.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/gongxiangzhongxin.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/home.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/link.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/md-list.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-addtab.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-copy.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-descending.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-deselect.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-details.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-download.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-empty.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-favorite-hover.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-favorite.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-list.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-null.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-open.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-point.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-remove.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-select.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-unfavorite-hover.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-unfavorite.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/menu-unselect.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/more.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/nested.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/open-folder.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/password.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/release.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/search.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/tab-folder.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/tab-recently.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/table.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/user.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/warring.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/widget-email.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/widget-music.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/widget-subscription.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/yes.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svg/zip.svg:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/src/icons/svg/ziyuan.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/icons/svgo.yml:
--------------------------------------------------------------------------------
1 | # replace default config
2 |
3 | # multipass: true
4 | # full: true
5 |
6 | plugins:
7 |
8 | # - name
9 | #
10 | # or:
11 | # - name: false
12 | # - name: true
13 | #
14 | # or:
15 | # - name:
16 | # param1: 1
17 | # param2: 2
18 |
19 | - removeAttrs:
20 | attrs:
21 | - 'fill'
22 | - 'fill-rule'
23 |
--------------------------------------------------------------------------------
/src/layout/components/AppMain.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
22 |
23 |
35 |
36 |
44 |
--------------------------------------------------------------------------------
/src/layout/components/Sidebar/FixiOSBug.js:
--------------------------------------------------------------------------------
1 | export default {
2 | computed: {
3 | device() {
4 | return this.$store.state.app.device
5 | }
6 | },
7 | mounted() {
8 | // In order to fix the click on menu on the ios device will trigger the mouseleave bug
9 | // https://github.com/PanJiaChen/vue-element-admin/issues/1135
10 | this.fixBugIniOS()
11 | },
12 | methods: {
13 | fixBugIniOS() {
14 | const $subMenu = this.$refs.subMenu
15 | if ($subMenu) {
16 | const handleMouseleave = $subMenu.handleMouseleave
17 | $subMenu.handleMouseleave = (e) => {
18 | if (this.device === 'mobile') {
19 | return
20 | }
21 | handleMouseleave(e)
22 | }
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/src/layout/components/Sidebar/Item.vue:
--------------------------------------------------------------------------------
1 |
38 |
53 |
--------------------------------------------------------------------------------
/src/layout/components/Sidebar/Link.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
37 |
--------------------------------------------------------------------------------
/src/layout/components/index.js:
--------------------------------------------------------------------------------
1 | export { default as Navbar } from './Navbar'
2 | export { default as Sidebar } from './Sidebar'
3 | export { default as AppMain } from './AppMain'
4 |
--------------------------------------------------------------------------------
/src/settings.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 |
3 | title: 'JmalCloud',
4 |
5 | /**
6 | * @type {boolean} true | false
7 | * @description Whether fix the header
8 | */
9 | fixedHeader: false,
10 |
11 | /**
12 | * @type {boolean} true | false
13 | * @description Whether show the logo in sidebar
14 | */
15 | sidebarLogo: true,
16 |
17 | FILE_SERVER_URL: 'http://192.168.1.108:10010/' // nginx文件服务器地址
18 | }
19 |
--------------------------------------------------------------------------------
/src/store/getters.js:
--------------------------------------------------------------------------------
1 | const getters = {
2 | sidebar: state => state.app.sidebar,
3 | device: state => state.app.device,
4 | lang: state => state.app.lang,
5 | token: state => state.user.token,
6 | shareToken: state => state.user.shareToken,
7 | shareId: state => state.user.shareId,
8 | avatar: state => state.user.avatar,
9 | name: state => state.user.name,
10 | showName: state => state.user.showName,
11 | newVersion: state => state.user.newVersion,
12 | iframePreviewConfig: state => state.user.iframePreviewConfig,
13 | userId: state => state.user.userId,
14 | userInfo: state => state.user.userInfo,
15 | menuList: state => state.user.menuList,
16 | fileClipboard: state => state.fileClipboard,
17 | exactSearch: state => state.user.exactSearch
18 | }
19 | export default getters
20 |
--------------------------------------------------------------------------------
/src/store/index.js:
--------------------------------------------------------------------------------
1 | // import Vue from 'vue'
2 | import Vuex from 'vuex'
3 | import getters from './getters'
4 | import app from './modules/app'
5 | import settings from './modules/settings'
6 | import user from './modules/user'
7 |
8 | Vue.use(Vuex)
9 |
10 | const store = new Vuex.Store({
11 | modules: {
12 | app,
13 | settings,
14 | user,
15 | },
16 | getters,
17 | state: {
18 | message: null,
19 | fileClipboard: []
20 | },
21 | mutations: {
22 | setMessage(state, message) {
23 | state.message = message;
24 | },
25 | setFileClipboard(state, fileClipboard) {
26 | state.fileClipboard = fileClipboard;
27 | }
28 | },
29 | actions: {
30 | updateMessage({ commit }, message) {
31 | commit('setMessage', message);
32 | },
33 | updateFileClipboard({ commit }, fileClipboard) {
34 | commit('setFileClipboard', fileClipboard);
35 | }
36 | }
37 | })
38 |
39 | export default store
40 |
--------------------------------------------------------------------------------
/src/store/modules/settings.js:
--------------------------------------------------------------------------------
1 | import defaultSettings from '@/settings'
2 |
3 | const { showSettings, fixedHeader, sidebarLogo } = defaultSettings
4 |
5 | const state = {
6 | showSettings: showSettings,
7 | fixedHeader: fixedHeader,
8 | sidebarLogo: sidebarLogo
9 | }
10 |
11 | const mutations = {
12 | CHANGE_SETTING: (state, { key, value }) => {
13 | if (state.hasOwnProperty(key)) {
14 | state[key] = value
15 | }
16 | }
17 | }
18 |
19 | const actions = {
20 | changeSetting({ commit }, data) {
21 | commit('CHANGE_SETTING', data)
22 | }
23 | }
24 |
25 | export default {
26 | namespaced: true,
27 | state,
28 | mutations,
29 | actions
30 | }
31 |
32 |
--------------------------------------------------------------------------------
/src/styles/custom-ui.scss:
--------------------------------------------------------------------------------
1 | >>> .el-checkbox {
2 |
3 | &:hover {
4 | background-color: #f5f7fa;
5 | border-radius: 6px;
6 | }
7 |
8 | .el-checkbox__inner {
9 | background-color: #f0f0f0; /* 浅灰色背景 */
10 | border-color: #dcdcdc; /* 浅灰色边框 */
11 | border-radius: 4px; /* 圆角 */
12 | }
13 |
14 | .el-checkbox__input.is-checked .el-checkbox__inner {
15 | background-color: #a0a0a0; /* 深灰色背景 */
16 | border-color: #a0a0a0; /* 深灰色边框 */
17 | }
18 |
19 | .el-checkbox__input.is-checked .el-checkbox__inner::after {
20 | border-color: #ffffff; /* 白色勾号 */
21 | }
22 |
23 | .el-checkbox__inner:hover {
24 | //border-color: #b0b0b0; /* hover 时边框颜色 */
25 | cursor: pointer;
26 | }
27 |
28 | .el-checkbox__input.is-checked+.el-checkbox__label {
29 | color: #606266;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/src/styles/mixin.scss:
--------------------------------------------------------------------------------
1 | @mixin clearfix {
2 | &:after {
3 | content: "";
4 | display: table;
5 | clear: both;
6 | }
7 | }
8 |
9 | @mixin scrollBar {
10 | &::-webkit-scrollbar-track-piece {
11 | background: #d3dce6;
12 | }
13 |
14 | &::-webkit-scrollbar {
15 | width: 6px;
16 | }
17 |
18 | &::-webkit-scrollbar-thumb {
19 | background: #99a9bf;
20 | border-radius: 20px;
21 | }
22 | }
23 |
24 | @mixin relative {
25 | position: relative;
26 | width: 100%;
27 | height: 100%;
28 | }
29 |
--------------------------------------------------------------------------------
/src/styles/transition.scss:
--------------------------------------------------------------------------------
1 | // global transition css
2 |
3 | /* fade */
4 | .fade-enter-active,
5 | .fade-leave-active {
6 | transition: opacity 0.28s;
7 | }
8 |
9 | .fade-enter,
10 | .fade-leave-active {
11 | opacity: 0;
12 | }
13 |
14 | /* fade-transform */
15 | .fade-transform-leave-active,
16 | .fade-transform-enter-active {
17 | transition: all .5s;
18 | }
19 |
20 | .fade-transform-enter {
21 | opacity: 0;
22 | transform: translateX(-30px);
23 | }
24 |
25 | .fade-transform-leave-to {
26 | opacity: 0;
27 | transform: translateX(30px);
28 | }
29 |
30 | /* breadcrumb transition */
31 | .breadcrumb-enter-active,
32 | .breadcrumb-leave-active {
33 | transition: all .5s;
34 | }
35 |
36 | .breadcrumb-enter,
37 | .breadcrumb-leave-active {
38 | opacity: 0;
39 | transform: translateX(20px);
40 | }
41 |
42 | .breadcrumb-move {
43 | transition: all .5s;
44 | }
45 |
46 | .breadcrumb-leave-active {
47 | position: absolute;
48 | }
49 |
--------------------------------------------------------------------------------
/src/styles/variables.scss:
--------------------------------------------------------------------------------
1 | :root {
2 | --apple-border-radius: 12px; /* 可调整的圆角大小 */
3 | --apple-shadow-color: rgba(0, 0, 0, 0.1); /* 阴影颜色和透明度 */
4 | --apple-border-color: rgba(0, 0, 0, 0.08); /* 细边框颜色 */
5 | --apple-background-color: #ffffff; /* 卡片背景色 */
6 | }
7 |
8 | // sidebar
9 | $menuText:#434343;
10 | $menuActiveText:#409EFF;
11 | $subMenuActiveText:#f4f4f5; //https://github.com/ElemeFE/element/issues/12951
12 |
13 | $menuBg:#f5f5f5;
14 | $menuHover:#0000001a;
15 |
16 | $subMenuBg:#f5f5f5;
17 | $subMenuHover:#0000001a;
18 |
19 | $sideBarWidth: 160px;
20 |
21 | // border-radius
22 | $btnBorderRadius: 8px;
23 | $inputBorderRadius: 12px;
24 | $dialogBorderRadius: 16px;
25 | $popperBorderRadius: 10px;
26 |
27 | // the :export directive is the magic sauce for webpack
28 | // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
29 | :export {
30 | menuText: $menuText;
31 | menuActiveText: $menuActiveText;
32 | subMenuActiveText: $subMenuActiveText;
33 | menuBg: $menuBg;
34 | menuHover: $menuHover;
35 | subMenuBg: $subMenuBg;
36 | subMenuHover: $subMenuHover;
37 | sideBarWidth: $sideBarWidth;
38 | btnBorderRadius: $btnBorderRadius;
39 | dialogBorderRadius: $dialogBorderRadius;
40 | }
41 |
--------------------------------------------------------------------------------
/src/utils/dom.js:
--------------------------------------------------------------------------------
1 | // 获取DOM元素到页面顶部的距离
2 | export function getElementToPageTop(el) {
3 | if (el.className && el.className.indexOf('parent-grid-item') > -1 || el.className.indexOf('van-grid-item van-grid-item--square') > -1) {
4 | return el.offsetTop
5 | }
6 | if (el.parentElement) {
7 | return getElementToPageTop(el.parentElement) + el.offsetTop
8 | }
9 | return el.offsetTop
10 | }
11 | // 获取DOM元素到页面左边的距离
12 | export function getElementToPageLeft(el) {
13 | if (el.className && el.className.indexOf('parent-grid-item') > -1) {
14 | return el.offsetLeft
15 | }
16 | if (el.offsetParent) {
17 | return getElementToPageLeft(el.offsetParent) + el.offsetLeft
18 | }
19 | return el.offsetLeft
20 | }
21 |
--------------------------------------------------------------------------------
/src/utils/get-page-title.js:
--------------------------------------------------------------------------------
1 | import defaultSettings from '@/settings'
2 |
3 | import { getLogoName } from '@/utils/logo'
4 |
5 | const title = defaultSettings.title || 'Vue Admin Template'
6 |
7 | export default function getPageTitle(pageTitle) {
8 | let logoName = getLogoName()
9 | if (!logoName || logoName === 'undefined') {
10 | logoName = title
11 | }
12 | if (pageTitle) {
13 | return `${pageTitle} - ${logoName}`
14 | }
15 | return `${logoName}`
16 | }
17 |
--------------------------------------------------------------------------------
/src/utils/load-script.js:
--------------------------------------------------------------------------------
1 | // loadScript.js
2 | export function loadScript(scriptUrl, type) {
3 | return new Promise((resolve, reject) => {
4 | // 检查是否已经加载了相同的脚本
5 | const existingScript = Array.from(document.head.getElementsByTagName('script')).find(
6 | script => script.src === scriptUrl
7 | )
8 | if (existingScript) {
9 | resolve()
10 | } else {
11 | const script = document.createElement('script');
12 | script.src = scriptUrl;
13 | if (type) {
14 | script.type = type
15 | }
16 | script.onload = () => {
17 | resolve()
18 | }
19 | script.onerror = () => {
20 | reject(new Error(`Failed to load script with URL ${scriptUrl}`));
21 | }
22 | document.head.appendChild(script);
23 | }
24 | })
25 | }
26 |
--------------------------------------------------------------------------------
/src/utils/loadLocaleMessages.js:
--------------------------------------------------------------------------------
1 | // 使用 require.context 动态加载 locales 目录中的语言文件
2 |
3 | export function loadLocaleMessages() {
4 | const locales = require.context('@/locales', true, /\.js$/)
5 |
6 | return locales.keys().reduce((messages, key) => {
7 | // 获取语言文件的默认导出
8 | const locale = locales(key).default
9 |
10 | // 根据文件名推断语言代码,比如将 `en_US.js` 解析为 `en_US`
11 | const localeKey = key.match(/([a-zA-Z_]+)\./i)[1]
12 |
13 | // 添加到 messages 对象
14 | messages[localeKey] = locale
15 | return messages
16 | }, {})
17 | }
18 |
19 | export function getBrowserLanguage() {
20 | const browserLanguage = navigator.language || navigator.userLanguage
21 | return browserLanguage.replace('-', '_')
22 | }
23 |
24 | // 获取浏览器语言,判断是否支持,返回相应语言代码
25 | export function getBrowserLocale(messages, fallbackLocale = 'en_US') {
26 | return Object.keys(messages).includes(getBrowserLanguage()) ? getBrowserLanguage() : fallbackLocale
27 | }
28 |
--------------------------------------------------------------------------------
/src/utils/logo.js:
--------------------------------------------------------------------------------
1 | import fileConfig from "@/utils/file-config";
2 |
3 | const titleKey = 'netdisk-name'
4 |
5 | const logoKey = 'netdisk-logo'
6 |
7 | export function getLogoName() {
8 | return localStorage.getItem(titleKey)
9 | }
10 |
11 | export function getLogo() {
12 | return localStorage.getItem(logoKey)
13 | }
14 |
15 | export function setLogo(logoName, logo) {
16 | localStorage.setItem(titleKey, logoName)
17 | localStorage.setItem(logoKey, logo)
18 | setFavicon()
19 | }
20 |
21 | export function removeLogo() {
22 | localStorage.removeItem(titleKey)
23 | localStorage.removeItem(logoKey)
24 | }
25 |
26 | export function setFavicon() {
27 | const logo = getLogo()
28 | if (logo && logo !== 'undefined') {
29 | let link = document.querySelector("link[rel*='icon']") || document.createElement('link')
30 | link.type = 'image/x-icon'
31 | link.rel = 'shortcut icon'
32 | link.href = fileConfig.logoUrl(logo)
33 | document.getElementsByTagName('head')[0].appendChild(link)
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/src/utils/onlyofficeUtil.js:
--------------------------------------------------------------------------------
1 | export function handleDocType(fileType) {
2 | let docType = '';
3 | let fileTypesDoc = [
4 | 'doc', 'docm', 'docx', 'dot', 'dotm', 'dotx', 'epub', 'fodt', 'htm', 'html', 'mht', 'odt', 'ott', 'pdf', 'rtf', 'txt', 'djvu', 'xps'
5 | ];
6 | let fileTypesCsv = [
7 | 'csv', 'fods', 'ods', 'ots', 'xls', 'xlsm', 'xlsx', 'xlt', 'xltm', 'xltx'
8 | ];
9 | let fileTypesPPt = [
10 | 'fodp', 'odp', 'otp', 'pot', 'potm', 'potx', 'pps', 'ppsm', 'ppsx', 'ppt', 'pptm', 'pptx'
11 | ];
12 | if (fileTypesDoc.includes(fileType)) {
13 | docType = 'text'
14 | }
15 | if (fileTypesCsv.includes(fileType)) {
16 | docType = 'spreadsheet'
17 | }
18 | if (fileTypesPPt.includes(fileType)) {
19 | docType = 'presentation'
20 | }
21 | return docType;
22 | }
23 |
--------------------------------------------------------------------------------
/src/utils/path.js:
--------------------------------------------------------------------------------
1 | function isEncoded(str) {
2 | return /%[0-9A-Fa-f]{2}/.test(str);
3 | }
4 |
5 | export function encodeIfNeeded(str) {
6 | if (isEncoded(str)) {
7 | return str;
8 | } else {
9 | return encodeURI(str);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/utils/validate.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by PanJiaChen on 16/11/18.
3 | */
4 |
5 | /**
6 | * @param {string} path
7 | * @returns {Boolean}
8 | */
9 | export function isExternal(path) {
10 | return /^(https?:|mailto:|tel:)/.test(path)
11 | }
12 |
13 | /**
14 | * @param {string} str
15 | * @returns {Boolean}
16 | */
17 | export function validUsername(str) {
18 | const valid_map = ['admin', 'editor']
19 | return valid_map.indexOf(str.trim()) >= 0
20 | }
21 |
--------------------------------------------------------------------------------
/src/views/setting/articles/alonePageManager.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
31 |
34 |
--------------------------------------------------------------------------------
/src/views/setting/articles/articlePageManager.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
30 |
33 |
--------------------------------------------------------------------------------
/test/testes5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Title
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------