@next-bricks/data-view 0.12.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/dist/bricks.json +5 -5
  2. package/dist/chunks/{1646.7412ac5f.js → 1646.00f8ddfc.js} +2 -2
  3. package/dist/chunks/{1646.7412ac5f.js.map → 1646.00f8ddfc.js.map} +1 -1
  4. package/dist/chunks/2108.53f1e2b5.js.map +1 -1
  5. package/dist/chunks/{2916.34d5150f.js → 2502.f7f556e2.js} +2 -2
  6. package/dist/chunks/2502.f7f556e2.js.map +1 -0
  7. package/dist/chunks/2618.3b734d5a.js +2 -0
  8. package/dist/chunks/2618.3b734d5a.js.map +1 -0
  9. package/dist/chunks/2754.63e58b26.js +2 -0
  10. package/dist/chunks/2754.63e58b26.js.map +1 -0
  11. package/dist/chunks/{3458.66ce61b1.js → 3458.4c99153d.js} +2 -2
  12. package/dist/chunks/{8691.bfecd4c2.js.map → 3458.4c99153d.js.map} +1 -1
  13. package/dist/chunks/3494.c7a24423.js +2 -0
  14. package/dist/chunks/3494.c7a24423.js.map +1 -0
  15. package/dist/chunks/{4049.29408ae2.js → 4049.06228157.js} +2 -2
  16. package/dist/chunks/{4049.29408ae2.js.map → 4049.06228157.js.map} +1 -1
  17. package/dist/chunks/4770.7549442e.js +2 -0
  18. package/dist/chunks/4770.7549442e.js.map +1 -0
  19. package/dist/chunks/4791.ff1d135f.js.map +1 -1
  20. package/dist/chunks/{5114.c504ff08.js → 5114.e362fe95.js} +2 -2
  21. package/dist/chunks/5114.e362fe95.js.map +1 -0
  22. package/dist/chunks/5151.ce644081.js +2 -0
  23. package/dist/chunks/5151.ce644081.js.map +1 -0
  24. package/dist/chunks/{5636.d64d4d52.js → 5636.e1796a6a.js} +2 -2
  25. package/dist/chunks/{5636.d64d4d52.js.map → 5636.e1796a6a.js.map} +1 -1
  26. package/dist/chunks/5637.0144d974.js.map +1 -1
  27. package/dist/chunks/{5725.acd3173d.js → 5725.4e31534a.js} +2 -2
  28. package/dist/chunks/{5725.acd3173d.js.map → 5725.4e31534a.js.map} +1 -1
  29. package/dist/chunks/{6205.f18e341c.js → 6205.47b27d26.js} +2 -2
  30. package/dist/chunks/6205.47b27d26.js.map +1 -0
  31. package/dist/chunks/6252.a408a0a3.js.map +1 -1
  32. package/dist/chunks/6301.8283ed69.js +2 -0
  33. package/dist/chunks/6301.8283ed69.js.map +1 -0
  34. package/dist/chunks/{6473.4c7164f1.js → 6473.5bb88c66.js} +2 -2
  35. package/dist/chunks/{6473.4c7164f1.js.map → 6473.5bb88c66.js.map} +1 -1
  36. package/dist/chunks/6789.fcbbeadb.js.map +1 -1
  37. package/dist/chunks/{7164.f1274bef.js → 7164.272521bc.js} +2 -2
  38. package/dist/chunks/7164.272521bc.js.map +1 -0
  39. package/dist/chunks/{7672.f8c0d9d5.js → 7672.87ae5be6.js} +2 -2
  40. package/dist/chunks/{7672.f8c0d9d5.js.map → 7672.87ae5be6.js.map} +1 -1
  41. package/dist/chunks/{7746.58cce6af.js → 7746.66872fcf.js} +2 -2
  42. package/dist/chunks/{7746.58cce6af.js.map → 7746.66872fcf.js.map} +1 -1
  43. package/dist/chunks/7782.ba06ff15.js +2 -0
  44. package/dist/chunks/7782.ba06ff15.js.map +1 -0
  45. package/dist/chunks/7822.3c93ccc0.js +2 -0
  46. package/dist/chunks/7822.3c93ccc0.js.map +1 -0
  47. package/dist/chunks/{8691.bfecd4c2.js → 8691.dcf26a0c.js} +2 -2
  48. package/dist/chunks/{3458.66ce61b1.js.map → 8691.dcf26a0c.js.map} +1 -1
  49. package/dist/chunks/9526.b1b920ff.js +2 -0
  50. package/dist/chunks/9526.b1b920ff.js.map +1 -0
  51. package/dist/chunks/{app-wall-card-item.773b88a2.js → app-wall-card-item.940bfb27.js} +3 -3
  52. package/dist/chunks/app-wall-card-item.940bfb27.js.map +1 -0
  53. package/dist/chunks/{app-wall-relation-line.b3457721.js → app-wall-relation-line.7d23426d.js} +3 -3
  54. package/dist/chunks/app-wall-relation-line.7d23426d.js.map +1 -0
  55. package/dist/chunks/app-wall-system-card.bde6830e.js.map +1 -1
  56. package/dist/chunks/app-wall.016f9ec6.js +2 -0
  57. package/dist/chunks/app-wall.016f9ec6.js.map +1 -0
  58. package/dist/chunks/battery-chart.a80664a9.js +2 -0
  59. package/dist/chunks/battery-chart.a80664a9.js.map +1 -0
  60. package/dist/chunks/brick-notification.921c2ed3.js +2 -0
  61. package/dist/chunks/brick-notification.921c2ed3.js.map +1 -0
  62. package/dist/chunks/{cabinet-app-layer.7d13abc3.js → cabinet-app-layer.f6d22c56.js} +3 -3
  63. package/dist/chunks/cabinet-app-layer.f6d22c56.js.map +1 -0
  64. package/dist/chunks/{cabinet-button.eace0f9d.js → cabinet-button.6b3d36f2.js} +2 -2
  65. package/dist/chunks/cabinet-button.6b3d36f2.js.map +1 -0
  66. package/dist/chunks/cabinet-container.4a5f4b04.js +3 -0
  67. package/dist/chunks/cabinet-container.4a5f4b04.js.map +1 -0
  68. package/dist/chunks/cabinet-graph.c81b9297.js +2 -0
  69. package/dist/chunks/cabinet-graph.c81b9297.js.map +1 -0
  70. package/dist/chunks/cabinet-node.9c0cd3b5.js +3 -0
  71. package/dist/chunks/cabinet-node.9c0cd3b5.js.map +1 -0
  72. package/dist/chunks/cabinet-thumbnail.1027b046.js +3 -0
  73. package/dist/chunks/cabinet-thumbnail.1027b046.js.map +1 -0
  74. package/dist/chunks/complex-search.48ed755e.js +2 -0
  75. package/dist/chunks/complex-search.48ed755e.js.map +1 -0
  76. package/dist/chunks/dropdown-menu.122b99af.js +3 -0
  77. package/dist/chunks/dropdown-menu.122b99af.js.map +1 -0
  78. package/dist/chunks/{gauge-chart.f4944080.js → gauge-chart.97728202.js} +2 -2
  79. package/dist/chunks/gauge-chart.97728202.js.map +1 -0
  80. package/dist/chunks/{gear-background.d94e02e2.js → gear-background.aa9c8881.js} +2 -2
  81. package/dist/chunks/gear-background.aa9c8881.js.map +1 -0
  82. package/dist/chunks/graph-layout-grid.9945798d.js +2 -0
  83. package/dist/chunks/graph-layout-grid.9945798d.js.map +1 -0
  84. package/dist/chunks/{graph-node.547a6dc9.js → graph-node.3b722d4b.js} +2 -2
  85. package/dist/chunks/graph-node.3b722d4b.js.map +1 -0
  86. package/dist/chunks/{graph-text.e913f91e.js → graph-text.e6e84fc4.js} +2 -2
  87. package/dist/chunks/graph-text.e6e84fc4.js.map +1 -0
  88. package/dist/chunks/{grid-background.8034709e.js → grid-background.5500a391.js} +2 -2
  89. package/dist/chunks/grid-background.5500a391.js.map +1 -0
  90. package/dist/chunks/hi-tech-button.fc429ec7.js +2 -0
  91. package/dist/chunks/hi-tech-button.fc429ec7.js.map +1 -0
  92. package/dist/chunks/lights-component-title.87c1f519.js +2 -0
  93. package/dist/chunks/lights-component-title.87c1f519.js.map +1 -0
  94. package/dist/chunks/loading-panel.e90ef9a2.js +2 -0
  95. package/dist/chunks/loading-panel.e90ef9a2.js.map +1 -0
  96. package/dist/chunks/main.670e210a.js +2 -0
  97. package/dist/chunks/main.670e210a.js.map +1 -0
  98. package/dist/chunks/{modern-style-component-title.0ecbc822.js → modern-style-component-title.122c04c8.js} +2 -2
  99. package/dist/chunks/modern-style-component-title.122c04c8.js.map +1 -0
  100. package/dist/chunks/{modern-style-page-title.6ec3a54a.js → modern-style-page-title.9c5b4fe4.js} +2 -2
  101. package/dist/chunks/modern-style-page-title.9c5b4fe4.js.map +1 -0
  102. package/dist/chunks/modern-style-treemap.a6ca1bfd.js +3 -0
  103. package/dist/chunks/modern-style-treemap.a6ca1bfd.js.map +1 -0
  104. package/dist/chunks/{particle-animation.0edae74c.js → particle-animation.cc736d30.js} +2 -2
  105. package/dist/chunks/particle-animation.cc736d30.js.map +1 -0
  106. package/dist/chunks/radar-chart.5de4e675.js +2 -0
  107. package/dist/chunks/radar-chart.5de4e675.js.map +1 -0
  108. package/dist/chunks/tabs-drawer.000b4e3e.js +3 -0
  109. package/dist/chunks/tabs-drawer.000b4e3e.js.map +1 -0
  110. package/dist/chunks/tabs-page-title.d7f34cdf.js +3 -0
  111. package/dist/chunks/tabs-page-title.d7f34cdf.js.map +1 -0
  112. package/dist/chunks/tech-mesh-base-view.e6d45c37.js +2 -0
  113. package/dist/chunks/tech-mesh-base-view.e6d45c37.js.map +1 -0
  114. package/dist/chunks/{title-text.0e67fd3e.js → title-text.1dac106c.js} +2 -2
  115. package/dist/chunks/title-text.1dac106c.js.map +1 -0
  116. package/dist/chunks/{top-title-bar.b61de75a.js → top-title-bar.0a07a3e1.js} +2 -2
  117. package/dist/chunks/top-title-bar.0a07a3e1.js.map +1 -0
  118. package/dist/images/23be87ab.png +0 -0
  119. package/dist/images/67e041ba.png +0 -0
  120. package/dist/index.d495e9e6.js +2 -0
  121. package/dist/index.d495e9e6.js.map +1 -0
  122. package/dist/manifest.json +67 -67
  123. package/dist/types.json +215 -199
  124. package/dist-types/cabinet/cabinet-container/index.d.ts +2 -2
  125. package/dist-types/cabinet/cabinet-node/index.d.ts +2 -2
  126. package/dist-types/cabinet/index.d.ts +1 -1
  127. package/docs/cabinet-graph.md +54 -0
  128. package/docs/cabinet-thumbnail.md +47 -0
  129. package/package.json +4 -4
  130. package/dist/chunks/2618.b7473aca.js +0 -2
  131. package/dist/chunks/2618.b7473aca.js.map +0 -1
  132. package/dist/chunks/2754.c7ac7717.js +0 -2
  133. package/dist/chunks/2754.c7ac7717.js.map +0 -1
  134. package/dist/chunks/2916.34d5150f.js.map +0 -1
  135. package/dist/chunks/3494.7b59fbc7.js +0 -2
  136. package/dist/chunks/3494.7b59fbc7.js.map +0 -1
  137. package/dist/chunks/4131.68cd0781.js +0 -2
  138. package/dist/chunks/4131.68cd0781.js.map +0 -1
  139. package/dist/chunks/4770.0dcb5da8.js +0 -2
  140. package/dist/chunks/4770.0dcb5da8.js.map +0 -1
  141. package/dist/chunks/5114.c504ff08.js.map +0 -1
  142. package/dist/chunks/5151.13888d0e.js +0 -2
  143. package/dist/chunks/5151.13888d0e.js.map +0 -1
  144. package/dist/chunks/6205.f18e341c.js.map +0 -1
  145. package/dist/chunks/7164.f1274bef.js.map +0 -1
  146. package/dist/chunks/7822.16f2edd6.js +0 -2
  147. package/dist/chunks/7822.16f2edd6.js.map +0 -1
  148. package/dist/chunks/790.e473b6c4.js +0 -2
  149. package/dist/chunks/790.e473b6c4.js.map +0 -1
  150. package/dist/chunks/9526.4ed72968.js +0 -2
  151. package/dist/chunks/9526.4ed72968.js.map +0 -1
  152. package/dist/chunks/app-wall-card-item.773b88a2.js.map +0 -1
  153. package/dist/chunks/app-wall-relation-line.b3457721.js.map +0 -1
  154. package/dist/chunks/app-wall.c42aea16.js +0 -2
  155. package/dist/chunks/app-wall.c42aea16.js.map +0 -1
  156. package/dist/chunks/battery-chart.bce01429.js +0 -2
  157. package/dist/chunks/battery-chart.bce01429.js.map +0 -1
  158. package/dist/chunks/brick-notification.849b2697.js +0 -2
  159. package/dist/chunks/brick-notification.849b2697.js.map +0 -1
  160. package/dist/chunks/cabinet-app-layer.7d13abc3.js.map +0 -1
  161. package/dist/chunks/cabinet-button.eace0f9d.js.map +0 -1
  162. package/dist/chunks/cabinet-container.36c3ca54.js +0 -3
  163. package/dist/chunks/cabinet-container.36c3ca54.js.map +0 -1
  164. package/dist/chunks/cabinet-graph.ccbdb7d8.js +0 -2
  165. package/dist/chunks/cabinet-graph.ccbdb7d8.js.map +0 -1
  166. package/dist/chunks/cabinet-node.01ac0405.js +0 -3
  167. package/dist/chunks/cabinet-node.01ac0405.js.map +0 -1
  168. package/dist/chunks/cabinet-thumbnail.644cd819.js +0 -3
  169. package/dist/chunks/cabinet-thumbnail.644cd819.js.map +0 -1
  170. package/dist/chunks/complex-search.9a396c27.js +0 -2
  171. package/dist/chunks/complex-search.9a396c27.js.map +0 -1
  172. package/dist/chunks/dropdown-menu.d845a097.js +0 -3
  173. package/dist/chunks/dropdown-menu.d845a097.js.map +0 -1
  174. package/dist/chunks/gauge-chart.f4944080.js.map +0 -1
  175. package/dist/chunks/gear-background.d94e02e2.js.map +0 -1
  176. package/dist/chunks/graph-layout-grid.596f5ff8.js +0 -2
  177. package/dist/chunks/graph-layout-grid.596f5ff8.js.map +0 -1
  178. package/dist/chunks/graph-node.547a6dc9.js.map +0 -1
  179. package/dist/chunks/graph-text.e913f91e.js.map +0 -1
  180. package/dist/chunks/grid-background.8034709e.js.map +0 -1
  181. package/dist/chunks/hi-tech-button.fcb724f8.js +0 -2
  182. package/dist/chunks/hi-tech-button.fcb724f8.js.map +0 -1
  183. package/dist/chunks/lights-component-title.6e709aa8.js +0 -2
  184. package/dist/chunks/lights-component-title.6e709aa8.js.map +0 -1
  185. package/dist/chunks/loading-panel.75c7fcdc.js +0 -2
  186. package/dist/chunks/loading-panel.75c7fcdc.js.map +0 -1
  187. package/dist/chunks/main.5bb89d10.js +0 -2
  188. package/dist/chunks/main.5bb89d10.js.map +0 -1
  189. package/dist/chunks/modern-style-component-title.0ecbc822.js.map +0 -1
  190. package/dist/chunks/modern-style-page-title.6ec3a54a.js.map +0 -1
  191. package/dist/chunks/modern-style-treemap.61642f86.js +0 -3
  192. package/dist/chunks/modern-style-treemap.61642f86.js.map +0 -1
  193. package/dist/chunks/particle-animation.0edae74c.js.map +0 -1
  194. package/dist/chunks/radar-chart.3c0fc235.js +0 -2
  195. package/dist/chunks/radar-chart.3c0fc235.js.map +0 -1
  196. package/dist/chunks/tabs-drawer.c77b2402.js +0 -3
  197. package/dist/chunks/tabs-drawer.c77b2402.js.map +0 -1
  198. package/dist/chunks/tabs-page-title.d479525c.js +0 -3
  199. package/dist/chunks/tabs-page-title.d479525c.js.map +0 -1
  200. package/dist/chunks/tech-mesh-base-view.54fff757.js +0 -2
  201. package/dist/chunks/tech-mesh-base-view.54fff757.js.map +0 -1
  202. package/dist/chunks/title-text.0e67fd3e.js.map +0 -1
  203. package/dist/chunks/top-title-bar.b61de75a.js.map +0 -1
  204. package/dist/index.6567a365.js +0 -2
  205. package/dist/index.6567a365.js.map +0 -1
  206. /package/dist/chunks/{app-wall-card-item.773b88a2.js.LICENSE.txt → app-wall-card-item.940bfb27.js.LICENSE.txt} +0 -0
  207. /package/dist/chunks/{app-wall-relation-line.b3457721.js.LICENSE.txt → app-wall-relation-line.7d23426d.js.LICENSE.txt} +0 -0
  208. /package/dist/chunks/{cabinet-app-layer.7d13abc3.js.LICENSE.txt → cabinet-app-layer.f6d22c56.js.LICENSE.txt} +0 -0
  209. /package/dist/chunks/{cabinet-container.36c3ca54.js.LICENSE.txt → cabinet-container.4a5f4b04.js.LICENSE.txt} +0 -0
  210. /package/dist/chunks/{cabinet-node.01ac0405.js.LICENSE.txt → cabinet-node.9c0cd3b5.js.LICENSE.txt} +0 -0
  211. /package/dist/chunks/{cabinet-thumbnail.644cd819.js.LICENSE.txt → cabinet-thumbnail.1027b046.js.LICENSE.txt} +0 -0
  212. /package/dist/chunks/{dropdown-menu.d845a097.js.LICENSE.txt → dropdown-menu.122b99af.js.LICENSE.txt} +0 -0
  213. /package/dist/chunks/{modern-style-treemap.61642f86.js.LICENSE.txt → modern-style-treemap.a6ca1bfd.js.LICENSE.txt} +0 -0
  214. /package/dist/chunks/{tabs-drawer.c77b2402.js.LICENSE.txt → tabs-drawer.000b4e3e.js.LICENSE.txt} +0 -0
  215. /package/dist/chunks/{tabs-page-title.d479525c.js.LICENSE.txt → tabs-page-title.d7f34cdf.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -894,6 +894,10 @@
894
894
  {
895
895
  "type": "jsLiteral",
896
896
  "value": "virtual-machine"
897
+ },
898
+ {
899
+ "type": "jsLiteral",
900
+ "value": "pod"
897
901
  }
898
902
  ]
899
903
  }
@@ -1211,6 +1215,10 @@
1211
1215
  {
1212
1216
  "type": "jsLiteral",
1213
1217
  "value": "k8s"
1218
+ },
1219
+ {
1220
+ "type": "jsLiteral",
1221
+ "value": "k8s-blue"
1214
1222
  }
1215
1223
  ]
1216
1224
  },
@@ -1340,6 +1348,159 @@
1340
1348
  "events": [],
1341
1349
  "methods": []
1342
1350
  },
1351
+ "data-view.grid-background": {
1352
+ "properties": [
1353
+ {
1354
+ "name": "color",
1355
+ "annotation": {
1356
+ "type": "indexedAccess",
1357
+ "objectType": {
1358
+ "type": "reference",
1359
+ "typeName": {
1360
+ "type": "qualifiedName",
1361
+ "left": {
1362
+ "type": "identifier",
1363
+ "name": "React"
1364
+ },
1365
+ "right": {
1366
+ "type": "identifier",
1367
+ "name": "CSSProperties"
1368
+ }
1369
+ }
1370
+ },
1371
+ "indexType": {
1372
+ "type": "jsLiteral",
1373
+ "value": "color"
1374
+ }
1375
+ }
1376
+ },
1377
+ {
1378
+ "name": "maskStyle",
1379
+ "annotation": {
1380
+ "type": "reference",
1381
+ "typeName": {
1382
+ "type": "qualifiedName",
1383
+ "left": {
1384
+ "type": "identifier",
1385
+ "name": "React"
1386
+ },
1387
+ "right": {
1388
+ "type": "identifier",
1389
+ "name": "CSSProperties"
1390
+ }
1391
+ }
1392
+ }
1393
+ },
1394
+ {
1395
+ "name": "particleColor",
1396
+ "annotation": {
1397
+ "type": "reference",
1398
+ "typeName": {
1399
+ "type": "identifier",
1400
+ "name": "ParticleColor"
1401
+ }
1402
+ }
1403
+ }
1404
+ ],
1405
+ "events": [],
1406
+ "methods": [],
1407
+ "types": [
1408
+ {
1409
+ "type": "interface",
1410
+ "name": "ParticleColor",
1411
+ "body": [
1412
+ {
1413
+ "type": "propertySignature",
1414
+ "key": {
1415
+ "type": "identifier",
1416
+ "name": "startColor"
1417
+ },
1418
+ "annotation": {
1419
+ "type": "indexedAccess",
1420
+ "objectType": {
1421
+ "type": "reference",
1422
+ "typeName": {
1423
+ "type": "qualifiedName",
1424
+ "left": {
1425
+ "type": "identifier",
1426
+ "name": "React"
1427
+ },
1428
+ "right": {
1429
+ "type": "identifier",
1430
+ "name": "CSSProperties"
1431
+ }
1432
+ }
1433
+ },
1434
+ "indexType": {
1435
+ "type": "jsLiteral",
1436
+ "value": "color"
1437
+ }
1438
+ },
1439
+ "computed": false
1440
+ },
1441
+ {
1442
+ "type": "propertySignature",
1443
+ "key": {
1444
+ "type": "identifier",
1445
+ "name": "endColor"
1446
+ },
1447
+ "annotation": {
1448
+ "type": "indexedAccess",
1449
+ "objectType": {
1450
+ "type": "reference",
1451
+ "typeName": {
1452
+ "type": "qualifiedName",
1453
+ "left": {
1454
+ "type": "identifier",
1455
+ "name": "React"
1456
+ },
1457
+ "right": {
1458
+ "type": "identifier",
1459
+ "name": "CSSProperties"
1460
+ }
1461
+ }
1462
+ },
1463
+ "indexType": {
1464
+ "type": "jsLiteral",
1465
+ "value": "color"
1466
+ }
1467
+ },
1468
+ "computed": false
1469
+ }
1470
+ ]
1471
+ }
1472
+ ]
1473
+ },
1474
+ "data-view.gear-background": {
1475
+ "properties": [
1476
+ {
1477
+ "name": "color",
1478
+ "annotation": {
1479
+ "type": "indexedAccess",
1480
+ "objectType": {
1481
+ "type": "reference",
1482
+ "typeName": {
1483
+ "type": "qualifiedName",
1484
+ "left": {
1485
+ "type": "identifier",
1486
+ "name": "React"
1487
+ },
1488
+ "right": {
1489
+ "type": "identifier",
1490
+ "name": "CSSProperties"
1491
+ }
1492
+ }
1493
+ },
1494
+ "indexType": {
1495
+ "type": "jsLiteral",
1496
+ "value": "color"
1497
+ }
1498
+ }
1499
+ }
1500
+ ],
1501
+ "events": [],
1502
+ "methods": []
1503
+ },
1343
1504
  "data-view.title-text": {
1344
1505
  "properties": [
1345
1506
  {
@@ -1531,6 +1692,52 @@
1531
1692
  }
1532
1693
  ]
1533
1694
  },
1695
+ "data-view.top-title-bar": {
1696
+ "properties": [
1697
+ {
1698
+ "name": "text",
1699
+ "annotation": {
1700
+ "type": "keyword",
1701
+ "value": "string"
1702
+ }
1703
+ },
1704
+ {
1705
+ "name": "type",
1706
+ "annotation": {
1707
+ "type": "reference",
1708
+ "typeName": {
1709
+ "type": "identifier",
1710
+ "name": "TitleBarType"
1711
+ }
1712
+ }
1713
+ }
1714
+ ],
1715
+ "events": [],
1716
+ "methods": [],
1717
+ "types": [
1718
+ {
1719
+ "type": "typeAlias",
1720
+ "name": "TitleBarType",
1721
+ "annotation": {
1722
+ "type": "union",
1723
+ "types": [
1724
+ {
1725
+ "type": "jsLiteral",
1726
+ "value": "normal"
1727
+ },
1728
+ {
1729
+ "type": "jsLiteral",
1730
+ "value": "sample"
1731
+ },
1732
+ {
1733
+ "type": "jsLiteral",
1734
+ "value": "square"
1735
+ }
1736
+ ]
1737
+ }
1738
+ }
1739
+ ]
1740
+ },
1534
1741
  "data-view.lights-component-title": {
1535
1742
  "properties": [
1536
1743
  {
@@ -1636,205 +1843,6 @@
1636
1843
  "events": [],
1637
1844
  "methods": []
1638
1845
  },
1639
- "data-view.grid-background": {
1640
- "properties": [
1641
- {
1642
- "name": "color",
1643
- "annotation": {
1644
- "type": "indexedAccess",
1645
- "objectType": {
1646
- "type": "reference",
1647
- "typeName": {
1648
- "type": "qualifiedName",
1649
- "left": {
1650
- "type": "identifier",
1651
- "name": "React"
1652
- },
1653
- "right": {
1654
- "type": "identifier",
1655
- "name": "CSSProperties"
1656
- }
1657
- }
1658
- },
1659
- "indexType": {
1660
- "type": "jsLiteral",
1661
- "value": "color"
1662
- }
1663
- }
1664
- },
1665
- {
1666
- "name": "maskStyle",
1667
- "annotation": {
1668
- "type": "reference",
1669
- "typeName": {
1670
- "type": "qualifiedName",
1671
- "left": {
1672
- "type": "identifier",
1673
- "name": "React"
1674
- },
1675
- "right": {
1676
- "type": "identifier",
1677
- "name": "CSSProperties"
1678
- }
1679
- }
1680
- }
1681
- },
1682
- {
1683
- "name": "particleColor",
1684
- "annotation": {
1685
- "type": "reference",
1686
- "typeName": {
1687
- "type": "identifier",
1688
- "name": "ParticleColor"
1689
- }
1690
- }
1691
- }
1692
- ],
1693
- "events": [],
1694
- "methods": [],
1695
- "types": [
1696
- {
1697
- "type": "interface",
1698
- "name": "ParticleColor",
1699
- "body": [
1700
- {
1701
- "type": "propertySignature",
1702
- "key": {
1703
- "type": "identifier",
1704
- "name": "startColor"
1705
- },
1706
- "annotation": {
1707
- "type": "indexedAccess",
1708
- "objectType": {
1709
- "type": "reference",
1710
- "typeName": {
1711
- "type": "qualifiedName",
1712
- "left": {
1713
- "type": "identifier",
1714
- "name": "React"
1715
- },
1716
- "right": {
1717
- "type": "identifier",
1718
- "name": "CSSProperties"
1719
- }
1720
- }
1721
- },
1722
- "indexType": {
1723
- "type": "jsLiteral",
1724
- "value": "color"
1725
- }
1726
- },
1727
- "computed": false
1728
- },
1729
- {
1730
- "type": "propertySignature",
1731
- "key": {
1732
- "type": "identifier",
1733
- "name": "endColor"
1734
- },
1735
- "annotation": {
1736
- "type": "indexedAccess",
1737
- "objectType": {
1738
- "type": "reference",
1739
- "typeName": {
1740
- "type": "qualifiedName",
1741
- "left": {
1742
- "type": "identifier",
1743
- "name": "React"
1744
- },
1745
- "right": {
1746
- "type": "identifier",
1747
- "name": "CSSProperties"
1748
- }
1749
- }
1750
- },
1751
- "indexType": {
1752
- "type": "jsLiteral",
1753
- "value": "color"
1754
- }
1755
- },
1756
- "computed": false
1757
- }
1758
- ]
1759
- }
1760
- ]
1761
- },
1762
- "data-view.gear-background": {
1763
- "properties": [
1764
- {
1765
- "name": "color",
1766
- "annotation": {
1767
- "type": "indexedAccess",
1768
- "objectType": {
1769
- "type": "reference",
1770
- "typeName": {
1771
- "type": "qualifiedName",
1772
- "left": {
1773
- "type": "identifier",
1774
- "name": "React"
1775
- },
1776
- "right": {
1777
- "type": "identifier",
1778
- "name": "CSSProperties"
1779
- }
1780
- }
1781
- },
1782
- "indexType": {
1783
- "type": "jsLiteral",
1784
- "value": "color"
1785
- }
1786
- }
1787
- }
1788
- ],
1789
- "events": [],
1790
- "methods": []
1791
- },
1792
- "data-view.top-title-bar": {
1793
- "properties": [
1794
- {
1795
- "name": "text",
1796
- "annotation": {
1797
- "type": "keyword",
1798
- "value": "string"
1799
- }
1800
- },
1801
- {
1802
- "name": "type",
1803
- "annotation": {
1804
- "type": "reference",
1805
- "typeName": {
1806
- "type": "identifier",
1807
- "name": "TitleBarType"
1808
- }
1809
- }
1810
- }
1811
- ],
1812
- "events": [],
1813
- "methods": [],
1814
- "types": [
1815
- {
1816
- "type": "typeAlias",
1817
- "name": "TitleBarType",
1818
- "annotation": {
1819
- "type": "union",
1820
- "types": [
1821
- {
1822
- "type": "jsLiteral",
1823
- "value": "normal"
1824
- },
1825
- {
1826
- "type": "jsLiteral",
1827
- "value": "sample"
1828
- },
1829
- {
1830
- "type": "jsLiteral",
1831
- "value": "square"
1832
- }
1833
- ]
1834
- }
1835
- }
1836
- ]
1837
- },
1838
1846
  "data-view.loading-panel": {
1839
1847
  "properties": [
1840
1848
  {
@@ -1976,6 +1984,10 @@
1976
1984
  {
1977
1985
  "type": "jsLiteral",
1978
1986
  "value": "k8s"
1987
+ },
1988
+ {
1989
+ "type": "jsLiteral",
1990
+ "value": "k8s-blue"
1979
1991
  }
1980
1992
  ]
1981
1993
  }
@@ -2004,6 +2016,10 @@
2004
2016
  {
2005
2017
  "type": "jsLiteral",
2006
2018
  "value": "virtual-machine"
2019
+ },
2020
+ {
2021
+ "type": "jsLiteral",
2022
+ "value": "pod"
2007
2023
  }
2008
2024
  ]
2009
2025
  },
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import { CabinetNodeProps } from "../cabinet-node/index.js";
4
- export type ContainerType = "host" | "k8s";
4
+ export type ContainerType = "host" | "k8s" | "k8s-blue";
5
5
  export interface ClickEventDataType {
6
6
  type: "node" | "container";
7
7
  data: CabinetNodeProps | undefined;
@@ -28,7 +28,7 @@ declare class CabinetContainer extends ReactNextElement implements CabinetContai
28
28
  * @kind ContainerType
29
29
  * @required true
30
30
  * @default host
31
- * @description 容器类型,有主机集群类型、k8s集群类型
31
+ * @description 容器类型,host、k8s(主题橙色)、k8s-blue(蓝色主题)
32
32
  */
33
33
  accessor type: ContainerType;
34
34
  /**
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  export interface CabinetNodeProps {
4
- type: "container-group" | "physical-machine" | "virtual-machine";
4
+ type: "container-group" | "physical-machine" | "virtual-machine" | "pod";
5
5
  nodeTitle: string;
6
6
  status?: "active" | "faded";
7
7
  isAlert?: boolean;
@@ -21,7 +21,7 @@ declare class CabinetNode extends ReactNextElement implements CabinetNodeProps {
21
21
  * @default
22
22
  * @description 类型
23
23
  */
24
- accessor type: "container-group" | "physical-machine" | "virtual-machine";
24
+ accessor type: "container-group" | "physical-machine" | "virtual-machine" | "pod";
25
25
  /**
26
26
  * @kind string
27
27
  * @required true
@@ -9,7 +9,7 @@ interface Node {
9
9
  interface Clusters {
10
10
  clusterName: string;
11
11
  key: string;
12
- type: "host" | "k8s";
12
+ type: "host" | "k8s" | "k8s-blue";
13
13
  nodes: Node[];
14
14
  }
15
15
  export interface AppData {
@@ -0,0 +1,54 @@
1
+ data-view.cabinet-graph 部署架构拓扑
2
+
3
+ ## Examples
4
+
5
+ ### Basic
6
+
7
+ ```yaml preview
8
+ - brick: data-view.cabinet-graph
9
+ properties:
10
+ dataSource:
11
+ appName: inventory-api
12
+ key: inventory-api
13
+ clusters:
14
+ - clusterName: inventory-api##aaaaa
15
+ key: inventory-api##aaaaa
16
+ type: host
17
+ nodes:
18
+ - nodeTitle: 244.244.244.244
19
+ key: 244.244.244.244
20
+ type: physical-machine
21
+ isAlert: true
22
+ - nodeTitle: 244.244.244.245
23
+ key: 244.244.244.245
24
+ type: virtual-machine
25
+ isAlert: true
26
+ - nodeTitle: 244.244.245.245
27
+ key: 244.244.245.245
28
+ type: physical-machine
29
+ - nodeTitle: 244.244.245.244
30
+ key: 244.244.245.244
31
+ type: virtual-machine
32
+ - clusterName: K8S集群xxx
33
+ key: k8s-cluster
34
+ type: k8s
35
+ nodes:
36
+ - nodeTitle: a容器组
37
+ key: aa
38
+ type: container-group
39
+ isAlert: true
40
+ - nodeTitle: b容器组
41
+ key: bb
42
+ type: container-group
43
+ - clusterName: K8S集群xx
44
+ key: xxxx
45
+ type: k8s-blue
46
+ nodes:
47
+ - nodeTitle: a容器组
48
+ key: aa
49
+ type: pod
50
+ isAlert: true
51
+ - nodeTitle: b容器组
52
+ key: bb
53
+ type: pod
54
+ ```
@@ -0,0 +1,47 @@
1
+ data-view.cabinet-thumbnail 部署架构拓扑缩略图
2
+
3
+ ## Examples
4
+
5
+ ### Basic
6
+
7
+ ```yaml preview
8
+ - brick: data-view.cabinet-thumbnail
9
+ properties:
10
+ appName: inventory-api
11
+ clusters:
12
+ - title: inventory-api##aaaaa
13
+ type: host
14
+ data:
15
+ - nodeTitle: 244.244.244.244
16
+ key: 244.244.244.244
17
+ type: physical-machine
18
+ - nodeTitle: 244.244.244.245
19
+ key: 244.244.244.245
20
+ type: virtual-machine
21
+ - nodeTitle: 244.244.245.245
22
+ key: 244.244.245.245
23
+ type: physical-machine
24
+ - nodeTitle: 244.244.245.244
25
+ key: 244.244.245.244
26
+ type: virtual-machine
27
+ - title: K8S集群xxx
28
+ key: k8s-cluster
29
+ type: k8s
30
+ data:
31
+ - nodeTitle: a容器组
32
+ key: aa
33
+ type: container-group
34
+ - nodeTitle: b容器组
35
+ key: bb
36
+ type: container-group
37
+ - title: K8S集群xx
38
+ key: xxxx
39
+ type: k8s-blue
40
+ data:
41
+ - nodeTitle: a1容器组
42
+ key: aaa
43
+ type: pod
44
+ - nodeTitle: b1容器组
45
+ key: bbb
46
+ type: pod
47
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/data-view",
3
- "version": "0.12.0",
3
+ "version": "0.13.1",
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.13.1",
38
- "@next-core/test-next": "^1.0.7",
37
+ "@next-core/build-next-bricks": "^1.13.3",
38
+ "@next-core/test-next": "^1.0.8",
39
39
  "@types/d3-hierarchy": "^3.1.2",
40
40
  "@types/three": "^0.150.1"
41
41
  },
42
- "gitHead": "e50dfe754ff730bd5cd1d49a6a16d2c2a0c255c6"
42
+ "gitHead": "fce74070877a97cf5949ae8aaaea10659478518c"
43
43
  }