npm install blob-util

This commit is contained in:
Eric van der Vlist 2023-04-24 16:27:55 +02:00
parent 9beb1eb1a3
commit dd32763895
4 changed files with 10 additions and 0 deletions

6
package-lock.json generated
View File

@ -26,6 +26,7 @@
"@suid/icons-material": "^0.6.0", "@suid/icons-material": "^0.6.0",
"@suid/material": "^0.12.0", "@suid/material": "^0.12.0",
"@suid/vite-plugin": "^0.1.3", "@suid/vite-plugin": "^0.1.3",
"blob-util": "^2.0.2",
"com-darryncampbell-cordova-plugin-intent": "^2.2.0", "com-darryncampbell-cordova-plugin-intent": "^2.2.0",
"cordova-plugin-fullscreen": "^1.3.0", "cordova-plugin-fullscreen": "^1.3.0",
"isomorphic-xml2js": "^0.1.3", "isomorphic-xml2js": "^0.1.3",
@ -2658,6 +2659,11 @@
"node": ">=0.6" "node": ">=0.6"
} }
}, },
"node_modules/blob-util": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/blob-util/-/blob-util-2.0.2.tgz",
"integrity": "sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ=="
},
"node_modules/blueimp-md5": { "node_modules/blueimp-md5": {
"version": "2.19.0", "version": "2.19.0",
"resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz", "resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz",

View File

@ -49,6 +49,7 @@
"@suid/icons-material": "^0.6.0", "@suid/icons-material": "^0.6.0",
"@suid/material": "^0.12.0", "@suid/material": "^0.12.0",
"@suid/vite-plugin": "^0.1.3", "@suid/vite-plugin": "^0.1.3",
"blob-util": "^2.0.2",
"com-darryncampbell-cordova-plugin-intent": "^2.2.0", "com-darryncampbell-cordova-plugin-intent": "^2.2.0",
"cordova-plugin-fullscreen": "^1.3.0", "cordova-plugin-fullscreen": "^1.3.0",
"isomorphic-xml2js": "^0.1.3", "isomorphic-xml2js": "^0.1.3",

View File

@ -343,6 +343,7 @@ const ImportSingleFile: Component<Props> = ({ file: file }) => {
}} }}
coordinate={coordinate} coordinate={coordinate}
initialWpt={initialWpt} initialWpt={initialWpt}
imageUrl={picture()?.downsizedUrl}
/> />
</Show> </Show>
</Show> </Show>

View File

@ -41,6 +41,7 @@ interface Props {
open: () => boolean; open: () => boolean;
closeHandler?: () => void; closeHandler?: () => void;
initialWpt: () => Wpt; initialWpt: () => Wpt;
imageUrl?: string | undefined;
} }
const WptEditDialog: Component<Props> = (props) => { const WptEditDialog: Component<Props> = (props) => {
@ -50,6 +51,7 @@ const WptEditDialog: Component<Props> = (props) => {
open, open,
coordinate, coordinate,
initialWpt = () => emptyWpt, initialWpt = () => emptyWpt,
imageUrl,
} = props; } = props;
const [t, { add, locale, dict }] = useI18n(); const [t, { add, locale, dict }] = useI18n();