@vtx/cs-map-layer 1.0.19 → 1.0.20

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 (76) hide show
  1. package/package.json +1 -1
  2. package/lib/ConfluenceLineLayer/index.d.ts +0 -4
  3. package/lib/ConfluenceLineLayer/index.js +0 -51
  4. package/lib/ConfluenceManholeLayer/index.d.ts +0 -4
  5. package/lib/ConfluenceManholeLayer/index.js +0 -51
  6. package/lib/ConfluencePointLayer/index.d.ts +0 -4
  7. package/lib/ConfluencePointLayer/index.js +0 -51
  8. package/lib/DeviceLayer/index.d.ts +0 -11
  9. package/lib/DeviceLayer/index.js +0 -155
  10. package/lib/DivisionLayer/index.d.ts +0 -4
  11. package/lib/DivisionLayer/index.js +0 -26
  12. package/lib/FacilityLayer/index.d.ts +0 -13
  13. package/lib/FacilityLayer/index.js +0 -72
  14. package/lib/Layer/index.d.ts +0 -5
  15. package/lib/Layer/index.js +0 -105
  16. package/lib/Layer/layerConfig.d.ts +0 -82
  17. package/lib/Layer/layerConfig.js +0 -370
  18. package/lib/RainLineLayer/index.d.ts +0 -4
  19. package/lib/RainLineLayer/index.js +0 -51
  20. package/lib/RainManholeLayer/index.d.ts +0 -4
  21. package/lib/RainManholeLayer/index.js +0 -51
  22. package/lib/RainPointLayer/index.d.ts +0 -4
  23. package/lib/RainPointLayer/index.js +0 -51
  24. package/lib/RawWaterLineLayer/index.d.ts +0 -4
  25. package/lib/RawWaterLineLayer/index.js +0 -57
  26. package/lib/RawWaterPointLayer/index.d.ts +0 -4
  27. package/lib/RawWaterPointLayer/index.js +0 -57
  28. package/lib/SewageLineLayer/index.d.ts +0 -4
  29. package/lib/SewageLineLayer/index.js +0 -51
  30. package/lib/SewageManholeLayer/index.d.ts +0 -4
  31. package/lib/SewageManholeLayer/index.js +0 -51
  32. package/lib/SewagePointLayer/index.d.ts +0 -4
  33. package/lib/SewagePointLayer/index.js +0 -51
  34. package/lib/WaterDrainLineLayer/index.d.ts +0 -4
  35. package/lib/WaterDrainLineLayer/index.js +0 -50
  36. package/lib/WaterDrainManholeLayer/index.d.ts +0 -4
  37. package/lib/WaterDrainManholeLayer/index.js +0 -50
  38. package/lib/WaterDrainPointLayer/index.d.ts +0 -4
  39. package/lib/WaterDrainPointLayer/index.js +0 -50
  40. package/lib/WaterSupplyLineLayer/index.d.ts +0 -4
  41. package/lib/WaterSupplyLineLayer/index.js +0 -91
  42. package/lib/WaterSupplyPointLayer/index.d.ts +0 -8
  43. package/lib/WaterSupplyPointLayer/index.js +0 -79
  44. package/lib/_components/Template/CloseBtn.d.ts +0 -8
  45. package/lib/_components/Template/CloseBtn.js +0 -21
  46. package/lib/_components/Template/CloseBtnV2.d.ts +0 -8
  47. package/lib/_components/Template/CloseBtnV2.js +0 -24
  48. package/lib/_components/Template/DeviceCustomContent.d.ts +0 -21
  49. package/lib/_components/Template/DeviceCustomContent.js +0 -96
  50. package/lib/_components/Template/DeviceTemplate.d.ts +0 -7
  51. package/lib/_components/Template/DeviceTemplate.js +0 -81
  52. package/lib/_components/Template/DeviceTemplateV2.d.ts +0 -7
  53. package/lib/_components/Template/DeviceTemplateV2.js +0 -151
  54. package/lib/_components/Template/FacilityCustomContent.d.ts +0 -20
  55. package/lib/_components/Template/FacilityCustomContent.js +0 -163
  56. package/lib/_components/Template/FacilityTemplate.d.ts +0 -12
  57. package/lib/_components/Template/FacilityTemplate.js +0 -100
  58. package/lib/_components/Template/FacilityTemplateV2.d.ts +0 -12
  59. package/lib/_components/Template/FacilityTemplateV2.js +0 -104
  60. package/lib/_components/Template/index.less +0 -10
  61. package/lib/_components/Template/indexV2.less +0 -567
  62. package/lib/_util/http.d.ts +0 -42
  63. package/lib/_util/http.js +0 -161
  64. package/lib/_util/interface.d.ts +0 -383
  65. package/lib/_util/interface.js +0 -110
  66. package/lib/_util/layerConfig.d.ts +0 -39
  67. package/lib/_util/layerConfig.js +0 -779
  68. package/lib/_util/transform.d.ts +0 -1
  69. package/lib/_util/transform.js +0 -111
  70. package/lib/_util/util.d.ts +0 -2
  71. package/lib/_util/util.js +0 -24
  72. package/lib/assets/address-dark.png +0 -0
  73. package/lib/assets/address.png +0 -0
  74. package/lib/index.d.ts +0 -22
  75. package/lib/index.js +0 -22
  76. package/lib/typings.d.ts +0 -4
@@ -1,567 +0,0 @@
1
- .cs-map-container .cesium-popup {
2
- max-width: 360px;
3
-
4
- .cesium-popup-close {
5
- z-index: 99;
6
- }
7
-
8
- .cesium-popup-v2 {
9
- position: relative;
10
- max-width: 360px;
11
- width: 360px;
12
- margin: -52px -12px -10px;
13
- }
14
- }
15
-
16
- .cesium-popup-no-title+.cesium-popup-content {
17
- .cesium-popup-v2 {
18
- margin: -10px -12px;
19
- }
20
- }
21
-
22
- .close-btn {
23
- position: absolute;
24
- top: 12px;
25
- right: 30px;
26
- cursor: pointer;
27
- }
28
-
29
- .facility-layer-close-btn {
30
- position: absolute;
31
- top: 12px;
32
- color: #0a4ff8;
33
- right: 30px;
34
- cursor: pointer;
35
- }
36
-
37
- .facility-layer-custom-btn {
38
- position: absolute;
39
- line-height: 1;
40
- top: 12px;
41
- right: 50px;
42
- cursor: pointer;
43
- }
44
-
45
- .map-empty {
46
- display: flex;
47
- flex-direction: column;
48
- justify-content: center;
49
- align-items: center;
50
- }
51
-
52
- .map-empty-img {
53
- width: 120px;
54
- height: auto;
55
- }
56
-
57
- .facility-layer-custom-content {
58
- top: 0;
59
- bottom: 0;
60
- left: 0;
61
- right: 0;
62
- cursor: pointer;
63
- z-index: 10;
64
-
65
- &-title {
66
- height: 35px;
67
- background: rgba(24, 144, 255, .1);
68
- border-radius: 8px 8px 0 0;
69
- display: flex;
70
- align-items: center;
71
- font-weight: 500;
72
- padding-left: 8px;
73
- padding-right: 50px;
74
-
75
- &-left {
76
- flex: 1;
77
- white-space: nowrap;
78
- overflow: hidden;
79
- text-overflow: ellipsis;
80
- font-size: 16px;
81
- color: #000;
82
- margin-left: -1px;
83
- margin-right: 9px;
84
- }
85
-
86
- &-right {
87
- padding: 2px 4px;
88
- background: rgba(24, 144, 255, .2);
89
- border-radius: 2px;
90
- border: 1px solid #1890ff;
91
- font-size: 12px;
92
- color: #1890ff;
93
- display: flex;
94
- justify-content: center;
95
- align-items: center;
96
- }
97
- }
98
-
99
- &-keyParam {
100
- width: 339px;
101
- margin-left: 9px;
102
- padding-top: 7px;
103
-
104
- &-deviceDetail {
105
- display: flex;
106
- align-items: center;
107
-
108
- img {
109
- width: 14px;
110
- height: 14px;
111
- margin-right: 3px;
112
- }
113
-
114
- &-address {
115
- flex: 1;
116
- white-space: nowrap;
117
- overflow: hidden;
118
- text-overflow: ellipsis;
119
- }
120
- }
121
-
122
- &-line {
123
- width: 100%;
124
- height: 1px;
125
- background-color: #355184;
126
- }
127
-
128
- &-item {
129
- display: flex;
130
- align-items: center;
131
- font-weight: 500;
132
- font-size: 14px;
133
- color: rgba(0, 0, 0, .85);
134
- line-height: 2.0;
135
-
136
- &-address {
137
- margin-left: 8px;
138
- width: 311px;
139
- white-space: nowrap;
140
- overflow: hidden;
141
- text-overflow: ellipsis;
142
- }
143
- }
144
- }
145
-
146
- &-keyIndicators {
147
- padding: 7px 10px;
148
-
149
- &-item {
150
- display: flex;
151
- justify-content: space-between;
152
- align-items: center;
153
- font-weight: 400;
154
- font-size: 14px;
155
- color: #595959;
156
- line-height: 2.0;
157
-
158
- &-left {
159
- word-break: break-all;
160
- flex-wrap: nowrap;
161
- align-items: baseline;
162
- display: flex;
163
-
164
- &-name {
165
- white-space: nowrap;
166
- }
167
-
168
- &-value {
169
- margin-left: 8px;
170
- }
171
- }
172
-
173
- &-round {
174
- width: 5px;
175
- height: 5px;
176
- background-color: rgba(89, 89, 89, 1);
177
- border-radius: 50%;
178
- margin-right: 4px;
179
- }
180
- }
181
- }
182
-
183
- &-dark {
184
- background: #162d56;
185
- box-shadow: inset 0 4px 16px 0 #1d7ad0;
186
- border-radius: 8px;
187
- color: #fff;
188
-
189
- &-title {
190
- height: 35px;
191
- background: #135694;
192
- border-radius: 8px 8px 0 0;
193
- display: flex;
194
- align-items: center;
195
- font-weight: 500;
196
- padding-left: 10px;
197
- padding-right: 50px;
198
-
199
- &-left {
200
- flex: 1;
201
- white-space: nowrap;
202
- overflow: hidden;
203
- text-overflow: ellipsis;
204
- font-size: 16px;
205
- // color: #000000;
206
- margin-left: -1px;
207
- margin-right: 9px;
208
- color: #fff;
209
- }
210
-
211
- &-right {
212
- padding: 2px 4px;
213
- background: rgba(24, 144, 255, .2);
214
- border-radius: 2px;
215
- border: 1px solid #1890ff;
216
- font-size: 12px;
217
- color: #1890ff;
218
- display: flex;
219
- justify-content: center;
220
- align-items: center;
221
- }
222
- }
223
-
224
- &-keyParam {
225
- width: 339px;
226
- margin-left: 10px;
227
- padding-top: 7px;
228
-
229
- &-deviceDetail {
230
- display: flex;
231
- align-items: center;
232
-
233
- img {
234
- width: 14px;
235
- height: 14px;
236
- margin-right: 3px;
237
- }
238
-
239
- &-address {
240
- flex: 1;
241
- white-space: nowrap;
242
- overflow: hidden;
243
- text-overflow: ellipsis;
244
- }
245
- }
246
-
247
- &-line {
248
- width: 100%;
249
- height: 1px;
250
- background-color: rgba(232, 232, 232, .2);
251
- }
252
-
253
- &-item {
254
- display: flex;
255
- align-items: center;
256
- margin-bottom: 6px;
257
- font-weight: 500;
258
- font-size: 14px;
259
- // color: rgba(0, 0, 0, 0.85);
260
- color: #fff;
261
-
262
- &-address {
263
- margin-left: 8px;
264
- width: 311px;
265
- white-space: nowrap;
266
- overflow: hidden;
267
- text-overflow: ellipsis;
268
- }
269
- }
270
- }
271
-
272
- &-keyIndicators {
273
- padding: 7px 10px;
274
-
275
- &-item {
276
- display: flex;
277
- justify-content: space-between;
278
- align-items: center;
279
- font-weight: 400;
280
- font-size: 14px;
281
- // color: #595959;
282
- margin-bottom: 6px;
283
-
284
- &:last-child {
285
- margin-bottom: 0;
286
- }
287
-
288
- &-left {
289
- display: flex;
290
- align-items: center;
291
-
292
- &-value {
293
- margin-left: 8px;
294
- }
295
- }
296
-
297
- &-round {
298
- width: 5px;
299
- height: 5px;
300
- background-color: #fff;
301
- border-radius: 50%;
302
- margin-right: 2px;
303
- }
304
-
305
- &-updateTime {
306
- font-size: 12px;
307
- color: rgba(255, 255, 255, .6);
308
- }
309
- }
310
- }
311
- }
312
- }
313
-
314
- .device-layer-custom-content {
315
- top: 0;
316
- bottom: 0;
317
- left: 0;
318
- right: 0;
319
- cursor: pointer;
320
- z-index: 10;
321
-
322
- &-title {
323
- height: 35px;
324
- background: rgba(24, 144, 255, .1);
325
- border-radius: 8px 8px 0 0;
326
- display: flex;
327
- align-items: center;
328
- font-weight: 500;
329
- padding-left: 8px;
330
- padding-right: 50px;
331
-
332
- &-left {
333
- flex: 1;
334
- white-space: nowrap;
335
- overflow: hidden;
336
- text-overflow: ellipsis;
337
- font-size: 16px;
338
- color: #000;
339
- margin-left: -1px;
340
- margin-right: 9px;
341
- }
342
-
343
- &-right {
344
- padding: 2px 4px;
345
- background: rgba(24, 144, 255, .2);
346
- border-radius: 2px;
347
- border: 1px solid #1890ff;
348
- font-size: 12px;
349
- color: #1890ff;
350
- display: flex;
351
- justify-content: center;
352
- align-items: center;
353
- }
354
- }
355
-
356
- &-keyParam {
357
- width: 339px;
358
- margin-left: 9px;
359
- padding-top: 7px;
360
-
361
- &-deviceDetail {
362
- display: flex;
363
- align-items: center;
364
-
365
- img {
366
- width: 14px;
367
- height: 14px;
368
- margin-right: 3px;
369
- }
370
-
371
- &-address {
372
- flex: 1;
373
- white-space: nowrap;
374
- overflow: hidden;
375
- text-overflow: ellipsis;
376
- }
377
- }
378
-
379
- &-line {
380
- width: 100%;
381
- height: 1px;
382
- background-color: #355184;
383
- }
384
-
385
- &-item {
386
- display: flex;
387
- align-items: center;
388
- font-weight: 500;
389
- font-size: 14px;
390
- color: rgba(0, 0, 0, .85);
391
- line-height: 2.0;
392
-
393
- &-address {
394
- margin-left: 8px;
395
- width: 311px;
396
- white-space: nowrap;
397
- overflow: hidden;
398
- text-overflow: ellipsis;
399
- }
400
- }
401
- }
402
-
403
- &-keyIndicators {
404
- padding: 7px 10px;
405
-
406
- &-item {
407
- display: flex;
408
- justify-content: space-between;
409
- align-items: center;
410
- font-weight: 400;
411
- font-size: 14px;
412
- color: #595959;
413
- line-height: 2.0;
414
-
415
- &-left {
416
- display: flex;
417
- align-items: center;
418
-
419
- &-value {
420
- margin-left: 8px;
421
- }
422
- }
423
-
424
- &-round {
425
- width: 5px;
426
- height: 5px;
427
- background-color: rgba(89, 89, 89, 1);
428
- border-radius: 50%;
429
- margin-right: 2px;
430
- }
431
-
432
- &-updateTime {
433
- font-size: 12px;
434
- color: #8c8c8c;
435
- }
436
- }
437
- }
438
-
439
- &-dark {
440
- background: #162d56;
441
- box-shadow: inset 0 4px 16px 0 #1d7ad0;
442
- border-radius: 8px;
443
- color: #fff;
444
-
445
- &-title {
446
- height: 35px;
447
- background: #135694;
448
- border-radius: 8px 8px 0 0;
449
- display: flex;
450
- align-items: center;
451
- font-weight: 500;
452
- padding-left: 10px;
453
- padding-right: 50px;
454
-
455
- &-left {
456
- flex: 1;
457
- white-space: nowrap;
458
- overflow: hidden;
459
- text-overflow: ellipsis;
460
- font-size: 16px;
461
- margin-left: -1px;
462
- margin-right: 9px;
463
- color: #fff;
464
- }
465
-
466
- &-right {
467
- padding: 2px 4px;
468
- background: rgba(24, 144, 255, .2);
469
- border-radius: 2px;
470
- border: 1px solid #1890ff;
471
- font-size: 12px;
472
- color: #1890ff;
473
- display: flex;
474
- justify-content: center;
475
- align-items: center;
476
- }
477
- }
478
-
479
- &-keyParam {
480
- width: 339px;
481
- margin-left: 10px;
482
- padding-top: 7px;
483
-
484
- &-deviceDetail {
485
- display: flex;
486
- align-items: center;
487
-
488
- img {
489
- width: 14px;
490
- height: 14px;
491
- margin-right: 3px;
492
- }
493
-
494
- &-address {
495
- flex: 1;
496
- white-space: nowrap;
497
- overflow: hidden;
498
- text-overflow: ellipsis;
499
- }
500
- }
501
-
502
- &-line {
503
- width: 100%;
504
- height: 1px;
505
- background-color: rgba(232, 232, 232, .2);
506
- }
507
-
508
- &-item {
509
- display: flex;
510
- align-items: center;
511
- margin-bottom: 6px;
512
- font-weight: 500;
513
- font-size: 14px;
514
- color: #fff;
515
-
516
- &-address {
517
- margin-left: 8px;
518
- width: 311px;
519
- white-space: nowrap;
520
- overflow: hidden;
521
- text-overflow: ellipsis;
522
- }
523
- }
524
- }
525
-
526
- &-keyIndicators {
527
- padding: 7px 10px;
528
-
529
- &-item {
530
- display: flex;
531
- justify-content: space-between;
532
- align-items: center;
533
- font-weight: 400;
534
- font-size: 14px;
535
- line-height: 2.0;
536
-
537
- &-left {
538
- word-break: break-all;
539
- flex-wrap: nowrap;
540
- align-items: baseline;
541
- display: flex;
542
-
543
- &-name {
544
- white-space: nowrap;
545
- }
546
-
547
- &-value {
548
- margin-left: 8px;
549
-
550
- &.is-alarm {
551
- color: #FF2F2F;
552
- flex: 1;
553
- }
554
- }
555
- }
556
-
557
- &-round {
558
- width: 5px;
559
- height: 5px;
560
- background-color: #fff;
561
- border-radius: 50%;
562
- margin-right: 4px;
563
- }
564
- }
565
- }
566
- }
567
- }
@@ -1,42 +0,0 @@
1
- import { AxiosInstance } from 'axios';
2
- interface OptionI {
3
- body?: object | string;
4
- extraHeader?: {
5
- msg?: string;
6
- };
7
- }
8
- /**
9
- * 基于 axios 封装的请求封装
10
- * axios文档 http://www.axios-js.com/zh-cn/docs/
11
- * 支持 Get 和 Post 请求
12
- */
13
- declare class Http {
14
- instance: AxiosInstance;
15
- constructor(options: object);
16
- _createAxios(options: object): AxiosInstance;
17
- /**
18
- * get 请求
19
- * @param {*} url
20
- * @param {*} options {body}
21
- */
22
- get(url: string, options?: OptionI): Promise<import("axios").AxiosResponse<any>>;
23
- /**
24
- * post 请求
25
- * @param {*} url
26
- * @param {*} options
27
- */
28
- post(url: string, options?: OptionI): Promise<import("axios").AxiosResponse<any>>;
29
- /**
30
- * 响应数据的处理
31
- * @param {*} response
32
- */
33
- _responseHandler(response: any): any;
34
- /**
35
- * 请求错误处理
36
- * @param {*} error
37
- */
38
- _errorHandler(error: any): void;
39
- getInstance(): AxiosInstance;
40
- }
41
- declare const http: Http;
42
- export default http;