diff --git a/package.json b/package.json index acee36f..648db44 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "checking-extension", "displayName": "checking-extension", "description": "A vscode extension to open tn_check and twl_check files for checking verses", - "version": "0.9.13", + "version": "0.9.14", "publisher": "unfoldingWord", "engines": { "vscode": "^1.91.0" diff --git a/webview-ui/package.json b/webview-ui/package.json index 0733ff0..22a1261 100644 --- a/webview-ui/package.json +++ b/webview-ui/package.json @@ -1,6 +1,6 @@ { "name": "checking-extension-webview", - "version": "0.9.13", + "version": "0.9.14", "private": true, "scripts": { "start": "vite", @@ -17,7 +17,7 @@ "@material-ui/lab": "4.0.0-alpha.61", "@mui/lab": "5.0.0-alpha.89", "@vscode/webview-ui-toolkit": "^1.4.0", - "checking-tool-rcl": "0.9.22", + "checking-tool-rcl": "0.9.23-beta.7", "deep-equal": "1.0.1", "dompurify": "^3.0.9", "gitea-react-toolkit": "2.4.1", diff --git a/webview-ui/pnpm-lock.yaml b/webview-ui/pnpm-lock.yaml index e6662ac..a7ff19a 100644 --- a/webview-ui/pnpm-lock.yaml +++ b/webview-ui/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: specifier: ^1.4.0 version: 1.4.0(react@18.3.1) checking-tool-rcl: - specifier: 0.9.22 - version: 0.9.22(@types/react@18.3.3)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react-redux@7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.93.0) + specifier: 0.9.23-beta.7 + version: 0.9.23-beta.7(@types/react@18.3.3)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react-redux@7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.93.0) deep-equal: specifier: 1.0.1 version: 1.0.1 @@ -1008,8 +1008,8 @@ packages: charenc@0.0.2: resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==, tarball: https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz} - checking-tool-rcl@0.9.22: - resolution: {integrity: sha512-mgZFyHEzkluJm5jCwhCaAevu3cqqSvaUfUlHNdd+sn2zxRC7/w5Q95yY5VC6c0JKNC+sy0Oi9Bm2r5SaBjreEQ==, tarball: https://registry.npmjs.org/checking-tool-rcl/-/checking-tool-rcl-0.9.22.tgz} + checking-tool-rcl@0.9.23-beta.7: + resolution: {integrity: sha512-MzwwYmcNOhjnfnSltN0O7uDeBF1gtmS+nmMV/J794LSGnxKYItU5Qi0FsrK6gE8xQbK9ackUlMAwyFbCr8c/VA==, tarball: https://registry.npmjs.org/checking-tool-rcl/-/checking-tool-rcl-0.9.23-beta.7.tgz} peerDependencies: prop-types: ^15.x react: 18.3.1 @@ -3219,7 +3219,7 @@ snapshots: charenc@0.0.2: {} - checking-tool-rcl@0.9.22(@types/react@18.3.3)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react-redux@7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.93.0): + checking-tool-rcl@0.9.23-beta.7(@types/react@18.3.3)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react-redux@7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.93.0): dependencies: '@material-ui/core': 4.12.4(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@material-ui/icons': 4.11.3(@material-ui/core@4.12.4(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) diff --git a/webview-ui/src/components/TranslationCheckingPane.tsx b/webview-ui/src/components/TranslationCheckingPane.tsx index 57380f5..ac31ae3 100644 --- a/webview-ui/src/components/TranslationCheckingPane.tsx +++ b/webview-ui/src/components/TranslationCheckingPane.tsx @@ -328,6 +328,11 @@ const TranslationCheckingPane: React.FC = ({ return message; } + function importBook() { + console.log(`${name}-importBook`) + // TODO + } + // @ts-ignore const currentLanguageSelection = translations?.['_']?.['full_name'] || ''; let projectManifest = null @@ -412,6 +417,7 @@ const TranslationCheckingPane: React.FC = ({ contextId={contextId} getLexiconData={getLexiconData_} glWordsData={glWordsData} + importBook={importBook} initialSettings={initialSettings} saveCheckingData={_saveCheckingData} saveSettings={saveSettings}