TagSpaces is an offline, open source, document manager with tagging support
fix: typescript issues
Ilian Sapundshiev3857ecb0db83
diff --git a/app/components/EntryProperties.tsx b/app/components/EntryProperties.tsxindex f10ac5296..e2ccae09d 100644--- a/app/components/EntryProperties.tsx+++ b/app/components/EntryProperties.tsx@@ -18,7 +18,7 @@import React, { ChangeEvent, useEffect, useRef, useState } from 'react';import { useStateWithCallbackLazy } from 'use-state-with-callback';-import { getBgndFileLocationForDirectory } from '@tagspaces/tagspaces-common/paths';+import { getBgndFileLocationForDirectory } from '@tagspaces/tagspaces-platforms/paths';import L from 'leaflet';import { Theme } from '@mui/material/styles';import withStyles from '@mui/styles/withStyles';diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsxindex c69efbbc5..24e8a0de5 100644--- a/app/perspectives/grid-perspective/components/GridPagination.tsx+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx@@ -30,10 +30,9 @@ import {getMetaFileLocationForDir,getMetaFileLocationForFile,getThumbFileLocationForDirectory,- getBgndFileLocationForDirectory,getThumbFileLocationForFile,extractDirectoryName-} from '@tagspaces/tagspaces-common/paths';+} from '@tagspaces/tagspaces-platforms/paths';import i18n from '-/services/i18n';import {actions as AppActions,diff --git a/package-lock.json b/package-lock.jsonindex a496be307..cdd2c86c4 100644--- a/package-lock.json+++ b/package-lock.json@@ -17,8 +17,8 @@"@gorillastack/jmespath": "^1.3.0","@mui/icons-material": "^5.8.4","@mui/lab": "^5.0.0-alpha.109",- "@mui/material": "^5.9.2",- "@mui/styles": "^5.9.2",+ "@mui/material": "5.10.15",+ "@mui/styles": "5.10.15","@mui/x-date-pickers": "^5.0.8","@tagspaces/tagspaces-md": "2.0.52","@tagspaces/tagspaces-platforms": "2.0.45",@@ -11466,14 +11466,14 @@"dev": true},"node_modules/@mui/base": {- "version": "5.0.0-alpha.102",- "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.102.tgz",- "integrity": "sha512-5e/qAIP+DlkrZxIt/cwnDw/A3ii22WkoEoWKHyu4+oeGs3/1Flh7qLaN4h5EAIBB9TvTEZEUzvmsTInmIj6ghg==",+ "version": "5.0.0-alpha.107",+ "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.107.tgz",+ "integrity": "sha512-HX/BD8CSe+Y/dpbZ5aKJScJhKQ/Hw6du2yd68Upv2cO67bwixyZ64h3aNcdDu7RQzI7nrZQm0JykffP1Orgq0g==","dependencies": {- "@babel/runtime": "^7.19.0",+ "@babel/runtime": "^7.20.1","@emotion/is-prop-valid": "^1.2.0",- "@mui/types": "^7.2.0",- "@mui/utils": "^5.10.9",+ "@mui/types": "^7.2.1",+ "@mui/utils": "^5.10.15","@popperjs/core": "^2.11.6","clsx": "^1.2.1","prop-types": "^15.8.1",@@ -11498,9 +11498,9 @@}},"node_modules/@mui/core-downloads-tracker": {- "version": "5.10.10",- "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.10.10.tgz",- "integrity": "sha512-aDuE2PNEh+hAndxEWlZgq7uiFPZKJtnkPDX7v6kSCrMXA32ZaQ6rZi5olmC7DUHt/BaOSxb7N/im/ss0XBkDhA==",+ "version": "5.10.16",+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.10.16.tgz",+ "integrity": "sha512-eK9+olw2ZbXX+vGrtKnN01/vLP1aX0Lq0xok35bqWM1aB93Dcmky/xPNf8h31oJ/C+IzJBjZaZMEDzVZg4Qc0A==","funding": {"type": "opencollective","url": "https://opencollective.com/mui"@@ -11572,49 +11572,17 @@}}},- "node_modules/@mui/lab/node_modules/@mui/base": {- "version": "5.0.0-alpha.107",- "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.107.tgz",- "integrity": "sha512-HX/BD8CSe+Y/dpbZ5aKJScJhKQ/Hw6du2yd68Upv2cO67bwixyZ64h3aNcdDu7RQzI7nrZQm0JykffP1Orgq0g==",+ "node_modules/@mui/material": {+ "version": "5.10.15",+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.10.15.tgz",+ "integrity": "sha512-OqoHfUtVMppFHgk2M95j+pR8MWfLKhzSdz4aKEfIpFrHIHbYang+oY7Iy/exX+vqpZSEGHgHQ0cGX0hGTGx9cg==","dependencies": {"@babel/runtime": "^7.20.1",- "@emotion/is-prop-valid": "^1.2.0",+ "@mui/base": "5.0.0-alpha.107",+ "@mui/core-downloads-tracker": "^5.10.15",+ "@mui/system": "^5.10.15","@mui/types": "^7.2.1","@mui/utils": "^5.10.15",- "@popperjs/core": "^2.11.6",- "clsx": "^1.2.1",- "prop-types": "^15.8.1",- "react-is": "^18.2.0"- },- "engines": {- "node": ">=12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/mui"- },- "peerDependencies": {- "@types/react": "^17.0.0 || ^18.0.0",- "react": "^17.0.0 || ^18.0.0",- "react-dom": "^17.0.0 || ^18.0.0"- },- "peerDependenciesMeta": {- "@types/react": {- "optional": true- }- }- },- "node_modules/@mui/material": {- "version": "5.10.10",- "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.10.10.tgz",- "integrity": "sha512-ioLvqY7VvcePz9dnEIRhpiVvtJmAFmvG6rtLXXzVdMmAVbSaelr5Io07mPz/mCyqE+Uv8/4EuJV276DWO7etzA==",- "dependencies": {- "@babel/runtime": "^7.19.0",- "@mui/base": "5.0.0-alpha.102",- "@mui/core-downloads-tracker": "^5.10.10",- "@mui/system": "^5.10.10",- "@mui/types": "^7.2.0",- "@mui/utils": "^5.10.9","@types/react-transition-group": "^4.4.5","clsx": "^1.2.1","csstype": "^3.1.1",@@ -11706,15 +11674,15 @@}},"node_modules/@mui/styles": {- "version": "5.10.10",- "resolved": "https://registry.npmjs.org/@mui/styles/-/styles-5.10.10.tgz",- "integrity": "sha512-utr87q/euocRdc2ekFX7DL1gqTVfogSVeu74Nspr8rtK/afC9QwF3ScP/XThVXWPcQKjBWHMKWtAO9BSVE4KDg==",+ "version": "5.10.15",+ "resolved": "https://registry.npmjs.org/@mui/styles/-/styles-5.10.15.tgz",+ "integrity": "sha512-q8OW8Cyq2C9wGJMcDWXYtFa7qgIIZPAZ15JShDQXBLvyib4qDop5wV3+olQoJdwU5ARjmfPd67IsbORWxG3abQ==","dependencies": {- "@babel/runtime": "^7.19.0",+ "@babel/runtime": "^7.20.1","@emotion/hash": "^0.9.0",- "@mui/private-theming": "^5.10.9",- "@mui/types": "^7.2.0",- "@mui/utils": "^5.10.9",+ "@mui/private-theming": "^5.10.15",+ "@mui/types": "^7.2.1",+ "@mui/utils": "^5.10.15","clsx": "^1.2.1","csstype": "^3.1.1","hoist-non-react-statics": "^3.3.2",@@ -57898,14 +57866,14 @@}},"@mui/base": {- "version": "5.0.0-alpha.102",- "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.102.tgz",- "integrity": "sha512-5e/qAIP+DlkrZxIt/cwnDw/A3ii22WkoEoWKHyu4+oeGs3/1Flh7qLaN4h5EAIBB9TvTEZEUzvmsTInmIj6ghg==",+ "version": "5.0.0-alpha.107",+ "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.107.tgz",+ "integrity": "sha512-HX/BD8CSe+Y/dpbZ5aKJScJhKQ/Hw6du2yd68Upv2cO67bwixyZ64h3aNcdDu7RQzI7nrZQm0JykffP1Orgq0g==","requires": {- "@babel/runtime": "^7.19.0",+ "@babel/runtime": "^7.20.1","@emotion/is-prop-valid": "^1.2.0",- "@mui/types": "^7.2.0",- "@mui/utils": "^5.10.9",+ "@mui/types": "^7.2.1",+ "@mui/utils": "^5.10.15","@popperjs/core": "^2.11.6","clsx": "^1.2.1","prop-types": "^15.8.1",@@ -57913,9 +57881,9 @@}},"@mui/core-downloads-tracker": {- "version": "5.10.10",- "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.10.10.tgz",- "integrity": "sha512-aDuE2PNEh+hAndxEWlZgq7uiFPZKJtnkPDX7v6kSCrMXA32ZaQ6rZi5olmC7DUHt/BaOSxb7N/im/ss0XBkDhA=="+ "version": "5.10.16",+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.10.16.tgz",+ "integrity": "sha512-eK9+olw2ZbXX+vGrtKnN01/vLP1aX0Lq0xok35bqWM1aB93Dcmky/xPNf8h31oJ/C+IzJBjZaZMEDzVZg4Qc0A=="},"@mui/icons-material": {"version": "5.10.9",@@ -57938,36 +57906,19 @@"clsx": "^1.2.1","prop-types": "^15.8.1","react-is": "^18.2.0"- },- "dependencies": {- "@mui/base": {- "version": "5.0.0-alpha.107",- "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-alpha.107.tgz",- "integrity": "sha512-HX/BD8CSe+Y/dpbZ5aKJScJhKQ/Hw6du2yd68Upv2cO67bwixyZ64h3aNcdDu7RQzI7nrZQm0JykffP1Orgq0g==",- "requires": {- "@babel/runtime": "^7.20.1",- "@emotion/is-prop-valid": "^1.2.0",- "@mui/types": "^7.2.1",- "@mui/utils": "^5.10.15",- "@popperjs/core": "^2.11.6",- "clsx": "^1.2.1",- "prop-types": "^15.8.1",- "react-is": "^18.2.0"- }- }}},"@mui/material": {- "version": "5.10.10",- "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.10.10.tgz",- "integrity": "sha512-ioLvqY7VvcePz9dnEIRhpiVvtJmAFmvG6rtLXXzVdMmAVbSaelr5Io07mPz/mCyqE+Uv8/4EuJV276DWO7etzA==",- "requires": {- "@babel/runtime": "^7.19.0",- "@mui/base": "5.0.0-alpha.102",- "@mui/core-downloads-tracker": "^5.10.10",- "@mui/system": "^5.10.10",- "@mui/types": "^7.2.0",- "@mui/utils": "^5.10.9",+ "version": "5.10.15",+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.10.15.tgz",+ "integrity": "sha512-OqoHfUtVMppFHgk2M95j+pR8MWfLKhzSdz4aKEfIpFrHIHbYang+oY7Iy/exX+vqpZSEGHgHQ0cGX0hGTGx9cg==",+ "requires": {+ "@babel/runtime": "^7.20.1",+ "@mui/base": "5.0.0-alpha.107",+ "@mui/core-downloads-tracker": "^5.10.15",+ "@mui/system": "^5.10.15",+ "@mui/types": "^7.2.1",+ "@mui/utils": "^5.10.15","@types/react-transition-group": "^4.4.5","clsx": "^1.2.1","csstype": "^3.1.1",@@ -57998,15 +57949,15 @@}},"@mui/styles": {- "version": "5.10.10",- "resolved": "https://registry.npmjs.org/@mui/styles/-/styles-5.10.10.tgz",- "integrity": "sha512-utr87q/euocRdc2ekFX7DL1gqTVfogSVeu74Nspr8rtK/afC9QwF3ScP/XThVXWPcQKjBWHMKWtAO9BSVE4KDg==",+ "version": "5.10.15",+ "resolved": "https://registry.npmjs.org/@mui/styles/-/styles-5.10.15.tgz",+ "integrity": "sha512-q8OW8Cyq2C9wGJMcDWXYtFa7qgIIZPAZ15JShDQXBLvyib4qDop5wV3+olQoJdwU5ARjmfPd67IsbORWxG3abQ==","requires": {- "@babel/runtime": "^7.19.0",+ "@babel/runtime": "^7.20.1","@emotion/hash": "^0.9.0",- "@mui/private-theming": "^5.10.9",- "@mui/types": "^7.2.0",- "@mui/utils": "^5.10.9",+ "@mui/private-theming": "^5.10.15",+ "@mui/types": "^7.2.1",+ "@mui/utils": "^5.10.15","clsx": "^1.2.1","csstype": "^3.1.1","hoist-non-react-statics": "^3.3.2",diff --git a/package.json b/package.jsonindex 30d7791c4..ab67cf16e 100644--- a/package.json+++ b/package.json@@ -154,8 +154,8 @@"@gorillastack/jmespath": "^1.3.0","@mui/icons-material": "^5.8.4","@mui/lab": "^5.0.0-alpha.109",- "@mui/material": "^5.9.2",- "@mui/styles": "^5.9.2",+ "@mui/material": "5.10.15",+ "@mui/styles": "5.10.15","@mui/x-date-pickers": "^5.0.8","@tagspaces/tagspaces-md": "2.0.52","@tagspaces/tagspaces-platforms": "2.0.45",