mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-12 13:24:52 +00:00
delete sdoc module in 10.0 (#5522)
This commit is contained in:
@@ -8,7 +8,6 @@ const entryFiles = {
|
|||||||
wiki: "/wiki.js",
|
wiki: "/wiki.js",
|
||||||
fileHistory: "/file-history.js",
|
fileHistory: "/file-history.js",
|
||||||
fileHistoryOld: "/file-history-old.js",
|
fileHistoryOld: "/file-history-old.js",
|
||||||
sdocFileHistory: "/pages/sdoc-file-history/index.js",
|
|
||||||
app: "/app.js",
|
app: "/app.js",
|
||||||
draft: "/draft.js",
|
draft: "/draft.js",
|
||||||
sharedDirView: "/shared-dir-view.js",
|
sharedDirView: "/shared-dir-view.js",
|
||||||
@@ -21,12 +20,10 @@ const entryFiles = {
|
|||||||
sharedFileViewAudio: "/shared-file-view-audio.js",
|
sharedFileViewAudio: "/shared-file-view-audio.js",
|
||||||
sharedFileViewDocument: "/shared-file-view-document.js",
|
sharedFileViewDocument: "/shared-file-view-document.js",
|
||||||
sharedFileViewSpreadsheet: "/shared-file-view-spreadsheet.js",
|
sharedFileViewSpreadsheet: "/shared-file-view-spreadsheet.js",
|
||||||
sharedFileViewSdoc: "/shared-file-view-sdoc.js",
|
|
||||||
sharedFileViewUnknown: "/shared-file-view-unknown.js",
|
sharedFileViewUnknown: "/shared-file-view-unknown.js",
|
||||||
historyTrashFileView: "/history-trash-file-view.js",
|
historyTrashFileView: "/history-trash-file-view.js",
|
||||||
fileView: "/file-view.js",
|
fileView: "/file-view.js",
|
||||||
viewFileText: "/view-file-text.js",
|
viewFileText: "/view-file-text.js",
|
||||||
viewFileSdoc: "/view-file-sdoc.js",
|
|
||||||
viewFileDocument: "/view-file-document.js",
|
viewFileDocument: "/view-file-document.js",
|
||||||
viewFileSpreadsheet: "/view-file-spreadsheet.js",
|
viewFileSpreadsheet: "/view-file-spreadsheet.js",
|
||||||
settings: "/settings.js",
|
settings: "/settings.js",
|
||||||
|
621
frontend/package-lock.json
generated
621
frontend/package-lock.json
generated
@@ -11,7 +11,6 @@
|
|||||||
"@gatsbyjs/reach-router": "1.3.9",
|
"@gatsbyjs/reach-router": "1.3.9",
|
||||||
"@seafile/react-image-lightbox": "2.0.2",
|
"@seafile/react-image-lightbox": "2.0.2",
|
||||||
"@seafile/resumablejs": "1.1.16",
|
"@seafile/resumablejs": "1.1.16",
|
||||||
"@seafile/sdoc-editor": "0.1.50",
|
|
||||||
"@seafile/seafile-calendar": "0.0.12",
|
"@seafile/seafile-calendar": "0.0.12",
|
||||||
"@seafile/seafile-editor": "0.3.132",
|
"@seafile/seafile-editor": "0.3.132",
|
||||||
"@seafile/slate-react": "0.54.13",
|
"@seafile/slate-react": "0.54.13",
|
||||||
@@ -3854,11 +3853,6 @@
|
|||||||
"@jridgewell/sourcemap-codec": "1.4.14"
|
"@jridgewell/sourcemap-codec": "1.4.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@juggle/resize-observer": {
|
|
||||||
"version": "3.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@juggle/resize-observer/-/resize-observer-3.4.0.tgz",
|
|
||||||
"integrity": "sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA=="
|
|
||||||
},
|
|
||||||
"node_modules/@lezer/common": {
|
"node_modules/@lezer/common": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.2.tgz",
|
||||||
@@ -5197,173 +5191,6 @@
|
|||||||
"version": "1.1.16",
|
"version": "1.1.16",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@seafile/sdoc-editor": {
|
|
||||||
"version": "0.1.50",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.50.tgz",
|
|
||||||
"integrity": "sha512-orN/OHKnPxGP64PIN92f+fq00EfEzbe1TfoXhWEQ/txa5EjlPOoglstetJjseX+WQJ92AGzFW66Nx6MOm0VBFA==",
|
|
||||||
"dependencies": {
|
|
||||||
"@seafile/react-image-lightbox": "2.0.2",
|
|
||||||
"@seafile/slate": "0.91.8",
|
|
||||||
"@seafile/slate-history": "0.86.2",
|
|
||||||
"@seafile/slate-hyperscript": "0.81.7",
|
|
||||||
"@seafile/slate-react": "0.92.5",
|
|
||||||
"ahooks": "3.7.7",
|
|
||||||
"classnames": "2.3.2",
|
|
||||||
"deep-copy": "1.4.2",
|
|
||||||
"is-hotkey": "0.2.0",
|
|
||||||
"is-url": "^1.2.4",
|
|
||||||
"randomcolor": "0.6.2",
|
|
||||||
"react-cookies": "0.1.1",
|
|
||||||
"reactstrap": "8.9.0",
|
|
||||||
"slugid": "3.2.0",
|
|
||||||
"socket.io-client": "4.6.1",
|
|
||||||
"url-join": "4.0.1",
|
|
||||||
"url-parse": "1.5.10",
|
|
||||||
"uuid": "9.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/@seafile/slate-react": {
|
|
||||||
"version": "0.92.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate-react/-/slate-react-0.92.5.tgz",
|
|
||||||
"integrity": "sha512-mGXcXzifjnhuV0+QD1L1kKOaW6HFzYy35SSKlqWalNoLXf/+SWXneapbqTtsoRqb0oi6TsQg4/dCdLy2bo4ERg==",
|
|
||||||
"dependencies": {
|
|
||||||
"@juggle/resize-observer": "^3.4.0",
|
|
||||||
"@types/is-hotkey": "^0.1.1",
|
|
||||||
"@types/lodash": "^4.14.149",
|
|
||||||
"direction": "^1.0.3",
|
|
||||||
"is-hotkey": "^0.1.6",
|
|
||||||
"is-plain-object": "^5.0.0",
|
|
||||||
"lodash": "^4.17.4",
|
|
||||||
"scroll-into-view-if-needed": "^2.2.20",
|
|
||||||
"tiny-invariant": "1.0.6"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@seafile/slate": ">=0.65.3",
|
|
||||||
"react": ">=16.8.0",
|
|
||||||
"react-dom": ">=16.8.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/@seafile/slate-react/node_modules/is-hotkey": {
|
|
||||||
"version": "0.1.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-hotkey/-/is-hotkey-0.1.8.tgz",
|
|
||||||
"integrity": "sha512-qs3NZ1INIS+H+yeo7cD9pDfwYV/jqRh1JG9S9zYrNudkoUQg7OL7ziXqRKu+InFjUIDoP2o6HIkLYMh1pcWgyQ=="
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/debug": {
|
|
||||||
"version": "4.3.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
|
||||||
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
|
||||||
"dependencies": {
|
|
||||||
"ms": "2.1.2"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=6.0"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"supports-color": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/engine.io-client": {
|
|
||||||
"version": "6.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.4.0.tgz",
|
|
||||||
"integrity": "sha512-GyKPDyoEha+XZ7iEqam49vz6auPnNJ9ZBfy89f+rMMas8AuiMWOZ9PVzu8xb9ZC6rafUqiGHSCfu22ih66E+1g==",
|
|
||||||
"dependencies": {
|
|
||||||
"@socket.io/component-emitter": "~3.1.0",
|
|
||||||
"debug": "~4.3.1",
|
|
||||||
"engine.io-parser": "~5.0.3",
|
|
||||||
"ws": "~8.11.0",
|
|
||||||
"xmlhttprequest-ssl": "~2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/engine.io-parser": {
|
|
||||||
"version": "5.0.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.6.tgz",
|
|
||||||
"integrity": "sha512-tjuoZDMAdEhVnSFleYPCtdL2GXwVTGtNjoeJd9IhIG3C1xs9uwxqRNEu5WpnDZCaozwVlK/nuQhpodhXSIMaxw==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/is-hotkey": {
|
|
||||||
"version": "0.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-hotkey/-/is-hotkey-0.2.0.tgz",
|
|
||||||
"integrity": "sha512-UknnZK4RakDmTgz4PI1wIph5yxSs/mvChWs9ifnlXsKuXgWmOkY/hAE0H/k2MIqH0RlRye0i1oC07MCRSD28Mw=="
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/is-plain-object": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/ms": {
|
|
||||||
"version": "2.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
|
||||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/socket.io-client": {
|
|
||||||
"version": "4.6.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.6.1.tgz",
|
|
||||||
"integrity": "sha512-5UswCV6hpaRsNg5kkEHVcbBIXEYoVbMQaHJBXJCyEQ+CiFPV1NIOY0XOFWG4XR4GZcB8Kn6AsRs/9cy9TbqVMQ==",
|
|
||||||
"dependencies": {
|
|
||||||
"@socket.io/component-emitter": "~3.1.0",
|
|
||||||
"debug": "~4.3.2",
|
|
||||||
"engine.io-client": "~6.4.0",
|
|
||||||
"socket.io-parser": "~4.2.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/socket.io-parser": {
|
|
||||||
"version": "4.2.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.2.tgz",
|
|
||||||
"integrity": "sha512-DJtziuKypFkMMHCm2uIshOYC7QaylbtzQwiMYDuCKy3OPkjLzu4B2vAhTlqipRHHzrI0NJeBAizTK7X+6m1jVw==",
|
|
||||||
"dependencies": {
|
|
||||||
"@socket.io/component-emitter": "~3.1.0",
|
|
||||||
"debug": "~4.3.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/uuid": {
|
|
||||||
"version": "9.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz",
|
|
||||||
"integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==",
|
|
||||||
"bin": {
|
|
||||||
"uuid": "dist/bin/uuid"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/ws": {
|
|
||||||
"version": "8.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz",
|
|
||||||
"integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"bufferutil": "^4.0.1",
|
|
||||||
"utf-8-validate": "^5.0.2"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"bufferutil": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"utf-8-validate": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/sdoc-editor/node_modules/xmlhttprequest-ssl": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.4.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/seafile-calendar": {
|
"node_modules/@seafile/seafile-calendar": {
|
||||||
"version": "0.0.12",
|
"version": "0.0.12",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -5433,55 +5260,6 @@
|
|||||||
"x-is-string": "^0.1.0"
|
"x-is-string": "^0.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@seafile/slate": {
|
|
||||||
"version": "0.91.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate/-/slate-0.91.8.tgz",
|
|
||||||
"integrity": "sha512-1om+Lapt6YktpFpISqA2Wxt5QlKdd9iXIBUkrhmbLwKBuFMZYl17r/rbxgNsUM/FVrgoyLt8RdZkjk31ZTz29Q==",
|
|
||||||
"dependencies": {
|
|
||||||
"immer": "^9.0.6",
|
|
||||||
"is-plain-object": "^5.0.0",
|
|
||||||
"slugid": "^3.2.0",
|
|
||||||
"tiny-warning": "^1.0.3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/slate-history": {
|
|
||||||
"version": "0.86.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate-history/-/slate-history-0.86.2.tgz",
|
|
||||||
"integrity": "sha512-704Jd8NOgPngJsROpFBsM6yZsbBqMa2WPAIgfphasRV6XJ0rB2btVYUIbik451nPq4Laim0OSC1C32pg1d2uoQ==",
|
|
||||||
"dependencies": {
|
|
||||||
"is-plain-object": "^5.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@seafile/slate": ">=0.65.3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/slate-history/node_modules/is-plain-object": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/slate-hyperscript": {
|
|
||||||
"version": "0.81.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate-hyperscript/-/slate-hyperscript-0.81.7.tgz",
|
|
||||||
"integrity": "sha512-YtyzpCIL6v781kor3Ubit1L0zM7qof9HRE2fs+w7ljoElKRwYMAHb/aIsCXuS/n9ormUBfAugDKrHSlY0Cx4UA==",
|
|
||||||
"dependencies": {
|
|
||||||
"is-plain-object": "^5.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@seafile/slate": ">=0.65.3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/slate-hyperscript/node_modules/is-plain-object": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/slate-react": {
|
"node_modules/@seafile/slate-react": {
|
||||||
"version": "0.54.13",
|
"version": "0.54.13",
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate-react/-/slate-react-0.54.13.tgz",
|
"resolved": "https://registry.npmjs.org/@seafile/slate-react/-/slate-react-0.54.13.tgz",
|
||||||
@@ -5503,23 +5281,6 @@
|
|||||||
"slate": ">=0.50.0"
|
"slate": ">=0.50.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@seafile/slate/node_modules/immer": {
|
|
||||||
"version": "9.0.21",
|
|
||||||
"resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz",
|
|
||||||
"integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==",
|
|
||||||
"funding": {
|
|
||||||
"type": "opencollective",
|
|
||||||
"url": "https://opencollective.com/immer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@seafile/slate/node_modules/is-plain-object": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@sideway/address": {
|
"node_modules/@sideway/address": {
|
||||||
"version": "4.1.4",
|
"version": "4.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz",
|
||||||
@@ -5557,11 +5318,6 @@
|
|||||||
"@sinonjs/commons": "^1.7.0"
|
"@sinonjs/commons": "^1.7.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@socket.io/component-emitter": {
|
|
||||||
"version": "3.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz",
|
|
||||||
"integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg=="
|
|
||||||
},
|
|
||||||
"node_modules/@svgr/babel-plugin-add-jsx-attribute": {
|
"node_modules/@svgr/babel-plugin-add-jsx-attribute": {
|
||||||
"version": "5.4.0",
|
"version": "5.4.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@@ -6141,11 +5897,6 @@
|
|||||||
"pretty-format": "^26.0.0"
|
"pretty-format": "^26.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/js-cookie": {
|
|
||||||
"version": "2.2.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-2.2.7.tgz",
|
|
||||||
"integrity": "sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA=="
|
|
||||||
},
|
|
||||||
"node_modules/@types/json-schema": {
|
"node_modules/@types/json-schema": {
|
||||||
"version": "7.0.7",
|
"version": "7.0.7",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@@ -6982,39 +6733,6 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ahooks": {
|
|
||||||
"version": "3.7.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/ahooks/-/ahooks-3.7.7.tgz",
|
|
||||||
"integrity": "sha512-5e5WlPq81Y84UnTLOKIQeq2cJw4aa7yj8fR2Nb/oMmXPrWMjIMCbPS1o+fpxSfCaNA3AzOnnMc8AehWRZltkJQ==",
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/runtime": "^7.21.0",
|
|
||||||
"@types/js-cookie": "^2.x.x",
|
|
||||||
"ahooks-v3-count": "^1.0.0",
|
|
||||||
"dayjs": "^1.9.1",
|
|
||||||
"intersection-observer": "^0.12.0",
|
|
||||||
"js-cookie": "^2.x.x",
|
|
||||||
"lodash": "^4.17.21",
|
|
||||||
"resize-observer-polyfill": "^1.5.1",
|
|
||||||
"screenfull": "^5.0.0",
|
|
||||||
"tslib": "^2.4.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/ahooks-v3-count": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/ahooks-v3-count/-/ahooks-v3-count-1.0.0.tgz",
|
|
||||||
"integrity": "sha512-V7uUvAwnimu6eh/PED4mCDjE7tokeZQLKlxg9lCTMPhN+NjsSbtdacByVlR1oluXQzD3MOw55wylDmQo4+S9ZQ=="
|
|
||||||
},
|
|
||||||
"node_modules/ahooks/node_modules/tslib": {
|
|
||||||
"version": "2.5.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz",
|
|
||||||
"integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w=="
|
|
||||||
},
|
|
||||||
"node_modules/ajv": {
|
"node_modules/ajv": {
|
||||||
"version": "6.12.6",
|
"version": "6.12.6",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -10088,7 +9806,8 @@
|
|||||||
"node_modules/dayjs": {
|
"node_modules/dayjs": {
|
||||||
"version": "1.11.7",
|
"version": "1.11.7",
|
||||||
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.7.tgz",
|
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.7.tgz",
|
||||||
"integrity": "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ=="
|
"integrity": "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==",
|
||||||
|
"peer": true
|
||||||
},
|
},
|
||||||
"node_modules/debounce": {
|
"node_modules/debounce": {
|
||||||
"version": "1.2.1",
|
"version": "1.2.1",
|
||||||
@@ -14264,11 +13983,6 @@
|
|||||||
"node": ">= 0.4"
|
"node": ">= 0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/intersection-observer": {
|
|
||||||
"version": "0.12.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/intersection-observer/-/intersection-observer-0.12.2.tgz",
|
|
||||||
"integrity": "sha512-7m1vEcPCxXYI8HqnL8CKI6siDyD+eIWSwgB3DZA+ZTogxk9I4CDnj4wilt9x/+/QbHI4YG5YZNmC6458/e9Ktg=="
|
|
||||||
},
|
|
||||||
"node_modules/invariant": {
|
"node_modules/invariant": {
|
||||||
"version": "2.2.4",
|
"version": "2.2.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -17039,11 +16753,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz",
|
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz",
|
||||||
"integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ=="
|
"integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ=="
|
||||||
},
|
},
|
||||||
"node_modules/js-cookie": {
|
|
||||||
"version": "2.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz",
|
|
||||||
"integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ=="
|
|
||||||
},
|
|
||||||
"node_modules/js-tokens": {
|
"node_modules/js-tokens": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
@@ -22563,11 +22272,6 @@
|
|||||||
"safe-buffer": "^5.1.0"
|
"safe-buffer": "^5.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/randomcolor": {
|
|
||||||
"version": "0.6.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/randomcolor/-/randomcolor-0.6.2.tgz",
|
|
||||||
"integrity": "sha512-Mn6TbyYpFgwFuQ8KJKqf3bqqY9O1y37/0jgSK/61PUxV4QfIMv0+K2ioq8DfOjkBslcjwSzRfIDEXfzA9aCx7A=="
|
|
||||||
},
|
|
||||||
"node_modules/randomfill": {
|
"node_modules/randomfill": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.4",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@@ -24304,11 +24008,6 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/resize-observer-polyfill": {
|
|
||||||
"version": "1.5.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
|
|
||||||
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
|
|
||||||
},
|
|
||||||
"node_modules/resolve": {
|
"node_modules/resolve": {
|
||||||
"version": "1.18.1",
|
"version": "1.18.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -24870,17 +24569,6 @@
|
|||||||
"url": "https://opencollective.com/webpack"
|
"url": "https://opencollective.com/webpack"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/screenfull": {
|
|
||||||
"version": "5.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/screenfull/-/screenfull-5.2.0.tgz",
|
|
||||||
"integrity": "sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/scroll-into-view-if-needed": {
|
"node_modules/scroll-into-view-if-needed": {
|
||||||
"version": "2.2.31",
|
"version": "2.2.31",
|
||||||
"resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz",
|
"resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz",
|
||||||
@@ -25350,25 +25038,6 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/slugid": {
|
|
||||||
"version": "3.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/slugid/-/slugid-3.2.0.tgz",
|
|
||||||
"integrity": "sha512-f0vZb6VyjUdZG5kaxd9CNpfhy+eUUTC8RnbDolC3ZLjYa7n5AdPkQnqnIjmoZYoPS9dWMOXQdoBREAGQqdZb9A==",
|
|
||||||
"dependencies": {
|
|
||||||
"uuid": "^8.3.2"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=6.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/slugid/node_modules/uuid": {
|
|
||||||
"version": "8.3.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
|
|
||||||
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
|
|
||||||
"bin": {
|
|
||||||
"uuid": "dist/bin/uuid"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/snapdragon": {
|
"node_modules/snapdragon": {
|
||||||
"version": "0.8.2",
|
"version": "0.8.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -27125,11 +26794,6 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"node_modules/tiny-invariant": {
|
|
||||||
"version": "1.0.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.0.6.tgz",
|
|
||||||
"integrity": "sha512-FOyLWWVjG+aC0UqG76V53yAWdXfH8bO6FNmyZOuUrzDzK8DI3/JRY25UD7+g49JWM1LXwymsKERB+DzI0dTEQA=="
|
|
||||||
},
|
|
||||||
"node_modules/tiny-warning": {
|
"node_modules/tiny-warning": {
|
||||||
"version": "1.0.3",
|
"version": "1.0.3",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
@@ -27799,11 +27463,6 @@
|
|||||||
"querystring": "0.2.0"
|
"querystring": "0.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/url-join": {
|
|
||||||
"version": "4.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz",
|
|
||||||
"integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA=="
|
|
||||||
},
|
|
||||||
"node_modules/url-loader": {
|
"node_modules/url-loader": {
|
||||||
"version": "4.1.1",
|
"version": "4.1.1",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@@ -32315,11 +31974,6 @@
|
|||||||
"@jridgewell/sourcemap-codec": "1.4.14"
|
"@jridgewell/sourcemap-codec": "1.4.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@juggle/resize-observer": {
|
|
||||||
"version": "3.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@juggle/resize-observer/-/resize-observer-3.4.0.tgz",
|
|
||||||
"integrity": "sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA=="
|
|
||||||
},
|
|
||||||
"@lezer/common": {
|
"@lezer/common": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.0.2.tgz",
|
||||||
@@ -33348,132 +33002,6 @@
|
|||||||
"@seafile/resumablejs": {
|
"@seafile/resumablejs": {
|
||||||
"version": "1.1.16"
|
"version": "1.1.16"
|
||||||
},
|
},
|
||||||
"@seafile/sdoc-editor": {
|
|
||||||
"version": "0.1.50",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.1.50.tgz",
|
|
||||||
"integrity": "sha512-orN/OHKnPxGP64PIN92f+fq00EfEzbe1TfoXhWEQ/txa5EjlPOoglstetJjseX+WQJ92AGzFW66Nx6MOm0VBFA==",
|
|
||||||
"requires": {
|
|
||||||
"@seafile/react-image-lightbox": "2.0.2",
|
|
||||||
"@seafile/slate": "0.91.8",
|
|
||||||
"@seafile/slate-history": "0.86.2",
|
|
||||||
"@seafile/slate-hyperscript": "0.81.7",
|
|
||||||
"@seafile/slate-react": "0.92.5",
|
|
||||||
"ahooks": "3.7.7",
|
|
||||||
"classnames": "2.3.2",
|
|
||||||
"deep-copy": "1.4.2",
|
|
||||||
"is-hotkey": "0.2.0",
|
|
||||||
"is-url": "^1.2.4",
|
|
||||||
"randomcolor": "0.6.2",
|
|
||||||
"react-cookies": "0.1.1",
|
|
||||||
"reactstrap": "8.9.0",
|
|
||||||
"slugid": "3.2.0",
|
|
||||||
"socket.io-client": "4.6.1",
|
|
||||||
"url-join": "4.0.1",
|
|
||||||
"url-parse": "1.5.10",
|
|
||||||
"uuid": "9.0.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@seafile/slate-react": {
|
|
||||||
"version": "0.92.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate-react/-/slate-react-0.92.5.tgz",
|
|
||||||
"integrity": "sha512-mGXcXzifjnhuV0+QD1L1kKOaW6HFzYy35SSKlqWalNoLXf/+SWXneapbqTtsoRqb0oi6TsQg4/dCdLy2bo4ERg==",
|
|
||||||
"requires": {
|
|
||||||
"@juggle/resize-observer": "^3.4.0",
|
|
||||||
"@types/is-hotkey": "^0.1.1",
|
|
||||||
"@types/lodash": "^4.14.149",
|
|
||||||
"direction": "^1.0.3",
|
|
||||||
"is-hotkey": "^0.1.6",
|
|
||||||
"is-plain-object": "^5.0.0",
|
|
||||||
"lodash": "^4.17.4",
|
|
||||||
"scroll-into-view-if-needed": "^2.2.20",
|
|
||||||
"tiny-invariant": "1.0.6"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"is-hotkey": {
|
|
||||||
"version": "0.1.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-hotkey/-/is-hotkey-0.1.8.tgz",
|
|
||||||
"integrity": "sha512-qs3NZ1INIS+H+yeo7cD9pDfwYV/jqRh1JG9S9zYrNudkoUQg7OL7ziXqRKu+InFjUIDoP2o6HIkLYMh1pcWgyQ=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"debug": {
|
|
||||||
"version": "4.3.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
|
|
||||||
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
|
|
||||||
"requires": {
|
|
||||||
"ms": "2.1.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"engine.io-client": {
|
|
||||||
"version": "6.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.4.0.tgz",
|
|
||||||
"integrity": "sha512-GyKPDyoEha+XZ7iEqam49vz6auPnNJ9ZBfy89f+rMMas8AuiMWOZ9PVzu8xb9ZC6rafUqiGHSCfu22ih66E+1g==",
|
|
||||||
"requires": {
|
|
||||||
"@socket.io/component-emitter": "~3.1.0",
|
|
||||||
"debug": "~4.3.1",
|
|
||||||
"engine.io-parser": "~5.0.3",
|
|
||||||
"ws": "~8.11.0",
|
|
||||||
"xmlhttprequest-ssl": "~2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"engine.io-parser": {
|
|
||||||
"version": "5.0.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.6.tgz",
|
|
||||||
"integrity": "sha512-tjuoZDMAdEhVnSFleYPCtdL2GXwVTGtNjoeJd9IhIG3C1xs9uwxqRNEu5WpnDZCaozwVlK/nuQhpodhXSIMaxw=="
|
|
||||||
},
|
|
||||||
"is-hotkey": {
|
|
||||||
"version": "0.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-hotkey/-/is-hotkey-0.2.0.tgz",
|
|
||||||
"integrity": "sha512-UknnZK4RakDmTgz4PI1wIph5yxSs/mvChWs9ifnlXsKuXgWmOkY/hAE0H/k2MIqH0RlRye0i1oC07MCRSD28Mw=="
|
|
||||||
},
|
|
||||||
"is-plain-object": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="
|
|
||||||
},
|
|
||||||
"ms": {
|
|
||||||
"version": "2.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
|
||||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
|
||||||
},
|
|
||||||
"socket.io-client": {
|
|
||||||
"version": "4.6.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.6.1.tgz",
|
|
||||||
"integrity": "sha512-5UswCV6hpaRsNg5kkEHVcbBIXEYoVbMQaHJBXJCyEQ+CiFPV1NIOY0XOFWG4XR4GZcB8Kn6AsRs/9cy9TbqVMQ==",
|
|
||||||
"requires": {
|
|
||||||
"@socket.io/component-emitter": "~3.1.0",
|
|
||||||
"debug": "~4.3.2",
|
|
||||||
"engine.io-client": "~6.4.0",
|
|
||||||
"socket.io-parser": "~4.2.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"socket.io-parser": {
|
|
||||||
"version": "4.2.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.2.tgz",
|
|
||||||
"integrity": "sha512-DJtziuKypFkMMHCm2uIshOYC7QaylbtzQwiMYDuCKy3OPkjLzu4B2vAhTlqipRHHzrI0NJeBAizTK7X+6m1jVw==",
|
|
||||||
"requires": {
|
|
||||||
"@socket.io/component-emitter": "~3.1.0",
|
|
||||||
"debug": "~4.3.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"uuid": {
|
|
||||||
"version": "9.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz",
|
|
||||||
"integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg=="
|
|
||||||
},
|
|
||||||
"ws": {
|
|
||||||
"version": "8.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz",
|
|
||||||
"integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==",
|
|
||||||
"requires": {}
|
|
||||||
},
|
|
||||||
"xmlhttprequest-ssl": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@seafile/seafile-calendar": {
|
"@seafile/seafile-calendar": {
|
||||||
"version": "0.0.12",
|
"version": "0.0.12",
|
||||||
"requires": {
|
"requires": {
|
||||||
@@ -33545,59 +33073,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@seafile/slate": {
|
|
||||||
"version": "0.91.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate/-/slate-0.91.8.tgz",
|
|
||||||
"integrity": "sha512-1om+Lapt6YktpFpISqA2Wxt5QlKdd9iXIBUkrhmbLwKBuFMZYl17r/rbxgNsUM/FVrgoyLt8RdZkjk31ZTz29Q==",
|
|
||||||
"requires": {
|
|
||||||
"immer": "^9.0.6",
|
|
||||||
"is-plain-object": "^5.0.0",
|
|
||||||
"slugid": "^3.2.0",
|
|
||||||
"tiny-warning": "^1.0.3"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"immer": {
|
|
||||||
"version": "9.0.21",
|
|
||||||
"resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz",
|
|
||||||
"integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA=="
|
|
||||||
},
|
|
||||||
"is-plain-object": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@seafile/slate-history": {
|
|
||||||
"version": "0.86.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate-history/-/slate-history-0.86.2.tgz",
|
|
||||||
"integrity": "sha512-704Jd8NOgPngJsROpFBsM6yZsbBqMa2WPAIgfphasRV6XJ0rB2btVYUIbik451nPq4Laim0OSC1C32pg1d2uoQ==",
|
|
||||||
"requires": {
|
|
||||||
"is-plain-object": "^5.0.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"is-plain-object": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@seafile/slate-hyperscript": {
|
|
||||||
"version": "0.81.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate-hyperscript/-/slate-hyperscript-0.81.7.tgz",
|
|
||||||
"integrity": "sha512-YtyzpCIL6v781kor3Ubit1L0zM7qof9HRE2fs+w7ljoElKRwYMAHb/aIsCXuS/n9ormUBfAugDKrHSlY0Cx4UA==",
|
|
||||||
"requires": {
|
|
||||||
"is-plain-object": "^5.0.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"is-plain-object": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@seafile/slate-react": {
|
"@seafile/slate-react": {
|
||||||
"version": "0.54.13",
|
"version": "0.54.13",
|
||||||
"resolved": "https://registry.npmjs.org/@seafile/slate-react/-/slate-react-0.54.13.tgz",
|
"resolved": "https://registry.npmjs.org/@seafile/slate-react/-/slate-react-0.54.13.tgz",
|
||||||
@@ -33649,11 +33124,6 @@
|
|||||||
"@sinonjs/commons": "^1.7.0"
|
"@sinonjs/commons": "^1.7.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@socket.io/component-emitter": {
|
|
||||||
"version": "3.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz",
|
|
||||||
"integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg=="
|
|
||||||
},
|
|
||||||
"@svgr/babel-plugin-add-jsx-attribute": {
|
"@svgr/babel-plugin-add-jsx-attribute": {
|
||||||
"version": "5.4.0",
|
"version": "5.4.0",
|
||||||
"dev": true
|
"dev": true
|
||||||
@@ -34021,11 +33491,6 @@
|
|||||||
"pretty-format": "^26.0.0"
|
"pretty-format": "^26.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@types/js-cookie": {
|
|
||||||
"version": "2.2.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-2.2.7.tgz",
|
|
||||||
"integrity": "sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA=="
|
|
||||||
},
|
|
||||||
"@types/json-schema": {
|
"@types/json-schema": {
|
||||||
"version": "7.0.7",
|
"version": "7.0.7",
|
||||||
"dev": true
|
"dev": true
|
||||||
@@ -34637,35 +34102,6 @@
|
|||||||
"indent-string": "^4.0.0"
|
"indent-string": "^4.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ahooks": {
|
|
||||||
"version": "3.7.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/ahooks/-/ahooks-3.7.7.tgz",
|
|
||||||
"integrity": "sha512-5e5WlPq81Y84UnTLOKIQeq2cJw4aa7yj8fR2Nb/oMmXPrWMjIMCbPS1o+fpxSfCaNA3AzOnnMc8AehWRZltkJQ==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/runtime": "^7.21.0",
|
|
||||||
"@types/js-cookie": "^2.x.x",
|
|
||||||
"ahooks-v3-count": "^1.0.0",
|
|
||||||
"dayjs": "^1.9.1",
|
|
||||||
"intersection-observer": "^0.12.0",
|
|
||||||
"js-cookie": "^2.x.x",
|
|
||||||
"lodash": "^4.17.21",
|
|
||||||
"resize-observer-polyfill": "^1.5.1",
|
|
||||||
"screenfull": "^5.0.0",
|
|
||||||
"tslib": "^2.4.1"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"tslib": {
|
|
||||||
"version": "2.5.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz",
|
|
||||||
"integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ahooks-v3-count": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/ahooks-v3-count/-/ahooks-v3-count-1.0.0.tgz",
|
|
||||||
"integrity": "sha512-V7uUvAwnimu6eh/PED4mCDjE7tokeZQLKlxg9lCTMPhN+NjsSbtdacByVlR1oluXQzD3MOw55wylDmQo4+S9ZQ=="
|
|
||||||
},
|
|
||||||
"ajv": {
|
"ajv": {
|
||||||
"version": "6.12.6",
|
"version": "6.12.6",
|
||||||
"requires": {
|
"requires": {
|
||||||
@@ -36847,7 +36283,8 @@
|
|||||||
"dayjs": {
|
"dayjs": {
|
||||||
"version": "1.11.7",
|
"version": "1.11.7",
|
||||||
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.7.tgz",
|
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.7.tgz",
|
||||||
"integrity": "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ=="
|
"integrity": "sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==",
|
||||||
|
"peer": true
|
||||||
},
|
},
|
||||||
"debounce": {
|
"debounce": {
|
||||||
"version": "1.2.1",
|
"version": "1.2.1",
|
||||||
@@ -39704,11 +39141,6 @@
|
|||||||
"side-channel": "^1.0.4"
|
"side-channel": "^1.0.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"intersection-observer": {
|
|
||||||
"version": "0.12.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/intersection-observer/-/intersection-observer-0.12.2.tgz",
|
|
||||||
"integrity": "sha512-7m1vEcPCxXYI8HqnL8CKI6siDyD+eIWSwgB3DZA+ZTogxk9I4CDnj4wilt9x/+/QbHI4YG5YZNmC6458/e9Ktg=="
|
|
||||||
},
|
|
||||||
"invariant": {
|
"invariant": {
|
||||||
"version": "2.2.4",
|
"version": "2.2.4",
|
||||||
"requires": {
|
"requires": {
|
||||||
@@ -41462,11 +40894,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz",
|
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz",
|
||||||
"integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ=="
|
"integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ=="
|
||||||
},
|
},
|
||||||
"js-cookie": {
|
|
||||||
"version": "2.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz",
|
|
||||||
"integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ=="
|
|
||||||
},
|
|
||||||
"js-tokens": {
|
"js-tokens": {
|
||||||
"version": "4.0.0"
|
"version": "4.0.0"
|
||||||
},
|
},
|
||||||
@@ -45532,11 +44959,6 @@
|
|||||||
"safe-buffer": "^5.1.0"
|
"safe-buffer": "^5.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"randomcolor": {
|
|
||||||
"version": "0.6.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/randomcolor/-/randomcolor-0.6.2.tgz",
|
|
||||||
"integrity": "sha512-Mn6TbyYpFgwFuQ8KJKqf3bqqY9O1y37/0jgSK/61PUxV4QfIMv0+K2ioq8DfOjkBslcjwSzRfIDEXfzA9aCx7A=="
|
|
||||||
},
|
|
||||||
"randomfill": {
|
"randomfill": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.4",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@@ -46816,11 +46238,6 @@
|
|||||||
"requires-port": {
|
"requires-port": {
|
||||||
"version": "1.0.0"
|
"version": "1.0.0"
|
||||||
},
|
},
|
||||||
"resize-observer-polyfill": {
|
|
||||||
"version": "1.5.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
|
|
||||||
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
|
|
||||||
},
|
|
||||||
"resolve": {
|
"resolve": {
|
||||||
"version": "1.18.1",
|
"version": "1.18.1",
|
||||||
"requires": {
|
"requires": {
|
||||||
@@ -47214,11 +46631,6 @@
|
|||||||
"ajv-keywords": "^3.5.2"
|
"ajv-keywords": "^3.5.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"screenfull": {
|
|
||||||
"version": "5.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/screenfull/-/screenfull-5.2.0.tgz",
|
|
||||||
"integrity": "sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA=="
|
|
||||||
},
|
|
||||||
"scroll-into-view-if-needed": {
|
"scroll-into-view-if-needed": {
|
||||||
"version": "2.2.31",
|
"version": "2.2.31",
|
||||||
"resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz",
|
"resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz",
|
||||||
@@ -47576,21 +46988,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"slugid": {
|
|
||||||
"version": "3.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/slugid/-/slugid-3.2.0.tgz",
|
|
||||||
"integrity": "sha512-f0vZb6VyjUdZG5kaxd9CNpfhy+eUUTC8RnbDolC3ZLjYa7n5AdPkQnqnIjmoZYoPS9dWMOXQdoBREAGQqdZb9A==",
|
|
||||||
"requires": {
|
|
||||||
"uuid": "^8.3.2"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"uuid": {
|
|
||||||
"version": "8.3.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
|
|
||||||
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"snapdragon": {
|
"snapdragon": {
|
||||||
"version": "0.8.2",
|
"version": "0.8.2",
|
||||||
"requires": {
|
"requires": {
|
||||||
@@ -48865,11 +48262,6 @@
|
|||||||
"version": "2.1.0",
|
"version": "2.1.0",
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"tiny-invariant": {
|
|
||||||
"version": "1.0.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.0.6.tgz",
|
|
||||||
"integrity": "sha512-FOyLWWVjG+aC0UqG76V53yAWdXfH8bO6FNmyZOuUrzDzK8DI3/JRY25UD7+g49JWM1LXwymsKERB+DzI0dTEQA=="
|
|
||||||
},
|
|
||||||
"tiny-warning": {
|
"tiny-warning": {
|
||||||
"version": "1.0.3"
|
"version": "1.0.3"
|
||||||
},
|
},
|
||||||
@@ -49309,11 +48701,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"url-join": {
|
|
||||||
"version": "4.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz",
|
|
||||||
"integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA=="
|
|
||||||
},
|
|
||||||
"url-loader": {
|
"url-loader": {
|
||||||
"version": "4.1.1",
|
"version": "4.1.1",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
@@ -6,7 +6,6 @@
|
|||||||
"@gatsbyjs/reach-router": "1.3.9",
|
"@gatsbyjs/reach-router": "1.3.9",
|
||||||
"@seafile/react-image-lightbox": "2.0.2",
|
"@seafile/react-image-lightbox": "2.0.2",
|
||||||
"@seafile/resumablejs": "1.1.16",
|
"@seafile/resumablejs": "1.1.16",
|
||||||
"@seafile/sdoc-editor": "0.1.50",
|
|
||||||
"@seafile/seafile-calendar": "0.0.12",
|
"@seafile/seafile-calendar": "0.0.12",
|
||||||
"@seafile/seafile-editor": "0.3.132",
|
"@seafile/seafile-editor": "0.3.132",
|
||||||
"@seafile/slate-react": "0.54.13",
|
"@seafile/slate-react": "0.54.13",
|
||||||
|
@@ -1,40 +0,0 @@
|
|||||||
import i18n from 'i18next';
|
|
||||||
import Backend from 'i18next-xhr-backend';
|
|
||||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
||||||
import { initReactI18next } from 'react-i18next';
|
|
||||||
import { mediaUrl } from '../utils/constants';
|
|
||||||
|
|
||||||
const lang = window.app.pageOptions.lang;
|
|
||||||
|
|
||||||
i18n
|
|
||||||
.use(Backend)
|
|
||||||
.use(LanguageDetector)
|
|
||||||
.use(initReactI18next)
|
|
||||||
.init({
|
|
||||||
lng: lang,
|
|
||||||
fallbackLng: 'en',
|
|
||||||
ns: ['sdoc-editor'],
|
|
||||||
defaultNS: 'translations',
|
|
||||||
|
|
||||||
whitelist: ['en', 'zh-CN', 'fr', 'de', 'cs', 'es', 'es-AR', 'es-MX', 'ru'],
|
|
||||||
|
|
||||||
backend: {
|
|
||||||
loadPath: mediaUrl + 'sdoc-editor/locales/{{ lng }}/{{ ns }}.json',
|
|
||||||
// loadPath: '/media/locales/{{lng}}/{{ns}}.json',
|
|
||||||
},
|
|
||||||
|
|
||||||
debug: false, // console log if debug: true
|
|
||||||
|
|
||||||
interpolation: {
|
|
||||||
escapeValue: false, // not needed for react!!
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
load: 'currentOnly',
|
|
||||||
|
|
||||||
react: {
|
|
||||||
wait: true,
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
export default i18n;
|
|
@@ -1,20 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
import { SDocViewer } from '@seafile/sdoc-editor';
|
|
||||||
|
|
||||||
import '../../css/sdoc-file-view.css';
|
|
||||||
|
|
||||||
const { fileContent } = window.app.pageOptions;
|
|
||||||
|
|
||||||
class FileContent extends React.Component {
|
|
||||||
|
|
||||||
render() {
|
|
||||||
const document = fileContent ? JSON.parse(fileContent) : null;
|
|
||||||
return (
|
|
||||||
<div className="file-view-content flex-1 o-auto sdoc-file-view p-0 d-flex flex-column">
|
|
||||||
<SDocViewer document={document} />
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export default FileContent;
|
|
@@ -141,7 +141,7 @@ class FileToolbar extends React.Component {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{(canEditFile && fileType != 'SDoc' && !err) &&
|
{(canEditFile && !err) &&
|
||||||
( this.props.isSaving ?
|
( this.props.isSaving ?
|
||||||
<button type={'button'} aria-label={gettext('Saving...')} className={'btn btn-icon btn-secondary btn-active'}>
|
<button type={'button'} aria-label={gettext('Saving...')} className={'btn btn-icon btn-secondary btn-active'}>
|
||||||
<i className={'fa fa-spin fa-spinner'}/></button> :
|
<i className={'fa fa-spin fa-spinner'}/></button> :
|
||||||
@@ -195,9 +195,9 @@ class FileToolbar extends React.Component {
|
|||||||
</DropdownItem>
|
</DropdownItem>
|
||||||
)}
|
)}
|
||||||
{filePerm == 'rw' && (
|
{filePerm == 'rw' && (
|
||||||
<a href={`${siteRoot}repo/file_revisions/${repoID}/?p=${encodeURIComponent(filePath)}&referer=${encodeURIComponent(location.href)}`} className="dropdown-item">
|
<a href={`${siteRoot}repo/file_revisions/${repoID}/?p=${encodeURIComponent(filePath)}&referer=${encodeURIComponent(location.href)}`} className="dropdown-item">
|
||||||
{gettext('History')}
|
{gettext('History')}
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
</ButtonDropdown>
|
</ButtonDropdown>
|
||||||
@@ -205,7 +205,7 @@ class FileToolbar extends React.Component {
|
|||||||
|
|
||||||
<Dropdown isOpen={this.state.dropdownOpen} toggle={this.toggle} className="d-block d-md-none">
|
<Dropdown isOpen={this.state.dropdownOpen} toggle={this.toggle} className="d-block d-md-none">
|
||||||
<ButtonGroup >
|
<ButtonGroup >
|
||||||
{(canEditFile && fileType != 'SDoc' && !err) &&
|
{(canEditFile && !err) &&
|
||||||
(this.props.isSaving ?
|
(this.props.isSaving ?
|
||||||
<button type={'button'} aria-label={gettext('Saving...')} className={'btn btn-icon btn-secondary btn-active'}>
|
<button type={'button'} aria-label={gettext('Saving...')} className={'btn btn-icon btn-secondary btn-active'}>
|
||||||
<i className={'fa fa-spin fa-spinner'}/></button> :
|
<i className={'fa fa-spin fa-spinner'}/></button> :
|
||||||
|
@@ -2,7 +2,7 @@ import React, { Fragment } from 'react';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';
|
import { Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';
|
||||||
import { Utils } from '../../utils/utils';
|
import { Utils } from '../../utils/utils';
|
||||||
import { enableSeadoc, gettext } from '../../utils/constants';
|
import { gettext } from '../../utils/constants';
|
||||||
import ModalPortal from '../modal-portal';
|
import ModalPortal from '../modal-portal';
|
||||||
import CreateFolder from '../../components/dialog/create-folder-dialog';
|
import CreateFolder from '../../components/dialog/create-folder-dialog';
|
||||||
import CreateFile from '../../components/dialog/create-file-dialog';
|
import CreateFile from '../../components/dialog/create-file-dialog';
|
||||||
@@ -142,13 +142,6 @@ class DirOperationToolbar extends React.Component {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
onCreateSeaDocToggle = () => {
|
|
||||||
this.setState({
|
|
||||||
isCreateFileDialogShow: !this.state.isCreateFileDialogShow,
|
|
||||||
fileType: '.sdoc'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
onAddFile = (filePath, isDraft) => {
|
onAddFile = (filePath, isDraft) => {
|
||||||
this.setState({isCreateFileDialogShow: false});
|
this.setState({isCreateFileDialogShow: false});
|
||||||
this.props.onAddFile(filePath, isDraft);
|
this.props.onAddFile(filePath, isDraft);
|
||||||
@@ -215,7 +208,6 @@ class DirOperationToolbar extends React.Component {
|
|||||||
<button className="dropdown-item" onClick={this.onCreateExcelToggle} role="menuitem">{gettext('New Excel File')}</button>
|
<button className="dropdown-item" onClick={this.onCreateExcelToggle} role="menuitem">{gettext('New Excel File')}</button>
|
||||||
<button className="dropdown-item" onClick={this.onCreatePPTToggle} role="menuitem">{gettext('New PowerPoint File')}</button>
|
<button className="dropdown-item" onClick={this.onCreatePPTToggle} role="menuitem">{gettext('New PowerPoint File')}</button>
|
||||||
<button className="dropdown-item" onClick={this.onCreateWordToggle} role="menuitem">{gettext('New Word File')}</button>
|
<button className="dropdown-item" onClick={this.onCreateWordToggle} role="menuitem">{gettext('New Word File')}</button>
|
||||||
{enableSeadoc && <button className="dropdown-item" onClick={this.onCreateSeaDocToggle} role="menuitem">{gettext('New SeaDoc File')}</button>}
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
@@ -1,231 +0,0 @@
|
|||||||
.sdoc-file-history .sdoc-file-history-container {
|
|
||||||
flex: 1;
|
|
||||||
overflow-x: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header {
|
|
||||||
height: 50px;
|
|
||||||
border-bottom: 1px solid #e5e5e5;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-history-header-left {
|
|
||||||
font-size: 1.25rem;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .file-name {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-history-header-right {
|
|
||||||
height: 100%;
|
|
||||||
min-width: 100px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-container {
|
|
||||||
height: 32px;
|
|
||||||
border: 1px solid #e5e5e5;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-divider {
|
|
||||||
border-right: 1px solid #e5e5e5;
|
|
||||||
height: 100%;
|
|
||||||
width: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-last,
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-next {
|
|
||||||
padding: 0 8px;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-last .fas,
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-next .fas {
|
|
||||||
color: #000;
|
|
||||||
opacity: .5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-last:hover,
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-next:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
opacity: .75;
|
|
||||||
background-color: #F5F5F5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-last:hover .fas,
|
|
||||||
.sdoc-file-history .sdoc-file-history-header .sdoc-file-changes-next:hover .fas {
|
|
||||||
opacity: .75;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-content {
|
|
||||||
flex: 1;
|
|
||||||
min-height: 0;
|
|
||||||
padding: 20px 40px;
|
|
||||||
background-color: #F5F5F5;
|
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-content .sdoc-file-history-viewer {
|
|
||||||
width: 100%;
|
|
||||||
min-height: 120px;
|
|
||||||
flex: 1;
|
|
||||||
background-color: #fff;
|
|
||||||
word-break: break-word;
|
|
||||||
border: 1px solid #e6e6dd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-content .sdoc-editor-content {
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-content .article {
|
|
||||||
width: 100%;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* panel */
|
|
||||||
.sdoc-file-history .sdoc-file-history-panel {
|
|
||||||
width: 260px;
|
|
||||||
border-left: 1px solid #e5e5e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-panel .sdoc-file-history-select-range {
|
|
||||||
padding: 10px 18px;
|
|
||||||
height: 50px;;
|
|
||||||
border-bottom: 1px solid #e5e5e5;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-panel .sdoc-file-history-select-range-title {
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
font-size: 1rem;
|
|
||||||
font-weight: bolder;
|
|
||||||
line-height: 29px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-panel .sdoc-file-history-diff-switch {
|
|
||||||
padding: 0 18px;
|
|
||||||
height: 50px;;
|
|
||||||
border-top: 1px solid #e5e5e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-diff-switch .custom-switch {
|
|
||||||
width: 100%;
|
|
||||||
padding-left: 0;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-diff-switch .custom-switch-description {
|
|
||||||
margin-left: 0;
|
|
||||||
flex: 1;
|
|
||||||
padding-right: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* history versions */
|
|
||||||
.sdoc-file-history-versions {
|
|
||||||
flex: 1;
|
|
||||||
flex-direction: column;
|
|
||||||
min-height: 0;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history-versions .history-list-item {
|
|
||||||
padding: 5px 10px;
|
|
||||||
display: flex;
|
|
||||||
flex: 1;
|
|
||||||
border-bottom: 1px solid #e5e5e5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history-versions .history-list-item:last-child {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history-versions .history-list-item:not(.item-active):hover {
|
|
||||||
background-color: #F5F5F5;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history-versions .history-list-item .history-operation:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history-versions .history-list-item .history-operation a.fas {
|
|
||||||
color: #888;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history-versions .history-list-item .history-operation:hover a.fas {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history-versions .history-list-item.item-active {
|
|
||||||
background-color: #FFECD9 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history-versions .history-list-item.item-active .history-info .time {
|
|
||||||
color: #ff8000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.history-info .owner {
|
|
||||||
min-height: 22.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history-versions .dropdown-menu {
|
|
||||||
min-width: 8rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.history-content .main-panel {
|
|
||||||
flex: 1 1 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.history-content .history-side-panel {
|
|
||||||
flex: 0 0 auto;
|
|
||||||
user-select: none;
|
|
||||||
border-left: 1px solid #e5e5e5;
|
|
||||||
background-color: #fff;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.history-content .history-side-panel .history-side-panel-title {
|
|
||||||
height: 50px;
|
|
||||||
border-bottom: 1px solid #e5e5e5;
|
|
||||||
line-height: 50px;
|
|
||||||
font-size: 1rem;
|
|
||||||
padding: 0 10px;
|
|
||||||
background-color: rgb(250,250,249);
|
|
||||||
font-weight: bolder;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width:992px) {
|
|
||||||
|
|
||||||
.history-side-panel {
|
|
||||||
width: 260px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width:768px) {
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-content {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-file-history .sdoc-file-history-content .sdoc-file-history-viewer {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.markdown-viewer-render-content {
|
|
||||||
margin: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.markdown-viewer-render-content .diff-view {
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@@ -1,3 +0,0 @@
|
|||||||
.sdoc-file-view .sdoc-editor-container {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
@@ -7,7 +7,6 @@ import SVG from './components/file-content-view/svg';
|
|||||||
import PDF from './components/file-content-view/pdf';
|
import PDF from './components/file-content-view/pdf';
|
||||||
import Text from './components/file-content-view/text';
|
import Text from './components/file-content-view/text';
|
||||||
import Markdown from './components/file-content-view/markdown';
|
import Markdown from './components/file-content-view/markdown';
|
||||||
import SDoc from './components/file-content-view/sdoc';
|
|
||||||
import Video from './components/file-content-view/video';
|
import Video from './components/file-content-view/video';
|
||||||
import Audio from './components/file-content-view/audio';
|
import Audio from './components/file-content-view/audio';
|
||||||
|
|
||||||
@@ -41,9 +40,6 @@ class HistoryTrashFileView extends React.Component {
|
|||||||
case 'Markdown':
|
case 'Markdown':
|
||||||
content = <Markdown />;
|
content = <Markdown />;
|
||||||
break;
|
break;
|
||||||
case 'SDoc':
|
|
||||||
content = <SDoc />;
|
|
||||||
break;
|
|
||||||
case 'Video':
|
case 'Video':
|
||||||
content = <Video />;
|
content = <Video />;
|
||||||
break;
|
break;
|
||||||
|
@@ -1,52 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
import PropTypes from 'prop-types';
|
|
||||||
import { EventBus, EXTERNAL_EVENT } from '@seafile/sdoc-editor';
|
|
||||||
import InternalLinkDialog from '../../components/dialog/internal-link-dialog';
|
|
||||||
|
|
||||||
const propTypes = {
|
|
||||||
repoID: PropTypes.string.isRequired,
|
|
||||||
docPath: PropTypes.string.isRequired,
|
|
||||||
};
|
|
||||||
|
|
||||||
class ExternalOperations extends React.Component {
|
|
||||||
|
|
||||||
constructor(props) {
|
|
||||||
super(props);
|
|
||||||
this.state = {
|
|
||||||
isShowInternalLinkDialog: false,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
componentDidMount() {
|
|
||||||
const eventBus = EventBus.getInstance();
|
|
||||||
this.unsubscribeInternalLinkEvent = eventBus.subscribe(EXTERNAL_EVENT.INTERNAL_LINK_CLICK, this.onInternalLinkToggle);
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount() {
|
|
||||||
this.unsubscribeInternalLinkEvent();
|
|
||||||
}
|
|
||||||
|
|
||||||
onInternalLinkToggle = () => {
|
|
||||||
this.setState({isShowInternalLinkDialog: !this.state.isShowInternalLinkDialog});
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
|
||||||
const { repoID, docPath } = this.props;
|
|
||||||
const { isShowInternalLinkDialog } = this.state;
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
{isShowInternalLinkDialog && (
|
|
||||||
<InternalLinkDialog
|
|
||||||
repoID={repoID}
|
|
||||||
path={docPath}
|
|
||||||
onInternalLinkDialogToggle={this.onInternalLinkToggle}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ExternalOperations.propTypes = propTypes;
|
|
||||||
|
|
||||||
export default ExternalOperations;
|
|
@@ -1,15 +0,0 @@
|
|||||||
import React, { Fragment } from 'react';
|
|
||||||
import { SimpleEditor } from '@seafile/sdoc-editor';
|
|
||||||
import ExternalOperations from './external-operations';
|
|
||||||
|
|
||||||
export default class SdocEditor extends React.Component {
|
|
||||||
render() {
|
|
||||||
const { repoID, docPath } = window.seafile;
|
|
||||||
return (
|
|
||||||
<Fragment>
|
|
||||||
<SimpleEditor />
|
|
||||||
<ExternalOperations repoID={repoID} docPath={docPath} />
|
|
||||||
</Fragment>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,99 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
import PropTypes from 'prop-types';
|
|
||||||
import { Dropdown, DropdownToggle, DropdownMenu, DropdownItem} from 'reactstrap';
|
|
||||||
import { gettext, filePath } from '../../utils/constants';
|
|
||||||
import URLDecorator from '../../utils/url-decorator';
|
|
||||||
|
|
||||||
import '../../css/history-record-item.css';
|
|
||||||
|
|
||||||
class HistoryVersion extends React.Component {
|
|
||||||
|
|
||||||
constructor(props) {
|
|
||||||
super(props);
|
|
||||||
this.state = {
|
|
||||||
isShowOperationIcon: false,
|
|
||||||
isMenuShow: false,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
onMouseEnter = () => {
|
|
||||||
const { currentVersion, historyVersion } = this.props;
|
|
||||||
if (currentVersion.commitId === historyVersion.commitId) return;
|
|
||||||
this.setState({ isShowOperationIcon: true });
|
|
||||||
}
|
|
||||||
|
|
||||||
onMouseLeave = () => {
|
|
||||||
const { currentVersion, historyVersion } = this.props;
|
|
||||||
if (currentVersion.commitId === historyVersion.commitId) return;
|
|
||||||
this.setState({ isShowOperationIcon: false });
|
|
||||||
}
|
|
||||||
|
|
||||||
onToggleClick = (e) => {
|
|
||||||
this.setState({ isMenuShow: !this.state.isMenuShow });
|
|
||||||
}
|
|
||||||
|
|
||||||
onClick = () => {
|
|
||||||
this.setState({ isShowOperationIcon: false });
|
|
||||||
const { currentVersion, historyVersion } = this.props;
|
|
||||||
if (currentVersion.commitId === historyVersion.commitId) return;
|
|
||||||
this.props.onSelectHistoryVersion(historyVersion);
|
|
||||||
}
|
|
||||||
|
|
||||||
onRestore = () => {
|
|
||||||
const { historyVersion } = this.props;
|
|
||||||
this.props.onRestore(historyVersion);
|
|
||||||
}
|
|
||||||
|
|
||||||
onItemDownload = () => {
|
|
||||||
// nothing todo
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
|
||||||
const { currentVersion, historyVersion } = this.props;
|
|
||||||
if (!currentVersion || !historyVersion) return null;
|
|
||||||
const { ctime, commitId, creatorName, revFileId } = historyVersion;
|
|
||||||
const isHighlightItem = commitId === currentVersion.commitId;
|
|
||||||
const url = URLDecorator.getUrl({ type: 'download_historic_file', filePath: filePath, objID: revFileId });
|
|
||||||
return (
|
|
||||||
<li
|
|
||||||
className={`history-list-item ${isHighlightItem ? 'item-active' : ''}`}
|
|
||||||
onMouseEnter={this.onMouseEnter}
|
|
||||||
onMouseLeave={this.onMouseLeave}
|
|
||||||
onClick={this.onClick}
|
|
||||||
>
|
|
||||||
<div className="history-info">
|
|
||||||
<div className="time">{ctime}</div>
|
|
||||||
<div className="owner">
|
|
||||||
<span className="squire-icon"></span>
|
|
||||||
<span>{creatorName}</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div className="history-operation">
|
|
||||||
<Dropdown isOpen={this.state.isMenuShow} toggle={this.onToggleClick}>
|
|
||||||
<DropdownToggle
|
|
||||||
tag='a'
|
|
||||||
className={`fas fa-ellipsis-v ${(this.state.isShowOperationIcon || isHighlightItem) ? '' : 'invisible'}`}
|
|
||||||
data-toggle="dropdown"
|
|
||||||
aria-expanded={this.state.isMenuShow}
|
|
||||||
alt={gettext('More Operations')}
|
|
||||||
/>
|
|
||||||
<DropdownMenu>
|
|
||||||
{(this.props.index !== 0) && <DropdownItem onClick={this.onItemRestore}>{gettext('Restore')}</DropdownItem>}
|
|
||||||
<DropdownItem tag='a' href={url} onClick={this.onItemDownLoad}>{gettext('Download')}</DropdownItem>
|
|
||||||
</DropdownMenu>
|
|
||||||
</Dropdown>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HistoryVersion.propTypes = {
|
|
||||||
index: PropTypes.number,
|
|
||||||
currentVersion: PropTypes.object.isRequired,
|
|
||||||
historyVersion: PropTypes.object,
|
|
||||||
onSelectHistoryVersion: PropTypes.func.isRequired,
|
|
||||||
onRestore: PropTypes.func.isRequired,
|
|
||||||
};
|
|
||||||
|
|
||||||
export default HistoryVersion;
|
|
@@ -1,211 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
import ReactDom from 'react-dom';
|
|
||||||
import { UncontrolledTooltip } from 'reactstrap';
|
|
||||||
import classnames from 'classnames';
|
|
||||||
import { DiffViewer } from '@seafile/sdoc-editor';
|
|
||||||
import { seafileAPI } from '../../utils/seafile-api';
|
|
||||||
import { gettext, historyRepoID } from '../../utils/constants';
|
|
||||||
import Loading from '../../components/loading';
|
|
||||||
import GoBack from '../../components/common/go-back';
|
|
||||||
import SidePanel from './side-panel';
|
|
||||||
import { Utils } from '../../utils/utils';
|
|
||||||
import toaster from '../../components/toast';
|
|
||||||
|
|
||||||
import '../../css/layout.css';
|
|
||||||
import '../../css/sdoc-file-history.css';
|
|
||||||
|
|
||||||
const { serviceURL, avatarURL, siteRoot } = window.app.config;
|
|
||||||
const { username, name } = window.app.pageOptions;
|
|
||||||
const { repoID, fileName, filePath, docUuid, assetsUrl } = window.fileHistory.pageOptions;
|
|
||||||
|
|
||||||
window.seafile = {
|
|
||||||
repoID,
|
|
||||||
docPath: filePath,
|
|
||||||
docName: fileName,
|
|
||||||
docUuid,
|
|
||||||
isOpenSocket: false,
|
|
||||||
serviceUrl: serviceURL,
|
|
||||||
name,
|
|
||||||
username,
|
|
||||||
avatarURL,
|
|
||||||
siteRoot,
|
|
||||||
assetsUrl,
|
|
||||||
};
|
|
||||||
|
|
||||||
class SdocFileHistory extends React.Component {
|
|
||||||
|
|
||||||
constructor(props) {
|
|
||||||
super(props);
|
|
||||||
const isShowChanges = localStorage.getItem('seahub-sdoc-history-show-changes') === 'false' ? false : true;
|
|
||||||
this.state = {
|
|
||||||
isLoading: true,
|
|
||||||
isShowChanges,
|
|
||||||
currentVersion: {},
|
|
||||||
currentVersionContent: '',
|
|
||||||
lastVersionContent: '',
|
|
||||||
changes: [],
|
|
||||||
currentDiffIndex: 0,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
onSelectHistoryVersion = (currentVersion, lastVersion) => {
|
|
||||||
this.setState({ isLoading: true, currentVersion });
|
|
||||||
seafileAPI.getFileRevision(historyRepoID, currentVersion.commitId, currentVersion.path).then(res => {
|
|
||||||
return seafileAPI.getFileContent(res.data);
|
|
||||||
}).then(res => {
|
|
||||||
const currentVersionContent = res.data;
|
|
||||||
if (lastVersion) {
|
|
||||||
seafileAPI.getFileRevision(historyRepoID, lastVersion.commitId, lastVersion.path).then(res => {
|
|
||||||
return seafileAPI.getFileContent(res.data);
|
|
||||||
}).then(res => {
|
|
||||||
const lastVersionContent = res.data;
|
|
||||||
this.setContent(currentVersionContent, lastVersionContent);
|
|
||||||
}).catch(error => {
|
|
||||||
const errorMessage = Utils.getErrorMsg(error, true);
|
|
||||||
toaster.danger(gettext(errorMessage));
|
|
||||||
this.setContent(currentVersionContent, '');
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
this.setContent(currentVersionContent, '');
|
|
||||||
}
|
|
||||||
}).catch(error => {
|
|
||||||
const errorMessage = Utils.getErrorMsg(error, true);
|
|
||||||
toaster.danger(gettext(errorMessage));
|
|
||||||
this.setContent('', '');
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
setContent = (currentVersionContent = '', lastVersionContent = '') => {
|
|
||||||
this.setState({ currentVersionContent, lastVersionContent, isLoading: false, changes: [], currentDiffIndex: 0 });
|
|
||||||
}
|
|
||||||
|
|
||||||
onShowChanges = (isShowChanges, lastVersion) => {
|
|
||||||
if (isShowChanges && lastVersion) {
|
|
||||||
const { currentVersionContent } = this.state;
|
|
||||||
this.setState({ isLoading: true }, () => {
|
|
||||||
localStorage.setItem('seahub-sdoc-history-show-changes', isShowChanges + '');
|
|
||||||
seafileAPI.getFileRevision(historyRepoID, lastVersion.commitId, lastVersion.path).then(res => {
|
|
||||||
return seafileAPI.getFileContent(res.data);
|
|
||||||
}).then(res => {
|
|
||||||
const lastVersionContent = res.data;
|
|
||||||
this.setContent(currentVersionContent, lastVersionContent);
|
|
||||||
this.setState({ isShowChanges });
|
|
||||||
}).catch(error => {
|
|
||||||
const errorMessage = Utils.getErrorMsg(error, true);
|
|
||||||
toaster.danger(gettext(errorMessage));
|
|
||||||
this.setContent(currentVersionContent, '');
|
|
||||||
this.setState({ isShowChanges });
|
|
||||||
});
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.setState({ isShowChanges }, () => {
|
|
||||||
localStorage.setItem('seahub-sdoc-history-show-changes', isShowChanges + '');
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
setDiffCount = (diff = { value: [], changes: [] }) => {
|
|
||||||
const { changes } = diff;
|
|
||||||
this.setState({ changes, currentDiffIndex: 0 });
|
|
||||||
}
|
|
||||||
|
|
||||||
jumpToElement = (currentDiffIndex) => {
|
|
||||||
this.setState({ currentDiffIndex }, () => {
|
|
||||||
const { currentDiffIndex, changes } = this.state;
|
|
||||||
const change = changes[currentDiffIndex];
|
|
||||||
const changeElement = document.querySelectorAll(`[data-id=${change}]`)[0];
|
|
||||||
if (changeElement) {
|
|
||||||
this.historyContentRef.scrollTop = changeElement.offsetTop - 10;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
lastChange = () => {
|
|
||||||
const { currentDiffIndex, changes } = this.state;
|
|
||||||
if (currentDiffIndex === 0) {
|
|
||||||
this.jumpToElement(changes.length - 1);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.jumpToElement(currentDiffIndex - 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
nextChange = () => {
|
|
||||||
const { currentDiffIndex, changes } = this.state;
|
|
||||||
if (currentDiffIndex === changes.length - 1) {
|
|
||||||
this.jumpToElement(0);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.jumpToElement(currentDiffIndex + 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
|
||||||
const { currentVersion, isShowChanges, currentVersionContent, lastVersionContent, isLoading, changes, currentDiffIndex } = this.state;
|
|
||||||
const changesCount = changes ? changes.length : 0;
|
|
||||||
const isShowChangesTips = isShowChanges && changesCount > 0;
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="sdoc-file-history d-flex h-100 w-100 o-hidden">
|
|
||||||
<div className="sdoc-file-history-container d-flex flex-column">
|
|
||||||
<div className="sdoc-file-history-header pt-2 pb-2 pl-4 pr-4 d-flex justify-content-between w-100 o-hidden">
|
|
||||||
<div className={classnames('sdoc-file-history-header-left d-flex align-items-center o-hidden', { 'pr-4': isShowChangesTips })}>
|
|
||||||
<GoBack />
|
|
||||||
<div className="file-name text-truncate">{fileName}</div>
|
|
||||||
</div>
|
|
||||||
{isShowChangesTips && (
|
|
||||||
<div className="sdoc-file-history-header-right d-flex align-items-center">
|
|
||||||
<div className="sdoc-file-changes-container d-flex align-items-center ">
|
|
||||||
<div className="sdoc-file-changes-tip d-flex align-items-center justify-content-center pl-2 pr-2">
|
|
||||||
{`${gettext('Changes')} ${currentDiffIndex + 1}/${changesCount}`}
|
|
||||||
</div>
|
|
||||||
<div className="sdoc-file-changes-divider"></div>
|
|
||||||
<div
|
|
||||||
className="sdoc-file-changes-last d-flex align-items-center justify-content-center"
|
|
||||||
id="sdoc-file-changes-last"
|
|
||||||
onClick={this.lastChange}
|
|
||||||
>
|
|
||||||
<span className="fas fa-chevron-up"></span>
|
|
||||||
</div>
|
|
||||||
<div className="sdoc-file-changes-divider"></div>
|
|
||||||
<div
|
|
||||||
className="sdoc-file-changes-next d-flex align-items-center justify-content-center"
|
|
||||||
id="sdoc-file-changes-next"
|
|
||||||
onClick={this.nextChange}
|
|
||||||
>
|
|
||||||
<span className="fas fa-chevron-down"></span>
|
|
||||||
</div>
|
|
||||||
<UncontrolledTooltip placement="bottom" target="sdoc-file-changes-last">
|
|
||||||
{gettext('Last modification')}
|
|
||||||
</UncontrolledTooltip>
|
|
||||||
<UncontrolledTooltip placement="bottom" target="sdoc-file-changes-next">
|
|
||||||
{gettext('Next modification')}
|
|
||||||
</UncontrolledTooltip>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
<div className="sdoc-file-history-content f-flex flex-column" ref={ref => this.historyContentRef = ref}>
|
|
||||||
{isLoading ? (
|
|
||||||
<div className="sdoc-file-history-viewer d-flex align-items-center justify-content-center">
|
|
||||||
<Loading />
|
|
||||||
</div>
|
|
||||||
) : (
|
|
||||||
<DiffViewer
|
|
||||||
currentContent={currentVersionContent}
|
|
||||||
lastContent={isShowChanges ? lastVersionContent : ''}
|
|
||||||
didMountCallback={this.setDiffCount}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<SidePanel
|
|
||||||
isShowChanges={isShowChanges}
|
|
||||||
currentVersion={currentVersion}
|
|
||||||
onSelectHistoryVersion={this.onSelectHistoryVersion}
|
|
||||||
onShowChanges={this.onShowChanges}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ReactDom.render(<SdocFileHistory />, document.getElementById('wrapper'));
|
|
@@ -1,210 +0,0 @@
|
|||||||
import React, { Component } from 'react';
|
|
||||||
import PropTypes from 'prop-types';
|
|
||||||
import classnames from 'classnames';
|
|
||||||
import Loading from '../../components/loading';
|
|
||||||
import { gettext, filePath, historyRepoID } from '../../utils/constants';
|
|
||||||
import { seafileAPI } from '../../utils/seafile-api';
|
|
||||||
import FileHistory from '../../models/file-history';
|
|
||||||
import { Utils } from '../../utils/utils';
|
|
||||||
import editUtilities from '../../utils/editor-utilities';
|
|
||||||
import toaster from '../../components/toast';
|
|
||||||
import HistoryVersion from './history-version';
|
|
||||||
import Switch from '../../components/common/switch';
|
|
||||||
|
|
||||||
class SidePanel extends Component {
|
|
||||||
|
|
||||||
constructor(props) {
|
|
||||||
super(props);
|
|
||||||
this.state = {
|
|
||||||
isLoading: true,
|
|
||||||
historyVersions: [],
|
|
||||||
errorMessage: '',
|
|
||||||
};
|
|
||||||
this.init();
|
|
||||||
}
|
|
||||||
|
|
||||||
componentDidMount() {
|
|
||||||
this.listHistoryVersions(historyRepoID, filePath, this.nextCommit, (historyVersion, lastHistoryVersion) => {
|
|
||||||
this.props.onSelectHistoryVersion(historyVersion, lastHistoryVersion);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
init = () => {
|
|
||||||
this.hasMore = true;
|
|
||||||
this.nextCommit = '';
|
|
||||||
this.filePath = '';
|
|
||||||
this.oldFilePath = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
listHistoryVersions = (repoID, filePath, commit, callback) => {
|
|
||||||
seafileAPI.listOldFileHistoryRecords(repoID, filePath, commit).then((res) => {
|
|
||||||
let historyData = res.data;
|
|
||||||
if (!historyData) {
|
|
||||||
this.setState({ isLoading: false, errorMessage: 'There is an error in server.' });
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.updateHistoryVersions(historyData, callback);
|
|
||||||
}).catch(error => {
|
|
||||||
const errorMessage = Utils.getErrorMsg(error, true);
|
|
||||||
this.setState({ isLoading: false, errorMessage: errorMessage });
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
updateHistoryVersions(result, callback) {
|
|
||||||
const dataCount = result.data ? result.data.length : 0;
|
|
||||||
this.nextCommit = result.next_start_commit || '';
|
|
||||||
if (dataCount) {
|
|
||||||
const addedHistoryVersions = result.data.map(item => new FileHistory(item));
|
|
||||||
this.filePath = addedHistoryVersions[dataCount - 1].path;
|
|
||||||
this.oldFilePath = addedHistoryVersions[dataCount - 1].revRenamedOldPath;
|
|
||||||
const historyVersions = [ ...this.state.historyVersions, ...addedHistoryVersions ];
|
|
||||||
this.setState({ historyVersions: historyVersions, isLoading: false, errorMessage: '' }, () => {
|
|
||||||
callback && callback(historyVersions[0], historyVersions[1]);
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (this.nextCommit) {
|
|
||||||
this.listHistoryVersions(historyRepoID, filePath, this.nextCommit);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.hasMore = false;
|
|
||||||
this.setState({ isLoading: false, errorMessage: '' });
|
|
||||||
}
|
|
||||||
|
|
||||||
onScrollHandler = (event) => {
|
|
||||||
const clientHeight = event.target.clientHeight;
|
|
||||||
const scrollHeight = event.target.scrollHeight;
|
|
||||||
const scrollTop = event.target.scrollTop;
|
|
||||||
const isBottom = (clientHeight + scrollTop + 1 >= scrollHeight);
|
|
||||||
if (isBottom && this.hasMore && this.nextCommit) {
|
|
||||||
this.loadMore();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
loadMore = () => {
|
|
||||||
if (this.state.isLoading) return;
|
|
||||||
this.setState({ isLoading: true }, () => {
|
|
||||||
const currentFilePath = this.oldFilePath || this.filePath;
|
|
||||||
this.listHistoryVersions(historyRepoID, currentFilePath, this.nextCommit);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
restoreVersion = (historyVersion) => {
|
|
||||||
const { commitId, path } = historyVersion;
|
|
||||||
editUtilities.revertFile(path, commitId).then(res => {
|
|
||||||
if (res.data.success) {
|
|
||||||
this.init();
|
|
||||||
this.setState({ isLoading: true, historyVersions: [], errorMessage: '' } , () => {
|
|
||||||
this.listHistoryVersions(historyRepoID, filePath);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}).catch(error => {
|
|
||||||
const errorMessage = Utils.getErrorMsg(error, true);
|
|
||||||
toaster.danger(gettext(errorMessage));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
onSelectHistoryVersion = (historyVersion) => {
|
|
||||||
const { isShowChanges } = this.props;
|
|
||||||
if (!isShowChanges) {
|
|
||||||
this.props.onSelectHistoryVersion(historyVersion);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const { historyVersions } = this.state;
|
|
||||||
const historyVersionIndex = historyVersions.findIndex(item => item.commitId === historyVersion.commitId);
|
|
||||||
this.props.onSelectHistoryVersion(historyVersion, historyVersions[historyVersionIndex + 1]);
|
|
||||||
}
|
|
||||||
|
|
||||||
renderHistoryVersions = () => {
|
|
||||||
const { isLoading, historyVersions, errorMessage } = this.state;
|
|
||||||
if (historyVersions.length === 0) {
|
|
||||||
if (isLoading) {
|
|
||||||
return (
|
|
||||||
<div className="h-100 w-100 d-flex align-items-center justify-content-center">
|
|
||||||
<Loading />
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
if (errorMessage) {
|
|
||||||
return (
|
|
||||||
<div className="h-100 w-100 d-flex align-items-center justify-content-center error-message">
|
|
||||||
{gettext(errorMessage)}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
return (
|
|
||||||
<div className="h-100 w-100 d-flex align-items-center justify-content-center empty-tip-color">
|
|
||||||
{gettext('No_historical_versions')}
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
{historyVersions.map((historyVersion, index) => {
|
|
||||||
return (
|
|
||||||
<HistoryVersion
|
|
||||||
key={historyVersion.commitId}
|
|
||||||
index={index}
|
|
||||||
currentVersion={this.props.currentVersion}
|
|
||||||
historyVersion={historyVersion}
|
|
||||||
onSelectHistoryVersion={this.onSelectHistoryVersion}
|
|
||||||
onRestore={this.restoreVersion}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
})}
|
|
||||||
{isLoading && (
|
|
||||||
<div className="loading-more d-flex align-items-center justify-content-center w-100">
|
|
||||||
<Loading />
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
onShowChanges = () => {
|
|
||||||
const { isShowChanges, currentVersion } = this.props;
|
|
||||||
const { historyVersions } = this.state;
|
|
||||||
const historyVersionIndex = historyVersions.findIndex(item => item.commitId === currentVersion.commitId);
|
|
||||||
const lastVersion = historyVersions[historyVersionIndex + 1];
|
|
||||||
this.props.onShowChanges(!isShowChanges, lastVersion);
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
|
||||||
const { historyVersions } = this.state;
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="sdoc-file-history-panel h-100 o-hidden d-flex flex-column">
|
|
||||||
<div className="sdoc-file-history-select-range">
|
|
||||||
<div className="sdoc-file-history-select-range-title">
|
|
||||||
{gettext('History Versions')}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
className={classnames('sdoc-file-history-versions', { 'o-hidden': historyVersions.length === 0 } )}
|
|
||||||
onScroll={this.onScrollHandler}
|
|
||||||
>
|
|
||||||
{this.renderHistoryVersions()}
|
|
||||||
</div>
|
|
||||||
<div className="sdoc-file-history-diff-switch d-flex align-items-center">
|
|
||||||
<Switch
|
|
||||||
checked={this.props.isShowChanges}
|
|
||||||
placeholder={gettext('Show changes')}
|
|
||||||
className="sdoc-history-show-changes w-100"
|
|
||||||
size="small"
|
|
||||||
onChange={this.onShowChanges}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
SidePanel.propTypes = {
|
|
||||||
isShowChanges: PropTypes.bool,
|
|
||||||
currentVersion: PropTypes.object,
|
|
||||||
onSelectHistoryVersion: PropTypes.func,
|
|
||||||
onShowChanges: PropTypes.func,
|
|
||||||
};
|
|
||||||
|
|
||||||
export default SidePanel;
|
|
@@ -1,40 +0,0 @@
|
|||||||
import React, { Suspense } from 'react';
|
|
||||||
import ReactDom from 'react-dom';
|
|
||||||
import { SimpleViewer } from '@seafile/sdoc-editor';
|
|
||||||
import { I18nextProvider } from 'react-i18next';
|
|
||||||
import i18n from './_i18n/i18n-sdoc-editor';
|
|
||||||
import Loading from './components/loading';
|
|
||||||
import { Utils } from './utils/utils';
|
|
||||||
|
|
||||||
const { serviceURL, siteRoot, avatarURL } = window.app.config;
|
|
||||||
const { username } = window.app.pageOptions;
|
|
||||||
const {
|
|
||||||
repoID, filePerm,
|
|
||||||
docPath, docName, docUuid, seadocAccessToken, seadocServerUrl, assetsUrl
|
|
||||||
} = window.shared.pageOptions;
|
|
||||||
|
|
||||||
window.seafile = {
|
|
||||||
repoID,
|
|
||||||
docPath,
|
|
||||||
docName,
|
|
||||||
docUuid,
|
|
||||||
isOpenSocket: true,
|
|
||||||
serviceUrl: serviceURL,
|
|
||||||
accessToken: seadocAccessToken,
|
|
||||||
sdocServer: seadocServerUrl,
|
|
||||||
username,
|
|
||||||
avatarURL,
|
|
||||||
siteRoot,
|
|
||||||
docPerm: filePerm,
|
|
||||||
historyURL: Utils.generateHistoryURL(siteRoot, repoID, docPath),
|
|
||||||
assetsUrl,
|
|
||||||
};
|
|
||||||
|
|
||||||
ReactDom.render(
|
|
||||||
<I18nextProvider i18n={ i18n } >
|
|
||||||
<Suspense fallback={<Loading />}>
|
|
||||||
<SimpleViewer />
|
|
||||||
</Suspense>
|
|
||||||
</I18nextProvider>,
|
|
||||||
document.getElementById('wrapper')
|
|
||||||
);
|
|
@@ -1,8 +1,3 @@
|
|||||||
export const defaultContentForSDoc = {
|
|
||||||
version: 0,
|
|
||||||
children: [{id: 'aaaa', type: 'paragraph', children: [{ text: '' }]}]
|
|
||||||
};
|
|
||||||
|
|
||||||
export const dirPath = '/';
|
export const dirPath = '/';
|
||||||
export const gettext = window.gettext;
|
export const gettext = window.gettext;
|
||||||
|
|
||||||
@@ -82,7 +77,6 @@ export const enableOCM = window.app.pageOptions.enableOCM;
|
|||||||
export const ocmRemoteServers = window.app.pageOptions.ocmRemoteServers;
|
export const ocmRemoteServers = window.app.pageOptions.ocmRemoteServers;
|
||||||
export const enableOCMViaWebdav = window.app.pageOptions.enableOCMViaWebdav;
|
export const enableOCMViaWebdav = window.app.pageOptions.enableOCMViaWebdav;
|
||||||
export const enableSSOToThirdpartWebsite = window.app.pageOptions.enableSSOToThirdpartWebsite;
|
export const enableSSOToThirdpartWebsite = window.app.pageOptions.enableSSOToThirdpartWebsite;
|
||||||
export const enableSeadoc = window.app.pageOptions.enableSeadoc;
|
|
||||||
|
|
||||||
export const curNoteMsg = window.app.pageOptions.curNoteMsg;
|
export const curNoteMsg = window.app.pageOptions.curNoteMsg;
|
||||||
export const curNoteID = window.app.pageOptions.curNoteID;
|
export const curNoteID = window.app.pageOptions.curNoteID;
|
||||||
|
@@ -102,7 +102,6 @@ export const Utils = {
|
|||||||
|
|
||||||
// default
|
// default
|
||||||
'default' : 'file.png',
|
'default' : 'file.png',
|
||||||
'sdoc': 'sdoc.png',
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// check if a file is an image
|
// check if a file is an image
|
||||||
|
@@ -1,43 +0,0 @@
|
|||||||
import React, { Suspense } from 'react';
|
|
||||||
import ReactDom from 'react-dom';
|
|
||||||
import { I18nextProvider } from 'react-i18next';
|
|
||||||
import i18n from './_i18n/i18n-sdoc-editor';
|
|
||||||
import { Utils } from './utils/utils';
|
|
||||||
import Loading from './components/loading';
|
|
||||||
import SdocEditor from './pages/sdoc-editor';
|
|
||||||
|
|
||||||
const { serviceURL, avatarURL, siteRoot } = window.app.config;
|
|
||||||
const { username, name } = window.app.userInfo;
|
|
||||||
const {
|
|
||||||
repoID, repoName, parentDir, filePerm,
|
|
||||||
docPath, docName, docUuid, seadocAccessToken, seadocServerUrl, assetsUrl
|
|
||||||
} = window.app.pageOptions;
|
|
||||||
|
|
||||||
window.seafile = {
|
|
||||||
repoID,
|
|
||||||
docPath,
|
|
||||||
docName,
|
|
||||||
docUuid,
|
|
||||||
isOpenSocket: true,
|
|
||||||
serviceUrl: serviceURL,
|
|
||||||
accessToken: seadocAccessToken,
|
|
||||||
sdocServer: seadocServerUrl,
|
|
||||||
name,
|
|
||||||
username,
|
|
||||||
avatarURL,
|
|
||||||
siteRoot,
|
|
||||||
docPerm: filePerm,
|
|
||||||
historyURL: Utils.generateHistoryURL(siteRoot, repoID, docPath),
|
|
||||||
parentFolderURL: `${siteRoot}library/${repoID}/${Utils.encodePath(repoName + parentDir)}`,
|
|
||||||
assetsUrl,
|
|
||||||
isShowInternalLink: true,
|
|
||||||
};
|
|
||||||
|
|
||||||
ReactDom.render(
|
|
||||||
<I18nextProvider i18n={ i18n } >
|
|
||||||
<Suspense fallback={<Loading />}>
|
|
||||||
<SdocEditor />
|
|
||||||
</Suspense>
|
|
||||||
</I18nextProvider>,
|
|
||||||
document.getElementById('wrapper')
|
|
||||||
);
|
|
@@ -1,169 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "Tučně",
|
|
||||||
"italic": "Kurzíva",
|
|
||||||
"inline_code": "Kód",
|
|
||||||
"header_one": "Záhlaví 1",
|
|
||||||
"header_two": "Záhlaví 2",
|
|
||||||
"header_three": "Záhlaví 3",
|
|
||||||
"header_four": "Záhlaví 4",
|
|
||||||
"header_five": "Záhlaví 5",
|
|
||||||
"header_six": "Záhlaví 6",
|
|
||||||
"paragraph": "Odstavec",
|
|
||||||
"quote": "Citace",
|
|
||||||
"ordered_list": "Číslovaný seznam",
|
|
||||||
"unordered_list": "Nečíslovaný seznam",
|
|
||||||
"check_list_item": "Zkontrolovat položku seznamu",
|
|
||||||
"insert_image": "Vložit obrázek",
|
|
||||||
"code": "Řádkový kód",
|
|
||||||
"code_block": "Blok kódu",
|
|
||||||
"insert_link": "Vložit odkaz",
|
|
||||||
"insert_table": "Vložit tabulku",
|
|
||||||
"save": "Uložit",
|
|
||||||
"more": "Více",
|
|
||||||
"invalid_url": "Chybná URL",
|
|
||||||
"link_address": "Adresa odkazu",
|
|
||||||
"image_address": "Adresa obrázku",
|
|
||||||
"submit": "Odeslat",
|
|
||||||
"cancel": "Storno",
|
|
||||||
"switch_to_plain_text_editor": "Přepnout do textového editoru",
|
|
||||||
"switch_to_rich_text_editor": "Přepnout do rozšířeného textového editoru",
|
|
||||||
"switch_to_viewer": "Přepnout do značkovacího prohlížeče",
|
|
||||||
"help": "Pomoc",
|
|
||||||
"remove_table": "Odebrat tabulku",
|
|
||||||
"column": "Sloupec",
|
|
||||||
"row": "Řádek",
|
|
||||||
"set_align": "Nastavit zarovnání",
|
|
||||||
"left": "Vlevo",
|
|
||||||
"center": "Střed",
|
|
||||||
"right": "Vpravo",
|
|
||||||
"file_saved": "Soubor uložen",
|
|
||||||
"file_failed_to_save": "Soubor nebyl uložen",
|
|
||||||
"star": "Přidat hvězdičku",
|
|
||||||
"unstar": "Odebrat hvězdičku",
|
|
||||||
"back_to_parent_directory":"Zpět do nadřazeného adresáře",
|
|
||||||
"edit":"editovat",
|
|
||||||
"copy": "Kopírovat",
|
|
||||||
"copied": "Zkopírováno",
|
|
||||||
"internal_link": "Interní odkaz",
|
|
||||||
"copy_internal_link": "Interní odkaz byl zkopírován do schránky",
|
|
||||||
"internal_link_desc": "Interní odkaz směřuje na soubor nebo složku u které má uživatel oprávnění ke čtení.",
|
|
||||||
"share": "Sdílet",
|
|
||||||
"share_link": "Veřejný odkaz",
|
|
||||||
"generate": "Generovat",
|
|
||||||
"add_password_protection": "Přidat ochranu heslem",
|
|
||||||
"password": "Heslo",
|
|
||||||
"at_least_8_characters": "nejméně 8 znaků",
|
|
||||||
"password_again": "Heslo znovu",
|
|
||||||
"add_auto_expiration": "Přidat automatickou expiraci",
|
|
||||||
"days": "dní",
|
|
||||||
"please_enter_password": "Zadejte heslo",
|
|
||||||
"greater_than_or_equal_to": "Vyšší nebo rovno",
|
|
||||||
"less_than_or_equal_to": "Nižší nebo rovno",
|
|
||||||
"set_permission": "Nastavit oprávnění",
|
|
||||||
"preview_and_download": "Zobrazit a stáhnout",
|
|
||||||
"preview_only": "Pouze zobrazit",
|
|
||||||
"please_enter_valid_days": "Zadejte platné dny",
|
|
||||||
"please_enter_a_non-negative_integer": "Vložte prosím nezáporné celé číslo",
|
|
||||||
"please_enter_days": "Prosím zadejte dny",
|
|
||||||
"password_is_too_short": "Heslo je příliš krátké.",
|
|
||||||
"passwords_do_not_match": "Hesla nesouhlasí",
|
|
||||||
"return_to_wiki_page": "Návrat na stránku Wiki",
|
|
||||||
"insert_network_image": "Vložit síťový obrázek",
|
|
||||||
"upload_local_image": "Nahrát lokální obrázek",
|
|
||||||
"add_link": "Přidat odkaz",
|
|
||||||
"file_history": "Historie souboru",
|
|
||||||
"history_version": "Historie verzí",
|
|
||||||
"back_to_viewer": "Zpět na prohlížeč",
|
|
||||||
"link_title": "Název odkazu",
|
|
||||||
"local_draft": "Místní koncept",
|
|
||||||
"use_draft": "Použít koncept",
|
|
||||||
"delete_draft": "Smazat koncept",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "Máte neuložený koncept. Chcete ho použít?",
|
|
||||||
"local_draft_saved": "Místní koncept byl uložen",
|
|
||||||
"new_draft": "Nový návrh",
|
|
||||||
"edit_draft": "Upravit návrh",
|
|
||||||
"this_file_has_a_draft": "Tento soubor má koncept.",
|
|
||||||
"delete": "Smazat",
|
|
||||||
"comments": "Komentáře",
|
|
||||||
"add_a_comment": "Přidat komentář…",
|
|
||||||
"no_comment_yet": "Žádné komentáře",
|
|
||||||
"Mark_as_Resolved": "Označit jako vyřešené",
|
|
||||||
"ask_for_review": "Požádat o kontrolu",
|
|
||||||
"review_already_exists": "Kontrola již existuje. ",
|
|
||||||
"view_review": "Zobrazit kontrolu",
|
|
||||||
"there_is_an_associated_review_with_this_file": "K tomuto souboru je přiřazená kontrola",
|
|
||||||
"start_review": "Začít kontrolu",
|
|
||||||
"this_file_is_in_draft_stage": "Tento soubor je ve fázi návrhu.",
|
|
||||||
"this_file_is_in_review_stage": "Tento soubor je ve fázi kontroly.",
|
|
||||||
"this_file_has_been_updated": "Tento soubor byl aktualizován.",
|
|
||||||
"refresh": "Obnovit",
|
|
||||||
"related_files": "související soubory",
|
|
||||||
"related_file": "související soubor",
|
|
||||||
"no_tags": "Žádné značky",
|
|
||||||
"no_related_files": "Žádné související soubory",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "Klávesové zkratky",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"Seznam zkratek",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "Vytvořit seznam",
|
|
||||||
"Make_ordered_list": "Vytvořit číslovaný seznam",
|
|
||||||
"Insert_new_item": "Vložit novou položku",
|
|
||||||
"Insert_child_in_item": "Vložit podpoložku",
|
|
||||||
"Increase_depth": "Zvýšit hloubku"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Zkratky záhlaví",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "Záhlaví 1",
|
|
||||||
"Heading_2": "Záhlaví 2",
|
|
||||||
"Heading_3": "Záhlaví 3",
|
|
||||||
"Heading_4": "Záhlaví 4",
|
|
||||||
"Heading_5": "Záhlaví 5",
|
|
||||||
"Heading_6": "Záhlaví 6"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Zkratky bloků kódu",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "Vytvořit blok kódu",
|
|
||||||
"Insert_new_line": "Vložit novou řádku",
|
|
||||||
"Escape_code_block": "Opustit blok kódu",
|
|
||||||
"Insert_indent": "Vložit odrážku"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Zkratky bloku citace",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "Vytvořit blokovou citaci",
|
|
||||||
"Escape_Block_quote": "Opustit blokovou citaci"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Zkratky tabulky",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "Vložit řádku tabulky",
|
|
||||||
"Escape_table": "Opustit tabulku"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"Řádkové zkratky",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "Tučně",
|
|
||||||
"Italic": "Kurzíva",
|
|
||||||
"Italic_Bold": "Tučná kurzíva",
|
|
||||||
"Inline_code": "Řádkový kód"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Uložit zkratky",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "Uložit soubor"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Zkratky obrázku",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "Vložit snímek obrazovky",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "Přetáhnout obrázek odkudkoliv k jeho nahrání"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,169 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "Fett",
|
|
||||||
"italic": "Kursiv",
|
|
||||||
"inline_code": "Code",
|
|
||||||
"header_one": "Überschrift 1",
|
|
||||||
"header_two": "Überschrift 2",
|
|
||||||
"header_three": "Überschrift 3",
|
|
||||||
"header_four": "Überschrift 4",
|
|
||||||
"header_five": "Überschrift 5",
|
|
||||||
"header_six": "Überschrift 6",
|
|
||||||
"paragraph": "Absatz",
|
|
||||||
"quote": "Zitat",
|
|
||||||
"ordered_list": "Nummerierte Liste",
|
|
||||||
"unordered_list": "Ungeordnete Liste",
|
|
||||||
"check_list_item": "Listeneintrag überprüfen",
|
|
||||||
"insert_image": "Bild einfügen",
|
|
||||||
"code": "Inline-Code",
|
|
||||||
"code_block": "Codeblock",
|
|
||||||
"insert_link": "Link einfügen",
|
|
||||||
"insert_table": "Tabelle einfügen",
|
|
||||||
"save": "Speichern",
|
|
||||||
"more": "Mehr",
|
|
||||||
"invalid_url": "Ungültige Adresse",
|
|
||||||
"link_address": "Adresse des Links",
|
|
||||||
"image_address": "Adresse des Bildes",
|
|
||||||
"submit": "Absenden",
|
|
||||||
"cancel": "Abbrechen",
|
|
||||||
"switch_to_plain_text_editor": "Zum reinen Texteditor wechseln",
|
|
||||||
"switch_to_rich_text_editor": "Zum Editor mit Formatierungen wechseln",
|
|
||||||
"switch_to_viewer": "Zur Markdown-Vorschau wechseln",
|
|
||||||
"help": "Hilfe",
|
|
||||||
"remove_table": "Tabelle entfernen",
|
|
||||||
"column": "Spalte",
|
|
||||||
"row": "Zeile",
|
|
||||||
"set_align": "Ausrichtung festlegen",
|
|
||||||
"left": "Links",
|
|
||||||
"center": "Zentrieren",
|
|
||||||
"right": "Rechts",
|
|
||||||
"file_saved": "Datei gespeichert.",
|
|
||||||
"file_failed_to_save": "Datei konnte nicht gespeichert werden.",
|
|
||||||
"star": "Stern hinzufügen",
|
|
||||||
"unstar": "Stern entfernen",
|
|
||||||
"back_to_parent_directory":"Zurück zum übergeordneten Verzeichnis",
|
|
||||||
"edit":"Bearbeiten",
|
|
||||||
"copy": "Kopieren",
|
|
||||||
"copied": "Kopiert",
|
|
||||||
"internal_link": "Interner Link",
|
|
||||||
"copy_internal_link": "Der interne Link ist in den Zwischenspeicher kopiert",
|
|
||||||
"internal_link_desc": "Ein interner Link ist eine Verlinkung auf eine Datei oder einen Ordner, die von Anderen genutzt werden kann, soweit sie die entsprechenden Leserechte haben.",
|
|
||||||
"share": "Freigeben",
|
|
||||||
"share_link": "Link freigeben",
|
|
||||||
"generate": "Erstellen",
|
|
||||||
"add_password_protection": "Passwort hinzufügen",
|
|
||||||
"password": "Passwort",
|
|
||||||
"at_least_8_characters": "mindestens 8 Zeichen",
|
|
||||||
"password_again": "Passwort erneut eingeben",
|
|
||||||
"add_auto_expiration": "Befristung hinzufügen",
|
|
||||||
"days": "Tage",
|
|
||||||
"please_enter_password": "Bitte geben Sie ein Passwort ein",
|
|
||||||
"greater_than_or_equal_to": "Größer oder gleich",
|
|
||||||
"less_than_or_equal_to": "Weniger oder gleich",
|
|
||||||
"set_permission": "Rechte festlegen",
|
|
||||||
"preview_and_download": "Vorschau und Herunterladen",
|
|
||||||
"preview_only": "Nur Vorschau erlaubt",
|
|
||||||
"please_enter_valid_days": "Bitte geben Sie eine gültige Anzahl von Tagen ein",
|
|
||||||
"please_enter_a_non-negative_integer": "Bitte geben Sie eine Zahl größer oder gleich Null ein",
|
|
||||||
"please_enter_days": "Bitte geben Sie Tage ein",
|
|
||||||
"password_is_too_short": "Passwort ist zu kurz",
|
|
||||||
"passwords_do_not_match": "Passwörter stimmen nicht überein",
|
|
||||||
"return_to_wiki_page": "Zurück zur Wiki-Seite",
|
|
||||||
"insert_network_image": "Bild aus dem Netzwerk einfügen",
|
|
||||||
"upload_local_image": "Lokales Bild hochladen",
|
|
||||||
"add_link": "Link hinzufügen",
|
|
||||||
"file_history": "Dateiversionen",
|
|
||||||
"history_version": "Versionen",
|
|
||||||
"back_to_viewer": "Zurück zur Vorschau",
|
|
||||||
"link_title": "Titel des Links",
|
|
||||||
"local_draft": "Lokaler Entwurf",
|
|
||||||
"use_draft": "Entwurf verwenden",
|
|
||||||
"delete_draft": "Entwurf löschen",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "Es gibt einen ungespeicherten Entwurf. Möchten Sie ihn verwenden?",
|
|
||||||
"local_draft_saved": "Lokaler Entwurf gespeichert",
|
|
||||||
"new_draft": "Neuer Entwurf",
|
|
||||||
"edit_draft": "Entwurf bearbeiten",
|
|
||||||
"this_file_has_a_draft": "Zu dieser Datei gibt es einen Entwurf.",
|
|
||||||
"delete": "Löschen",
|
|
||||||
"comments": "Kommentare",
|
|
||||||
"add_a_comment": "Kommentieren …",
|
|
||||||
"no_comment_yet": "Noch nicht kommentiert.",
|
|
||||||
"Mark_as_Resolved": "Als erledigt markieren",
|
|
||||||
"ask_for_review": "Um ein Review bitten",
|
|
||||||
"review_already_exists": "Es gibt bereits ein Review.",
|
|
||||||
"view_review": "Review anzeigen",
|
|
||||||
"there_is_an_associated_review_with_this_file": "Es gibt ein Review zu dieser Datei.",
|
|
||||||
"start_review": "Review schreiben",
|
|
||||||
"this_file_is_in_draft_stage": "Die Datei hat den Status Entwurf",
|
|
||||||
"this_file_is_in_review_stage": "Die Datei hat den Status Review.",
|
|
||||||
"this_file_has_been_updated": "Die Datei wurde aktualisiert.",
|
|
||||||
"refresh": "Aktualisieren",
|
|
||||||
"related_files": "Zugehörige Dateien",
|
|
||||||
"related_file": "Zugehörige Datei",
|
|
||||||
"no_tags": "Keine Tags",
|
|
||||||
"no_related_files": "Keine zugehörigen Dateien",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "Tastaturkürzel",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"Kürzel für Listen",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "Liste anlegen",
|
|
||||||
"Make_ordered_list": "Nummerierte Liste anlegen",
|
|
||||||
"Insert_new_item": "Neues Objekt einfügen",
|
|
||||||
"Insert_child_in_item": "Unterobjekt einfügen",
|
|
||||||
"Increase_depth": "Tiefe erhöhen"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Kürzel für Überschriften",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "Überschrift 1",
|
|
||||||
"Heading_2": "Überschrift 2",
|
|
||||||
"Heading_3": "Überschrift 3",
|
|
||||||
"Heading_4": "Überschrift 4",
|
|
||||||
"Heading_5": "Überschrift 5",
|
|
||||||
"Heading_6": "Überschrift 6"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Kürzel für Code",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "Codeblock anlegen",
|
|
||||||
"Insert_new_line": "Neue Zeile einfügen",
|
|
||||||
"Escape_code_block": "Codeblock beenden",
|
|
||||||
"Insert_indent": "Einzug einfügen"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Kürzel für Blockzitat",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "Blockzitat anlegen",
|
|
||||||
"Escape_Block_quote": "Blockzitat beenden"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Kürzel für Tabellen",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "Tabellenzeile einfügen",
|
|
||||||
"Escape_table": "Tabelle beenden"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"Kürzel für Inline-Text",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "Fett",
|
|
||||||
"Italic": "Kursiv",
|
|
||||||
"Italic_Bold": "Kursiv fett",
|
|
||||||
"Inline_code": "Inline-Code"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Kürzel speichern",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "Datei speichern"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Kürzel für Bilder",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "Bildschirmfoto einfügen",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "Datei zum Hochladen hierher ziehen"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,248 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "Bold",
|
|
||||||
"italic": "Italic",
|
|
||||||
"inline_code": "Code",
|
|
||||||
"header_one": "Heading 1",
|
|
||||||
"header_two": "Heading 2",
|
|
||||||
"header_three": "Heading 3",
|
|
||||||
"header_four": "Heading 4",
|
|
||||||
"header_five": "Heading 5",
|
|
||||||
"header_six": "Heading 6",
|
|
||||||
"paragraph": "Paragraph",
|
|
||||||
"quote": "Quote",
|
|
||||||
"ordered_list": "Ordered List",
|
|
||||||
"unordered_list": "Unordered List",
|
|
||||||
"check_list_item": "Check List Item",
|
|
||||||
"insert_image": "Insert Image",
|
|
||||||
"insert_formula": "Insert Formula",
|
|
||||||
"formula": "Formula",
|
|
||||||
"insert_file": "Insert File",
|
|
||||||
"code": "Inline Code",
|
|
||||||
"code_block": "Code Block",
|
|
||||||
"insert_link": "Insert link",
|
|
||||||
"insert_table": "Insert Table",
|
|
||||||
"save": "Save",
|
|
||||||
"more": "More",
|
|
||||||
"invalid_url": "Invalid URL",
|
|
||||||
"link_address": "Link address",
|
|
||||||
"image_address": "Image address",
|
|
||||||
"submit": "Submit",
|
|
||||||
"cancel": "Cancel",
|
|
||||||
"switch_to_plain_text_editor": "Switch to Plain Text Editor",
|
|
||||||
"switch_to_rich_text_editor": "Switch to Rich Text Editor",
|
|
||||||
"switch_to_viewer": "Switch to Markdown Viewer",
|
|
||||||
"help": "Help",
|
|
||||||
"remove_table": "Remove Table",
|
|
||||||
"column": "Column",
|
|
||||||
"row": "Row",
|
|
||||||
"Insert_Row_Before": "Insert Row Before",
|
|
||||||
"Insert_Row_After": "Insert Row After",
|
|
||||||
"Insert_Column_Before": "Insert Column Before",
|
|
||||||
"Insert_Column_After": "Insert Column After",
|
|
||||||
"Remove_Row": "Remove Row",
|
|
||||||
"Remove_Column": "Remove Column",
|
|
||||||
"Insert_Row": "Insert Row",
|
|
||||||
"Insert_Column": "Insert Column",
|
|
||||||
"set_align": "Set align",
|
|
||||||
"left": "Left",
|
|
||||||
"center": "Center",
|
|
||||||
"right": "Right",
|
|
||||||
"file_saved": "File saved.",
|
|
||||||
"file_failed_to_save": "File failed to save.",
|
|
||||||
"star": "Add star",
|
|
||||||
"unstar": "Remove star",
|
|
||||||
"back_to_parent_directory":"Back to parent directory",
|
|
||||||
"edit": "Edit",
|
|
||||||
"copy": "Copy",
|
|
||||||
"copied": "Copied",
|
|
||||||
"internal_link": "Internal Link",
|
|
||||||
"copy_internal_link": "Internal link has been copied to clipboard",
|
|
||||||
"internal_link_desc": "An internal link is a link to a file or folder that can be accessed by users with read permission to the file or folder.",
|
|
||||||
"share": "Share",
|
|
||||||
"share_link": "Share Link",
|
|
||||||
"generate": "Generate",
|
|
||||||
"add_password_protection": "Add password protection",
|
|
||||||
"password": "Password",
|
|
||||||
"at_least_8_characters": "at least 8 characters",
|
|
||||||
"password_again": "Password again",
|
|
||||||
"add_auto_expiration": "Add auto expiration",
|
|
||||||
"days": "days",
|
|
||||||
"please_enter_password": "Please enter password",
|
|
||||||
"greater_than_or_equal_to": "Greater than or equal to",
|
|
||||||
"less_than_or_equal_to": "Less than or equal to",
|
|
||||||
"set_permission": "Set permission",
|
|
||||||
"preview_and_download": "Preview and download",
|
|
||||||
"preview_only": "Preview only",
|
|
||||||
"please_enter_valid_days": "Please enter valid days",
|
|
||||||
"please_enter_a_non-negative_integer": "Please enter a non-negative integer",
|
|
||||||
"please_enter_days": "Please enter days",
|
|
||||||
"password_is_too_short": "Password is too short",
|
|
||||||
"passwords_do_not_match": "Passwords do not match",
|
|
||||||
"return_to_wiki_page": "Return to Wiki Page",
|
|
||||||
"insert_network_image": "Insert network image",
|
|
||||||
"upload_local_image": "Upload local image",
|
|
||||||
"add_link": "Add link",
|
|
||||||
"file_history": "File History",
|
|
||||||
"history_version": "History Versions",
|
|
||||||
"back_to_viewer": "Back To Viewer",
|
|
||||||
"link_title": "Link title",
|
|
||||||
"local_draft": "Local draft",
|
|
||||||
"use_draft": "Use draft",
|
|
||||||
"delete_draft": "Delete draft",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "You have an unsaved draft. Do you like to use it?",
|
|
||||||
"local_draft_saved": "Local draft saved",
|
|
||||||
"new_draft": "New Draft",
|
|
||||||
"view_draft": "View Draft",
|
|
||||||
"publish": "Publish",
|
|
||||||
"this_file_has_a_draft": "This file has a draft.",
|
|
||||||
"delete": "Delete",
|
|
||||||
"comments": "Comments",
|
|
||||||
"add_a_comment": "Add a comment...",
|
|
||||||
"no_comment_yet": "No comment yet.",
|
|
||||||
"Mark_as_Resolved": "Mark as Resolved",
|
|
||||||
"ask_for_review": "Ask for review",
|
|
||||||
"review_already_exists": "Review already exists",
|
|
||||||
"view_review": "View review",
|
|
||||||
"there_is_an_associated_review_with_this_file": "There is an associated review with this file.",
|
|
||||||
"start_review": "Start Review",
|
|
||||||
"this_file_is_in_draft_stage": "This file is in draft stage.",
|
|
||||||
"this_file_is_in_review_stage": "This file is in review stage.",
|
|
||||||
"this_file_has_been_updated": "This file has been updated.",
|
|
||||||
"refresh": "Refresh",
|
|
||||||
"related_files": "related files",
|
|
||||||
"related_file": "related file",
|
|
||||||
"no_tags": "No tags",
|
|
||||||
"Date": "Date",
|
|
||||||
"Participants": "Participants",
|
|
||||||
"Meeting_note": "Meeting note",
|
|
||||||
"Chooser_document_type": "Chooser document type",
|
|
||||||
"Empty": "Empty",
|
|
||||||
"no_related_files": "No related files",
|
|
||||||
"no_out_line": "No outline",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "Editing files in this browser can lead to slight display problems.",
|
|
||||||
"no_document_improvement_suggestion": "No document improvement suggestion",
|
|
||||||
"Hide_side_panel": "Hide side panel",
|
|
||||||
"Show_side_panel": "Show side panel",
|
|
||||||
"Show_resolved_comments": "Show resolved comments",
|
|
||||||
"Update": "Update",
|
|
||||||
"Width": "Width",
|
|
||||||
"Height": "Height",
|
|
||||||
"Full_screen": "Full screen",
|
|
||||||
"Insert_library_image": "Insert library image",
|
|
||||||
"Size": "Size",
|
|
||||||
"Location": "Location",
|
|
||||||
"Last_Update": "Last Update",
|
|
||||||
"Tags": "Tags",
|
|
||||||
"Related_Files": "Related Files",
|
|
||||||
"Add_participants": "Add participants",
|
|
||||||
"Clear_format": "Clear format",
|
|
||||||
"markdownLint": {
|
|
||||||
"missing_h1": {
|
|
||||||
"description": "There is no h1 in the document",
|
|
||||||
"issue" : "Missing h1"
|
|
||||||
},
|
|
||||||
"heading_end_with_colon": {
|
|
||||||
"description": "Trailing punctuation in heading should not be a colon",
|
|
||||||
"issue": "Heading ends width colon"
|
|
||||||
},
|
|
||||||
"heading_increase_irregular": {
|
|
||||||
"description": "Heading levels should only increment by one level at a time",
|
|
||||||
"issue": "Heading level issue"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Shortcut_help": "Shortcut help",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "Keyboard shortcuts",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"List shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "Make list",
|
|
||||||
"Make_ordered_list": "Make Ordered list",
|
|
||||||
"Insert_new_item": "Insert new item",
|
|
||||||
"Insert_child_in_item": "Insert child in item",
|
|
||||||
"Increase_depth": "Increase depth"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Head shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "Heading 1",
|
|
||||||
"Heading_2": "Heading 2",
|
|
||||||
"Heading_3": "Heading 3",
|
|
||||||
"Heading_4": "Heading 4",
|
|
||||||
"Heading_5": "Heading 5",
|
|
||||||
"Heading_6": "Heading 6"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Code block shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "Make code block",
|
|
||||||
"Insert_new_line": "Insert new line",
|
|
||||||
"Escape_code_block": "Escape code block",
|
|
||||||
"Insert_indent": "Insert indent"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Block quote shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "Make Block quote",
|
|
||||||
"Escape_Block_quote": "Escape Block quote"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Table shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "Insert Table Row",
|
|
||||||
"Escape_table": "Escape table"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Formula shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Formula": "Insert Formula"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"Inline shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "Bold",
|
|
||||||
"Italic": "Italic",
|
|
||||||
"Italic_Bold": "Italic Bold",
|
|
||||||
"Inline_code": "Inline code"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Save shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "Save file"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Image shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "Paste screen shot",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "Drag image from anywhere to upload it"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Select_field": "Select field",
|
|
||||||
"Font_style": "Font style",
|
|
||||||
"Insert_column": "Insert column",
|
|
||||||
"The_link_address_is_required": "The link address is required.",
|
|
||||||
"The_link_title_is_required": "The link title is required.",
|
|
||||||
"The_link_address_is_invalid": "The link address is invalid, please enter a correct connection address.",
|
|
||||||
"All_changes_saved": "All changes saved",
|
|
||||||
"Saving": "Saving...",
|
|
||||||
"Collaborators": "Collaborators",
|
|
||||||
"Online_members": "Online members",
|
|
||||||
"me": "me",
|
|
||||||
"Server_is_not_connected_Operation_will_be_sent_to_server_later": "Server is not connected. Operation will be sent to server later.",
|
|
||||||
"Server_is_disconnected_Reconnecting": "Server is disconnected. Reconnecting...",
|
|
||||||
"Server_is_reconnected": "Server is reconnected.",
|
|
||||||
"Outline": "Outline",
|
|
||||||
"Headings_you_add_to_the_document_will_appear_here": "Headings you add to the document will appear here",
|
|
||||||
"Open_parent_folder": "Open parent folder",
|
|
||||||
"redo": "redo",
|
|
||||||
"undo": "undo",
|
|
||||||
"Open_link": "Open link",
|
|
||||||
"Customize_the_number_of_rows_and_columns": "Customize the number of rows and columns",
|
|
||||||
"Rows": "Rows",
|
|
||||||
"Columns": "Columns",
|
|
||||||
"Please_enter_the_title": "Please enter the title",
|
|
||||||
"Please_enter_the_text": "Please enter the text"
|
|
||||||
}
|
|
@@ -1,169 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "Negrita",
|
|
||||||
"italic": "Itálica",
|
|
||||||
"inline_code": "Código",
|
|
||||||
"header_one": "Encabezado 1",
|
|
||||||
"header_two": "Encabezado 2",
|
|
||||||
"header_three": "Encabezado 3",
|
|
||||||
"header_four": "Encabezado 4",
|
|
||||||
"header_five": "Encabezado 5",
|
|
||||||
"header_six": "Encabezado 6",
|
|
||||||
"paragraph": "Párrafo",
|
|
||||||
"quote": "Cita",
|
|
||||||
"ordered_list": "Lista Ordenada",
|
|
||||||
"unordered_list": "Lista Desordenada",
|
|
||||||
"check_list_item": "Check List Item",
|
|
||||||
"insert_image": "Insertar Imagen",
|
|
||||||
"code": "Inline Code",
|
|
||||||
"code_block": "Bloque de Código",
|
|
||||||
"insert_link": "Insertar Enlace",
|
|
||||||
"insert_table": "Insertar Tabla",
|
|
||||||
"save": "Guardar",
|
|
||||||
"more": "Más",
|
|
||||||
"invalid_url": "URL Inválida",
|
|
||||||
"link_address": "Dirección del enlace",
|
|
||||||
"image_address": "Dirección de la imagen",
|
|
||||||
"submit": "Enviar",
|
|
||||||
"cancel": "Cancelar",
|
|
||||||
"switch_to_plain_text_editor": "Cambiar a editor de texto sin formato",
|
|
||||||
"switch_to_rich_text_editor": "Cambiar a editor de texto enriquecido",
|
|
||||||
"switch_to_viewer": "Cambiar a visualizador Markdown",
|
|
||||||
"help": "Ayuda",
|
|
||||||
"remove_table": "Eliminar tabla",
|
|
||||||
"column": "Columna",
|
|
||||||
"row": "Fila",
|
|
||||||
"set_align": "Establecer alineación",
|
|
||||||
"left": "Izquierda",
|
|
||||||
"center": "Centrar",
|
|
||||||
"right": "derecha",
|
|
||||||
"file_saved": "Archivo guardado",
|
|
||||||
"file_failed_to_save": "Fallo al guardar archivo",
|
|
||||||
"star": "Add star",
|
|
||||||
"unstar": "Remove star",
|
|
||||||
"back_to_parent_directory":"Volver a la carpeta superior",
|
|
||||||
"edit":"editar",
|
|
||||||
"copy": "Copiar",
|
|
||||||
"copied": "Copiado",
|
|
||||||
"internal_link": "Enlace interno",
|
|
||||||
"copy_internal_link": "El enlace interno ha sido copiado al portapapeles",
|
|
||||||
"internal_link_desc": "Un enlace interno es un enlace a un archivo o carpeta que puede ser accedido por usuarios con permiso de lectura al archivo o carpeta. ",
|
|
||||||
"share": "Compartir",
|
|
||||||
"share_link": "Compartir enlace",
|
|
||||||
"generate": "Generar",
|
|
||||||
"add_password_protection": "Agregar protección por contraseña",
|
|
||||||
"password": "Contraseña ",
|
|
||||||
"at_least_8_characters": "al menos 8 caracteres",
|
|
||||||
"password_again": "Repetir contraseña",
|
|
||||||
"add_auto_expiration": "Agregar vencimiento automático",
|
|
||||||
"days": "días",
|
|
||||||
"please_enter_password": "Ingresa una contraseña",
|
|
||||||
"greater_than_or_equal_to": "Mayor o igual que",
|
|
||||||
"less_than_or_equal_to": "Menor o igual que",
|
|
||||||
"set_permission": "Establecer permiso",
|
|
||||||
"preview_and_download": "Vista previa y descargar",
|
|
||||||
"preview_only": "Vista previa solamente",
|
|
||||||
"please_enter_valid_days": "Ingresa cantidad válida de días",
|
|
||||||
"please_enter_a_non-negative_integer": "Por favor, ingrese un número entero no negativo",
|
|
||||||
"please_enter_days": "Ingresa cantidad de días",
|
|
||||||
"password_is_too_short": "Contraseña demasiado corta",
|
|
||||||
"passwords_do_not_match": "Las contraseñas no concuerdan",
|
|
||||||
"return_to_wiki_page": "Volver a la página del Wiki",
|
|
||||||
"insert_network_image": "Insertar imágen desde la red",
|
|
||||||
"upload_local_image": "Subir imagen local",
|
|
||||||
"add_link": "Agregar enlace",
|
|
||||||
"file_history": "Historial del Archivo",
|
|
||||||
"history_version": "Historial de Versiones",
|
|
||||||
"back_to_viewer": "Volver al Visualizador",
|
|
||||||
"link_title": "Título del enlace",
|
|
||||||
"local_draft": "Borrador local",
|
|
||||||
"use_draft": "Usar borrador",
|
|
||||||
"delete_draft": "Eliminar borrador",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "Tienes un borrador sin guardar. ¿Deseas utilizarlo?",
|
|
||||||
"local_draft_saved": "Borrador local guardado",
|
|
||||||
"new_draft": "Nuevo Borrador",
|
|
||||||
"edit_draft": "Editar Borrador",
|
|
||||||
"this_file_has_a_draft": "Este archivo tiene un borrador",
|
|
||||||
"delete": "Borrar",
|
|
||||||
"comments": "Comentarios",
|
|
||||||
"add_a_comment": "Agregar un comentario...",
|
|
||||||
"no_comment_yet": "No hay comentarios.",
|
|
||||||
"Mark_as_Resolved": "Marcar como resuelto",
|
|
||||||
"ask_for_review": "Solicitar revisión",
|
|
||||||
"review_already_exists": "La revisión ya existe",
|
|
||||||
"view_review": "Ver revisión",
|
|
||||||
"there_is_an_associated_review_with_this_file": "Hay una revisión asociada con este archivo",
|
|
||||||
"start_review": "Iniciar revisión",
|
|
||||||
"this_file_is_in_draft_stage": "Este archivo está en la etapa de borrador",
|
|
||||||
"this_file_is_in_review_stage": "Este archivo está en estado de revisión.",
|
|
||||||
"this_file_has_been_updated": "Este archivo ha sido actualizado.",
|
|
||||||
"refresh": "Refrescar",
|
|
||||||
"related_files": "archivos relacionados",
|
|
||||||
"related_file": "archivo relacionado",
|
|
||||||
"no_tags": "Sin etiquetas",
|
|
||||||
"no_related_files": "Sin archivos relacionados",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "Atajos de teclado",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"Listar atajos",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "Crear lista",
|
|
||||||
"Make_ordered_list": "Crear lista ordenada",
|
|
||||||
"Insert_new_item": "Insertar nuevo ítem",
|
|
||||||
"Insert_child_in_item": "Insert child in item",
|
|
||||||
"Increase_depth": "Increase depth"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Head shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "Encabezado 1",
|
|
||||||
"Heading_2": "Encabezado 2",
|
|
||||||
"Heading_3": "Encabezado 3",
|
|
||||||
"Heading_4": "Encabezado 4",
|
|
||||||
"Heading_5": "Encabezado 5",
|
|
||||||
"Heading_6": "Encabezado 6"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Code block shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "Crear bloque de código",
|
|
||||||
"Insert_new_line": "Insertar nueva línea",
|
|
||||||
"Escape_code_block": "Escape code block",
|
|
||||||
"Insert_indent": "Insert indent"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Block quote shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "Make Block quote",
|
|
||||||
"Escape_Block_quote": "Escape Block quote"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Atajos de tabla",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "Insertar fila de tabla",
|
|
||||||
"Escape_table": "Escape table"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"Inline shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "Negrita",
|
|
||||||
"Italic": "Itálica",
|
|
||||||
"Italic_Bold": "Negrita itálica",
|
|
||||||
"Inline_code": "Inline code"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Guardar atajos",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "Guardar archivo"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Atajos de imagen",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "Pegar captura de pantalla",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "Arrastrar imagen desde cualquier sitio para subirla"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,169 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "Negrita",
|
|
||||||
"italic": "Itálica",
|
|
||||||
"inline_code": "Código",
|
|
||||||
"header_one": "Encabezado 1",
|
|
||||||
"header_two": "Encabezado 2",
|
|
||||||
"header_three": "Encabezado 3",
|
|
||||||
"header_four": "Encabezado 4",
|
|
||||||
"header_five": "Encabezado 5",
|
|
||||||
"header_six": "Encabezado 6",
|
|
||||||
"paragraph": "Párrafo",
|
|
||||||
"quote": "Cita",
|
|
||||||
"ordered_list": "Lista Ordenada",
|
|
||||||
"unordered_list": "Lista Desordenada",
|
|
||||||
"check_list_item": "Check List Item",
|
|
||||||
"insert_image": "Insertar Imagen",
|
|
||||||
"code": "Inline Code",
|
|
||||||
"code_block": "Bloque de Código",
|
|
||||||
"insert_link": "Insertar Enlace",
|
|
||||||
"insert_table": "Insertar Tabla",
|
|
||||||
"save": "Guardar",
|
|
||||||
"more": "Más",
|
|
||||||
"invalid_url": "URL Inválida",
|
|
||||||
"link_address": "Dirección del enlace",
|
|
||||||
"image_address": "Dirección de la imagen",
|
|
||||||
"submit": "Enviar",
|
|
||||||
"cancel": "Cancelar",
|
|
||||||
"switch_to_plain_text_editor": "Cambiar a editor de texto sin formato",
|
|
||||||
"switch_to_rich_text_editor": "Cambiar a editor de texto enriquecido",
|
|
||||||
"switch_to_viewer": "Cambiar a visualizador Markdown",
|
|
||||||
"help": "Ayuda",
|
|
||||||
"remove_table": "Eliminar tabla",
|
|
||||||
"column": "Columna",
|
|
||||||
"row": "Fila",
|
|
||||||
"set_align": "Establecer alineación",
|
|
||||||
"left": "Izquierda",
|
|
||||||
"center": "Centrar",
|
|
||||||
"right": "derecha",
|
|
||||||
"file_saved": "Archivo guardado",
|
|
||||||
"file_failed_to_save": "Fallo al guardar archivo",
|
|
||||||
"star": "Add star",
|
|
||||||
"unstar": "Remove star",
|
|
||||||
"back_to_parent_directory":"Volver a la carpeta superior",
|
|
||||||
"edit":"editar",
|
|
||||||
"copy": "Copiar",
|
|
||||||
"copied": "Copiado",
|
|
||||||
"internal_link": "Enlace interno",
|
|
||||||
"copy_internal_link": "El enlace interno ha sido copiado al portapapeles",
|
|
||||||
"internal_link_desc": "Un enlace interno es un enlace a un archivo o carpeta que puede ser accedido por usuarios con permiso de lectura al archivo o carpeta. ",
|
|
||||||
"share": "Compartir",
|
|
||||||
"share_link": "Compartir enlace",
|
|
||||||
"generate": "Generar",
|
|
||||||
"add_password_protection": "Agregar protección por contraseña",
|
|
||||||
"password": "Contraseña ",
|
|
||||||
"at_least_8_characters": "al menos 8 caracteres",
|
|
||||||
"password_again": "Repetir contraseña",
|
|
||||||
"add_auto_expiration": "Agregar vencimiento automático",
|
|
||||||
"days": "días",
|
|
||||||
"please_enter_password": "Ingresa una contraseña",
|
|
||||||
"greater_than_or_equal_to": "Mayor o igual que",
|
|
||||||
"less_than_or_equal_to": "Menor o igual que",
|
|
||||||
"set_permission": "Establecer permiso",
|
|
||||||
"preview_and_download": "Vista previa y descargar",
|
|
||||||
"preview_only": "Vista previa solamente",
|
|
||||||
"please_enter_valid_days": "Ingresa cantidad válida de días",
|
|
||||||
"please_enter_a_non-negative_integer": "Por favor, ingrese un número entero no negativo",
|
|
||||||
"please_enter_days": "Ingresa cantidad de días",
|
|
||||||
"password_is_too_short": "Contraseña demasiado corta",
|
|
||||||
"passwords_do_not_match": "Las contraseñas no concuerdan",
|
|
||||||
"return_to_wiki_page": "Volver a la página del Wiki",
|
|
||||||
"insert_network_image": "Insertar imágen desde la red",
|
|
||||||
"upload_local_image": "Subir imagen local",
|
|
||||||
"add_link": "Agregar enlace",
|
|
||||||
"file_history": "Historial del Archivo",
|
|
||||||
"history_version": "Historial de Versiones",
|
|
||||||
"back_to_viewer": "Volver al Visualizador",
|
|
||||||
"link_title": "Título del enlace",
|
|
||||||
"local_draft": "Borrador local",
|
|
||||||
"use_draft": "Usar borrador",
|
|
||||||
"delete_draft": "Eliminar borrador",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "Tienes un borrador sin guardar. ¿Deseas utilizarlo?",
|
|
||||||
"local_draft_saved": "Borrador local guardado",
|
|
||||||
"new_draft": "Nuevo Borrador",
|
|
||||||
"edit_draft": "Editar Borrador",
|
|
||||||
"this_file_has_a_draft": "Este archivo tiene un borrador",
|
|
||||||
"delete": "Borrar",
|
|
||||||
"comments": "Comentarios",
|
|
||||||
"add_a_comment": "Agregar un comentario...",
|
|
||||||
"no_comment_yet": "No hay comentarios.",
|
|
||||||
"Mark_as_Resolved": "Marcar como resuelto",
|
|
||||||
"ask_for_review": "Solicitar revisión",
|
|
||||||
"review_already_exists": "La revisión ya existe",
|
|
||||||
"view_review": "Ver revisión",
|
|
||||||
"there_is_an_associated_review_with_this_file": "Hay una revisión asociada con este archivo",
|
|
||||||
"start_review": "Iniciar revisión",
|
|
||||||
"this_file_is_in_draft_stage": "Este archivo está en la etapa de borrador",
|
|
||||||
"this_file_is_in_review_stage": "Este archivo está en estado de revisión.",
|
|
||||||
"this_file_has_been_updated": "Este archivo ha sido actualizado.",
|
|
||||||
"refresh": "Refrescar",
|
|
||||||
"related_files": "archivos relacionados",
|
|
||||||
"related_file": "archivo relacionado",
|
|
||||||
"no_tags": "Sin etiquetas",
|
|
||||||
"no_related_files": "Sin archivos relacionados",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "Atajos de teclado",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"Listar atajos",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "Crear lista",
|
|
||||||
"Make_ordered_list": "Crear lista ordenada",
|
|
||||||
"Insert_new_item": "Insertar nuevo ítem",
|
|
||||||
"Insert_child_in_item": "Insert child in item",
|
|
||||||
"Increase_depth": "Increase depth"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Head shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "Encabezado 1",
|
|
||||||
"Heading_2": "Encabezado 2",
|
|
||||||
"Heading_3": "Encabezado 3",
|
|
||||||
"Heading_4": "Encabezado 4",
|
|
||||||
"Heading_5": "Encabezado 5",
|
|
||||||
"Heading_6": "Encabezado 6"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Code block shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "Crear bloque de código",
|
|
||||||
"Insert_new_line": "Insertar nueva línea",
|
|
||||||
"Escape_code_block": "Escape code block",
|
|
||||||
"Insert_indent": "Insert indent"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Block quote shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "Make Block quote",
|
|
||||||
"Escape_Block_quote": "Escape Block quote"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Atajos de tabla",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "Insertar fila de tabla",
|
|
||||||
"Escape_table": "Escape table"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"Inline shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "Negrita",
|
|
||||||
"Italic": "Itálica",
|
|
||||||
"Italic_Bold": "Negrita itálica",
|
|
||||||
"Inline_code": "Inline code"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Guardar atajos",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "Guardar archivo"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Atajos de imagen",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "Pegar captura de pantalla",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "Arrastrar imagen desde cualquier sitio para subirla"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,169 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "Negrita",
|
|
||||||
"italic": "Itálica",
|
|
||||||
"inline_code": "Código",
|
|
||||||
"header_one": "Encabezado 1",
|
|
||||||
"header_two": "Encabezado 2",
|
|
||||||
"header_three": "Encabezado 3",
|
|
||||||
"header_four": "Encabezado 4",
|
|
||||||
"header_five": "Encabezado 5",
|
|
||||||
"header_six": "Encabezado 6",
|
|
||||||
"paragraph": "Párrafo",
|
|
||||||
"quote": "Cita",
|
|
||||||
"ordered_list": "Lista Ordenada",
|
|
||||||
"unordered_list": "Lista Desordenada",
|
|
||||||
"check_list_item": "Check List Item",
|
|
||||||
"insert_image": "Insertar Imagen",
|
|
||||||
"code": "Inline Code",
|
|
||||||
"code_block": "Bloque de Código",
|
|
||||||
"insert_link": "Insertar Enlace",
|
|
||||||
"insert_table": "Insertar Tabla",
|
|
||||||
"save": "Guardar",
|
|
||||||
"more": "Más",
|
|
||||||
"invalid_url": "URL Inválida",
|
|
||||||
"link_address": "Dirección del enlace",
|
|
||||||
"image_address": "Dirección de la imagen",
|
|
||||||
"submit": "Enviar",
|
|
||||||
"cancel": "Cancelar",
|
|
||||||
"switch_to_plain_text_editor": "Cambiar a editor de texto sin formato",
|
|
||||||
"switch_to_rich_text_editor": "Cambiar a editor de texto enriquecido",
|
|
||||||
"switch_to_viewer": "Cambiar a visualizador Markdown",
|
|
||||||
"help": "Ayuda",
|
|
||||||
"remove_table": "Eliminar tabla",
|
|
||||||
"column": "Columna",
|
|
||||||
"row": "Fila",
|
|
||||||
"set_align": "Establecer alineación",
|
|
||||||
"left": "Izquierda",
|
|
||||||
"center": "Centrar",
|
|
||||||
"right": "derecha",
|
|
||||||
"file_saved": "Archivo guardado",
|
|
||||||
"file_failed_to_save": "Fallo al guardar archivo",
|
|
||||||
"star": "Add star",
|
|
||||||
"unstar": "Remove star",
|
|
||||||
"back_to_parent_directory":"Volver a la carpeta superior",
|
|
||||||
"edit":"editar",
|
|
||||||
"copy": "Copiar",
|
|
||||||
"copied": "Copiado",
|
|
||||||
"internal_link": "Enlace interno",
|
|
||||||
"copy_internal_link": "El enlace interno ha sido copiado al portapapeles",
|
|
||||||
"internal_link_desc": "Un enlace interno es un enlace a un archivo o carpeta que puede ser accedido por usuarios con permiso de lectura al archivo o carpeta. ",
|
|
||||||
"share": "Compartir",
|
|
||||||
"share_link": "Compartir enlace",
|
|
||||||
"generate": "Generar",
|
|
||||||
"add_password_protection": "Agregar protección por contraseña",
|
|
||||||
"password": "Contraseña ",
|
|
||||||
"at_least_8_characters": "al menos 8 caracteres",
|
|
||||||
"password_again": "Repetir contraseña",
|
|
||||||
"add_auto_expiration": "Agregar vencimiento automático",
|
|
||||||
"days": "días",
|
|
||||||
"please_enter_password": "Ingresa una contraseña",
|
|
||||||
"greater_than_or_equal_to": "Mayor o igual que",
|
|
||||||
"less_than_or_equal_to": "Menor o igual que",
|
|
||||||
"set_permission": "Establecer permiso",
|
|
||||||
"preview_and_download": "Vista previa y descargar",
|
|
||||||
"preview_only": "Vista previa solamente",
|
|
||||||
"please_enter_valid_days": "Ingresa cantidad válida de días",
|
|
||||||
"please_enter_a_non-negative_integer": "Por favor, ingrese un número entero no negativo",
|
|
||||||
"please_enter_days": "Ingresa cantidad de días",
|
|
||||||
"password_is_too_short": "Contraseña demasiado corta",
|
|
||||||
"passwords_do_not_match": "Las contraseñas no concuerdan",
|
|
||||||
"return_to_wiki_page": "Volver a la página del Wiki",
|
|
||||||
"insert_network_image": "Insertar imágen desde la red",
|
|
||||||
"upload_local_image": "Subir imagen local",
|
|
||||||
"add_link": "Agregar enlace",
|
|
||||||
"file_history": "Historial del Archivo",
|
|
||||||
"history_version": "Historial de Versiones",
|
|
||||||
"back_to_viewer": "Volver al Visualizador",
|
|
||||||
"link_title": "Título del enlace",
|
|
||||||
"local_draft": "Borrador local",
|
|
||||||
"use_draft": "Usar borrador",
|
|
||||||
"delete_draft": "Eliminar borrador",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "Tienes un borrador sin guardar. ¿Deseas utilizarlo?",
|
|
||||||
"local_draft_saved": "Borrador local guardado",
|
|
||||||
"new_draft": "Nuevo Borrador",
|
|
||||||
"edit_draft": "Editar Borrador",
|
|
||||||
"this_file_has_a_draft": "Este archivo tiene un borrador",
|
|
||||||
"delete": "Borrar",
|
|
||||||
"comments": "Comentarios",
|
|
||||||
"add_a_comment": "Agregar un comentario...",
|
|
||||||
"no_comment_yet": "No hay comentarios.",
|
|
||||||
"Mark_as_Resolved": "Marcar como resuelto",
|
|
||||||
"ask_for_review": "Solicitar revisión",
|
|
||||||
"review_already_exists": "La revisión ya existe",
|
|
||||||
"view_review": "Ver revisión",
|
|
||||||
"there_is_an_associated_review_with_this_file": "Hay una revisión asociada con este archivo",
|
|
||||||
"start_review": "Iniciar revisión",
|
|
||||||
"this_file_is_in_draft_stage": "Este archivo está en la etapa de borrador",
|
|
||||||
"this_file_is_in_review_stage": "Este archivo está en estado de revisión.",
|
|
||||||
"this_file_has_been_updated": "Este archivo ha sido actualizado.",
|
|
||||||
"refresh": "Refrescar",
|
|
||||||
"related_files": "archivos relacionados",
|
|
||||||
"related_file": "archivo relacionado",
|
|
||||||
"no_tags": "Sin etiquetas",
|
|
||||||
"no_related_files": "Sin archivos relacionados",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "Atajos de teclado",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"Listar atajos",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "Crear lista",
|
|
||||||
"Make_ordered_list": "Crear lista ordenada",
|
|
||||||
"Insert_new_item": "Insertar nuevo ítem",
|
|
||||||
"Insert_child_in_item": "Insert child in item",
|
|
||||||
"Increase_depth": "Increase depth"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Head shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "Encabezado 1",
|
|
||||||
"Heading_2": "Encabezado 2",
|
|
||||||
"Heading_3": "Encabezado 3",
|
|
||||||
"Heading_4": "Encabezado 4",
|
|
||||||
"Heading_5": "Encabezado 5",
|
|
||||||
"Heading_6": "Encabezado 6"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Code block shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "Crear bloque de código",
|
|
||||||
"Insert_new_line": "Insertar nueva línea",
|
|
||||||
"Escape_code_block": "Escape code block",
|
|
||||||
"Insert_indent": "Insert indent"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Block quote shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "Make Block quote",
|
|
||||||
"Escape_Block_quote": "Escape Block quote"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Atajos de tabla",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "Insertar fila de tabla",
|
|
||||||
"Escape_table": "Escape table"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"Inline shortcuts",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "Negrita",
|
|
||||||
"Italic": "Itálica",
|
|
||||||
"Italic_Bold": "Negrita itálica",
|
|
||||||
"Inline_code": "Inline code"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Guardar atajos",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "Guardar archivo"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Atajos de imagen",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "Pegar captura de pantalla",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "Arrastrar imagen desde cualquier sitio para subirla"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,169 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "Gras",
|
|
||||||
"italic": "Italique",
|
|
||||||
"inline_code": "Code",
|
|
||||||
"header_one": "Titre 1",
|
|
||||||
"header_two": "Titre 2",
|
|
||||||
"header_three": "Titre 3",
|
|
||||||
"header_four": "Titre 4",
|
|
||||||
"header_five": "Titre 5",
|
|
||||||
"header_six": "Titre 6",
|
|
||||||
"paragraph": "Paragraphe",
|
|
||||||
"quote": "Citation",
|
|
||||||
"ordered_list": "Liste ordonnée",
|
|
||||||
"unordered_list": "Liste non ordonnée",
|
|
||||||
"check_list_item": "Élément liste de vérification",
|
|
||||||
"insert_image": "Insérer image",
|
|
||||||
"code": "Ligne de code",
|
|
||||||
"code_block": "Bloc de code",
|
|
||||||
"insert_link": "Insérer lien",
|
|
||||||
"insert_table": "Insérer table",
|
|
||||||
"save": "Sauvegarder",
|
|
||||||
"more": "Plus",
|
|
||||||
"invalid_url": "L'adresse n'est pas valide",
|
|
||||||
"link_address": "Adresse du lien",
|
|
||||||
"image_address": "Adresse de l'image",
|
|
||||||
"submit": "Soumettre",
|
|
||||||
"cancel": "Annuler",
|
|
||||||
"switch_to_plain_text_editor": "Basculer en éditeur de texte plein",
|
|
||||||
"switch_to_rich_text_editor": "Basculer en éditeur de texte riche",
|
|
||||||
"switch_to_viewer": "Basculer en visualiseur Markdown",
|
|
||||||
"help": "Aide",
|
|
||||||
"remove_table": "Supprimer la table",
|
|
||||||
"column": "Colonne",
|
|
||||||
"row": "Ligne",
|
|
||||||
"set_align": "Ajuster l'alignement",
|
|
||||||
"left": "Gauche",
|
|
||||||
"center": "Centrer",
|
|
||||||
"right": "Droite",
|
|
||||||
"file_saved": "Fichier sauvegardé.",
|
|
||||||
"file_failed_to_save": "Échec de la sauvegarde du fichier",
|
|
||||||
"star": "Ajouter étoile",
|
|
||||||
"unstar": "Enlever étoile",
|
|
||||||
"back_to_parent_directory":"Retour au répertoire parent",
|
|
||||||
"edit":"éditer",
|
|
||||||
"copy": "Copier",
|
|
||||||
"copied": "Copié",
|
|
||||||
"internal_link": "Lien interne",
|
|
||||||
"copy_internal_link": "Le lien interne a été copié dans le presse-papier",
|
|
||||||
"internal_link_desc": "Un lien interne est un lien vers un fichier ou un dossier accessible en lecture par un utilisateur.",
|
|
||||||
"share": "Partager",
|
|
||||||
"share_link": "Lien de partage",
|
|
||||||
"generate": "Générer",
|
|
||||||
"add_password_protection": "Ajouter un mot de passe de protection",
|
|
||||||
"password": "Mot de passe",
|
|
||||||
"at_least_8_characters": "Au moins 8 caractères",
|
|
||||||
"password_again": "Mot de passe (à nouveau)",
|
|
||||||
"add_auto_expiration": "Ajouter l'expiration automatique",
|
|
||||||
"days": "jours",
|
|
||||||
"please_enter_password": "Entrez un mot de passe",
|
|
||||||
"greater_than_or_equal_to": "Plus grand ou égale à",
|
|
||||||
"less_than_or_equal_to": "Plus petit ou égal à",
|
|
||||||
"set_permission": "Définir la permission",
|
|
||||||
"preview_and_download": "Prévisualiser et télécharger",
|
|
||||||
"preview_only": "Aperçu uniquement",
|
|
||||||
"please_enter_valid_days": "Saisissez un nombre de jours valide",
|
|
||||||
"please_enter_a_non-negative_integer": "Veuillez introduire un intégrateur non-négatif",
|
|
||||||
"please_enter_days": "Veuillez entrer un nombre de jours",
|
|
||||||
"password_is_too_short": "Le mot de passe est trop court",
|
|
||||||
"passwords_do_not_match": "Les mots de passe ne correspondent pas",
|
|
||||||
"return_to_wiki_page": "Retour à la page du Wiki",
|
|
||||||
"insert_network_image": "Insérer une image du réseau",
|
|
||||||
"upload_local_image": "Insérer une image locale",
|
|
||||||
"add_link": "Ajouter un lien",
|
|
||||||
"file_history": "Historique du fichier",
|
|
||||||
"history_version": "Historique des versions",
|
|
||||||
"back_to_viewer": "Retour au visualiseur",
|
|
||||||
"link_title": "Titre du lien",
|
|
||||||
"local_draft": "Brouillon local",
|
|
||||||
"use_draft": "Utiliser le brouillon",
|
|
||||||
"delete_draft": "Supprimer le brouillon",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "Vous avez un brouillon qui n'est pas sauvé. Voulez-vous l'utiliser ?",
|
|
||||||
"local_draft_saved": "Brouillon local sauvegardé",
|
|
||||||
"new_draft": "Nouveau brouillon",
|
|
||||||
"edit_draft": "Éditer brouillon",
|
|
||||||
"this_file_has_a_draft": "Ce fichier possède un brouillon.",
|
|
||||||
"delete": "Supprimer",
|
|
||||||
"comments": "Commentaires",
|
|
||||||
"add_a_comment": "Ajouter un commentaire ...",
|
|
||||||
"no_comment_yet": "Pas encore de commentaire.",
|
|
||||||
"Mark_as_Resolved": "Marqué comme résolu",
|
|
||||||
"ask_for_review": "Demande d'un avis",
|
|
||||||
"review_already_exists": "Un avis existe déjà",
|
|
||||||
"view_review": "Voir l'avis",
|
|
||||||
"there_is_an_associated_review_with_this_file": "Il y a un avis associé à ce fichier",
|
|
||||||
"start_review": "Commencer l'avis",
|
|
||||||
"this_file_is_in_draft_stage": "Ce fichier est à l'état de brouillon",
|
|
||||||
"this_file_is_in_review_stage": "Ce fichier est à l'état d'avis",
|
|
||||||
"this_file_has_been_updated": "Ce fichier à bien été mis à jour.",
|
|
||||||
"refresh": "Rafraichir",
|
|
||||||
"related_files": "Fichiers relatifs",
|
|
||||||
"related_file": "Fichier relatif",
|
|
||||||
"no_tags": "Pas de tag",
|
|
||||||
"no_related_files": "Aucun fichier relatif",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "Raccourcis clavier",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"Liste des raccourcis",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "Faire une liste",
|
|
||||||
"Make_ordered_list": "Faire une liste ordonnée",
|
|
||||||
"Insert_new_item": "Insérer un nouvel élément",
|
|
||||||
"Insert_child_in_item": "Insérer enfant dans l'élément",
|
|
||||||
"Increase_depth": "Améliorer la profondeur"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Raccourcis en-tête",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "Titre 1",
|
|
||||||
"Heading_2": "Titre 2",
|
|
||||||
"Heading_3": "Titre 3",
|
|
||||||
"Heading_4": "Titre 4",
|
|
||||||
"Heading_5": "Titre 5",
|
|
||||||
"Heading_6": "Titre 6"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Raccourcis de blocs de code",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "Faire un bloc de code",
|
|
||||||
"Insert_new_line": "Insérer une nouvelle ligne",
|
|
||||||
"Escape_code_block": "Sortir du bloc de code",
|
|
||||||
"Insert_indent": "Insérer un espace"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Raccourcis blocs de citation",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "Faire un bloc de citation",
|
|
||||||
"Escape_Block_quote": "Sortir du bloc de citation"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Raccourcis table",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "Insérer une ligne à la table",
|
|
||||||
"Escape_table": "Sortir de la table"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"Raccourcis en ligne",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "Gras",
|
|
||||||
"Italic": "Italique",
|
|
||||||
"Italic_Bold": "Italique Gras",
|
|
||||||
"Inline_code": "Ligne de code"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Sauvegarder les raccourcis",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "Sauvegarder fichier"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Raccourcis image",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "Coller la capture d'écran",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "Glisser l'image de n'importe où pour l'envoyer"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,169 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "Grassetto",
|
|
||||||
"italic": "Corsivo",
|
|
||||||
"inline_code": "Codice",
|
|
||||||
"header_one": "Titolo 1",
|
|
||||||
"header_two": "Titolo 2",
|
|
||||||
"header_three": "Titolo 3",
|
|
||||||
"header_four": "Titolo 4",
|
|
||||||
"header_five": "Intestazione 5",
|
|
||||||
"header_six": "Intestazione 6",
|
|
||||||
"paragraph": "Paragrafo",
|
|
||||||
"quote": "Citazione",
|
|
||||||
"ordered_list": "Lista ordinata",
|
|
||||||
"unordered_list": "Lista non ordinata",
|
|
||||||
"check_list_item": "Controlla la voce dell'elenco",
|
|
||||||
"insert_image": "Inserisci Immagine",
|
|
||||||
"code": "Codice in linea",
|
|
||||||
"code_block": "Codice",
|
|
||||||
"insert_link": "Inserisci Collegamento",
|
|
||||||
"insert_table": "Inserisci tabella",
|
|
||||||
"save": "Salvare",
|
|
||||||
"more": "Altro",
|
|
||||||
"invalid_url": "URL non valida",
|
|
||||||
"link_address": "Indirizzo collegamento",
|
|
||||||
"image_address": "Indirizzo Immagine",
|
|
||||||
"submit": "Invia",
|
|
||||||
"cancel": "Annulla",
|
|
||||||
"switch_to_plain_text_editor": "Passa all'Editor di testo semplice",
|
|
||||||
"switch_to_rich_text_editor": "Passa all'Editor di testo formattato",
|
|
||||||
"switch_to_viewer": "Passa alla vista di tipo Markdown",
|
|
||||||
"help": "Aiuto",
|
|
||||||
"remove_table": "Rimuovere Tabella",
|
|
||||||
"column": "Colonna",
|
|
||||||
"row": "Riga",
|
|
||||||
"set_align": "Imposta allineamento",
|
|
||||||
"left": "Sinistra",
|
|
||||||
"center": "Centrato",
|
|
||||||
"right": "Destra",
|
|
||||||
"file_saved": "File salvato.",
|
|
||||||
"file_failed_to_save": "Errore salvataggio file.",
|
|
||||||
"star": "Aggiungi asterisco",
|
|
||||||
"unstar": "Rimozione asterisco",
|
|
||||||
"back_to_parent_directory":"Torna alla cartella precedente",
|
|
||||||
"edit":"modifica",
|
|
||||||
"copy": "Copia",
|
|
||||||
"copied": "Copiato",
|
|
||||||
"internal_link": "Collegamento interno",
|
|
||||||
"copy_internal_link": "Il collegamento interno è stato copiato negli appunti",
|
|
||||||
"internal_link_desc": "Un collegamento interno è un collegamento a un file o una cartella a cui gli utenti possono accedere con autorizzazione di lettura al file o alla cartella.",
|
|
||||||
"share": "Condividi",
|
|
||||||
"share_link": "Condividi Collegamento",
|
|
||||||
"generate": "Generare",
|
|
||||||
"add_password_protection": "Aggiungi la protezione password",
|
|
||||||
"password": "Password",
|
|
||||||
"at_least_8_characters": "almeno 8 caratteri",
|
|
||||||
"password_again": "Ridigita password",
|
|
||||||
"add_auto_expiration": "Aggiungi la scadenza automatica",
|
|
||||||
"days": "giorni",
|
|
||||||
"please_enter_password": "Per favore, inserisci la password",
|
|
||||||
"greater_than_or_equal_to": "Maggiore o uguale a ",
|
|
||||||
"less_than_or_equal_to": "Minore o uguale a",
|
|
||||||
"set_permission": "Imposta permessi",
|
|
||||||
"preview_and_download": "Anteprima e download",
|
|
||||||
"preview_only": "Solo Anteprima",
|
|
||||||
"please_enter_valid_days": "Si prega di inserire giorni validi",
|
|
||||||
"please_enter_a_non-negative_integer": "Prego inserire un intero non negativo",
|
|
||||||
"please_enter_days": "Prego inserire i giorni",
|
|
||||||
"password_is_too_short": "La password è troppo corta",
|
|
||||||
"passwords_do_not_match": "Le password non corrispondono",
|
|
||||||
"return_to_wiki_page": "Torna alla pagina Wiki",
|
|
||||||
"insert_network_image": "Inserisci immagine di rete",
|
|
||||||
"upload_local_image": "Inserisci immagine locale",
|
|
||||||
"add_link": "Aggiungi collegamento",
|
|
||||||
"file_history": "Cronologia dei file",
|
|
||||||
"history_version": "Versioni cronologia",
|
|
||||||
"back_to_viewer": "Torma alla vista",
|
|
||||||
"link_title": "Link al titolo",
|
|
||||||
"local_draft": "Bozza locale",
|
|
||||||
"use_draft": "Usa bozza",
|
|
||||||
"delete_draft": "Rimuovi Bozza",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "Hai una bozza non salvata. La vuoi utilizzare?",
|
|
||||||
"local_draft_saved": "Bozza salvata in locale",
|
|
||||||
"new_draft": "Nuova Bozza",
|
|
||||||
"edit_draft": "Modifica Bozza",
|
|
||||||
"this_file_has_a_draft": "Questo file è una bozza",
|
|
||||||
"delete": "Elimina",
|
|
||||||
"comments": "Commenti",
|
|
||||||
"add_a_comment": "Aggiungi un commento...",
|
|
||||||
"no_comment_yet": "Ancora nessun commento.",
|
|
||||||
"Mark_as_Resolved": "Contrassegnato come risolto",
|
|
||||||
"ask_for_review": "Richiedi una revisione",
|
|
||||||
"review_already_exists": "Revisione già esistente",
|
|
||||||
"view_review": "Visualizza revisione",
|
|
||||||
"there_is_an_associated_review_with_this_file": "C'è una recensione associata con questo file.",
|
|
||||||
"start_review": "Inizia Revisione",
|
|
||||||
"this_file_is_in_draft_stage": "Questo file è in fase di bozza.",
|
|
||||||
"this_file_is_in_review_stage": "Questo file è in fase di revisione.",
|
|
||||||
"this_file_has_been_updated": "Questo file è stato aggiornato.",
|
|
||||||
"refresh": "Aggiornare",
|
|
||||||
"related_files": "file correlati",
|
|
||||||
"related_file": "file correlato",
|
|
||||||
"no_tags": "Nessun tag",
|
|
||||||
"no_related_files": "Nessun file correlato",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "Tasti rapidi",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"Elenca scorciatoie",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "Crea elenco",
|
|
||||||
"Make_ordered_list": "Crea elenco ordinato",
|
|
||||||
"Insert_new_item": "Inserisci un nuovo elemento",
|
|
||||||
"Insert_child_in_item": "Inserisci un elemento figlio sotto questo elemento",
|
|
||||||
"Increase_depth": "Aumenta la profondità"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Scorciatoie principali",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "Titolo 1",
|
|
||||||
"Heading_2": "Titolo 2",
|
|
||||||
"Heading_3": "Titolo 3",
|
|
||||||
"Heading_4": "Titolo 4",
|
|
||||||
"Heading_5": "Intestazione 5",
|
|
||||||
"Heading_6": "Intestazione 6"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Scorciatoie di codice",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "Crea un blocco di codice",
|
|
||||||
"Insert_new_line": "Inserisci nuova linea",
|
|
||||||
"Escape_code_block": "Codice di escape",
|
|
||||||
"Insert_indent": "Inserisci indentazione"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Blocco scorciatoie di citazione",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "Crea blocco citazioni",
|
|
||||||
"Escape_Block_quote": "Escape Blocco Codice"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Scorciatoie Tabella",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "Inserisci riga nella tabella",
|
|
||||||
"Escape_table": "Escape tabella"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"Scorciatoie in linea",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "Grassetto",
|
|
||||||
"Italic": "Corsivo",
|
|
||||||
"Italic_Bold": "Corsivo Grassetto",
|
|
||||||
"Inline_code": "Codice in linea"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Salva scorciatoie",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "Salva file"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Scorciatoie per le immagini",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "Incolla la schermata",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "Trascina l'immagine da qualsiasi posizione per caricarla"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,169 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "Полужирный",
|
|
||||||
"italic": "Курсив",
|
|
||||||
"inline_code": "Код",
|
|
||||||
"header_one": "Заголовок 1",
|
|
||||||
"header_two": "Заголовок 2",
|
|
||||||
"header_three": "Заголовок 3",
|
|
||||||
"header_four": "Заголовок 4",
|
|
||||||
"header_five": "Заголовок 5",
|
|
||||||
"header_six": "Заголовок 6",
|
|
||||||
"paragraph": "Параграф",
|
|
||||||
"quote": "Цитата",
|
|
||||||
"ordered_list": "Нумерованный список",
|
|
||||||
"unordered_list": "Маркированный список",
|
|
||||||
"check_list_item": "Проверка элемента списка",
|
|
||||||
"insert_image": "Вставить изображение",
|
|
||||||
"code": "Встроенный код",
|
|
||||||
"code_block": "Блок кода",
|
|
||||||
"insert_link": "Вставить ссылку",
|
|
||||||
"insert_table": "Вставить таблицу",
|
|
||||||
"save": "Сохранить",
|
|
||||||
"more": "Подробнее",
|
|
||||||
"invalid_url": "Недопустимый URL",
|
|
||||||
"link_address": "Адрес ссылки",
|
|
||||||
"image_address": "Адрес изображения",
|
|
||||||
"submit": "Отправить",
|
|
||||||
"cancel": "Отменить",
|
|
||||||
"switch_to_plain_text_editor": "Переключиться на обычный текстовый редактор",
|
|
||||||
"switch_to_rich_text_editor": "Переключиться на визуальный редактор",
|
|
||||||
"switch_to_viewer": "Переключиться на просмотр Markdown",
|
|
||||||
"help": "Помощь",
|
|
||||||
"remove_table": "Удалить таблицу",
|
|
||||||
"column": "Столбец",
|
|
||||||
"row": "Строка",
|
|
||||||
"set_align": "Установить выравнивание",
|
|
||||||
"left": "Слева",
|
|
||||||
"center": "По центру",
|
|
||||||
"right": "Справа",
|
|
||||||
"file_saved": "Файл сохранен.",
|
|
||||||
"file_failed_to_save": "Не удалось сохранить файл.",
|
|
||||||
"star": "Добавить пометку",
|
|
||||||
"unstar": "Удалить пометку",
|
|
||||||
"back_to_parent_directory":"Вернуться в родительский каталог",
|
|
||||||
"edit":"изменить",
|
|
||||||
"copy": "Копировать",
|
|
||||||
"copied": "Скопировано",
|
|
||||||
"internal_link": "Внутренняя ссылка",
|
|
||||||
"copy_internal_link": "Внутренняя ссылка скопирована в буфер обмена",
|
|
||||||
"internal_link_desc": "Внутренняя ссылка - это ссылка на файл или папку, к которым могут обращаться пользователи с правами на чтение файла или папки.",
|
|
||||||
"share": "Общий доступ",
|
|
||||||
"share_link": "Общедоступная ссылка",
|
|
||||||
"generate": "Создать",
|
|
||||||
"add_password_protection": "Защитить паролем",
|
|
||||||
"password": "Пароль",
|
|
||||||
"at_least_8_characters": "не менее 8 символов",
|
|
||||||
"password_again": "Подтвердите пароль",
|
|
||||||
"add_auto_expiration": "Добавить авто истечение срока действия",
|
|
||||||
"days": "дней",
|
|
||||||
"please_enter_password": "Пожалуйста, введите пароль",
|
|
||||||
"greater_than_or_equal_to": "Больше или равно",
|
|
||||||
"less_than_or_equal_to": "Меньше или равно",
|
|
||||||
"set_permission": "Установить разрешения",
|
|
||||||
"preview_and_download": "Предпросмотр и скачивание",
|
|
||||||
"preview_only": "Только предпросмотр",
|
|
||||||
"please_enter_valid_days": "Пожалуйста, введите корректные дни",
|
|
||||||
"please_enter_a_non-negative_integer": "Пожалуйста, введите неотрицательное целое число",
|
|
||||||
"please_enter_days": "Пожалуйста, введите дни",
|
|
||||||
"password_is_too_short": "Пароль слишком короткий",
|
|
||||||
"passwords_do_not_match": "Пароли не совпадают",
|
|
||||||
"return_to_wiki_page": "Вернуться на страницу Wiki",
|
|
||||||
"insert_network_image": "Вставить удаленное изображение",
|
|
||||||
"upload_local_image": "Загрузить локальное изображение",
|
|
||||||
"add_link": "Добавить ссылку",
|
|
||||||
"file_history": "История файла",
|
|
||||||
"history_version": "История версий",
|
|
||||||
"back_to_viewer": "Вернуться к просмотру",
|
|
||||||
"link_title": "Название ссылки",
|
|
||||||
"local_draft": "Локальный черновик",
|
|
||||||
"use_draft": "Использовать черновик",
|
|
||||||
"delete_draft": "Удалить черновик",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "У вас есть несохраненный черновик. Хотите использовать его?",
|
|
||||||
"local_draft_saved": "Локальный черновик сохранен",
|
|
||||||
"new_draft": "Новый черновик",
|
|
||||||
"edit_draft": "Изменить черновик",
|
|
||||||
"this_file_has_a_draft": "Этот файл имеет черновик.",
|
|
||||||
"delete": "Удалить",
|
|
||||||
"comments": "Комментарии",
|
|
||||||
"add_a_comment": "Добавить комментарий...",
|
|
||||||
"no_comment_yet": "Комментариев пока нет.",
|
|
||||||
"Mark_as_Resolved": "Отметить как разрешенный",
|
|
||||||
"ask_for_review": "Спросить отзыв",
|
|
||||||
"review_already_exists": "Отзыв уже существует",
|
|
||||||
"view_review": "Просмотр отзыва",
|
|
||||||
"there_is_an_associated_review_with_this_file": "Есть связанный отзыв с этим файлом.",
|
|
||||||
"start_review": "Начать отзыв",
|
|
||||||
"this_file_is_in_draft_stage": "Этот файл находится в стадии черновика.",
|
|
||||||
"this_file_is_in_review_stage": "Этот файл находится на стадии проверки.",
|
|
||||||
"this_file_has_been_updated": "Этот файл был обновлен.",
|
|
||||||
"refresh": "Обновить",
|
|
||||||
"related_files": "связанные файлы",
|
|
||||||
"related_file": "связанный файл",
|
|
||||||
"no_tags": "Нет тегов",
|
|
||||||
"no_related_files": "Нет связанных файлов",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "Горячие клавиши",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"Список горячих клавиш",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "Создать список",
|
|
||||||
"Make_ordered_list": "Создать нумерованный список",
|
|
||||||
"Insert_new_item": "Вставить новый элемент",
|
|
||||||
"Insert_child_in_item": "Вставить дочерний в элемент",
|
|
||||||
"Increase_depth": "Увеличить глубину"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Горячие клавиши для заголовка",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "Заголовок 1",
|
|
||||||
"Heading_2": "Заголовок 2",
|
|
||||||
"Heading_3": "Заголовок 3",
|
|
||||||
"Heading_4": "Заголовок 4",
|
|
||||||
"Heading_5": "Заголовок 5",
|
|
||||||
"Heading_6": "Заголовок 6"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Горячие клавиши для кода",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "Создать блок кода",
|
|
||||||
"Insert_new_line": "Вставить новую строку",
|
|
||||||
"Escape_code_block": "Выделить блок кода",
|
|
||||||
"Insert_indent": "Вставить отступ"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Горячие клавиши для блока цитаты",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "Создать блок цитаты",
|
|
||||||
"Escape_Block_quote": "Выделить блок цитаты"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Горячие клавиши для таблицы",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "Вставить строку таблицы",
|
|
||||||
"Escape_table": "Выделить таблицу"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"Встроенные горячие клавиши",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "Полужирный",
|
|
||||||
"Italic": "Курсив",
|
|
||||||
"Italic_Bold": "Курсив Полужирный",
|
|
||||||
"Inline_code": "Встроенный код"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Сохранить горячие клавиши",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "Сохранить файл"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "Горячие клавиши для изображений",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "Вставить скриншот",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "Перетащите изображение для загрузки"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,242 +0,0 @@
|
|||||||
{
|
|
||||||
"bold": "粗体",
|
|
||||||
"italic": "斜体",
|
|
||||||
"inline_code": "代码",
|
|
||||||
"header_one": "一级标题",
|
|
||||||
"header_two": "二级标题",
|
|
||||||
"header_three": "三级标题",
|
|
||||||
"header_four": "四级标题",
|
|
||||||
"header_five": "五级标题",
|
|
||||||
"header_six": "六级标题",
|
|
||||||
"paragraph": "段落",
|
|
||||||
"quote": "引用",
|
|
||||||
"ordered_list": "有序列表",
|
|
||||||
"unordered_list": "无序列表",
|
|
||||||
"check_list_item": "任务列表",
|
|
||||||
"insert_image": "插入图片",
|
|
||||||
"insert_formula": "插入公式",
|
|
||||||
"formula": "公式",
|
|
||||||
"insert_file": "插入文件",
|
|
||||||
"code": "行内代码",
|
|
||||||
"code_block": "代码块",
|
|
||||||
"insert_link": "添加链接",
|
|
||||||
"insert_table": "添加表格",
|
|
||||||
"save": "保存",
|
|
||||||
"more": "更多",
|
|
||||||
"invalid_url": "无效链接",
|
|
||||||
"link_address": "链接地址",
|
|
||||||
"image_address": "图片地址",
|
|
||||||
"submit": "提交",
|
|
||||||
"cancel": "取消",
|
|
||||||
"switch_to_plain_text_editor": "切换至普通文本编辑器",
|
|
||||||
"switch_to_rich_text_editor": "切换至富文本编辑器",
|
|
||||||
"switch_to_viewer": "切换到只读模式",
|
|
||||||
"help": "帮助",
|
|
||||||
"remove_table": "删除表格",
|
|
||||||
"column": "列",
|
|
||||||
"row": "行",
|
|
||||||
"Insert_Row_Before": "上方插入行",
|
|
||||||
"Insert_Row_After": "下方插入行",
|
|
||||||
"Insert_Column_Before": "左边插入列",
|
|
||||||
"Insert_Column_After": "右边插入列",
|
|
||||||
"Remove_Row": "删除当前行",
|
|
||||||
"Remove_Column": "删除当前列",
|
|
||||||
"Insert_Row": "插入行",
|
|
||||||
"Insert_Column": "插入列",
|
|
||||||
"set_align": "对齐方式",
|
|
||||||
"left": "左对齐",
|
|
||||||
"center": "居中",
|
|
||||||
"right": "右对齐",
|
|
||||||
"file_saved": "保存文件成功",
|
|
||||||
"file_failed_to_save": "保存文件失败",
|
|
||||||
"star": "添加星标",
|
|
||||||
"unstar": "移除星标",
|
|
||||||
"back_to_parent_directory":"返回上级目录",
|
|
||||||
"edit": "编辑",
|
|
||||||
"copy": "复制",
|
|
||||||
"copied": "已复制",
|
|
||||||
"internal_link": "内部链接",
|
|
||||||
"copy_internal_link": "内部链接已复制到剪贴板",
|
|
||||||
"internal_link_desc": "内部链接是指向文件或目录的链接,只有对该文件或目录有访问权限的人可以访问。",
|
|
||||||
"share": "共享",
|
|
||||||
"share_link": "共享链接",
|
|
||||||
"generate": "生成链接",
|
|
||||||
"add_password_protection": "增加密码保护",
|
|
||||||
"password": "密码",
|
|
||||||
"at_least_8_characters": "至少8个字符",
|
|
||||||
"password_again": "请再次输入密码",
|
|
||||||
"add_auto_expiration": "增加自动过期",
|
|
||||||
"days": "天",
|
|
||||||
"please_enter_password": "请输入密码",
|
|
||||||
"greater_than_or_equal_to": "大于或等于",
|
|
||||||
"less_than_or_equal_to": "小于或等于",
|
|
||||||
"set_permission": "设置权限",
|
|
||||||
"preview_and_download": "预览与下载",
|
|
||||||
"preview_only": "仅查看",
|
|
||||||
"please_enter_valid_days": "请输入有效的天数",
|
|
||||||
"please_enter_a_non-negative_integer": "请输入一个非负整数",
|
|
||||||
"please_enter_days": "请输入天数",
|
|
||||||
"password_is_too_short": "密码长度太短",
|
|
||||||
"passwords_do_not_match": "两次输入的密码不一致",
|
|
||||||
"return_to_wiki_page": "返回维基页面",
|
|
||||||
"insert_network_image": "插入网络图片",
|
|
||||||
"upload_local_image": "上传本地图片",
|
|
||||||
"add_link": "加入链接",
|
|
||||||
"file_history": "文件历史",
|
|
||||||
"history_version": "历史版本",
|
|
||||||
"back_to_viewer": "返回查看页面",
|
|
||||||
"link_title": "链接标题",
|
|
||||||
"local_draft": "本地草稿",
|
|
||||||
"use_draft": "使用草稿",
|
|
||||||
"delete_draft": "删除草稿",
|
|
||||||
"you_have_an_unsaved_draft_do_you_like_to_use_it": "有未保存的草稿,使用草稿吗?",
|
|
||||||
"local_draft_saved": "本地草稿已保存",
|
|
||||||
"new_draft": "创建草稿",
|
|
||||||
"view_draft": "查看草稿",
|
|
||||||
"publish": "发布",
|
|
||||||
"this_file_has_a_draft": "这个文件有一个草稿.",
|
|
||||||
"delete": "删除",
|
|
||||||
"comments": "评论",
|
|
||||||
"add_a_comment": "增加评论",
|
|
||||||
"no_comment_yet": "还没有评论",
|
|
||||||
"Mark_as_Resolved": "标记为已解决",
|
|
||||||
"ask_for_review": "发起评审",
|
|
||||||
"review_already_exists": "评审已存在",
|
|
||||||
"view_review": "查看评审",
|
|
||||||
"there_is_an_associated_review_with_this_file": "有一个与此文件相关联的评审。",
|
|
||||||
"start_review": "开始评审",
|
|
||||||
"this_file_is_in_draft_stage": "该文件处于草稿阶段。",
|
|
||||||
"this_file_is_in_review_stage": "该文件处于评审阶段。",
|
|
||||||
"this_file_has_been_updated": "这个文件已被修改。",
|
|
||||||
"refresh": "刷新",
|
|
||||||
"related_files": "相关文件",
|
|
||||||
"related_file": "相关文件",
|
|
||||||
"no_tags": "没有标签",
|
|
||||||
"Date": "日期",
|
|
||||||
"Participants": "参与人",
|
|
||||||
"Meeting_note": "会议记录",
|
|
||||||
"Chooser_document_type": "选择文档类型",
|
|
||||||
"Empty": "空",
|
|
||||||
"no_related_files": "没有相关文件",
|
|
||||||
"no_out_line": "没有大纲",
|
|
||||||
"Editing_files_in_this_browser_can_lead_to_slight_display_problems": "在此浏览器中,编辑文件可能导致轻微的显示问题。",
|
|
||||||
"no_document_improvement_suggestion": "没有文档改进建议",
|
|
||||||
"Hide_side_panel": "隐藏侧旁栏",
|
|
||||||
"Show_side_panel": "显示侧旁栏",
|
|
||||||
"Show_resolved_comments": "显示已解决的评论",
|
|
||||||
"Update": "更新",
|
|
||||||
"Width": "宽度",
|
|
||||||
"Height": "高度",
|
|
||||||
"Full_screen": "全屏",
|
|
||||||
"Insert_library_image": "插入资料库图片",
|
|
||||||
"Size": "大小",
|
|
||||||
"Location": "位置",
|
|
||||||
"Last_Update": "更新时间",
|
|
||||||
"Tags": "标签",
|
|
||||||
"Related_Files": "相关文档",
|
|
||||||
"Add_participants": "增加文件参与人",
|
|
||||||
"markdownLint": {
|
|
||||||
"missing_h1": {
|
|
||||||
"description": "文档缺少一级标题",
|
|
||||||
"issue" : "缺少一级标题"
|
|
||||||
},
|
|
||||||
"heading_end_with_colon": {
|
|
||||||
"description": "标题末尾的标点符号不应该是冒号",
|
|
||||||
"issue": "标题末尾是冒号"
|
|
||||||
},
|
|
||||||
"heading_increase_irregular": {
|
|
||||||
"description": "标题级别一次只能增加一级",
|
|
||||||
"issue": "标题级别不规范"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Shortcut_help": "快捷键帮助",
|
|
||||||
"userHelp": {
|
|
||||||
"title": "键盘快捷键",
|
|
||||||
"userHelpData": [
|
|
||||||
{
|
|
||||||
"shortcutType":"列表快捷键",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_list": "生成列表",
|
|
||||||
"Make_ordered_list": "生成有序列表",
|
|
||||||
"Insert_new_item": "插入列表项",
|
|
||||||
"Insert_child_in_item": "插入新段落",
|
|
||||||
"Increase_depth": "增加列表项深度"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "标题快捷键",
|
|
||||||
"shortcutData": {
|
|
||||||
"Heading_1": "一级标题",
|
|
||||||
"Heading_2": "二级标题",
|
|
||||||
"Heading_3": "三级标题",
|
|
||||||
"Heading_4": "四级标题",
|
|
||||||
"Heading_5": "五级标题",
|
|
||||||
"Heading_6": "六级标题"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "代码块快捷键",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_code_block": "生成代码块",
|
|
||||||
"Insert_new_line": "插入行",
|
|
||||||
"Escape_code_block": "退出代码块",
|
|
||||||
"Insert_indent": "缩进"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "引用快捷键",
|
|
||||||
"shortcutData": {
|
|
||||||
"Make_Block_quote": "生成引用",
|
|
||||||
"Escape_Block_quote": "退出引用"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "表格快捷键",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Table_Row": "插入行",
|
|
||||||
"Escape_table": "退出表格"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "公式快捷键",
|
|
||||||
"shortcutData": {
|
|
||||||
"Insert_Formula": "插入公式"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType":"行内快捷键",
|
|
||||||
"shortcutData": {
|
|
||||||
"Bold": "粗体",
|
|
||||||
"Italic": "斜体",
|
|
||||||
"Italic_Bold": "斜体粗体",
|
|
||||||
"Inline_code": "行内代码"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "保存快捷键",
|
|
||||||
"shortcutData": {
|
|
||||||
"Save_file": "保存文件"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"shortcutType": "图片快捷键",
|
|
||||||
"shortcutData": {
|
|
||||||
"Paste_screen_shot": "粘贴屏幕截图",
|
|
||||||
"Drag_image_from_anywhere_to_upload_it": "从任意地方拖动图像以上传"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"The_link_address_is_required": "链接地址是必填项。",
|
|
||||||
"The_link_title_is_required": "链接标题是必填项。",
|
|
||||||
"The_link_address_is_invalid": "链接地址不合法,请输入一个正确的链接地址。",
|
|
||||||
"All_changes_saved": "所有更改均已保存",
|
|
||||||
"Saving": "保存中...",
|
|
||||||
"Online_members": "在线成员",
|
|
||||||
"me": "我",
|
|
||||||
"Server_is_not_connected_Operation_will_be_sent_to_server_later": "服务器未连接。 操作稍后将发送到服务器。",
|
|
||||||
"Server_is_disconnected_Reconnecting": "服务器断开连接。正在重新连接...",
|
|
||||||
"Server_is_reconnected": "服务器已重新连接。",
|
|
||||||
"Outline": "目录",
|
|
||||||
"Headings_you_add_to_the_document_will_appear_here": "您添加到文档中的标题将显示在此处",
|
|
||||||
"redo": "重做",
|
|
||||||
"undo": "撤销",
|
|
||||||
"Open_link": "打开链接",
|
|
||||||
"Customize_the_number_of_rows_and_columns": "自定义行列数",
|
|
||||||
"Rows": "行数",
|
|
||||||
"Columns": "列数",
|
|
||||||
"Please_enter_the_title": "请输入标题",
|
|
||||||
"Please_enter_the_text": "请输入正文"
|
|
||||||
}
|
|
@@ -1,158 +0,0 @@
|
|||||||
@font-face {
|
|
||||||
font-family: "sdocfont"; /* Project id 4097705 */
|
|
||||||
src: url('./sdoc-editor-font/iconfont.eot?t=1685591242626'); /* IE9 */
|
|
||||||
src: url('./sdoc-editor-font/iconfont.eot?t=1685591242626#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
||||||
url('./sdoc-editor-font/iconfont.woff2?t=1685591242626') format('woff2'),
|
|
||||||
url('./sdoc-editor-font/iconfont.woff?t=1685591242626') format('woff'),
|
|
||||||
url('./sdoc-editor-font/iconfont.ttf?t=1685591242626') format('truetype'),
|
|
||||||
url('./sdoc-editor-font/iconfont.svg?t=1685591242626#sdocfont') format('svg');
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdocfont {
|
|
||||||
font-family: "sdocfont" !important;
|
|
||||||
font-size: 16px;
|
|
||||||
font-style: normal;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-delete-table:before {
|
|
||||||
content: "\e637";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-caret-up:before {
|
|
||||||
content: "\e636";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-left-alignment:before {
|
|
||||||
content: "\e62e";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-center-horizontally:before {
|
|
||||||
content: "\e62f";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-align-right:before {
|
|
||||||
content: "\e630";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-cancel:before {
|
|
||||||
content: "\e631";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-drop-down:before {
|
|
||||||
content: "\e632";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-row:before {
|
|
||||||
content: "\e633";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-column:before {
|
|
||||||
content: "\e634";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-fullscreen:before {
|
|
||||||
content: "\e635";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-check-circle:before {
|
|
||||||
content: "\e62a";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-description:before {
|
|
||||||
content: "\e62b";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-exclamation-triangle:before {
|
|
||||||
content: "\e62c";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-exclamation-circle:before {
|
|
||||||
content: "\e62d";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-check-square:before {
|
|
||||||
content: "\e615";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-image:before {
|
|
||||||
content: "\e616";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-italic:before {
|
|
||||||
content: "\e617";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-history:before {
|
|
||||||
content: "\e618";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-quote-left:before {
|
|
||||||
content: "\e619";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-list-ol:before {
|
|
||||||
content: "\e61a";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-delete:before {
|
|
||||||
content: "\e61b";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-menu:before {
|
|
||||||
content: "\e61c";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-code-block:before {
|
|
||||||
content: "\e61d";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-redo:before {
|
|
||||||
content: "\e61e";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-bold:before {
|
|
||||||
content: "\e61f";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-rename:before {
|
|
||||||
content: "\e620";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-list-ul:before {
|
|
||||||
content: "\e621";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-share:before {
|
|
||||||
content: "\e622";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-strikethrough:before {
|
|
||||||
content: "\e623";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-link:before {
|
|
||||||
content: "\e624";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-underline:before {
|
|
||||||
content: "\e625";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-revoke:before {
|
|
||||||
content: "\e626";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-table:before {
|
|
||||||
content: "\e627";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-table-of-content:before {
|
|
||||||
content: "\e628";
|
|
||||||
}
|
|
||||||
|
|
||||||
.sdoc-user:before {
|
|
||||||
content: "\e629";
|
|
||||||
}
|
|
||||||
|
|
Binary file not shown.
@@ -1,89 +0,0 @@
|
|||||||
<?xml version="1.0" standalone="no"?>
|
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<metadata>Created by iconfont</metadata>
|
|
||||||
<defs>
|
|
||||||
<font id="sdocfont" horiz-adv-x="1024">
|
|
||||||
<font-face
|
|
||||||
font-family="sdocfont"
|
|
||||||
font-weight="400"
|
|
||||||
font-stretch="normal"
|
|
||||||
units-per-em="1024"
|
|
||||||
ascent="896"
|
|
||||||
descent="-128"
|
|
||||||
/>
|
|
||||||
<missing-glyph />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-delete-table" unicode="" d="M800 352c124.8 0 224-102.4 224-220.8S921.6-96 800-96s-224 102.4-224 220.8 99.2 227.2 224 227.2z m128 448c35.2 0 60.8-25.6 64-60.8v-396.8c-35.2 32-80 54.4-128 67.2V544h-288v-160h92.8C576 336 512 240 512 128c0-60.8 19.2-115.2 48-160H96c-35.2 0-60.8 25.6-64 60.8V736c0 35.2 25.6 60.8 60.8 64H928z m-38.4-640h-176c-25.6 0-38.4-12.8-38.4-32 0-12.8 19.2-32 38.4-32h176c25.6 0 38.4 12.8 38.4 32 0 12.8-16 32-38.4 32zM448 256H160v-160h288v160z m0 288H160v-160h288v160z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-caret-up" unicode="" d="M870.4 137.6H153.6c-51.2 0-73.6 60.8-38.4 96L473.6 592c22.4 22.4 57.6 22.4 80 0L912 233.6c35.2-38.4 9.6-96-41.6-96z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-left-alignment" unicode="" d="M630.4 771.2v-73.6c0-16-12.8-28.8-28.8-28.8H124.8c-16 0-28.8 12.8-28.8 28.8V771.2c0 16 12.8 28.8 28.8 28.8h476.8c16 0 28.8-12.8 28.8-28.8zM96 537.6v-73.6c0-16 12.8-28.8 28.8-28.8H896c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H124.8c-16 0-28.8-12.8-28.8-28.8zM124.8-32H896c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H124.8c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8z m476.8 364.8H124.8c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8h476.8c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-center-horizontally" unicode="" d="M748.8 771.2v-73.6c0-16-12.8-28.8-28.8-28.8h-416c-16 0-28.8 12.8-28.8 28.8V771.2c0 16 12.8 28.8 28.8 28.8h416c16 0 28.8-12.8 28.8-28.8zM124.8 435.2H896c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H124.8c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8z m0-467.2H896c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H124.8c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8z m595.2 364.8h-416c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8h416c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-align-right" unicode="" d="M393.6 697.6V771.2c0 16 12.8 28.8 28.8 28.8h476.8c16 0 28.8-12.8 28.8-28.8v-73.6c0-16-12.8-28.8-28.8-28.8H422.4c-16 0-28.8 12.8-28.8 28.8z m-268.8-262.4H896c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H124.8c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8z m0-467.2H896c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H124.8c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8z m297.6 233.6h476.8c16 0 28.8 12.8 28.8 28.8v73.6c0 16-12.8 28.8-28.8 28.8H422.4c-16 0-28.8-12.8-28.8-28.8v-73.6c0-16 12.8-28.8 28.8-28.8z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-cancel" unicode="" d="M512 441.6L214.4 742.4 185.6 768 128 710.4l25.6-28.8 300.8-297.6-300.8-297.6-25.6-28.8L185.6 0l28.8 25.6 297.6 300.8 297.6-300.8 28.8-25.6 57.6 57.6-25.6 28.8-300.8 297.6 300.8 297.6 25.6 28.8L838.4 768l-28.8-25.6-297.6-300.8z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-drop-down" unicode="" d="M550.4 169.6l265.6 336c32 38.4 6.4 102.4-38.4 102.4H246.4c-44.8 0-70.4-60.8-38.4-102.4l265.6-336c19.2-25.6 57.6-25.6 76.8 0z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-row" unicode="" d="M320 464c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160C64 649.6 86.4 672 112 672h160c25.6 0 48-22.4 48-48v-160z m0-320c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160c25.6 0 48-22.4 48-48v-160z m320 0c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160c25.6 0 48-22.4 48-48v-160z m0 320c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160c25.6 0 48-22.4 48-48v-160z m320 0c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160c25.6 0 48-22.4 48-48v-160z m0-320c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160c25.6 0 48-22.4 48-48v-160z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-column" unicode="" d="M432 192c25.6 0 48-22.4 48-48v-160c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160z m320 0c25.6 0 48-22.4 48-48v-160c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160z m0 320c25.6 0 48-22.4 48-48v-160c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160z m-320 0c25.6 0 48-22.4 48-48v-160c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160z m0 320c25.6 0 48-22.4 48-48v-160c0-25.6-22.4-48-48-48h-160C246.4 576 224 598.4 224 624v160C224 809.6 246.4 832 272 832h160z m320 0c25.6 0 48-22.4 48-48v-160c0-25.6-22.4-48-48-48h-160c-25.6 0-48 22.4-48 48v160c0 25.6 22.4 48 48 48h160z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-fullscreen" unicode="" d="M390.4 832c19.2 0 41.6-16 41.6-41.6s-16-41.6-41.6-41.6H147.2v-243.2c0-19.2-16-41.6-41.6-41.6S64 483.2 64 505.6V790.4C64 816 80 832 105.6 832h284.8z m0-812.8c19.2 0 41.6-16 41.6-41.6s-19.2-41.6-41.6-41.6H99.2c-6.4 0-16 3.2-22.4 9.6-9.6 6.4-12.8 16-12.8 25.6v288c0 19.2 16 41.6 41.6 41.6s41.6-16 41.6-41.6v-185.6l204.8 204.8c16 16 41.6 16 57.6 0s16-41.6 0-57.6l-204.8-204.8 185.6 3.2zM960 793.6c0-3.2 0-3.2 0 0v-284.8c0-19.2-16-41.6-41.6-41.6s-41.6 16-41.6 41.6V694.4L672 489.6c-16-16-41.6-16-57.6 0s-16 41.6 0 57.6l208 198.4h-185.6c-19.2 0-41.6 16-41.6 41.6S611.2 832 633.6 832H928c16-3.2 28.8-12.8 32-32v-6.4z m0-534.4v-281.6c0-19.2-16-41.6-41.6-41.6h-284.8c-19.2 0-41.6 16-41.6 41.6s16 41.6 41.6 41.6h243.2v240c0 25.6 19.2 41.6 41.6 41.6 22.4 0 41.6-16 41.6-41.6z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-check-circle" unicode="" d="M992 384c0-266.336-213.664-480-480-480S32 117.664 32 384 245.664 864 512 864s480-213.664 480-480zM456.256 130.08l356.16 356.128a29.92 29.92 0 0 1 0 43.328l-43.392 43.36a29.92 29.92 0 0 1-43.36 0L434.592 281.792 298.336 418.08a29.92 29.92 0 0 1-43.36 0l-43.36-43.36a29.92 29.92 0 0 1 0-43.36l201.28-201.28a29.92 29.92 0 0 1 43.36 0z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-description" unicode="" d="M512 864C249.6 864 32 649.6 32 384s217.6-480 480-480 480 214.4 480 480S777.6 864 512 864z m-32-755.2c-19.2 0-35.2 16-35.2 35.2V419.2c0 19.2 16 35.2 35.2 35.2h67.2c19.2 0 35.2-16 35.2-35.2V144c0-19.2-16-35.2-35.2-35.2H480z m0 412.8c-19.2 0-35.2 16-35.2 35.2V624c0 19.2 16 35.2 35.2 35.2h67.2c19.2 0 35.2-16 35.2-35.2v-67.2c0-19.2-16-35.2-35.2-35.2H480z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-exclamation-triangle" unicode="" d="M579.168 96V198.016c0 5.984-3.008 8.96-6.016 12-3.008 2.976-5.984 5.984-12 5.984H459.2c-6.016 0-9.024-3.008-12-6.016-3.008-2.976-6.016-8.96-6.016-12V96c0-6.016 3.008-8.992 6.016-12 2.976-3.008 5.984-6.016 12-6.016h101.984c6.016 0 8.992 3.008 12 6.016 3.008 3.008 6.016 8.992 6.016 12z m-3.008 200.992l8.992 246.016c0 3.008-3.008 8.992-5.984 8.992-6.016 3.008-9.024 6.016-12 6.016H450.144c-2.976 0-8.96-3.008-12-6.016-2.976-3.008-5.984-6.016-5.984-12l8.992-246.016c0-2.976 3.008-5.984 6.016-8.96 2.976-3.04 8.96-3.04 12-3.04h98.976c6.016 0 9.024 0 12 3.008 3.008 3.008 6.016 9.024 6.016 12z m-6.016 501.024l411.008-753.024c12-24 12-44.992 0-65.984a91.296 91.296 0 0 0-24-24c-12-6.016-20.992-9.024-32.992-9.024H99.168c-12 0-24 3.008-33.024 9.024a91.296 91.296 0 0 0-24 24c-12 24-14.976 44.992 0 65.984l408 753.024c6.016 11.968 15.04 20.992 24 26.976 12 6.016 24 8.992 36 8.992s24-2.976 36-8.96c12-6.016 18.016-15.04 24-27.04z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-exclamation-circle" unicode="" d="M512 864c87.584 0 168.16-21.024 241.76-63.04a467.136 467.136 0 0 0 175.168-175.2C970.976 552.16 992 471.584 992 384s-21.024-168.16-63.04-241.76a467.136 467.136 0 0 0-175.2-175.168C680.16-74.976 599.584-96 512-96s-168.16 21.024-241.76 63.04a467.136 467.136 0 0 0-175.168 175.2C53.024 215.84 32 296.416 32 384s21.024 168.16 63.04 241.76a467.136 467.136 0 0 0 175.2 175.168C343.84 842.976 424.416 864 512 864z m80.576-781.312V201.824c0 7.008-3.52 10.496-7.008 14.016-3.52 3.488-7.008 7.008-14.016 7.008H452.48c-7.04 0-10.528-3.52-14.016-7.04-3.52-3.488-7.04-10.496-7.04-13.984v-119.136c0-7.008 3.52-10.528 7.04-14.016 3.52-3.52 10.496-7.008 14.016-7.008h119.104c7.04 0 10.528 3.52 14.016 7.008 3.52 3.52 7.04 10.496 7.04 14.016z m-3.52 217.216l10.56 388.928c0 3.488-3.52 7.008-7.04 10.496-3.52 3.52-10.496 3.52-14.016 3.52H441.92c-7.008 0-10.496 0-14.016-3.52-3.52-3.52-7.008-7.008-7.008-10.496l10.528-388.928c0-3.52 3.52-7.008 7.008-10.496 3.52-3.52 10.496-3.52 14.016-3.52h115.616c7.008 0 10.496 0 14.016 3.52 7.008 3.52 7.008 7.008 7.008 10.496z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-check-square" unicode="" d="M838.4-32H185.6C134.4-32 96 6.399999999999977 96 57.60000000000002V710.4C96 761.6 134.4 800 185.6 800h652.8C889.6 800 928 761.6 928 710.4v-652.8c0-51.2-38.4-89.6-89.6-89.6z m-380.8 182.4L800 492.8c12.8 12.8 12.8 32 0 41.6L758.4 576c-12.8 12.8-32 12.8-41.6 0l-278.4-278.4-131.2 131.2c-12.8 12.8-32 12.8-41.6 0L224 384c-12.8-12.8-12.8-32 0-41.6l192-192c12.8-12.8 32-12.8 41.6 0z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-image" unicode="" d="M928-32H96c-35.2 0-64 28.8-64 64V736c0 35.2 28.8 64 64 64h832c35.2 0 64-28.8 64-64v-704c0-35.2-28.8-64-64-64zM272 656c-51.2 0-96-44.8-96-96s44.8-96 96-96 96 44.8 96 96-44.8 96-96 96zM160 96h704v224l-160 176c-9.6 9.6-22.4 9.6-32 0L422.4 224 320 336c-9.6 9.6-22.4 9.6-32 0L160 192v-96z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-italic" unicode="" d="M832 800v-64c0-16-12.8-32-32-32h-128l-160-640h96c16 0 32-12.8 32-32v-64c0-16-12.8-32-32-32H224c-16 0-32 12.8-32 32v64c0 16 12.8 32 32 32h124.8L512 704h-96c-16 0-32 12.8-32 32V800c0 16 12.8 32 32 32h384c19.2 0 32-12.8 32-32z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-history" unicode="" d="M547.2 864C809.6 864 1024 649.6 1024 387.2s-214.4-476.8-476.8-476.8c-115.2 0-224 41.6-304 108.8-6.4 6.4-12.8 12.8-22.4 19.2l-9.6 9.6c-9.6 22.4-6.4 48 12.8 70.4l3.2 6.4c22.4 22.4 44.8 32 70.4 22.4l6.4-3.2 6.4-6.4c3.2-3.2 9.6-9.6 16-12.8 60.8-51.2 137.6-83.2 220.8-83.2 188.8 0 339.2 153.6 339.2 339.2S732.8 726.4 547.2 726.4c-156.8 0-288-102.4-326.4-246.4h44.8c19.2 0 32-12.8 32-32 0-6.4-3.2-12.8-6.4-19.2l-115.2-166.4c-9.6-12.8-28.8-19.2-44.8-6.4l-9.6 9.6-115.2 166.4c-9.6 19.2-6.4 38.4 9.6 48 6.4 3.2 12.8 3.2 19.2 3.2h44.8C118.4 697.6 307.2 860.8 534.4 864h12.8z m-6.4-224c32 0 60.8-25.6 60.8-60.8v-179.2l115.2-89.6 3.2-3.2c22.4-19.2 22.4-54.4 3.2-76.8-22.4-25.6-60.8-25.6-86.4-6.4L480 352V582.4c0 28.8 28.8 57.6 60.8 57.6z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-quote-left" unicode="" d="M876.8 380.8H736v112c0 60.8 51.2 112 112 112h16c25.6 0 41.6 19.2 41.6 41.6V726.4c0 22.4-19.2 41.6-41.6 41.6h-16c-153.6 0-281.6-124.8-281.6-278.4v-416c0-44.8 35.2-83.2 83.2-83.2h224c44.8 0 83.2 35.2 83.2 83.2v220.8c3.2 48-32 86.4-80 86.4z m-505.6 0H233.6v112c0 60.8 51.2 112 112 112h16c25.6 0 41.6 19.2 41.6 41.6V726.4c0 22.4-19.2 41.6-44.8 41.6h-16C192 768 64 643.2 64 489.6v-416c0-48 35.2-83.2 83.2-83.2h224c44.8 0 83.2 35.2 83.2 83.2v220.8c3.2 48-35.2 86.4-83.2 86.4z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-list-ol" unicode="" d="M153.6 112l32 38.4c6.4 6.4 9.6 16 9.6 25.6v6.4c0 12.8-6.4 22.4-22.4 22.4H67.2c-9.6 0-16-6.4-16-16v-32c0-9.6 6.4-16 16-16h41.6c-6.4-6.4-12.8-16-19.2-22.4l-9.6-12.8c-6.4-9.6-9.6-19.2-6.4-28.8l3.2-3.2c6.4-9.6 12.8-12.8 22.4-12.8h9.6c19.2 0 28.8-3.2 28.8-16 0-9.6-6.4-16-25.6-16-9.6 0-19.2 3.2-28.8 6.4-12.8 6.4-22.4 6.4-28.8-6.4l-9.6-16c-6.4-12.8-6.4-22.4 6.4-28.8 9.6-9.6 35.2-19.2 64-19.2 64 0 89.6 41.6 89.6 83.2 3.2 25.6-16 54.4-51.2 64z m809.6 332.8H364.8c-16 0-28.8-12.8-28.8-28.8v-60.8c0-16 12.8-28.8 28.8-28.8h598.4c16 0 28.8 12.8 28.8 28.8V416c0 12.8-12.8 28.8-28.8 28.8z m0 294.4H364.8c-16 0-28.8-12.8-28.8-28.8v-60.8c0-16 12.8-28.8 28.8-28.8h598.4c16 0 28.8 12.8 28.8 28.8V710.4c0 16-12.8 28.8-28.8 28.8z m0-595.2H364.8c-16 0-28.8-12.8-28.8-28.8v-60.8c0-16 12.8-28.8 28.8-28.8h598.4c16 0 28.8 12.8 28.8 28.8v60.8c0 16-12.8 28.8-28.8 28.8z m-896 419.2h118.4c9.6 0 16 6.4 16 16V608c0 9.6-6.4 16-16 16h-28.8v160c0 9.6-6.4 16-16 16H99.2c-6.4 0-12.8-3.2-16-9.6l-12.8-28.8c-3.2-3.2-3.2-9.6 0-12.8 3.2-3.2 6.4-6.4 12.8-6.4h16v-118.4h-32c-6.4-3.2-12.8-9.6-12.8-16v-32c0-6.4 6.4-12.8 12.8-12.8z m-6.4-300.8h124.8c9.6 0 16 6.4 16 16v28.8c0 9.6-6.4 16-16 16H115.2c6.4 19.2 89.6 35.2 89.6 105.6 0 54.4-48 73.6-83.2 73.6-38.4 0-64-19.2-73.6-35.2-9.6-12.8-6.4-22.4 3.2-32l16-12.8c9.6-6.4 19.2 0 28.8 6.4 3.2 3.2 9.6 6.4 16 6.4s16-3.2 16-16c0-22.4-96-41.6-96-128v-6.4c6.4-16 16-22.4 28.8-22.4z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-delete" unicode="" d="M646.4 832c22.4 0 48-22.4 48-44.8l9.6-80h214.4c22.4 0 38.4-19.2 38.4-35.2s-19.2-35.2-38.4-35.2h-80v-598.4c0-22.4-12.8-51.2-28.8-70.4-22.4-22.4-44.8-25.6-70.4-25.6H284.8c-25.6 0-54.4 12.8-70.4 25.6-22.4 22.4-28.8 44.8-28.8 70.4V633.6H99.2c-19.2-3.2-35.2 16-35.2 32S80 704 99.2 704h211.2v6.4l12.8 80c3.2 19.2 28.8 41.6 51.2 41.6h272zM608 496c-22.4 0-41.6-19.2-41.6-41.6v-310.4c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6v307.2c3.2 25.6-16 44.8-41.6 44.8z m-195.2 0c-22.4 0-41.6-19.2-41.6-41.6v-310.4c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6v307.2c3.2 25.6-19.2 44.8-41.6 44.8z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-menu" unicode="" d="M64 137.6h896V0H64v137.6zM64 768h896v-137.6H64V768z m0-313.6h896v-137.6H64v137.6z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-code-block" unicode="" d="M678.4 832c32 0 57.6 0 76.8-6.4 25.6-6.4 48-19.2 60.8-35.2 9.6-12.8 22.4-35.2 28.8-57.6 3.2-16 6.4-64 6.4-124.8 0-35.2 0-60.8 3.2-76.8 0-19.2 25.6-60.8 35.2-67.2 9.6-6.4 35.2-22.4 57.6-22.4v-112c-25.6-3.2-41.6-6.4-57.6-19.2-16-12.8-28.8-38.4-35.2-54.4-6.4-19.2-6.4-54.4-6.4-112 0-51.2-3.2-83.2-6.4-108.8-3.2-22.4-16-44.8-28.8-57.6-16-16-32-25.6-54.4-35.2-22.4-9.6-57.6-6.4-96-6.4H640v112c32 0 51.2 3.2 60.8 6.4 9.6 3.2 19.2 12.8 22.4 19.2 3.2 6.4 6.4 22.4 6.4 41.6v99.2c0 35.2 6.4 60.8 12.8 80 6.4 19.2 16 38.4 25.6 51.2 9.6 12.8 25.6 25.6 44.8 38.4-16 12.8-28.8 22.4-44.8 38.4-6.4 3.2-16 28.8-22.4 44.8-6.4 19.2-12.8 44.8-12.8 76.8V643.2c0 25.6-3.2 44.8-6.4 54.4-3.2 9.6-12.8 16-19.2 19.2-6.4 3.2-32 3.2-64 3.2V832h35.2zM332.8 832c-32 0-57.6 0-76.8-6.4-25.6-6.4-48-19.2-60.8-35.2-9.6-12.8-22.4-35.2-28.8-57.6-3.2-16-6.4-64-6.4-124.8 0-35.2 0-60.8-3.2-76.8 0-19.2-25.6-60.8-35.2-67.2s-35.2-22.4-57.6-22.4v-112c25.6-3.2 41.6-6.4 57.6-19.2 16-12.8 28.8-38.4 35.2-54.4 6.4-19.2 6.4-54.4 6.4-112 0-51.2 3.2-83.2 6.4-108.8 3.2-22.4 16-44.8 28.8-57.6 16-16 32-25.6 54.4-35.2 22.4-9.6 57.6-6.4 96-6.4h22.4v112c-32 0-51.2 3.2-60.8 6.4-9.6 3.2-19.2 12.8-22.4 19.2-3.2 6.4-6.4 22.4-6.4 41.6v99.2c0 35.2-6.4 60.8-12.8 80-6.4 19.2-16 38.4-25.6 51.2-9.6 12.8-25.6 25.6-44.8 38.4 16 12.8 28.8 22.4 44.8 38.4 6.4 3.2 16 28.8 22.4 44.8 6.4 19.2 12.8 44.8 12.8 76.8V643.2c0 25.6 3.2 44.8 6.4 54.4 3.2 9.6 12.8 16 19.2 19.2 6.4 3.2 32 3.2 64 3.2V832h-35.2z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-redo" unicode="" d="M649.6 412.8c0-44.8 54.4-73.6 92.8-44.8l256 166.4c35.2 19.2 35.2 70.4 0 89.6l-256 166.4c-38.4 28.8-92.8 0-92.8-44.8v-99.2h-313.6c-44.8 0-89.6-9.6-131.2-28.8S131.2 576 99.2 540.8c-32-32-54.4-70.4-73.6-108.8S0 342.4 0 297.6s6.4-102.4 25.6-144S64 73.6 96 41.6c35.2-32 70.4-54.4 108.8-73.6s86.4-28.8 131.2-28.8H800c35.2 0 64 32 64 70.4s-28.8 70.4-64 70.4H336c-112 0-201.6 102.4-201.6 220.8S224 512 336 512h313.6v-99.2z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-bold" unicode="" d="M790.4 419.2c32 38.4 48 83.2 54.4 131.2 12.8 150.4-102.4 281.6-256 281.6H192c-19.2 0-32-12.8-32-32v-96c0-16 12.8-32 32-32h60.8v-576H192c-16 0-32-12.8-32-32v-96c0-19.2 12.8-32 32-32h416c140.8 0 268.8 102.4 281.6 243.2 12.8 99.2-28.8 185.6-99.2 240zM416 672h176c51.2 0 96-41.6 96-96s-41.6-96-96-96H416V672z m176-576H416v224h176c60.8 0 108.8-51.2 108.8-115.2S652.8 96 592 96z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-rename" unicode="" d="M467.2 44.8h105.6V-64h-105.6v108.8z m192 0H768V-64h-105.6v105.6h-3.2z m195.2 0H960V-64h-105.6v108.8zM153.6 227.2c-9.6-9.6-16-25.6-19.2-38.4L64-25.6c-3.2-9.6 0-25.6 6.4-32 6.4-6.4 19.2-9.6 32-6.4l211.2 70.4c12.8 3.2 28.8 9.6 38.4 19.2l457.6 457.6-198.4 198.4L153.6 227.2zM934.4 614.4c32 32 28.8 105.6-12.8 150.4l-16 16-16 12.8C844.8 838.4 768 841.6 736 809.6l-48-48 198.4-198.4 48 51.2z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-list-ul" unicode="" d="M121.6 768C73.6 768 32 726.4 32 678.4s41.6-89.6 89.6-89.6 89.6 41.6 89.6 89.6S172.8 768 121.6 768z m0-300.8c-48 0-89.6-38.4-89.6-89.6C32 326.4 73.6 288 121.6 288s89.6 41.6 89.6 89.6-38.4 89.6-89.6 89.6z m0-300.8C73.6 166.4 32 128 32 76.8s41.6-89.6 89.6-89.6 89.6 41.6 89.6 89.6-38.4 89.6-89.6 89.6z m841.6-28.8H361.6c-16 0-28.8-12.8-28.8-28.8v-60.8c0-16 12.8-28.8 28.8-28.8h601.6c16 0 28.8 12.8 28.8 28.8v60.8c0 16-12.8 28.8-28.8 28.8z m0 601.6H361.6c-16 0-28.8-12.8-28.8-28.8v-60.8c0-16 12.8-28.8 28.8-28.8h601.6c16 0 28.8 12.8 28.8 28.8V707.2c0 16-12.8 32-28.8 32z m0-300.8H361.6c-16 0-28.8-12.8-28.8-28.8v-60.8c0-16 12.8-28.8 28.8-28.8h601.6c16 0 28.8 12.8 28.8 28.8v60.8c0 16-12.8 28.8-28.8 28.8z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-share" unicode="" d="M662.4 681.6c0 83.2 67.2 150.4 150.4 150.4S960 764.8 960 681.6s-67.2-150.4-150.4-150.4-147.2 70.4-147.2 150.4z m-291.2-179.2l246.4 124.8c6.4-25.6 16-48 32-67.2l-246.4-124.8c-3.2 25.6-16 48-32 67.2zM64 384c0 83.2 67.2 150.4 150.4 150.4s150.4-67.2 150.4-150.4-67.2-150.4-150.4-150.4S64 300.8 64 384z m307.2-118.4c16 19.2 25.6 41.6 32 67.2l246.4-124.8c-16-19.2-25.6-41.6-32-67.2l-246.4 124.8z m291.2-179.2c0 83.2 67.2 150.4 150.4 150.4s150.4-67.2 150.4-150.4-70.4-150.4-153.6-150.4-147.2 67.2-147.2 150.4z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-strikethrough" unicode="" d="M864 169.6c0-83.2-28.8-147.2-89.6-195.2S630.4-96 521.6-96c-105.6 0-185.6 22.4-246.4 67.2C204.8 25.6 166.4 105.6 160 224h131.2c9.6-73.6 35.2-121.6 73.6-153.6 35.2-28.8 86.4-41.6 160-41.6 64 0 115.2 12.8 153.6 35.2 38.4 22.4 57.6 54.4 57.6 96 0 51.2-28.8 92.8-83.2 121.6-9.6 6.4-32 12.8-60.8 25.6h230.4c25.6-38.4 41.6-83.2 41.6-137.6zM508.8 864c99.2 0 179.2-22.4 233.6-67.2 60.8-48 96-112 102.4-185.6h-131.2c-12.8 38.4-32 67.2-67.2 92.8-35.2 25.6-83.2 41.6-147.2 41.6-57.6 0-99.2-9.6-131.2-25.6-38.4-19.2-54.4-54.4-54.4-102.4 0-41.6 19.2-73.6 64-99.2 19.2-12.8 67.2-32 150.4-57.6 12.8-3.2 25.6-9.6 38.4-12.8H252.8c-44.8 41.6-67.2 96-67.2 160 0 80 32 144 96 192 60.8 41.6 134.4 64 227.2 64zM80 480h864c32 0 48-22.4 48-64s-16-64-48-64h-864c-32 0-48 22.4-48 64s16 64 48 64z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-link" unicode="" d="M646.4 518.4c112-112 112-294.4 0-403.2l-124.8-124.8c-112-112-294.4-112-403.2 0s-112 294.4 0 403.2l67.2 67.2c19.2 19.2 51.2 6.4 51.2-19.2 0-32 6.4-67.2 19.2-99.2 3.2-9.6 0-22.4-6.4-28.8L224 288c-51.2-51.2-54.4-137.6-3.2-192 51.2-51.2 140.8-54.4 192 0l124.8 124.8c51.2 51.2 51.2 137.6 0 192-6.4 6.4-16 9.6-19.2 16-6.4 3.2-9.6 16-16 22.4 0 19.2 6.4 41.6 22.4 54.4l41.6 41.6c9.6 9.6 25.6 9.6 38.4 3.2 16-9.6 25.6-22.4 41.6-32z m262.4 262.4C796.8 892.8 614.4 892.8 505.6 780.8l-124.8-124.8c-112-112-112-288 0-403.2 9.6-9.6 25.6-22.4 38.4-32 9.6-6.4 28.8-6.4 38.4 3.2l41.6 41.6c16 16 22.4 38.4 22.4 54.4 0 9.6-3.2 19.2-16 22.4-3.2 3.2-9.6 6.4-19.2 16-51.2 51.2-51.2 137.6 0 192L608 672c51.2 51.2 140.8 51.2 192 0 51.2-51.2 51.2-137.6-3.2-192l-22.4-22.4c-6.4-6.4-9.6-19.2-6.4-28.8 9.6-32 19.2-67.2 19.2-99.2 0-25.6 32-38.4 51.2-19.2l70.4 70.4c112 105.6 112 288 0 400z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-underline" unicode="" d="M953.6 48H70.4c-19.2 0-38.4-19.2-38.4-38.4v-70.4c0-16 19.2-35.2 38.4-35.2h886.4c19.2 0 38.4 19.2 38.4 38.4v70.4c-3.2 16-22.4 35.2-41.6 35.2z m-460.8 96c-182.4 9.6-316.8 166.4-316.8 345.6V816C176 841.6 198.4 864 224 864h48c25.6 0 48-22.4 48-48v-329.6c0-102.4 76.8-192 182.4-198.4 115.2-6.4 201.6 80 201.6 192V816c0 25.6 22.4 48 48 48H800c25.6 0 48-22.4 48-48V480c0-192-163.2-345.6-355.2-336z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-revoke" unicode="" d="M374.4 412.8c0-44.8-54.4-73.6-92.8-44.8l-256 166.4c-35.2 19.2-35.2 70.4 0 89.6l256 166.4c38.4 28.8 92.8 0 92.8-44.8v-99.2h313.6c44.8 0 89.6-9.6 131.2-28.8s76.8-41.6 105.6-76.8c32-32 54.4-70.4 73.6-108.8s28.8-89.6 28.8-134.4-6.4-102.4-25.6-144-41.6-80-73.6-112c-35.2-32-70.4-54.4-108.8-73.6s-86.4-28.8-131.2-28.8H224c-35.2 0-64 32-64 70.4s28.8 70.4 64 70.4h460.8c112 0 201.6 102.4 201.6 220.8S796.8 512 684.8 512h-313.6v-99.2z" horiz-adv-x="1027" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-table" unicode="" d="M32 736v-704c0-35.2 28.8-64 64-64h832c35.2 0 64 28.8 64 64V736c0 35.2-28.8 64-64 64H96c-35.2 0-64-28.8-64-64z m832-352h-288v160h288v-160z m-416 0H160v160h288v-160z m0-288H160v160h288v-160z m416 0h-288v160h288v-160z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-table-of-content" unicode="" d="M64 800h512c35.2 0 64-28.8 64-64s-28.8-64-64-64H64C28.8 672 0 700.8 0 736s28.8 64 64 64z m934.4-444.8l-12.8-12.8-172.8-172.8c-25.6-25.6-64-25.6-89.6 0-25.6 25.6-25.6 64 0 89.6l134.4 134.4-134.4 134.4c-25.6 25.6-25.6 64 0 89.6 25.6 25.6 64 25.6 89.6 0l172.8-172.8 9.6-9.6c12.8-12.8 19.2-25.6 19.2-41.6v-3.2c0-12.8-9.6-28.8-16-35.2zM64 448h800c35.2 0 64-28.8 64-64s-28.8-64-64-64H64c-35.2 0-64 28.8-64 64s28.8 64 64 64z m0-352h512c35.2 0 64-28.8 64-64s-28.8-64-64-64H64c-35.2 0-64 28.8-64 64s28.8 64 64 64z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
<glyph glyph-name="sdoc-user" unicode="" d="M915.2-54.4c-32-28.8-70.4-41.6-124.8-41.6H236.8c-48 0-89.6 12.8-124.8 41.6S64 16 64 64c0 22.4-3.2 83.2 9.6 137.6 6.4 28.8 16 86.4 60.8 147.2 9.6 12.8 54.4 51.2 73.6 60.8 25.6 6.4 48 12.8 73.6 12.8 3.2 0 12.8-3.2 28.8-12.8 12.8-9.6 28.8-16 44.8-32 16-9.6 38.4-22.4 67.2-32 28.8-9.6 57.6-12.8 83.2-12.8 28.8 0 57.6 3.2 83.2 12.8 28.8 9.6 48 16 67.2 32 16 9.6 32 22.4 44.8 32 12.8 9.6 22.4 12.8 28.8 12.8 25.6 0 48-3.2 70.4-12.8 22.4-6.4 64-44.8 80-60.8 28.8-35.2 51.2-102.4 60.8-147.2 19.2-51.2 19.2-115.2 19.2-137.6 0-48-12.8-89.6-44.8-118.4zM758.4 627.2c0-67.2-25.6-121.6-70.4-169.6-44.8-44.8-105.6-70.4-172.8-70.4s-124.8 25.6-172.8 70.4-70.4 105.6-70.4 169.6c0 67.2 25.6 121.6 70.4 169.6S451.2 864 515.2 864c67.2 0 124.8-25.6 172.8-70.4 44.8-44.8 70.4-102.4 70.4-166.4z" horiz-adv-x="1024" />
|
|
||||||
|
|
||||||
</font>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 22 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -127,7 +127,6 @@ PREVIEW_FILEEXT = {
|
|||||||
AUDIO: ('mp3', 'oga', 'ogg', 'wav', 'flac', 'opus'),
|
AUDIO: ('mp3', 'oga', 'ogg', 'wav', 'flac', 'opus'),
|
||||||
#'3D': ('stl', 'obj'),
|
#'3D': ('stl', 'obj'),
|
||||||
XMIND: ('xmind',),
|
XMIND: ('xmind',),
|
||||||
SEADOC: ('sdoc',),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def gen_fileext_type_map():
|
def gen_fileext_type_map():
|
||||||
|
@@ -796,19 +796,19 @@ def file_revisions(request, repo_id):
|
|||||||
if repo_perm != 'rw' or (is_locked and not locked_by_me):
|
if repo_perm != 'rw' or (is_locked and not locked_by_me):
|
||||||
can_revert_file = False
|
can_revert_file = False
|
||||||
|
|
||||||
if file_type == 'sdoc':
|
# if file_type == 'sdoc':
|
||||||
file_uuid = get_seadoc_file_uuid(repo, path)
|
# file_uuid = get_seadoc_file_uuid(repo, path)
|
||||||
return render(request, 'sdoc_file_revisions.html', {
|
# return render(request, 'sdoc_file_revisions.html', {
|
||||||
'repo': repo,
|
# 'repo': repo,
|
||||||
'path': path,
|
# 'path': path,
|
||||||
'u_filename': u_filename,
|
# 'u_filename': u_filename,
|
||||||
'file_uuid': file_uuid,
|
# 'file_uuid': file_uuid,
|
||||||
'zipped': zipped,
|
# 'zipped': zipped,
|
||||||
'is_owner': is_owner,
|
# 'is_owner': is_owner,
|
||||||
'can_compare': can_compare,
|
# 'can_compare': can_compare,
|
||||||
'can_revert_file': can_revert_file,
|
# 'can_revert_file': can_revert_file,
|
||||||
'assets_url': '/api/v2.1/seadoc/download-image/' + file_uuid
|
# 'assets_url': '/api/v2.1/seadoc/download-image/' + file_uuid
|
||||||
})
|
# })
|
||||||
|
|
||||||
# Whether use new file history API which read file history from db.
|
# Whether use new file history API which read file history from db.
|
||||||
suffix_list = get_file_history_suffix()
|
suffix_list = get_file_history_suffix()
|
||||||
|
Reference in New Issue
Block a user