@vtx/cs-map 1.0.6 → 1.0.7

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.
Files changed (46) hide show
  1. package/README.md +202 -202
  2. package/lib/_util/Provider.js +14 -0
  3. package/lib/_util/Provider.js.map +1 -0
  4. package/lib/_util/useProps.js +15 -0
  5. package/lib/_util/useProps.js.map +1 -0
  6. package/lib/feature-layer/FeatureLayer.js +3 -0
  7. package/lib/feature-layer/FeatureLayer.js.map +1 -1
  8. package/lib/feature-layer/index.js +15 -22
  9. package/lib/feature-layer/index.js.map +1 -1
  10. package/lib/image-layer/ImageLayer.js +87 -0
  11. package/lib/image-layer/ImageLayer.js.map +1 -0
  12. package/lib/image-layer/index.js +58 -0
  13. package/lib/image-layer/index.js.map +1 -0
  14. package/lib/image-layer/style/css.js +4 -0
  15. package/lib/image-layer/style/css.js.map +1 -0
  16. package/lib/image-layer/style/index.css +0 -0
  17. package/lib/image-layer/style/index.js +4 -0
  18. package/lib/image-layer/style/index.js.map +1 -0
  19. package/lib/image-layer/style/index.less +0 -0
  20. package/lib/index.js +7 -0
  21. package/lib/index.js.map +1 -1
  22. package/lib/map/InfoTool/index.css +55 -0
  23. package/lib/map/InfoTool/index.js +247 -0
  24. package/lib/map/InfoTool/index.js.map +1 -0
  25. package/lib/map/InfoTool/index.less +46 -0
  26. package/lib/map/InfoTool/util.js +113 -0
  27. package/lib/map/InfoTool/util.js.map +1 -0
  28. package/lib/map/InfoWindow.js +11 -6
  29. package/lib/map/InfoWindow.js.map +1 -1
  30. package/lib/map/Popup.js +127 -79
  31. package/lib/map/Popup.js.map +1 -1
  32. package/lib/map/index.js +238 -72
  33. package/lib/map/index.js.map +1 -1
  34. package/lib/map/style/index.css +61 -9
  35. package/lib/map/style/index.less +63 -8
  36. package/lib/marker/index.js +6 -4
  37. package/lib/marker/index.js.map +1 -1
  38. package/lib/point/index.js +6 -4
  39. package/lib/point/index.js.map +1 -1
  40. package/lib/polygon/index.js +6 -4
  41. package/lib/polygon/index.js.map +1 -1
  42. package/lib/polyline/index.js +6 -4
  43. package/lib/polyline/index.js.map +1 -1
  44. package/lib/renderer/index.js +1 -1
  45. package/lib/renderer/index.js.map +1 -1
  46. package/package.json +121 -121
package/package.json CHANGED
@@ -1,121 +1,121 @@
1
- {
2
- "name": "@vtx/cs-map",
3
- "version": "1.0.6",
4
- "description": "React components for Vortex",
5
- "keywords": [
6
- "react",
7
- "react-component"
8
- ],
9
- "files": [
10
- "lib"
11
- ],
12
- "main": "lib/index.js",
13
- "scripts": {
14
- "start": "dumi dev",
15
- "build": "dumi build",
16
- "compile": "gulp compile",
17
- "lint": "npm run lint:script && npm run lint:style",
18
- "lint:script": "eslint components --ext .js,.jsx",
19
- "lint:style": "stylelint components/**/*.less --syntax less",
20
- "fix": "eslint --fix --ext .js,.jsx components && npm run style:fix",
21
- "style:fix": "stylelint components/**/*.less --syntax less --fix",
22
- "prettier": "prettier -c --write **/*",
23
- "pretty-quick": "pretty-quick",
24
- "pub": "npm publish --access=public",
25
- "bump": "gulp bump --prerelease",
26
- "release": "release-it --no-npm.publish",
27
- "version": "npm run changelog && git add CHANGELOG.md",
28
- "changelog": "conventional-changelog -p custom-config -i CHANGELOG.md -s -r 0"
29
- },
30
- "repository": {
31
- "type": "git",
32
- "url": "https://git.cloudhw.cn:3443/front-end/maps/cs-map.git"
33
- },
34
- "license": "ISC",
35
- "bugs": {
36
- "url": "https://git.cloudhw.cn:3443/front-end/maps/cs-map/-/issues"
37
- },
38
- "homepage": "https://git.cloudhw.cn:3443/front-end/maps/cs-map.git",
39
- "husky": {
40
- "hooks": {
41
- "pre-commit": "npm run lint",
42
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
43
- }
44
- },
45
- "release-it": {
46
- "git": {
47
- "commitMessage": "chore: release v${version}"
48
- }
49
- },
50
- "changelog": {
51
- "emojis": true,
52
- "authorName": true
53
- },
54
- "dependencies": {
55
- "@ant-design/icons": "4.7.0",
56
- "@turf/turf": "^6.5.0",
57
- "@vtx/map-icon": "^1.0.1",
58
- "@vtx/utils": "latest",
59
- "ahooks": "^3.1.5",
60
- "antd": "4.20.5",
61
- "axios": "^0.21.1",
62
- "cesium": "1.90.0",
63
- "classnames": "^2.2.6",
64
- "html2canvas": "^1.4.1",
65
- "lodash": "^4.17.21",
66
- "moment": "^2.29.1",
67
- "ol": "6.15.1",
68
- "print-js": "^1.6.0",
69
- "prop-types": "^15.8.1",
70
- "rc-color-picker": "^1.2.6",
71
- "react-color": "^2.19.3"
72
- },
73
- "peerDependencies": {
74
- "react": ">=16.12.0",
75
- "react-dom": ">=16.12.0"
76
- },
77
- "devDependencies": {
78
- "@babel/cli": "^7.6.4",
79
- "@babel/core": "^7.6.4",
80
- "@babel/plugin-proposal-class-properties": "^7.5.5",
81
- "@babel/plugin-transform-runtime": "^7.6.2",
82
- "@babel/preset-env": "^7.6.3",
83
- "@babel/preset-react": "^7.6.3",
84
- "@babel/runtime": "^7.6.3",
85
- "@commitlint/cli": "^8.3.4",
86
- "@commitlint/config-conventional": "^8.3.4",
87
- "@umijs/plugin-locale": "^0.10.8",
88
- "babel-eslint": "^10.1.0",
89
- "babel-plugin-import": "^1.13.3",
90
- "conventional-changelog-cli": "^2.1.1",
91
- "conventional-changelog-custom-config": "^0.3.1",
92
- "dumi": "^1.0.10",
93
- "eslint": "^6.6.0",
94
- "eslint-plugin-react": "^7.21.5",
95
- "eslint-plugin-react-hooks": "^4.2.0",
96
- "gulp": "^4.0.2",
97
- "gulp-babel": "^8.0.0",
98
- "gulp-bump": "^3.1.3",
99
- "gulp-clean": "^0.4.0",
100
- "gulp-imagemin": "^7.1.0",
101
- "gulp-less": "5.0.0",
102
- "gulp-sourcemaps": "^2.6.5",
103
- "husky": "^4.0.7",
104
- "jquery": "^3.6.0",
105
- "less": "^3.10.3",
106
- "less-plugin-autoprefix": "^2.0.0",
107
- "less-plugin-npm-import": "^2.1.0",
108
- "merge2": "^1.3.0",
109
- "prettier": "^1.18.2",
110
- "pretty-quick": "^2.0.0",
111
- "release-it": "^14.6.1",
112
- "rimraf": "^3.0.0",
113
- "stylelint": "11.0.0",
114
- "stylelint-config-prettier": "^6.0.0",
115
- "stylelint-config-rational-order": "^0.1.2",
116
- "stylelint-config-standard": "^19.0.0",
117
- "stylelint-declaration-block-no-ignored-properties": "^2.1.0",
118
- "stylelint-order": "^3.0.0",
119
- "through2": "^3.0.1"
120
- }
121
- }
1
+ {
2
+ "name": "@vtx/cs-map",
3
+ "version": "1.0.7",
4
+ "description": "React components for Vortex",
5
+ "keywords": [
6
+ "react",
7
+ "react-component"
8
+ ],
9
+ "files": [
10
+ "lib"
11
+ ],
12
+ "main": "lib/index.js",
13
+ "scripts": {
14
+ "start": "dumi dev",
15
+ "build": "dumi build",
16
+ "compile": "gulp compile",
17
+ "lint": "npm run lint:script && npm run lint:style",
18
+ "lint:script": "eslint components --ext .js,.jsx",
19
+ "lint:style": "stylelint components/**/*.less --syntax less",
20
+ "fix": "eslint --fix --ext .js,.jsx components && npm run style:fix",
21
+ "style:fix": "stylelint components/**/*.less --syntax less --fix",
22
+ "prettier": "prettier -c --write **/*",
23
+ "pretty-quick": "pretty-quick",
24
+ "pub": "npm publish --access=public",
25
+ "bump": "gulp bump --prerelease",
26
+ "release": "release-it --no-npm.publish",
27
+ "version": "npm run changelog && git add CHANGELOG.md",
28
+ "changelog": "conventional-changelog -p custom-config -i CHANGELOG.md -s -r 0"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://git.cloudhw.cn:3443/front-end/maps/cs-map.git"
33
+ },
34
+ "license": "ISC",
35
+ "bugs": {
36
+ "url": "https://git.cloudhw.cn:3443/front-end/maps/cs-map/-/issues"
37
+ },
38
+ "homepage": "https://git.cloudhw.cn:3443/front-end/maps/cs-map.git",
39
+ "husky": {
40
+ "hooks": {
41
+ "pre-commit": "npm run lint",
42
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
43
+ }
44
+ },
45
+ "release-it": {
46
+ "git": {
47
+ "commitMessage": "chore: release v${version}"
48
+ }
49
+ },
50
+ "changelog": {
51
+ "emojis": true,
52
+ "authorName": true
53
+ },
54
+ "dependencies": {
55
+ "@ant-design/icons": "4.7.0",
56
+ "@turf/turf": "^6.5.0",
57
+ "@vtx/map-icon": "^1.0.9",
58
+ "@vtx/utils": "latest",
59
+ "ahooks": "^3.1.5",
60
+ "antd": "4.20.5",
61
+ "axios": "^0.21.1",
62
+ "cesium": "1.90.0",
63
+ "classnames": "^2.2.6",
64
+ "html2canvas": "^1.4.1",
65
+ "lodash": "^4.17.21",
66
+ "moment": "^2.29.1",
67
+ "ol": "6.15.1",
68
+ "print-js": "^1.6.0",
69
+ "prop-types": "^15.8.1",
70
+ "rc-color-picker": "^1.2.6",
71
+ "react-color": "^2.19.3"
72
+ },
73
+ "peerDependencies": {
74
+ "react": ">=16.12.0",
75
+ "react-dom": ">=16.12.0"
76
+ },
77
+ "devDependencies": {
78
+ "@babel/cli": "^7.6.4",
79
+ "@babel/core": "^7.6.4",
80
+ "@babel/plugin-proposal-class-properties": "^7.5.5",
81
+ "@babel/plugin-transform-runtime": "^7.6.2",
82
+ "@babel/preset-env": "^7.6.3",
83
+ "@babel/preset-react": "^7.6.3",
84
+ "@babel/runtime": "^7.6.3",
85
+ "@commitlint/cli": "^8.3.4",
86
+ "@commitlint/config-conventional": "^8.3.4",
87
+ "@umijs/plugin-locale": "^0.10.8",
88
+ "babel-eslint": "^10.1.0",
89
+ "babel-plugin-import": "^1.13.3",
90
+ "conventional-changelog-cli": "^2.1.1",
91
+ "conventional-changelog-custom-config": "^0.3.1",
92
+ "dumi": "^1.0.10",
93
+ "eslint": "^6.6.0",
94
+ "eslint-plugin-react": "^7.21.5",
95
+ "eslint-plugin-react-hooks": "^4.2.0",
96
+ "gulp": "^4.0.2",
97
+ "gulp-babel": "^8.0.0",
98
+ "gulp-bump": "^3.1.3",
99
+ "gulp-clean": "^0.4.0",
100
+ "gulp-imagemin": "^7.1.0",
101
+ "gulp-less": "5.0.0",
102
+ "gulp-sourcemaps": "^2.6.5",
103
+ "husky": "^4.0.7",
104
+ "jquery": "^3.6.0",
105
+ "less": "^3.10.3",
106
+ "less-plugin-autoprefix": "^2.0.0",
107
+ "less-plugin-npm-import": "^2.1.0",
108
+ "merge2": "^1.3.0",
109
+ "prettier": "^1.18.2",
110
+ "pretty-quick": "^2.0.0",
111
+ "release-it": "^14.6.1",
112
+ "rimraf": "^3.0.0",
113
+ "stylelint": "11.0.0",
114
+ "stylelint-config-prettier": "^6.0.0",
115
+ "stylelint-config-rational-order": "^0.1.2",
116
+ "stylelint-config-standard": "^19.0.0",
117
+ "stylelint-declaration-block-no-ignored-properties": "^2.1.0",
118
+ "stylelint-order": "^3.0.0",
119
+ "through2": "^3.0.1"
120
+ }
121
+ }