tg-map-vue3 3.9.7 → 3.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/dist/src/components/TgMap.vue.d.ts +505 -38
- package/dist/src/components/TgMapWidget.vue.d.ts +4 -4
- package/dist/src/components/controls/TgCustomControl.vue.d.ts +6 -6
- package/dist/src/components/controls/TgMapTypeControl.vue.d.ts +13 -13
- package/dist/src/components/controls/TgScaleControl.vue.d.ts +9 -9
- package/dist/src/components/controls/TgStreetViewControl.vue.d.ts +7 -7
- package/dist/src/components/controls/TgZoomControl.vue.d.ts +7 -7
- package/dist/src/components/extra/TgHeatmap.vue.d.ts +5 -5
- package/dist/src/components/extra/TgMarkerClusterer.vue.d.ts +7 -7
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/layers/TgTrafficLayer.vue.d.ts +1 -1
- package/dist/src/components/map-hooks.d.ts +1 -1
- package/dist/src/components/map-mixin.d.ts +1 -1
- package/dist/src/components/overlays/TgCircle.vue.d.ts +18 -18
- package/dist/src/components/overlays/TgElementOverlay.vue.d.ts +9 -9
- package/dist/src/components/overlays/TgInfoBox.vue.d.ts +19 -45
- package/dist/src/components/overlays/TgInfoWindow.vue.d.ts +24 -40
- package/dist/src/components/overlays/TgLabel.vue.d.ts +7 -7
- package/dist/src/components/overlays/TgMarker.vue.d.ts +65 -193
- package/dist/src/components/overlays/TgPolygon.vue.d.ts +45 -70
- package/dist/src/components/overlays/TgPolyline.vue.d.ts +15 -15
- package/dist/src/components/overlays/TgRectangle.vue.d.ts +45 -70
- package/dist/src/map/map/overlay/icon.d.ts +13 -13
- package/dist/src/utils/mapped-types.d.ts +2 -2
- package/dist/src/utils/maps-utils/index.d.ts +2 -0
- package/dist/src/utils/maps-utils/math-util.d.ts +59 -0
- package/dist/src/utils/maps-utils/poly-util.d.ts +103 -0
- package/dist/src/utils/maps-utils/spherical-util.d.ts +67 -0
- package/dist/src/utils/spherical-utils.d.ts +8 -1
- package/dist/tg-map.cjs +7 -7
- package/dist/tg-map.cjs.map +1 -1
- package/dist/tg-map.js +2628 -2303
- package/dist/tg-map.js.map +1 -1
- package/package.json +31 -33
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tg-map-vue3",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.9",
|
|
4
4
|
"author": "ipcjs",
|
|
5
5
|
"description": "封装 百度地图, Google地图, Here地图(未完成) 的Vue3组件库",
|
|
6
6
|
"keywords": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": "^18.0.0 || >=20.0.0",
|
|
38
|
-
"pnpm": "^
|
|
38
|
+
"pnpm": "^10.12.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@types/baidumap-web-sdk": "0.0.11",
|
|
@@ -44,43 +44,41 @@
|
|
|
44
44
|
"tg-commons": "^1.2.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"vue": "^3.
|
|
47
|
+
"vue": "^3.5.16"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@google/markerclusterer": "2.0.9",
|
|
51
|
-
"@
|
|
52
|
-
"@tsconfig/node18": "^2.0.1",
|
|
51
|
+
"@tsconfig/node20": "^20.1.5",
|
|
53
52
|
"@types/jsdom": "^21.1.7",
|
|
54
|
-
"@types/node": "^
|
|
55
|
-
"@vitejs/plugin-vue": "^5.
|
|
56
|
-
"@vitejs/plugin-vue-jsx": "^4.
|
|
57
|
-
"@
|
|
58
|
-
"@vue/
|
|
53
|
+
"@types/node": "^20.19.0",
|
|
54
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
55
|
+
"@vitejs/plugin-vue-jsx": "^4.2.0",
|
|
56
|
+
"@vitest/eslint-plugin": "^1.2.2",
|
|
57
|
+
"@vue/eslint-config-standard-with-typescript": "^9.2.0",
|
|
58
|
+
"@vue/eslint-config-typescript": "^14.5.0",
|
|
59
59
|
"@vue/test-utils": "^2.4.6",
|
|
60
|
-
"@vue/tsconfig": "^0.
|
|
61
|
-
"bmaplib.heatmap": "
|
|
62
|
-
"bmaplib.markerclusterer": "
|
|
63
|
-
"coordtransform": "
|
|
64
|
-
"csstype": "
|
|
60
|
+
"@vue/tsconfig": "^0.7.0",
|
|
61
|
+
"bmaplib.heatmap": "github:TranscodeGroup/BMapLib.Heatmap#v2",
|
|
62
|
+
"bmaplib.markerclusterer": "github:TranscodeGroup/BMapLib.MarkerClusterer#e24e502c4e626a8e698ae3fcb17d0b3c31815f0f",
|
|
63
|
+
"coordtransform": "github:TranscodeGroup/coordtransform#fa1d037ed54bac0beddfd62d2c4c00f882b07004",
|
|
64
|
+
"csstype": "^3.1.3",
|
|
65
65
|
"deepmerge": "^4.3.1",
|
|
66
|
-
"eslint": "^
|
|
67
|
-
"eslint-
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"jsdom": "^22.1.0",
|
|
75
|
-
"lint-staged": "^15.2.5",
|
|
76
|
-
"npm-run-all": "^4.1.5",
|
|
66
|
+
"eslint": "^9.28.0",
|
|
67
|
+
"eslint-plugin-vue": "~10.2.0",
|
|
68
|
+
"husky": "^9.1.7",
|
|
69
|
+
"is-plain-object": "3.0.1",
|
|
70
|
+
"jiti": "^2.4.2",
|
|
71
|
+
"jsdom": "^26.1.0",
|
|
72
|
+
"lint-staged": "^16.1.0",
|
|
73
|
+
"npm-run-all2": "^8.0.4",
|
|
77
74
|
"npm-watch": "^0.13.0",
|
|
78
|
-
"sass": "^1.
|
|
79
|
-
"typescript": "5.
|
|
80
|
-
"vite": "^
|
|
81
|
-
"vite-plugin-css-injected-by-js": "3.5.
|
|
82
|
-
"
|
|
83
|
-
"
|
|
75
|
+
"sass": "^1.89.2",
|
|
76
|
+
"typescript": "~5.8.3",
|
|
77
|
+
"vite": "^6.3.5",
|
|
78
|
+
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
79
|
+
"vite-plugin-vue-devtools": "^7.7.6",
|
|
80
|
+
"vitest": "^3.2.3",
|
|
81
|
+
"vue-tsc": "^2.2.10"
|
|
84
82
|
},
|
|
85
83
|
"lint-staged": {
|
|
86
84
|
"*.{js,jsx,vue,ts,tsx}": "eslint",
|
|
@@ -94,7 +92,7 @@
|
|
|
94
92
|
"build-watch": "vite build --watch",
|
|
95
93
|
"type-check": "vue-tsc --noEmit --project tsconfig.vitest.json --composite false && echo",
|
|
96
94
|
"type-gen": "vue-tsc --project tsconfig.types.json",
|
|
97
|
-
"lint": "eslint . --
|
|
95
|
+
"lint": "eslint . --fix",
|
|
98
96
|
"test:unit": "vitest",
|
|
99
97
|
"build:watch": "NPM_WATCH_MODE=true npm-watch",
|
|
100
98
|
"preview:watch": "LIB_MODE=false run-p preview build-watch"
|