refactor: path's label viewed also line

This commit is contained in:
taDuc
2026-05-12 20:48:13 +07:00
parent 51f432f0fe
commit 72d7073c40
9 changed files with 161 additions and 153 deletions
+18
View File
@@ -28,6 +28,7 @@
"flatpickr": "^4.6.13",
"maplibre-gl": "^5.20.2",
"next": "^16.1.6",
"polylabel": "^2.0.1",
"react": "^19.2.0",
"react-apexcharts": "^1.8.0",
"react-dnd": "^16.0.1",
@@ -47,6 +48,7 @@
"@eslint/eslintrc": "^3.3.1",
"@svgr/webpack": "^8.1.0",
"@types/node": "^20.19.25",
"@types/polylabel": "^1.1.3",
"@types/react": "^19.2.1",
"@types/react-dom": "^19.2.1",
"@types/react-transition-group": "^4.4.12",
@@ -4139,6 +4141,13 @@
"undici-types": "~6.21.0"
}
},
"node_modules/@types/polylabel": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@types/polylabel/-/polylabel-1.1.3.tgz",
"integrity": "sha512-9Zw2KoDpi+T4PZz2G6pO2xArE0m/GSMTW1MIxF2s8ZY8x9XDO6fv9um0ydRGvcbkFLlaq8yNK6eZxnmMZtDgWQ==",
"dev": true,
"license": "MIT"
},
"node_modules/@types/react": {
"version": "19.2.14",
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz",
@@ -8724,6 +8733,15 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
"node_modules/polylabel": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/polylabel/-/polylabel-2.0.1.tgz",
"integrity": "sha512-B6Yu+Bdl/8SGtjVhyUfZzD3DwciCS9SPVtHiNdt8idHHatvTHp5Ss8XGDRmQFtfF1ZQnfK+Cj5dXdpkUXBbXgA==",
"license": "ISC",
"dependencies": {
"tinyqueue": "^3.0.0"
}
},
"node_modules/possible-typed-array-names": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",