mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
NPM update and fix CM tooltips issue
This commit is contained in:
parent
50258ba6d8
commit
4eef460be1
1380
rsconcept/frontend/package-lock.json
generated
1380
rsconcept/frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -12,41 +12,41 @@
|
|||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lezer/lr": "^1.3.10",
|
||||
"@tanstack/react-table": "^8.9.7",
|
||||
"@uiw/codemirror-themes": "^4.21.13",
|
||||
"@uiw/react-codemirror": "^4.21.13",
|
||||
"axios": "^1.5.0",
|
||||
"@lezer/lr": "^1.3.12",
|
||||
"@tanstack/react-table": "^8.10.3",
|
||||
"@uiw/codemirror-themes": "^4.21.18",
|
||||
"@uiw/react-codemirror": "^4.21.18",
|
||||
"axios": "^1.5.1",
|
||||
"js-file-download": "^0.4.12",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-error-boundary": "^4.0.11",
|
||||
"react-intl": "^6.4.6",
|
||||
"react-intl": "^6.4.7",
|
||||
"react-loader-spinner": "^5.4.5",
|
||||
"react-router-dom": "^6.15.0",
|
||||
"react-select": "^5.7.4",
|
||||
"react-router-dom": "^6.16.0",
|
||||
"react-select": "^5.7.5",
|
||||
"react-tabs": "^6.0.2",
|
||||
"react-toastify": "^9.1.3",
|
||||
"react-tooltip": "^5.21.3",
|
||||
"reagraph": "^4.13.0"
|
||||
"react-tooltip": "^5.21.5",
|
||||
"reagraph": "^4.14.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@lezer/generator": "^1.5.0",
|
||||
"@types/jest": "^29.5.4",
|
||||
"@types/node": "^20.6.0",
|
||||
"@types/react": "^18.2.21",
|
||||
"@types/react-dom": "^18.2.7",
|
||||
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
||||
"@typescript-eslint/parser": "^6.6.0",
|
||||
"@vitejs/plugin-react": "^4.0.4",
|
||||
"autoprefixer": "^10.4.15",
|
||||
"eslint": "^8.49.0",
|
||||
"@lezer/generator": "^1.5.1",
|
||||
"@types/jest": "^29.5.5",
|
||||
"@types/node": "^20.7.1",
|
||||
"@types/react": "^18.2.23",
|
||||
"@types/react-dom": "^18.2.8",
|
||||
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
||||
"@typescript-eslint/parser": "^6.7.3",
|
||||
"@vitejs/plugin-react": "^4.1.0",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"eslint": "^8.50.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.3",
|
||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||
"eslint-plugin-tsdoc": "^0.2.17",
|
||||
"jest": "^29.6.4",
|
||||
"postcss": "^8.4.29",
|
||||
"jest": "^29.7.0",
|
||||
"postcss": "^8.4.30",
|
||||
"tailwindcss": "^3.3.3",
|
||||
"ts-jest": "^29.1.1",
|
||||
"typescript": "^5.2.2",
|
||||
|
|
|
@ -27,7 +27,7 @@ const editorSetup: BasicSetupOptions = {
|
|||
lineNumbers: false,
|
||||
highlightActiveLineGutter: false,
|
||||
foldGutter: false,
|
||||
dropCursor: false,
|
||||
dropCursor: true,
|
||||
allowMultipleSelections: false,
|
||||
indentOnInput: false,
|
||||
bracketMatching: false,
|
||||
|
@ -169,7 +169,8 @@ function RefsInput({
|
|||
onKeyDown={handleInput}
|
||||
onFocus={handleFocusIn}
|
||||
onBlur={handleFocusOut}
|
||||
// spellCheck={true} // TODO: figure out while automatic spellcheck doesnt work or implement with extension
|
||||
spellCheck
|
||||
// spellCheck= // TODO: figure out while automatic spellcheck doesnt work or implement with extension
|
||||
{...props}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -33,7 +33,6 @@ export const globalsHoverTooltip = (items: IConstituenta[], colors: IColorTheme)
|
|||
let masterText: string | undefined = undefined;
|
||||
if (ref.offset > 0) {
|
||||
const entities = findContainedNodes(end, view.state.doc.length, syntaxTree(view.state), [RefEntity]);
|
||||
console.log(end);
|
||||
if (ref.offset <= entities.length) {
|
||||
const master = entities[ref.offset - 1];
|
||||
masterText = view.state.doc.sliceString(master.from, master.to);
|
||||
|
|
|
@ -280,7 +280,7 @@
|
|||
|
||||
.cm-editor {
|
||||
resize: vertical;
|
||||
overflow: auto !important;
|
||||
overflow-y: auto;
|
||||
border-color: var(--cl-bg-40);
|
||||
.dark & {
|
||||
border-color: var(--cd-bg-40);
|
||||
|
|
|
@ -138,7 +138,6 @@ function EditorItems({ onOpenEdit, onCreateCst, onDeleteCst }: EditorItemsProps)
|
|||
if (!isEditable) {
|
||||
return;
|
||||
}
|
||||
console.log(1);
|
||||
if (event.key === 'Delete' && selected.length > 0) {
|
||||
event.preventDefault();
|
||||
handleDelete();
|
||||
|
|
|
@ -313,7 +313,6 @@ function RSTabs() {
|
|||
id: activeID,
|
||||
term_forms: forms
|
||||
};
|
||||
console.log(data);
|
||||
cstUpdate(data, () => toast.success('Изменения сохранены'));
|
||||
}, [cstUpdate, activeID]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user