@antv/l7-component 2.21.3 → 2.21.4-beta.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.
@@ -1,4 +1,4 @@
1
1
  export { ButtonControl, type IButtonControlOption } from './buttonControl';
2
2
  export { Control, PositionType, type IControlOption } from './control';
3
3
  export { PopperControl, type IPopperControlOption } from './popperControl';
4
- export { SelectControl, type ControlOptionItem, type ISelectControlOption, } from './selectControl';
4
+ export { SelectControl, type ControlOptionItem, type ISelectControlOption } from './selectControl';
@@ -1,7 +1,11 @@
1
1
  @import 'variables.less';
2
2
 
3
3
  .l7-control-container {
4
- font: 12px/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif;
4
+ font:
5
+ 12px/1.5 'Helvetica Neue',
6
+ Arial,
7
+ Helvetica,
8
+ sans-serif;
5
9
 
6
10
  .l7-control {
7
11
  position: relative;
package/es/css/l7.less CHANGED
@@ -27,7 +27,11 @@
27
27
  height: 30px;
28
28
  margin-top: 5px;
29
29
  margin-left: 5px;
30
- font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
30
+ font:
31
+ 12px 'Helvetica Neue',
32
+ Arial,
33
+ Helvetica,
34
+ sans-serif;
31
35
  text-align: center;
32
36
  background-color: rgba(110, 204, 57, 0.6);
33
37
  border-radius: 15px;
package/es/index.d.ts CHANGED
@@ -3,13 +3,13 @@ import MarkerLayer from './marker-layer';
3
3
  import './assets/iconfont/iconfont.js';
4
4
  import './css/index.css';
5
5
  export * from './control/baseControl';
6
- export { ExportImage, type IExportImageControlOption, } from './control/exportImage';
7
- export { Fullscreen, type IFullscreenControlOption, } from './control/fullscreen';
6
+ export { ExportImage, type IExportImageControlOption } from './control/exportImage';
7
+ export { Fullscreen, type IFullscreenControlOption } from './control/fullscreen';
8
8
  export { GeoLocate, type IGeoLocateOption } from './control/geoLocate';
9
9
  export { LayerSwitch, type ILayerSwitchOption } from './control/layerSwitch';
10
10
  export { Logo, type ILogoControlOption } from './control/logo';
11
11
  export { MapTheme } from './control/mapTheme';
12
- export { MouseLocation, type IMouseLocationControlOption, } from './control/mouseLocation';
12
+ export { MouseLocation, type IMouseLocationControlOption } from './control/mouseLocation';
13
13
  export { Scale, type IScaleControlOption } from './control/scale';
14
14
  export { Swipe, type ISwipeControlOption } from './control/swipe';
15
15
  export { Zoom, type IZoomControlOption } from './control/zoom';
@@ -1,4 +1,4 @@
1
1
  export { ButtonControl, type IButtonControlOption } from './buttonControl';
2
2
  export { Control, PositionType, type IControlOption } from './control';
3
3
  export { PopperControl, type IPopperControlOption } from './popperControl';
4
- export { SelectControl, type ControlOptionItem, type ISelectControlOption, } from './selectControl';
4
+ export { SelectControl, type ControlOptionItem, type ISelectControlOption } from './selectControl';
@@ -1,7 +1,11 @@
1
1
  @import 'variables.less';
2
2
 
3
3
  .l7-control-container {
4
- font: 12px/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif;
4
+ font:
5
+ 12px/1.5 'Helvetica Neue',
6
+ Arial,
7
+ Helvetica,
8
+ sans-serif;
5
9
 
6
10
  .l7-control {
7
11
  position: relative;
package/lib/css/l7.less CHANGED
@@ -27,7 +27,11 @@
27
27
  height: 30px;
28
28
  margin-top: 5px;
29
29
  margin-left: 5px;
30
- font: 12px 'Helvetica Neue', Arial, Helvetica, sans-serif;
30
+ font:
31
+ 12px 'Helvetica Neue',
32
+ Arial,
33
+ Helvetica,
34
+ sans-serif;
31
35
  text-align: center;
32
36
  background-color: rgba(110, 204, 57, 0.6);
33
37
  border-radius: 15px;
package/lib/index.d.ts CHANGED
@@ -3,13 +3,13 @@ import MarkerLayer from './marker-layer';
3
3
  import './assets/iconfont/iconfont.js';
4
4
  import './css/index.css';
5
5
  export * from './control/baseControl';
6
- export { ExportImage, type IExportImageControlOption, } from './control/exportImage';
7
- export { Fullscreen, type IFullscreenControlOption, } from './control/fullscreen';
6
+ export { ExportImage, type IExportImageControlOption } from './control/exportImage';
7
+ export { Fullscreen, type IFullscreenControlOption } from './control/fullscreen';
8
8
  export { GeoLocate, type IGeoLocateOption } from './control/geoLocate';
9
9
  export { LayerSwitch, type ILayerSwitchOption } from './control/layerSwitch';
10
10
  export { Logo, type ILogoControlOption } from './control/logo';
11
11
  export { MapTheme } from './control/mapTheme';
12
- export { MouseLocation, type IMouseLocationControlOption, } from './control/mouseLocation';
12
+ export { MouseLocation, type IMouseLocationControlOption } from './control/mouseLocation';
13
13
  export { Scale, type IScaleControlOption } from './control/scale';
14
14
  export { Swipe, type ISwipeControlOption } from './control/swipe';
15
15
  export { Zoom, type IZoomControlOption } from './control/zoom';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-component",
3
- "version": "2.21.3",
3
+ "version": "2.21.4-beta.0",
4
4
  "description": "Component for L7",
5
5
  "license": "MIT",
6
6
  "author": "https://github.com/orgs/antvis/people",
@@ -12,30 +12,32 @@
12
12
  "lib",
13
13
  "es"
14
14
  ],
15
- "scripts": {
16
- "dev": "father dev",
17
- "build": "npm run clean && father build",
18
- "check-deps": "father doctor",
19
- "lint": "eslint src __tests__",
20
- "clean": "rimraf dist es lib",
21
- "less": "lessc src/css/index.less src/css/index.css",
22
- "sync": "tnpm sync"
23
- },
24
15
  "dependencies": {
25
- "@antv/l7-core": "^2.21.3",
26
- "@antv/l7-layers": "^2.21.3",
27
- "@antv/l7-utils": "^2.21.3",
28
16
  "@babel/runtime": "^7.7.7",
29
17
  "eventemitter3": "^4.0.0",
30
- "supercluster": "^7.0.0"
18
+ "supercluster": "^7.0.0",
19
+ "@antv/l7-core": "2.21.4-beta.0",
20
+ "@antv/l7-layers": "2.21.4-beta.0",
21
+ "@antv/l7-utils": "2.21.4-beta.0"
31
22
  },
32
23
  "devDependencies": {
33
- "@antv/l7-test-utils": "^2.21.3",
34
24
  "gcoord": "^0.3.2",
35
25
  "less": "^4.1.3"
36
26
  },
27
+ "peerDependencies": {
28
+ "@antv/l7-test-utils": "2.21.4-beta.0"
29
+ },
37
30
  "publishConfig": {
38
- "access": "public"
31
+ "access": "public",
32
+ "registry": "https://registry.npmjs.org"
39
33
  },
40
- "gitHead": "522dec125e1d49bfe3b7325239bb6c9103311b2d"
41
- }
34
+ "repository": "git@github.com:antvis/L7.git",
35
+ "scripts": {
36
+ "dev": "father dev",
37
+ "build": "npm run clean && father build",
38
+ "check-deps": "father doctor",
39
+ "lint": "eslint src __tests__",
40
+ "clean": "rimraf dist es lib",
41
+ "less": "lessc src/css/index.less src/css/index.css"
42
+ }
43
+ }
package/CHANGELOG.md DELETED
@@ -1,325 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [2.1.12](https://github.com/antvis/L7/compare/v2.1.11...v2.1.12) (2020-04-10)
7
-
8
- **Note:** Version bump only for package @antv/l7-component
9
-
10
-
11
-
12
-
13
-
14
- ## [2.1.11](https://github.com/antvis/L7/compare/v2.1.10...v2.1.11) (2020-04-07)
15
-
16
- **Note:** Version bump only for package @antv/l7-component
17
-
18
-
19
-
20
-
21
-
22
- ## [2.1.8](https://github.com/antvis/L7/compare/v2.1.7...v2.1.8) (2020-03-26)
23
-
24
- **Note:** Version bump only for package @antv/l7-component
25
-
26
-
27
-
28
-
29
-
30
- ## [2.1.7](https://github.com/antvis/L7/compare/v2.1.6...v2.1.7) (2020-03-26)
31
-
32
- **Note:** Version bump only for package @antv/l7-component
33
-
34
-
35
-
36
-
37
-
38
- ## [2.1.5](https://github.com/antvis/L7/compare/v2.1.4...v2.1.5) (2020-03-20)
39
-
40
- **Note:** Version bump only for package @antv/l7-component
41
-
42
-
43
-
44
-
45
-
46
- ## [2.1.3](https://github.com/antvis/L7/compare/v2.0.36...v2.1.3) (2020-03-17)
47
-
48
-
49
- ### Bug Fixes
50
-
51
- * mapbox 光照问题 ([20d2a6d](https://github.com/antvis/L7/commit/20d2a6d8b803ca3ad87cc1ef69a59d1e3d348cef))
52
-
53
-
54
-
55
-
56
-
57
- ## [2.1.2](https://github.com/antvis/L7/compare/v2.0.36...v2.1.2) (2020-03-15)
58
-
59
-
60
- ### Bug Fixes
61
-
62
- * mapbox 光照问题 ([20d2a6d](https://github.com/antvis/L7/commit/20d2a6d8b803ca3ad87cc1ef69a59d1e3d348cef))
63
-
64
-
65
-
66
-
67
-
68
- ## [2.1.1](https://github.com/antvis/L7/compare/v2.0.36...v2.1.1) (2020-03-15)
69
-
70
-
71
- ### Bug Fixes
72
-
73
- * mapbox 光照问题 ([20d2a6d](https://github.com/antvis/L7/commit/20d2a6d8b803ca3ad87cc1ef69a59d1e3d348cef))
74
-
75
-
76
-
77
-
78
-
79
- ## [2.0.34](https://github.com/antvis/L7/compare/v2.0.32...v2.0.34) (2020-03-02)
80
-
81
- **Note:** Version bump only for package @antv/l7-component
82
-
83
-
84
-
85
-
86
-
87
- # [2.0.0-beta.28](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.28) (2020-01-02)
88
-
89
-
90
- ### Bug Fixes
91
-
92
- * merge master fix conflict ([652e5d1](https://github.com/antvis/L7/commit/652e5d1cafc350fe98d569f32bf6c592c6a79b89))
93
-
94
-
95
- ### Features
96
-
97
- * **layer:** add setSelect setActive 方法 & refactor color util ([5c27d66](https://github.com/antvis/L7/commit/5c27d66a6401192f5e0406a2f4c3e0983dc2867c))
98
-
99
-
100
-
101
-
102
-
103
- # [2.0.0-beta.27](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.27) (2020-01-01)
104
-
105
-
106
- ### Bug Fixes
107
-
108
- * merge master fix conflict ([652e5d1](https://github.com/antvis/L7/commit/652e5d1cafc350fe98d569f32bf6c592c6a79b89))
109
-
110
-
111
- ### Features
112
-
113
- * **layer:** add setSelect setActive 方法 & refactor color util ([5c27d66](https://github.com/antvis/L7/commit/5c27d66a6401192f5e0406a2f4c3e0983dc2867c))
114
-
115
-
116
-
117
-
118
-
119
- # [2.0.0-alpha.28](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-alpha.28) (2020-01-01)
120
-
121
-
122
- ### Bug Fixes
123
-
124
- * merge master fix conflict ([652e5d1](https://github.com/antvis/L7/commit/652e5d1cafc350fe98d569f32bf6c592c6a79b89))
125
-
126
-
127
- ### Features
128
-
129
- * **layer:** add setSelect setActive 方法 & refactor color util ([5c27d66](https://github.com/antvis/L7/commit/5c27d66a6401192f5e0406a2f4c3e0983dc2867c))
130
-
131
-
132
-
133
-
134
-
135
- # [2.0.0-alpha.27](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-alpha.27) (2019-12-31)
136
-
137
-
138
- ### Bug Fixes
139
-
140
- * merge master fix conflict ([652e5d1](https://github.com/antvis/L7/commit/652e5d1cafc350fe98d569f32bf6c592c6a79b89))
141
-
142
-
143
- ### Features
144
-
145
- * **layer:** add setSelect setActive 方法 & refactor color util ([5c27d66](https://github.com/antvis/L7/commit/5c27d66a6401192f5e0406a2f4c3e0983dc2867c))
146
-
147
-
148
-
149
-
150
-
151
- # [2.0.0-beta.26](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.26) (2019-12-30)
152
-
153
-
154
- ### Bug Fixes
155
-
156
- * merge master fix conflict ([652e5d1](https://github.com/antvis/L7/commit/652e5d1cafc350fe98d569f32bf6c592c6a79b89))
157
-
158
-
159
- ### Features
160
-
161
- * **layer:** add setSelect setActive 方法 & refactor color util ([5c27d66](https://github.com/antvis/L7/commit/5c27d66a6401192f5e0406a2f4c3e0983dc2867c))
162
-
163
-
164
-
165
-
166
-
167
- # [2.0.0-beta.25](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.25) (2019-12-27)
168
-
169
-
170
- ### Bug Fixes
171
-
172
- * merge master fix conflict ([652e5d1](https://github.com/antvis/L7/commit/652e5d1cafc350fe98d569f32bf6c592c6a79b89))
173
-
174
-
175
- ### Features
176
-
177
- * **layer:** add setSelect setActive 方法 & refactor color util ([5c27d66](https://github.com/antvis/L7/commit/5c27d66a6401192f5e0406a2f4c3e0983dc2867c))
178
-
179
-
180
-
181
-
182
-
183
- # [2.0.0-beta.24](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.24) (2019-12-23)
184
-
185
-
186
- ### Bug Fixes
187
-
188
- * merge master fix conflict ([652e5d1](https://github.com/antvis/L7/commit/652e5d1cafc350fe98d569f32bf6c592c6a79b89))
189
-
190
-
191
- ### Features
192
-
193
- * **layer:** add setSelect setActive 方法 & refactor color util ([5c27d66](https://github.com/antvis/L7/commit/5c27d66a6401192f5e0406a2f4c3e0983dc2867c))
194
-
195
-
196
-
197
-
198
-
199
- # [2.0.0-beta.23](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.23) (2019-12-23)
200
-
201
-
202
- ### Bug Fixes
203
-
204
- * merge master fix conflict ([652e5d1](https://github.com/antvis/L7/commit/652e5d1cafc350fe98d569f32bf6c592c6a79b89))
205
-
206
-
207
- ### Features
208
-
209
- * **layer:** add setSelect setActive 方法 & refactor color util ([5c27d66](https://github.com/antvis/L7/commit/5c27d66a6401192f5e0406a2f4c3e0983dc2867c))
210
-
211
-
212
-
213
-
214
-
215
- # [2.0.0-beta.21](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.21) (2019-12-18)
216
-
217
-
218
- ### Bug Fixes
219
-
220
- * merge master fix conflict ([652e5d1](https://github.com/antvis/L7/commit/652e5d1cafc350fe98d569f32bf6c592c6a79b89))
221
-
222
-
223
- ### Features
224
-
225
- * **layer:** add setSelect setActive 方法 & refactor color util ([5c27d66](https://github.com/antvis/L7/commit/5c27d66a6401192f5e0406a2f4c3e0983dc2867c))
226
-
227
-
228
-
229
-
230
-
231
- # [2.0.0-beta.20](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.20) (2019-12-12)
232
-
233
- **Note:** Version bump only for package @antv/l7-component
234
-
235
-
236
-
237
-
238
-
239
- # [2.0.0-beta.19](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.19) (2019-12-08)
240
-
241
- **Note:** Version bump only for package @antv/l7-component
242
-
243
-
244
-
245
-
246
-
247
- # [2.0.0-beta.18](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.18) (2019-12-08)
248
-
249
- **Note:** Version bump only for package @antv/l7-component
250
-
251
-
252
-
253
-
254
-
255
- # [2.0.0-beta.17](https://github.com/antvis/L7/compare/v2.0.0-beta.16...v2.0.0-beta.17) (2019-12-08)
256
-
257
- **Note:** Version bump only for package @antv/l7-component
258
-
259
-
260
-
261
-
262
-
263
- # [2.0.0-beta.16](https://github.com/antvis/L7/compare/v2.0.0-beta.15...v2.0.0-beta.16) (2019-11-29)
264
-
265
- **Note:** Version bump only for package @antv/l7-component
266
-
267
-
268
-
269
-
270
-
271
- # [2.0.0-beta.15](https://github.com/antvis/L7/compare/v2.0.0-beta.14...v2.0.0-beta.15) (2019-11-29)
272
-
273
-
274
- ### Bug Fixes
275
-
276
- * **control:** lint error ([c863d7c](https://github.com/antvis/L7/commit/c863d7c8d15e560e3dfaf39d0ea3fac3242d776a))
277
- * **map:** temporarily closed amap offset coordinate ([9a20f64](https://github.com/antvis/L7/commit/9a20f6480321c9297ff27fe4cfe6af9032fcb969))
278
-
279
-
280
-
281
-
282
-
283
- # [2.0.0-beta.13](https://github.com/antvis/L7/compare/v2.0.0-beta.12...v2.0.0-beta.13) (2019-11-28)
284
-
285
- **Note:** Version bump only for package @antv/l7-component
286
-
287
-
288
-
289
-
290
-
291
- # [2.0.0-beta.12](https://github.com/antvis/L7/compare/v2.0.0-beta.11...v2.0.0-beta.12) (2019-11-28)
292
-
293
-
294
- ### Bug Fixes
295
-
296
- * **component:** fix marker ([14d4818](https://github.com/antvis/L7/commit/14d48184a1579241b077110ed51a8358de25e010))
297
-
298
-
299
-
300
-
301
-
302
- # 2.0.0-beta.11 (2019-11-28)
303
-
304
-
305
- ### Bug Fixes
306
-
307
- * **doc:** file name lowercase ([3cbdc9c](https://github.com/antvis/L7/commit/3cbdc9c7f1d9be34e9c917f05531323946993eb4))
308
- * **fix confilict:** conflict ([8a09ae2](https://github.com/antvis/L7/commit/8a09ae24bef7ba845e5b16759b3ecac210e472c5))
309
- * **fix css:** fix css png ([f7e5376](https://github.com/antvis/L7/commit/f7e5376b7d6c64b2b078dca8f2a230f4fce14c68))
310
- * **fix css:** fix css png ([da604e2](https://github.com/antvis/L7/commit/da604e266f36b70fcc7faa23fa7fe3359d3a1318))
311
- * **layerservice:** fix init bugs in layer service ([8cbbf7b](https://github.com/antvis/L7/commit/8cbbf7b28d63f4df16f061a4ae21726f243e7108))
312
- * **layerservice:** fix init bugs in layer service ([8844243](https://github.com/antvis/L7/commit/8844243050f619b28043c4e9ed1942fe172f561e))
313
- * **merge:** fix conflict ([07e8505](https://github.com/antvis/L7/commit/07e85059ebd40506623253feb624ee3083f393ae))
314
- * **merge branch:** fix confilt ([e7a46a6](https://github.com/antvis/L7/commit/e7a46a691d9e67a03d733fd565c6b152ee8715b6))
315
- * **rm cache:** rm cache ([51ea07e](https://github.com/antvis/L7/commit/51ea07ea664229f775b7c191cfde68299cc8c2d5))
316
- * **site:** megre conflict ([1b5619b](https://github.com/antvis/L7/commit/1b5619b3945e97919e0c616a48ba2265a2a95c22))
317
-
318
-
319
- ### Features
320
-
321
- * **chart:** add chart demo ([2a19b07](https://github.com/antvis/L7/commit/2a19b07c1bca7dfbf191618f15ab06a18c262148))
322
- * **component:** add layer control ([7f4646e](https://github.com/antvis/L7/commit/7f4646efd3b0004fde4e9f6860e618c7668af1a7))
323
- * **component:** add scale ,zoom, popup, marker map method ([a6baef4](https://github.com/antvis/L7/commit/a6baef4954c11d9c6582c27de2ba667f18538460))
324
- * **demo:** add point chart demo ([8c2e4a8](https://github.com/antvis/L7/commit/8c2e4a82bf7a49b29004d5e261d8e9c46cd0bd9d))
325
- * **map:** adjust Scene API, use @antv/l7-maps instead ([77b8f21](https://github.com/antvis/L7/commit/77b8f21b0bcf8b06e88d8e0bef213935bf32b957)), closes [#86](https://github.com/antvis/L7/issues/86)