@next-bricks/data-view 1.12.10 → 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 (149) hide show
  1. package/dist/bricks.json +1 -1
  2. package/dist/chunks/{2145.105c2d97.js → 2145.65311b68.js} +2 -2
  3. package/dist/chunks/2145.65311b68.js.map +1 -0
  4. package/dist/chunks/app-wall-card-item.7c32b915.js.map +1 -1
  5. package/dist/chunks/app-wall-relation-line.0445cf9d.js.map +1 -1
  6. package/dist/chunks/app-wall-system-card.aa2b5b84.js.map +1 -1
  7. package/dist/chunks/app-wall.126608d6.js.map +1 -1
  8. package/dist/chunks/basic-index-group.c555b165.js.map +1 -1
  9. package/dist/chunks/battery-chart.554d378f.js.map +1 -1
  10. package/dist/chunks/brick-notification.ae523413.js.map +1 -1
  11. package/dist/chunks/{bubbles-indicator.ab761540.js → bubbles-indicator.e7b47e1e.js} +2 -2
  12. package/dist/chunks/bubbles-indicator.e7b47e1e.js.map +1 -0
  13. package/dist/chunks/cabinet-app-layer.6a1a78c4.js.map +1 -1
  14. package/dist/chunks/cabinet-container.49872d09.js.map +1 -1
  15. package/dist/chunks/cabinet-graph.6aa32783.js.map +1 -1
  16. package/dist/chunks/china-map-chart.56dc9a9f.js.map +1 -1
  17. package/dist/chunks/china-map.a7c98bf0.js.map +1 -1
  18. package/dist/chunks/complex-search.cbeec078.js.map +1 -1
  19. package/dist/chunks/dropdown-menu.5c9a12d7.js.map +1 -1
  20. package/dist/chunks/globe-with-gear-indicator.123e65c1.js.map +1 -1
  21. package/dist/chunks/globe-with-halo-indicator.01b2c9a2.js.map +1 -1
  22. package/dist/chunks/globe-with-orbit-indicator.45415b04.js.map +1 -1
  23. package/dist/chunks/lights-component-title.0cccad81.js.map +1 -1
  24. package/dist/chunks/{main.7ab73e54.js → main.71e1cf26.js} +2 -2
  25. package/dist/chunks/{main.7ab73e54.js.map → main.71e1cf26.js.map} +1 -1
  26. package/dist/chunks/modern-style-treemap.24ddab63.js.map +1 -1
  27. package/dist/chunks/progress-bar-list.8b0651c1.js.map +1 -1
  28. package/dist/chunks/tabs-drawer.ae7c57ad.js.map +1 -1
  29. package/dist/chunks/tabs-page-title.c696bb65.js.map +1 -1
  30. package/dist/chunks/tech-mesh-base-view.4c3b548e.js.map +1 -1
  31. package/dist/examples.json +47 -47
  32. package/dist/{index.dcc586d1.js → index.09e27086.js} +2 -2
  33. package/dist/{index.dcc586d1.js.map → index.09e27086.js.map} +1 -1
  34. package/dist/manifest.json +92 -67
  35. package/dist/types.json +8 -9
  36. package/dist-types/app-wall/card-item/index.d.ts +1 -0
  37. package/dist-types/app-wall/relation-line/index.d.ts +2 -4
  38. package/dist-types/app-wall/system-card/index.d.ts +6 -30
  39. package/dist-types/basic-index-group/index.d.ts +1 -0
  40. package/dist-types/battery-chart/index.d.ts +7 -20
  41. package/dist-types/brick-notification/index.d.ts +4 -4
  42. package/dist-types/bubbles-indicator/index.d.ts +1 -0
  43. package/dist-types/cabinet/cabinet-app-layer/index.d.ts +3 -8
  44. package/dist-types/cabinet/index.d.ts +3 -12
  45. package/dist-types/china-map/index.d.ts +1 -1
  46. package/dist-types/globe-with-gear-indicator/index.d.ts +2 -0
  47. package/dist-types/globe-with-halo-indicator/index.d.ts +2 -0
  48. package/dist-types/globe-with-orbit-indicator/index.d.ts +2 -0
  49. package/dist-types/lights-component-title/index.d.ts +4 -4
  50. package/dist-types/progress-bar-list/index.d.ts +6 -4
  51. package/dist-types/tabs-page-title/index.d.ts +1 -1
  52. package/dist-types/tech-mesh-base-view/index.d.ts +2 -1
  53. package/docs/app-wall-card-item.md +23 -1
  54. package/docs/app-wall-card-item.react.md +52 -0
  55. package/docs/app-wall-relation-line.md +19 -1
  56. package/docs/app-wall-relation-line.react.md +36 -0
  57. package/docs/app-wall-system-card.md +35 -2
  58. package/docs/app-wall-system-card.react.md +89 -0
  59. package/docs/app-wall.md +118 -1469
  60. package/docs/app-wall.react.md +235 -0
  61. package/docs/basic-index-group.md +22 -1
  62. package/docs/basic-index-group.react.md +132 -0
  63. package/docs/battery-chart.md +44 -1
  64. package/docs/battery-chart.react.md +137 -0
  65. package/docs/brick-notification.md +22 -1
  66. package/docs/brick-notification.react.md +45 -0
  67. package/docs/bubbles-indicator.md +23 -1
  68. package/docs/bubbles-indicator.react.md +52 -0
  69. package/docs/cabinet-app-layer.md +49 -1
  70. package/docs/cabinet-app-layer.react.md +58 -0
  71. package/docs/cabinet-button.md +19 -1
  72. package/docs/cabinet-button.react.md +39 -0
  73. package/docs/cabinet-container.md +55 -1
  74. package/docs/cabinet-container.react.md +84 -0
  75. package/docs/cabinet-graph.md +61 -1
  76. package/docs/cabinet-graph.react.md +131 -0
  77. package/docs/cabinet-node.md +39 -1
  78. package/docs/cabinet-node.react.md +66 -0
  79. package/docs/cabinet-thumbnail.md +44 -1
  80. package/docs/cabinet-thumbnail.react.md +88 -0
  81. package/docs/china-map-chart.md +42 -2
  82. package/docs/china-map-chart.react.md +117 -0
  83. package/docs/china-map.md +26 -1
  84. package/docs/china-map.react.md +78 -0
  85. package/docs/complex-search.md +77 -1
  86. package/docs/complex-search.react.md +101 -0
  87. package/docs/crystal-ball-indicator.md +57 -1
  88. package/docs/crystal-ball-indicator.react.md +70 -0
  89. package/docs/data-display-flipper-fifth.md +76 -1
  90. package/docs/data-display-flipper-fifth.react.md +89 -0
  91. package/docs/data-display-flipper-sixth.md +39 -5
  92. package/docs/data-display-flipper-sixth.react.md +47 -0
  93. package/docs/data-display-flipper.md +68 -2
  94. package/docs/data-display-flipper.react.md +91 -0
  95. package/docs/dropdown-menu.md +62 -13
  96. package/docs/dropdown-menu.react.md +68 -0
  97. package/docs/gauge-chart.md +68 -19
  98. package/docs/gauge-chart.react.md +80 -0
  99. package/docs/gear-background.md +41 -8
  100. package/docs/gear-background.react.md +56 -0
  101. package/docs/globe-with-gear-indicator.md +67 -1
  102. package/docs/globe-with-gear-indicator.react.md +69 -0
  103. package/docs/globe-with-halo-indicator.md +67 -1
  104. package/docs/globe-with-halo-indicator.react.md +69 -0
  105. package/docs/globe-with-orbit-indicator.md +67 -1
  106. package/docs/globe-with-orbit-indicator.react.md +70 -0
  107. package/docs/graph-layout-grid.md +108 -85
  108. package/docs/graph-layout-grid.react.md +172 -0
  109. package/docs/graph-node.md +25 -7
  110. package/docs/graph-node.react.md +36 -0
  111. package/docs/graph-text.md +24 -6
  112. package/docs/graph-text.react.md +34 -0
  113. package/docs/grid-background.md +21 -1
  114. package/docs/grid-background.react.md +45 -0
  115. package/docs/hi-tech-button.md +63 -2
  116. package/docs/hi-tech-button.react.md +106 -0
  117. package/docs/indicator-card.md +26 -1
  118. package/docs/indicator-card.react.md +86 -0
  119. package/docs/lights-component-title.md +23 -1
  120. package/docs/lights-component-title.react.md +49 -0
  121. package/docs/loading-panel.md +31 -1
  122. package/docs/loading-panel.react.md +62 -0
  123. package/docs/modern-style-component-title.md +39 -2
  124. package/docs/modern-style-component-title.react.md +76 -0
  125. package/docs/modern-style-page-title.md +43 -1
  126. package/docs/modern-style-page-title.react.md +56 -0
  127. package/docs/modern-style-treemap.md +71 -373
  128. package/docs/modern-style-treemap.react.md +131 -0
  129. package/docs/particle-animation.md +45 -1
  130. package/docs/particle-animation.react.md +64 -0
  131. package/docs/progress-bar-list.md +19 -1
  132. package/docs/progress-bar-list.react.md +47 -0
  133. package/docs/radar-chart.md +97 -31
  134. package/docs/radar-chart.react.md +75 -0
  135. package/docs/simple-card-item.md +79 -3
  136. package/docs/simple-card-item.react.md +83 -0
  137. package/docs/tabs-drawer.md +81 -2
  138. package/docs/tabs-drawer.react.md +117 -0
  139. package/docs/tabs-page-title.md +40 -1
  140. package/docs/tabs-page-title.react.md +87 -0
  141. package/docs/tech-mesh-base-view.md +22 -1
  142. package/docs/tech-mesh-base-view.react.md +55 -0
  143. package/docs/title-text.md +41 -1
  144. package/docs/title-text.react.md +67 -0
  145. package/docs/top-title-bar.md +25 -2
  146. package/docs/top-title-bar.react.md +50 -0
  147. package/package.json +2 -2
  148. package/dist/chunks/2145.105c2d97.js.map +0 -1
  149. package/dist/chunks/bubbles-indicator.ab761540.js.map +0 -1
@@ -18,41 +18,28 @@ interface BatteryChartChartProps {
18
18
  * 大屏电池
19
19
  * @author astrid
20
20
  * @category big-screen-content
21
+ * @slot - 电池右侧内容插槽,可放置标题和数据信息
22
+ * @slot left - 电池左侧阈值线附近内容插槽
21
23
  */
22
24
  declare class BatteryChart extends ReactNextElement implements BatteryChartChartProps {
23
25
  /**
24
- * @kind number
25
- * @default -
26
- * @required false
27
- * @description 值, 默认范围在[0-100], 但是范围还可通过 thresholdColors 来改变,将取第一个和最后一个值作为范围
26
+ * 值,默认范围在 [0-100],范围还可通过 thresholdColors 来改变,将取第一个和最后一个配置项的值作为区间
28
27
  */
29
28
  accessor value: number;
30
29
  /**
31
- * @kind number
32
- * @default 38
33
- * @required false
34
- * @description 电池的宽度
30
+ * 电池的宽度
35
31
  */
36
32
  accessor batteryWidth: number;
37
33
  /**
38
- * @kind number
39
- * @default 58
40
- * @required false
41
- * @description 电池的高度
34
+ * 电池的高度
42
35
  */
43
36
  accessor batteryHeight: number;
44
37
  /**
45
- * @kind ThresholdColor[]
46
- * @default -
47
- * @required false
48
- * @description 阈值范围以及颜色的配置;
38
+ * 阈值范围以及颜色的配置
49
39
  */
50
40
  accessor thresholdColors: ThresholdColor[];
51
41
  /**
52
- * @kind number
53
- * @default 50
54
- * @required false
55
- * @description 阈值刻度线
42
+ * 阈值刻度线
56
43
  */
57
44
  accessor thresholdValue: number;
58
45
  render(): React.ReactNode;
@@ -1,15 +1,15 @@
1
1
  import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import type { GeneralIconProps } from "@next-bricks/icons/general-icon";
4
+ interface BrickNotificationProps {
5
+ message: string;
6
+ icon?: GeneralIconProps | undefined;
7
+ }
4
8
  /**
5
9
  * 大屏提示构件
6
10
  * @author astrid
7
11
  * @category big-screen-content
8
12
  */
9
- interface BrickNotificationProps {
10
- message: string;
11
- icon?: GeneralIconProps | undefined;
12
- }
13
13
  declare class BrickNotification extends ReactNextElement implements BrickNotificationProps {
14
14
  /**
15
15
  * 提示内容
@@ -22,6 +22,7 @@ export interface CornerDataItem extends DataItem {
22
22
  }
23
23
  /**
24
24
  * 气泡样式的数据展示构件。
25
+ * @category big-screen-content
25
26
  */
26
27
  export declare class BubblesIndicator extends ReactNextElement implements BubblesIndicatorProps {
27
28
  /** 指标数据列表(显示在环上)
@@ -7,20 +7,15 @@ export interface CabinetAppLayerProps {
7
7
  /**
8
8
  * cabinet子构件----应用层
9
9
  * @author nlicroshan
10
+ * @category big-screen-content
10
11
  */
11
12
  declare class CabinetAppLayer extends ReactNextElement implements CabinetAppLayerProps {
12
13
  /**
13
- * @kind string
14
- * @required true
15
- * @default
16
- * @description 标题
14
+ * 标题
17
15
  */
18
16
  accessor appTitle: string;
19
17
  /**
20
- * @kind "active" | "faded"
21
- * @required false
22
- * @default
23
- * @description 当前状态
18
+ * 当前状态
24
19
  */
25
20
  accessor status: "active" | "faded";
26
21
  render(): React.JSX.Element;
@@ -34,24 +34,15 @@ export interface CabinetGraphProps {
34
34
  declare class CabinetGraph extends ReactNextElement implements CabinetGraphProps {
35
35
  #private;
36
36
  /**
37
- * @kind AppData
38
- * @required true
39
- * @default
40
- * @description 数据源
37
+ * 数据源
41
38
  */
42
39
  accessor dataSource: AppData;
43
40
  /**
44
- * @kind string |string[]
45
- * @required false
46
- * @default
47
- * @description 选中项, 支持数组
41
+ * 选中项,支持数组
48
42
  */
49
43
  accessor activeKey: string | string[];
50
44
  /**
51
- * @kind boolean
52
- * @required false
53
- * @default true
54
- * @description 取消按钮是否需要展示
45
+ * 取消按钮是否需要展示
55
46
  */
56
47
  accessor hiddenCloseBtn: boolean;
57
48
  render(): React.JSX.Element;
@@ -15,7 +15,7 @@ export interface DataItem {
15
15
  text: string;
16
16
  }
17
17
  /**
18
- * 构件 `data-view.china-map`
18
+ * 中国地图展示构件,支持全国地图和省级地图,可在地图上标注文字标签
19
19
  */
20
20
  export declare class ChinaMap extends ReactNextElement implements ChinaMapProps {
21
21
  /**
@@ -18,6 +18,8 @@ export interface CornerDataItem extends DataItem {
18
18
  }
19
19
  /**
20
20
  * 地球加轮盘的数据展示构件。
21
+ * @author astrid
22
+ * @category big-screen-content
21
23
  */
22
24
  export declare class GlobeWithGearIndicator extends ReactNextElement implements GlobeWithGearIndicatorProps {
23
25
  /** 指标数据列表(显示在环上)
@@ -17,6 +17,8 @@ export interface CornerDataItem extends DataItem {
17
17
  }
18
18
  /**
19
19
  * 地球加光环的数据展示构件。
20
+ * @author astrid
21
+ * @category big-screen-content
20
22
  */
21
23
  export declare class GlobeWithHaloIndicator extends ReactNextElement implements GlobeWithHaloIndicatorProps {
22
24
  /**
@@ -18,6 +18,8 @@ export interface CornerDataItem extends DataItem {
18
18
  }
19
19
  /**
20
20
  * 地球加轨道的数据展示构件。
21
+ * @author astrid
22
+ * @category big-screen-content
21
23
  */
22
24
  export declare class GlobeWithOrbitIndicator extends ReactNextElement implements GlobeWithOrbitIndicatorProps {
23
25
  /**
@@ -5,7 +5,7 @@ interface LightsComponentTitleProps {
5
5
  theme: "light" | "dark";
6
6
  }
7
7
  /**
8
- * 构件 `data-view.lights-component-title`
8
+ * 大屏灯光风格组件标题
9
9
  * @author astrid
10
10
  * @category big-screen-content
11
11
  */
@@ -16,9 +16,9 @@ export declare class LightsComponentTitle extends ReactNextElement implements Li
16
16
  */
17
17
  accessor componentTitle: string;
18
18
  /**
19
- * @default
20
- * @required
21
- * @description
19
+ * 主题风格,`light` 为浅色光标图标,`dark` 为深色光标图标
20
+ * @default "light"
21
+ * @required false
22
22
  */
23
23
  accessor theme: "light" | "dark";
24
24
  render(): React.JSX.Element;
@@ -2,13 +2,15 @@ import React, { CSSProperties } from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import "@next-core/theme";
4
4
  /**
5
- * 构件 `data-view.progress-bar-list`
5
+ * 大屏进度条列表
6
+ * @author nlicroshan
7
+ * @category big-screen-content
6
8
  */
7
9
  export declare class ProgressBarList extends ReactNextElement {
8
10
  /**
9
- * @default
10
- * @required
11
- * @description 数据
11
+ * @default []
12
+ * @required false
13
+ * @description 数据列表,每项包含标题、数值及可选的进度条颜色配置
12
14
  */
13
15
  accessor dataSource: Data[];
14
16
  render(): React.JSX.Element;
@@ -14,7 +14,7 @@ interface TabsPageTitleProps {
14
14
  /**
15
15
  * 带有tabs的标题构件
16
16
  * @author astrid
17
- * @slot - 标题
17
+ * @slot - 默认插槽,用于放置标题内容
18
18
  * @slot start - 顶部左边插槽
19
19
  * @slot end - 顶部右边插槽
20
20
  * @slot [key] - 标签对应的key的插槽
@@ -4,7 +4,8 @@ import "@next-core/theme";
4
4
  /**
5
5
  * 大屏框架构件-网格纹
6
6
  * @author jiezhou
7
- * @slot - 页面内容
7
+ * @slot titleBar - 标题栏插槽
8
+ * @slot content - 页面内容插槽
8
9
  * @category big-screen-layout
9
10
  */
10
11
  export declare class TechMeshBaseView extends ReactNextElement {
@@ -1,9 +1,29 @@
1
- 应用墙小卡片
1
+ ---
2
+ tagName: data-view.app-wall-card-item
3
+ displayName: WrappedDataViewAppWallCardItem
4
+ description: 应用墙子构件----卡片项
5
+ category: big-screen-layout
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # data-view.app-wall-card-item
10
+
11
+ > 应用墙子构件----卡片项
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | ----------- | ----------------------- | ---- | ---------- | ---- |
17
+ | status | `"normal" \| "warning"` | 否 | `"normal"` | 状态 |
18
+ | cardTitle | `string` | 是 | - | 标题 |
19
+ | description | `string` | 是 | - | 描述 |
2
20
 
3
21
  ## Examples
4
22
 
5
23
  ### Basic
6
24
 
25
+ 展示应用墙卡片项的基本用法。
26
+
7
27
  ```yaml preview
8
28
  - brick: data-view.app-wall-card-item
9
29
  properties:
@@ -16,6 +36,8 @@
16
36
 
17
37
  ### Status
18
38
 
39
+ 展示不同状态下的应用墙卡片项。
40
+
19
41
  ```yaml preview
20
42
  - brick: data-view.app-wall-card-item
21
43
  properties:
@@ -0,0 +1,52 @@
1
+ ---
2
+ tagName: data-view.app-wall-card-item
3
+ displayName: WrappedDataViewAppWallCardItem
4
+ description: 应用墙子构件----卡片项
5
+ category: big-screen-layout
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewAppWallCardItem
10
+
11
+ > 应用墙子构件----卡片项
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewAppWallCardItem } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | ----------- | ----------------------- | ---- | ---------- | ---- |
23
+ | status | `"normal" \| "warning"` | 否 | `"normal"` | 状态 |
24
+ | cardTitle | `string` | 是 | - | 标题 |
25
+ | description | `string` | 是 | - | 描述 |
26
+
27
+ ## Examples
28
+
29
+ ### Basic
30
+
31
+ 展示应用墙卡片项的基本用法。
32
+
33
+ ```tsx
34
+ <WrappedDataViewAppWallCardItem
35
+ style={{ width: "100px", height: "120px" }}
36
+ cardTitle="pos"
37
+ description="店铺货管通"
38
+ />
39
+ ```
40
+
41
+ ### Status
42
+
43
+ 展示不同状态下的应用墙卡片项。
44
+
45
+ ```tsx
46
+ <WrappedDataViewAppWallCardItem
47
+ style={{ width: "100px", height: "120px" }}
48
+ status="warning"
49
+ cardTitle="pos"
50
+ description="店铺货管通"
51
+ />
52
+ ```
@@ -1,9 +1,27 @@
1
- 应用墙流光线条
1
+ ---
2
+ tagName: data-view.app-wall-relation-line
3
+ displayName: WrappedDataViewAppWallRelationLine
4
+ description: 应用墙子构件----关联连线
5
+ category: big-screen-layout
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # data-view.app-wall-relation-line
10
+
11
+ > 应用墙子构件----关联连线
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | ---------- | -------------------- | ---- | -------- | -------- |
17
+ | lightColor | `"blue" \| "purple"` | 否 | `"blue"` | 光线颜色 |
2
18
 
3
19
  ## Examples
4
20
 
5
21
  ### Basic
6
22
 
23
+ 展示应用墙关联连线的基本用法及颜色效果。
24
+
7
25
  ```yaml preview
8
26
  - brick: data-view.app-wall-relation-line
9
27
  properties:
@@ -0,0 +1,36 @@
1
+ ---
2
+ tagName: data-view.app-wall-relation-line
3
+ displayName: WrappedDataViewAppWallRelationLine
4
+ description: 应用墙子构件----关联连线
5
+ category: big-screen-layout
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewAppWallRelationLine
10
+
11
+ > 应用墙子构件----关联连线
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewAppWallRelationLine } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | ---------- | -------------------- | ---- | -------- | -------- |
23
+ | lightColor | `"blue" \| "purple"` | 否 | `"blue"` | 光线颜色 |
24
+
25
+ ## Examples
26
+
27
+ ### Basic
28
+
29
+ 展示应用墙关联连线的基本用法及颜色效果。
30
+
31
+ ```tsx
32
+ <WrappedDataViewAppWallRelationLine
33
+ style={{ height: "200px" }}
34
+ lightColor="purple"
35
+ />
36
+ ```
@@ -1,9 +1,37 @@
1
- 系统卡片
1
+ ---
2
+ tagName: data-view.app-wall-system-card
3
+ displayName: WrappedDataViewAppWallSystemCard
4
+ description: 应用墙系统卡片
5
+ category: big-screen-layout
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # data-view.app-wall-system-card
10
+
11
+ > 应用墙系统卡片
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | -------------- | --------------------- | ---- | ---------- | ------------ |
17
+ | status | `StatusType` | 否 | `"normal"` | 卡片状态 |
18
+ | cardTitle | `string` | 否 | - | 卡片标题 |
19
+ | itemList | `DescriptionItem[]` | 否 | - | 卡片信息数据 |
20
+ | buttonName | `string` | 否 | - | 按钮名称 |
21
+ | containerStyle | `React.CSSProperties` | 否 | - | 外层容器样式 |
22
+
23
+ ## Events
24
+
25
+ | 事件 | detail | 说明 |
26
+ | ------------ | ------ | ------------ |
27
+ | button-click | `void` | 按钮点击事件 |
2
28
 
3
29
  ## Examples
4
30
 
5
31
  ### Basic
6
32
 
33
+ 展示应用墙系统卡片的基本用法,包含标题、信息列表和按钮。
34
+
7
35
  ```yaml preview
8
36
  - brick: data-view.app-wall-system-card
9
37
  properties:
@@ -27,15 +55,20 @@
27
55
  value: 1、使用场景概述:财务应收和应付结算
28
56
  buttonName: 应用墙大屏
29
57
  style:
30
- background: rgba(40, 46, 58, 100%)
58
+ background: "rgba(40, 46, 58, 100%)"
31
59
  box-shadow: "0 0 12px 2px rgba(80, 255, 255, 0.45), inset 0 0 22px 0 #20242A"
32
60
  border: "2px solid #50FFFF"
33
61
  overflow: hidden
34
62
  height: 400px
63
+ events:
64
+ button-click:
65
+ action: console.log
35
66
  ```
36
67
 
37
68
  ### Status
38
69
 
70
+ 展示 warning 状态下的系统卡片样式。
71
+
39
72
  ```yaml preview
40
73
  - brick: data-view.app-wall-system-card
41
74
  properties:
@@ -0,0 +1,89 @@
1
+ ---
2
+ tagName: data-view.app-wall-system-card
3
+ displayName: WrappedDataViewAppWallSystemCard
4
+ description: 应用墙系统卡片
5
+ category: big-screen-layout
6
+ source: "@next-bricks/data-view"
7
+ ---
8
+
9
+ # WrappedDataViewAppWallSystemCard
10
+
11
+ > 应用墙系统卡片
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedDataViewAppWallSystemCard } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | -------------- | --------------------- | ---- | ---------- | ------------ |
23
+ | status | `StatusType` | 否 | `"normal"` | 卡片状态 |
24
+ | cardTitle | `string` | 否 | - | 卡片标题 |
25
+ | itemList | `DescriptionItem[]` | 否 | - | 卡片信息数据 |
26
+ | buttonName | `string` | 否 | - | 按钮名称 |
27
+ | containerStyle | `React.CSSProperties` | 否 | - | 外层容器样式 |
28
+
29
+ ## Events
30
+
31
+ | 事件 | detail | 说明 |
32
+ | ------------- | ------ | ------------ |
33
+ | onButtonClick | `void` | 按钮点击事件 |
34
+
35
+ ## Examples
36
+
37
+ ### Basic
38
+
39
+ 展示应用墙系统卡片的基本用法,包含标题、信息列表和按钮。
40
+
41
+ ```tsx
42
+ <WrappedDataViewAppWallSystemCard
43
+ style={{
44
+ background: "rgba(40, 46, 58, 100%)",
45
+ boxShadow:
46
+ "0 0 12px 2px rgba(80, 255, 255, 0.45), inset 0 0 22px 0 #20242A",
47
+ border: "2px solid #50FFFF",
48
+ overflow: "hidden",
49
+ height: "400px",
50
+ }}
51
+ cardTitle="A系统"
52
+ itemList={[
53
+ { key: "实例ID", value: "xxxx" },
54
+ { key: "系统英文缩写", value: "system-fms" },
55
+ { key: "系统英文名称", value: "app-fms" },
56
+ { key: "系统中文名称", value: "A财务系统" },
57
+ { key: "归属部门", value: "财务系统部" },
58
+ { key: "系统类型", value: "应用系统" },
59
+ { key: "系统描述", value: "1、使用场景概述:财务应收和应付结算" },
60
+ ]}
61
+ buttonName="应用墙大屏"
62
+ onButtonClick={(e) => console.log(e.detail)}
63
+ />
64
+ ```
65
+
66
+ ### Status
67
+
68
+ 展示 warning 状态下的系统卡片样式。
69
+
70
+ ```tsx
71
+ <WrappedDataViewAppWallSystemCard
72
+ style={{
73
+ background:
74
+ "linear-gradient(180deg, #CC0066 0%, rgba(204, 0, 102, 0.2) 100%),#0F1117FF",
75
+ boxShadow:
76
+ "0 0 12px 2px rgba(204, 0, 102, 0.4), inset 0 4px 10px 0 rgba(255, 255, 255, 0.65)",
77
+ overflow: "hidden",
78
+ height: "400px",
79
+ }}
80
+ cardTitle="B系统"
81
+ itemList={[
82
+ { key: "实例ID", value: "xxxx" },
83
+ { key: "系统英文缩写", value: "system-fms-B" },
84
+ { key: "系统描述", value: "1、使用场景概述:财务应收和应付结算" },
85
+ ]}
86
+ buttonName="应用墙大屏"
87
+ status="warning"
88
+ />
89
+ ```