mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-24 12:58:34 +00:00
update seafile-sdoc-editor version
This commit is contained in:
132
frontend/package-lock.json
generated
132
frontend/package-lock.json
generated
@@ -20,6 +20,7 @@
|
||||
"@seafile/sdoc-editor": "2.0.82",
|
||||
"@seafile/seafile-calendar": "0.0.28",
|
||||
"@seafile/seafile-editor": "2.0.9",
|
||||
"@seafile/seafile-sdoc-editor": "2.0.1",
|
||||
"@seafile/stldraw-editor": "1.0.1",
|
||||
"@uiw/codemirror-extensions-langs": "^4.19.4",
|
||||
"@uiw/codemirror-themes": "^4.23.5",
|
||||
@@ -5995,6 +5996,137 @@
|
||||
"url": "https://opencollective.com/unified"
|
||||
}
|
||||
},
|
||||
"node_modules/@seafile/seafile-sdoc-editor": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@seafile/seafile-sdoc-editor/-/seafile-sdoc-editor-2.0.1.tgz",
|
||||
"integrity": "sha512-SN/Z84AisEz269dbmAyi76EoBK5xEYj5b3YZ4l9llKV+c29QHWpims5kkJVcAsC97x2oGbXBrw4fjrph5m0+8w==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@seafile/print-js": "1.6.6",
|
||||
"@seafile/sdoc-editor": "^2.0.84",
|
||||
"classnames": "2.3.2",
|
||||
"dayjs": "1.10.7"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"i18next": "^17.0.13",
|
||||
"i18next-browser-languagedetector": "^3.0.3",
|
||||
"i18next-xhr-backend": "^3.1.2",
|
||||
"react": "^18.3.0",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-i18next": "^10.12.2",
|
||||
"reactstrap": "^9.2.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@seafile/seafile-sdoc-editor/node_modules/@seafile/sdoc-editor": {
|
||||
"version": "2.0.84",
|
||||
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-2.0.84.tgz",
|
||||
"integrity": "sha512-kNjWvzBfpKm8KZ4egQKQNP4Gw2IRCVkJqz0B8qono7r86laIxYt065L9uqPB5br50Gi0sdqDBT32zEtpjz7EXg==",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@seafile/print-js": "1.6.6",
|
||||
"@seafile/react-image-lightbox": "4.0.2",
|
||||
"@seafile/slate": "0.91.8",
|
||||
"@seafile/slate-history": "0.86.2",
|
||||
"@seafile/slate-hyperscript": "0.81.7",
|
||||
"@seafile/slate-react": "0.92.8",
|
||||
"axios": "^1.8.2",
|
||||
"classnames": "2.3.2",
|
||||
"copy-to-clipboard": "^3.3.3",
|
||||
"dayjs": "1.10.7",
|
||||
"deep-copy": "1.4.2",
|
||||
"is-hotkey": "0.2.0",
|
||||
"is-url": "^1.2.4",
|
||||
"lodash.throttle": "4.1.1",
|
||||
"prismjs": "^1.30.0",
|
||||
"randomcolor": "0.6.2",
|
||||
"react-color": "2.19.3",
|
||||
"react-transition-group": "4.4.5",
|
||||
"rehype-format": "5.0.0",
|
||||
"rehype-mathjax": "5.0.0",
|
||||
"rehype-raw": "7.0.0",
|
||||
"rehype-sanitize": "6.0.0",
|
||||
"rehype-slug": "6.0.0",
|
||||
"rehype-stringify": "9.0.4",
|
||||
"remark-breaks": "4.0.0",
|
||||
"remark-gfm": "4.0.0",
|
||||
"remark-math": "6.0.0",
|
||||
"remark-parse": "11.0.0",
|
||||
"remark-rehype": "11.0.0",
|
||||
"remark-stringify": "11.0.0",
|
||||
"slugid": "3.2.0",
|
||||
"socket.io-client": "4.8.1",
|
||||
"type-of": "2.0.1",
|
||||
"unified": "11.0.3",
|
||||
"url-join": "4.0.1",
|
||||
"url-parse": "1.5.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"i18next": "^17.0.13",
|
||||
"i18next-browser-languagedetector": "^3.0.3",
|
||||
"i18next-xhr-backend": "^3.1.2",
|
||||
"react": "^18.3.0",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-i18next": "^10.12.2",
|
||||
"reactstrap": "^9.2.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@seafile/seafile-sdoc-editor/node_modules/bail": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
|
||||
"integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/wooorm"
|
||||
}
|
||||
},
|
||||
"node_modules/@seafile/seafile-sdoc-editor/node_modules/classnames": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz",
|
||||
"integrity": "sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@seafile/seafile-sdoc-editor/node_modules/is-plain-obj": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
|
||||
"integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/@seafile/seafile-sdoc-editor/node_modules/trough": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",
|
||||
"integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/wooorm"
|
||||
}
|
||||
},
|
||||
"node_modules/@seafile/seafile-sdoc-editor/node_modules/unified": {
|
||||
"version": "11.0.3",
|
||||
"resolved": "https://registry.npmjs.org/unified/-/unified-11.0.3.tgz",
|
||||
"integrity": "sha512-jlCV402P+YDcFcB2VcN/n8JasOddqIiaxv118wNBoZXEhOn+lYG7BR4Bfg2BwxvlK58dwbuH2w7GX2esAjL6Mg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/unist": "^3.0.0",
|
||||
"bail": "^2.0.0",
|
||||
"devlop": "^1.0.0",
|
||||
"extend": "^3.0.0",
|
||||
"is-plain-obj": "^4.0.0",
|
||||
"trough": "^2.0.0",
|
||||
"vfile": "^6.0.0"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/unified"
|
||||
}
|
||||
},
|
||||
"node_modules/@seafile/slate": {
|
||||
"version": "0.91.8",
|
||||
"resolved": "https://registry.npmjs.org/@seafile/slate/-/slate-0.91.8.tgz",
|
||||
|
@@ -15,6 +15,7 @@
|
||||
"@seafile/sdoc-editor": "2.0.82",
|
||||
"@seafile/seafile-calendar": "0.0.28",
|
||||
"@seafile/seafile-editor": "2.0.9",
|
||||
"@seafile/seafile-sdoc-editor": "2.0.1",
|
||||
"@seafile/stldraw-editor": "1.0.1",
|
||||
"@uiw/codemirror-extensions-langs": "^4.19.4",
|
||||
"@uiw/codemirror-themes": "^4.23.5",
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { SDocViewer } from '@seafile/sdoc-editor';
|
||||
import { SDocViewer } from '@seafile/seafile-sdoc-editor';
|
||||
|
||||
import '../../css/sdoc-file-view.css';
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import React, { Suspense } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { WikiViewer } from '@seafile/sdoc-editor';
|
||||
import { WikiViewer } from '@seafile/seafile-sdoc-editor';
|
||||
import { I18nextProvider } from 'react-i18next';
|
||||
import { appAvatarURL, assetsUrl, gettext, name, repoID, serviceURL, sharedToken, siteRoot, slug, username } from '../../utils/constants';
|
||||
import i18n from '../../_i18n/i18n-sdoc-editor';
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { Button } from 'reactstrap';
|
||||
import { DiffViewer } from '@seafile/sdoc-editor';
|
||||
import { DiffViewer } from '@seafile/seafile-sdoc-editor';
|
||||
import { gettext } from '../../utils/constants';
|
||||
import Loading from '../../components/loading';
|
||||
import GoBack from '../../components/common/go-back';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { EventBus, EXTERNAL_EVENT } from '@seafile/sdoc-editor';
|
||||
import { EventBus, EXTERNAL_EVENT } from '@seafile/seafile-sdoc-editor';
|
||||
import { seafileAPI } from '../../../utils/seafile-api';
|
||||
import { Utils } from '../../../utils/utils';
|
||||
import toaster from '../../../components/toast';
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
||||
import { SimpleEditor } from '@seafile/sdoc-editor';
|
||||
import { SimpleEditor } from '@seafile/seafile-sdoc-editor';
|
||||
import ExternalOperations from './external-operations';
|
||||
import { seafileAPI } from '../../../utils/seafile-api';
|
||||
import Dirent from '../../../models/dirent';
|
||||
|
@@ -4,7 +4,7 @@ import { I18nextProvider } from 'react-i18next';
|
||||
import i18n from '../../../_i18n/i18n-sdoc-editor';
|
||||
import { UncontrolledTooltip } from 'reactstrap';
|
||||
import classnames from 'classnames';
|
||||
import { DiffViewer } from '@seafile/sdoc-editor';
|
||||
import { DiffViewer } from '@seafile/seafile-sdoc-editor';
|
||||
import dayjs from 'dayjs';
|
||||
import { seafileAPI } from '../../../utils/seafile-api';
|
||||
import SDocServerApi from '../../../utils/sdoc-server-api';
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import React, { Suspense } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { I18nextProvider } from 'react-i18next';
|
||||
import { PublishedRevisionViewer } from '@seafile/sdoc-editor';
|
||||
import { PublishedRevisionViewer } from '@seafile/seafile-sdoc-editor';
|
||||
import i18n from '../../../_i18n/i18n-sdoc-editor';
|
||||
import { Utils } from '../../../utils/utils';
|
||||
import Loading from '../../../components/loading';
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Dropdown, DropdownMenu, DropdownToggle, DropdownItem } from 'reactstrap';
|
||||
import { SdocWikiEditor, DocInfo } from '@seafile/sdoc-editor';
|
||||
import { SdocWikiEditor, DocInfo } from '@seafile/seafile-sdoc-editor';
|
||||
import { gettext, username, wikiPermission, wikiId, siteRoot, isPro } from '../../utils/constants';
|
||||
import TextTranslation from '../../utils/text-translation';
|
||||
import Switch from '../../components/switch';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { EventBus, EXTERNAL_EVENT } from '@seafile/sdoc-editor';
|
||||
import { EventBus, EXTERNAL_EVENT } from '@seafile/seafile-sdoc-editor';
|
||||
import AddWikiPageDialog from '../../components/dialog/add-wiki-page-dialog';
|
||||
import { INSERT_POSITION } from './wiki-nav/constants';
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import React, { Suspense } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { SimpleViewer } from '@seafile/sdoc-editor';
|
||||
import { SimpleViewer } from '@seafile/seafile-sdoc-editor';
|
||||
import { I18nextProvider } from 'react-i18next';
|
||||
import i18n from './_i18n/i18n-sdoc-editor';
|
||||
import Loading from './components/loading';
|
||||
|
@@ -8,7 +8,7 @@ import SdocEditor from './pages/sdoc/sdoc-editor';
|
||||
import { MetadataStatusProvider } from './hooks';
|
||||
import { CollaboratorsProvider } from './metadata';
|
||||
import { TagsProvider } from './tag/hooks';
|
||||
import { SimpleViewer } from '@seafile/sdoc-editor';
|
||||
import { SimpleViewer } from '@seafile/seafile-sdoc-editor';
|
||||
|
||||
const { serviceURL, avatarURL, siteRoot, lang, mediaUrl, isPro, fileServerRoot } = window.app.config;
|
||||
const { username, name } = window.app.userInfo;
|
||||
|
Reference in New Issue
Block a user