@vortex-ui/env-puzzle 2.0.0-beta.9 → 3.0.0-beta.1

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 (216) hide show
  1. package/README.md +46 -46
  2. package/lib/b-map/b-map.d.ts +1 -1
  3. package/lib/b-map/b-map.js +100 -162
  4. package/lib/b-map/b-map.js.map +1 -1
  5. package/lib/b-map/custom-overlay.js +17 -37
  6. package/lib/b-map/custom-overlay.js.map +1 -1
  7. package/lib/b-map/drawing.js +11 -25
  8. package/lib/b-map/drawing.js.map +1 -1
  9. package/lib/b-map/index.d.ts +2 -2
  10. package/lib/b-map/index.js +4 -16
  11. package/lib/b-map/index.js.map +1 -1
  12. package/lib/b-map/js/marker-clusterer.js +223 -339
  13. package/lib/b-map/js/marker-clusterer.js.map +1 -1
  14. package/lib/b-map/lushu.js +17 -36
  15. package/lib/b-map/lushu.js.map +1 -1
  16. package/lib/b-map/marker-clusterer.js +6 -14
  17. package/lib/b-map/marker-clusterer.js.map +1 -1
  18. package/lib/b-map/marker.js +32 -70
  19. package/lib/b-map/marker.js.map +1 -1
  20. package/lib/b-map/polygon.js +5 -13
  21. package/lib/b-map/polygon.js.map +1 -1
  22. package/lib/b-map/style/css.js.map +1 -1
  23. package/lib/b-map/style/index.js.map +1 -1
  24. package/lib/b-map/style/index.less +10 -10
  25. package/lib/create-modal/create-modal.js +150 -288
  26. package/lib/create-modal/create-modal.js.map +1 -1
  27. package/lib/create-modal/index.d.ts +1 -2
  28. package/lib/create-modal/index.js +2 -8
  29. package/lib/create-modal/index.js.map +1 -1
  30. package/lib/create-modal/style/css.js +0 -18
  31. package/lib/create-modal/style/css.js.map +1 -1
  32. package/lib/create-modal/style/index.css +2 -2
  33. package/lib/create-modal/style/index.d.ts +0 -9
  34. package/lib/create-modal/style/index.js +0 -18
  35. package/lib/create-modal/style/index.js.map +1 -1
  36. package/lib/create-modal/style/index.less +116 -119
  37. package/lib/global.less +5 -6
  38. package/lib/import-modal/import-modal.d.ts +2 -0
  39. package/lib/import-modal/import-modal.js +133 -192
  40. package/lib/import-modal/import-modal.js.map +1 -1
  41. package/lib/import-modal/index.js +2 -6
  42. package/lib/import-modal/index.js.map +1 -1
  43. package/lib/import-modal/style/css.js +0 -10
  44. package/lib/import-modal/style/css.js.map +1 -1
  45. package/lib/import-modal/style/index.d.ts +0 -5
  46. package/lib/import-modal/style/index.js +0 -10
  47. package/lib/import-modal/style/index.js.map +1 -1
  48. package/lib/import-modal/style/index.less +14 -15
  49. package/lib/index.js +1 -14
  50. package/lib/index.js.map +1 -1
  51. package/lib/interface/index.js.map +1 -1
  52. package/lib/mapv-Layer/Function.js +0 -2
  53. package/lib/mapv-Layer/Function.js.map +1 -1
  54. package/lib/mapv-Layer/index.js +2 -6
  55. package/lib/mapv-Layer/index.js.map +1 -1
  56. package/lib/mapv-Layer/mapv-Layer.js +19 -40
  57. package/lib/mapv-Layer/mapv-Layer.js.map +1 -1
  58. package/lib/mapv-Layer/style/css.js.map +1 -1
  59. package/lib/mapv-Layer/style/index.js.map +1 -1
  60. package/lib/percent/index.d.ts +1 -1
  61. package/lib/percent/index.js +2 -7
  62. package/lib/percent/index.js.map +1 -1
  63. package/lib/percent/interface.js.map +1 -1
  64. package/lib/percent/line-percent.js +20 -37
  65. package/lib/percent/line-percent.js.map +1 -1
  66. package/lib/percent/percent.js +20 -43
  67. package/lib/percent/percent.js.map +1 -1
  68. package/lib/percent/style/css.js.map +1 -1
  69. package/lib/percent/style/index.js.map +1 -1
  70. package/lib/percent/style/index.less +41 -41
  71. package/lib/scroll/index.js +2 -6
  72. package/lib/scroll/index.js.map +1 -1
  73. package/lib/scroll/scroll.d.ts +1 -1
  74. package/lib/scroll/scroll.js +19 -47
  75. package/lib/scroll/scroll.js.map +1 -1
  76. package/lib/scroll/style/css.js.map +1 -1
  77. package/lib/scroll/style/index.js.map +1 -1
  78. package/lib/scroll/style/index.less +3 -3
  79. package/lib/scroll-select/index.js +2 -6
  80. package/lib/scroll-select/index.js.map +1 -1
  81. package/lib/scroll-select/scrollSelect.d.ts +2 -1
  82. package/lib/scroll-select/scrollSelect.js +141 -215
  83. package/lib/scroll-select/scrollSelect.js.map +1 -1
  84. package/lib/scroll-select/style/css.js +0 -2
  85. package/lib/scroll-select/style/css.js.map +1 -1
  86. package/lib/scroll-select/style/index.d.ts +0 -1
  87. package/lib/scroll-select/style/index.js +0 -2
  88. package/lib/scroll-select/style/index.js.map +1 -1
  89. package/lib/scroll-select/style/index.less +7 -7
  90. package/lib/style/color.less +1 -1
  91. package/lib/table/index.js +2 -6
  92. package/lib/table/index.js.map +1 -1
  93. package/lib/table/style/css.js +0 -2
  94. package/lib/table/style/css.js.map +1 -1
  95. package/lib/table/style/index.d.ts +0 -1
  96. package/lib/table/style/index.js +0 -2
  97. package/lib/table/style/index.js.map +1 -1
  98. package/lib/table/table.js +22 -54
  99. package/lib/table/table.js.map +1 -1
  100. package/lib/template/action.d.ts +3 -1
  101. package/lib/template/action.js +80 -116
  102. package/lib/template/action.js.map +1 -1
  103. package/lib/template/card-table.d.ts +4 -4
  104. package/lib/template/card-table.js +40 -82
  105. package/lib/template/card-table.js.map +1 -1
  106. package/lib/template/card.d.ts +1 -1
  107. package/lib/template/card.js +20 -38
  108. package/lib/template/card.js.map +1 -1
  109. package/lib/template/check-row.d.ts +2 -1
  110. package/lib/template/check-row.js +7 -12
  111. package/lib/template/check-row.js.map +1 -1
  112. package/lib/template/field.js +8 -24
  113. package/lib/template/field.js.map +1 -1
  114. package/lib/template/filter.d.ts +0 -1
  115. package/lib/template/filter.js +25 -63
  116. package/lib/template/filter.js.map +1 -1
  117. package/lib/template/icon.js +4 -15
  118. package/lib/template/icon.js.map +1 -1
  119. package/lib/template/index.d.ts +2 -3
  120. package/lib/template/index.js +4 -12
  121. package/lib/template/index.js.map +1 -1
  122. package/lib/template/interface.js.map +1 -1
  123. package/lib/template/renderColumnButtons.js +64 -95
  124. package/lib/template/renderColumnButtons.js.map +1 -1
  125. package/lib/template/style/action.css +3 -2
  126. package/lib/template/style/action.less +74 -71
  127. package/lib/template/style/card.css +2 -2
  128. package/lib/template/style/card.less +87 -88
  129. package/lib/template/style/check-row.less +27 -27
  130. package/lib/template/style/css.js +0 -36
  131. package/lib/template/style/css.js.map +1 -1
  132. package/lib/template/style/field.less +11 -11
  133. package/lib/template/style/filter.css +0 -29
  134. package/lib/template/style/filter.less +46 -72
  135. package/lib/template/style/icon.less +7 -7
  136. package/lib/template/style/index.css +8 -42
  137. package/lib/template/style/index.d.ts +0 -18
  138. package/lib/template/style/index.js +0 -36
  139. package/lib/template/style/index.js.map +1 -1
  140. package/lib/template/style/index.less +48 -49
  141. package/lib/template/style/table.css +0 -6
  142. package/lib/template/style/table.less +79 -91
  143. package/lib/template/table.d.ts +5 -4
  144. package/lib/template/table.js +21 -43
  145. package/lib/template/table.js.map +1 -1
  146. package/lib/template/template.d.ts +3 -3
  147. package/lib/template/template.js +134 -258
  148. package/lib/template/template.js.map +1 -1
  149. package/lib/template/toolbar.d.ts +1 -1
  150. package/lib/template/toolbar.js +52 -56
  151. package/lib/template/toolbar.js.map +1 -1
  152. package/lib/to-map/container.js +48 -95
  153. package/lib/to-map/container.js.map +1 -1
  154. package/lib/to-map/draw-area.js +12 -32
  155. package/lib/to-map/draw-area.js.map +1 -1
  156. package/lib/to-map/index.d.ts +1 -1
  157. package/lib/to-map/index.js +2 -7
  158. package/lib/to-map/index.js.map +1 -1
  159. package/lib/to-map/style/css.js +0 -2
  160. package/lib/to-map/style/css.js.map +1 -1
  161. package/lib/to-map/style/index.d.ts +0 -1
  162. package/lib/to-map/style/index.js +0 -2
  163. package/lib/to-map/style/index.js.map +1 -1
  164. package/lib/to-map/style/index.less +86 -86
  165. package/lib/to-map/to-map.js +20 -47
  166. package/lib/to-map/to-map.js.map +1 -1
  167. package/lib/upload/index.js +2 -6
  168. package/lib/upload/index.js.map +1 -1
  169. package/lib/upload/style/css.js +0 -5
  170. package/lib/upload/style/css.js.map +1 -1
  171. package/lib/upload/style/index.d.ts +0 -2
  172. package/lib/upload/style/index.js +0 -5
  173. package/lib/upload/style/index.js.map +1 -1
  174. package/lib/upload/upload.d.ts +3 -0
  175. package/lib/upload/upload.js +158 -237
  176. package/lib/upload/upload.js.map +1 -1
  177. package/lib/use-simple-res/demos/index.d.ts +2 -1
  178. package/lib/use-simple-res/demos/index.js +31 -59
  179. package/lib/use-simple-res/demos/index.js.map +1 -1
  180. package/lib/use-simple-res/index.js +60 -73
  181. package/lib/use-simple-res/index.js.map +1 -1
  182. package/lib/use-simple-res/style/css.js.map +1 -1
  183. package/lib/use-simple-res/style/index.js.map +1 -1
  184. package/lib/utils/dom-util.js +8 -27
  185. package/lib/utils/dom-util.js.map +1 -1
  186. package/lib/utils/request-util.d.ts +10 -1
  187. package/lib/utils/request-util.js +170 -45
  188. package/lib/utils/request-util.js.map +1 -1
  189. package/lib/utils/string-util.d.ts +2 -0
  190. package/lib/utils/string-util.js +34 -16
  191. package/lib/utils/string-util.js.map +1 -1
  192. package/lib/view-modal/index.d.ts +0 -1
  193. package/lib/view-modal/index.js +2 -8
  194. package/lib/view-modal/index.js.map +1 -1
  195. package/lib/view-modal/style/css.js +0 -12
  196. package/lib/view-modal/style/css.js.map +1 -1
  197. package/lib/view-modal/style/index.css +3 -41
  198. package/lib/view-modal/style/index.d.ts +0 -7
  199. package/lib/view-modal/style/index.js +0 -12
  200. package/lib/view-modal/style/index.js.map +1 -1
  201. package/lib/view-modal/style/index.less +42 -57
  202. package/lib/view-modal/view-modal.js +28 -75
  203. package/lib/view-modal/view-modal.js.map +1 -1
  204. package/package.json +157 -143
  205. package/lib/style/css.js +0 -13
  206. package/lib/style/css.js.map +0 -1
  207. package/lib/style/darkGreen.css +0 -719
  208. package/lib/style/darkGreen.less +0 -482
  209. package/lib/style/index.d.ts +0 -2
  210. package/lib/style/index.js +0 -13
  211. package/lib/style/index.js.map +0 -1
  212. package/lib/template/vtx-search/index.d.ts +0 -2
  213. package/lib/template/vtx-search/index.js +0 -126
  214. package/lib/template/vtx-search/index.js.map +0 -1
  215. package/lib/template/vtx-search/style/index.css +0 -92
  216. package/lib/template/vtx-search/style/index.less +0 -92
package/package.json CHANGED
@@ -1,143 +1,157 @@
1
- {
2
- "name": "@vortex-ui/env-puzzle",
3
- "version": "2.0.0-beta.9",
4
- "main": "lib/index.js",
5
- "description": "Envcloud frontend accumulation",
6
- "author": {
7
- "name": "FireBushtree"
8
- },
9
- "scripts": {
10
- "start": "dumi dev",
11
- "docs:build": "dumi build",
12
- "commit": "git-cz",
13
- "build1": "node script/build.js && gulp less copyJs",
14
- "build": "gulp compile",
15
- "prettier": "prettier -c --write **/*",
16
- "pretty-quick": "pretty-quick",
17
- "lint": "npm run pretty-quick && eslint --ext .js,.jsx,.ts,.tsx src --fix",
18
- "lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx src",
19
- "test": "jest",
20
- "test:watch": "jest --watch",
21
- "test:coverage": "jest --coverage",
22
- "test:update": "jest --updateSnapshot"
23
- },
24
- "husky": {
25
- "hooks": {
26
- "pre-commit": "npm run lint",
27
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
28
- }
29
- },
30
- "repository": "ssh://git@222.92.25.98:8001/common-menu/vortex-ui/ljfl-cg.git",
31
- "config": {
32
- "commitizen": {
33
- "path": "node_modules/cz-conventional-changelog"
34
- }
35
- },
36
- "peerDependencies": {
37
- "@ant-design/icons": ">=4.5.0",
38
- "@vtx/components": "^3.0.2",
39
- "ahooks": ">=2.9.6",
40
- "axios": ">=0.21.1",
41
- "react": ">=16.9.0",
42
- "react-dom": ">=16.9.0"
43
- },
44
- "files": [
45
- "lib",
46
- "es"
47
- ],
48
- "keywords": [
49
- "design",
50
- "env-cloud",
51
- "frontend",
52
- "react-components"
53
- ],
54
- "license": "MIT",
55
- "devDependencies": {
56
- "@babel/cli": "^7.6.4",
57
- "@babel/core": "^7.6.4",
58
- "@babel/plugin-proposal-class-properties": "^7.5.5",
59
- "@babel/plugin-transform-runtime": "^7.6.2",
60
- "@babel/preset-env": "^7.6.3",
61
- "@babel/preset-react": "^7.6.3",
62
- "@babel/preset-typescript": "^7.17.12",
63
- "@babel/runtime": "^7.6.3",
64
- "@commitlint/cli": "^11.0.0",
65
- "@commitlint/config-conventional": "^11.0.0",
66
- "@testing-library/dom": "^7.28.1",
67
- "@testing-library/jest-dom": "^5.11.6",
68
- "@testing-library/react": "^11.2.2",
69
- "@testing-library/user-event": "^12.6.0",
70
- "@types/classnames": "^2.2.11",
71
- "@types/jest": "^26.0.19",
72
- "@types/react": "^16.9.49",
73
- "@types/testing-library__react": "^10.2.0",
74
- "@typescript-eslint/eslint-plugin": "^4.6.1",
75
- "@typescript-eslint/parser": "^4.2.0",
76
- "@umijs/plugin-antd": "^0.15.0",
77
- "@umijs/plugin-locale": "^0.16.0",
78
- "@vortex-ui/biz": "^0.0.79",
79
- "@vtx/components": "3.1.34",
80
- "babel-plugin-import": "^1.13.0",
81
- "babel-plugin-module-resolver": "^4.0.0",
82
- "classnames": "^2.2.6",
83
- "codecov": "^3.8.1",
84
- "commitizen": "^4.2.1",
85
- "cz-conventional-changelog": "^3.3.0",
86
- "dumi": "^1.1.4",
87
- "eslint": "^7.9.0",
88
- "eslint-config-google": "^0.14.0",
89
- "eslint-import-resolver-typescript": "^2.3.0",
90
- "eslint-plugin-eslint-comments": "^3.2.0",
91
- "eslint-plugin-import": "^2.22.0",
92
- "eslint-plugin-jest": "^24.1.0",
93
- "eslint-plugin-jsx-a11y": "^6.4.1",
94
- "eslint-plugin-react": "^7.21.5",
95
- "eslint-plugin-react-hooks": "^4.2.0",
96
- "eslint-plugin-unicorn": "^23.0.0",
97
- "execa": "^4.0.3",
98
- "father-build": "1.18.4",
99
- "gulp": "4.0.2",
100
- "gulp-babel": "^8.0.0",
101
- "gulp-bump": "^3.2.0",
102
- "gulp-clean": "^0.4.0",
103
- "gulp-less": "^4.0.1",
104
- "gulp-sourcemaps": "^3.0.0",
105
- "gulp-typescript": "^6.0.0-alpha.1",
106
- "husky": "^4.3.7",
107
- "jest": "^26.6.3",
108
- "jest-transform-stub": "^2.0.0",
109
- "jquery": "^3.6.0",
110
- "less-plugin-autoprefix": "^2.0.0",
111
- "lint-staged": "^10.4.0",
112
- "prettier": "2.1.2",
113
- "pretty-quick": "^3.1.3",
114
- "react": "^16.13.1",
115
- "react-dom": "^16.13.1",
116
- "react-jss": "^10.5.0",
117
- "through2": "^4.0.2",
118
- "ts-jest": "^26.4.4",
119
- "ttypescript": "^1.5.12",
120
- "typescript": "^4.0.2",
121
- "typescript-transform-paths": "^2.0.1",
122
- "vtx-snd-api": "latest",
123
- "webpack": "^5.27.0"
124
- },
125
- "dependencies": {
126
- "@ant-design/icons": ">=4.5.0",
127
- "@hanyk/rc-viewer": "0.0.3",
128
- "@vortex-ui/mapv": "^0.0.1",
129
- "@vtx/map": "^1.0.7",
130
- "@vtx/utils": "^1.0.7",
131
- "ahooks": ">=2.9.6",
132
- "axios": ">=0.21.1",
133
- "braft-editor": "^2.3.9",
134
- "lodash.clonedeep": "^4.5.0",
135
- "lodash.difference": "^4.5.0",
136
- "lodash.isequal": "^4.5.0",
137
- "rc-color-picker": "^1.2.6",
138
- "react-resizable": "^1.11.1",
139
- "signature_pad": "3.0.0-beta.4",
140
- "viewerjs": "1.3.3",
141
- "xgplayer": "2.18.3"
142
- }
143
- }
1
+ {
2
+ "name": "@vortex-ui/env-puzzle",
3
+ "version": "3.0.0-beta.1",
4
+ "main": "lib/index.js",
5
+ "description": "Envcloud frontend accumulation",
6
+ "author": {
7
+ "name": "FireBushtree"
8
+ },
9
+ "scripts": {
10
+ "start": "dumi dev",
11
+ "docs:build": "dumi build",
12
+ "commit": "git-cz",
13
+ "build1": "node script/build.js && gulp less copyJs",
14
+ "build": "gulp compile",
15
+ "prettier": "prettier -c --write **/*",
16
+ "pretty-quick": "pretty-quick",
17
+ "lint": "npm run pretty-quick && eslint --ext .js,.jsx,.ts,.tsx src --fix",
18
+ "lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx src",
19
+ "test": "jest",
20
+ "test:watch": "jest --watch",
21
+ "test:coverage": "jest --coverage",
22
+ "test:update": "jest --updateSnapshot",
23
+ "publish:beta": "npm publish --tag beta"
24
+ },
25
+ "husky": {
26
+ "hooks": {
27
+ "pre-commit": "npm run lint",
28
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
29
+ }
30
+ },
31
+ "repository": "ssh://git@222.92.25.98:8001/common-menu/vortex-ui/ljfl-cg.git",
32
+ "config": {
33
+ "commitizen": {
34
+ "path": "node_modules/cz-conventional-changelog"
35
+ }
36
+ },
37
+ "peerDependencies": {
38
+ "@ahooksjs/use-request": "^2.8.5",
39
+ "@ant-design/icons": "^6.0.0",
40
+ "@types/lodash": "^4.17.14",
41
+ "@types/md5": "^2.3.5",
42
+ "@vtx/components": "^4.0.0-beta.20",
43
+ "@vtx/utils": "^1.0.20",
44
+ "ahooks": ">=2.9.6",
45
+ "antd": "^6.0.0",
46
+ "axios": "^0.21.1",
47
+ "dayjs": "^1.11.18",
48
+ "lodash-es": "^4.17.21",
49
+ "md5": "^2.3.0",
50
+ "qs": "^6.9.6",
51
+ "react": "^18.0.0",
52
+ "react-dom": "^18.0.0"
53
+ },
54
+ "files": [
55
+ "lib"
56
+ ],
57
+ "keywords": [
58
+ "design",
59
+ "env-cloud",
60
+ "frontend",
61
+ "react-components"
62
+ ],
63
+ "license": "MIT",
64
+ "devDependencies": {
65
+ "@ahooksjs/use-request": "^2.8.5",
66
+ "@ant-design/icons": "^6.0.0",
67
+ "@babel/cli": "^7.6.4",
68
+ "@babel/core": "^7.6.4",
69
+ "@babel/plugin-proposal-class-properties": "^7.5.5",
70
+ "@babel/plugin-transform-runtime": "^7.6.2",
71
+ "@babel/preset-env": "^7.6.3",
72
+ "@babel/preset-react": "^7.6.3",
73
+ "@babel/preset-typescript": "^7.17.12",
74
+ "@babel/runtime": "^7.6.3",
75
+ "@commitlint/cli": "^11.0.0",
76
+ "@commitlint/config-conventional": "^11.0.0",
77
+ "@testing-library/dom": "^7.28.1",
78
+ "@testing-library/jest-dom": "^5.11.6",
79
+ "@testing-library/react": "^11.2.2",
80
+ "@testing-library/user-event": "^12.6.0",
81
+ "@types/classnames": "^2.2.11",
82
+ "@types/jest": "^26.0.19",
83
+ "@types/lodash": "^4.17.14",
84
+ "@types/md5": "^2.3.5",
85
+ "@types/node": "^25.3.3",
86
+ "@types/react": "^16.9.49",
87
+ "@types/testing-library__react": "^10.2.0",
88
+ "@typescript-eslint/eslint-plugin": "^4.6.1",
89
+ "@typescript-eslint/parser": "^4.2.0",
90
+ "@umijs/plugin-antd": "^0.15.0",
91
+ "@umijs/plugin-locale": "^0.16.0",
92
+ "@vortex-ui/biz": "^0.0.79",
93
+ "@vtx/components": "^4.0.0-beta.20",
94
+ "@vtx/utils": "^1.0.20",
95
+ "ahooks": ">=2.9.6",
96
+ "antd": "^6.0.0",
97
+ "axios": "^0.21.1",
98
+ "babel-plugin-import": "^1.13.0",
99
+ "babel-plugin-module-resolver": "^4.0.0",
100
+ "classnames": "^2.2.6",
101
+ "codecov": "^3.8.1",
102
+ "commitizen": "^4.2.1",
103
+ "cz-conventional-changelog": "^3.3.0",
104
+ "dayjs": "^1.11.18",
105
+ "dumi": "^2.0.0",
106
+ "eslint": "^7.9.0",
107
+ "eslint-config-google": "^0.14.0",
108
+ "eslint-import-resolver-typescript": "^2.3.0",
109
+ "eslint-plugin-eslint-comments": "^3.2.0",
110
+ "eslint-plugin-import": "^2.22.0",
111
+ "eslint-plugin-jest": "^24.1.0",
112
+ "eslint-plugin-jsx-a11y": "^6.4.1",
113
+ "eslint-plugin-react": "^7.21.5",
114
+ "eslint-plugin-react-hooks": "^4.2.0",
115
+ "eslint-plugin-unicorn": "^23.0.0",
116
+ "execa": "^4.0.3",
117
+ "father-build": "1.18.4",
118
+ "gulp": "^4.0.2",
119
+ "gulp-babel": "^8.0.0",
120
+ "gulp-bump": "^3.2.0",
121
+ "gulp-clean": "^0.4.0",
122
+ "gulp-less": "^4.0.1",
123
+ "gulp-sourcemaps": "^3.0.0",
124
+ "gulp-typescript": "^6.0.0-alpha.1",
125
+ "husky": "^4.3.7",
126
+ "jest": "^26.6.3",
127
+ "jest-transform-stub": "^2.0.0",
128
+ "jquery": "^3.6.0",
129
+ "less-plugin-autoprefix": "^2.0.0",
130
+ "lint-staged": "^10.4.0",
131
+ "lodash-es": "^4.17.21",
132
+ "md5": "^2.3.0",
133
+ "prettier": "2.1.2",
134
+ "pretty-quick": "^3.1.3",
135
+ "qs": "^6.9.6",
136
+ "react": "^18.0.0",
137
+ "react-dom": "^18.0.0",
138
+ "react-jss": "^10.5.0",
139
+ "through2": "^4.0.2",
140
+ "ts-jest": "^26.4.4",
141
+ "ttypescript": "^1.5.12",
142
+ "typescript": "^4.0.2",
143
+ "typescript-transform-paths": "^2.0.1",
144
+ "vtx-snd-api": "latest",
145
+ "webpack": "^5.27.0"
146
+ },
147
+ "dependencies": {
148
+ "@hanyk/rc-viewer": "0.0.3",
149
+ "@vortex-ui/mapv": "^0.0.1",
150
+ "braft-editor": "^2.3.9",
151
+ "rc-color-picker": "^1.2.6",
152
+ "react-resizable": "^1.11.1",
153
+ "signature_pad": "3.0.0-beta.4",
154
+ "viewerjs": "1.3.3",
155
+ "xgplayer": "2.18.3"
156
+ }
157
+ }
package/lib/style/css.js DELETED
@@ -1,13 +0,0 @@
1
- "use strict";
2
-
3
- // todo: 这里可以使用环境变量等更优雅的方法
4
- var iframeEnv = 'darkGreen';
5
- var themeList = ['darkGreen'];
6
- themeList.forEach(function (item) {
7
- if (iframeEnv === item) {
8
- document.body.className = 'darkGreen';
9
-
10
- require('./darkGreen.css');
11
- }
12
- });
13
- //# sourceMappingURL=css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"css.js","names":["iframeEnv","themeList","forEach","item","document","body","className","require"],"sources":["style/index.js"],"sourcesContent":["// todo: 这里可以使用环境变量等更优雅的方法\nconst iframeEnv = 'darkGreen';\nconst themeList = ['darkGreen'];\nthemeList.forEach((item) => {\n if (iframeEnv === item) {\n document.body.className = 'darkGreen';\n require('./darkGreen.less');\n }\n});\n"],"mappings":";;AAAA;AACA,IAAMA,SAAS,GAAG,WAAlB;AACA,IAAMC,SAAS,GAAG,CAAC,WAAD,CAAlB;AACAA,SAAS,CAACC,OAAV,CAAkB,UAACC,IAAD,EAAU;EACxB,IAAIH,SAAS,KAAKG,IAAlB,EAAwB;IACpBC,QAAQ,CAACC,IAAT,CAAcC,SAAd,GAA0B,WAA1B;;IACAC,OAAO,CAAC,kBAAD,CAAP;EACH;AACJ,CALD"}