@next-bricks/data-view 0.23.8 → 0.23.10
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/bricks.json +5 -5
- package/dist/chunks/{5381.450dd2d0.js → 5381.20c6618d.js} +2 -2
- package/dist/chunks/{6660.cdd657e7.js.map → 5381.20c6618d.js.map} +1 -1
- package/dist/chunks/{5636.3713d07e.js → 5636.1fb4ae13.js} +2 -2
- package/dist/chunks/{5636.3713d07e.js.map → 5636.1fb4ae13.js.map} +1 -1
- package/dist/chunks/{6051.224ac9ff.js → 6051.895761c3.js} +2 -2
- package/dist/chunks/{6051.224ac9ff.js.map → 6051.895761c3.js.map} +1 -1
- package/dist/chunks/{6205.a2efc262.js → 6205.a3d4d8ca.js} +2 -2
- package/dist/chunks/{6205.a2efc262.js.map → 6205.a3d4d8ca.js.map} +1 -1
- package/dist/chunks/{6660.cdd657e7.js → 6660.cafc99e7.js} +2 -2
- package/dist/chunks/{5381.450dd2d0.js.map → 6660.cafc99e7.js.map} +1 -1
- package/dist/chunks/{7164.2969f675.js → 7164.1d90b4ee.js} +2 -2
- package/dist/chunks/{7164.2969f675.js.map → 7164.1d90b4ee.js.map} +1 -1
- package/dist/chunks/8442.d5e42c40.js +2 -0
- package/dist/chunks/8442.d5e42c40.js.map +1 -0
- package/dist/chunks/9809.522653f4.js +2 -0
- package/dist/chunks/9809.522653f4.js.map +1 -0
- package/dist/chunks/complex-search.d8b3bf64.js +2 -0
- package/dist/chunks/{complex-search.27c22e86.js.map → complex-search.d8b3bf64.js.map} +1 -1
- package/dist/chunks/{graph-text.cd05efd7.js → graph-text.80fb0341.js} +2 -2
- package/dist/chunks/{graph-text.cd05efd7.js.map → graph-text.80fb0341.js.map} +1 -1
- package/dist/chunks/main.10a50421.js +2 -0
- package/dist/chunks/{main.c7b20390.js.map → main.10a50421.js.map} +1 -1
- package/dist/chunks/modern-style-treemap.d8d3967d.js +3 -0
- package/dist/chunks/{modern-style-treemap.ce32cd28.js.map → modern-style-treemap.d8d3967d.js.map} +1 -1
- package/dist/chunks/simple-card-item.8aca9f4b.js +3 -0
- package/dist/chunks/simple-card-item.8aca9f4b.js.map +1 -0
- package/dist/examples.json +12 -12
- package/dist/index.ba6ea97f.js +2 -0
- package/dist/{index.8a2213b6.js.map → index.ba6ea97f.js.map} +1 -1
- package/dist/manifest.json +140 -134
- package/dist/types.json +242 -232
- package/dist-types/simple-card-item/index.d.ts +5 -0
- package/package.json +3 -3
- package/dist/chunks/8442.88d04a5e.js +0 -2
- package/dist/chunks/8442.88d04a5e.js.map +0 -1
- package/dist/chunks/9809.12d58855.js +0 -2
- package/dist/chunks/9809.12d58855.js.map +0 -1
- package/dist/chunks/complex-search.27c22e86.js +0 -2
- package/dist/chunks/main.c7b20390.js +0 -2
- package/dist/chunks/modern-style-treemap.ce32cd28.js +0 -3
- package/dist/chunks/simple-card-item.f378de0e.js +0 -3
- package/dist/chunks/simple-card-item.f378de0e.js.map +0 -1
- package/dist/index.8a2213b6.js +0 -2
- /package/dist/chunks/{modern-style-treemap.ce32cd28.js.LICENSE.txt → modern-style-treemap.d8d3967d.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{simple-card-item.f378de0e.js.LICENSE.txt → simple-card-item.8aca9f4b.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -40,144 +40,109 @@
|
|
|
40
40
|
"events": [],
|
|
41
41
|
"methods": []
|
|
42
42
|
},
|
|
43
|
-
"data-view.
|
|
43
|
+
"data-view.modern-style-component-title": {
|
|
44
44
|
"properties": [
|
|
45
45
|
{
|
|
46
|
-
"name": "
|
|
46
|
+
"name": "hideLeftComponent",
|
|
47
47
|
"annotation": {
|
|
48
48
|
"type": "keyword",
|
|
49
|
-
"value": "
|
|
49
|
+
"value": "boolean"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
"name": "
|
|
53
|
+
"name": "hideRightComponent",
|
|
54
54
|
"annotation": {
|
|
55
55
|
"type": "keyword",
|
|
56
|
-
"value": "
|
|
56
|
+
"value": "boolean"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
"name": "
|
|
60
|
+
"name": "componentTitle",
|
|
61
61
|
"annotation": {
|
|
62
62
|
"type": "keyword",
|
|
63
|
-
"value": "
|
|
63
|
+
"value": "string"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
"name": "
|
|
67
|
+
"name": "titleTextStyle",
|
|
68
68
|
"annotation": {
|
|
69
|
-
"type": "
|
|
70
|
-
"
|
|
69
|
+
"type": "reference",
|
|
70
|
+
"typeName": {
|
|
71
|
+
"type": "identifier",
|
|
72
|
+
"name": "CSSProperties"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "squareColor",
|
|
78
|
+
"annotation": {
|
|
79
|
+
"type": "indexedAccess",
|
|
80
|
+
"objectType": {
|
|
71
81
|
"type": "reference",
|
|
72
82
|
"typeName": {
|
|
73
83
|
"type": "identifier",
|
|
74
|
-
"name": "
|
|
84
|
+
"name": "CSSProperties"
|
|
75
85
|
}
|
|
86
|
+
},
|
|
87
|
+
"indexType": {
|
|
88
|
+
"type": "jsLiteral",
|
|
89
|
+
"value": "color"
|
|
76
90
|
}
|
|
77
91
|
}
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"events": [],
|
|
95
|
+
"methods": []
|
|
96
|
+
},
|
|
97
|
+
"data-view.modern-style-page-title": {
|
|
98
|
+
"properties": [
|
|
99
|
+
{
|
|
100
|
+
"name": "pageTitle",
|
|
101
|
+
"annotation": {
|
|
102
|
+
"type": "keyword",
|
|
103
|
+
"value": "string"
|
|
104
|
+
}
|
|
78
105
|
},
|
|
79
106
|
{
|
|
80
|
-
"name": "
|
|
107
|
+
"name": "description",
|
|
81
108
|
"annotation": {
|
|
82
109
|
"type": "keyword",
|
|
83
|
-
"value": "
|
|
110
|
+
"value": "string"
|
|
84
111
|
}
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"events": [],
|
|
88
|
-
"methods": [],
|
|
89
|
-
"types": [
|
|
112
|
+
},
|
|
90
113
|
{
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
{
|
|
95
|
-
"type": "
|
|
96
|
-
"
|
|
97
|
-
"type": "identifier",
|
|
98
|
-
"name": "color"
|
|
99
|
-
},
|
|
100
|
-
"annotation": {
|
|
101
|
-
"type": "indexedAccess",
|
|
102
|
-
"objectType": {
|
|
103
|
-
"type": "reference",
|
|
104
|
-
"typeName": {
|
|
105
|
-
"type": "qualifiedName",
|
|
106
|
-
"left": {
|
|
107
|
-
"type": "identifier",
|
|
108
|
-
"name": "React"
|
|
109
|
-
},
|
|
110
|
-
"right": {
|
|
111
|
-
"type": "identifier",
|
|
112
|
-
"name": "CSSProperties"
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"indexType": {
|
|
117
|
-
"type": "jsLiteral",
|
|
118
|
-
"value": "color"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"computed": false
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"type": "propertySignature",
|
|
125
|
-
"key": {
|
|
126
|
-
"type": "identifier",
|
|
127
|
-
"name": "startValue"
|
|
128
|
-
},
|
|
129
|
-
"annotation": {
|
|
130
|
-
"type": "keyword",
|
|
131
|
-
"value": "number"
|
|
132
|
-
},
|
|
133
|
-
"computed": false
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"type": "propertySignature",
|
|
137
|
-
"key": {
|
|
138
|
-
"type": "identifier",
|
|
139
|
-
"name": "endValue"
|
|
140
|
-
},
|
|
141
|
-
"annotation": {
|
|
142
|
-
"type": "keyword",
|
|
143
|
-
"value": "number"
|
|
144
|
-
},
|
|
145
|
-
"computed": false
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"type": "propertySignature",
|
|
149
|
-
"key": {
|
|
150
|
-
"type": "identifier",
|
|
151
|
-
"name": "headerColor"
|
|
152
|
-
},
|
|
153
|
-
"annotation": {
|
|
154
|
-
"type": "indexedAccess",
|
|
155
|
-
"objectType": {
|
|
156
|
-
"type": "reference",
|
|
157
|
-
"typeName": {
|
|
158
|
-
"type": "qualifiedName",
|
|
159
|
-
"left": {
|
|
160
|
-
"type": "identifier",
|
|
161
|
-
"name": "React"
|
|
162
|
-
},
|
|
163
|
-
"right": {
|
|
164
|
-
"type": "identifier",
|
|
165
|
-
"name": "CSSProperties"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"indexType": {
|
|
170
|
-
"type": "jsLiteral",
|
|
171
|
-
"value": "color"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"optional": true,
|
|
175
|
-
"computed": false,
|
|
176
|
-
"description": "电池头的颜色,默认取 color,color为渐变色,需要单独配置头部颜色,请使用该属性"
|
|
114
|
+
"name": "backgroundStyle",
|
|
115
|
+
"annotation": {
|
|
116
|
+
"type": "reference",
|
|
117
|
+
"typeName": {
|
|
118
|
+
"type": "identifier",
|
|
119
|
+
"name": "CSSProperties"
|
|
177
120
|
}
|
|
178
|
-
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "leftRoundStyle",
|
|
125
|
+
"annotation": {
|
|
126
|
+
"type": "reference",
|
|
127
|
+
"typeName": {
|
|
128
|
+
"type": "identifier",
|
|
129
|
+
"name": "CSSProperties"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "rightRoundStyle",
|
|
135
|
+
"annotation": {
|
|
136
|
+
"type": "reference",
|
|
137
|
+
"typeName": {
|
|
138
|
+
"type": "identifier",
|
|
139
|
+
"name": "CSSProperties"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
179
142
|
}
|
|
180
|
-
]
|
|
143
|
+
],
|
|
144
|
+
"events": [],
|
|
145
|
+
"methods": []
|
|
181
146
|
},
|
|
182
147
|
"data-view.tabs-drawer": {
|
|
183
148
|
"properties": [
|
|
@@ -372,6 +337,145 @@
|
|
|
372
337
|
}
|
|
373
338
|
]
|
|
374
339
|
},
|
|
340
|
+
"data-view.battery-chart": {
|
|
341
|
+
"properties": [
|
|
342
|
+
{
|
|
343
|
+
"name": "value",
|
|
344
|
+
"annotation": {
|
|
345
|
+
"type": "keyword",
|
|
346
|
+
"value": "number"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "batteryWidth",
|
|
351
|
+
"annotation": {
|
|
352
|
+
"type": "keyword",
|
|
353
|
+
"value": "number"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "batteryHeight",
|
|
358
|
+
"annotation": {
|
|
359
|
+
"type": "keyword",
|
|
360
|
+
"value": "number"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "thresholdColors",
|
|
365
|
+
"annotation": {
|
|
366
|
+
"type": "array",
|
|
367
|
+
"elementType": {
|
|
368
|
+
"type": "reference",
|
|
369
|
+
"typeName": {
|
|
370
|
+
"type": "identifier",
|
|
371
|
+
"name": "ThresholdColor"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "thresholdValue",
|
|
378
|
+
"annotation": {
|
|
379
|
+
"type": "keyword",
|
|
380
|
+
"value": "number"
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
"events": [],
|
|
385
|
+
"methods": [],
|
|
386
|
+
"types": [
|
|
387
|
+
{
|
|
388
|
+
"type": "interface",
|
|
389
|
+
"name": "ThresholdColor",
|
|
390
|
+
"body": [
|
|
391
|
+
{
|
|
392
|
+
"type": "propertySignature",
|
|
393
|
+
"key": {
|
|
394
|
+
"type": "identifier",
|
|
395
|
+
"name": "color"
|
|
396
|
+
},
|
|
397
|
+
"annotation": {
|
|
398
|
+
"type": "indexedAccess",
|
|
399
|
+
"objectType": {
|
|
400
|
+
"type": "reference",
|
|
401
|
+
"typeName": {
|
|
402
|
+
"type": "qualifiedName",
|
|
403
|
+
"left": {
|
|
404
|
+
"type": "identifier",
|
|
405
|
+
"name": "React"
|
|
406
|
+
},
|
|
407
|
+
"right": {
|
|
408
|
+
"type": "identifier",
|
|
409
|
+
"name": "CSSProperties"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"indexType": {
|
|
414
|
+
"type": "jsLiteral",
|
|
415
|
+
"value": "color"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"computed": false
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"type": "propertySignature",
|
|
422
|
+
"key": {
|
|
423
|
+
"type": "identifier",
|
|
424
|
+
"name": "startValue"
|
|
425
|
+
},
|
|
426
|
+
"annotation": {
|
|
427
|
+
"type": "keyword",
|
|
428
|
+
"value": "number"
|
|
429
|
+
},
|
|
430
|
+
"computed": false
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"type": "propertySignature",
|
|
434
|
+
"key": {
|
|
435
|
+
"type": "identifier",
|
|
436
|
+
"name": "endValue"
|
|
437
|
+
},
|
|
438
|
+
"annotation": {
|
|
439
|
+
"type": "keyword",
|
|
440
|
+
"value": "number"
|
|
441
|
+
},
|
|
442
|
+
"computed": false
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"type": "propertySignature",
|
|
446
|
+
"key": {
|
|
447
|
+
"type": "identifier",
|
|
448
|
+
"name": "headerColor"
|
|
449
|
+
},
|
|
450
|
+
"annotation": {
|
|
451
|
+
"type": "indexedAccess",
|
|
452
|
+
"objectType": {
|
|
453
|
+
"type": "reference",
|
|
454
|
+
"typeName": {
|
|
455
|
+
"type": "qualifiedName",
|
|
456
|
+
"left": {
|
|
457
|
+
"type": "identifier",
|
|
458
|
+
"name": "React"
|
|
459
|
+
},
|
|
460
|
+
"right": {
|
|
461
|
+
"type": "identifier",
|
|
462
|
+
"name": "CSSProperties"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"indexType": {
|
|
467
|
+
"type": "jsLiteral",
|
|
468
|
+
"value": "color"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"optional": true,
|
|
472
|
+
"computed": false,
|
|
473
|
+
"description": "电池头的颜色,默认取 color,color为渐变色,需要单独配置头部颜色,请使用该属性"
|
|
474
|
+
}
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
]
|
|
478
|
+
},
|
|
375
479
|
"data-view.dropdown-menu": {
|
|
376
480
|
"properties": [
|
|
377
481
|
{
|
|
@@ -572,60 +676,6 @@
|
|
|
572
676
|
}
|
|
573
677
|
]
|
|
574
678
|
},
|
|
575
|
-
"data-view.modern-style-component-title": {
|
|
576
|
-
"properties": [
|
|
577
|
-
{
|
|
578
|
-
"name": "hideLeftComponent",
|
|
579
|
-
"annotation": {
|
|
580
|
-
"type": "keyword",
|
|
581
|
-
"value": "boolean"
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
"name": "hideRightComponent",
|
|
586
|
-
"annotation": {
|
|
587
|
-
"type": "keyword",
|
|
588
|
-
"value": "boolean"
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"name": "componentTitle",
|
|
593
|
-
"annotation": {
|
|
594
|
-
"type": "keyword",
|
|
595
|
-
"value": "string"
|
|
596
|
-
}
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"name": "titleTextStyle",
|
|
600
|
-
"annotation": {
|
|
601
|
-
"type": "reference",
|
|
602
|
-
"typeName": {
|
|
603
|
-
"type": "identifier",
|
|
604
|
-
"name": "CSSProperties"
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"name": "squareColor",
|
|
610
|
-
"annotation": {
|
|
611
|
-
"type": "indexedAccess",
|
|
612
|
-
"objectType": {
|
|
613
|
-
"type": "reference",
|
|
614
|
-
"typeName": {
|
|
615
|
-
"type": "identifier",
|
|
616
|
-
"name": "CSSProperties"
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
"indexType": {
|
|
620
|
-
"type": "jsLiteral",
|
|
621
|
-
"value": "color"
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
],
|
|
626
|
-
"events": [],
|
|
627
|
-
"methods": []
|
|
628
|
-
},
|
|
629
679
|
"data-view.app-wall-card-item": {
|
|
630
680
|
"properties": [
|
|
631
681
|
{
|
|
@@ -662,28 +712,6 @@
|
|
|
662
712
|
"events": [],
|
|
663
713
|
"methods": []
|
|
664
714
|
},
|
|
665
|
-
"data-view.app-wall-relation-line": {
|
|
666
|
-
"properties": [
|
|
667
|
-
{
|
|
668
|
-
"name": "lightColor",
|
|
669
|
-
"annotation": {
|
|
670
|
-
"type": "union",
|
|
671
|
-
"types": [
|
|
672
|
-
{
|
|
673
|
-
"type": "jsLiteral",
|
|
674
|
-
"value": "blue"
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
"type": "jsLiteral",
|
|
678
|
-
"value": "purple"
|
|
679
|
-
}
|
|
680
|
-
]
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
],
|
|
684
|
-
"events": [],
|
|
685
|
-
"methods": []
|
|
686
|
-
},
|
|
687
715
|
"data-view.app-wall-system-card": {
|
|
688
716
|
"properties": [
|
|
689
717
|
{
|
|
@@ -803,6 +831,28 @@
|
|
|
803
831
|
}
|
|
804
832
|
]
|
|
805
833
|
},
|
|
834
|
+
"data-view.app-wall-relation-line": {
|
|
835
|
+
"properties": [
|
|
836
|
+
{
|
|
837
|
+
"name": "lightColor",
|
|
838
|
+
"annotation": {
|
|
839
|
+
"type": "union",
|
|
840
|
+
"types": [
|
|
841
|
+
{
|
|
842
|
+
"type": "jsLiteral",
|
|
843
|
+
"value": "blue"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"type": "jsLiteral",
|
|
847
|
+
"value": "purple"
|
|
848
|
+
}
|
|
849
|
+
]
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
],
|
|
853
|
+
"events": [],
|
|
854
|
+
"methods": []
|
|
855
|
+
},
|
|
806
856
|
"data-view.cabinet-button": {
|
|
807
857
|
"properties": [
|
|
808
858
|
{
|
|
@@ -886,56 +936,6 @@
|
|
|
886
936
|
"events": [],
|
|
887
937
|
"methods": []
|
|
888
938
|
},
|
|
889
|
-
"data-view.modern-style-page-title": {
|
|
890
|
-
"properties": [
|
|
891
|
-
{
|
|
892
|
-
"name": "pageTitle",
|
|
893
|
-
"annotation": {
|
|
894
|
-
"type": "keyword",
|
|
895
|
-
"value": "string"
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
"name": "description",
|
|
900
|
-
"annotation": {
|
|
901
|
-
"type": "keyword",
|
|
902
|
-
"value": "string"
|
|
903
|
-
}
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
"name": "backgroundStyle",
|
|
907
|
-
"annotation": {
|
|
908
|
-
"type": "reference",
|
|
909
|
-
"typeName": {
|
|
910
|
-
"type": "identifier",
|
|
911
|
-
"name": "CSSProperties"
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
"name": "leftRoundStyle",
|
|
917
|
-
"annotation": {
|
|
918
|
-
"type": "reference",
|
|
919
|
-
"typeName": {
|
|
920
|
-
"type": "identifier",
|
|
921
|
-
"name": "CSSProperties"
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"name": "rightRoundStyle",
|
|
927
|
-
"annotation": {
|
|
928
|
-
"type": "reference",
|
|
929
|
-
"typeName": {
|
|
930
|
-
"type": "identifier",
|
|
931
|
-
"name": "CSSProperties"
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
],
|
|
936
|
-
"events": [],
|
|
937
|
-
"methods": []
|
|
938
|
-
},
|
|
939
939
|
"data-view.cabinet-app-layer": {
|
|
940
940
|
"properties": [
|
|
941
941
|
{
|
|
@@ -1867,6 +1867,16 @@
|
|
|
1867
1867
|
"value": "string"
|
|
1868
1868
|
}
|
|
1869
1869
|
},
|
|
1870
|
+
{
|
|
1871
|
+
"name": "titleStyle",
|
|
1872
|
+
"annotation": {
|
|
1873
|
+
"type": "reference",
|
|
1874
|
+
"typeName": {
|
|
1875
|
+
"type": "identifier",
|
|
1876
|
+
"name": "CSSProperties"
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1870
1880
|
{
|
|
1871
1881
|
"name": "description",
|
|
1872
1882
|
"annotation": {
|
|
@@ -9,6 +9,7 @@ export interface SimpleCardItemProps {
|
|
|
9
9
|
cardTitle: string;
|
|
10
10
|
description: string;
|
|
11
11
|
status?: "normal" | "warning";
|
|
12
|
+
titleStyle?: CSSProperties;
|
|
12
13
|
desStyle?: CSSProperties;
|
|
13
14
|
color?: CSSProperties["color"];
|
|
14
15
|
background?: CSSProperties["background"];
|
|
@@ -27,6 +28,10 @@ export declare class SimpleCardItem extends ReactNextElement {
|
|
|
27
28
|
* 标题
|
|
28
29
|
*/
|
|
29
30
|
accessor cardTitle: string;
|
|
31
|
+
/**
|
|
32
|
+
* 标题样式
|
|
33
|
+
*/
|
|
34
|
+
accessor titleStyle: CSSProperties;
|
|
30
35
|
/**
|
|
31
36
|
* 描述
|
|
32
37
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/data-view",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.10",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/data-view",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"postpublish": "mv package.json.bak package.json"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@next-core/build-next-bricks": "^1.
|
|
37
|
+
"@next-core/build-next-bricks": "^1.15.0",
|
|
38
38
|
"@next-core/test-next": "^1.0.11",
|
|
39
39
|
"@types/d3-hierarchy": "^3.1.2",
|
|
40
40
|
"@types/three": "^0.150.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "8854bf9e27fdca24a160487a5fd1a4117ed9b058"
|
|
43
43
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_data_view=self.webpackChunk_next_bricks_data_view||[]).push([[8442],{1906:(e,t,r)=>{r.d(t,{j:()=>R});var a=r(7896),n=r(8657),o=r.n(n),i=r(1211),l=r(6995),c=r(5095),s=r(4827),d=r(2839),p=r(3028),u=(r(7035),r(7709),r(9703),(e,t,r)=>{var a=(new l.Pa4).subVectors(t,e),n=a.length(),o=document.createElement("data-view.app-wall-relation-line");o.style.height="".concat(n,"px"),o.classList.add("relation-line"),o.lightColor=r;var i=new c.cp(o),s=(new l.Pa4).lerpVectors(e,t,.5);i.position.copy(s);var d=(new l._fP).setFromUnitVectors(new l.Pa4(0,1,0).normalize(),a.clone().normalize());return i.setRotationFromQuaternion(d),i}),h=(e,t)=>{var r=new l.Pa4(e[0],e[1],e[2]),a=new l.Pa4(t[0],t[1],t[2]);return{centerVector:(new l.Pa4).lerpVectors(r,a,.5),subVector:(new l.Pa4).subVectors(r,a)}},g=e=>{var{BW:t,TW:r,d:a,TH:n,BH:o,isLeft:i}=e,s=Math.sqrt(Math.pow(r/2-t/2,2)+Math.pow(a,2)),d=document.createElement("div");d.style.cssText="\n width: ".concat(s,"px;\n height:").concat(n,"px;\n position: relative;\n clip-path: polygon(0 0, ").concat(s,"px ").concat(n/2-o/2,"px, ").concat(s,"px ").concat(n/2-o/2+o,"px, 0 ").concat(n,"px);\n ");var p=document.createElement("div");p.className="trapezoidalLeftOrRightAnimation",d.appendChild(p);var u=i?[-t/2,0,0]:[t/2,0,0],g=i?[-r/2,0,a]:[r/2,0,a],b=new c.cp(d),{centerVector:m,subVector:v}=h(u,g);b.position.copy(m);var x=(new l._fP).setFromUnitVectors(new l.Pa4(1,0,0).normalize(),v.clone().normalize());return b.setRotationFromQuaternion(x),b},b=e=>{var{BW:t,TW:r,d:a,TH:n,BH:o,isTop:i}=e,s=Math.sqrt(Math.pow(n/2-o/2,2)+Math.pow(a,2)),d=document.createElement("div");d.style.cssText="\n width: ".concat(r,"px;\n height:").concat(s,"px;\n position: relative;\n clip-path: polygon(0 0, ").concat(r,"px 0, ").concat(r/2-t/2+t,"px ").concat(s,"px, ").concat(r/2-t/2,"px ").concat(s,"px);\n ");var p=document.createElement("div");p.className="trapezoidalTopOrBottomAnimation",d.appendChild(p);var u=new c.cp(d),g=i?[0,-o/2,0]:[0,o/2,0],b=i?[0,-n/2,a]:[0,n/2,a],{centerVector:m,subVector:v}=h(g,b);u.position.copy(m);var x=(new l._fP).setFromUnitVectors(new l.Pa4(0,-1,0).normalize(),v.clone().normalize());return u.setRotationFromQuaternion(x),u},m=e=>{var{objectData:t,leftBtnName:r,clusters:a,columns:n,leftOnClick:o,rightBtnName:i,rightOnClick:l,appName:s}=e,d=600,p=document.createElement("div"),u=new c.cp(p);u.position.set(...t.point);var h=t.width,m=t.height,v=1500,x=1200,w=document.createElement("div");w.style.cssText="\n width: ".concat(h,"px;\n height: ").concat(m,"px;\n box-shadow: inset 0px 1px 2px 0px rgba(255,255,255,0.45);\n border: 1px solid rgba(118,255,255,0.58);\n padding: 16px;\n ");var f=new c.cp(w);f.position.z=0,u.add(f);var y=document.createElement("div");y.style.cssText="\n width: ".concat(v,"px;\n height:").concat(x,"px;\n background: linear-gradient(rgb(13, 54, 179,0.6) 0%, rgb(74, 108, 156,0.6) 100%);\n box-sizing: border-box;\n padding: 16px;\n ");var k=document.createElement("data-view.cabinet-thumbnail");k.clusters=null!=a?a:[],k.columns=null!=n?n:4,k.appName=s,y.className="visibilityAnimate",y.appendChild(k);var z=new c.cp(y);z.position.set(0,0,d);var C=g({BW:h,TW:v,BH:m,TH:x,d,isLeft:!0}),T=g({BW:h,TW:v,BH:m,TH:x,d,isLeft:!1}),S=b({BW:h,TW:v,BH:m,TH:x,d,isTop:!0}),P=b({BW:h,TW:v,BH:m,TH:x,d,isTop:!1});if(u.add(C,T,P,S),r){var E=document.createElement("div");E.style.cssText="\n color: #6BE0FA;\n font-size: 28px;\n font-weight: 500;\n width: ".concat(750,"px;\n line-height: 16px;\n "),E.className="visibilityAnimate";var B=document.createElement("span");B.style.cursor="pointer",B.innerText=r,E.appendChild(B);var M=new c.cp(E);M.position.set(-365,-600,14),M.rotateX(Math.PI/2),z.add(M),B.onpointerdown=o}if(i){var F=document.createElement("div");F.style.cssText="\n color: #FFFFFF;\n font-size: 30px;\n font-weight: 500;\n width: ".concat(750,"px;\n text-shadow: 0px 1px 4px #3366FF;\n text-align: right;\n "),F.className="visibilityAnimate";var R=document.createElement("span");R.style.cursor="pointer",R.innerText=i,F.appendChild(R);var I=new c.cp(F);I.position.set(365,-600,14),I.rotateX(Math.PI/2),z.add(I),R.onpointerdown=l}return u.add(z),u},v=(e,t,r)=>{if(null==e||!e.length)return[];var a=e.map((e=>(0,p.Z)((0,p.Z)({},e),{},{x:0,y:0})));if(a.length===t*r)a=a.map(((e,r)=>(0,p.Z)((0,p.Z)({},e),{},{x:r%t+1,y:parseInt("".concat(r/t))+1})));else{for(var n=t*(r-1),o=a.length-n,i=0;i<n;i++){var l=a[i];l.x=i%t+1,l.y=parseInt("".concat(i/t))+1}for(var c=0;c<o/2;c++){var s=a[c+n],d=a[a.length-1-c];s.x=c+1,s.y=r,s!==d&&(d.x=t-c,d.y=r)}}return a},x=(e,t,r,a)=>{var n=new l.Tme;return n.position.x=e.x*t.outerWidth-(r/2+.5)*t.outerWidth,n.position.y=-e.y*t.outerHeight+(a/2+.5)*t.outerHeight,n},w=(e,t,r,a,n,o)=>{var i=new l.Tme,c=new l.Pa4,s=((e,t,r,a,n)=>{var o={x:0,y:0,z:0},i=parseInt("".concat(r*t.outerWidth*180))/(n*Math.PI),l=r/2+.5;return o.x=i*Math.sin(Math.PI/(180/((e.x-l)*(n/r)))),o.y=-e.y*t.outerHeight+(a/2+.5)*t.outerHeight,o.z=i-Math.sqrt(i*i-o.x*o.x),o})(e,t,r,a,n);return i.position.x=s.x,i.position.y=s.y,i.position.z=s.z,c.x=0,c.y=i.position.y,c.z=o,i.lookAt(c),i},f=(e,t,r,a)=>{var n=t.height+2*t.margin,o=(t.width+2*t.margin)/e.aspect,i=.5*Math.max(o,n)/Math.tan(e.fov*Math.PI/360)+t.z,l=0;return r.forEach((function(e){a>=Math.min.apply(null,e.numRange)&&a<=Math.max.apply(null,e.numRange)&&(l=e.distance)})),Math.max(l,i)},y=(e,t)=>{var r=[],a=e.userData;return Array.isArray(t)&&t.length&&t.forEach((function(e){a.key!==e.source&&a.key!==e.target||r.push(e)})),r},k=(e,t)=>{var r=t.toUpperCase(),a=e.composedPath().find((e=>null==e?void 0:e.shadowRoot));if((null==a?void 0:a.tagName)===r)return a;var n=document.elementFromPoint(e.clientX,e.clientY),o=null==n?void 0:n.shadowRoot.elementFromPoint(e.clientX,e.clientY);return(null==o?void 0:o.tagName)===r?o:null},z=r(4511),C=r(2779),T=r.n(C),S=[{numRange:[0,40],distance:3e3},{numRange:[40,60],distance:2200},{numRange:[60,80],distance:2700},{numRange:[80,120],distance:3200},{numRange:[120,160],distance:3400},{numRange:[160,300],distance:3600}],P=45,E=100,B=300,M=(e,t,r)=>{var a=Math.ceil(Math.sqrt(e*t.outerHeight/(.4*t.outerWidth))),n=Math.ceil(e/a),o=parseInt("".concat(a*t.outerWidth*180))/(E*Math.PI);return{maxX:a,maxY:n,radius:o,bounds:{width:2*o*Math.sin(Math.PI*(E/2)/180)+t.outerWidth,height:n*t.outerHeight,margin:r,z:o-o*Math.cos(Math.PI*(E/2)/180)}}},F=(0,z.wrapBrick)("data-view.app-wall-system-card");function R(e){var{relations:t,onSystemCardButtonClick:r,useDblclick:p,useDistanceConfig:h,handleCardDbClick:g,rightBtnOnClick:b,leftBtnOnClick:z,cardBrickName:C,cardSize:R,disabledDefaultClickEvent:I,handleCardClick:_,containerId:X,noRotate:D,boundMargin:A}=e,[W,N]=(0,n.useState)(null),L=(0,n.useRef)(),H=(0,n.useRef)(),O=(0,n.useRef)(),Z=(0,n.useRef)(),V=(0,n.useRef)(),j=(0,n.useRef)(),Y=(0,n.useRef)(),G=(0,n.useRef)(),U=(0,n.useRef)(),q=(0,n.useRef)(),Q=(0,n.useRef)({table:[],curve:[]}),K=(0,n.useRef)([]),$=(0,n.useRef)([]),J=(0,n.useRef)({maxX:0,maxY:0,radius:0,bounds:{width:0,height:0,margin:A,z:0}}),ee=(0,n.useRef)({element:null,mouseoverTimer:null,mouseoutTimer:null,clickTimer:null,dblClickTimer:null,isShowGraph3D:!1,isShowAppInfo:!1,isShowRelations:!1,enable:!0}),te=(0,n.useCallback)((()=>{j.current.render(Y.current,G.current),U.current.handleResize()}),[]),re=e=>{var t;if(null===(t=ee.current)||void 0===t||!t.element)return null==e?void 0:e();var{__objectCSS:r,__curve:a,__userData:n}=ee.current.element;new d.kX(r.rotation).to({x:a.rotation.x,y:a.rotation.y,z:a.rotation.z},200).start(),new d.kX(r.scale).to({x:1,y:1,z:1},200).start(),new d.kX(r.position).to({x:a.position.x,y:a.position.y,z:a.position.z},200).onUpdate(te).onStart((()=>{var e;"data-view.app-wall-card-item"===C&&r.element.classList.remove("status-".concat(n.status||"normal","-card")),null===(e=K.current)||void 0===e||e.forEach((e=>{e.element.style.opacity="1"})),$.current.forEach((e=>{Y.current.remove(e)})),$.current=[],te()})).onComplete((()=>{var t;ee.current.isShowRelations=!1,null==e||e(null===(t=ee.current)||void 0===t?void 0:t.element)})).start()},ae=(e,t)=>{ee.current.enable=!1;for(var r=0;r<K.current.length;r++){var a=K.current[r],n=e[r];new d.kX(a.position).to({x:n.position.x,y:n.position.y,z:n.position.z},l.M8C.randFloat(t,2*t)).easing(d.oY.Exponential.InOut).start(),new d.kX(a.rotation).to({x:n.rotation.x,y:n.rotation.y,z:n.rotation.z},l.M8C.randFloat(t,2*t)).easing(d.oY.Exponential.InOut).start()}new d.kX({}).to({},2*t).onUpdate(te).start().onComplete((()=>{ee.current.enable=!0}))},ne=e=>{U.current.reset();var t=ee.current.element.__objectCSS,r=ee.current.element.__curve;ee.current.enable=!1,ee.current.isShowAppInfo=!0;var a,n={x:r.position.x>0?2*-R.width:2*R.width,y:0,z:(G.current.position.z-500)/1.5},o={x:0,y:0,z:G.current.position.z-500},i={x:0,y:r.rotation.y>0?90*-Math.PI/180:90*Math.PI/180,z:0},l={x:0,y:r.rotation.y>0?180*-Math.PI/180:180*Math.PI/180,z:0},c=new d.kX(t.position),s=new d.kX(t.rotation),p=new d.kX(t.position),u=new d.kX(t.rotation);e?(c.to(n,500).easing().onComplete((()=>{V.current.hidden=!0,ee.current.element.style.opacity="1"})),s.to(i,500).easing(),p.to({x:r.position.x,y:r.position.y,z:r.position.z},700).easing(),u.to({x:r.rotation.x,y:r.rotation.y,z:r.rotation.z},700).easing().onComplete((()=>{var e;null===(e=K.current)||void 0===e||e.forEach((e=>{e.element.style.opacity="1"}))}))):(null===(a=K.current)||void 0===a||a.forEach((e=>{t!=e&&(e.element.style.opacity="0.2")})),c.to(n,700).easing().onStart((()=>{Z.current.hidden=!1,V.current.hidden=!0})),s.to(i,700).easing(),p.to(o,500).easing().onStart((function(){ee.current.element.style.opacity="0",V.current.style.transition="transition: all .3s ease",V.current.hidden=!1})),u.to(l,500).easing()),c.chain(p).start(),s.chain(u).start(),new d.kX({}).to({},1400).onUpdate((()=>{if(te(),Math.abs(t.rotation.y)>=Math.PI/2){var e=ee.current.element.getBoundingClientRect(),r=1.35,a=e.width*r,n=e.height*r;V.current.style.width="".concat(a,"px"),V.current.style.height="".concat(n,"px"),V.current.style.top="".concat(e.top-(r-1)*n/2,"px"),V.current.style.left="".concat(e.left-(r-1)*a/2,"px")}})).start().onComplete((function(){ee.current.enable=!0,ee.current.isShowAppInfo=!e,Z.current.hidden=e}))};return(0,n.useEffect)((()=>{var e;(()=>{var e,t=null===(e=document.getElementById(X))||void 0===e?void 0:e.getBoundingClientRect(),r=(null==t?void 0:t.width)||window.innerWidth,a=(null==t?void 0:t.height)||window.innerHeight,n=r/a,o=new l.xsS,i=new l.cPb(P,n,.1,1e4),d=new c.lX;d.setSize(r,a),H.current.replaceChildren(d.domElement);var p=new s.$(i,d.domElement);p.rotateSpeed=.5,p.minDistance=500,p.maxDistance=1e4,p.noRotate=D,Y.current=o,G.current=i,U.current=p,j.current=d})();var t=()=>{e=requestAnimationFrame(t),d.ZP.update(),U.current.update()};t();var r=X?document.getElementById(X):document.body,a=new ResizeObserver((0,i.debounce)((()=>{var{width:e,height:t}=r.getBoundingClientRect();G.current.aspect=e/t,G.current.updateProjectionMatrix(),j.current.setSize(e,t),te()}),300));return U.current.addEventListener("change",te),a.observe(r),()=>{a.disconnect(),U.current.removeEventListener("change",te),U.current.dispose(),d.ZP.removeAll(),G.current.clear(),Y.current.clear(),cancelAnimationFrame(e)}}),[]),(0,n.useEffect)((()=>{var t,r=(null===(t=e.dataSource)||void 0===t?void 0:t.length)||0;r>0&&((e=>{J.current=M(e,R,A)})(r),G.current.position.z=f(G.current,J.current.bounds,h?S:[],r),G.current.updateProjectionMatrix(),U.current.position0.copy(G.current.position),v(e.dataSource,J.current.maxX,J.current.maxY).forEach(((e,t)=>{var r,a,n,o,i,l,s=document.createElement(C);s.status=e.status,s.cardTitle=null===(r=e.cardItemProps)||void 0===r?void 0:r.cardTitle,s.description=null===(a=e.cardItemProps)||void 0===a?void 0:a.description,s.background=null===(n=e.cardItemProps)||void 0===n?void 0:n.background,s.color=null===(o=e.cardItemProps)||void 0===o?void 0:o.color,s.desStyle=null===(i=e.cardItemProps)||void 0===i?void 0:i.desStyle,s.descriptionList=null===(l=e.cardItemProps)||void 0===l?void 0:l.descriptionList;var d="status-".concat((null==e?void 0:e.status)||"normal");s.className="card-item-container ".concat(d),s.style.width="".concat(R.width,"px"),s.style.height="".concat(R.height,"px"),s.classList.add("card-item-wrap");var p=new c.cp(s);p.position.set(4e3*Math.random()-2e3,4e3*Math.random()-2e3,4e3*Math.random()-2e3),Y.current.add(p),K.current.push(p);var u=x(e,R,J.current.maxX,J.current.maxY);Q.current.table.push(u);var h=w(e,R,J.current.maxX,J.current.maxY,E,J.current.radius);Q.current.curve.push(h),p.userData=e,s.__objectCSS=p,s.__userData=e,s.__curve=h})),ae(Q.current.curve,1e3));return()=>{U.current.reset(),d.ZP.removeAll(),K.current.map((e=>{Y.current.remove(e)})),K.current=[],Q.current={table:[],curve:[]},ee.current={element:null,mouseoverTimer:null,mouseoutTimer:null,clickTimer:null,dblClickTimer:null,enable:!0,isShowAppInfo:!1,isShowGraph3D:!1,isShowRelations:!1}}}),[e.dataSource,h]),(0,n.useEffect)((()=>{var e=L.current,r=e=>{if(clearTimeout(ee.current.mouseoverTimer),ee.current.isShowAppInfo||ee.current.isShowGraph3D||!ee.current.enable)return!1;var r=k(e,C);ee.current.mouseoverTimer=window.setTimeout((()=>{re((()=>{r&&!ee.current.isShowAppInfo&&(e=>{var{__objectCSS:r,__userData:a}=e,n=r.rotation.y,o={x:r.position.x+50*Math.sin(n),y:r.position.y+15,z:r.position.z+100*Math.cos(n)},i=1.25;ee.current.isShowRelations=!0,new d.kX(r.rotation).to({x:0,y:0,z:0},200).onStart((()=>{"data-view.app-wall-card-item"===C&&r.element.classList.add("status-".concat(a.status||"normal","-card"))})).start(),new d.kX(r.scale).to({x:i,y:i,z:i},200).start(),new d.kX(r.position).to(o,200).onUpdate(te).onComplete((function(){var a,n,o,i,l,c;l=y(a=r,t),c=a.userData,null==l||l.forEach((e=>{e.source===c.key?(i=K.current.find((t=>t.userData.key===e.target)),o=i&&u(a.position,i.position,"blue")):(i=K.current.find((t=>t.userData.key===e.source)),o=i&&u(i.position,a.position,"purple")),o&&($.current.push(o),Y.current.add(o))})),null===(n=K.current)||void 0===n||n.forEach((e=>{a!=e&&l.every((t=>t.source!=e.userData.key&&t.target!=e.userData.key))&&(e.element.style.opacity="0.2")})),te(),ee.current.element=e})).start()})(r),clearTimeout(ee.current.mouseoverTimer)}))}),300)},a=e=>{if(clearTimeout(ee.current.clickTimer),clearTimeout(ee.current.mouseoverTimer),ee.current.isShowAppInfo||ee.current.isShowGraph3D||!ee.current.enable)return!1;var t=k(e,C);ee.current.clickTimer=window.setTimeout((function(){clearTimeout(ee.current.mouseoverTimer),re((()=>{t&&(clearTimeout(ee.current.clickTimer),clearTimeout(ee.current.mouseoverTimer),e.stopPropagation(),ee.current.element=t,I?null==_||_(t.__userData):(N(t.__userData),ne(!1)))}))}),200)},n=e=>{if(clearTimeout(ee.current.clickTimer),clearTimeout(ee.current.mouseoverTimer),clearTimeout(ee.current.dblClickTimer),ee.current.isShowAppInfo||ee.current.isShowGraph3D||!ee.current.enable)return!1;var t=k(e,C),{__userData:r,__objectCSS:a}=t;ee.current.isShowGraph3D=!0,ee.current.dblClickTimer=window.setTimeout((function(){re((()=>{var e;if(p||(null===(e=r.trapezoidalProps)||void 0===e||null===(e=e.clusters)||void 0===e?void 0:e.length)<1)g(r),ee.current.isShowGraph3D=!1;else if(t){clearTimeout(ee.current.mouseoverTimer),clearTimeout(ee.current.clickTimer),H.current.classList.add("mask-container"),U.current.reset();var n={x:a.position.x,y:860+R.height*(J.current.maxY-r.y)},o=new d.kX(G.current.position),i=new d.kX({opacity:0,scale:0,borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,borderBottomWidth:0}),l=new d.kX({z:0}),c=new d.kX(G.current.position),s=new d.kX(U.current.target),u=new d.kX({blur:12,spread:0});ae(Q.current.table,600),o.to({x:0,y:-3600,z:1600},1e3).chain(u,i,l),i.to({opacity:1},700).onStart((()=>{var e,t,n,o,i,l=m({objectData:{width:R.width,height:R.height,point:[a.position.x,a.position.y,a.position.z]},clusters:null===(e=r.trapezoidalProps)||void 0===e?void 0:e.clusters,columns:null===(t=r.trapezoidalProps)||void 0===t?void 0:t.columns,appName:null===(n=r.trapezoidalProps)||void 0===n?void 0:n.appName,leftBtnName:null===(o=r.trapezoidalProps)||void 0===o?void 0:o.leftBtnName,rightBtnName:null===(i=r.trapezoidalProps)||void 0===i?void 0:i.rightBtnName,rightOnClick:()=>b(r),leftOnClick:()=>z(r)});q.current=l,Y.current.add(l)})),l.to({z:B},1e3).delay(230).chain(c,s),c.to({x:n.x,y:-3600+n.y},1e3),s.to({x:n.x,y:n.y},1e3).onComplete((function(){O.current.style.visibility="visible"})),o.start()}}))}),200)};return e.addEventListener("dblclick",n),e.addEventListener("click",a),e.addEventListener("mouseover",r),()=>{e.removeEventListener("mouseover",r),e.removeEventListener("click",a),e.removeEventListener("dblclick",n)}}),[I,_]),o().createElement("div",{className:"appwall-container",ref:L},o().createElement("div",{className:"appwall",ref:H}),o().createElement("div",{className:"mask",ref:Z,onClick:()=>{ee.current.enable&&ne(!0)},hidden:!0},o().createElement(F,(0,a.Z)({},null==W?void 0:W.systemCardProps,{onClick:e=>e.stopPropagation(),handleClick:()=>r(W),ref:V,className:T()({infoWrapper:"normal"===(null==W?void 0:W.status),warningWrapper:"warning"===(null==W?void 0:W.status)})}))),o().createElement("div",{className:"closeBtn",ref:O,onClick:()=>{(()=>{d.ZP.removeAll();var e=new d.kX({z:0}),t=new d.kX({opacity:1}),r=new d.kX(G.current.position),a=new d.kX(U.current.target),n=new d.kX({blur:1500,spread:100});e.to({z:B},1e3).chain(r,a,n),t.to({opacity:0},1e3).onStart((()=>{Y.current.remove(q.current),O.current.style.visibility="hidden"})).delay(300),r.to(U.current.position0,1e3).onComplete((function(){U.current.reset(),H.current.classList.remove("mask-container"),ae(Q.current.curve,600),ee.current.isShowGraph3D=!1})),a.to({x:0,y:0,z:0},1e3),n.to({blur:0,spread:0},1e3),e.start(),t.start()})()}}))}},2284:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,':host{display:block;width:100%;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.mask-container{position:absolute;top:0;left:0;width:100%;height:100%;background:#0c1216;z-index:1000}.appwall{position:relative}.appwall.loading .card-item{pointer-events:none!important}.mask{position:absolute;width:100%;height:100%;top:0;bottom:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:center}.mask[hidden]{display:none}.infoWrapper{position:absolute;background:var(--color-fill-bg-base-4);box-shadow:0 0 12px 2px rgba(80,255,255,0.45),inset 0 0 22px 0 #20242A;border:2px solid #50FFFF;overflow:hidden}.warningWrapper{position:absolute;background:linear-gradient(180deg,#CC0066 0%,rgba(204,0,102,0.2) 100%),#0F1117FF;box-shadow:0 0 12px 2px rgba(204,0,102,0.4),inset 0 4px 10px 0 rgba(255,255,255,0.65);overflow:hidden}.relation-line{pointer-events:none!important}.closeBtn{visibility:hidden;position:fixed;top:50px;right:50px;width:46px;height:46px;text-align:center;border:1px solid;color:rgb(138 189 255/84%);font-size:20px;line-height:46px;cursor:pointer;background:rgba(138,189,255,0.13);border-image:linear-gradient(135deg,rgba(255,255,255,0.5),rgba(255,255,255,0),rgba(255,255,255,0.33)) 1 1;display:flex;justify-content:center;align-items:center;z-index:1000}.closeBtn:before,\n.closeBtn:after{content:"";width:2px;height:20px;background:linear-gradient(180deg,#3467FF 0%,#98CBFF 100%);position:absolute}.closeBtn:before{transform:rotateZ(45deg)}.closeBtn:after{transform:rotateZ(-45deg)}.closeBtn:hover:after,\n.closeBtn:hover:before{background:var(--color-normal-text)}.visibilityAnimate{visibility:hidden;animation:visibility 0.5s both 1s}.trapezoidalLeftOrRightAnimation,\n.trapezoidalTopOrBottomAnimation{background:linear-gradient(180deg,rgba(51,102,255,0.4) 0%,#99CCFF 100%);opacity:0.2;position:absolute}.trapezoidalTopOrBottomAnimation{bottom:0;width:100%;left:0;animation:animateTop 1s both}.trapezoidalLeftOrRightAnimation{top:0;right:0;height:100%;animation:animateLeft 1s both}@keyframes animateTop{0%{height:0}100%{height:100%}}@keyframes animateLeft{0%{width:0}100%{width:100%}}@keyframes visibility{0%{visibility:hidden}100%{visibility:visible}}.card-item-container{transition:opacity 0.5s}.status-normal-card{box-shadow:0 0 100px rgba(80,255,255,0.58);border:1px solid rgba(80,255,255,0.58);background:-webkit-gradient(liner,left top,left bottom,from(#002c8d),to(#00123e));background:linear-gradient(to bottom,rgba(80,255,255,1) 0%,rgba(80,255,255,0) 100%)}.status-warning-card{box-shadow:0 0 100px #CC0066;background:-webkit-gradient(liner,left top,left bottom,from(#CC0066),to(rgba(204,0,102,0.2)));background:linear-gradient(to bottom,#CC0066 0%,rgba(204,0,102,0.2) 100%)}',""]);const l=i.toString()},9214:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{display:inline-block;width:100%;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.card-item-container{position:relative;width:100%;height:100%}.card-item{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center;border-radius:var(--no-border-radius);border-color:transparent;transition:border-color 0.5s}.status-normal:hover{box-shadow:0 0 100px rgba(80,255,255,0.58);border:1px solid rgba(80,255,255,0.58);background:-webkit-gradient(liner,left top,left bottom,from(#002c8d),to(#00123e));background:linear-gradient(to bottom,rgba(80,255,255,1) 0%,rgba(80,255,255,0) 100%)}.status-warning:hover{box-shadow:0 0 100px #CC0066;background:-webkit-gradient(liner,left top,left bottom,from(#CC0066),to(rgba(204,0,102,0.2)));background:linear-gradient(to bottom,#CC0066 0%,rgba(204,0,102,0.2) 100%)}.card-item-container.status-normal .card-item{background:var(--color-fill-bg-base-4);box-shadow:inset 0px 1px 2px 0px rgba(255,255,255,0.45)}.card-item-container.status-normal:hover .card-item{border:2px solid rgba(80,255,255,0.58)}.card-item-container.status-warning .card-item{background:linear-gradient(180deg,#CC0066 0%,rgba(204,0,102,0.2) 100%);box-shadow:inset 0px 2px 6px 0px rgba(255,255,255,0.65)}.card-item-container.status-warning:hover .card-item{border:none}.card-item-text-container{width:100%;padding:0 12px}.card-item-title,\n.card-item-description{font-size:20px;font-weight:var(--font-weight-500);color:var(--color-normal-text)}.card-item-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-item-description{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}",""]);const l=i.toString()},8384:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:100%}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.relation-line{position:relative;width:6px;height:100%;background:var(--color-text-divider-line-1);overflow:hidden}.relation-line::after{content:'';position:absolute;width:100%;height:20%;left:0px;top:0px;animation:lightMove 1000ms ease-in-out infinite,lightOpacity 1000ms ease-in-out infinite}.relation-line.light-color-blue::after{background:linear-gradient(rgba(80,255,255,0) 0%,rgba(80,255,255,1) 90%,#DFFFFF 100%)}.relation-line.light-color-purple::after{background:linear-gradient(rgba(102,0,255,0) 0%,rgba(102,0,255,1) 90%,#B07BFF 100%)}@keyframes lightMove{0%{top:0;transform:translateY(-100%)}100%{top:100%;transform:translateY(0)}}@keyframes lightOpacity{0%{opacity:0}20%{opacity:1}80%{opacity:1}100%{opacity:0}}",""]);const l=i.toString()},9948:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{display:inline-block}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.wrapper{position:relative;width:100%;height:100%;padding:30px 24px 35px;left:0;display:flex;flex-direction:column;border-radius:var(--no-border-radius)}.cardName{font-size:var(--title-font-size-strong);line-height:22px;text-align:center;font-weight:var(--font-weight-500);color:var(--color-normal-text);text-shadow:0 1px 4px rgba(51,102,255,0.5);margin-bottom:35px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.descriptions{flex:1;margin-bottom:20px;font-size:var(--auxiliary-font-size-small);overflow:auto;font-weight:var(--font-weight-400)}.descriptionsItem .itemKey{color:var(--color-secondary-text)}.descriptionsItem .itemValue{color:var(--color-strong-text)}.descriptionsItem{display:flex;gap:10px;margin-bottom:12px}.descriptionsItem>div{flex:1;text-align:left;word-break:break-all}.buttonContent{position:absolute;bottom:16px;right:24px;font-size:var(--auxiliary-font-size);color:#99CCFF;cursor:pointer;font-weight:var(--font-weight-500)}.buttonName{margin-left:5px}",""]);const l=i.toString()},1043:(e,t,r)=>{r.d(t,{Z:()=>l});var a=r(9601),n=r.n(a),o=r(2609),i=r.n(o)()(n());i.push([e.id,":host{--palette-rgba-white-1:rgba(255,255,255,10%);--palette-rgba-white-2:rgba(255,255,255,20%);--palette-rgba-white-3:rgba(255,255,255,30%);--palette-rgba-white-4:rgba(255,255,255,40%);--palette-rgba-white-5:rgba(255,255,255,50%);--palette-rgba-white-6:rgba(255,255,255,60%);--palette-rgba-white-7:rgba(255,255,255,70%);--palette-rgba-white-8:rgba(255,255,255,80%);--palette-rgba-white-9:rgba(255,255,255,90%);--palette-rgba-white-10:rgba(255,255,255,100%);--palette-rgba-gray-1:rgba(0,0,0,10%);--palette-rgba-gray-2:rgba(0,0,0,20%);--palette-rgba-gray-3:rgba(0,0,0,30%);--palette-rgba-gray-4:rgba(0,0,0,40%);--palette-rgba-gray-5:rgba(0,0,0,50%);--palette-rgba-gray-6:rgba(0,0,0,60%);--palette-rgba-gray-7:rgba(0,0,0,70%);--palette-rgba-gray-8:rgba(0,0,0,80%);--palette-rgba-gray-9:rgba(0,0,0,90%);--palette-rgba-gray-10:rgba(0,0,0,100%);--palette-rgba-blue-gray-2:rgba(101,106,134,20%);--palette-rgba-blue-gray-3:rgba(101,106,134,30%);--palette-rgba-blue-gray-8:rgba(101,106,134,80%);--palette-tech-blue-4-channel:67,127,255;--palette-tech-blue-4:rgb(var(--palette-tech-blue-4-channel));--palette-tech-blue-6-channel:51,102,255;--palette-tech-blue-6:rgb(var(--palette-tech-blue-6-channel));--palette-tech-blue-8-channel:40,69,159;--palette-tech-blue-8:rgb(var(--palette-tech-blue-8-channel));--palette-sea-green-4-channel:131,245,225;--palette-sea-green-4:rgb(var(--palette-sea-green-4-channel));--palette-green-6-channel:81,235,73;--palette-green-6:rgb(var(--palette-green-6-channel));--palette-green-2:rgba(var(--palette-green-6-channel),20%);--palette-lotus-pink-7-channel:204,0,102;--palette-lotus-pink-7:rgb(var(--palette-lotus-pink-7-channel));--palette-red-6-channel:242,39,39;--palette-red-6:rgb(var(--palette-red-6-channel));--palette-red-2:rgba(var(--palette-red-6-channel),20%);--color-fill-global-bg:#0f1014;--color-fill-bg-container-1:var(--palette-rgba-white-1);--color-fill-bg-container-2:var(--palette-rgba-blue-gray-2);--color-fill-bg-container-3:var(--palette-rgba-blue-gray-8);--color-fill-bg-base-1:var(--palette-rgba-blue-gray-2);--color-fill-bg-base-2:rgba(15,16,20,0%);--color-fill-bg-base-3:rgba(0,0,0,20%);--color-fill-bg-base-4:rgba(40,46,58,100%);--color-fill-bg-base-5:rgba(19,25,47,80%);--color-fill-bg-base-6:var(--palette-rgba-blue-gray-3);--color-brand:var(--palette-tech-blue-6);--color-brand-hover:var(--palette-tech-blue-4);--color-brand-active:var(--palette-tech-blue-8);--color-contrast-1:var(--palette-sea-green-4);--color-error:var(--palette-red-6);--color-error-bg:var(--palette-red-2);--color-success:var(--palette-green-6);--color-success-bg:var(--palette-green-2);--color-header-text-big:var(--palette-rgba-white-10);--color-header-text:var(--palette-rgba-white-10);--color-normal-text:var(--palette-rgba-white-10);--color-strong-text:var(--palette-rgba-white-9);--color-auxiliary-text:var(--palette-rgba-white-8);--color-secondary-text:var(--palette-rgba-white-6);--color-disabled-text:var(--palette-rgba-white-4);--color-border-divider-line:var(--palette-rgba-white-1);--color-text-divider-line-1:var(--palette-rgba-white-2);--color-text-divider-line-2:var(--palette-rgba-white-2);--small-border-radius:2px;--medius-border-radius:5px;--larger-border-radius:12px;--container-border-radius:9999px;--no-border-radius:0px;--mask-bg:var(--palette-rgba-gray-7);--title-font-size-larger:30px;--title-font-size-strong:22px;--title-font-size:18px;--normal-font-size:14px;--auxiliary-font-size:16px;--auxiliary-font-size-small:12px;--overview-data-font-size:34px;--statistics-data-font-size:28px;--normal-data-font-size-larger:20px;--normal-data-font-size:16px;--chart-legend-font-size:12px;--chart-tooltips-font-size-1:12px;--chart-tooltips-font-size-2:12px;--chart-axis-x-font-size:12px;--chart-axis-x-font-size-larger:14px;--chart-axis-y-font-size:12px;--chart-axis-y-font-size-larger:14px;--font-weight-600:600;--font-weight-500:500;--font-weight-400:400;--text-shadow:0px 1px 4px #2863ee;--border-width-base:1px;--border-width-double-base:2px;--border-width-tribble-base:3px;--punctate-width-base:1px;--paragraph-width-base:1px;--button-text-color:#40d0db}",""]);const l=i.toString()}}]);
|
|
2
|
-
//# sourceMappingURL=8442.88d04a5e.js.map
|