tg-map-vue3 3.8.9 → 3.9.0
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/README.md +8 -12
- package/dist/src/components/TgMap.vue.d.ts +33 -33
- package/dist/src/components/controls/TgCustomControl.vue.d.ts +1 -1
- package/dist/src/components/controls/TgMapTypeControl.vue.d.ts +6 -6
- package/dist/src/components/controls/TgScaleControl.vue.d.ts +3 -3
- package/dist/src/components/controls/TgStreetViewControl.vue.d.ts +3 -3
- package/dist/src/components/controls/TgZoomControl.vue.d.ts +3 -3
- package/dist/src/components/extra/TgHeatmap.vue.d.ts +2 -2
- package/dist/src/components/extra/TgMarkerClusterer.vue.d.ts +2 -2
- package/dist/src/components/index.d.ts +3 -5
- package/dist/src/components/overlays/TgCircle.vue.d.ts +12 -12
- package/dist/src/components/overlays/TgElementOverlay.vue.d.ts +4 -4
- package/dist/src/components/overlays/TgMarker.vue.d.ts +21 -21
- package/dist/src/components/overlays/TgPolygon.vue.d.ts +9 -9
- package/dist/src/components/overlays/TgPolyline.vue.d.ts +9 -9
- package/dist/src/components/overlays/TgRectangle.vue.d.ts +9 -9
- package/dist/src/map/lat-lng.d.ts +0 -3
- package/dist/src/map/map/controls/control.d.ts +0 -2
- package/dist/src/map/map/controls/map-type.control.d.ts +0 -1
- package/dist/src/map/map/controls/zoom.control.d.ts +0 -1
- package/dist/src/map/map/extra/autocomplete.d.ts +0 -1
- package/dist/src/map/map/extra/heatmap.d.ts +0 -1
- package/dist/src/map/map/extra/places-service.d.ts +0 -2
- package/dist/src/map/map/google-map.d.ts +0 -1
- package/dist/src/map/map/here-map.d.ts +0 -1
- package/dist/src/map/map/map-options.d.ts +0 -2
- package/dist/src/map/map/map-type.d.ts +0 -3
- package/dist/src/map/map/overlay/baidu-info-box.d.ts +1 -2
- package/dist/src/map/map/overlay/circle.d.ts +0 -2
- package/dist/src/map/map/overlay/element-overlay.d.ts +0 -2
- package/dist/src/map/map/overlay/google-label.d.ts +11 -12
- package/dist/src/map/map/overlay/icon.d.ts +0 -2
- package/dist/src/map/map/overlay/info-window.d.ts +0 -1
- package/dist/src/map/map/overlay/label.d.ts +0 -1
- package/dist/src/map/map/overlay/marker.d.ts +0 -1
- package/dist/src/map/map/overlay/polygon.d.ts +0 -2
- package/dist/src/map/map/overlay/polyline.d.ts +0 -3
- package/dist/src/map/map/overlay/rectangle.d.ts +0 -2
- package/dist/src/map/unions.d.ts +0 -5
- package/dist/src/utils/arrays.d.ts +1 -13
- package/dist/src/utils/google-utils.d.ts +0 -1
- package/dist/src/utils/mapped-types.d.ts +0 -7
- package/dist/src/utils/strings.d.ts +0 -5
- package/dist/src/utils/utils.d.ts +1 -8
- package/dist/tg-map.js +1468 -1289
- package/dist/tg-map.js.map +1 -1
- package/dist/tg-map.umd.cjs +7 -7
- package/dist/tg-map.umd.cjs.map +1 -1
- package/package.json +10 -5
- package/dist/src/utils/assert.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tg-map-vue3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"author": "ipcjs",
|
|
5
5
|
"description": "封装 百度地图, Google地图, Here地图(未完成) 的Vue3组件库",
|
|
6
6
|
"keywords": [
|
|
@@ -32,10 +32,15 @@
|
|
|
32
32
|
"watch": {
|
|
33
33
|
"build": "src/**/*.*"
|
|
34
34
|
},
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": "^18.0.0 || >=20.0.0",
|
|
37
|
+
"pnpm": "^9.15.9"
|
|
38
|
+
},
|
|
35
39
|
"dependencies": {
|
|
36
40
|
"@types/baidumap-web-sdk": "0.0.11",
|
|
37
41
|
"@types/google.maps": "3.51.1",
|
|
38
|
-
"@types/heremaps": "3.0.14"
|
|
42
|
+
"@types/heremaps": "3.0.14",
|
|
43
|
+
"tg-commons": "^1.0.3"
|
|
39
44
|
},
|
|
40
45
|
"peerDependencies": {
|
|
41
46
|
"vue": "^3.4.27"
|
|
@@ -53,7 +58,7 @@
|
|
|
53
58
|
"@vue/test-utils": "^2.4.6",
|
|
54
59
|
"@vue/tsconfig": "^0.5.1",
|
|
55
60
|
"bmaplib.heatmap": "git+https://github.com/TranscodeGroup/BMapLib.Heatmap#v2",
|
|
56
|
-
"bmaplib.markerclusterer": "git+https://github.com/TranscodeGroup/BMapLib.MarkerClusterer.git#
|
|
61
|
+
"bmaplib.markerclusterer": "git+https://github.com/TranscodeGroup/BMapLib.MarkerClusterer.git#e24e502c4e626a8e698ae3fcb17d0b3c31815f0f",
|
|
57
62
|
"coordtransform": "git+https://github.com/TranscodeGroup/coordtransform.git#fa1d037ed54bac0beddfd62d2c4c00f882b07004",
|
|
58
63
|
"csstype": "*",
|
|
59
64
|
"deepmerge": "^4.3.1",
|
|
@@ -70,11 +75,11 @@
|
|
|
70
75
|
"npm-run-all": "^4.1.5",
|
|
71
76
|
"npm-watch": "^0.13.0",
|
|
72
77
|
"sass": "^1.77.4",
|
|
73
|
-
"typescript": "
|
|
78
|
+
"typescript": "5.7.3",
|
|
74
79
|
"vite": "^5.2.12",
|
|
75
80
|
"vite-plugin-css-injected-by-js": "3.5.1",
|
|
76
81
|
"vitest": "^1.6.0",
|
|
77
|
-
"vue-tsc": "^2.
|
|
82
|
+
"vue-tsc": "^2.2.4"
|
|
78
83
|
},
|
|
79
84
|
"lint-staged": {
|
|
80
85
|
"*.{js,jsx,vue,ts,tsx}": "eslint",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* typescript 3.7 的新特性[Assertion Functions](https://github.com/microsoft/TypeScript/issues/33352)
|
|
3
|
-
* */
|
|
4
|
-
export declare function assert(condition: any, msg?: string): asserts condition;
|
|
5
|
-
/**
|
|
6
|
-
* 可以用来防止switch时少写case
|
|
7
|
-
* @see https://www.zhihu.com/question/354601204
|
|
8
|
-
*/
|
|
9
|
-
export declare function assertNever(x: never): never;
|