mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-28 03:10:45 +00:00
update sdoc version and sdoc translate
This commit is contained in:
parent
842d2acb26
commit
74f4f3c099
14
frontend/package-lock.json
generated
14
frontend/package-lock.json
generated
@ -12,7 +12,7 @@
|
||||
"@gatsbyjs/reach-router": "1.3.9",
|
||||
"@seafile/react-image-lightbox": "2.0.2",
|
||||
"@seafile/resumablejs": "1.1.16",
|
||||
"@seafile/sdoc-editor": "0.4.22",
|
||||
"@seafile/sdoc-editor": "0.4.23",
|
||||
"@seafile/seafile-calendar": "0.0.12",
|
||||
"@seafile/seafile-editor": "1.0.20",
|
||||
"@uiw/codemirror-extensions-langs": "^4.19.4",
|
||||
@ -4607,9 +4607,9 @@
|
||||
"integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig=="
|
||||
},
|
||||
"node_modules/@seafile/sdoc-editor": {
|
||||
"version": "0.4.22",
|
||||
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.4.22.tgz",
|
||||
"integrity": "sha512-EnDmH6GiP3+AGEoKou4IEhlW/RU0mubWRKjJCdqZmaDDCsMDVvFW+RypTp7PC8yQqqi1VYW9Q1kYplmtX916Yw==",
|
||||
"version": "0.4.23",
|
||||
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.4.23.tgz",
|
||||
"integrity": "sha512-0YSr5zCz4MnwtEZex8gXL0IS9tzOAiPJ9MD8fOGTGjk4snmYoiUccVCw1LlSU2rBspoFQK5p4u+787RABmqU9A==",
|
||||
"dependencies": {
|
||||
"@seafile/react-image-lightbox": "2.0.4",
|
||||
"@seafile/slate": "0.91.8",
|
||||
@ -31643,9 +31643,9 @@
|
||||
"integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig=="
|
||||
},
|
||||
"@seafile/sdoc-editor": {
|
||||
"version": "0.4.22",
|
||||
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.4.22.tgz",
|
||||
"integrity": "sha512-EnDmH6GiP3+AGEoKou4IEhlW/RU0mubWRKjJCdqZmaDDCsMDVvFW+RypTp7PC8yQqqi1VYW9Q1kYplmtX916Yw==",
|
||||
"version": "0.4.23",
|
||||
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.4.23.tgz",
|
||||
"integrity": "sha512-0YSr5zCz4MnwtEZex8gXL0IS9tzOAiPJ9MD8fOGTGjk4snmYoiUccVCw1LlSU2rBspoFQK5p4u+787RABmqU9A==",
|
||||
"requires": {
|
||||
"@seafile/react-image-lightbox": "2.0.4",
|
||||
"@seafile/slate": "0.91.8",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"@gatsbyjs/reach-router": "1.3.9",
|
||||
"@seafile/react-image-lightbox": "2.0.2",
|
||||
"@seafile/resumablejs": "1.1.16",
|
||||
"@seafile/sdoc-editor": "0.4.22",
|
||||
"@seafile/sdoc-editor": "0.4.23",
|
||||
"@seafile/seafile-calendar": "0.0.12",
|
||||
"@seafile/seafile-editor": "1.0.20",
|
||||
"@uiw/codemirror-extensions-langs": "^4.19.4",
|
||||
|
@ -1,11 +1,11 @@
|
||||
@font-face {
|
||||
font-family: "sdocfont"; /* Project id 4097705 */
|
||||
src: url('./sdoc-editor-font/iconfont.eot?t=1702000194437'); /* IE9 */
|
||||
src: url('./sdoc-editor-font/iconfont.eot?t=1702000194437#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('./sdoc-editor-font/iconfont.woff2?t=1702000194437') format('woff2'),
|
||||
url('./sdoc-editor-font/iconfont.woff?t=1702000194437') format('woff'),
|
||||
url('./sdoc-editor-font/iconfont.ttf?t=1702000194437') format('truetype'),
|
||||
url('./sdoc-editor-font/iconfont.svg?t=1702000194437#sdocfont') format('svg');
|
||||
src: url('./sdoc-editor-font/iconfont.eot?t=1705289986460'); /* IE9 */
|
||||
src: url('./sdoc-editor-font/iconfont.eot?t=1705289986460#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('./sdoc-editor-font/iconfont.woff2?t=1705289986460') format('woff2'),
|
||||
url('./sdoc-editor-font/iconfont.woff?t=1705289986460') format('woff'),
|
||||
url('./sdoc-editor-font/iconfont.ttf?t=1705289986460') format('truetype'),
|
||||
url('./sdoc-editor-font/iconfont.svg?t=1705289986460#sdocfont') format('svg');
|
||||
}
|
||||
|
||||
.sdocfont {
|
||||
@ -16,6 +16,38 @@
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.sdoc-callout-color:before {
|
||||
content: "\e666";
|
||||
}
|
||||
|
||||
.sdoc-callout-icon:before {
|
||||
content: "\e665";
|
||||
}
|
||||
|
||||
.sdoc-trumpet:before {
|
||||
content: "\e664";
|
||||
}
|
||||
|
||||
.sdoc-light-bulb:before {
|
||||
content: "\e663";
|
||||
}
|
||||
|
||||
.sdoc-danger:before {
|
||||
content: "\e662";
|
||||
}
|
||||
|
||||
.sdoc-prohibit:before {
|
||||
content: "\e661";
|
||||
}
|
||||
|
||||
.sdoc-filter:before {
|
||||
content: "\e65e";
|
||||
}
|
||||
|
||||
.sdoc-chart:before {
|
||||
content: "\e65b";
|
||||
}
|
||||
|
||||
.sdoc-comment-quote:before {
|
||||
content: "\e660";
|
||||
}
|
||||
@ -36,10 +68,6 @@
|
||||
content: "\e65c";
|
||||
}
|
||||
|
||||
.sdoc-chart:before {
|
||||
content: "\e65b";
|
||||
}
|
||||
|
||||
.sdoc-add:before {
|
||||
content: "\e658";
|
||||
}
|
||||
|
Binary file not shown.
@ -14,6 +14,22 @@
|
||||
/>
|
||||
<missing-glyph />
|
||||
|
||||
<glyph glyph-name="sdoc-callout-color" unicode="" d="M819.2 777.6c147.2-121.6 195.2-291.2 195.2-300.8v-3.2c22.4-118.4 3.2-208-51.2-262.4-86.4-83.2-227.2-57.6-249.6-54.4-25.6 3.2-44.8-6.4-60.8-22.4-16-19.2-19.2-44.8-12.8-60.8 12.8-44.8 16-76.8 6.4-102.4-28.8-67.2-89.6-99.2-182.4-99.2-22.4 0-44.8 3.2-67.2 6.4h-6.4C217.6-96 96 76.8 92.8 86.4-76.8 348.8 9.6 611.2 166.4 758.4c160 147.2 422.4 208 652.8 19.2zM230.4 688c-118.4-112-198.4-352-54.4-544C224 80 288 32 352 0s144-32 176 0 16 64 16 112 16 80 48 112 99.2 38.4 144 32 99.2-28.8 160 32c38.4 38.4 41.6 80 25.6 169.6-3.2 12.8-44.8 150.4-163.2 246.4-185.6 153.6-396.8 102.4-528-16z m-9.6-259.2c35.2 0 60.8-28.8 60.8-64s-28.8-64-60.8-64-60.8 28.8-60.8 64 25.6 64 60.8 64z m563.2 73.6c35.2 0 60.8-28.8 60.8-64s-28.8-64-60.8-64c-35.2 0-60.8 28.8-60.8 64s25.6 64 60.8 64zM291.2 614.4c35.2 0 60.8-28.8 60.8-64 0-22.4-12.8-41.6-32-54.4-19.2-12.8-41.6-12.8-60.8 0-19.2 12.8-32 32-32 54.4 3.2 38.4 32 64 64 64z m390.4 54.4c35.2 0 60.8-28.8 60.8-64s-28.8-64-60.8-64-60.8 28.8-60.8 64 25.6 64 60.8 64z m-204.8 51.2c35.2 0 60.8-28.8 60.8-64s-28.8-64-60.8-64-60.8 32-60.8 67.2 25.6 60.8 60.8 60.8z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-callout-icon" unicode="" d="M512-32c230.4 0 416 185.6 416 416S742.4 800 512 800 96 614.4 96 384s185.6-416 416-416z m0-96C230.4-128 0 102.4 0 384S230.4 896 512 896s512-230.4 512-512-230.4-512-512-512z m-160 528c44.8 0 80 35.2 80 80s-35.2 80-80 80-80-35.2-80-80 35.2-80 80-80z m320 0c44.8 0 80 35.2 80 80s-35.2 80-80 80-80-35.2-80-80 35.2-80 80-80z m-160-246.4c-80 0-153.6 51.2-188.8 128 0 0-3.2 32-38.4 32-35.2 0-32-32-32-32 35.2-108.8 137.6-192 256-192s227.2 83.2 256 192c0 0 0 32-32 32s-35.2-32-35.2-32c-25.6-73.6-102.4-128-185.6-128z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-trumpet" unicode="" d="M153.6 480h204.8l19.2-416c3.2-67.2-48-124.8-115.2-128H256c-67.2 0-121.6 54.4-121.6 121.6V64l19.2 416zM172.8 668.8L544 704v-448L172.8 291.2C76.8 297.6 0 380.8 0 480s76.8 182.4 172.8 188.8zM912 832C864 832 611.2 726.4 544 704c-48-16-128-96-128-224s67.2-201.6 128-224c73.6-28.8 198.4-73.6 368-128V832zM816 480a336 96 90 1 1 192 0 336 96 90 1 1-192 0ZM912 128c-73.6 0-112 176-112 352s38.4 352 112 352S1024 656 1024 480s-38.4-352-112-352z m0 672c-32 0-80-124.8-80-320s48-320 80-320S992 284.8 992 480 944 800 912 800z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-light-bulb" unicode="" d="M160 553.6c0-124.8 70.4-233.6 172.8-294.4 19.2-9.6 19.2-28.8 19.2-48V128c3.2 0 19.2 3.2 22.4 3.2h275.2c3.2 0 19.2 0 22.4-3.2v83.2c0 22.4 0 41.6 19.2 51.2 137.6 76.8 201.6 233.6 160 384S672 896 512 896C316.8 896 160 742.4 160 553.6zM438.4 227.2c0 19.2-9.6 38.4-28.8 48-102.4 60.8-163.2 169.6-163.2 288C249.6 729.6 377.6 873.6 544 896c-128 0-198.4-16-272-80s-112-160-112-256c0-121.6 60.8-230.4 160-288 16-9.6 32-25.6 32-44.8V128c3.2 0 6.4 3.2 9.6 3.2h76.8v96zM566.4 131.2c-9.6 0-16 6.4-16 16v144c0 12.8 3.2 28.8 12.8 38.4l22.4 28.8c3.2 6.4 6.4 12.8 6.4 19.2v150.4c0 9.6 6.4 16 16 16s16-6.4 16-16v-150.4c0-16-6.4-28.8-12.8-38.4l-22.4-28.8c-3.2-6.4-6.4-12.8-6.4-19.2v-144c0-3.2-3.2-9.6-3.2-12.8-3.2 0-9.6-3.2-12.8-3.2m-83.2 0c-3.2 0-9.6 3.2-12.8 3.2-3.2 3.2-3.2 6.4-3.2 12.8v144c0 6.4-3.2 16-6.4 19.2l-22.4 28.8c-9.6 12.8-12.8 25.6-12.8 38.4v150.4c0 9.6 6.4 16 16 16s16-6.4 16-16v-150.4c0-6.4 3.2-16 6.4-19.2l22.4-28.8c9.6-12.8 12.8-25.6 12.8-38.4v-144c0-3.2-3.2-9.6-3.2-12.8-3.2 0-9.6-3.2-12.8-3.2M633.6 777.6c-6.4 3.2-16 16-9.6 22.4s16 9.6 25.6 3.2c67.2-32 118.4-96 137.6-166.4 3.2-9.6-3.2-16-12.8-19.2-9.6-3.2-16 3.2-19.2 12.8-16 64-60.8 115.2-121.6 147.2zM448-32v-16c0-44.8 19.2-80 80-80s80 35.2 80 80V-32h-160zM480-32h-64v-12.8c0-25.6 9.6-51.2 32-67.2s32-16 96-16c-48 16-64 54.4-64 83.2V-32zM624 496h-201.6c-6.4 0-9.6 3.2-12.8 6.4s-3.2 9.6 0 16 9.6 6.4 12.8 6.4h201.6c6.4 0 9.6-3.2 12.8-6.4 3.2-6.4 3.2-9.6 0-16s-6.4-6.4-12.8-6.4M416 32h192c19.2 0 32-12.8 32-32v-32c0-19.2-12.8-32-32-32h-192c-19.2 0-32 12.8-32 32v32c0 19.2 12.8 32 32 32zM406.4-22.4c-9.6 0-19.2 9.6-22.4 22.4v-32c0-19.2 12.8-32 32-32h192c19.2 0 32 12.8 32 32v32c-3.2-12.8-12.8-22.4-22.4-22.4h-211.2zM384 96h256c19.2 0 32-12.8 32-32v-32c0-19.2-12.8-32-32-32h-256c-19.2 0-32 12.8-32 32v32c0 19.2 12.8 32 32 32zM380.8 41.6c-12.8 0-25.6 9.6-28.8 22.4v-32c0-19.2 12.8-32 32-32h256c19.2 0 32 12.8 32 32v32c-3.2-12.8-16-22.4-28.8-22.4h-262.4zM384 160h256c19.2 0 32-12.8 32-32v-32c0-19.2-12.8-32-32-32h-256c-19.2 0-32 12.8-32 32v32c0 19.2 12.8 32 32 32zM380.8 105.6c-12.8 0-25.6 9.6-28.8 22.4v-32c0-19.2 12.8-32 32-32h256c19.2 0 32 12.8 32 32v32c-3.2-12.8-16-22.4-28.8-22.4h-262.4z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-danger" unicode="" d="M999.1888 99.2L621.5888 784c-57.6 105.6-156.8 105.6-214.4 0L26.3888 99.2C-34.4112-9.6 13.5888-96 131.9888-96h761.6c118.4 0 166.4 86.4 105.6 195.2zM515.9888 0c-35.2 0-64 28.8-64 64s28.8 64 64 64 64-28.8 64-64c3.2-35.2-25.6-64-64-64zM576.7888 192h-128V640h128z" horiz-adv-x="1025" />
|
||||
|
||||
<glyph glyph-name="sdoc-prohibit" unicode="" d="M876.8 25.6C969.6 118.4 1024 246.4 1024 384c0 281.6-230.4 512-512 512-137.6 0-265.6-54.4-358.4-147.2l-3.2-3.2-3.2-3.2C54.4 649.6 0 521.6 0 384c0-281.6 230.4-512 512-512 137.6 0 265.6 54.4 358.4 147.2l3.2 3.2 3.2 3.2zM896 384c0-83.2-25.6-160-73.6-224L288 697.6C352 742.4 428.8 768 512 768c211.2 0 384-172.8 384-384zM128 384c0 83.2 25.6 160 73.6 224L736 70.4c-64-44.8-140.8-73.6-224-73.6C300.8 0 128 172.8 128 384z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-filter" unicode="" d="M987.61568 480h-243.2c-22.4 0-38.4 22.4-38.4 48s19.2 48 38.4 48h243.2c22.4 0 38.4-22.4 38.4-48s-19.2-48-38.4-48z m-3.2-256h-265.6c-25.6 0-41.6 22.4-41.6 48s22.4 48 41.6 48h265.6c25.6 0 41.6-22.4 41.6-48s-22.4-48-41.6-48z m-9.6-288h-313.6c-28.8 0-51.2 22.4-51.2 48s25.6 48 51.2 48h313.6c28.8 0 51.2-22.4 51.2-48s-25.6-48-51.2-48zM546.01568 444.8V32l-176-112c-38.4-22.4-80-12.8-102.4 25.6-6.4 9.6-9.6 25.6-9.6 38.4V448L21.21568 697.6c-28.8 32-28.8 83.2 3.2 115.2 12.8 12.8 35.2 19.2 51.2 19.2h611.2c19.2 0 44.8-3.2 60.8-16 41.6-32 28.8-89.6 0-121.6L546.01568 444.8z m-192 3.2v-409.6l96 64v352c0 22.4 6.4 44.8 22.4 60.8L658.01568 736h-544l214.4-220.8c16-16 25.6-41.6 25.6-67.2z" horiz-adv-x="1026" />
|
||||
|
||||
<glyph glyph-name="sdoc-chart" unicode="" d="M96 800H0v-864h1024v96H96V800z m128-384v-320h160V416H224z m288 224v-544h160V640h-160z m288 192v-736h160V832h-160z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-comment-quote" unicode="" d="M48 896C73.6 896 96 873.6 96 848v-928c0-25.6-22.4-48-48-48S0-105.6 0-80v928C0 873.6 22.4 896 48 896z m224-665.6c51.2 16 96 48 124.8 92.8 32 41.6 48 118.4 48 163.2-9.6-6.4-22.4-6.4-44.8-6.4-38.4 0-70.4 12.8-99.2 41.6-25.6 28.8-41.6 64-41.6 108.8s16 80 44.8 108.8 70.4 41.6 108.8 41.6c51.2 0 89.6-22.4 124.8-64 32-41.6 48-96 48-160 0-102.4-28.8-220.8-83.2-294.4-54.4-76.8-131.2-128-227.2-153.6l-3.2 121.6z m438.4 6.4c51.2 16 89.6 48 124.8 92.8 35.2 41.6 51.2 118.4 48 163.2-9.6-6.4-22.4-6.4-44.8-6.4-38.4 0-73.6 12.8-99.2 41.6-28.8 28.8-41.6 64-41.6 108.8s16 80 41.6 108.8c32 25.6 70.4 38.4 112 38.4 51.2 0 89.6-22.4 121.6-64s48-96 48-160c0-102.4-28.8-220.8-83.2-294.4-54.4-76.8-131.2-128-227.2-153.6v124.8z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-find-replace" unicode="" d="M468.66016 896C260.66016 896 81.46016 761.6 20.66016 566.4s16-409.6 185.6-521.6 396.8-102.4 553.6 25.6l185.6-185.6c19.2-16 48-16 64 0 19.2 19.2 19.2 48 0 64l-185.6 185.6c115.2 140.8 137.6 332.8 60.8 492.8S647.86016 896 468.66016 896zM97.46016 432C97.46016 636.8 260.66016 800 465.46016 800S833.46016 636.8 833.46016 432 670.26016 64 465.46016 64 97.46016 227.2 97.46016 432z" horiz-adv-x="1025" />
|
||||
@ -24,8 +40,6 @@
|
||||
|
||||
<glyph glyph-name="sdoc-callout" unicode="" d="M992 352H32c-19.2 0-32 12.8-32 32V832c0 19.2 12.8 32 32 32h960c19.2 0 32-12.8 32-32v-448c0-19.2-12.8-32-32-32zM96 448h832V768H96v-320z m-96-224v-96h1024v96H0z m0-224v-96h576v96H0z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-chart" unicode="" d="M992-128H32c-19.2 0-32 12.8-32 32V864c0 19.2 12.8 32 32 32h960c19.2 0 32-12.8 32-32v-960c0-19.2-12.8-32-32-32zM96-32h832V800H96v-832z m0 464v-96h832v96H96zM560 800h-96v-832h96V800z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-add" unicode="" d="M512-128C227.2-128 0 99.2 0 384S227.2 896 512 896s512-227.2 512-512-227.2-512-512-512z m-51.2 563.2H291.2c-19.2 0-35.2-12.8-35.2-35.2v-35.2c0-19.2 12.8-35.2 35.2-35.2h169.6V160c0-19.2 12.8-35.2 35.2-35.2h35.2c19.2 0 35.2 12.8 35.2 35.2v169.6H736c19.2 0 35.2 12.8 35.2 35.2v35.2c0 19.2-12.8 35.2-35.2 35.2h-169.6V604.8c0 19.2-12.8 35.2-35.2 35.2h-35.2c-19.2 0-35.2-12.8-35.2-35.2v-169.6z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sdoc-tag" unicode="" d="M521.353986 860.33363l466.979644-466.979644c22.389435-22.389435 35.183398-51.175851 35.183398-83.160758s-12.793963-60.771324-35.183398-83.160759l-323.047562-319.849071c-22.389435-22.389435-51.175851-35.183398-79.962268-35.183398-31.984907 0-60.771324 12.793963-83.160758 35.183398L35.183398 374.163042c-25.587926 25.587926-38.381889 60.771324-31.984907 95.954721l31.984907 291.062655c6.396981 54.374342 47.977361 95.954721 102.351703 102.351703l291.062654 31.984907c31.984907 3.198491 67.168305-9.595472 92.756231-35.183398zM444.590209 767.577399L159.924536 735.592492l-31.984908-281.467182L578.926819-0.060372l316.65058 313.45209L444.590209 767.577399z m12.793963-127.939628c57.572833-57.572833 57.572833-147.130573 0-204.703406-25.587926-25.587926-63.969814-41.580379-102.351703-41.580379-38.381889 0-73.565286 12.793963-102.351703 41.580379-57.572833 57.572833-57.572833 147.130573 0 204.703406 57.572833 57.572833 150.329063 57.572833 204.703406 0z m-102.351703-70.366796c-6.396981 0-15.992454-3.198491-22.389435-9.595472-12.793963-12.793963-12.793963-31.984907 0-44.77887 12.793963-12.793963 31.984907-12.793963 44.77887 0 12.793963 12.793963 12.793963 31.984907 0 44.77887-6.396981 6.396981-12.793963 9.595472-22.389435 9.595472z" horiz-adv-x="1024" />
|
||||
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 56 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user