mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 22:57:57 +01:00
Editor i18n support.
This commit is contained in:
parent
49efa9c340
commit
65042f710f
28
packages/editor/README.md
Normal file
28
packages/editor/README.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# Editor
|
||||||
|
|
||||||
|
React Component for the wisemapping editor.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
This is a work in progress and for now mindplot needs to be instantiated using the initCallback prop. Check `test/playground/map-render` for some usage examples.
|
||||||
|
|
||||||
|
import Editor from `@wisemapping/editor`;
|
||||||
|
|
||||||
|
ReactDOM.render(
|
||||||
|
<Editor
|
||||||
|
mapId={1}
|
||||||
|
memoryPersistence={false}
|
||||||
|
readOnlyMode={false}
|
||||||
|
locale="en"
|
||||||
|
onAction={(action) => console.log('action called:', action)}
|
||||||
|
initCallback={initialization}
|
||||||
|
/>,
|
||||||
|
document.getElementById('root'),
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
## i18n
|
||||||
|
|
||||||
|
Messages are translated in the `lang` folder, and then compiled to `src/compiled-lang` using the following command:
|
||||||
|
|
||||||
|
yarn compile lang/de.json --ast --out-file src/compiled-lang/de.json
|
14
packages/editor/lang/de.json
Normal file
14
packages/editor/lang/de.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"editor.try-welcome": {
|
||||||
|
"defaultMessage": "This edition space showcases some of the mindmap editor capabilities !"
|
||||||
|
},
|
||||||
|
"editor.try-welcome-description": {
|
||||||
|
"defaultMessage": "Sign Up to start creating, sharing and publishing unlimited number of mindmaps for free."
|
||||||
|
},
|
||||||
|
"login.signup": {
|
||||||
|
"defaultMessage": "Sign Up"
|
||||||
|
},
|
||||||
|
"action.share": {
|
||||||
|
"defaultMessage": "Share"
|
||||||
|
}
|
||||||
|
}
|
14
packages/editor/lang/en.json
Normal file
14
packages/editor/lang/en.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"editor.try-welcome": {
|
||||||
|
"defaultMessage": "This edition space showcases some of the mindmap editor capabilities !"
|
||||||
|
},
|
||||||
|
"editor.try-welcome-description": {
|
||||||
|
"defaultMessage": "Sign Up to start creating, sharing and publishing unlimited number of mindmaps for free."
|
||||||
|
},
|
||||||
|
"login.signup": {
|
||||||
|
"defaultMessage": "Sign Up"
|
||||||
|
},
|
||||||
|
"action.share": {
|
||||||
|
"defaultMessage": "Share"
|
||||||
|
}
|
||||||
|
}
|
14
packages/editor/lang/es.json
Normal file
14
packages/editor/lang/es.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"editor.try-welcome": {
|
||||||
|
"defaultMessage": "This edition space showcases some of the mindmap editor capabilities !"
|
||||||
|
},
|
||||||
|
"editor.try-welcome-description": {
|
||||||
|
"defaultMessage": "Sign Up to start creating, sharing and publishing unlimited number of mindmaps for free."
|
||||||
|
},
|
||||||
|
"login.signup": {
|
||||||
|
"defaultMessage": "Sign Up"
|
||||||
|
},
|
||||||
|
"action.share": {
|
||||||
|
"defaultMessage": "Share"
|
||||||
|
}
|
||||||
|
}
|
14
packages/editor/lang/fr.json
Normal file
14
packages/editor/lang/fr.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"editor.try-welcome": {
|
||||||
|
"defaultMessage": "This edition space showcases some of the mindmap editor capabilities !"
|
||||||
|
},
|
||||||
|
"editor.try-welcome-description": {
|
||||||
|
"defaultMessage": "Sign Up to start creating, sharing and publishing unlimited number of mindmaps for free."
|
||||||
|
},
|
||||||
|
"login.signup": {
|
||||||
|
"defaultMessage": "Sign Up"
|
||||||
|
},
|
||||||
|
"action.share": {
|
||||||
|
"defaultMessage": "Share"
|
||||||
|
}
|
||||||
|
}
|
@ -7,7 +7,9 @@
|
|||||||
"playground": "webpack serve --config webpack.playground.js",
|
"playground": "webpack serve --config webpack.playground.js",
|
||||||
"cy:run": "cypress run",
|
"cy:run": "cypress run",
|
||||||
"test:integration": "start-server-and-test 'yarn playground' http-get://localhost:8081 'yarn cy:run'",
|
"test:integration": "start-server-and-test 'yarn playground' http-get://localhost:8081 'yarn cy:run'",
|
||||||
"test": "yarn test:integration"
|
"test": "yarn test:integration",
|
||||||
|
"extract": "for lang in {'es','en','fr','de'};do formatjs extract 'src/**/*.ts*' --ignore 'src/@types/**/*' --out-file lang/${lang}.json;done",
|
||||||
|
"compile": "formatjs compile"
|
||||||
},
|
},
|
||||||
"repository": "http://www.wisemapping.com",
|
"repository": "http://www.wisemapping.com",
|
||||||
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
|
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
|
||||||
@ -16,6 +18,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/preset-env": "^7.16.11",
|
"@babel/preset-env": "^7.16.11",
|
||||||
"@babel/preset-react": "^7.16.7",
|
"@babel/preset-react": "^7.16.7",
|
||||||
|
"@formatjs/cli": "^4.8.1",
|
||||||
"@types/react": "^17.0.0",
|
"@types/react": "^17.0.0",
|
||||||
"@types/react-dom": "^17.0.0",
|
"@types/react-dom": "^17.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
||||||
|
26
packages/editor/src/compiled-lang/de.json
Normal file
26
packages/editor/src/compiled-lang/de.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"action.share": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Share"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"editor.try-welcome": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "This edition space showcases some of the mindmap editor capabilities !"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"editor.try-welcome-description": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Sign Up to start creating, sharing and publishing unlimited number of mindmaps for free."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"login.signup": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Sign Up"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
26
packages/editor/src/compiled-lang/en.json
Normal file
26
packages/editor/src/compiled-lang/en.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"action.share": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Share"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"editor.try-welcome": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "This edition space showcases some of the mindmap editor capabilities !"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"editor.try-welcome-description": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Sign Up to start creating, sharing and publishing unlimited number of mindmaps for free."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"login.signup": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Sign Up"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
26
packages/editor/src/compiled-lang/es.json
Normal file
26
packages/editor/src/compiled-lang/es.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"action.share": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Share"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"editor.try-welcome": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "This edition space showcases some of the mindmap editor capabilities !"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"editor.try-welcome-description": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Sign Up to start creating, sharing and publishing unlimited number of mindmaps for free."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"login.signup": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Sign Up"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
26
packages/editor/src/compiled-lang/fr.json
Normal file
26
packages/editor/src/compiled-lang/fr.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"action.share": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Share"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"editor.try-welcome": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "This edition space showcases some of the mindmap editor capabilities !"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"editor.try-welcome-description": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Sign Up to start creating, sharing and publishing unlimited number of mindmaps for free."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"login.signup": [
|
||||||
|
{
|
||||||
|
"type": 0,
|
||||||
|
"value": "Sign Up"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -1,7 +0,0 @@
|
|||||||
export const Locales = {
|
|
||||||
EN: {},
|
|
||||||
ES: {},
|
|
||||||
DE: {},
|
|
||||||
FR: {}
|
|
||||||
};
|
|
||||||
|
|
@ -9,6 +9,7 @@ import {
|
|||||||
PersistenceManager,
|
PersistenceManager,
|
||||||
RESTPersistenceManager,
|
RESTPersistenceManager,
|
||||||
DesignerOptionsBuilder,
|
DesignerOptionsBuilder,
|
||||||
|
Designer
|
||||||
} from '@wisemapping/mindplot';
|
} from '@wisemapping/mindplot';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
@ -23,6 +24,11 @@ declare global {
|
|||||||
var locale: string;
|
var locale: string;
|
||||||
var mindmapLocked: boolean;
|
var mindmapLocked: boolean;
|
||||||
var mindmapLockedMsg: string;
|
var mindmapLockedMsg: string;
|
||||||
|
var mapTitle: string;
|
||||||
|
|
||||||
|
// used in mindplot
|
||||||
|
var designer: Designer;
|
||||||
|
var accountEmail: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EditorPropsType = {
|
export type EditorPropsType = {
|
||||||
@ -34,6 +40,21 @@ export type EditorPropsType = {
|
|||||||
onAction: (action: ToolbarActionType) => void;
|
onAction: (action: ToolbarActionType) => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
function loadLocaleData(locale: string) {
|
||||||
|
switch (locale) {
|
||||||
|
case 'fr':
|
||||||
|
return import('./compiled-lang/fr.json');
|
||||||
|
case 'en':
|
||||||
|
return import('./compiled-lang/en.json');
|
||||||
|
case 'es':
|
||||||
|
return import('./compiled-lang/es.json');
|
||||||
|
case 'de':
|
||||||
|
return import('./compiled-lang/de.json');
|
||||||
|
default:
|
||||||
|
return import('./compiled-lang/en.json')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const initMindplot = () => {
|
const initMindplot = () => {
|
||||||
// Change page title ...
|
// Change page title ...
|
||||||
document.title = `${global.mapTitle} | WiseMapping `;
|
document.title = `${global.mapTitle} | WiseMapping `;
|
||||||
@ -94,10 +115,23 @@ export default function Editor({
|
|||||||
locale = 'en',
|
locale = 'en',
|
||||||
onAction,
|
onAction,
|
||||||
}: EditorPropsType): React.ReactElement {
|
}: EditorPropsType): React.ReactElement {
|
||||||
React.useEffect(initCallback, []);
|
const [localeTranslation, setLocaleTranslation] = React.useState(null);
|
||||||
|
React.useEffect(() => {
|
||||||
|
if(localeTranslation && !global.designer) {
|
||||||
|
initCallback();
|
||||||
|
}
|
||||||
|
}, [localeTranslation]);
|
||||||
|
React.useEffect(() => {
|
||||||
|
const loadAndSetLocale = async () => {
|
||||||
|
setLocaleTranslation(await loadLocaleData(locale));
|
||||||
|
};
|
||||||
|
loadAndSetLocale();
|
||||||
|
}, [locale])
|
||||||
|
if (!localeTranslation) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
return (
|
return (
|
||||||
<IntlProvider locale={locale} defaultLocale="en" messages={{}}>
|
<IntlProvider locale={locale} defaultLocale="en" messages={localeTranslation}>
|
||||||
<Toolbar
|
<Toolbar
|
||||||
memoryPersistence={memoryPersistence}
|
memoryPersistence={memoryPersistence}
|
||||||
readOnlyMode={readOnlyMode}
|
readOnlyMode={readOnlyMode}
|
||||||
|
@ -16,7 +16,8 @@
|
|||||||
"declaration": true,
|
"declaration": true,
|
||||||
"rootDirs": [
|
"rootDirs": [
|
||||||
"src",
|
"src",
|
||||||
]
|
],
|
||||||
|
"resolveJsonModule": true
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules"
|
"node_modules"
|
||||||
|
147
yarn.lock
147
yarn.lock
@ -1208,6 +1208,36 @@
|
|||||||
tslib "^2.0.1"
|
tslib "^2.0.1"
|
||||||
typescript "^4.0"
|
typescript "^4.0"
|
||||||
|
|
||||||
|
"@formatjs/cli@^4.8.1":
|
||||||
|
version "4.8.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@formatjs/cli/-/cli-4.8.1.tgz#d2fa5308961254f8a575ca976ac279e8e12cf206"
|
||||||
|
integrity sha512-cXA1ir9DEHJu2Ilc964NL5cs5ndwiA8TqSrSNrgjBRuPqQzzo6XE9dgwUk7PQoCA50LRtHpEtfGbf9P7veZqmw==
|
||||||
|
dependencies:
|
||||||
|
"@formatjs/icu-messageformat-parser" "2.0.17"
|
||||||
|
"@formatjs/ts-transformer" "3.9.1"
|
||||||
|
"@types/estree" "^0.0.50"
|
||||||
|
"@types/fs-extra" "^9.0.1"
|
||||||
|
"@types/json-stable-stringify" "^1.0.32"
|
||||||
|
"@types/node" "14"
|
||||||
|
"@vue/compiler-core" "^3.2.23"
|
||||||
|
chalk "^4.0.0"
|
||||||
|
commander "8"
|
||||||
|
fast-glob "^3.2.7"
|
||||||
|
fs-extra "10"
|
||||||
|
json-stable-stringify "^1.0.1"
|
||||||
|
loud-rejection "^2.2.0"
|
||||||
|
tslib "^2.1.0"
|
||||||
|
typescript "^4.5"
|
||||||
|
vue "^3.2.23"
|
||||||
|
|
||||||
|
"@formatjs/ecma402-abstract@1.11.2":
|
||||||
|
version "1.11.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@formatjs/ecma402-abstract/-/ecma402-abstract-1.11.2.tgz#7f01595e6985a28983aae26bede9b78b273fee3d"
|
||||||
|
integrity sha512-qDgOL0vtfJ51cc0pRbFB/oXc4qDbamG22Z6h/QWy6FBxaQgppiy8JF0iYbmNO35cC8r88bQGsgfd/eM6/eTEQQ==
|
||||||
|
dependencies:
|
||||||
|
"@formatjs/intl-localematcher" "0.2.23"
|
||||||
|
tslib "^2.1.0"
|
||||||
|
|
||||||
"@formatjs/ecma402-abstract@1.5.0":
|
"@formatjs/ecma402-abstract@1.5.0":
|
||||||
version "1.5.0"
|
version "1.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/@formatjs/ecma402-abstract/-/ecma402-abstract-1.5.0.tgz#759c8f11ff45e96f8fb58741e7fbdb41096d5ddd"
|
resolved "https://registry.yarnpkg.com/@formatjs/ecma402-abstract/-/ecma402-abstract-1.5.0.tgz#759c8f11ff45e96f8fb58741e7fbdb41096d5ddd"
|
||||||
@ -1215,6 +1245,23 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
tslib "^2.0.1"
|
tslib "^2.0.1"
|
||||||
|
|
||||||
|
"@formatjs/icu-messageformat-parser@2.0.17":
|
||||||
|
version "2.0.17"
|
||||||
|
resolved "https://registry.yarnpkg.com/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.0.17.tgz#0f817aa06d3b9f23ae0a8bd667b5d7785df5017c"
|
||||||
|
integrity sha512-GO4DzmyiDUyT4p9UxSlOcdnRL1CCt43oHBBGe21s5043UjP6dwMbOotugKs1bRiN+FrNrRUSW+TLdT3+4CBI5A==
|
||||||
|
dependencies:
|
||||||
|
"@formatjs/ecma402-abstract" "1.11.2"
|
||||||
|
"@formatjs/icu-skeleton-parser" "1.3.4"
|
||||||
|
tslib "^2.1.0"
|
||||||
|
|
||||||
|
"@formatjs/icu-skeleton-parser@1.3.4":
|
||||||
|
version "1.3.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.3.4.tgz#5508ff60cce4eb4698917cb50cb9ff576dde6e5b"
|
||||||
|
integrity sha512-BbKjX3rF3hq2bRjI9NjnSPUrNqI1TwwbMomOBamWfAkpOEf4LYEezPL9tHEds/+sN2/82Z+qEmK7s/l9G2J+qA==
|
||||||
|
dependencies:
|
||||||
|
"@formatjs/ecma402-abstract" "1.11.2"
|
||||||
|
tslib "^2.1.0"
|
||||||
|
|
||||||
"@formatjs/intl-displaynames@^1.2.0":
|
"@formatjs/intl-displaynames@^1.2.0":
|
||||||
version "1.2.10"
|
version "1.2.10"
|
||||||
resolved "https://registry.yarnpkg.com/@formatjs/intl-displaynames/-/intl-displaynames-1.2.10.tgz#bb9625cca90b099978cd967c6a98aaf4e23fc878"
|
resolved "https://registry.yarnpkg.com/@formatjs/intl-displaynames/-/intl-displaynames-1.2.10.tgz#bb9625cca90b099978cd967c6a98aaf4e23fc878"
|
||||||
@ -1229,6 +1276,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@formatjs/intl-utils" "^2.3.0"
|
"@formatjs/intl-utils" "^2.3.0"
|
||||||
|
|
||||||
|
"@formatjs/intl-localematcher@0.2.23":
|
||||||
|
version "0.2.23"
|
||||||
|
resolved "https://registry.yarnpkg.com/@formatjs/intl-localematcher/-/intl-localematcher-0.2.23.tgz#5a0b1d81df1f392ecf37e556ca7040a7ec9f72e8"
|
||||||
|
integrity sha512-oCe2TOciTtB1bEbJ85EvYrXQxD0epusmVJfJ7AduO0tlbXP42CmDIYIH2CZ+kP2GE+PTLQD1Hbt9kpOpl939MQ==
|
||||||
|
dependencies:
|
||||||
|
tslib "^2.1.0"
|
||||||
|
|
||||||
"@formatjs/intl-relativetimeformat@^4.5.9":
|
"@formatjs/intl-relativetimeformat@^4.5.9":
|
||||||
version "4.5.16"
|
version "4.5.16"
|
||||||
resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-4.5.16.tgz#7449cef3213dd66d25924ca41f125f87b58df95a"
|
resolved "https://registry.yarnpkg.com/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-4.5.16.tgz#7449cef3213dd66d25924ca41f125f87b58df95a"
|
||||||
@ -1257,6 +1311,17 @@
|
|||||||
tslib "^2.0.1"
|
tslib "^2.0.1"
|
||||||
typescript "^4.0"
|
typescript "^4.0"
|
||||||
|
|
||||||
|
"@formatjs/ts-transformer@3.9.1":
|
||||||
|
version "3.9.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@formatjs/ts-transformer/-/ts-transformer-3.9.1.tgz#92d7d54debf7f427dcc8c9bc57c8813560553708"
|
||||||
|
integrity sha512-FY31pBrqIO8AeL6+vFFCSqBXe4NZyxCfIb1jRColBXiQHbUlmfaoTFu19BXibqbU5CxFd+wG2LhDLZuitGhDBA==
|
||||||
|
dependencies:
|
||||||
|
"@formatjs/icu-messageformat-parser" "2.0.17"
|
||||||
|
"@types/node" "14 || 16 || 17"
|
||||||
|
chalk "^4.0.0"
|
||||||
|
tslib "^2.1.0"
|
||||||
|
typescript "^4.5"
|
||||||
|
|
||||||
"@hapi/hoek@^9.0.0":
|
"@hapi/hoek@^9.0.0":
|
||||||
version "9.2.1"
|
version "9.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.2.1.tgz#9551142a1980503752536b5050fd99f4a7f13b17"
|
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.2.1.tgz#9551142a1980503752536b5050fd99f4a7f13b17"
|
||||||
@ -2602,6 +2667,13 @@
|
|||||||
"@types/qs" "*"
|
"@types/qs" "*"
|
||||||
"@types/serve-static" "*"
|
"@types/serve-static" "*"
|
||||||
|
|
||||||
|
"@types/fs-extra@^9.0.1":
|
||||||
|
version "9.0.13"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.13.tgz#7594fbae04fe7f1918ce8b3d213f74ff44ac1f45"
|
||||||
|
integrity sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==
|
||||||
|
dependencies:
|
||||||
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/glob@^7.1.1":
|
"@types/glob@^7.1.1":
|
||||||
version "7.2.0"
|
version "7.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb"
|
resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb"
|
||||||
@ -2728,6 +2800,11 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.9.tgz#0e5944eefe2b287391279a19b407aa98bd14436d"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.9.tgz#0e5944eefe2b287391279a19b407aa98bd14436d"
|
||||||
integrity sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==
|
integrity sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==
|
||||||
|
|
||||||
|
"@types/node@14 || 16 || 17":
|
||||||
|
version "17.0.14"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.14.tgz#33b9b94f789a8fedd30a68efdbca4dbb06b61f20"
|
||||||
|
integrity sha512-SbjLmERksKOGzWzPNuW7fJM7fk3YXVTFiZWB/Hs99gwhk+/dnrQRPBQjPW9aO+fi1tAffi9PrwFvsmOKmDTyng==
|
||||||
|
|
||||||
"@types/normalize-package-data@^2.4.0":
|
"@types/normalize-package-data@^2.4.0":
|
||||||
version "2.4.1"
|
version "2.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
|
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"
|
||||||
@ -3086,7 +3163,7 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44"
|
resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44"
|
||||||
integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==
|
integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==
|
||||||
|
|
||||||
"@vue/compiler-core@3.2.29", "@vue/compiler-core@^3.0.0":
|
"@vue/compiler-core@3.2.29", "@vue/compiler-core@^3.0.0", "@vue/compiler-core@^3.2.23":
|
||||||
version "3.2.29"
|
version "3.2.29"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.29.tgz#b06097ab8ff0493177c68c5ea5b63d379a061097"
|
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.29.tgz#b06097ab8ff0493177c68c5ea5b63d379a061097"
|
||||||
integrity sha512-RePZ/J4Ub3sb7atQw6V6Rez+/5LCRHGFlSetT3N4VMrejqJnNPXKUt5AVm/9F5MJriy2w/VudEIvgscCfCWqxw==
|
integrity sha512-RePZ/J4Ub3sb7atQw6V6Rez+/5LCRHGFlSetT3N4VMrejqJnNPXKUt5AVm/9F5MJriy2w/VudEIvgscCfCWqxw==
|
||||||
@ -3104,7 +3181,7 @@
|
|||||||
"@vue/compiler-core" "3.2.29"
|
"@vue/compiler-core" "3.2.29"
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.29"
|
||||||
|
|
||||||
"@vue/compiler-sfc@^3.0.5":
|
"@vue/compiler-sfc@3.2.29", "@vue/compiler-sfc@^3.0.5":
|
||||||
version "3.2.29"
|
version "3.2.29"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.29.tgz#f76d556cd5fca6a55a3ea84c88db1a2a53a36ead"
|
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.29.tgz#f76d556cd5fca6a55a3ea84c88db1a2a53a36ead"
|
||||||
integrity sha512-X9+0dwsag2u6hSOP/XsMYqFti/edvYvxamgBgCcbSYuXx1xLZN+dS/GvQKM4AgGS4djqo0jQvWfIXdfZ2ET68g==
|
integrity sha512-X9+0dwsag2u6hSOP/XsMYqFti/edvYvxamgBgCcbSYuXx1xLZN+dS/GvQKM4AgGS4djqo0jQvWfIXdfZ2ET68g==
|
||||||
@ -3139,6 +3216,38 @@
|
|||||||
estree-walker "^2.0.2"
|
estree-walker "^2.0.2"
|
||||||
magic-string "^0.25.7"
|
magic-string "^0.25.7"
|
||||||
|
|
||||||
|
"@vue/reactivity@3.2.29":
|
||||||
|
version "3.2.29"
|
||||||
|
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.29.tgz#afdc9c111d4139b14600be17ad80267212af6052"
|
||||||
|
integrity sha512-Ryhb6Gy62YolKXH1gv42pEqwx7zs3n8gacRVZICSgjQz8Qr8QeCcFygBKYfJm3o1SccR7U+bVBQDWZGOyG1k4g==
|
||||||
|
dependencies:
|
||||||
|
"@vue/shared" "3.2.29"
|
||||||
|
|
||||||
|
"@vue/runtime-core@3.2.29":
|
||||||
|
version "3.2.29"
|
||||||
|
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.29.tgz#fb8577b2fcf52e8d967bd91cdf49ab9fb91f9417"
|
||||||
|
integrity sha512-VMvQuLdzoTGmCwIKTKVwKmIL0qcODIqe74JtK1pVr5lnaE0l25hopodmPag3RcnIcIXe+Ye3B2olRCn7fTCgig==
|
||||||
|
dependencies:
|
||||||
|
"@vue/reactivity" "3.2.29"
|
||||||
|
"@vue/shared" "3.2.29"
|
||||||
|
|
||||||
|
"@vue/runtime-dom@3.2.29":
|
||||||
|
version "3.2.29"
|
||||||
|
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.29.tgz#35e9a2bf04ef80b86ac2ca0e7b2ceaccf1e18f01"
|
||||||
|
integrity sha512-YJgLQLwr+SQyORzTsBQLL5TT/5UiV83tEotqjL7F9aFDIQdFBTCwpkCFvX9jqwHoyi9sJqM9XtTrMcc8z/OjPA==
|
||||||
|
dependencies:
|
||||||
|
"@vue/runtime-core" "3.2.29"
|
||||||
|
"@vue/shared" "3.2.29"
|
||||||
|
csstype "^2.6.8"
|
||||||
|
|
||||||
|
"@vue/server-renderer@3.2.29":
|
||||||
|
version "3.2.29"
|
||||||
|
resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.29.tgz#ea6afa361b9c781a868c8da18c761f9b7bc89102"
|
||||||
|
integrity sha512-lpiYx7ciV7rWfJ0tPkoSOlLmwqBZ9FTmQm33S+T4g0j1fO/LmhJ9b9Ctl1o5xvIFVDk9QkSUWANZn7H2pXuxVw==
|
||||||
|
dependencies:
|
||||||
|
"@vue/compiler-ssr" "3.2.29"
|
||||||
|
"@vue/shared" "3.2.29"
|
||||||
|
|
||||||
"@vue/shared@3.2.29":
|
"@vue/shared@3.2.29":
|
||||||
version "3.2.29"
|
version "3.2.29"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.29.tgz#07dac7051117236431d2f737d16932aa38bbb925"
|
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.29.tgz#07dac7051117236431d2f737d16932aa38bbb925"
|
||||||
@ -4711,6 +4820,11 @@ combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6:
|
|||||||
dependencies:
|
dependencies:
|
||||||
delayed-stream "~1.0.0"
|
delayed-stream "~1.0.0"
|
||||||
|
|
||||||
|
commander@8, commander@^8.3.0:
|
||||||
|
version "8.3.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66"
|
||||||
|
integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==
|
||||||
|
|
||||||
commander@^2.20.0:
|
commander@^2.20.0:
|
||||||
version "2.20.3"
|
version "2.20.3"
|
||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
|
||||||
@ -4731,11 +4845,6 @@ commander@^7.0.0, commander@^7.2.0:
|
|||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
|
||||||
integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==
|
integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==
|
||||||
|
|
||||||
commander@^8.3.0:
|
|
||||||
version "8.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66"
|
|
||||||
integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==
|
|
||||||
|
|
||||||
common-tags@^1.8.0:
|
common-tags@^1.8.0:
|
||||||
version "1.8.2"
|
version "1.8.2"
|
||||||
resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.2.tgz#94ebb3c076d26032745fd54face7f688ef5ac9c6"
|
resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.2.tgz#94ebb3c076d26032745fd54face7f688ef5ac9c6"
|
||||||
@ -5185,7 +5294,7 @@ cssstyle@^2.3.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
cssom "~0.3.6"
|
cssom "~0.3.6"
|
||||||
|
|
||||||
csstype@^2.5.2:
|
csstype@^2.5.2, csstype@^2.6.8:
|
||||||
version "2.6.19"
|
version "2.6.19"
|
||||||
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.19.tgz#feeb5aae89020bb389e1f63669a5ed490e391caa"
|
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.19.tgz#feeb5aae89020bb389e1f63669a5ed490e391caa"
|
||||||
integrity sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==
|
integrity sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==
|
||||||
@ -6949,6 +7058,15 @@ fs-constants@^1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
|
resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
|
||||||
integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
|
integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
|
||||||
|
|
||||||
|
fs-extra@10:
|
||||||
|
version "10.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1"
|
||||||
|
integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==
|
||||||
|
dependencies:
|
||||||
|
graceful-fs "^4.2.0"
|
||||||
|
jsonfile "^6.0.1"
|
||||||
|
universalify "^2.0.0"
|
||||||
|
|
||||||
fs-extra@^7.0.1:
|
fs-extra@^7.0.1:
|
||||||
version "7.0.1"
|
version "7.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
|
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
|
||||||
@ -13650,7 +13768,7 @@ typedarray@^0.0.6:
|
|||||||
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
||||||
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
|
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
|
||||||
|
|
||||||
typescript@^4.0, typescript@^4.1.2:
|
typescript@^4.0, typescript@^4.1.2, typescript@^4.5:
|
||||||
version "4.5.5"
|
version "4.5.5"
|
||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3"
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3"
|
||||||
integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==
|
integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==
|
||||||
@ -13941,6 +14059,17 @@ verror@1.10.0:
|
|||||||
core-util-is "1.0.2"
|
core-util-is "1.0.2"
|
||||||
extsprintf "^1.2.0"
|
extsprintf "^1.2.0"
|
||||||
|
|
||||||
|
vue@^3.2.23:
|
||||||
|
version "3.2.29"
|
||||||
|
resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.29.tgz#3571b65dbd796d3a6347e2fd45a8e6e11c13d56a"
|
||||||
|
integrity sha512-cFIwr7LkbtCRanjNvh6r7wp2yUxfxeM2yPpDQpAfaaLIGZSrUmLbNiSze9nhBJt5MrZ68Iqt0O5scwAMEVxF+Q==
|
||||||
|
dependencies:
|
||||||
|
"@vue/compiler-dom" "3.2.29"
|
||||||
|
"@vue/compiler-sfc" "3.2.29"
|
||||||
|
"@vue/runtime-dom" "3.2.29"
|
||||||
|
"@vue/server-renderer" "3.2.29"
|
||||||
|
"@vue/shared" "3.2.29"
|
||||||
|
|
||||||
w3c-hr-time@^1.0.2:
|
w3c-hr-time@^1.0.2:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"
|
resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"
|
||||||
|
Loading…
Reference in New Issue
Block a user