diff --git a/.codex b/.codex new file mode 100644 index 0000000..e69de29 diff --git a/package-lock.json b/package-lock.json index 653a781..c095fe8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "leaflet-extra-markers": "^2.0.1", "leaflet-geosearch": "^4.2.2", "leaflet-routing-machine": "^3.2.12", + "leaflet.locatecontrol": "^0.90.0", "openrouteservice-js": "^0.4.1", "pinia": "^3.0.4", "quasar": "^2.19.3", @@ -33,6 +34,7 @@ "@quasar/app-vite": "^2.6.0", "@types/leaflet": "^1.9.21", "@types/leaflet-contextmenu": "^1.4.4", + "@types/leaflet-draw": "^1.0.13", "@types/node": "^20.5.9", "@vue/eslint-config-prettier": "^10.1.0", "@vue/eslint-config-typescript": "^14.4.0", @@ -2808,6 +2810,16 @@ "@types/leaflet": "^1.9" } }, + "node_modules/@types/leaflet-draw": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/@types/leaflet-draw/-/leaflet-draw-1.0.13.tgz", + "integrity": "sha512-YU82kilOaU+wPNbqKCCDfHH3hqepN6XilrBwG/mSeZ/z4ewumaRCOah44s3FMxSu/Aa0SVa3PPJvhIZDUA09mw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/leaflet": "^1.9" + } + }, "node_modules/@types/node": { "version": "20.19.35", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.35.tgz", @@ -6391,6 +6403,15 @@ "osrm-text-instructions": "^0.13.2" } }, + "node_modules/leaflet.locatecontrol": { + "version": "0.90.0", + "resolved": "https://registry.npmjs.org/leaflet.locatecontrol/-/leaflet.locatecontrol-0.90.0.tgz", + "integrity": "sha512-yzgKyOXVRgALmo38ZhPf+2QgYE3pA/rrVSE0CyZhsSAzlnwPTZ1sfZLOFXTH20XLNNw1SX7AuMRLu0LZkWNakg==", + "license": "MIT", + "peerDependencies": { + "leaflet": "^1.9.0 || >=2.0.0-alpha.1" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", diff --git a/package.json b/package.json index 0e359b7..e31b2ed 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "leaflet-extra-markers": "^2.0.1", "leaflet-geosearch": "^4.2.2", "leaflet-routing-machine": "^3.2.12", + "leaflet.locatecontrol": "^0.90.0", "openrouteservice-js": "^0.4.1", "pinia": "^3.0.4", "quasar": "^2.19.3", @@ -39,6 +40,7 @@ "@quasar/app-vite": "^2.6.0", "@types/leaflet": "^1.9.21", "@types/leaflet-contextmenu": "^1.4.4", + "@types/leaflet-draw": "^1.0.13", "@types/node": "^20.5.9", "@vue/eslint-config-prettier": "^10.1.0", "@vue/eslint-config-typescript": "^14.4.0", diff --git a/public/icons.svg b/public/icons.svg index e69de29..dce0bc8 100644 --- a/public/icons.svg +++ b/public/icons.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/quasar.config.ts b/quasar.config.ts index cb0dc58..256726a 100644 --- a/quasar.config.ts +++ b/quasar.config.ts @@ -21,20 +21,21 @@ export default defineConfig((/* ctx */) => { extras: [ // 'ionicons-v4', 'mdi-v7', - // 'fontawesome-v6', + 'fontawesome-v6', // 'eva-icons', // 'themify', // 'line-awesome', // 'roboto-font-latin-ext', // this or either 'roboto-font', NEVER both! - // 'roboto-font', // optional, you are not bound to it - // 'material-icons', // optional, you are not bound to it + // 'roboto-font', // optional, you are not bound to it + // 'material-icons', // optional, you are not bound to it ], // Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#build build: { alias: { constants: fileURLToPath(new URL('./src/constants', import.meta.url)), + composables: fileURLToPath(new URL('./src/composables', import.meta.url)), functions: fileURLToPath(new URL('./src/functions', import.meta.url)), types: fileURLToPath(new URL('./src/types', import.meta.url)), }, @@ -90,9 +91,6 @@ export default defineConfig((/* ctx */) => { }, }, server: { - hmr: { - // overlay: false, - }, allowedHosts: ['localhost', 'strixx.famor.org', 'simloc.strixx.intrepidnet.org'], }, }; @@ -104,7 +102,8 @@ export default defineConfig((/* ctx */) => { { vueTsc: true, eslint: { - lintCommand: 'eslint -c ./eslint.config.js "./src*/**/*.{ts,js,mjs,cjs,vue}"', + lintCommand: + './node_modules/.bin/eslint -c ./eslint.config.js "./src*/**/*.{ts,js,mjs,cjs,vue}"', useFlatConfig: true, }, overlay: false, @@ -128,6 +127,7 @@ export default defineConfig((/* ctx */) => { }, '/socket.io': { target: 'http://localhost:49151', // Your backend WebSocket server +// target: '10.8.28.6:80', secure: false, // Set to true if using wss:// ws: true, // Enable WebSocket proxying rewriteWsOrigin: true, @@ -163,11 +163,11 @@ export default defineConfig((/* ctx */) => { // directives: [], // Quasar plugins - plugins: ['Dialog', 'Notify'], + plugins: ['Dialog', 'Notify', 'Meta'], }, // animations: 'all', // --- includes all animations // https://v2.quasar.dev/options/animations - animations: ['slideInLeft', 'slideOutLeft', 'slideOutRight'], + animations: ['slideInLeft', 'slideOutLeft', 'slideOutRight', 'slideInRight'], // https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#sourcefiles // sourceFiles: {