@next-bricks/data-view 1.12.11 → 1.12.12

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 (143) hide show
  1. package/dist/bricks.json +11 -11
  2. package/dist/chunks/2145.65311b68.js.map +1 -1
  3. package/dist/chunks/app-wall-card-item.7c32b915.js.map +1 -1
  4. package/dist/chunks/app-wall-relation-line.0445cf9d.js.map +1 -1
  5. package/dist/chunks/app-wall-system-card.aa2b5b84.js.map +1 -1
  6. package/dist/chunks/app-wall.126608d6.js.map +1 -1
  7. package/dist/chunks/basic-index-group.c555b165.js.map +1 -1
  8. package/dist/chunks/battery-chart.554d378f.js.map +1 -1
  9. package/dist/chunks/brick-notification.ae523413.js.map +1 -1
  10. package/dist/chunks/bubbles-indicator.e7b47e1e.js.map +1 -1
  11. package/dist/chunks/cabinet-app-layer.6a1a78c4.js.map +1 -1
  12. package/dist/chunks/cabinet-container.49872d09.js.map +1 -1
  13. package/dist/chunks/cabinet-graph.6aa32783.js.map +1 -1
  14. package/dist/chunks/china-map-chart.56dc9a9f.js.map +1 -1
  15. package/dist/chunks/china-map.a7c98bf0.js.map +1 -1
  16. package/dist/chunks/complex-search.cbeec078.js.map +1 -1
  17. package/dist/chunks/dropdown-menu.5c9a12d7.js.map +1 -1
  18. package/dist/chunks/globe-with-gear-indicator.123e65c1.js.map +1 -1
  19. package/dist/chunks/globe-with-halo-indicator.01b2c9a2.js.map +1 -1
  20. package/dist/chunks/globe-with-orbit-indicator.45415b04.js.map +1 -1
  21. package/dist/chunks/lights-component-title.0cccad81.js.map +1 -1
  22. package/dist/chunks/modern-style-treemap.24ddab63.js.map +1 -1
  23. package/dist/chunks/progress-bar-list.8b0651c1.js.map +1 -1
  24. package/dist/chunks/tabs-drawer.ae7c57ad.js.map +1 -1
  25. package/dist/chunks/tabs-page-title.c696bb65.js.map +1 -1
  26. package/dist/chunks/tech-mesh-base-view.4c3b548e.js.map +1 -1
  27. package/dist/examples.json +59 -59
  28. package/dist/{index.3a389e66.js → index.09e27086.js} +2 -2
  29. package/dist/{index.3a389e66.js.map → index.09e27086.js.map} +1 -1
  30. package/dist/manifest.json +239 -214
  31. package/dist/types.json +419 -420
  32. package/dist-types/app-wall/card-item/index.d.ts +1 -0
  33. package/dist-types/app-wall/relation-line/index.d.ts +2 -4
  34. package/dist-types/app-wall/system-card/index.d.ts +6 -30
  35. package/dist-types/basic-index-group/index.d.ts +1 -0
  36. package/dist-types/battery-chart/index.d.ts +7 -20
  37. package/dist-types/brick-notification/index.d.ts +4 -4
  38. package/dist-types/bubbles-indicator/index.d.ts +1 -0
  39. package/dist-types/cabinet/cabinet-app-layer/index.d.ts +3 -8
  40. package/dist-types/cabinet/index.d.ts +3 -12
  41. package/dist-types/china-map/index.d.ts +1 -1
  42. package/dist-types/globe-with-gear-indicator/index.d.ts +2 -0
  43. package/dist-types/globe-with-halo-indicator/index.d.ts +2 -0
  44. package/dist-types/globe-with-orbit-indicator/index.d.ts +2 -0
  45. package/dist-types/lights-component-title/index.d.ts +4 -4
  46. package/dist-types/progress-bar-list/index.d.ts +6 -4
  47. package/dist-types/tabs-page-title/index.d.ts +1 -1
  48. package/dist-types/tech-mesh-base-view/index.d.ts +2 -1
  49. package/docs/app-wall-card-item.md +23 -1
  50. package/docs/app-wall-card-item.react.md +52 -0
  51. package/docs/app-wall-relation-line.md +19 -1
  52. package/docs/app-wall-relation-line.react.md +36 -0
  53. package/docs/app-wall-system-card.md +35 -2
  54. package/docs/app-wall-system-card.react.md +89 -0
  55. package/docs/app-wall.md +118 -1469
  56. package/docs/app-wall.react.md +235 -0
  57. package/docs/basic-index-group.md +22 -1
  58. package/docs/basic-index-group.react.md +132 -0
  59. package/docs/battery-chart.md +44 -1
  60. package/docs/battery-chart.react.md +137 -0
  61. package/docs/brick-notification.md +22 -1
  62. package/docs/brick-notification.react.md +45 -0
  63. package/docs/bubbles-indicator.md +23 -1
  64. package/docs/bubbles-indicator.react.md +52 -0
  65. package/docs/cabinet-app-layer.md +49 -1
  66. package/docs/cabinet-app-layer.react.md +58 -0
  67. package/docs/cabinet-button.md +19 -1
  68. package/docs/cabinet-button.react.md +39 -0
  69. package/docs/cabinet-container.md +55 -1
  70. package/docs/cabinet-container.react.md +84 -0
  71. package/docs/cabinet-graph.md +61 -1
  72. package/docs/cabinet-graph.react.md +131 -0
  73. package/docs/cabinet-node.md +39 -1
  74. package/docs/cabinet-node.react.md +66 -0
  75. package/docs/cabinet-thumbnail.md +44 -1
  76. package/docs/cabinet-thumbnail.react.md +88 -0
  77. package/docs/china-map-chart.md +42 -2
  78. package/docs/china-map-chart.react.md +117 -0
  79. package/docs/china-map.md +26 -1
  80. package/docs/china-map.react.md +78 -0
  81. package/docs/complex-search.md +77 -1
  82. package/docs/complex-search.react.md +101 -0
  83. package/docs/crystal-ball-indicator.md +57 -1
  84. package/docs/crystal-ball-indicator.react.md +70 -0
  85. package/docs/data-display-flipper-fifth.md +76 -1
  86. package/docs/data-display-flipper-fifth.react.md +89 -0
  87. package/docs/data-display-flipper-sixth.md +39 -5
  88. package/docs/data-display-flipper-sixth.react.md +47 -0
  89. package/docs/data-display-flipper.md +68 -2
  90. package/docs/data-display-flipper.react.md +91 -0
  91. package/docs/dropdown-menu.md +62 -13
  92. package/docs/dropdown-menu.react.md +68 -0
  93. package/docs/gauge-chart.md +68 -19
  94. package/docs/gauge-chart.react.md +80 -0
  95. package/docs/gear-background.md +41 -8
  96. package/docs/gear-background.react.md +56 -0
  97. package/docs/globe-with-gear-indicator.md +67 -1
  98. package/docs/globe-with-gear-indicator.react.md +69 -0
  99. package/docs/globe-with-halo-indicator.md +67 -1
  100. package/docs/globe-with-halo-indicator.react.md +69 -0
  101. package/docs/globe-with-orbit-indicator.md +67 -1
  102. package/docs/globe-with-orbit-indicator.react.md +70 -0
  103. package/docs/graph-layout-grid.md +108 -85
  104. package/docs/graph-layout-grid.react.md +172 -0
  105. package/docs/graph-node.md +25 -7
  106. package/docs/graph-node.react.md +36 -0
  107. package/docs/graph-text.md +24 -6
  108. package/docs/graph-text.react.md +34 -0
  109. package/docs/grid-background.md +21 -1
  110. package/docs/grid-background.react.md +45 -0
  111. package/docs/hi-tech-button.md +63 -2
  112. package/docs/hi-tech-button.react.md +106 -0
  113. package/docs/indicator-card.md +26 -1
  114. package/docs/indicator-card.react.md +86 -0
  115. package/docs/lights-component-title.md +23 -1
  116. package/docs/lights-component-title.react.md +49 -0
  117. package/docs/loading-panel.md +31 -1
  118. package/docs/loading-panel.react.md +62 -0
  119. package/docs/modern-style-component-title.md +39 -2
  120. package/docs/modern-style-component-title.react.md +76 -0
  121. package/docs/modern-style-page-title.md +43 -1
  122. package/docs/modern-style-page-title.react.md +56 -0
  123. package/docs/modern-style-treemap.md +71 -373
  124. package/docs/modern-style-treemap.react.md +131 -0
  125. package/docs/particle-animation.md +45 -1
  126. package/docs/particle-animation.react.md +64 -0
  127. package/docs/progress-bar-list.md +19 -1
  128. package/docs/progress-bar-list.react.md +47 -0
  129. package/docs/radar-chart.md +97 -31
  130. package/docs/radar-chart.react.md +75 -0
  131. package/docs/simple-card-item.md +79 -3
  132. package/docs/simple-card-item.react.md +83 -0
  133. package/docs/tabs-drawer.md +81 -2
  134. package/docs/tabs-drawer.react.md +117 -0
  135. package/docs/tabs-page-title.md +40 -1
  136. package/docs/tabs-page-title.react.md +87 -0
  137. package/docs/tech-mesh-base-view.md +22 -1
  138. package/docs/tech-mesh-base-view.react.md +55 -0
  139. package/docs/title-text.md +41 -1
  140. package/docs/title-text.react.md +67 -0
  141. package/docs/top-title-bar.md +25 -2
  142. package/docs/top-title-bar.react.md +50 -0
  143. package/package.json +2 -2
@@ -0,0 +1,62 @@
1
+ ---
2
+ tagName: data-view.loading-panel
3
+ displayName: WrappedDataViewLoadingPanel
4
+ description: 大屏加载模块展示
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewLoadingPanel
10
+
11
+ > 大屏加载模块展示
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewLoadingPanel } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | ------------------- | --------- | ---- | ------- | ------------------------------------------ |
23
+ | customTitle | `string` | 否 | - | 标题 |
24
+ | loading | `boolean` | 否 | - | 是否加载中,虚拟数据模拟加载过程 |
25
+ | useRealTimeProgress | `boolean` | 否 | `false` | 加载过程是否使用真实数据 |
26
+ | progress | `number` | 否 | - | 加载进度,区间 [0-100],使用真实数据时生效 |
27
+ | intervalTime | `number` | 否 | `100` | 每次加载变化的时间间隔,单位 ms |
28
+
29
+ ## Events
30
+
31
+ | 事件 | detail | 说明 |
32
+ | ----- | ------ | ---------------- |
33
+ | onEnd | `void` | loading 结束事件 |
34
+
35
+ ## Examples
36
+
37
+ ### Basic
38
+
39
+ 展示虚拟数据模拟加载过程的基本用法。
40
+
41
+ ```tsx
42
+ <WrappedDataViewLoadingPanel
43
+ customTitle="Hello World!!"
44
+ loading={false}
45
+ style={{ height: "300px", display: "block" }}
46
+ />
47
+ ```
48
+
49
+ ### Progress
50
+
51
+ 展示使用真实进度数据及加载结束事件监听的用法。
52
+
53
+ ```tsx
54
+ <WrappedDataViewLoadingPanel
55
+ customTitle="Hello World!!"
56
+ progress={60}
57
+ useRealTimeProgress={true}
58
+ intervalTime={300}
59
+ style={{ height: "300px", display: "block" }}
60
+ onEnd={() => console.log("loading ended")}
61
+ />
62
+ ```
@@ -1,9 +1,38 @@
1
- 现代风格的组件标题
1
+ ---
2
+ tagName: data-view.modern-style-component-title
3
+ displayName: WrappedDataViewModernStyleComponentTitle
4
+ description: 现代风组件标题
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # data-view.modern-style-component-title
10
+
11
+ > 现代风组件标题
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | ------------------ | ------------------------------ | ---- | ------- | ---------------- |
17
+ | hideLeftComponent | `boolean` | 否 | `false` | 是否隐藏左侧装饰 |
18
+ | hideRightComponent | `boolean` | 否 | `true` | 是否隐藏右侧装饰 |
19
+ | componentTitle | `string` | 否 | - | 组件标题 |
20
+ | titleTextStyle | `React.CSSProperties` | 否 | - | 标题文字样式 |
21
+ | squareColor | `React.CSSProperties["color"]` | 否 | - | 装饰颜色 |
22
+
23
+ ## Slots
24
+
25
+ | 名称 | 说明 |
26
+ | ----------- | ------------------------------------------------------------------------- |
27
+ | toolbar | 工具栏区域,在 `hideLeftComponent` 为 `true` 时显示于左侧,否则显示于右侧 |
28
+ | titleSuffix | 标题后缀内容,紧跟标题文字后显示 |
2
29
 
3
30
  ## Examples
4
31
 
5
32
  ### Basic
6
33
 
34
+ 展示现代风组件标题的基本用法。
35
+
7
36
  ```yaml preview
8
37
  - brick: data-view.modern-style-component-title
9
38
  properties:
@@ -16,6 +45,8 @@
16
45
 
17
46
  ### TitleSuffix && Toolbar slot
18
47
 
48
+ 展示带工具栏和标题后缀插槽的现代风组件标题。
49
+
19
50
  ```yaml preview
20
51
  - brick: data-view.modern-style-component-title
21
52
  properties:
@@ -39,7 +70,9 @@
39
70
  textContent: titleSuffix
40
71
  ```
41
72
 
42
- ### hideRightComponent
73
+ ### Hide Left Component with Right Decoration
74
+
75
+ 展示隐藏左侧装饰、显示右侧装饰并自定义颜色的现代风组件标题。
43
76
 
44
77
  ```yaml preview
45
78
  - brick: data-view.modern-style-component-title
@@ -47,6 +80,10 @@
47
80
  componentTitle: 组件标题
48
81
  hideRightComponent: false
49
82
  hideLeftComponent: true
83
+ squareColor: "#4AEAFF"
84
+ titleTextStyle:
85
+ color: "#FFFFFF"
86
+ fontSize: 18px
50
87
  style:
51
88
  height: 50px
52
89
  display: block
@@ -0,0 +1,76 @@
1
+ ---
2
+ tagName: data-view.modern-style-component-title
3
+ displayName: WrappedDataViewModernStyleComponentTitle
4
+ description: 现代风组件标题
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewModernStyleComponentTitle
10
+
11
+ > 现代风组件标题
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewModernStyleComponentTitle } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | ------------------ | ------------------------------ | ---- | ------- | ---------------- |
23
+ | hideLeftComponent | `boolean` | 否 | `false` | 是否隐藏左侧装饰 |
24
+ | hideRightComponent | `boolean` | 否 | `true` | 是否隐藏右侧装饰 |
25
+ | componentTitle | `string` | 否 | - | 组件标题 |
26
+ | titleTextStyle | `React.CSSProperties` | 否 | - | 标题文字样式 |
27
+ | squareColor | `React.CSSProperties["color"]` | 否 | - | 装饰颜色 |
28
+
29
+ ## Slots
30
+
31
+ | 名称 | 说明 |
32
+ | ----------- | ------------------------------------------------------------------------- |
33
+ | toolbar | 工具栏区域,在 `hideLeftComponent` 为 `true` 时显示于左侧,否则显示于右侧 |
34
+ | titleSuffix | 标题后缀内容,紧跟标题文字后显示 |
35
+
36
+ ## Examples
37
+
38
+ ### Basic
39
+
40
+ 展示现代风组件标题的基本用法。
41
+
42
+ ```tsx
43
+ <WrappedDataViewModernStyleComponentTitle
44
+ componentTitle="组件标题"
45
+ style={{ height: "50px", display: "block", backgroundColor: "#1c1e21" }}
46
+ />
47
+ ```
48
+
49
+ ### TitleSuffix && Toolbar slot
50
+
51
+ 展示带工具栏和标题后缀插槽的现代风组件标题。
52
+
53
+ ```tsx
54
+ <WrappedDataViewModernStyleComponentTitle
55
+ componentTitle="组件标题"
56
+ style={{ height: "50px", display: "block", backgroundColor: "#1c1e21" }}
57
+ >
58
+ <span slot="toolbar">toolbar</span>
59
+ <span slot="titleSuffix">titleSuffix</span>
60
+ </WrappedDataViewModernStyleComponentTitle>
61
+ ```
62
+
63
+ ### Hide Left Component with Right Decoration
64
+
65
+ 展示隐藏左侧装饰、显示右侧装饰并自定义颜色的现代风组件标题。
66
+
67
+ ```tsx
68
+ <WrappedDataViewModernStyleComponentTitle
69
+ componentTitle="组件标题"
70
+ hideRightComponent={false}
71
+ hideLeftComponent={true}
72
+ squareColor="#4AEAFF"
73
+ titleTextStyle={{ color: "#FFFFFF", fontSize: "18px" }}
74
+ style={{ height: "50px", display: "block", backgroundColor: "#1c1e21" }}
75
+ />
76
+ ```
@@ -1,9 +1,31 @@
1
- 现代风格的页面标题构件
1
+ ---
2
+ tagName: data-view.modern-style-page-title
3
+ displayName: WrappedDataViewModernStylePageTitle
4
+ description: 现代风页面标题
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # data-view.modern-style-page-title
10
+
11
+ > 现代风页面标题
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | --------------- | --------------------- | ---- | ------ | ---------------- |
17
+ | pageTitle | `string` | 是 | - | 页面标题 |
18
+ | description | `string` | 否 | - | 辅助描述 |
19
+ | backgroundStyle | `React.CSSProperties` | 否 | - | 背景样式 |
20
+ | leftRoundStyle | `React.CSSProperties` | 否 | - | 左边圆形装饰样式 |
21
+ | rightRoundStyle | `React.CSSProperties` | 否 | - | 右边圆形装饰样式 |
2
22
 
3
23
  ## Examples
4
24
 
5
25
  ### Basic
6
26
 
27
+ 展示现代风页面标题的基本用法,包含主标题和辅助描述。
28
+
7
29
  ```yaml preview
8
30
  - brick: data-view.modern-style-page-title
9
31
  properties:
@@ -13,3 +35,23 @@
13
35
  display: block
14
36
  background-color: "#1c1e21"
15
37
  ```
38
+
39
+ ### Custom Style
40
+
41
+ 展示自定义背景和圆形装饰样式的现代风页面标题。
42
+
43
+ ```yaml preview
44
+ - brick: data-view.modern-style-page-title
45
+ properties:
46
+ pageTitle: 智慧城市监控大屏
47
+ description: "- SMART CITY MONITORING -"
48
+ backgroundStyle:
49
+ opacity: 0.8
50
+ leftRoundStyle:
51
+ background: "rgba(74, 234, 255, 0.3)"
52
+ rightRoundStyle:
53
+ background: "rgba(74, 234, 255, 0.3)"
54
+ style:
55
+ display: block
56
+ background-color: "#0a0e1a"
57
+ ```
@@ -0,0 +1,56 @@
1
+ ---
2
+ tagName: data-view.modern-style-page-title
3
+ displayName: WrappedDataViewModernStylePageTitle
4
+ description: 现代风页面标题
5
+ category: big-screen-content
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewModernStylePageTitle
10
+
11
+ > 现代风页面标题
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewModernStylePageTitle } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | --------------- | --------------------- | ---- | ------ | ---------------- |
23
+ | pageTitle | `string` | 是 | - | 页面标题 |
24
+ | description | `string` | 否 | - | 辅助描述 |
25
+ | backgroundStyle | `React.CSSProperties` | 否 | - | 背景样式 |
26
+ | leftRoundStyle | `React.CSSProperties` | 否 | - | 左边圆形装饰样式 |
27
+ | rightRoundStyle | `React.CSSProperties` | 否 | - | 右边圆形装饰样式 |
28
+
29
+ ## Examples
30
+
31
+ ### Basic
32
+
33
+ 展示现代风页面标题的基本用法,包含主标题和辅助描述。
34
+
35
+ ```tsx
36
+ <WrappedDataViewModernStylePageTitle
37
+ pageTitle="XX应用大屏"
38
+ description="- APPLICATION HEALTH MONITORING SCREEN -"
39
+ style={{ display: "block", backgroundColor: "#1c1e21" }}
40
+ />
41
+ ```
42
+
43
+ ### Custom Style
44
+
45
+ 展示自定义背景和圆形装饰样式的现代风页面标题。
46
+
47
+ ```tsx
48
+ <WrappedDataViewModernStylePageTitle
49
+ pageTitle="智慧城市监控大屏"
50
+ description="- SMART CITY MONITORING -"
51
+ backgroundStyle={{ opacity: 0.8 }}
52
+ leftRoundStyle={{ background: "rgba(74, 234, 255, 0.3)" }}
53
+ rightRoundStyle={{ background: "rgba(74, 234, 255, 0.3)" }}
54
+ style={{ display: "block", backgroundColor: "#0a0e1a" }}
55
+ />
56
+ ```