- Added @mapbox/mapbox-gl-draw dependency to package.json. - Enhanced LocationForm.vue to support geofence drawing and editing using Mapbox GL Draw. - Implemented functions for creating, updating, and syncing geofences with the map. - Updated types for geofence handling in locations.interfaces.ts. - Refactored coordinate parsing and formatting logic for better clarity and functionality. - Improved UI components in Locations.vue for better user experience and interaction.
36 lines
881 B
JSON
36 lines
881 B
JSON
{
|
|
"name": "golscontros-frontend-v1",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc -b && vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@mapbox/mapbox-gl-draw": "^1.5.1",
|
|
"@primeuix/themes": "^1.2.5",
|
|
"@primevue/auto-import-resolver": "^4.4.1",
|
|
"@tailwindcss/vite": "^4.1.16",
|
|
"@vueuse/core": "^14.0.0",
|
|
"axios": "^1.13.2",
|
|
"mapbox-gl": "^3.15.0",
|
|
"pinia": "^3.0.4",
|
|
"primeicons": "^7.0.0",
|
|
"primevue": "^4.4.1",
|
|
"tailwindcss-primeui": "^0.6.1",
|
|
"unplugin-vue-components": "^30.0.0",
|
|
"vue": "^3.5.22",
|
|
"vue-router": "^4.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.6.0",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vue/tsconfig": "^0.8.1",
|
|
"typescript": "~5.9.3",
|
|
"vite": "^7.1.7",
|
|
"vue-tsc": "^3.2.6"
|
|
}
|
|
}
|