tg-map-vue3 3.2.2 → 3.3.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/dist/src/components/TgMap.vue.d.ts +34 -22
- package/dist/src/components/TgMapWidget.vue.d.ts +1 -1
- package/dist/src/components/controls/TgCustomControl.vue.d.ts +2 -2
- package/dist/src/components/controls/TgMapTypeControl.vue.d.ts +2 -2
- package/dist/src/components/controls/TgScaleControl.vue.d.ts +2 -2
- package/dist/src/components/controls/TgZoomControl.vue.d.ts +1 -1
- package/dist/src/components/extra/TgMarkerClusterer.vue.d.ts +2 -2
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/components/layers/TgTrafficLayer.vue.d.ts +1 -1
- package/dist/src/components/map-mixin.d.ts +1 -1
- package/dist/src/components/overlays/TgCircle.vue.d.ts +2 -2
- package/dist/src/components/overlays/TgElementOverlay.vue.d.ts +2 -2
- package/dist/src/components/overlays/TgInfoBox.vue.d.ts +4 -4
- package/dist/src/components/overlays/TgInfoWindow.vue.d.ts +2 -2
- package/dist/src/components/overlays/TgLabel.vue.d.ts +2 -2
- package/dist/src/components/overlays/TgMarker.vue.d.ts +56 -18
- package/dist/src/components/overlays/TgPolygon.vue.d.ts +2 -2
- package/dist/src/components/overlays/TgPolyline.vue.d.ts +2 -2
- package/dist/tg-map.js +429 -436
- package/dist/tg-map.js.map +1 -1
- package/dist/tg-map.umd.cjs +5 -5
- package/dist/tg-map.umd.cjs.map +1 -1
- package/package.json +18 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tg-map-vue3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"author": "ipcjs",
|
|
5
5
|
"description": "封装 百度地图, Google地图, Here地图(未完成) 的Vue3组件库",
|
|
6
6
|
"keywords": [
|
|
@@ -35,17 +35,20 @@
|
|
|
35
35
|
"@types/baidumap-web-sdk": "0.0.7",
|
|
36
36
|
"@types/google.maps": "3.51.1",
|
|
37
37
|
"@types/heremaps": "3.0.14",
|
|
38
|
-
"vue": "^3.
|
|
38
|
+
"vue": "^3.3.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@google/markerclusterer": "2.0.3",
|
|
42
42
|
"@rushstack/eslint-patch": "^1.2.0",
|
|
43
|
+
"@tsconfig/node18": "^2.0.1",
|
|
44
|
+
"@types/jsdom": "^21.1.1",
|
|
43
45
|
"@types/node": "^18.14.2",
|
|
44
|
-
"@vitejs/plugin-vue": "^4.
|
|
45
|
-
"@vitejs/plugin-vue-jsx": "^3.0.
|
|
46
|
-
"@vue/eslint-config-typescript": "^11.0.
|
|
47
|
-
"@vue/runtime-dom": "^3.
|
|
48
|
-
"@vue/
|
|
46
|
+
"@vitejs/plugin-vue": "^4.2.3",
|
|
47
|
+
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
48
|
+
"@vue/eslint-config-typescript": "^11.0.3",
|
|
49
|
+
"@vue/runtime-dom": "^3.3.4",
|
|
50
|
+
"@vue/test-utils": "^2.3.2",
|
|
51
|
+
"@vue/tsconfig": "^0.4.0",
|
|
49
52
|
"bmaplib.markerclusterer": "git+https://github.com/xiaorongnie/BMapLib.MarkerClusterer.git#build",
|
|
50
53
|
"coordtransform": "git+https://github.com/TranscodeGroup/coordtransform.git",
|
|
51
54
|
"deepmerge": "^4.0.0",
|
|
@@ -54,18 +57,20 @@
|
|
|
54
57
|
"eslint-plugin-import": "^2.27.5",
|
|
55
58
|
"eslint-plugin-n": "^15.6.1",
|
|
56
59
|
"eslint-plugin-promise": "^6.1.1",
|
|
57
|
-
"eslint-plugin-vue": "^9.
|
|
60
|
+
"eslint-plugin-vue": "^9.14.1",
|
|
58
61
|
"husky": "^8.0.0",
|
|
59
62
|
"is-plain-object": "^3.0.0",
|
|
63
|
+
"jsdom": "^22.1.0",
|
|
60
64
|
"lint-staged": "^13.2.0",
|
|
61
65
|
"npm-run-all": "^4.1.5",
|
|
62
66
|
"npm-watch": "^0.11.0",
|
|
63
67
|
"sass": "^1.58.3",
|
|
64
|
-
"typescript": "^
|
|
65
|
-
"vite": "^4.
|
|
68
|
+
"typescript": "^5.0.4",
|
|
69
|
+
"vite": "^4.3.9",
|
|
66
70
|
"vite-plugin-css-injected-by-js": "3.1.0",
|
|
67
71
|
"vite-plugin-dts": "^2.1.0",
|
|
68
|
-
"
|
|
72
|
+
"vitest": "^0.31.1",
|
|
73
|
+
"vue-tsc": "^1.6.5"
|
|
69
74
|
},
|
|
70
75
|
"lint-staged": {
|
|
71
76
|
"*.{js,jsx,vue,ts,tsx}": "eslint",
|
|
@@ -76,9 +81,10 @@
|
|
|
76
81
|
"build": "npm-run-all -p type-check build-only -s type-gen",
|
|
77
82
|
"preview": "vite preview",
|
|
78
83
|
"build-only": "vite build",
|
|
79
|
-
"type-check": "vue-tsc --noEmit && echo",
|
|
84
|
+
"type-check": "vue-tsc --noEmit --project tsconfig.vitest.json --composite false && echo",
|
|
80
85
|
"type-gen": "vue-tsc --project tsconfig.types.json",
|
|
81
86
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
87
|
+
"test:unit": "vitest",
|
|
82
88
|
"build:watch": "NPM_WATCH_MODE=true npm-watch"
|
|
83
89
|
}
|
|
84
90
|
}
|