@next-bricks/data-view 1.3.16 → 1.4.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.
- package/dist/bricks.json +11 -7
- package/dist/chunks/2836.358bb597.js +2 -0
- package/dist/chunks/2836.358bb597.js.map +1 -0
- package/dist/chunks/8847.9be1eec6.js +2 -0
- package/dist/chunks/8847.9be1eec6.js.map +1 -0
- package/dist/chunks/cabinet-container.95ec63e8.js +3 -0
- package/dist/chunks/cabinet-container.95ec63e8.js.map +1 -0
- package/dist/chunks/cabinet-thumbnail.dc01323b.js +3 -0
- package/dist/chunks/cabinet-thumbnail.dc01323b.js.map +1 -0
- package/dist/chunks/crystal-ball-indicator.269b1f6d.js +2 -0
- package/dist/chunks/crystal-ball-indicator.269b1f6d.js.map +1 -0
- package/dist/chunks/loading-panel.b7f40435.js +2 -0
- package/dist/chunks/loading-panel.b7f40435.js.map +1 -0
- package/dist/chunks/main.dacb91a2.js +2 -0
- package/dist/chunks/{main.ea6494ac.js.map → main.dacb91a2.js.map} +1 -1
- package/dist/chunks/modern-style-treemap.0b40defb.js +3 -0
- package/dist/chunks/modern-style-treemap.0b40defb.js.map +1 -0
- package/dist/chunks/progress-bar-list.b788a7ce.js +2 -0
- package/dist/chunks/progress-bar-list.b788a7ce.js.map +1 -0
- package/dist/examples.json +18 -15
- package/dist/images/9111af40.png +0 -0
- package/dist/images/9514fc4d.png +0 -0
- package/dist/images/c5f34792.png +0 -0
- package/dist/images/e4eec39c.png +0 -0
- package/dist/index.fefb1c64.js +2 -0
- package/dist/index.fefb1c64.js.map +1 -0
- package/dist/manifest.json +136 -102
- package/dist/media/78c4b1bd.ttf +0 -0
- package/dist/media/792b07b2.ttf +0 -0
- package/dist/media/b43f5418.mp4 +0 -0
- package/dist/types.json +242 -124
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/crystal-ball-indicator/index.d.ts +42 -0
- package/dist-types/crystal-ball-indicator/index.spec.d.ts +1 -0
- package/docs/crystal-ball-indicator.md +37 -0
- package/package.json +2 -2
- package/dist/chunks/4263.abcf0070.js +0 -2
- package/dist/chunks/4263.abcf0070.js.map +0 -1
- package/dist/chunks/859.3b3455b0.js +0 -2
- package/dist/chunks/859.3b3455b0.js.map +0 -1
- package/dist/chunks/cabinet-container.bc8cb288.js +0 -3
- package/dist/chunks/cabinet-container.bc8cb288.js.map +0 -1
- package/dist/chunks/cabinet-thumbnail.d6c2b232.js +0 -3
- package/dist/chunks/cabinet-thumbnail.d6c2b232.js.map +0 -1
- package/dist/chunks/loading-panel.4b9cfaa7.js +0 -2
- package/dist/chunks/loading-panel.4b9cfaa7.js.map +0 -1
- package/dist/chunks/main.ea6494ac.js +0 -2
- package/dist/chunks/modern-style-treemap.1dcda45a.js +0 -3
- package/dist/chunks/modern-style-treemap.1dcda45a.js.map +0 -1
- package/dist/chunks/progress-bar-list.3b337de3.js +0 -2
- package/dist/chunks/progress-bar-list.3b337de3.js.map +0 -1
- package/dist/index.e3b2ea1a.js +0 -2
- package/dist/index.e3b2ea1a.js.map +0 -1
- /package/dist/chunks/{cabinet-container.bc8cb288.js.LICENSE.txt → cabinet-container.95ec63e8.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{cabinet-thumbnail.d6c2b232.js.LICENSE.txt → cabinet-thumbnail.dc01323b.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{modern-style-treemap.1dcda45a.js.LICENSE.txt → modern-style-treemap.0b40defb.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -337,6 +337,78 @@
|
|
|
337
337
|
}
|
|
338
338
|
]
|
|
339
339
|
},
|
|
340
|
+
"data-view.dropdown-menu": {
|
|
341
|
+
"properties": [
|
|
342
|
+
{
|
|
343
|
+
"name": "options",
|
|
344
|
+
"annotation": {
|
|
345
|
+
"type": "array",
|
|
346
|
+
"elementType": {
|
|
347
|
+
"type": "typeLiteral",
|
|
348
|
+
"members": [
|
|
349
|
+
{
|
|
350
|
+
"type": "propertySignature",
|
|
351
|
+
"key": {
|
|
352
|
+
"type": "identifier",
|
|
353
|
+
"name": "label"
|
|
354
|
+
},
|
|
355
|
+
"annotation": {
|
|
356
|
+
"type": "keyword",
|
|
357
|
+
"value": "string"
|
|
358
|
+
},
|
|
359
|
+
"computed": false
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"type": "propertySignature",
|
|
363
|
+
"key": {
|
|
364
|
+
"type": "identifier",
|
|
365
|
+
"name": "value"
|
|
366
|
+
},
|
|
367
|
+
"annotation": {
|
|
368
|
+
"type": "keyword",
|
|
369
|
+
"value": "string"
|
|
370
|
+
},
|
|
371
|
+
"computed": false
|
|
372
|
+
}
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "value",
|
|
379
|
+
"annotation": {
|
|
380
|
+
"type": "keyword",
|
|
381
|
+
"value": "string"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "placeholder",
|
|
386
|
+
"annotation": {
|
|
387
|
+
"type": "keyword",
|
|
388
|
+
"value": "string"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "allowClear",
|
|
393
|
+
"annotation": {
|
|
394
|
+
"type": "keyword",
|
|
395
|
+
"value": "boolean"
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
],
|
|
399
|
+
"events": [
|
|
400
|
+
{
|
|
401
|
+
"name": "value.change",
|
|
402
|
+
"detail": {
|
|
403
|
+
"annotation": {
|
|
404
|
+
"type": "keyword",
|
|
405
|
+
"value": "string"
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
],
|
|
410
|
+
"methods": []
|
|
411
|
+
},
|
|
340
412
|
"data-view.battery-chart": {
|
|
341
413
|
"properties": [
|
|
342
414
|
{
|
|
@@ -476,78 +548,6 @@
|
|
|
476
548
|
}
|
|
477
549
|
]
|
|
478
550
|
},
|
|
479
|
-
"data-view.dropdown-menu": {
|
|
480
|
-
"properties": [
|
|
481
|
-
{
|
|
482
|
-
"name": "options",
|
|
483
|
-
"annotation": {
|
|
484
|
-
"type": "array",
|
|
485
|
-
"elementType": {
|
|
486
|
-
"type": "typeLiteral",
|
|
487
|
-
"members": [
|
|
488
|
-
{
|
|
489
|
-
"type": "propertySignature",
|
|
490
|
-
"key": {
|
|
491
|
-
"type": "identifier",
|
|
492
|
-
"name": "label"
|
|
493
|
-
},
|
|
494
|
-
"annotation": {
|
|
495
|
-
"type": "keyword",
|
|
496
|
-
"value": "string"
|
|
497
|
-
},
|
|
498
|
-
"computed": false
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
"type": "propertySignature",
|
|
502
|
-
"key": {
|
|
503
|
-
"type": "identifier",
|
|
504
|
-
"name": "value"
|
|
505
|
-
},
|
|
506
|
-
"annotation": {
|
|
507
|
-
"type": "keyword",
|
|
508
|
-
"value": "string"
|
|
509
|
-
},
|
|
510
|
-
"computed": false
|
|
511
|
-
}
|
|
512
|
-
]
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"name": "value",
|
|
518
|
-
"annotation": {
|
|
519
|
-
"type": "keyword",
|
|
520
|
-
"value": "string"
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"name": "placeholder",
|
|
525
|
-
"annotation": {
|
|
526
|
-
"type": "keyword",
|
|
527
|
-
"value": "string"
|
|
528
|
-
}
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"name": "allowClear",
|
|
532
|
-
"annotation": {
|
|
533
|
-
"type": "keyword",
|
|
534
|
-
"value": "boolean"
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
],
|
|
538
|
-
"events": [
|
|
539
|
-
{
|
|
540
|
-
"name": "value.change",
|
|
541
|
-
"detail": {
|
|
542
|
-
"annotation": {
|
|
543
|
-
"type": "keyword",
|
|
544
|
-
"value": "string"
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
],
|
|
549
|
-
"methods": []
|
|
550
|
-
},
|
|
551
551
|
"data-view.particle-animation": {
|
|
552
552
|
"properties": [
|
|
553
553
|
{
|
|
@@ -1691,6 +1691,35 @@
|
|
|
1691
1691
|
}
|
|
1692
1692
|
]
|
|
1693
1693
|
},
|
|
1694
|
+
"data-view.lights-component-title": {
|
|
1695
|
+
"properties": [
|
|
1696
|
+
{
|
|
1697
|
+
"name": "componentTitle",
|
|
1698
|
+
"annotation": {
|
|
1699
|
+
"type": "keyword",
|
|
1700
|
+
"value": "string"
|
|
1701
|
+
}
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
"name": "theme",
|
|
1705
|
+
"annotation": {
|
|
1706
|
+
"type": "union",
|
|
1707
|
+
"types": [
|
|
1708
|
+
{
|
|
1709
|
+
"type": "jsLiteral",
|
|
1710
|
+
"value": "light"
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"type": "jsLiteral",
|
|
1714
|
+
"value": "dark"
|
|
1715
|
+
}
|
|
1716
|
+
]
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
],
|
|
1720
|
+
"events": [],
|
|
1721
|
+
"methods": []
|
|
1722
|
+
},
|
|
1694
1723
|
"data-view.top-title-bar": {
|
|
1695
1724
|
"properties": [
|
|
1696
1725
|
{
|
|
@@ -1737,35 +1766,6 @@
|
|
|
1737
1766
|
}
|
|
1738
1767
|
]
|
|
1739
1768
|
},
|
|
1740
|
-
"data-view.lights-component-title": {
|
|
1741
|
-
"properties": [
|
|
1742
|
-
{
|
|
1743
|
-
"name": "componentTitle",
|
|
1744
|
-
"annotation": {
|
|
1745
|
-
"type": "keyword",
|
|
1746
|
-
"value": "string"
|
|
1747
|
-
}
|
|
1748
|
-
},
|
|
1749
|
-
{
|
|
1750
|
-
"name": "theme",
|
|
1751
|
-
"annotation": {
|
|
1752
|
-
"type": "union",
|
|
1753
|
-
"types": [
|
|
1754
|
-
{
|
|
1755
|
-
"type": "jsLiteral",
|
|
1756
|
-
"value": "light"
|
|
1757
|
-
},
|
|
1758
|
-
{
|
|
1759
|
-
"type": "jsLiteral",
|
|
1760
|
-
"value": "dark"
|
|
1761
|
-
}
|
|
1762
|
-
]
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
|
-
],
|
|
1766
|
-
"events": [],
|
|
1767
|
-
"methods": []
|
|
1768
|
-
},
|
|
1769
1769
|
"data-view.hi-tech-button": {
|
|
1770
1770
|
"properties": [
|
|
1771
1771
|
{
|
|
@@ -2208,7 +2208,7 @@
|
|
|
2208
2208
|
"events": [],
|
|
2209
2209
|
"methods": []
|
|
2210
2210
|
},
|
|
2211
|
-
"data-view.data-display-flipper-
|
|
2211
|
+
"data-view.data-display-flipper-sixth": {
|
|
2212
2212
|
"properties": [
|
|
2213
2213
|
{
|
|
2214
2214
|
"name": "flipperTitle",
|
|
@@ -2249,33 +2249,12 @@
|
|
|
2249
2249
|
}
|
|
2250
2250
|
]
|
|
2251
2251
|
}
|
|
2252
|
-
},
|
|
2253
|
-
{
|
|
2254
|
-
"name": "unit",
|
|
2255
|
-
"annotation": {
|
|
2256
|
-
"type": "keyword",
|
|
2257
|
-
"value": "string"
|
|
2258
|
-
}
|
|
2259
|
-
},
|
|
2260
|
-
{
|
|
2261
|
-
"name": "enableTitlePrefix",
|
|
2262
|
-
"annotation": {
|
|
2263
|
-
"type": "keyword",
|
|
2264
|
-
"value": "boolean"
|
|
2265
|
-
}
|
|
2266
|
-
},
|
|
2267
|
-
{
|
|
2268
|
-
"name": "showDefaultPrefix",
|
|
2269
|
-
"annotation": {
|
|
2270
|
-
"type": "keyword",
|
|
2271
|
-
"value": "boolean"
|
|
2272
|
-
}
|
|
2273
2252
|
}
|
|
2274
2253
|
],
|
|
2275
2254
|
"events": [],
|
|
2276
2255
|
"methods": []
|
|
2277
2256
|
},
|
|
2278
|
-
"data-view.data-display-flipper-
|
|
2257
|
+
"data-view.data-display-flipper-fifth": {
|
|
2279
2258
|
"properties": [
|
|
2280
2259
|
{
|
|
2281
2260
|
"name": "flipperTitle",
|
|
@@ -2316,6 +2295,27 @@
|
|
|
2316
2295
|
}
|
|
2317
2296
|
]
|
|
2318
2297
|
}
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"name": "unit",
|
|
2301
|
+
"annotation": {
|
|
2302
|
+
"type": "keyword",
|
|
2303
|
+
"value": "string"
|
|
2304
|
+
}
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"name": "enableTitlePrefix",
|
|
2308
|
+
"annotation": {
|
|
2309
|
+
"type": "keyword",
|
|
2310
|
+
"value": "boolean"
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"name": "showDefaultPrefix",
|
|
2315
|
+
"annotation": {
|
|
2316
|
+
"type": "keyword",
|
|
2317
|
+
"value": "boolean"
|
|
2318
|
+
}
|
|
2319
2319
|
}
|
|
2320
2320
|
],
|
|
2321
2321
|
"events": [],
|
|
@@ -2420,6 +2420,124 @@
|
|
|
2420
2420
|
}
|
|
2421
2421
|
]
|
|
2422
2422
|
},
|
|
2423
|
+
"data-view.crystal-ball-indicator": {
|
|
2424
|
+
"properties": [
|
|
2425
|
+
{
|
|
2426
|
+
"name": "dataSource",
|
|
2427
|
+
"annotation": {
|
|
2428
|
+
"type": "array",
|
|
2429
|
+
"elementType": {
|
|
2430
|
+
"type": "reference",
|
|
2431
|
+
"typeName": {
|
|
2432
|
+
"type": "identifier",
|
|
2433
|
+
"name": "DataItem"
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
}
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
"name": "centerDataSource",
|
|
2440
|
+
"annotation": {
|
|
2441
|
+
"type": "reference",
|
|
2442
|
+
"typeName": {
|
|
2443
|
+
"type": "identifier",
|
|
2444
|
+
"name": "DataItem"
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
"name": "cornerDataSource",
|
|
2450
|
+
"annotation": {
|
|
2451
|
+
"type": "array",
|
|
2452
|
+
"elementType": {
|
|
2453
|
+
"type": "reference",
|
|
2454
|
+
"typeName": {
|
|
2455
|
+
"type": "identifier",
|
|
2456
|
+
"name": "cornerDataItem"
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
"name": "maxScale",
|
|
2463
|
+
"annotation": {
|
|
2464
|
+
"type": "keyword",
|
|
2465
|
+
"value": "number"
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
],
|
|
2469
|
+
"events": [],
|
|
2470
|
+
"methods": [],
|
|
2471
|
+
"types": [
|
|
2472
|
+
{
|
|
2473
|
+
"type": "interface",
|
|
2474
|
+
"name": "DataItem",
|
|
2475
|
+
"body": [
|
|
2476
|
+
{
|
|
2477
|
+
"type": "propertySignature",
|
|
2478
|
+
"key": {
|
|
2479
|
+
"type": "identifier",
|
|
2480
|
+
"name": "label"
|
|
2481
|
+
},
|
|
2482
|
+
"annotation": {
|
|
2483
|
+
"type": "keyword",
|
|
2484
|
+
"value": "string"
|
|
2485
|
+
},
|
|
2486
|
+
"computed": false
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"type": "propertySignature",
|
|
2490
|
+
"key": {
|
|
2491
|
+
"type": "identifier",
|
|
2492
|
+
"name": "value"
|
|
2493
|
+
},
|
|
2494
|
+
"annotation": {
|
|
2495
|
+
"type": "union",
|
|
2496
|
+
"types": [
|
|
2497
|
+
{
|
|
2498
|
+
"type": "keyword",
|
|
2499
|
+
"value": "string"
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"type": "keyword",
|
|
2503
|
+
"value": "number"
|
|
2504
|
+
}
|
|
2505
|
+
]
|
|
2506
|
+
},
|
|
2507
|
+
"computed": false
|
|
2508
|
+
}
|
|
2509
|
+
]
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"type": "interface",
|
|
2513
|
+
"name": "cornerDataItem",
|
|
2514
|
+
"body": [
|
|
2515
|
+
{
|
|
2516
|
+
"type": "propertySignature",
|
|
2517
|
+
"key": {
|
|
2518
|
+
"type": "identifier",
|
|
2519
|
+
"name": "color"
|
|
2520
|
+
},
|
|
2521
|
+
"annotation": {
|
|
2522
|
+
"type": "keyword",
|
|
2523
|
+
"value": "string"
|
|
2524
|
+
},
|
|
2525
|
+
"optional": true,
|
|
2526
|
+
"computed": false
|
|
2527
|
+
}
|
|
2528
|
+
],
|
|
2529
|
+
"extends": [
|
|
2530
|
+
{
|
|
2531
|
+
"type": "expressionWithTypeArguments",
|
|
2532
|
+
"expression": {
|
|
2533
|
+
"type": "identifier",
|
|
2534
|
+
"name": "DataItem"
|
|
2535
|
+
}
|
|
2536
|
+
}
|
|
2537
|
+
]
|
|
2538
|
+
}
|
|
2539
|
+
]
|
|
2540
|
+
},
|
|
2423
2541
|
"data-view.loading-panel": {
|
|
2424
2542
|
"properties": [
|
|
2425
2543
|
{
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReactNextElement } from "@next-core/react-element";
|
|
3
|
+
import "@next-core/theme";
|
|
4
|
+
import "../fonts/ALiBaBaPuHuiTi.css";
|
|
5
|
+
import "../fonts/PangMenZhengDaoBiaoTiTi.css";
|
|
6
|
+
export interface CrystalBallIndicatorProps {
|
|
7
|
+
dataSource?: DataItem[];
|
|
8
|
+
centerDataSource?: DataItem;
|
|
9
|
+
cornerDataSource?: cornerDataItem[];
|
|
10
|
+
maxScale?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface DataItem {
|
|
13
|
+
label: string;
|
|
14
|
+
value: string | number;
|
|
15
|
+
}
|
|
16
|
+
export interface cornerDataItem extends DataItem {
|
|
17
|
+
color?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* 有水晶球动画的数据展示构件。
|
|
21
|
+
*/
|
|
22
|
+
export declare class CrystalBallIndicator extends ReactNextElement implements CrystalBallIndicatorProps {
|
|
23
|
+
/** 指标数据列表(显示在环上) */
|
|
24
|
+
accessor dataSource: DataItem[] | undefined;
|
|
25
|
+
/** 中心数据(显示在中心水晶球内) */
|
|
26
|
+
accessor centerDataSource: DataItem | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* 左上角指标数据列表
|
|
29
|
+
*/
|
|
30
|
+
accessor cornerDataSource: cornerDataItem[] | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* 最大缩放比例
|
|
33
|
+
*
|
|
34
|
+
* @default 1
|
|
35
|
+
*/
|
|
36
|
+
accessor maxScale: number | undefined;
|
|
37
|
+
render(): React.JSX.Element;
|
|
38
|
+
}
|
|
39
|
+
export interface CrystalBallIndicatorComponentProps extends CrystalBallIndicatorProps {
|
|
40
|
+
root: CrystalBallIndicator;
|
|
41
|
+
}
|
|
42
|
+
export declare function CrystalBallIndicatorComponent({ root, dataSource, centerDataSource, cornerDataSource, maxScale, }: CrystalBallIndicatorComponentProps): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
中间是水晶球动画的数据展示构件。
|
|
2
|
+
|
|
3
|
+
## Examples
|
|
4
|
+
|
|
5
|
+
### Basic
|
|
6
|
+
|
|
7
|
+
```yaml preview minHeight="660px"
|
|
8
|
+
brick: data-view.crystal-ball-indicator
|
|
9
|
+
properties:
|
|
10
|
+
centerDataSource:
|
|
11
|
+
label: 资产总数
|
|
12
|
+
value: 30123
|
|
13
|
+
dataSource:
|
|
14
|
+
- label: 低值易耗品
|
|
15
|
+
value: 3889
|
|
16
|
+
- label: 摊销资产
|
|
17
|
+
value: 2087
|
|
18
|
+
- label: 固定资产
|
|
19
|
+
value: 12088
|
|
20
|
+
- label: 无形资产
|
|
21
|
+
value: 1082
|
|
22
|
+
- label: 在建工程
|
|
23
|
+
value: 10997
|
|
24
|
+
cornerDataSource:
|
|
25
|
+
- label: 资产增长
|
|
26
|
+
value: 43
|
|
27
|
+
color: red
|
|
28
|
+
- label: 资产减少
|
|
29
|
+
value: 21
|
|
30
|
+
color: green
|
|
31
|
+
# Currently this brick only works within dark theme
|
|
32
|
+
lifeCycle:
|
|
33
|
+
onPageLoad:
|
|
34
|
+
action: theme.setTheme
|
|
35
|
+
args:
|
|
36
|
+
- dark-v2
|
|
37
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/data-view",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/data-view",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@next-bricks/icons": "*"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "0d9124e467a82ea9b22c719b74a1552dc3191e00"
|
|
45
45
|
}
|